From a570ae701706d48c2866458df9f93b84aa7fbc95 Mon Sep 17 00:00:00 2001 From: Thanet Knack Praneenararat Date: Fri, 9 Aug 2024 11:36:41 +0900 Subject: [PATCH] Changes for release v17_1. (#1040) --- CHANGELOG.md | 6 + .../DetectAndApplyRecommendations.php | 6 +- .../Ads/GoogleAds/V15/Common/AdAsset.php | Bin 13298 -> 0 bytes .../Ads/GoogleAds/V15/Common/AdTypeInfos.php | Bin 26943 -> 0 bytes .../Ads/GoogleAds/V15/Common/AssetPolicy.php | Bin 10735 -> 0 bytes .../GoogleAds/V15/Common/AssetSetTypes.php | Bin 4250 -> 0 bytes .../Ads/GoogleAds/V15/Common/AssetTypes.php | Bin 43868 -> 0 bytes .../Ads/GoogleAds/V15/Common/AssetUsage.php | Bin 2056 -> 0 bytes .../Ads/GoogleAds/V15/Common/Audiences.php | Bin 4804 -> 0 bytes .../Ads/GoogleAds/V15/Common/Bidding.php | Bin 3588 -> 0 bytes .../GoogleAds/V15/Common/ClickLocation.php | Bin 1101 -> 0 bytes .../Ads/GoogleAds/V15/Common/Consent.php | Bin 1511 -> 0 bytes .../Ads/GoogleAds/V15/Common/Criteria.php | Bin 22785 -> 0 bytes .../Common/CriterionCategoryAvailability.php | Bin 4985 -> 0 bytes .../GoogleAds/V15/Common/CustomParameter.php | Bin 996 -> 0 bytes .../GoogleAds/V15/Common/CustomizerValue.php | Bin 1659 -> 0 bytes .../Google/Ads/GoogleAds/V15/Common/Dates.php | Bin 1754 -> 0 bytes .../Ads/GoogleAds/V15/Common/Extensions.php | Bin 10908 -> 0 bytes .../Ads/GoogleAds/V15/Common/FeedCommon.php | Bin 1002 -> 0 bytes .../V15/Common/FeedItemSetFilterTypeInfos.php | Bin 1794 -> 0 bytes .../Ads/GoogleAds/V15/Common/FinalAppUrl.php | Bin 1535 -> 0 bytes .../Ads/GoogleAds/V15/Common/FrequencyCap.php | Bin 2897 -> 0 bytes .../V15/Common/KeywordPlanCommon.php | Bin 6031 -> 0 bytes .../GoogleAds/V15/Common/LifecycleGoals.php | Bin 1035 -> 0 bytes .../GoogleAds/V15/Common/LocalServices.php | Bin 990 -> 0 bytes .../GoogleAds/V15/Common/MatchingFunction.php | Bin 3234 -> 0 bytes .../Ads/GoogleAds/V15/Common/MetricGoal.php | Bin 2431 -> 0 bytes .../Ads/GoogleAds/V15/Common/Metrics.php | Bin 15380 -> 0 bytes .../GoogleAds/V15/Common/OfflineUserData.php | Bin 5805 -> 0 bytes .../Ads/GoogleAds/V15/Common/Policy.php | Bin 6242 -> 0 bytes .../GoogleAds/V15/Common/PolicySummary.php | Bin 8053 -> 0 bytes .../V15/Common/RealTimeBiddingSetting.php | Bin 1011 -> 0 bytes .../Ads/GoogleAds/V15/Common/Segments.php | Bin 51435 -> 0 bytes .../Ads/GoogleAds/V15/Common/Simulation.php | Bin 4337 -> 0 bytes .../Ads/GoogleAds/V15/Common/TagSnippet.php | Bin 2214 -> 0 bytes .../GoogleAds/V15/Common/TargetingSetting.php | Bin 2086 -> 0 bytes .../Ads/GoogleAds/V15/Common/TextLabel.php | Bin 1004 -> 0 bytes .../GoogleAds/V15/Common/UrlCollection.php | Bin 1094 -> 0 bytes .../Ads/GoogleAds/V15/Common/UserLists.php | Bin 9785 -> 0 bytes .../Google/Ads/GoogleAds/V15/Common/Value.php | Bin 1017 -> 0 bytes .../V15/Enums/AccessInvitationStatus.php | Bin 1067 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AccessReason.php | Bin 1035 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AccessRole.php | Bin 1009 -> 0 bytes .../V15/Enums/AccountBudgetProposalStatus.php | Bin 1136 -> 0 bytes .../V15/Enums/AccountBudgetProposalType.php | Bin 1093 -> 0 bytes .../V15/Enums/AccountBudgetStatus.php | Bin 1051 -> 0 bytes .../GoogleAds/V15/Enums/AccountLinkStatus.php | Bin 1089 -> 0 bytes .../Enums/AdCustomizerPlaceholderField.php | Bin 1112 -> 0 bytes .../GoogleAds/V15/Enums/AdDestinationType.php | Bin 1196 -> 0 bytes .../V15/Enums/AdGroupAdRotationMode.php | Bin 1059 -> 0 bytes .../GoogleAds/V15/Enums/AdGroupAdStatus.php | Bin 1025 -> 0 bytes .../Enums/AdGroupCriterionApprovalStatus.php | Bin 1150 -> 0 bytes .../V15/Enums/AdGroupCriterionStatus.php | Bin 1068 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AdGroupStatus.php | Bin 1011 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AdGroupType.php | Bin 1382 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AdNetworkType.php | Bin 1060 -> 0 bytes .../V15/Enums/AdServingOptimizationStatus.php | Bin 1154 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AdStrength.php | Bin 1027 -> 0 bytes .../Google/Ads/GoogleAds/V15/Enums/AdType.php | Bin 1665 -> 0 bytes .../V15/Enums/AdvertisingChannelSubType.php | Bin 1519 -> 0 bytes .../V15/Enums/AdvertisingChannelType.php | Bin 1199 -> 0 bytes .../AffiliateLocationFeedRelationshipType.php | Bin 1144 -> 0 bytes .../AffiliateLocationPlaceholderField.php | Bin 1282 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AgeRangeType.php | Bin 1137 -> 0 bytes .../Enums/AndroidPrivacyInteractionType.php | Bin 1111 -> 0 bytes .../V15/Enums/AndroidPrivacyNetworkType.php | Bin 1086 -> 0 bytes .../GoogleAds/V15/Enums/AppBiddingGoal.php | Bin 1315 -> 0 bytes .../V15/Enums/AppCampaignAppStore.php | Bin 1054 -> 0 bytes .../AppCampaignBiddingStrategyGoalType.php | Bin 1402 -> 0 bytes .../V15/Enums/AppPaymentModelType.php | Bin 1021 -> 0 bytes .../V15/Enums/AppPlaceholderField.php | Bin 1133 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AppStore.php | Bin 976 -> 0 bytes .../V15/Enums/AppUrlOperatingSystemType.php | Bin 1071 -> 0 bytes .../V15/Enums/AssetAutomationStatus.php | Bin 1050 -> 0 bytes .../V15/Enums/AssetAutomationType.php | Bin 1036 -> 0 bytes .../GoogleAds/V15/Enums/AssetFieldType.php | Bin 1470 -> 0 bytes .../V15/Enums/AssetGroupPrimaryStatus.php | Bin 1120 -> 0 bytes .../Enums/AssetGroupPrimaryStatusReason.php | Bin 1293 -> 0 bytes .../Enums/AssetGroupSignalApprovalStatus.php | Bin 1142 -> 0 bytes .../GoogleAds/V15/Enums/AssetGroupStatus.php | Bin 1029 -> 0 bytes .../V15/Enums/AssetLinkPrimaryStatus.php | Bin 1114 -> 0 bytes .../Enums/AssetLinkPrimaryStatusReason.php | Bin 1191 -> 0 bytes .../GoogleAds/V15/Enums/AssetLinkStatus.php | Bin 1023 -> 0 bytes .../AssetOfflineEvaluationErrorReasons.php | Bin 1418 -> 0 bytes .../V15/Enums/AssetPerformanceLabel.php | Bin 1078 -> 0 bytes .../V15/Enums/AssetSetAssetStatus.php | Bin 1037 -> 0 bytes .../V15/Enums/AssetSetLinkStatus.php | Bin 1031 -> 0 bytes .../GoogleAds/V15/Enums/AssetSetStatus.php | Bin 1005 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AssetSetType.php | Bin 1334 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AssetSource.php | Bin 1002 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AssetType.php | Bin 1440 -> 0 bytes .../GoogleAds/V15/Enums/AsyncActionStatus.php | Bin 1088 -> 0 bytes .../GoogleAds/V15/Enums/AttributionModel.php | Bin 1244 -> 0 bytes .../V15/Enums/AudienceInsightsDimension.php | Bin 1304 -> 0 bytes .../Ads/GoogleAds/V15/Enums/AudienceScope.php | Bin 1002 -> 0 bytes .../GoogleAds/V15/Enums/AudienceStatus.php | Bin 1003 -> 0 bytes .../GoogleAds/V15/Enums/BatchJobStatus.php | Bin 1015 -> 0 bytes .../GoogleAds/V15/Enums/BidModifierSource.php | Bin 1025 -> 0 bytes .../Ads/GoogleAds/V15/Enums/BiddingSource.php | Bin 1041 -> 0 bytes .../V15/Enums/BiddingStrategyStatus.php | Bin 1047 -> 0 bytes .../V15/Enums/BiddingStrategySystemStatus.php | Bin 1747 -> 0 bytes .../V15/Enums/BiddingStrategyType.php | Bin 1341 -> 0 bytes .../V15/Enums/BillingSetupStatus.php | Bin 1065 -> 0 bytes .../V15/Enums/BrandSafetySuitability.php | Bin 1099 -> 0 bytes .../Ads/GoogleAds/V15/Enums/BrandState.php | Bin 1043 -> 0 bytes .../Enums/BudgetCampaignAssociationStatus.php | Bin 1110 -> 0 bytes .../V15/Enums/BudgetDeliveryMethod.php | Bin 1046 -> 0 bytes .../Ads/GoogleAds/V15/Enums/BudgetPeriod.php | Bin 995 -> 0 bytes .../Ads/GoogleAds/V15/Enums/BudgetStatus.php | Bin 991 -> 0 bytes .../Ads/GoogleAds/V15/Enums/BudgetType.php | Bin 1023 -> 0 bytes .../Enums/CallConversionReportingState.php | Bin 1174 -> 0 bytes .../V15/Enums/CallPlaceholderField.php | Bin 1122 -> 0 bytes .../GoogleAds/V15/Enums/CallToActionType.php | Bin 1245 -> 0 bytes .../V15/Enums/CallTrackingDisplayLocation.php | Bin 1085 -> 0 bytes .../Ads/GoogleAds/V15/Enums/CallType.php | Bin 990 -> 0 bytes .../V15/Enums/CalloutPlaceholderField.php | Bin 1051 -> 0 bytes .../V15/Enums/CampaignCriterionStatus.php | Bin 1071 -> 0 bytes .../V15/Enums/CampaignDraftStatus.php | Bin 1086 -> 0 bytes .../V15/Enums/CampaignExperimentType.php | Bin 1064 -> 0 bytes .../V15/Enums/CampaignGroupStatus.php | Bin 1035 -> 0 bytes .../V15/Enums/CampaignPrimaryStatus.php | Bin 1150 -> 0 bytes .../V15/Enums/CampaignPrimaryStatusReason.php | Bin 2105 -> 0 bytes .../V15/Enums/CampaignServingStatus.php | Bin 1084 -> 0 bytes .../V15/Enums/CampaignSharedSetStatus.php | Bin 1061 -> 0 bytes .../GoogleAds/V15/Enums/CampaignStatus.php | Bin 1015 -> 0 bytes .../V15/Enums/ChainRelationshipType.php | Bin 1062 -> 0 bytes .../GoogleAds/V15/Enums/ChangeClientType.php | Bin 1331 -> 0 bytes .../V15/Enums/ChangeEventResourceType.php | Bin 1380 -> 0 bytes .../V15/Enums/ChangeStatusOperation.php | Bin 1058 -> 0 bytes .../V15/Enums/ChangeStatusResourceType.php | Bin 1361 -> 0 bytes .../Ads/GoogleAds/V15/Enums/ClickType.php | Bin 2486 -> 0 bytes .../V15/Enums/CombinedAudienceStatus.php | Bin 1053 -> 0 bytes .../Ads/GoogleAds/V15/Enums/ConsentStatus.php | Bin 996 -> 0 bytes .../GoogleAds/V15/Enums/ContentLabelType.php | Bin 1294 -> 0 bytes .../V15/Enums/ConversionActionCategory.php | Bin 1411 -> 0 bytes .../Enums/ConversionActionCountingType.php | Bin 1105 -> 0 bytes .../V15/Enums/ConversionActionStatus.php | Bin 1066 -> 0 bytes .../V15/Enums/ConversionActionType.php | Bin 2219 -> 0 bytes .../V15/Enums/ConversionAdjustmentType.php | Bin 1090 -> 0 bytes .../Enums/ConversionAttributionEventType.php | Bin 1111 -> 0 bytes .../Enums/ConversionCustomVariableStatus.php | Bin 1126 -> 0 bytes .../V15/Enums/ConversionEnvironmentEnum.php | Bin 1055 -> 0 bytes .../V15/Enums/ConversionLagBucket.php | Bin 1503 -> 0 bytes .../Enums/ConversionOrAdjustmentLagBucket.php | Bin 2598 -> 0 bytes .../GoogleAds/V15/Enums/ConversionOrigin.php | Bin 1082 -> 0 bytes .../Enums/ConversionTrackingStatusEnum.php | Bin 1230 -> 0 bytes .../ConversionValueRulePrimaryDimension.php | Bin 1232 -> 0 bytes .../Enums/ConversionValueRuleSetStatus.php | Bin 1106 -> 0 bytes .../V15/Enums/ConversionValueRuleStatus.php | Bin 1086 -> 0 bytes ...ingUserPriorEngagementTypeAndLtvBucket.php | Bin 1222 -> 0 bytes ...iterionCategoryChannelAvailabilityMode.php | Bin 1232 -> 0 bytes ...riterionCategoryLocaleAvailabilityMode.php | Bin 1242 -> 0 bytes .../Enums/CriterionSystemServingStatus.php | Bin 1099 -> 0 bytes .../Ads/GoogleAds/V15/Enums/CriterionType.php | Bin 1674 -> 0 bytes .../V15/Enums/CustomAudienceMemberType.php | Bin 1093 -> 0 bytes .../V15/Enums/CustomAudienceStatus.php | Bin 1041 -> 0 bytes .../V15/Enums/CustomAudienceType.php | Bin 1061 -> 0 bytes .../V15/Enums/CustomConversionGoalStatus.php | Bin 1079 -> 0 bytes .../V15/Enums/CustomInterestMemberType.php | Bin 1063 -> 0 bytes .../V15/Enums/CustomInterestStatus.php | Bin 1041 -> 0 bytes .../V15/Enums/CustomInterestType.php | Bin 1043 -> 0 bytes .../V15/Enums/CustomPlaceholderField.php | Bin 1390 -> 0 bytes .../CustomerAcquisitionOptimizationMode.php | Bin 1192 -> 0 bytes .../V15/Enums/CustomerMatchUploadKeyType.php | Bin 1113 -> 0 bytes ...yPerConversionEligibilityFailureReason.php | Bin 1393 -> 0 bytes .../GoogleAds/V15/Enums/CustomerStatus.php | Bin 1031 -> 0 bytes .../V15/Enums/CustomizerAttributeStatus.php | Bin 1071 -> 0 bytes .../V15/Enums/CustomizerAttributeType.php | Bin 1080 -> 0 bytes .../V15/Enums/CustomizerValueStatus.php | Bin 1047 -> 0 bytes .../V15/Enums/DataDrivenModelStatus.php | Bin 1084 -> 0 bytes .../Ads/GoogleAds/V15/Enums/DayOfWeek.php | Bin 1043 -> 0 bytes .../Google/Ads/GoogleAds/V15/Enums/Device.php | Bin 993 -> 0 bytes .../V15/Enums/DisplayAdFormatSetting.php | Bin 1075 -> 0 bytes .../V15/Enums/DisplayUploadProductType.php | Bin 1334 -> 0 bytes .../GoogleAds/V15/Enums/DistanceBucket.php | Bin 1467 -> 0 bytes .../V15/Enums/DsaPageFeedCriterionField.php | Bin 1074 -> 0 bytes .../V15/Enums/EducationPlaceholderField.php | Bin 1403 -> 0 bytes .../GoogleAds/V15/Enums/ExperimentMetric.php | Bin 1269 -> 0 bytes .../V15/Enums/ExperimentMetricDirection.php | Bin 1144 -> 0 bytes .../GoogleAds/V15/Enums/ExperimentStatus.php | Bin 1084 -> 0 bytes .../GoogleAds/V15/Enums/ExperimentType.php | Bin 1242 -> 0 bytes .../V15/Enums/ExtensionSettingDevice.php | Bin 1052 -> 0 bytes .../Ads/GoogleAds/V15/Enums/ExtensionType.php | Bin 1160 -> 0 bytes .../V15/Enums/ExternalConversionSource.php | Bin 1640 -> 0 bytes .../GoogleAds/V15/Enums/FeedAttributeType.php | Bin 1184 -> 0 bytes .../Enums/FeedItemQualityApprovalStatus.php | Bin 1106 -> 0 bytes .../FeedItemQualityDisapprovalReason.php | Bin 1853 -> 0 bytes .../GoogleAds/V15/Enums/FeedItemSetStatus.php | Bin 1025 -> 0 bytes .../V15/Enums/FeedItemSetStringFilterType.php | Bin 1074 -> 0 bytes .../GoogleAds/V15/Enums/FeedItemStatus.php | Bin 1005 -> 0 bytes .../V15/Enums/FeedItemTargetDevice.php | Bin 1030 -> 0 bytes .../V15/Enums/FeedItemTargetStatus.php | Bin 1043 -> 0 bytes .../V15/Enums/FeedItemTargetType.php | Bin 1048 -> 0 bytes .../V15/Enums/FeedItemValidationStatus.php | Bin 1078 -> 0 bytes .../GoogleAds/V15/Enums/FeedLinkStatus.php | Bin 1005 -> 0 bytes .../V15/Enums/FeedMappingCriterionType.php | Bin 1095 -> 0 bytes .../GoogleAds/V15/Enums/FeedMappingStatus.php | Bin 1023 -> 0 bytes .../Ads/GoogleAds/V15/Enums/FeedOrigin.php | Bin 975 -> 0 bytes .../Ads/GoogleAds/V15/Enums/FeedStatus.php | Bin 979 -> 0 bytes .../V15/Enums/FlightPlaceholderField.php | Bin 1379 -> 0 bytes .../V15/Enums/FrequencyCapEventType.php | Bin 1055 -> 0 bytes .../GoogleAds/V15/Enums/FrequencyCapLevel.php | Bin 1042 -> 0 bytes .../V15/Enums/FrequencyCapTimeUnit.php | Bin 1047 -> 0 bytes .../Ads/GoogleAds/V15/Enums/GenderType.php | Bin 993 -> 0 bytes .../V15/Enums/GeoTargetConstantStatus.php | Bin 1069 -> 0 bytes .../V15/Enums/GeoTargetingRestriction.php | Bin 1059 -> 0 bytes .../GoogleAds/V15/Enums/GeoTargetingType.php | Bin 1039 -> 0 bytes .../GoogleAds/V15/Enums/GoalConfigLevel.php | Bin 1013 -> 0 bytes .../V15/Enums/GoogleAdsFieldCategory.php | Bin 1084 -> 0 bytes .../V15/Enums/GoogleAdsFieldDataType.php | Bin 1167 -> 0 bytes .../V15/Enums/GoogleVoiceCallStatus.php | Bin 1049 -> 0 bytes .../V15/Enums/HotelAssetSuggestionStatus.php | Bin 1110 -> 0 bytes .../V15/Enums/HotelDateSelectionType.php | Bin 1071 -> 0 bytes .../V15/Enums/HotelPlaceholderField.php | Bin 1402 -> 0 bytes .../GoogleAds/V15/Enums/HotelPriceBucket.php | Bin 1068 -> 0 bytes .../Ads/GoogleAds/V15/Enums/HotelRateType.php | Bin 1046 -> 0 bytes .../V15/Enums/HotelReconciliationStatus.php | Bin 1129 -> 0 bytes .../V15/Enums/ImagePlaceholderField.php | Bin 1035 -> 0 bytes .../GoogleAds/V15/Enums/IncomeRangeType.php | Bin 1175 -> 0 bytes .../V15/Enums/InteractionEventType.php | Bin 1069 -> 0 bytes .../GoogleAds/V15/Enums/InteractionType.php | Bin 995 -> 0 bytes .../Ads/GoogleAds/V15/Enums/InvoiceType.php | Bin 990 -> 0 bytes .../V15/Enums/JobPlaceholderField.php | Bin 1302 -> 0 bytes .../GoogleAds/V15/Enums/KeywordMatchType.php | Bin 1025 -> 0 bytes .../Enums/KeywordPlanAggregateMetricType.php | Bin 1091 -> 0 bytes .../V15/Enums/KeywordPlanCompetitionLevel.php | Bin 1090 -> 0 bytes .../V15/Enums/KeywordPlanConceptGroupType.php | Bin 1106 -> 0 bytes .../V15/Enums/KeywordPlanForecastInterval.php | Bin 1109 -> 0 bytes .../Enums/KeywordPlanKeywordAnnotation.php | Bin 1086 -> 0 bytes .../V15/Enums/KeywordPlanNetwork.php | Bin 1054 -> 0 bytes .../Ads/GoogleAds/V15/Enums/LabelStatus.php | Bin 985 -> 0 bytes .../V15/Enums/LeadFormCallToActionType.php | Bin 1257 -> 0 bytes .../V15/Enums/LeadFormDesiredIntent.php | Bin 1056 -> 0 bytes .../V15/Enums/LeadFormFieldUserInputType.php | Bin 3470 -> 0 bytes .../LeadFormPostSubmitCallToActionType.php | Bin 1171 -> 0 bytes .../V15/Enums/LegacyAppInstallAdAppStore.php | Bin 1159 -> 0 bytes .../GoogleAds/V15/Enums/LinkedAccountType.php | Bin 1089 -> 0 bytes .../GoogleAds/V15/Enums/LinkedProductType.php | Bin 1071 -> 0 bytes ...ListingGroupFilterCustomAttributeIndex.php | Bin 1191 -> 0 bytes .../Enums/ListingGroupFilterListingSource.php | Bin 1113 -> 0 bytes ...ListingGroupFilterProductCategoryLevel.php | Bin 1191 -> 0 bytes .../ListingGroupFilterProductChannel.php | Bin 1114 -> 0 bytes .../ListingGroupFilterProductCondition.php | Bin 1141 -> 0 bytes .../ListingGroupFilterProductTypeLevel.php | Bin 1167 -> 0 bytes .../V15/Enums/ListingGroupFilterTypeEnum.php | Bin 1103 -> 0 bytes .../GoogleAds/V15/Enums/ListingGroupType.php | Bin 1018 -> 0 bytes .../Ads/GoogleAds/V15/Enums/ListingType.php | Bin 973 -> 0 bytes .../V15/Enums/LocalPlaceholderField.php | Bin 1364 -> 0 bytes .../Enums/LocalServicesConversationType.php | Bin 1125 -> 0 bytes .../LocalServicesInsuranceRejectionReason.php | Bin 1442 -> 0 bytes .../V15/Enums/LocalServicesLeadStatus.php | Bin 1136 -> 0 bytes .../V15/Enums/LocalServicesLeadType.php | Bin 1052 -> 0 bytes .../LocalServicesLicenseRejectionReason.php | Bin 1244 -> 0 bytes .../Enums/LocalServicesParticipantType.php | Bin 1082 -> 0 bytes ...ocalServicesVerificationArtifactStatus.php | Bin 1207 -> 0 bytes .../LocalServicesVerificationArtifactType.php | Bin 1172 -> 0 bytes .../Enums/LocalServicesVerificationStatus.php | Bin 1214 -> 0 bytes ...cationExtensionTargetingCriterionField.php | Bin 1240 -> 0 bytes .../V15/Enums/LocationGroupRadiusUnits.php | Bin 1082 -> 0 bytes .../V15/Enums/LocationOwnershipType.php | Bin 1056 -> 0 bytes .../V15/Enums/LocationPlaceholderField.php | Bin 1177 -> 0 bytes .../V15/Enums/LocationSourceType.php | Bin 1042 -> 0 bytes .../V15/Enums/LocationStringFilterType.php | Bin 1052 -> 0 bytes .../V15/Enums/LookalikeExpansionLevel.php | Bin 1071 -> 0 bytes .../GoogleAds/V15/Enums/ManagerLinkStatus.php | Bin 1064 -> 0 bytes .../V15/Enums/MatchingFunctionContextType.php | Bin 1117 -> 0 bytes .../V15/Enums/MatchingFunctionOperator.php | Bin 1101 -> 0 bytes .../Ads/GoogleAds/V15/Enums/MediaType.php | Bin 1028 -> 0 bytes .../V15/Enums/MessagePlaceholderField.php | Bin 1136 -> 0 bytes .../Ads/GoogleAds/V15/Enums/MimeType.php | Bin 1106 -> 0 bytes .../Ads/GoogleAds/V15/Enums/MinuteOfHour.php | Bin 1018 -> 0 bytes .../GoogleAds/V15/Enums/MobileAppVendor.php | Bin 1028 -> 0 bytes .../GoogleAds/V15/Enums/MobileDeviceType.php | Bin 1015 -> 0 bytes .../Ads/GoogleAds/V15/Enums/MonthOfYear.php | Bin 1109 -> 0 bytes .../V15/Enums/NegativeGeoTargetType.php | Bin 1063 -> 0 bytes .../OfflineConversionDiagnosticStatusEnum.php | Bin 1183 -> 0 bytes .../Enums/OfflineEventUploadClientEnum.php | Bin 1131 -> 0 bytes .../Enums/OfflineUserDataJobFailureReason.php | Bin 1264 -> 0 bytes .../OfflineUserDataJobMatchRateRange.php | Bin 1336 -> 0 bytes .../V15/Enums/OfflineUserDataJobStatus.php | Bin 1095 -> 0 bytes .../V15/Enums/OfflineUserDataJobType.php | Bin 1171 -> 0 bytes .../OperatingSystemVersionOperatorType.php | Bin 1148 -> 0 bytes .../V15/Enums/OptimizationGoalType.php | Bin 1083 -> 0 bytes .../V15/Enums/ParentalStatusType.php | Bin 1054 -> 0 bytes .../Ads/GoogleAds/V15/Enums/PaymentMode.php | Bin 1027 -> 0 bytes .../V15/Enums/PerformanceMaxUpgradeStatus.php | Bin 1150 -> 0 bytes .../GoogleAds/V15/Enums/PlaceholderType.php | Bin 1325 -> 0 bytes .../Ads/GoogleAds/V15/Enums/PlacementType.php | Bin 1096 -> 0 bytes .../V15/Enums/PolicyApprovalStatus.php | Bin 1097 -> 0 bytes .../V15/Enums/PolicyReviewStatus.php | Bin 1085 -> 0 bytes .../V15/Enums/PolicyTopicEntryType.php | Bin 1127 -> 0 bytes ...opicEvidenceDestinationMismatchUrlType.php | Bin 1272 -> 0 bytes ...picEvidenceDestinationNotWorkingDevice.php | Bin 1215 -> 0 bytes ...denceDestinationNotWorkingDnsErrorType.php | Bin 1275 -> 0 bytes .../V15/Enums/PositiveGeoTargetType.php | Bin 1085 -> 0 bytes .../Enums/PriceExtensionPriceQualifier.php | Bin 1100 -> 0 bytes .../V15/Enums/PriceExtensionPriceUnit.php | Bin 1122 -> 0 bytes .../V15/Enums/PriceExtensionType.php | Bin 1163 -> 0 bytes .../V15/Enums/PricePlaceholderField.php | Bin 2203 -> 0 bytes .../V15/Enums/ProductCategoryLevel.php | Bin 1076 -> 0 bytes .../V15/Enums/ProductCategoryState.php | Bin 1042 -> 0 bytes .../GoogleAds/V15/Enums/ProductChannel.php | Bin 1000 -> 0 bytes .../V15/Enums/ProductChannelExclusivity.php | Bin 1085 -> 0 bytes .../GoogleAds/V15/Enums/ProductCondition.php | Bin 1025 -> 0 bytes .../V15/Enums/ProductCustomAttributeIndex.php | Bin 1120 -> 0 bytes .../V15/Enums/ProductLinkInvitationStatus.php | Bin 1152 -> 0 bytes .../GoogleAds/V15/Enums/ProductTypeLevel.php | Bin 1052 -> 0 bytes .../PromotionExtensionDiscountModifier.php | Bin 1113 -> 0 bytes .../V15/Enums/PromotionExtensionOccasion.php | Bin 1660 -> 0 bytes .../V15/Enums/PromotionPlaceholderField.php | Bin 1322 -> 0 bytes .../V15/Enums/ProximityRadiusUnits.php | Bin 1042 -> 0 bytes .../V15/Enums/QualityScoreBucket.php | Bin 1054 -> 0 bytes .../GoogleAds/V15/Enums/ReachPlanAgeRange.php | Bin 1577 -> 0 bytes .../GoogleAds/V15/Enums/ReachPlanNetwork.php | Bin 1071 -> 0 bytes .../GoogleAds/V15/Enums/ReachPlanSurface.php | Bin 1094 -> 0 bytes .../V15/Enums/RealEstatePlaceholderField.php | Bin 1387 -> 0 bytes .../RecommendationSubscriptionStatus.php | Bin 1113 -> 0 bytes .../V15/Enums/RecommendationType.php | Bin 2480 -> 0 bytes .../V15/Enums/ResourceChangeOperation.php | Bin 1069 -> 0 bytes .../GoogleAds/V15/Enums/ResourceLimitType.php | Bin 6807 -> 0 bytes .../V15/Enums/ResponseContentType.php | Bin 1042 -> 0 bytes .../V15/Enums/SearchEngineResultsPageType.php | Bin 1115 -> 0 bytes .../V15/Enums/SearchTermMatchType.php | Bin 1079 -> 0 bytes .../V15/Enums/SearchTermTargetingStatus.php | Bin 1103 -> 0 bytes .../V15/Enums/SeasonalityEventScope.php | Bin 1062 -> 0 bytes .../V15/Enums/SeasonalityEventStatus.php | Bin 1053 -> 0 bytes .../V15/Enums/ServedAssetFieldType.php | Bin 1593 -> 0 bytes .../GoogleAds/V15/Enums/SharedSetStatus.php | Bin 1011 -> 0 bytes .../Ads/GoogleAds/V15/Enums/SharedSetType.php | Bin 1072 -> 0 bytes ...ddProductsToCampaignRecommendationEnum.php | Bin 1353 -> 0 bytes .../Enums/SimulationModificationMethod.php | Bin 1103 -> 0 bytes .../GoogleAds/V15/Enums/SimulationType.php | Bin 1118 -> 0 bytes .../V15/Enums/SitelinkPlaceholderField.php | Bin 1154 -> 0 bytes .../V15/Enums/SkAdNetworkAdEventType.php | Bin 1078 -> 0 bytes .../Enums/SkAdNetworkAttributionCredit.php | Bin 1111 -> 0 bytes .../SkAdNetworkCoarseConversionValue.php | Bin 1152 -> 0 bytes .../V15/Enums/SkAdNetworkSourceType.php | Bin 1080 -> 0 bytes .../V15/Enums/SkAdNetworkUserType.php | Bin 1067 -> 0 bytes .../Google/Ads/GoogleAds/V15/Enums/Slot.php | Bin 1042 -> 0 bytes .../Enums/SmartCampaignNotEligibleReason.php | Bin 1183 -> 0 bytes .../V15/Enums/SmartCampaignStatus.php | Bin 1092 -> 0 bytes .../GoogleAds/V15/Enums/SpendingLimitType.php | Bin 1011 -> 0 bytes .../StructuredSnippetPlaceholderField.php | Bin 1122 -> 0 bytes .../GoogleAds/V15/Enums/SummaryRowSetting.php | Bin 1070 -> 0 bytes .../V15/Enums/SystemManagedEntitySource.php | Bin 1070 -> 0 bytes .../TargetCpaOptInRecommendationGoal.php | Bin 1163 -> 0 bytes .../V15/Enums/TargetFrequencyTimeUnit.php | Bin 1047 -> 0 bytes .../Enums/TargetImpressionShareLocation.php | Bin 1137 -> 0 bytes .../V15/Enums/TargetingDimension.php | Bin 1122 -> 0 bytes .../Ads/GoogleAds/V15/Enums/TimeType.php | Bin 963 -> 0 bytes .../V15/Enums/TrackingCodePageFormat.php | Bin 1048 -> 0 bytes .../GoogleAds/V15/Enums/TrackingCodeType.php | Bin 1063 -> 0 bytes .../V15/Enums/TravelPlaceholderField.php | Bin 1414 -> 0 bytes .../V15/Enums/UserIdentifierSource.php | Bin 1049 -> 0 bytes .../V15/Enums/UserInterestTaxonomyType.php | Bin 1145 -> 0 bytes .../V15/Enums/UserListAccessStatus.php | Bin 1044 -> 0 bytes .../V15/Enums/UserListClosingReason.php | Bin 1035 -> 0 bytes .../V15/Enums/UserListCrmDataSourceType.php | Bin 1129 -> 0 bytes .../Enums/UserListDateRuleItemOperator.php | Bin 1121 -> 0 bytes .../Enums/UserListFlexibleRuleOperator.php | Bin 1084 -> 0 bytes .../V15/Enums/UserListLogicalRuleOperator.php | Bin 1089 -> 0 bytes .../V15/Enums/UserListMembershipStatus.php | Bin 1063 -> 0 bytes .../Enums/UserListNumberRuleItemOperator.php | Bin 1195 -> 0 bytes .../V15/Enums/UserListPrepopulationStatus.php | Bin 1101 -> 0 bytes .../GoogleAds/V15/Enums/UserListRuleType.php | Bin 1025 -> 0 bytes .../GoogleAds/V15/Enums/UserListSizeRange.php | Bin 1586 -> 0 bytes .../Enums/UserListStringRuleItemOperator.php | Bin 1215 -> 0 bytes .../Ads/GoogleAds/V15/Enums/UserListType.php | Bin 1084 -> 0 bytes .../V15/Enums/ValueRuleDeviceType.php | Bin 1048 -> 0 bytes .../Enums/ValueRuleGeoLocationMatchType.php | Bin 1111 -> 0 bytes .../V15/Enums/ValueRuleOperation.php | Bin 1035 -> 0 bytes .../V15/Enums/ValueRuleSetAttachmentType.php | Bin 1083 -> 0 bytes .../V15/Enums/ValueRuleSetDimension.php | Bin 1086 -> 0 bytes .../V15/Enums/VanityPharmaDisplayUrlMode.php | Bin 1111 -> 0 bytes .../GoogleAds/V15/Enums/VanityPharmaText.php | Bin 1443 -> 0 bytes .../GoogleAds/V15/Enums/VideoThumbnail.php | Bin 1052 -> 0 bytes .../V15/Enums/WebpageConditionOperand.php | Bin 1110 -> 0 bytes .../V15/Enums/WebpageConditionOperator.php | Bin 1065 -> 0 bytes .../V15/Errors/AccessInvitationError.php | Bin 1322 -> 0 bytes .../V15/Errors/AccountBudgetProposalError.php | Bin 1958 -> 0 bytes .../GoogleAds/V15/Errors/AccountLinkError.php | Bin 1044 -> 0 bytes .../V15/Errors/AdCustomizerError.php | Bin 1167 -> 0 bytes .../Ads/GoogleAds/V15/Errors/AdError.php | Bin 6102 -> 0 bytes .../GoogleAds/V15/Errors/AdGroupAdError.php | Bin 1353 -> 0 bytes .../V15/Errors/AdGroupBidModifierError.php | Bin 1144 -> 0 bytes .../AdGroupCriterionCustomizerError.php | Bin 1126 -> 0 bytes .../V15/Errors/AdGroupCriterionError.php | Bin 2202 -> 0 bytes .../V15/Errors/AdGroupCustomizerError.php | Bin 1039 -> 0 bytes .../Ads/GoogleAds/V15/Errors/AdGroupError.php | Bin 1605 -> 0 bytes .../GoogleAds/V15/Errors/AdGroupFeedError.php | Bin 1280 -> 0 bytes .../GoogleAds/V15/Errors/AdParameterError.php | Bin 1077 -> 0 bytes .../GoogleAds/V15/Errors/AdSharingError.php | Bin 1091 -> 0 bytes .../Ads/GoogleAds/V15/Errors/AdxError.php | Bin 976 -> 0 bytes .../Ads/GoogleAds/V15/Errors/AssetError.php | Bin 2400 -> 0 bytes .../V15/Errors/AssetGroupAssetError.php | Bin 1183 -> 0 bytes .../GoogleAds/V15/Errors/AssetGroupError.php | Bin 1596 -> 0 bytes .../AssetGroupListingGroupFilterError.php | Bin 1626 -> 0 bytes .../V15/Errors/AssetGroupSignalError.php | Bin 1130 -> 0 bytes .../GoogleAds/V15/Errors/AssetLinkError.php | Bin 1911 -> 0 bytes .../V15/Errors/AssetSetAssetError.php | Bin 1132 -> 0 bytes .../GoogleAds/V15/Errors/AssetSetError.php | Bin 1414 -> 0 bytes .../V15/Errors/AssetSetLinkError.php | Bin 1199 -> 0 bytes .../GoogleAds/V15/Errors/AudienceError.php | Bin 1292 -> 0 bytes .../V15/Errors/AudienceInsightsError.php | Bin 1093 -> 0 bytes .../V15/Errors/AuthenticationError.php | Bin 1674 -> 0 bytes .../V15/Errors/AuthorizationError.php | Bin 1478 -> 0 bytes .../GoogleAds/V15/Errors/BatchJobError.php | Bin 1187 -> 0 bytes .../Ads/GoogleAds/V15/Errors/BiddingError.php | Bin 2150 -> 0 bytes .../V15/Errors/BiddingStrategyError.php | Bin 1230 -> 0 bytes .../V15/Errors/BillingSetupError.php | Bin 1806 -> 0 bytes .../V15/Errors/CampaignBudgetError.php | Bin 1861 -> 0 bytes .../Errors/CampaignConversionGoalError.php | Bin 1198 -> 0 bytes .../V15/Errors/CampaignCriterionError.php | Bin 2304 -> 0 bytes .../V15/Errors/CampaignCustomizerError.php | Bin 1043 -> 0 bytes .../V15/Errors/CampaignDraftError.php | Bin 1396 -> 0 bytes .../GoogleAds/V15/Errors/CampaignError.php | Bin 4079 -> 0 bytes .../V15/Errors/CampaignExperimentError.php | Bin 1470 -> 0 bytes .../V15/Errors/CampaignFeedError.php | Bin 1331 -> 0 bytes .../V15/Errors/CampaignLifecycleGoalError.php | Bin 1537 -> 0 bytes .../V15/Errors/CampaignSharedSetError.php | Bin 1069 -> 0 bytes .../GoogleAds/V15/Errors/ChangeEventError.php | Bin 1142 -> 0 bytes .../V15/Errors/ChangeStatusError.php | Bin 1148 -> 0 bytes .../V15/Errors/CollectionSizeError.php | Bin 1046 -> 0 bytes .../Ads/GoogleAds/V15/Errors/ContextError.php | Bin 1069 -> 0 bytes .../V15/Errors/ConversionActionError.php | Bin 1417 -> 0 bytes .../ConversionAdjustmentUploadError.php | Bin 2000 -> 0 bytes .../Errors/ConversionCustomVariableError.php | Bin 1139 -> 0 bytes .../ConversionGoalCampaignConfigError.php | Bin 1431 -> 0 bytes .../V15/Errors/ConversionUploadError.php | Bin 2689 -> 0 bytes .../V15/Errors/ConversionValueRuleError.php | Bin 1482 -> 0 bytes .../Errors/ConversionValueRuleSetError.php | Bin 1599 -> 0 bytes .../GoogleAds/V15/Errors/CountryCodeError.php | Bin 1027 -> 0 bytes .../GoogleAds/V15/Errors/CriterionError.php | Bin 7043 -> 0 bytes .../V15/Errors/CurrencyCodeError.php | Bin 1024 -> 0 bytes .../GoogleAds/V15/Errors/CurrencyError.php | Bin 1023 -> 0 bytes .../V15/Errors/CustomAudienceError.php | Bin 1267 -> 0 bytes .../V15/Errors/CustomConversionGoalError.php | Bin 1309 -> 0 bytes .../V15/Errors/CustomInterestError.php | Bin 1288 -> 0 bytes .../V15/Errors/CustomerClientLinkError.php | Bin 1360 -> 0 bytes .../V15/Errors/CustomerCustomizerError.php | Bin 1043 -> 0 bytes .../GoogleAds/V15/Errors/CustomerError.php | Bin 1035 -> 0 bytes .../V15/Errors/CustomerFeedError.php | Bin 1310 -> 0 bytes .../V15/Errors/CustomerLifecycleGoalError.php | Bin 1388 -> 0 bytes .../V15/Errors/CustomerManagerLinkError.php | Bin 1431 -> 0 bytes ...rSkAdNetworkConversionValueSchemaError.php | Bin 1273 -> 0 bytes .../V15/Errors/CustomerUserAccessError.php | Bin 1194 -> 0 bytes .../V15/Errors/CustomizerAttributeError.php | Bin 1092 -> 0 bytes .../GoogleAds/V15/Errors/DatabaseError.php | Bin 1066 -> 0 bytes .../Ads/GoogleAds/V15/Errors/DateError.php | Bin 1347 -> 0 bytes .../GoogleAds/V15/Errors/DateRangeError.php | Bin 1152 -> 0 bytes .../GoogleAds/V15/Errors/DistinctError.php | Bin 1024 -> 0 bytes .../Ads/GoogleAds/V15/Errors/EnumError.php | Bin 987 -> 0 bytes .../Ads/GoogleAds/V15/Errors/Errors.php | Bin 175769 -> 0 bytes .../V15/Errors/ExperimentArmError.php | Bin 1629 -> 0 bytes .../GoogleAds/V15/Errors/ExperimentError.php | Bin 2021 -> 0 bytes .../V15/Errors/ExtensionFeedItemError.php | Bin 2741 -> 0 bytes .../V15/Errors/ExtensionSettingError.php | Bin 3558 -> 0 bytes .../Errors/FeedAttributeReferenceError.php | Bin 1162 -> 0 bytes .../Ads/GoogleAds/V15/Errors/FeedError.php | Bin 1775 -> 0 bytes .../GoogleAds/V15/Errors/FeedItemError.php | Bin 1342 -> 0 bytes .../GoogleAds/V15/Errors/FeedItemSetError.php | Bin 1220 -> 0 bytes .../V15/Errors/FeedItemSetLinkError.php | Bin 1091 -> 0 bytes .../V15/Errors/FeedItemTargetError.php | Bin 1324 -> 0 bytes .../V15/Errors/FeedItemValidationError.php | Bin 4533 -> 0 bytes .../GoogleAds/V15/Errors/FeedMappingError.php | Bin 1750 -> 0 bytes .../Ads/GoogleAds/V15/Errors/FieldError.php | Bin 1151 -> 0 bytes .../GoogleAds/V15/Errors/FieldMaskError.php | Bin 1089 -> 0 bytes .../GoogleAds/V15/Errors/FunctionError.php | Bin 1493 -> 0 bytes .../V15/Errors/FunctionParsingError.php | Bin 1332 -> 0 bytes .../GeoTargetConstantSuggestionError.php | Bin 1214 -> 0 bytes .../Ads/GoogleAds/V15/Errors/HeaderError.php | Bin 1032 -> 0 bytes .../Ads/GoogleAds/V15/Errors/IdError.php | Bin 960 -> 0 bytes .../Ads/GoogleAds/V15/Errors/ImageError.php | Bin 1995 -> 0 bytes .../GoogleAds/V15/Errors/InternalError.php | Bin 1077 -> 0 bytes .../Ads/GoogleAds/V15/Errors/InvoiceError.php | Bin 1130 -> 0 bytes .../V15/Errors/KeywordPlanAdGroupError.php | Bin 1085 -> 0 bytes .../Errors/KeywordPlanAdGroupKeywordError.php | Bin 1332 -> 0 bytes .../V15/Errors/KeywordPlanCampaignError.php | Bin 1183 -> 0 bytes .../KeywordPlanCampaignKeywordError.php | Bin 1130 -> 0 bytes .../GoogleAds/V15/Errors/KeywordPlanError.php | Bin 1387 -> 0 bytes .../V15/Errors/KeywordPlanIdeaError.php | Bin 1068 -> 0 bytes .../Ads/GoogleAds/V15/Errors/LabelError.php | Bin 1310 -> 0 bytes .../V15/Errors/LanguageCodeError.php | Bin 1064 -> 0 bytes .../V15/Errors/ListOperationError.php | Bin 1063 -> 0 bytes .../GoogleAds/V15/Errors/ManagerLinkError.php | Bin 1584 -> 0 bytes .../GoogleAds/V15/Errors/MediaBundleError.php | Bin 1626 -> 0 bytes .../GoogleAds/V15/Errors/MediaFileError.php | Bin 1714 -> 0 bytes .../GoogleAds/V15/Errors/MediaUploadError.php | Bin 2081 -> 0 bytes .../V15/Errors/MerchantCenterError.php | Bin 1112 -> 0 bytes .../GoogleAds/V15/Errors/MultiplierError.php | Bin 1515 -> 0 bytes .../Ads/GoogleAds/V15/Errors/MutateError.php | Bin 1264 -> 0 bytes .../V15/Errors/NewResourceCreationError.php | Bin 1140 -> 0 bytes .../V15/Errors/NotAllowlistedError.php | Bin 1066 -> 0 bytes .../GoogleAds/V15/Errors/NotEmptyError.php | Bin 999 -> 0 bytes .../Ads/GoogleAds/V15/Errors/NullError.php | Bin 975 -> 0 bytes .../V15/Errors/OfflineUserDataJobError.php | Bin 2323 -> 0 bytes .../V15/Errors/OperationAccessDeniedError.php | Bin 1463 -> 0 bytes .../GoogleAds/V15/Errors/OperatorError.php | Bin 1009 -> 0 bytes .../V15/Errors/PartialFailureError.php | Bin 1054 -> 0 bytes .../V15/Errors/PaymentsAccountError.php | Bin 1066 -> 0 bytes .../V15/Errors/PolicyFindingError.php | Bin 1061 -> 0 bytes .../Errors/PolicyValidationParameterError.php | Bin 1278 -> 0 bytes .../V15/Errors/PolicyViolationError.php | Bin 1043 -> 0 bytes .../GoogleAds/V15/Errors/ProductLinkError.php | Bin 1076 -> 0 bytes .../V15/Errors/ProductLinkInvitationError.php | Bin 1136 -> 0 bytes .../Ads/GoogleAds/V15/Errors/QueryError.php | Bin 2718 -> 0 bytes .../Ads/GoogleAds/V15/Errors/QuotaError.php | Bin 1047 -> 0 bytes .../Ads/GoogleAds/V15/Errors/RangeError.php | Bin 990 -> 0 bytes .../GoogleAds/V15/Errors/ReachPlanError.php | Bin 1111 -> 0 bytes .../V15/Errors/RecommendationError.php | Bin 1484 -> 0 bytes .../RecommendationSubscriptionError.php | Bin 1091 -> 0 bytes .../GoogleAds/V15/Errors/RegionCodeError.php | Bin 1020 -> 0 bytes .../Ads/GoogleAds/V15/Errors/RequestError.php | Bin 1795 -> 0 bytes .../V15/Errors/ResourceAccessDeniedError.php | Bin 1082 -> 0 bytes .../ResourceCountLimitExceededError.php | Bin 1312 -> 0 bytes .../V15/Errors/SearchTermInsightError.php | Bin 1278 -> 0 bytes .../Ads/GoogleAds/V15/Errors/SettingError.php | Bin 1736 -> 0 bytes .../V15/Errors/SharedCriterionError.php | Bin 1078 -> 0 bytes .../GoogleAds/V15/Errors/SharedSetError.php | Bin 1110 -> 0 bytes .../GoogleAds/V15/Errors/SizeLimitError.php | Bin 1057 -> 0 bytes .../V15/Errors/SmartCampaignError.php | Bin 1256 -> 0 bytes .../V15/Errors/StringFormatError.php | Bin 1046 -> 0 bytes .../V15/Errors/StringLengthError.php | Bin 1047 -> 0 bytes .../ThirdPartyAppAnalyticsLinkError.php | Bin 1250 -> 0 bytes .../GoogleAds/V15/Errors/TimeZoneError.php | Bin 1006 -> 0 bytes .../GoogleAds/V15/Errors/UrlFieldError.php | Bin 2807 -> 0 bytes .../GoogleAds/V15/Errors/UserDataError.php | Bin 1093 -> 0 bytes .../GoogleAds/V15/Errors/UserListError.php | Bin 2131 -> 0 bytes .../Errors/YoutubeVideoRegistrationError.php | Bin 1154 -> 0 bytes .../Resources/AccessibleBiddingStrategy.php | Bin 4352 -> 0 bytes .../GoogleAds/V15/Resources/AccountBudget.php | Bin 5691 -> 0 bytes .../V15/Resources/AccountBudgetProposal.php | Bin 5140 -> 0 bytes .../GoogleAds/V15/Resources/AccountLink.php | Bin 4106 -> 0 bytes .../Google/Ads/GoogleAds/V15/Resources/Ad.php | Bin 34765 -> 0 bytes .../Ads/GoogleAds/V15/Resources/AdGroup.php | Bin 9669 -> 0 bytes .../Ads/GoogleAds/V15/Resources/AdGroupAd.php | Bin 37393 -> 0 bytes .../AdGroupAdAssetCombinationView.php | Bin 3114 -> 0 bytes .../V15/Resources/AdGroupAdAssetView.php | Bin 12321 -> 0 bytes .../V15/Resources/AdGroupAdLabel.php | Bin 1460 -> 0 bytes .../GoogleAds/V15/Resources/AdGroupAsset.php | Bin 14321 -> 0 bytes .../V15/Resources/AdGroupAssetSet.php | Bin 2012 -> 0 bytes .../V15/Resources/AdGroupAudienceView.php | 31 - .../V15/Resources/AdGroupBidModifier.php | Bin 24992 -> 0 bytes .../V15/Resources/AdGroupCriterion.php | Bin 32823 -> 0 bytes .../Resources/AdGroupCriterionCustomizer.php | Bin 3379 -> 0 bytes .../V15/Resources/AdGroupCriterionLabel.php | Bin 1544 -> 0 bytes .../Resources/AdGroupCriterionSimulation.php | Bin 7060 -> 0 bytes .../V15/Resources/AdGroupCustomizer.php | Bin 3243 -> 0 bytes .../V15/Resources/AdGroupExtensionSetting.php | Bin 2876 -> 0 bytes .../GoogleAds/V15/Resources/AdGroupFeed.php | Bin 5674 -> 0 bytes .../GoogleAds/V15/Resources/AdGroupLabel.php | Bin 1425 -> 0 bytes .../V15/Resources/AdGroupSimulation.php | Bin 7110 -> 0 bytes .../GoogleAds/V15/Resources/AdParameter.php | Bin 1498 -> 0 bytes .../V15/Resources/AdScheduleView.php | 31 - .../GoogleAds/V15/Resources/AgeRangeView.php | 31 - .../AndroidPrivacySharedKeyGoogleAdGroup.php | Bin 3104 -> 0 bytes .../AndroidPrivacySharedKeyGoogleCampaign.php | Bin 2342 -> 0 bytes ...droidPrivacySharedKeyGoogleNetworkType.php | Bin 3099 -> 0 bytes .../Ads/GoogleAds/V15/Resources/Asset.php | Bin 57791 -> 0 bytes .../V15/Resources/AssetFieldTypeView.php | Bin 2342 -> 0 bytes .../GoogleAds/V15/Resources/AssetGroup.php | Bin 4227 -> 0 bytes .../V15/Resources/AssetGroupAsset.php | Bin 15911 -> 0 bytes .../AssetGroupListingGroupFilter.php | Bin 8414 -> 0 bytes .../Resources/AssetGroupProductGroupView.php | 35 - .../V15/Resources/AssetGroupSignal.php | Bin 24528 -> 0 bytes .../AssetGroupTopCombinationView.php | Bin 3196 -> 0 bytes .../Ads/GoogleAds/V15/Resources/AssetSet.php | Bin 7156 -> 0 bytes .../GoogleAds/V15/Resources/AssetSetAsset.php | Bin 1992 -> 0 bytes .../V15/Resources/AssetSetTypeView.php | Bin 2198 -> 0 bytes .../Ads/GoogleAds/V15/Resources/Audience.php | Bin 6953 -> 0 bytes .../Ads/GoogleAds/V15/Resources/BatchJob.php | Bin 2534 -> 0 bytes .../V15/Resources/BiddingDataExclusion.php | Bin 4122 -> 0 bytes .../BiddingSeasonalityAdjustment.php | Bin 4230 -> 0 bytes .../V15/Resources/BiddingStrategy.php | Bin 6792 -> 0 bytes .../Resources/BiddingStrategySimulation.php | Bin 6941 -> 0 bytes .../GoogleAds/V15/Resources/BillingSetup.php | Bin 3211 -> 0 bytes .../Ads/GoogleAds/V15/Resources/CallView.php | Bin 3261 -> 0 bytes .../Ads/GoogleAds/V15/Resources/Campaign.php | Bin 36536 -> 0 bytes .../GoogleAds/V15/Resources/CampaignAsset.php | Bin 14351 -> 0 bytes .../V15/Resources/CampaignAssetSet.php | Bin 2019 -> 0 bytes .../V15/Resources/CampaignAudienceView.php | 31 - .../V15/Resources/CampaignBidModifier.php | Bin 23817 -> 0 bytes .../V15/Resources/CampaignBudget.php | Bin 4596 -> 0 bytes .../V15/Resources/CampaignConversionGoal.php | Bin 3063 -> 0 bytes .../V15/Resources/CampaignCriterion.php | Bin 28198 -> 0 bytes .../V15/Resources/CampaignCustomizer.php | Bin 3250 -> 0 bytes .../GoogleAds/V15/Resources/CampaignDraft.php | Bin 2314 -> 0 bytes .../Resources/CampaignExtensionSetting.php | Bin 2883 -> 0 bytes .../GoogleAds/V15/Resources/CampaignFeed.php | Bin 5682 -> 0 bytes .../GoogleAds/V15/Resources/CampaignGroup.php | Bin 1892 -> 0 bytes .../GoogleAds/V15/Resources/CampaignLabel.php | Bin 1431 -> 0 bytes .../V15/Resources/CampaignLifecycleGoal.php | Bin 2943 -> 0 bytes .../Resources/CampaignSearchTermInsight.php | Bin 1515 -> 0 bytes .../V15/Resources/CampaignSharedSet.php | Bin 2098 -> 0 bytes .../V15/Resources/CampaignSimulation.php | Bin 7183 -> 0 bytes .../V15/Resources/CarrierConstant.php | Bin 1375 -> 0 bytes .../GoogleAds/V15/Resources/ChangeEvent.php | Bin 185973 -> 0 bytes .../GoogleAds/V15/Resources/ChangeStatus.php | Bin 4312 -> 0 bytes .../Ads/GoogleAds/V15/Resources/ClickView.php | Bin 24704 -> 0 bytes .../V15/Resources/CombinedAudience.php | Bin 1973 -> 0 bytes .../V15/Resources/ConversionAction.php | Bin 11713 -> 0 bytes .../Resources/ConversionCustomVariable.php | Bin 2179 -> 0 bytes .../ConversionGoalCampaignConfig.php | Bin 2113 -> 0 bytes .../V15/Resources/ConversionValueRule.php | Bin 4983 -> 0 bytes .../V15/Resources/ConversionValueRuleSet.php | Bin 4623 -> 0 bytes .../V15/Resources/CurrencyConstant.php | Bin 1432 -> 0 bytes .../V15/Resources/CustomAudience.php | Bin 3427 -> 0 bytes .../V15/Resources/CustomConversionGoal.php | Bin 2059 -> 0 bytes .../V15/Resources/CustomInterest.php | Bin 3375 -> 0 bytes .../Ads/GoogleAds/V15/Resources/Customer.php | Bin 7425 -> 0 bytes .../GoogleAds/V15/Resources/CustomerAsset.php | Bin 14249 -> 0 bytes .../V15/Resources/CustomerAssetSet.php | Bin 2005 -> 0 bytes .../V15/Resources/CustomerClient.php | Bin 2371 -> 0 bytes .../V15/Resources/CustomerClientLink.php | Bin 2133 -> 0 bytes .../V15/Resources/CustomerConversionGoal.php | Bin 2986 -> 0 bytes .../V15/Resources/CustomerCustomizer.php | Bin 3173 -> 0 bytes .../Resources/CustomerExtensionSetting.php | Bin 2788 -> 0 bytes .../GoogleAds/V15/Resources/CustomerFeed.php | Bin 5589 -> 0 bytes .../GoogleAds/V15/Resources/CustomerLabel.php | Bin 1417 -> 0 bytes .../V15/Resources/CustomerLifecycleGoal.php | Bin 2297 -> 0 bytes .../V15/Resources/CustomerManagerLink.php | Bin 2112 -> 0 bytes .../Resources/CustomerNegativeCriterion.php | Bin 25466 -> 0 bytes .../Resources/CustomerSearchTermInsight.php | Bin 1452 -> 0 bytes ...stomerSkAdNetworkConversionValueSchema.php | Bin 3129 -> 0 bytes .../V15/Resources/CustomerUserAccess.php | Bin 2099 -> 0 bytes .../CustomerUserAccessInvitation.php | Bin 2705 -> 0 bytes .../V15/Resources/CustomizerAttribute.php | Bin 2658 -> 0 bytes .../V15/Resources/DetailPlacementView.php | Bin 2215 -> 0 bytes .../V15/Resources/DetailedDemographic.php | Bin 5979 -> 0 bytes .../V15/Resources/DisplayKeywordView.php | 31 - .../GoogleAds/V15/Resources/DistanceView.php | Bin 2373 -> 0 bytes .../V15/Resources/DomainCategory.php | Bin 1762 -> 0 bytes .../DynamicSearchAdsSearchTermView.php | Bin 1882 -> 0 bytes .../V15/Resources/ExpandedLandingPageView.php | Bin 1437 -> 0 bytes .../GoogleAds/V15/Resources/Experiment.php | Bin 5606 -> 0 bytes .../GoogleAds/V15/Resources/ExperimentArm.php | 41 - .../V15/Resources/ExtensionFeedItem.php | Bin 37317 -> 0 bytes .../Ads/GoogleAds/V15/Resources/Feed.php | Bin 5112 -> 0 bytes .../Ads/GoogleAds/V15/Resources/FeedItem.php | Bin 19747 -> 0 bytes .../GoogleAds/V15/Resources/FeedItemSet.php | Bin 3451 -> 0 bytes .../V15/Resources/FeedItemSetLink.php | 35 - .../V15/Resources/FeedItemTarget.php | Bin 25942 -> 0 bytes .../GoogleAds/V15/Resources/FeedMapping.php | Bin 23100 -> 0 bytes .../V15/Resources/FeedPlaceholderView.php | Bin 2216 -> 0 bytes .../GoogleAds/V15/Resources/GenderView.php | 32 - .../V15/Resources/GeoTargetConstant.php | Bin 2221 -> 0 bytes .../V15/Resources/GeographicView.php | Bin 1971 -> 0 bytes .../V15/Resources/GoogleAdsField.php | Bin 3044 -> 0 bytes .../V15/Resources/GroupPlacementView.php | Bin 2129 -> 0 bytes .../V15/Resources/HotelGroupView.php | 31 - .../V15/Resources/HotelPerformanceView.php | 31 - .../V15/Resources/HotelReconciliation.php | Bin 2295 -> 0 bytes .../V15/Resources/IncomeRangeView.php | 31 - .../Ads/GoogleAds/V15/Resources/Invoice.php | Bin 7870 -> 0 bytes .../GoogleAds/V15/Resources/KeywordPlan.php | Bin 3452 -> 0 bytes .../V15/Resources/KeywordPlanAdGroup.php | Bin 1546 -> 0 bytes .../Resources/KeywordPlanAdGroupKeyword.php | Bin 2232 -> 0 bytes .../V15/Resources/KeywordPlanCampaign.php | Bin 2430 -> 0 bytes .../Resources/KeywordPlanCampaignKeyword.php | Bin 2191 -> 0 bytes .../V15/Resources/KeywordThemeConstant.php | Bin 1488 -> 0 bytes .../GoogleAds/V15/Resources/KeywordView.php | 31 - .../Ads/GoogleAds/V15/Resources/Label.php | Bin 2360 -> 0 bytes .../V15/Resources/LandingPageView.php | Bin 1375 -> 0 bytes .../V15/Resources/LanguageConstant.php | Bin 1412 -> 0 bytes .../V15/Resources/LeadFormSubmissionData.php | Bin 5063 -> 0 bytes .../Ads/GoogleAds/V15/Resources/LifeEvent.php | Bin 5879 -> 0 bytes .../V15/Resources/LocalServicesLead.php | Bin 3084 -> 0 bytes .../LocalServicesLeadConversation.php | Bin 3242 -> 0 bytes .../LocalServicesVerificationArtifact.php | Bin 6675 -> 0 bytes .../GoogleAds/V15/Resources/LocationView.php | 31 - .../V15/Resources/ManagedPlacementView.php | 31 - .../Ads/GoogleAds/V15/Resources/MediaFile.php | Bin 3525 -> 0 bytes .../Resources/MobileAppCategoryConstant.php | Bin 1420 -> 0 bytes .../V15/Resources/MobileDeviceConstant.php | Bin 2062 -> 0 bytes .../OfflineConversionUploadClientSummary.php | Bin 13241 -> 0 bytes .../V15/Resources/OfflineUserDataJob.php | Bin 10200 -> 0 bytes .../OperatingSystemVersionConstant.php | Bin 2272 -> 0 bytes .../Resources/PaidOrganicSearchTermView.php | Bin 1457 -> 0 bytes .../V15/Resources/ParentalStatusView.php | 31 - .../V15/Resources/PaymentsAccount.php | Bin 1697 -> 0 bytes .../GoogleAds/V15/Resources/PerStoreView.php | 32 - .../V15/Resources/ProductCategoryConstant.php | Bin 3032 -> 0 bytes .../V15/Resources/ProductGroupView.php | 31 - .../GoogleAds/V15/Resources/ProductLink.php | Bin 2493 -> 0 bytes .../V15/Resources/ProductLinkInvitation.php | Bin 3127 -> 0 bytes .../V15/Resources/QualifyingQuestion.php | 34 - .../V15/Resources/Recommendation.php | Bin 103227 -> 0 bytes .../Resources/RecommendationSubscription.php | Bin 4243 -> 0 bytes .../V15/Resources/RemarketingAction.php | Bin 3129 -> 0 bytes .../V15/Resources/SearchTermView.php | Bin 2086 -> 0 bytes .../V15/Resources/SharedCriterion.php | Bin 25463 -> 0 bytes .../Ads/GoogleAds/V15/Resources/SharedSet.php | Bin 2612 -> 0 bytes .../V15/Resources/ShoppingPerformanceView.php | 31 - .../Resources/SmartCampaignSearchTermView.php | 34 - .../V15/Resources/SmartCampaignSetting.php | Bin 1972 -> 0 bytes .../Resources/ThirdPartyAppAnalyticsLink.php | Bin 1446 -> 0 bytes .../GoogleAds/V15/Resources/TopicConstant.php | Bin 1402 -> 0 bytes .../Ads/GoogleAds/V15/Resources/TopicView.php | 31 - .../V15/Resources/TravelActivityGroupView.php | 31 - .../TravelActivityPerformanceView.php | 31 - .../GoogleAds/V15/Resources/UserInterest.php | Bin 6772 -> 0 bytes .../Ads/GoogleAds/V15/Resources/UserList.php | Bin 16055 -> 0 bytes .../V15/Resources/UserLocationView.php | Bin 1458 -> 0 bytes .../Ads/GoogleAds/V15/Resources/Video.php | Bin 1366 -> 0 bytes .../GoogleAds/V15/Resources/WebpageView.php | 31 - .../Services/AccountBudgetProposalService.php | Bin 7071 -> 0 bytes .../V15/Services/AccountLinkService.php | Bin 6545 -> 0 bytes .../V15/Services/AdGroupAdLabelService.php | Bin 3355 -> 0 bytes .../V15/Services/AdGroupAdService.php | Bin 40268 -> 0 bytes .../V15/Services/AdGroupAssetService.php | Bin 17099 -> 0 bytes .../V15/Services/AdGroupAssetSetService.php | Bin 4637 -> 0 bytes .../Services/AdGroupBidModifierService.php | Bin 27891 -> 0 bytes .../AdGroupCriterionCustomizerService.php | Bin 6213 -> 0 bytes .../Services/AdGroupCriterionLabelService.php | Bin 3549 -> 0 bytes .../V15/Services/AdGroupCriterionService.php | Bin 41509 -> 0 bytes .../V15/Services/AdGroupCustomizerService.php | Bin 5904 -> 0 bytes .../AdGroupExtensionSettingService.php | Bin 5876 -> 0 bytes .../V15/Services/AdGroupFeedService.php | Bin 8430 -> 0 bytes .../V15/Services/AdGroupLabelService.php | Bin 3287 -> 0 bytes .../GoogleAds/V15/Services/AdGroupService.php | Bin 12342 -> 0 bytes .../V15/Services/AdParameterService.php | Bin 4251 -> 0 bytes .../Ads/GoogleAds/V15/Services/AdService.php | Bin 37620 -> 0 bytes .../V15/Services/AssetGroupAssetService.php | Bin 18033 -> 0 bytes .../AssetGroupListingGroupFilterService.php | Bin 11310 -> 0 bytes .../V15/Services/AssetGroupService.php | Bin 6238 -> 0 bytes .../V15/Services/AssetGroupSignalService.php | Bin 33016 -> 0 bytes .../GoogleAds/V15/Services/AssetService.php | Bin 60366 -> 0 bytes .../V15/Services/AssetSetAssetService.php | Bin 4576 -> 0 bytes .../V15/Services/AssetSetService.php | Bin 9849 -> 0 bytes .../V15/Services/AudienceInsightsService.php | Bin 34253 -> 0 bytes .../V15/Services/AudienceService.php | Bin 9585 -> 0 bytes .../V15/Services/BatchJobService.php | Bin 750991 -> 0 bytes .../Services/BiddingDataExclusionService.php | Bin 7060 -> 0 bytes .../BiddingSeasonalityAdjustmentService.php | Bin 7328 -> 0 bytes .../V15/Services/BiddingStrategyService.php | Bin 9631 -> 0 bytes .../V15/Services/BillingSetupService.php | Bin 4833 -> 0 bytes .../V15/Services/BrandSuggestionService.php | Bin 2550 -> 0 bytes .../V15/Services/CampaignAssetService.php | Bin 17144 -> 0 bytes .../V15/Services/CampaignAssetSetService.php | Bin 4660 -> 0 bytes .../Services/CampaignBidModifierService.php | Bin 26733 -> 0 bytes .../V15/Services/CampaignBudgetService.php | Bin 7411 -> 0 bytes .../CampaignConversionGoalService.php | Bin 4946 -> 0 bytes .../V15/Services/CampaignCriterionService.php | Bin 31059 -> 0 bytes .../Services/CampaignCustomizerService.php | Bin 5926 -> 0 bytes .../V15/Services/CampaignDraftService.php | Bin 6200 -> 0 bytes .../CampaignExtensionSettingService.php | Bin 5900 -> 0 bytes .../V15/Services/CampaignFeedService.php | Bin 8457 -> 0 bytes .../V15/Services/CampaignGroupService.php | Bin 4688 -> 0 bytes .../V15/Services/CampaignLabelService.php | Bin 3306 -> 0 bytes .../Services/CampaignLifecycleGoalService.php | Bin 4867 -> 0 bytes .../V15/Services/CampaignService.php | Bin 39226 -> 0 bytes .../V15/Services/CampaignSharedSetService.php | Bin 4759 -> 0 bytes .../V15/Services/ConversionActionService.php | Bin 14566 -> 0 bytes .../ConversionAdjustmentUploadService.php | Bin 9309 -> 0 bytes .../ConversionCustomVariableService.php | Bin 5122 -> 0 bytes .../ConversionGoalCampaignConfigService.php | Bin 4844 -> 0 bytes .../V15/Services/ConversionUploadService.php | Bin 11127 -> 0 bytes .../Services/ConversionValueRuleService.php | Bin 7899 -> 0 bytes .../ConversionValueRuleSetService.php | Bin 7602 -> 0 bytes .../V15/Services/CustomAudienceService.php | Bin 5325 -> 0 bytes .../Services/CustomConversionGoalService.php | Bin 4787 -> 0 bytes .../V15/Services/CustomInterestService.php | Bin 5208 -> 0 bytes .../V15/Services/CustomerAssetService.php | Bin 17042 -> 0 bytes .../V15/Services/CustomerAssetSetService.php | Bin 4646 -> 0 bytes .../Services/CustomerClientLinkService.php | Bin 4023 -> 0 bytes .../CustomerConversionGoalService.php | Bin 4869 -> 0 bytes .../Services/CustomerCustomizerService.php | Bin 5849 -> 0 bytes .../CustomerExtensionSettingService.php | Bin 5805 -> 0 bytes .../V15/Services/CustomerFeedService.php | Bin 8364 -> 0 bytes .../V15/Services/CustomerLabelService.php | Bin 3292 -> 0 bytes .../Services/CustomerLifecycleGoalService.php | Bin 4221 -> 0 bytes .../Services/CustomerManagerLinkService.php | Bin 4470 -> 0 bytes .../CustomerNegativeCriterionService.php | Bin 28264 -> 0 bytes .../V15/Services/CustomerService.php | Bin 11219 -> 0 bytes ...kAdNetworkConversionValueSchemaService.php | Bin 5072 -> 0 bytes .../CustomerUserAccessInvitationService.php | Bin 4584 -> 0 bytes .../Services/CustomerUserAccessService.php | Bin 3960 -> 0 bytes .../Services/CustomizerAttributeService.php | Bin 5496 -> 0 bytes .../V15/Services/ExperimentArmService.php | Bin 4331 -> 0 bytes .../V15/Services/ExperimentService.php | Bin 10266 -> 0 bytes .../V15/Services/ExtensionFeedItemService.php | Bin 40194 -> 0 bytes .../V15/Services/FeedItemService.php | Bin 22440 -> 0 bytes .../V15/Services/FeedItemSetLinkService.php | Bin 3363 -> 0 bytes .../V15/Services/FeedItemSetService.php | Bin 5505 -> 0 bytes .../V15/Services/FeedItemTargetService.php | Bin 28547 -> 0 bytes .../V15/Services/FeedMappingService.php | Bin 25643 -> 0 bytes .../GoogleAds/V15/Services/FeedService.php | Bin 7722 -> 0 bytes .../V15/Services/GeoTargetConstantService.php | Bin 4130 -> 0 bytes .../V15/Services/GoogleAdsFieldService.php | Bin 4679 -> 0 bytes .../V15/Services/GoogleAdsService.php | Bin 747784 -> 0 bytes .../GoogleAds/V15/Services/InvoiceService.php | Bin 9260 -> 0 bytes .../KeywordPlanAdGroupKeywordService.php | Bin 4527 -> 0 bytes .../Services/KeywordPlanAdGroupService.php | Bin 3720 -> 0 bytes .../KeywordPlanCampaignKeywordService.php | Bin 4501 -> 0 bytes .../Services/KeywordPlanCampaignService.php | Bin 4620 -> 0 bytes .../V15/Services/KeywordPlanIdeaService.php | Bin 36624 -> 0 bytes .../V15/Services/KeywordPlanService.php | Bin 5508 -> 0 bytes .../Services/KeywordThemeConstantService.php | Bin 2790 -> 0 bytes .../GoogleAds/V15/Services/LabelService.php | Bin 4990 -> 0 bytes .../Services/OfflineUserDataJobService.php | Bin 13436 -> 0 bytes .../V15/Services/PaymentsAccountService.php | Bin 2948 -> 0 bytes .../Services/ProductLinkInvitationService.php | Bin 2869 -> 0 bytes .../V15/Services/ProductLinkService.php | Bin 4304 -> 0 bytes .../V15/Services/ReachPlanService.php | Bin 35418 -> 0 bytes .../V15/Services/RecommendationService.php | Bin 97142 -> 0 bytes .../RecommendationSubscriptionService.php | Bin 7247 -> 0 bytes .../V15/Services/RemarketingActionService.php | Bin 5218 -> 0 bytes .../V15/Services/SharedCriterionService.php | Bin 28070 -> 0 bytes .../V15/Services/SharedSetService.php | Bin 5327 -> 0 bytes .../Services/SmartCampaignSettingService.php | Bin 7574 -> 0 bytes .../Services/SmartCampaignSuggestService.php | Bin 54061 -> 0 bytes .../ThirdPartyAppAnalyticsLinkService.php | 37 - .../Services/TravelAssetSuggestionService.php | Bin 4894 -> 0 bytes .../V15/Services/UserDataService.php | Bin 7384 -> 0 bytes .../V15/Services/UserListService.php | Bin 18057 -> 0 bytes .../Ads/GoogleAds/V17/Common/AdAsset.php | Bin 13796 -> 13796 bytes .../Ads/GoogleAds/V17/Common/AdTypeInfos.php | Bin 27958 -> 27958 bytes .../Ads/GoogleAds/V17/Common/AssetPolicy.php | Bin 10735 -> 10735 bytes .../Ads/GoogleAds/V17/Common/AssetTypes.php | Bin 46272 -> 46272 bytes .../Ads/GoogleAds/V17/Common/Audiences.php | Bin 4979 -> 4979 bytes .../Ads/GoogleAds/V17/Common/Bidding.php | Bin 3588 -> 5054 bytes .../Ads/GoogleAds/V17/Common/Criteria.php | Bin 25248 -> 25248 bytes .../Common/CriterionCategoryAvailability.php | Bin 4986 -> 4986 bytes .../Ads/GoogleAds/V17/Common/Extensions.php | Bin 10908 -> 10908 bytes .../Ads/GoogleAds/V17/Common/FrequencyCap.php | Bin 2897 -> 2897 bytes .../V17/Common/KeywordPlanCommon.php | Bin 6031 -> 6031 bytes .../GoogleAds/V17/Common/OfflineUserData.php | Bin 5805 -> 5805 bytes .../Ads/GoogleAds/V17/Common/Policy.php | Bin 6242 -> 6242 bytes .../GoogleAds/V17/Common/PolicySummary.php | Bin 8053 -> 8053 bytes .../Ads/GoogleAds/V17/Common/Segments.php | Bin 54417 -> 55183 bytes .../Ads/GoogleAds/V17/Common/UserLists.php | Bin 9785 -> 9785 bytes .../Ads/GoogleAds/V17/Enums/AdFormatType.php | Bin 0 -> 1125 bytes .../V17/Enums/BiddingStrategyType.php | Bin 1341 -> 1372 bytes .../V17/Enums/ChangeStatusResourceType.php | Bin 1361 -> 1378 bytes .../Ads/GoogleAds/V17/Enums/FixedCpmGoal.php | Bin 0 -> 1000 bytes .../Enums/FixedCpmTargetFrequencyTimeUnit.php | Bin 0 -> 1100 bytes .../Enums/UserListCustomerTypeCategory.php | Bin 1263 -> 1459 bytes .../AutomaticallyCreatedAssetRemovalError.php | Bin 0 -> 1280 bytes .../Ads/GoogleAds/V17/Errors/Errors.php | Bin 180397 -> 182031 bytes .../V17/Errors/ShareablePreviewError.php | Bin 0 -> 1123 bytes .../Resources/AccessibleBiddingStrategy.php | Bin 4352 -> 4383 bytes .../V17/Resources/AccountBudgetProposal.php | Bin 5140 -> 5140 bytes .../GoogleAds/V17/Resources/AccountLink.php | Bin 3454 -> 3454 bytes .../Google/Ads/GoogleAds/V17/Resources/Ad.php | Bin 35904 -> 35904 bytes .../Ads/GoogleAds/V17/Resources/AdGroup.php | Bin 11434 -> 11540 bytes .../Ads/GoogleAds/V17/Resources/AdGroupAd.php | Bin 40311 -> 40311 bytes .../V17/Resources/AdGroupAdAssetView.php | Bin 12351 -> 12351 bytes .../GoogleAds/V17/Resources/AdGroupAsset.php | Bin 14351 -> 14351 bytes .../V17/Resources/AdGroupAssetSet.php | Bin 2012 -> 2012 bytes .../V17/Resources/AdGroupAudienceView.php | 2 +- .../V17/Resources/AdGroupBidModifier.php | Bin 27396 -> 27396 bytes .../V17/Resources/AdGroupCriterion.php | Bin 37314 -> 37314 bytes .../Resources/AdGroupCriterionCustomizer.php | Bin 3379 -> 3379 bytes .../Resources/AdGroupCriterionSimulation.php | Bin 7060 -> 7060 bytes .../V17/Resources/AdGroupCustomizer.php | Bin 3243 -> 3243 bytes .../V17/Resources/AdGroupExtensionSetting.php | Bin 2876 -> 2876 bytes .../GoogleAds/V17/Resources/AdGroupFeed.php | Bin 5674 -> 5674 bytes .../GoogleAds/V17/Resources/AdGroupLabel.php | Bin 1425 -> 1425 bytes .../V17/Resources/AdGroupSimulation.php | Bin 7110 -> 7110 bytes .../GoogleAds/V17/Resources/AdParameter.php | Bin 1498 -> 1498 bytes .../GoogleAds/V17/Resources/AgeRangeView.php | 2 +- .../AndroidPrivacySharedKeyGoogleAdGroup.php | Bin 3104 -> 3104 bytes ...droidPrivacySharedKeyGoogleNetworkType.php | Bin 3099 -> 3099 bytes .../Ads/GoogleAds/V17/Resources/Asset.php | Bin 60226 -> 60226 bytes .../GoogleAds/V17/Resources/AssetGroup.php | Bin 4227 -> 4227 bytes .../V17/Resources/AssetGroupAsset.php | Bin 15941 -> 15941 bytes .../AssetGroupListingGroupFilter.php | Bin 8414 -> 8414 bytes .../Resources/AssetGroupProductGroupView.php | 2 +- .../V17/Resources/AssetGroupSignal.php | Bin 26932 -> 26932 bytes .../Ads/GoogleAds/V17/Resources/AssetSet.php | Bin 7156 -> 7156 bytes .../V17/Resources/AssetSetTypeView.php | Bin 2198 -> 2198 bytes .../Ads/GoogleAds/V17/Resources/Audience.php | Bin 7074 -> 7074 bytes .../V17/Resources/BiddingDataExclusion.php | Bin 4123 -> 4123 bytes .../BiddingSeasonalityAdjustment.php | Bin 4231 -> 4231 bytes .../V17/Resources/BiddingStrategy.php | Bin 6792 -> 8289 bytes .../Resources/BiddingStrategySimulation.php | Bin 6941 -> 6941 bytes .../GoogleAds/V17/Resources/BillingSetup.php | Bin 3211 -> 3211 bytes .../Ads/GoogleAds/V17/Resources/CallView.php | Bin 3261 -> 3261 bytes .../Ads/GoogleAds/V17/Resources/Campaign.php | Bin 37263 -> 39314 bytes .../Resources/CampaignAggregateAssetView.php | Bin 3255 -> 3255 bytes .../GoogleAds/V17/Resources/CampaignAsset.php | Bin 14381 -> 14381 bytes .../V17/Resources/CampaignAudienceView.php | 2 +- .../V17/Resources/CampaignBidModifier.php | Bin 26221 -> 26221 bytes .../V17/Resources/CampaignBudget.php | Bin 4596 -> 4596 bytes .../V17/Resources/CampaignCriterion.php | Bin 30618 -> 30618 bytes .../Resources/CampaignExtensionSetting.php | Bin 2883 -> 2883 bytes .../GoogleAds/V17/Resources/CampaignFeed.php | Bin 5682 -> 5682 bytes .../V17/Resources/CampaignSharedSet.php | Bin 2098 -> 2098 bytes .../V17/Resources/CampaignSimulation.php | Bin 7183 -> 7183 bytes .../GoogleAds/V17/Resources/ChangeEvent.php | Bin 195845 -> 198002 bytes .../GoogleAds/V17/Resources/ChangeStatus.php | Bin 4312 -> 4395 bytes .../Resources/ChannelAggregateAssetView.php | Bin 4004 -> 4004 bytes .../Ads/GoogleAds/V17/Resources/ClickView.php | Bin 27108 -> 27108 bytes .../V17/Resources/CombinedAudience.php | Bin 1973 -> 1973 bytes .../V17/Resources/ConversionAction.php | Bin 11713 -> 11713 bytes .../Resources/ConversionCustomVariable.php | Bin 2179 -> 2179 bytes .../V17/Resources/ConversionValueRule.php | Bin 4983 -> 4983 bytes .../V17/Resources/ConversionValueRuleSet.php | Bin 4623 -> 4623 bytes .../V17/Resources/CurrencyConstant.php | Bin 1432 -> 1432 bytes .../V17/Resources/CustomAudience.php | Bin 3427 -> 3427 bytes .../V17/Resources/CustomConversionGoal.php | Bin 2059 -> 2059 bytes .../V17/Resources/CustomInterest.php | Bin 3375 -> 3375 bytes .../Ads/GoogleAds/V17/Resources/Customer.php | Bin 8139 -> 8139 bytes .../GoogleAds/V17/Resources/CustomerAsset.php | Bin 14279 -> 14279 bytes .../V17/Resources/CustomerAssetSet.php | Bin 2005 -> 2005 bytes .../V17/Resources/CustomerConversionGoal.php | Bin 2986 -> 2986 bytes .../V17/Resources/CustomerCustomizer.php | Bin 3173 -> 3173 bytes .../Resources/CustomerExtensionSetting.php | Bin 2788 -> 2788 bytes .../GoogleAds/V17/Resources/CustomerFeed.php | Bin 5589 -> 5589 bytes .../V17/Resources/CustomerLifecycleGoal.php | Bin 1939 -> 1939 bytes .../V17/Resources/CustomerManagerLink.php | Bin 2112 -> 2112 bytes .../Resources/CustomerNegativeCriterion.php | Bin 27957 -> 27957 bytes .../V17/Resources/CustomerUserAccess.php | Bin 2099 -> 2099 bytes .../CustomerUserAccessInvitation.php | Bin 2705 -> 2705 bytes .../V17/Resources/CustomizerAttribute.php | Bin 2658 -> 2658 bytes .../V17/Resources/DetailedDemographic.php | Bin 5980 -> 5980 bytes .../GoogleAds/V17/Resources/DistanceView.php | Bin 2373 -> 2373 bytes .../DynamicSearchAdsSearchTermView.php | Bin 1882 -> 1882 bytes .../GoogleAds/V17/Resources/Experiment.php | Bin 5655 -> 5655 bytes .../V17/Resources/ExtensionFeedItem.php | Bin 39721 -> 39721 bytes .../Ads/GoogleAds/V17/Resources/Feed.php | Bin 5112 -> 5112 bytes .../Ads/GoogleAds/V17/Resources/FeedItem.php | Bin 19747 -> 19747 bytes .../GoogleAds/V17/Resources/FeedItemSet.php | Bin 3451 -> 3451 bytes .../V17/Resources/FeedItemSetLink.php | 2 +- .../V17/Resources/FeedItemTarget.php | Bin 28346 -> 28346 bytes .../GoogleAds/V17/Resources/FeedMapping.php | Bin 23100 -> 23100 bytes .../V17/Resources/FeedPlaceholderView.php | Bin 2216 -> 2216 bytes .../GoogleAds/V17/Resources/GenderView.php | 2 +- .../V17/Resources/GoogleAdsField.php | Bin 3044 -> 3044 bytes .../V17/Resources/HotelGroupView.php | 2 +- .../V17/Resources/HotelPerformanceView.php | 2 +- .../V17/Resources/HotelReconciliation.php | Bin 2295 -> 2295 bytes .../Ads/GoogleAds/V17/Resources/Invoice.php | Bin 7870 -> 7870 bytes .../GoogleAds/V17/Resources/KeywordPlan.php | Bin 3452 -> 3452 bytes .../Ads/GoogleAds/V17/Resources/Label.php | Bin 2360 -> 2360 bytes .../V17/Resources/LeadFormSubmissionData.php | Bin 5063 -> 5063 bytes .../Ads/GoogleAds/V17/Resources/LifeEvent.php | Bin 5880 -> 5880 bytes .../V17/Resources/LocalServicesLead.php | Bin 3897 -> 3897 bytes .../LocalServicesVerificationArtifact.php | Bin 9414 -> 9414 bytes .../V17/Resources/ManagedPlacementView.php | 2 +- .../Ads/GoogleAds/V17/Resources/MediaFile.php | Bin 3525 -> 3525 bytes .../Resources/MobileAppCategoryConstant.php | Bin 1420 -> 1420 bytes .../OfflineConversionUploadClientSummary.php | Bin 13241 -> 13330 bytes ...onversionUploadConversionActionSummary.php | Bin 0 -> 15054 bytes .../V17/Resources/OfflineUserDataJob.php | Bin 10200 -> 10200 bytes .../OperatingSystemVersionConstant.php | Bin 2272 -> 2272 bytes .../Resources/PaidOrganicSearchTermView.php | Bin 1457 -> 1457 bytes .../V17/Resources/ParentalStatusView.php | 2 +- .../V17/Resources/PaymentsAccount.php | Bin 1697 -> 1697 bytes .../GoogleAds/V17/Resources/PerStoreView.php | 2 +- .../V17/Resources/ProductCategoryConstant.php | Bin 3032 -> 3032 bytes .../V17/Resources/ProductGroupView.php | 2 +- .../V17/Resources/Recommendation.php | Bin 109554 -> 109554 bytes .../Resources/RecommendationSubscription.php | Bin 4470 -> 4470 bytes .../V17/Resources/SearchTermView.php | Bin 2086 -> 2086 bytes .../V17/Resources/SharedCriterion.php | Bin 27883 -> 27883 bytes .../V17/Resources/ShoppingProduct.php | Bin 7207 -> 7207 bytes .../V17/Resources/SmartCampaignSetting.php | Bin 1972 -> 1972 bytes .../GoogleAds/V17/Resources/TopicConstant.php | Bin 1402 -> 1402 bytes .../GoogleAds/V17/Resources/UserInterest.php | Bin 6773 -> 6773 bytes .../Ads/GoogleAds/V17/Resources/UserList.php | Bin 16055 -> 16055 bytes .../V17/Resources/UserListCustomerType.php | Bin 2244 -> 2440 bytes .../V17/Resources/UserLocationView.php | Bin 1458 -> 1458 bytes .../Ads/GoogleAds/V17/Resources/Video.php | Bin 1366 -> 1366 bytes .../Services/AccountBudgetProposalService.php | Bin 7071 -> 7071 bytes .../V17/Services/AccountLinkService.php | Bin 5893 -> 5893 bytes .../V17/Services/AdGroupAdLabelService.php | Bin 3355 -> 3355 bytes .../V17/Services/AdGroupAdService.php | Bin 43186 -> 44905 bytes .../V17/Services/AdGroupAssetService.php | Bin 17129 -> 17129 bytes .../V17/Services/AdGroupAssetSetService.php | Bin 4637 -> 4637 bytes .../Services/AdGroupBidModifierService.php | Bin 30295 -> 30295 bytes .../AdGroupCriterionCustomizerService.php | Bin 6213 -> 6213 bytes .../Services/AdGroupCriterionLabelService.php | Bin 3549 -> 3549 bytes .../V17/Services/AdGroupCriterionService.php | Bin 46000 -> 46000 bytes .../V17/Services/AdGroupCustomizerService.php | Bin 5904 -> 5904 bytes .../AdGroupExtensionSettingService.php | Bin 5876 -> 5876 bytes .../V17/Services/AdGroupFeedService.php | Bin 8430 -> 8430 bytes .../V17/Services/AdGroupLabelService.php | Bin 3287 -> 3287 bytes .../GoogleAds/V17/Services/AdGroupService.php | Bin 14107 -> 14213 bytes .../V17/Services/AdParameterService.php | Bin 4251 -> 4251 bytes .../Ads/GoogleAds/V17/Services/AdService.php | Bin 38520 -> 38520 bytes .../V17/Services/AssetGroupAssetService.php | Bin 18063 -> 18063 bytes .../AssetGroupListingGroupFilterService.php | Bin 11310 -> 11310 bytes .../V17/Services/AssetGroupService.php | Bin 6238 -> 6238 bytes .../V17/Services/AssetGroupSignalService.php | Bin 35420 -> 35420 bytes .../GoogleAds/V17/Services/AssetService.php | Bin 62801 -> 62801 bytes .../V17/Services/AssetSetAssetService.php | Bin 4576 -> 4576 bytes .../V17/Services/AssetSetService.php | Bin 9849 -> 9849 bytes .../V17/Services/AudienceInsightsService.php | Bin 36642 -> 38077 bytes .../V17/Services/AudienceService.php | Bin 9706 -> 9706 bytes .../V17/Services/BatchJobService.php | Bin 782059 -> 788022 bytes .../Services/BiddingDataExclusionService.php | Bin 7061 -> 7061 bytes .../BiddingSeasonalityAdjustmentService.php | Bin 7329 -> 7329 bytes .../V17/Services/BiddingStrategyService.php | Bin 9631 -> 11128 bytes .../V17/Services/BillingSetupService.php | Bin 4833 -> 4833 bytes .../V17/Services/BrandSuggestionService.php | Bin 2550 -> 2550 bytes .../V17/Services/CampaignAssetService.php | Bin 17174 -> 17174 bytes .../V17/Services/CampaignAssetSetService.php | Bin 4660 -> 4660 bytes .../Services/CampaignBidModifierService.php | Bin 29137 -> 29137 bytes .../V17/Services/CampaignBudgetService.php | Bin 7411 -> 7411 bytes .../CampaignConversionGoalService.php | Bin 4946 -> 4946 bytes .../V17/Services/CampaignCriterionService.php | Bin 33479 -> 33479 bytes .../Services/CampaignCustomizerService.php | Bin 5926 -> 5926 bytes .../V17/Services/CampaignDraftService.php | Bin 6200 -> 6200 bytes .../CampaignExtensionSettingService.php | Bin 5900 -> 5900 bytes .../V17/Services/CampaignFeedService.php | Bin 8457 -> 8457 bytes .../V17/Services/CampaignGroupService.php | Bin 4688 -> 4688 bytes .../V17/Services/CampaignLabelService.php | Bin 3306 -> 3306 bytes .../Services/CampaignLifecycleGoalService.php | Bin 4944 -> 4944 bytes .../V17/Services/CampaignService.php | Bin 39953 -> 42004 bytes .../V17/Services/CampaignSharedSetService.php | Bin 4759 -> 4759 bytes .../V17/Services/ConversionActionService.php | Bin 14566 -> 14566 bytes .../ConversionAdjustmentUploadService.php | Bin 9309 -> 9309 bytes .../ConversionCustomVariableService.php | Bin 5122 -> 5122 bytes .../ConversionGoalCampaignConfigService.php | Bin 4844 -> 4844 bytes .../V17/Services/ConversionUploadService.php | Bin 11127 -> 11127 bytes .../Services/ConversionValueRuleService.php | Bin 7899 -> 7899 bytes .../ConversionValueRuleSetService.php | Bin 7602 -> 7602 bytes .../V17/Services/CustomAudienceService.php | Bin 5325 -> 5325 bytes .../Services/CustomConversionGoalService.php | Bin 4787 -> 4787 bytes .../V17/Services/CustomInterestService.php | Bin 5208 -> 5208 bytes .../V17/Services/CustomerAssetService.php | Bin 17072 -> 17072 bytes .../V17/Services/CustomerAssetSetService.php | Bin 4646 -> 4646 bytes .../Services/CustomerClientLinkService.php | Bin 4023 -> 4023 bytes .../CustomerConversionGoalService.php | Bin 4869 -> 4869 bytes .../Services/CustomerCustomizerService.php | Bin 5849 -> 5849 bytes .../CustomerExtensionSettingService.php | Bin 5805 -> 5805 bytes .../V17/Services/CustomerFeedService.php | Bin 8364 -> 8364 bytes .../V17/Services/CustomerLabelService.php | Bin 3292 -> 3292 bytes .../Services/CustomerLifecycleGoalService.php | Bin 3940 -> 3940 bytes .../Services/CustomerManagerLinkService.php | Bin 4470 -> 4470 bytes .../CustomerNegativeCriterionService.php | Bin 30755 -> 30755 bytes .../V17/Services/CustomerService.php | Bin 11933 -> 11933 bytes ...kAdNetworkConversionValueSchemaService.php | Bin 7150 -> 7150 bytes .../CustomerUserAccessInvitationService.php | Bin 4584 -> 4584 bytes .../Services/CustomerUserAccessService.php | Bin 3960 -> 3960 bytes .../Services/CustomizerAttributeService.php | Bin 5496 -> 5496 bytes .../V17/Services/ExperimentArmService.php | Bin 4331 -> 4331 bytes .../V17/Services/ExperimentService.php | Bin 10315 -> 10315 bytes .../V17/Services/ExtensionFeedItemService.php | Bin 42598 -> 42598 bytes .../V17/Services/FeedItemService.php | Bin 22440 -> 22440 bytes .../V17/Services/FeedItemSetLinkService.php | Bin 3363 -> 3363 bytes .../V17/Services/FeedItemSetService.php | Bin 5505 -> 5505 bytes .../V17/Services/FeedItemTargetService.php | Bin 30951 -> 30951 bytes .../V17/Services/FeedMappingService.php | Bin 25643 -> 25643 bytes .../GoogleAds/V17/Services/FeedService.php | Bin 7722 -> 7722 bytes .../V17/Services/GeoTargetConstantService.php | Bin 4130 -> 4130 bytes .../V17/Services/GoogleAdsFieldService.php | Bin 4679 -> 4679 bytes .../V17/Services/GoogleAdsService.php | Bin 778852 -> 784815 bytes .../Services/IdentityVerificationService.php | Bin 4364 -> 4364 bytes .../GoogleAds/V17/Services/InvoiceService.php | Bin 9260 -> 9260 bytes .../KeywordPlanAdGroupKeywordService.php | Bin 4527 -> 4527 bytes .../Services/KeywordPlanAdGroupService.php | Bin 3720 -> 3720 bytes .../KeywordPlanCampaignKeywordService.php | Bin 4501 -> 4501 bytes .../Services/KeywordPlanCampaignService.php | Bin 4620 -> 4620 bytes .../V17/Services/KeywordPlanIdeaService.php | Bin 39028 -> 39028 bytes .../V17/Services/KeywordPlanService.php | Bin 5508 -> 5508 bytes .../Services/KeywordThemeConstantService.php | Bin 2790 -> 2790 bytes .../GoogleAds/V17/Services/LabelService.php | Bin 4990 -> 4990 bytes .../V17/Services/LocalServicesLeadService.php | Bin 2479 -> 2479 bytes .../Services/OfflineUserDataJobService.php | Bin 13436 -> 13436 bytes .../V17/Services/PaymentsAccountService.php | Bin 2948 -> 2948 bytes .../Services/ProductLinkInvitationService.php | Bin 6167 -> 6167 bytes .../V17/Services/ProductLinkService.php | Bin 4543 -> 4543 bytes .../V17/Services/ReachPlanService.php | Bin 37822 -> 37822 bytes .../V17/Services/RecommendationService.php | Bin 128920 -> 128951 bytes .../RecommendationSubscriptionService.php | Bin 7474 -> 7474 bytes .../V17/Services/RemarketingActionService.php | Bin 5218 -> 5218 bytes .../V17/Services/ShareablePreviewService.php | Bin 0 -> 2693 bytes .../V17/Services/SharedCriterionService.php | Bin 30490 -> 30490 bytes .../V17/Services/SharedSetService.php | Bin 5327 -> 5327 bytes .../Services/SmartCampaignSettingService.php | Bin 7574 -> 7574 bytes .../Services/SmartCampaignSuggestService.php | Bin 57480 -> 57480 bytes .../ThirdPartyAppAnalyticsLinkService.php | 6 +- .../Services/TravelAssetSuggestionService.php | Bin 4924 -> 4924 bytes .../V17/Services/UserDataService.php | Bin 7384 -> 7384 bytes .../Services/UserListCustomerTypeService.php | Bin 4243 -> 4439 bytes .../V17/Services/UserListService.php | Bin 18057 -> 18057 bytes src/Google/Ads/GoogleAds/Constants.php | 2 +- .../GoogleAds/Lib/V15/GoogleAdsCallLogger.php | 205 - .../Ads/GoogleAds/Lib/V15/GoogleAdsClient.php | 65 - .../Lib/V15/GoogleAdsClientBuilder.php | 690 -- .../GoogleAds/Lib/V15/GoogleAdsException.php | 75 - .../Lib/V15/GoogleAdsExceptionTrait.php | 77 - .../Lib/V15/GoogleAdsFailuresInterceptor.php | 51 - .../Lib/V15/GoogleAdsFailuresUnaryCall.php | 61 - .../Lib/V15/GoogleAdsGapicClientTrait.php | 126 - .../Lib/V15/GoogleAdsLoggingInterceptor.php | 101 - .../GoogleAdsLoggingServerStreamingCall.php | 82 - .../Lib/V15/GoogleAdsLoggingUnaryCall.php | 58 - .../Lib/V15/GoogleAdsMetadataTrait.php | 53 - .../Lib/V15/GoogleAdsOperationClient.php | 29 - .../Lib/V15/GoogleAdsResponseMetadata.php | 64 - .../V15/GoogleAdsServerStreamDecorator.php | 79 - .../Ads/GoogleAds/Lib/V15/InfoRedactor.php | 406 - .../GoogleAds/Lib/V15/LogMessageFormatter.php | 173 - .../Ads/GoogleAds/Lib/V15/LoggerFactory.php | 52 - ...rStreamingGoogleAdsExceptionMiddleware.php | 103 - ...amingGoogleAdsResponseMetadataCallable.php | 84 - .../Lib/V15/ServiceClientFactoryTrait.php | 1670 --- .../Lib/V15/StatusMetadataExtractor.php | 75 - .../V15/UnaryGoogleAdsExceptionMiddleware.php | 76 - ...UnaryGoogleAdsResponseMetadataCallable.php | 52 - .../Lib/V17/ServiceClientFactoryTrait.php | 9 + .../GoogleAds/Util/V15/GoogleAdsErrors.php | 126 - .../GoogleAds/Util/V15/GoogleAdsFailures.php | 95 - .../GoogleAds/Util/V15/PartialFailures.php | 35 - .../Ads/GoogleAds/Util/V15/ResourceNames.php | 2132 ---- .../V15/Common/ActivityCountryInfo.php | 81 - .../GoogleAds/V15/Common/ActivityIdInfo.php | 77 - .../V15/Common/ActivityRatingInfo.php | 77 - .../V15/Common/AdAssetPolicySummary.php | 139 - .../V15/Common/AdCallToActionAsset.php | 77 - .../Common/AdDiscoveryCarouselCardAsset.php | 77 - .../Ads/GoogleAds/V15/Common/AdImageAsset.php | 77 - .../V15/Common/AdMediaBundleAsset.php | 77 - .../GoogleAds/V15/Common/AdScheduleInfo.php | 278 - .../Ads/GoogleAds/V15/Common/AdTextAsset.php | 201 - .../Ads/GoogleAds/V15/Common/AdVideoAsset.php | 77 - .../Ads/GoogleAds/V15/Common/AddressInfo.php | 349 - .../V15/Common/AffiliateLocationFeedItem.php | 473 - .../Ads/GoogleAds/V15/Common/AgeDimension.php | 111 - .../Ads/GoogleAds/V15/Common/AgeRangeInfo.php | 67 - .../Ads/GoogleAds/V15/Common/AgeSegment.php | 133 - .../Ads/GoogleAds/V15/Common/AppAdInfo.php | 255 - .../V15/Common/AppEngagementAdInfo.php | 180 - .../Ads/GoogleAds/V15/Common/AppFeedItem.php | 373 - .../V15/Common/AppPaymentModelInfo.php | 67 - .../V15/Common/AppPreRegistrationAdInfo.php | 181 - .../GoogleAds/V15/Common/AssetDisapproved.php | 67 - .../V15/Common/AssetInteractionTarget.php | 109 - .../Common/AssetLinkPrimaryStatusDetails.php | 169 - .../Ads/GoogleAds/V15/Common/AssetUsage.php | 101 - .../V15/Common/AudienceDimension.php | 210 - .../V15/Common/AudienceExclusionDimension.php | 67 - .../Ads/GoogleAds/V15/Common/AudienceInfo.php | 67 - .../GoogleAds/V15/Common/AudienceSegment.php | 207 - .../V15/Common/AudienceSegmentDimension.php | 71 - .../V15/Common/BasicUserListInfo.php | 67 - .../V15/Common/BookOnGoogleAsset.php | 35 - .../Ads/GoogleAds/V15/Common/BrandInfo.php | 78 - .../GoogleAds/V15/Common/BrandListInfo.php | 79 - .../BudgetCampaignAssociationStatus.php | 111 - .../V15/Common/BudgetSimulationPoint.php | 355 - .../V15/Common/BudgetSimulationPointList.php | 67 - .../V15/Common/BusinessNameFilter.php | 101 - .../BusinessProfileBusinessNameFilter.php | 101 - .../V15/Common/BusinessProfileLocation.php | 148 - .../Common/BusinessProfileLocationGroup.php | 79 - .../V15/Common/BusinessProfileLocationSet.php | 295 - .../Ads/GoogleAds/V15/Common/CallAdInfo.php | 541 - .../Ads/GoogleAds/V15/Common/CallAsset.php | 235 - .../Ads/GoogleAds/V15/Common/CallFeedItem.php | 319 - .../V15/Common/CallToActionAsset.php | 67 - .../Ads/GoogleAds/V15/Common/CalloutAsset.php | 189 - .../GoogleAds/V15/Common/CalloutFeedItem.php | 81 - .../Ads/GoogleAds/V15/Common/CarrierInfo.php | 77 - .../Ads/GoogleAds/V15/Common/ChainFilter.php | 118 - .../V15/Common/ChainLocationGroup.php | 77 - .../Ads/GoogleAds/V15/Common/ChainSet.php | 105 - .../GoogleAds/V15/Common/ClickLocation.php | 253 - .../V15/Common/CombinedAudienceInfo.php | 67 - .../Ads/GoogleAds/V15/Common/Commission.php | 90 - .../Ads/GoogleAds/V15/Common/ConceptGroup.php | 101 - .../Ads/GoogleAds/V15/Common/Consent.php | 105 - .../GoogleAds/V15/Common/ContentLabelInfo.php | 67 - .../V15/Common/CpcBidSimulationPoint.php | 420 - .../V15/Common/CpcBidSimulationPointList.php | 67 - .../V15/Common/CpvBidSimulationPoint.php | 209 - .../V15/Common/CpvBidSimulationPointList.php | 67 - .../Common/CriterionCategoryAvailability.php | 111 - .../CriterionCategoryChannelAvailability.php | 212 - .../CriterionCategoryLocaleAvailability.php | 167 - .../V15/Common/CrmBasedUserListInfo.php | 193 - .../V15/Common/CustomAffinityInfo.php | 78 - .../V15/Common/CustomAudienceInfo.php | 67 - .../V15/Common/CustomAudienceSegment.php | 77 - .../GoogleAds/V15/Common/CustomIntentInfo.php | 78 - .../GoogleAds/V15/Common/CustomParameter.php | 122 - .../Common/CustomerMatchUserListMetadata.php | 125 - .../GoogleAds/V15/Common/CustomizerValue.php | 114 - .../Ads/GoogleAds/V15/Common/DateRange.php | 121 - .../V15/Common/DetailedDemographicSegment.php | 77 - .../Ads/GoogleAds/V15/Common/DeviceInfo.php | 67 - .../V15/Common/DiscoveryCarouselAdInfo.php | 271 - .../V15/Common/DiscoveryCarouselCardAsset.php | 211 - .../V15/Common/DiscoveryMultiAssetAdInfo.php | 425 - .../Common/DiscoveryVideoResponsiveAdInfo.php | 357 - .../V15/Common/DisplayUploadAdInfo.php | 129 - .../DynamicAffiliateLocationSetFilter.php | 73 - ...amicBusinessProfileLocationGroupFilter.php | 154 - .../V15/Common/DynamicCustomAsset.php | 671 -- .../V15/Common/DynamicEducationAsset.php | 553 - .../V15/Common/DynamicFlightsAsset.php | 603 -- .../Common/DynamicHotelsAndRentalsAsset.php | 659 -- .../GoogleAds/V15/Common/DynamicJobsAsset.php | 545 - .../V15/Common/DynamicLocalAsset.php | 633 -- .../V15/Common/DynamicLocationSetFilter.php | 116 - .../V15/Common/DynamicRealEstateAsset.php | 587 -- .../V15/Common/DynamicTravelAsset.php | 667 -- .../Ads/GoogleAds/V15/Common/EnhancedCpc.php | 37 - .../GoogleAds/V15/Common/EventAttribute.php | 152 - .../V15/Common/EventItemAttribute.php | 71 - .../GoogleAds/V15/Common/ExclusionSegment.php | 75 - .../Common/ExpandedDynamicSearchAdInfo.php | 121 - .../V15/Common/ExpandedTextAdInfo.php | 341 - .../Ads/GoogleAds/V15/Common/FinalAppUrl.php | 135 - .../V15/Common/FlexibleRuleOperandInfo.php | 125 - .../V15/Common/FlexibleRuleUserListInfo.php | 157 - .../V15/Common/FrequencyCapEntry.php | 126 - .../GoogleAds/V15/Common/FrequencyCapKey.php | 184 - .../GoogleAds/V15/Common/GenderDimension.php | 111 - .../Ads/GoogleAds/V15/Common/GenderInfo.php | 67 - .../Ads/GoogleAds/V15/Common/GeoPointInfo.php | 121 - .../V15/Common/HistoricalMetricsOptions.php | 131 - .../Ads/GoogleAds/V15/Common/HotelAdInfo.php | 33 - .../Common/HotelAdvanceBookingWindowInfo.php | 121 - .../V15/Common/HotelCalloutAsset.php | 109 - .../V15/Common/HotelCalloutFeedItem.php | 129 - .../V15/Common/HotelCheckInDateRangeInfo.php | 101 - .../V15/Common/HotelCheckInDayInfo.php | 67 - .../GoogleAds/V15/Common/HotelCityInfo.php | 77 - .../GoogleAds/V15/Common/HotelClassInfo.php | 77 - .../V15/Common/HotelCountryRegionInfo.php | 77 - .../V15/Common/HotelDateSelectionTypeInfo.php | 67 - .../Ads/GoogleAds/V15/Common/HotelIdInfo.php | 77 - .../V15/Common/HotelLengthOfStayInfo.php | 121 - .../V15/Common/HotelPropertyAsset.php | 143 - .../GoogleAds/V15/Common/HotelStateInfo.php | 77 - .../V15/Common/HouseholdIncomeDimension.php | 111 - .../Ads/GoogleAds/V15/Common/ImageAdInfo.php | 487 - .../Ads/GoogleAds/V15/Common/ImageAsset.php | 199 - .../GoogleAds/V15/Common/ImageDimension.php | 165 - .../GoogleAds/V15/Common/ImageFeedItem.php | 67 - .../V15/Common/InFeedVideoAdInfo.php | 169 - .../GoogleAds/V15/Common/IncomeRangeInfo.php | 67 - .../V15/Common/InteractionTypeInfo.php | 67 - .../Ads/GoogleAds/V15/Common/IpBlockInfo.php | 81 - .../GoogleAds/V15/Common/ItemAttribute.php | 233 - .../Ads/GoogleAds/V15/Common/Keyword.php | 121 - .../V15/Common/KeywordAnnotations.php | 67 - .../GoogleAds/V15/Common/KeywordConcept.php | 111 - .../Ads/GoogleAds/V15/Common/KeywordInfo.php | 111 - .../KeywordPlanAggregateMetricResults.php | 83 - .../Common/KeywordPlanAggregateMetrics.php | 67 - .../V15/Common/KeywordPlanDeviceSearches.php | 111 - .../Common/KeywordPlanHistoricalMetrics.php | 344 - .../GoogleAds/V15/Common/KeywordThemeInfo.php | 114 - .../Ads/GoogleAds/V15/Common/LanguageInfo.php | 77 - .../GoogleAds/V15/Common/LeadFormAsset.php | 635 -- .../Common/LeadFormCustomQuestionField.php | 164 - .../V15/Common/LeadFormDeliveryMethod.php | 75 - .../GoogleAds/V15/Common/LeadFormField.php | 167 - .../Common/LeadFormSingleChoiceAnswers.php | 72 - .../V15/Common/LegacyAppInstallAdInfo.php | 243 - .../Common/LegacyResponsiveDisplayAdInfo.php | 720 -- .../GoogleAds/V15/Common/LifeEventSegment.php | 77 - .../V15/Common/LifecycleGoalValueSettings.php | 149 - .../V15/Common/ListingDimensionInfo.php | 747 -- .../V15/Common/ListingDimensionPath.php | 71 - .../GoogleAds/V15/Common/ListingGroupInfo.php | 207 - .../GoogleAds/V15/Common/ListingScopeInfo.php | 67 - .../Ads/GoogleAds/V15/Common/LocalAdInfo.php | 373 - .../V15/Common/LocalServiceIdInfo.php | 68 - .../Common/LocalServicesDocumentReadOnly.php | 77 - .../GoogleAds/V15/Common/LocationAsset.php | 171 - .../GoogleAds/V15/Common/LocationFeedItem.php | 385 - .../V15/Common/LocationGroupInfo.php | 373 - .../Ads/GoogleAds/V15/Common/LocationInfo.php | 77 - .../Ads/GoogleAds/V15/Common/LocationSet.php | 187 - .../V15/Common/LogicalUserListInfo.php | 79 - .../V15/Common/LogicalUserListOperandInfo.php | 77 - .../V15/Common/LookalikeUserListInfo.php | 140 - .../Ads/GoogleAds/V15/Common/ManualCpa.php | 34 - .../Ads/GoogleAds/V15/Common/ManualCpc.php | 77 - .../Ads/GoogleAds/V15/Common/ManualCpm.php | 33 - .../Ads/GoogleAds/V15/Common/ManualCpv.php | 33 - .../GoogleAds/V15/Common/MapsLocationInfo.php | 67 - .../GoogleAds/V15/Common/MapsLocationSet.php | 67 - .../GoogleAds/V15/Common/MatchingFunction.php | 233 - .../V15/Common/MaximizeConversionValue.php | 168 - .../V15/Common/MaximizeConversions.php | 172 - .../GoogleAds/V15/Common/MediaBundleAsset.php | 89 - .../Ads/GoogleAds/V15/Common/MetricGoal.php | 109 - .../Ads/GoogleAds/V15/Common/Metrics.php | 9387 ----------------- .../GoogleAds/V15/Common/MobileAppAsset.php | 223 - .../V15/Common/MobileAppCategoryInfo.php | 77 - .../V15/Common/MobileApplicationInfo.php | 177 - .../GoogleAds/V15/Common/MobileDeviceInfo.php | 77 - src/Google/Ads/GoogleAds/V15/Common/Money.php | 121 - .../V15/Common/MonthlySearchVolume.php | 163 - .../V15/Common/NegativeKeywordListInfo.php | 79 - .../V15/Common/OfflineUserAddressInfo.php | 369 - .../Ads/GoogleAds/V15/Common/Operand.php | 177 - .../V15/Common/Operand/ConstantOperand.php | 177 - .../Common/Operand/FeedAttributeOperand.php | 125 - .../V15/Common/Operand/FunctionOperand.php | 81 - .../Common/Operand/RequestContextOperand.php | 70 - .../V15/Common/OperatingSystemVersionInfo.php | 77 - .../GoogleAds/V15/Common/PageFeedAsset.php | 101 - .../V15/Common/ParentalStatusDimension.php | 111 - .../V15/Common/ParentalStatusInfo.php | 67 - .../Ads/GoogleAds/V15/Common/PercentCpc.php | 146 - .../Common/PercentCpcBidSimulationPoint.php | 350 - .../PercentCpcBidSimulationPointList.php | 67 - .../GoogleAds/V15/Common/PlacementInfo.php | 82 - .../GoogleAds/V15/Common/PolicySummary.php | 139 - .../V15/Common/PolicyTopicConstraint.php | 177 - .../CountryConstraint.php | 85 - .../CountryConstraintList.php | 114 - .../ResellerConstraint.php | 37 - .../GoogleAds/V15/Common/PolicyTopicEntry.php | 205 - .../V15/Common/PolicyTopicEvidence.php | 249 - .../DestinationMismatch.php | 70 - .../DestinationNotWorking.php | 242 - .../DestinationTextList.php | 71 - .../Common/PolicyTopicEvidence/TextList.php | 70 - .../PolicyTopicEvidence/WebsiteList.php | 73 - .../V15/Common/PolicyValidationParameter.php | 153 - .../V15/Common/PolicyViolationKey.php | 138 - .../Ads/GoogleAds/V15/Common/PriceAsset.php | 177 - .../GoogleAds/V15/Common/PriceFeedItem.php | 267 - .../Ads/GoogleAds/V15/Common/PriceOffer.php | 267 - .../GoogleAds/V15/Common/PriceOffering.php | 255 - .../GoogleAds/V15/Common/ProductBrandInfo.php | 77 - .../V15/Common/ProductCategoryInfo.php | 119 - .../Common/ProductChannelExclusivityInfo.php | 67 - .../V15/Common/ProductChannelInfo.php | 67 - .../V15/Common/ProductConditionInfo.php | 67 - .../V15/Common/ProductCustomAttributeInfo.php | 111 - .../V15/Common/ProductGroupingInfo.php | 78 - .../V15/Common/ProductItemIdInfo.php | 77 - .../V15/Common/ProductLabelsInfo.php | 78 - .../V15/Common/ProductLegacyConditionInfo.php | 78 - .../V15/Common/ProductTypeFullInfo.php | 78 - .../GoogleAds/V15/Common/ProductTypeInfo.php | 111 - .../GoogleAds/V15/Common/PromotionAsset.php | 534 - .../V15/Common/PromotionFeedItem.php | 657 -- .../GoogleAds/V15/Common/ProximityInfo.php | 205 - .../V15/Common/RealTimeBiddingSetting.php | 78 - .../Common/ResponsiveDisplayAdControlSpec.php | 101 - .../V15/Common/ResponsiveDisplayAdInfo.php | 785 -- .../V15/Common/ResponsiveSearchAdInfo.php | 209 - .../V15/Common/RuleBasedUserListInfo.php | 163 - .../GoogleAds/V15/Common/SearchThemeInfo.php | 76 - .../V15/Common/SearchVolumeRange.php | 122 - .../Ads/GoogleAds/V15/Common/Segments.php | 4433 -------- .../ShoppingComparisonListingAdInfo.php | 81 - .../GoogleAds/V15/Common/ShoppingLoyalty.php | 87 - .../V15/Common/ShoppingProductAdInfo.php | 33 - .../V15/Common/ShoppingSmartAdInfo.php | 33 - .../V15/Common/SimilarUserListInfo.php | 78 - .../GoogleAds/V15/Common/SitelinkAsset.php | 273 - .../GoogleAds/V15/Common/SitelinkFeedItem.php | 383 - .../V15/Common/SkAdNetworkSourceApp.php | 81 - .../V15/Common/SmartCampaignAdInfo.php | 109 - .../GoogleAds/V15/Common/StoreAttribute.php | 81 - .../V15/Common/StoreSalesMetadata.php | 245 - .../Common/StoreSalesThirdPartyMetadata.php | 344 - .../V15/Common/StructuredSnippetAsset.php | 117 - .../V15/Common/StructuredSnippetFeedItem.php | 119 - .../Ads/GoogleAds/V15/Common/TagSnippet.php | 201 - .../Ads/GoogleAds/V15/Common/TargetCpa.php | 190 - .../V15/Common/TargetCpaSimulationPoint.php | 536 - .../Common/TargetCpaSimulationPointList.php | 67 - .../Ads/GoogleAds/V15/Common/TargetCpm.php | 76 - .../V15/Common/TargetImpressionShare.php | 169 - .../TargetImpressionShareSimulationPoint.php | 401 - ...rgetImpressionShareSimulationPointList.php | 68 - .../V15/Common/TargetRestriction.php | 135 - .../V15/Common/TargetRestrictionOperation.php | 111 - .../TargetRestrictionOperation/Operator.php | 71 - .../Ads/GoogleAds/V15/Common/TargetRoas.php | 186 - .../V15/Common/TargetRoasSimulationPoint.php | 383 - .../Common/TargetRoasSimulationPointList.php | 67 - .../Ads/GoogleAds/V15/Common/TargetSpend.php | 157 - .../GoogleAds/V15/Common/TargetingSetting.php | 115 - .../Ads/GoogleAds/V15/Common/TextAdInfo.php | 165 - .../Ads/GoogleAds/V15/Common/TextAsset.php | 77 - .../Ads/GoogleAds/V15/Common/TextLabel.php | 133 - .../V15/Common/TextMessageFeedItem.php | 266 - .../Ads/GoogleAds/V15/Common/TopicInfo.php | 125 - .../V15/Common/TransactionAttribute.php | 433 - .../Ads/GoogleAds/V15/Common/TravelAdInfo.php | 33 - .../Common/UnknownListingDimensionInfo.php | 33 - .../GoogleAds/V15/Common/UrlCollection.php | 189 - .../GoogleAds/V15/Common/UserAttribute.php | 468 - .../Ads/GoogleAds/V15/Common/UserData.php | 211 - .../GoogleAds/V15/Common/UserIdentifier.php | 266 - .../GoogleAds/V15/Common/UserInterestInfo.php | 77 - .../V15/Common/UserInterestSegment.php | 77 - .../V15/Common/UserListActionInfo.php | 108 - .../V15/Common/UserListDateRuleItemInfo.php | 179 - .../Ads/GoogleAds/V15/Common/UserListInfo.php | 78 - .../V15/Common/UserListLogicalRuleInfo.php | 102 - .../V15/Common/UserListNumberRuleItemInfo.php | 127 - .../GoogleAds/V15/Common/UserListRuleInfo.php | 122 - .../V15/Common/UserListRuleItemGroupInfo.php | 67 - .../V15/Common/UserListRuleItemInfo.php | 213 - .../GoogleAds/V15/Common/UserListSegment.php | 80 - .../V15/Common/UserListStringRuleItemInfo.php | 131 - src/Google/Ads/GoogleAds/V15/Common/Value.php | 207 - .../Ads/GoogleAds/V15/Common/VideoAdInfo.php | 251 - .../V15/Common/VideoBumperInStreamAdInfo.php | 154 - .../VideoNonSkippableInStreamAdInfo.php | 154 - .../V15/Common/VideoOutstreamAdInfo.php | 102 - .../V15/Common/VideoResponsiveAdInfo.php | 333 - .../Common/VideoTrueViewInStreamAdInfo.php | 159 - .../GoogleAds/V15/Common/WebhookDelivery.php | 167 - .../V15/Common/WebpageConditionInfo.php | 145 - .../Ads/GoogleAds/V15/Common/WebpageInfo.php | 241 - .../V15/Common/WebpageSampleInfo.php | 67 - .../Ads/GoogleAds/V15/Common/YearMonth.php | 101 - .../GoogleAds/V15/Common/YearMonthRange.php | 122 - .../V15/Common/YouTubeChannelInfo.php | 77 - .../GoogleAds/V15/Common/YouTubeVideoInfo.php | 77 - .../V15/Common/YoutubeVideoAsset.php | 115 - .../V15/Enums/AccessInvitationStatusEnum.php | 33 - .../AccessInvitationStatus.php | 80 - .../GoogleAds/V15/Enums/AccessReasonEnum.php | 33 - .../Enums/AccessReasonEnum/AccessReason.php | 92 - .../GoogleAds/V15/Enums/AccessRoleEnum.php | 33 - .../V15/Enums/AccessRoleEnum/AccessRole.php | 86 - .../Enums/AccountBudgetProposalStatusEnum.php | 33 - .../AccountBudgetProposalStatus.php | 96 - .../Enums/AccountBudgetProposalTypeEnum.php | 33 - .../AccountBudgetProposalType.php | 85 - .../V15/Enums/AccountBudgetStatusEnum.php | 33 - .../AccountBudgetStatus.php | 78 - .../V15/Enums/AccountLinkStatusEnum.php | 33 - .../AccountLinkStatus.php | 102 - .../AdCustomizerPlaceholderFieldEnum.php | 33 - .../AdCustomizerPlaceholderField.php | 85 - .../V15/Enums/AdDestinationTypeEnum.php | 33 - .../AdDestinationType.php | 134 - .../V15/Enums/AdGroupAdRotationModeEnum.php | 34 - .../AdGroupAdRotationMode.php | 72 - .../V15/Enums/AdGroupAdStatusEnum.php | 33 - .../AdGroupAdStatusEnum/AdGroupAdStatus.php | 79 - .../AdGroupCriterionApprovalStatusEnum.php | 33 - .../AdGroupCriterionApprovalStatus.php | 85 - .../V15/Enums/AdGroupCriterionStatusEnum.php | 33 - .../AdGroupCriterionStatus.php | 79 - .../GoogleAds/V15/Enums/AdGroupStatusEnum.php | 33 - .../Enums/AdGroupStatusEnum/AdGroupStatus.php | 79 - .../GoogleAds/V15/Enums/AdGroupTypeEnum.php | 35 - .../V15/Enums/AdGroupTypeEnum/AdGroupType.php | 177 - .../GoogleAds/V15/Enums/AdNetworkTypeEnum.php | 33 - .../Enums/AdNetworkTypeEnum/AdNetworkType.php | 99 - .../Enums/AdServingOptimizationStatusEnum.php | 33 - .../AdServingOptimizationStatus.php | 96 - .../GoogleAds/V15/Enums/AdStrengthEnum.php | 33 - .../V15/Enums/AdStrengthEnum/AdStrength.php | 99 - .../Ads/GoogleAds/V15/Enums/AdTypeEnum.php | 33 - .../GoogleAds/V15/Enums/AdTypeEnum/AdType.php | 276 - .../Enums/AdvertisingChannelSubTypeEnum.php | 33 - .../AdvertisingChannelSubType.php | 198 - .../V15/Enums/AdvertisingChannelTypeEnum.php | 33 - .../AdvertisingChannelType.php | 143 - ...iliateLocationFeedRelationshipTypeEnum.php | 34 - .../AffiliateLocationFeedRelationshipType.php | 64 - .../AffiliateLocationPlaceholderFieldEnum.php | 33 - .../AffiliateLocationPlaceholderField.php | 134 - .../GoogleAds/V15/Enums/AgeRangeTypeEnum.php | 33 - .../Enums/AgeRangeTypeEnum/AgeRangeType.php | 107 - .../AndroidPrivacyInteractionTypeEnum.php | 33 - .../AndroidPrivacyInteractionType.php | 78 - .../Enums/AndroidPrivacyNetworkTypeEnum.php | 33 - .../AndroidPrivacyNetworkType.php | 78 - .../V15/Enums/AppBiddingGoalEnum.php | 34 - .../AppBiddingGoalEnum/AppBiddingGoal.php | 117 - .../V15/Enums/AppCampaignAppStoreEnum.php | 33 - .../AppCampaignAppStore.php | 71 - ...AppCampaignBiddingStrategyGoalTypeEnum.php | 34 - .../AppCampaignBiddingStrategyGoalType.php | 106 - .../V15/Enums/AppPaymentModelTypeEnum.php | 33 - .../AppPaymentModelType.php | 64 - .../V15/Enums/AppPlaceholderFieldEnum.php | 33 - .../AppPlaceholderField.php | 120 - .../Ads/GoogleAds/V15/Enums/AppStoreEnum.php | 33 - .../V15/Enums/AppStoreEnum/AppStore.php | 71 - .../Enums/AppUrlOperatingSystemTypeEnum.php | 33 - .../AppUrlOperatingSystemType.php | 71 - .../V15/Enums/AssetAutomationStatusEnum.php | 33 - .../AssetAutomationStatus.php | 73 - .../V15/Enums/AssetAutomationTypeEnum.php | 33 - .../AssetAutomationType.php | 66 - .../V15/Enums/AssetFieldTypeEnum.php | 33 - .../AssetFieldTypeEnum/AssetFieldType.php | 248 - .../V15/Enums/AssetGroupPrimaryStatusEnum.php | 33 - .../AssetGroupPrimaryStatus.php | 100 - .../AssetGroupPrimaryStatusReasonEnum.php | 33 - .../AssetGroupPrimaryStatusReason.php | 123 - .../AssetGroupSignalApprovalStatusEnum.php | 34 - .../AssetGroupSignalApprovalStatus.php | 89 - .../V15/Enums/AssetGroupStatusEnum.php | 33 - .../AssetGroupStatusEnum/AssetGroupStatus.php | 78 - .../V15/Enums/AssetLinkPrimaryStatusEnum.php | 34 - .../AssetLinkPrimaryStatus.php | 104 - .../AssetLinkPrimaryStatusReasonEnum.php | 34 - .../AssetLinkPrimaryStatusReason.php | 103 - .../V15/Enums/AssetLinkStatusEnum.php | 33 - .../AssetLinkStatusEnum/AssetLinkStatus.php | 78 - ...AssetOfflineEvaluationErrorReasonsEnum.php | 33 - .../AssetOfflineEvaluationErrorReasons.php | 108 - .../V15/Enums/AssetPerformanceLabelEnum.php | 33 - .../AssetPerformanceLabel.php | 95 - .../V15/Enums/AssetSetAssetStatusEnum.php | 33 - .../AssetSetAssetStatus.php | 72 - .../V15/Enums/AssetSetLinkStatusEnum.php | 34 - .../AssetSetLinkStatus.php | 72 - .../V15/Enums/AssetSetStatusEnum.php | 33 - .../AssetSetStatusEnum/AssetSetStatus.php | 72 - .../GoogleAds/V15/Enums/AssetSetTypeEnum.php | 33 - .../Enums/AssetSetTypeEnum/AssetSetType.php | 165 - .../GoogleAds/V15/Enums/AssetSourceEnum.php | 34 - .../Ads/GoogleAds/V15/Enums/AssetTypeEnum.php | 33 - .../V15/Enums/AssetTypeEnum/AssetType.php | 246 - .../V15/Enums/AsyncActionStatusEnum.php | 33 - .../AsyncActionStatus.php | 92 - .../V15/Enums/AttributionModelEnum.php | 35 - .../AttributionModelEnum/AttributionModel.php | 113 - .../Enums/AudienceInsightsDimensionEnum.php | 33 - .../AudienceInsightsDimension.php | 141 - .../GoogleAds/V15/Enums/AudienceScopeEnum.php | 33 - .../Enums/AudienceScopeEnum/AudienceScope.php | 71 - .../V15/Enums/AudienceStatusEnum.php | 33 - .../AudienceStatusEnum/AudienceStatus.php | 72 - .../V15/Enums/BatchJobStatusEnum.php | 33 - .../BatchJobStatusEnum/BatchJobStatus.php | 78 - .../V15/Enums/BidModifierSourceEnum.php | 33 - .../BidModifierSource.php | 72 - .../GoogleAds/V15/Enums/BiddingSourceEnum.php | 33 - .../Enums/BiddingSourceEnum/BiddingSource.php | 80 - .../V15/Enums/BiddingStrategyStatusEnum.php | 33 - .../BiddingStrategyStatus.php | 72 - .../Enums/BiddingStrategySystemStatusEnum.php | 33 - .../BiddingStrategySystemStatus.php | 254 - .../V15/Enums/BiddingStrategyTypeEnum.php | 33 - .../BiddingStrategyType.php | 204 - .../V15/Enums/BillingSetupStatusEnum.php | 33 - .../BillingSetupStatus.php | 87 - .../V15/Enums/BrandSafetySuitabilityEnum.php | 33 - .../BrandSafetySuitability.php | 98 - .../GoogleAds/V15/Enums/BrandStateEnum.php | 33 - .../V15/Enums/BrandStateEnum/BrandState.php | 105 - .../BudgetCampaignAssociationStatusEnum.php | 34 - .../BudgetCampaignAssociationStatus.php | 71 - .../V15/Enums/BudgetDeliveryMethodEnum.php | 34 - .../BudgetDeliveryMethod.php | 73 - .../Enums/BudgetPeriodEnum/BudgetPeriod.php | 74 - .../Enums/BudgetStatusEnum/BudgetStatus.php | 71 - .../GoogleAds/V15/Enums/BudgetTypeEnum.php | 33 - .../V15/Enums/BudgetTypeEnum/BudgetType.php | 99 - .../CallConversionReportingStateEnum.php | 34 - .../CallConversionReportingState.php | 80 - .../V15/Enums/CallPlaceholderFieldEnum.php | 33 - .../CallPlaceholderField.php | 99 - .../V15/Enums/CallToActionTypeEnum.php | 33 - .../CallToActionTypeEnum/CallToActionType.php | 176 - .../Enums/CallTrackingDisplayLocationEnum.php | 33 - .../CallTrackingDisplayLocation.php | 71 - .../Ads/GoogleAds/V15/Enums/CallTypeEnum.php | 34 - .../V15/Enums/CallTypeEnum/CallType.php | 71 - .../V15/Enums/CalloutPlaceholderFieldEnum.php | 33 - .../CalloutPlaceholderField.php | 64 - .../V15/Enums/CampaignCriterionStatusEnum.php | 33 - .../CampaignCriterionStatus.php | 79 - .../V15/Enums/CampaignDraftStatusEnum.php | 33 - .../CampaignDraftStatus.php | 98 - .../V15/Enums/CampaignExperimentTypeEnum.php | 33 - .../CampaignExperimentType.php | 84 - .../V15/Enums/CampaignGroupStatusEnum.php | 33 - .../CampaignGroupStatus.php | 71 - .../V15/Enums/CampaignPrimaryStatusEnum.php | 33 - .../CampaignPrimaryStatus.php | 126 - .../Enums/CampaignPrimaryStatusReasonEnum.php | 33 - .../CampaignPrimaryStatusReason.php | 325 - .../V15/Enums/CampaignServingStatusEnum.php | 33 - .../CampaignServingStatus.php | 93 - .../V15/Enums/CampaignSharedSetStatusEnum.php | 33 - .../CampaignSharedSetStatus.php | 71 - .../V15/Enums/CampaignStatusEnum.php | 33 - .../CampaignStatusEnum/CampaignStatus.php | 78 - .../V15/Enums/ChainRelationshipTypeEnum.php | 33 - .../ChainRelationshipType.php | 71 - .../V15/Enums/ChangeClientTypeEnum.php | 34 - .../ChangeClientTypeEnum/ChangeClientType.php | 154 - .../V15/Enums/ChangeEventResourceTypeEnum.php | 34 - .../ChangeEventResourceType.php | 191 - .../V15/Enums/ChangeStatusOperationEnum.php | 33 - .../ChangeStatusOperation.php | 79 - .../Enums/ChangeStatusResourceTypeEnum.php | 34 - .../ChangeStatusResourceType.php | 177 - .../Ads/GoogleAds/V15/Enums/ClickTypeEnum.php | 33 - .../V15/Enums/ClickTypeEnum/ClickType.php | 435 - .../V15/Enums/CombinedAudienceStatusEnum.php | 33 - .../GoogleAds/V15/Enums/ConsentStatusEnum.php | 33 - .../Enums/ConsentStatusEnum/ConsentStatus.php | 71 - .../V15/Enums/ContentLabelTypeEnum.php | 33 - .../ContentLabelTypeEnum/ContentLabelType.php | 162 - .../Enums/ConversionActionCategoryEnum.php | 34 - .../ConversionActionCategory.php | 218 - .../ConversionActionCountingTypeEnum.php | 34 - .../ConversionActionCountingType.php | 72 - .../V15/Enums/ConversionActionStatusEnum.php | 33 - .../ConversionActionStatus.php | 79 - .../V15/Enums/ConversionActionTypeEnum.php | 33 - .../ConversionActionType.php | 366 - .../Enums/ConversionAdjustmentTypeEnum.php | 33 - .../ConversionAdjustmentType.php | 81 - .../ConversionAttributionEventTypeEnum.php | 33 - .../ConversionAttributionEventType.php | 71 - .../ConversionCustomVariableStatusEnum.php | 34 - .../ConversionCustomVariableStatus.php | 81 - .../V15/Enums/ConversionEnvironmentEnum.php | 34 - .../ConversionEnvironment.php | 71 - .../V15/Enums/ConversionLagBucketEnum.php | 34 - .../ConversionLagBucket.php | 207 - .../ConversionOrAdjustmentLagBucketEnum.php | 34 - .../ConversionOrAdjustmentLagBucket.php | 384 - .../V15/Enums/ConversionOriginEnum.php | 33 - .../ConversionOriginEnum/ConversionOrigin.php | 104 - .../Enums/ConversionTrackingStatusEnum.php | 34 - .../ConversionTrackingStatus.php | 88 - ...onversionValueRulePrimaryDimensionEnum.php | 33 - .../ConversionValueRulePrimaryDimension.php | 107 - .../ConversionValueRuleSetStatusEnum.php | 34 - .../ConversionValueRuleSetStatus.php | 79 - .../Enums/ConversionValueRuleStatusEnum.php | 33 - .../ConversionValueRuleStatus.php | 78 - ...serPriorEngagementTypeAndLtvBucketEnum.php | 34 - ...ingUserPriorEngagementTypeAndLtvBucket.php | 84 - ...ionCategoryChannelAvailabilityModeEnum.php | 36 - ...iterionCategoryChannelAvailabilityMode.php | 80 - ...rionCategoryLocaleAvailabilityModeEnum.php | 35 - ...riterionCategoryLocaleAvailabilityMode.php | 88 - .../CriterionSystemServingStatusEnum.php | 33 - .../CriterionSystemServingStatus.php | 71 - .../GoogleAds/V15/Enums/CriterionTypeEnum.php | 33 - .../Enums/CriterionTypeEnum/CriterionType.php | 330 - .../Enums/CustomAudienceMemberTypeEnum.php | 33 - .../CustomAudienceMemberType.php | 85 - .../V15/Enums/CustomAudienceStatusEnum.php | 33 - .../CustomAudienceStatus.php | 72 - .../V15/Enums/CustomAudienceTypeEnum.php | 33 - .../CustomAudienceType.php | 87 - .../Enums/CustomConversionGoalStatusEnum.php | 33 - .../CustomConversionGoalStatus.php | 71 - .../Enums/CustomInterestMemberTypeEnum.php | 33 - .../CustomInterestMemberType.php | 71 - .../V15/Enums/CustomInterestStatusEnum.php | 33 - .../CustomInterestStatus.php | 72 - .../V15/Enums/CustomInterestTypeEnum.php | 33 - .../CustomInterestType.php | 71 - .../V15/Enums/CustomPlaceholderFieldEnum.php | 35 - .../CustomPlaceholderField.php | 220 - ...ustomerAcquisitionOptimizationModeEnum.php | 34 - .../CustomerAcquisitionOptimizationMode.php | 80 - .../Enums/CustomerMatchUploadKeyTypeEnum.php | 33 - .../CustomerMatchUploadKeyType.php | 80 - ...ConversionEligibilityFailureReasonEnum.php | 34 - ...yPerConversionEligibilityFailureReason.php | 108 - .../V15/Enums/CustomerStatusEnum.php | 33 - .../CustomerStatusEnum/CustomerStatus.php | 89 - .../Enums/CustomizerAttributeStatusEnum.php | 33 - .../CustomizerAttributeStatus.php | 71 - .../V15/Enums/CustomizerAttributeTypeEnum.php | 33 - .../CustomizerAttributeType.php | 85 - .../V15/Enums/CustomizerValueStatusEnum.php | 33 - .../CustomizerValueStatus.php | 71 - .../V15/Enums/DataDrivenModelStatusEnum.php | 33 - .../DataDrivenModelStatus.php | 91 - .../Ads/GoogleAds/V15/Enums/DayOfWeekEnum.php | 33 - .../V15/Enums/DayOfWeekEnum/DayOfWeek.php | 106 - .../Ads/GoogleAds/V15/Enums/DeviceEnum.php | 33 - .../GoogleAds/V15/Enums/DeviceEnum/Device.php | 92 - .../V15/Enums/DisplayAdFormatSettingEnum.php | 33 - .../DisplayAdFormatSetting.php | 79 - .../Enums/DisplayUploadProductTypeEnum.php | 37 - .../DisplayUploadProductType.php | 146 - .../V15/Enums/DistanceBucketEnum.php | 34 - .../DistanceBucketEnum/DistanceBucket.php | 247 - .../Enums/DsaPageFeedCriterionFieldEnum.php | 33 - .../DsaPageFeedCriterionField.php | 72 - .../Enums/EducationPlaceholderFieldEnum.php | 35 - .../EducationPlaceholderField.php | 190 - .../Enums/ExperimentMetricDirectionEnum.php | 33 - .../ExperimentMetricDirection.php | 94 - .../V15/Enums/ExperimentMetricEnum.php | 33 - .../ExperimentMetricEnum/ExperimentMetric.php | 148 - .../V15/Enums/ExperimentStatusEnum.php | 33 - .../ExperimentStatusEnum/ExperimentStatus.php | 108 - .../V15/Enums/ExperimentTypeEnum.php | 33 - .../ExperimentTypeEnum/ExperimentType.php | 127 - .../V15/Enums/ExtensionSettingDeviceEnum.php | 33 - .../ExtensionSettingDevice.php | 73 - .../GoogleAds/V15/Enums/ExtensionTypeEnum.php | 34 - .../Enums/ExtensionTypeEnum/ExtensionType.php | 148 - .../Enums/ExternalConversionSourceEnum.php | 34 - .../ExternalConversionSource.php | 281 - .../V15/Enums/FeedAttributeTypeEnum.php | 33 - .../FeedAttributeType.php | 148 - .../FeedItemQualityApprovalStatusEnum.php | 34 - .../FeedItemQualityApprovalStatus.php | 72 - .../FeedItemQualityDisapprovalReasonEnum.php | 34 - .../FeedItemQualityDisapprovalReason.php | 183 - .../V15/Enums/FeedItemSetStatusEnum.php | 33 - .../FeedItemSetStatus.php | 71 - .../Enums/FeedItemSetStringFilterTypeEnum.php | 33 - .../FeedItemSetStringFilterType.php | 64 - .../V15/Enums/FeedItemStatusEnum.php | 33 - .../FeedItemStatusEnum/FeedItemStatus.php | 71 - .../V15/Enums/FeedItemTargetDeviceEnum.php | 34 - .../FeedItemTargetDevice.php | 64 - .../V15/Enums/FeedItemTargetStatusEnum.php | 33 - .../FeedItemTargetStatus.php | 71 - .../V15/Enums/FeedItemTargetTypeEnum.php | 33 - .../FeedItemTargetType.php | 78 - .../Enums/FeedItemValidationStatusEnum.php | 33 - .../FeedItemValidationStatus.php | 78 - .../V15/Enums/FeedLinkStatusEnum.php | 33 - .../FeedLinkStatusEnum/FeedLinkStatus.php | 71 - .../Enums/FeedMappingCriterionTypeEnum.php | 33 - .../FeedMappingCriterionType.php | 71 - .../V15/Enums/FeedMappingStatusEnum.php | 33 - .../FeedMappingStatus.php | 71 - .../GoogleAds/V15/Enums/FeedOriginEnum.php | 33 - .../V15/Enums/FeedOriginEnum/FeedOrigin.php | 74 - .../GoogleAds/V15/Enums/FeedStatusEnum.php | 33 - .../V15/Enums/FeedStatusEnum/FeedStatus.php | 71 - .../V15/Enums/FlightPlaceholderFieldEnum.php | 35 - .../FlightPlaceholderField.php | 197 - .../V15/Enums/FrequencyCapEventTypeEnum.php | 33 - .../FrequencyCapEventType.php | 71 - .../V15/Enums/FrequencyCapLevelEnum.php | 33 - .../FrequencyCapLevel.php | 79 - .../V15/Enums/FrequencyCapTimeUnitEnum.php | 33 - .../FrequencyCapTimeUnit.php | 78 - .../GoogleAds/V15/Enums/GenderTypeEnum.php | 33 - .../V15/Enums/GenderTypeEnum/GenderType.php | 78 - .../V15/Enums/GeoTargetConstantStatusEnum.php | 33 - .../GeoTargetConstantStatus.php | 72 - .../V15/Enums/GeoTargetingRestrictionEnum.php | 33 - .../GeoTargetingRestriction.php | 66 - .../V15/Enums/GeoTargetingTypeEnum.php | 33 - .../GeoTargetingTypeEnum/GeoTargetingType.php | 71 - .../V15/Enums/GoalConfigLevelEnum.php | 33 - .../GoalConfigLevelEnum/GoalConfigLevel.php | 73 - .../V15/Enums/GoogleAdsFieldCategoryEnum.php | 34 - .../GoogleAdsFieldCategory.php | 89 - .../V15/Enums/GoogleAdsFieldDataTypeEnum.php | 33 - .../GoogleAdsFieldDataType.php | 148 - .../V15/Enums/GoogleVoiceCallStatusEnum.php | 33 - .../GoogleVoiceCallStatus.php | 71 - .../Enums/HotelAssetSuggestionStatusEnum.php | 33 - .../HotelAssetSuggestionStatus.php | 78 - .../V15/Enums/HotelDateSelectionTypeEnum.php | 33 - .../HotelDateSelectionType.php | 71 - .../V15/Enums/HotelPlaceholderFieldEnum.php | 35 - .../HotelPlaceholderField.php | 215 - .../V15/Enums/HotelPriceBucketEnum.php | 33 - .../HotelPriceBucketEnum/HotelPriceBucket.php | 88 - .../GoogleAds/V15/Enums/HotelRateTypeEnum.php | 33 - .../Enums/HotelRateTypeEnum/HotelRateType.php | 91 - .../Enums/HotelReconciliationStatusEnum.php | 33 - .../HotelReconciliationStatus.php | 91 - .../V15/Enums/ImagePlaceholderFieldEnum.php | 33 - .../ImagePlaceholderField.php | 64 - .../V15/Enums/IncomeRangeTypeEnum.php | 33 - .../IncomeRangeTypeEnum/IncomeRangeType.php | 106 - .../V15/Enums/InteractionEventTypeEnum.php | 33 - .../InteractionEventType.php | 91 - .../V15/Enums/InteractionTypeEnum.php | 33 - .../InteractionTypeEnum/InteractionType.php | 64 - .../GoogleAds/V15/Enums/InvoiceTypeEnum.php | 33 - .../V15/Enums/InvoiceTypeEnum/InvoiceType.php | 71 - .../V15/Enums/JobPlaceholderFieldEnum.php | 35 - .../JobPlaceholderField.php | 194 - .../V15/Enums/KeywordMatchTypeEnum.php | 33 - .../KeywordMatchTypeEnum/KeywordMatchType.php | 78 - .../KeywordPlanAggregateMetricTypeEnum.php | 33 - .../KeywordPlanAggregateMetricType.php | 64 - .../Enums/KeywordPlanCompetitionLevelEnum.php | 37 - .../KeywordPlanCompetitionLevel.php | 78 - .../Enums/KeywordPlanConceptGroupTypeEnum.php | 33 - .../KeywordPlanConceptGroupType.php | 83 - .../Enums/KeywordPlanForecastIntervalEnum.php | 33 - .../KeywordPlanForecastInterval.php | 81 - .../KeywordPlanKeywordAnnotationEnum.php | 33 - .../KeywordPlanKeywordAnnotation.php | 64 - .../V15/Enums/KeywordPlanNetworkEnum.php | 33 - .../KeywordPlanNetwork.php | 71 - .../GoogleAds/V15/Enums/LabelStatusEnum.php | 33 - .../V15/Enums/LabelStatusEnum/LabelStatus.php | 71 - .../Enums/LeadFormCallToActionTypeEnum.php | 33 - .../LeadFormCallToActionType.php | 155 - .../V15/Enums/LeadFormDesiredIntentEnum.php | 33 - .../LeadFormDesiredIntent.php | 71 - .../Enums/LeadFormFieldUserInputTypeEnum.php | 33 - .../LeadFormFieldUserInputType.php | 1158 -- ...LeadFormPostSubmitCallToActionTypeEnum.php | 33 - .../LeadFormPostSubmitCallToActionType.php | 86 - .../Enums/LegacyAppInstallAdAppStoreEnum.php | 33 - .../LegacyAppInstallAdAppStore.php | 92 - .../V15/Enums/LinkedAccountTypeEnum.php | 33 - .../LinkedAccountType.php | 88 - .../V15/Enums/LinkedProductTypeEnum.php | 33 - .../LinkedProductType.php | 86 - ...ingGroupFilterCustomAttributeIndexEnum.php | 34 - ...ListingGroupFilterCustomAttributeIndex.php | 92 - .../ListingGroupFilterListingSourceEnum.php | 34 - .../ListingGroupFilterListingSource.php | 73 - ...ingGroupFilterProductCategoryLevelEnum.php | 34 - ...ListingGroupFilterProductCategoryLevel.php | 92 - .../ListingGroupFilterProductChannelEnum.php | 33 - .../ListingGroupFilterProductChannel.php | 71 - ...ListingGroupFilterProductConditionEnum.php | 33 - .../ListingGroupFilterProductCondition.php | 82 - ...ListingGroupFilterProductTypeLevelEnum.php | 33 - .../ListingGroupFilterProductTypeLevel.php | 92 - .../V15/Enums/ListingGroupFilterTypeEnum.php | 33 - .../ListingGroupFilterType.php | 78 - .../V15/Enums/ListingGroupTypeEnum.php | 33 - .../ListingGroupTypeEnum/ListingGroupType.php | 73 - .../GoogleAds/V15/Enums/ListingTypeEnum.php | 33 - .../V15/Enums/ListingTypeEnum/ListingType.php | 64 - .../V15/Enums/LocalPlaceholderFieldEnum.php | 35 - .../LocalPlaceholderField.php | 206 - ...alServicesInsuranceRejectionReasonEnum.php | 34 - .../LocalServicesInsuranceRejectionReason.php | 159 - .../LocalServicesLeadConversationTypeEnum.php | 33 - .../ConversationType.php | 92 - .../V15/Enums/LocalServicesLeadStatusEnum.php | 33 - .../LeadStatus.php | 117 - .../V15/Enums/LocalServicesLeadTypeEnum.php | 33 - .../LocalServicesLeadTypeEnum/LeadType.php | 78 - ...ocalServicesLicenseRejectionReasonEnum.php | 34 - .../LocalServicesLicenseRejectionReason.php | 107 - .../LocalServicesParticipantTypeEnum.php | 34 - .../ParticipantType.php | 71 - ...ServicesVerificationArtifactStatusEnum.php | 34 - ...ocalServicesVerificationArtifactStatus.php | 92 - .../LocalServicesVerificationArtifactType.php | 78 - .../LocalServicesVerificationStatusEnum.php | 34 - .../LocalServicesVerificationStatus.php | 107 - ...onExtensionTargetingCriterionFieldEnum.php | 33 - ...cationExtensionTargetingCriterionField.php | 99 - .../Enums/LocationGroupRadiusUnitsEnum.php | 33 - .../LocationGroupRadiusUnits.php | 78 - .../V15/Enums/LocationOwnershipTypeEnum.php | 33 - .../LocationOwnershipType.php | 71 - .../Enums/LocationPlaceholderFieldEnum.php | 33 - .../LocationPlaceholderField.php | 113 - .../V15/Enums/LocationSourceTypeEnum.php | 33 - .../LocationSourceType.php | 71 - .../Enums/LocationStringFilterTypeEnum.php | 33 - .../LocationStringFilterType.php | 64 - .../V15/Enums/LookalikeExpansionLevelEnum.php | 33 - .../LookalikeExpansionLevel.php | 80 - .../V15/Enums/ManagerLinkStatusEnum.php | 33 - .../ManagerLinkStatus.php | 94 - .../Enums/MatchingFunctionContextTypeEnum.php | 33 - .../MatchingFunctionContextType.php | 78 - .../Enums/MatchingFunctionOperatorEnum.php | 33 - .../MatchingFunctionOperator.php | 102 - .../Ads/GoogleAds/V15/Enums/MediaTypeEnum.php | 33 - .../V15/Enums/MediaTypeEnum/MediaType.php | 100 - .../V15/Enums/MessagePlaceholderFieldEnum.php | 33 - .../MessagePlaceholderField.php | 94 - .../Ads/GoogleAds/V15/Enums/MimeTypeEnum.php | 33 - .../V15/Enums/MimeTypeEnum/MimeType.php | 142 - .../Enums/MinuteOfHourEnum/MinuteOfHour.php | 85 - .../V15/Enums/MobileAppVendorEnum.php | 33 - .../V15/Enums/MobileDeviceTypeEnum.php | 33 - .../MobileDeviceTypeEnum/MobileDeviceType.php | 71 - .../GoogleAds/V15/Enums/MonthOfYearEnum.php | 33 - .../V15/Enums/MonthOfYearEnum/MonthOfYear.php | 141 - .../V15/Enums/NegativeGeoTargetTypeEnum.php | 33 - .../NegativeGeoTargetType.php | 73 - .../OfflineConversionDiagnosticStatusEnum.php | 33 - .../OfflineConversionDiagnosticStatus.php | 89 - .../Enums/OfflineEventUploadClientEnum.php | 33 - .../OfflineEventUploadClient.php | 79 - .../OfflineUserDataJobFailureReasonEnum.php | 34 - .../OfflineUserDataJobFailureReason.php | 98 - .../OfflineUserDataJobMatchRateRangeEnum.php | 34 - .../OfflineUserDataJobMatchRateRange.php | 121 - .../Enums/OfflineUserDataJobStatusEnum.php | 33 - .../OfflineUserDataJobStatus.php | 85 - .../V15/Enums/OfflineUserDataJobTypeEnum.php | 33 - .../OfflineUserDataJobType.php | 85 - ...OperatingSystemVersionOperatorTypeEnum.php | 33 - .../OperatingSystemVersionOperatorType.php | 71 - .../V15/Enums/OptimizationGoalTypeEnum.php | 33 - .../OptimizationGoalType.php | 83 - .../V15/Enums/ParentalStatusTypeEnum.php | 33 - .../ParentalStatusType.php | 78 - .../GoogleAds/V15/Enums/PaymentModeEnum.php | 33 - .../V15/Enums/PaymentModeEnum/PaymentMode.php | 93 - .../Enums/PerformanceMaxUpgradeStatusEnum.php | 33 - .../PerformanceMaxUpgradeStatus.php | 86 - .../V15/Enums/PlaceholderTypeEnum.php | 33 - .../PlaceholderTypeEnum/PlaceholderType.php | 217 - .../GoogleAds/V15/Enums/PlacementTypeEnum.php | 33 - .../Enums/PlacementTypeEnum/PlacementType.php | 99 - .../V15/Enums/PolicyApprovalStatusEnum.php | 33 - .../PolicyApprovalStatus.php | 89 - .../V15/Enums/PolicyReviewStatusEnum.php | 33 - .../PolicyReviewStatus.php | 88 - .../V15/Enums/PolicyTopicEntryTypeEnum.php | 33 - .../PolicyTopicEntryType.php | 102 - ...EvidenceDestinationMismatchUrlTypeEnum.php | 34 - ...opicEvidenceDestinationMismatchUrlType.php | 93 - ...videnceDestinationNotWorkingDeviceEnum.php | 34 - ...picEvidenceDestinationNotWorkingDevice.php | 79 - ...eDestinationNotWorkingDnsErrorTypeEnum.php | 34 - ...denceDestinationNotWorkingDnsErrorType.php | 74 - .../V15/Enums/PositiveGeoTargetTypeEnum.php | 33 - .../PositiveGeoTargetType.php | 83 - .../PriceExtensionPriceQualifierEnum.php | 33 - .../PriceExtensionPriceQualifier.php | 78 - .../V15/Enums/PriceExtensionPriceUnitEnum.php | 33 - .../PriceExtensionPriceUnit.php | 99 - .../V15/Enums/PriceExtensionTypeEnum.php | 33 - .../PriceExtensionType.php | 120 - .../V15/Enums/PricePlaceholderFieldEnum.php | 33 - .../PricePlaceholderField.php | 473 - .../V15/Enums/ProductCategoryLevelEnum.php | 33 - .../ProductCategoryLevel.php | 92 - .../V15/Enums/ProductCategoryStateEnum.php | 33 - .../ProductCategoryState.php | 71 - .../V15/Enums/ProductChannelEnum.php | 33 - .../ProductChannelEnum/ProductChannel.php | 71 - .../Enums/ProductChannelExclusivityEnum.php | 33 - .../ProductChannelExclusivity.php | 73 - .../V15/Enums/ProductConditionEnum.php | 33 - .../ProductConditionEnum/ProductCondition.php | 82 - .../Enums/ProductCustomAttributeIndexEnum.php | 33 - .../ProductCustomAttributeIndex.php | 92 - .../Enums/ProductLinkInvitationStatusEnum.php | 34 - .../ProductLinkInvitationStatus.php | 103 - .../V15/Enums/ProductTypeLevelEnum.php | 33 - .../ProductTypeLevelEnum/ProductTypeLevel.php | 92 - ...PromotionExtensionDiscountModifierEnum.php | 34 - .../PromotionExtensionDiscountModifier.php | 64 - .../Enums/PromotionExtensionOccasionEnum.php | 35 - .../PromotionExtensionOccasion.php | 316 - .../Enums/PromotionPlaceholderFieldEnum.php | 33 - .../PromotionPlaceholderField.php | 164 - .../V15/Enums/ProximityRadiusUnitsEnum.php | 33 - .../ProximityRadiusUnits.php | 71 - .../V15/Enums/QualityScoreBucketEnum.php | 33 - .../QualityScoreBucket.php | 78 - .../V15/Enums/ReachPlanAgeRangeEnum.php | 33 - .../ReachPlanAgeRange.php | 239 - .../V15/Enums/ReachPlanNetworkEnum.php | 33 - .../ReachPlanNetworkEnum/ReachPlanNetwork.php | 79 - .../V15/Enums/ReachPlanSurfaceEnum.php | 35 - .../ReachPlanSurfaceEnum/ReachPlanSurface.php | 92 - .../Enums/RealEstatePlaceholderFieldEnum.php | 35 - .../RealEstatePlaceholderField.php | 198 - .../RecommendationSubscriptionStatusEnum.php | 33 - .../RecommendationSubscriptionStatus.php | 74 - .../V15/Enums/RecommendationTypeEnum.php | 33 - .../RecommendationType.php | 427 - .../V15/Enums/ResourceChangeOperationEnum.php | 34 - .../ResourceChangeOperation.php | 79 - .../V15/Enums/ResourceLimitTypeEnum.php | 33 - .../ResourceLimitType.php | 1076 -- .../V15/Enums/ResponseContentTypeEnum.php | 33 - .../ResponseContentType.php | 65 - .../Enums/SearchEngineResultsPageTypeEnum.php | 33 - .../SearchEngineResultsPageType.php | 79 - .../V15/Enums/SearchTermMatchTypeEnum.php | 33 - .../SearchTermMatchType.php | 92 - .../Enums/SearchTermTargetingStatusEnum.php | 34 - .../SearchTermTargetingStatus.php | 86 - .../V15/Enums/SeasonalityEventScopeEnum.php | 34 - .../SeasonalityEventScope.php | 82 - .../V15/Enums/SeasonalityEventStatusEnum.php | 34 - .../SeasonalityEventStatus.php | 72 - .../V15/Enums/ServedAssetFieldTypeEnum.php | 33 - .../ServedAssetFieldType.php | 272 - .../V15/Enums/SharedSetStatusEnum.php | 33 - .../SharedSetStatusEnum/SharedSetStatus.php | 71 - .../GoogleAds/V15/Enums/SharedSetTypeEnum.php | 33 - .../Enums/SharedSetTypeEnum/SharedSetType.php | 85 - ...ddProductsToCampaignRecommendationEnum.php | 34 - .../Reason.php | 88 - .../SimulationModificationMethodEnum.php | 34 - .../SimulationModificationMethod.php | 87 - .../V15/Enums/SimulationTypeEnum.php | 33 - .../SimulationTypeEnum/SimulationType.php | 113 - .../Enums/SitelinkPlaceholderFieldEnum.php | 33 - .../SitelinkPlaceholderField.php | 110 - .../V15/Enums/SkAdNetworkAdEventTypeEnum.php | 33 - .../SkAdNetworkAdEventType.php | 79 - .../SkAdNetworkAttributionCreditEnum.php | 33 - .../SkAdNetworkAttributionCredit.php | 80 - .../SkAdNetworkCoarseConversionValueEnum.php | 33 - .../SkAdNetworkCoarseConversionValue.php | 93 - .../V15/Enums/SkAdNetworkSourceTypeEnum.php | 33 - .../SkAdNetworkSourceType.php | 79 - .../V15/Enums/SkAdNetworkUserTypeEnum.php | 33 - .../SkAdNetworkUserType.php | 79 - .../Ads/GoogleAds/V15/Enums/SlotEnum.php | 33 - .../Ads/GoogleAds/V15/Enums/SlotEnum/Slot.php | 106 - .../SmartCampaignNotEligibleReasonEnum.php | 34 - .../SmartCampaignNotEligibleReason.php | 89 - .../V15/Enums/SmartCampaignStatusEnum.php | 33 - .../SmartCampaignStatus.php | 101 - .../V15/Enums/SpendingLimitTypeEnum.php | 33 - .../SpendingLimitType.php | 65 - .../StructuredSnippetPlaceholderFieldEnum.php | 33 - .../StructuredSnippetPlaceholderField.php | 76 - .../V15/Enums/SummaryRowSettingEnum.php | 33 - .../SummaryRowSetting.php | 79 - .../Enums/SystemManagedResourceSourceEnum.php | 33 - .../SystemManagedResourceSource.php | 64 - .../TargetCpaOptInRecommendationGoalEnum.php | 33 - .../TargetCpaOptInRecommendationGoal.php | 86 - .../V15/Enums/TargetFrequencyTimeUnitEnum.php | 33 - .../TargetFrequencyTimeUnit.php | 64 - .../TargetImpressionShareLocationEnum.php | 35 - .../TargetImpressionShareLocation.php | 78 - .../V15/Enums/TargetingDimensionEnum.php | 33 - .../TargetingDimension.php | 119 - .../Ads/GoogleAds/V15/Enums/TimeTypeEnum.php | 33 - .../V15/Enums/TimeTypeEnum/TimeType.php | 72 - .../V15/Enums/TrackingCodePageFormatEnum.php | 34 - .../TrackingCodePageFormat.php | 72 - .../V15/Enums/TrackingCodeTypeEnum.php | 34 - .../TrackingCodeTypeEnum/TrackingCodeType.php | 89 - .../V15/Enums/TravelPlaceholderFieldEnum.php | 35 - .../TravelPlaceholderField.php | 219 - .../V15/Enums/UserIdentifierSourceEnum.php | 34 - .../UserIdentifierSource.php | 74 - .../Enums/UserInterestTaxonomyTypeEnum.php | 33 - .../UserInterestTaxonomyType.php | 92 - .../V15/Enums/UserListAccessStatusEnum.php | 33 - .../UserListAccessStatus.php | 71 - .../V15/Enums/UserListClosingReasonEnum.php | 34 - .../UserListClosingReason.php | 64 - .../Enums/UserListCrmDataSourceTypeEnum.php | 33 - .../UserListCrmDataSourceType.php | 78 - .../UserListDateRuleItemOperatorEnum.php | 33 - .../UserListDateRuleItemOperator.php | 85 - .../UserListFlexibleRuleOperatorEnum.php | 33 - .../UserListFlexibleRuleOperator.php | 75 - .../Enums/UserListLogicalRuleOperatorEnum.php | 33 - .../UserListLogicalRuleOperator.php | 78 - .../Enums/UserListMembershipStatusEnum.php | 35 - .../UserListMembershipStatus.php | 71 - .../UserListNumberRuleItemOperatorEnum.php | 33 - .../UserListNumberRuleItemOperator.php | 99 - .../Enums/UserListPrepopulationStatusEnum.php | 33 - .../UserListPrepopulationStatus.php | 78 - .../V15/Enums/UserListRuleTypeEnum.php | 33 - .../UserListRuleTypeEnum/UserListRuleType.php | 71 - .../V15/Enums/UserListSizeRangeEnum.php | 33 - .../UserListSizeRange.php | 169 - .../UserListStringRuleItemOperatorEnum.php | 33 - .../UserListStringRuleItemOperator.php | 113 - .../GoogleAds/V15/Enums/UserListTypeEnum.php | 33 - .../Enums/UserListTypeEnum/UserListType.php | 108 - .../V15/Enums/ValueRuleDeviceTypeEnum.php | 34 - .../ValueRuleDeviceType.php | 78 - .../ValueRuleGeoLocationMatchTypeEnum.php | 34 - .../ValueRuleGeoLocationMatchType.php | 71 - .../V15/Enums/ValueRuleOperationEnum.php | 34 - .../ValueRuleOperation.php | 78 - .../Enums/ValueRuleSetAttachmentTypeEnum.php | 33 - .../ValueRuleSetAttachmentType.php | 71 - .../V15/Enums/ValueRuleSetDimensionEnum.php | 34 - .../ValueRuleSetDimension.php | 85 - .../Enums/VanityPharmaDisplayUrlModeEnum.php | 33 - .../VanityPharmaDisplayUrlMode.php | 71 - .../V15/Enums/VanityPharmaTextEnum.php | 34 - .../VanityPharmaTextEnum/VanityPharmaText.php | 147 - .../V15/Enums/VideoThumbnailEnum.php | 35 - .../VideoThumbnailEnum/VideoThumbnail.php | 86 - .../V15/Enums/WebpageConditionOperandEnum.php | 33 - .../WebpageConditionOperand.php | 92 - .../Enums/WebpageConditionOperatorEnum.php | 34 - .../WebpageConditionOperator.php | 71 - .../V15/Errors/AccessInvitationErrorEnum.php | 33 - .../AccessInvitationError.php | 114 - .../Errors/AccountBudgetProposalErrorEnum.php | 33 - .../AccountBudgetProposalError.php | 247 - .../V15/Errors/AccountLinkErrorEnum.php | 33 - .../AccountLinkErrorEnum/AccountLinkError.php | 71 - .../V15/Errors/AdCustomizerErrorEnum.php | 33 - .../AdCustomizerError.php | 92 - .../Ads/GoogleAds/V15/Errors/AdErrorEnum.php | 33 - .../V15/Errors/AdErrorEnum/AdError.php | 1151 -- .../V15/Errors/AdGroupAdErrorEnum.php | 33 - .../AdGroupAdErrorEnum/AdGroupAdError.php | 137 - .../Errors/AdGroupBidModifierErrorEnum.php | 33 - .../AdGroupBidModifierError.php | 72 - .../AdGroupCriterionCustomizerErrorEnum.php | 33 - .../AdGroupCriterionCustomizerError.php | 64 - .../V15/Errors/AdGroupCriterionErrorEnum.php | 33 - .../AdGroupCriterionError.php | 262 - .../V15/Errors/AdGroupCustomizerErrorEnum.php | 33 - .../AdGroupCustomizerError.php | 57 - .../GoogleAds/V15/Errors/AdGroupErrorEnum.php | 33 - .../Errors/AdGroupErrorEnum/AdGroupError.php | 168 - .../V15/Errors/AdGroupFeedErrorEnum.php | 33 - .../AdGroupFeedErrorEnum/AdGroupFeedError.php | 108 - .../V15/Errors/AdParameterErrorEnum.php | 33 - .../AdParameterErrorEnum/AdParameterError.php | 71 - .../V15/Errors/AdSharingErrorEnum.php | 33 - .../AdSharingErrorEnum/AdSharingError.php | 79 - .../Ads/GoogleAds/V15/Errors/AdxErrorEnum.php | 33 - .../V15/Errors/AdxErrorEnum/AdxError.php | 64 - .../GoogleAds/V15/Errors/AssetErrorEnum.php | 33 - .../V15/Errors/AssetErrorEnum/AssetError.php | 319 - .../V15/Errors/AssetGroupAssetErrorEnum.php | 33 - .../AssetGroupAssetError.php | 86 - .../V15/Errors/AssetGroupErrorEnum.php | 33 - .../AssetGroupErrorEnum/AssetGroupError.php | 169 - .../AssetGroupListingGroupFilterErrorEnum.php | 34 - .../AssetGroupListingGroupFilterError.php | 157 - .../V15/Errors/AssetGroupSignalErrorEnum.php | 33 - .../AssetGroupSignalError.php | 83 - .../V15/Errors/AssetLinkErrorEnum.php | 33 - .../AssetLinkErrorEnum/AssetLinkError.php | 236 - .../V15/Errors/AssetSetAssetErrorEnum.php | 33 - .../AssetSetAssetError.php | 90 - .../V15/Errors/AssetSetErrorEnum.php | 33 - .../AssetSetErrorEnum/AssetSetError.php | 140 - .../V15/Errors/AssetSetLinkErrorEnum.php | 33 - .../AssetSetLinkError.php | 94 - .../V15/Errors/AudienceErrorEnum.php | 33 - .../AudienceErrorEnum/AudienceError.php | 129 - .../V15/Errors/AudienceInsightsErrorEnum.php | 34 - .../AudienceInsightsError.php | 64 - .../V15/Errors/AuthenticationErrorEnum.php | 33 - .../AuthenticationError.php | 211 - .../V15/Errors/AuthorizationErrorEnum.php | 33 - .../AuthorizationError.php | 172 - .../V15/Errors/BatchJobErrorEnum.php | 33 - .../BatchJobErrorEnum/BatchJobError.php | 108 - .../GoogleAds/V15/Errors/BiddingErrorEnum.php | 33 - .../Errors/BiddingErrorEnum/BiddingError.php | 232 - .../V15/Errors/BiddingStrategyErrorEnum.php | 33 - .../BiddingStrategyError.php | 94 - .../V15/Errors/BillingSetupErrorEnum.php | 33 - .../BillingSetupError.php | 209 - .../V15/Errors/CampaignBudgetErrorEnum.php | 33 - .../CampaignBudgetError.php | 195 - .../CampaignConversionGoalErrorEnum.php | 33 - .../CampaignConversionGoalError.php | 71 - .../V15/Errors/CampaignCriterionErrorEnum.php | 33 - .../CampaignCriterionError.php | 244 - .../Errors/CampaignCustomizerErrorEnum.php | 33 - .../CampaignCustomizerError.php | 57 - .../V15/Errors/CampaignDraftErrorEnum.php | 33 - .../CampaignDraftError.php | 132 - .../V15/Errors/CampaignErrorEnum.php | 33 - .../CampaignErrorEnum/CampaignError.php | 599 -- .../Errors/CampaignExperimentErrorEnum.php | 33 - .../CampaignExperimentError.php | 134 - .../V15/Errors/CampaignFeedErrorEnum.php | 33 - .../CampaignFeedError.php | 115 - .../Errors/CampaignLifecycleGoalErrorEnum.php | 33 - .../CampaignLifecycleGoalError.php | 167 - .../V15/Errors/CampaignSharedSetErrorEnum.php | 33 - .../CampaignSharedSetError.php | 64 - .../V15/Errors/ChangeEventErrorEnum.php | 33 - .../ChangeEventErrorEnum/ChangeEventError.php | 96 - .../V15/Errors/ChangeStatusErrorEnum.php | 33 - .../ChangeStatusError.php | 96 - .../V15/Errors/CollectionSizeErrorEnum.php | 33 - .../CollectionSizeError.php | 71 - .../GoogleAds/V15/Errors/ContextErrorEnum.php | 33 - .../Errors/ContextErrorEnum/ContextError.php | 71 - .../ConversionActionError.php | 143 - .../ConversionAdjustmentUploadErrorEnum.php | 33 - .../ConversionAdjustmentUploadError.php | 264 - .../ConversionCustomVariableErrorEnum.php | 33 - .../ConversionCustomVariableError.php | 79 - .../ConversionGoalCampaignConfigErrorEnum.php | 34 - .../ConversionGoalCampaignConfigError.php | 103 - .../V15/Errors/ConversionUploadErrorEnum.php | 33 - .../ConversionUploadError.php | 423 - .../Errors/ConversionValueRuleErrorEnum.php | 33 - .../ConversionValueRuleError.php | 153 - .../ConversionValueRuleSetErrorEnum.php | 33 - .../ConversionValueRuleSetError.php | 167 - .../V15/Errors/CountryCodeErrorEnum.php | 33 - .../CountryCodeErrorEnum/CountryCodeError.php | 64 - .../V15/Errors/CriterionErrorEnum.php | 33 - .../CriterionErrorEnum/CriterionError.php | 1137 -- .../V15/Errors/CurrencyCodeErrorEnum.php | 33 - .../CurrencyCodeError.php | 64 - .../V15/Errors/CurrencyErrorEnum.php | 33 - .../CurrencyErrorEnum/CurrencyError.php | 64 - .../V15/Errors/CustomAudienceErrorEnum.php | 33 - .../CustomAudienceError.php | 113 - .../Errors/CustomConversionGoalErrorEnum.php | 33 - .../CustomConversionGoalError.php | 102 - .../V15/Errors/CustomInterestErrorEnum.php | 33 - .../CustomInterestError.php | 107 - .../Errors/CustomerClientLinkErrorEnum.php | 33 - .../CustomerClientLinkError.php | 113 - .../Errors/CustomerCustomizerErrorEnum.php | 33 - .../CustomerCustomizerError.php | 57 - .../V15/Errors/CustomerErrorEnum.php | 33 - .../CustomerErrorEnum/CustomerError.php | 73 - .../V15/Errors/CustomerFeedErrorEnum.php | 33 - .../CustomerFeedError.php | 107 - .../Errors/CustomerLifecycleGoalErrorEnum.php | 33 - .../CustomerLifecycleGoalError.php | 122 - .../Errors/CustomerManagerLinkErrorEnum.php | 33 - .../CustomerManagerLinkError.php | 124 - ...dNetworkConversionValueSchemaErrorEnum.php | 34 - ...rSkAdNetworkConversionValueSchemaError.php | 85 - .../Errors/CustomerUserAccessErrorEnum.php | 33 - .../CustomerUserAccessError.php | 93 - .../Errors/CustomizerAttributeErrorEnum.php | 33 - .../CustomizerAttributeError.php | 65 - .../V15/Errors/DatabaseErrorEnum.php | 33 - .../DatabaseErrorEnum/DatabaseError.php | 81 - .../GoogleAds/V15/Errors/DateErrorEnum.php | 33 - .../V15/Errors/DateErrorEnum/DateError.php | 127 - .../V15/Errors/DateRangeErrorEnum.php | 33 - .../DateRangeErrorEnum/DateRangeError.php | 92 - .../V15/Errors/DistinctErrorEnum.php | 33 - .../DistinctErrorEnum/DistinctError.php | 71 - .../GoogleAds/V15/Errors/EnumErrorEnum.php | 33 - .../V15/Errors/EnumErrorEnum/EnumError.php | 64 - .../Ads/GoogleAds/V15/Errors/ErrorCode.php | 4992 --------- .../Ads/GoogleAds/V15/Errors/ErrorDetails.php | 251 - .../GoogleAds/V15/Errors/ErrorLocation.php | 67 - .../Errors/ErrorLocation/FieldPathElement.php | 114 - .../V15/Errors/ExperimentArmErrorEnum.php | 33 - .../ExperimentArmError.php | 157 - .../V15/Errors/ExperimentErrorEnum.php | 33 - .../ExperimentErrorEnum/ExperimentError.php | 253 - .../V15/Errors/ExtensionFeedItemErrorEnum.php | 33 - .../ExtensionFeedItemError.php | 388 - .../V15/Errors/ExtensionSettingErrorEnum.php | 33 - .../ExtensionSettingError.php | 534 - .../FeedAttributeReferenceErrorEnum.php | 33 - .../FeedAttributeReferenceError.php | 78 - .../GoogleAds/V15/Errors/FeedErrorEnum.php | 33 - .../V15/Errors/FeedErrorEnum/FeedError.php | 219 - .../V15/Errors/FeedItemErrorEnum.php | 33 - .../FeedItemErrorEnum/FeedItemError.php | 127 - .../V15/Errors/FeedItemSetErrorEnum.php | 33 - .../FeedItemSetErrorEnum/FeedItemSetError.php | 112 - .../V15/Errors/FeedItemSetLinkErrorEnum.php | 33 - .../FeedItemSetLinkError.php | 72 - .../V15/Errors/FeedItemTargetErrorEnum.php | 33 - .../FeedItemTargetError.php | 115 - .../Errors/FeedItemValidationErrorEnum.php | 33 - .../FeedItemValidationError.php | 810 -- .../V15/Errors/FeedMappingErrorEnum.php | 33 - .../FeedMappingErrorEnum/FeedMappingError.php | 188 - .../GoogleAds/V15/Errors/FieldErrorEnum.php | 33 - .../V15/Errors/FieldErrorEnum/FieldError.php | 113 - .../V15/Errors/FieldMaskErrorEnum.php | 33 - .../FieldMaskErrorEnum/FieldMaskError.php | 87 - .../V15/Errors/FunctionErrorEnum.php | 33 - .../FunctionErrorEnum/FunctionError.php | 170 - .../V15/Errors/FunctionParsingErrorEnum.php | 33 - .../FunctionParsingError.php | 134 - .../GeoTargetConstantSuggestionErrorEnum.php | 33 - .../GeoTargetConstantSuggestionError.php | 87 - .../GoogleAds/V15/Errors/GoogleAdsError.php | 247 - .../GoogleAds/V15/Errors/GoogleAdsFailure.php | 102 - .../GoogleAds/V15/Errors/HeaderErrorEnum.php | 33 - .../Errors/HeaderErrorEnum/HeaderError.php | 71 - .../Ads/GoogleAds/V15/Errors/IdErrorEnum.php | 33 - .../V15/Errors/IdErrorEnum/IdError.php | 64 - .../GoogleAds/V15/Errors/ImageErrorEnum.php | 33 - .../V15/Errors/ImageErrorEnum/ImageError.php | 333 - .../V15/Errors/InternalErrorEnum.php | 33 - .../InternalErrorEnum/InternalError.php | 87 - .../GoogleAds/V15/Errors/InvoiceErrorEnum.php | 33 - .../Errors/InvoiceErrorEnum/InvoiceError.php | 93 - .../Errors/KeywordPlanAdGroupErrorEnum.php | 34 - .../KeywordPlanAdGroupError.php | 73 - .../KeywordPlanAdGroupKeywordErrorEnum.php | 34 - .../KeywordPlanAdGroupKeywordError.php | 115 - .../Errors/KeywordPlanCampaignErrorEnum.php | 34 - .../KeywordPlanCampaignError.php | 101 - .../KeywordPlanCampaignKeywordErrorEnum.php | 34 - .../KeywordPlanCampaignKeywordError.php | 65 - .../V15/Errors/KeywordPlanErrorEnum.php | 35 - .../KeywordPlanErrorEnum/KeywordPlanError.php | 156 - .../V15/Errors/KeywordPlanIdeaErrorEnum.php | 33 - .../KeywordPlanIdeaError.php | 71 - .../GoogleAds/V15/Errors/LabelErrorEnum.php | 33 - .../V15/Errors/LabelErrorEnum/LabelError.php | 122 - .../V15/Errors/LanguageCodeErrorEnum.php | 33 - .../LanguageCodeError.php | 71 - .../V15/Errors/ListOperationErrorEnum.php | 33 - .../ListOperationError.php | 71 - .../V15/Errors/ManagerLinkErrorEnum.php | 33 - .../ManagerLinkErrorEnum/ManagerLinkError.php | 192 - .../V15/Errors/MediaBundleErrorEnum.php | 33 - .../MediaBundleErrorEnum/MediaBundleError.php | 211 - .../V15/Errors/MediaFileErrorEnum.php | 33 - .../MediaFileErrorEnum/MediaFileError.php | 218 - .../V15/Errors/MediaUploadErrorEnum.php | 33 - .../MediaUploadErrorEnum/MediaUploadError.php | 301 - .../V15/Errors/MerchantCenterErrorEnum.php | 33 - .../MerchantCenterError.php | 71 - .../V15/Errors/MultiplierErrorEnum.php | 33 - .../MultiplierErrorEnum/MultiplierError.php | 143 - .../GoogleAds/V15/Errors/MutateErrorEnum.php | 33 - .../Errors/MutateErrorEnum/MutateError.php | 121 - .../Errors/NewResourceCreationErrorEnum.php | 33 - .../NewResourceCreationError.php | 79 - .../V15/Errors/NotAllowlistedErrorEnum.php | 33 - .../NotAllowlistedError.php | 64 - .../V15/Errors/NotEmptyErrorEnum.php | 33 - .../NotEmptyErrorEnum/NotEmptyError.php | 64 - .../GoogleAds/V15/Errors/NullErrorEnum.php | 33 - .../V15/Errors/NullErrorEnum/NullError.php | 64 - .../Errors/OfflineUserDataJobErrorEnum.php | 33 - .../OfflineUserDataJobError.php | 340 - .../Errors/OperationAccessDeniedErrorEnum.php | 33 - .../OperationAccessDeniedError.php | 127 - .../V15/Errors/OperatorErrorEnum.php | 33 - .../OperatorErrorEnum/OperatorError.php | 64 - .../V15/Errors/PartialFailureErrorEnum.php | 33 - .../PartialFailureError.php | 65 - .../V15/Errors/PaymentsAccountErrorEnum.php | 33 - .../PaymentsAccountError.php | 64 - .../V15/Errors/PolicyFindingDetails.php | 77 - .../V15/Errors/PolicyFindingErrorEnum.php | 33 - .../PolicyFindingError.php | 72 - .../PolicyValidationParameterErrorEnum.php | 33 - .../PolicyValidationParameterError.php | 79 - .../V15/Errors/PolicyViolationDetails.php | 185 - .../V15/Errors/PolicyViolationErrorEnum.php | 33 - .../PolicyViolationError.php | 64 - .../V15/Errors/ProductLinkErrorEnum.php | 33 - .../ProductLinkErrorEnum/ProductLinkError.php | 79 - .../Errors/ProductLinkInvitationErrorEnum.php | 33 - .../ProductLinkInvitationError.php | 80 - .../GoogleAds/V15/Errors/QueryErrorEnum.php | 33 - .../V15/Errors/QueryErrorEnum/QueryError.php | 460 - .../V15/Errors/QuotaErrorDetails.php | 149 - .../QuotaErrorDetails/QuotaRateScope.php | 71 - .../GoogleAds/V15/Errors/QuotaErrorEnum.php | 33 - .../V15/Errors/QuotaErrorEnum/QuotaError.php | 78 - .../GoogleAds/V15/Errors/RangeErrorEnum.php | 33 - .../V15/Errors/RangeErrorEnum/RangeError.php | 71 - .../V15/Errors/ReachPlanErrorEnum.php | 34 - .../ReachPlanErrorEnum/ReachPlanError.php | 78 - .../V15/Errors/RecommendationErrorEnum.php | 33 - .../RecommendationError.php | 173 - .../RecommendationSubscriptionError.php | 57 - .../V15/Errors/RegionCodeErrorEnum.php | 33 - .../RegionCodeErrorEnum/RegionCodeError.php | 64 - .../GoogleAds/V15/Errors/RequestErrorEnum.php | 33 - .../Errors/RequestErrorEnum/RequestError.php | 238 - .../Errors/ResourceAccessDeniedErrorEnum.php | 33 - .../ResourceAccessDeniedError.php | 64 - .../V15/Errors/ResourceCountDetails.php | 211 - .../ResourceCountLimitExceededErrorEnum.php | 33 - .../ResourceCountLimitExceededError.php | 142 - .../V15/Errors/SearchTermInsightErrorEnum.php | 33 - .../SearchTermInsightError.php | 99 - .../GoogleAds/V15/Errors/SettingErrorEnum.php | 33 - .../Errors/SettingErrorEnum/SettingError.php | 151 - .../V15/Errors/SharedCriterionErrorEnum.php | 33 - .../SharedCriterionError.php | 64 - .../V15/Errors/SharedSetErrorEnum.php | 33 - .../SharedSetErrorEnum/SharedSetError.php | 85 - .../V15/Errors/SizeLimitErrorEnum.php | 33 - .../SizeLimitErrorEnum/SizeLimitError.php | 73 - .../V15/Errors/SmartCampaignErrorEnum.php | 33 - .../SmartCampaignError.php | 107 - .../V15/Errors/StringFormatErrorEnum.php | 33 - .../StringFormatError.php | 71 - .../V15/Errors/StringLengthErrorEnum.php | 33 - .../StringLengthError.php | 83 - .../ThirdPartyAppAnalyticsLinkErrorEnum.php | 33 - .../ThirdPartyAppAnalyticsLinkError.php | 86 - .../V15/Errors/TimeZoneErrorEnum.php | 33 - .../TimeZoneErrorEnum/TimeZoneError.php | 64 - .../V15/Errors/UrlFieldErrorEnum.php | 33 - .../UrlFieldErrorEnum/UrlFieldError.php | 443 - .../V15/Errors/UserDataErrorEnum.php | 33 - .../UserDataErrorEnum/UserDataError.php | 79 - .../V15/Errors/UserListErrorEnum.php | 33 - .../UserListErrorEnum/UserListError.php | 296 - .../YoutubeVideoRegistrationErrorEnum.php | 33 - .../YoutubeVideoRegistrationError.php | 78 - .../Resources/AccessibleBiddingStrategy.php | 478 - .../MaximizeConversionValue.php | 87 - .../MaximizeConversions.php | 75 - .../AccessibleBiddingStrategy/TargetCpa.php | 89 - .../TargetImpressionShare.php | 172 - .../AccessibleBiddingStrategy/TargetRoas.php | 85 - .../AccessibleBiddingStrategy/TargetSpend.php | 160 - .../GoogleAds/V15/Resources/AccountBudget.php | 1021 -- .../PendingAccountBudgetProposal.php | 511 - .../V15/Resources/AccountBudgetProposal.php | 969 -- .../GoogleAds/V15/Resources/AccountLink.php | 333 - src/Google/Ads/GoogleAds/V15/Resources/Ad.php | 1529 --- .../Ads/GoogleAds/V15/Resources/AdGroup.php | 1409 --- .../V15/Resources/AdGroup/AudienceSetting.php | 78 - .../Ads/GoogleAds/V15/Resources/AdGroupAd.php | 351 - .../AdGroupAdAssetCombinationView.php | 179 - .../Resources/AdGroupAdAssetPolicySummary.php | 139 - .../V15/Resources/AdGroupAdAssetView.php | 409 - .../V15/Resources/AdGroupAdLabel.php | 163 - .../V15/Resources/AdGroupAdPolicySummary.php | 139 - .../GoogleAds/V15/Resources/AdGroupAsset.php | 375 - .../V15/Resources/AdGroupAssetSet.php | 178 - .../V15/Resources/AdGroupAudienceView.php | 78 - .../V15/Resources/AdGroupBidModifier.php | 526 - .../V15/Resources/AdGroupCriterion.php | 2120 ---- .../AdGroupCriterion/PositionEstimates.php | 276 - .../AdGroupCriterion/QualityInfo.php | 194 - .../Resources/AdGroupCriterionCustomizer.php | 244 - .../V15/Resources/AdGroupCriterionLabel.php | 163 - .../Resources/AdGroupCriterionSimulation.php | 410 - .../V15/Resources/AdGroupCustomizer.php | 230 - .../V15/Resources/AdGroupExtensionSetting.php | 237 - .../GoogleAds/V15/Resources/AdGroupFeed.php | 291 - .../GoogleAds/V15/Resources/AdGroupLabel.php | 163 - .../V15/Resources/AdGroupSimulation.php | 433 - .../GoogleAds/V15/Resources/AdParameter.php | 260 - .../V15/Resources/AdScheduleView.php | 76 - .../AdvertisingPartnerLinkIdentifier.php | 89 - .../GoogleAds/V15/Resources/AgeRangeView.php | 75 - .../AndroidPrivacySharedKeyGoogleAdGroup.php | 295 - .../AndroidPrivacySharedKeyGoogleCampaign.php | 227 - ...droidPrivacySharedKeyGoogleNetworkType.php | 261 - .../Ads/GoogleAds/V15/Resources/Asset.php | 1410 --- .../Resources/AssetFieldTypePolicySummary.php | 165 - .../V15/Resources/AssetFieldTypeView.php | 111 - .../GoogleAds/V15/Resources/AssetGroup.php | 491 - .../V15/Resources/AssetGroupAsset.php | 458 - .../AssetGroupAssetCombinationData.php | 67 - .../AssetGroupListingGroupFilter.php | 346 - .../Resources/AssetGroupProductGroupView.php | 143 - .../V15/Resources/AssetGroupSignal.php | 300 - .../AssetGroupTopCombinationView.php | 109 - .../V15/Resources/AssetPolicySummary.php | 139 - .../Ads/GoogleAds/V15/Resources/AssetSet.php | 471 - .../Resources/AssetSet/HotelPropertyData.php | 125 - .../Resources/AssetSet/MerchantCenterFeed.php | 114 - .../GoogleAds/V15/Resources/AssetSetAsset.php | 178 - .../V15/Resources/AssetSetTypeView.php | 112 - .../V15/Resources/AttributeFieldMapping.php | 867 -- .../Ads/GoogleAds/V15/Resources/Audience.php | 410 - .../BackgroundCheckVerificationArtifact.php | 133 - .../Ads/GoogleAds/V15/Resources/BatchJob.php | 299 - .../Resources/BatchJob/BatchJobMetadata.php | 373 - .../V15/Resources/BiddingDataExclusion.php | 493 - .../BiddingSeasonalityAdjustment.php | 535 - .../V15/Resources/BiddingStrategy.php | 795 -- .../Resources/BiddingStrategySimulation.php | 331 - .../GoogleAds/V15/Resources/BillingSetup.php | 434 - .../BillingSetup/PaymentsAccountInfo.php | 308 - .../V15/Resources/CallReportingSetting.php | 177 - .../Ads/GoogleAds/V15/Resources/CallView.php | 352 - .../Ads/GoogleAds/V15/Resources/Campaign.php | 2885 ----- .../Resources/Campaign/AppCampaignSetting.php | 152 - .../Campaign/AssetAutomationSetting.php | 125 - .../Resources/Campaign/AudienceSetting.php | 88 - .../V15/Resources/Campaign/CategoryBid.php | 136 - .../Campaign/DiscoveryCampaignSettings.php | 96 - .../Campaign/DynamicSearchAdsSetting.php | 190 - .../Campaign/GeoTargetTypeSetting.php | 104 - .../Resources/Campaign/HotelSettingInfo.php | 80 - .../Campaign/LocalCampaignSetting.php | 70 - .../LocalServicesCampaignSettings.php | 70 - .../Resources/Campaign/NetworkSettings.php | 312 - .../Campaign/OptimizationGoalSetting.php | 71 - .../Campaign/PerformanceMaxUpgrade.php | 146 - .../Campaign/SelectiveOptimization.php | 74 - .../Resources/Campaign/ShoppingSetting.php | 332 - .../Resources/Campaign/TrackingSetting.php | 80 - .../Campaign/TravelCampaignSettings.php | 80 - .../V15/Resources/Campaign/VanityPharma.php | 108 - .../GoogleAds/V15/Resources/CampaignAsset.php | 399 - .../V15/Resources/CampaignAssetSet.php | 178 - .../V15/Resources/CampaignAudienceView.php | 79 - .../V15/Resources/CampaignBidModifier.php | 256 - .../V15/Resources/CampaignBudget.php | 957 -- .../V15/Resources/CampaignConversionGoal.php | 216 - .../V15/Resources/CampaignCriterion.php | 1443 --- .../V15/Resources/CampaignCustomizer.php | 230 - .../GoogleAds/V15/Resources/CampaignDraft.php | 417 - .../Resources/CampaignExtensionSetting.php | 241 - .../GoogleAds/V15/Resources/CampaignFeed.php | 291 - .../GoogleAds/V15/Resources/CampaignGroup.php | 197 - .../GoogleAds/V15/Resources/CampaignLabel.php | 163 - .../V15/Resources/CampaignLifecycleGoal.php | 157 - .../Resources/CampaignSearchTermInsight.php | 212 - .../V15/Resources/CampaignSharedSet.php | 218 - .../V15/Resources/CampaignSimulation.php | 447 - .../V15/Resources/CarrierConstant.php | 211 - .../GoogleAds/V15/Resources/ChangeEvent.php | 596 -- .../Resources/ChangeEvent/ChangedResource.php | 873 -- .../GoogleAds/V15/Resources/ChangeStatus.php | 878 -- .../Ads/GoogleAds/V15/Resources/ClickView.php | 478 - .../V15/Resources/CombinedAudience.php | 220 - .../V15/Resources/ContactDetails.php | 139 - .../V15/Resources/ConversionAction.php | 1009 -- .../AttributionModelSettings.php | 108 - .../ConversionAction/FirebaseSettings.php | 192 - .../GoogleAnalytics4Settings.php | 138 - .../ThirdPartyAppAnalyticsSettings.php | 114 - .../ConversionAction/ValueSettings.php | 193 - .../Resources/ConversionCustomVariable.php | 283 - .../ConversionGoalCampaignConfig.php | 181 - .../Resources/ConversionTrackingSetting.php | 318 - .../V15/Resources/ConversionValueRule.php | 377 - .../ConversionValueRule/ValueRuleAction.php | 104 - .../ValueRuleAudienceCondition.php | 116 - .../ValueRuleDeviceCondition.php | 70 - .../ValueRuleGeoLocationCondition.php | 172 - .../V15/Resources/ConversionValueRuleSet.php | 399 - .../V15/Resources/CurrencyConstant.php | 259 - .../V15/Resources/CustomAudience.php | 307 - .../V15/Resources/CustomAudienceMember.php | 224 - .../V15/Resources/CustomConversionGoal.php | 211 - .../V15/Resources/CustomInterest.php | 333 - .../V15/Resources/CustomInterestMember.php | 116 - .../CustomLeadFormSubmissionField.php | 109 - .../Ads/GoogleAds/V15/Resources/Customer.php | 1165 -- .../CustomerAcquisitionGoalSettings.php | 111 - .../Resources/CustomerAgreementSetting.php | 67 - .../GoogleAds/V15/Resources/CustomerAsset.php | 341 - .../V15/Resources/CustomerAssetSet.php | 178 - .../V15/Resources/CustomerClient.php | 577 - .../V15/Resources/CustomerClientLink.php | 249 - .../V15/Resources/CustomerConversionGoal.php | 190 - .../V15/Resources/CustomerCustomizer.php | 196 - .../Resources/CustomerExtensionSetting.php | 185 - .../GoogleAds/V15/Resources/CustomerFeed.php | 247 - .../GoogleAds/V15/Resources/CustomerLabel.php | 177 - .../V15/Resources/CustomerLifecycleGoal.php | 167 - ...ifecycleGoalCustomerDefinitionSettings.php | 114 - .../V15/Resources/CustomerManagerLink.php | 197 - .../Resources/CustomerNegativeCriterion.php | 393 - .../Resources/CustomerSearchTermInsight.php | 168 - ...stomerSkAdNetworkConversionValueSchema.php | 119 - .../SkAdNetworkConversionValueSchema.php | 150 - .../ConversionValueMapping.php | 151 - .../Event.php | 258 - .../Event/EventOccurrenceRange.php | 112 - .../Event/RevenueRange.php | 120 - .../FineGrainedConversionValueMappings.php | 122 - .../V15/Resources/CustomerUserAccess.php | 299 - .../CustomerUserAccessInvitation.php | 269 - .../V15/Resources/CustomizerAttribute.php | 223 - .../V15/Resources/DataPartnerIdentifier.php | 89 - .../Resources/DataPartnerLinkIdentifier.php | 89 - .../V15/Resources/DetailPlacementView.php | 305 - .../V15/Resources/DetailedDemographic.php | 254 - .../V15/Resources/DisplayKeywordView.php | 75 - .../GoogleAds/V15/Resources/DistanceView.php | 161 - .../V15/Resources/DomainCategory.php | 466 - .../DynamicSearchAdsSearchTermView.php | 411 - .../V15/Resources/ExpandedLandingPageView.php | 120 - .../GoogleAds/V15/Resources/Experiment.php | 554 - .../GoogleAds/V15/Resources/ExperimentArm.php | 292 - .../V15/Resources/ExtensionFeedItem.php | 957 -- .../Ads/GoogleAds/V15/Resources/Feed.php | 401 - .../Feed/AffiliateLocationFeedData.php | 109 - .../Resources/Feed/PlacesLocationFeedData.php | 326 - .../Feed/PlacesLocationFeedData/OAuthInfo.php | 168 - .../GoogleAds/V15/Resources/FeedAttribute.php | 214 - .../V15/Resources/FeedAttributeOperation.php | 111 - .../FeedAttributeOperation/Operator.php | 64 - .../Ads/GoogleAds/V15/Resources/FeedItem.php | 477 - .../V15/Resources/FeedItemAttributeValue.php | 505 - .../FeedItemPlaceholderPolicyInfo.php | 358 - .../GoogleAds/V15/Resources/FeedItemSet.php | 305 - .../V15/Resources/FeedItemSetLink.php | 143 - .../V15/Resources/FeedItemTarget.php | 446 - .../V15/Resources/FeedItemValidationError.php | 214 - .../GoogleAds/V15/Resources/FeedMapping.php | 288 - .../V15/Resources/FeedPlaceholderView.php | 109 - .../GoogleAds/V15/Resources/GenderView.php | 75 - .../V15/Resources/GeoTargetConstant.php | 389 - .../V15/Resources/GeographicView.php | 157 - .../V15/Resources/GoogleAdsField.php | 633 -- .../V15/Resources/GoogleAdsIdentifier.php | 89 - .../V15/Resources/GoogleAdsLinkIdentifier.php | 89 - .../V15/Resources/GranularInsuranceStatus.php | 189 - .../V15/Resources/GranularLicenseStatus.php | 189 - .../V15/Resources/GroupPlacementView.php | 257 - .../HotelCenterLinkInvitationIdentifier.php | 71 - .../V15/Resources/HotelGroupView.php | 75 - .../V15/Resources/HotelPerformanceView.php | 75 - .../V15/Resources/HotelReconciliation.php | 505 - .../V15/Resources/IncomeRangeView.php | 75 - .../InsuranceVerificationArtifact.php | 173 - .../Ads/GoogleAds/V15/Resources/Invoice.php | 1265 --- .../Invoice/AccountBudgetSummary.php | 722 -- .../V15/Resources/Invoice/AccountSummary.php | 888 -- .../Invoice/InvalidActivitySummary.php | 321 - .../GoogleAds/V15/Resources/KeywordPlan.php | 217 - .../V15/Resources/KeywordPlanAdGroup.php | 268 - .../Resources/KeywordPlanAdGroupKeyword.php | 342 - .../V15/Resources/KeywordPlanCampaign.php | 390 - .../Resources/KeywordPlanCampaignKeyword.php | 290 - .../Resources/KeywordPlanForecastPeriod.php | 120 - .../V15/Resources/KeywordPlanGeoTarget.php | 77 - .../V15/Resources/KeywordThemeConstant.php | 223 - .../GoogleAds/V15/Resources/KeywordView.php | 75 - .../Ads/GoogleAds/V15/Resources/Label.php | 249 - .../V15/Resources/LandingPageView.php | 120 - .../V15/Resources/LanguageConstant.php | 259 - .../V15/Resources/LeadFormSubmissionData.php | 389 - .../V15/Resources/LeadFormSubmissionField.php | 101 - .../Resources/LicenseVerificationArtifact.php | 301 - .../Ads/GoogleAds/V15/Resources/LifeEvent.php | 250 - .../Resources/ListingGroupFilterDimension.php | 306 - .../ProductBrand.php | 80 - .../ProductCategory.php | 126 - .../ProductChannel.php | 70 - .../ProductCondition.php | 70 - .../ProductCustomAttribute.php | 114 - .../ProductItemId.php | 80 - .../ProductType.php | 114 - .../ListingGroupFilterDimension/Webpage.php | 112 - .../WebpageCondition.php | 120 - .../ListingGroupFilterDimensionPath.php | 71 - .../V15/Resources/LocalServicesLead.php | 474 - .../LocalServicesLeadConversation.php | 360 - .../V15/Resources/LocalServicesSettings.php | 101 - .../LocalServicesVerificationArtifact.php | 337 - .../GoogleAds/V15/Resources/LocationView.php | 76 - .../V15/Resources/ManagedPlacementView.php | 75 - .../GoogleAds/V15/Resources/MediaAudio.php | 77 - .../GoogleAds/V15/Resources/MediaBundle.php | 129 - .../Ads/GoogleAds/V15/Resources/MediaFile.php | 471 - .../GoogleAds/V15/Resources/MediaImage.php | 165 - .../GoogleAds/V15/Resources/MediaVideo.php | 229 - .../Resources/MerchantCenterIdentifier.php | 89 - ...MerchantCenterLinkInvitationIdentifier.php | 71 - .../V15/Resources/MessageDetails.php | 67 - .../Resources/MobileAppCategoryConstant.php | 163 - .../V15/Resources/MobileDeviceConstant.php | 285 - .../Ads/GoogleAds/V15/Resources/Note.php | 110 - .../V15/Resources/OfflineConversionAlert.php | 115 - .../V15/Resources/OfflineConversionError.php | 372 - .../Resources/OfflineConversionSummary.php | 176 - .../V15/Resources/OfflineUserDataJob.php | 387 - .../Resources/OfflineUserDataJobMetadata.php | 79 - .../OperatingSystemVersionConstant.php | 291 - .../Resources/PaidOrganicSearchTermView.php | 124 - .../V15/Resources/ParentalStatusView.php | 75 - .../V15/Resources/PaymentsAccount.php | 359 - .../GoogleAds/V15/Resources/PerStoreView.php | 111 - .../V15/Resources/PhoneCallDetails.php | 101 - .../V15/Resources/ProductCategoryConstant.php | 263 - .../ProductCategoryLocalization.php | 146 - .../V15/Resources/ProductGroupView.php | 75 - .../GoogleAds/V15/Resources/ProductLink.php | 266 - .../V15/Resources/ProductLinkInvitation.php | 269 - .../V15/Resources/QualifyingQuestion.php | 173 - .../V15/Resources/Recommendation.php | 2063 ---- .../CallAssetRecommendation.php | 36 - .../CalloutAssetRecommendation.php | 112 - .../Recommendation/CampaignBudget.php | 150 - .../CampaignBudgetRecommendation.php | 162 - .../CampaignBudgetRecommendationOption.php | 128 - .../DisplayExpansionOptInRecommendation.php | 36 - ...namicImageExtensionOptInRecommendation.php | 38 - .../EnhancedCpcOptInRecommendation.php | 36 - .../ForecastingSetTargetCpaRecommendation.php | 114 - ...ForecastingSetTargetRoasRecommendation.php | 118 - ...PerformanceMaxAdStrengthRecommendation.php | 71 - .../KeywordMatchTypeRecommendation.php | 118 - .../Recommendation/KeywordRecommendation.php | 162 - .../KeywordRecommendation/SearchTerm.php | 108 - .../LowerTargetRoasRecommendation.php | 84 - .../MaximizeClicksOptInRecommendation.php | 84 - ...MaximizeConversionsOptInRecommendation.php | 80 - .../Resources/Recommendation/MerchantInfo.php | 142 - ...CampaignToPerformanceMaxRecommendation.php | 74 - .../MoveUnusedBudgetRecommendation.php | 124 - .../OptimizeAdRotationRecommendation.php | 36 - .../PerformanceMaxOptInRecommendation.php | 36 - .../RaiseTargetCpaBidTooLowRecommendation.php | 132 - .../RaiseTargetCpaRecommendation.php | 132 - .../Recommendation/RecommendationImpact.php | 125 - .../Recommendation/RecommendationMetrics.php | 261 - .../ResponsiveSearchAdAssetRecommendation.php | 128 - ...earchAdImproveAdStrengthRecommendation.php | 124 - .../ResponsiveSearchAdRecommendation.php | 80 - .../SearchPartnersOptInRecommendation.php | 36 - ...ingAddProductsToCampaignRecommendation.php | 149 - ...ngFixDisapprovedProductsRecommendation.php | 187 - ...tCenterAccountSuspensionRecommendation.php | 119 - ...gnOffersToPerformanceMaxRecommendation.php | 119 - .../ShoppingOfferAttributeRecommendation.php | 187 - .../ShoppingTargetAllOffersRecommendation.php | 149 - .../SitelinkAssetRecommendation.php | 104 - .../Recommendation/TargetAdjustmentInfo.php | 164 - .../TargetCpaOptInRecommendation.php | 122 - .../TargetCpaOptInRecommendationOption.php | 210 - .../TargetRoasOptInRecommendation.php | 136 - .../Recommendation/TextAdRecommendation.php | 176 - ...CampaignToPerformanceMaxRecommendation.php | 36 - ...CampaignToPerformanceMaxRecommendation.php | 109 - .../UseBroadMatchKeywordRecommendation.php | 214 - .../Resources/RecommendationSubscription.php | 253 - .../V15/Resources/RemarketingAction.php | 207 - .../V15/Resources/RemarketingSetting.php | 77 - .../V15/Resources/SearchTermView.php | 202 - .../V15/Resources/SharedCriterion.php | 441 - .../Ads/GoogleAds/V15/Resources/SharedSet.php | 348 - .../V15/Resources/ShoppingPerformanceView.php | 80 - .../Resources/SmartCampaignSearchTermView.php | 143 - .../V15/Resources/SmartCampaignSetting.php | 372 - .../AdOptimizedBusinessProfileSetting.php | 89 - .../SmartCampaignSetting/PhoneNumber.php | 124 - .../Resources/ThirdPartyAppAnalyticsLink.php | 128 - .../ThirdPartyAppAnalyticsLinkIdentifier.php | 219 - .../GoogleAds/V15/Resources/TopicConstant.php | 215 - .../Ads/GoogleAds/V15/Resources/TopicView.php | 75 - .../V15/Resources/TravelActivityGroupView.php | 75 - .../TravelActivityPerformanceView.php | 75 - .../GoogleAds/V15/Resources/UserInterest.php | 323 - .../Ads/GoogleAds/V15/Resources/UserList.php | 1143 -- .../V15/Resources/UserLocationView.php | 167 - .../Ads/GoogleAds/V15/Resources/Video.php | 251 - .../GoogleAds/V15/Resources/WebpageView.php | 75 - .../AccountBudgetProposalOperation.php | 187 - .../AccountBudgetProposalServiceClient.php | 34 - ...AccountBudgetProposalServiceGrpcClient.php | 76 - .../V15/Services/AccountLinkOperation.php | 161 - .../V15/Services/AccountLinkServiceClient.php | 34 - .../Services/AccountLinkServiceGrpcClient.php | 92 - .../V15/Services/AdGroupAdLabelOperation.php | 117 - .../Services/AdGroupAdLabelServiceClient.php | 34 - .../AdGroupAdLabelServiceGrpcClient.php | 65 - .../V15/Services/AdGroupAdOperation.php | 235 - .../V15/Services/AdGroupAdServiceClient.php | 34 - .../Services/AdGroupAdServiceGrpcClient.php | 97 - .../V15/Services/AdGroupAssetOperation.php | 197 - .../Services/AdGroupAssetServiceClient.php | 34 - .../AdGroupAssetServiceGrpcClient.php | 66 - .../V15/Services/AdGroupAssetSetOperation.php | 117 - .../Services/AdGroupAssetSetServiceClient.php | 34 - .../AdGroupAssetSetServiceGrpcClient.php | 53 - .../Services/AdGroupBidModifierOperation.php | 197 - .../AdGroupBidModifierServiceClient.php | 34 - .../AdGroupBidModifierServiceGrpcClient.php | 78 - .../AdGroupCriterionCustomizerOperation.php | 117 - ...dGroupCriterionCustomizerServiceClient.php | 34 - ...upCriterionCustomizerServiceGrpcClient.php | 53 - .../AdGroupCriterionLabelOperation.php | 117 - .../AdGroupCriterionLabelServiceClient.php | 34 - ...AdGroupCriterionLabelServiceGrpcClient.php | 63 - .../Services/AdGroupCriterionOperation.php | 256 - .../AdGroupCriterionServiceClient.php | 34 - .../AdGroupCriterionServiceGrpcClient.php | 87 - .../Services/AdGroupCustomizerOperation.php | 117 - .../AdGroupCustomizerServiceClient.php | 34 - .../AdGroupCustomizerServiceGrpcClient.php | 53 - .../AdGroupExtensionSettingOperation.php | 235 - .../AdGroupExtensionSettingServiceClient.php | 34 - ...GroupExtensionSettingServiceGrpcClient.php | 83 - .../V15/Services/AdGroupFeedOperation.php | 194 - .../V15/Services/AdGroupFeedServiceClient.php | 34 - .../Services/AdGroupFeedServiceGrpcClient.php | 77 - .../V15/Services/AdGroupKeywordSuggestion.php | 211 - .../V15/Services/AdGroupLabelOperation.php | 117 - .../Services/AdGroupLabelServiceClient.php | 34 - .../AdGroupLabelServiceGrpcClient.php | 66 - .../V15/Services/AdGroupOperation.php | 191 - .../V15/Services/AdGroupServiceClient.php | 34 - .../V15/Services/AdGroupServiceGrpcClient.php | 85 - .../GoogleAds/V15/Services/AdOperation.php | 169 - .../V15/Services/AdParameterOperation.php | 194 - .../V15/Services/AdParameterServiceClient.php | 34 - .../Services/AdParameterServiceGrpcClient.php | 67 - .../V15/Services/AdServiceClient.php | 34 - .../V15/Services/AdServiceGrpcClient.php | 116 - .../Services/AddBatchJobOperationsRequest.php | 233 - .../AddBatchJobOperationsResponse.php | 110 - ...AddOfflineUserDataJobOperationsRequest.php | 251 - ...ddOfflineUserDataJobOperationsResponse.php | 138 - .../V15/Services/AdvancedProductTargeting.php | 175 - .../Services/ApplyRecommendationOperation.php | 869 -- .../AdAssetApplyParameters.php | 162 - .../AdAssetApplyParameters/ApplyScope.php | 71 - .../CallAssetParameters.php | 80 - .../CallExtensionParameters.php | 70 - .../CalloutAssetParameters.php | 80 - .../CalloutExtensionParameters.php | 70 - .../CampaignBudgetParameters.php | 84 - .../ForecastingSetTargetCpaParameters.php | 124 - .../ForecastingSetTargetRoasParameters.php | 133 - .../KeywordParameters.php | 162 - .../LowerTargetRoasParameters.php | 70 - .../MoveUnusedBudgetParameters.php | 84 - .../RaiseTargetCpaBidTooLowParameters.php | 76 - .../RaiseTargetCpaParameters.php | 70 - .../ResponsiveSearchAdAssetParameters.php | 81 - ...iveSearchAdImproveAdStrengthParameters.php | 81 - .../ResponsiveSearchAdParameters.php | 80 - .../SitelinkAssetParameters.php | 80 - .../SitelinkExtensionParameters.php | 70 - .../TargetCpaOptInParameters.php | 128 - .../TargetRoasOptInParameters.php | 132 - .../TextAdParameters.php | 84 - .../UseBroadMatchKeywordParameters.php | 80 - .../Services/ApplyRecommendationRequest.php | 173 - .../Services/ApplyRecommendationResponse.php | 124 - .../Services/ApplyRecommendationResult.php | 67 - .../V15/Services/AssetGroupAssetOperation.php | 197 - .../Services/AssetGroupAssetServiceClient.php | 34 - .../AssetGroupAssetServiceGrpcClient.php | 53 - .../AssetGroupListingGroupFilterOperation.php | 206 - ...etGroupListingGroupFilterServiceClient.php | 34 - ...oupListingGroupFilterServiceGrpcClient.php | 53 - .../V15/Services/AssetGroupOperation.php | 194 - .../V15/Services/AssetGroupServiceClient.php | 34 - .../Services/AssetGroupServiceGrpcClient.php | 53 - .../Services/AssetGroupSignalOperation.php | 179 - .../AssetGroupSignalServiceClient.php | 34 - .../AssetGroupSignalServiceGrpcClient.php | 53 - .../GoogleAds/V15/Services/AssetOperation.php | 161 - .../V15/Services/AssetServiceClient.php | 34 - .../V15/Services/AssetServiceGrpcClient.php | 83 - .../V15/Services/AssetSetAssetOperation.php | 117 - .../Services/AssetSetAssetServiceClient.php | 34 - .../AssetSetAssetServiceGrpcClient.php | 53 - .../V15/Services/AssetSetOperation.php | 194 - .../V15/Services/AssetSetServiceClient.php | 34 - .../Services/AudienceCompositionAttribute.php | 121 - .../AudienceCompositionAttributeCluster.php | 158 - .../Services/AudienceCompositionMetrics.php | 182 - .../Services/AudienceCompositionSection.php | 144 - .../Services/AudienceInsightsAttribute.php | 379 - .../AudienceInsightsAttributeMetadata.php | 342 - .../V15/Services/AudienceInsightsCategory.php | 67 - .../AudienceInsightsDynamicLineup.php | 67 - .../V15/Services/AudienceInsightsEntity.php | 67 - .../AudienceInsightsServiceClient.php | 34 - .../AudienceInsightsServiceGrpcClient.php | 169 - .../V15/Services/AudienceInsightsTopic.php | 108 - .../V15/Services/AudienceOperation.php | 155 - .../V15/Services/AudienceServiceClient.php | 34 - .../Services/AudienceServiceGrpcClient.php | 55 - .../V15/Services/AudienceTargeting.php | 67 - .../V15/Services/BasicInsightsAudience.php | 267 - .../V15/Services/BatchJobOperation.php | 114 - .../GoogleAds/V15/Services/BatchJobResult.php | 159 - .../V15/Services/BatchJobServiceClient.php | 34 - .../Services/BatchJobServiceGrpcClient.php | 139 - .../V15/Services/BiddableKeyword.php | 133 - .../BiddingDataExclusionOperation.php | 197 - .../BiddingDataExclusionServiceClient.php | 34 - .../BiddingDataExclusionServiceGrpcClient.php | 51 - .../BiddingSeasonalityAdjustmentOperation.php | 197 - ...dingSeasonalityAdjustmentServiceClient.php | 34 - ...SeasonalityAdjustmentServiceGrpcClient.php | 51 - .../V15/Services/BiddingStrategyOperation.php | 197 - .../Services/BiddingStrategyServiceClient.php | 34 - .../BiddingStrategyServiceGrpcClient.php | 81 - .../V15/Services/BillingSetupOperation.php | 121 - .../Services/BillingSetupServiceClient.php | 34 - .../BillingSetupServiceGrpcClient.php | 72 - .../V15/Services/BrandSuggestion.php | 169 - .../Services/BrandSuggestionServiceClient.php | 34 - .../BrandSuggestionServiceGrpcClient.php | 53 - .../GoogleAds/V15/Services/CallConversion.php | 411 - .../V15/Services/CallConversionResult.php | 221 - .../V15/Services/CampaignAssetOperation.php | 197 - .../Services/CampaignAssetServiceClient.php | 34 - .../CampaignAssetServiceGrpcClient.php | 67 - .../Services/CampaignAssetSetOperation.php | 117 - .../CampaignAssetSetServiceClient.php | 34 - .../CampaignAssetSetServiceGrpcClient.php | 53 - .../Services/CampaignBidModifierOperation.php | 197 - .../CampaignBidModifierServiceClient.php | 34 - .../CampaignBidModifierServiceGrpcClient.php | 77 - .../V15/Services/CampaignBudgetMapping.php | 105 - .../V15/Services/CampaignBudgetOperation.php | 194 - .../Services/CampaignBudgetServiceClient.php | 34 - .../CampaignBudgetServiceGrpcClient.php | 72 - .../CampaignConversionGoalOperation.php | 122 - .../CampaignConversionGoalServiceClient.php | 34 - ...ampaignConversionGoalServiceGrpcClient.php | 53 - .../Services/CampaignCriterionOperation.php | 194 - .../CampaignCriterionServiceClient.php | 34 - .../CampaignCriterionServiceGrpcClient.php | 83 - .../Services/CampaignCustomizerOperation.php | 117 - .../CampaignCustomizerServiceClient.php | 34 - .../CampaignCustomizerServiceGrpcClient.php | 53 - .../V15/Services/CampaignDraftOperation.php | 197 - .../Services/CampaignDraftServiceClient.php | 34 - .../CampaignDraftServiceGrpcClient.php | 122 - .../V15/Services/CampaignDuration.php | 141 - .../CampaignExtensionSettingOperation.php | 197 - .../CampaignExtensionSettingServiceClient.php | 34 - ...paignExtensionSettingServiceGrpcClient.php | 82 - .../V15/Services/CampaignFeedOperation.php | 194 - .../Services/CampaignFeedServiceClient.php | 34 - .../CampaignFeedServiceGrpcClient.php | 78 - .../V15/Services/CampaignGroupOperation.php | 197 - .../Services/CampaignGroupServiceClient.php | 34 - .../CampaignGroupServiceGrpcClient.php | 53 - .../V15/Services/CampaignLabelOperation.php | 117 - .../Services/CampaignLabelServiceClient.php | 34 - .../CampaignLabelServiceGrpcClient.php | 66 - .../CampaignLifecycleGoalOperation.php | 141 - .../CampaignLifecycleGoalServiceClient.php | 34 - ...CampaignLifecycleGoalServiceGrpcClient.php | 59 - .../V15/Services/CampaignOperation.php | 194 - .../V15/Services/CampaignServiceClient.php | 34 - .../Services/CampaignServiceGrpcClient.php | 89 - .../Services/CampaignSharedSetOperation.php | 117 - .../CampaignSharedSetServiceClient.php | 34 - .../CampaignSharedSetServiceGrpcClient.php | 76 - .../V15/Services/CampaignToForecast.php | 319 - .../CampaignBiddingStrategy.php | 144 - .../Ads/GoogleAds/V15/Services/CartData.php | 211 - .../GoogleAds/V15/Services/CartData/Item.php | 150 - .../V15/Services/ClickConversion.php | 651 -- .../V15/Services/ClickConversionResult.php | 287 - .../AccountBudgetProposalServiceClient.php | 300 - .../Client/AccountLinkServiceClient.php | 309 - .../Client/AdGroupAdLabelServiceClient.php | 295 - .../Client/AdGroupAdServiceClient.php | 343 - .../Client/AdGroupAssetServiceClient.php | 294 - .../Client/AdGroupAssetSetServiceClient.php | 279 - .../AdGroupBidModifierServiceClient.php | 286 - ...dGroupCriterionCustomizerServiceClient.php | 284 - .../AdGroupCriterionLabelServiceClient.php | 293 - .../Client/AdGroupCriterionServiceClient.php | 367 - .../Client/AdGroupCustomizerServiceClient.php | 279 - .../AdGroupExtensionSettingServiceClient.php | 310 - .../Client/AdGroupFeedServiceClient.php | 303 - .../Client/AdGroupLabelServiceClient.php | 292 - .../Services/Client/AdGroupServiceClient.php | 310 - .../Client/AdParameterServiceClient.php | 279 - .../V15/Services/Client/AdServiceClient.php | 314 - .../Client/AssetGroupAssetServiceClient.php | 281 - ...etGroupListingGroupFilterServiceClient.php | 262 - .../Client/AssetGroupServiceClient.php | 258 - .../Client/AssetGroupSignalServiceClient.php | 261 - .../Services/Client/AssetServiceClient.php | 288 - .../Client/AssetSetAssetServiceClient.php | 279 - .../Services/Client/AssetSetServiceClient.php | 240 - .../Client/AudienceInsightsServiceClient.php | 363 - .../Services/Client/AudienceServiceClient.php | 260 - .../Services/Client/BatchJobServiceClient.php | 1957 ---- .../BiddingDataExclusionServiceClient.php | 259 - ...dingSeasonalityAdjustmentServiceClient.php | 260 - .../Client/BiddingStrategyServiceClient.php | 269 - .../Client/BillingSetupServiceClient.php | 278 - .../Client/CampaignAssetServiceClient.php | 295 - .../Client/CampaignAssetSetServiceClient.php | 279 - .../CampaignBidModifierServiceClient.php | 285 - .../Client/CampaignBudgetServiceClient.php | 260 - .../CampaignConversionGoalServiceClient.php | 264 - .../Client/CampaignCriterionServiceClient.php | 341 - .../CampaignCustomizerServiceClient.php | 279 - .../Client/CampaignDraftServiceClient.php | 390 - .../CampaignExtensionSettingServiceClient.php | 309 - .../Client/CampaignFeedServiceClient.php | 304 - .../Client/CampaignGroupServiceClient.php | 241 - .../Client/CampaignLabelServiceClient.php | 292 - .../CampaignLifecycleGoalServiceClient.php | 268 - .../Services/Client/CampaignServiceClient.php | 422 - .../Client/CampaignSharedSetServiceClient.php | 302 - .../Client/ConversionActionServiceClient.php | 275 - ...onversionAdjustmentUploadServiceClient.php | 202 - .../ConversionCustomVariableServiceClient.php | 268 - ...versionGoalCampaignConfigServiceClient.php | 278 - .../Client/ConversionUploadServiceClient.php | 287 - .../ConversionValueRuleServiceClient.php | 309 - .../ConversionValueRuleSetServiceClient.php | 294 - .../Client/CustomAudienceServiceClient.php | 255 - .../CustomConversionGoalServiceClient.php | 259 - .../Client/CustomInterestServiceClient.php | 253 - .../Client/CustomerAssetServiceClient.php | 272 - .../Client/CustomerAssetSetServiceClient.php | 275 - .../CustomerClientLinkServiceClient.php | 272 - .../CustomerConversionGoalServiceClient.php | 244 - .../CustomerCustomizerServiceClient.php | 259 - .../CustomerExtensionSettingServiceClient.php | 287 - .../Client/CustomerFeedServiceClient.php | 283 - .../Client/CustomerLabelServiceClient.php | 286 - .../CustomerLifecycleGoalServiceClient.php | 266 - .../CustomerManagerLinkServiceClient.php | 314 - ...CustomerNegativeCriterionServiceClient.php | 269 - .../Services/Client/CustomerServiceClient.php | 343 - ...workConversionValueSchemaServiceClient.php | 248 - ...tomerUserAccessInvitationServiceClient.php | 251 - .../CustomerUserAccessServiceClient.php | 252 - .../CustomizerAttributeServiceClient.php | 241 - .../Client/ExperimentArmServiceClient.php | 288 - .../Client/ExperimentServiceClient.php | 516 - .../Client/ExtensionFeedItemServiceClient.php | 336 - .../Services/Client/FeedItemServiceClient.php | 287 - .../Client/FeedItemSetLinkServiceClient.php | 292 - .../Client/FeedItemSetServiceClient.php | 270 - .../Client/FeedItemTargetServiceClient.php | 339 - .../Client/FeedMappingServiceClient.php | 282 - .../V15/Services/Client/FeedServiceClient.php | 266 - .../Client/GeoTargetConstantServiceClient.php | 201 - .../Client/GoogleAdsFieldServiceClient.php | 283 - .../Client/GoogleAdsServiceClient.php | 2067 ---- .../Services/Client/InvoiceServiceClient.php | 201 - ...KeywordPlanAdGroupKeywordServiceClient.php | 278 - .../KeywordPlanAdGroupServiceClient.php | 275 - ...eywordPlanCampaignKeywordServiceClient.php | 276 - .../KeywordPlanCampaignServiceClient.php | 308 - .../Client/KeywordPlanIdeaServiceClient.php | 315 - .../Client/KeywordPlanServiceClient.php | 256 - .../KeywordThemeConstantServiceClient.php | 200 - .../Services/Client/LabelServiceClient.php | 264 - .../OfflineUserDataJobServiceClient.php | 367 - .../Client/PaymentsAccountServiceClient.php | 204 - .../ProductLinkInvitationServiceClient.php | 241 - .../Client/ProductLinkServiceClient.php | 304 - .../Client/ReachPlanServiceClient.php | 280 - .../Client/RecommendationServiceClient.php | 343 - ...ecommendationSubscriptionServiceClient.php | 254 - .../Client/RemarketingActionServiceClient.php | 249 - .../Client/SharedCriterionServiceClient.php | 298 - .../Client/SharedSetServiceClient.php | 264 - .../SmartCampaignSettingServiceClient.php | 286 - .../SmartCampaignSuggestServiceClient.php | 298 - ...hirdPartyAppAnalyticsLinkServiceClient.php | 251 - .../TravelAssetSuggestionServiceClient.php | 195 - .../Services/Client/UserDataServiceClient.php | 209 - .../Services/Client/UserListServiceClient.php | 261 - ...ConfigureCampaignLifecycleGoalsRequest.php | 165 - ...onfigureCampaignLifecycleGoalsResponse.php | 78 - .../ConfigureCampaignLifecycleGoalsResult.php | 67 - ...ConfigureCustomerLifecycleGoalsRequest.php | 165 - ...onfigureCustomerLifecycleGoalsResponse.php | 78 - .../ConfigureCustomerLifecycleGoalsResult.php | 67 - .../Services/ConversionActionOperation.php | 197 - .../ConversionActionServiceClient.php | 34 - .../ConversionActionServiceGrpcClient.php | 71 - .../V15/Services/ConversionAdjustment.php | 461 - .../Services/ConversionAdjustmentResult.php | 241 - ...onversionAdjustmentUploadServiceClient.php | 34 - ...rsionAdjustmentUploadServiceGrpcClient.php | 59 - .../ConversionCustomVariableOperation.php | 158 - .../ConversionCustomVariableServiceClient.php | 34 - ...versionCustomVariableServiceGrpcClient.php | 63 - .../ConversionGoalCampaignConfigOperation.php | 122 - ...versionGoalCampaignConfigServiceClient.php | 34 - ...ionGoalCampaignConfigServiceGrpcClient.php | 53 - .../ConversionUploadServiceClient.php | 34 - .../ConversionUploadServiceGrpcClient.php | 84 - .../Services/ConversionValueRuleOperation.php | 197 - .../ConversionValueRuleServiceClient.php | 34 - .../ConversionValueRuleServiceGrpcClient.php | 53 - .../ConversionValueRuleSetOperation.php | 197 - .../ConversionValueRuleSetServiceClient.php | 34 - ...onversionValueRuleSetServiceGrpcClient.php | 53 - .../V15/Services/CreateAccountLinkRequest.php | 127 - .../Services/CreateAccountLinkResponse.php | 68 - .../Services/CreateCustomerClientRequest.php | 261 - .../Services/CreateCustomerClientResponse.php | 109 - .../CreateOfflineUserDataJobRequest.php | 208 - .../CreateOfflineUserDataJobResponse.php | 68 - .../V15/Services/CreateProductLinkRequest.php | 127 - .../Services/CreateProductLinkResponse.php | 68 - .../V15/Services/CriterionBidModifier.php | 119 - .../V15/Services/CustomAudienceOperation.php | 197 - .../Services/CustomAudienceServiceClient.php | 34 - .../CustomAudienceServiceGrpcClient.php | 67 - .../CustomConversionGoalOperation.php | 197 - .../CustomConversionGoalServiceClient.php | 34 - .../CustomConversionGoalServiceGrpcClient.php | 53 - .../V15/Services/CustomInterestOperation.php | 158 - .../Services/CustomInterestServiceClient.php | 34 - .../CustomInterestServiceGrpcClient.php | 65 - .../GoogleAds/V15/Services/CustomVariable.php | 125 - .../V15/Services/CustomerAssetOperation.php | 197 - .../Services/CustomerAssetServiceClient.php | 34 - .../CustomerAssetServiceGrpcClient.php | 64 - .../Services/CustomerAssetSetOperation.php | 117 - .../CustomerAssetSetServiceClient.php | 34 - .../CustomerAssetSetServiceGrpcClient.php | 53 - .../Services/CustomerClientLinkOperation.php | 152 - .../CustomerClientLinkServiceClient.php | 34 - .../CustomerClientLinkServiceGrpcClient.php | 64 - .../CustomerConversionGoalOperation.php | 122 - .../CustomerConversionGoalServiceClient.php | 34 - ...ustomerConversionGoalServiceGrpcClient.php | 53 - .../Services/CustomerCustomizerOperation.php | 117 - .../CustomerCustomizerServiceClient.php | 34 - .../CustomerCustomizerServiceGrpcClient.php | 53 - .../CustomerExtensionSettingOperation.php | 197 - .../CustomerExtensionSettingServiceClient.php | 34 - ...tomerExtensionSettingServiceGrpcClient.php | 80 - .../V15/Services/CustomerFeedOperation.php | 194 - .../Services/CustomerFeedServiceClient.php | 34 - .../CustomerFeedServiceGrpcClient.php | 77 - .../V15/Services/CustomerLabelOperation.php | 117 - .../Services/CustomerLabelServiceClient.php | 34 - .../CustomerLabelServiceGrpcClient.php | 64 - .../CustomerLifecycleGoalOperation.php | 141 - .../CustomerLifecycleGoalServiceClient.php | 34 - ...CustomerLifecycleGoalServiceGrpcClient.php | 59 - .../Services/CustomerManagerLinkOperation.php | 123 - .../CustomerManagerLinkServiceClient.php | 34 - .../CustomerManagerLinkServiceGrpcClient.php | 93 - .../CustomerNegativeCriterionOperation.php | 114 - ...CustomerNegativeCriterionServiceClient.php | 34 - ...omerNegativeCriterionServiceGrpcClient.php | 64 - .../V15/Services/CustomerOperation.php | 121 - .../V15/Services/CustomerServiceClient.php | 34 - .../Services/CustomerServiceGrpcClient.php | 115 - ...dNetworkConversionValueSchemaOperation.php | 77 - ...workConversionValueSchemaServiceClient.php | 36 - ...ConversionValueSchemaServiceGrpcClient.php | 59 - .../CustomerUserAccessInvitationOperation.php | 117 - ...tomerUserAccessInvitationServiceClient.php | 34 - ...rUserAccessInvitationServiceGrpcClient.php | 62 - .../Services/CustomerUserAccessOperation.php | 161 - .../CustomerUserAccessServiceClient.php | 34 - .../CustomerUserAccessServiceGrpcClient.php | 62 - .../Services/CustomizerAttributeOperation.php | 161 - .../CustomizerAttributeServiceClient.php | 34 - .../CustomizerAttributeServiceGrpcClient.php | 53 - .../Services/DismissRecommendationRequest.php | 173 - .../DismissRecommendationOperation.php | 70 - .../DismissRecommendationResponse.php | 124 - .../DismissRecommendationResult.php | 70 - .../DynamicLineupAttributeMetadata.php | 243 - .../SampleChannel.php | 158 - .../Services/EffectiveFrequencyBreakdown.php | 264 - .../V15/Services/EffectiveFrequencyLimit.php | 75 - .../V15/Services/EndExperimentRequest.php | 119 - .../V15/Services/ExperimentArmOperation.php | 194 - .../Services/ExperimentArmServiceClient.php | 34 - .../ExperimentArmServiceGrpcClient.php | 62 - .../V15/Services/ExperimentOperation.php | 194 - .../V15/Services/ExperimentServiceClient.php | 34 - .../Services/ExperimentServiceGrpcClient.php | 205 - .../Services/ExtensionFeedItemOperation.php | 197 - .../ExtensionFeedItemServiceClient.php | 34 - .../ExtensionFeedItemServiceGrpcClient.php | 78 - .../V15/Services/ExternalAttributionData.php | 125 - .../V15/Services/FeedItemOperation.php | 194 - .../V15/Services/FeedItemServiceClient.php | 34 - .../Services/FeedItemServiceGrpcClient.php | 80 - .../V15/Services/FeedItemSetLinkOperation.php | 117 - .../Services/FeedItemSetLinkServiceClient.php | 34 - .../FeedItemSetLinkServiceGrpcClient.php | 60 - .../V15/Services/FeedItemSetOperation.php | 194 - .../V15/Services/FeedItemSetServiceClient.php | 34 - .../Services/FeedItemSetServiceGrpcClient.php | 62 - .../V15/Services/FeedItemTargetOperation.php | 117 - .../Services/FeedItemTargetServiceClient.php | 34 - .../FeedItemTargetServiceGrpcClient.php | 73 - .../V15/Services/FeedMappingOperation.php | 114 - .../V15/Services/FeedMappingServiceClient.php | 34 - .../Services/FeedMappingServiceGrpcClient.php | 74 - .../GoogleAds/V15/Services/FeedOperation.php | 194 - .../V15/Services/FeedServiceClient.php | 34 - .../V15/Services/FeedServiceGrpcClient.php | 79 - .../Ads/GoogleAds/V15/Services/Forecast.php | 623 -- .../V15/Services/ForecastAdGroup.php | 161 - .../V15/Services/ForecastMetricOptions.php | 67 - .../GoogleAds/V15/Services/FrequencyCap.php | 102 - ...ccountBudgetProposalServiceGapicClient.php | 381 - .../Gapic/AccountLinkServiceGapicClient.php | 405 - .../AdGroupAdLabelServiceGapicClient.php | 384 - .../Gapic/AdGroupAdServiceGapicClient.php | 453 - .../Gapic/AdGroupAssetServiceGapicClient.php | 391 - .../AdGroupAssetSetServiceGapicClient.php | 378 - .../AdGroupBidModifierServiceGapicClient.php | 373 - ...pCriterionCustomizerServiceGapicClient.php | 382 - ...dGroupCriterionLabelServiceGapicClient.php | 383 - .../AdGroupCriterionServiceGapicClient.php | 500 - .../AdGroupCustomizerServiceGapicClient.php | 378 - ...roupExtensionSettingServiceGapicClient.php | 400 - .../Gapic/AdGroupFeedServiceGapicClient.php | 400 - .../Gapic/AdGroupLabelServiceGapicClient.php | 381 - .../Gapic/AdGroupServiceGapicClient.php | 408 - .../Gapic/AdParameterServiceGapicClient.php | 364 - .../Services/Gapic/AdServiceGapicClient.php | 401 - .../AssetGroupAssetServiceGapicClient.php | 372 - ...upListingGroupFilterServiceGapicClient.php | 339 - .../Gapic/AssetGroupServiceGapicClient.php | 327 - .../AssetGroupSignalServiceGapicClient.php | 347 - .../Gapic/AssetServiceGapicClient.php | 374 - .../Gapic/AssetSetAssetServiceGapicClient.php | 376 - .../Gapic/AssetSetServiceGapicClient.php | 314 - .../AudienceInsightsServiceGapicClient.php | 511 - .../Gapic/AudienceServiceGapicClient.php | 345 - .../Gapic/BatchJobServiceGapicClient.php | 3116 ------ ...BiddingDataExclusionServiceGapicClient.php | 344 - ...easonalityAdjustmentServiceGapicClient.php | 346 - .../BiddingStrategyServiceGapicClient.php | 344 - .../Gapic/BillingSetupServiceGapicClient.php | 340 - .../BrandSuggestionServiceGapicClient.php | 209 - .../Gapic/CampaignAssetServiceGapicClient.php | 392 - .../CampaignAssetSetServiceGapicClient.php | 378 - .../CampaignBidModifierServiceGapicClient.php | 372 - .../CampaignBudgetServiceGapicClient.php | 333 - ...mpaignConversionGoalServiceGapicClient.php | 333 - .../CampaignCriterionServiceGapicClient.php | 462 - .../CampaignCustomizerServiceGapicClient.php | 378 - .../Gapic/CampaignDraftServiceGapicClient.php | 572 - ...aignExtensionSettingServiceGapicClient.php | 407 - .../Gapic/CampaignFeedServiceGapicClient.php | 401 - .../Gapic/CampaignGroupServiceGapicClient.php | 314 - .../Gapic/CampaignLabelServiceGapicClient.php | 383 - ...ampaignLifecycleGoalServiceGapicClient.php | 335 - .../Gapic/CampaignServiceGapicClient.php | 592 -- .../CampaignSharedSetServiceGapicClient.php | 401 - .../ConversionActionServiceGapicClient.php | 362 - ...sionAdjustmentUploadServiceGapicClient.php | 237 - ...ersionCustomVariableServiceGapicClient.php | 354 - ...onGoalCampaignConfigServiceGapicClient.php | 367 - .../ConversionUploadServiceGapicClient.php | 419 - .../ConversionValueRuleServiceGapicClient.php | 432 - ...nversionValueRuleSetServiceGapicClient.php | 404 - .../CustomAudienceServiceGapicClient.php | 311 - ...CustomConversionGoalServiceGapicClient.php | 337 - .../CustomInterestServiceGapicClient.php | 309 - .../Gapic/CustomerAssetServiceGapicClient.php | 357 - .../CustomerAssetSetServiceGapicClient.php | 374 - .../CustomerClientLinkServiceGapicClient.php | 340 - ...stomerConversionGoalServiceGapicClient.php | 301 - .../CustomerCustomizerServiceGapicClient.php | 346 - ...omerExtensionSettingServiceGapicClient.php | 373 - .../Gapic/CustomerFeedServiceGapicClient.php | 368 - .../Gapic/CustomerLabelServiceGapicClient.php | 377 - ...ustomerLifecycleGoalServiceGapicClient.php | 333 - .../CustomerManagerLinkServiceGapicClient.php | 415 - ...merNegativeCriterionServiceGapicClient.php | 353 - .../Gapic/CustomerServiceGapicClient.php | 468 - ...onversionValueSchemaServiceGapicClient.php | 307 - ...UserAccessInvitationServiceGapicClient.php | 299 - .../CustomerUserAccessServiceGapicClient.php | 301 - .../CustomizerAttributeServiceGapicClient.php | 316 - .../Gapic/ExperimentArmServiceGapicClient.php | 385 - .../Gapic/ExperimentServiceGapicClient.php | 785 -- .../ExtensionFeedItemServiceGapicClient.php | 459 - .../Gapic/FeedItemServiceGapicClient.php | 373 - .../FeedItemSetLinkServiceGapicClient.php | 383 - .../Gapic/FeedItemSetServiceGapicClient.php | 347 - .../FeedItemTargetServiceGapicClient.php | 462 - .../Gapic/FeedMappingServiceGapicClient.php | 367 - .../Services/Gapic/FeedServiceGapicClient.php | 340 - .../GeoTargetConstantServiceGapicClient.php | 224 - .../GoogleAdsFieldServiceGapicClient.php | 365 - .../Gapic/GoogleAdsServiceGapicClient.php | 3115 ------ .../Gapic/InvoiceServiceGapicClient.php | 223 - ...rdPlanAdGroupKeywordServiceGapicClient.php | 356 - .../KeywordPlanAdGroupServiceGapicClient.php | 354 - ...dPlanCampaignKeywordServiceGapicClient.php | 354 - .../KeywordPlanCampaignServiceGapicClient.php | 411 - .../KeywordPlanIdeaServiceGapicClient.php | 563 - .../Gapic/KeywordPlanServiceGapicClient.php | 321 - ...KeywordThemeConstantServiceGapicClient.php | 216 - .../Gapic/LabelServiceGapicClient.php | 338 - .../OfflineUserDataJobServiceGapicClient.php | 512 - .../PaymentsAccountServiceGapicClient.php | 209 - ...roductLinkInvitationServiceGapicClient.php | 295 - .../Gapic/ProductLinkServiceGapicClient.php | 393 - .../Gapic/ReachPlanServiceGapicClient.php | 397 - .../RecommendationServiceGapicClient.php | 467 - ...endationSubscriptionServiceGapicClient.php | 328 - .../RemarketingActionServiceGapicClient.php | 316 - .../SharedCriterionServiceGapicClient.php | 395 - .../Gapic/SharedSetServiceGapicClient.php | 338 - ...SmartCampaignSettingServiceGapicClient.php | 386 - ...SmartCampaignSuggestServiceGapicClient.php | 399 - ...artyAppAnalyticsLinkServiceGapicClient.php | 296 - ...ravelAssetSuggestionServiceGapicClient.php | 213 - .../Gapic/UserDataServiceGapicClient.php | 226 - .../Gapic/UserListServiceGapicClient.php | 327 - .../V15/Services/GclidDateTimePair.php | 134 - .../Services/GenerateAdGroupThemesRequest.php | 140 - .../GenerateAdGroupThemesResponse.php | 102 - ...rateAudienceCompositionInsightsRequest.php | 293 - ...ateAudienceCompositionInsightsResponse.php | 76 - .../GenerateInsightsFinderReportRequest.php | 222 - .../GenerateInsightsFinderReportResponse.php | 73 - .../GenerateKeywordForecastMetricsRequest.php | 227 - ...GenerateKeywordForecastMetricsResponse.php | 77 - ...enerateKeywordHistoricalMetricsRequest.php | 376 - ...nerateKeywordHistoricalMetricsResponse.php | 112 - ...GenerateKeywordHistoricalMetricsResult.php | 179 - .../Services/GenerateKeywordIdeaResponse.php | 192 - .../Services/GenerateKeywordIdeaResult.php | 227 - .../Services/GenerateKeywordIdeasRequest.php | 608 -- .../Services/GenerateReachForecastRequest.php | 624 -- .../GenerateReachForecastResponse.php | 121 - ...erateSuggestedTargetingInsightsRequest.php | 255 - ...rateSuggestedTargetingInsightsResponse.php | 68 - .../GeoTargetConstantServiceClient.php | 34 - .../GeoTargetConstantServiceGrpcClient.php | 61 - .../Services/GeoTargetConstantSuggestion.php | 263 - .../GoogleAds/V15/Services/GetAdRequest.php | 81 - .../V15/Services/GetGoogleAdsFieldRequest.php | 81 - .../GetSmartCampaignStatusRequest.php | 86 - .../GetSmartCampaignStatusResponse.php | 242 - .../Services/GoogleAdsFieldServiceClient.php | 34 - .../GoogleAdsFieldServiceGrpcClient.php | 84 - .../GoogleAds/V15/Services/GoogleAdsRow.php | 7645 -------------- .../V15/Services/GoogleAdsServiceClient.php | 34 - .../Services/GoogleAdsServiceGrpcClient.php | 217 - .../Services/GraduateExperimentRequest.php | 165 - .../V15/Services/HotelAssetSuggestion.php | 271 - .../V15/Services/HotelImageAsset.php | 105 - .../GoogleAds/V15/Services/HotelTextAsset.php | 101 - .../V15/Services/InsightsAudience.php | 374 - .../InsightsAudienceAttributeGroup.php | 79 - .../V15/Services/InvoiceServiceClient.php | 34 - .../V15/Services/InvoiceServiceGrpcClient.php | 62 - .../V15/Services/KeywordAndUrlSeed.php | 111 - .../V15/Services/KeywordForecastMetrics.php | 385 - .../KeywordPlanAdGroupKeywordOperation.php | 202 - ...KeywordPlanAdGroupKeywordServiceClient.php | 34 - ...ordPlanAdGroupKeywordServiceGrpcClient.php | 71 - .../Services/KeywordPlanAdGroupOperation.php | 201 - .../KeywordPlanAdGroupServiceClient.php | 34 - .../KeywordPlanAdGroupServiceGrpcClient.php | 69 - .../KeywordPlanCampaignKeywordOperation.php | 202 - ...eywordPlanCampaignKeywordServiceClient.php | 34 - ...rdPlanCampaignKeywordServiceGrpcClient.php | 69 - .../Services/KeywordPlanCampaignOperation.php | 201 - .../KeywordPlanCampaignServiceClient.php | 34 - .../KeywordPlanCampaignServiceGrpcClient.php | 70 - .../Services/KeywordPlanIdeaServiceClient.php | 34 - .../KeywordPlanIdeaServiceGrpcClient.php | 136 - .../V15/Services/KeywordPlanOperation.php | 198 - .../V15/Services/KeywordPlanServiceClient.php | 34 - .../Services/KeywordPlanServiceGrpcClient.php | 68 - .../GoogleAds/V15/Services/KeywordSeed.php | 67 - .../KeywordThemeConstantServiceClient.php | 34 - .../KeywordThemeConstantServiceGrpcClient.php | 60 - .../GoogleAds/V15/Services/LabelOperation.php | 191 - .../V15/Services/LabelServiceClient.php | 34 - .../V15/Services/LabelServiceGrpcClient.php | 75 - .../ListAccessibleCustomersRequest.php | 34 - .../ListAccessibleCustomersResponse.php | 72 - .../ListAudienceInsightsAttributesRequest.php | 258 - ...ListAudienceInsightsAttributesResponse.php | 68 - .../Services/ListBatchJobResultsRequest.php | 212 - .../Services/ListBatchJobResultsResponse.php | 114 - .../ListCampaignDraftAsyncErrorsRequest.php | 174 - .../ListCampaignDraftAsyncErrorsResponse.php | 114 - .../ListExperimentAsyncErrorsRequest.php | 178 - .../ListExperimentAsyncErrorsResponse.php | 114 - .../ListInsightsEligibleDatesRequest.php | 34 - .../ListInsightsEligibleDatesResponse.php | 128 - .../V15/Services/ListInvoicesRequest.php | 201 - .../V15/Services/ListInvoicesResponse.php | 68 - .../Services/ListPaymentsAccountsRequest.php | 85 - .../Services/ListPaymentsAccountsResponse.php | 68 - .../ListPlannableLocationsRequest.php | 34 - .../ListPlannableLocationsResponse.php | 79 - .../Services/ListPlannableProductsRequest.php | 90 - .../ListPlannableProductsResponse.php | 67 - .../Services/LocationAttributeMetadata.php | 77 - .../V15/Services/ManualCpcBiddingStrategy.php | 123 - .../MaximizeClicksBiddingStrategy.php | 119 - .../MaximizeConversionsBiddingStrategy.php | 71 - .../V15/Services/MoveManagerLinkRequest.php | 211 - .../V15/Services/MoveManagerLinkResponse.php | 75 - .../MutateAccountBudgetProposalRequest.php | 170 - .../MutateAccountBudgetProposalResponse.php | 77 - .../MutateAccountBudgetProposalResult.php | 67 - .../V15/Services/MutateAccountLinkRequest.php | 211 - .../Services/MutateAccountLinkResponse.php | 133 - .../V15/Services/MutateAccountLinkResult.php | 67 - .../Services/MutateAdGroupAdLabelResult.php | 67 - .../Services/MutateAdGroupAdLabelsRequest.php | 201 - .../MutateAdGroupAdLabelsResponse.php | 123 - .../V15/Services/MutateAdGroupAdResult.php | 119 - .../V15/Services/MutateAdGroupAdsRequest.php | 239 - .../V15/Services/MutateAdGroupAdsResponse.php | 123 - .../V15/Services/MutateAdGroupAssetResult.php | 119 - .../Services/MutateAdGroupAssetSetResult.php | 119 - .../MutateAdGroupAssetSetsRequest.php | 249 - .../MutateAdGroupAssetSetsResponse.php | 123 - .../Services/MutateAdGroupAssetsRequest.php | 239 - .../Services/MutateAdGroupAssetsResponse.php | 123 - .../MutateAdGroupBidModifierResult.php | 119 - .../MutateAdGroupBidModifiersRequest.php | 249 - .../MutateAdGroupBidModifiersResponse.php | 123 - .../Services/MutateAdGroupCriteriaRequest.php | 239 - .../MutateAdGroupCriteriaResponse.php | 123 - ...MutateAdGroupCriterionCustomizerResult.php | 119 - ...tateAdGroupCriterionCustomizersRequest.php | 249 - ...ateAdGroupCriterionCustomizersResponse.php | 123 - .../MutateAdGroupCriterionLabelResult.php | 67 - .../MutateAdGroupCriterionLabelsRequest.php | 206 - .../MutateAdGroupCriterionLabelsResponse.php | 123 - .../Services/MutateAdGroupCriterionResult.php | 119 - .../MutateAdGroupCustomizerResult.php | 119 - .../MutateAdGroupCustomizersRequest.php | 249 - .../MutateAdGroupCustomizersResponse.php | 123 - .../MutateAdGroupExtensionSettingResult.php | 119 - .../MutateAdGroupExtensionSettingsRequest.php | 211 - ...MutateAdGroupExtensionSettingsResponse.php | 123 - .../V15/Services/MutateAdGroupFeedResult.php | 119 - .../Services/MutateAdGroupFeedsRequest.php | 239 - .../Services/MutateAdGroupFeedsResponse.php | 123 - .../V15/Services/MutateAdGroupLabelResult.php | 67 - .../Services/MutateAdGroupLabelsRequest.php | 201 - .../Services/MutateAdGroupLabelsResponse.php | 123 - .../V15/Services/MutateAdGroupResult.php | 115 - .../V15/Services/MutateAdGroupsRequest.php | 239 - .../V15/Services/MutateAdGroupsResponse.php | 123 - .../V15/Services/MutateAdParameterResult.php | 119 - .../Services/MutateAdParametersRequest.php | 239 - .../Services/MutateAdParametersResponse.php | 123 - .../GoogleAds/V15/Services/MutateAdResult.php | 115 - .../V15/Services/MutateAdsRequest.php | 239 - .../V15/Services/MutateAdsResponse.php | 123 - .../Services/MutateAssetGroupAssetResult.php | 67 - .../MutateAssetGroupAssetsRequest.php | 211 - .../MutateAssetGroupAssetsResponse.php | 123 - ...tateAssetGroupListingGroupFilterResult.php | 119 - ...teAssetGroupListingGroupFiltersRequest.php | 205 - ...eAssetGroupListingGroupFiltersResponse.php | 67 - .../V15/Services/MutateAssetGroupResult.php | 67 - .../Services/MutateAssetGroupSignalResult.php | 119 - .../MutateAssetGroupSignalsRequest.php | 245 - .../MutateAssetGroupSignalsResponse.php | 123 - .../V15/Services/MutateAssetGroupsRequest.php | 155 - .../Services/MutateAssetGroupsResponse.php | 123 - .../V15/Services/MutateAssetResult.php | 115 - .../Services/MutateAssetSetAssetResult.php | 119 - .../Services/MutateAssetSetAssetsRequest.php | 239 - .../Services/MutateAssetSetAssetsResponse.php | 123 - .../V15/Services/MutateAssetSetResult.php | 115 - .../V15/Services/MutateAssetSetsRequest.php | 239 - .../V15/Services/MutateAssetSetsResponse.php | 123 - .../V15/Services/MutateAssetsRequest.php | 239 - .../V15/Services/MutateAssetsResponse.php | 123 - .../V15/Services/MutateAudienceResult.php | 119 - .../V15/Services/MutateAudiencesRequest.php | 235 - .../V15/Services/MutateAudiencesResponse.php | 123 - .../V15/Services/MutateBatchJobRequest.php | 127 - .../V15/Services/MutateBatchJobResponse.php | 78 - .../V15/Services/MutateBatchJobResult.php | 67 - .../MutateBiddingDataExclusionsRequest.php | 239 - .../MutateBiddingDataExclusionsResponse.php | 123 - .../MutateBiddingDataExclusionsResult.php | 119 - ...teBiddingSeasonalityAdjustmentsRequest.php | 249 - ...eBiddingSeasonalityAdjustmentsResponse.php | 123 - ...ateBiddingSeasonalityAdjustmentsResult.php | 119 - .../MutateBiddingStrategiesRequest.php | 249 - .../MutateBiddingStrategiesResponse.php | 123 - .../Services/MutateBiddingStrategyResult.php | 119 - .../Services/MutateBillingSetupRequest.php | 131 - .../Services/MutateBillingSetupResponse.php | 77 - .../V15/Services/MutateBillingSetupResult.php | 67 - .../Services/MutateCampaignAssetResult.php | 119 - .../Services/MutateCampaignAssetSetResult.php | 119 - .../MutateCampaignAssetSetsRequest.php | 249 - .../MutateCampaignAssetSetsResponse.php | 123 - .../Services/MutateCampaignAssetsRequest.php | 239 - .../Services/MutateCampaignAssetsResponse.php | 123 - .../MutateCampaignBidModifierResult.php | 119 - .../MutateCampaignBidModifiersRequest.php | 249 - .../MutateCampaignBidModifiersResponse.php | 123 - .../Services/MutateCampaignBudgetResult.php | 119 - .../Services/MutateCampaignBudgetsRequest.php | 239 - .../MutateCampaignBudgetsResponse.php | 123 - .../MutateCampaignConversionGoalResult.php | 67 - .../MutateCampaignConversionGoalsRequest.php | 165 - .../MutateCampaignConversionGoalsResponse.php | 67 - .../MutateCampaignCriteriaRequest.php | 239 - .../MutateCampaignCriteriaResponse.php | 123 - .../MutateCampaignCriterionResult.php | 119 - .../MutateCampaignCustomizerResult.php | 119 - .../MutateCampaignCustomizersRequest.php | 249 - .../MutateCampaignCustomizersResponse.php | 123 - .../Services/MutateCampaignDraftResult.php | 119 - .../Services/MutateCampaignDraftsRequest.php | 239 - .../Services/MutateCampaignDraftsResponse.php | 123 - .../MutateCampaignExtensionSettingResult.php | 119 - ...MutateCampaignExtensionSettingsRequest.php | 249 - ...utateCampaignExtensionSettingsResponse.php | 123 - .../V15/Services/MutateCampaignFeedResult.php | 119 - .../Services/MutateCampaignFeedsRequest.php | 239 - .../Services/MutateCampaignFeedsResponse.php | 123 - .../Services/MutateCampaignGroupResult.php | 119 - .../Services/MutateCampaignGroupsRequest.php | 239 - .../Services/MutateCampaignGroupsResponse.php | 123 - .../Services/MutateCampaignLabelResult.php | 67 - .../Services/MutateCampaignLabelsRequest.php | 211 - .../Services/MutateCampaignLabelsResponse.php | 123 - .../V15/Services/MutateCampaignResult.php | 115 - .../MutateCampaignSharedSetResult.php | 119 - .../MutateCampaignSharedSetsRequest.php | 249 - .../MutateCampaignSharedSetsResponse.php | 123 - .../V15/Services/MutateCampaignsRequest.php | 239 - .../V15/Services/MutateCampaignsResponse.php | 123 - .../Services/MutateConversionActionResult.php | 119 - .../MutateConversionActionsRequest.php | 249 - .../MutateConversionActionsResponse.php | 124 - .../MutateConversionCustomVariableResult.php | 119 - ...MutateConversionCustomVariablesRequest.php | 249 - ...utateConversionCustomVariablesResponse.php | 124 - ...tateConversionGoalCampaignConfigResult.php | 119 - ...teConversionGoalCampaignConfigsRequest.php | 203 - ...eConversionGoalCampaignConfigsResponse.php | 67 - .../MutateConversionValueRuleResult.php | 119 - .../MutateConversionValueRuleSetResult.php | 119 - .../MutateConversionValueRuleSetsRequest.php | 249 - .../MutateConversionValueRuleSetsResponse.php | 124 - .../MutateConversionValueRulesRequest.php | 249 - .../MutateConversionValueRulesResponse.php | 124 - .../Services/MutateCustomAudienceResult.php | 67 - .../Services/MutateCustomAudiencesRequest.php | 155 - .../MutateCustomAudiencesResponse.php | 67 - .../MutateCustomConversionGoalResult.php | 119 - .../MutateCustomConversionGoalsRequest.php | 203 - .../MutateCustomConversionGoalsResponse.php | 67 - .../Services/MutateCustomInterestResult.php | 67 - .../Services/MutateCustomInterestsRequest.php | 155 - .../MutateCustomInterestsResponse.php | 67 - .../Services/MutateCustomerAssetResult.php | 119 - .../Services/MutateCustomerAssetSetResult.php | 119 - .../MutateCustomerAssetSetsRequest.php | 249 - .../MutateCustomerAssetSetsResponse.php | 123 - .../Services/MutateCustomerAssetsRequest.php | 239 - .../Services/MutateCustomerAssetsResponse.php | 123 - .../MutateCustomerClientLinkRequest.php | 165 - .../MutateCustomerClientLinkResponse.php | 77 - .../MutateCustomerClientLinkResult.php | 67 - .../MutateCustomerConversionGoalResult.php | 67 - .../MutateCustomerConversionGoalsRequest.php | 165 - .../MutateCustomerConversionGoalsResponse.php | 67 - .../MutateCustomerCustomizerResult.php | 119 - .../MutateCustomerCustomizersRequest.php | 249 - .../MutateCustomerCustomizersResponse.php | 123 - .../MutateCustomerExtensionSettingResult.php | 119 - ...MutateCustomerExtensionSettingsRequest.php | 249 - ...utateCustomerExtensionSettingsResponse.php | 123 - .../V15/Services/MutateCustomerFeedResult.php | 119 - .../Services/MutateCustomerFeedsRequest.php | 239 - .../Services/MutateCustomerFeedsResponse.php | 123 - .../Services/MutateCustomerLabelResult.php | 67 - .../Services/MutateCustomerLabelsRequest.php | 211 - .../Services/MutateCustomerLabelsResponse.php | 123 - .../MutateCustomerManagerLinkRequest.php | 165 - .../MutateCustomerManagerLinkResponse.php | 67 - .../MutateCustomerManagerLinkResult.php | 67 - .../MutateCustomerNegativeCriteriaRequest.php | 239 - ...MutateCustomerNegativeCriteriaResponse.php | 123 - .../MutateCustomerNegativeCriteriaResult.php | 115 - .../V15/Services/MutateCustomerRequest.php | 203 - .../V15/Services/MutateCustomerResponse.php | 77 - .../V15/Services/MutateCustomerResult.php | 115 - ...kAdNetworkConversionValueSchemaRequest.php | 150 - ...AdNetworkConversionValueSchemaResponse.php | 77 - ...SkAdNetworkConversionValueSchemaResult.php | 101 - ...ateCustomerUserAccessInvitationRequest.php | 127 - ...teCustomerUserAccessInvitationResponse.php | 77 - ...tateCustomerUserAccessInvitationResult.php | 67 - .../MutateCustomerUserAccessRequest.php | 127 - .../MutateCustomerUserAccessResponse.php | 77 - .../MutateCustomerUserAccessResult.php | 67 - .../MutateCustomizerAttributeResult.php | 119 - .../MutateCustomizerAttributesRequest.php | 249 - .../MutateCustomizerAttributesResponse.php | 123 - .../Services/MutateExperimentArmResult.php | 119 - .../Services/MutateExperimentArmsRequest.php | 239 - .../Services/MutateExperimentArmsResponse.php | 123 - .../V15/Services/MutateExperimentResult.php | 67 - .../V15/Services/MutateExperimentsRequest.php | 201 - .../Services/MutateExperimentsResponse.php | 123 - .../MutateExtensionFeedItemResult.php | 119 - .../MutateExtensionFeedItemsRequest.php | 249 - .../MutateExtensionFeedItemsResponse.php | 123 - .../V15/Services/MutateFeedItemResult.php | 115 - .../Services/MutateFeedItemSetLinkResult.php | 67 - .../MutateFeedItemSetLinksRequest.php | 211 - .../MutateFeedItemSetLinksResponse.php | 123 - .../V15/Services/MutateFeedItemSetResult.php | 67 - .../Services/MutateFeedItemSetsRequest.php | 201 - .../Services/MutateFeedItemSetsResponse.php | 123 - .../Services/MutateFeedItemTargetResult.php | 119 - .../Services/MutateFeedItemTargetsRequest.php | 249 - .../MutateFeedItemTargetsResponse.php | 123 - .../V15/Services/MutateFeedItemsRequest.php | 239 - .../V15/Services/MutateFeedItemsResponse.php | 123 - .../V15/Services/MutateFeedMappingResult.php | 119 - .../Services/MutateFeedMappingsRequest.php | 239 - .../Services/MutateFeedMappingsResponse.php | 123 - .../V15/Services/MutateFeedResult.php | 115 - .../V15/Services/MutateFeedsRequest.php | 239 - .../V15/Services/MutateFeedsResponse.php | 123 - .../V15/Services/MutateGoogleAdsRequest.php | 247 - .../V15/Services/MutateGoogleAdsResponse.php | 124 - .../MutateKeywordPlanAdGroupKeywordResult.php | 67 - ...utateKeywordPlanAdGroupKeywordsRequest.php | 211 - ...tateKeywordPlanAdGroupKeywordsResponse.php | 123 - .../MutateKeywordPlanAdGroupResult.php | 67 - .../MutateKeywordPlanAdGroupsRequest.php | 211 - .../MutateKeywordPlanAdGroupsResponse.php | 127 - ...MutateKeywordPlanCampaignKeywordResult.php | 67 - ...tateKeywordPlanCampaignKeywordsRequest.php | 211 - ...ateKeywordPlanCampaignKeywordsResponse.php | 123 - .../MutateKeywordPlanCampaignResult.php | 67 - .../MutateKeywordPlanCampaignsRequest.php | 211 - .../MutateKeywordPlanCampaignsResponse.php | 123 - .../Services/MutateKeywordPlansRequest.php | 201 - .../Services/MutateKeywordPlansResponse.php | 123 - .../V15/Services/MutateKeywordPlansResult.php | 67 - .../V15/Services/MutateLabelResult.php | 115 - .../V15/Services/MutateLabelsRequest.php | 239 - .../V15/Services/MutateLabelsResponse.php | 123 - .../V15/Services/MutateOperation.php | 2517 ----- .../V15/Services/MutateOperationResponse.php | 2517 ----- ...utateRecommendationSubscriptionRequest.php | 247 - ...tateRecommendationSubscriptionResponse.php | 124 - ...MutateRecommendationSubscriptionResult.php | 120 - .../MutateRemarketingActionResult.php | 67 - .../MutateRemarketingActionsRequest.php | 211 - .../MutateRemarketingActionsResponse.php | 123 - .../Services/MutateSharedCriteriaRequest.php | 239 - .../Services/MutateSharedCriteriaResponse.php | 123 - .../Services/MutateSharedCriterionResult.php | 119 - .../V15/Services/MutateSharedSetResult.php | 119 - .../V15/Services/MutateSharedSetsRequest.php | 239 - .../V15/Services/MutateSharedSetsResponse.php | 123 - .../MutateSmartCampaignSettingResult.php | 119 - .../MutateSmartCampaignSettingsRequest.php | 249 - .../MutateSmartCampaignSettingsResponse.php | 123 - .../V15/Services/MutateUserListResult.php | 67 - .../V15/Services/MutateUserListsRequest.php | 201 - .../V15/Services/MutateUserListsResponse.php | 123 - .../Services/OfflineUserDataJobOperation.php | 150 - .../OfflineUserDataJobServiceClient.php | 34 - .../OfflineUserDataJobServiceGrpcClient.php | 119 - .../V15/Services/OnTargetAudienceMetrics.php | 125 - .../Services/PaymentsAccountServiceClient.php | 34 - .../PaymentsAccountServiceGrpcClient.php | 64 - .../V15/Services/PlannableLocation.php | 273 - .../V15/Services/PlannableTargeting.php | 267 - .../GoogleAds/V15/Services/PlannedProduct.php | 193 - .../V15/Services/PlannedProductForecast.php | 577 - .../Services/PlannedProductReachForecast.php | 162 - .../ProductLinkInvitationServiceClient.php | 34 - ...ProductLinkInvitationServiceGrpcClient.php | 51 - .../V15/Services/ProductLinkServiceClient.php | 34 - .../Services/ProductLinkServiceGrpcClient.php | 87 - .../V15/Services/ProductMetadata.php | 167 - .../Services/PromoteCampaignDraftRequest.php | 119 - .../Services/PromoteExperimentMetadata.php | 67 - .../V15/Services/PromoteExperimentRequest.php | 119 - .../Ads/GoogleAds/V15/Services/ReachCurve.php | 67 - .../GoogleAds/V15/Services/ReachForecast.php | 149 - .../V15/Services/ReachPlanServiceClient.php | 34 - .../Services/ReachPlanServiceGrpcClient.php | 114 - .../Services/RecommendationServiceClient.php | 34 - .../RecommendationServiceGrpcClient.php | 89 - .../RecommendationSubscriptionOperation.php | 160 - ...ecommendationSubscriptionServiceClient.php | 34 - ...mendationSubscriptionServiceGrpcClient.php | 65 - .../RegenerateShareableLinkIdRequest.php | 68 - .../RegenerateShareableLinkIdResponse.php | 34 - .../Services/RemarketingActionOperation.php | 158 - .../RemarketingActionServiceClient.php | 34 - .../RemarketingActionServiceGrpcClient.php | 61 - .../V15/Services/RemoveProductLinkRequest.php | 166 - .../Services/RemoveProductLinkResponse.php | 67 - .../V15/Services/RestatementValue.php | 157 - .../V15/Services/RunBatchJobRequest.php | 81 - .../Services/RunOfflineUserDataJobRequest.php | 119 - .../Services/ScheduleExperimentMetadata.php | 67 - .../Services/ScheduleExperimentRequest.php | 119 - .../Services/SearchGoogleAdsFieldsRequest.php | 165 - .../SearchGoogleAdsFieldsResponse.php | 144 - .../V15/Services/SearchGoogleAdsRequest.php | 323 - .../V15/Services/SearchGoogleAdsResponse.php | 282 - .../Services/SearchGoogleAdsStreamRequest.php | 159 - .../SearchGoogleAdsStreamResponse.php | 232 - .../V15/Services/SharedCriterionOperation.php | 117 - .../Services/SharedCriterionServiceClient.php | 34 - .../SharedCriterionServiceGrpcClient.php | 74 - .../V15/Services/SharedSetOperation.php | 194 - .../V15/Services/SharedSetServiceClient.php | 34 - .../Services/SharedSetServiceGrpcClient.php | 77 - .../Ads/GoogleAds/V15/Services/SiteSeed.php | 81 - .../Services/SmartCampaignEligibleDetails.php | 141 - .../Services/SmartCampaignEndedDetails.php | 85 - .../SmartCampaignNotEligibleDetails.php | 77 - .../Services/SmartCampaignPausedDetails.php | 85 - .../Services/SmartCampaignRemovedDetails.php | 85 - .../SmartCampaignSettingOperation.php | 125 - .../SmartCampaignSettingServiceClient.php | 34 - .../SmartCampaignSettingServiceGrpcClient.php | 67 - .../SmartCampaignSuggestServiceClient.php | 34 - .../SmartCampaignSuggestServiceGrpcClient.php | 81 - .../Services/SmartCampaignSuggestionInfo.php | 346 - .../BusinessContext.php | 70 - .../LocationList.php | 70 - .../V15/Services/SuggestBrandsRequest.php | 170 - .../V15/Services/SuggestBrandsResponse.php | 68 - .../SuggestGeoTargetConstantsRequest.php | 205 - .../GeoTargets.php | 70 - .../LocationNames.php | 70 - .../SuggestGeoTargetConstantsResponse.php | 68 - .../SuggestKeywordThemeConstantsRequest.php | 148 - .../SuggestKeywordThemeConstantsResponse.php | 68 - .../Services/SuggestKeywordThemesRequest.php | 136 - .../Services/SuggestKeywordThemesResponse.php | 68 - .../KeywordTheme.php | 111 - .../SuggestSmartCampaignAdRequest.php | 124 - .../SuggestSmartCampaignAdResponse.php | 82 - ...ggestSmartCampaignBudgetOptionsRequest.php | 143 - .../SuggestionDataOneof.php | 117 - ...gestSmartCampaignBudgetOptionsResponse.php | 168 - .../BudgetOption.php | 126 - .../Metrics.php | 104 - .../Services/SuggestTravelAssetsRequest.php | 169 - .../Services/SuggestTravelAssetsResponse.php | 68 - .../V15/Services/SurfaceTargeting.php | 68 - .../Services/SurfaceTargetingCombinations.php | 111 - .../V15/Services/TargetFrequencySettings.php | 105 - .../Ads/GoogleAds/V15/Services/Targeting.php | 371 - .../Services/TargetingSuggestionMetrics.php | 305 - ...hirdPartyAppAnalyticsLinkServiceClient.php | 34 - ...PartyAppAnalyticsLinkServiceGrpcClient.php | 60 - .../TravelAssetSuggestionServiceClient.php | 34 - ...TravelAssetSuggestionServiceGrpcClient.php | 53 - .../V15/Services/UnusableAdGroup.php | 112 - .../UpdateProductLinkInvitationRequest.php | 154 - .../UpdateProductLinkInvitationResponse.php | 67 - .../Services/UploadCallConversionsRequest.php | 221 - .../UploadCallConversionsResponse.php | 140 - .../UploadClickConversionsRequest.php | 375 - .../UploadClickConversionsResponse.php | 174 - .../UploadConversionAdjustmentsRequest.php | 281 - .../UploadConversionAdjustmentsResponse.php | 174 - .../V15/Services/UploadUserDataRequest.php | 144 - .../V15/Services/UploadUserDataResponse.php | 128 - .../Ads/GoogleAds/V15/Services/UrlSeed.php | 77 - .../V15/Services/UserDataOperation.php | 108 - .../V15/Services/UserDataServiceClient.php | 34 - .../Services/UserDataServiceGrpcClient.php | 70 - .../V15/Services/UserListOperation.php | 194 - .../V15/Services/UserListServiceClient.php | 34 - .../Services/UserListServiceGrpcClient.php | 74 - .../YouTubeChannelAttributeMetadata.php | 67 - .../V15/Services/YouTubeSelectLineUp.php | 101 - .../V15/Services/YouTubeSelectSettings.php | 67 - .../V15/Services/gapic_metadata.json | 1724 --- ...budget_proposal_service_client_config.json | 40 - ...get_proposal_service_descriptor_config.php | 25 - ...et_proposal_service_rest_client_config.php | 79 - .../account_link_service_client_config.json | 45 - ...account_link_service_descriptor_config.php | 36 - ...ccount_link_service_rest_client_config.php | 91 - ..._group_ad_label_service_client_config.json | 40 - ...oup_ad_label_service_descriptor_config.php | 25 - ...up_ad_label_service_rest_client_config.php | 79 - .../ad_group_ad_service_client_config.json | 40 - .../ad_group_ad_service_descriptor_config.php | 26 - ...ad_group_ad_service_rest_client_config.php | 79 - .../ad_group_asset_service_client_config.json | 40 - ..._group_asset_service_descriptor_config.php | 25 - ...group_asset_service_rest_client_config.php | 79 - ...group_asset_set_service_client_config.json | 40 - ...up_asset_set_service_descriptor_config.php | 25 - ...p_asset_set_service_rest_client_config.php | 79 - ...up_bid_modifier_service_client_config.json | 40 - ...bid_modifier_service_descriptor_config.php | 24 - ...id_modifier_service_rest_client_config.php | 79 - ...rion_customizer_service_client_config.json | 40 - ...n_customizer_service_descriptor_config.php | 25 - ..._customizer_service_rest_client_config.php | 79 - ...criterion_label_service_client_config.json | 40 - ...terion_label_service_descriptor_config.php | 25 - ...erion_label_service_rest_client_config.php | 79 - ...up_criterion_service_descriptor_config.php | 28 - ...roup_customizer_service_client_config.json | 40 - ...p_customizer_service_descriptor_config.php | 25 - ..._customizer_service_rest_client_config.php | 79 - ...tension_setting_service_client_config.json | 40 - ...sion_setting_service_descriptor_config.php | 25 - ...ion_setting_service_rest_client_config.php | 79 - .../ad_group_feed_service_client_config.json | 40 - ...d_group_feed_service_descriptor_config.php | 25 - ..._group_feed_service_rest_client_config.php | 79 - .../ad_group_label_service_client_config.json | 40 - ..._group_label_service_descriptor_config.php | 25 - ...group_label_service_rest_client_config.php | 79 - .../ad_group_service_client_config.json | 40 - .../ad_group_service_descriptor_config.php | 25 - .../ad_group_service_rest_client_config.php | 79 - .../ad_parameter_service_client_config.json | 40 - ...ad_parameter_service_descriptor_config.php | 24 - ...d_parameter_service_rest_client_config.php | 79 - .../resources/ad_service_client_config.json | 45 - .../ad_service_descriptor_config.php | 35 - .../ad_service_rest_client_config.php | 90 - ...set_group_asset_service_client_config.json | 40 - ..._group_asset_service_descriptor_config.php | 25 - ...group_asset_service_rest_client_config.php | 79 - ...ng_group_filter_service_client_config.json | 40 - ...group_filter_service_descriptor_config.php | 24 - ...roup_filter_service_rest_client_config.php | 79 - .../asset_group_service_client_config.json | 40 - .../asset_group_service_descriptor_config.php | 24 - ...asset_group_service_rest_client_config.php | 79 - ...et_group_signal_service_client_config.json | 40 - ...group_signal_service_descriptor_config.php | 24 - ...roup_signal_service_rest_client_config.php | 79 - .../asset_service_client_config.json | 40 - .../asset_service_descriptor_config.php | 24 - .../asset_service_rest_client_config.php | 79 - ...asset_set_asset_service_client_config.json | 40 - ...et_set_asset_service_descriptor_config.php | 25 - ...t_set_asset_service_rest_client_config.php | 79 - .../asset_set_service_client_config.json | 40 - .../asset_set_service_descriptor_config.php | 23 - .../asset_set_service_rest_client_config.php | 79 - ...dience_insights_service_client_config.json | 60 - ...nce_insights_service_descriptor_config.php | 60 - ...ce_insights_service_rest_client_config.php | 120 - .../audience_service_client_config.json | 40 - .../audience_service_descriptor_config.php | 26 - .../audience_service_rest_client_config.php | 79 - .../batch_job_service_client_config.json | 55 - .../batch_job_service_descriptor_config.php | 162 - .../batch_job_service_rest_client_config.php | 114 - ..._data_exclusion_service_client_config.json | 40 - ...ta_exclusion_service_descriptor_config.php | 24 - ...a_exclusion_service_rest_client_config.php | 79 - ...lity_adjustment_service_client_config.json | 40 - ...y_adjustment_service_descriptor_config.php | 24 - ..._adjustment_service_rest_client_config.php | 79 - ...idding_strategy_service_client_config.json | 40 - ...ing_strategy_service_descriptor_config.php | 23 - ...ng_strategy_service_rest_client_config.php | 79 - .../billing_setup_service_client_config.json | 40 - ...illing_setup_service_descriptor_config.php | 24 - ...lling_setup_service_rest_client_config.php | 79 - ...rand_suggestion_service_client_config.json | 40 - ...d_suggestion_service_descriptor_config.php | 20 - ..._suggestion_service_rest_client_config.php | 79 - .../campaign_asset_service_client_config.json | 40 - ...mpaign_asset_service_descriptor_config.php | 25 - ...paign_asset_service_rest_client_config.php | 79 - ...paign_asset_set_service_client_config.json | 40 - ...gn_asset_set_service_descriptor_config.php | 25 - ...n_asset_set_service_rest_client_config.php | 79 - ...gn_bid_modifier_service_client_config.json | 40 - ...bid_modifier_service_descriptor_config.php | 24 - ...id_modifier_service_rest_client_config.php | 79 - ...campaign_budget_service_client_config.json | 40 - ...paign_budget_service_descriptor_config.php | 23 - ...aign_budget_service_rest_client_config.php | 79 - ...conversion_goal_service_client_config.json | 40 - ...version_goal_service_descriptor_config.php | 24 - ...ersion_goal_service_rest_client_config.php | 79 - ...paign_criterion_service_client_config.json | 40 - ...gn_criterion_service_descriptor_config.php | 31 - ...n_criterion_service_rest_client_config.php | 79 - ...aign_customizer_service_client_config.json | 40 - ...n_customizer_service_descriptor_config.php | 25 - ..._customizer_service_rest_client_config.php | 79 - .../campaign_draft_service_client_config.json | 50 - ...mpaign_draft_service_descriptor_config.php | 63 - ...paign_draft_service_rest_client_config.php | 102 - ...tension_setting_service_client_config.json | 40 - ...sion_setting_service_descriptor_config.php | 25 - ...ion_setting_service_rest_client_config.php | 79 - .../campaign_feed_service_client_config.json | 40 - ...ampaign_feed_service_descriptor_config.php | 25 - ...mpaign_feed_service_rest_client_config.php | 79 - .../campaign_group_service_client_config.json | 40 - ...mpaign_group_service_descriptor_config.php | 23 - ...paign_group_service_rest_client_config.php | 79 - .../campaign_label_service_client_config.json | 40 - ...mpaign_label_service_descriptor_config.php | 25 - ...paign_label_service_rest_client_config.php | 79 - ..._lifecycle_goal_service_client_config.json | 40 - ...fecycle_goal_service_descriptor_config.php | 24 - ...ecycle_goal_service_rest_client_config.php | 79 - .../campaign_service_client_config.json | 40 - .../campaign_service_descriptor_config.php | 31 - .../campaign_service_rest_client_config.php | 79 - ...aign_shared_set_service_client_config.json | 40 - ...n_shared_set_service_descriptor_config.php | 25 - ..._shared_set_service_rest_client_config.php | 79 - ...nversion_action_service_client_config.json | 40 - ...rsion_action_service_descriptor_config.php | 24 - ...sion_action_service_rest_client_config.php | 79 - ...justment_upload_service_client_config.json | 40 - ...tment_upload_service_descriptor_config.php | 20 - ...ment_upload_service_rest_client_config.php | 79 - ...custom_variable_service_client_config.json | 40 - ...tom_variable_service_descriptor_config.php | 24 - ...om_variable_service_rest_client_config.php | 79 - ...campaign_config_service_client_config.json | 40 - ...paign_config_service_descriptor_config.php | 25 - ...aign_config_service_rest_client_config.php | 79 - ...nversion_upload_service_client_config.json | 45 - ...rsion_upload_service_descriptor_config.php | 35 - ...sion_upload_service_rest_client_config.php | 91 - ...sion_value_rule_service_client_config.json | 40 - ...n_value_rule_service_descriptor_config.php | 27 - ..._value_rule_service_rest_client_config.php | 79 - ..._value_rule_set_service_client_config.json | 40 - ...lue_rule_set_service_descriptor_config.php | 26 - ...ue_rule_set_service_rest_client_config.php | 79 - ...custom_audience_service_client_config.json | 40 - ...tom_audience_service_descriptor_config.php | 23 - ...om_audience_service_rest_client_config.php | 79 - ...conversion_goal_service_client_config.json | 40 - ...version_goal_service_descriptor_config.php | 24 - ...ersion_goal_service_rest_client_config.php | 79 - ...custom_interest_service_client_config.json | 40 - ...tom_interest_service_descriptor_config.php | 23 - ...om_interest_service_rest_client_config.php | 79 - .../customer_asset_service_client_config.json | 40 - ...stomer_asset_service_descriptor_config.php | 24 - ...tomer_asset_service_rest_client_config.php | 79 - ...tomer_asset_set_service_client_config.json | 40 - ...er_asset_set_service_descriptor_config.php | 25 - ...r_asset_set_service_rest_client_config.php | 79 - ...mer_client_link_service_client_config.json | 40 - ..._client_link_service_descriptor_config.php | 24 - ...client_link_service_rest_client_config.php | 79 - ...conversion_goal_service_client_config.json | 40 - ...version_goal_service_descriptor_config.php | 23 - ...ersion_goal_service_rest_client_config.php | 79 - ...omer_customizer_service_client_config.json | 40 - ...r_customizer_service_descriptor_config.php | 24 - ..._customizer_service_rest_client_config.php | 79 - ...tension_setting_service_client_config.json | 40 - ...sion_setting_service_descriptor_config.php | 24 - ...ion_setting_service_rest_client_config.php | 79 - .../customer_feed_service_client_config.json | 40 - ...ustomer_feed_service_descriptor_config.php | 24 - ...stomer_feed_service_rest_client_config.php | 79 - .../customer_label_service_client_config.json | 40 - ...stomer_label_service_descriptor_config.php | 25 - ...tomer_label_service_rest_client_config.php | 79 - ..._lifecycle_goal_service_client_config.json | 40 - ...fecycle_goal_service_descriptor_config.php | 24 - ...ecycle_goal_service_rest_client_config.php | 79 - ...er_manager_link_service_client_config.json | 45 - ...manager_link_service_descriptor_config.php | 36 - ...anager_link_service_rest_client_config.php | 91 - ...ative_criterion_service_client_config.json | 40 - ...ve_criterion_service_descriptor_config.php | 24 - ...e_criterion_service_rest_client_config.php | 79 - .../customer_service_client_config.json | 50 - .../customer_service_descriptor_config.php | 40 - .../customer_service_rest_client_config.php | 95 - ...on_value_schema_service_client_config.json | 40 - ...value_schema_service_descriptor_config.php | 23 - ...alue_schema_service_rest_client_config.php | 79 - ...cess_invitation_service_client_config.json | 40 - ...s_invitation_service_descriptor_config.php | 23 - ..._invitation_service_rest_client_config.php | 79 - ...mer_user_access_service_client_config.json | 40 - ..._user_access_service_descriptor_config.php | 23 - ...user_access_service_rest_client_config.php | 79 - ...mizer_attribute_service_client_config.json | 40 - ...er_attribute_service_descriptor_config.php | 23 - ...r_attribute_service_rest_client_config.php | 79 - .../experiment_arm_service_client_config.json | 40 - ...periment_arm_service_descriptor_config.php | 25 - ...eriment_arm_service_rest_client_config.php | 79 - .../experiment_service_client_config.json | 65 - .../experiment_service_descriptor_config.php | 107 - .../experiment_service_rest_client_config.php | 138 - ...nsion_feed_item_service_client_config.json | 40 - ...on_feed_item_service_descriptor_config.php | 27 - ...n_feed_item_service_rest_client_config.php | 79 - .../feed_item_service_client_config.json | 40 - .../feed_item_service_descriptor_config.php | 24 - .../feed_item_service_rest_client_config.php | 79 - ...d_item_set_link_service_client_config.json | 40 - ...tem_set_link_service_descriptor_config.php | 25 - ...em_set_link_service_rest_client_config.php | 79 - .../feed_item_set_service_client_config.json | 40 - ...eed_item_set_service_descriptor_config.php | 24 - ...ed_item_set_service_rest_client_config.php | 79 - ...eed_item_target_service_client_config.json | 40 - ..._item_target_service_descriptor_config.php | 27 - ...item_target_service_rest_client_config.php | 79 - .../feed_mapping_service_client_config.json | 40 - ...feed_mapping_service_descriptor_config.php | 24 - ...eed_mapping_service_rest_client_config.php | 79 - .../resources/feed_service_client_config.json | 40 - .../feed_service_descriptor_config.php | 23 - .../feed_service_rest_client_config.php | 79 - ...target_constant_service_client_config.json | 40 - ...get_constant_service_descriptor_config.php | 12 - ...et_constant_service_rest_client_config.php | 72 - ...oogle_ads_field_service_client_config.json | 45 - ...le_ads_field_service_descriptor_config.php | 35 - ...e_ads_field_service_rest_client_config.php | 83 - .../google_ads_service_client_config.json | 48 - .../google_ads_service_descriptor_config.php | 145 - .../google_ads_service_rest_client_config.php | 103 - .../invoice_service_client_config.json | 40 - .../invoice_service_descriptor_config.php | 20 - .../invoice_service_rest_client_config.php | 83 - ...d_group_keyword_service_client_config.json | 40 - ...roup_keyword_service_descriptor_config.php | 24 - ...oup_keyword_service_rest_client_config.php | 79 - ...d_plan_ad_group_service_client_config.json | 40 - ...lan_ad_group_service_descriptor_config.php | 24 - ...an_ad_group_service_rest_client_config.php | 79 - ...ampaign_keyword_service_client_config.json | 40 - ...aign_keyword_service_descriptor_config.php | 24 - ...ign_keyword_service_rest_client_config.php | 79 - ...d_plan_campaign_service_client_config.json | 40 - ...lan_campaign_service_descriptor_config.php | 26 - ...an_campaign_service_rest_client_config.php | 79 - ...yword_plan_idea_service_client_config.json | 55 - ...rd_plan_idea_service_descriptor_config.php | 64 - ...d_plan_idea_service_rest_client_config.php | 115 - .../keyword_plan_service_client_config.json | 40 - ...keyword_plan_service_descriptor_config.php | 23 - ...eyword_plan_service_rest_client_config.php | 79 - ..._theme_constant_service_client_config.json | 40 - ...eme_constant_service_descriptor_config.php | 12 - ...me_constant_service_rest_client_config.php | 72 - .../label_service_client_config.json | 40 - .../label_service_descriptor_config.php | 23 - .../label_service_rest_client_config.php | 79 - ...e_user_data_job_service_client_config.json | 50 - ...ser_data_job_service_descriptor_config.php | 54 - ...er_data_job_service_rest_client_config.php | 103 - ...ayments_account_service_client_config.json | 40 - ...ents_account_service_descriptor_config.php | 20 - ...nts_account_service_rest_client_config.php | 78 - ...link_invitation_service_client_config.json | 40 - ...k_invitation_service_descriptor_config.php | 23 - ..._invitation_service_rest_client_config.php | 79 - .../product_link_service_client_config.json | 45 - ...product_link_service_descriptor_config.php | 36 - ...roduct_link_service_rest_client_config.php | 91 - .../reach_plan_service_client_config.json | 50 - .../reach_plan_service_descriptor_config.php | 28 - .../reach_plan_service_rest_client_config.php | 89 - .../recommendation_service_client_config.json | 45 - ...commendation_service_descriptor_config.php | 38 - ...ommendation_service_rest_client_config.php | 91 - ...on_subscription_service_client_config.json | 40 - ...subscription_service_descriptor_config.php | 23 - ...ubscription_service_rest_client_config.php | 79 - ...arketing_action_service_client_config.json | 40 - ...eting_action_service_descriptor_config.php | 23 - ...ting_action_service_rest_client_config.php | 79 - ...hared_criterion_service_client_config.json | 40 - ...ed_criterion_service_descriptor_config.php | 25 - ...d_criterion_service_rest_client_config.php | 79 - .../shared_set_service_client_config.json | 40 - .../shared_set_service_descriptor_config.php | 23 - .../shared_set_service_rest_client_config.php | 79 - ...ampaign_setting_service_client_config.json | 45 - ...aign_setting_service_descriptor_config.php | 36 - ...ign_setting_service_rest_client_config.php | 90 - ...ampaign_suggest_service_client_config.json | 50 - ...aign_suggest_service_descriptor_config.php | 48 - ...ign_suggest_service_rest_client_config.php | 103 - ..._analytics_link_service_client_config.json | 40 - ...alytics_link_service_descriptor_config.php | 23 - ...lytics_link_service_rest_client_config.php | 79 - ...sset_suggestion_service_client_config.json | 40 - ...t_suggestion_service_descriptor_config.php | 20 - ..._suggestion_service_rest_client_config.php | 79 - .../user_data_service_client_config.json | 40 - .../user_data_service_descriptor_config.php | 20 - .../user_data_service_rest_client_config.php | 79 - .../user_list_service_client_config.json | 40 - .../user_list_service_descriptor_config.php | 23 - .../user_list_service_rest_client_config.php | 79 - .../Ads/GoogleAds/V17/Common/FixedCpm.php | 114 + .../FixedCpmTargetFrequencyGoalInfo.php} | 37 +- .../Ads/GoogleAds/V17/Common/Segments.php | 78 + .../Common/TargetCpv.php} | 13 +- .../Ads/GoogleAds/V17/Common/TextLabel.php | 8 +- .../Enums/AdFormatTypeEnum.php} | 12 +- .../Enums/AdFormatTypeEnum/AdFormatType.php | 139 + .../BiddingStrategyType.php | 15 + .../ChangeStatusResourceType.php | 7 + .../Enums/FixedCpmGoalEnum.php} | 12 +- .../Enums/FixedCpmGoalEnum/FixedCpmGoal.php} | 30 +- .../FixedCpmTargetFrequencyTimeUnitEnum.php} | 12 +- .../FixedCpmTargetFrequencyTimeUnit.php} | 28 +- .../UserListCustomerTypeCategory.php | 49 + ...maticallyCreatedAssetRemovalErrorEnum.php} | 14 +- .../AutomaticallyCreatedAssetRemovalError.php | 92 + .../Ads/GoogleAds/V17/Errors/ErrorCode.php | 66 + .../Errors/ShareablePreviewErrorEnum.php} | 12 +- .../ShareablePreviewError.php} | 31 +- .../Ads/GoogleAds/V17/Resources/AdGroup.php | 96 + .../Ads/GoogleAds/V17/Resources/Campaign.php | 113 + .../Campaign/VideoCampaignSettings.php | 80 + .../VideoAdInventoryControl.php | 170 + .../GoogleAds/V17/Resources/ChangeStatus.php | 34 + .../Resources/OfflineConversionSummary.php | 34 + .../OfflineConversionUploadClientSummary.php | 106 +- ...nversionUploadConversionActionSummary.php} | 238 +- .../Services/AdGroupAdServiceGrpcClient.php | 26 + .../V17/Services/AssetGroupIdentifier.php | 67 + .../V17/Services/AssetsWithFieldType.php | 101 + .../AudienceInsightsAttributeMetadata.php | 54 + .../AudienceInsightsServiceGrpcClient.php | 28 + .../V17/Services/AudienceOverlapItem.php | 120 + .../Client/AdGroupAdServiceClient.php | 54 + .../Client/AudienceInsightsServiceClient.php | 41 + .../Client/ShareablePreviewServiceClient.php} | 59 +- .../CustomConversionGoalOperation.php | 6 +- .../V17/Services/DimensionOverlapResult.php | 103 + ...GenerateAudienceOverlapInsightsRequest.php | 269 + ...enerateAudienceOverlapInsightsResponse.php | 116 + .../GenerateShareablePreviewsRequest.php | 117 + .../GenerateShareablePreviewsResponse.php | 68 + .../GoogleAds/V17/Services/GoogleAdsRow.php | 52 +- .../ListAudienceInsightsAttributesRequest.php | 60 + ...emoveAutomaticallyCreatedAssetsRequest.php | 122 + .../V17/Services/ShareablePreview.php | 77 + .../V17/Services/ShareablePreviewOrError.php | 152 + .../V17/Services/ShareablePreviewResult.php | 101 + .../ShareablePreviewServiceGrpcClient.php} | 21 +- .../V17/Services/gapic_metadata.json | 24 + .../ad_group_ad_service_client_config.json | 5 + .../ad_group_ad_service_descriptor_config.php | 13 + ...ad_group_ad_service_rest_client_config.php | 12 + ...dience_insights_service_client_config.json | 5 + ...nce_insights_service_descriptor_config.php | 12 + ...ce_insights_service_rest_client_config.php | 12 + ...reable_preview_service_client_config.json} | 4 +- ...able_preview_service_descriptor_config.php | 40 + ...le_preview_service_rest_client_config.php} | 36 +- .../Lib/V15/GoogleAdsClientBuilderTest.php | 676 -- .../GoogleAds/Lib/V15/GoogleAdsClientTest.php | 213 - .../Lib/V15/GoogleAdsExceptionTest.php | 80 - .../V15/GoogleAdsExceptionTraitInserted.php | 29 - .../Lib/V15/GoogleAdsExceptionTraitTest.php | 75 - .../V15/GoogleAdsFailuresInterceptorTest.php | 47 - .../V15/GoogleAdsFailuresUnaryCallTest.php | 76 - .../V15/GoogleAdsLoggingInterceptorTest.php | 91 - ...oogleAdsLoggingServerStreamingCallTest.php | 140 - .../Lib/V15/GoogleAdsLoggingUnaryCallTest.php | 67 - .../Lib/V15/GoogleAdsResponseMetadataTest.php | 71 - .../Lib/V15/LogMessageFormatterTest.php | 862 -- .../GoogleAds/Lib/V15/LoggerFactoryTest.php | 38 - .../Lib/V15/ServiceClientFactoryTraitTest.php | 1074 -- .../Lib/V15/StatusMetadataExtractorTest.php | 147 - .../Lib/V17/ServiceClientFactoryTraitTest.php | 9 + .../Util/V15/GoogleAdsErrorsTest.php | 141 - .../Util/V15/GoogleAdsFailuresTest.php | 75 - .../Util/V15/PartialFailuresTest.php | 46 - .../GoogleAds/Util/V15/ResourceNamesTest.php | 3064 ------ ...AccountBudgetProposalServiceClientTest.php | 124 - .../Services/AccountLinkServiceClientTest.php | 190 - .../AdGroupAdLabelServiceClientTest.php | 123 - .../Services/AdGroupAdServiceClientTest.php | 123 - .../AdGroupAssetServiceClientTest.php | 123 - .../AdGroupAssetSetServiceClientTest.php | 123 - .../AdGroupBidModifierServiceClientTest.php | 123 - ...upCriterionCustomizerServiceClientTest.php | 123 - ...AdGroupCriterionLabelServiceClientTest.php | 123 - .../AdGroupCriterionServiceClientTest.php | 123 - .../AdGroupCustomizerServiceClientTest.php | 123 - ...GroupExtensionSettingServiceClientTest.php | 123 - .../Services/AdGroupFeedServiceClientTest.php | 123 - .../AdGroupLabelServiceClientTest.php | 123 - .../V15/Services/AdGroupServiceClientTest.php | 123 - .../Services/AdParameterServiceClientTest.php | 123 - .../V15/Services/AdServiceClientTest.php | 196 - .../AssetGroupAssetServiceClientTest.php | 123 - ...oupListingGroupFilterServiceClientTest.php | 123 - .../Services/AssetGroupServiceClientTest.php | 123 - .../AssetGroupSignalServiceClientTest.php | 123 - .../V15/Services/AssetServiceClientTest.php | 123 - .../AssetSetAssetServiceClientTest.php | 123 - .../Services/AssetSetServiceClientTest.php | 123 - .../AudienceInsightsServiceClientTest.php | 397 - .../Services/AudienceServiceClientTest.php | 123 - .../Services/BatchJobServiceClientTest.php | 383 - .../BiddingDataExclusionServiceClientTest.php | 123 - ...SeasonalityAdjustmentServiceClientTest.php | 123 - .../BiddingStrategyServiceClientTest.php | 123 - .../BillingSetupServiceClientTest.php | 124 - .../BrandSuggestionServiceClientTest.php | 123 - .../CampaignAssetServiceClientTest.php | 123 - .../CampaignAssetSetServiceClientTest.php | 123 - .../CampaignBidModifierServiceClientTest.php | 123 - .../CampaignBudgetServiceClientTest.php | 123 - ...ampaignConversionGoalServiceClientTest.php | 123 - .../CampaignCriterionServiceClientTest.php | 123 - .../CampaignCustomizerServiceClientTest.php | 123 - .../CampaignDraftServiceClientTest.php | 315 - ...paignExtensionSettingServiceClientTest.php | 123 - .../CampaignFeedServiceClientTest.php | 123 - .../CampaignGroupServiceClientTest.php | 123 - .../CampaignLabelServiceClientTest.php | 123 - ...CampaignLifecycleGoalServiceClientTest.php | 124 - .../Services/CampaignServiceClientTest.php | 123 - .../CampaignSharedSetServiceClientTest.php | 123 - ...AccountBudgetProposalServiceClientTest.php | 162 - .../Client/AccountLinkServiceClientTest.php | 237 - .../AdGroupAdLabelServiceClientTest.php | 161 - .../Client/AdGroupAdServiceClientTest.php | 161 - .../Client/AdGroupAssetServiceClientTest.php | 161 - .../AdGroupAssetSetServiceClientTest.php | 161 - ...upCriterionCustomizerServiceClientTest.php | 161 - ...AdGroupCriterionLabelServiceClientTest.php | 161 - .../AdGroupCriterionServiceClientTest.php | 161 - .../AdGroupCustomizerServiceClientTest.php | 161 - ...GroupExtensionSettingServiceClientTest.php | 161 - .../Client/AdGroupFeedServiceClientTest.php | 161 - .../Client/AdGroupLabelServiceClientTest.php | 161 - .../Client/AdGroupServiceClientTest.php | 161 - .../Client/AdParameterServiceClientTest.php | 161 - .../Services/Client/AdServiceClientTest.php | 249 - .../AssetGroupAssetServiceClientTest.php | 161 - ...oupListingGroupFilterServiceClientTest.php | 161 - .../Client/AssetGroupServiceClientTest.php | 161 - .../AssetGroupSignalServiceClientTest.php | 161 - .../Client/AssetServiceClientTest.php | 161 - .../Client/AssetSetAssetServiceClientTest.php | 161 - .../Client/AssetSetServiceClientTest.php | 161 - .../AudienceInsightsServiceClientTest.php | 471 - .../Client/AudienceServiceClientTest.php | 161 - .../Client/BatchJobServiceClientTest.php | 442 - .../BiddingDataExclusionServiceClientTest.php | 161 - ...SeasonalityAdjustmentServiceClientTest.php | 161 - .../BiddingStrategyServiceClientTest.php | 161 - .../Client/BillingSetupServiceClientTest.php | 162 - .../BrandSuggestionServiceClientTest.php | 161 - .../Client/CampaignAssetServiceClientTest.php | 161 - .../CampaignAssetSetServiceClientTest.php | 161 - .../CampaignBidModifierServiceClientTest.php | 161 - .../CampaignBudgetServiceClientTest.php | 161 - ...ampaignConversionGoalServiceClientTest.php | 161 - .../CampaignCriterionServiceClientTest.php | 161 - .../CampaignCustomizerServiceClientTest.php | 161 - .../Client/CampaignDraftServiceClientTest.php | 369 - ...paignExtensionSettingServiceClientTest.php | 161 - .../Client/CampaignFeedServiceClientTest.php | 161 - .../Client/CampaignGroupServiceClientTest.php | 161 - .../Client/CampaignLabelServiceClientTest.php | 161 - ...CampaignLifecycleGoalServiceClientTest.php | 162 - .../Client/CampaignServiceClientTest.php | 161 - .../CampaignSharedSetServiceClientTest.php | 161 - .../ConversionActionServiceClientTest.php | 161 - ...rsionAdjustmentUploadServiceClientTest.php | 175 - ...versionCustomVariableServiceClientTest.php | 161 - ...ionGoalCampaignConfigServiceClientTest.php | 161 - .../ConversionUploadServiceClientTest.php | 249 - .../ConversionValueRuleServiceClientTest.php | 161 - ...onversionValueRuleSetServiceClientTest.php | 161 - .../CustomAudienceServiceClientTest.php | 161 - .../CustomConversionGoalServiceClientTest.php | 161 - .../CustomInterestServiceClientTest.php | 161 - .../Client/CustomerAssetServiceClientTest.php | 161 - .../CustomerAssetSetServiceClientTest.php | 161 - .../CustomerClientLinkServiceClientTest.php | 162 - ...ustomerConversionGoalServiceClientTest.php | 161 - .../CustomerCustomizerServiceClientTest.php | 161 - ...tomerExtensionSettingServiceClientTest.php | 161 - .../Client/CustomerFeedServiceClientTest.php | 161 - .../Client/CustomerLabelServiceClientTest.php | 161 - ...CustomerLifecycleGoalServiceClientTest.php | 162 - .../CustomerManagerLinkServiceClientTest.php | 245 - ...omerNegativeCriterionServiceClientTest.php | 161 - .../Client/CustomerServiceClientTest.php | 297 - ...ConversionValueSchemaServiceClientTest.php | 138 - ...rUserAccessInvitationServiceClientTest.php | 162 - .../CustomerUserAccessServiceClientTest.php | 162 - .../CustomizerAttributeServiceClientTest.php | 161 - .../Client/ExperimentArmServiceClientTest.php | 161 - .../Client/ExperimentServiceClientTest.php | 610 -- .../ExtensionFeedItemServiceClientTest.php | 161 - .../Client/FeedItemServiceClientTest.php | 161 - .../FeedItemSetLinkServiceClientTest.php | 161 - .../Client/FeedItemSetServiceClientTest.php | 161 - .../FeedItemTargetServiceClientTest.php | 161 - .../Client/FeedMappingServiceClientTest.php | 161 - .../Services/Client/FeedServiceClientTest.php | 161 - .../GeoTargetConstantServiceClientTest.php | 138 - .../GoogleAdsFieldServiceClientTest.php | 255 - .../Client/GoogleAdsServiceClientTest.php | 341 - .../Client/InvoiceServiceClientTest.php | 182 - ...ordPlanAdGroupKeywordServiceClientTest.php | 161 - .../KeywordPlanAdGroupServiceClientTest.php | 161 - ...rdPlanCampaignKeywordServiceClientTest.php | 161 - .../KeywordPlanCampaignServiceClientTest.php | 161 - .../KeywordPlanIdeaServiceClientTest.php | 371 - .../Client/KeywordPlanServiceClientTest.php | 161 - .../KeywordThemeConstantServiceClientTest.php | 138 - .../Client/LabelServiceClientTest.php | 161 - .../OfflineUserDataJobServiceClientTest.php | 361 - .../PaymentsAccountServiceClientTest.php | 151 - ...ProductLinkInvitationServiceClientTest.php | 176 - .../Client/ProductLinkServiceClientTest.php | 238 - .../Client/ReachPlanServiceClientTest.php | 292 - .../RecommendationServiceClientTest.php | 231 - ...mendationSubscriptionServiceClientTest.php | 161 - .../RemarketingActionServiceClientTest.php | 161 - .../SharedCriterionServiceClientTest.php | 161 - .../Client/SharedSetServiceClientTest.php | 161 - .../SmartCampaignSettingServiceClientTest.php | 221 - .../SmartCampaignSuggestServiceClientTest.php | 302 - ...PartyAppAnalyticsLinkServiceClientTest.php | 138 - ...TravelAssetSuggestionServiceClientTest.php | 161 - .../Client/UserDataServiceClientTest.php | 169 - .../Client/UserListServiceClientTest.php | 161 - .../ConversionActionServiceClientTest.php | 123 - ...rsionAdjustmentUploadServiceClientTest.php | 129 - ...versionCustomVariableServiceClientTest.php | 123 - ...ionGoalCampaignConfigServiceClientTest.php | 123 - .../ConversionUploadServiceClientTest.php | 196 - .../ConversionValueRuleServiceClientTest.php | 123 - ...onversionValueRuleSetServiceClientTest.php | 123 - .../CustomAudienceServiceClientTest.php | 123 - .../CustomConversionGoalServiceClientTest.php | 123 - .../CustomInterestServiceClientTest.php | 123 - .../CustomerAssetServiceClientTest.php | 123 - .../CustomerAssetSetServiceClientTest.php | 123 - .../CustomerClientLinkServiceClientTest.php | 124 - ...ustomerConversionGoalServiceClientTest.php | 123 - .../CustomerCustomizerServiceClientTest.php | 123 - ...tomerExtensionSettingServiceClientTest.php | 123 - .../CustomerFeedServiceClientTest.php | 123 - .../CustomerLabelServiceClientTest.php | 123 - ...CustomerLifecycleGoalServiceClientTest.php | 124 - .../CustomerManagerLinkServiceClientTest.php | 192 - ...omerNegativeCriterionServiceClientTest.php | 123 - .../Services/CustomerServiceClientTest.php | 245 - ...ConversionValueSchemaServiceClientTest.php | 113 - ...rUserAccessInvitationServiceClientTest.php | 124 - .../CustomerUserAccessServiceClientTest.php | 124 - .../CustomizerAttributeServiceClientTest.php | 123 - .../ExperimentArmServiceClientTest.php | 123 - .../Services/ExperimentServiceClientTest.php | 550 - .../ExtensionFeedItemServiceClientTest.php | 123 - .../Services/FeedItemServiceClientTest.php | 123 - .../FeedItemSetLinkServiceClientTest.php | 123 - .../Services/FeedItemSetServiceClientTest.php | 123 - .../FeedItemTargetServiceClientTest.php | 123 - .../Services/FeedMappingServiceClientTest.php | 123 - .../V15/Services/FeedServiceClientTest.php | 123 - .../GeoTargetConstantServiceClientTest.php | 113 - .../GoogleAdsFieldServiceClientTest.php | 204 - .../Services/GoogleAdsServiceClientTest.php | 289 - .../V15/Services/InvoiceServiceClientTest.php | 132 - ...ordPlanAdGroupKeywordServiceClientTest.php | 123 - .../KeywordPlanAdGroupServiceClientTest.php | 123 - ...rdPlanCampaignKeywordServiceClientTest.php | 123 - .../KeywordPlanCampaignServiceClientTest.php | 123 - .../KeywordPlanIdeaServiceClientTest.php | 316 - .../Services/KeywordPlanServiceClientTest.php | 123 - .../KeywordThemeConstantServiceClientTest.php | 113 - .../V15/Services/LabelServiceClientTest.php | 123 - .../OfflineUserDataJobServiceClientTest.php | 311 - .../PaymentsAccountServiceClientTest.php | 119 - ...ProductLinkInvitationServiceClientTest.php | 130 - .../Services/ProductLinkServiceClientTest.php | 191 - .../Services/ReachPlanServiceClientTest.php | 240 - .../RecommendationServiceClientTest.php | 186 - ...mendationSubscriptionServiceClientTest.php | 123 - .../RemarketingActionServiceClientTest.php | 123 - .../SharedCriterionServiceClientTest.php | 123 - .../Services/SharedSetServiceClientTest.php | 123 - .../SmartCampaignSettingServiceClientTest.php | 182 - .../SmartCampaignSuggestServiceClientTest.php | 253 - ...PartyAppAnalyticsLinkServiceClientTest.php | 113 - ...TravelAssetSuggestionServiceClientTest.php | 123 - .../Services/UserDataServiceClientTest.php | 127 - .../Services/UserListServiceClientTest.php | 123 - .../Client/AdGroupAdServiceClientTest.php | 69 + .../AudienceInsightsServiceClientTest.php | 84 + .../ShareablePreviewServiceClientTest.php} | 62 +- 4388 files changed, 3574 insertions(+), 501634 deletions(-) delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/AdAsset.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/AdTypeInfos.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/AssetPolicy.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/AssetSetTypes.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/AssetTypes.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/AssetUsage.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Audiences.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Bidding.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/ClickLocation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Consent.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Criteria.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/CriterionCategoryAvailability.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/CustomParameter.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/CustomizerValue.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Dates.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Extensions.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/FeedCommon.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/FeedItemSetFilterTypeInfos.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/FinalAppUrl.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/FrequencyCap.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/KeywordPlanCommon.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/LifecycleGoals.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/LocalServices.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/MatchingFunction.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/MetricGoal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Metrics.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/OfflineUserData.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Policy.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/PolicySummary.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/RealTimeBiddingSetting.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Segments.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Simulation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/TagSnippet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/TargetingSetting.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/TextLabel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/UrlCollection.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/UserLists.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Common/Value.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AccessReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AccessRole.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdDestinationType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationMode.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdNetworkType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdStrength.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AgeRangeType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStore.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AppStore.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetAutomationType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetFieldType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasons.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetSource.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AssetType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AttributionModel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimension.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AudienceScope.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/AudienceStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BatchJobStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BidModifierSource.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BiddingSource.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitability.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BrandState.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethod.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BudgetPeriod.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BudgetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/BudgetType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingState.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CallToActionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CallType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CampaignStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ChangeClientType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ClickType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConsentStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ContentLabelType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategory.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucket.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucket.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionOrigin.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimension.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucket.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityMode.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityMode.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CriterionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomInterestType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationMode.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomerStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/DayOfWeek.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/Device.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSetting.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/DistanceBucket.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ExperimentMetric.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirection.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ExperimentStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ExperimentType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDevice.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ExtensionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSource.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedAttributeType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDevice.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedOrigin.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FeedStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnit.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/GenderType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestriction.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/GeoTargetingType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategory.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucket.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/HotelRateType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/IncomeRangeType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/InteractionEventType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/InteractionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/InvoiceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/KeywordMatchType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastInterval.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetwork.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LabelStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntent.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStore.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LinkedAccountType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LinkedProductType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndex.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSource.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCondition.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ListingType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesConversationType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnits.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocationSourceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperator.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MediaType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MimeType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MinuteOfHour.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MobileAppVendor.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MobileDeviceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/MonthOfYear.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRange.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ParentalStatusType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PaymentMode.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PlaceholderType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PlacementType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDevice.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifier.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnit.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProductCategoryState.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProductChannel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivity.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProductCondition.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndex.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifier.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasion.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnits.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucket.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRange.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetwork.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurface.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/RecommendationType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ResourceLimitType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ResponseContentType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScope.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SharedSetStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SharedSetType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethod.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SimulationType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCredit.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValue.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/Slot.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SpendingLimitType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SummaryRowSetting.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/SystemManagedEntitySource.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnit.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/TargetingDimension.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/TimeType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormat.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/TrackingCodeType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSource.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListClosingReason.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperator.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperator.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperator.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperator.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListRuleType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListSizeRange.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperator.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/UserListType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimension.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlMode.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/VanityPharmaText.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/VideoThumbnail.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperand.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperator.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AccessInvitationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AccountLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdCustomizerError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupAdError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdParameterError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdSharingError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AdxError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetGroupError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetSetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AudienceError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AuthenticationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/AuthorizationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/BatchJobError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/BiddingError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/BillingSetupError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignDraftError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignFeedError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ChangeEventError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ChangeStatusError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CollectionSizeError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ContextError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ConversionActionError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ConversionUploadError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CountryCodeError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CriterionError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CurrencyError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomAudienceError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomInterestError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomerError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomerFeedError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/DatabaseError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/DateError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/DateRangeError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/DistinctError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/EnumError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/Errors.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ExperimentArmError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ExperimentError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FeedError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemSetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FeedMappingError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FieldError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FieldMaskError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FunctionError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/FunctionParsingError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/HeaderError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/IdError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ImageError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/InternalError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/InvoiceError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/LabelError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/LanguageCodeError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ListOperationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ManagerLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/MediaBundleError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/MediaFileError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/MediaUploadError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/MerchantCenterError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/MultiplierError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/MutateError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/NotEmptyError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/NullError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/OperatorError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/PartialFailureError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/PolicyFindingError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/PolicyViolationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ProductLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/QueryError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/QuotaError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/RangeError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ReachPlanError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/RecommendationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/RecommendationSubscriptionError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/RegionCodeError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/RequestError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/SettingError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/SharedCriterionError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/SharedSetError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/SizeLimitError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/SmartCampaignError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/StringFormatError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/StringLengthError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/TimeZoneError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/UrlFieldError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/UserDataError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/UserListError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationError.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AccountBudget.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AccountBudgetProposal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AccountLink.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Ad.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroup.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAd.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetCombinationView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdLabel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAsset.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAssetSet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAudienceView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupBidModifier.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionCustomizer.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionLabel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionSimulation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCustomizer.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupExtensionSetting.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupFeed.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupLabel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupSimulation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdParameter.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AdScheduleView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AgeRangeView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleCampaign.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Asset.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypeView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroup.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupAsset.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupListingGroupFilter.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupProductGroupView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupSignal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupTopCombinationView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetSet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetSetAsset.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/AssetSetTypeView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Audience.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/BatchJob.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/BiddingDataExclusion.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/BiddingSeasonalityAdjustment.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/BiddingStrategy.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/BiddingStrategySimulation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/BillingSetup.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CallView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Campaign.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignAsset.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignAssetSet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignAudienceView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignBidModifier.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignBudget.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignConversionGoal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignCriterion.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignCustomizer.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignDraft.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignExtensionSetting.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignFeed.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignGroup.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignLabel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignLifecycleGoal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignSearchTermInsight.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignSharedSet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CampaignSimulation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CarrierConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ChangeEvent.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ChangeStatus.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ClickView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CombinedAudience.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ConversionAction.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ConversionCustomVariable.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ConversionGoalCampaignConfig.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ConversionValueRuleSet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CurrencyConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomAudience.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomConversionGoal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomInterest.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Customer.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerAsset.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerAssetSet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerClient.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerClientLink.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerConversionGoal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerCustomizer.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerExtensionSetting.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerFeed.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerLabel.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerManagerLink.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerNegativeCriterion.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerSearchTermInsight.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccess.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccessInvitation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/CustomizerAttribute.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/DetailPlacementView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/DetailedDemographic.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/DisplayKeywordView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/DistanceView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/DomainCategory.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/DynamicSearchAdsSearchTermView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ExpandedLandingPageView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Experiment.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ExperimentArm.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ExtensionFeedItem.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Feed.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/FeedItem.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemSet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemSetLink.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemTarget.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/FeedMapping.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/FeedPlaceholderView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/GenderView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/GeoTargetConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/GeographicView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/GoogleAdsField.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/GroupPlacementView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/HotelGroupView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/HotelPerformanceView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/HotelReconciliation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/IncomeRangeView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Invoice.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlan.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroup.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroupKeyword.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaign.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaignKeyword.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/KeywordThemeConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/KeywordView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Label.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/LandingPageView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/LanguageConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionData.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/LifeEvent.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesLead.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesLeadConversation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesVerificationArtifact.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/LocationView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ManagedPlacementView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/MediaFile.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/MobileAppCategoryConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/MobileDeviceConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/OfflineConversionUploadClientSummary.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJob.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/OperatingSystemVersionConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/PaidOrganicSearchTermView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ParentalStatusView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/PaymentsAccount.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/PerStoreView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ProductGroupView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ProductLink.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ProductLinkInvitation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/QualifyingQuestion.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Recommendation.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/RecommendationSubscription.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/RemarketingAction.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/SearchTermView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/SharedCriterion.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/SharedSet.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ShoppingPerformanceView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSearchTermView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLink.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/TopicConstant.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/TopicView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/TravelActivityGroupView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/TravelActivityPerformanceView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/UserInterest.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/UserList.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/UserLocationView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/Video.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Resources/WebpageView.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AccountLinkService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAdService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAssetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupFeedService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupLabelService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdGroupService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdParameterService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AdService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AssetGroupService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AssetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AssetSetAssetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AssetSetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AudienceInsightsService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/AudienceService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/BatchJobService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/BiddingStrategyService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/BillingSetupService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/BrandSuggestionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignAssetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignBudgetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignCriterionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignDraftService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignFeedService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignGroupService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignLabelService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ConversionActionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ConversionUploadService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomAudienceService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomInterestService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerAssetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerFeedService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerLabelService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ExperimentArmService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ExperimentService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/FeedItemService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/FeedItemSetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/FeedItemTargetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/FeedMappingService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/FeedService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/GoogleAdsService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/InvoiceService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/LabelService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/PaymentsAccountService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ProductLinkService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ReachPlanService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/RecommendationService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/RemarketingActionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/SharedCriterionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/SharedSetService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/UserDataService.php delete mode 100644 metadata/Google/Ads/GoogleAds/V15/Services/UserListService.php create mode 100644 metadata/Google/Ads/GoogleAds/V17/Enums/AdFormatType.php create mode 100644 metadata/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoal.php create mode 100644 metadata/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnit.php create mode 100644 metadata/Google/Ads/GoogleAds/V17/Errors/AutomaticallyCreatedAssetRemovalError.php create mode 100644 metadata/Google/Ads/GoogleAds/V17/Errors/ShareablePreviewError.php create mode 100644 metadata/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadConversionActionSummary.php create mode 100644 metadata/Google/Ads/GoogleAds/V17/Services/ShareablePreviewService.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsCallLogger.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClient.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientBuilder.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsException.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTrait.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresInterceptor.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresUnaryCall.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsGapicClientTrait.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingInterceptor.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingServerStreamingCall.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingUnaryCall.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsMetadataTrait.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsOperationClient.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsResponseMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsServerStreamDecorator.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/InfoRedactor.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/LogMessageFormatter.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/LoggerFactory.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/ServerStreamingGoogleAdsExceptionMiddleware.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/ServerStreamingGoogleAdsResponseMetadataCallable.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/ServiceClientFactoryTrait.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/StatusMetadataExtractor.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/UnaryGoogleAdsExceptionMiddleware.php delete mode 100644 src/Google/Ads/GoogleAds/Lib/V15/UnaryGoogleAdsResponseMetadataCallable.php delete mode 100644 src/Google/Ads/GoogleAds/Util/V15/GoogleAdsErrors.php delete mode 100644 src/Google/Ads/GoogleAds/Util/V15/GoogleAdsFailures.php delete mode 100644 src/Google/Ads/GoogleAds/Util/V15/PartialFailures.php delete mode 100644 src/Google/Ads/GoogleAds/Util/V15/ResourceNames.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ActivityCountryInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ActivityIdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ActivityRatingInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AdAssetPolicySummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AdCallToActionAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AdDiscoveryCarouselCardAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AdImageAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AdMediaBundleAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AdScheduleInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AdTextAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AdVideoAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AddressInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AffiliateLocationFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AgeDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AgeRangeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AgeSegment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AppAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AppEngagementAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AppFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AppPaymentModelInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AppPreRegistrationAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AssetDisapproved.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AssetInteractionTarget.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AssetLinkPrimaryStatusDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AssetUsage.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AudienceDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AudienceExclusionDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AudienceInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AudienceSegment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/AudienceSegmentDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BasicUserListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BookOnGoogleAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BrandInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BrandListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BudgetCampaignAssociationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BudgetSimulationPoint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BudgetSimulationPointList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BusinessNameFilter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BusinessProfileBusinessNameFilter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocationGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocationSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CallAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CallAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CallFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CallToActionAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CalloutAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CalloutFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CarrierInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ChainFilter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ChainLocationGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ChainSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ClickLocation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CombinedAudienceInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Commission.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ConceptGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Consent.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ContentLabelInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CpcBidSimulationPoint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CpcBidSimulationPointList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CpvBidSimulationPoint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CpvBidSimulationPointList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryAvailability.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryChannelAvailability.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryLocaleAvailability.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CrmBasedUserListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CustomAffinityInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CustomAudienceInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CustomAudienceSegment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CustomIntentInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CustomParameter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CustomerMatchUserListMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/CustomizerValue.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DateRange.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DetailedDemographicSegment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DeviceInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DiscoveryCarouselAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DiscoveryCarouselCardAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DiscoveryMultiAssetAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DiscoveryVideoResponsiveAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DisplayUploadAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicAffiliateLocationSetFilter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicBusinessProfileLocationGroupFilter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicCustomAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicEducationAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicFlightsAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicHotelsAndRentalsAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicJobsAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicLocalAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicLocationSetFilter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicRealEstateAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/DynamicTravelAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/EnhancedCpc.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/EventAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/EventItemAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ExclusionSegment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ExpandedDynamicSearchAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ExpandedTextAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/FinalAppUrl.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/FlexibleRuleOperandInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/FlexibleRuleUserListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/FrequencyCapEntry.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/FrequencyCapKey.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/GenderDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/GenderInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/GeoPointInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HistoricalMetricsOptions.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelAdvanceBookingWindowInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelCalloutAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelCalloutFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelCheckInDateRangeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelCheckInDayInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelCityInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelClassInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelCountryRegionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelDateSelectionTypeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelIdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelLengthOfStayInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelPropertyAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HotelStateInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/HouseholdIncomeDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ImageAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ImageAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ImageDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ImageFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/InFeedVideoAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/IncomeRangeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/InteractionTypeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/IpBlockInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ItemAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Keyword.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/KeywordAnnotations.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/KeywordConcept.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/KeywordInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/KeywordPlanAggregateMetricResults.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/KeywordPlanAggregateMetrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/KeywordPlanDeviceSearches.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/KeywordPlanHistoricalMetrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/KeywordThemeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LanguageInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LeadFormAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LeadFormCustomQuestionField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LeadFormDeliveryMethod.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LeadFormField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LeadFormSingleChoiceAnswers.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LegacyAppInstallAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LegacyResponsiveDisplayAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LifeEventSegment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LifecycleGoalValueSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ListingDimensionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ListingDimensionPath.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ListingGroupInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ListingScopeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LocalAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LocalServiceIdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LocalServicesDocumentReadOnly.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LocationAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LocationFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LocationGroupInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LocationInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LocationSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LogicalUserListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LogicalUserListOperandInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/LookalikeUserListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ManualCpa.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ManualCpc.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ManualCpm.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ManualCpv.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MapsLocationInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MapsLocationSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MatchingFunction.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MaximizeConversionValue.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MaximizeConversions.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MediaBundleAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MetricGoal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Metrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MobileAppAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MobileAppCategoryInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MobileApplicationInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MobileDeviceInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Money.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/MonthlySearchVolume.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/NegativeKeywordListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/OfflineUserAddressInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Operand.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Operand/ConstantOperand.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Operand/FeedAttributeOperand.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Operand/FunctionOperand.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Operand/RequestContextOperand.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/OperatingSystemVersionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PageFeedAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ParentalStatusDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ParentalStatusInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PercentCpc.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PercentCpcBidSimulationPoint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PercentCpcBidSimulationPointList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PlacementInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicySummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/CountryConstraint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/CountryConstraintList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/ResellerConstraint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEntry.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationMismatch.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationNotWorking.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationTextList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/TextList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/WebsiteList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyValidationParameter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PolicyViolationKey.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PriceAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PriceFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PriceOffer.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PriceOffering.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductBrandInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductCategoryInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductChannelExclusivityInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductChannelInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductConditionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductCustomAttributeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductGroupingInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductItemIdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductLabelsInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductLegacyConditionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductTypeFullInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProductTypeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PromotionAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/PromotionFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ProximityInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/RealTimeBiddingSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ResponsiveDisplayAdControlSpec.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ResponsiveDisplayAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ResponsiveSearchAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/RuleBasedUserListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/SearchThemeInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/SearchVolumeRange.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Segments.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ShoppingComparisonListingAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ShoppingLoyalty.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ShoppingProductAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/ShoppingSmartAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/SimilarUserListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/SitelinkAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/SitelinkFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/SkAdNetworkSourceApp.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/SmartCampaignAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/StoreAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/StoreSalesMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/StoreSalesThirdPartyMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/StructuredSnippetAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/StructuredSnippetFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TagSnippet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetCpa.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetCpaSimulationPoint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetCpaSimulationPointList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetCpm.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShare.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShareSimulationPoint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShareSimulationPointList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetRestriction.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetRestrictionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetRestrictionOperation/Operator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetRoas.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetRoasSimulationPoint.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetRoasSimulationPointList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetSpend.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TargetingSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TextAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TextAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TextLabel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TextMessageFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TopicInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TransactionAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/TravelAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UnknownListingDimensionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UrlCollection.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserData.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserInterestInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserInterestSegment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListActionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListDateRuleItemInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListLogicalRuleInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListNumberRuleItemInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListRuleInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListRuleItemGroupInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListRuleItemInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListSegment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/UserListStringRuleItemInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/Value.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/VideoAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/VideoBumperInStreamAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/VideoNonSkippableInStreamAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/VideoOutstreamAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/VideoResponsiveAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/VideoTrueViewInStreamAdInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/WebhookDelivery.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/WebpageConditionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/WebpageInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/WebpageSampleInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/YearMonth.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/YearMonthRange.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/YouTubeChannelInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/YouTubeVideoInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Common/YoutubeVideoAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatusEnum/AccessInvitationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccessReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccessReasonEnum/AccessReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccessRoleEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccessRoleEnum/AccessRole.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatusEnum/AccountBudgetProposalStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalTypeEnum/AccountBudgetProposalType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatusEnum/AccountBudgetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatusEnum/AccountLinkStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderFieldEnum/AdCustomizerPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdDestinationTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdDestinationTypeEnum/AdDestinationType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationModeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationModeEnum/AdGroupAdRotationMode.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatusEnum/AdGroupAdStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatusEnum/AdGroupCriterionApprovalStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatusEnum/AdGroupCriterionStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupStatusEnum/AdGroupStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdGroupTypeEnum/AdGroupType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdNetworkTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdNetworkTypeEnum/AdNetworkType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatusEnum/AdServingOptimizationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdStrengthEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdStrengthEnum/AdStrength.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdTypeEnum/AdType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubTypeEnum/AdvertisingChannelSubType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelTypeEnum/AdvertisingChannelType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipTypeEnum/AffiliateLocationFeedRelationshipType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderFieldEnum/AffiliateLocationPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AgeRangeTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AgeRangeTypeEnum/AgeRangeType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionTypeEnum/AndroidPrivacyInteractionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkTypeEnum/AndroidPrivacyNetworkType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoalEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoalEnum/AppBiddingGoal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStoreEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStoreEnum/AppCampaignAppStore.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalTypeEnum/AppCampaignBiddingStrategyGoalType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelTypeEnum/AppPaymentModelType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderFieldEnum/AppPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppStoreEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppStoreEnum/AppStore.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemTypeEnum/AppUrlOperatingSystemType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatusEnum/AssetAutomationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationTypeEnum/AssetAutomationType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetFieldTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetFieldTypeEnum/AssetFieldType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusEnum/AssetGroupPrimaryStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReasonEnum/AssetGroupPrimaryStatusReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatusEnum/AssetGroupSignalApprovalStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatusEnum/AssetGroupStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusEnum/AssetLinkPrimaryStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReasonEnum/AssetLinkPrimaryStatusReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatusEnum/AssetLinkStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasonsEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasonsEnum/AssetOfflineEvaluationErrorReasons.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabelEnum/AssetPerformanceLabel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatusEnum/AssetSetAssetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatusEnum/AssetSetLinkStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSetStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSetStatusEnum/AssetSetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSetTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSetTypeEnum/AssetSetType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetSourceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AssetTypeEnum/AssetType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatusEnum/AsyncActionStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AttributionModelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AttributionModelEnum/AttributionModel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimensionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimensionEnum/AudienceInsightsDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AudienceScopeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AudienceScopeEnum/AudienceScope.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AudienceStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/AudienceStatusEnum/AudienceStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BatchJobStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BatchJobStatusEnum/BatchJobStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BidModifierSourceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BidModifierSourceEnum/BidModifierSource.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BiddingSourceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BiddingSourceEnum/BiddingSource.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatusEnum/BiddingStrategyStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatusEnum/BiddingStrategySystemStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyTypeEnum/BiddingStrategyType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatusEnum/BillingSetupStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitabilityEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitabilityEnum/BrandSafetySuitability.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BrandStateEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BrandStateEnum/BrandState.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatusEnum/BudgetCampaignAssociationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethodEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethodEnum/BudgetDeliveryMethod.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BudgetPeriodEnum/BudgetPeriod.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BudgetStatusEnum/BudgetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BudgetTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/BudgetTypeEnum/BudgetType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingStateEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingStateEnum/CallConversionReportingState.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderFieldEnum/CallPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallToActionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallToActionTypeEnum/CallToActionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocationEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocationEnum/CallTrackingDisplayLocation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CallTypeEnum/CallType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderFieldEnum/CalloutPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatusEnum/CampaignCriterionStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatusEnum/CampaignDraftStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentTypeEnum/CampaignExperimentType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatusEnum/CampaignGroupStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusEnum/CampaignPrimaryStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReasonEnum/CampaignPrimaryStatusReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatusEnum/CampaignServingStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatusEnum/CampaignSharedSetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CampaignStatusEnum/CampaignStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipTypeEnum/ChainRelationshipType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChangeClientTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChangeClientTypeEnum/ChangeClientType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceTypeEnum/ChangeEventResourceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperationEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperationEnum/ChangeStatusOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceTypeEnum/ChangeStatusResourceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ClickTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ClickTypeEnum/ClickType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConsentStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConsentStatusEnum/ConsentStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ContentLabelTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ContentLabelTypeEnum/ContentLabelType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategoryEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategoryEnum/ConversionActionCategory.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingTypeEnum/ConversionActionCountingType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatusEnum/ConversionActionStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionActionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionActionTypeEnum/ConversionActionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentTypeEnum/ConversionAdjustmentType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventTypeEnum/ConversionAttributionEventType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatusEnum/ConversionCustomVariableStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum/ConversionEnvironment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucketEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucketEnum/ConversionLagBucket.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucketEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucketEnum/ConversionOrAdjustmentLagBucket.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionOriginEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionOriginEnum/ConversionOrigin.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum/ConversionTrackingStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimensionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimensionEnum/ConversionValueRulePrimaryDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatusEnum/ConversionValueRuleSetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatusEnum/ConversionValueRuleStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucketEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucketEnum/ConvertingUserPriorEngagementTypeAndLtvBucket.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityModeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityModeEnum/CriterionCategoryChannelAvailabilityMode.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityModeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityModeEnum/CriterionCategoryLocaleAvailabilityMode.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatusEnum/CriterionSystemServingStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CriterionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CriterionTypeEnum/CriterionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberTypeEnum/CustomAudienceMemberType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatusEnum/CustomAudienceStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceTypeEnum/CustomAudienceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatusEnum/CustomConversionGoalStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberTypeEnum/CustomInterestMemberType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatusEnum/CustomInterestStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomInterestTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomInterestTypeEnum/CustomInterestType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderFieldEnum/CustomPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationModeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationModeEnum/CustomerAcquisitionOptimizationMode.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyTypeEnum/CustomerMatchUploadKeyType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReasonEnum/CustomerPayPerConversionEligibilityFailureReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomerStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomerStatusEnum/CustomerStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatusEnum/CustomizerAttributeStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeTypeEnum/CustomizerAttributeType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatusEnum/CustomizerValueStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatusEnum/DataDrivenModelStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DayOfWeekEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DayOfWeekEnum/DayOfWeek.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DeviceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DeviceEnum/Device.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSettingEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSettingEnum/DisplayAdFormatSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductTypeEnum/DisplayUploadProductType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DistanceBucketEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DistanceBucketEnum/DistanceBucket.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionFieldEnum/DsaPageFeedCriterionField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderFieldEnum/EducationPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirectionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirectionEnum/ExperimentMetricDirection.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricEnum/ExperimentMetric.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExperimentStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExperimentStatusEnum/ExperimentStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExperimentTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExperimentTypeEnum/ExperimentType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDeviceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDeviceEnum/ExtensionSettingDevice.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExtensionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExtensionTypeEnum/ExtensionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSourceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSourceEnum/ExternalConversionSource.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedAttributeTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedAttributeTypeEnum/FeedAttributeType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatusEnum/FeedItemQualityApprovalStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReasonEnum/FeedItemQualityDisapprovalReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatusEnum/FeedItemSetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterTypeEnum/FeedItemSetStringFilterType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemStatusEnum/FeedItemStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDeviceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDeviceEnum/FeedItemTargetDevice.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatusEnum/FeedItemTargetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetTypeEnum/FeedItemTargetType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatusEnum/FeedItemValidationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatusEnum/FeedLinkStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionTypeEnum/FeedMappingCriterionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatusEnum/FeedMappingStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedOriginEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedOriginEnum/FeedOrigin.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FeedStatusEnum/FeedStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderFieldEnum/FlightPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventTypeEnum/FrequencyCapEventType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevelEnum/FrequencyCapLevel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnitEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnitEnum/FrequencyCapTimeUnit.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GenderTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GenderTypeEnum/GenderType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatusEnum/GeoTargetConstantStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestrictionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestrictionEnum/GeoTargetingRestriction.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingTypeEnum/GeoTargetingType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevelEnum/GoalConfigLevel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategoryEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategoryEnum/GoogleAdsFieldCategory.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataTypeEnum/GoogleAdsFieldDataType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatusEnum/GoogleVoiceCallStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatusEnum/HotelAssetSuggestionStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionTypeEnum/HotelDateSelectionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderFieldEnum/HotelPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucketEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucketEnum/HotelPriceBucket.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelRateTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelRateTypeEnum/HotelRateType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatusEnum/HotelReconciliationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderFieldEnum/ImagePlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/IncomeRangeTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/IncomeRangeTypeEnum/IncomeRangeType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/InteractionEventTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/InteractionEventTypeEnum/InteractionEventType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/InteractionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/InteractionTypeEnum/InteractionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/InvoiceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/InvoiceTypeEnum/InvoiceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderFieldEnum/JobPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordMatchTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordMatchTypeEnum/KeywordMatchType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricTypeEnum/KeywordPlanAggregateMetricType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevelEnum/KeywordPlanCompetitionLevel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupTypeEnum/KeywordPlanConceptGroupType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastIntervalEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastIntervalEnum/KeywordPlanForecastInterval.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotationEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotationEnum/KeywordPlanKeywordAnnotation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetworkEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetworkEnum/KeywordPlanNetwork.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LabelStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LabelStatusEnum/LabelStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionTypeEnum/LeadFormCallToActionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntentEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntentEnum/LeadFormDesiredIntent.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputTypeEnum/LeadFormFieldUserInputType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionTypeEnum/LeadFormPostSubmitCallToActionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStoreEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStoreEnum/LegacyAppInstallAdAppStore.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LinkedAccountTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LinkedAccountTypeEnum/LinkedAccountType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LinkedProductTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LinkedProductTypeEnum/LinkedProductType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndexEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndexEnum/ListingGroupFilterCustomAttributeIndex.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSourceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSourceEnum/ListingGroupFilterListingSource.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevelEnum/ListingGroupFilterProductCategoryLevel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannelEnum/ListingGroupFilterProductChannel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductConditionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductConditionEnum/ListingGroupFilterProductCondition.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevelEnum/ListingGroupFilterProductTypeLevel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum/ListingGroupFilterType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingGroupTypeEnum/ListingGroupType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ListingTypeEnum/ListingType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderFieldEnum/LocalPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReasonEnum/LocalServicesInsuranceRejectionReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadConversationTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadConversationTypeEnum/ConversationType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatusEnum/LeadStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadTypeEnum/LeadType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReasonEnum/LocalServicesLicenseRejectionReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantTypeEnum/ParticipantType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatusEnum/LocalServicesVerificationArtifactStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactTypeEnum/LocalServicesVerificationArtifactType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatusEnum/LocalServicesVerificationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionFieldEnum/LocationExtensionTargetingCriterionField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnitsEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnitsEnum/LocationGroupRadiusUnits.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipTypeEnum/LocationOwnershipType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderFieldEnum/LocationPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationSourceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationSourceTypeEnum/LocationSourceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterTypeEnum/LocationStringFilterType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevelEnum/LookalikeExpansionLevel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatusEnum/ManagerLinkStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextTypeEnum/MatchingFunctionContextType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperatorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperatorEnum/MatchingFunctionOperator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MediaTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MediaTypeEnum/MediaType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderFieldEnum/MessagePlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MimeTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MimeTypeEnum/MimeType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MinuteOfHourEnum/MinuteOfHour.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MobileAppVendorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MobileDeviceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MobileDeviceTypeEnum/MobileDeviceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MonthOfYearEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/MonthOfYearEnum/MonthOfYear.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetTypeEnum/NegativeGeoTargetType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum/OfflineConversionDiagnosticStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum/OfflineEventUploadClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReasonEnum/OfflineUserDataJobFailureReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRangeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRangeEnum/OfflineUserDataJobMatchRateRange.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatusEnum/OfflineUserDataJobStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobTypeEnum/OfflineUserDataJobType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorTypeEnum/OperatingSystemVersionOperatorType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalTypeEnum/OptimizationGoalType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ParentalStatusTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ParentalStatusTypeEnum/ParentalStatusType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PaymentModeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PaymentModeEnum/PaymentMode.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatusEnum/PerformanceMaxUpgradeStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PlaceholderTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PlaceholderTypeEnum/PlaceholderType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PlacementTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PlacementTypeEnum/PlacementType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatusEnum/PolicyApprovalStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatusEnum/PolicyReviewStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryTypeEnum/PolicyTopicEntryType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum/PolicyTopicEvidenceDestinationMismatchUrlType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDeviceEnum/PolicyTopicEvidenceDestinationNotWorkingDevice.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum/PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetTypeEnum/PositiveGeoTargetType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifierEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifierEnum/PriceExtensionPriceQualifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnitEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnitEnum/PriceExtensionPriceUnit.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionTypeEnum/PriceExtensionType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderFieldEnum/PricePlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevelEnum/ProductCategoryLevel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryStateEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryStateEnum/ProductCategoryState.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductChannelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductChannelEnum/ProductChannel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivityEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivityEnum/ProductChannelExclusivity.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductConditionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductConditionEnum/ProductCondition.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndexEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndexEnum/ProductCustomAttributeIndex.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatusEnum/ProductLinkInvitationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevelEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevelEnum/ProductTypeLevel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifierEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifierEnum/PromotionExtensionDiscountModifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasionEnum/PromotionExtensionOccasion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderFieldEnum/PromotionPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnitsEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnitsEnum/ProximityRadiusUnits.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucketEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucketEnum/QualityScoreBucket.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRangeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRangeEnum/ReachPlanAgeRange.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetworkEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetworkEnum/ReachPlanNetwork.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurfaceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurfaceEnum/ReachPlanSurface.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderFieldEnum/RealEstatePlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatusEnum/RecommendationSubscriptionStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/RecommendationTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/RecommendationTypeEnum/RecommendationType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperationEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperationEnum/ResourceChangeOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ResourceLimitTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ResourceLimitTypeEnum/ResourceLimitType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ResponseContentTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ResponseContentTypeEnum/ResponseContentType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageTypeEnum/SearchEngineResultsPageType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchTypeEnum/SearchTermMatchType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatusEnum/SearchTermTargetingStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScopeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScopeEnum/SeasonalityEventScope.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatusEnum/SeasonalityEventStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldTypeEnum/ServedAssetFieldType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SharedSetStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SharedSetStatusEnum/SharedSetStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SharedSetTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SharedSetTypeEnum/SharedSetType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum/Reason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethodEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethodEnum/SimulationModificationMethod.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SimulationTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SimulationTypeEnum/SimulationType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderFieldEnum/SitelinkPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventTypeEnum/SkAdNetworkAdEventType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCreditEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCreditEnum/SkAdNetworkAttributionCredit.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValueEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValueEnum/SkAdNetworkCoarseConversionValue.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceTypeEnum/SkAdNetworkSourceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserTypeEnum/SkAdNetworkUserType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SlotEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SlotEnum/Slot.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReasonEnum/SmartCampaignNotEligibleReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatusEnum/SmartCampaignStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SpendingLimitTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SpendingLimitTypeEnum/SpendingLimitType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderFieldEnum/StructuredSnippetPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SummaryRowSettingEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SummaryRowSettingEnum/SummaryRowSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SystemManagedResourceSourceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/SystemManagedResourceSourceEnum/SystemManagedResourceSource.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoalEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoalEnum/TargetCpaOptInRecommendationGoal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnitEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnitEnum/TargetFrequencyTimeUnit.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocationEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocationEnum/TargetImpressionShareLocation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TargetingDimensionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TargetingDimensionEnum/TargetingDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TimeTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TimeTypeEnum/TimeType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormatEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormatEnum/TrackingCodePageFormat.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TrackingCodeTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TrackingCodeTypeEnum/TrackingCodeType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderFieldEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderFieldEnum/TravelPlaceholderField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSourceEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSourceEnum/UserIdentifierSource.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyTypeEnum/UserInterestTaxonomyType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatusEnum/UserListAccessStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListClosingReasonEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListClosingReasonEnum/UserListClosingReason.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceTypeEnum/UserListCrmDataSourceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperatorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperatorEnum/UserListDateRuleItemOperator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperatorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperatorEnum/UserListFlexibleRuleOperator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperatorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperatorEnum/UserListLogicalRuleOperator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatusEnum/UserListMembershipStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperatorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperatorEnum/UserListNumberRuleItemOperator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatusEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatusEnum/UserListPrepopulationStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListRuleTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListRuleTypeEnum/UserListRuleType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListSizeRangeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListSizeRangeEnum/UserListSizeRange.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperatorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperatorEnum/UserListStringRuleItemOperator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/UserListTypeEnum/UserListType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceTypeEnum/ValueRuleDeviceType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchTypeEnum/ValueRuleGeoLocationMatchType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperationEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperationEnum/ValueRuleOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentTypeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentTypeEnum/ValueRuleSetAttachmentType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimensionEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimensionEnum/ValueRuleSetDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlModeEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlModeEnum/VanityPharmaDisplayUrlMode.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaTextEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaTextEnum/VanityPharmaText.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/VideoThumbnailEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/VideoThumbnailEnum/VideoThumbnail.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperandEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperandEnum/WebpageConditionOperand.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperatorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperatorEnum/WebpageConditionOperator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AccessInvitationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AccessInvitationErrorEnum/AccessInvitationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalErrorEnum/AccountBudgetProposalError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AccountLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AccountLinkErrorEnum/AccountLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdCustomizerErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdCustomizerErrorEnum/AdCustomizerError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdErrorEnum/AdError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupAdErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupAdErrorEnum/AdGroupAdError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierErrorEnum/AdGroupBidModifierError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerErrorEnum/AdGroupCriterionCustomizerError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionErrorEnum/AdGroupCriterionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerErrorEnum/AdGroupCustomizerError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupErrorEnum/AdGroupError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedErrorEnum/AdGroupFeedError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdParameterErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdParameterErrorEnum/AdParameterError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdSharingErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdSharingErrorEnum/AdSharingError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdxErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AdxErrorEnum/AdxError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetErrorEnum/AssetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetErrorEnum/AssetGroupAssetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetGroupErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetGroupErrorEnum/AssetGroupError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterErrorEnum/AssetGroupListingGroupFilterError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalErrorEnum/AssetGroupSignalError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetLinkErrorEnum/AssetLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetErrorEnum/AssetSetAssetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetSetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetSetErrorEnum/AssetSetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkErrorEnum/AssetSetLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AudienceErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AudienceErrorEnum/AudienceError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsErrorEnum/AudienceInsightsError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AuthenticationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AuthenticationErrorEnum/AuthenticationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AuthorizationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/AuthorizationErrorEnum/AuthorizationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/BatchJobErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/BatchJobErrorEnum/BatchJobError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/BiddingErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/BiddingErrorEnum/BiddingError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyErrorEnum/BiddingStrategyError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/BillingSetupErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/BillingSetupErrorEnum/BillingSetupError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetErrorEnum/CampaignBudgetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalErrorEnum/CampaignConversionGoalError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionErrorEnum/CampaignCriterionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerErrorEnum/CampaignCustomizerError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignDraftErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignDraftErrorEnum/CampaignDraftError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignErrorEnum/CampaignError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentErrorEnum/CampaignExperimentError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignFeedErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignFeedErrorEnum/CampaignFeedError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalErrorEnum/CampaignLifecycleGoalError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetErrorEnum/CampaignSharedSetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ChangeEventErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ChangeEventErrorEnum/ChangeEventError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ChangeStatusErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ChangeStatusErrorEnum/ChangeStatusError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CollectionSizeErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CollectionSizeErrorEnum/CollectionSizeError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ContextErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ContextErrorEnum/ContextError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionActionErrorEnum/ConversionActionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadErrorEnum/ConversionAdjustmentUploadError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableErrorEnum/ConversionCustomVariableError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigErrorEnum/ConversionGoalCampaignConfigError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionUploadErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionUploadErrorEnum/ConversionUploadError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleErrorEnum/ConversionValueRuleError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetErrorEnum/ConversionValueRuleSetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CountryCodeErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CountryCodeErrorEnum/CountryCodeError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CriterionErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CriterionErrorEnum/CriterionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeErrorEnum/CurrencyCodeError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CurrencyErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CurrencyErrorEnum/CurrencyError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomAudienceErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomAudienceErrorEnum/CustomAudienceError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalErrorEnum/CustomConversionGoalError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomInterestErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomInterestErrorEnum/CustomInterestError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkErrorEnum/CustomerClientLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerErrorEnum/CustomerCustomizerError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerErrorEnum/CustomerError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerFeedErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerFeedErrorEnum/CustomerFeedError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalErrorEnum/CustomerLifecycleGoalError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkErrorEnum/CustomerManagerLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaErrorEnum/CustomerSkAdNetworkConversionValueSchemaError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessErrorEnum/CustomerUserAccessError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeErrorEnum/CustomizerAttributeError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/DatabaseErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/DatabaseErrorEnum/DatabaseError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/DateErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/DateErrorEnum/DateError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/DateRangeErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/DateRangeErrorEnum/DateRangeError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/DistinctErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/DistinctErrorEnum/DistinctError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/EnumErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/EnumErrorEnum/EnumError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ErrorCode.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ErrorDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ErrorLocation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ErrorLocation/FieldPathElement.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ExperimentArmErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ExperimentArmErrorEnum/ExperimentArmError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ExperimentErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ExperimentErrorEnum/ExperimentError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemErrorEnum/ExtensionFeedItemError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingErrorEnum/ExtensionSettingError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceErrorEnum/FeedAttributeReferenceError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedErrorEnum/FeedError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemErrorEnum/FeedItemError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetErrorEnum/FeedItemSetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkErrorEnum/FeedItemSetLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetErrorEnum/FeedItemTargetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationErrorEnum/FeedItemValidationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedMappingErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FeedMappingErrorEnum/FeedMappingError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FieldErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FieldErrorEnum/FieldError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FieldMaskErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FieldMaskErrorEnum/FieldMaskError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FunctionErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FunctionErrorEnum/FunctionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FunctionParsingErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/FunctionParsingErrorEnum/FunctionParsingError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionErrorEnum/GeoTargetConstantSuggestionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/GoogleAdsError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/GoogleAdsFailure.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/HeaderErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/HeaderErrorEnum/HeaderError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/IdErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/IdErrorEnum/IdError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ImageErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ImageErrorEnum/ImageError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/InternalErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/InternalErrorEnum/InternalError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/InvoiceErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/InvoiceErrorEnum/InvoiceError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupErrorEnum/KeywordPlanAdGroupError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordErrorEnum/KeywordPlanAdGroupKeywordError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignErrorEnum/KeywordPlanCampaignError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordErrorEnum/KeywordPlanCampaignKeywordError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanErrorEnum/KeywordPlanError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaErrorEnum/KeywordPlanIdeaError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/LabelErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/LabelErrorEnum/LabelError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/LanguageCodeErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/LanguageCodeErrorEnum/LanguageCodeError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ListOperationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ListOperationErrorEnum/ListOperationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ManagerLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ManagerLinkErrorEnum/ManagerLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MediaBundleErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MediaBundleErrorEnum/MediaBundleError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MediaFileErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MediaFileErrorEnum/MediaFileError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MediaUploadErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MediaUploadErrorEnum/MediaUploadError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MerchantCenterErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MerchantCenterErrorEnum/MerchantCenterError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MultiplierErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MultiplierErrorEnum/MultiplierError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MutateErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/MutateErrorEnum/MutateError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationErrorEnum/NewResourceCreationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedErrorEnum/NotAllowlistedError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/NotEmptyErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/NotEmptyErrorEnum/NotEmptyError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/NullErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/NullErrorEnum/NullError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobErrorEnum/OfflineUserDataJobError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedErrorEnum/OperationAccessDeniedError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/OperatorErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/OperatorErrorEnum/OperatorError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PartialFailureErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PartialFailureErrorEnum/PartialFailureError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountErrorEnum/PaymentsAccountError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingErrorEnum/PolicyFindingError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterErrorEnum/PolicyValidationParameterError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationErrorEnum/PolicyViolationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ProductLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ProductLinkErrorEnum/ProductLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationErrorEnum/ProductLinkInvitationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/QueryErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/QueryErrorEnum/QueryError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorDetails/QuotaRateScope.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorEnum/QuotaError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RangeErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RangeErrorEnum/RangeError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ReachPlanErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ReachPlanErrorEnum/ReachPlanError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RecommendationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RecommendationErrorEnum/RecommendationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RecommendationSubscriptionErrorEnum/RecommendationSubscriptionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RegionCodeErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RegionCodeErrorEnum/RegionCodeError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RequestErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/RequestErrorEnum/RequestError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedErrorEnum/ResourceAccessDeniedError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ResourceCountDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededErrorEnum/ResourceCountLimitExceededError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightErrorEnum/SearchTermInsightError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SettingErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SettingErrorEnum/SettingError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SharedCriterionErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SharedCriterionErrorEnum/SharedCriterionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SharedSetErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SharedSetErrorEnum/SharedSetError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SizeLimitErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SizeLimitErrorEnum/SizeLimitError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SmartCampaignErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/SmartCampaignErrorEnum/SmartCampaignError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/StringFormatErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/StringFormatErrorEnum/StringFormatError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/StringLengthErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/StringLengthErrorEnum/StringLengthError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkErrorEnum/ThirdPartyAppAnalyticsLinkError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/TimeZoneErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/TimeZoneErrorEnum/TimeZoneError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/UrlFieldErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/UrlFieldErrorEnum/UrlFieldError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/UserDataErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/UserDataErrorEnum/UserDataError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/UserListErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/UserListErrorEnum/UserListError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationErrorEnum.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationErrorEnum/YoutubeVideoRegistrationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/MaximizeConversionValue.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/MaximizeConversions.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetCpa.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetImpressionShare.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetRoas.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetSpend.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccountBudget.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccountBudget/PendingAccountBudgetProposal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccountBudgetProposal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AccountLink.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Ad.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroup/AudienceSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAd.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetCombinationView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetPolicySummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdLabel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdPolicySummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAssetSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupAudienceView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupBidModifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion/PositionEstimates.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion/QualityInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionCustomizer.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionLabel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionSimulation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupCustomizer.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupExtensionSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupFeed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupLabel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdGroupSimulation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdParameter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdScheduleView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AdvertisingPartnerLinkIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AgeRangeView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleCampaign.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Asset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypePolicySummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypeView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetGroupAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetGroupAssetCombinationData.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetGroupListingGroupFilter.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetGroupProductGroupView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetGroupSignal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetGroupTopCombinationView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetPolicySummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetSet/HotelPropertyData.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetSet/MerchantCenterFeed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetSetAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AssetSetTypeView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/AttributeFieldMapping.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Audience.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BackgroundCheckVerificationArtifact.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BatchJob.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BatchJob/BatchJobMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BiddingDataExclusion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BiddingSeasonalityAdjustment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BiddingStrategy.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BiddingStrategySimulation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BillingSetup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/BillingSetup/PaymentsAccountInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CallReportingSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CallView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/AppCampaignSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/AssetAutomationSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/AudienceSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/CategoryBid.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/DiscoveryCampaignSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/DynamicSearchAdsSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/GeoTargetTypeSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/HotelSettingInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/LocalCampaignSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/LocalServicesCampaignSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/NetworkSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/OptimizationGoalSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/PerformanceMaxUpgrade.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/SelectiveOptimization.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/ShoppingSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/TrackingSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/TravelCampaignSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Campaign/VanityPharma.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignAssetSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignAudienceView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignBidModifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignBudget.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignConversionGoal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignCriterion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignCustomizer.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignDraft.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignExtensionSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignFeed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignLabel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignLifecycleGoal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignSearchTermInsight.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignSharedSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CampaignSimulation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CarrierConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ChangeEvent.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ChangeEvent/ChangedResource.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ChangeStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ClickView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CombinedAudience.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ContactDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionAction.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/AttributionModelSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/FirebaseSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/GoogleAnalytics4Settings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/ThirdPartyAppAnalyticsSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/ValueSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionCustomVariable.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionGoalCampaignConfig.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionTrackingSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleAction.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleAudienceCondition.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleDeviceCondition.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleGeoLocationCondition.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRuleSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CurrencyConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomAudience.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomAudienceMember.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomConversionGoal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomInterest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomInterestMember.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomLeadFormSubmissionField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Customer.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerAcquisitionGoalSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerAgreementSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerAssetSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerClientLink.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerConversionGoal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerCustomizer.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerExtensionSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerFeed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerLabel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal/LifecycleGoalCustomerDefinitionSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerManagerLink.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerNegativeCriterion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerSearchTermInsight.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/ConversionValueMapping.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event/EventOccurrenceRange.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event/RevenueRange.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/FineGrainedConversionValueMappings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccess.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccessInvitation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/CustomizerAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/DataPartnerIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/DataPartnerLinkIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/DetailPlacementView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/DetailedDemographic.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/DisplayKeywordView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/DistanceView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/DomainCategory.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/DynamicSearchAdsSearchTermView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ExpandedLandingPageView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Experiment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ExperimentArm.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ExtensionFeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Feed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Feed/AffiliateLocationFeedData.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Feed/PlacesLocationFeedData.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Feed/PlacesLocationFeedData/OAuthInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedAttributeOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedAttributeOperation/Operator.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedItem.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedItemAttributeValue.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedItemPlaceholderPolicyInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedItemSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedItemSetLink.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedItemTarget.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedItemValidationError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedMapping.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/FeedPlaceholderView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GenderView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GeoTargetConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GeographicView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsLinkIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GranularInsuranceStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GranularLicenseStatus.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/GroupPlacementView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/HotelCenterLinkInvitationIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/HotelGroupView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/HotelPerformanceView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/HotelReconciliation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/IncomeRangeView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/InsuranceVerificationArtifact.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Invoice.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Invoice/AccountBudgetSummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Invoice/AccountSummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Invoice/InvalidActivitySummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordPlan.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroupKeyword.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaign.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaignKeyword.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanForecastPeriod.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanGeoTarget.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordThemeConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/KeywordView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Label.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LandingPageView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LanguageConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionData.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionField.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LicenseVerificationArtifact.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LifeEvent.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductBrand.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCategory.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductChannel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCondition.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCustomAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductItemId.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductType.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/Webpage.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/WebpageCondition.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimensionPath.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LocalServicesLead.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LocalServicesLeadConversation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LocalServicesSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LocalServicesVerificationArtifact.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/LocationView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ManagedPlacementView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MediaAudio.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MediaBundle.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MediaFile.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MediaImage.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MediaVideo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MerchantCenterIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MerchantCenterLinkInvitationIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MessageDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MobileAppCategoryConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/MobileDeviceConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Note.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionAlert.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionError.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionSummary.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJob.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJobMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/OperatingSystemVersionConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/PaidOrganicSearchTermView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ParentalStatusView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/PaymentsAccount.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/PerStoreView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/PhoneCallDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant/ProductCategoryLocalization.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ProductGroupView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ProductLink.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ProductLinkInvitation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/QualifyingQuestion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CallAssetRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CalloutAssetRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudget.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudgetRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudgetRecommendation/CampaignBudgetRecommendationOption.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/DisplayExpansionOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/DynamicImageExtensionOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/EnhancedCpcOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ForecastingSetTargetCpaRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ForecastingSetTargetRoasRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ImprovePerformanceMaxAdStrengthRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordMatchTypeRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordRecommendation/SearchTerm.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/LowerTargetRoasRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MaximizeClicksOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MaximizeConversionsOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MerchantInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MoveUnusedBudgetRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/OptimizeAdRotationRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/PerformanceMaxOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RaiseTargetCpaBidTooLowRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RaiseTargetCpaRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RecommendationImpact.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RecommendationMetrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdAssetRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdImproveAdStrengthRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/SearchPartnersOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingAddProductsToCampaignRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingFixDisapprovedProductsRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingMerchantCenterAccountSuspensionRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingOfferAttributeRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingTargetAllOffersRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/SitelinkAssetRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetAdjustmentInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetCpaOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetCpaOptInRecommendation/TargetCpaOptInRecommendationOption.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetRoasOptInRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TextAdRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UpgradeLocalCampaignToPerformanceMaxRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UseBroadMatchKeywordRecommendation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/RecommendationSubscription.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/RemarketingAction.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/RemarketingSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/SearchTermView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/SharedCriterion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/SharedSet.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ShoppingPerformanceView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSearchTermView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting/AdOptimizedBusinessProfileSetting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting/PhoneNumber.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLink.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLinkIdentifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/TopicConstant.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/TopicView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/TravelActivityGroupView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/TravelActivityPerformanceView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/UserInterest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/UserList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/UserLocationView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/Video.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Resources/WebpageView.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AccountLinkOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAdOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupKeywordSuggestion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdGroupServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdParameterOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdParameterServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdParameterServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AddBatchJobOperationsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AddBatchJobOperationsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AddOfflineUserDataJobOperationsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AddOfflineUserDataJobOperationsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AdvancedProductTargeting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/AdAssetApplyParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/AdAssetApplyParameters/ApplyScope.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CallAssetParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CallExtensionParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CalloutAssetParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CalloutExtensionParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CampaignBudgetParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ForecastingSetTargetCpaParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ForecastingSetTargetRoasParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/KeywordParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/LowerTargetRoasParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/MoveUnusedBudgetParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/RaiseTargetCpaBidTooLowParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/RaiseTargetCpaParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdAssetParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdImproveAdStrengthParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/SitelinkAssetParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/SitelinkExtensionParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TargetCpaOptInParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TargetRoasOptInParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TextAdParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/UseBroadMatchKeywordParameters.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetSetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AssetSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionAttributeCluster.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionMetrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionSection.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsAttribute.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsAttributeMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsCategory.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsDynamicLineup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsEntity.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsTopic.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/AudienceTargeting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BasicInsightsAudience.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BatchJobOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BatchJobResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BatchJobServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BatchJobServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddableKeyword.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BillingSetupOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BrandSuggestion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CallConversion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CallConversionResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignAssetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetMapping.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignDraftOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignDuration.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignFeedOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignGroupOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignLabelOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignToForecast.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CampaignToForecast/CampaignBiddingStrategy.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CartData.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CartData/Item.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ClickConversion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ClickConversionResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AccountBudgetProposalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AccountLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupBidModifierServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionCustomizerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCustomizerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupExtensionSettingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupFeedServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdParameterServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AdServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupListingGroupFilterServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupSignalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AssetSetAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AssetSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AudienceInsightsServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/AudienceServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/BatchJobServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/BiddingDataExclusionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/BiddingSeasonalityAdjustmentServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/BiddingStrategyServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/BillingSetupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignBidModifierServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignBudgetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignConversionGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignCriterionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignCustomizerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignDraftServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignExtensionSettingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignFeedServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignGroupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignLifecycleGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CampaignSharedSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ConversionActionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ConversionAdjustmentUploadServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ConversionCustomVariableServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ConversionGoalCampaignConfigServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ConversionUploadServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomAudienceServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomConversionGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomInterestServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerClientLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerConversionGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerCustomizerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerExtensionSettingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerFeedServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerLifecycleGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerManagerLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerNegativeCriterionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerSkAdNetworkConversionValueSchemaServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessInvitationServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/CustomizerAttributeServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ExperimentArmServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ExperimentServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ExtensionFeedItemServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemTargetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/FeedMappingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/FeedServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/GeoTargetConstantServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsFieldServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/InvoiceServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupKeywordServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignKeywordServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanIdeaServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/KeywordThemeConstantServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/LabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/OfflineUserDataJobServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/PaymentsAccountServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkInvitationServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ReachPlanServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/RecommendationServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/RecommendationSubscriptionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/RemarketingActionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/SharedCriterionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/SharedSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSettingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSuggestServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/ThirdPartyAppAnalyticsLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/TravelAssetSuggestionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/UserDataServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Client/UserListServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionActionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustment.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CreateAccountLinkRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CreateAccountLinkResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CreateCustomerClientRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CreateCustomerClientResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CreateOfflineUserDataJobRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CreateOfflineUserDataJobResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CreateProductLinkRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CreateProductLinkResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CriterionBidModifier.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomAudienceOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomInterestOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomVariable.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerAssetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerFeedOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerLabelOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationRequest/DismissRecommendationOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationResponse/DismissRecommendationResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/DynamicLineupAttributeMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/DynamicLineupAttributeMetadata/SampleChannel.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/EffectiveFrequencyBreakdown.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/EffectiveFrequencyLimit.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/EndExperimentRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExperimentArmOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExperimentOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExperimentServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExperimentServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ExternalAttributionData.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemSetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedMappingOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FeedServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Forecast.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ForecastAdGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ForecastMetricOptions.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/FrequencyCap.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AccountBudgetProposalServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AccountLinkServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAdLabelServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAdServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAssetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAssetSetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupBidModifierServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionCustomizerServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionLabelServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCustomizerServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupExtensionSettingServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupFeedServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupLabelServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdParameterServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AdServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupAssetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupListingGroupFilterServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupSignalServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetSetAssetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetSetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AudienceInsightsServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/AudienceServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/BatchJobServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingDataExclusionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingSeasonalityAdjustmentServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingStrategyServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/BillingSetupServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/BrandSuggestionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignAssetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignAssetSetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignBidModifierServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignBudgetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignConversionGoalServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignCriterionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignCustomizerServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignDraftServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignExtensionSettingServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignFeedServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignGroupServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignLabelServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignLifecycleGoalServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignSharedSetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionActionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionAdjustmentUploadServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionCustomVariableServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionGoalCampaignConfigServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionUploadServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionValueRuleServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionValueRuleSetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomAudienceServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomConversionGoalServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomInterestServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerAssetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerAssetSetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerClientLinkServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerConversionGoalServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerCustomizerServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerExtensionSettingServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerFeedServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerLabelServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerLifecycleGoalServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerManagerLinkServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerNegativeCriterionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerSkAdNetworkConversionValueSchemaServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerUserAccessInvitationServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerUserAccessServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomizerAttributeServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ExperimentArmServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ExperimentServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ExtensionFeedItemServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemSetLinkServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemSetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemTargetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedMappingServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/GeoTargetConstantServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/GoogleAdsFieldServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/GoogleAdsServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/InvoiceServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanAdGroupKeywordServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanAdGroupServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanCampaignKeywordServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanCampaignServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanIdeaServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordThemeConstantServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/LabelServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/OfflineUserDataJobServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/PaymentsAccountServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ProductLinkInvitationServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ProductLinkServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ReachPlanServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/RecommendationServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/RecommendationSubscriptionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/RemarketingActionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/SharedCriterionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/SharedSetServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/SmartCampaignSettingServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/SmartCampaignSuggestServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/ThirdPartyAppAnalyticsLinkServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/TravelAssetSuggestionServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/UserDataServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Gapic/UserListServiceGapicClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GclidDateTimePair.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateAdGroupThemesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateAdGroupThemesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateAudienceCompositionInsightsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateAudienceCompositionInsightsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateInsightsFinderReportRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateInsightsFinderReportResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordForecastMetricsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordForecastMetricsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeaResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeaResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeasRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateReachForecastRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateReachForecastResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateSuggestedTargetingInsightsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GenerateSuggestedTargetingInsightsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantSuggestion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GetAdRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GetGoogleAdsFieldRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GetSmartCampaignStatusRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GetSmartCampaignStatusResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GoogleAdsRow.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/GraduateExperimentRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/HotelAssetSuggestion.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/HotelImageAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/HotelTextAsset.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/InsightsAudience.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/InsightsAudienceAttributeGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/InvoiceServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/InvoiceServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordAndUrlSeed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordForecastMetrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordSeed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/LabelOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/LabelServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/LabelServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListAccessibleCustomersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListAccessibleCustomersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListAudienceInsightsAttributesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListAudienceInsightsAttributesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListBatchJobResultsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListBatchJobResultsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListCampaignDraftAsyncErrorsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListCampaignDraftAsyncErrorsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListExperimentAsyncErrorsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListExperimentAsyncErrorsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListInsightsEligibleDatesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListInsightsEligibleDatesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListInvoicesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListInvoicesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListPaymentsAccountsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListPaymentsAccountsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListPlannableLocationsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListPlannableLocationsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListPlannableProductsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ListPlannableProductsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/LocationAttributeMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ManualCpcBiddingStrategy.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MaximizeClicksBiddingStrategy.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MaximizeConversionsBiddingStrategy.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MoveManagerLinkRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MoveManagerLinkResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifierResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifiersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifiersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriteriaRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriteriaResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizerResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizerResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdParameterResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdParametersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdParametersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAdsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFilterResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFiltersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFiltersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAssetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAudienceResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAudiencesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateAudiencesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategiesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategiesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategyResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifierResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifiersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifiersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriteriaRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriteriaResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriterionResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizerResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCampaignsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariableResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariablesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariablesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRulesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRulesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudienceResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudiencesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudiencesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizerResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizersRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizersResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributeResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExperimentResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExperimentsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExperimentsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinkResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinksRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinksResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateFeedsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateGoogleAdsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateGoogleAdsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateLabelResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateLabelsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateLabelsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateOperationResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriteriaRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriteriaResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriterionResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateUserListResult.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateUserListsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/MutateUserListsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/OnTargetAudienceMetrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PlannableLocation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PlannableTargeting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PlannedProduct.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PlannedProductForecast.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PlannedProductReachForecast.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ProductMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PromoteCampaignDraftRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PromoteExperimentMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/PromoteExperimentRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ReachCurve.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ReachForecast.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RecommendationServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RecommendationServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RegenerateShareableLinkIdRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RegenerateShareableLinkIdResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RemarketingActionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RemoveProductLinkRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RemoveProductLinkResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RestatementValue.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RunBatchJobRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/RunOfflineUserDataJobRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ScheduleExperimentMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ScheduleExperimentRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsFieldsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsFieldsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsStreamRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsStreamResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SharedCriterionOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SharedSetOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SharedSetServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SharedSetServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SiteSeed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignEligibleDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignEndedDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignNotEligibleDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignPausedDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignRemovedDetails.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo/BusinessContext.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo/LocationList.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestBrandsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestBrandsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest/GeoTargets.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest/LocationNames.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemeConstantsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemeConstantsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesResponse/KeywordTheme.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignAdRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignAdResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsRequest/SuggestionDataOneof.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse/BudgetOption.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse/Metrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestTravelAssetsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SuggestTravelAssetsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SurfaceTargeting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/SurfaceTargetingCombinations.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/TargetFrequencySettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/Targeting.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/TargetingSuggestionMetrics.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UnusableAdGroup.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UpdateProductLinkInvitationRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UpdateProductLinkInvitationResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UploadCallConversionsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UploadCallConversionsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UploadClickConversionsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UploadClickConversionsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UploadConversionAdjustmentsRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UploadConversionAdjustmentsResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UploadUserDataRequest.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UploadUserDataResponse.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UrlSeed.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UserDataOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UserDataServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UserDataServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UserListOperation.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UserListServiceClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/UserListServiceGrpcClient.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/YouTubeChannelAttributeMetadata.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/YouTubeSelectLineUp.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/YouTubeSelectSettings.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/gapic_metadata.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/label_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/label_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/label_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_rest_client_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_client_config.json delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_descriptor_config.php delete mode 100644 src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_rest_client_config.php create mode 100644 src/Google/Ads/GoogleAds/V17/Common/FixedCpm.php rename src/Google/Ads/GoogleAds/{V15/Common/TargetCpmTargetFrequencyGoal.php => V17/Common/FixedCpmTargetFrequencyGoalInfo.php} (60%) rename src/Google/Ads/GoogleAds/{V15/Enums/MinuteOfHourEnum.php => V17/Common/TargetCpv.php} (60%) rename src/Google/Ads/GoogleAds/{V15/Enums/BudgetPeriodEnum.php => V17/Enums/AdFormatTypeEnum.php} (61%) create mode 100644 src/Google/Ads/GoogleAds/V17/Enums/AdFormatTypeEnum/AdFormatType.php rename src/Google/Ads/GoogleAds/{V15/Enums/BudgetStatusEnum.php => V17/Enums/FixedCpmGoalEnum.php} (60%) rename src/Google/Ads/GoogleAds/{V15/Enums/MobileAppVendorEnum/MobileAppVendor.php => V17/Enums/FixedCpmGoalEnum/FixedCpmGoal.php} (60%) rename src/Google/Ads/GoogleAds/{V15/Errors/RecommendationSubscriptionErrorEnum.php => V17/Enums/FixedCpmTargetFrequencyTimeUnitEnum.php} (55%) rename src/Google/Ads/GoogleAds/{V15/Enums/AssetSourceEnum/AssetSource.php => V17/Enums/FixedCpmTargetFrequencyTimeUnitEnum/FixedCpmTargetFrequencyTimeUnit.php} (61%) rename src/Google/Ads/GoogleAds/{V15/Enums/LocalServicesVerificationArtifactTypeEnum.php => V17/Errors/AutomaticallyCreatedAssetRemovalErrorEnum.php} (54%) create mode 100644 src/Google/Ads/GoogleAds/V17/Errors/AutomaticallyCreatedAssetRemovalErrorEnum/AutomaticallyCreatedAssetRemovalError.php rename src/Google/Ads/GoogleAds/{V15/Errors/ConversionActionErrorEnum.php => V17/Errors/ShareablePreviewErrorEnum.php} (59%) rename src/Google/Ads/GoogleAds/{V15/Enums/CombinedAudienceStatusEnum/CombinedAudienceStatus.php => V17/Errors/ShareablePreviewErrorEnum/ShareablePreviewError.php} (54%) create mode 100644 src/Google/Ads/GoogleAds/V17/Resources/Campaign/VideoCampaignSettings.php create mode 100644 src/Google/Ads/GoogleAds/V17/Resources/Campaign/VideoCampaignSettings/VideoAdInventoryControl.php rename src/Google/Ads/GoogleAds/{V15/Resources/OfflineConversionUploadClientSummary.php => V17/Resources/OfflineConversionUploadConversionActionSummary.php} (56%) create mode 100644 src/Google/Ads/GoogleAds/V17/Services/AssetGroupIdentifier.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/AssetsWithFieldType.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/AudienceOverlapItem.php rename src/Google/Ads/GoogleAds/{V15/Services/Client/BrandSuggestionServiceClient.php => V17/Services/Client/ShareablePreviewServiceClient.php} (78%) create mode 100644 src/Google/Ads/GoogleAds/V17/Services/DimensionOverlapResult.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/GenerateAudienceOverlapInsightsRequest.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/GenerateAudienceOverlapInsightsResponse.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/GenerateShareablePreviewsRequest.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/GenerateShareablePreviewsResponse.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/RemoveAutomaticallyCreatedAssetsRequest.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/ShareablePreview.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewOrError.php create mode 100644 src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewResult.php rename src/Google/Ads/GoogleAds/{V15/Services/AssetSetServiceGrpcClient.php => V17/Services/ShareablePreviewServiceGrpcClient.php} (62%) rename src/Google/Ads/GoogleAds/{V15/Services/resources/ad_group_criterion_service_client_config.json => V17/Services/resources/shareable_preview_service_client_config.json} (92%) create mode 100644 src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_descriptor_config.php rename src/Google/Ads/GoogleAds/{V15/Services/resources/ad_group_criterion_service_rest_client_config.php => V17/Services/resources/shareable_preview_service_rest_client_config.php} (62%) delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientBuilderTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTraitInserted.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTraitTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresInterceptorTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresUnaryCallTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingInterceptorTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingServerStreamingCallTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingUnaryCallTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsResponseMetadataTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/LogMessageFormatterTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/LoggerFactoryTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/ServiceClientFactoryTraitTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Lib/V15/StatusMetadataExtractorTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Util/V15/GoogleAdsErrorsTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Util/V15/GoogleAdsFailuresTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Util/V15/PartialFailuresTest.php delete mode 100644 tests/Google/Ads/GoogleAds/Util/V15/ResourceNamesTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdGroupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdParameterServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AdServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AssetSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/AudienceServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/BatchJobServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AccountBudgetProposalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AccountLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionCustomizerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCustomizerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupExtensionSettingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupFeedServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdParameterServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AdServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupListingGroupFilterServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupSignalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AssetSetAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AssetSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AudienceInsightsServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/AudienceServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/BatchJobServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingDataExclusionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingSeasonalityAdjustmentServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingStrategyServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/BillingSetupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/BrandSuggestionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignBidModifierServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignBudgetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignConversionGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignCriterionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignCustomizerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignDraftServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignExtensionSettingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignFeedServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignGroupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignLifecycleGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignSharedSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionActionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionAdjustmentUploadServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionCustomVariableServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionGoalCampaignConfigServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionUploadServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomAudienceServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomConversionGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomInterestServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerClientLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerConversionGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerCustomizerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerExtensionSettingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerFeedServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerLifecycleGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerManagerLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerNegativeCriterionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerSkAdNetworkConversionValueSchemaServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessInvitationServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/CustomizerAttributeServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ExperimentArmServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ExperimentServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ExtensionFeedItemServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemTargetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/FeedMappingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/FeedServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/GeoTargetConstantServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsFieldServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/InvoiceServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupKeywordServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignKeywordServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanIdeaServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordThemeConstantServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/LabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/OfflineUserDataJobServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/PaymentsAccountServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkInvitationServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ReachPlanServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/RecommendationServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/RecommendationSubscriptionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/RemarketingActionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/SharedCriterionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/SharedSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSettingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSuggestServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/ThirdPartyAppAnalyticsLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/TravelAssetSuggestionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/UserDataServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/Client/UserListServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ExperimentServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/FeedItemServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/FeedServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/InvoiceServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/LabelServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/RecommendationServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/SharedSetServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/UserDataServiceClientTest.php delete mode 100644 tests/Google/Ads/GoogleAds/V15/Services/UserListServiceClientTest.php rename tests/Google/Ads/GoogleAds/{V15/Services/Client/AdGroupBidModifierServiceClientTest.php => V17/Services/Client/ShareablePreviewServiceClientTest.php} (70%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 174830f9f..aff29a9f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 24.0.0 +* Added support for v17_1 of Google Ads API. +* Removed support for v15 of Google Ads API. +* Made service client classes non-final. +* Added support for setting a REST handler as a client option for each call. + ## 23.1.0 * Added support for v17 of Google Ads API. * Updated code examples for removing the usage of `pageSize`: diff --git a/examples/Recommendations/DetectAndApplyRecommendations.php b/examples/Recommendations/DetectAndApplyRecommendations.php index 44db9411d..d2261cad6 100644 --- a/examples/Recommendations/DetectAndApplyRecommendations.php +++ b/examples/Recommendations/DetectAndApplyRecommendations.php @@ -44,11 +44,11 @@ * obsolete recommendations throw an error when applied. For more details, see: * https://developers.google.com/google-ads/api/docs/recommendations#take_action * - * As of Google Ads API v15 users can subscribe to certain recommendation types to - * apply them automatically. For more details, see: + * You can subscribe to certain recommendation types to apply them automatically. + * For more details, see: * https://developers.google.com/google-ads/api/docs/recommendations#auto-apply * - * As of Google Ads API v16 users can proactively generate certain recommendation + * You can also proactively generate certain recommendation * types during the campaign construction process. For more details see: * https://developers.google.com/google-ads/api/docs/recommendations#recommendations-in-campaign-construction. */ diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/AdAsset.php b/metadata/Google/Ads/GoogleAds/V15/Common/AdAsset.php deleted file mode 100644 index 800adcfae68482b1af7157644876fbf935e26ccf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13298 zcmds8Pi!Ms8DA&Pzt7oZGRbZd?{?Sq7Mjx5VZB{Mvt3}uo;X8nk2|)LE)5!H?MZgD zj>pW5w+&T=3LN-XA<+X80z^Rw)B}hM;?grxxpIRe2ehpae+7aAeDA#(dz{#@o!uUq zJ#1#?z3+SPeed_azt7KovT>&YS7I5XZrHkORAaXfV(uLy*03$ts#vwy?dI;TVaF=g ze#5L8b|Mx_E3v#%ib-j?^eB=#R@1H+Yq34c+N&9>devEFkL2mz)$6NBx^LC7LDL<_ za1)d@KwaNAoQ7U8Vwr-NGhDr@yZTOsa@i58j`v8Owys{^Nl`9004ggy~H~s8(B}uH!bXv^tV;ABX>q z!i}E$W7M1b&T7L#2_9&A1Gnd%Uem}#n-1G7{t_cj;Fcy@o14JRO;F#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?y_5rUg z`OXhG#PXik55TUQ7T?TMK zg_UYmZz8LTizIep;I=LV=dj2Ef=>QjMr?qEPVSXSx$9hmVHcVd~Y2VQV>=tdXkBl$J>>gJe>%Y=HOmzwbbSz48~(9j;D1x4=?&zHg2%!a?561^uc*5Q`g-zXRN|5(dd`);VCRl zzO5JZLs;_oGAqogbF@CAOnIht`qG@ZGWsbrcHOLs1w`UtTAOY)_IWjgpI-7;<;-}- z!^yx;8Wf}Su`~To%56?Ac6bEIBr`LjovtIxC&%s+XOZQRqZ62;hH^r)ItRbEB-SUv z2w0CpTG#@_ZaCJaWwK&@yy~`YwaiE_Ap(Ol#Dc~%(nt$sSc^nHB_fpeTtnEeJY*3n2+G8G??2JaT8gEg-KfmXWvKZ5y~}+|sLzW&^SJPgX#t zEj~tgksVERiXg+F&k5;CK}G^4tl^(kTkd7*^<-Ri)Q8@TqQz!FixdxESg!(LG#nByS9tLg|_xq-TH960WdZ zw~tywsl4k$u?vb^(ZxbPjBqZwC)y&a)}t9rjsCzVHXu|o@nf&o=+@b^Fn4pDQj_VAGh(c#jr;OqgZ^Xy?)`R$ z{R3x2fkSHdOse}W!@ptVCbjo$=x+paNt=Qp*91oz^RW!t!eQ8eUzNX+q#4b|33Kui zCq9mW5R;GqU5aRvQWL_u_NPw!^hYn!}ynd2k#`I?15` z)r|fXYcP(S1{o%qX@4Xg1o5Osvi$MV`NTe8<-=m7YNlWTX0>aU`(*l!@Y9mGxZ~*8 zed0!c7x>5@oL*1sSoz5bdkk=pdwI6updp=bCMY%(sUUmKKOCuG2}NGQkgX)|t)GFr z_C}*UezxAGe`R4zBHs)-y@S8A18mkc@Rvw_`qTB^+5h`C&&$8KGx*Cml%8F$j``a> NTv68hg!qII{}1ajh426X diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/AssetPolicy.php b/metadata/Google/Ads/GoogleAds/V15/Common/AssetPolicy.php deleted file mode 100644 index 34b4118b231b1f998ef3e21a14926db2090a3d6f..0000000000000000000000000000000000000000 G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Kj*ngTfASpF21F(2Bq#md%ro zr^uRooJJt|D3@N6M{i=LejS0cVx1zA8R|-Fk2D(i5}a*zl?E}|A#RSuYm(O@_#=rpn&MhwztV5-iRjXe5&4Eo5XlfqmiagdLH7dsfk{Hvcknj=GP=^f%lACHBG|bPNVd|f^|?$)2^rm6@D{-T01fS2wg3PC diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/AssetSetTypes.php b/metadata/Google/Ads/GoogleAds/V15/Common/AssetSetTypes.php deleted file mode 100644 index 7e62524d2f5da2e270ad00938495887c66cd2e17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4250 zcmds4&u`mQ9G??fnr~T`dQ{6wyLn!vrP6TN&@S!<*lC&tx}<7Sn5GEJab6OGYg_j7 zV4HT~#EldG07xA8FF3L@2gCvGydy&5%KKqE=^8Jsc3Y)1j^FqDdEXzO@Atj$?T`JD z4_Bo+a#3Jn)R%gXBs@ZrA9&caJV)w9g8>R8%RBUK2L*~GZMURmt0UF68=WgeHT0su zLaH?MyrF|CWe#;pobJ@nj)8HNZO^n)MyC{)-E0Iqq6Lf^EIRNvF@A#Cn$+e&bfR%D}b&EQbI}8U<}5+@X;01SIn3M?J^3q!62!d~MjFVY@cA zO~-yr{JSF!OeaJH;kfJ|axH9ou0$1Du7%2*633*n8@@;4aYssw+oK^O;psM9i~`qm zy4xtU0^7%4ut!8yb%<~pSo)^Cxy5#+X!bxVa}!ndn2mQN97Jexb4dyijskZK@HB<$ zPK%sxcXw>$^mQ~cAKG4^s$-|dAk3%tKeA&Fw0=J|c!#9BobEwQz6O8f;dW-8ksBR` z700tk+&$Ouz9EzfN4C%M&C@Mj;@S$~hLW;GAuLgtwj9C5-58*i=+oTR2)2A5R;DhB z=V0-m+1{&F8#|5KcJYk32yY)WKWnzWXch%ggeCo;-DuX@ZG*h2?H6<6Stw{bJB{6j z)~OZq`o99mgr>1cS=Q;RQ@3Y4*b^R9W8a3JW4c4d3x<^;av9B&itz1lN`Wxfx7h!m za{0QZ{hGT}X9b`T+AI8#K9K@YXe7dCi9nZ?$V82>BIz=r7de@$swz=d)f7in36QEX zq24?*@I&}(c51DWX}d;%9G2kIruGS3tWtpe3H>y+U&6}N#TltB!aLeQr)6x{wB6c% zn|%tKHYConlV^?_|}wp0(4Pk;A*L-I5zcgp{KAibtUDP2J;p@IcY5NgiP0GW{TnQ z)~gdAa!zS5f*%hj0cIS1^H(I)-tG854^}1zY{>|KO*d~EhEkCvEm$3 z*@Qm4N^4|h%o>=-gacLk6BFbPpuY7%`xi8t7{A`lK;bz`F^SvNs z)JLAyhkgN8#zCB@IQbU=t|WkQ(@K7h@u_3Iq(4$^UhU#nut>UGa=BnNzI5{-+aGp6 zNn7!>t3~Fb?1RX-pR_Jck_WJnaDRgRM}OK_=Vn7EdXjo0}gJ03VQ OM_wk#<(|S*fd2txN2f~w diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/AssetTypes.php b/metadata/Google/Ads/GoogleAds/V15/Common/AssetTypes.php deleted file mode 100644 index 344e985ba0b81d5e2166766ce81f4a01b686b5be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 43868 zcmdsgeRN~#Szm0~WBc`teJ#(2$Gbb@)h?Uelf*OQnb}Qdvq|)EZEMGtw30ltlT3P% zrE6PRSyCi zC81xx=Xu_Hb+0V>UeD(AG~PdEt@q=3Kc44(zTfx0_Vvx3rg~&y#je|}Qpc_=Y~EYw z?AQyH);!;ds|y}YoXlOZB}b`YjI&Am0ieWiwkBdU3?f_+l{?e*}k^0-Dqsr z>vpG9DRoM> zR~XRkc%`lXq`z)lx_UdwfSy*WTm!I$H~}mYJoPu#0{(06ZPu#gg?6XZ!T%nuwykQt z+NqXm)wf|`&n#?}YHb_c_qW~JtCu^~Mty-gWb0-7@h27pCbfOE*}z6Tv*64uM|*>P zxt*?e>{h*0yPdMzC9;dM#J&S|wrclPDU`N2%9xK1~geQB5IU z+{n|fF{&wSFud`^9}cM)h+WTm&;k-u?p&F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8>i=hMs*xQ-}pg7}K;KyS8yXCH{9cEC$5gb6osn7c5d?}Bx~76pjF36ZtzW&_#- z#m@Nt5-o0O>CJ<=t~d&4DoGbg-T_h|7_7V>)F7IHT?PQ;z<1_R!c_$49$s)f!Rbbs zb&dKUrZ9ScOaTcUDn~9a*=tyl-s_UV*-868<-r@m5KZT+X+;tsOhR|)o(?JSu3Jx2 zZy*l*5c!wyJ8V!10M{MT-+Ta>`@_voq*btt2raE;XG>~?oSdvkOf3aQ)cfp~^UrB}0S#A>fK~?fIo@=E(?V&(P5*HiUGA#NLdY2RaX~n}}skh%4J(P()Jh(R1Ka zVeBiz>a>GJ5(XL~!e*pn@%6w7k}=L?xRmpzNRsrEW*jv|`pxuKqlHWG z9b7FJ5^^QeJ~1bnZm%R0krv#Y`dG|d{qdm}2U_gt)E+3#sJ?BC}} z6{%L1v|>a#Lv&Zq>qTZJfqjvH^WLV^$qv)psJ(aZWvgi|RO28(cH9Burs&A7yLb`X zgoIiNs=n-+>~){*6e9xWeRrQd-DIm9qOoINc1Y?h>bEKEHO88c3|8{cDywMBBn@BHW zGCqMSmMP;ehDYxm)?93rkfU>dM1?D7`}p+WV~-hmciG{~2T+vDm4%f2JmDqLke6!+ z?F?Yb$C(ZeAQa)+zSAS@x*wSeKjDhNVotOrdyC^w8 zF#1T#<+Rk>m3wkL22ijh=Xp>h2!THb47r5c=s{c+*l{*fR^3LFlvI`8y>$0}pF+ag zV(cq$nh^naV6X}egHD?CfRekF6tJ9kW66+*94B}7)ya2$^^XI2&}6zUH4dnV`;R+bN=GY+eDK}s?62vGq-e>F8av|B)SVzqqj+N0GruGv&OReUS{ZFXhh8Ez=;-mc!R)c*x$uffd# diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/AssetUsage.php b/metadata/Google/Ads/GoogleAds/V15/Common/AssetUsage.php deleted file mode 100644 index b91c894e1b179575258e5434304fb751b26348ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2056 zcmb7F-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Z0FeL26ii@VDU@E46MZrZ24zmx8&<>a6E)GGB$6P(_m< z#N{ZzdrP_<>i+4M^8O=81(oaPYsdQnjQdp)9Z^AKJ`}7t> zu>M&?e`|PP{T;!pe|m#MkpI%SF_Zvw?SRPS4z@_Yokw@6n+TCSM2F}@n8hkr@E)eh zDruSxOKBZyb-$OdMY>n?!Nm@?L;fBl>#psXOMN7AdAfg*MBc};ncjaY^g17pd*)-O&M9}k=y($2d$ zE@Da&2T*PveV>XUM&g eSp^rzbM3DbZ?KOaoi80jKa)^HW_KU%1N;lMz%$SQ diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/Bidding.php b/metadata/Google/Ads/GoogleAds/V15/Common/Bidding.php deleted file mode 100644 index 81f99bc5cf65b9ee3eab0ee530c60f2616c84051..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3588 zcmds4&rjP{9LEV`@C|F32?f@UJ`7W-v?eN3FJ`QYg9)gRL?sk;ie|kyFTs*yyS9VY zP3&B0(oQ?>wB2^xeb*iOr&K-fw8P#H+XRTyRN84A$g|(~eZHUX&-eA0kG)e5)=-5w z#K$3Nqt;6lo)YBwZs?k>javOqhxo{Jd!A(zzktwA4OMFmr0?uER_W2e?fWKCQP*|5 zHYwtEP!vnHI(zu2NRRehr`WREZOiEvI5L2PdnE9%Nl>M(9g+~Yafq804$>^OgJ{WC z&mKN%mO024fNA3(K$-x9?*Y+2uivsQ69pj->Cd_q7?xv&7PhVLs72eTgYAIOv)5%i zea8$f*Fo$+%`wTweIziM?7HVt4{W2DR-HM8I;6Spgv58S-P|F8>04gt`gJO*s$CK$ zu4HdE?r(9e49)7G4M9;=uW{T)q2DKi$`SHO*!P_afb#^36MOKL711cQ+lkg)8l{ay zkm6rwUg?c zB%k@T_1+U2u{{G5WM%#!QM9+!mhPjUgHo;g|w2E=m~|Q?}oc2LMwiy8h(g z`CLZ(d%Td|NzwHG2HMqs##goDA z9iwNNz8frMkhGEAn|LKj+A=H}!=;puAg4R0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ovF zum=!r4>>N^g*h~;60PPek*x8a3LaVLpn)gKR^gi7Ebrj~0WolL_vlhA`W50dfQEaK zXr}3u1DXBP!nQw;9*Wg~cSD?J9o%9fgGC1}s7semq`U$zYeBn{U$v#6SFP*leDK_# zccj29X4NxA+tDfGaIfCft4TLN2IkSl>()bS?Pk4QIyW8!+XhkkP%uRbg((xH4zt z^4JyfZJ1#YJ652eHo$opdNT6`WXEU?gq8UGt}>G{U(ChOf*-C>1)C7?nD3hkgm=Ur z>xI*+8>3!0O>zI<8Z%prc;ZyF`grUGfoH@Ur=peh$mvV=bG4rpZ|6D>-J&?)L%>5` O+2w|!-G}fY!2be0*I#`A diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/CriterionCategoryAvailability.php b/metadata/Google/Ads/GoogleAds/V15/Common/CriterionCategoryAvailability.php deleted file mode 100644 index 58f09a257b65b2ccffcb97d22c40db5124752e5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4985 zcmds5y>Ht_6c1(Dj-S8iOPV^)hiTbG95j&;7g^-G1x3*^5s73(%83gB1TE1D0h$y< zDu7#fXot2_o4I4Vb<2OyIY76L9onft_5$77$D>Fql@!Zurg*T9$9M1Re(!hp_~FN` zCoNdzik54&&A@7K2gh9S#Nt|QFYxM~!yR-E53M#=_l{b&W3{s!S5P=v(K)do=_|O@ z_d4ymmE)S8*L186v*B+YZQFB=IvQ$v?PJ4yYTAx@U^{kj zoTU~4T=U5CTV~zjifX=W1!ltx%vzBuukj7PI}AsA_wLsOs(cHe?wG#M39%8OYlH7G z0iOYff341eW7j!9Fa!Kqvwg#M?Z7r2`%{d6n>#ce-$IT3vWFeF9$*AqxIl61*7|KO z(izIGwLHw%HWxdqhAG7K)g%`KcTJ~OuzbuyEAZMXiso`nD@YO_&aB_wqE!U6p^DteNHB}U(9Z4*(7sxbBR^@M)`061!PlCopGu|kU!@>}1<(z7SoHb3qeenOr81ug-E=lR z$8?)nuie~eS}v`jxcpkSKcE_Ewzug2?^9z%p8qj*vq-Bei#3&vhT#aSD;p--e-R7R zX#MpRAg#a}6?&P_}g9+;32k_k_@XcX-L48BdpIYs}_HDOm z#MtsX2S#w*8WmE{({O`7RnrBN);Z8oN9a)I+caDqDscvA-hl;8tkXW7&9eJXE0VDyk~UMMEp|72V(q8aqKQ z0~-q$%e+*=X?BtLxW8gvf*6hm?l1~in1WG3*GJ^7X;j1_ z>Z|ZHCPFy49xcVFaffuiQpCF4sYHtQ*-Hes55@OH%p)dZPtql<>dX1Rn33xB=1|nU z9R>PF8q_li6i>2$pXZKOHy!Ig9|6BJ@O~c;mZ;8wC%|(CYPUvQa7HoX`4G}O#V+C? zMQ*@VL8;1mWk2Em5-%642=$QsZ^Bain7ohVLl~vWB3$lW9?P=h`7cL15c(%y-%=1FedCZ)I+8XrxhhtWZOc5;pi$-@BX1{M ztBI98NkH69lUbNT7X)Qbtn9Nh1igz$j-Ac_IU2KF8=Qu>17|5F5yIdhwj&TqKql0Lw8_bs^# z*ooJjPQx-9)}h&Pg1%N^aU5g6xO?GihRLtO3by*Mm(M&)!D=4{`msX3c?|^O4tD@M z41qwuf#C=kEK9D!Ox^3a0e)AhV~@O;#=xg&;MgS0hFxOEY+BK~Fey{JOqi5;n8mr% zb$J%%j8~-dUtmgJ+rvhco6q#+t@qj%pCDZVMogTubB(NQML%)xx?CLAy9)Hn(2G=8 rVo38ENxe+1MtX*HuaQ*TzTQecnB0lJ!<>F}8T!SB3Py4#a02iTIDvcp diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/CustomParameter.php b/metadata/Google/Ads/GoogleAds/V15/Common/CustomParameter.php deleted file mode 100644 index 7e57c500e56e5760544c7aa1e9ecd4b234749a2c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 996 zcmbVK!EVz)5XDJ}U@xGELvI~OrKS=%s!%y>2qb2RR;57 zvEUkFwai7vbqFw=z^BPMoDRq5&#~30LdTp!s#Kcs4oghOmt}Q%blkz#rIMYvFjg&R zIn!*(EiyR?LL`2goW&eQ)4@k>S;8!fMvg7&CuUui)#sz*=)|#g35hdi44gRD>4ubi zCxB00%rg;#vCQIYUznMY!U~p&Z+OKXELdhZa@@x*3K?6WB$N#k8T0lbc+L{LpDSER z4>sdX%PrxCqOrsqNtQ)JZelHRtMnA1l&0KPyDd-Jhh3*yvWW$>{fLy_o3RI07yPz3 zfabQ)@`hklQMtihy%Xy(`bko$o}q2+3RvnMkY9E3=KuU^?)knD-3=?BL-aZHKED`~ zCwEL~J|*?9{A#xjLHqHC2S0+K*(47ySyu4f9d{Ps*`PsoW(XTRB8{2*IrtZl7P78& zwn`43-4S%QOoK0{>seEkF`0%+r=65bm%B|yb78hdw(D>7vsNGV`@d^@BbUh#lNkE4 ztT2@ diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/CustomizerValue.php b/metadata/Google/Ads/GoogleAds/V15/Common/CustomizerValue.php deleted file mode 100644 index 9e3126a36215f039c6d579af8e442903b470e7d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1659 zcmbVM&2G~`5XMeg=oZn)LZbYrT~ef`5;!WT92{B{CvFs>rcs*~ge*lHd*iO;*p|Jn zR8Vg`00*9cBahOj;D~xgoLTQWcBRH3@WCE=zxif%=9_u-Iyecy8th;XhlpYuj?N%G z!7vDY>RY}GNAY-!LumPvfVenRA#Cr%-u?g@?e5?)bB+8sw6F#p-*;SGM|M;fW@4Rg zZq=FV#P{k}98rHlKHzY8irg5hJOlt9n&2ov7KWX^zK1EY5k+Q)vzbjhO3lPN-rO=< zoUH+X<)SEpt&H_JAq5`+WKR%}Tw=k9BFa8bNHioKp#-@sybZVE7`YK<9M`eq*t00{ zJ(xJ`dls&3K*5<{p9DTD$u^v(*H5a%Dr9y&ibD^%W*bLVNCN7IeFoJu2h*&!$)DOr zgGWu+$Qaf{ikfyU$8AW%7+(zzVTfrQdO5*)MrF>bT|mrTf?Zq3C+L*;p{C`R%1QX0 zp6!tI22I<}65eGUuVpckl-I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scZ%=TW>8p*pv(%=O0ls@wj9B|kk5Jy?>F#z*I(P`x(N&OgqBWv>t% zI9Sqs596HO{LrthOX@NGHMml+QO<)06s%2ItrJq$IUgf$@ou1~3} zF3j%3yhQ^#zBj}GPPI#1zVl}(`X4C;-lMe8n>2iqmBAFfDG~PMFNu`kA!FHlrSRP^Y3w~cLYx15M>iU!V(|qsp8UsRB9^0MiJ`8A)th`X%8hiR2j1+TH4qvuNNtx z-1!|Gx$-agDO~sqc*@A?8tue=6T+G`#!(UNejj(Q8R-v%$H!U5pu1J;wpoA znIx!zt3@s{)FHrV0v{(=a5}oUdSP1&RcekDQl-)iJ1j0bzO1S*-II=OT`1W}5aXGz zL&r{tWD6{E#u3KT;UyXtGsB{>BZ>xbu`a9XQ}-nL;D~yJ@Qf7&oLNGDM7|NQUtZ2L z!J#nB*x#WjW|UY^X;4d+MI$V@7P(P+YN3>-XzGntC+*{&n_97n1lnFArFS&;!RQii4hPU^N-ehp ztD4FQd;LzVWenoDo_c1@YS+MO?h*ObB;EgZY45jgl{|(J}5fA!t83zxO=|synt&r8KjJ;93>?_w8NtJg|4eXXMH3R--$)1t0zm zNXyP!E7&P!_;i~JXVWzJe7b%>sxl_iQ0cUjqI415BsCYs&fxa^Gk-Li!;<`139H%GORuY5kX PVc3}@2lTiVSrPINtkg%I diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/FeedItemSetFilterTypeInfos.php b/metadata/Google/Ads/GoogleAds/V15/Common/FeedItemSetFilterTypeInfos.php deleted file mode 100644 index 8c43dabd5e744094b652b4aa872bef4a0d89d7ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1794 zcmb7E-D(p-6m}C@=>%(C6beE+O$$vyH?*Z*Y^;)hf|^7cf6zeK?9OfnHZ#l4tWYJ7 z;*FQSiG2azp^xB=&dzK$v1tO$#qO~A&i9=;=R4>5%iuf!yReA}3N4NtIJ|)T9Kj%@ zoZ8ff!^m|}2yHqFu#Z9m!deHmJ3UyhwR$@ul+h@(kqJFYJs%Ye$ zB}Eq@XMi~x4H)7B7yBHA1AY;p0VXbGhExQASR=#&%SN!-t-L|pax8B3o07a=c35(Z zPwx*;`c+9@0>Jhy#$ZE;w1mbP;ti?L69TQ6AAAE){DNrcV;eGVaq-&2OsHdyEgyds zmp_HBY>p{`aX^RIsBi!kXN=tos3_JcoMhUK>nCd0ZxL}%V)^|VVs?lF zPQ$K%nx=<%TJ`u#;h-c{V>axCxE{6{fzOY^ZOEXmC376(-gs`nev#XATmt}8m`I&kHN2% zCEdNvoa)=2%6-1OiY7k>o3#ru%-DWSZ82<=q%*0ngH_)eBA;z)Fk4vD--3t3h+%>l z8^rUUxM?#3wLGFD_cH(pa OF5I3HsBmL22H+oOjbX(A diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/FinalAppUrl.php b/metadata/Google/Ads/GoogleAds/V15/Common/FinalAppUrl.php deleted file mode 100644 index b029487b6999a0b63e64e6f6dc468d6862d2361e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1535 zcmb7EO>fgc5Upd>ime1uPUS$mq?MXV;Ha&7aVRKG(hwoyh_+NhmLkX5xR#vVm3NI) zQ14v%3mo|={RjL2EB!-i8HbV&v$eczoN-PMwE*!ciu-6@&JQJymq)C8m7!nf3sOe8xQ-?D8w0qDL zsdIvxvk3d~*r#-yCb6aX0l@woG3o~h_D9Y;#QmwyeXp;my!Mo3p^QH49(Wx^)dC=h zea7ICq-;}qn#AA>fZ|8fNgM@`ai5FVR>Z~;j(Ft9(PweCLpbwehD82t>@39rj|he` z!Nmb;>_E*av0IdgSscQ=wUHc;7>zf;93`R)uZviaM3j?cB%rn(B3=wterfEqR8`3q z&0s^fXxq1XJcK++(PD836U5U5-w<3DRI0HTucEAt_HG18)JsVby+6piS?s2suzqW_n_wJxuHJv{O zs0*WI-IO)vtd~|*ijItro$P2KiG3VeBng`#!pg3>uW2Nvbj#-IN?f7MY3%dJhm-}Y+HdQ%c{YB@XG}I z;r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ygwa qOXT!XF7>Lo&F$ngQZAKt(g)dH=|g@6JHKz`Ue=f(mpg+qfPVnaip{M6 diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/KeywordPlanCommon.php b/metadata/Google/Ads/GoogleAds/V15/Common/KeywordPlanCommon.php deleted file mode 100644 index d61eadf4f04a78679cc6aa7e0247fd051225944b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6031 zcmds5TW{P%6vn%o%brbA*S&=lQrE526zE0`REP})t#{o`+U!M}O{$himgAjlEF9ai zy@7!GfP@6%H^2it^2P&?`~lwh4TuN&0}w(2ac0K5@owT=sy-zT*_rW~@0^))nQ!L( z54~*8GZ_?K8-Fx#mb;ot)KPG#hxPDvrY{Sv{Se|JCaEu)ic!o*j zN<*!Z&}bW>u~A`w8^v}IHEC=8?!Ao?16%|!Z6gTeM;y3;xcm!z4l@3E-A&svW)d~Zp$2#%HH%`+?V@u&%g%V zD%_@xWhW%QW7r#I5}3Z_g|6Q~(L$j^!u|%+k-6K8Oe;mRw&Xc(Vxe%r#`|*UcS&5i zEc+zv`p!PUvpy6v?9K;PWJa;w?rVL3zMJa{QoXm}y9_KOI*mBponRjQ7H;eAmcB;} zpLEll9V47DlSYW@$;x&}OmGTwW1Jq%lZW zi%-N+X&f>S*J_$L##<{-#Bm8=w76DTTWyJ1X%e!lTBD^^RjnxkRa7sv>a>%iifZ+B z{%L~t%36u{Ce`NxC>XNQdXtu}im^4asAvdJOVM_9T#V07-t{~49pbRS@8yYS1&5>! z+s#Gx|A$n%QY`+Mnys*u$YUbpd6Tv*zMwCH4t}<{4ZYOyeHP3I(AyDNo_* z5hBNg6h_EO{V|3UMne@V*IHFf(->J=u3#*w|D4RfL#1ZG#XddGLWo*wRbLf17NRhZcZNJZC~}O)u{@~FVy%om7h$5_TGE<2 z8(2lpV;!i~YrOxW?jN+~Y`FjTG*nLGexuXzNe6j@zC%LaGEWl$9w@PVF7}Y{_(!0A z3_OI{qos}s1I+ibw!U1_#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v-*nO)M1Sf|~lWuG2p1`K^wP&7mD6VthwqAB?K#&E)`! zno5alf>llBg}r#i)-ncpUT=MCO>5UcxAzeJ+Ckm_a;v!?#$s!2T$>zQljC6WGlQPo zvgCsBihiQTFj44c6WzabjmHs0?daXTZ&B0)w6|czV(Q{y*pf~IqTvydMGPOH-OwC9 zLJz0^01y8}sAUDLC2dtV+`FYsd;ccU=hOA83dxBmVyTKwL50ufCdwt#Ta(=jZ~xxd zNd|)-js3)DH@1n5L+L7;-8f|T=LV7bc;Cpk5BNIazZC+;g74EY1qlfeDjL6U$OqT!1}eP-tZpRRR`e zmN5-fEekG~jseC~_%J<%hTL|N6KR>2L?mNosOE)LdgfX&&Y5lYTAg$c`ku8y;~8{=M2xR#9Dvm&+aw3j z%$8bS0<0P+FYL(+UdtG!X~X*3S=MbDE8czdV+TF^AFtZGVJddM#*M?Vb2ttTKYEKE zTrp&+*}T-^UIbD1)|(sOqiA#&-I;IRjs8Zc<8W)Ht)!#& z6-sZ)Ec$X>Yt5A)GLMzcdpVOnbL(^#+-wbNKfLH?YiBYX{%Y+`d>&($!Z?&waf}-zj2#rl0c&y7t9-iO*!DQ2;nMo8x$%vmZ-rI} F{R8h)NNfNA diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/MatchingFunction.php b/metadata/Google/Ads/GoogleAds/V15/Common/MatchingFunction.php deleted file mode 100644 index cc2a4beeef7a6c749bc856dc4bdd28d107f4db2e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3234 zcmds3OK;mo5H=;pa>q{05RRidslAm0L;+eFb`i9o>$rN*wvd=|YdJ+)0R$zkWC9ea z@DVgEd??UE(R8s_%wgmnx+1 zx_z6j8>YX`m(l9g#^ZIoI&hu!ff001ET^ycLZ=&8t|K!a0FE)B{?O=BvUgZLpn+i; zfzjS$aP5le$IEE-eB*Ju#^AO9y0+o_7JGRv&eqaRn^T6_T%drB> zu&rN$qpu2aA3 zS;N5f4$)Lm`ZP${jdse9wwTul&FYad4^dIh#kfrZFQjLk6XMYz^qdjEX$r*x`|ybs zhfy)j)ax!LuACZ1ejmaQ(@@LI7ak88PhH^ zkkT&#td6Is#$j5BqN1l#0QW91krrU?SUWmYYmME8S{J9JIVc=!PqpTknkYyj%recq_4x>h+*#k{l#;>hGkZAE6&)xQNOp)}*Dvp%4DPGD!EXURVl zzKWSdDBE!Qvg`HN`_y6bPHJIj`4dWmakRz$|C-D1RVu&bR=DtGl)KEA(F%nxM_l=D z5`#7?jWe~uilfbp-sVdDs-oa!MM-fK1%VWW8Fgk@fFHp>dD!V^6)%fzf)w0g^j^5$ z6=m?V0Qbjp+>9ZjXi6azv(7IOzzpOX8m4_7W*c=?Yc*OgFy{a>>gUImXGh|+RDgU% ztBW@xt<;)YtJ2Vp^osUEoT>hGH4(g*72E$q0e{TH$C(Pa`1zJr`NawK!!IuXS8bJk z&w)73zjPlKl80LN0}uO3@dgpf@9a>lQRhU>mgJn5Yv_#Q&IZ90ENUu3q*Xk zvCBBAlcIo}%x!*h)hK0r^B6#kxj!Z8u+*c})Qtei?}PzOC_n}x?CmRK?;=bkK^Zx~ zu+s#)(M#c&#r!qHPG*7;ssVRB`ZA<`kT$afJkrVB=94SO{RPK~+d=AL`6mGu#`uz! zV4jOqe`VMqO{9vQ32YZfBECC=5#*8EyKu9Eg90_2_@ICXvv`0ori+6OjrV79U)Z0j z7GY^T#oS`qfyGJuqT>QfpT$W)Sue`C^9)c9q+_Ef=vxA;#oSFG-_7C&LGsIh_i rO)j>`7%aHe+uRz*$(Ss-RWe#UOoz@7_$)gbTr;O$X2|VM;S}Is-)uXa diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/MetricGoal.php b/metadata/Google/Ads/GoogleAds/V15/Common/MetricGoal.php deleted file mode 100644 index 80ab4dd8a6fc85d966b31ae5ae9812568f57ff24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2431 zcmds3OK;mo5Uyldw#RueY>YgLI$PO56riQx7U_Ym+tSp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*?xo+QEzOb4=Q$Adtqs7lAnq!&r6}YShqa?4xnmXAH@*>PX)Vc$b`s)I$1}f&L zs)`n@>DGW<&_|`3*E#B@Sf(;P&ZjH?h;cg4xsKj=W$y^C+QcDUTsC6a^P2-}WU-8L zL17J#<4791^8>i46WcWo4V?l5iC@=$BsT(iR3j9Pe(PWz{)9m#Otual{{8)UyCyw&T|Y*>(NkC1jF8hkhQ|Q^2atYZ_5c6? diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/PolicySummary.php b/metadata/Google/Ads/GoogleAds/V15/Common/PolicySummary.php deleted file mode 100644 index 9a33f6d6d28909dc8fdd9bd92b7a2f5c5c8baadc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8053 zcmds6&u<%99q-sl8h_oS&h$qd@2Z`37j0JTI@IkV*4+Z0Wa12UY|D0%4I62g*e}kg z_KcYsw+*Wb@#BCHdtnbq2qahzpdR4LWzR_aH*n;Dc2B?oIKlV5H)D?zJGRsIk{+7z z%=dkNe%|-{zTfxWH`<47xFzL?No?IEb!q=dau12rwk_AHSxsrbb8tXxsb;m>Mw8en zNm?sPg<@4w*3{~2xYV&ac8z4DhGjLHWJRw#EBui@J-YqQ3NCF~=1SXY8nq+M>9kt9 zeUxGX08G6_oVH#gQm!O#5?8P5uD+LJy!Ntn$9tqt+qd7@TV=fN0o0nh<47gOv%*=z zhalmxQRBwqEZ_UB{3ucL}N7H{jDL*c}=x zVs=`NA1c>s8#RqQGU^1Kq1B1w8YX(xGBwk3wa1qI&@dbL{*h55JfPwY&N_v`Pjz9C zLKvhN>*VhRNb{&wDR;$Vj;`~07c6&&b6#VN6;vttT}Vx~O1uowtwN=wtg7p(vKG4_ zM&aUC;X$FeQ-}%l$C^@kP%V~XA^Ia*SSuIRwOClZ2w}BYiA~8Lg&>L0^{g0XkbGw{ zy%=gr!napFKQ*kTZZ=Yu-B@W5lWhur`?L*bz;0r0yvP3kBoxkNv(G{|a%{V#aFe9? zBYnc{lA^wI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(CDXP9}q_!3aC_&py%R+Lx24ZEJ79nQbJS+;!uW>py6W+ zO?Q5A-^3O^B^K1bXBYb29pmYjtpZ}9W_@MlA}q)hOx>)tnjbbA3$HSug!`EIm=OOD Dwf9q8 diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/Simulation.php b/metadata/Google/Ads/GoogleAds/V15/Common/Simulation.php deleted file mode 100644 index fc4cd81cd54b86e6a1b6d6bb1e884ea0216529ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4337 zcmd5>gNC0T$S}GI7xdGf8u&y))dLY35<`vYvNZhegZ#&FMb8@pP5pI4g(3hhrM}WoaD1$1TD_>=3k9tvn+!c5#erd(uvA z%VnKM@$}WB$F*%~X9K|TFk|R>Y7f2x#D8H@_o#zd%$+!Bl`@<9G^W_2-}1ONQ3HF7 z@Z%SC8;S3Tiy?8~(054bAyPJl?rIqDJZz%w&8i|bJT0{YKPHinz1j|8PDH~vh^k!G zvYI4L6Dr=69&Sjl!WwO$lDeX0UAW^Wilc;Nog);HIEnl-1E;Aed9imtp`B}Nxo+z9 z3CF6GDhj`A@Y^E1cU_Q-C3T|A!7Qh+mN~3t1#8iPx$V%YQ1=XvYQV4b8D+8Y1V%&g zhnX7EOXKf<*s;;qTsha4a?-v*Cpor?6c&zf#If5Bab7S7J;8i5FqnSkiYKtBWM2fB z<@tKr+aor=f6ZmZsi7=RXn@hEQ?FUUWYHRQyPseU!FCivK&4SRp3!@Hi zfhWuy7smH>@zR8GCt#`D2`L%wNNAclX5NvK5h3BXii6N*UJ%<^l}V{Gst!*&p=0xl zbpx7`!XcvwW>>---hKV1-3naVpd>Qi;5yp=Q00NrVQCMyPsmFZP~|?%3bPk-Qdxxg zTtVmDZ5Xpv_?1bR;Mq)rmj5$xNEdkl7XQ!$o;lsYm_6qf#Ql)RuONzYl}iuj33Z$GhSdH(QP~FoDC6 zvoPm7&ts-25Y4y;lhn6`087$kswiG*@y@}7WXH1I z*+VzO(nB8Is3w_5H>ycqN;j%o3c9Jx!F@YFyw{4#j|G^`olcAePV9NKFToI;zLbs! zUAP=V65H;7E#FwjhcVQ1H>$|^isD1C3g1)!4^=n~iPp;`@zMPlUqj=(L zdReXMe|9x$a+A-j@^Y8&Ec5>qR@7n3;>Rs3wPab`lw~Pf^-+1t57yF!_8qk+pDo3G NH)^S<^iJUv;6DMUX(0dr diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/TagSnippet.php b/metadata/Google/Ads/GoogleAds/V15/Common/TagSnippet.php deleted file mode 100644 index 65c2b69872082894ee005108cd566249cc0f1c36..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2214 zcmds2O>fgc5UrDz!W5`6AF2wXONvA)fun*Dl1qyc#|;r_64XE?6v^5+8`r|IEqenh zsCRDs2X1iXSHS<^!i5ue*1Jy9rZokQ2dpq;+QLr1pGO7@dgqV^p>g*x9 zOHdH{)VF*Wbq2j236bUZ1IHzyicqWvmM%GK5l78?13&>|YLecyIT0e7Qiq%>?fYJVV%v;7CkO~tIXZxc`y>jmMNp+#+9DKpF~#i)2Wl6)QDVl{^VR!podc}_ zST2qt)WY_*z=OAd*e4itT*pEY#gzTrbRyI79O_`#dBYC2j(XUQ2n#>z+Z%Wmb$k!S z0S(V0`4uEEW8a&B&n{ve4J&KLcf;uW2Z_tklG{n|R$Foh#?-Db>HZgmC*vAQF%5@R1GH%ro%PM18Som_%Tvl6%s#6>sW*1&vZS1b>Bp_Dnw(K)AzR#P z%GuIS335zWNfBxFl&&71k2BbmUg*hjY~RJ6t@@!|u!+ajITUf=M8{~FpLUIZf5>Dj z#p0*T^$ORm%G9a~Gq#v+)%fhu*P%n3EBk=7xwhNf>3b$8LN$#AYuX4$(-@GZai`8H zUf@0WmW2m)+N%~r$Ii?y0Ot;lee`E6HQhFF;?{rEG+FHctYe{lVI23AwK zPV2DBk_b8Gd5Dn3f7MU!V+LT{fR$~Sj>WYgAt`_Uu5rS%R3|x#m33rM>A~EA4z!Tr z*iZik`*8m`lwrK3T!VSr^*h)#BZm@`4XTA1mg~&psdtj3EW$bRigU8JDd9EjQnyA!=(d<`<3W}>1-YZ}+lPICUq3bBqW}N^ diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/TargetingSetting.php b/metadata/Google/Ads/GoogleAds/V15/Common/TargetingSetting.php deleted file mode 100644 index 5ffc6f1ee108b5f0645923e771c996486f282039..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2086 zcmbVNQIFF`5XK32mz$%-7y+kBg>4RrAb}$eA&}Ffa$=K4aCVf-9Rfv)9A^_OIbO@V zL4xYu`4b4KZ|$GxOQlNu6yEyKK6kxq`>x6v3Gxt6oSAQDzL{_K$DiU?G3=l&j&R~J zJVlc?h`qunP6#7D3DIOZo8bicWDy4;PIQDU7dh?_*;a4(0}rKSnfTa1b3*1JZhBMN zlxAwZzW1QXLl-1!GB2597DV$g#Vmd5;tYVuTVNV{K1SVsdml4z>M?KB6>uYSN;5OH zj_y4ebp%`szz;o2(J+TSkf`trApVJ$lQ8fRWgg>?n*kjMQNRK(4Bql0_t4A>Ddr%n zzO!ZIvw%b>4R9kLH*O<|nfl(02`6O_<@xnfo;XLNUc_(`dEv;y)K7w#k)+RE4TBe5 zu$#VV+-`|eQ?y`)8Zt%0Sjlk@v1Ex)AC6Fh*)oYv0FDbNk=WhGL6(L&offA);f-q) zj_J9#;Qe`cRN65dEf@4u!=}LkN0f6STc%x?kvi|NUi4b$z1Br!{Z9q17JaeuV4I`X ze^WqP{Y$$DTZhg;-|qCD^lVE#r)|N;q4U&npF66O{&;G?cs{Ni?18$beFK|j*B%c{r)#V0>CgT%vt#eu&QRUZF2lvXIpDVW zY9etw&5nUwPTdh?ZpgqhNR#WJ{+9x3L0qO?&4tTM=y{xA z%920`k!~xf+SuCNEpLRx)Fs~FBvhNg_p5+o5~s_K&okYw2O$jD>4Qwu5-6 zd%lAuKfpimDJ=K~96QZajJhD3T-oQIdwkD%`aHkLQ3obeP(=()A^r^Jf2ywyvb;8T!dA zIEg6_9XUdRtfc%osdtFo-#ot#E598VvigcGe{Zuwr9bm%Jr z`{hNOuQ7ku7%`6n-jGB6%MT3Dz~06ZYsCt7Ht*w4VCXTGg$A<=i9mvxy%6uScx|-w|3b!`ju*x*B>{A2766 z8_~LlZpS3~kSSS+bYasYRl5m6ckk7;Z$Z#%qnl~9D!c9Wb$1iko6%i#XYp_6Xdm5L zY~e?L0@SfnD;+x}jrMCn&Z=4P{;YaMCOHvVC{@e8Z`Ha#Wl7 T&}ZZ_5IfW4fF8F-YlQv+sJ2Lo diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/UrlCollection.php b/metadata/Google/Ads/GoogleAds/V15/Common/UrlCollection.php deleted file mode 100644 index ffcefd6a453e58902fd7f79c6b500c299e3fbf78..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1094 zcmbVLL2uJA6eb%CW{JZhK;^<7>!f88q?%wCmx9`LlpUZw3=Sw#m{0x2yM}7g0-KMKXFXWOZ`@Qdde&6?=y~ri@(V5Ux3Bsd3En>xTE!D`RVw_Q3&$T)U4%@bCg~n0{97T+;aO{9qCB57n zKv7*Pu>_daP?p%^=WI@+nI=VSI_f(gi>ZkH#S*CV+%HeZT~*nac5IGG4$QlO?$P6 z?rKHi4@_j$@mSMo&W&puw=AS*AbWR^Z|{~?Gd+6^bZ`96(%v5rH4Xpyi`G7_=dZlX zia+w+pU!8JNlru-N|m)TDy+8`TadG2?NYSe? Eza?g8GXMYp diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/UserLists.php b/metadata/Google/Ads/GoogleAds/V15/Common/UserLists.php deleted file mode 100644 index c62c44dbbadeb840aa77867c9981f748146b8faf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9785 zcmds7O>7&-6*fuzKG_nrwj!B!tTi1V3eZxu0s|>kC*bl=L?}`vDXUJ^E>`4_UTC?? z>@F26feRF9(Vknhw_bV)kVAXzsfQkV@V$ouMb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LlaPQAB7F-OlWKa#KsJ46&7J$v?fo# zRt#kgMvia6qMMYE6I7S{q`G)hQp!=mdC4^(&XC#nmyWLWdj?uKwzagA4j#aYoI_yr zt4on~r}`$_gMBL> zwm^j?n@ZH-!aU51)K1AiMqtA+am5ptbA$Odwnu#{EWn(|da#HyESLOs1QO2N#vRBRW3!Vco!u~+ z@BI8l1~a6AC1M3jcM?Myk2B-TXgrMOtFgbxu*PE;zzRD(mt{XKyzTsvfVnYiGDIkj1U`M#T+6q&Atcg zvf5PohI}@1PBSgfy+im~)lUF}FEg_1A%CtNZCZCrOOCQWQc&oI73^l9g6aD!!J zmn;?q!}H>Zf!Kf+3zGsQf?M$u)MDRt6zUEp-mmGo0$(rYVrt6i)L z9K_uj*=+)@nFpvsn0~^tql)2d)a`v7_MGy9hBf0|>yL9qW3w1^MI+0uJH3qB5&?HK pEU7P|4=kL3OB$Axb4%k*_h!&ntP4kj+eLv_lbE0-_X1u3{2!QG2o?YU diff --git a/metadata/Google/Ads/GoogleAds/V15/Common/Value.php b/metadata/Google/Ads/GoogleAds/V15/Common/Value.php deleted file mode 100644 index 10246ed3caf6ccc8ca809193c61c39a3c08a499b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1017 zcmb7CO>fgc5Umr!#{!o~eB3&aN=*egs-PS;1eB1H_5jJD>H$TnHulUrXPeJ03^j9$6b=*o-4*25H)6APU``)_``FTz{FyWGGW_b*YZ(z?k^i0sQh}k%gs@XDpHKUf*pk*+c?eFOkw48V6u?!LKg|(A*YUUJG$-%w4Rn<=O?iO7>-={fa}|?~8FP)kZ$(yw`~zw}L@fXS diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatus.php deleted file mode 100644 index 4bb9e83017f02b22e369f17c02e457c17d40957f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1067 zcmbtS-EPw`7^N)&Oh`@@ZaP|eNa{>#&6;F5$ zXXSiO1Wfp%pg9o^gzglE(-Y{q!O0WdDtRdqf?&pZmXkhCWxpy-b+LcgC#+n^K28!M za|2or3HA4B=X2WLBov6$eZa!EheCL?(h3ii=1?5z2_F7j6FZ_6ByUVWV@{t0W?H zP2&(MQIe~}ArwTFf?X0UYbq=3`AfQzF-p^V>XG)aR|C!5UGTdFhW}+=XS-^5wBt_g zy`#N%toPmT;L&D>jEmjR;Nj-e&I7P@8Xia9BsdB@w|%R#1@4}Pufyqwu-z~pkr%o_ z=(n4l`{17IP2L2d#5tpvzYWmU@m(pqN#ywPW)arasPSpCx?{$3%rb|I zte+8P!@JIVL3PYG$A4fK@uS)DN28z3ZQsV)(P4I~(o{Ouj*a!NH6XUZzmj|#{VMx^ rn%$}uA>E8n&4Z98LdY`B?pT2byS3%dsw7>;=ElrfV1-+PB>?{b99&*^ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AccessReason.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AccessReason.php deleted file mode 100644 index 7f7bff111e49bd9b26beee18ec08fde71717b6be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1035 zcmb7C-EPw`7^N*M;7w5S0Fx<`)=7|Rpxw9>l>QPi(yBiop-7XPxLKss4z_~?sF%D5 zmplrWJO;c3w$o;n#xBTBj;-%I-|=_Oi&yDo3Le8Dp@d^eLb&)00u_z%;9ExTRHTraV)+97ri6#yLBE$tJ zSTJfEdH^V15s~76z~Q*_mPj08iT$Br@|{p@phoXb&-}h-Y5@==SP1AC#)%;WUjbBK znk|wzfI?!aen+vmh-oZioWx($)7o%}6G0Tg_1a}d0~s?4b;F1Tq;UdsPF;JHGPQ~} z+)5kk?WoQ8E|r8+ocKK=0v@N5@v$mJC?c}hslI8Pw9Hh^7B68Vmx$0cjcq7-Ms|lo z$cfB2y&_l_R7Tj-m+?l16NbgqfwHSn6zaLh;8z7a`+uLT!@S2AW-TPTY<<@9DEM7`W%IGgIek=T8aLRZuq?Z<5=2xU0)p zIWB$ZZr&KN1k=c7JZeUSnw)O)oW?4~|BiRdEaH2)GIX3D<-?&#u&r`y=TIY+VA~}4 z=eEE%8Q%%HNqHXg-{pGVijZnXsNg|J5g}xl7F8qg`ElX%lRQ3GS-CN2rZBHtgEatu E0p5^FI{*Lx diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AccessRole.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AccessRole.php deleted file mode 100644 index ce726ad591201b58d12f82dc217cf120f224b3b5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1009 zcmb7?(QeZ)6ozTbfO)W0d4S23N$Vs?nb2-r3QCu(irCVs>p-ALm7BPkrPPjW2MJJL zhD)A-C*V!sDR7)NoiuhqZgLWx^Pk`Tzt?ZG>kK@D1Hy>Fio|gC1*&TTGr<*)cnW9v zd`<+6_#&ez5jKSG5C+2u^jv@PRF6uYi-;hYaGs>3gJan#%cA;xe9|E-U&s!QA|mBf z@RZm_8~}zFL}oZ5a4_m$5QSr`a5ykJp%cqhSybia?SW4&^y|I=9-vHE4 zmd{ceL8-9PuLCNllu<=-O26u3_23+*lIZcY1 z+SsVL8GS3E&lC|1r=d$^Bxt6%80l7o5~8a6EdI2Qx@K#kM(40yT14oU#~xH7CpVWv zD2U1h+XyTxDP!!#8@jUL#BsItOh?tO8jHP$;AaE8{NIeM{c^(AS=v>qwocVHskRi@ z-2_nt)S3aX`D5*YovYw-(*oN=yKu& zt}}L<4eJTm9(#^E9R}wgoA<3<0K5ywKQF(x`oC+SrGZ>Iy31UDZ)3!SHmZF(U7aW4 zDQ1byMbb$KGd!-T&8UX;-w=1rp}*G~1IPJM-yaxKZOx}$mPMsWwGFAi)(xRy`3B5} u<`U;W^;S8GkRC>;(m_ZIA!L+h4~)TAhgG7_OHejc+=-NFEc=#V3BX@17eWXC diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatus.php deleted file mode 100644 index ceb935aa2fb7a4526ca26cdb545ccf3eb45cbe6d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1136 zcmb_b(QeZ)6s6r5;4xA1iZo1_v`&Il6WWVQL1~kfLP?{o+awgJauc_+l-g13AOY$t zzrZ_>`xHKfPv8mLX|qXVdm=BnPVPPD`rdP1zfI3m@ErCCBN>(?hLbN)o)eg6T=Iw~ zaFS1_B!dy3r!*m%4WT=P{%{06w?BHON(Ileh#)xQe3pR zJZEw|$>SN3V}+k`fs?V2Smweud;l;!CnCiWfxV#fkw_e4iNl_O4xLymLmi#&AB3KU zZUGP_SP1A86dl75ED4ScKKKTpdeVH7&+) zT834l(J5>cEh2QS$2OE%POg$em=T$0>=Iy6LYc;1zM;!DoH#C757jywWuoTY1wYn7 z_do2>+ActBB>}q>gRR718!^-`D&XlY+tO>Tf3JWix8zulz~+g69C+RSVc&CWcdSit z@5KM$56}EsMIQpscl&;?R<$03Ehh+$hNqr8e&-F`+M4wc++TgFty^2*LD%uS-e91R z?&_aM-g~b*Qm2j1p9-ie`7bYW)15lE$81Yq3Ga?)ay&0U&=Fs;h^B4N6t01tq#5dsK2~eW;B9QVWoeER4yo^isFoZ(a#>h1ZR?HwTIlKV3DGn zL33foBGNsErKaH?=3KXF0JlDMX~lKd!U2x;{qGsJ z+NFe}hwoG|aC8hD8-vcb8hE~QQf8o?1U%bGXgvi7SJMxHKbo9Re6RVabpZCSrthb- zkJDzY1;F0u(s$>6vu^NJ;2GR#?SqCt^_q{(;iZ2uyY`z;hJR|Hqf@UPVY>MyS$3NDCokm6m(f;G3f=1+U6*-6d&f3@x$bt-%_A Ezs+D~X8-^I diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatus.php deleted file mode 100644 index eddbc0d16ace3823b848833f350c48905430930f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1051 zcmbVK-EPw`7^N-Z#{*H73%Ht0nY2!VR1?~bOF?OyMHM5B*bfrQRJn_l^7soL# zn3~RtBqeGp6;_3G>=*zTUJ#k%m_R=qyeA4LSmDUGjFFqjRcWfT{e#Fej6DG23`+^! zl6hc>k1a3w4xoPWVwTYunpyg_L*Np#Qh6wO#f)+GwY; z+|iah*7Eij@MMEG#=Q19c)a0P>k-&G4UR)^I6fSEqvoyF7PxyFybC5DgJ#VfLN6GN z1HV~sJplLIF#Iq%)3`?KA-F$ugQ0hHq>r};e`}zv6T4D%lfc2#4H~SMVeQj!b-9#h zn57OEX*VUz=5?L#oa$I_j(g8;;77gTyYA2Wwr`W{==?fmX)2v$$0qsL8W7p6UkSTS vdl~mX^>*2ckZwk(;z39gA!M0mcdWoyyOq%|%KTi0<;J90V2N9TB>?{blKoc} diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatus.php deleted file mode 100644 index 7677a7345df77ba1e151cfaa340d7cc69dff8e51..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1089 zcmbVL(QeZ)6s0X};DIO=@Hm+=X`RGUO=uEwDJX5Ts;o;wyA}yWs@&AgEK)m493(*f z0{#Mt7e0kg;fWtW!gkthQrQc6$-VZy=U(4)?#tKFMFgJ0E@33bg3RFb6BHK&Mll!M z=OLV?^Erv3&leF5No+vaaiHy-L#xv}e0=KG^9RMmE>=aCKJl2pg5$TCjVl+DjUJm{L29Kx80G-j6o%N$BKcKC{}+AwFcyy}T$u9gR?y8GZy3B34U$|}2A zrXeXda!NyJHKG+%AL)U8ePI^|Se50}hwnz4`qH!BZ8*|qFW&+bl4*Bv-xvtPbdxeIO& ztT$F$#cXByW9L*l+pXUPP?gGFz2Um&v>tDCtXX#p@7t?E1U$qnFnAo)1H!bf*IN)# zDgJ*iMMF>PTd~wN%^$_xu2#Gub#7#)vZUe-t@xko08j74m8H;Ik*&qAVl_)eNG2nc j;~*q~5YkA~E#2Vr{ag~yGNoP0>RL_ez$|VFmH_+(Wh`8f diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderField.php deleted file mode 100644 index 3f056e3b84ba22ffcdf00f658c958f41ba464281..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1112 zcmb_b-EPw`6sGMqz`G#o^)z{9(mDxJO=veR1@$M5B19T>9Y`orNzRs2zcnWQj5{?B4;o>tCO9C^_1PfRK z7ey2i4gb5`(xAQ&?iC!~YJyiu z2+C5Z3MOel+UKyuRJo@alg;YEtyE9-Pxj7tQbBl%6MsbVfYVGc?#WbyVj`-ptDE+D zSF>4PXmnp z$0VD_C5kCsU{-!Gr5{Y~ht{_mxOZM^vaOHc=)RdYpMb+__sX+|&e*X=#)IY|czEr; zaVPIxqoxjyJF{$SYSf#L!M-(D=ngASJ&8CiP8~cObHPDhS--x|S z_u%9{L3-+5?Za^M^D#?s8k>yAotUKB;@joOsM?8t?n+m8=zG0k_xnHU$F?@VDJ^f7 zp^BvWO>O?4+XP>)$Bq5a3sP>#uX?L2MMxGSRN){bfe_M2ivun2#aU&EXQk72wz|`k MINUnx#lVQmbUM(-@jf!Y13IEQD+_n+CE;NM?m9 z{Rh9nM?b|c5ubeW*_p{UEv$VpPd78?o_pt>d)~au&vWn`YBf8Ae$aCAi~R^lAT~gVWix zq~~6UOA@C(iL=xr7de)A5dczuip$&&Fx2dB9}_?Hi9gaf-$)6|dB~#E{eux=e1`x8 ziC>mb347PHE@cH@0Hj|&8z*r9OG4`fa3?OkIE_i{C-GuVD{S`dcm*80-`TMIYh1F$|c9UH0ov5tDe9dRA34$TwO zIx~faD1uG8aGqk@hOR1I0|`wAI73}Wcag9pZh;MY>Gcq@JwrE7gk^C9tg$1Q9Uh5b?%$JI?uxW@|hk>e;D64n^2 zfs~$iYz_JXV0Ry^p*!p%VO@L*o(#>t)k6m208h2dQ#5cm`~B|k253vfX= diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationMode.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationMode.php deleted file mode 100644 index cb2109c49599a93476801d6a5beb2f8762c88dc6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1059 zcmbu7(Q4Z;6o!`swxNzK7h0URq-Y83l(>TVA#3oByD1o5ZiYss=Bg=zr zf;4SnBBLYhj!^Kx9ZwSl;mptMr zTolVC5isJbjHX1`5Do%34yMo@_|rFPH0Ong2!aXcNlH36&O2qPt1ri=9m0xLuFmI) z;6*l9h0?~7ayDP_nAm0&01U54p5cfV0}}>oL?%rk-o&Gf4!)>1;sqNYG4j5vo>%5+bXI)+gA}|H8BO z%XwQxZdc*kDtz07-;&_f&V+P`tt;?y=TGYe*t-~i4&8Hq=(~gFBWn*lxfp*M2Up`} z&3Xo&2I15n`PXi)*@^NWw9d(S=6Ij`Rq*9CY6eZq*qiX?FH1*&TT3&9nSc@7t4 zni2tHzAR`?gahGd0)xpV^hV>$r@B@0Qp5zojPoofJ)Fp11r7Rqa@r%TTuQw^&jc@v zxdu{URZ7Rs0D$2okp+$k^uyr=Q8>X0N4}+t+(fRSL02cIk!R@o0K_?#61s_RSlwi5 zIl(so^;eXOoW{`1(Z53~=af-JaZbPLD-K|ab4fJE-P*Kdv7($o(=cH%=^n$1)6^ao zTtCSGZq$Y5mGlcmW2T5;IFCj|#)1}#i%^#$lo3_Gt=Z`w_w7`}MpM|WBqDT2;{YmA zlH0=}6hxJR-4Lv5Dl6>88@iU^CP_W@T-(;I3(edk@UsP8{ik2;gR0Td_ByrEjyBq{ zMt5@Xc*_*ySZ48=ubBm&tgJS>|w&^)kY2FgGbK zs0r^sL*2JG{@!f)uKS~T;M>SLI;c(s4bqWyY-E3J3L+coTdB6Ou5$gm*{NC)(#;6f iJP2tbge=oy#|nITRJ;1T3d>D0?v0f#tm;-^1;Aeh3rorX diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatus.php deleted file mode 100644 index c14aed868dc9d2b92048640a2ca42a21783957d2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmb_b-D=w~7+uot2eoX$4-mAp&=fX@GJ2yl8&2#RGv=72Nnsd_Vk@q}v5YJiwvns7 z$1Zl+N7iXogN3wENh<*?= zTINB>5>8k`vjFEp`I!%u|c2y^V)irzP(VpGa$esbzt zlD-c>nBt;ewxLMUa$-(gY&NtW;gr^#2bfdO3Nv><}= zK6Y7VAs4eld0?D{q$?X{tAG`54b}ks1vc+{Y5)KL diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatus.php deleted file mode 100644 index a1e5d9ebcd1a658222067d312f93e93195ca4890..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1068 zcmbtSL2KJE6kd|ifqGcUVTTQhniZPD=1@j2%F^K^t_fQmvoswHLr`qR6*!WSBh{*nRg&a^e=6p5}|6r1!q}z4v|ZKjharcny8Rh`@>@aQ+RdYXWn@6_0ra z=fz?{1dRDIrx_6rgu^im#+T3=jxG;$spN%-34$r-X+}CYk)1L$(ap(ehp=KP_5Car zyvS#|3hCHZ05H5HGRHB2e%QYt3MW|M$hWAGo5*!&qN|hB$TO&20OAZw z3Ejju;DZhJ#6pAb0O~I<<{6ElX{UdORL&@)isFpk>VbQ3fip=o)Wh6G!D6MULQ^ni zF=-#e64T@!=3FnR2R9@`vopP~XvFk{3}?}hNIh<@xCnJBLMc(zrp-=7z)t8+CpvDJhtJ-{_(~t1_W#yEOZ#_C>@kl0SKBFARm0lX!Ft4$XPBi9 z7ilLY%$j#&_?#M_Z}orI?%_wh;k)k7`o3>%?PxPQWoRO8YscF9*Crvd#=qx$YyHyu sf9kEW6d_%VP=$k#213Xp&37!pcSn`vZ%QZK+2&Et*~Bt$1y%t3198P(wg3PC diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupStatus.php deleted file mode 100644 index c3fec999e5c99afa60b23edaf1c8814a0a278ec8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1011 zcmbV~(Q4Z;6o!{%bf7ZU~b%#ci5whJ;WqAaT~hc%r`!g&iT)g{_pfGU*zB=^a&#ZE0Vz37pN8l=7K98^9;_4 z`J4zC^JPvmA{+<@BN&XXpf?y^z0jqS7a}GIrktl4>EJ|m%FskN$0r@ailx;1(^T*x zpGt*QAsyQQ0EU-D<~SzM5Brxy;RGuj`Bp1(6S)pebbWjhc}A-XK%8MIp_}+da%>gB zHvsjQ7qg7U&~(wi11hJKQAKe^zv|od;2dX?XodT^^Mb{Sat2Moh{dFR1WQemdysSe z8a=p~Ei@0LA14|zMFhiHG$1k-G*?`NIu)UmsOnkGPWz~9yBak*hwXAigznAQgGvg-cXX{s3`+UB>M#?kHQiqGQlM-fW+;E#y zgX=#r?%KP4uQz>90*fWJ$h*vSqo1`FFilmLjB!5vp_$ g(n1JXrP+=h@XcXm=BtvCTOb~!$tIS0E3g9KFUVg;)Bpeg diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdGroupType.php deleted file mode 100644 index 61d2bc9f2c35fd7f3de2decae225fdda73127e5a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1382 zcmb7E-A{v@tRi?NM2Sli43t`l7#z^<{`gdjV+k{}RZo7l#e z>18kaAid~A^wOv3%&_7n>P5NXa5(2X-#KUI`}jG%NWlhb(3oa^LA&Vu3KbU=rCCxW zK@y?!L9a(M6eO2v7|~2dNHdXPx=7cEyT(%UWRL|^LH#7@M|8*U<~yayt*^U#J2W0# z=FIQ)vt*EZ#Z^jW0S`dzU(!7F1Bx0}y-5qd>lc2fA&@$_n-5KHwRiVAI!D?EAc*`t zN4VSIfG)!W-vMGzIyjHQ0Of^Wu-9godtn?Fp&y0cSZ4>Q=SMkZ`S)XcgE%O{Bt|^J zj00NRMkOYX-AofUi34=Y%;LjggXxgCpjqrk9gXHe7N$j#Su9jh`n0G<%00F1eNmO8 zg*{X&DJsf6jt8j726VJILK!UvS$qd@T|o(A?>>b?8o1l7svfd!)v7>VcMJTQ1n>WU zO>ni$k=a7!YPB+3tt?i%{&xZ_j4Xq1Y5mUxm>KcG1u)Yx97|WpA<;GI37i2_E#ufQ zPYr1dE`kL|$F_RpIW9IdY-`duTmq6t9P0$1-FYYAE3o7onU+P2hG*HP)>2&$YmW33 z&VlJ8)74MJ=OlayU=`>zv0a8uK?%&ZiKd%gz16gITY3gpz;fwv?UwGfiGJ!4gVnTk z+?1x_DtP_C?;$k_z%{T^{x?jPbxbS^*H82jh#B5r8Dh5FA?~aoST?Pl8MsMQL3|Ew zfHxI!)ofbWCJsYBA&$$N=FQIYWY&F?^{aVzT`%yVm6dGWu}s4uZC#S!GI&vX^}|D= z65Vh;)|`4IJr^v*bX3erk%l1(KsXP8YvcBCoQw6FF|f`=V0Zu?I}3GbWa;9XSYuz* z;rZz&kstTvB4&PFd#({NavG+;D@d14!td}=G{Gf^b(7}GVU5& G1Mm-b*`kF2 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdNetworkType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdNetworkType.php deleted file mode 100644 index beab6bf065f6bb30e8a9f0796fedd5c2e1bea2ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1060 zcmbVKU2oGc6r~+(%+s_G-X~Kgt&CaZsKMUsU0~EXrR6D zD|qISpTaLeh#!INblIx07xI#;t8>pizUMr9k)3AXA#@2P919Y`$r%)<1ZJEG7P1sh zis_Va7_wQGq=Z`#_I&910d#u(;DH>?S;0esV9Z#Yk`|8gR#~d* zuv;0E*J#5FZ3A^6d7M$73c@K)M?I2NI!u^;X4}OkuN>h|o2S zZ76s_t}cg=6H#z_NpN0KX|<(1)g(sY%D2s*Y^U)3yj<5D!6mle=Av5RR5hn42B)YxNEM1RoD03 z*UmUNF;+W&YM>zlJePgb3p(b4P;Ky__P#rRcg#{uV~g>)6%(rCdlB?3QThI7?)UX^ zzSoyr+x}7Cbak*T8E303RV9OM>0tl70E~3>uVi0`zfAw{dZQdgNDd=Z@gO9L5YkMO bWi9Z@cIEz~GE|odx-otlSmMsXIRJkF*@{sr diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatus.php deleted file mode 100644 index 89f56e76bf27625b299658bbc3013a1896350c13..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1154 zcmb_b%Wl&^6eVdXXo^G>7A%m;5Gpm5z)^*|nNpCGxRFI`M@?Ep6)Bq76L%zMY|V@- zQI!8+%?`eSFW^)71Xj!=aVwQ}g*U#k&zy7T-gDl*&(Cx467~oq97__z$!93f3CwvW zvnWg9q?k?#hfy}mX-c>QVK;<9ID}r;AHGmWMON^LAedxXl9CpVMa!1Dy4cxm5mwBE z`aTwfUr?5evs}^{y~L7cY%C;}g>Z}>01VHF$ZKaEenw6yHtk zv|y3$7wQ8ci%4@DT277K%riBreYotjucxObH}aVzoZ)oTB_iT9ml^LXC_)L5<;?Y$ z=JuXZ)ogSMo3=%SZuGbhB`?TzaR@n)1!q?T^ODLm_WB)NwBg2asd}K+*(`xtcME)9 z1)cw}$NGjPag+s|(hQC=gJaCl_*ntZ@7R`JYvXGLJi7x^e+<@7fhGmR$s?+n&RPC8@eygtZT=z$H!{)?M>2PeRE0q(+ZjY qhCPaqI*d@sgODOZ$S_UTOoMN>O8dOBuDr6~t^PGYi<^Tv0Dl2HIC-T2 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdStrength.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdStrength.php deleted file mode 100644 index d59421829b2429aac142a764bc965e075943873e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1027 zcmb7C(QeZ)6s7Ihz!NO$2TZ0+S|>rug!bZ6P}*cs#Ym#H8wgdZ+{8^IrA}l!NPzmt zkMPK+@W6k-S71ABI%({IyyWKU+;dOvIj`R2iySlvlPyX z`J6BqX3IQD2{R$IedzgP=-9*Y6FJJWf`tUZILqRcba2EwWvQx9r)M2PizS!+DHn{; zSS(CU4gkeV!gCxF=m!0FMBoSuJaIM8#ESU3RMqwA*~C#iT>!!qa}KR&w59`J0hCW( z%+e%;TwozzM+u)MG!Y3-lP~hOdT@?YPUQG)?7X0%NHPl5fKNlxK7l2t!XD+BJVOs| zgazs{@+y-d6@*coPHe(MmgFL1frKIy6H(n$b=oIgy;ZR#bJ#8=B6Le*4+>V0o68|& zL==o}304)A7WVvgvX)^*QML74TGg(AYVR@l)c`O4*Q4fPIbljK&B|3%x@u}yTiTbw?KBU-{*^ZhoWbyX=-9@+=04cF^4@y>d(Wt;kHGQlq30U)CIGvhKeglpV{+x30h*lj)n51kJK=iQU%cMY^;MAsVclG{Jn zD$_OwwU2}KAI4dVX>4XJ?!<)Zgl=-2Cn~=GjCEI^;d{N|TGo&Hp{uiN%EX#wsVbRW zQ)l<*1~Ad-z7cPo?=s+j>aB7VAvugt#eNjtrX7GOp$BkFNbg*q|Q9!V-UGS*8@IF|-a6@A8 z(>mM%4}uHV^GwHx0vr2+`X1Z`TaDZEUA?D?3&5lMrcPWQeV?C98yke5zJhyT+b4nN zI)T|IOF1_o0#7VrVC^zm0_bMoS@@F2wjf{w@H}omfRDh=49#7p6NK0j%=CG=yVr$K)V@%=Gq?i z&A@dc%M3z3EEc-Qv&d<5d$vb>?tBCf0g_IK!GpJ^=i#nJSRYXk`UKk?^%y<`P@>#k zxbW}8XJB9YL%&D*CVBVYz^8mQ60kG~#@H6C6dTkqtJX9ep6D6>WY|>1SPZu6z{BsT%2z^}= zSfQ{|V*gp~$WT>f!K&Kus462;Rl#(%CJOxaWur8&rGPEe>a$WOfD(5DZUFcfgKyvr diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubType.php deleted file mode 100644 index 8b977dbd98a1c78aa86d70e11316575577479dae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1519 zcmbtU%Wl&^6s4t5m;xQ9P{gYY1w@g+6++#(6f|+B#v-we?UsikS&lPFExESkN2P-L z4eVL6WXEstDSQD-X2ywIsbqyWzPdX1+~=H^ud}@jJit0jSRRyYfcuBI++#S)(=rXy z8278;kmWc`_p>Nwxq@-q!lvb6+BUrVJhVuwJY*^!rRgYU>%pK{uT5bcJl|MnNwr^a z{{hR(sECr0AMOQ7!eYOu`hIzsF-2wrAPM$akp&^cy4~usG8hD9(9@NFKD|K1^5sVNk`e5E-9g`a^U&tUcE9Jo7mQ(~d3U+2KhsR*&Jn`0G zjdX2d=q9`%=y#1awR~&Gb3KQWF1&~!xKuld<{6d=0lEQ}YL97|zWdg&ZPMycxFDds zC%<95gzkacCq4eQ<@nUpiB7xJ^x$RDWyjJ;=Q!vJdI0V<4QUpy&M{n`sbjdF=uvdH zD90n4ZL&e(s|$1KyB%t36kbJ-!2MGd@NxPM)j6L-WKRfTaHkICUGoij#L=neZ#y;7 zN4O-`$Kkt_&yf#e*YFJL!fUNRGhmhL&-k9EomOjQ>ea|6Y0rGp#>Y8I;~*I+X+ByX zu|$f`M6LAwOnUbSX;;7bB%Mg~eq_k+Sq_0_aKMI-y)rx@ztE uJ-b?mswxjw)rLn^IgzSLrv7fgc5GCpNwxz~M96+j;P^qZ|jw;lPOF*vUCKicpIc`c(q-f)8TubiSve%Ug z>Yw4rPvKXE4kOU+D91((}5xq*VB02#;&;`yC{FZI1c z(Ur4>Q&=xXRMmSkHX%)Oe78A-DW-W!ZV9eSDlyob_u*^|Z89ml9y1N=Wg_pp3w|wv z=6{JNZx`hXQ(P&vSD5yS(7yJ!0-n#8h|5^}Spm=HhvhA>eq!|mVw3-Sh7?RRX)F|D?=D6fH~j_ny;X^F#u*)nWt zS$+aGdnaAb9O)g+vRHJ5N4vJJb){7f`#sI|q&4{|*m4Z_*mirGr5mH3_DKS=3?7Tr zQQvR}rf&45b$Ju4u@Q88V7O<}2A|GzwE<(^Jo-}sHD;mNb{<;P(Tn+O5SQgtKI^kR z2XTZ*pu}m=2rv-_y762Ra;wd?;Gq!XTXmtWY2T~cZDB2i8A>T2N6cD^u-1>8grP9s z9rp?Q75@8OtrexJ%8FIB!>*AVkPxryQ7l}pQHMj=gAC3=r AH2?qr diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipType.php deleted file mode 100644 index 368ac473e3ae39edf933b040cd34a55319944bfc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1144 zcmb_b(TdYR6tz_pW*;oY=Vi98Y%7|w$i7Uil5W#btZAuT1r3C0GD!#0OqiJntMttW z@iTn%Q~VUa!kI~%EvyUsV4iNmz2}_Vd(O+(`6>sGp-VEtu_O^(UP8GdFy~CNkfm^0 z#4+J8Wb2%!gj)~}r_h@&pfemVj?}1N1rG^=31dl0x;PTuveeb*)3YwginZwCIHoC8 z6hX>DEGf%^n2;#oBsFhhMe{&j=EO480AzSgM2tW}?MQ4(UA;d& z^Bv9710YPX5YXPSO}1ns#WmlfS|}#)6+rdm#WJNK6jJF3;V~5f&8Va}rC-!O`Y^_+ zAPV_Q>_Rk zL{^8;U)r6XVby3fhV4=!Lf16*q2vYGCx?&|S@7%%U{gUEVb5RDtqePgD%O#@al2~N zyeHttJ>dP{<2DaVJWE-`s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+)0-JeZ0MmwE zV3X=T%rMj1-6-U^HPLd!t$Y}nd*L1+?t|! zQ&`O?B6NXc3o@FJ^~)ioge5ds0nBqKLF~a}Z$U$Iocz{fu2(fLOz+(T@2`Qze+X47 zXH7EKRL<3vxw^7YxAL<9q;)w`p(>vW;O2U=v<wt$}9pv;NRJP^9zo^55wL)oLix=go9OwG>7AvYA#?OI4(=n`u?G4i)L! zX8KUIMt$i!Pu~GMD<&heqYw4LN!R3*Kl~`Se-}W7+hH+>%SO_^wf=OmFa5&Hqs1KE z(C3>ght#dPBoJm;x+e0tS^jOJrWp3y;#EV_-WAJ+u!+pgA!lJ4ahu4(CLfmtV_~E< yCkZQMUiww6WUUDCW`uGagg6jF0%>wx5Nzz_%XB~6(bYm;y3L|6tDA#40Dk}icx+4n diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionType.php deleted file mode 100644 index 973b4d32cc36a89268e493324068fabdebabac79..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1111 zcmb_b%WB&|6s_&_H7V3+-!O3laiEn6C7W@bAlr%%X=Op31d70nrLi&~&xp||;1+*C zf1}HONNj`vk-#&Z!81Y^$QgmiF}b;`1+ZjVnogyr+BgIOdv zjV7s}w>Vr(D3eMtl$5iHT%^R*iU2S?Cs~R^0v*5qkw_e2i33NI2Ue7=%A&eDJ_+oC zybC~>;4FhyDdLwJ?nYv)6u?&i)syDagoZGaSgO|n&6E`?DNg7Y_4_?I!%0RI<9+Nb zXWB0;8b&N6?IT!n7TAN7t8w+<+N)noP)#q;HW*HVA<05PQ^|#|pa{i8R&y`Dw2!)4 zwP2$&*e)$1bkAcCN|BSh;t&cVbHO$Q%Zf@HdwZ$}u54IQRH>e;m9{Hjp?e5^H-P$M4a^>3B&4%#|?C5Hz|EC68D&s4k4_WTFwp!6E z_iLXAs~?Yff>~^G5qDz3bimiQky3RM|2~zjp3e7r!?CO%^*u*N-&BD&%d)6c^i3W8 zpKCy%kK@jD=<_J=<5#^^wj!jO5vq6)QbY)8rs)%H@ZDjRhc{)+Hko=bkQ!LxmS73M EUjjXFL;wH) diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkType.php deleted file mode 100644 index ee669db6e6e120df4b8476f798d77b9f89fa1d08..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1086 zcmbtT%Wl&^6eS5N(sV(T9Sfo%RB9@LqY8C1At2|`5CM)w5>Sz)Xkt&?5zdS?9v1}^ ziEm-ar|>861uU6I;#MkI;f?Ru=bn4!-gBS7OfOUL7!C;|0!tFX#Tv>>0#m^y4|xI? z`Ep4F4EZXh2@wv2{W0{$Q#k04rjJx=#&Z!81Y^$QgtTy!wQQ)PtJAX%FR$^^g8&;=ge(sug{>7|*7&?x1?N`=O;dsUbT z`=yV)?OkJ@U=}-E#I2YxF3W=vXw?`FE%x;B=LF+LQ#ZP;C;q$?1X)x?mHS(wF15C{xS+Qy&g zC-kwO((mX~lYT*8It(j{t1sn+o5{K7p1Ehv+xO{33bvqzW1Jz1133K*=>>*qme9mc zA~-E(Gn_#`xlBofGYP_>2@TVM>QHx{v(`K*G9Sw@Op-9dT@>Wqsw}Hd`-fc|7ngY# zrKvY1K|tcr3lkJcd;$P5y2N>kd<-?Ke}X9r5Jj%W$y_DK=Ve))?jO2pNp=K)AE7*l zN}Bd7PK{B5uK=%kd{a?B_ev9lufDM?~jHkh%G zJG-#rEV0{Z!uHXF*W#>lMQlB;9#fpfC~}85_cM~xB(oS)mP1VI#g-?X-6KA=WFs@! zsU*tsg2o=CS%Gg4hcLsm$l@D)8+x#}I8wx=6oM;VR0foYto_Ef^1s>5{L;TBfJJ zSga);>z~&Emk0k=@_F>D?Eh}Ht5#WN&9Yqc$TB06WzIBRZiX~CF&+V4`z=8 KE8G>h0^lD!eV~m1 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStore.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStore.php deleted file mode 100644 index d640829293f0ad18b77d4c1f8b748d0bfb2746f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1054 zcmbtS(QeZ)6s4^MlJ~HxLxQKtlu7F(NHw9oxD=GOSyTZ{L_3gBMCB%KW+}C;*g+bo zKf@!R!aF~~BVT~+wAs+QC-RWoBkGm<+HjsiFdX3!grXHRsizeY9sqHMrG%~! z!ws`8r-m1N15jV0SY$MYQemYZM^w%!ql)5;e$_|q!zIon(LA@Y%Ywy%6rq%;YRBeF=cH$+8aBFwol+t~ zw>0*l$_sLHID|P-Mb54X))kc%_WTvy$Z(USntHD7>r_B9_Za+YfZl)j);cVk9c{H! zneJ%Q9cy~~3Ow3jj&ZO38652R)!GMp7n5n|4aetWZ`8ck+5-bScj;OC6r4 z-IOq!*lolG)ydwS_?}(C_j<#3-5>Qs-)7m-33kfTR65I!&GOGJAhKz{5qF#SGVs6a q?Xndi-HcGhgODad$TBVNTY)c*E32QC3A&EUomsQM61N6x0R94E&{-=0 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalType.php deleted file mode 100644 index 5254ed3799707204745931210ca669dfd971edca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1402 zcmb_cL2lDP6s0M&(sV)O160#cXey|qQk8{EK~CZti`2Gkr~o|1y$kU-Pzo)V5D%<;&S8Y4X_ z=3yC~?H`VeQsW4KFu_Fub;f#gscxm@&xK5(69^gb1wiqz**KvgEI8)kXPXv?rj%2h z(9hy3j^P9+1rfBjv6EREa+;;EOmNbWw0B{}Sz@q1IEPiYZa$l(fFDf)@{Wuk3c~cLTH@ zhAL0N#?ba%qi3C1M!)$;*#PT9`=jlg+szea7d&^|z&f=q3}o4UpbrK<3Utpjg2g-P zIeyS=C!MBia4t6Qu)Q)=1YgkY|{dA9#8os#+=#ojHTysnJ|h_Q77AP#^i+3O+c);LfA3 zcfX3O76vfy*nQ3Gj&>gIhuj2r<)Swqgg8rZ8mn0zcVd#t{z0r(5_)5xR% diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelType.php deleted file mode 100644 index e345a05238a933761edc58a722f021b22a741a12..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1021 zcmbu7L2uJA6vt_Y0C@+ha)49yD3jJnkZMA^xRfbfyQ)HKBhdjukt#QFGfSy$InJbl z`eitB=2P%dIPwXwoi>}a?nEwmO5Xdwzy1HcJC#=wy@Da-R1r;Mn6E%zQIJY#5s4J$ z`C>s8L}DpfN|guDpTKxBg+YHbeQ8EBk*kPeNQ6jI+9q+a zwWM6nmLjI!8$|A@#(dKo)vKiw{Gm^4z=BQm*kTj!4=Wg#J=aFWDgB_Ug zh_;TP(6qe=Qkbjh!q#D6Z_C_NIO3WrPSUVXvq&+ig$hh7#tGHs9osLhqmJ8Z)z|`B zg++|-c9fI7oo@ zGDzGY@gVRhT=E3iPM1wucSCM+Y@hR;pYMEc-tkiop2H4FiNKOXaQYd_Qv$hQl7%dR z(|k4~0*362(}V~I!d4Fky&?2k{_vR!%~&o%f?&*8oR9{NvPNNQ>(kC|gQWRc*1()k zc!EQ6%94nP$&8XDa!eWkQhY`-t{!2h-#j7`M_A%<#~_Z~D4UzwdcU(f_B7%i0AYf& z47!~6FM-<{7kmX!eLSBgG=!PNQvJ4QHlZn%6eskH>U1B@aFP*)bKQ5Ar=g@Qg*u>@ zhNQj?3ry|1#hIGSKD?-~uZN`uHTF|UM2eGfi)5joTr$yDt_a0MmLt|T_3b^ARin`v ztQRFBbgjmHC`C@LCWlZEnTzxi;Jkz~g}r)9=ViE2RAy}}_Ufgh&ievr0!`&9u?7LcRatNpBihYQ~9`(R@f4Eo-I-}b$hb<5rWYop*W=zR#R zioFh22E*R5XI1T0Q1x5Zl6@Dfcm3dSGW1S{*0Q|@mPW^2YsJ0?K-&-8?nE62)~fv& zJSfgby{6ywit9Do0(XYT?!loSbo7;V+kOPBGH@~&wcGxQwch+&0X3z8d7n46+%EyEGxMG&zGB@RLg2qA+sT{Q*1eo?N@%VHxh*YC#NHI9Yf IIXDO4A5i^gGXMYp diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AppStore.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AppStore.php deleted file mode 100644 index 56bc4b1bc7c015d7fe0a3a7ab5d8e09ae3d99e65..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 976 zcmb7C(Q4Z;6kQV7hPttk4=7qzXbPJ{8GTWf4X1HUXlEOeY-}?W#a3K{BMC_!Y$M+? z*yBEBKQh=?Op;@_(Dh+{@s&9D+@pKWt2g|LgJ;kulnAUy3RhpCx+0JZrdYxXxGL9c zB4ENcJTHiFAe@FU2p7*ood+fH5^nD5xS*u43#L!&EXIVqDn!p z3APQD753tFzLVjmX*2aq+cao^X6_;Q-T}`4`P194@Q!wI*J>*5r(^x>e*%wc6O1+e zbMUY}_nv^gWiXGt)7ja~n|AN@_P~Q>a2|y3gKn$W)tymv;a$!a%fOp=+XnB4p|7u^ z3-?2}Gx^;DeVw@7;JY+T9@i7CFH!5`=}vUU3QRMHiENk=Y6Dk?lIJ>$|IX;hzU)W4 zk}5IyQ>GYCvqmdLykiu2o+DwEI;nLb@5Dh6f={gpg%g-M0c? X9yX>uud;A${GF+>zzVkoTLAt7x1Ks} diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemType.php deleted file mode 100644 index f2040dc48c618b374577094982660ddad4113483..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1071 zcmbu8(Q4Z;6o!`sR!}b%a<_{GEh{vI&7q9msLh5`r@@TbVM#U^hM+i#D{v$s$%Aa< zWp=qo*&FN?_5{0}Bqwg6%hh~!5WoKO>zvP5Z^f+uFW`tUBC#e*xY$5_OQ4Wk^OWas zQLI)(!j!KC&586N3}P6?Q#cI5>2q^c@j|8q!Hn}PCq2AWy|T2`m-CArVZ~bYun_Y? z=5sD=Bg(S5+9*xdbG;G7bL{|NcukbRDS@N$;62fJi8W3}&N=ayYFFCoe6QpTZNW=9E!QaZbOQclY56=ZYA&huT%a zQcXF7_Cm~3(mjKvr`4VaZsyd7`>yJ@upDLmURp#^6s4bPT_{G>3u>+6TM3jgD)duXj(&c#c`-ahdfp z!W_GM<^?sV|N9rXbnpLOZ;X8ZN4-6ARC|VHuPkk4sP-JyKlg&faeohdM}CR^?|P@a nijcXCQ00S=F+#{WEgrjouTQIWzbq-bL*^iFPFU);U<<%s{v~6r diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatus.php deleted file mode 100644 index 18c7ebeac76c1de029b0df90dd8bcccd84924376..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1050 zcmbu7--^>f6vk}}{+U%Q1uyhsIo5^kf~G98H`A?>Zo8$3NpM>Q36yCv%?_k9Au|zF z`Z8YnC|>v=Ui$#fOxo1s6GM3WZ0T}w=`BNATC)4M8REi>xD27CcB&A&v%Whek>dWy-m-1pIyF^N= z=A=+!MHCZ!E)`LQbnGI8I9XAdk%+=L7`&&7#6*#BY&AnSmYdR4ACFJMks%tj?bdGvx+Ip@N>{N|r?;-l#K&Sr`U2DIbc68iM z6}+Q^cWm%&fu8Qn$3)ovfS&C9*m{iiX5K|GI-8tNM#JWv)*iYy^WJ&>C$Cv+Jw*5Y zU^*JkCtkDOdW0U7Z~koBYz+R^P+Q}=F>{-*!Lyxx=* z@-n;JbL?u5vdcZeBsp;lO>gE4bFk0(&oBMo+xOX3hF-#uaw>_UF)Xe@T~WxSP$Cj3 zEQ;llN{GZNV=0vmz#srW2*DeS!WVip7ln){hD3-Yr5zIIow795*VD5O<;5!RkUXbq zP6{PfL@~kV>N=y2U4sxOE1G8{qA(oyFR3CiQDio>iZeIPH>IgQo}SG-qu50#O0_Du zM%k@|L#>OxBhXJ)EK(LhuJpzTj#xftoGC_9_D!F(2TPLXRO{UBT^2ktF2M{0JfiIr zC^b#*Q6}`w^kD07Y%WV*)NI5Rm7Jur0nH=HG9~0#w_==7Rb8?9(mv_htwxP4pRXOC|S_k%K;=+h2%E^>q^QRd;N}WY`Ae;ZN1RxwW~(6_Za=!L-_w=YaW)fjt<(X zB6oD;j*Yy<(6b%cnDAOYda~nJ^D)|=`jfGDKDrorgT{mAK6*6uKls5Xzfo%*pr@ht zIh?zbiKpMwFt~KXQQ$Y~{l7KT(ui(s+~=tOe8*B7-njPVd~=#aq=YAqkVz+@+yc4< zI%AsS-F$cLk$=?phOYawemJz~IvQA~EKQ}+bu7BSw+%B3_bs|D-X-6E>aB7VV?B&< jrGv2+!q_S;9$JHMj;mx}mB8H4aW7i7vFux;HA4RY_@h>- diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetFieldType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetFieldType.php deleted file mode 100644 index 5252682410dcec5806c11811a4d8b9b607012ee2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1470 zcmbVM%Wm8@6s;X6w&@p5H*T5+0qX>a1GE|hg*S5Cf-|BO!5UH3BZ-3n2wB6K2#_T~ z(ga8g1O1EcyX>ML(oZSSe<(@Wlelg+)kas;<+IUhPKAl5WjW17FBvzzE>zLG zX9qn|%+8x$(lnywlT74e-oCGdp(_ATB-*R zxv*+w|LLKws?f3t-tQ=y<_(TVxUFa63^`e2K4U}9*w8cH`(p{9>myO)+WU10Y+heRTVO5rLZ1$t zV~1MsGqeVlWADUcuROSb*1^gPN-Wp$C|p#z77Yi1<3|qj;4O3)Y!8WNk%$GSoLD@f zuOqmGcEHw<1Sd3dJexa1VpDh{%{_chEN2IAw7Z_bGqrSd_tKgurH> zu@lZbZZl@fv=y`gR$a+~AG2TxSJkHVzTp$dE#W?t|U%$Cw0^|679{^Z?xRSr7%piEjM;TorYh&EQ=ngDZ6n z2gIjbuk9)#ol0LQ7{!i9jFW-Vfrr$kI)Y!SW~Ex4?DwxR)JR_`^sZm2qfdkA6h7$x zy#V&4vs@mgPo1m&&h^uyFP^{fW^j2Nr)8cLQ=_b>y{Ra)uUuJBl}YFMZ$~=RXZE+n zTQ(uTFFv%j;~3Isj4o7>bR0uF&YxEaBkf5anUZ#;&X)dK-0QZQrrd0ra~#u@K&GjY e&hBV}-#wY%%5S>M{^4eS(iU`Lmv;d!0Qd)xj;+1` diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatus.php deleted file mode 100644 index 850f583a723e4d50632884b0a464f102b62c3de3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1120 zcmbtT!D`z;5UrimDVsozECFKlGSS>8JDqdhYJZRsyL{)kP!in>VvF@4Y)uuT$^}IwT<+3lhTl4HVY|rkn{D zuo%ws#e#4cuw_bP!c7Q!L+B01(C)e8mohbDIS&Ye5o1wIS~$#FMW~`Lr)Mpa! zaQ>hBGY$&^Q?A`C1z<`6m|6gh+X{HTWlL(6jqerkY|FXv6zosDk#AqPm#*EbKQi{g z-o*Rh4L^DHig5s**nQV=yM4P}H2|pj)?_4MI|}yE9t^MK$F5Na2U54Q68cyj_uYXz zmd7>q;oDx%^_==%_fG{hq~zBZ*>G9I-el4!keOp;RR zjemQltq1qBy5m^ZZS~O6PB5kZ%_3Bhbb_g!@M{B@YOmZgi*`$4m*3S!k&2K^MyTXL gND?8WndUX!;M?O;B(DqY-3e{0N;R;+t-uO^zu^pOmjD0& diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReason.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReason.php deleted file mode 100644 index 0ba829c699f228984dc032480438ca4f42185be9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1293 zcmb_b-EPw`7-b#Xz>`>&A%+A@UYSHEL8=MuCS#y%&7ugJM*Z0&R4H;(H?x%5k>el@ zwCCWSOKx}qUVum88Mwf9+N?0PD|*vU_VGC<-}jwYZ_=|AJcTZ%m?MElaCi>I8HOom zf<-KW!+bo(97b%Ck_2-T!e$%#?H+WRUT;f2%~;MOY{8hZIKd4x${Izfst>z+4NUV% z)<9W?MHq9Ir(w#;1o87Q6G-G)$T7+oHMJxF6islJq6kAbIBa2oMo6H6tJw$kD4Uk5 zI@#SDIEsBAfGCj)&{it05(x^8u9oO%1@H+#`AhR*LL#Wd<=-~RLPCikC?Ox^_aDG9 zN-``NuVTkJjRav7st0Wv;rb3NI2Cp~WwKufaOO2oEtKsWcvN6cQ8H-aEaD^;j0X~G zS+VpwYrHzC@9b+;#YV=kURboOD;^J^;5nWbhmd2Db9zZ|QBrARFJ6m^X>J_FyD!14bXrm2>WO=x8fy{Ey#`=jZwVwNBp zn~cYe7*n0fS)x-SgZ%G+@9T+vsVus-{k5{`>b#mVrDjp8O6JwndHpd140NLBBCRuB vg!*TtRy?&V`Pi~b9?OzMmZh17%i7?}XXO$Z%N!GN8eJQZwSLD%clvCu%U&oJ+3A^<(kuke}xSk<2g+f1IUNH z^E{0-7b!Lay)b753&mU&?T2vy$};UbR^^8s2^M zV-xxR={f5=1&{-7a7te|;0wq4qH$Y6jrEUa9=P!x?X2&rzeHQZZa?%+gR{Wv)SlG0 z(DPyUW4CwNtySvV=!F}G7rhZ2Rn5_-;5-<>j}0@}3Hs&fX1#{Chuw~MF}d(Yfp=MZ zdh!QELIRc-cq(rh@5Yr~8a7fVUh zJQcji=Tc!+NX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M@bR80kG`WeJS-5s&J4k@~ zWjOLBxbsms@ENe3Hk&$jA(uQS@BQEN`~P0Q&98It3=Rn=5^Ive*%zp<3CyL?A`uME zius&Kn21GA8Ic}@gE0)p7cdx%E}oiFB?_4k1T!HrMmjiEoieo1=cD5e;l)CAuu?={ zG0Hz(DUEfZJl6sMju%AbI3aKt_0NgMDb_e1I$TnibQRD?33tJT^s?Zd9?YSri*w#yL_x-(-B zYFUum%^{RT7n0uyEGsED*o!xGHHM$2Ro7GFTDwZLeGkCT26**ySo!~UNdXc;nBliW8{|H(#g=UY_!c(S@oCK%?KCuG*i2zOkr z8P2Ie_uoi&-HpH38$;j!QQsRnVm-sDSB5q+#Cnd{U+aX}F?|baM|Fwy?|Q2&MaUE* jROujOgb;E{vn@B^%Y(|)=OrsQVBAZUODyx2Us-992~pxD@0h)6{Bf8^@snMH)?RAc)-Fp~U2N~RX;PeL zZIWd)$80){ql995LE?hs5lb-ToN>%4$ykyZN*92HoYO2NA%%Ufb3$`6AvqcKmBh%J zWb;y1@3(hHNJ{Jh5XM3VT2jg_l~5&wq>f+8fG+@wFD=G#6v8YQPC~d5WjIQrJR))Q zSxjOdPDz|m(e^raS|p)#4<*4(LfYDbWlxFSNST=2K3o{~COW$^U&<;i6?|1?1JcBuXU ztPP!khr0HGje6Q0eGRM*og>FRb+jej0M9(%?jmdr1}MNiH0b)a7uc?YedHl47+~K$ z#fQl1Azy3gO|V|aOH5z~_Iosk476o^2ej*$l8bGp>z;U4V0VrYKDC2GT!MlR9@6gW zufT4dR5x;+X$R5_zU|Z%p(8* diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabel.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabel.php deleted file mode 100644 index 79be17733386fa0b1e81b40f80a89724a9dcca52..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1078 zcmbtT!D`z;5UuSr37bNNpojJlwr(H}v@)UOvW{EiND-#4BpRoIA~0)dr3hrLSgi_e z@elMfdhDn4Q*!PHba!PdfjFn?qFHI?&D(izPTv>T1$YG=k`snGiQxPj57IKMNQXpptXk=eZwe8X07U&8quZTXx zdGul6 LvCdn9B>?{bo48zR diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatus.php deleted file mode 100644 index 83dcc65653f9524866709128c6321e58bf2295b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1037 zcmbtSU2EGg6kQV7Kz&%r9=4})mlc}A=1@jolx4$d+z_@nVf`2kLs4wS5jc{ONuU;^Rf9D>2<{G};XqL4AgkP4Azv_lfrDMK4wA02lnFP5r9l%o2| z{_98+T`14>L5PzjRXK?%45$4u)g&RBL_-G|`H5PGHo81IjsgqWMJUb;82A?YjOucA zxad0q^X0`XV=*XmW|n=Xt{7*Uk&JyaPwl~+WQrP``?>Ri$C?QawqU|z+CGF5)8_8y z!i=T|8-`OmEiQe8-X3$Uu79I-d=*_wu*Bvsc_BVW5pw0#fIuLkP=hi=Wive+|HdzI*(5#4j5 zw-)I67ICb4tucDG<*NA}sb$%Ad= z%j~#MvGYF4Zu&WxiA;ggYAG*dspV3q7m0ra*{;@s$$7Hs!vF7D^PsHtjL%-> zxMv*qoa3zoJ=wL!TGtw*=I&1OG1|KdXVc(pbUq3O`wyCX=+Ra9E}VP__iJ_$gnoZ) zcItNVKDd}%n???jnjX++tL{~t$jS(oFo+);i)HN+DR#QY;IZ3nL+s9 zXm{Olzt-~UlR7&>Y_!>U(?HZs(Dj@n<_gvfDy2W&@niT3Y$t1QLX6k}ZJU~Ggi dc1nwfZopSZm8&mGSZ>L<7b}-o=B?2hp}*|xQW^jN diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetStatus.php deleted file mode 100644 index 2b52cecce029ac5cb8d7b40235e2518e4874d7c8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1005 zcmbV~-)h@16vmeXHc(+J*?l=n3r%5jC?hw@vf(st7PdNJ{WBP5MX?oE;7CT23){%c z>~c4Ik3Gs@?=VSD+=i|e)X6%EO1-;!I zKvG>uej~7~q}*UHUbEF0ev(vOkBw*TD$(}cM?V{=`(I`?cgix)IO|m&d&XnWdEEMp znwySTw_0z}?-x!0Zo9&!W)7qz_)%2;z2v0pB(@sjc!*ES(&J3vk2Ds;b@q4{7 z^8Fw6osk37Ggx|MXd?rt=K%e+PKX@Bw-|O1mlXf5x5`qCO)edns~>W!@4k5&8>$ibs|J diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetSetType.php deleted file mode 100644 index 325a986f722e33864d497c0009caaa448b306bd6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1334 zcmbVMU2oGc6lE>jnD>=sOneAUrc7EVAk{SOC1ap8b+bU5L`ga{R4GbRw~Le|QQ{&E zwEw{~k4XFxehT~qUa*rUs~CHsQq(K^+~a%i@$suS@p%lMK?R36aS0y6!6hW;7{*CN zA}<2gzAZ+PS(`|@as{NFvrqLwvun5OdG!AgX9j1*uWYNd{!v+o~ z7iq&yQ%oH8k;@nh89xA_dx6u~^)OV7W)~B8=n}WDWK?}=m`+0$o$ep@5u-W+zzZlH zlo+LjiA@Q?X8`Fho(uxtgDG(d{oC6GwCw$FL~PVB?{q>8l~ZN$3Xs7EZmyk4cmm6e@~iOv<6MmHOUMb}D1@ zN3fokD2g{~JccBh;Mv0=OfZ=w;WfckNtG4$^0hxLLmCdtQ`=OpdI@Cb?tIzg{Ayc>Zy$ZNlIhatjFIBKIyU4GD<(_64NLJe_YH@e?Ww6-O-f8-K zjho|F!IB{<$Y~?GSK+t7M(a$Ix~lA;R!^2}RoA#G{}9~oB2zw*G~1DpW+O9CxXV8P zn?-_&q>h6uTe1;1&+}ld*pPdct#`Qvej7Y4)=qRAbu35HT8>ExrH;id@|$42*l%}K z<;1qQd$UBgDV?GYx5RIN)dJYjWvRmfo&zhz(p$Z0amx(EHdzafb*9PO3jZARcbh#+ z)sSU5hN-vJ4swdL60Ded&)`;h2%gZERqZy!8vh7vv3}{a{z_hFWoJFIV+>^4XB^l3 zH3w?c(^D~T)3v!Vt6z5Mjkyo<^fHX2zzxSjl#Cl=9A=I#tRMT-@&A4aj04!6$-FL5hYNYgBIiXu%G#ga!9DUm2a diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetSource.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetSource.php deleted file mode 100644 index ab96975731c37926d7c33d10226ddd7840010ecc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1002 zcmb7?(Q4Z;6o!`sHc+4qfnDsTXlbD-Yz|@cMrk&j#0_R`5)vn4!w?i(aRrWKWO=ZS zyv#0lySLb*^eHCEi5uv8G2i$g&iT(T{omDxC(!ycd%1d2+ZC|zs%Qk5Xrzw%k zyxB7905H5EX@Ua+hm+ndkvPN>`$Hq-+hMvZb+u?;`i>Ur01(7V4BA?7W|o5=0IDy^ zRxu4=DzQ|*Gny_bqmts7epeUk!ZnUlqUIm>t}_-$${ExHV-}F+14cqPns7UvsJ6nHEiY<5qjjY3#G`&;c^HC zk(po*0^35$7<>Dk?rhj$SZuvkVKs|Jz4sjau7LJ`r&K@5M=TYmRRn9PU@a4DgM#CO zD0D`R1*jez)sI1SKAKIOzI*LDgW9ut6}*^_K90tpMzvD?2mpJqaHgI+bEdU&{S|m= z&%N=j?YVvX=H~OVKXq(R%~g8$CD2eH?rc2es8>5!ZnBz`zVvsuh0K=0cnZ~?t3$_6K1=deQc>n+a diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AssetType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AssetType.php deleted file mode 100644 index 52ff5f299c7a37ae403e5271ac944a1a933026fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1440 zcma)6-EP}96kgIaO_)E1S(~jL0yZnq6li4>LvNI3gDlam7FiS|Dq98vf@0II07Vic zxj;AME%pSv*u@@YPcjVHJB*|(H9%KjzVXrFIp6ts&f)j^yW(vDzQ#kI@iMOY6kol^ z^;?dMGOzPVp5m*;Y{pAG$*+qf<)wzPMX^g6CYH?}i_|J#loPJwd7jTx-ixPIuQ8?d z?&Yf<&lcBJFRm(HNA>%HYYH2HEWYMd5l=WCdi@cv<7r&Si%Xs1S)5i}WPcnxTV#_u z$uleyXg1*|&v1h&W1kecXu=t8d3mxgq9Dc1cq)duBFFg^e>vLXr-ISh_ zXQ!&FL`!D)q@k$mA8|axb-CcTi(_2!dQoN{0B$-cMeN15$&!XKopx0RVo)btpsf28 z{Id?0WBK0`LPyOUH8Du78>uEns;QA4|Goxxx;e=49RIooHaid616!dRc*L{^HnHGm zXbap6-E)`z;KCKO4|XnT$ihB}E^LcXxQZay9*MOwqJHRF4uN;jCb(;lj3I$*XalS< z@*{(H(GJ*jh+#zo>W|<$LSVN~>3KxmXh`W$(VtwwiyvCGz|s3gLVNJ z(Z21F$nZS4D=+ni3XG^Nw#0!thHuqt^93?FaCo?3+APw|FFBnhuEmd&Fm# z@T>k`E8tiN$a0B3wNL%sZgtcv^HzQ`mm4_G(>R-Jc{%URd8YKE6`3Lt+VbC;bE?+# zx79mC!}w$Ms8JS8=!w>t(h|y|DP{Sy4Hzr!xg|bIeH!`sd-b?U)pe1q>m81+3m{!r fNLTBM;5SdZC-}U1*&m+qCpAC?HgPxL27rG7^N*rl diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatus.php deleted file mode 100644 index 1be7639c751ae5bd887c0c5460b991684554fcf1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1088 zcmbVL-HOvd6t=BaoJFh!_ri;1tP9%(O<80?rdCP+VsJMJZP&sQ2-9Sm4WyHhnFy=w z3-}n~m5<`1c;y3l;moAXF4Vm-H#y8X=Q}^&ciy~9FH-Ov8ibMza}vPCCFBkA85|AG*)x&Kl05SXf?<+`G3nrdbqZ5jpN@_@gyt*O z!R(Uy9`<>ZP>*rUbEc^x08qRlEX6*7hSNVK90!WgP^QB7Re}JQ&!g&dEsn?=}Ibk9G4z*!P-G!EWjD=H~3Z zH`gbYX&H@r|91tngs|5m+%`>rcdKDVx>GqHtoINmF{YuGWML;HRLOdC1ZgC+|L>dV zs%3qv)(l<$QQb3?;58w0tuUn}1g|N<|J($)>LhO5ggT1iDt=X4MJhrf8KDvfApwMt dLR!>SgRc%sMZ744cCD&gC8+|7xGQi4z+VVHUReMD diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AttributionModel.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AttributionModel.php deleted file mode 100644 index e92d577209e55cbc833ffd0c8f1101496de963e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1244 zcmbVL%Wl&^6eU4CG)2O)=z>i(grKHUaa5tQa4BdKyT)p2M~Pb~ieydfi95)#t??KM zP`-p6OC)}S1)su(Utl~=-Kr%l@Wxm6x#ym_XU>aP*;xi2LyIJYVNOCg{RsIPff-AA z8l*9t7PA>)Fi7VajS15rG+gMo9yATxdn8)(v|s_zVU(s(Ou9JCyH#0MA9i-TBq`>3 z7jw?&wBR&N{COIZSd$|FNbsEG84d`vhP@-gafmsdSdwjm!hBhl)ydB8#4OqN00?57 z=MY`69+jlvGl1gBifK#(m~+g#D*qz!U;=oJTXWfFq-j{4Fy!!Bf{(5mR~wsdva>YMrW{7 zN!0ag8uuY*1-U#NLPmJOk_&=GO(lgreMy%xP#D%z4}@)<8d%QV1Yd4}=l|!Ix>5CM z!dHV&s#aYW&AMLm=(-@% eb;&fnEd@T?tS{_#m4k~*zcMirSm7360l*&yXN^Sw diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimension.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimension.php deleted file mode 100644 index 22c793a7fbc27923f6fbab85c1b9c5b0bd1d41f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1304 zcmbtT%Wl&^6s0MBONBMY66X-;f*bitTKq#q@s0PH6Vmx7~X_O}p6`>bJUO=0+n>MSkh&~)0H))tp z(x#oeJ`Eje`C;mN7g=h#{)DnP3Wc&50HHmhX>2oJEPoprYu} zY~JqTq;YssRxQ~4F>F*4Me&BlQ*yx4%5(sPwgmMY$KWpIe!a)`DtbeP42MZDW4%jqFU&C#s zqhN`<#czT&lbjRv9pRSvEwJ8329{NQz}5IWV5hj~VoAo9tRwA=TjqBGFJsj*kS=4x zYO5wO82C1SAKdMmt=WOqRT+_@5^klS8K|aVwy@PcLxkWix5_^RyR$=SKu}L6jR(YxNCen0*fL z9N1DwTkT;>M?}WlCch0f5PMPexy1vpDq|vHo!f5xUIKMy)M@J%O`)~7u)*c>YD@3i z(>Z!kV27R%C0^5`VQJHuxnrMs`rlqZDTn=~wk#v`wYDdh1{RoYg(@r}W?-Q-@Q)c_ zSX%s=$4iq}F8@`lSE-`Nl0|XOBZ`bj6icSjYANu=!F;oyRff58$3knBzzTN>E&=!h DATyfB diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/AudienceScope.php b/metadata/Google/Ads/GoogleAds/V15/Enums/AudienceScope.php deleted file mode 100644 index 4b4f81b3a6cd030d1907fdacdf1645239b12b108..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1002 zcmbV~(Q4Z;6o!`swxMn;%L5cGD>Q}8p_JYz&4!b>CTxvOlWZ^yL9rEA;7CT22iwTY z>~c4Ik3GuRLrjuWx1sCJeB*;S=Rd#ne`jy=s~o(9K4C;)MH0CD0@W3Px!{V&JcG+( zwITw>e4W#b2nWJZ04Ko=dZY2|g&vi>5HUe8VB7|x;*k+Gn;;v&?o2&F_-uWC*@M?JgMsL>Vdlok=XiB6)dgT2NH^y+{Dc+rFLXHlK}P4 z@W=x{gr9=Mf53LyY}MEcdC9eN?>Q&;oWnQyRgRv)ka8-CrU^{HfWD%TOQA(9GME;# z8I=%=dCoE_J%GU&!togdgVEVjGpa-(V~QaaBF$)rB&t)Ewz}Rw=ulqFRfiM_qdcaU zN)ufu&k-QR$(*X3#1w{;{t4A2A(})(hZXsWT9&rD*guE@i`7La&WKXrFELLYB>INH zJb5wASPYiNympwnWSnV6GWON{UJqs@Q`A7*?VS}o)=Y4)17oALy$2*o)U}DZ@{aiuKr7)~*^Y?=Je;K(GGCtLAn&^X;9pHXw& z5NlTJE!teaZ9YaD=i%ujI2s*~g2C2<<_3Cn9=;35AH%JhJp`fOe{a6j?cqakGQKc} zM*mL@wM-0`-1o`oKUt@9Hce`uj+W|EkrAGHLZ+RRa+ktYUUOz*`tSI5-7kKxH-^6d zqrN?K`SeUGy|T2G$*1S?`D@h>xdh*eu*+~6;@|aFIf}6v#<;@4*Z^Vdkfslvz?Zv~ VhtJDs+~nZi5V^*(Z-EvF{RL4-MnV7p diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BatchJobStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BatchJobStatus.php deleted file mode 100644 index 4900d02c883bfa28df31d7fd5a69026694ffb234..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1015 zcmbVK(TWo>6t(T5k_9dGeTj8pyP#7R=}T&rc4u~|;&IyqtgL z(OfF53h7t|02p2ond6v1e>!?k6i%?hp>M&$VInuBsXm-MC zkl;Ij`pb(bqcJoz`gcs_oHD8?&geJ&z5!g|OcD)ow|7ynSW(WP8JMt`bWUN3X?l-y zuJxglyeF+}z-nJft!&z`O_0Go^W6y2gYaN0Iv*2AY`4}{7<}mdFcO3Z5x;b3V zg1{Uat%u;iodjOX=|FH>?8iM@HUjb+~&tO583<+Dg7 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BidModifierSource.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BidModifierSource.php deleted file mode 100644 index 405f65efd06c5ac7aa947b1972fcb54f76a9fdd6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1025 zcmbV~-)h@16vmeXwxJG|1-8qgWre1&Ih0W-%F^QesR<*FS(^=pAt<)&3LMEu@?aZz znO*K3_5yp9UF{Jj$%$JCxtVWr9G~-@Px^lEF7w+Qyn-HKL|{c?xcmy$ErGe;{fUlbe@%RPsVZ1i_T^G$UOc%Whek>dWa_m#|_byGt4` zRy?K&C1O#|ICcpD46lgHaYUdO45mck7%LolRxfm8xhYNc@$@Vl8@(O?QHG_20~${^ zve(uL_zs|c@?x3M2ug*O{yCy@K^avPXY`vsWgjLulSHfR_9g|36y*$>ffn|`Dr7tO*FhvBzSvVpx5;Rv_1iBTWl&I=@%|D%!p51EHXaYN>MTB-d z_Ms95xxXAjK~y2woxr-1vc}$A(2Wf@j;pO#I=N2OX!ah1Ukz~nzmc^L%SlH^>{MYp zI&8;=-A=&som@<8?J0P+^P%+=9L)XeU_6{$O~#|)&Tqi7XMCi diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BiddingSource.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BiddingSource.php deleted file mode 100644 index 59e9dbe01ae5d5fb934b2115da96f946f5fd25ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1041 zcmbVK-EPw`7^R)qkO!jVViFfjrc7EVL8@umjY~mklSL6)67>fJsua12n^{Vo$Z?PW z^_utKl1JeIcnHKp;5cozYT6CC$!F_)=R5w+dHpuK%D@X~6Gk`|B!crVP+Sq1@l>Q? zn!tInSP%}wbeYkFa2-O^gRVD$mg!8M%ho(Cct{Y8(=<*<7e{%wD$DBg>3Ns1Vwrd6 zG>RyTg9@%IegGI=l03s9fwn)mBmzfR;F+zcW=52+%d&cZdOovCsvZDgg7X{>D$21E z0KNezzpR)iG=#apLjI0u9#BRF#R>f?AJ>Nqoa96@+{P{n77Cg&ST=YpB%KpjahBMl zES1aX!;Ln-+>hMN%wd9XhLf2|@{rR^q}-QKgkmDJ44XFruiQdLa$#)WCA?G5Ea$&i=zG?XYUnrKx&tuP*J? zmA&on4e(^kkJ73(2amQcwZ~w8>W+PD=v+9K*}A9ggT1Ny&hO7Gq6YA)Nk!-2SD4Lg5k)SSR==CTYH1Q4bYZpU8}rH z@Ic!VrtI_^pN8va#%Y3CtfxHg#)PS`Zc?4m{H~Dq)GmHBcWlG>**vsWjCC1ay(-H} z##mP|{%80h($ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatus.php deleted file mode 100644 index 2d62a6e299c733d0811f922defc723f807a85a08..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1047 zcmbtS(Q4Z;6kXD>f%>o#*u(Zv?y^Et*c{5}i_&x?jT^#NJ1lJn!%!4kaRrWKBze${ z{LCKrDchgyc^@!IPTWG1r}@QK_PysE-E)rL=QlZe4MWPQB$_5Ly#;+kA(ujnSY$9Q zW-}@w7W15CRC)k|5Q6Xm{K4qrl^Io{kTJ!O3Xx{CO%l~EOIv+CJZe*3%vF2Jl7#W} zT4~FZ-kO5wLV1n|Ax`F0i|kj z+q;(wvz;!iG>+}U%(9{p*Hm(nMFXm0$#N~^*tBAtQeCaterX+a9IHiRGia3(F@B)2 z3tATRJ~@D-x{&-1U{OIiVQ){^QbsRHD%LaOV5@4hy!+_)7CQbP>l(Y|v}f%0D&sw4 zyyuK>X6VIQf2@Vg5ItY}v+)dVUj~!0e>yrF`GcKDjcxSwGWZaLpM#y6J@`Sd|Iz%Z z+ruaSJiIc8$Nj%G)HGRLD%m8e|8gy>^Ke}Ia=N@yDl)=TPsp^LQtpzv%687wrl@z^ zy?@lVhP~d;`tHzW*fYuX%FNFp8pX?RA9X&6y#IBJ)c;V3M_fgz{| z%BYx|+&X#lcA#_WLja;AEDEevA-s76PXzD;Kllw`_M6UzNgQDwll?u9iy%(pG7gjY zS62EF9*0Rm8Q*p6c$P+GoTZpwu+xYhyuuYH$3CBCtW`&Nk*UMG$2vD4X-V@mOa>Y) zqCB3KS?(~XEKg`z_ne;`ygC$7Ia@r&2UUu)d@aW#T;?;{432S5%UPaY5?s_&BC&6O zi05f2qfs68n2qzG2J*Ns!N*n5`5)$pb}JHzt$oKBz;E$HaPWC_F1&{tsV2LG{X+b#s? z5!h&WHN{up8hQ*KHV&)u;5ym|UpJ0T`!sM|V!Ooe2du}I20s^VxlD#be(otIL%=W4 z7T9cDC#-DCx7|M6KrOJ_C0@t2j)~E8St0Lr*A8@(7(``du-ouDhQXVS^Wa1D4cNcR z)4{_34$Q;Fo9}tS)?TTm85MT1;W*Z{@aUqu!-(LUNp? z_w)D5sFE<9NLfBRR>CVWxs@uDTTFN*A-sPr z00SY-4Q&?UT&eRv%dP6FEVIk9T=U2>Ba&soG+Yr0e)qE0qt}(pU258`f+&C$?gCr@ F@Gr%%5nBKN diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyType.php deleted file mode 100644 index 8cd462d96ed322442233c4ebd9b102c3d70da957..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1341 zcmbVMT~E|N6qQ9l2ZW(&z!=GhBrJ(`LkurPG_&2ZG|-Q9KQv^MrrVt@O-kFevnFWx zA-?+PPw}VtXyT)ZGt;uLVR^AHz0-T|xp(gAx$i!tXDN7vnj|KfN67&7FAzN=D9sX@ z_(_ENqv4Qb$WPAGFd~_ZP{Tr|)ka!FZ@*-zc{0j;qM#s2f{4_-L0&6NZhhX}tC4tg zp4a-}U=YTEn^RsVxNzx3N@P(6fY>`HdFuHDHSM}Vs5kJa*J}#I9vPMlEa_Uj`+6r?wj6)iFQTT=3^Z*ULC?^c(cIoROM*l5LJs773Efs2Z&}Pa8KI*rz6Q7)Ly5-TybsGZ@L({mddS$Tjstn! zZSZFfDF08Jv{B^BjA(gGxy&e+1?8LHX2IGNayWaNe=Fee6rZ#L7CUCk)>Qpa*BbDi zviG4jh```pEw(ES$YoEO22N{jwY_{wvMo) z!4=+J>9jg+2b;&GXMxu#J&uK2@ByDw`GJkrY`};0-!ov7X}aX?E(+`GQ#cZTyFGKN zmh=Zn!@DvUSBRQ5NhO;kFUJ{t)T=Iyg za8}IcB!>}SWHcqY4WT=M{^SgL?&$1^Y8AZ5BZ6SUd6JS2jzy;|b@ln^xI3_y(YQvSOCf2VY`%w z(1ykylzBm}4~H;U7tPrf!Lp(aDUBA=Qjf#e?{bG1^&e diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitability.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitability.php deleted file mode 100644 index 6c4932a717eb525bbbe9d017119f0628349d4b98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1099 zcmbtT&x_MQ6t=A>%pR-(_n@$hbz!@pDU0l7YL#}IEkQR8+wS^_9pRGZUdo z{}OK={Zsr?yn7U!nY3wT+mpHE@$%mHzP#^yuim6LDR>5Zgb|J<3E^Z826Pl=q5MMfo_(3r}(Z6*Q0@QjEQ2L$%~&IOS;#1fBs26WU8#WK{<^~veT(V$HL zf*1<{I~sgoum@{s@D)Jyq}e2<0TdET^*W?tOc|9F$MlQ(-xi$WSP%tuyLOtfK+=Rk z-Oy(NsUO1}Q`a7*iP}#Ku1NZNWolg`mr24Ijz?W00!~wza9@=o6cJf0T4(CVO*2)a z(J8Fw6cM_`u>~d1$mVbeIguG>Yk)-oWr)3aO_wyK$tj+`sbPdj0oa zwPfuB%lY89y{^+8yWX|q4f~fLt7V-Z3{|>)xtXt6kHEus?u9%2r~Gc`cL~&#y_d{) z{Y2-Gq*UxWkEU7F_j0AzZvQAB^o;FoWp+Cc zb);->8{7X}6^zVbY+Qypjr=x#m1}t`LaG^|0tX=lgpfg++%p7U9u<~&o;z)AtDT-S Lg?ZfqECBcmV~l8V diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BrandState.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BrandState.php deleted file mode 100644 index d52324e5fb92fdfb94ba97d26212d8b654de6d46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1043 zcmb7C(QeZ)6s0X};K4TK113`@t&X+nezVQ&b%;TXET!T70yW;_=mK``b#PDm3+S+gj0_38AiNm#zfnlph} zbd^ap#5UvrFuWjHibDeXe&;=rIKmPKeZvztQMM{|H9b8GT+P!0AWU$U!H(v;)O6r0 zfa*!}SwcgoC#csU&8{e;lH!DZQNPuObDU&E!SD9Ya~4X<8PtFw3rXV`7M!~GFy(3u zZFnQh*PBsW2?k6O!Eh4vNEQm3N-liWicm~sxljG2aojRfH5;A7Mj;WQI~v+iEUApJ7q96`h7(2Q)N^H3qioc3kHGI5IQd_Xtb+n!D=+QRRa?1g8&~V! zD`0o+gm$R@tpdRMleGtSCf=p*b_eGJx3_=K+5y`W@0~aN;O$rR!S$TZg}SL)y8!fD zf8=(Zu{ziEdE!moQGvW~Jq8aQ-yaR9>h^*41U%|GUe~?Q;4OVQa^JdL4c+eisernQ z>`L<{`JKJBP-ClK`Pg0kam*9UVw;P&853p_dz0&wW}9N(GHdx!t@Rz}XZ4_OvTUma z+eN7>m1Wyx`PWTDVA6go?k4X=;Qv;LD@Z^XEmB*16dj MI@4J6Ex{6ie_0+#X#fBK diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatus.php deleted file mode 100644 index b61315076833a0de10548b7c24745028f266875e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1110 zcmb_b-D=w~7+n(BK)qPW19Vy%XbPJ{8NE@L4kvL<*y@D!XKWaPA}g-Ik&Gk{wh`E~ z>~fE?N7?;u$0Rv%3MJ%bx$!6G=$zy4JKyU!`CSeUVMsZZSknZ~zCe9PVJ?LhL}YMQ z%;!`>A{IHzsPrHlj$t&uhQV-j{oGttqL73lmCaxLVd}I~CCC9)Uj%5dNom zHV;Z7&&0v2g5jB9crF;N?=^6^V`_H9t&iZ@4p{Rk*t?0YCc$8IF$#wJkD7bn$xZY& z8h?oPYxWRCe*c~Mr*04LgUj))IW+ozYoKKUzOuK?X}`Tg-%Wc``!ra6aVj#*Q%}gW zn^Nx5yl+BlZ&qBPa@*?F6=d?nlSJWhz3 z#U!QIMBL0)L@jyj*f{_&ydpBg5rKno?-Nlt#tMf6OBuSc+?1yJe0CoChOz@dlwv7i z&r*9EX5Foc!FK@lljZZ2Mo=oO^y`?)8D&&aoYHT4*DhS(R1!^eAG^p|q$p?5G>lk8 zTBoq!G}z;e>)UkUR^r&4OP?wnGDQT#Y3LCd37RP`#u|!{UcNlC`O-S=*r|q%E?}#W zh|oQaU8qD(?hc1g5S0sdORz4ftgzSb=thPc$K})u?O&?|nz<+7cMWv@!??y#(d=li zozitjyY5)mn;bmf<&N>MIRVdh{cAi02Uo#l?DvNkL*J`EXdHk?SHXv1^d+cQ8c)FE z$fH%lcv#Vm2SNZJWu zHmTcaXH@P>ddF`5qgord?$7Gcz-HLd$#sg-R64_s&G4@+AhapJ6LXvMBItjr&7u_{ m-HcGlgODad$TH0zT7hp)N{3$+!MRPz-iTRXfm?$$0RI3~s8=`u diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/BudgetPeriod.php b/metadata/Google/Ads/GoogleAds/V15/Enums/BudgetPeriod.php deleted file mode 100644 index 33a0d0c700644282156e98f8dd59af26eae67395..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 995 zcmb7?(QeZ)6ozT1f$%_deSqmuCaseo)j+#(DX49_D!`hEwIEQn%1zwNQff!Gg9NBA z!{r`@M}e2XaoViXvRHJX@;PJd0wgXDO9T zM2?k5h?6B%DG4bIgWfsSBqEwjhgNCYjnul#t4}A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6*y~bB#^}2{AIE^%#N1ceIlFl{5SzK&Gx+_=ktGQ$A`tRnUExFY=ty)!z zigT+;ZtvC&z9jn|+LG-G?!V1eHHr`)MyS?7hzlVkm1eur;Jf2G-!~OD8%DMQCL621 IC0GLR4~5T0tN;K2 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingState.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingState.php deleted file mode 100644 index cfec93d761c023ef1b9d148ea6b45eb1290b4ca7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1174 zcmb_b-D=w~7+un`4Rx@P>rvFK&;(kCGJ2!78;;|Ku*?qm>0ktm;wY}bm5d}8w$Yc_ z&0w#vHyC@8y~1uL$%$Ji&DC-df7nOoeEPm~&faBL8F&qQgb{%iS-|;csICai1Xn!f zDV*oaB@r;@*BMQTa3Ji4FbF5m@AfBq`l#f&hzWuT=SfQ1cp=+GX{wv!lQv=bwQR>Y zO{18z8zLm-ED|K+LQ$4PQfXnw3If3JHIW&P3G59!ABe&WtnjR7xo7S|u1Zr~9-qv7 z!+i=soMI`Vr!~A%VzgEm8v*bYK>f?|c}inwH1%Vj%7`+mC{F1Yefe{^#Hl2j@F8}Y zvsmfQp*aw;m^53k;569%jO$^Y!*#1eGe14MS)VB)7*1zhB4a@_#l=uV5lV4R^69RWI~HnG*K9PI+9^n;`Q;8;I2epkT8eVNTRzE{AjO-rr61Uu7UJoLT(Mc?n%p44~1 zvuW@?2tNk3O8o_R-tCXw&Om>v)(=5*I`$*i^TKH`i3a|qKZrbcp#Q?)(jSfcVW7WG z^rN;_KLRa-9{J;NI`aI@@a@ju3TWtztgialtvh?0Zeu+&tbFoTqf2;-S>kY!v=hQ? zK-SU9sC+DGr*^*Is#`tR{ZZZR+2}YrFiugLN=L`B(fPFo%xt*srOU>v$k(50qd1C? mK8#SwgODad$TH2J+6Lbol!iJie0pcfM;&c}1@0Ey0`L#`+k<}q diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderField.php deleted file mode 100644 index 44667b4bf2e596577305fdba74d77586dca99d38..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1122 zcmbtT-D=c86n3|@!c;H>De6TT*Fv|TS&H;#)+)Q%bPc6R*k&u0g)p1UrUTPVNG5_x z-@_Ykyz~)#1Rup)U%;8kHZ8QhGB-J#Ip;e+-}&CW%g=J~0**;W3M@zh=bxcCBQP(x z;4x=#UM&`+fH6PMDIKxi3tj{=6rq%eX35Ia-RbM9 z3XLvcw{8)k8$IqrQB>r5aR>_{sv^4rxM-ksW3S%QWgCMeX{sJb{<=+|s=E!ot%Cl4 z5NB@I$(H2WYFM`<>y~D{^Q#4(+(wTgu=BkI9^dw8J_74g?>KO5_rP^V#yxW#JeYci zp8vr!TBZRW2Jd~(iM;92(3u!*<+1fwzi+aEc`ib@D41N%^BubLacw0-ZynH;;m z7lo&R6S*VfzPSmWUGqt2UJ-^+cF`-G-?fhy$%mD1o9hEqX-}aU|825?TymERPj|ED32;NK1aC z%P#X9-Stzt=`VC<bjy25OUtY(LM+25%c2B#(YWl^A&b85?RRlnP0MbG zk|ZEmfI<>yX+SP>Eb%4)q-cuE9EBK~u6l|I8Y6;+Cg&R}<8l_V=xlF)XfVD50Kx>7 zCDbUdmnodpqom+Ffb^GFqa+StNf4ob+i@AhX-s02#NX&g9>NJqN=!)}VkcF~$sj9m z(hzrcVa>^~+j&NpatLq6bJ?Egj)qoBaFL>9sN*s$;+$lKOQEtHVbW}uz3J>8@UDz4 zp1@8$qAWj{@eq=t!grfPSYT2W=`F!kL&XPs^C6y%p^V2(*CQ%irvb9QJK)Cxc=x}G ziCcB0L=~1AttG0p#It~fnRej2!U8MR9NSYg zFYpJ#BEt@Rb)fYv)ex4%HL$GH9z93Vg=Lnhj&s6!R#-MTc3hqT#;W>ti&e&|JGSB( z{BVu2I(^;f^K_k6x;>=^Z*U&NsAu2g19(c`<4}Pyomm6R3+Q7A&)D&~;%UeHSXBSc zfi|_>Y{QQ&TYYhVq5Mj^b6>QXN>P@eG?KC+>P9%_p1W~q9+!_9_JB+Ivo&uj%5`hY z5p|=)-T3@+!zVw%Cnu9MyRfuR=IIj7J?G55=U%)?uT$_G`czPfHI3l%2I^}HQ<><5BpfcY z)rv|;l6A^Bl@5g71O}5S9C_pEGt;V)OcIJdkp2t4aGNX6JA(T{SQrr@3Dk^L2!=`cOaz=N42}tdW5dw?3ZCv+R=(Bt3_RHbX*~vqv*3L=8jdf=Bd__ObqF5Lg15os zW6-R%4nW=Yn)Ox_Ji2lNZyflG(Dg^n#^7%av`v;vSGx=j_GQT~H>`asCuOKO7O|7a zxEoVpgS@?fl&M_@(X*5IQE&LJ`?G#jMBFjKc8W5uOvD`<@n2iO+#bQ5E3ju!+`*rE pyJ$toG$T~;AY_OTvP{bZYw*=cwfPrCpl;K%GkO+S;5J|bz(2}qXNLd) diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CallType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CallType.php deleted file mode 100644 index e60ad6d1f5f8b188f43572b5d1eb4db33eee339b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 990 zcmb7C(TdYR6tyj=%qm+d_~64b)`jhYrYy_8Os$eO**4gw#qBC9fiO*`*?}|@G818y z{)~@;KjM!FeuXoWCcCio!Mx-qoO|xM_nf!y)9Vzxf+LcU3=0y%TdL~Q$(d&>mL32>j5&ux$+nPW;5&fw zN%Lh)1IPsy@^whLPZKIAj_EhKQXj5x%!zEik6q};n`GMQ!ZKIR%^YUV`OcSozqjwwbqZd>G2ujFO(MAZ4)vPAR0=IZ!Qd*3 zV~~u*SjIsRrFh?MhpHy0{F6R<#X4$gond zpR4-^@sZUAw*Zy)Y`w~v zZ@W|fs2+{G-JjKyv7^{C?0R`=D?_p8DE_r?2ps2kKzF3)sQ;-p@==7$FhYe6LPiK7 cr?h(L48A!l0)CZqbAY6jFxQy(ZNV0RfBpko@Bjb+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatus.php deleted file mode 100644 index 24ae14e394893c15582c08f7f623315cd46a6eca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1071 zcmbtTL2uJA6s9d2l6PS0g#&0ZWzsqcQcY+VcO6RGtg2vXMAspqpvq0$%u;Gcwlir! z{|rZd3V(t-KY%l~(`J*VoX925@q6F<-uu3szRRvN@CuFyBLXWD!^JIB*92yQD<1I_ zF7oA)2pI8IMpGgj2!|8sPcET19ACcFrIP0&A_yj&Cn@RRSayogL^sDL9m4XJ>_m8# zVVbacB&Z^SayFL=t6Vy^6#xvch|F+A;3(){5QSr`a5%E4p&QFhXrim*lh8A$T>zpK zO9=-X^uZQWO=BiBm~5*2COo&LX9`LQ^nd z5osU60@LIkWL$5k2e&K(voyW1aLn|G45#6cNIh?+xCnGALJ3jjs?C@7QP*}gXmknN z1x17&aO^=Pa&o^pgo3DCuseWt31x}BIinjIZXB0g&$Wu}GST!s1iu^L?EmCz?iclr z7Tqc3ceMPDmA~~JJg?Bm2-*4qo>g2opMu?)KMlOW_*a_U(RL2c-@zJ}OT));CGb*cofv(-ek9uR|xC qZxy8o>0*RR9E3CwLKbPUV+p=JEJc4^cfgc5G4r|*zysX1DvWQRB9@LqYCx1A)tIXRs@NyCM{AGDcaZ@cO_?S?XHmk zMf?wr9Qi5y6pkD?v%5~*N=+~L;@O>?gClPOo!(&bT&0R6;{ic1N|Goh4IGL_Zffh((Q$*YY$+N6 zUZ$8vY!-67kTW5%%!F;q0Ko8)h!h6|x_)O!Bo48}Q`aC)+o4#S+B!Qro;n(_2|y5I zAz*in+|$5ggA2X_sJ=9t$25Stmip~eF{6x1ievgky|e`vI2J_VT#sF3ERZx|P$zgS zAoW9-W9r!bG*Odj!A*z09+n!^bigFx49C+R5do*EOt`N?5sHW`Myzk@hfPyeqtOMd z=Pe?1t;ZIWJR?_&L&%BDIJ*Q`6;P(JS8wUMjdmCoRr`v)dJ(AW9)Q0Ufc~F0YcJ2W z714Gr&qmY?Si|fqxU24la^q4R7@mxgY?blzRRKT2ZEB0J$xBO=U5db0v46*p}}(+ufHx#G6lKg)Zr z5xcDuivJZDR=>ggb{%iiQsGr)g^(c;EIPl zfwOErCjy3ikoTw2ADsklF4_hl zOt6%&w-$Fx?TMBK-vQK5n#~d#LaDIQuYD?~lu<=-Lci(n?Z7!sB+*hgd*>Mo73B=( z17jAF<{>OJ^WOcG>-%)z#-yL0OrI+lF+~K!Nzf-U6f{*___`ILn5gp5`7h1Gw%MAi z(K&1u77@DPu>+OJ$o1tA3ZgQ>t^`)4lri?|4PD!CqNv1$%#(eJq_+0~?{|e9A zE5>b|xLsy%>+EflePaop-kwmNV&gM-a{Is5W3YSSo%?QYG#I)4`Wk$C%N8ddgox0wnzSI3%0S(RW+SWFQ-DkHuFp>I| zPrdaA#yr6+wz-H~F=2+>4eTkE+t_cLEBvU|hK}>Ix;HdT+nQv%DDz4)Z5yV4Z5jeY y{Wa_j_XYTWs*Pe4Aw7&xse_OfLdYo1?iqu}2W8$b3yiLq*$SL#Ec#Yp1;9V@sa+QU diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatus.php deleted file mode 100644 index 540c20c1b5e095f6429f7f23cd8901ebcc0cd99f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1035 zcmbVKU5nE|6tyiV%s#l(2Yp(ubz!@pDU0mO)GGbRhN4Z2`yoi6Ow(yPkj{jeiJ;Oy zCx#zrjmn}2&0s_jZB%01)_7(J!LMDY4u}EQ- zFBVinELIsysq_E_V+hAr;17mZ&&{Y3xr`}>M2IA%EizZFqO{eQv-1|^`AW57vdRcc z_%x9s&!$Qfoh#4LAjHXvs*J=Gf=O>gHJKAlqQD_W-MQM7wz@exk9>>RMkr2+QqbQZ z2Nw9!;iB&d%#-D_l*M4V%Nq?>QUg5>zTZIMQJOOT+b!<_qHK&*}fBQm+m6of2xgQ6k{`tafySm0m9fJ c%^o^|uTM&2Ulw_}4aeSOxyGVzjn)YL1NJIY*Z=?k diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatus.php deleted file mode 100644 index 1b1d19552eae13da15dcbea779e9e639eeeac493..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmbtTO>fgM7^dB~H$;iV0S=QXlh#R)YC^ks8>k;y6w#*9x(*3ds@&AgETv9lJ4gfd z&v4|3_!S)a8Jzh6*iM^G+IAwBytbeBc|V_%_vuv%UO|^I!m%V1IKGDRiold7G6|Cy zjCW}Mv+%nK@$*qe8Bkw#-ODWaaK3Dydrj=K+jtb&vO8J)G8 zd)sQWAN<}& zzf!Vxz^2pjT(8-2DrF0R^`J56E7*#Lojcv$r8=xyTVT!c+sa(i_kprK->s}$Pr>7^ z*KhUwGtV8ItM?84-toHLg*t3%`i|2$_ceOUs(>A}@uMOjX#OpMs*=Q_;D>5&zPPtE zvnoO9Q)|(=D2XwP?1V@4h%h6FrG!!{9#Yh?Y45l4irZ*>FYmfWDz*}cotxTHQn8Ix zek}n*Bc@wwGIGlG^ru|ST@g~w2o*dCDI$an(|Fw^_;$b8qu2R*-t6Loi)?^7ZVu)E F`~y5jY|{V$ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReason.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReason.php deleted file mode 100644 index 8f33a634ae9e761e87d32763200d88e982a3ea5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2105 zcmb_d&2HO95U!mzao1_gt{umJu{W}7J83H;C~~3e7L-UUL?n_RDZ2^;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u@TUgO|HnG( zu;{jx-F9ibt&F#g@r~~l@NA<&+QWtbPd7fao`8diH};+W@M7o;>JO{~@NnY2_eP(* zdPV;jJ0Guxo?EY4kHC&M@|=3j+6TLiH&E~$jqp{i5xdr7us@zCGV^S&_qPHXD$pyr z+m!d7Z&YTC_A8(JtM`u61hd#qdEAN#GjU!YKt{#3duW^G{HWI4Zue*P&^1A~RlMz@ z)RhXlZG!%54G7FB+_?pF48=A4t~QERgj6#^B@aT12qD8X+cN^+9G5A0RfOv{Nn2xR LfCX*|mH_+%C*NOa diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatus.php deleted file mode 100644 index 8993197067e26cdfad4fc0bc44b9e3dc891db006..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1061 zcmbu7&u-H|5XMO&fwVnP<-!3}Eum6V2^>|ZmkpuHA2*7iP9SZOkfms2Pn?yUU2AuZ z1gI~=kw@XoQ}6(s*=l*uK{OLXc37N zFZ0z3B#y);V<|`v%2fZ#-kB!v!*Ri_AT^yTEV13cfTPDD2u zWeH!XHI)!A6zGN0ROiZby%6Gb11h5t;PGs50h-2C({Su$!+xx`p^dIjPD9_yb`gqF zsuUh><>yX)4tnmi(RYN+ljX~lMcDQ;uS2F5j5Ez>%D$N^_wb6Q3XInM+*Qsa%>>7` zV9FzCALByP<{oCkjHriqE@yUXW@6!lYml6#;RsYDS*C@YnN&g&(B-V{m-cbjb+u}2 zh1-QiLhgC&VJ&mG+ZAj#92$eaHPkZPZrxNF8$7G%>y|mIeI9NvmWY({#1k^=}r?BD9gg*>gDm+9iYz_&dZqv1M1ok&Gk{wvnIN z<33@ZuumE6A129(+fec{zxYbJ_uO;uIp=Tln;blcBf^Nlio|g76{;HobHNplcm@|m zk`MtSzRYPxgahGl0{zJhdc*PTnJ$&Q5D`Hz%Qde$MVSjtX>mpP^> zyOs*8LOQkq01PjQ%yC5EDCl1jg=4I6II>uw8_RWQqN~%h&@)(F0HO>_2?uM;sf7gJ z0n}e!EHWBF(?e7FBzzto!m>;>+8 zs^f-v_~2bmuJqwy|8EVnv?bR(c2Vj--EM6q3u>PR>q%0cVU{{vq@9#7>&T6Fb1HXP zxogM$QE!Y~_hR_MqpWo;IF5jn%6ug2iVT5BzLO8pHazS9q6PW}_ z3}@MVPB;vbWlCehEeLx9=nclu>Gj7i)u>1^9uNehB#C0u#Gz>BrLMl6Uo;8JmZBLf zFlAFtVk~LG#Db<%d7Bc;ECPVxB@rnO2y};?k3`}SOYFNw)3-yhE_L38+FZ8*oVAWG?B?>u9H_6qgD zfCZ#+26Ii_dy*#VI&HY|IMfGI$MXA363%e!_lO8MO=ZG|suiJ#$l}cUP2;R(wrVvx zhmG7KLJvH)q2w9aUJfBAGUM!CU{y#NV{hKkwGBHAi>+5G!A8-j_nv~^6>#}K(bbOg zX-maz6~S97c*_J|zXLCJ=A$F5e+7p-Kh~asgNb)Dbh`bkzSFBdsvUqQ6YqmJ`0Q0n zwJLaOPsW33&#|wa(M`2nI|R>N$8$#Z^>pNn?Y?HIB$xM0fb$Zwf5{3usk+x}TTb`8>&0@=z-T`8n3gY>UWgKwbU xqTXPibN{DY&qonb!w3~R2q__ijMD6}G5Geh$oqAU(LFPJfisPH-wLb%_y;5!U4j4r diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ChangeClientType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ChangeClientType.php deleted file mode 100644 index 455f9cb4143dc441047cf81053cdab597e6dd56f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1331 zcmbVMQBTuQ6qZduE~1yKU?7oPk%SSolMpm1qUqW)8n(7sJBemV({*>FNokw*&IAn) z{tX{}^r!e!e9@oa?d=%Na4+_yC-&zG~0R#>7U{(Lzd+&<#2YNxj66X_S~OR1^nh;D|j~H*2abQ+= z8~m9Cum6)Uw2>zYj9+2Qw7{4aIMbWo%HZK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0FVis?SHq9m0x*?8I}- zQZkVWt3pnAZs;gyjwJ$s;RTU7jtTU~{WGF)f)$Q@iy66zT$QG}Iy#Pq2D1x5oM9>9 zz+#_U=x~h;z5}SAyqIP*hK5(a_NkmuMis>w{igr62WL2wL?hkpofRxL5}_FgSxnl8 zu*5XI`#IO!>A|(ev00d2Ry1OY2!^xBBQh2=S6qyBD?%wz)tb#s`><#26IT{Rls1Ms^6PX5Qb=3Y7NXuF-t zct;!WSmRq?z_X417zpxgWfD179B+=J0WN7GCMY{r=w?XzAFlL~Ya8f4)(GwR2p%9<2T@<(bZ}!$sOj z3A3SH$2_NUTk5-Z1wZNy-*tc1_k0^?M~B!cOH=7MJ2uY0)(w#j{H?^>$d{S_Q*V`{ n2ANcUP? diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceType.php deleted file mode 100644 index d07ff2542cd6b7a4647a523b0fe82206e1f8c2ad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1361 zcmbtU+iuf95T)sTdULmwiv-n@R%$ANqYCxKrGR6*!9uYkCjkjXvK(iVT5@g6ULzIM z@8F$BK7~)=1KPOnrCiGiZGX6B}5j<03z>_WQpe!+-x^mgnC1ddi|#0?W@CVVsh)l@k!s{ zyr%$u=w%t!1b;`+I}`RUBZsem*^}ghFz_)?&t3;X<_1wf11}7|utT5Wkr!r!k=@0P z^2nz_9AO?{M?R??;ewN650aQ&(ixtX+2;4g?yPS{l%$at_H~l^X^_x3Z8NB%j0r7o zn|o?Ury?t73r4tBl&C0oYCOX<&B^WL7^j5hX>>zyT~dj{Uc3$_WvIhpnf07CvQ`3l z-b47i2yg$lgJ`c{kXh&Dat35J1G1Qb>bH4#GOJI#o7LYHcr*)uwqUJib=rnzo|}d) z-9u}z+_TTc7qdu?f+W2axPs!I##0ie>MIcC>zOxuzcd6=fQ+N#;K zq$Q4;ez`ZOWwZhd=LXB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zliDu@__cht9mea$qTF}q9DbAiX9A@7SkZ4S_jQ@<+@PVz-fK_%sP_9(t*oII$nwupEuHS-uOEKl;uP+GLp!d zBpyosolM0?6@?#Glz|>a;ffSRYPx(R4SaPlXv{C-em`vP_f7^97~^ih4FLZESE#-2 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatus.php deleted file mode 100644 index 9c58568f5b4c8fc1dd9093fa93b0defbc83229fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1053 zcmbtS&x_MQ7_}`Z%pP2N@Sw1K)`jhYrYy3Tsa4W8TZ(QP+#iAj$~2i~2hy34nFuQV zXFU3+c=7-6?%kP5nqAoTWG?w8`M&qweDA$^m)&IO1xzTXIZ-r*#aB=_6tY|>5s4HQ z#d1k=h{P&mDa{>#@eKUgC3xfM<#RnMMUh7oLn1_y(jJLruPjaV<>a(Sd9ji`4X|LG z#&c4{jPi)ir6Q`3j%7lKlNFU2i6~5h;WjpgT|K7EhS=n zPvZboUeLSb06A4f&Tj$MHIxMg5exN%&wo@o!eb)(@uLcd#R@L%S&56W>zJMPrp zJKB54df(yb>2`;Vi=6;H+5Wfv80}s87lAjLo=v^+{)6@&dUWN#_h+B{{f0SszB~M& z|1{0vqjx^L)`!;cZv%C7-YPA-WDTEfr?ox?jnAX%R*6UnPaKgay@YZb*G?R<@~=%pXrq27>o)9V+W#~=iTV-19{ dMOr+x0$(51CciARa~qVMDYK1b-x{qE`UjmzT4(?O diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConsentStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConsentStatus.php deleted file mode 100644 index fd84991ca7d5699912446e79596c44867638b387..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 996 zcmbVK?P}XF6kQVNKxM4U1C+b0&=fX@Qu;?}Hu7o0m=o4?gUwJBTX6-BWF)!Jjl9hM zZI7}?8GDFHa^g0W{F(pwT0ZyOqkGQ9yX+=IufV6AN}_2D^E=Qt6f!Bah(rqWe6gSs zBC*U^N~H%dm_RU@!Ei91y)>;#8DT4|zl z6ROLt+LPu<+fB7>Yyr(eBF2w2c0kLVJ{%4psm>+8 zCs>tKPS~5bY%QZ3$K}+KF|1hv?c8JZvxd(8!>RgV(c~FZz0zLK*y}la8(-0jEjz4J zjS+gbby$Cn_OF7=>99W@jfaDSC-r^w^eT8COg;w(75m|T>;^OQr&>p7Z!iojs@D5k zK@AhY_269^diAYg&Y@}LOMk6A5h>w`CuGt}D0lhW1T|x7S8m(xdOxZ)zuWy)J@j2N zJ(EYTC~aku>A7V7-T*?E-3Q@y=`G^>r`jl5F*eN@mpm97B8(l=e9s9yJ1*^eU8LeZ P0z32LfCX-aRtWtA4fsS# diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ContentLabelType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ContentLabelType.php deleted file mode 100644 index 070211cb5c5beed8347ec3103d0de1a8dcea1417..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1294 zcmbVL%Wl&^6s0MBORNF{X}f#ZF34B+GFosU_F8YzL{J z{tQb#1@Q~~02_9!nHjffm9`ta@zu<^=RVGyH}8_u1UyG7iAd_@WPtkTC_g1AN#i{B z;}G@7!y!qLAD<;bNKz3Y#YBebAgpN4Gn$&kh$66J2_^-1XF=Lr#c4FDqVjAV)D6Qo+TCds{lmwP>x)Ai&*b{Vp$vwzUTjP4Ks zKlHK;)eBmku{x9#d4@=&aZWha%r zLtd4!1w&LRT9l+)JszPv9g~~I5lTruPNQpriwPBP?B(0wvJH7Km{e_0-6|6xtGf$+ z&VkqeDVVTbB#KmDaiX+Hl@__u<-aAcIV}qlt^BJ5;Pi#C4wl=7ZQ;7s(69m@2+Lrh zZ5$isi2-MXC*YBdKelCE@49wdRk7`89Slo?0M=?)H&0yWJ$4(WuE1Gg1FTwd>liDp zVm4*XfDeTgu=t_f!G@+|I4`V%C97pNWJ7bhaDi2FTC$3jE?g9rz+6XDunCuhEwI5u zwO#Fw$s9LlQmP^KsKyx)-_poHQR1u8*bG8%z!fW>7^+5=~LU9)_^}^Yvxn^ zQrJ-(deKOX(@}LqBJR>FOD92gpTiHi`rk^ksw{smZL8eBB6Y1;ge;=|6}f+ZTmgFA z;WsSKJzkjncd1;YN)k<$qzR8CQ6fp=O#OM@;H%xq3x81<=h`LrT8sk=+y%G*;2&Ab Bjg0^R diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategory.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategory.php deleted file mode 100644 index 3e6a0275158ce0cfaa06cc20ef79164f7cb4c0ba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1411 zcmbtU-A>d%6c$jx;cqDTbD?HL5+KoTh~cJ)q}vXqVYgGZQ%KAvP3g`qO-kFeT@y6C zjF;T`8u})_fVa*}m&L^FmA#qMGv|Eg%=!5~9Ojofc!MmKvLdWl4_#cN>XM?)5FR;UP>1UZBvY})iScP+DF5it!7vTTsBM%XJGwJ4;|yL%0m4zJ2a zl%=0pQN~#sgi$4qh{qdb#kDG90g#4QtjxoRA{^kSJ50jE{uzzj) z!&Cwy;Xu-eZSSBOQ`m0i8L!a+x=Yg)W#c95+G)j#G)%fCE2ARLtE_OjsiqBBH7>T$ zZ13#Lr~)nSqwP9HP5URu15_15_IGfE3RVq^^d8`53?&nL_c0!&q4#>@s7Jhy+hao! zcME)<1&9CHK;=~ppz^+};|Wmt1gLTXHh#{47n9l~nz?a11D;PZP*%W#?|3dY>?0eS z@PV=b=6vVGA?FU95h4!NT&^#gtke@Nuawfu^rmR z4u#9Yy@OAE?9t%VCltdK5!%8uFzpUDs7)LXLZRb%HHq(-fzh&!6SyjBVGxJv2Icq5 z0AR=B)sVPr;*lOD9Z?+5rf^*t)Cx~;VfaKKp89%AR=H06snBu6GkpJ;XU*SJV1tvw zsMC|0-h4T!p>k8)sZYjeY6e*nrUNxA28{trB_-VPNFJAyXk}lH*0<>yOV@9wUs;kY zR8A3UEeeT~g(}J7$DKh}(#cuwX3FaXH6U9Xc`C7G>LRED-(RbHD05) T^>*H`;>10chPB-dxB=h~iaM-V diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingType.php deleted file mode 100644 index 1b921cba04792d08d6dd7793ad9063c9a7e18f9c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1105 zcmb_b(Q4Z;6kQV7KxJFz=TX$G&=fX@GWw!48;;|K(A63LJ=tiFR zAA8)V>{Ipud)domIdKCed755y5%->Rbnm%mZ?o$RynsW(h`@@(aCQsTHG!Gnibp(! zvwS`$0!Dn1(Ub@q!oe8&;|cTzqsf6Tl{^;_K``MwNl6FCvQvgdbaQgrAuM0WPQ=*_ z5t4E?#gQtmi04dEmQ2-cMr=a}0K*F+GaL~(4EmQu;TS6%4h?qb#BvoD(Z`e1&?~UJ z07NO461o+KV<_Ae!$cE+Zvg6(<+GGVP%5nSbx7ruGO8#}=~w;v9-QM;5)F7icb+o? z3X6gUHKmZ&mEnQyg~DUwFe$u`4|59 zli#da&%ooc?@a^m{nULoaxa>7%K}d>9sl#jTciKC23p$QE0x;>_YZa{G2;$uU)-$6FdRu$lF2f?yuD6Zrf2|WjvlknS xVK$>&jo5gg5UuT!!sbxpLk}&4sT+s`txPDntm78hQe4wUHqA$&2*O%gD*|~}?5+Y$ z@t^6jKc#=6|DgBYySuWLK;lz%*%|H3o451c(fj-=N3UQ+85Km)7-ruJ(3W)e3PcteU0B-`pWTfIH9UqwE5H7@7bvaEuBNBq=@l7 zj(t#~pm&D@2&xLfZUL4RlqL4&UAm&-#&I?ESZmm+3eDU-^t*xj|0P~)r)+n$;!dT# zqqTRe_U#+={9%QRitR8&&mO*RJw@B+!Rgc=j*rK_*L>94Mo-RzkHO?i(5#un58S~g zeN#8dXa8h!p_4`np{);N&+~)k;Qq9sEA0Dcu-asU7T diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionActionType.php deleted file mode 100644 index 9a0484dc967912dd2271fcd9426955e41a2758c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2219 zcmbtV-BQ~|6fPu9nuU;MLjr`q;+x8g3o=wDt232wz#y|5c3Rg4u2o0f}JMR(VkX&U#FRv_U{9Cy0Gp5IRQ z@+Dt=*gx0{qW)F7*NUSLL6U}X@s5T8^G+>>tA%k7EUuiV}Dy=>V;95g?=~u zmEH9SU;5oNU_`gEm;FePVQyeWt)Q}lb54%k>cuQKM|cpT&C|tF)zqUbNFu-6RD!gX zguN_IYzCF2PLP#J<~x<0L*bRPg_pRJhbT$6Vm!iG(hr86W1Iw8KZ$M#u1hKr*sGtz zA`H@QmtK!q{VFAp``reAPlLm+C>&bNjjOEI)w1eUR`sf=`o`}7EQ~7;FW|;MkHFlx zL-YhpHB4%&vVN?q3j795frkzA)U@83aDsmj#gmC)z)3U<9?OOn}Y=xg%3FYV28V*@FDmA zR;}4YQ{i{qf_+fkRde@`&Pvj_}zw%;S>+*m|=HmK`awrav@v<2`jz-Z`?(Gr-yg_0Z0RUOWJa;RH$nEwgFV7av9hojsO&4Z_( zAPU}D^cw8CC%U6}HgVi@kxgO}=01-ex&Je? z4_@8PJuV^7Q3Y&$-lPa+o+o!uRMBg!FC10Vsp}9|w@kQzHo@8ep_|lYZOu|=7@p;x zs18plg^TDJm_0TuOEGlq#Px_QY+s-k;Q7!t<1}e;w!}NPX!a9}x@?S=(Hww=%9{Jw za_Sy!)atqmSI`UqqE*?htin}&fw0TTr|MuZH~HY@b9AP&>7#Iq->#TT zPqq}54IhOs(K1+QnEILOusgDr95kn95d(hDlRxfsIFrq7KGH=hZwP+yiW*mjo|WO_ z@>$ub{Wk$Nn1B{9EH|NvJ{=x~o}ujl z5T#g3I4tSil0DGm;2VJY%ko7^BPbPC`nN~r1!YuGoYJrQ&3(AUsU({0K6aV2NNLs3 zBurUEItQ@eG}yh2>mK#tR_4sKO}8wZFhvBzX*eP>5;Rj>%rq3Cgs8IF=A?7bvsDcn zUBXTw5utk;`%sCT+$|2FASxH^mS9~{Sz&M9(~S%_j?1bidXAkEXzK2RKMipFp95^| z76gu-yHh&A(GGB|1KQtf;Ca=U%rM(m;91pu>nYed_s?eDaB?#7M$HGU9q{^31n7hMZGWDBvgPwb5fg5csTf518wc;jnFF1gBMkT z?4W10FT>5F6P{w0I9w#%gfQ#q?HXiMR&7PkcIHRDF?QXb_1&@cx}zQL6rqW<*B$Hi zUt2(Ex8cq@*nKD#;&;7Wq#~q~5h{5Q(nJVZro|&G@a=x-g4cz)Zk<$VLklc$Yp@33 EA9@mJY5)KL diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventType.php deleted file mode 100644 index 23911badcee49244dd49ce62caf4f22823804aa0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1111 zcmb_b(TdtY6s-y^%t9-EfK1(mb)k(cWnad+C2EvVHip%0p$Ia@F*^`v!pub279aZ~ zee9?7Q~CvcDRgF{abeM?<|UVK?l~v-p8NhodY^(*I3$b+tjGe+AE3G?FcnVh_6zb5aB@BAHiTWfnMLAywR z07MCv67~uecQ4`@jfs{3-vHE4n#~g$L8-9PuQMuVlu<=-Lci((bl?&vl4#1O*k#5d zV;h==5sOIk0_L0sdzNxNunydr4b2So{H8urL@=C8`$R^9rizPDLlKIJDkg8fG%wm# z)v(beY~~gbdg8GImB`3raR>!bnP7W@O+jUiy}hPe8}4FJs1Ec}n+4G5o`XLXF!(>) ztkrWKM`yt)QsL-SI5riH?`&awW5#M?|WVd^I+=X3uSo+f2{&ma~ z%wmU&xD^v-^S!%`l*&V=(zc`dQLYSK_h-32w8?jL-krQOl}^56lmBZ6nA+QTbR70N u^7HszZse^9>1Koq9)vUzLY8U%+!}m$UZmko9}bKC}O0Qd*5%X8rX diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatus.php deleted file mode 100644 index 082778adec5401714c0caeedb8c65d621c084cc7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1126 zcmb_b-D=w~7+uoRfqJnnu-l-eg{H7Ml+hcd*>Dmkm~BoVKZ9Wiilev!M>3Ke*ha4R z0(*j8?oswAdxya!IdKamxteeMIh^mDlkYpJ1)P6@>W;uvaK$5@ zzF>;U(ME7P&`k_Oe(B0=~zhs7+w*X;)uZhu>FxJyub>FeajxY3%M;#HNCzG zJ;UAvAWE>5uv4gXtjKh$F|rci8-V&rvw1=zXk_*4g31|XR8gGJuX+G2xWtJhn({Gr znXyRezW`0cfJLN!1#?b=y-2wpSPSmV4$Tbp{6e28A{b7>E|HO-sp4X&p$Nr96_Yo= z)UTRW)v(betmhUHdgQSMmB`3LaR>!bnPB$>n}W(3d;OMfZMcg?q1w|+trtL}dkMZD zgWmtyW~G|*I64bXkqSqr!m+8S{V0Lj;hmZN))=TBMpd4H(@8KIdL6&#d)>1ql~eF^ z61)!vpMtYe1Koq9)vUzLY8TMVhz5zEW+_B&)j{$_NLPU KbKC}O0Qd)N7In7( diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum.php deleted file mode 100644 index 5aeae57279279e7f8d525cb954a88d03723bf0f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1055 zcmbu7-)h@16vmeXR!}b%0=w8vILiu6VRI;>H|nx2e_RvB62saRhM_37;tCweNOE8s zd6`}AQMNbP6YO%5oH&IxSM!Yz_NVWBI_LN1U4EOR7Z6ZRCDAm2`B%`l6mluFh(!kT zVzHnSVzJCwMx_TZp22i>3I2F;`P>{;qL4AgkP4Azv_}%vD@$9gPS1Lj7faQP1z%CA znBX^*ub32kNx3$4vGiOsgg9AJm6Mo45Dq_5O%kF>6gb~#kf=>*tIwxrk#Bv^5sEXS z6pSi=e`jwc=sN=QuTND0=i{H zjPGUagO&xo+Z;erT}Zw&SXWjq*sHf}6JwAhRo4r%$!;aIeUH)a273R$D{Qq(2hXhD zt03?U1fGMSlb~mN_tXi{(+7XHo}k04>8H>iO)e(>xcR7chz_o%AEvYGX|vWkK#f5d zHtV*y_J_^J@NW%u46mC6`@#&{4|cQ2xE+SIFQd(MQjrm!dP1hXlyXPwmhqgaeaN4? zJO8LRg2CWty&X7?JwvZombNk+d$yzcwG~8;^gF0K)=Sv`)H~%-jLl(;D<6!F5ysAG b{@4Y4eOxX0Wy#GBlD&jEVX0fAHA4RYO&?w^ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucket.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucket.php deleted file mode 100644 index b584e1b21e80b823e935945b24f4e654ea222e32..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1503 zcmbVM&2G~`5THm-$hTmGp8 zsL#O>i6gJT8}KL`c>?w)b}F^KkV|&H`R1GP%zeh9hQ>h}*+fB35I7#G;89!=M|L{j-K!8k zJ&P-L;GdHyb_0LlVP`N*?N20;c^UwGd`99B+XOY+wf7{!Bb?xVlPmVCqj+*;r<2{i zzRDE$0kAzB$LKIuKEh6o>w>QU(O;MjJ=aEYf)o0;<;DZocM}(T?ic!{2WX7Fm{6Uo z+;QsL39S{e0K>OQc?Sti#@z}7+L;5CRoG_DqK)cnenKK2d;L0z?Z^$2AZk;pqBtbU zTg;I1&OXn|)Z8&DixL&(N{t67iBfVoIYJRh(#W3*T;x)`u$OP#Ng37AD9_rU(<|ph zmUkO`n+MAOj}2~$SeXu5&POiOk;{DKrC)Pk^_t6O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Dk0Fs( zJeJVA4fG17ET&XAk4`5$#%=aH3|GS22 zbYPiXHmmNPA<7snB0yeDVqfX={t0tdAcFFy=eyh`J z{jpx{urWra!;8$9u%cs(%*L3%a>0-dI>MyGMjbxu{Ig!;k17g%SWyZeMWIHD!kk98 bS%F{d7dQK7d|;SQ2P;PlCgi$nbdAt|BK{8K diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionOrigin.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionOrigin.php deleted file mode 100644 index 7c5ffb1d780d8612594be25399390b882c296146..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1082 zcmbVL(QeZ)6s0ZOgeM?G@H&|?X`KYACNv&g21?sBRBTPOwoIT(m7BVmrPPibXA+=& z0e^vb;#2q(UU=pW+v&1t(_Y9+ZsL2-J-+AM*KgC)6g-1IVMJg_=5Y2I%2NVU!6lD) z0%!SRK?IEWGNlO-4ustR4uTQ%y8Y2pRhsc!Lz-0D$2o$x<8<=!fkiBJmtcJn;?M#GPlWP)8s3_9vc3YXJ}?ILlzC zL=6lm_zIwU(tMWC2xbyX_1dP{lrkzQPUshP#RIs&Nk$aN&D=%KBB@A1T@bK{GL;t^U*4ZJDkbjV@rLpoq{7 zjt5YRoLp@Vp&&9B>=NL-gfhflyrC-^?tET$?J3zBWuor81OC>)tN+u>-YV)GrLI%z z>?oZbqjUX71w6j4iq@?Dtpcp;2lhj-IUWo{uhZ}Ky{>h~-UJ)t!TUjQGO#N846VERtm7UYPJ73}(bVk@tu^}|SR0OlW6xT* zZSde@FdmKDW$8xyPX*MKr&m|F?KbTv*BKkd!^)@5Y78+?FpC{7;$}>kvGj%gQ<~kj z4J|XP@70>`x<9L1zA?L_EbbJcj+EIQWA= fLdYP^)(ydzJEa|-7cRTB)UAFriACNyI0xV#VB=bH diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum.php deleted file mode 100644 index 324f5c216adc1120c9c544b79d87f2bef3bf228a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1230 zcmb_b!EVz)6eMW@X?q~@0U?B{ZCa_R07nJ&vZWv=ab2s_iINlqvSe+Xjl05KTf6H@ zfO_IjIPxic21kxuxv;xV-HIyof-in@=FPmkH}m3Eev*TA=n+OZmShSiAE7)UFz1=f z;w*)eVm2cj#@T63Q^IWsdwm%6$I$Kh<2BVPvVzA1!6eI)l(g|ww98UgXWKh%!irPT zjx%;fxS$z}B**aw%92P(EDI57fNcZ;VEB}X9LEHDgU%6=c#0(sJ;NP3Q!y`f^=5k~ zbT#)b0C9?ifZa-CJeL?51&soq0aQ<3Oi~&{t*l-fR78|fNpVU)sXxC5XE+r^5njj6 z3KmN>KGY3;7L(Q%EIBoHBhS>b_Ta^+1HC`ByU=HnaE8;cM?}nNE;Bw*P=pd9tF7xV zt*u?7s@doaw#pF^x;En;l)NBU#UbQG7MxuYoL5w4u%|ESd<u!Qy z%b@o^E@`cnEVgoiUHQRQez1)nnqTVR(ZBB1{80lB76Gh#VC6U%4cxB3@4LOmEo%kb zJq`|o{@b8YvmS!`%ArxWAG~pgBflR+CmLHh6pkaD3p8=8eO~vh@tuH#9hEtOIvg_1y0Ku7Re?)_g^aw$)i%vZ_iKoUMXpm!+;$GR?o{p zlxNqNmL$)@Yn0YFq;-nJf|5C+H(^ZXIO87`Aq+r<=C~|SgrVu3p5qF|s6v4$Gy*Ly z7bUMIhev_IHI4y@QdE|3*lJC<)QBm0jgY?70bc=RS5Z$>62Y=U6}#<`G9($P2ujHp zHj5KDLurW_??ddY&Z3Gn4EX^!i*Ww{Hk=&0SLAGVCve%Z$H&P=8CY3`X@=53$7MuG zQRUQQP*qKE)h>a*=^q>mRnA6cu-~+(stjWUjmZRCyiu?+^ zbd1YzauJS_EM)P&caM;s2 ze>(T=vE|u@v~l{a3wkV8i!nSlk<wF$Arkms`$`U1~$soa*h}1Ha1t}lP z=&@MA_wI_RX+OF4TKp^6HFOMRSO(Oqxd(BZ*WrtO@!$;1+;?W)_p5 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatus.php deleted file mode 100644 index a16cdbc560298fc538792a88300f7bd0b550b782..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1106 zcmb_b!D`z;5UuT!!sgK6a|s(a5C>YBP;yz_Rb^wLDe?@~+rj8QS7& zKcvTgNdfkVDb;{=3*ad&|I!7cW>{o4~=DtRVCAUNVYN}xgKvXO@-T3uW=fMrYB2svAU zkTGY|6-_djiY$St1T~e4s!TeT5g|sGAX6Fw?gi~@P;^ceo%AgD#GT7cXrl4O<-{}K zO@zXPN{KrK$=Gn*Xo?}Ip(Q}y5Y|tc&5}68hE%^!V>yjktYVtPU-j)Qaz%)=dZ_;N91f$8M3o;aOs<;SrDj^Z5qV48O z{k&;e4O+aw^;{w$k2JQh5*a)s$5?>M1iJ@V7f@E%>v!=+hC81ZtXF!X^&-*mo}oV# za7RNOKW+alp_=yhM&vHN?UQ{%?6`x{ z=g#KR5l<+K94?|p1k8GSyB29IcWp`2cIHR9(sSLP<>Q`py`#PEmBR*U)zL< z-HQi{VK*aRjo;;3UP_2ACZxb2L<13Gk!A;0;G46;3$JpE-TP^$8Es;ow?=D({sDq3 BZpZ)t diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatus.php deleted file mode 100644 index 15f17a6bed678e2e1f453cbb024f802f64a5b496..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1086 zcmbtT(Q4Z;6kU?hf%>qLw>_+AS)nOx4rTO3SvH)+4PmQenkIu`2#T$^0!K2E9N0!+ z-?GPj%Kl{gf;~=>6Sq+OG{5-DKKI2+P;96LGd7 zLQ>8a8=U53A@YphPVqr zlwv92pe!&q{MVX(YT3az0QHmQ%algYRMf8%Di@SdMR7{M>TCDl3a652wujhN&LX9S zLz6IJ5ow>ng41A6GOpXygL|EU>74FbIA)3nhSP9JWF%;&xCk^9p@gWi-{wpEtZS

{qGqz zj|&P%58o+m;Ak5-)&{NbHSoN0Qf8p71$b5oXg&ppGk+R*gYo6q8y-Ds9)c$`|ARmI z$gWX*d zo?@0bTqK=@Fze<03S?APZA8~L?wA+tG&c-_9%Ob$#UuzN-ugb-}pm(-#JI0&UyPjJx|d~>;VT!HAHxNf%Q4yR0=IZ zk>F`In}Nikn5QfO>0sO&V1F>eZm&OjVMdk6WC#SuLc|HQXrx+2nOBS5y%z9nu3Dks z3y_-eILH*pAeBtW0C-Gem;={=zDOaUJPH!M2&P&16|`ejAjIh$R7yj@-mvo#G>xdH z6VDP(+L2n8d3CzGH*s^qeT2ed(;n*#9(iyZyty+p9gQucNiG|G^)e`L&h$8mjv4S*=okik_Ufqw$H~ z_q|%R{v6fJdC>NI!BO8k3XVsowbjn|3Tl`LEw6Lm%{s3iq|mx&xbmgD+*d3T%40{! zxD^Ap*}0Bl%G7D?@718@! rX%wS`m|;Rn96}5bAr@)+*b02JRa)y+;n*8{-s^4KSoB??D}??5tK*z$ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityMode.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityMode.php deleted file mode 100644 index c8c24d78b43fd21327a42c86ed83b7417b5e7661..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1232 zcmb_b(Q4Z;6kXD?fjU^o`-++cnnLSPMqiX=!%5sMEOj!HY-|LKVk?fok&G-CvXSTg z$M&{Q+4COv1^bFga^e(9ArJG5uk3U0xw`k9S8w7)3|_!4VMJg_0ytYixganWTymdB zaF)*JL_nV}V;T`*LD(5UcQA%dr#C)PsR>VoPY?__4=W1>wr+^T0hV~$HAGW8 zNH(F4K3rZ+9Zl2#z>jc}!1k7~z2R$TboL##8$|}b0;rxioki4#iNsR9sx81@k z2y)hIwdq<8)V!zQ&mnmK-&b5d&PrNJD^{)=OR2^(s;T@gfb)G9sn=imQ2@1l6UxuP z(Zn4Mop$fK=X6Ss%17YI#C_)uKDwnsxdfit{l3?JYrC$~AC-#b6YzX<^2VQrj%T|a zPeVqNmOhV42jwb&_aN%`$QkcYhplf#P*INBT=}8fw=VX*i4oPX@VUJiXUHSWLW_&A z9uj8Uv^8Z+lZQOoFf;#NJm}i?&*E{{_{>u7va(P|%4e4G*{>~NYMgk-ipGnX8UGe5 pSt>#*8KJxmLaGo#rqb-OY4GJ~uDJ6|$UD_OD0u_SaBHvz;2#}jn~neg diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityMode.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityMode.php deleted file mode 100644 index 34e0c77d47b20bba1f3a7ffffebd01f2d0be97c8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1242 zcmb_bL5tHs6t>+}VfJ7t9#pW5b)j8cQx@6F)GBG(4aII++*VNnVVX>{1Jg{HOctv2 z>JRbg&A;Kl@Fe&voJ`tmVOi+GT=LrYz4yI*?|rY|#+Na84s8+cq)8?V90sMNDBu^D-W~i>g2RVqI8k8 zd_g4yRcMji{uU z(JxAq4xD3_5Y_u8cAiGQRG$U2f>Gp?<`K+$X4u1+D-AnvGxa!=RY~d&BBe%zncE|Y zk|vg1j1?52kjP>g*+0#rwr0(`(K&49BO-KT#txJsCEMf>3L;YxT{l=2t@L0o-_Z3K zW)KvtXKK&Q0+{hOz@L3E{@)9(*7A;qIuxTg8AF|np--m%y98eBxW;Vv^`9l+Hg+ti zJ^%+(=VIKq24{nQuX3k)0Patnch2aeQz>Oxb2#*dBg-82FDm8gQ}EatO`Xa6PoC-Y zJe@QhdurM$y;rS)C&Ts6BA??2D!*TS1RideZ?KiS-EU=3SLRv^aGMt0;~l?CAK19` z*;;EGa)zVO;38~=B+|y(*fXZdZEkJr1$-~>*{1oUT(h<13}rMU53@*F&d`?owE?)= zlv}RUw#V AH~;_u diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatus.php deleted file mode 100644 index 48381f9a2d5f0b22dcc3d9051426780f3f1ffa0b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1099 zcmb_bU279T6g3H`Oci6EOPR((Q_u}X`Z6&}KDNtZOhVIEl$9{qoooj-Gt10up-LY7 zD?a*D{3$;9?u#?C$+l3EC-aiaa_%{2?mhR-yYwmrFQ7*l5m=E3&TgQ(A}|$P@sKBQ zmd)oxz>qIenh@bY*dM{+=p4Fz|9oG!N}h?3AQ*EVC!~oZ+008*T_2w`3Ck9;849Y1 zpqx$RjZ|bYl|)=q7Eh(ZDwB>C1c2cMktq%d^v2x}MBxZ49C(&H=tOc=n(FfSBybIP z3xF`eQo`O^V`3#Hxx&N>fNucmUz*Jl8bTwg{|=~}QbrZU3H_=c--dIXNTLbvW9JzQ zmG%!!!-$2XaRhTtgFQ&O9#$K!t&Yw7^y~tk>1Q*X1brg)3{u6#SVIwti7KXUzBG5xVEG4VB2qU2zBnQJG-31j~ZT8hiDYu55Ios8BuC3vCoYqk9PcR6zfK zY_hhOvp6~hPLT&k=fSagsDCekt@|>Yt$zW#+jd%e26irnld;?LPkpyveNfv0k1mGq zhog_fYN_@FJaz}Z=XVEgwOo4+o}P8i+`*^m#67#z=t}o*3DkA4SN=9x?e1^$U>7|u zeeSK^8}kIS*x@2>#)R2aukRtHa?^RV>`;D`D_*Dbv%KfoygNGOPF|Wy=iRY+|Fs4L z_9E__guRLUD1Mjgc`HJ?8KHs)Ax(skWtu&-245c*DR`NO>o!RnV`zanZV8qE`~ysi BZvFrO diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CriterionType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CriterionType.php deleted file mode 100644 index 59bbeaac50d293a576d8d559b0a08b11f9976f63..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1674 zcmbVMU2oeq6kXCKO_(o+Y5K8s8SAEt3v3RGqA$v_L6#VWh%E{FaOT2*pxBHnz>y3| z9?%W>Gke@m*~9+FhW&@_lCqryMPB9?Uy+yR+j8Yd%>Hz+k7YC8dCCJ$b~(IT7VeWB4|mJLVZFdh_#RVbsM z-@H2%>Ex<7?B_`-@+3>6^5a-E6h1;}d?ku;+!xexn{83XgSd=)mV)Z(gJK%WsPpDs zk4dN_g!-enD5x=m3;+@RiYWZXlZ#Q(r$rf;@VB27QIaNQ5|5H!pt)mu8IKA92%qL& zPSSn}^-+1iN&BMynpT)HcYmD0FplZ0HdoFEX4B&-w3WuAo+%3Gaa?A(3#pnm6yx-H#cZDt4f0eOOU+D?u`hNWwMS|TF!LmA=yS7E$#>0wj#@OLKm;dx^y%0jZ1C#oee0ou1)cnQl0C098dTy$Mv0<$Mj@^EkBeMD8nI4mlnJ?x%A9oHbpE z_KZA7Pl3dPal)MZt{<>=)M1`4r~3ujMcYybSMN%FqPAlK!F@xQSm$p?#)%#_1IB8>vPUu7rtu z2V@f=6<5O5oBu4J8rbCYdEEC>n&i%dP(I==yf>!rYnYAVblAx9;o(rE$|YxZI!=oF z-1SI3!rvAjSi1iE;-01avjMKzs6rWme>RkV{xM7FDTlpfvC3mBll^;59FTPbN~PV diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberType.php deleted file mode 100644 index 4ff0adb0996a64057000b931d93959cbf056b6c7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1093 zcmbtTL2uJA6s9dO$&(=Ji33cgOj;*FstN7lQXp-!sM^*>rDYnbRJnBRJ9Jz4CcG_&x)DyYnCH~&`KEL<9H}A5m47`9INeRc2gm7^U zk|lGThm@oNnI|M!5I&dJ8L>?<08*R~k>P+q&+ncSi9;;$%rm?*Clu>YM<0)lXRhXL z0}#Ym2-q|H&YJ$*uul{@_y(YQvV0NK01AnvdhJs&rzw>b$MmbZbO$bREQlhzi(Tev zASp|sP8cca%|lplYV3Z-RFgVzBh%M?Q$3pvQb~A<<5{1GfYVGe?kgxl5s_uL^`GWp z+f>zTbP1b_EwLa=SQ$oXDJ~Hw3Ga$_RV)mab(uVOUl@QG;xjKwb9${HcNW z|2x6@Ucq3i$=js|Y~=ylc%bpU0-kQ0lb&YdGkCJ?y#5&MPKO_Sw>LN$xP9wheHZLZ zho{5Q#n7tgk5l*ZVl?hs)%p&oO~+?etzHL@{4=NL&U?%Km8eBXM|{aXPI zW$U%lZKAu+wka~B_A8%y>sv=G#%W|T9w-&-|M6nXTtBoQRA(f0!$%Bw0LdY;J9vXqK4@w`rEbMjT PrL9IZzyh}dD**lhDQaa- diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatus.php deleted file mode 100644 index 4ef8b6b5a1ee711d5854233a459819a09af0c798..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1041 zcmbtSU2EGg6kQV7Kz&#Vd)QveT~=rcn?o6WQJM`WaYNYZg!N-E3`MaOSHqEvBoDTc zKeNaEk->h-UiSwk$%$KN@-)Br%D(rUqkGQD+x#X+FJMGDl|<77W?wNua021v0)pZA;<*`BqL4AgkP4Azv_lfrDN9>@IXdo8UMy56E|eCF zYf>bP@|a#LO?06=$Ab_j3#xJwQy5MAXH=7fXcCPaWaKAmRod$6=r{^2WEY`0BTB)* zLHjG@a|evRBQQ^1%rX{(B{Q#mrmh)hnvslsGk5L5oMeg`p!>b^g2$Q(4t8K-6t@qd z#I(KpxiGuw!CKRbKr{iF_`=Ggl9$kj-!pX;Qw`LDP==a~7 zKXrTf5S&e}%%Rc$TSF}q)0K{GlKRg!kvjjTwNHc9eNvGTo_a#2os@DH(sinHrnZH= z>n{DH-Wd7*&-&iT#n&^T^~%y#Ccd7F@9%X(2i%_-x4hm`Uh5kR%`$O diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CustomAudienceType.php deleted file mode 100644 index d13c108fe50c871d1186bc26199c08afadef5f3a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1061 zcmbVK(QeZ)6s7GLlZUh@Nbok9GHIOzsitWUxD=GOS*Z|dw5A}TNR^wonMGF zANdg;`4oPFci#8|9H-4DReK>Xxw6ka_xPUk>P>o;f@g3@7|F0C5u9H`c|~BFamhoT zzu>IH6zFJG*d!6G0TsHg=J-P*Tod(J)qO zTPLvOEU-r@S9|HgjX2n}9X+*RqYKz7 zB_gz?u?uCEliR}~%!tf0c0;hLsI;&bujyKb9YxjD3*}v_0v2Xxsd2yew+5Ojylahj z$?ZMaR-}FPYM=V+m&QE7EVg(Sw`0O|bT>&)skkfn9leep^~TV)f7TC&I@FemvQ?Hv zr9y4#Q2*Kh0v-EXx!1ujlmDmQEL#y$%?MRI2q_|jG}C-n3p_inOn+Wx=_WXLrcMJ( J+zPA!_y^^ASK5gg5Up)!VRLBku?KhR2I4>~6G|?dy2T%gFl}VhI4Kl?S<7o>LEaU+D??lS zXL{^U>96Ry|Dd<-u52X`bgC|zm1f?1JM-r4`|LJDFCn0uN}}l!7GFW%QplvxA{Hqu z^3{q;h{ZZ%DU}|;XaeD62L5O~dtpkI$Yo41Btj%9?UJSH7NLzcr)OQt^R?>6xzb`i zj|JaQshHsNM38i@G|{>8934WOtf|UKOd*&KE~zFs#e1+KsiFq%VeTsDu{N5) z7EE|dJ106_DkpF+_73T zwt`L}5#t9Md!S`b?~?;as&mQj0JbHR6ZZNY+sWuJmnG|k8D^(Uw7kdYcLNRne~Qgk zf#I3?d!-XR;{?w+p}j$^>QUK|wrA*Bbw=|kI=Bw6rv7kzG4@A?kD3SQ$#wW4oO})s zYxdxW{lQ1`r*03Q{L9IWIWz`;Yp88(ywg-AZ}7aD+6{JE`!d|!FcB%?i6>;zO(=IB z-g`e|s%jO^T^oMX8$rMSv)&4vyFKG+uLx~q-0eAc|Jo-+&j0roz->UW0)Oi5q7-9O ljB$yBu>r!^AuS#|fp3n>slO`BbmyE(+quLdZ;Q4F{R5j3X7&I8 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberType.php deleted file mode 100644 index e33233885e929171f79282995020619a5639b559..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1063 zcmbu7&u-H|5XMO&QE7W1%83J1OQ_UT0!J08e25>64;y#b@ zDqF8XV4o*x6oYUu9!{}4o#WAPGJl~&V;AjRM%RrN%XJuzSHpU>v4?7ls}J>B|8E5~HMmh-UiSwk$%$KN@-)Br%D(rUqkGQD+x#X+FJMGDl|<77W?wNua021v0)pZA;<*`BqL4AgkP4Azv_lfrDN9>@IXdo8UMy56E|eCF zYsNK|ROxG_i7u4qco5=bK~+v-3ZrTNjB1h)O`?&5jQm8cN?TnW9Y=wM>>?CrL@5|J z=T1dMOZ%|vSS=cxL%WoS@jZ<_ z(6XR+$pIwQh2*yY%L>W~d-cYx*~svdq+&fa{z;GH^%*_g_oK3FGq0#?aLoE~2m5yza`p-6zI{&7%PlMHcQjrm!dP1h1lyVo+b*giwwuQXw zF8!n482SFs`rgRJ*E6B@%F2gUGLi~s-t diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CustomInterestType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CustomInterestType.php deleted file mode 100644 index 31d9d539b13f1c157e94a34f434576a973f5ff28..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1043 zcmbVKU2EGg6kQV7KxH)ZV0$aKS)nOx4rTOV%CeGg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Iq?zVN Z+TfehA{MXmwB1IlG?yBffgc5Tz+?VSB)`1c(onC9Tv}0*4BEaVf~LUB_x_Tlr{Jh_u=`8+Rqgw$^r~ zfchJ_a^}cS;l|&9Kf!vPI+dy(dcYTttT*$XXXefOkI7jA)}cir!f-}La5#n88G#9l zv)GSAILyam!k`~d5*iYwKxnwoaeL4-?A}YBn#MWvi3)=_4noqvqqI?mMRdNi+aOUs zNgIBiX7PkDl;9~!_}h=8bHY*@M~H+pphFtcY>LL1hB+gM5uC=6B6I){;R#6->=S5t z%_EZG5zg?y5|jgNl+MB;I^NkGm<8n?0Dg$m6zVf-4^KV9^orM<(;k$p9YG4d0?3~v zABNP2X@)cY+Mp?-5zQzL=@;IoeK^KpN;t`N>^P77jQ?k8F!r{Omsn2MV#mwVSRSig14XF6CwY?`;i)wTXw@QhsdQIa#%vesY zl0(Qyma}MH;G!xeguVViXELWpRb?ky34x!Z%70 z8&&^Z1MhA-+F~*4-)rE_Z4>1OV72dbJyW+2Y}1hL$g5zb?;JYri6bq@Pr)PZ31m8M z-)bS0s%j`(^n%`=m&aFP{_f4&D?%uY2V#mFOPx@@8K^)>J zP+}G|0ul+6UtW!brZ*jtJu&znwM9$Qe%973VSk02UMa&O;`UdB{eN8o2I4?mxe($+ wlsDo}tzM?8Do<9`s*bAiLaHh%4VQ($x0{s#UX{L@o9IRd3Sf!502cuK11*rvaR2}S diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/CustomerStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/CustomerStatus.php deleted file mode 100644 index 1914e078717aeaf482a3429b2f4adcfb467ca6b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1031 zcmbVK-EPw`7^N)?@c5a+{bb6dbrPhSU^gxWrD;}GjI>f$kWi$_P29{J7Qcaq@lVJO0jj|1rPJ!7Df*j0mhq0%t#Q;2xn4&X zuEmYbhV*u#AyY&!oJD;iV?lGp#aNdjloD0#)qH6kb?j8bM(40qN<`?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cUhq+Yz}4gMQJwj;fAm^4r`miFa*U`T!AAQNiJ+7 ze`b&SDce8U^M1f2IdKb3p5_-{+4r7vbk8|^pWS5W6$~k-l4u&k{43}i3YipIL?VTG zzF1HRkyvIdrP2c!1TYS+z#ojRUYb!Qav4z!i4aLjTO?MkqO{fR$!Ux7e5qPduC!RP zZ&c21Nt)A{(nROVb3_PnvZN{_5ryHTcR@9Yi6-IDVTRpUtxH=?PfkPMVzv>AQlb>} zOYEtIzI4dwI|B1$`8;J2ST^%IWNOAZ(~P7>N(>!XkW^8F^ssl4^GGwn!43pGqRnF{ zFm3N)Cd_s^u+ccN3p2|KM_g0MNg58QiX_XlkQ392aYA*uX8Wai+;*%MjV+*ANW}Po z#tvwi)BEHAlImRYJAhRQ<%GR?$JR2saa^*V8wZ(BaAw0AweocR6G`N$vaKdSGcC)eW-o_Ingt%P!y)J?WCrglZW z?e6`fS{rt|KdT2rmtoH&*DFd}nGAa_!@o8Sp-cI_n7f=8LH|>26r&iMVT?;0j13UR d4r%__34D808vMG*&0R=#Cd@S!eJiv==pPN^S`GjJ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatus.php deleted file mode 100644 index a2f482b30be786cd8df8c986a1fd28388045bb4b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1084 zcmbtT(QXn!6cwNu43tTfg2(Q%!ybS~>5 zR(KK$dQI45&O;JUq{1qdj-3Pm!*e1N91z&)x6X;ereWN%q+>Uf%hFVrN5^B&kTw7a zVk{+WYi!$cpBw6-Wd`2>)W0O1#x#Itn*Q6TazYtZ6vy}BnaHr&arceM46wZ8hj0G_UO$e39D44$lgS=j|U7yhvCopevTUb}p+vI8Do`0xGR z2ftjXJObP9rQ1DoTW4OmSlI?!!;!1Yl7V?2``v-=xnFqasrf3!hGwUmfunv&i8hsz-#`G_MXIp>oqbH0)}A6iXe~{aM`W z*ql2$-A-1TO6T0MIsdf+jO``dIt6y)Kmhe73yU}Ku+z12-S{~m@$bc4y|BZ|D17zD}+a@D%n*Oj68<2j@%3t_e(1%BV{t zIM02bq|l{{B#cO^La1BNv?kEd2a_kfHKTdz5(EQEgNU@Sm$iyeM4!$tS|rXFSZ~$VwAX$Q40{g@66=B%J3_E>^<7i&C4n_3t{K7E=P8$F>!dV7&ytMo& zM+090ann3)%c%k_^kK80h|nF5 z9mvw0+#U{LN?4x8Hvp>=N)mhiDqPdhJg=PE<4QHlLNWIQ{H}qs|CLBNDmqjyrCN%r za#2+&YU6ta9F{@|eHz~?V86Uk9)knh91o4lL2qE_^?S+z*tN~KrZqL|6$OBuE6dci z_w}ksOl)H;4mITv>`x8dEROe;hhT5=#vaM!1JTtR4MgFN$c(j#Jrbu~kr~?(Z?F5O z0vg=2Yu4Ky(0x>LmAVcqA1>EV4rqkqK&5HW3P>y+yYY1rX4`DumV5b8t@SnSXZ5Hr zy{vKvt3@ax?qyYa`PZhvk#4_bcj@=S@PDg~q7@ttb3w*o5w{s9?7Mwb8p diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/Device.php b/metadata/Google/Ads/GoogleAds/V15/Enums/Device.php deleted file mode 100644 index 743e8e23460f41a114d5413f7cf2d268db668d24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 993 zcmb7C%Wl&^6eS4_VuFO_52%Jvsi^=*73yX}KuPR|sI6^Lw@AoRHL)koNRDld$B_W# zXIQf5C-@IGd<|KymuaGYZELhI-C{N+M zS}X{IQNAi@N|*(q?LpTIpkvR17oxSyD;5z1lRQsS(#LVx*QKo1$0vP~RjaZelQoTq zrFa3z@QRcLjtHFk;|s!Zj5!XciXt4v<+ha7_3=sQNQwafQHskF+KLK%2T(jkHBV^- zOOCmC9nkWIW|UK$(r;p$Aza|JB%<{pc2Q*!r+EftgO^35cLX)3#2ys6*nS9aMfvg| z;uzs95MG~A{^=bJ)Ktkv7qF)#BJ@Dx5OP+L`@;<>If2^{+-xHj76Q?Ta+ADvIe-uO=gbVUfans&(>ceEVkmf!d?*>02M zDb5lrXGuRHnF`@;N()-<3hh9x{G-{Ljz&M5`%@K9ON7$WrL06eEfvq-w}4Ou_+Ell ugms4hHoLkNA<>Lb&4Z92LP#;q+e+Zu!`jN%Iw5y)*qJ2-)VK}U0Pqir1~}*d diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSetting.php b/metadata/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSetting.php deleted file mode 100644 index 611948b3e82e27382d1022774c998e183c814576..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1075 zcmbtT&uiN-6kd|ifeKs5VTTopmKB=9=1@j2%F^LBKL~5>u%sOfLr`ql6*!WSf-4^K z6wdQFCIW_hkC^Jl}lVcm{T_yvewKJ{pYrz51iZE_ia~eenEG zUcF*&-HVIa!2fvZPABzh<0$~1@69}SI=b%HYYhN)R`KJrzZKBbHeT`DM)hoOGZQQB zxbpdY_0oi=SeuuNq@56EJ-qgPM&-6O=-6@msMdzA`?I<~wC;Aar=21+k#@IZ-TiBw z5Lo};TL8NO#R~kXHj7e(bTL9D4ni6TA&WHMu>{{9mdd{_40Y$8t=6-NMcxuD0r&?F C0$>^d diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductType.php deleted file mode 100644 index 9e006dc47dbb5a85cee73be5c556af0e855b69af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1334 zcmbtUO>fgc5Tz+?VS8w05LAU$+fb>g1db}yi$eh?c2h%QN3Bx?iezoL zp#B+-{1pBIM{fK9E*#j8)NK^yL@pWS&AfTpnK!TAq!%f82HQBn8KO9V!%IjnFibN- ziBDoUEJh=oL7$A%D8`uzq2WN=aiM8g?hY%>Ns;+jgCQYdjO!@K>oVlg=YzvKPKt3} z528Gc(WO_UF+qXH_=Ccy9=%MlDw+Y1pfS!<A;@kY)wG-5kOU(;`c52(C&hA?(HLXd*)og0kx|8)U6a z4No`LE6O(5G(OsT*J^nZG>v{scP+=} z_@eRzJf6mnJ68L|<=|aq2W(A)Cyr}&yi?P5^$t&2QZ~TD>6CX)lOxN@CU`WBbexu~ zT2UZ-g(+31CWFi~S9eWbeQ#D*tAFM?T@K!#1>IBqoC#wfnC&Y?GiKv*ya|Zi?k#+3O~xFO7$u=fvalZFM40&6`e~HUy95of3*Rb>ZC(Ff*=`GatIX7@ z40*)ttqObpxK0>|190mCh!Y@h!0$>`mTDR+*0hpG(-@Ja38vw)5cqPhT>R(KPdDb7 O>pYPt^RB=Z0RI3XNv5#? diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/DistanceBucket.php b/metadata/Google/Ads/GoogleAds/V15/Enums/DistanceBucket.php deleted file mode 100644 index fd7671fee8fd335753c6d3462ae7290a5a8d76fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1467 zcmbW1Z%@-e7{Fy9=mDb?|7*xONf?QC8!$+UXf`%xgX@+663vpOYj35ov`u?8QN!2p z1NhR!FXBfr@hcebx!%SR!W;Ld*WZ5k+|zsRo|mtq(+EAoEfSE}qQt?2&zPPP9K|6G z?a;@AbT}k2w!^c?^GU2>+~{DlbA+1>3iJN6o1=_TrT%(x^Gkc-4JYvf@~Tbyv~fX|(x2 zwNjU}SsJUWHmRg^T7_>@D1RBN3uyM(JnT02jD4foP;RKRXy({F zFgquvG6Dad7)Ngmv%g&~x0RflM@WFmL0g%W-mC0=N}5n9GjLM|U`$J39gG>#13S2FW-I7ZJ-c?5ZC-Rc( z+R+X_vfp!)ty=9zZn?$#jmEl+mJMOV`i;i>&99Nr;~hzANxUazP3d>8kWJNfHd)ul kade#p(sdqbFwGO(SRLQV=h;=ixYyS<1ukaZIXXw^ACcdx7ytkO diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionField.php deleted file mode 100644 index 255e63ecca9f74223692ae058958c49df3789301..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1074 zcmbu8--^>f6vl0f|7HbC@4T>#bz!@pDU0mQ)GBG4hGK2Qx>b-sm?o3#K$;0N6G5df z$xZ}Y1hJclmH2*;8{aPt+)D*|)QBnw#z zH$@y14nwxhX-c>S;dBL;t4rui=aU34#e@NlFGd5`!|-(U-IH0m+K37(@aG zIZj9r6A}d>r;>2WvLL1;jV#j+fDCVm$Z<%Z>y6(Ni6bnr?;2&_j>JCH(Z{oM-_goL z0Kyat0jC0cs=-X@PY&`ktq#5esGhvoq%?#=VyRxoR0K4mlH!zpQ*)1Cj8j3B+U?x9 z$U>>iLS3-RLef8lrKZk3&Y9ZN2p)WTdUa}T{ybANW;peyM5uvt$+)Ld5lV=x7Ouba zPlu+fR--ZOmlhGa<#7ZhFUZa25ON|5o?Q#^2{0{7R; zcgxkMWxLUN1Ri*{>jdkIMZ4K~2<|TIv9oBm#(x{2rx4y7s`EDP);2ar^%|ci`{@#v z;w-TkPX-Ce488~Kb1Lfof}vT#k7moY?VruAYrwV?&Q=-fNP%q`uzwvAe1rZC_6__c s{ePOhvJ@dzj8LV6kP<@3C~fW;gRf4ii@zvAx~8TUIg?oC?Z6Ize+HFdZvX%Q diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderField.php deleted file mode 100644 index b933895caf041d54db08f452929a75ba60c03230..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1403 zcmbtU%Wl&^6r~BYFnzfOgji69QmLr~jw;lROMyx3q@y^tWjifJku1laq?TOUvK=Hq z{S-EAkoXDqdKEdLGz%)yW z#7`nP7!QXegMM39%@KFkX$!iT$I?uKz#gkBVWrnf$ZLodn+ zWxI(Tj$@w*hb+N}eNx+pB`3q~rU~uRF`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+OF@R2PJgkolZ*N&9z@; z)=uwl1vRx1mRH+!%U)yS1&lbxl@I;poFWlZ9$7+0?FhKB!OA=dOE-C`V}|*?x;3=z zpVh|D7{t=Hu!=B`v_ULmkl!nSZ!C1pL&ijfi~dxbMJgdWnUIo)5KTmgVVdrk2A>_2 V%6U=<@=ARhrE7o%Zh;mE{R4g|bM*iK diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ExperimentStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ExperimentStatus.php deleted file mode 100644 index 9a29ec0f6378273f0199a2f162d19c09defda10a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1084 zcmbVL&2G~`5GE=8+k%KJxK>N3)KmgT6)J}f1v!lyEE?NNlOk1-s*SU8S8~?Y?i%r< zJ_0Ynfdh}iqj2E?xUjoU-6~Zs_~Mz}nQvz2`{woA>@ow-V3#n$u_O~X{tV?Mff-L_ z8l?#w=hG?SFiK|`O$fIk>;%vc2GH$zgQqH0q&bfWf^nM032EYqXcnfnKJFhh3Cm}q zNj_zS(-~p%LP#ugVVe>FFgzn7!x4equ-zjPPq4(Ju0b0)6EQcnb+&&nay42DfGEL2 zK(|CaHK5=tfa=TgaY7@g3#s1@6&I9INpV8Is3#u6DNY1YAa`S@Ig2Ds8Po{@i%4S+ z7MMDACri~x4&ilsp`MbO(8yzwaE6mnhlq&NOr|_kp$Nr9mb29-jlGtss?q2aHi{Mz zy3^w!lsqT5i$lnX%sIOOxGJGcV=vy&c^l4TQdT`yv^B~=U3VA!T>-EDk1uPx$g>r@ zcFD7?c(x7C^&b`Rc###&S^ZlD)D|zSM__B{pN8&{ckH>H+C6IvtPlP7e(=GsRkY*! zPWwdNRJGH0d%>A`&W#6|RfQ_&p^aAazTAN_?)Ex}N+M4wcY_${e6=?#CxGQi4z&|nwS!)0Q diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ExperimentType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ExperimentType.php de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ceC8G3)E0E(Hw(>518dwh HxCY=~U)1P3 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedAttributeType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedAttributeType.php deleted file mode 100644 index 5c991a3391003da9377902c0633b76debe2f569e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1184 zcmbVL+iuf95GCn-dcjzN$7%_cno8iPf+FNnkkh!4MQTT_QzR5A+SnV{l51PuHBv!+ z<4bttQ}_nHpig`Pdr90%QD4Z5$CEQ>#&hPp|CnFq@B(#7N(#(Kh{o55T@sWR8Owq! zLE~~VAq5Jut2|CfVIb7;kn8!#?l}H)UP`mF2#ATIEQ=D-!Xa&`P()w%4_YKGuV`yR zNI1fb74f)aWW=s>V#p={DZU~!#{ogze*2U#9AbutUCB4JLOKmabg_Rhv<2TGK#*Wc z(Fy0ZX0$$Mh3|m)FE7VQ93aXtG!m9O(Ompv0b`@;# z1U1!&ra3p`5n@G2?l(uMAgnCXJA#{vN)GnwLp&YB3d5@F30JOJ0Y%?k__GM_{#P=6 zTU8odVxtn<;9?t6?8c8eJe?Cp=+?Nc!IQav^vAG1aL@bpv2)_s9qp064l4uqlk0tU zwVJ*LOOETmeWTTNfaQ)iX!mSwLB!|&nd5e~MS*X7UeC5%ZAo8&g~3@*Th=#Wtz-H2 z$ahX{ZAIS#kUXQFbM9-aqN^fPi8YZ>j4A=T1{+gam08y}V3l*Lw+&r~t*U{_ZHj68 zXU?&$ZMFZ_puvqZUC~3^YCoG>h&-x(?aT3W&rz1(G%~UxYDFZKwwakMkLg36JCtJl ztS@ve>sNidD-C6E8yPAT5jT_}grUD@fT6V9J-Yad9i6$Jf_KsOj9zA bm*s%3cdLtgsSf$>Y9Bm#2~@ZnxB>VF6zgt_ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatus.php deleted file mode 100644 index ebb1cf13bb4cd4a018f1c0e4f6fb053cebe102bf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1106 zcmb_bO>5gg6s&D%%cjuad&9;J#DP{Olw8(ziyVI-N^P}HQYZqmmY$Rac~{l00%`G~ zf2GI%l>U@nd+njSD_aQ!=Tu$vSk2Ci-kbOOZFZTV=XeYpa;hN0i)*Yd0cW{TA`~fJ z6mbkW4#hHKDdY~ugDIX&&+u^Io$c$ZQWSXz1SdiyDRgKgJ7sCAtK*Xn@M0-DF+enD z3YPOP1x=Z{p3_W=T+wtc6;*|FtRzC5ES5s52c2?mY7)u^bKMCWW^$7AvUV|b-?7Dai*9y^;Q3W563i>pc(IC z1PG4I7JbyR=Bi9gjV%@&ay)W1NF3a(+Xws;I27mv7kGh8snd>PXMDT>*{mA^Oum zqyIC^=3dF;=qNZ$LM$A+Tyy@vMh9hsSKD+tiDdr{4&Xy<$~^M|M2$QurJA2fH+ zqw~qT$@J4?x7K`u9=pE(aeARY)eUyw&8mY&|8EVobiCIFw|VWi?zLct?bkk^uKzd@ zDdmYH@}!dhx6$6LMaJZ|E$P~}{HQm^uKTmTH@2a7bkv=)G?fm$V?+OI0|@L|+}aDf v80BXCuD8mogy_qJR6K-eB0?aa?}i!xw0Y1$e^3oLOfv_j|~qXKY* diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReason.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReason.php deleted file mode 100644 index 546a9c5d03fd363b32bacb50823f114256f74098..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1853 zcmb_d-EP}97+umeU72mwxVsL^ST}8)u9X*by-}78ip4m@6iJmRcO486icGr#6iJih z0^N|8>1AJF@6adc<*xSU|h?gkN&x$1FrH+v0BFCi&TZG;brByyDV{V{vo{v-BiH222E#>Ov z-jfc`CTCS=#QBgVH9up&O`HFHn;xV09QH;Z-LFw2|U~-M+95iM{pC|2%VoD_nD)u!4}x^eA2~?nuj)KKK3vr zl=Lw>#-@e+KwF3RL2CuZ!a>(39wn}$U4wVP*ULEKbX_MP0mTkwzWXfDK86p#eFa&n zWXEQ})Yqq>X-k=c_Bz}Gx7Al6KlD7;r`Te)>GVRghqVo;g9poWf?=w8x)=J~!|a3v zCnoJ4Yd2sAe7gd#1h^-z+=yv2ihrTnC-5O?Uo2RbE$+RTmyP?TL$#amd+^oEs=8kE%qzwV}!!8Yd;ZNWYPaL6OW`*b4r2CxpiE9gmmZrhM4!C<+ zf!w2nFd;I;f%b)*|7Ad#wXRQuPrZ;>*d~rZ!&T@@=lcXMEL9lD3WT`gRtLR{MYN(dZzhieXG}myDlPKS4+7P z;jTB~{&of!H1WTb|IGuSUVy*XTdLGBM6qGa`xu63WEf4S(~U;pWh|HCF M+W-~r9GnC29??NTb^rhX diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatus.php deleted file mode 100644 index a2b72a4ae6582134ba7d25828f0e9d27092b2acb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1025 zcmbVK-HOvd7_}`Z%wD(_^l};N!gfJZ7TF7@R%y3sDeI=i{ShQkrpcG=KspmIx&8AuP~;S>kcE9?&^SI^C;5`~O_;8ch-gAR>Vrz~yt<>a&jyjZGE0uaxc zhUHv=o-0jtp*+We5T{E}IgJ31XM+pSG^Uz{V+R=aW3?`Ab#rnW`WCQ@P?S-n@W=p9 z4DKc9ONWZSBW#|$SY#~1mdU&hnVK`sG@}{&X0F-83C$E3l>YA5wwqS ziD`Qeb79uf!yA1wyD77!aKbf6PP1?bDv~VMLe5MpAt~r;zxGS}xa(Lg8cT4ylt{>y z#vazPfcxYaOVEYncL1vj$_ab*j;&?%ocU*y(ZnC_KWOfuN7uo5F#Qzl*X+R$`hySV zPu(6q`WMq1b7&0y)= z-Ccjw8{>ZeXZ>L80_&NWdSz)V6Ijm$_V=bCbdkQ7X&34;)qm=(a+DA=Oh|=8hyfzR dAuS#{fv=A$M_-mfxl6^)NV&$cZ-rI}{R11LPRsxR diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterType.php deleted file mode 100644 index 9dce26b32df981c453e45e6d1241b4aeb335d928..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1074 zcmb`G-HOvd6vu5B6=yFjy%l!Hy0Bf)ltuPtYIo^JT8h{f+EtN2m?kILfpjL!OoUbX zGG6*9zJTxGBY5Rx(quDv)%{LG^Cn(BP;H8L$wL>=;Qf?=jP&V zgo1=Bg@?vuY&_&v2oc=bog(EUSaJozC+8ncaC~ZYJb3@dls*$x=Jv8DApQh$aXyPv!LMXlQVTR{y2@TQGj9rgC%WA8bueCcndibXyZ(Z<9sNi3VASpYtR9Ul)sA7=DZ)H5R6CaHU)u!Fa(@qeOMZd=pK7BhCBzgH jQtA+5gb1-p%O|$Mx2NT?Ul$DB0ke}fn^@$n(HfzD8x&?N diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemStatus.php deleted file mode 100644 index 139663aced84d947630e6b05f9e3eb0c88806056..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1005 zcmbVKU5nE|6tyiV%z`fUeYw_!?SiH((wFI0X}4)Dx@mDg1SytjGRY34Ght>TsPxbH z=!^fupCb4loSC%QElXd_OYThWJ?G?}bNVK`$3oN2n8 zD@}B+JjZ|#Crhd_5>gmV`{z`Xh-fk!Ij~tTQtQ%I*C*|nZ^1eUg(*=Ah6Z$OFfSY= z`i{UnS-wbF2$sgY4w;%W&NL$_`)2;H3o%I*H4yiE(F@CEE_HF5&Bg_?f){Xeo%~g##yiQ*fSn`&f~^s zRNr>Qy484#9&g{)pP;>~;9}~ZjfZ1@u>YXGhaO!8?}Ew4V83Dye$eZ`H(#pu@WDTy zT$@9!|F?n~CWve9T{8Mlx9OZu)5@o_wfaP)geRVmNh_h;#c-3@jHz7#?zmt4QLT-7 zy`R;CkqfA2V(As7txP~Y7tr6EhM9}-oeaAW7b*TzZ4{#zn_-Mg9E=SR#tv!m&|Em zUgU8M5{F`$u@t0-aesoxlNlcL{n-msszfeBAUF{sNufm})ha?8-JYJcfagoqiUFcI z)3BUtDihH22yR&jo@;~GUiZSj{#+4 zL!<2*>6ugRJ7M%4Ve@49B4r^~nribpVrtGf(~PF3LJxD}oQIkTj%~q& zhtNF1g{I9t%7i&i2X984+IyK>1wPjxIZcB;s8F&@3pq8ZgqWSnE88#4leX(>)mV(1 z#fXGFn6ZPk%;A1>j3ww?@;iZ5Ddh%xeZkgabfc*3Iy440%S7Av82#Eq=l|ne{jjL^ zjN4x6yJvj&obQbwK+m@MV;yX~Lr=H;t3N>p*W-`V!KFX+2mRWk`T=@;J$^r)d>+>- zb%ge>CO!YdpjPeut)PZsbKQE^6usx$+Bnaql`og;6%vtBo_IngtpvCObAxim)Go5y zZqFapy-~OOvwApk$a)4;uLx~qko6q0zc&eigZduT4(o#JKh;K2N{A^Yq|_nA2od6x b7W;0%H^-%+uL@4?px8;2ODytMXob)}H+WLS diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatus.php deleted file mode 100644 index 5356c5e2d79336996544b9ce50fe370692970b1d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1043 zcmbtS(P|Sx6g3GbOdl-42Yo4HEHnk(P^2%DMoF4Y2-;1sX$1*{$?o0l$Yy4lnH5y> zGd}ty;-~oP4>&WMYzs}E+?TyGbMLw5-gD00W;Ypnfrr3BQVkJae8u_(a3+Nop-Ax} zk7JNH6w8dIAU%xxV;qd9*zb>~&rPWkxeS5eM2IAX7L8P^2yOJ`h@=kdbif2xh5ln_%)NQpy; g0V2d9Egm|8ua8P~Ulyjhb;wS8xx^xGg;ogt1BatlQUCw| diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetType.php deleted file mode 100644 index 05f2b0e3a821099bf5d73dbc941c3b2e04060c96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1048 zcmbVKU5nE|6t%7RF{@bepl{1q7q$zUvMl>DwMzOGf@~6MS3x3WnoP0-X(mi2$}0Uc zKKfI9^Kba(KX7K!W*16d%u8>YbI(2Zp7Z)`ewBk4&?Xt-Sda)Vuc5diFy~CLkfm^0 z#xdbAWUHK}gqskKJ?MIKI2k+h=d!h6B@YRL31dl0dN?Y2RjH~kr{_JAm8+r`6A~?` zAghJIJRxEsu5)7QF#u$EMT#7U1ls=af(RU8fdgAJ23AyTN>zP0Jr5>|u@69);-Y|4 z$?Qntx#pcqTJRk}`Q+s?r6DW?7V_ta77LnDL2*jI$wdb+#%Vz$%`P@Bvrtf$LDk@8 zA?cpLic?{aawZQmfLnpSx|O_B;ADdE45z`E6d|X%VBD8bgyg>Uh1EaZlfIs+*k}y9 zl|+PgG!CHPCAmEuLQX`8mQ(TgWoNH{@*p@u8>@(y3S`{?0zwxfP+i-y+0W_Q)e=6-!Trr{Y&?q>wR?F4dW4b zFtRRu%dy>dQ@vT^g+22w{dUWE3?7bV&U`X+Jhy#!__qN%GOrs^`}7T;?P}0Y`i)Pc z&1wltah8~jC%uGZI;`7p=d{?D^}gQ!N3&&H*3agltz&G;@S0VrDj8!_$N1M45a^)a xO1h4EmGwW(PSuK#Y(}W&K}ZrIq?wlYw7|3D+UA#4dTye!H)k4H;nrXcz(21zRL%eZ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatus.php deleted file mode 100644 index 3ca479d446ed4230805d516d90560165cbaeffab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1078 zcmbtTU2oGc6s0X6!h4|V6Av(%GHIOzsV1}+mjdn5MiG!k+Eye~RJn>N&9|NNOwmAnuUK``Y!%}5`|vR{TKx;j4T6IQHcKOrPu zQbpFwE1c07E6UkYDy$0W*kS-Mye2Zo5rJMf{zw$oD7^42?_w0oZD^wT@yTLhcn1JP z8I}@GHNUUv=N0>zB?sRD)K6ZlG8#csP`?hSTvA3A)!=XX(nFZwOcG6Y8=Dj?GGd`g zn6ZfTj$p}Yum?HUO&Y?T%+T~r_iW)aMFhjy!X+{iG*?`N8j4U#RMlR>mlftEy8y$X*3Bbq~Ss7I^o+6YT7l z433_>Q+dGA9&oG&x*PDMZcJvF-7nyA-T%%buy+xhg_Bc%>QCJEoz5P3a1p!@W}kv~ z!yLj%;QE2rZkmH1%ts%5x83SI1oz7D?)Yy5bhVGS(&|)>pVn!xvke=cPq)`hd4^f) zaFO;?!mNpR*3YS|+k}Db#gAso8;yQ8_dRQGN1NIyLlbFxJJ#O6c7TOlfEycNSD@U1 rKh18LijYo5sNz9L6Cq@oR`;#ISBKT$UzC2jHczedEU?6Fzy^SS$IN0l diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatus.php deleted file mode 100644 index 510d9ada6a08e510be6407dd8f86b791f4ca890b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1005 zcmbVKU279T6g3GbOhHS0FV|RT3c8_4UZ#zbG@BS~H^F`g5)6~w+3nzFW|^54RPtwh z^u_<-PZ9hN&des;hLRWeW$(=1d(PQ=&dHnXCPU9*NI8{6(+K8YLEliwq|hQ1Da`XY zrV>K2$XH6H2hblwFunx8Ke~KoMwQ5ANHHWrBq?o?NVSU6R$q?VEz0wSYQ>aBvy}1A zGo^{nmFE}`;$%TpMnVe1N$;F$5)niVcX^)1*jLSagjf`I`&Gnf|+ z5`9Nto-CiIECfqqUi(bV7-yQ1lzlV**MXR%iW-Rfy>ZS%%>)NKFyd-pS8 z_R)d0xQShnS_(9WSJInVp=gys4f?4Z<>e4j@6>E7@CDdjPGgefR;JE zOAa8Z&LzJESe8&u*vr>!C8HZfCF{U=)+`$>?*aN%L+$@EtG-u^dB$0<^w={Vd(Pv= zCsf~b#JbgZiym*@)}NrAtKeedpNxQX|@SP015Em)_Q*9KZ7@J{?OB{?15XKH^{?G}0 Xbx@l4qR7T=5VoesH5PqKv_$A1X_iKs diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionType.php deleted file mode 100644 index fe94a17fc99e93b781f6d7754b0aa20cfb7f7a75..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1095 zcmbu8L5tHs6vu5V3bTl{ClBi~)`jhYrYy@|rdCbcGz8rw*sO{a!Zev=2hz!qOoUbX z5&RM!{V0AE&w^JclQz4s+ByWE2KkxnD%h&vpgJ;krjAU4l5U#GExFnEgsYrt~ zfvX~lNCty+&1ph14Z@iNZO4Pg%<`Vfqj_3n0YNZM(>NhR9OlC+ETb$ZoU+&tGAc+$Q|5~+PBc{v0EX8j=QtqHbSLLT;1CPEG!=KLhxs-vqYo!%OQYnD z00WMHIgzm2xlzFa zA*I6dfWrbZIEEFo%su3(Y|a1P>YnA;zVXR3>_r)Q`g_yxEZgkf?L7hyW((bSb<^{Bzy9tNs}73+xk4+-aAec%wjFg;$cjfa`kQ(IL(_@W2Bn%qunue{b&2YRDRc_ z%e5*jBk6Zd`Tf@}VW~Fa#!9H2sFvb)yI&neNFGM0<{%_N2r1I)o)UO^R6F5$Ww2{E OHCj<6R(Tt+0pK52>S-bX diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatus.php deleted file mode 100644 index e3cd658133c69990d476015715031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%7{`hGI*B`4t+;pp1fFO zECNemUPnybFwQh18T)2_s|N|m6gA_Idy|4knh6eeV9F!fK7kU`_8#TJtf2=RVKciK zvz2hdHIR9E}7H|>+IW3^~3fp#eo<3}2Mpk+ZHk^@Mp3(2wfEJy)o|hf7K7iE{mQ? zpjVc*GFkLo7JqLVLYLMDadmku1N*n$Dn~Ik!x&dM7#kpr9n#{d6ZrPH^6XU^g{|*9 NL*p9Dz7<*_^bZ|pJQe@| diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderField.php deleted file mode 100644 index d47543e6c0d288b9cf73a0a0154a6354e44b436e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1379 zcmbtU&2G~`5T*^Zbo=L;QV^hO36+{k;HW~qxCG?Hj#)LaE!zbNMY0@w<5+TS%XW|e z^(hc9z>y=5!K3g1oY`GFKcel4TrxZR%{R02dFIudbew``P{lFM+yeV>_z4zc4AU$r z5-*A1a55U<40_2$8b&x1Ae42e={8hkWIrXLc{0g7EW#j3f(SQVKW~;MwLTu7G;ut+ z$eW`m4910%My`j)N#x_q8HG6V1(peb*uB7cN-m*lwEMVleYbE2DkB|8eqNc>dUt#> zP$=ms0AA$gIqWiWW6s^B)Zhz%}V2uMVQ2p2I#Se8%MC@q}YQrA^mB=X^{qP8EMx5#Rbk{HyX$|_p&f8lFT4bQ4DY~ zYc%yVj!s!t$`+1bqbyMruhiIrMK-~U$sx>eG0EaN!R3sK753tFSd}69{w!;kXxNwm zY2HKdZ3VRcOFVwR3>S#v!c2RCXfH7B>pyGY(e)Bh8S7tbVDI{CejBWxYnGvOP!}mO zcZ**KtLNI8roY#?C7uUcvSQgtlWe4G4wAWLeiN+eCQ=bQ*7!ZZcY8>EYdZwlF_A%$ z+-*u+!8EC_aCi7!z%6ny?+VX>jVjzQQAgoc`FmiytDAkvwiVeaop<^BV5fpvQctPe zYy3m7JI5~E09qyLORD0Wn>}uw-vXdZUeTjRi`!s)?A+Jeh!8UOCauOcrOp}BR2H~J ztClp`)RF8+hT-&(cE)Y8ls|V{sfMLAo`E?@*Gd$Fg-(p^fC*f0jU< zOnoKjP1?4fl*;A*4j-EaW9dVu`Zj_ja^pZqvY;8@m<|1OPo!af)7m&?AJF&Znkq>@ zmiJY*4g|6UgwmuISqB1J2fwC(0b3Xg8-uNka%cQru9u;rNPf6vk}}3bUZ4;Duf+V_n!TXv!jcGqpU;67!Mt6J5y{9t?4T{nk6~+f#5Jn!Wi0gm9>jfRX67sZD9F2YX=;@ z=D_^T!l&s1Zh(n}*rZ_SO$af%hAgE%;IZ4k1VL9+P;ab7z1}L@m8zPbUwEbx?I7gG zG|TX4FFv5Dsidb;8GT1sK54#;BOhmi3i)#qWs8VKBBF8hO&+(40~%)_mG1WjIrBx7 zFsud~=0ocY7n-W~Bu(V?bn)J!t8Pr*mS-^moYB}DLgw=*6$y7`D@}AW{t+S5a zs??$Yw+f4d-1FGQg6D8|ImR4B&e^TNwv^Jw-hPO7HhQa7xpgEXY?X~_?I8_&?u%$~UBz#3WRu>PoVgr3aoPquSq z*DH;u2w9izXLB;K9J^js?{jNtI*YkwUe#;;zZKM!%@ z%0eUIVLJq-f!#BnM%hEicl7ChRBPj2?`QRRtWh>3z(!H3N}_CNlz;6TJPrFD+BNP4 t?|-VzVw4a$Oh~Cih!i43D=i;ugYQnuoZl4q+_Lf@Xu7fJ+oCN({{TpzTY&%o diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevel.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevel.php deleted file mode 100644 index df95ec26e3a3a25fd94726fe497e2f5e3076e976..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1042 zcmbVK(TdYR6t%6W%nH_mJ}zTj*e+>`{1Bh~1ZO5~cA@meyyRwb?zv~~IWJ%57ddzeT|x=Rl0krO|#1WP_a1CEzM`B&->cjDAFw%TI0KyCl0mmEO zA$UJy(qP$U_vF~6lZ}$M99-zGVUuVLJ5)8di6=?sAr~Xwls#FQX)cI z8v9W4g4`SqAt$on^qOE*Q5j*+U!`jqb`(`p$I7`*1=Mp7!S4om@xPX}_RCI7S!`8i zTgq(9nBD#g9&P!eZEJr954V1_9)P`>_ud~3C*#S;Y2Iq>fx9#BjW_-1HEa5>?abYG z)0scFoo2mtAKcpH9_6PI#0!}l=sZ_f7BbUZU3zAyC%Yx3a(X_x>6CgOoV@J0D%eljg*_1mpT7a qZ)0Q>{~LsFgq diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnit.php b/metadata/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnit.php deleted file mode 100644 index 454d03f7b659782758803df61a49a14f6e52bf46..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1047 zcmbu7-)_?|6vk;g7cXSRbh zP+x{i9tH6v-0}iAPMb|ydqr+?l$`UO&;EX=?~jaDD^T6@iK1iu*i< z^E3>JfIeR&G$z7^us4G4Xab$yaPm@*N}dXzAQ*8T#iW4)*~rVR`g(lQAS_+TMkvU2 zN|=8$^Kmj$bU|h*qslgm0AP4QWP*JH2jk8KQ8>T~djq5CwF9{-v+C3FiRWaRO#u8D zO9}gH?JiCxT6wC4!FK@llce*Q`cNvY^y`4i8Pz{2j_Egj*cJ?NEQuDn-y5dPSCliD z4UCvi>PIlw%z6(Jt}mwr*A~awed)XMhD;H`aP0Mn^aV{67h~OuP()O5%h{LuQPXVA z)MyCnxkZHTd2B%?QgU}Wgo3D4uv>v;A!UrcIio8Z?I0+&_H}^uqA}Zh2!2<<>Hj2W z?dQ|BPTMYWw{`Be$-TzF^G)$&0oFc%XPf?6Pr=^Q{Wx~I!~W3eRUcS;V0Y@CyQ53D zTC#RQrPuykEnAPl&ZXm=S1Z;N@bF^fPTp5{I)6)`reR%q*=DQrV$)(1;<)ssyE;?E zW6UC(i>MJ1W=LJLolv`t}=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{zmv* zVUZ9;Suz(yDnTPfIdkkP02p2onc;}QNicX%6ppdN;l!$j{a9{FQ++(Y2wkJv1t3bX zl-fU^ZN;y4+Tc5Y`pNP|N+T#0R{C{9<(x9AC{F1&ec~Qm;#3l?b-#C+Giwr>0iQ*r zeFh6n(|eL}eM3FCbs3mT(-#&_nIeMWG#n8b37RP`0^N#`K7M)C=1cpmYquITx`ge* zB0~2(_Mj3uxw{-fK~yf-PGDV1Sz|9R>BdGsj?1lMonpIeG<#3M?>%t&fAKYsig`ze z?v(L6I)2B--^#$Vii}K@Ma+-uhxx{dnaZw<6GwHr58#s-HKdu^6M?elPRu!N_WB@P#fMwwY= zx148GR$qiqyv!fYyiqce?X2;U}YugZ7-tPc!i7$}5JFaI@z5H4by^1fqTpu-OC@QxvFKZaH30trp}=3m diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/GeoTargetingType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/GeoTargetingType.php deleted file mode 100644 index 407f426e374b53e82531a693b62f7a1e6309995c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1039 zcmbV~(TdYR6ozdJ3bPl6Qo*ZbtP9%(O<80SrdCPYv;;K?yIBPZ)M+x!4x}?-G7(ql z%XsOd2)>9nzJilUn_ar}#@_TWIp;tB%>TW5lU-%tDVz~T1ePR*i)$#a2+RbRJmM)_ z6w4(MFygC>rbL(!PCV#(0kkJh@I;N~ybuvVFyTB&Ngu~~zbeb>%jsF4uwtdo2%k$V z5+W%}=JGltrrrSn!z+?!I3jT7kKPlBV=Qqv({iB|=bN&uKAfI~b}2UiAWCtbE8{%a zss>6Fd;+`Ib~E*oYHUVjzhS_X-<^L-QH!vB1t)e<$%W`(mR2b zX4!j`arGucxV7h(&!nCxbeJT9;WV6(JQ6gMT==RLA$8&Uam$n5$v|%{)#wuTDvJo+ z@i>H16y)}D2nCUaU^fEmT1p#x{+e!VSaDo$ovPe=bz`~r82oO5m;V`9`>+}`Rla7O zw5gIdb<*9hptGAwnOXNUFm}(|55d8ud*Rz-XX@A!<6ip!Jh*h88`$UeMPM}Bk3r|1H?{)DbIUKjI=0=hZL~&z8=$K|-MHFkaP(-`hECCMd>U_V zmhcp_#N;AT*fNdjmg$V<`w$=K>;GuBW|sA{c{tMmn+jXAD$7a%Y-)giZ5u+3_$|gY uQ}8p^WZASvH(MHKB`R)?|Yb2#PJc0!1>iT-Zil zW|zC)OYBj0v1gbhCvHi}&3xk{an5&+&i8x!KD|!C3+NF}BvvGX%db#f6PQY&L?{?s z=5b6U48gB8s9f?}fpsZm2YdC7ZpLt>=#uM0>Gsy(^mz#Vyhz1I6%0Zq;0rvJWCde3$`TDOAAm;UAniC~x~j*v+^A>7iqB{!wn zK9D>1oj>t&_tS3$8!36n=rQ|-$B{3T)_ON+AK;D(!~gsItXbY egsjr?p&jt`NonQFf{%w+HQx@5msa@$uT8cC+ZK@!JGEFAgfiww|iLgrl zfIq`We~Ldv@X>eYqs=aC`($2nnK}2|GxwhR?tOZdf>&@rV!|*dK3rWxennu)5}tTT z1Xp z1~p9F^(A+AOAWpOD84jbMbv{C$6WkQXtty=^RV5n@ zU|mZ@=#It~Yqu@-@6`)|#s;Arm5CU$q&AKE?Ro_Pcw%$*O;_>*Il z%*Wv2)Siv!)2?ll%_rbd+jXbI&fK+)ibT%r!N_)8oq{F8acCthY=k6MX5KA8O0z@z&{Tc-QLYTy?VsgiUCI&$wu-8j zu(_pd{%Z$Vs71K732GJeF8nUnbSgrE2BCrnAwh(YVp>&|z_+J`1zu}s-Pq`$2Nh7` IHedt5KdM(?Hvj+t diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataType.php deleted file mode 100644 index 11718799f75498b8a396e4321cf8bef2655c83ba..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1167 zcmbtT!EVz)5G84wwp$R!2M!=rOQ_UT0!O8k!?pB8LXo14y-8PcZOdLG z71W>M$TuKy=NI?`?%dg3CvK&-Cw%eq`pui!nR#zdlCuOnhg}-clyDlr=>_Cx6eelR zV?PezG@s3A3jO#zVIfTo2rUQNjtjBXbDxROEY4G(A~=uZc}SZi$eIO|==1(zlScXZ z@@ygwCo@LFU=k2cCj26yhROv%M9yiJ5TC;Cpw*|GNXEFUWXEQZEucgn_7BHc${qpW zha}5jK@9h;c?j_C?(I7|uwTQ6Y7cJIf=V zvp9k>z=?d?*n@?p=uUSxTwGUcO_CGRz<-vv$N38zoWZ-332a z!O4G)Pv0&C3^8D%fD(!M8*2Xb-xcuW_94kZ)_+vM-4at-P5BtvF-J>HGLDTbxs}A)oK#< zZ1>=mw!VOGUTYgtt&c||vx~J&{SkOD#3RQWw(-O^`&a`~cH|Cwc30by*b@>W?tbfU z1=NK_7B|1E39YBMUs3JNpz^6*G)}05B$^v>I&aQtr0lWuRKl{mEOw+C{jIvvHO=qU z?IM*SEMb&c4PhKZ_B;EvB#f1{u6awDt8mw!YP|?WNXQ^m>L4V95K>Chnkw*Mw_K_h T#jaj0=AB!uhz0KwTmtY9Vs~v^ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatus.php deleted file mode 100644 index 002cdeb22cec3dc89d480b8be356017ca1caca98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1049 zcmbtS-D(p-7&Qr0nF^MG7xtozvCtHBLy_K0jFO*iSfoiXZ3GE~$?jx3Fqv6qW(z8L z883Yl@kzY)0i2&?TWE6S-t4!t=R4n-@0@oZvYQONf_=h?#F`{<{uSyQ0y8PJhy{c5 ze6b)B#$uUKMq~hCZwLp&D;V~otCyx#iCo46!BmKpkp@mw!Afab~aIioSO)6DCbsu|@}Q_Sc$bKMqPV5W#+dWc=*Jl0fjXd8w+CiPS3 zIW6`$6J|XvxY0PW8#CLQMqCrgF`M>?iY3jokRt;{C?&esvpuPwHr-UqMi;Q|B_i}d zV+(4Tll#LVltkx}-w~_|DktpCd%BjJ!2b1MJPNzfMHKc99#!|jmAFROfK(RA=I-^rh?XVMrL}X&_|UNC|gQ-K0CC zYFF5s?%qGjm43VZvwY+y1tz+IFKuN)9Jmnw+5o05=J#^$g6@<4r(E-`2$^Pt3LbzUKtKJt-W1?SpfdlARHAK#yC26#)MLvBX%* diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatus.php deleted file mode 100644 index 23cc9a6d51d78f94a30c6ba0fb848284ba81e62b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1110 zcmbtT(TdYR6t%4=%syeF9?FMTaXuE4S_kMf`&AO zt75$-42E=@Cn;ejg!UAA(>Zi(cm6`Qa$2yEAQ)2`r=*J`-YrX2eLlbFlC0SB?uH7I z2AFdq0$#*1;Ub|~zy%fsH?HI*Pdm zK$uEic%>99B`~Y_XPO>-15iGBu}YH=DoOb|NqCTCiAZpoe3gH^57#*5MAF^Iu8S;G zcA;vRW+CaE!ID#9PjV^;)rU7meKk8dx22m2!ZMsLZNfvA74bn zs$xsluv1z@=$^+u6s#b3#UW%w6fC}2J!PH4;f3Jbo;a#bnwi$SK7|}ciM+#aV1p7I$Nk>4@K)MxO9Pm(tTy`cZF;E$e5!HP+!b zW#rAWRFw?Bsl)&42C&rUapyktfs_~WyWTEa5t7XaRXhkuB7`*4>XA11=ClgMt1@f1 P!8({q4J>gxumj*9vx#po diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionType.php deleted file mode 100644 index 31fcc6f8093fd6dd730dfbce6f419da43fe88b29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1071 zcmbtTL5mYH7`0tc$Rc(NdQezmUDz(@ly%ulYFFCMv=-NCv8{p>YC4ln1Jh(kGQukL z$9VLo_$xen_imDDXBW0TIhXm!yzhN4-+S}wb+SmnGuS1J2&_m5XID@y2uuW5Jm4{$ zrSmxvFyPCC#zZ&}x_#*PN6>S7qo=x6@>B!_!HDxHCN&(&T2`9s%jtQIuyiSF3$92! z4fTwvBrypTeq9MiA*!VNgbu_T)6Hg=veD-@cB zJ_|_o1ZJEDdz5g!pa$HC9GIQyeNB2y5y5agafu8BO%xXc4Miv-D&Mp@sh-sBRKrH+ zu$oCk=$6I?R3areheIfcN(H+nSmjh!*ozCgmeCBud}>FVSj~ZE?lJhi2QL24z4Bq! z?`Y4R+fgc5TyzI+J3oiD?muq5-K&7z)^*Iaa)iRJ7JZ?wrqz|6v=YzO=8KlE!#l? z)IY`PucHL3OP_@u8; z%u@i|z)4g1mSXF3=q5!5UjQUeJQ)PO3)9TW$m_sQZ9nug-wFKBTH(=ps3S zOg+`3Q&yFt`9oOETNK4xJ)XlXnc$nnAxv;KNy0h6bpgd1d->X*wjp_5QME}JtQLW^ z?jiWT1kV14I(|RT76{!!LA*eS7Z~xCUuE#*PJ$?hl^(vU2rr5TspI&H$VB*QjHYif(z;2(jVhNfD|d#fjP?6z`w zp&7EtZPJ2Ga)S%4{Yb(U9FBtBh1b599XvusnI5Atl&1iy`;*9hGbjPb-RPq zHpkO`P1HplQo9%zB87G+0@BQR>@G!^c}z<)6gud=`kw_*A!;z?`aat0PZ_J}zgx-H zL|^#OnEo}RC~(4&5GAA92!~7zX7UmH>3wQ)%6_e{rE*J>zLoY{OeO>(4nl5Hi^zn) zWa8&6pwEQlhLSKT$+hHnsgkFPB1sm-0!I`HkSH>w!4hlm)nTziFY?u#@8P{m%mVYc IYj6#~UtcAt@Bjb+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucket.php b/metadata/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucket.php deleted file mode 100644 index 282bd4655a9467ad6abce1cdc89b5e2a7cdf6ad5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1068 zcmbVL+iuf95G4s0X)7RDz+<(9N=+qjRG|uKLqJL6rV+(9Z9)aIWNqw?v%>LO>opRW z`~_dYBcH;j^o3twcb&LZs=VMAk47_R&dxdW>P>qfRf@=d1#5l{~ zv4V9KYEOfL?*Pg#%_lJpU?#ATza5(SG@*jxn0}LQ?7%6GGa^B**G}^!5R@fQH8@E? zntQOoRJA)PlRN3a6+Kt2Nv_BnCW7z;$6lXg0jH^8+?AyWMMRX#Rhi~qTTfMJbPAgV zMTD+#>_EYDa&Bi3rc(^W$60PwA)YtRIeXupQ&s^(pcr>*7^&7?(xHGoj+RnLMuNV)& z-4o~BIve?8d-#5A)vKyunHs5vnsE;RX-B_E)^8e*f#KLEAAPrbIj5sPsWnT$uRh$Py>E5oNW+vNYY-p#LSZP4xhu5J&s zyG`k7vj|lr-EC@j|5+7y+W%J$Kwm&{0vFXr(Tb34MySL=NCF|GktVk_!56!w{?7_q RU3zGv0d-+fw*U(O{s9W+So{D0 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/HotelRateType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/HotelRateType.php deleted file mode 100644 index d39b0e9bd3a0730cbd83f99cb6a44bbc460d047d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1046 zcmbVKTW-@p6eS4{Y04vb0o4#HHI=|o1^t;2kn?D;2#EVpDq^lG>g?*9`js*$f;sS~lfhlK#1uTY( ze7PhX25gu59f)Qg;Od2@M8m3g$m(#NbN%D2pSTRB3 zx!N%o7b&sz0ss=cCRvID0{dS3JrOv>0{eZ<d=b+CW&#WOI-=Q}CR9)y)35UHT5yTuj7Wx?*kzssg0cjvfl(5W`Uy0g z3VW0?d5sp_YV*{A<45jjt;2rdgME$sPgx{=|8VX^gGI#w@$YVR@lT>&ru$13a4Oxe;_yD-?6 z2HV=;+V>K8ykm&+s+NNXJ5B2mIG7GUdcBT&?)JLXTh;-%Hyyqkjy?^mCG*vpIqtw| z4|>(IYIxK3!0pV(&ZJkZSQdErVd@O@wCUZps^Gpic4rb`I(OQCOQ0qryAiribKBa{ zrY-eKpF5jBjaZD6$YwlhL?qFH-9|g5*}kMV^*Mf&D}BfLSw8IRDBCi?wkcI5qipLa z|Jnk49rkN!*Ks#_|5L7+QH10$LIn>(k_aKqw79DUzBn%Yer95Hm6^SP(?El}1eXB( E1GaTf)c^nh diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatus.php deleted file mode 100644 index 543ab9f52b4d738e66a57f74f061a3f44856ea17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1129 zcmbtT-EPw`6sFzyk%wRkLTDFErc7EVL8=Mu#-%{oW+h^zRoiV6id4C&n_0^2$aatb z?FqQ%1-L}wMR*jRfJv-}%n*Ip6p4b#|74r?5vD5m=EKoPL7pjKEBA z#bchrX+ED50b_oi(Ub@m!fqdi{W0{r!T5uW>`un@lv;4v=fDh34=oCqB7)&G>Jk|Xnkg;@8j4UtR5@<*r@q&; zRSg@R!+OyoLf3k1K_zl>wK#-=s9dm1f{T*MHun4#U9{oNW@Xhwy~%nBGno;PJ{unSIv2R>0OugmWKk9EYQU-w6%_zq@(E*#NhX z!*^l-G~BE>kHCYWKk|ns-ZCYM;cXiw!p)o-|2^);3z20Lf`M|qc!Iq0Lvr& zz3$uvcRF6!@lE2*_MZx+dboYYN-^uGWfFgmf}OB@aTH f2qDWfy=5DGv0F;zS)ss7xvkWy1s1pqZ~?$y@%nJs diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderField.php deleted file mode 100644 index 2e5a5f8a1eb792e9db153ea86c60b2b652f99987..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1035 zcmbu7--;746vk~ARI-Al;Du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sulz~kOp5OP)d{Qw=kkRSDi)9d}L?>jo$mJGC2ma3A` zwsf?AtpR}!|E=`v_?P+rQ*V~72+3xIDjtL+5ki`2_D~CacUT$!rp(hOJX@2efhBGU HmH_+%QFB}M diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/InteractionType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/InteractionType.php deleted file mode 100644 index d5418d3eca026a094e9010d35987d832e04c4296..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 995 zcmbVK-D(p-7&R#>OfMRu*X1)7nu2a9lAB3W+59vFYZ7d#APZ%(JJ}9wW|o;*p-Nsx zyz(i$_EEg>8Jw9-HYFuD?#+HI=R4=@ch1?{^fpB=VL&;RMAHancc5=6q*7=RiUela zd`=~VVv(|hN)MnnhS7Km{oZi;!mKKh$&g}*g@_Z{Adzb1qn*B-HXD>@3)Ns;8--9a z!Ef|kN(SMu-yL2I`@PDe>OOjUJ$g49e;QRvRfHaQ{maX%%CGaz-x8{s z_O0}GNq3%aDY$SZrO(}!^gx&QiJ-W&M-&+_5G)zUL% z^zzY8rk0+oQ}8A&lNA>qh>#!Hn2pOFI~bpxBBla3o{Ng>K|! zcCm{+${wXpF-cC`K*_~?>CECSxhh9e_yyey{*{;w@h5QYnf&q8Jh(l9cvHEPG{WqWk`3kMd$8dyL-;7SW}8 z$f#r05#nS+Wkwoy5)!%Kb!FiR9?`-<^VZW zMb4iDww06}?A=GU8)F#9Ro826R<}wteb3SF2I~K}OYPIL#L;#-m9dUC*0IKR!VsMt zcwtQHc&K@B)ILGY8~^Lv9edZFJ88XWH_@vb|Fa)_^IJ7@JN{y5TF%^A(5jnT&%X`4 zvD<2l9&4zh;oG%7HpQrQ(9ilauYDiyCQn34c;bjW=_Qm~_V$QoOdcb4V4wG^-k1)D zf9j`GOQoY(bjr{~no7q~`FEcXT5b=(wd9uQKGr*BDaN`O<4Ol(ErhXETD`ObzCW+b Uds{N`1i(>xY+{+WMO%da0q;yev;Y7A diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderField.php deleted file mode 100644 index 08f40a541cf6d60eb01ae79a9abac63d08ecb056..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1302 zcmbVL%Wl&^6s0MBO$(hmpo&d3gi1{%a8#jgTnchx$C@UwE!&|KMY0@wk{Y?TWjjcK z`ZFx~6c+6G33iAdU}l`86>T?o<2y6wo_pt>Ij`QN=P7uGG!m1{D@cHbpHOj5P?{x0 z;wKRrPDUe=AwRiD!-!-eLW+TO!$GQoou@Q4PbQg9Bs5NvaYPzkkT=SZMIR3i8zi1w z&`l%HC+A5Nkjx#0Bnm`c27uVRAbCm;k!Ch~r0@c-@CF)Z9LPaF4O#T|;BcTa z#v=gy$jftdk_^o&;x^+2UjU+CIvGZxkMhDR=x;a7-7pS|(2K&)^rpvX5wFVF!V#*MElSdj9*Hq{nxV^x9o zgmtje*E_m#s>1~VfaMdT>0$*|7_w`$WCt5M+gKFVz> zvard(a9MZ&)^JbORJU(+;R-`j9#u1}Gq@^jgKEpr9rc~lm%DC9Jv%il#fEFF6IoF# z)wUsEo!D|$rWxzPLjc-Xr(jBF!wumv*ecgOqlvq`iVYtM5NtS>-0EOm>HJlnAy!&2E0s?9$Ophmqq)#EN{ znosEL^M75#pRu{{zBSc#oJ3wc7L#n;7?YS=b!P1}%gQ z70ZxC)Wjk;@%I^Ez-@lb=iKO}(|=WJWvV36WJ#LyND?KIB+fKk<_*5wo4@hrrFE`+ Pa;M2Su*6-0O91`?7V(W; diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordMatchType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordMatchType.php deleted file mode 100644 index b042b37dc6d7a536aa5b6f990c41e8813d416b66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1025 zcmbV~(QeZ)6ozRFLwFZN72HmyOj;*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Enums/KeywordPlanConceptGroupType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupType.php deleted file mode 100644 index 4f1c964ad5574249e5dda332e60c53b106cd3e99..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1106 zcmb_b-EPw`7^N*gng=4vEz&S$(mDxJP19~%3Tm4!R1-gO;11hL5 zz+-U9qwpv^0pbeVX|qXFdqr;YB|1Lm`1{WH>J7VM;5l?iMmQEEg3|>QR|GOn1r2Em zr^ReWI1K5WB`M(+gtiA=Zw!a_X#7kb&1u0yf?!N(oRT(<@^)FO>hsY_n`Fg2Z+{|- zFO)|Umf~y@(kvuQOkz$8HW3R(EG-B?hUX+_I3&>V`|pUr5f(UbGQv-_eUqe zP;qwv2veNr@T}DErNp3AaFoDU@`G;x%7+!xGznoYu#m6)B%dT%A`+Y?U*+AqaE8;I zNWR z9dj2vxOC54?}Ka9%pGvAf8KL#qi!1Dp*MazJfG+v7e>Q;1a@4{Ex(Ps{l7KPlmTBE z-Q>ByEnj-ze(mF6b?=zU5XKheaXTiN4)=O3Sdwqrl8$c9k9x!D^?ug(936X0hTSSl zRms>}I`+TTfIu(Cjm^-jQSQd?db2!=kUWe~#e?{b9|3L7 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastInterval.php b/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastInterval.php deleted file mode 100644 index 94cb42c18e4b2f39c11264eaee12aa6989f3f6b9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1109 zcmb_b-EPw`7^N#e!s92(Ez&S$(mDxJO=veR1+{Bhs%mK%EkjeJ%1xXs!i^)_85*e1 zz&misqwpv^0^$P4X|qXFdqr;YIXXV)K7oC=b4(--u*6i z%o1P5EP?rjQR0*OJ}fwM>~6|bt6Fg7)Xlr6I_GKq1XHg|gwNwtGVUrULJ^T=&+{+! z{iasU+2Rn^3yTQd@YsTqXXLs#gq+BXCszcEl1dwU`9`-{*=PqrsoGQHte3!CcMtrn zf}{U1M{}nju~Y=CG7OdqgQdez`(6Q0H%u!ZYmI^@8zAOmusv};xc1SYH?X_LEpr>( zn>a&fbm|xt^C7tJ*q_GJQ`;UIRr3)5`glBY#_x>VrU4%4^ZQBrWNe=pcRGJ6pr$gu zbi2-YXH&-X(A~<}vV)3B1u?Q1j~Wq4bih}ek;Y=(qBM1fer#3y?e@>Dog(^{3cOX6 zd8MLn>FEDj0X)4N*S15iN3kEjw`#>zgw$n(N*;t15ki`2c2^sGwO1zMMG>^CRIQDq L1{SylSOD-39`kPP diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotation.php b/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotation.php deleted file mode 100644 index a9e063f2ae64d826ceaa5ed6d5ed3c8729a0a8a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1086 zcmb_b(QeZ)6s4U6lJ~HxyrRh~lh#R)YC?N)DX49-s;Wo=bWET~m7BPkMQTU30~)A5 z!y})Q8$dspLeCvfk94c#g@_4)Dd%ZMIyjM?5*qa7?7Tx*v6P+9n{8e&V_acHIdiNa01PjQ%yCTMC>*>Y3MW|MXk@vgej?Y85uP)n>~zY+l70n|@k%rhE8X;fo)Oy!I+swmFrH~sTHxWJhtn(%(@qF}Lc3Qa@6 zV$wc^C8w!9&bb~|4{of6W`25h(U>VB7|tS>$XL)^aS`fLgi@lashcnD)2>xDY;*zJ zrA379dF(+Y3UXH*LP1m^*e$`TqO!)GzoKg!{UoVWFZ4p&RiV*60l)Wv`#(0>JSt9T{4qWPRk#+o6 zkW;zsBD!`CKk9pu@V2ZDTwS5+_?gK2IU?6skh2jgmg1P j6%Rt12qDWfe`pQ9IH?x@tjyDGc(x|b7M67@uma#8_B(75 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetwork.php b/metadata/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetwork.php deleted file mode 100644 index 778bba8486bd59706b0a00e6071188312746bca3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1054 zcmbV~(TdYR6ozdJ3bTkc7YbgKu`X;EG-Z*!aB7vb&Bn5tgmza!0%e*^v%{t{VKPxx zDZY!BK8jD^GkE74IGMEBmC_q~)6?{v|NJ@s_wsdmk%A}CA&dwtNd)ItP+kz23NCrb z6FAQo3nF01mnlt%Fd-ay(DlxsJsO`qR-+luMMw~gIgb<4#ZlHR%cA;pblfE@UuNA) za`l;uXqG0J%@~pD$EB&a0Ko8)WGM~_bo{|PB5{Nz4je5QSW&hvi|YN+abOpMJpjT4 zXBj*#g?**#ma^b0fa;Ux^Mr;llUS;+eVWZEqmtr;eo^n)hYOr!M9FOTE^-!1${8#M zJQkA9AuKhE-u;xTyY%74pkJIyohcYINd&`5Fd|tfXeznzRVzX9 z1?-d-5!&+Dhf?I^=5h!Hk-1>k0;@_&8+-POu5DORRBb&`*>$SMV($U?)c`O4J2azJ zj+!cEv&!34d7C=#_BZfgJDDQ6HUY-=KgK<n~lMr8fYtO*XDNl96a3iq6777 zABXE#jJaYfHo1tqF=3k74dN-yb`jsxclcg!IF|LJ-f}d}refGE%c4>=o0{gIn}$I1 yegk+-e2M(;db=D&NDU)Y=^&(p5YkHX+uGpsgDUN(B}CW6?8HqsmVGO*0^lzW+*#%T diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LabelStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LabelStatus.php deleted file mode 100644 index 532a3da353419edb9e4e9abb5d31b6ccc7e9c347..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 985 zcmb7C-D=w~7+n(BK)Gnh1C(!Bp($(*Vf02>Hk`%{VXYI^pN(NCimkW;M>3K;*hXHa zmwS{wN}pnqoVbCKi}}W%l|<777C%AXQ^=*zA{H4eish0@ zh{Y;r8I>Nucn0C@8iMik`n4HVqL4AgkP4Azv_}%vD@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Ads/GoogleAds/V15/Enums/LeadFormDesiredIntent.php deleted file mode 100644 index 3a0fef33765074f39682e17a60e6e9769f5ec68f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1056 zcmbtS(Q4Z;6kQV7K!q&?_OLyayR6U@Hit6$qAVLplelJ`6Ij~9Fa*VxU4tVTNgiw? zKeNYu%3k*ud)^03k`uSk=4pQMMY{K#qkGQV_xW{>UV=**6-3bpmR~_#Q^*BZJmeWH zi#VnNLcYq=j0y)}GzEV;hw;dpztE$S7b2t>63&y1c1a|=WofD}$0uFNik0kUlthb| zi`62cG8Hshq)bt!9Lt0dBP%L%5>jwy!;e&vh$s@c7Bm<{a#Nb>^7tee8_*s?VMe5c za}7Sx*rO8Kv&iT>0{!L1GD|~{iYWa%NTnuDRZ6n-n|^K|VvdsC$pWn=6lt!wnCVuG6RN5`o0HB_&$1e{G=@$o z5#u`=`=CTYZ<7NEstUnw0M-?h754g_S+9{Xh@y&hqAl!HjfVFS{cfQCe|gv1FUK8i zxKmm0XzLwoeOsbu_Znn8Y+s_M_g=Q1puG$K(`a9s&zp7Aedf7m+k?jNZw<9|Xg7j(X&XMjm)v?et9?G*ye#1vVTr><(oHC{ ziQR@gPvx%6_w4h3)En+#@Uy<}+AKRd!A@D4N@v-zS^l+c2yEJK#ogw;4E&#ZyBx(> m4`W>6V61^Kwn)o|R^Xe%%IH^Res03DGikQ5>|3KXLjM3t5L(Ot diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputType.php deleted file mode 100644 index 4e9f9437285e624cdcb1db2e7d85f71aa6054fb1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3470 zcmb`KXN(&~6vs)!n@OAOr6a-;B9aL3kqS5jwB8;2maKPIv%8mEbkfN2?OiN6w&j8Z zC=wk}MDHJw_`-L3?;-TwJA5GYDnfrVbG8S9`9!{C{hK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jfVH9%QU`oGJ4kcw{qv*@Rw_R zhip*dcpW$L262VPkKNx!cpk45iI-g>rUcrsG`~vdR5&-j`XA7SQ;4q-J3&bV31)&^ zD@62m0u}~`0D2+5PHesW4c*GllL%k0@qRnWOp7nu2RFP4-k@av!YJ z9?}0UCvMBZlpWUOrE#KGDOM-awZ_EYL{b$GgU*wpUT*e#VQdyR%Uh;S%bVtHQsQ-b4g z&iEqCnUJ9sB)n|{2kY-d; zoYF697{_pqQ$ZB$?c8~h88D~|yeuM}eOO}Z+`XKs;T^+u!@i!Unq@G~B;grOg8>l{ zr@3U@SE&dkL{?kSe>(d|hE=1{IqZ}zB6O?AV<>q+ZjwXDi7a?_4X~`BOk=O!(p4LF z99OJEwct*bsCnDq=QeQv?`E63C7z}9VO2`8lu|6Cl-92rcyags^uAl)K9A$$$QTaRdM5f?|U7zlrvV>*mR>_(7wA%BM`s#slS>|!cv?i7UM}bA(`>S z+E+Ohn{0MuM);$?HL~sB_1%$ii={kbm7$K5TP)+2KkJ0R`00kBjH60R{jImkQiN17 kLKO}|3J4*CG<#qgeBG|p^Rg7>wE{QF*CdvCORxmsADfheA^-pY diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStore.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStore.php deleted file mode 100644 index 33fa6e1364eec58d689d4e82084d839351376bc2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1159 zcmb_bO>fgM7^dAAk_TGJ4oDn|DU;SokZMA^xD=E&S*R#UL_4aXN|l?qS)??vVh3rU z{uK@!Iq)C2@>BQ++_0TCt2FgS59u4{d7t;g&-3aHy`tb5v`IoT%t-)e*N|TkNVAlu zej3ABKA)2e`ssp3G0AiYO&2=u2wG-;^i-s>G|zm3V3?+1Oj#XfBi30YxYz zyxh4wX`ZxIRmm33VY6rvp<6w6AkT8LSscQQ@H|Uy2$m(4YV5`9Xw`-h1ZCB8ah=T) zDC-`BpS!^PANQ!$3l?2yKrhvx3pMCU4UJzFP~U!A@>Uz)D&X;Uh;{(>FPx!g_4?<1 z%dFke_QAai=bht@omxdZ1P6xa4XmknPKP7+gH@}_6x(%eaq10>%i50i5Ih+79n&2T zSD0Px5jb2Qd2e0ET79^y)xiCpvq87l{aXPIVT;v#+eYm^**=7liC6j5TWu>$W1NI~ znuV>9B+3zMFVTo?vsPQJ^m}#3HjE$Dx~;sT3y0`MC?nw&U3umA8Zc3A+OU)IQ(>q- r)kcwukVr?{bsKj{i diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LinkedAccountType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LinkedAccountType.php deleted file mode 100644 index 938ad5ba698ede98dbed086725785dab5f8dc5ee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1089 zcmbVL(Q4E{6m_>!VJf;tRD7_EYoS}vEJX@3waT6GR$5@#7pX>LMj4WKs&pl!LqQ7MVBj3sA+|=H zo5mw>A6rNEFmOk%=QP0O-9IhRRnDHh;kxJSK3wQntM0cx?#%{~h?MZe6nWB5DA&H8 zZ$ZY2>y~0$PwRVo$-($%d)3j7HCg+}eGUwd4?~|(pynq&AB*lV+aCQyF6@f|01rK-( zXZd_iQW)?>LSvF@5E>4&9T%F$$bBwbGoGgbK``Pxib)rTS+^{U>g(}Im#}=1bz{oD zkkFUBVIBxyTqi_RLjYiSL9zq~1X`29IT1L-0(+L?^Yk!Vl|}XO_{1{{z8(NUjI#`m z74M{^btNnK2B3VBd=}FHW&#WOI-r?P85I=A^hW+=AI@={5y`TNo#!kNlrvZ~I4mHY zBUo}4*n@=2Tj|5KJ~>%%c}d=g36e4#dj`pZlqQ0w6A48qBBHw9;-qubQ&S5zI)|N7 zB0?J)`%t7gxjP)fl!!cKw*_rVOUK)mCki4U@`X){AqwU|7%%mzwFec z#ad;yCe7BA+3oK&@N~nN!ngJfc)anUwFh=D?Td*y9G#9#qj|5j3wAE;54Q8kZq`~& z@X*j*-Jj@F*EXlkdg~DYmg87s)7OoQW}`ryIj%YOho*M|=V ze`}yEbG%Z#P5j{5hCt=^`G^9 zOXXXWsn*J}sARr1mG56`fTuR#&I+g(4dd)lNMq5Lbg&W z6=lgZ5j@YPbDAn5rco{xUre!5g3fY9rj*6xlWWBRV0b}fh9d&KN&hubIK~Qxp4AC^ zv0Ooe-nLJ|k_0nNKww9X&AGJG>>4xX=)ELu2!BxRt9qlM&-C*dPQxLQ zk)WC4VxmhCN{A|NVZJnvI#$)N(K&1uBO-Kd#x7JMCs)NG6h!5MT@oxyDm&Pt=X5nj zFOEx9y)4o!3ytm}_`M4z|NFl6{esceK5E26istf-ZxwKFyYl*N zuy-E3nT!VhsXrPzH|l%f)_L$U7{3dgN*#cj9}GwDA3N0&x1F65KXG)>3*XHNXx*)U(yAm;*u_9!DtBs-+A>E8n$%Bw4LdY`BYIeZm!_rF+ T3yWU*aif`SVNtgPO91`>k7$qfoY>|VK`y>e;LlgF_Dp=x#A+wP=r#Vs^*)M?or>W z8aA51ZfOyr2ObAdiGti0hfokz2zE!Xs;I27*Kg_C#xRa6Rox}ht$;@N5d3L?i~lvy z)_%$4=s-ACG#nib$3~<5y#@|;jLporeFI+XfVG~3y(@nfxM!2|i92pSYVCn1SN?l{ zdhIuBt!Lor>|z=O6W?pr&8KU36bwDL*%0+TS*-qs|TkcHTkl=4}1TDbFxV z9WK&dN|?>}W;=2!w=GNG_T@*t;SGmB>-(NfzN7Q*l%=V3@*SJ}UmHMZcjMl2*zG9S t<9EGXUPVY>MyTRJNE0DsnHG<&!8eCh7+#eby9?CTG+JPZTY(h-{{SOObUy$9 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevel.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevel.php deleted file mode 100644 index 154709d617f5678c1fe3f7a7340c5044198c10a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1191 zcmb_b%W4}j6s?^!1!d8}9}rYGG)^C5+{7EXZt*LFscR23Nud~wJfoQiWNDBzfwXv2 z=#O;ST{r!ReoDWh8jU>(1cMj##)skFbFS_^=gqt1DgjTSM>vsKlMv2tpuQq7kwS|= zFgQ=6h)5WSMM4>oE`Spg%l+Vp^3*Wk3*&g@_rc<51Oen4#-Nvrc%rP<2L? zraYd-Ql!Z&qD&JxGb&*k=viQ-VO8_nq;(`f+^Fsu|D<$7KwcV^Z6T&%a!8f8-8D}d&gq;p0Cs5I8*?~tk)*}-1DrK>SI zVOXe|WszD@nCTvY-@Cy7-}kK?QyZEKgz15~-!7z_qA>(>XxJ}7AYYA1GqSvzP{88TVI-Q^8 z1JCBiHK}oPm?4uN*XHNXx?pM(b|+#sV|mE_maBOyLZ%s^f(Ic(gpg&L@7V!QjtVcm T%q@EB$BkyTg?Zf)ECKijsGy2; diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannel.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannel.php deleted file mode 100644 index 626e6b788b29452f26cf4f608d26775db966ee38..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1114 zcmb_b-HOvd7_}{~ID28~11w{$Y!@_Tk-eE(rGFcOH7U63f&|JmnWO{LnJ_aEREqE7 zrH|sH_yFGOWYT6AmeLz@laFw|b56eRe6QbTs|-AYF5yICO=7tG0`-c(ObRU`!Qe7a z5+Y$F)){3)IuK3*=m%GDI`OWanpP!p84(0iAyP(qI99!~EUM4v7d^uBwdygdH09|c zl_Jj;31yndg;9y~NH3xl=A1Ccssh0Any3s%1iJIld!liSH4a@X5DsItEsN^o`9(M_ z1o{9(3@Zg^rI1_bTw0lVsWL7_z&8NRljTcBBd9di=GCEUK{?eFGy2s`VE_}%6fvat zu}RJ&O$CQVL%<`_J%c4@f$e0%Ol<&nc8$0eW{9E3%^!2j!U<84q?s0SZlDOIL|5Z4 zzI4y}R<&TG3G9{@5xVDb0JY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LocalPlaceholderField.php deleted file mode 100644 index b7df6e84b1d6d7856ecb461a3757cce53c766d23..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1364 zcmbtU%}(1u5H6woEq{vv_2+=LDH1_y9ifVgfmTkuiB=@GWjm!*kt}0xf+b^Hwo|FC zxL19Qo~k}dAEoC$KzG+6K>|+o#j~?B-+Z3WGso}J%M`psZ5q?eD`}*l)@eMt z%Ii_$dy$()o=-26D4>};2x%0^q7VSFcSZA*U81(x=+eRqyu$0Z1!i9j^0CRS_Xmf4 z%rTDu@FOqJQHNujQ|J~)244YUPdd7YLLcRYSFqP^n7d&d7NHk~U)a~4pn(_Vlp)=X z9gJeX2$LA`1S9roZ6B4GJa#utSa(j)4M&qVj5VuI;(}(e7xguo`&pP4NoKN8MH$j! z(q`_d?H`G%94#E6T1in+?r=OoMK+?hizAfLVwA;Gfa?jAAolugIHsWn!K7-7DOj5X z^16HA+dMe_AL*o>GFxVH%M;;cCcG?!ul}3`&+Zk7Ygqk03%2jQmDa&>Pq$6nBrSq9 z_()m?3qAc*H_mi8!w(u(J1)^+MOp<*;-ITt3}>YkuxR%h4skjdKIS+Ywwo3)9b)Kk zPFezUrbU_<&P$tMy=7Qk)p4-qmd*uf4FFs1;PH7;dJ49tLAP#}cwN#}+t}?{9SArl zRnshN+i;naXsQlw8`e2ok)D9frlC9dgVSTAPx1MgVQDs8<;7Y=XFdjD!!>CeY?SA& z(IAY3aIZ@ctT>k1JSBQt6ob+hfU2%p2GLyAG~Eu-PvHjl+N4W5s^yN`V?&8&6T_ay zZSuGqkL?&1=6&31{G9<+Ht1s+A5ygO{9eJt0GKl$o8$jsm_%MYl#^^&AJSNi`ORWT z!~CH=aU_14AC=j*s{X3%w8a9D+1Sga$t|`3WU&B#-vso4&8LZ9vn{*SjJt0YXJTM+sBhE>KbZLj z{15<=VJYFrkW5z`{aX|#ngM(RP=9%`$Wj8O(%b~@q;j6JRHZmezv|!b!X?fm)rb#! zmjxq6FEj%YBecB-OH9+dlXJbUF1*${F&os|n+=(wg5hj7ppu9*S6obVD?$lX)!xlZ zd+*S)8nko?+oeQ=9%$@BB?@|*96~`=A=nMTRRv{*y?LLmWO#90u^#D@wyQ?Ny9>Ur z0sp_;vbkNtxY`JAWeHbX!nKxY{iuOgcP=)fIKF>1bKn*O&i(i1bFg(9PA7hUcr^3} z&XeXA*gOr7!{~G9)S6Ghx8-y4mbwdN*hOvh7a z-E{S$=y(_g&PMNV4Yai5SE?WTfnMv5`uhs40VcIC{nZ*0o?(`_TqK=@GHdtiq~xi5 zEI5aDS3m2G!1I39w*wmlSKHq$OH=6}xHbsCuN!7IDz~y?!&0W@PrX%+BBX~As&Ej} gKnPi+#fBC5cDHiJ>(X>L4tvy|wz2HH0#^Y11Lq)cBme*a diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReason.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReason.php deleted file mode 100644 index 1cab156ec52ddd5cfe775ffcae1d30d0935cbf43..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1442 zcmb_c(Qex|6kVJqZJ2b?)U^dRtYgy-O^QuMQRGEwHpnuq60=B6mfCtSASg2JYEUFW zk_&7@-ufkb+~csX*r)6(c1hVzfg(U2rWamNm**Vv-g{pBP`)kEBkYJ=RBC@mL9IcB*l?W5hi(;OMZal5KZ78F6 z&yKqyU!2$7tVrT4szvoKO++1~dA+FOJP}bPei2EN7CA(5UF3$MMktTZMP0^;z>e2* zMH5fsCZ0HoWnxY1WhkRp&yFWVvYa54WN}^Np=28^$>@s9Us3sr3H^>ReC6USOA}l- zaRbZaREkTRG|tlB;5|<9EY4~H$RFp<7P(T6!JkBP4Q72VeHbvz@s%g$evo3_(IXpU1tP(Aq;loyf6gSmEd`OOQC7MN* zUjkgLp_H)izE77jtm$;kI)EA-%UoWFwE*bU;a8`$XSGH$(O#vp?`ty^}-QlWHgGH<&wyy zBi9P-ms&@Eh`yq16#5pkNo2V^WI-f11_NqS!UAnmVv#o<^#S;XuAx1~qY-tO6@)&~ zw)D@D20I=fQhOY+(Cral+tweUuVL5bu1kEITEoa8jQFq)snw%H8jQ7@`W>_{r_JgO zNi^U-Xwq)!chP6I6%dE}<4d7C`j_ZF$c9@uky2v?l(VQ0nHrL+JkI^-r_fT+yZSw( zdpv*(0QYblNgB|(9;uN12BKmSMD^jKDk$Wgh>m5+=%CKJXW1Fs;M<+c{{DnkF1J%{7i`0+4Acq_b@$ a@cEPVBz@Zs=;btCIm#-r&AUJs2>l1tSjfl# diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatus.php deleted file mode 100644 index 348600e6670daabaf7e1fb7865eb69e23bb9f555..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1136 zcmbtT-D=w~6kgJ%@pmKB=9=1@j&)O964ZZJ)4(>;Y1L{^$UF+GNwj!0B^et^wiYE#%?MJPjNEt5)pEmNyY;OMJOh+oVEVa z*x5H#H5;A5M$sZd4|+U+lIP@paR@n)IZy8hZb~ZC*t?H(-bO2m%Bn|djg1nh>u!VZ z%i!=o_h)Su1h!hcT?)Wf0c1-B<$^8gRo1^%0JvM6^$cu`yg}e}+#}cN)*e|K zV0Gjjd;Ymst5~aG$#c$YRSSTXR%hs*IkhDnw|)Oup_i>EV6E$P`mU!=k9Dqd5xA%7 zuws6>gI2q*POH`n@Vw)DgVBj|Iw>>Otfyf8+zp)W#2*c7>+Qc4P*)b1Uu@AG+piW} z(C8wleCo_+6te`UvCVkgj7e(re`}hIibWpUH-r39UFx-3KdYNP;|yE*!7f4_DQDQm z8NY7e+He=c=l3_3RdulAebsB)z1MHbDB{}aZ10bXIizHT_pJZv9QDjr ztwxuyQ(8pmj>kTfydbxiL&%9Ncy=SOuB42yH}C1jh8@S%)>9Q>r)t!D55eyS=>J!C zt^IP`Qh{4l^p=X=GSRmgcz$m{I>YuS@MIfU>lxU)@TP$?9G{MzQS(7-4?Mo`&OHB% z*R1K6b7wlWU8h-ZJp~~6=zGq5Xip~1hWHXjcD)<9bUyD_uN*Wksyu1tlW~wie0?-%+Y_;8?J5ttna&qV@uI%m8Gr}$Clyv*R~-v zq~Ai_uwKIcr`|3{5mLhlRXPYMA%u+5;*l}<_OJ^1b;-^RC_5=Ljb+~&tO583t9n+C diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReason.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReason.php deleted file mode 100644 index 2af028c39baaf232aba78be6c4fbb1beb6e17b48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1244 zcmb_bUu)A)6t~?!y%P*UM0^<6Zm{98cloGtAF0Of#C( zkS1_a%w{-)Aw5sy1ZN6_eG8hF3-!L?KIc?Mi!8({j3|u~+(A>;smijt*xl=3Qk=6+ zLPL}U3}+W{h*^;EcfxRx;ZHcsV@i017$u4@27sV*%u*C$IIz1ToTDkqkv|X~zBXm^ zvaF7G_k6wd*asj?5MyvydX48+!^+877&*cRd9oywN`6zvZG8q2P#mXC%n!=Amsn0~=XQGHRY5i>gfBO#mD;M7S*#Mh&z{-!n zx@V4Uy=NR6dSALHuY)zud}mrGrqqz1fhS#WY?%6Z9GKcj4@Sm#q`AE#sVPg~p=WBI zdt^DrDW@)#RQ-c(IQ(I`{MoiFCwT8^L&NB5m#Iejl(6@Tt zNH^Vp6O6vJCO-fxmV2Z-(*5qYCTQ`9%|~+Ebh_<3{9AEqcH^`+pL9eML?VS|Q76Jg z#A^}IG-kKubziLGdvj@^X+N490}(uh$4#lqvf{y0MDTts0KSOkwQP!TR_XlRY*kcM o9vV(vw;^V79C_nhN<&pm%HZUlG*`-BmRHJQWN9n?1j3duE(cmikX zVnHN~_)^e>NC!f91pUzjdhTFyXj&CdWke8+Igb<4#B$z(5l*Ix z$Xgl_H5FKD8c~6np6WY694iO_!%LzBjtJ}r-67F(jH)%eY$r zLo28vKjbTRepOXH+v zRWmlafQ{TDLJvH)p_VDRFAkw3I+biouqvpmu{ZDN+D2zSFH|qgLK_7z(>(^iD!~08 zo2(t=ERIQmQ{=%hd2nnV>R-U4>&g~eAAN+-vW0G8lW8)pG3xc-|ZN0t91XAK;7hcZD*IW?%`uGvU?3mpL^@y zi+O@s>~I-3W5R5RH}Mx#?Yf4Rox%5VrQhlNC?E7~yd4v2Coi+g#M`m){<#5!_5ki( xfIWfy27Z_8c`HJu8KHs)Awz_aWtu&;2HzeROMjhbX&aoKsk6Www*o5w{sKF?XBPkf diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatus.php deleted file mode 100644 index b5149741c0a63ec6732313dd454c155ca6f14ed5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1207 zcmb_b-D=w~7+un?V=84?9-wGhAt~z|%IJ-BV;M;H3VK@{LP1p_vKxX`MP&zj{f@22a2Jb8 z^;qAzQvr=`8~ok`!T&yRbGKx4v{9VOGLE*4V=dGARRgacct&&k*7q8S+7E1KJ_Fn5 zei)30-my0xH6As$!IN|UgFpS~H)>4)wgNW{^&fRpAG_X(t~U%Q82cm7pENd`&%usA zorULvQ!fm?so!|q+yPIAu0I@~82HxUTOG7?a@McA@1cW(2M%rB6VyHp*NaPdinGMw zBIzbHv#GhxUe4rwQS906{-|$ET=!>vcVhG8=oC3+X)2v3$L8tJH6XHyyA?T`xiWNr r>#edCA>E8n#e@U diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactType.php deleted file mode 100644 index 77e63fdde349dff015dc104b7dbec79fed9d3450..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1172 zc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ads/GoogleAds/V15/Enums/LocationGroupRadiusUnits.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnits.php deleted file mode 100644 index e919b42070ad5ada056e087d94571fbe784ae1c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1082 zcmbu8--^>f6vl09N%Q@e9^(MVa!87O)Mg&$Qg3B*ZT@jcHu6W23 zxXe~7B4EhZDNTrQARJ8Kcru6Xz@I5kE?f-7D zagY-ny?LkbfTKO&SPwM6SHR=4J(+DbKY>SO-y09X{^fW!bFtX^$A0QW}z(4Ez5rbvfFf04hq+y7euP3`5ayfUTzCuK71ey5d> zXWL(md4gH&a1pm-!mN>Z_D`uSyM~UP$B$~w>-BzC4?JseM;qJ8LlbF>JJ#aAb_sz! zf*V(0&mg~pKhrLv4hSOxD-yx^6;w+CQ^6Gvc>?Fz zVnGB9`6{Ie5jKRqA@qk6==QwHGrcN#CPIQ>%z2!U7LH`A81w1N=~;`gY$aO>53!=0 z&G=U>C6_dvsjHOOMhF0gS45^bByce5z9R}pSm9t`I0Gk=n=zk0oSp@4&e;YaOt6&j za>G5`QcpB9_zs|c(rlj45K5)hLwH2xj54YyPUtuNw;i~^i6oloHg=J*Fn0{|g&_+` z^8^;0Irb>!`Z^uB^*G88rjHePOcB9w67+}+1x*zfBMn6;CaOGh{-$}-HmW%rUBG5x z5usZiJ5Y&?+!TjU5S0mbO|UMhjIo!m>Bfc=MWt$AC)g~3x$ZIeT?6O;6PDcq#@pz`+xbN##>jAj$^!whW=Suk&qlfFIS`z;S+74+o~qwyv;UjQOO?Y@0Iw+5!So_ZxjTg)bWa rr`jl15z@;Dl{^S(B7_Xn{H`(h>bOk$MNy#Zw(PB%0T#G5SOf46^i5oG diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderField.php deleted file mode 100644 index d0015fb64edc1e31e6130f6738866f4dea5d81c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1177 zcmbtTO>fgc5G848%eH{=i33zisMJ&fM+Nn=AyiK628-6V@=;V2DRS(MyVBNc*=r;~ z{WBc-72J^c7hL%RT-jZxZlx+Gd>V~s-n^Z8@6BO)o`UDFj}x2)97k~W8S--s(~NNz zG74wKe2z01vWt{ZoEZ>W9(27Cv@K`!Otj{#$U=-@%veluD~R$|8OrF>{y_^T#YNtt zEDShd$uy-wh|d{~a5kM2Od~_h0w4)4aGr{vunotRO+2xWA-e=xBn zY#V@(26+yT7x4Zy`jG?&UjY|U~}vaeY@uzIku(U(Ko^R z*nRJMA6%`bKLYo=)?TDSp%6l7C)x@+RClmD{WQZ0INM`bf(?a zx4?!!@J=1KXKQP6pzjSw=JB-WS+=&WYhbJAjos1Utjui4jQ`FP*zWkGYY()0-M=-^ z5LQ{df7vR!PnSJY>Bp~q>@9W~Ga4kZ!Lqm&<3t(d%3UeRmzk}t7XGci(l^cT_3gg0 zkRgm?l%b4-g$!k(UsnYaWwIMCQ#LDo_NU$`TM-h?2vs-;2_S?N(rir;e7#$V>qV*A RYk@9Rw<;{_F2N-L{{Tz}cmDtY diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LocationSourceType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocationSourceType.php deleted file mode 100644 index 07dc383b661b735baae5ae6ced8b914283da37b8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1042 zcmbVK(Q4Z;6kQV7n95l2L-$s+tk4uThcfz5W!Z2V$C#x~Ajw9DAt<)u8XU<;@}L{} znLX}P#=c~4`-4ex>J~y?mZwX6?m0*IoOd7cn;g7?9-)L|Nn*IXh4O~LoHNNHmceDQ zS`iK-w$9Uxa2vwG7zX1RbO-+IrCJrN;1NMEVJyi=2gjmQj(YlfcHSYhSc^`^A}muz z7bSinZ*yWB6#yt+6OrSHKyT8&A`-_~;?OgMp%aVksHab7=b@_!y8uKP76Oj8#8cyA zrf9);0M#!qmRTA>A(d_fk5jQoX)05krQg&$dvJv_K@`m{c2&?wdxd&oOe4}hg(auP z9_LKmr3dc}PV}kNnL?jR!YR(e0TB^TbIJHbK@m!btPZUIX`gnDs%A@9uw7b2Xvbp@ zN?wqM;t+Bo3r_C|HWigI_U3)Mwc*5Zr8-pEwJV_3JpsQP;NrhSvyRGDTcvDQdD|*) z+vMF6;BYq?om}f0Si4`W=ip!-OegN8KlI%}^O1D`p3H-f!T58~tXYS^^2TFte|GEQ&rsEGvZdzW}{7=1A ot|FwC5vq6)QbY(DrsZQ}@a;*J@awWT_bu65F#{}d8?XW3A9hPs!~g&Q diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterType.php deleted file mode 100644 index d2d7bfa80be2d3550d94e3e11f9b1e6ea7d7aecb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1052 zcmbu7&u$Yj5XMO=K)45@oH#%=gi1{%*r-CiI0VSQMiG!iY6=KNiX5+ZYiVPzY%fwl zc^Qtp2|Nlfz!lq@Y%5iJVo#&>%s1c6{9e6DFH`gkMoch83=3g(1?G}Ls-%%rCa}t) zh$*0Qo$`dK0AMhM$#f3G!Fc}EmTH+P$}q%I#tCbYP`C2XMPE-&TTEnY-AW`ShD)*3 zMsX1@Bc2$hmgXvDfp3P8AZw;mLK%!^y${TgkQlNUdEG@f)Z5TSA5TsfL#NwDh$cj9 zc)!&@_wr|6eQw3kcLerJvsJ<=Xk$%KIOKZC1vi`|{F@!R0})9yvtqY%qfAg|99+Rv zP}V$#T+`(qrqV8{13Q~Dw>P`9#aP(!1W6VHrm5nok!ogBF^-ujw(b5jkK4YhQ{xdd zbBh??^4I~RGIp~$fMO<7;#y!+NO@x~Uh}PuZWtC_?Q&SNNOXOV(62r8_J1!}KgbmV zd-TCbdfa z0lGW<-0jb6)!yF5WH6CTwa;3?N-ytnPq{>a)EShUawle`! zUxrH_g@@n)cmS@koi>{^<%-Vm*jaK%GT z;XGR`h=3tqrU@m&g|I(?{^S%6`lHjAx>fQ_gapBu^O%wrj$|t@O?7o}*di=j$`kW0_M&;BjO)o4MF+~K!H0ToHBOf?jtn5bga=A^mbwo?sT zvVhH8B0_gGcAyd&xjh_0K~yH#4Z*6QvcldRC2JX86ctmCwTsOHXy)#L-!*XbfA%>$ zdB3YocMJPnZNF>nZ(M`tB_0_g8$ke`m3()eg6%W^({#`q9ghb6`aNeGJUsJ1_>*(L zUU2}}^1YLj$$7o%JOPio-q`bd8dh^2g9qJ{iPx{+@BXcThEDKWS((W0ixLUe*JUF(o{Oxu1)r@4Ir@D yzZHI){yhGFs*SuAA>E8n!Gn+{LdY`Bx2(Xodxhz*^DNy2r!;jInB!Jp1;9U#$6vbu diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatus.php deleted file mode 100644 index 9bba3ed6dd9bfb0c4b98a28d36861d7f552f86cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1064 zcmbVK(TdYR6t%5ZnH8)BeO$)6uwBrUWm%A^Rnj&M!QHgjb_EHPX*$ggrjsx;5mfpI zeua;Iir?XrPkw?klQz3h`eI&kCpq`rGxwa=Z`11(Jclk}gkwn-aQ+3#YXVcA$Rtc+ zIM0?#!eN-KQW_I(LD(Nce>j0o-INDz#YB#KE3FGMRZb@lo5yhT{H60H?x zI3j!&Q}$^lB$k=5%n$$=UJ;SvkU)3Ty(AJZu*89D_yT(&Hl?nvPR|2J^R)p8V=M%` z%y};q?bxt_Zvd(%&E_!;p`N5(M^wxxqmts7epR>Zz$K0aQ7pUIWyV5D69#p|kcFgq z0&`A{JxUX`l@8qM8|g)d_4FMkS{HQ+y2UCAMa(dptbNaPA^#gE!>c8`cAN*RW4nWoJ zO}s0oR<1t;4?KT!s%Y5A@%x_d*6!-VduK2mD}s9(*R%bebD>Vv?%xtCWm zOt61#0fCABt?Zld=js1bZse^9sb+)<9)uJTLWXHxH3H9$3+G?tfx1c0-sl-%j$4B@ G0RI3~zE%MM diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextType.php deleted file mode 100644 index 5013249cfa6aa89de679a009a960b984833a7087..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1117 zcmb_b(TdYR6t&$&VOB5{--LCn3)=-vS!7?PR%x5G1Zi5>?g|nJ({!2+q?0f+5m)J( z|KPiieu|&sC-~&dBuy8V?UQ}!C7gTCoqNxD`#xJ`;3XUpMmUya0p~YRt_aL{D$^)U z;5=V035QX-&S*lo4WToE{$vJS$D6%Sts>2NL=cSAG)_nxFGRa2b@loDqD@%77VR~b z(TcJ-T;?p2G-Y9wGD*J3P~K$3HhKUsye1;U5rLy=e@rA^V2Oi~p$>WrQI@*8KEDWD zP2B+?O0W=cTuKZ}g+U=OQ~cl?fa;g!^MpoFNG#Rg2^Aq_R8pMKuj=VtxWtJditjFV zJ2lh|6Bd!y87w$8_9RQys=9DH=~Qn|Z7%TC6FI|4;1CgUn#q(;6%?VE$ZF^MOY5v- zR5cr2!d5XNLU(5DLdkP-TO2}8WX{=+U{g_n!aw{b!CPhyE)SE>sLaG^|iU%P@gpgsHKQsfrIjx-WsxaKnUH4kk01Mm( HYykKNOfzu8 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperator.php b/metadata/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperator.php deleted file mode 100644 index 384770196b3fe42154232c95da6d224d31af4a6b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1101 zcmbtT-HOvd6t=B)Wp=@kD=%~z>%w+HQx@5qsdY(z3A#z8t+Em*({!2+q%$Fz2r7LH zU%*Qr#Ygc4yzs`ENt#_)dSz~MNWSx(@0|0U*O&1+2G8M$Fp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;D(d5OxvjNLj-+*7&^!%#3-ixX0M1 u@Xw!Wy+}n!B_mYwAf$*8GEDOw)8LDPa%-Ly%XqnY8`stV3)}^`0N@`sDsN8! diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/MimeType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/MimeType.php deleted file mode 100644 index 026d8ed051eef3caf3a4464e09d9192ea98cf37b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1106 zcmb7D+iKfD5Urj2CTSLZK-jv0IMB+3ke5xSztHzWzoNSm$o_{8xfnq-7pbjG{D+V%j3ZqE&@5`n-SGqDeU}T4Oe* z0l&|vuA~7-$e0!x2`RF@6PI!_B%JhZrP4Qs#Uzx`)&61Mk}5|4gfS@!ke^~lWfF3hCP)&xNl2S}sM3_!oh%hC zI7ZX5JlPe|k-n2~nkOXgo3sdXmhm+A1Qg?l@>wtCm*(D)$|}{^2sNt`F@93xG2(ei zA16mBr@YLQxxm9rN)`6@J)4wa42QFCbwtZoLc8_O(HJ*HUyGsT$)ZdxHhif`uym62XI4!U_(kC28J2jIv(6S`BMW8 zvGbFwKi7qm&FPKRW_Y#R(@EQ+G$u);r+L(hXrfkrYKx2&&$;AC_4a#x!8VK^_3g?G zy0Cy=g)$Om(3Kf}P62&omq&h4hN&F$x8A6z7z;ASGaZbD5XMSru&fF^*qyD-n`#^9 QtM}~QDqw|s01p8C0|{DEJ^%m! diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/MinuteOfHour.php b/metadata/Google/Ads/GoogleAds/V15/Enums/MinuteOfHour.php deleted file mode 100644 index 4059af7dcdd535ece7e8667de09ebf81ab21cc17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1018 zcmbV~(Q4Z;6o!|i>xMcu*AGy%tk4uThf;c@EE`EMi9!r@@GbFsGU1`9!rMln_}zYI)K*?&+4_|^gn_!52_(cWop&wS}I*j zr`s05*iNI&sXYVFw$IELVDH-dII+)N$F)bsBXbWtx%NJI{wL39m`}mZt$pPi&GOiB zovCemM#}_XcY5JoO+Onu=5qiXUzIb*y|InQ!@mvCR$Q(PJ>+e;zwJT?H)-6SuP>DF z6tl$QdD2Y?(^PKo&8T>Y=AORwk7jE;82oG=j5V*8qSUI&vQoTSn%Cc(hCma&g|ue6 tg8EOhU5z57h7qcD5K=-2X{GtDHh6ker~0~r<&KO8vC@rI-wLb%_y<*xM-Ko1 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/MobileAppVendor.php b/metadata/Google/Ads/GoogleAds/V15/Enums/MobileAppVendor.php deleted file mode 100644 index 0c117707d3c8f15f1448155f8ab6a6477b05c2b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1028 zcmbVK(Q4Z;6kQV7Kz&F^`&_iF&=fX@GP(z)*>D=ygsrhz(+)}?D7NAX97&Vp!Zz|V zd)#;IX`ix(eZyoqal4ef%n$NKoO|xkJ?HeDxE0_9^a&#pYZAlR7pQLu6q0Km@f6Oo z`J6}?@r9r%kq(4|0FHt&^ajK6bJMDLCL@Ai!g-RC4vtl)DD&#>_@qNvwosh~pPBwC z7GiowSj?qkM*zU^f+&F_0{yUmK{SrB#uMMNP25?|SxO_QG}h*KK-H8oswqzCSM$Oioa0mx!|@n9&sd}>XE1LFSVY=Ku;9$G z2ZEc8^x#@um@mmJXfkA)NQTqNfT&1Pp}7nV6rqIZa<%zQ`>1QD=4^Bh+l54g9%<}B zEi>|PIE0euOtO1|Wl3d)y?RSmGTb;Wr=FXww@Y9?_YnN7fj9qWS98DUbBwu8X|rQ& zcC5{<&tP}MliaY@4XAHiH|t>MYIGTTXT$TMH)uR*?to`kqxYlW)2LBt?t;1-h9A7C zIj5K7;G@^5Hupfo4+8(6+gkrm1++{&S8}!~>+fv{u;zu8o3qu65}sm~I9w*3gfJV< zb&v&B+j8Bt&;DMm`L6q;y6@ZAIwq`6QRbD2tz%>RYYmv#U_VH2la*N3IEFN?t3r(^W!4iPKWJ^xV diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/MobileDeviceType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/MobileDeviceType.php deleted file mode 100644 index e47ce2d60ff0e35342ff98bc2a20c06dd2b1209e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1015 zcmbV~-D(p-6vs^h6{Z)4ptog=g{GhziWFheC`q%8!R7-@6=We!c2Bkgo0(;1wooN6 z~wN?Dq!K=cZJNOol*kEJU0@lSZnUhc>!7Ic);Zma4fFb5lQy z;D&`T)3+&jt_MP#EgoqhfK{FXPVK3eKR|@@q#7_jL5^>MaDzT1jn{u%tL4#<6P6` z9;U+Fq>VS@P3)P>iGl&wAUREf9;i^VR0}yVsf5I!i{sjt#&OGawQ6jE8~KQYJeaYK zwanmtbBrbEO!7N{RUzdDd-ayB$LK^+(e=XIy-_6EzDMX+1-s_mo4SECQ3@#j&sR6}TQIPMNE z{c739(@yu&pH?f~za>;RK(4#*8l?MdyPb1uQu=bf-XInU<*_GZ+>C)c95?KyOzlFs z<<|UBuJk*dpXGzT1JyHldU>mTwWab6ej8aq!pGAPz|9{Qwbau)XkKFoWu<&jcuh#QBb66;*4EO&Wtr4BNf!6 zuwls^xBxq@(Ni!pPTfdV7kK0M?DxL+^S$rghx9rHFJYHZ!m%JTIK6@5n!uDZ!2*`R zXz!+_1xI3e7Eu;W438$zek8@`aK8OwP<5R4d$64J!8tXY`K`g(ZOBs8CA%{imu z`ig~DHw1G_!vjF^oMb5u2<-Z;J`s3^1)g*@(!`!+3sYH_hes1fAsqt{Bsj}pUm<$o zSmJ^20LmxLr%4>ZOkg2jdvSIZ(^$kfiNDFoPGE?WjL7`Qv0+XF5i<%^f=2_=IDiGF zirq_@+{6jI@61=rk&Bu1s34r;WYQs7z~fXf?#obwA|lF_sxOU$V_j9D#UX4IEh6-& z#}g=cPL_*9$ce}~eE_&Ep>$)f-^YtK?AffWdMep!l!2=5KKQW;-uypJ=5CQ=NkXlX zT1!%EX=>|#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OfflineEventUploadClientEnum.php deleted file mode 100644 index 31f5fc3e2afd063bf343ebf0b54a478e69bc09ca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1131 zcmb_b(Q4E{6m_>nVG6ng6a^{Mwa_hSmLh$bwMuq34Z)f$c56Wv!fY~02eLCEGbyMP zKfzBBeDqWN6o0`NXC}L8p{!5lB{!2Z=iIq-&Z{@YMFE~ck1$eVNfJ2!1my*RMad

A2U{zOUn{`O1m;F!Ol0cJ{BC#atq7^j2sJziDI$an d)BLV!@a0}(lIOMeu8p?Vr3P5zuD}%le*xQSbMgQH diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReason.php b/metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReason.php deleted file mode 100644 index f12a29fee342436ea89fd82ef7804a8d252f3e63..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1264 zcmb_b%Wl&^6eTGIX}Tct4vCg&TGUhmM-}SEr69+4TtjO|c~wP`tcf#r2e}?=W{d== zpTL$6V9BTODJ=K|#CV*ht*X)u-uTKs_nfPH&w2GGKh41gba93m5_krupP)F!FlSWI zh^BB_#4%SBhquk-d%LHZ_N+&kv5hJ;v ztS6y{kzldde)*-fy{A-5HWI^DHKJkMm~kHpR^Y4R5Hc(ZmR%B@FR0XDFJ6=R80KuY zQ0>aYwidurcME)72HtCzJV!W_CZhpx=g{8k4WcigQ!a`Sf$JiP;_JpwBu zf6#L*uj@H>TJ zb!`kn zPJb-Nutxp9<69@871&PWLFZ2mG-dSWOS^4(%K4WzzcnKYSmDmWIRJkFu}z!8 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRange.php b/metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRange.php deleted file mode 100644 index e683fc70c2dfe17d9d3c8d3536135cc9793ad3ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1336 zcmb_cO>fgc5Tz-lusvW!AQcH!ODJk8f#bAIKeiO)Hfb74ov2MgLXoVEvvwCbUTeKZ z0@OdlkqiHWBPV_Xe*$*bsT-xLdclWylsEI%&CF9}{aw1Y5T@sw5U!;eT9eaUml!$gSk`Zq|?}I?YA0r<5qDF%$_=jPW!!MOcfu4`6Ii#ciZk zS1hAYoCgoa(G|<>w%t|Bn4Uyds|s1OjN6mQnnr4tF*AwOG_r0PcP5c_jci!P>?E?G zkxk3EJBe&+WXm${6(50z<6UoQq-t3P*!?>NO47ljv0t}=-DfwAU!QVk>cie>l>rN- zp-jeuNn{-l;8RD%s!W1xz=bpG0Qs#=K%Zz1y-p} diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatus.php deleted file mode 100644 index 9d6a0ee7b92d59112924b92110c98cbf14b7ad9d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1095 zcmbtTO^?$s5Tz|FlJ`K>69;x>%1YanAk_-(#igLMX`}FwR&)yzs#H0tlQpDvWIITJ z_80IkIPz2YDO@>l#dg~4N~@m8CFA7Ho9CG~&tBvgId}wp!id0%tYGv7stW>h!4;2r z2BRWLh=4I)=QJb2fzX@4aB>buUU2?Ur%GOkm>`&Po@S(rSF&4%Ci;AO)+MZ1%Pvon zj54w;BoWIMR(Sc5M@y-&Dx_np0l@H@$Q;K6`qRN1qOid&d`rA=S8@}Y=-uhrVq}PW z0K^%V5>CnjbItGRw3j@ZS#t0VK>g%Jl+hTPg8Fqt<&rY0D9-3ted|6j0MdV7gG&IC?%?DxB1dJ z>Dj7=jV7>DN<`>}#y(V{AlHjSD2OTqyCS%(sI0Ij&*?^nyINIM$9j^T3TWycgFg-6 z{`Ux5hb4uhXYW)laI^~?>w@<88hEg4P-dL%PvHKp|E+sqe;&@JqhT-(Mqcw)YaiU5 zhp)oP`>Ze^@i`dKkJ9SwY#HD?v$a4 zwA~$R_g`DU!Y;(Mjj$_G?!@nUyG%t$CnHqxAf$;9vP{vQ75MbHGQ#81Usq<@=|l@G JahKo{fPY?iWrqL& diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobType.php deleted file mode 100644 index 9b8137e5057e98c6efce5483ff4487c0ffdddd41..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1171 zcmbtTL2uJA6sFw($vaT>fDoX`lu7F(NHw8dGRBlPSsU1zsBxH>Dn)7PWJZ}C#SYRy z`!gK*6-eCp6WqCT$8oxBV(W=q@??MSd(ZEC-|PMCGy~7!5L29o0?*;>9Ewv6vz!SQ zu@ugVIL0}Q*jYwWoNEx84jelOTBePj$yCmYJiY$@d4@Gr3ji9PVV;E%hC{c1ghg1Qrb9(LHRgN~meKp|ovBsQ z?g9{{A?MJk=zYm<%Cxs^h9ouk0-*e|VwRE!auEvo+aNq3ln4^0YU(wbv^GO{%Wd`fE~uP3hnH)c}ug7pWAo^SuEc-hSPF0M`7m=UM~%z_!fR zo%R~I?~mV&o#Sz<(e8kC4>=Pn@Qg#t3w-y`G0fn=o_Hv5jS2eDYA(T`kv%aNn3eWZ z@Mz#mrXy<-92saZ3Vct7hqi}Wt0lufx5qXb1qMPByYC~*Yu)YtX@HKj$>R0P2GM_V z`!m( zQ|9@3379H-UGtYRSmm(a%}$l7>oQr_YaU&fM7pk+X7^NsuQuz&dQt7`)p9P~Yz3@v I7vKVbzi5Me+W-In diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorType.php deleted file mode 100644 index 1be4cee4585d1dd2ce7b14f66dd927bafe6216d1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1148 zcmb_bL2uJA7^P(b;R#Xoz=6YL%0xQ}Qccq?E(N7)7OFu~)^JP@x)l}#_OSO6%ODD5;MtnOGb6Do^XlsO z)U$Gm4gg^i2m#$S)krg46-31;<6}hwz5%GdG@B+QghDD|Av`3)CzMDMB;>1_L>JD2 zL|_Gbw|AD&P%8B>f8f#(w~kS)#+jm%)HkciM7ja?{thHsNY$g#{g-2g00C@t*uTe6a2Mp4OnuD07M z8*|@#?MurXTbKU$z3KRyyS?7`Drl$( ztWgb96s@}Iv^LO>Y*2yqb z9*m;QE0qjGC*#k$!PD8f6&{_QB0hhsjp8Xn>M=qk4nhhDA&oSBpaq^ZOQ*al47hRI OR;%j9qHhV70Q>`^|ADvw diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalType.php deleted file mode 100644 index 964117ee81a8cc54197602a001e135c8c4f7384f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1083 zcmbtT!D`z;5UuUf!sbw8LP;-S>jvULD-%jC>$*jj6d~eD!gf+92CN^hk<(A|}-1Y)16)1aAo^LE~wcOTO06ug2qNl1n{nZwx)WoJQ2X)8-U_Vi&;!Vm~$~VghwpPGE^CYmZVUcGHI&ioRTzSk=@?ILQ(mPfe1C8BICMd{K%}M0mAi`KNQzQ&S}x zUBFIB5upbh`;cb^xj!7jjPN2$?f_O5lp^-#Jzdk#=ksdnxzMju70S8C;7O&becm%}1?0@buEXaJ^4% zvnI2KJ{$(d&@nE?&3fxOXqhAD%5m+$bVimjaXfe2Y_tx*zV7>hKeB?6Wjo`^NSCSR z-kY{*t-6+ zerPMBYr@`I8Olf)T~kK?wJDgYQ@D2v>KMvv_+4+8tq6%`gen|_1Q0?BY4$`Be0yBk U;C1P)J1gzM_96R%eZ$`N2a{ySErh(xFTR$~J@@FI^Xg4@oq=a?NEi`Vkr>Wzpt>e76I}6# zr*NJx7DT{^FEg4F;XpVTLw`Jh-e5F&s#_(`MMMxxI8Rd2!LjTVrKvt1pL7Vzm$H*# zL72knOe(B$Ia4wwA`WmHj|(og!HJ-EQBB${RuyU1CjC}+?#j9En5 zN3h^D*n^Dgz4YK(U|?3I*A$MJB7)&G91s}^nkg;<4Miv+s#>r)X&-g%RKrFWuw6(* zXhUNUDv^`B!yyzz<$~Q3tSTxi?8R$Z%5dYjntHCiYga%s_YnNv0jK|MT64c>b+pS) z<+r2#cC6p6FW~W}Gsd|V0nN=n&4*xb>R$!k+30-a4I1~Fd*J@mf9sFm`;D6Z*bUrE z&!05D*PD;P10BGbJ1dWV*rTaG@Fw2n#mLv~KkNO!HPF(jEyZoq*?+RB#TpvaKAe?T zOn8b};&73462fd|*AdUC+?M#R-NV=V&d_zg)%S-s&5q8nQQ}8A&lNA&4!b>#q|Vi<9<6Pu^OnMN8N&Eh6;9V;}M~ zC;OK}m=d0+bSJQ`q@=NTAEJ#7JqW5>uSHnxs&{QH0c@pt*OXo`B}W_FQ9VU0cRTd8RhO@x;EdozJ#XQvqlUZ>`~tr#x3* z0cGgeQ{$6oIre<2-%bqWMKQlS^^}JC5&&~zc;mS@*1ssngU1?Z2|_pi4p|*2d!}TF zZtd%E^SqG7n1&il!%j%31a!-B5@m<5?#UhesvnuU{=0r^N^~^=tX7sqCD7F*x_`C} zGYR(|-4gGT@5g$p97RYBBUI@iB!m!>N{fax`2M^~_-zT!j*^3j$;Ps84b}ks1Ao;> A>i_@% diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatus.php deleted file mode 100644 index cdfca58b0ec94c7057eb135a76a52e2a2b395ee0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmb_b+ltdb7`D6X3bUXg3SJ27SQoYnnzG2=Os&#G8iGB99uy={rpYurkS1YfBCFE3 z@CgKOd;*`rNAVH7ax!Vt!qQ%uoBSl-|NW=$d;K=KPQY_$k%%xXh!1CG0Hp4^;kM}n{jhi;p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CM-@}9*R&vSh-c!+Oyo zLQi_UfGo|)D9mps0HUzO94P|6oczD3UZz zs#emgae6gLZ|zqF>@M*ksH**_fbAu(x&yX)cGopp)}>{%m1pV}*zDOKZRgfjD&phT zXm%~nP^#(+uy^G&t&TC!U3bvZJ;QXa@02xlAE=9mj>TUr$5z(WU9f%U^t@iv7~EKG z!%?2AdthhoYJJdc+vq48!f85=$${N#r`>CLU1hWRw*qQhtI%n%4?bSX}*@RR8aJKwsX+ yqXUr_Qk=-2YOP2`h$kad;vmF<5Ryp44cXx7Q7Mtvh4L0MTd7eQSj0`i6o7w-G+YY+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatus.php deleted file mode 100644 index 7c1ec43d1b672d9c5c778924241e2544c6e1d5e4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1097 zcmbtTO>5gg5UuTgu_@Gu6q-xex`8;*%7l{3x^9tU*@z~Ru$`0^fmlmxMIdX1b`?mA zZ~Y_fu|K6hrPuy|c6VhffyAfkqS5Zmo2Pki-oDQ+GVl_PNJ?_dNeE|GkY5m(<&@Ka zCU92F=Ol*#U1V`Wavj2f18rvt&4D$2Axar7@_-;1Q5q$rgG1ISLm6Ej9(71sELbO_ zNgQ1HI1|X1IPn?BykNTO13-!wgk?A&aOCz+3CAJk*c&NG&j{Hnl+pR&k!MQCE&xG- z8H28ZHde?J1q{9dD4wjCiMCKS6R*9P`EeTa7$@-;@vl8N#|a|>=yvYBNCO_z6v_f8 z4M_U{mY6bkFQZ~MJ-DXm%5jNNc~;6vp5nwC5EkTd#%b<~RD>eJt0Bvi_CZ&5m1yxC zwo8f#-Qw7TJTJ)2<`CwD7kPROu&kgIvDfe76%8W{tFA+#U%N__efPoN2I&5WaN2HJ ztP8F6N_AbRt}E4B-)rFcUGhi)TispvDcCx*C$4#H4J~ufyr*q}M`!j2+xciW zYw~trO$^r^JLlrIu5E+n`pZADPOYgpZD>!xqosY zGK`<~-I21rF3hf%p^Sv>b!Gcs>jY0N#*NKTt5NR8?|Q2&MMxAQRN){bfDlqhvxkb{ YoBhfZuS&078*8I0RbrX91WN$^0k?r=U;qFB diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatus.php deleted file mode 100644 index fa855346226d2166ba0d181805decf6966688857..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1085 zcmbVL&uiN-6kgK(LM<%#(A|ob6`I24P)ZL|*A1spjaloMq(9gQ7{yUsfomB_?&wA@ z`#*NsaevDGl-+jPb&{OAh0x1<@k4s=d!OF-y|?d+^8&ntKFz5hicaC=3aWDo3&9mn zcm^lsY(@o4_(j1oDqINr0~ijDA?^pqFLbHorAR1(Dd%ZMyJRZ6RcNBit(`8-%L~~p zc*c^eSkOyGKgUuLRZ7=(0U#$AR2C$m(2sgYRFNrBWb9kOu{V|T&_t(OJ7a7BcL7K; zA|;G0@X+FpEG+m6p#F+-qFX}KO8?fGj9JbUBN_Xm-?;~8B$HIbEauM2JW-72&=d^v zgmyMzg=uov3$Ev~2X6>QW>k7i;~-a5?BMJT1J9N zr=p0^0>?e5L`m;9hfq*eiu@Mfx`wjEUcX~=8s2nTcRkSBb?QXZcLV%g0&o6XG-s_U zb+yWFt+%W7cCFs+?+viJD2{jC9<#Vh9-SUw3y5#A3D0^DysaF)T7lkh`0I15`1 zXB9X@d>Y`hI0)ltIPiyfG-@@S74Wn=*Ck6%3#^=keLRf4D8k-h>!GQ`hk+mT4sm?s zeT+wVc#2z(dVdCtxk$Sy&8?+xHlSegzJ=Je zWBSot@;&cobIrGAceTacDm0NcyKBw<>n34r*Wu1S*oCMz;&-!Ml_I2z5vp+z(m)7V dq{(ATaC@UR!>h_;w}!gcjW)5$y9U<)`~!1oU|#?L diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryType.php deleted file mode 100644 index ef418895886b327103da28bc20e5391defed97ef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1127 zcmbu8QE$^Q5XWg540!@d1rmFiOqsM!f>aaQi?@N&H7yZc5_Q?oP^HLC-ON&EM~;Iu z(7p)|h)2EyUx1IoD_;QHX|qY&p2$ls@!jvvclY0Ymz`$dB^(e&1eRn9C+AR}5|{}t zdCXHdDP}VwV9d`lni63_*z=+1htTP{;R_X-^FqV~!G!Z9B^^A?JEf_u&s*Ca!iuxJ zlkt?s=aJ+YjU&ROQ1*F7ERzTThR;Zz;h4Zd&^;g$PqD<~fnkpAX+Af#b-cAbb~JMb zfH=i@4gBef$o>;)!1c{2!_*fkL0nSndBl+t_USWR$bPA+M7Ej ztESNzY?mb>bgjlcC`Cc8CWlZESqOFsxTsL3u-9+tybOCft+Mvj0Na(L&btA=ErH$t znOt+NjJDLYt!nO;n!9D@-uhJo&u^NKo?z>H4LrT+u=yCQ9C?Ri!heP+kd@MDefQS8~;qW9{{Cc2iJ?C(L@@Ca zKzHQZJ;!ssLF0aN6+E*?jve{^$n`>JCMZDa)TUXXNmVOuD0)T&Z CuWH!< diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlType.php deleted file mode 100644 index 1b4c193f9f70117ca8da45e271908d377c6f67c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1272 zcmcIj-EPw`6sFx6!UItSB0Y}99;1PTw*&}HZ<*G7v$>1KIeR&&-uRBZ?lsOJck2JF-H=|aCQde35FSG zl0__qvwS|s97b%BkrZa{ zQH&&-4h-JZjYS#i=v`-f+ShnH07NMg0tN}-afQ0Cw%)1|HSPxZvkX4`uXS5%MQ2;d$F78AD|GT7`h+B$1@!%^28_RZPrLH{a#-i7$e%ses&S+ zNEy*KM*Mk^Ff~@a;#FhT!mYpS&7#zCRI%e!eH=$MavalXwqgjr+Njj{q7eC|qHnZ= MNi6ct!8rhb0bh@(YBG~{Ppx7d+mOsFJkr=dk4*3w#8D(|YRl}lQD zgkGXQh2EhT=uvu#?yhV(5d7hf>T9&j%zHEQ-m5q1Z3>>jAz?&dNg_DCgYuTZRB*{d zp1^57n-Kv+K2K>vgax7PLdTuJfjyc$RizovMMw~gIgb<4#!=QTLLDtm&)bCM^Q@in zgoby4Y({q2I0XqPM3C=R;8Q_V=9jsvO4XVTCO@V0}Nbn6n^`-e#(S?~* z)IxYfvw$)xDNg8DwWBVa;Upsp;$iMAXQ3Vk>H=5I*gAnlPn~;|a<$VgT$A_on$?Q^ z5tBqPocM}cC}=9V@Kh>7F_GnQ^h@icV^DQBI)kl(B0>*1cA*qGxepGZATk$h(_mS) zGQ?iIrYjn~C@N7e)!kcVqQ*T2zxTk0|90@kVbR)B3bINqSxQTm(Ngng1-#tttXdMy z&%oNPs__IITsvcLa51_Z4ea`(#sS#BcCH-v#;I5Ik3AS)OD)jvJQe&>$tdabb! zY9n`C-|K&`f~K<0YKm# zwPCOKt9m#zcCwU-tRmErvXf=(^k<#m8^hgmoUvTtxxdwBQHqc%MyTwAkZOdG=`?+8 Z2%a66l6qb!btB8Inl_0=-V!VU_y=G1nj8QC diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.php deleted file mode 100644 index 14d73f9498853d9aefd305be84d0ac5d0d7d6a4c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1275 zcmcIj(P|Sx6g8c$9ETqsP z5jmWd^Es6;5yu6~sq`T9V;IF_82E$nBh#uxDHDodCPbFg9!XWNDs6T0Y@Kz=C&yG3B%v@I zZtqh~QliN;bi~tssurcKK0Mo)29|gefFvhM!J!i{w*0|@-oIdvgg&geeXat_JT}DO zD}d%J%9#-ll{P{XxXKh}oM}dK_QhOm3(iTds3E$FotHeZ%R$=^n~l5cu$pPHtA#KZ z-h$^V4DHd)!KVYRspKS|8ik2ug%)yXpa^AD*H2~tbk{c>tDVN?uv7Qn&YDLI2BUH~p$P7ZrO`6?t0-vwd27FTa`ohH5CcptJ+!;6n F;2-%dvw#2q diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetType.php deleted file mode 100644 index 34d7e7be4faece93fca4be58f478b8e4d2a402e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1085 zcmbtT-EPw`6sDcnkcYG?3<aaQjY~oO$wGxlqc#HxMT*?i%`ByHWIK}v z>ND^TT=FP93Rhh4060#YPFj0KZgS$B^PSJ<`_7wp=~W6|K$|3lV@alPas%ZRfhlK_ zg)D}XY&IhthHReFm~a!q{t!At4_f_!_gs|*bq=~1ZS%i6XeRkd?Nj4YF zlnE;7H3=fZ0*QG|Ht^ zoZ)AuRxzG{Lw972EvIJ%!%;ABJWG9gwfn{+a4@zyqu%@V;jZxzJXodI_PT#7pspOf zWV?-c_t{2bT4=ZOrMJ9x#A2L8CgV{vB8j&1Y6DU#wke zEW$ieMmM$5f2|UHy$ZK>K`%qG4Zo}Pq7)%jj8KV#kOD$TBTaTS!Ph6H3tkrHT03d0 N4RvCXw*U(O{sA`)V{-ri diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifier.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifier.php deleted file mode 100644 index cbc361ec3f05e67b848e944ed1034885239ac5a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1100 zcmb_bO>fgM7^dy`@(xrzqsc3i)=7|RLc6#Wl&)!1p*3N&LqZXin>d-J)CsnO_)stW z6ps89ehN3vT(F%sn>4K_a>?uH@$)=+-{*btD!;89G?V^=I#Ly zrdSB*YYk^3VNP#00^l2f>dA{mN<%0lmg;pt#hfxKsdDjE{d^zBI2A+@-o(ZQ3#D=n z^#zZGq;mvIPK`atGu5m<+*tK>|5WdSF_VNdoCZT8LQZp;abH0ZN{FnwuD^7SdPY^V z(HM40iwNED*oTrA)D5_LPYM`A8sC5s)p9UEIk4d)n zN)}6{z^d|KsXSOF5AE+YuytN~vh5Gx@wS<^9)aE2*u2x)1@~u@*AwsE zq*-e{06U{|@2pvGJp^}W{(R~+8yaC>IOn$OGq0Qd(}+iT|l diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnit.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnit.php deleted file mode 100644 index 72192f0678e5d9a415f72922d83ec17352a9bd5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1122 zcmbtT-EPw`6sFzSzylHWh6~VS%A|D?q?*ufT*}n0SzAp@qtY^Mid4C&n^{Vo$aWAv z>KkywD{zT;5*~#I;2PU$vPn~~=uMAvj=%HyobP*koLnd1CF~MLIF@7vr=Ov`CNSZ# zjDt9W({w&390u_sp%LLWgq;C&2P5co`lA=>s)$n_5Cp?G4kJ>>Gf~e%9eq4JsuPwj zL_Og&AQSRQ5+-QOCfPYiDy`1ziVLq)=aEI9ep@F@*NG^ z03e945YW@`PL6I)V}%XA0;qmTI*n)mg~U?*?NKqIDoJrfzo;iS;T%VTD6G4+^OOZr z@rC-rfCZ#>05eQoyO+djL`|5p^z_u!#QZ*!gfkrZ9U=lw6B%<)l_C@pS^7ud@2B1fH(RSDt{KvHRY0PWq>Pr(@l#?11gD zd*%)ZEpC>P!*3jC@ zlWxD;8(G`!za>yrqF+5_-K*Nq*HAV}@Jd%FtEq%>gjs0EJgkR=8O7%|NvK%onuZzO zkMc&h)%sc9?HVuG$^mv3>PUIPHeUFh7x>04x9np4k{RYtxtd)?NL@y#z(Gg>A!LxI bTZZ79{X!Cl_kx diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PriceExtensionType.php deleted file mode 100644 index 82a5254d12f3dad9db7f52a83e80bd78ce696e62..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1163 zcmbVL%Wl&^6eVftV@iebqU@?6RB9@LqY8Dwl!EebT???I*ew!@6iu9oJCZZD#$!Z5 z{TY`02OCy=2dwx5X2ywIDe4Aqd_6wr+&lN)^Xg4@nSrO!A&hV=$OMkBptvM3gbctjA4(=<*<3s3S^8LH^h;ZcjQVwSfu zP9riRp9Nt#P1#6XWyI210AP4V@(f1=I{nUjBJczYJan|+uszA=p^7dJkA}7qJO&_2 zaGt}y61Eq*p_Bz*0hCWxj1wBcTwozzdo&+WMg_$Q{UYyq0;f31iIiE!P74+ZStL{h zpGBm30834U-OEzhmlL=su&-Jr+cb2UAe`Z3*duwwX(m$Mmr#UaBB}Fe2wYcEy0GW3>AZ~gWKv~4m9uMBK$UkN{8$Aq|9fcW zZb`M|l&xysmYlbx=iT^I13Sy3QKM`8ssVHPm-!HEoqIvw?z*S0-81f)TVVa%d+Yfh zJfmg;u+|y0ywAH*YCZznp6xnk9e;4<`x1TM+>zM^ ze($^+jwH@@{DEr+#+rgI&O_H81jf4g0Bi*I;KJ=nz=k5uzityZ6>)K15<%y04K$=h z=AF2!DV@j5*Vfz9uYK&!`x&PRX0es>xD^wo4YKf4M)SMub*!8It-j*4+u!TEj<${^ z4P%v|illWcZJnPBz)+j(mbKe*RPz_6^ZY6NEdCS`cc@rmC%{nFzUW#OS?Mc>>*S2g2 z3DEuzJnvB8f_UD6!VL-taicu`fnItk1#XNz_QX+lPvnx(=b3MQ{zjhf($n6)2Oft# zeJVvcw*W9~JqVy0N<02$Eqq*lj7guK+rbaa?7%tXS zc0%Mkx;^cn!0;_EbbS?16@)noX_=$Q#>K68*C?AcgBye>2zMB_VdyVVc5?`Q6fS&c znc$G7ieXPaWhD&JH0iEge1aQvVzloC@benD^nZ?yJ4aUY__%p`@H{?vK0f&Mnqa1ZR(Y%AE$MCdx>a+HzNxI_zECDRB2hxvUJHSJ)hP0u;tCsuIg^_kz>v zP;N`wvlFo&%^k9N?kqSn9*XVDveMJW(yrPU#}ZrM*1(CrsPracPhyMQeSq!CirCjC z!@f3}bi48kY>7Jq?ve2lZBu(j5<57X$=wgQB-D{c?V+rW<$=N?jsS>k^52v8L<|}C4@>!_%6pikQgdj*6@7}dkLbV5yZ6| zb`eEIixofQ@EZ_DMawXL%yEw6Ug67NIeVrX9-E;S;)UjNF#;(TA&qatU#_8Xhj+cv6}SBinv Y3$)2RL3-D+Q61am;)!J5Avgr!KMwMJ!2kdN diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevel.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevel.php deleted file mode 100644 index 14988960b369ed411b3b44a5f0834cde064d66f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1076 zcmbtT-D=w~7+sPr1NCAi>|(nqYF20pn?u&-Mp;(!Fr)%lAO4OCRg)~5BB$+??~r-AI_5N1iXO*!id0%gm8Wf)ir^M;ED%4 zhVyi>AOZ$_nb4RB7sCDojwct;>klsubgSg42nd1^=TS`RIF$7a8g$cW)(K0OvaSik zG*GiZPl>p=oyFva#IBtK0K-cn6C4mYn07xCg+r{cKd_X3CzNYw&{d=9dxo+FKoDao z;WVS}t(ixL82kWGKS?@|X#l0dO1}=NoKZ#<#WDS^&)S9y9802!9@j2X7AVRYGz}9L zklHcKI8E(g!u8#>;YOmCpt!y&f5;RO499+-$Ux9UaWU1U2t`EYmu$Y&j$3xBVWSIJ z%OoQ7NMjo+k&=hQArwTVg549Waw;qA-AB5X(FwzR>bdr>mKU12N8qjmTK{2OWj||n zwbyR$x~pAxt?SjF1@LN{J;uOl0$y(WS9t;UF2`S{UT=6l^!m<|${u)rIsP=Bd>uQ5 z3IOGicjb*5PBF*tol=fZoToWHb)Mz8>6E*F3!ti#yq3C4b@%l)S=Qod;ahKgo$AwCuh7DwYPF&hO&>z$V<)xpp&XkWRR36aHsY;M*N|umpAs uvNgCXRyx&LpoSlwr6X8>(sR<{Bx0R90yd0WW< diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ProductCategoryState.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ProductCategoryState.php deleted file mode 100644 index d5a5acb65f7692f5ab3be6dd294c9077ef1d913f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1042 zcmbtS-HH=27_}{^WCcs{LT{E>7q$yJWs$u}t@ zCx#^v@_MecsXWI60LLq;GE68OP5K|G#xd478ac?Q7pqNatBoN=ZZPT4oJYZoqYs;B|F+q=v;(M)h?2SQG0>jV~< zw)ZF#=5D%hE73^M!dz7}=9)^5(`ZN)ku1|fPE0F83DxB#+dr+7j$^fGYzbS1M1<~W z>_RPbdYc?VNp&vy4ZymDa>8D{Wg8j2I4)Vwjeo7O(efUHUp3JA591n##jt0*_Da`1 z=0CuGu2D9^0D+gN8z z?Mr#bZT+KK8})iWtA`_(U(cl0D@t3L{CY0GzqbvMOZcsbyNnkh|5I%iqX?N{gi0KQ g3=l#NX>s2Pe0^NH`?3hlO+xm@%QY5#Yp@33AJBbP&Hw-a diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ProductChannel.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ProductChannel.php deleted file mode 100644 index f1f6727d0e544deae6c919993bba55b3080bfd42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1000 zcmbVK-HOvd7_}{~I15_h{qk8CwhNlF=-y1XN`JDYSd)Ug3L03Z$uu2EXTr=xQ0dEf zsc+(=2)=`pNt@ke>5aL`$8f%L&dfPyZ?a{Ep23)MDv72s%)f$OQplvxA`&Ug^TmQn zh{P&mDU~k3C;&gW0BV3CETz?8j;|7So55)6grpx(G!nQ3_@y=dh$i-w~KE z%jYSJKxv}Q?~ti0#+ha$W#7#8daxj=qK4uwc9HW)Gr^%)2zW%>$53(>*uzYi=jg%K zoDtW;yiPdbno3U6a70xkS*C@Y87RgH)z!NeC+*{|RV~=q0@|fTjPH2tftESFDGng1 z&LzJlSXWfm*o)U}W1}C(mFl^PtX%;M-6Qm?fnNPjR?b1W<(gdGDq+_o?AnA|pOJGr zkRq&>haTNNbsnSrOaJ}M8&1wA-l%!c*+&m9{kMMb(Qnoqg!Te|I`O?`-Fb-aPlI89 z+H4H|)=B$Q`Gg4?oYOzrA!*WT|(y)o|h zf7TDiww$i1q+5=~WXkE@Y2boO&6A2nVWnJXU=!#JLh}#CRr!o8FUFF0xJ^21ss;4EQFYF%dR|!!h*7Q|Ju6=~I1G@>B!_!HDxHCT$$bc3x)H<;iKAuyiBanlMZQ zwFuUjF%mDxmmp3hy`<{OHq8KFctd1@0|MPi|C}fsVuk0f;hpzFxh=Em!^!E~$#^>e z1TmHpPICT1PVem5!8ZW)m!!*>22d)j^zV?$1!YuG9MiA*)m^y4u_T)9Hg=V=KvB+M zc45o{(mIAYXNEmYxSmoM?sRG$itC}xJ*J3YIGzuQ35kE?f+V6 zHF5@9TW=R3uyqJ*6N2XV3V2d#ROV;%Gk9DIupWYgnSU{H2Hu(H4C{BS18{HVzxT%< z{d&c+z=I3VcSp`*@UG|k&Zu6s9)bJkv(eNmj%xkC70}da-s&rp+HaJ~Fb+>Dp9b5< zMm)wWvbl)b5n)N@|84^kD$5q4Vjh5gU-RP7^Fnm+@~ao6A)fPZhPXU_lt diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ProductCondition.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ProductCondition.php deleted file mode 100644 index 1d25d0241d96e941eb86586fda4cc26005ba6636..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1025 zcmbVK-D(p-7&T3`GQBVay)B=y&=hn-k@jL@l>BUB5I3PoEXYEc>`t}|o0(;1R#3^y zcyToY)eXR+?)Lv&Uen4Ip@v0^d?0wU_coaM9~oDUqRhaNCj6s;0esL z#exb5_%e+XDja~`2)xl0+}?2dT(3%=iGX5=IFAzAAfasJqnW;(oi`}Uma?Gqj~sUjg!#2;8Tza7f;Xr@nR=e}#$ng|66krKu^Yj;D6 zz9Z0In$43q0I7)5zvEb5$4rZoB>twa*n$N~B-JGMv5Sla#vPc25esPj6mm|3Jx;lP zk``?2X?ex<3;9E)s9+@VdsGG@P8Anp4aGR3s(4#-Qa^24Rl^o9pq^XA_@2iWD3Q^- z;sAoGOt4#mRY7Hqy?Pt3ZM4I%Q0?p3>IKl~o}gc4bn$_2<8d=+E8jB&w( hu_nUUGR+@ZgRf7DRA1(0xoyVIT3KL@TcH&~{{Rf(O>6)F diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndex.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndex.php deleted file mode 100644 index 9d3c71767f4b257da6cd1bc59aa4a84066d4dc2c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1120 zcmb_b%Wl&^6eR(*Fj-(_i&TbCsi_1GrF1hPpu8Gc2qzLPAY>_;j3@3$&WtrP=Bcdt z2bL`P6h4JdV8zThaVu5H3U7R5-FwdUz2`iCnO$VyAskUoCDt^CvoBCzP?$-f1raHn z$9VR2pmZ+GonBGtF?yzM5a}z&TD8HGJ1==Q$^u z2@Y+;m=oGOgaxOq-Oq$sRR^voHIryzHWvk4Q^|1}4X7fLWm?FIDMcuuy4<<_(mZTC zRm;Zauvv_V(6t#mP|KWN6^Bq#olAa6uq>(EV2@w0)fnA4E>%y>Ih$pn)ja^;Z-M@Q zxMO{_OSLy|GIDKl-ite@4Jqi*+Cb+1T)Z@ljp&?1up-=*O9x*&2n zxe^qYlp-pBs*R!*A=8Xd$%Bv~LdY@AcHDr+2c2Zpl;vN$$ql!g%`WdTZhSMxj zNt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m nijWybDAz&A2qEN@=KIdz>2aR-i>yYso!MD9N6dIDuma#8Ckavt diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifier.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifier.php deleted file mode 100644 index 9170e35322b41b90cbac605dd2aa96b6105338a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1113 zcmb_bU5nE|6m`3(IQwAf4_K~sv0c!VMfPR7RoZR0RB0QqRggfLCe!RdIum9le$og3 zijV#je~NGZ17{{_c3~-fF)z72->p!jN(*iKY=OzkINC=ys^ zs}+?Hign5oDm{Sy6eiOd4Em$l6Vs|hCPRuL79vh)i$toGm$v$JcHW{qTdS5KTno(v zU(hd_a%HQCsZeBGFV-SrD`wc8EJB>DsY*#mVd(e9RFjBk5)7R}(2Z14+Uot;c`&dF zZG^&vCO0WC9nTO2@Aok@N}uqmmWu@|pcVWS&GrRtSgZnFeh-3I!5h~E6a zt=5inF3;q`D-+_Ggm^9?_0Qkh{@`+SH5&A*_i9Jz;e7IT zGW{^A9@HM8`*VLWn^r5m9~D$L`7TWD^4AL*`$gTV{ezE}#lOZPAw2ekj9W3~sSU#R zI#Q-~9ZTB{onF(YS2ZB1k{J ze$y1`{JLyP!0W6^vNRMwRU$1x%HlWzL08!jN~3F0=20w2&utAv6^)}R8ub+Lh>pvJ z2-3ytHzNkXrwGNfs4R)QOu&}-&H^6&iirH>^Q&1Bld_5``FEU@VUi|Q63vodWZ!3G z63t2>;okL~%+nZ3ClKJIu{e1}YE1Aw&NDfuGqNmH7E)z$Y$GeJM3F|bQAd<piY zxYE@yrlML695g4dPE}SwOD5!`F3~XFsqu_d#a!G?PDmlDd6C`%+^nEfVPAclEXttc z@hWRq?($^i2zg(kKXwrP-%HevY6x9!UtisUF7H5BchLB23mvUr6|A)J+ZKAd-bFh^ zyXV|@S=;Jbtb^avcF}`#-sjGc;|*;eJ>+Z{UNY+WcvE|VaND#v^I5o5<9nKh4lbz8 zcmS5LLoe}t4WVsD{eXFR3sMZ6z+_%++y+IL-YOnI8k@EpPX+G)V2if**+jJZo zKLi((+O{)fjANu>wAZr1r|VgeaThf0%NFy(fx|(w2O(|Kv;1H{eY~$7Ak=ccw|Gxw zIe=y?-eE4258h@||!apAj zmWs!ayDQ7B?N5~5^&qzjcps+h(E;sHjz0h^vpS*7*tG%=e|SehJ0`^+sdyP}FXsC( zG&6JtjMpQ5s_mfrrej<96L58@C$~|XKGhzhLq7<)B`0aqTKSo_hj!Z3tFeic2q8$YxcAIdbFMd?(} zifMBy(j3TRNuYUBuH(~F^)>yzd9O$5pPNTL#gV#XM!gn6k{qckj{JM+Fj6dfhej2T x)j<~D;&d+K!%}^uC`TyU%y;&$CouF-SW>`@=}hq-wnD!=s)9w;tK!( diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderField.php deleted file mode 100644 index 9aa94e3193d9f3a26b63d77617340750c0a6061c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1322 zcmbtT%Wl&^6s0MBFnvwULt;TSgi1{%a8#jgTnadT$!g-UY^OXF$#U#TYRR!J+d%@< zpJB0U3DEE}Dy|4hv!qD; zBtpaKXhbsPCzCXcNX8>1V`N|lDYEW7rKNc?&3q!DagvN9()NP9U4<`h3X(m#=Ac6y}n0%>}*6*uhtT=r5fPqtHir;T80880KymhehZ`;TQVV=V;_bIiYN~ zv7>41GvSC8;MgavV^nc6>|vVFDV?LaPO76w=+FjwT#zjGqJd0uKMT_$$xI3rgfS`V zakEV8_^j;8*uoKNRT2f^md0~bWK(jpIYJpJrdhloxUQ*6VJ}{XGZ|tK)Lm7&$yN^+Z(p6oN z;T>)ZZ1jx_1HUui3ikj&)51OM=-6-_(b5zLHn@jiU)F62_YKGGVVPB0aFtP+iX|yD zi&YigWz{`wC?8z0S7KRqjpM-Xf>Xk>0@t}mfWwxoShkBV6>Elv8{B=cx4_y|fCD$V zeXz4gDuxX2aob=MOOj|)nGkTh0I0elcHO?!wc!@iTfO&iNAD_CdYgk_+p$FHLN_#) zf;)_+D;io~)D*bO2X3T>(vM-Ptmh?WJ?DbmZkZn=2os*=EN{Ldi5-F9p6ls&D;yWub*%mYS^uR=8_$4ZuHOMxBWO diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnits.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnits.php deleted file mode 100644 index 51628218b85ecb23dfca0e2491e2d34d6c0d8b1b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1042 zcmbu7(QeZ)6ozRlKzI^V6&G+bnKEge1gR#p8<&FGHLIenO|`Zlp-7dRxS2(2N4A3) zs4v4MPl9+9Zg~N0r_CmC-j>>Ya1?bB8e8d+q=kEs3>R94EQW0 zjU$+An%;wy>$_>gjYVxiaeY;R#}p9^Cqa+MP|#FyG19FF#Y7dCY`!#(T6U{ZqYK!` zEh2QsV;d@wk=x556hvi$-3Y7-DQoQYJG!>fiK1fbna;0KG@8AK;8z8-{v){Bem?Bz zteqltN2l)C)a#$Yvu){^{OUe3D}zs$0PUDJM-LL^~|*cTwK5r~Xl{^gErO<^8_p*U{8Ed1)%muVeZBy=e$6;kOXCjOUR5DcAE+ ng!C{%g$_bm2qCL9e_##1IV{qBl|yqw$WFX$W8Sv{D**lhf*e>M diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucket.php b/metadata/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucket.php deleted file mode 100644 index a93510e03841f4080ed94a531b6d4fbeb02ca704..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1054 zcmbVK(QeZ)6s0W!$rGaV0p2E4Caseo)r9tdOF_w+MHSE#wsjJURJn|P^@Y6TCO-Gv<9p7_*ZE}*p1^=GBCsL}oLxb6NnkFx;xW(Q zteDSG$X=+a1g>#cn1B!@a(Z}mAnu!K``Y!%}5s~vRjs>`f_;GC9GJ;?&kt$ zR9#JF%mtawiue;zj-3Jk!wVvF91|Ffy>~?61S=c`mN0S?xhhRHIXsGdL)Zf#&ajm5 zeMx+3cs)xCz5%G8yqIM)hEidrUwc$eDWi&N8DI51`*4mkNi@wSc3!YpQO=-g2w6-z z2e9Nc*u9+Vz4YN);MlB6uPGWbMFhiHG$1k-G*?`VH58$gsA|FHPv@X#ry4dohn-R) zLK_F)v91fu%su1j&U|CUFVb5OCl?*pYs;MX1yG{i(bN9jT26*w`rnPp^-H`h(`J)(*IPK6*0>FGkH;>jAju z`ESFEsXOsMxPjlSoAdQY!<@TbIPt6V+uq+AXzSFj#BI~*J=)Y_4IS4$9G~Yd~c4ek1TU@nz)y r)Z1k%Lb@5DiU%Q0gpg&L-LV3n?^kX=Ekksjn5}WMz!J9vO91`>R6196 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRange.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRange.php deleted file mode 100644 index 1dc20a5f5142874c79e05164437b848ed5cbcac4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1577 zcmbVM%Wl&^6s2iPVG7iBX_wIuDm9hBA+22zmxA0TjUq&1l@=rv$(lG5*OF^n_819J zzkt7B$*1rK<+WnP3jTmQeGlYI>du_m>p9b zMga@#z{7)NG@=oTO-C zQ9n6}YY`>(u@!p6w}?Zni1-dwgbG4FIiYb#Y>M0F?hDGukTBA33&OrJjK?LfUe&dJ zixX}mWP2oz@c}0`f!A>80cS-Y5Qblv3_RDyF(VBAR^8ZgeV4h!bKk>f?%)yeVhSw9 z-cjP)%nf|Z7xa9aR@ZUL$$MAB0JdcZpZhcUPQfnqJ3gb4PrQDU#&+a}EQm~K)pdum zY=1dYUEda}oXs8KYHCr}3m$hcixPTS9OH)Y{M81Gu3?0a>l;-ly8+8i|+{l~V&^Y*Y(k#H>>*fRjfDH*1K=3tR0KwO- zyf5HPecjGm*c4jdCM|HdA>GLn0|;sh1rXGvyc%?-YKwU_RWN*?R09||VO;v94!4x(-CTE|><_g~83W?B+j61LYz;u8bbhnD(8bQ-uBjGaS$N diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetwork.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetwork.php deleted file mode 100644 index 9da01aa0ec3f8be3e8797ba275bed57eadc2a29f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1071 zcmbVL(TdYR6t%4=%syC(`{2tmTUWLVnzG2UFttj%$%djPq1&z~fiO*{X)v7$lZm2I z{0!fH^i%v4LHq@0CT(`<+86VZJHxr>-nr-8XD`xu3LZk6P{OewQ#knq#hk#DGr>ZZ zz)3!v5e`GPNaKWX147et<*F@kc7TC8no!^^gt58Lk$0xp}=sEy|3C=P& zRJ5LCbqZ4O1wi?w`6P)$mp21ep zB0@KM>_WkFa=kc&oQRy$D}rT7r5k(lJYKcYn@-EB=Tf&;2~>3t!S5P4{ZGLfdqtul z^)*VR4XL!Dm2Q5kfcu-WDAAf-Uh1m;3T-gg@8SBD!K~t7x5vEpYw`mP))6gFU36yC%NdsvTW+sA4 z?|cPcz)LTD5Ff=GU%{D4n=V~?V{US0&N<&XbH4AqdXvsm@C7rl(DC2B4*Nn>-HQuCNUz{iaDV%j@&k39t~5TP)CF!6cAnvSKd_5>#C|m z3w>D4TSVwij}6FaMs62}kP@EJcmuF3pj2ZoUWcnTnzLC^wIg_|7J;(v8ThsjUj8Rx z`bnN>2!4%%X+tn=D5fjFO5kXl7D-y=dkJXU4*elG9NR<3ytX=)+1Bpqhv323zOnls zY^@{@mObg1!c*3dfF=&Z(ZFo>CarPLF$db7{sbIvZtcDZxUn3k*?MPc`}#3>v~g}6 z_jLdchHv|W(NH^R{Vjot(D&*wyWZ7$yxqGZ-zj~(UJWEjgbo8Ep+PMmu~PSX71EIH z+KjrI+K=*Hx7qwzKItmm8$#_yZc0n&-cY*#y$*2IX53m0wHx_z{3%!RRD?t_LIn;& g0tg|6G(AuaUY-@oc%BPxqpqFORDpTi5-b7u2c5KC?f?J) diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderField.php deleted file mode 100644 index 922f6c63e433698b0fac8b345235512fec177ef3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1387 zcmbu9&2G~`5XWgkTe|()x*#MDWhqEaC2&-sUR(-t;!U(lVq3ODDT-t{_9nID+LrAg z0qT_};0d_Fqwpxa0XKHn`KVOoL@pjrW`F|N75Wq+c!+33;23%tS`v;}#f2Km(F z*87vw0p{d00Q|_yb7V0EECkF2zs2$3D?sd*PKHtFBObyYFT&gnZBi@j)|(cI6%v`8|O zg(}LJ7W0a8Pwn_jsB&63LbWnQMY)sXIV!RVy)BMVMvF-nF90`llt}E=+i;qO8U%CI z7Hej09>{f%!1p!K`2Q|S2PH#h{g>xAL1s5W7B}JWXB8YQ?-lRq;kPPyvOGlE1)F`{ zHgS`*2-e^|X%npX^^R^_=x{~a0ia84hv;pWXs{wdur+(v)gFdbX&Y=biF4_S*ZUl& zVY_J&(;~hmoGz#%|y0!VPH; zY@3#0VvF&eOA|wII|1R@lpcfqrlC9dgVR^LZU9_)|G7k17f~ mtSEDiqA-x62-0v(B>4JhJ}EED0bESm(oq$GW!w$80pK5+VX4~y diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatus.php deleted file mode 100644 index c97c64f457b84115a3126f6a569ff7e1feabd43f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1113 zcmb_b-HOvd6t*p_Fni(B2Ux~h*)C|xB6~BnO1kZaqNc%a6(z7tlWBG!oe47&L8TYI zikCi$kKzk>sq@ojD@*B(xyhNyIp6o?obNn;S=$0bKAoL+2`iVfD~N_z z5|&~`IlGqSTqc4R?x3(LrDr(-V0cMnffE9QXz+$8tV?hlSoqja? zDVVT?bWWkeG`a19>z?)DMs8%bMzq9oho5DKD7!EOOo6_geB^aWkZ@YA$nz0`B>zFkrWkN4@c^NwmCFV_E@@f@?v<09*3gjs`c zwxghO*Ru3%W4_lLf$#sQ9|zX@o;JMaLKA80d)E3tHwm#_j;-ym>*4m}SH0y*5z@s7 jRX7M~AcQQ^{J;u)c2b$)iSyX4p?12_Cc3;8SOM@CeJyow diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/RecommendationType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/RecommendationType.php deleted file mode 100644 index cc379857ee032479eef31c7911d3e1e34c0e4202..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2480 zcmbVO-EP}96kgJ;-PkQ**f#0mG zEDz|0zQdkjmwS}G$#%Dk-S1GA6gy6C<|~;z=R4my=OcN3_^J1hF zo~G|2+Dp1=x7qE`lfl_pl+b4Pyw~nTNrh5NQdfqQTOwQn*M4`9G$Vtyy4_YM+G?Ek zw}zkk>*wdMwxW1&-rq_hfH;rh(?;6v#wvZ^iz-_!PyI365Ma@-h{CToIO(*Tw4Xx2CS7g!RXc8{?MA2l z3#9pmo;5oC2w)~{&jxW*lcd@~#?5GbgAOsZ?P{+JWqCsjf}XAvRH-iFG)m$|r*1|4 zX43AZ-NXY^!)QfmSzo=fzOkJ})oATAx;~_67!w@d&@>rDqroXnqI8hN7XTkhsEpXN zAKN(%c6wSy-G$bzmxem-8v1JnegA)ZMiz&j73guL>~;mZUCFw={M+YfezG&VbIbqU zMr3k}%%a;hH}JSAb_KWaN8~oTRde@UdFbLPatF`a^8shRxu-nlhb}l4d!OpP3)HGG_shM{$bEDdq7Nf7OZhTnA%w(; z%p;PMR}KpSI6U?^p3&=$Jm9M4)&gLWCp)XT?@FJWEC_{btIO5E+A+`Bm#m~Prz!Y6 z@E}hCuz40xB|<2Af3c0(hNz~WK3sfl$ zG)_>1ive;24RSbx%!P9ethuk4Y08=#;&rl(z8mwo#xlpsRC36C7vzXH$R4svXGef$ zL#}*o*Q(6FLbXGpI`_-s{hBPJMeEpQjxd#QbQ9rD;$x!xhTKK?vdZwLE- z80fVZ`o12q%Z|p&oqwj#G7JIvgK^#4v9mDwI%IFGH}%%cpPg2>(}-J@ZqnLnMR7Jp z6hlX^-M?-I+0Ndk-=}ZbjQugaXlDaP1;&cX@Kb-mfKkZ?j6Vy5dNzWL%plniGMqyG vo?afh8U{EUMu}q>0Av^$(#g$?;LEl00p1+G>lcsswG%*QIJEnKJ|OfTxO30f diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperation.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperation.php deleted file mode 100644 index 61aa44bee012bef409de49df8c995d787d63e629..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1069 zcmbtT&1%~~7_9A*!sbxpOAjsKs~d;|txPDntm_p2D8`gn!nIRq4MCRH@`Ai8c2|X_ z_+@(Rqx2p60)2pPfRJxenh@at3_X~5GjNCF*-Jetc_u=FA?7?zNIQsRJBJ2+Jv(m`mThEPkeqlE zt^*d68=jhllrzV!LWl($BGVuwF!K9XLMimVbdaK{K3#%ZJL~A|dt}+%HlVAos7LwK} z?U=4kq0i!oC~upn6si3|lz6&JpyVjL4yoZ9@;I_=o4MvbnZm0QI4 zfyXW=k&*k$0R&N*V0QxBLdqI@b3u1DdQnttz0@hT3ZmJ2f_~S~#s9_EILhZ89lBG* z@96j)8-Mc_Juk_~1ljz8o|QaqJVl4|$w%KEj4#LTu>PoVh@Q+RA12NW+#UR>0Udw*T43Jg>C-5>f7$;<^NM{=A#(v lVT=nMjI|KPR%v-)4Zb}oB7dDX>8>`VowLN8w?$io{sDJAUj6_8 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ResourceLimitType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ResourceLimitType.php deleted file mode 100644 index b51af9070e7ecff559366bdcc9481d4665e47c5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6807 zcmbVR*>~Jl8AmA;xB+sjG<)L6OJci?#|ceHJ8n`mBY7-5BMC`k$7K#;Y|HK(CNsm# zxR91`IF!TEvhVv+_OkEr$|Fzw9ev_Y;QOw0HQJp+ULw!^earp!d+*cF44xa1S*hmr zykUFn?MmDCr15i}G#K{B{hfYS+CJFZ^M=w+|L&mE^@b%$QVdBq97$C)XBtRH{e$6- zSC;ns{r#@D+}<56`=9vr{Iwg)Uhm-UXnE-QK)2hu+Zns#djqe;gb>ne-}Od=_Kqjj z%u2%>w|Cp)cB{ttwdCDV@QGg=*KV{_cRM@M zXxtvde{-FY+v#=2op!hL0_^gZwAb#AJm8YX?j7`Y#+`moLIR_=<1H*oK2OBX4fj*T3T=H4SVfwOYufK!_HvbADRFym-oGKXkPqfVR3~?MQ)uvX~9>qTu$kD zOBxRkyr^(V8hYb{VQ<3Ve#nX`wsgA_s3Gs}hEi9-a|9%XCmRoJwj?qvpdPKZP&Q)Yvb#nj@iI>QR(y8<*Mo@OQv5>h%4k~nrzExI?W2mT9b7h^C*+}qfv{&E#A@8-^c+T3XsmU0 zYtyilM3$cy=ZF+yLW3qy7sT`AbWJr}N46$A;1N89l_KP!nQjI0dOg8HLKdcF+|e4E zqp6A2Y0PJCQM+oG0U%v*W-!b$kh-C#%N?DKZ7*hmz$doq&^Zk8a03Y=L~xfdxh8)H zdk8ALyJ}djvt_ETqOQu#x-ES=o>=Jt~H=j%9RH z(-mXWt!RqdFcfS>mak11f>+Qfu&yB7b}ZRZYoXbBQ(D6GhuqexZqtTtg~H>zqRYsq zZqzia)Onz*Sf6IBW*szy7N_I_zb#-)#w)GNW0Gri1A`$_N%)?i&?l68mw17kNiXxj zyotIy>K(_Gb;UKDHP|BO!Kvtz*aNi&7QocnQ^+8ULBF%4KxK>`OSMfyx3MbOs%%x) z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kec4Vr?-cd^MdQ$Q~@eAHjO6(ow-yG0lFD;R$7WUTSKeoJnWX2~g smw~uk4*8VJz^GhioVFik3O+F(J~UkM-!CSQ6}c}R4Cv$Tllz4H5AbuLIsgCw diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ResponseContentType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ResponseContentType.php deleted file mode 100644 index fade9adc82ec559b6950c337eda58a65112f2a42..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1042 zcmbVKO>5gg5Um~PVSA`?OWRYJx`8;*%7l{3I&P6|#Teob9J|mW5Nm0zEXccJcU4G> z|4fhlDfuZq_7`-uvXwyMOMUU6ee>qcym$UNy-v|P7*I|n(KLeP4d`nMsT5j-B7tSL zT2Tq1Sf?zZ(gEmCU_6gmUyCbSeL^SaSmeF@3wJr1N%juc#<&15F!h|RVvn_M4 zAf6ju^b>*krP(rJAt+6>`8#4NV4P`2686Jv+JO~G6g4~#v8#-Snh6eh!-R*lc>)Dz zjy+0+xl9Lk3a9z8%%S|DSxs`1_rWU5a{(I-sI*r=IF&EPxa^M*pzskF@g@Hg_4>8!!tja2vEi=pROSSfc;{ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageType.php deleted file mode 100644 index f09c4aa074a4480b7dd52cad864f8220ae38d116..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1115 zcmb_b(TdYR6t&$&Wp-gpd=%EPE^HSxWs!ZES|x3|rKm~Sb`_-%rs-`ukWRwPL|CN{ zeuIDDqo3lZ_z6BanY7u3rTb)Fa+#bt=j7gVU%g2eDSC$cz(G(2Gd#V*Y5_PEiAusG z#?x#*2Z6(6nX(v!jj`)v&mZHSI~YIJS7nlk5D1QvB#NO)XR=w8dG+P=tO-0@%BBP= z!bJc)VjKbiGK-ZAQW`;^u2Qg#AVQojL8deW+#hz{gQ7F4=%jDBC(cZ+%e?wfGZH3#uFE0C|IfzG1O2(B2Z=1 z^OMF&%c$mTY>pd+MM7?QY-1%dxG9dY0F?=TO|UAdjIkH5+1iFPo0Y2PdY+9EnCl*+ z@4LwTAA__G3l>|4z%Jup>p0jZ4)q@u^yH3l<#Vm4=j3RtdZS^lJ2)To+}b^B z4?Vc_-g^E=uU4`4(L=`_1-|$0Q>|*%(7u1scf3KjIN7ltp@aOp1)T^%y;eznwk8t^0~WiK$OIkM|L8jW(3@%e6t@ZliSv%WxDjUy3==@U)96D$-k{r zZx>}=>HOO!|GzhYiP?}FD`Iw}Sdu^0dU2HyeVLGwhY(Ffh+&%EHwIrGm$7(Wr0qId OTXSiE1#X2_2>kKpA4M-qJMoGXE^hUnh>7V!AZuOpZ03KX=AH2aQ zuUfJmg1z=|;B>2H9lD>L&bV5!0ND5651o-)y>C4Nz;m79G(X$Zc;pL* NCNzn8-U_S$_y^WiTh9Oh diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatus.php deleted file mode 100644 index 799dc85cef53af77ab861f175d94faca390fdf2c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1103 zcmbtT(TdYR6t(THuCt;gZ$4PYy0Bf)lx5kMsa4V@TZ)<%+NwyQOp|FkkWRwPL{RBR z_zOPzDSnDyAU-)WX|oGUp3F;bCg+}e=H7E(zE0OEcm@ZA5soDZ;qnWVYXVcA$RtQ& zxXe~7!eNkXQW_I(L+Fm6Kbk_%9ZsLBRFPynAP7cD62+vAL($Gd9eqB(Y!jAkL|YKd zgY`lZzFA1jBO)n_7D8f~3ENZyfZ+`hDGmr6jC=2h#37b=J}|^{CltF-NAJ%s=bk3+ z01(7j2skkXriy>Mr=J*h@C`uqq}ej20n`=M>x7C0WmHle)355)+ms%!HhQ-M#3yK53nG zOjXTBSFn{!MCg{rE|feYH;Y5aiOe{=CfF8KM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Ads/GoogleAds/V15/Enums/ServedAssetFieldType.php deleted file mode 100644 index a74a1a98d9547c4e3e31dbd3f1510cedcbf8d299..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1593 zcmbtU-A>#_6fOh;3;`w+N+2X;LL-Gptyd(hUMp~zVVs!^PS`KjlZ`)|jj&%fYExRD z4&O9*Iyx^KB`-elJ`2l|S8NdTq|d6)IoDJp0MhWBmw6a*+;*B>UWNUz3VUsZ*(3dO zY)b3h;hP?nm`4Cai2%f&!X^^>L?ZhF82k#bc=FL%5=XeK!b-fJ$0du?xQfFh{zZK3 zF&>0T$pz5$+`%Y~syIurEU?pvAH2jhrp$ewXJR?Wcrv0R_a%1KGt-I}X_)j3UPeWn zS6ShRR9zqPYPx0VIe2-bx=OTofDh^sb^Y3m$G9p+{Bm=Q3to+i^b5en6iN;D-S_c$ z4ASpUyPgOF52lH-?+ftv5_tQ6m_vJYwIxMcE;opEANwB$zN zru2QV1Lg-!%HEjOSaDptYpd3eWgB9QxAH^=JK}Dz6Wi^=y_sdI z@t-#Todf$q&c?U(wu{@`x#?o6-`tt|xi!A^!z>BYp_UcH#*n8<%O>iV$K`Eec%*)f z-{7kmm2d;_-AW>crWke6I1_nvcn&w2eeTV&`N3@E3PXd1)pE9eDhad5R9(C?+>q@no%Wk8Bq+05J^f~Bv!4WwAGi>vliv~Qnl2ANE%NS z)l;R3&XwmV5aMJ>RYoETgK_VYY7!Go!hu5zyRllAwz@ez3w?{$Mkq>&QZR9-6RIZ; z6MaWuo-CiGECS18UPnw#8E2Z2lzlTd?7*C)iW-djz4M$$nh6eeV8kQZJb?n!_8w)z zY@`Dlbz{3Ev!HOuHI9a&NJqErOlqP*>g5G zKBLE5o>;>gL$ts3xxSC~u7k?%)J=x-OUX3fC&es=6L`rz#37NDK%3T&Wxy_i`72~$M<&SD@ z(Cz-L9u8beJ(EqZC~aj@>baEu-ZX?R$9ID4l3YajPqk5uVr+&nE^#n6Ko~ou*+VDr X<#B1`^CBO&Vc3}@*I4we&SO6e`#I)OOQ%7iwTb=@M{iZO8{6Uz<_2D6sd@`5ah-Blqi z{)K)->8YR6Pboe21G-w-N=)#jx@Z{QyqTT%=KaTb9)kneAt7N{5D!jopqLXFvq(g4 z6u@aRn-K=xXc5zZFdf3S4K3S&X1nXWlBGOKm`f1!qsR|P4ST$ng=zHpm_I5EkNK+$P**G!_x-ODIA<5&2rvO!c^~x~6P&2CLbK z2;G~p0R>CQ-R2N7A`%wf5-f8nHQ1XEbTx+Id3o0}saQ1!rhSjV-x7HDKT>J?S(Pqj z)pLP$DX^{tuKXx~y$wN9tt#IN;K@c-dkS`k)}U{;x@TRpU4EeLg2zMa+_JB%azT3z z_AIkwINgysIX6FD*_Z7>xv0GW&+>G?XSB=<({cvol6C-I8m*Q+w46!L9GSgI4$G?_ zY5?psFAYmFJ!<|bfQmHp>IvIk)6_PGR$})H*R9nK{3yVouSd+U`6N_UUYkCqeA^Aw z)uO%^OC7`bS={d^lk3vjdKRXUG`X%!{%Z{wt24NB2kH>AOZZ)^WTgnnVuW%Ygd`C{ difOu|27G&zJK=R^uv<56wW0!MxFuKu@DJs1SMvY> diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum.php deleted file mode 100644 index 59f6e45513d1a289abca79adec452ac981d71b2f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1353 zcmcIkL2lDP6s0LG(sV(T15`t()K*YO6?B11K#uLC5se+$4xlR1Xkt%XOU{ht86yGe z6*vS-#4%WL6i&dB@z`|>RTo|0)pzv%doTb0=a;Xu^9($OBSJ}z1&QF|BNXQZW;qiq zWGP$}%O%NS$W~dBl3at(a-rh}(6+|GBiYJXk%vTwF=KH`dN|^}sw}Gyhetg^ixuzj zbCzWZjS-F_B-x`P6dVbLLcGdw5>u2DDY7Co!XjZ5m2H}`0RY7-!ZREaIGPS7L|}=* z^N~`V8xgO|vU+=XG`CB|V*tVwa}NDl*@&WPts5}2R`vc8EgQjS0OgYvi!=!#7t&1# zcM^^gnur9a$tO9bK3w9I6RB|%yDVr}{sUMxxHKet`>^6Hu{#-)Q|-e`_tKJJa>(;B z6(pxPom+&5d6Eg1PbE~>V$}$HjJk zuYpaEV9sdgA=sKZ{?s1h$2yo@>p_z;CxYeemMWZD{PEp)D<}cMib5Vfl@c{oXvCS+}Ix{mv6G-!)E88w1GjY*aT{|DZPpUs|9m<5kb{wy_SL-*Kku zdZ%k=X1%VMrI^MV%i~^5s7mkU*C0#yZ6AkYwbQSy^^swGYi*BIt~Hrvtt!h(=2}y^ z{&@+QtK?sczRG?T{$H(b)vD{VS=SpLU6(|i6 G0Qdtv!N36k diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethod.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethod.php deleted file mode 100644 index 9051e984f938526c788590dd9d7b8aa367ea2ea7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1103 zcmb_bO^e$w5N(pug7(mmb6K?M!e*g$Sjt|MO^fr1>Bb37(n2vTiYzAr$1;*!XiLuh zA3gS`^r!URQ!ka|#2Z+WQ+=8dGw(gmyt#Rsu2S#<4rxLKRy2f*FHo&0Oa)h*@E9(# zD53%qzD`+8g#%%44E^y8_Iuv!Ot(s&2|^KEa=wgd6Nj>yhbH=bb={;%ww6uF)>(`d z~Nbs7<6cY-Elg@}L9Abrop@k0IP;NsLeYm;~`UbiM0Ew}b za9U7|_82sZCIH_6)L)t{Vn(1;nw-FMChu6n6vHw5s{g$WBOFVr0Uy>zSwf6@Xd1=| zp^ZzJW18CYl|D5%Orau2X6pscW0Z`f9b8-@kzK<~3r6dK+O@TUU0|6!4}(;URn z9&idbINA-4bwmAo2^?LQS!|tv=f_rBdj?MC{&dpsdIPWDt3IlofTwf+oj?BQS4(-~ z4aVF3ok+`$=0~|Qblsoj)7;?;RaT`_H;ME=L+;bo2p11GQs}#I|9TJlab25dKYsjw%OtXY1 zK@!19KAVvY2FX075y=b)Ef2ch0NR!_crH>|l4k)yFies#A`LucjUtrM=abV0iSs#Y zFgnj8%xMyj`E^PRRRDk(&k0L$Kw!sjbqU8)%<-tBxJKrbEkYSxoScqq$<+iPh%jTY zUvdrvCHM-U_|kk5(Eu_oiUshHvN4S*r#PZt#CT_Lh9gD<#eM87j|15tlnGuOkoqw! zI3@NlO~g9R;IcViZb)or}(Ru~+Ztq78F8Evudj$?7Fg);$8>Ho=?!(MmrkvJ9cC zQ7UW*g$<=}?RN#}tBOdqYCkJrclEcv2X=;T-?!V&xno<}1APZ<58aQh_sP{N^3nF& zz7O_%yVtf| znNyH%>(9W`1kBqLPvAS8$oQcROA)!^%+@@!rf*LZt+YwuP83)~I30pK6+ CL}2;= diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderField.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderField.php deleted file mode 100644 index 6f78cd8d9c976bad8e4730dfbb603842e09ccc62..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1154 zcmbtTU2oGc6s6tRCJ#Y~K;i)=QzosGAk{#7$rw{V(kfb)R%<&ZRHVC@(NfIg>18 z37lrL8Rjr#^OPi*I}o;dFz5}T*YbxiRjOba53vhl#^MCmP$X)3sG~1?`!!6nxu^*u zaYE?lNt&P#U$7*?d@>_Ai5yc40E*^Vr0OT^^cyEwq6kSe?iku}JravhM`wHcV^7l_ z01zff2sl{K_ixzSnjCxwP(5ijO-KlZL{h!BiI@;dBtZ%JrtW+QXDAU^k=@14G8#(4 zDAWl(8sh3M%sDl7J7sD{hw!@1z8;$z+1RHNbBdC23yYAGR5IRIP}hyIEQYO5s=EiK zs%9fISj}5>-8(%VLdi3HyEud#%Z$?-g3E%+H1_5LS+r4)qM~YB?Xg+_b=@8Cdlel0 z=K}4moWN0gcM1hKN&${hK;^0go-bRIUS{QI2|QZ{upfcVQ84IxO~37XE$g1W3D!r! zanSo1SS5P{tPZ{Np;fj4SnK+MH`%jRiukRyYCi;^?FaSlWOUjcSoiIx;Bo$a(rfr# zFF#(hE%0D?T5lfvK}R21>-H016^WCJlF5J0eJ8d>;?TK9SWPk5_pWpl5n|JAD3SPiIVMJg>A~?N)>XN`zaK%HO zz-cy{5dlL!PiaDg17U9fgTV-TJ%99Er%IlQkRTXy9w(%UBiYPD6I~x3H3`e+vMH}7 zIGQk`zHnhfa!r_;sGF2Hwio~m&xuTNNML{1`A8Iwu)^cM6IG=IlCKqhI^!`!8ZW)muAz1hEOW3^ly*K31w7KoY1fO$!$2pi6olpK6aL| zP*KjHNf@w@G!9_SX|Q`K*DY$pmB^v#n(o-xXNm}hlW~v8P|#FyG1O3mVxo#(o0G;t z%T_gPbOsx_M1<~XY(ph7a<@2yf~ZWeTY^PFWre+ZOP4a-C@QKR>oGP8psBkLepkTz z|D9iLH)nA4+?~P!j&^`!9Z>&X0?*b@$xO071y9%C)}Davv*2{-b^T-C>s24rw!x#b z;6pID2&$$0);)Lq6Ss5XRm$C&LA6qQ47SdF@1nZZ`C9^Y?c}ArO-egE z>xJ0q4ojcA%ZJ81!7O&Th?_BC*2F98r&Mm*gqH2bk8-8&xrvFK&=fX@GJ2yf8_rLIS!aheX<-8Q0zFz_rwoX`pUi=rKhE!)e$jG7>aXT#R%oLJ3i2+s#Sq zzeaBk= z&pIKr%kf}4?0OXY@weJ6N)gh<2$eVpX&{6w((IWP_~y7Y#H+$*8&hp{q)jaHmS73M EKR@YjX#fBK diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValue.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValue.php deleted file mode 100644 index 0f14954157fdd1afce2e643c78875db1f18d0d33..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1152 zcmb_b-D=w~6kdMT4)tO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8j5y5+-^H9&CYLgJKWvs?DMlAyte}iGz>=LP#Uco@s&~j!OOC6}Gzf&`tyD L#3FA6Rsj41V8~%b diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserType.php deleted file mode 100644 index 7b40951a35504e79d92cffe84c25704442478da6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1067 zcmbtSL2uJA7^N)&$rGZK1DqyPCaseo)imwmuAp?ys)&+SYqv=#QsgFX8a1^e+W`&K z6aR!GKZSq6l_S3Z$7$0^Yft2oPxkxX_x!zg_CA><;5FIs?W!#O+wR!Xo|Uq z1CJ8RS)t97`IP#&8SgPMaB)o`5GQx56RlT(hr#Kcw@!ZEwQ|ilz zQJ6Ihs81S4Fz3v$2MJTVX~VU`VYV){D%YlxaEfEMON7s(L^3{9P=rDvizR0#jiZ*H znz2Pw*vKU!bWdX&N}iIt!y)8ErkrjFmIaj-_V!)0l3@lxG4(?E*C>G5+(YoY0?z)& zxY~Z+Z78#i!gfR1ZfM)<-%H@d7JD-P>ND_s%T?_u*t>E@L+jkWu&r+OL2VB_zH&Y| zgBzz>%5TkU)9#y{zEv&Po`ENhb>rF2Xl(ZT)@8MlVJ@xB!Nbnq5~!;LuN3YQ+j+S~ zj&^of`gFc}XvktrLxb_K84{|~yUu$OiCyt;>23TdS9+%Tv%KHaxi(aqjl9e%m1{%i z`qvuZ>g3;vzRrFg{y*h<-inZFMyTLHND(2VnI@04z>~wm_BVN&HqqIcI}OZnORxms EA3$GR8UO$Q diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/Slot.php b/metadata/Google/Ads/GoogleAds/V15/Enums/Slot.php deleted file mode 100644 index 7a1eab27891f59ad922a96d806e350bc7fafb699..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1042 zcma)4-HOvd7`5&G&WeU0;?*+Ng>6Ao7TKGrRr-_d7TF}US(PPFrs*^rNHZZb5mfpx zdg+A^;%j)fPvOiY%`PqlbCYjozH`2xbKbm5t`qPA4oOT>%*hX7%~GEr7*HBSq=o0Km4`C=d~(_%akgYF7Ex{} zRsdqWBrL%`fkUTvK{%dcj=iBG@VawWgfjYYa_X6qpbdZ@VaDJ@5P@$1iZ97#QRqX) zF&Dq1kWIrlsj$3AH^Va_RYj}j^-@4$6Sj$DRV zgg1&gNn;#&1H$|?OgK#)k%~}2c)3D((`dF;Rmm1EU?Xo4p?f`cAWt)Lw>X3;;aM8r z60Axp)!3`IVbMl+J};}D33VD}qO5xiZfcK980XoTayplQ$wNUVIjwsjJ+O)hV%P5r3WhTZPZ z>fum1+7LcA@=!*?(S~yL?{$KwJb%aZ%JsSJZ>seiijV*!RPrDsh!9dtvmMpo>*G@Y Um$|KOJ+#q)DlyMnffWFM0k+jdlK=n! diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReason.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReason.php deleted file mode 100644 index 2e83fa9d074677a1e70bfd10d54cd75c60d47517..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1183 zcmb_b(QeZ)6s6q&$rECf2i_*H8(JqpstN5SW1zInqKGbumKG#bDRNUcvy|GA?H~c# z&mf-o3EtsP_y;6xC(9;H+Y^21m2-T~z1Qcwep{RuUYuDp<)=Y{QJPEXRGc5dEsu)u)5QKBnbL^u-Es znWSh{Ad=C9GMV6gkvNawTvbJ6s@o*P>P`!4NkE{3nbCZGxRfOA?i|B?+*@V zuBJZ%AkC2wFxE1|S|wo8tu@Y!1o#S|`W59oCn*#XN%gl&L_#Q$1m)z5+Q2bfqFi7_ zc@w)VX(|b$P+tgXihKL8;?&sPf~k!i!^>tPy+pOZnNKC=6y>uK7AYr%WIR$(+s?3T zR~qDK^(b5|HOAk zoA){!;NdiQ7la>z%~t0Lc;pO+;WU^eejHET&9*)o_~Wr3c=gd*=Q-FOOk+QA<2Z@V z!V`b&CgX7EO#CoN&fL@Ry<%SPJOfXi@i=itaWe8_CsI)T;r`&Snnp#Xp7ge%2RnC< zVtf;|J`U^MWh_TDvl!3%8Kx#Cml-RFxGi!=X2IXuYo6o$Xm5EYK$eP)Rh7C@0kTYh zeq91)CSunzW`%K}UA1j>*|r-V+g3!jZJ6c{OoOlX8dJTfyn1EKTU~8{748CD G0Pqh_u7phh diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatus.php deleted file mode 100644 index 4086a2f48cd2d28c88b3d1da8b4e685a6fe0ce03..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1092 zcmbVLO>fgc5G4ssVOxpF9N<(fp;A)`995{74FToDwJci4B2AG{q-f)8+?AZQwYx?F zlp8+;apb4)Q#f+w!0tM6D>b>`i$|U}Z^rZ9yndTrr{Fns2_qa!GK164P+k+5@%sDmoFiq5E+HgH#pqHfH%Yw=b_VNu~jnSFSimqo$y+#4leUHH33PAran{|-a z+Dd4x^^hhRs+ zRJhyyQv!8m?bZ0({-pbK!>C5|p!Bh~+Cr4Xm_>HNqh>^yG4}cpQYyCHMa!(}N4es5 zIzP(?uCctWjBe+lj+EtXWBFfez}Otct*bC+k>ADday>6aNEIVg@F1j!5Hd{Dsu}Rr WQQ?RexzTQ1wbhaanB$gU3BW%G{$6+h diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/SpendingLimitType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/SpendingLimitType.php deleted file mode 100644 index ad5eff773300496d91ae2c0589f63dd2056e1a5d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1011 zcmbV~-)a*<6vj;oDpSE2(93d+g{GhziWJJkSd!)si@FIkRgr}-*_~_$HZ#l2tWYH{ zC~fuiwdZuqO>bWHdak8W;BN2tsr1ybp5))0rk<$yiv09h5`gn304y;}qp(rIv!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9@7x%l`-lj6O znT2Vj>}_g$|G7XPTeV^W>=p`Nihm0zS@N9|I4d65rN`xZ8 zvwS{>42NQovIH^*S4=IZw%IY$5aM(JGNmEl!Kixyibhn?U|@^`HwL5rD6A9YwzILATP%*)A z(J@_MEVPHI&}-`8P0mrVIlZ;O;|elPlb{DO%vh>KHquf;Vo>G2i+`HOZ8NoS zV{_cJ5ed1Mv4d5X!}f5DGf;WPZw*$Zl?nFx9b3n6qo|yEu20!4g~i+>^lKlv|9!(+ z-C8*M_)dv|qcLy{293|?`JF>uf#wN6-EtsXajlSN?d^Kl9GLey{qVc7PsT z`5*k@N58sPdx{>rz3H`k>A4ec=#Q(F?w>u>(D<(7>`K4fz)R r-<5`KB}6w9Qu+|0jR-MLvxg?&o1^mFuPjBk$n50J2(4~~RtWtCV=QF* diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoal.php b/metadata/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoal.php deleted file mode 100644 index 85f87a7b43c57e413b108da2507a45245691450f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1163 zcmb_b-EPw`7^U6#^FUM;*OMtl>m*1uO}lX^s6Sa0U`e%fLqe4zH+8c}sckt95}@Ak zBwTQT#EbAKyad=zmkmu-Z^+db>+?Cs-*?W-*ZhKmr_dpk2rS7APCr3;K_C}QvWTT{ zn$PD%z=$n)k`iG-IP{_CkD)zu$4}JNjO8LC2*!-XDQV+b)-Fn2eLOg76Phoww!|VP zGK@G58JA%~LqQbig3uY338P`maB3M^04QFNjN^zvXVgC-6006OaSX$xH_KL~uFemR zCbnki01%}(%i!2B4LJ6>bm{3oERG@pUjS4e&!=e;!AvUp2sV>UX-Z^*)8w-nLl@3* znh^zhvv;1;NK1zLf=?sT+J^BkaYiWF@0Fo0Y7`YPGGh zQSXyu0H}hXI?O}2kxM z;?*%j{8rs^dc7ajUB@KFQu(loQdcS|mPyL5%Z7=`(zP&|G!=3BU2POs5mJ{CDsd1} fKnNM6=^Z2RaIf^v^TLu>{#$Ea(^&K^!4iPKC?kID diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnit.php b/metadata/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnit.php deleted file mode 100644 index 55119f61702d351cb3e5172b9e308420b64d9fd0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1047 zcmbu7&1%~~5P)k3QrH|~eCeSjOr1a+Xk|jlWgR#8M>Zy{ZK&PQA~0)dr7Xz1>h7wL z7Qal7eUKjdD1CsQyIR>wAm~(GG)S}G%+7q5SIKRHj$uSOl|<73R(GIpDI`*8;fokn zX&6!ozE~$LrqTfzOkpyegF6_{Uz(#zq|&DtA|axfwn(5_d6-3C&o5e(r)$;HL`GCE zLrK4+l>2u}&DM08a;6F04SZqP=sN=QB<(?$MjHm;CyJ`_epX+o~Cj zh0x4f#Q0H<9ndnR4~qjxs#D4D0hXS+32HZCBN&3=wLDVFmwCk;n*G2p41P})5YX^GQFA9 zDs_bRZ(R5K-KSc$_qT!?#?)>7vQ~O8N-Ej)%_^V!+p9z(COmS4j9L-pR@0r^2~%aN zx9xp@RQE>R?$7Gc$O`NjZJj*KA|tS41^&HD@T}qw9Ji9^mj9_X@}n4=!x$GFj1355 dOIq#Q2H%_(yM2`_bMHr~TsAS!+n^0X{{XjfTloM0 diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocation.php b/metadata/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocation.php deleted file mode 100644 index b8e522329ea213aff7e0ae58ceb4cc4438d66292..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1137 zcmb_b(QeZ)6s6q+lJ`JW?SU62uS{AeL8=Mu#igKhO-sc{BHA*6Dn)MMrk2t;vK=Hq zkX>yO^2x@JjKbhM?}bJCK>ltD?(}?<=*v| z=2_dYYBV~B%|aqVw={O3(n z;QW`ntREFHmNJ4>TEbG6u#6=dKP%w)&KuL0+xP|^-`P}u2o5Ih$agM>{h`yV-K!sf z2NU;=>s`CGO8pSjZ1=_MiRk z-wJ3b_peW|>oDEMog$4H{L076^-5xv;54=vk6STGjrBLF$*9;BqPE%FkLupQwtrQR z1|}4iih@;?x>BLAOelVD8m1;TTe&g8DU$Q2+9*a5Qo{(9I0z{qgbdQ`z7hERv~?+X66n3f+ zb$w~Z9%Olm?>C1q$E?ih9l&i3B?o);j?Bj}qNwhA%BkzriK6d5__hk({4ZzfZdIvq zjAFOktjhsk@7I!fSt;>Ob`NS+CRTa3;1+;? DeX(P! diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/TimeType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/TimeType.php deleted file mode 100644 index 5e56b09f3a1ed744112f1022431fc93d95cd01ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 963 zcmb7C(Q4Z;6kQTnhq|$l4=8t8p($(*W%Na9I+Df-Vay3#+QBds#a3K_BN<5^bR$2p zPuSx=Wj`|5S4@&)w@~shzxYU;d+yae=j?rUo1xb*p`1#hX$;Fd(6nl4_MQYCU3Q4EO?NlLpUR^0+x^!4PlOL@LlUCq|?M&D)B zbJ7TLvZg8{5rxTo_>pQ76HUU2QwayL+Cq!2PfkPMs`Ln7hh(q?zDg3uZi`ont68E%z`JW(9pH$C}%% zn2m%}uBqfC4M$W(l4V-RxuIg5P+jfP-gJ(8uB%mJE9ev>V*F^vK4_WKhs^;b)w$&N z0-H+84fgh&ZO0hIan*HfZ0b}*+xH0lXdv(Z{AnE&e9ySJEw#w_={Y~!0eW7VV6ADN zqi5y0^%Cu01)t{r#dJLNN6ja#eYAHKd-Kg$yY#R9%VuNvr-s@l zWZPc5+74foO`H|;+Lw#%oQX&YPdp)$ZbG@sSee6&sa>(`xySshHztF@ulhleKF?&% zE1*RteV$9-?~)L@d_D-MOK1_%zx8%eim@rixYEJc2x07$mQUS)?~W>;-W2xVd%ZI# Lj#%(EXoJu{4V^Yn diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormat.php b/metadata/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormat.php deleted file mode 100644 index 280812b6a4cf5c4c854726cb10bd9f48bb8140bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1048 zcmbu7Pm9w)7{+ZYuFM`RJ$P_od94fE1x;CGFH^hH{}yc6sfl9%LtpZA%0ey?69*9m$CBg&~Hng+1^3i_HtB83*dh+&zA zA(h~ZRl;H_9f1A}rn5N=`s4XiGpa-?eTpFxB8q8~1ge>rS@q@oqDgtWQcW$1|C#Y< z;fsJS5)#oxDCCN0$F4$%lND77@hObl?u2R*5KX+1RrNZ7+LT%K;rzlIWU4KM{Fo>O z^No7Xh`UC6XrlbBLJ})#r0({HDfcxK9I}BK z_i5t{a?PywBoXF<+ORe0W_M=p%Nuh|B`2}hr^=Ts(L%bW72}BN;-<4NjkA{BnyIl6 z8o5P`?|5v3mMOix96(Z?N`51-E~Kon7nf{fqZ0(h)}aZpQ8Z?IPtmUmy8OTNYRCD! zV={M&^c|DFW7Drk=*jMgvKZ@Q^mzB*+9Py$HGS_6dgI}E(68RB9ioG)>D%e-n(fcALYuZ)A?CG9$ADP1Fn;oS!ED*EW*FH4W5Pk7UdT6obx~BdOnJ=8OFHK h!Pp34Y?YP|tihM3MZC{*YHkqO%a?7;`_^cU&_BvvSU~^) diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/TrackingCodeType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/TrackingCodeType.php deleted file mode 100644 index ae9984a196888c7a8fe93aec3812b29fdce15c24..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1063 zcmbVK-EPw`7^N*gk_TESa66eYX`KYArfEWQDJX5Ts9H%PEn^a@RJnxEJPPl@4L7_3j?-pSr`?d7e74SazT@wlH}BGm6uf{AVMJg_A~?H*@`AuraLGfS zz*#<@69GfMNNGZZ3E|L#t`|UiI0~Mt){N&OBnZZw#|i1+DC?AEQGGr*>JXMMvW^ru z{6twi4S7VS@-ii+o&f;E3zDTcB+&8u?}@|_mU!Z5x``EKtFov*92`yTg02fdnBXjf z!HRaESOY~0z5%GdG@m6jgqg%r{dQ?KrHo376Z%!Xu?Ock$%rDkiJj*xl$0}AGM7B}tvuAW-3(K&3F z5)rzgu?MBd$@Sq73Lp(cr{rG#`UUx|{~ybYP9g#@(g?9xB}FD6q?$d;PyP&{6?j zsl82j|JkNG?XF+@I9Rd%6qZH)281$z7)i*8BtW9w5W`IoO?TUEChWFN+Z8dJG~IS~X;Rvz?UJbB zWxVtS^cj2rAHsX@otf@m0$jN_duHZ4-#Ig1&-eCydX<8gNFy=Hyn+O%`xzBi1f^M0 zBz_X1?x5Er8S<0sG>k|lBBU5dHyorY*m*%y^JI|uL_+-}=|`mM1$ng$S#)!JQYG== zIbo2l+5$(TC%c zj>4l(O){~Mxl@L!Yk&rr{cazd%@ zVta$wFTx~7EWwCf|0(1jTY!K$L#4%TG{8@h`Xp#q)Sa;M8-+QSAT!G=A7Z!(h6j_nwh${u^G_IC#CQD+#6{*eB)o%_}017ps7st-S( zeiC_cUre%owNGO13nME@!~7vw{J0(7{i zOqmLImC{!JRQAeLNutS;H0F^cN+d~~sXNabd~-0KrdQ>VPA2lfapu4hcMEO-_y>LI Btn>f? diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSource.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSource.php deleted file mode 100644 index 2ba8fc032c9e36933849fbd2ac6d05565772ade0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1049 zcmbtS-HH=27_}`ZWG^hm3%yxlUDz(@ltuO?-74+&$3dJ9{aH~4N;;F74NQ|E$p|Wa z883YlZ+s7LeF2k9JG-#$m2)#6$@$KA@||<}HoM8d3pgf>2&_m1S6`vJAutnM@sOu* zmB%p=Fy!lurbIXp4kpl>%;9k0&Y$a6$#W4B1QX7al(caq+eK-rFXtC+!t%9j=aPse zjR;dTrn)TJ96JX9hSx-9I3#fF_dgJYBdl;Rwv<6HlH1Z$*XI|(&`@>&2vaO2Txe>y zWS&_);5&f&%kou9Lnswi`gcO*k}|3&PU$!O)-H^3Dv2h#kBxH{D#{r&4HFiU))_1~ z4fZ7CdN*CTljxgu=~V?TQ$#SF1_L5PK{LgLub~JfM3qZ6C#|!Nood)<3|oangzjnV zLM3u?cQ}NCs9dmHf=x+fg}r)1w=#NBR8Adf|5_!`%smCaYoPNV#x;(MW=DJNl&(A4 zb;r8i6yWJTcZ`3{Yw%>>UE?u0T6i;mc;$}V;h_GYaReSMy!YPZqgSt(+mSn+&6j>} zI{#F!nuGZ}cRJV})cSubpsC}!)pJN%|JlCb)hajd*wNv2iqcd%#*U5guN@$;LBEr98}%aVf2z%*6(QY>P|1Uk gCPK(EtsYu|uTM*pUl!T94a&ikSzv+NfDHiu03|C~JOBUy diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyType.php deleted file mode 100644 index da7c39f234d1d86181dd7fe8ad012b2661fe30a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1145 zcmbtT!EVz)6eMXWur0!}kf;PyOQ_UT0!J04uD3Y~tHm)VdYwfNP z1@%`raNxjCaOYF_0j{jqsavVaiCpqz&6_v--puQ_*;xjj!yZWq!-7oU_#BEe0y9Ph z4QT?$`E*Jc4CyS36T%D#J1%rwA6gyTeKAhr&6G?Ux zJI&Kj#59FPgPVq=xeZIs0=t<}xukt~Dbp+VCU-VcT2h>hI)sNT&IDzigd!9XQEj{U z(%jxtQwz3u3Y(=wgl=fuhl1tg`fvyt5jjh*2reorCG6!JwQ(uKoJ^{zU3ti61uW)n zfgj7@-Tz)t-zXUjd3mGqfFV6#C=WD#)xeWQcPg&g_*Mh!ivaoqusU=Go^@b%ZL6c* z(pSNqp>ycCr;b+B*T7w~+qE6r|De_N`{17K1V`raq2+5!`eX3u$ZgwwD=$4Ax(3!xtYhCkF#AEza<$v~I(X<`+@h~b*vJ*(*9cm4H<>`>lQt< z{dCbIls&xK$AkH%BAVbdGAN5$5lK}JF4L36d{LP8)H=V{mwKl8v%b+&2{B|YjIt~$ znGi!IhI@4P52dF8)_=2gHF JcL6Q{_y?i2b^QPU diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatus.php deleted file mode 100644 index 027e9e55be303453cfc222929bc2b33900197fff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1044 zcmbtS(P|Sx6g3H`Oa)8uL0`%>7Mg-?DAJcnqimWq1nVY{MnM+BWOuS1+{`R9vw})~ z#z+4|KgCynz?s=(TWIp+zU-add(Sy@&pCUWU1#V83@E3PXd1)(E9h$qnG{+?B87Rr zSWpR(SY|Ax(gWy?AQ)Xizc;*kZbp^JWkfL~LL@0|kyy2g(pFziPFs}cOV!F1m9vy7 zJtI*>m6|C{bgn!{gb*i7sxlH$7>v8`sU|VeBpf)*(2v!+wAF``)39$b+XzJ|Q3|F8 z`_e%B4te5$(RT#q$?|#1BCurUb;#6=ai$qb**A094lGEjr~$g$yU2N@nc!dtMm(a; zV<<3f?_nm)ayqb)IJWyTy9$R~Q^`ph_Na;^%e0VV(~5CIb-88xrFqRU7XqnU7mSwH!1sSv4+bv4o{6njl(sSf_FRB}ZyG`u@mm>pAum$?r`jk+F*d^(mpB+3 fAdDT-{Js!$i z%XsNS_y9hN*FJzVv&pv5%h%a;hMvNZ3aW^q3CzEOxu%dQX=E%p z%=5*9Dv0GWW1Ol0pg)FidfiOxe_-5t5V7j_WTuFkI_kzvg?Jluu&$uz9;C{9%}!WceSIU zJg|lbrS*ZeKJeDpKch!m4RRjVJLuuo%i05UFbyv!gWl+3H0U4Rs~w>G)9_6={umxs zY6$I5!|A2HsCNHWP~Gym?!9Y_?&Ga}yls=pr{4MzspLeYfmCTTrNYCx;W=Y^7v3%Z z(jV2mVW;!6dNlOd1{T(!2wh~c4Lr8LHwlpk`xe-ph0s3}GFIRK diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceType.php deleted file mode 100644 index 01c21d68ebf4f0d77f01e635d279e6bd05f5d5ef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1129 zcmb_b-D(p-6gFv5m|hriAyjA>W1%VNh9bS0G)jIpaj_<0yQwIFWwJX-2R6IQ%&br) zm%f0H;Emv;_$WSsm(EYJ4V1leZ}u?ro$s7E=ld?+q&F#e4u>Qr3=0y%`7IPT1g0zz zNsvTvo-G!H!5~?sG$PD`us?>Qu?OwG<2{q9Jjqx<5L_n7G9pbJ@}>z@^!e<(N#bn9 zn;9p}k0=*@z*c^U1@=v*FK$y}>3RUfctv=M0|JMW?t3Dz0?vk-de#Z~CREY&+4;;? z)GYvl2y+gnvc#pV&||B8gs2E?~p7h|s+r+fcBK>=uWR5s|U@j$oZr>Be5Zrkgf8VVGAP$YnNi zpsITUzVCzHf7oKRW=Je404tY*C8c0#Db#CeHw*$w$^8881^*&b0)gy4|y>;BaIq-X~Qm)^fx^`z;*{ePU zPj;`b$DZx_1LxAN?05f`KwT<-^NOMeb!&yaYAH-gpEh%qL=ldcR>GFeC5g4@w{A%( zFEUR{&+SKfZ`kSlD%Xr1ENKGEgesDDu(Tb1ZviuHm>tJx%NWo6Dc4OZLNXbloChIE fgpg*MKhzDrI>~kN!pQGVYlTA9K!aO@H30tr1BG)J diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperator.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperator.php deleted file mode 100644 index 1ea8a2125d45f76e209f9cdfa543ad7fe28ec660..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1121 zcmb_b-HOvd7`5FWaTc`XT9(tCSZSkd z)VwF?`!4GLpIusqIgSlZuuD(a;0fD!qW+_Twr))Cw$9PhZCkaTpo8h?YV2GL`$MN! zdte=)httv9k^6B}t5^u_JMX8R%d1+|dW;Yl*Ds!T^tZ0lcPCD5*LsBZI{j;BQrqkP zt)M#Cy->VKeD`RZDzp4?<FboFOl}HI%Z%w~b!X7&{Hh)f zOa^RlzMYr4f(+Ou1Hab|o=M4_n3$a8LHSdy=SK;F!-SMLga8mB25Gi$1im~eo$)+3 R+^xGdTGKS diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperator.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperator.php deleted file mode 100644 index b7d96fb9cb719440a69c69a7c25d24ef721bc2d1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1084 zcmb_bO>5gg5Up)UU~{PPxrB`yhy$%mD7kFv7CZjHw2@32w@?ITEv=M=^{%?RD*eEJ zrpNx2{)(Ra7kcULN>&2FK2-;45Hs(+nR)Z_b#|M9r*J|zkyw)$F26#3OJF927Lj0Z znI{R6FcPbbG9o<)hXM418#o$HZ;ni<61j{Bf~gQGBV8P;ZV}q(^VxZq@O-7Zxgv7G zsM3pskuP+~$U^4kB{EAaq~{m`;CMw;h9d$ev%wY7IK~=>69*plV^xMWdVh8vjx6{E z01?AV!MP!MYdFRw#kFAwN&@g5K=WkzlF?LP>Nk`5nNzf^x#1zoMm#ejHbGyxu4=2vwo^iETgf=q%_ME?eZ4yFv0ryV8-9T{!f9ma` o6d_ZLP=$k#0Yb@6MDP=Qa%MK!7E1DDUUFH^J?G55=e~ZMU1#7q91%_=)+C0DZ%|(om`R~UBp6)e zNkSxy#4@9dNDsn60R7++4hQ4QXQow&Tt)=JREU(3HjY)hC~fui^sG&IzEtg85jkg6 z={XZAjWCjV~@7JHNlGpjD#IGx(@nbCz~u8HKBg#)4@Ni*}*sevMt5?v16ercU_ zoT_D`32YS>5xVEG3$@J2U2zB{(YfTe1gnzD8GHGLu5I+rE#0sw@1@^;+W**z*H_Sl{dat$?P<^V-)oi~U`3a{HZDzMQY0nF@w^ z>Is>)Q^H-AH&>8Rwe2W6ZWcePwNbD4vwApkDfdjay`r?0NxA1z{%ZpW-5uOH1a}F= tDg3E6i&lh8GeRW~LWT$-$Fz9p48A%pm;a*3)NO#arq2Nj+zPA!_y^<1XjA|I diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatus.php deleted file mode 100644 index d41d69d959f933773867d57f35f6eedd147f316a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1063 zcmbu7PjAyO7{+Of2J#M6J#k=@DU;SokZMA^xD@E0tg6_ONL@ifkt#QFQ%k8G*$xt* zei@E@6wZ7Kz5rKjr_Cl!Igv|VC6Ax?@%#SXyvx=ZcmXGb5rGwn;qog~YXURD6_0od zm-%W%1dRA5qbU&%gkv9i{ta};)0^k|sN}hb2!aXcNlLmnmffN>)tB>&E@Ambc5_L@ zBBfF-He|CTLau4HkP53@I<^@A3~z|ca75rF7+w>FW2|sEvA*FTmb=naAI~pB*ZB4T zh*B&ioNNCpZGT<5ไxoOre3{Y+nuhvyLgj)oswhtBH+|_oT;Ws_ZFXO~%2}i+ zXV4t*SwuQ#u<$h6lZ@*j_2E8dVCJT07EYNWg5fkA6B!AbDJ}vnMJOSvoVNMWIqTW3 z#*MCEr-+Eqy^MXRL{9EDhfole3wCR;Ev;;@S8wSq#vqQ%u9td|olW#@@@UwnAu{=APVy7rgrFnKN&%gG9&=P+KdCPnO{hxZfIEs)y kj8N%=kTycdIxP=uz}Khcre78S-O^HtniUqhE!YC^521ZvivR!s diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperator.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperator.php deleted file mode 100644 index 78b5965378bfdbe6148124d96214f229b9b10023..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1195 zcmb_bO>5gg5Urgwp__gPK?}W@trLg?txPDnZ0Z&zRvgn*cKy*nF^ILiRu*Kf*j*Lc zl0Va95B(vz_fPac6gpZtN+2Ys>Y`a`=DnHO_ujlq&r-CBJ1k+6YBs~uuUMZkoJyfZ zC}KR#=5r=-C>AM?nRGC2_psj^VXxgCy?|0BG8r<0BO#)gHR((>i!hJA?Cv#Lk}Xs- zQ%nXiS2}>>6k?ghEZ~|g0+Ht2LOO;Np@c4&N@>V&r+@H)X*#2tPC5pE;?C4E%%e}c zdlN6m-$y8nsZw|hJSRZo80#$LVU%QoEEtYkfc zYi*Q?Iqx>QSVhPG>ptyTf#iT5oKhJMD8n(zsQ<2@`rWsd-*Ej`1=a3Ov!9@iu|Mp4 zhux#D*S7B28)$v(zxR8mzE!a;^sqDV+>tj3M#rviRqf~K>Gdx`ZxDDN$L@)>Vk5L> z!lAWlKSl@yU;G+c_w7gM!HG8<7AR}>Gh~;?D~R=jzc3frW;ye1;~#9^J(Q79zw-HT zxy4AtG>IG`qh`bs;A0PI>t*5ILIl&JOVE{#!DBM2@~VC zYj!h!D-8FiS}#fofnq{R96|ty5Q8*bGY!7pF7@@YknNR5Zxy&nEb`9LIYR#cvVn%% diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatus.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatus.php deleted file mode 100644 index f2ef4ef1ad4d29b2a86cd85e9eb19ccae21c628b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1101 zcmb_bL2uJA7^N*5;DMNOMH;3|S|>rOY1+l5pmt45#7F~eK|+x#H*qsdX&l)O5}=;> z9~}89{1ncdIAJ?&R%vQadqe0A$I$7y<0tBJ%348HabyMs`k}58zoTd9)mwMaPc4J zXdM+}w8S^MD5#Czin zKY9lh>jAj;-g!51Mq~A@YTXBS`>yAXUaO~?1;Adv<6f%zcK2@u)K#`uF1H!(?#h-K zwqNYSoVa2nf;$IY0eCfMtZ$f(%1AT86GAJy8R)A?CFEFy2KpxZ^MD;0U$ME=(r z5SXRd*b1{2#a{fb){CPEsly1BJP0WwgbdSc&lo&AE|c)A2-tO+wnota3)~Vc0r&@* Cvu#lT diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListRuleType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListRuleType.php deleted file mode 100644 index 935086833c9d292a099cc6ac1c11a423298b2781..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1025 zcmbVK-HH=27_}`ZWI;>O+a=b8?Sf8OWI@uc(r$k!>deq~6=YyYXVPh4nhZ%sSfwxH zr4Qi)_$c1^3MQF$cIna^=Vrcy^PTVHJLmFUw#vW@I3|n;tVj$OH&Cqz%mi0F;wfC@ z%Ow#o;_Hm2L^u!*Jm`9JI2=so&vmQhxrhjY3Fk>l+BlZ&qBPal^NTiN`C7JfNko`Z zsX~#bBvdyUaqJKP7+w>Z;fTPo-~UJyjLK$K!B;kD-d zplPR?b*@RlcL4R5<%^U?P%5nS?}W;bGO8#}={NnzE?nYN5>0X+yUbanC}+?#cq}5V zGgxpM>`BJ;Qo3*_&o_J0I|?RD5y5a842X;b%@h~Dh9Z;@Rc_bZw9Yzqs$ru`*eWC< zbWdX!Dv^`B!yyzz<$~Q3Y)UFC?A2SkmC=jia_UGM*D8T#?kV_H18@G1c(iKieN`ZSyN%uC^~pc#2u#aFMhV!fY;g zDbA=o6zYzB?vHA1-0S_U9*=Ee9i3CBC{3jk>)6Ep-T?xe={upesV-vur`jx95z@^F jl{^S(B7`i{;-MAz`n2@)Wf7IzTpSFQ1s1ps*Z}Ykm$Ofy diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListSizeRange.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListSizeRange.php deleted file mode 100644 index 8de6e3fa642a7986f2c63c63bcf751d3e705bf9f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1586 zcmbVMO>fgc5T$8LVG1-|i5?21+ccsn0!O9l0hfZ(#z`zvJ4&2Zph%YEY*I_EZP^YI zp#BSf0Y`ocKLrViGbeV}@kdE}!Iw;C-@JLAS-;nBy>kz?aDzC+H$pPRgHJd-C)o4d z&^28f4<@4#@v-S%c$Q6k0ppsA6;;DhP1ZJPY2Z$LlZbfix?`JEjA2lTLKc18-LDX5 zauHM}0r7R)3PL@wJ`>$HoG}r27XZh&Ac1F?1UK48CnPk6MriaKoUmUV2Gfv5r@Q-o zi4h(En6?oFxJQXwl($Q1JB$^+0H%*O8Q7MIgU|@+Pss{&%dtYsuqkec5An#b143D5 zv7?D&hL-DKR-ig2DevHjlVMAqOUH7EV|{HlDLSRT?1aR347*<=f$3Xb==yC66~!?L zllihtdFOz4Wo*_6mm`UyIHU0phyH|Qn`7*gaN;{D!DT|lg}r!VO=VPv!=!7SuCAN_ zS>J8=wFIyJduON+l?rspLb7gwu3O;iE`D8vhclaDi!1(FfYq53v;xaLrQ4Q{<+?1@ z^0&}3EcKLkih8Ex=g>N=wWMxW*P2yDugj;B-s~y04h80}o~epNL29pCRciTpgyC^E zqid?JNlJ=XKt(8IGYnCe>)QJivxuI-)2lg#V!TrkDfTvc3Bq+JymPZ7T~o7!_MoC& zdlsol-!^S@2bH0e9Yk^zYdeu!Em>9acToY>nWSlgD>+l+zjNSGvk1J#1a370p z&$EJ?T=0N@9N%*DjcWCKuF&8PCs1D#qL4+@;RNn*KVm?idtk-{xeG=%_%m0GN=1U;nI diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperator.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperator.php deleted file mode 100644 index 638e8c3fab3f9b23c38f8ef16fdfd712cc3d1c5e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1215 zcmb_b-A>yu7+nkF$H3^ad*l@)inOId6E|jT3bd4HEbVAJBvdJKQ#V*j?Z|c}Z4)oE z%RR;}_Yk|^-eJ;gCj=w}SIbSlMBjJL=i_r;zfCVwun9Ya5rGw%!0~6OE(uHpS3Keg z9B0!h5isJjlqN*D5VpE7=ni1Jq-DLyOA!SrioX{^?f&)0k zi6k2GZtpZ>k)oVIGtgxbY3#rp)AVkoTuXKUub1r^6}5sRpD7|3PDU*vBSBMr+MaGj zC?=}Z-u!9o>|0iYMyIfmuZYl{9S@)q8M#dkp&%*~>;~YfgtCjhd_#*hyvd|wJ=WLS zC>ss$HuyCUPX5<@IvY8XtNq}X&TzFeT0>pv=Bwssq46`@_&X?bqhaTz}x54f^4^KRBt) zJ8NLM9khzi$IcS~wBy5~f5EANRr6h(>;`6xnq7@-meAq|9(MH(;I1z&BKo_mp7`Np^Rn%*|% JeOKTLfPb$Iio^f_ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/UserListType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/UserListType.php deleted file mode 100644 index 5796960aea76f8434ff657b6ea19e823553310f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1084 zcmbVLO>5gg5UrgwA)9`vriY%w)(ymgRwjg8Hg$_^D?(V7jAOSY7|dE;D+`Jwc2|Y8 z_|iX8=&|SiivE=LPjq+XD29+rb_p^82nolI;+bqYWjW6t4N zQhJhcBniP+0OgbAvzUgE3oPVopYkb9sGvBeU*z3daDih^B*9(mB2Pj=(*&x7APGt1 z5Eh&YyPu_U7A<(w+CYs*j%MN}g0KX~lP=*QqnSwAKtd6Uh$x4u{xl9xbydYi7qC&Z zh|rxLTTrl^tQUun5s|axmS9;@>Bio?qpLQo`Mj)pCiQBRKvnkueA@)a{~=UuuShbb zre>+GDb+Q#y7gZbV64lbgsOk9fJf^;Yfr)M*gqfG9rw(&yT*gsF4!LXJwN#98x?gr zwENbuXOCRpF{V5U_2~sc&+^=!ZS1uFRzO`kdv&GzZr6UcehV%ApmNb!jU-BAoJ3~I zqGm)A?dzKb$SA*WA5Qh$epELc%lcW}bF|}4>2tFPRU{p6YRCV+0ZjBxtSyD!iefGP rRO>}5LNXblk_RD4gpg*MZRrM&4@zIWF6?&et$U5Bfdy^}mH_+%f(2F< diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceType.php deleted file mode 100644 index 3aad477af0d074dfa4bad1b19ec5525218f37f70..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1048 zcmbu7L2KJE6vvljbf6vK906a^#LvF+lC>tn|r`>)k#&I=I&!7=A?0$m#A-Lllx&B0+8(qf@1niMb< zMFP_ZZdeFYd7FV{_8^qf1>_kG0gt@lIY=5&NrRD*3ra2PmRvWHNZ&^*Ui zTKbbxwvDi_bkTQ&)h{b%2@7#9sZ@WvET6KJNk$X)Or{<;?;iTyK)wISt+i7Q zTPkX+3f)qnTPE~&j$S?zj!v)r1-*FWsP!CeUrsJO=XiWFcI@Vp);4-}IXRuUpC`>) z3!$xZcQ`(Cnst3(I~S+E>opttz#k0H9KZQ=__v1I3fGmPP2PsD9$9a4^lD#^SNDo} zLetpdBJReJ8dleEXDr{ude2<`N4+r`41U&kMuuWbv1^s3t`x5gg5Up)!U~{N3J@nGBaRYInl?f%6b=~3*S(ql0NSu@wfx4E*vOv~~)vAyd zANxmo>`&=W=`ZM^hwiRyB@paWbsEH*_ukIDdGjt^r04~WlLPDGjaOIAP|nXACjxjvV{Zsqz@tj zA&7GF>QC#Wqg54KG{>#NA|VevcCp|&+!x1~gUESuN3bfXw6RxjqqU9RY*wm{!6;*4$XFOU7R~P!bhvY8YQ4?R==n}i;|bcowy#`sFdmJ~ zVf|5KAMIV+?``LUU9U9uP_1WwtXCV)(9?5g(3^}M+jmC3dud*o_Q0&y`hP2^DKozI zxXo_AxzmPTxLf%&SU);sF-<~)@vt32qT{`}jWo)(ok~Yf=0~+=^?E<62bK=LA>(co zrK)7`4ITVn8-S-z0@p1^>LYomqp0#616ps L8d%^~Xob)}k&tl} diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperation.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperation.php deleted file mode 100644 index a7931abd249dc0ce08c6238856e6b57a2de340a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1035 zcmbVK(P|Sx6g7!hnF@w|(6@4pg{Ghziu9oqqa@ul1lwe3lZvuXCcBgE!enNdofTB_ zGd}tszW6D=`3KI-Cfh>Di~Dq$z4x4R?>TSZr?)A32?NThB#K5b`wHroLMnw4p^u6Kag&xgBE<=hT79wV}MWU=#l&1P}bljpmU+9XkoZiTs z(HoH(u0(LxvLM9Cf@UcRDGdDH1yv*>iUb1-7<8j-RhsJh=s4&bz&1i5BUuL52KZ9r zj@Pj0I|BWs`HUqYWJ+^|u%Bc%2~Si)Sn^Hp*?~D>8PzbGz4M%hMjx1gF%N0;5DHAw zyPpbumkz82`sP&nOu>*VDmh_+N3&2SsS?uHtr*8tl?OI2&BL~3HE78knuSD+H#BxY z$(-IN2ar_dlHUO=ODHSs^}A#xqZ>sf>zVehSvDHp1N5tgPX608XRjD_waaelx2yej zt=|oXo^3i~oNHVnXY-Hq6zxt&SAPF=csA^N^#{%_+L?|%jK&{F^@_8DYF*E(SDh#5 z@x}CfGW5?s)obSYsz0ee?ES5vhK}e;$u?2F=bOaVJ-_n#bhS?`7~!!iWZa4=w*g(} zIZd){@ow9te^hIOZue((Z(yVA>cF~1X(}CE*GBjEx*@RPzL#zr?;_uSs*Pe4V?B&< jiG#5Q!q_6s9$A5J4oYiZ6^Xfv$JT7w#-eYDmI(a=y8The diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentType.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentType.php deleted file mode 100644 index e973c06a6e9aef70f3b91ed26cb1ec8ab3a15e6a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1083 zcmb_bU5nE|6tyj=%nFu1`p_Ng!gfJZ7TK4nRnm_wMVf}~haiD6O>fhIbP{GJ;wt?! zKKfJq8@~Aud~-5svkOb!%u8;{x#yhTd+xgr@is=U@DMl%s$h**w^(ff$0AaZABA|8 zY&IaUAMIimg0L{|Pp~tY;X!{id#PJxln5UP4x%Usp+(oSm6d7rOLZHAW%Ll@bO$n~KH#C-9fP84s;DW08~Em^q1yE z+o+~&Y=fJbMM55U>|iAlxG#>e0F?-SN3hSSjIlTG*};arUgxUUdYjE0nChOR-xbvR z4{NN|GZITDz{;~==`2_#3yrU+Uc9Sxr;P=AQH-cPM<;V<>JECN>(QWJeN;O^Pv*`? zXY$FZmTJ$?)82eKn~VoH)w21r$F4mZI@L<|ZwWPYln<_o40cb8#m#Qr(&xjVG*d`< zU_~Nm1;9;=kNJ<8EINm_8N`orWoX+!%k?bamX5WRm1(5|Zkd4pIs!a%0{3pf96@#k sf69%ll@Q%bNX|ouCL+WztsWbLZ_o3^zs~Y>7oNi88DNInqdh|Z03*d`O#lD@ diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimension.php b/metadata/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimension.php deleted file mode 100644 index 40bb4fa105836f86ddb068259081f106c5b79a07..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1086 zcmbtT(P|Sx6g7!fnHCHIAM~M&vCtHBLy^8rjFM)zVNrL3O)5wrOm=U!1Dn}pW>!$? zKllwk`YC>jZ-O7-%xtnPw0$x!xtpAO?%8|Jef1_k&(SkH0uF*Ii1FeJR_B0ok*O@o zQoJaZOAt89Ryj*SI2gMj4#ElcTz~RZx5}fGeYS&~AR#wgN6$#vMBeAx>8ya~c62jgQ}hqA^u;HnOC%K`hs$sm>0MW}YGKArz%l zN_=L>KWOe#Q0|5qeM4A(@?w#)2unqk{@P=5&Nx$yrtGVJ-9BE@RDx!@j$IZ!Qd%N5 z4Iz)9bAU@ugWbzBy`DbaXdIi3>21w?u0U{_&Rmd@V7bb~SVIX(KvjD-zjO|IcB)}x zOWY|X5^_yrA1hJ7)!`TmP=(-^1Q!*R753saTgw>4aW(ZsTiB_9X6`=v(?I?I@~*X8 zwmaHzr?TGB);rev_V*fke4|6g#I{6_Zv31%|>enJs3<~-wX89U4sq6`7jK0WDWM-@!uM1 z>qxKV-lqKc$&Jda)8pEw;rhLkETuegGLdu>;5N^j6Udpo?IL=1IX~)+(O~eizB{r> zcXYm;vNV-Wx?_|6YXg|sTexxz_8Q7__+4+8t%T@iLMk3YG!Y?|X|ZJmzTB^3@Vrdd QWt48sp#_$>3v_|dKg}dzVgLXD diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlMode.php b/metadata/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlMode.php deleted file mode 100644 index 1a6574437471cf07c0ef3e26edf5c779e7cb938b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1111 zcmb_b(TdYR6tyiV%syD^gCbJLy0Bf)ltuPsYL&D}OVFmFZFWHdVVX?Sfi#JeiBP3q z;UDcwOE@7BVVDyiu6B@b2uxVaV=oTj zDqF7!gI>H%Xh@g>p*Dl&YzcMESiTUgX`C^SAQ;4P5RxAD(_T^L)t8IQ9*MH8sBlF2 z&P_I$ZL#aqGzsy}%~j_Rj}GOw;KE*(9m z?gQY3I8EV|l(3|NRtVTEoCEfKp~b5m``V7CPT+pk2MJe5sw!;Au6Y^$?uc=EBlP#@Nuc=DpSl zcwn0!%-OZsthJtjCsWn5$LeTl&-J-`tq&K*Qg`k7$7a3t7(6X)aXj*kDeL18b^~OY1f7aVY z_!SX(r6}`CgkO>2|8)d7@;q+chdhwtLVnjfMJqz08KIH~Awh(YWLn*q2H%{Op?Fnf R?Iu{2sg%G1w+DLw{sG%^Z|?vA diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/VanityPharmaText.php b/metadata/Google/Ads/GoogleAds/V15/Enums/VanityPharmaText.php deleted file mode 100644 index a9cb7fbedc456e8d70ea6ee45493d89e866abae3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1443 zcmbVM-)hrP9Cq#8^h_}Xz3{?$)@`fUcqSqZu{G+75y2&d_37D$tjoQPBQ z1iporK8kPQtv7;C;K@mswVQLp+~h~{{l4G-@70_5I0oymLqnPnMn`aX0@*QzaT2k} zjRH8##$%d5H=4wLKobSRb{8658{)QZuW{Ej$`Y3%=tYqi&;}W$jl#^W4?DXJ8fFu2 zk_^IRb@IDFrPrSxGI3__#Imu=0I163oM*=PgcMZqxVbwmshV2~TmZjU+!G=`13CxnJat*A`v9)nu*YGUW z;JoU2Le8g@_B zaM7=sE`gguEontw2T$i%`>Lkt#$2oJT@SLP`>kIKpvJ{xx+zyJP3zIc#SoWeF1**K z+vY_92|XoByoN_ZAsuHr6Z`2^veOhR`L$B*sOq=MYDb8Q!lgth%-rIlq6ks>eg+r_ z*_qKDAv}fh{H)XpSA@7TLM0DEoCqPoG+Yu1zSt_y?pblo=cjw+-3wrWI|Ziz`~ldG B!507k diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/VideoThumbnail.php b/metadata/Google/Ads/GoogleAds/V15/Enums/VideoThumbnail.php deleted file mode 100644 index 75febc8c796da83b26d155426bbff279151f7691..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1052 zcmbVK-HOvd7`3fGFbf(h-Y#QZ*e+y8r-&mqeyGB(OhfUl4^OtZ>k`T!9zKb!n>0IG8qV>C z5_|(tKWR2gXb7dkO1}=MoKi*=#R>hYf3F4SIFUqC+{Df^7AndaGy_8xlKK(MISuw8 z<@y{gxDhup7t+@W222sba1wNg3yYr2-GQ`v63aBgomPMkaKza>!9xm}ChrMvxTTb}iGRQh1JN3BBzvJ`FXjcdu-wd^$r zP%a$!kRJIIK7|k9%@S&q)RYwn*cIWCnx-7doy7t-;WHAxd*rWC1}iVk}BX8;5zj3}y8B_@qr}vB=wB z$SlPXnFfr8F^?IYvQ)IBp`ls~$IW#dae@HpWC{FwV$%8CTIm^Z(6`_dmYSi+ib<|N^ zC0aa(t&$=__c(ST&kAz4IfNPEMMiG{mKBsD_WCql(J;fX>Ut(rY*mS}?;-fP1y27@ zK7GHeH-zX$CBGr$Hbvhcp5=JjLwVAl zTzc;LbY%9dk+$9YTLVq8=&K8Cx=Zi*2BJ#-aqUxoHH(NPm_`Q6qIN{6TJyCv(m3Db zl#UwMO}$~8=CAs`tqfp@wKvL8M#2DwGQjV3g0C!c$0N!lrAz+Qn`J3Nq8OnH2O$B3 ekV2YmD}rwhtKE22uH5Z@ZCp;3SmrIk5`cec7H3@m diff --git a/metadata/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperator.php b/metadata/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperator.php deleted file mode 100644 index 6d4b835b6fa5f9185273e300cee208e74eeea553..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1065 zcmbu7&u-H|5XMO&6|_Yn%83K5hES=g1db}y%Z5-ne;P%A9Y{hY6sg+S8`qMvYwfN< zfbudNc@$oNci;uMvb#>)N|jIe;*mY`%{Mc@SLf+;Vu(18651xAZ0DhgKA)boDa+Qf{e>=5 z649%GvoKaMXIDHmExB-PFN7FbQ<;*0!f4WaM->T)B8!ogUAUp#h9>%WdbSuE*$zTM zLZpPtT)w|k_qXEcI|BWr*)oX(kcue%I*R30%(M%V#NYJHU09JsQZ05jca^cg*acJI zvw*fvAlEdxM=94k>cYxPY%ykv3PzH}fXYC`sh)G9Q!$RHDwb`&v`#v2lTk?f8!C_pL^5Eus^;S4+r&ojeT@~?!EE+ORrvO zAhb7pKX>0w>($0X^q}v1Gk5Gw>$TqB3TkR}w|>g3^$yA!+j~wbpZeR`BAyTyIb1~T zh%yWAj`lQ`W$<_G0)A9$BiH>|Jser29SyRRhbGcUI~M6*yM%>>{ucEX`<(kf)n;Cb mu`b5A(7{*>VQiI_d)DB~RsZ17LxS`O zfFSa-461@0SKMM7d;ySu>0}Uv0nCc20o(}-4PhSoQTUmkw+%;rlu^!f8#|iBL7@~D z4OSe`<{m6L3+zss@cU`QnMk|1GJahij&sUlKk_u11uRVSgxMUbC}Wye7hSA0_m0HW zf-M}uW+_ooZfR`8oK5Kba0nUACoH}pxUQ&#uorK_sSI^EtfroD51SRRn7a#pu7LJ` znI~r2um*uZ9AHLyldSH%WVHSH8RPQ51W0Qk=mQH@iiYUkvg>JYWlDNxJOQ?NNB z;D79@F1AeK@PE&#-T>qKTDv&gFE$Pp*_cs@4S8Sp6#WNXzK1biTrphCv4mr(^$lImh?2_`CbtGqw)=W ztu5=S`mMI5i%82n$Z}a06_2!BM*8~<;fd7G#a`ro8vI|iM%k<=yj@W$CPm>?ic)e7 bR)xw}yVZ-|FN1WGnuU=Qz!G;2t^xQ9_C=;3 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalError.php deleted file mode 100644 index f2917e873815f2aec79ac485ce353c14f84c5500..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1958 zcmb_d|8C<%5T-r2!WOQ^cUOAl)GlqM>j_9yP?2ycXya^?)%h3px;>pDt(?ToSxW85 zc8~z|W%!d9;2n^70Um*ufZ4T^COY!pMT&N_`R1G1nQv#l`(g5Wf(~&fPUAc(<00<< zjLX+Cp5$4X4YD!rPp_}z91pUaNivS}2F7g{J1)nx&G=_vT4d9F5F2=uWutN2jD|(C z+REKeC#TIg&$GN}MuR~%O-s?A4o7h*z`-OdqOnkaHd3r~1 zJEu~CeffP-he3wJxz`IQ=kXjU{XRo~A!NRVI_mosNdqL%n2VtSVrW!iIQV-5?X9jB zO{X^pe{7)L)ewCPZH7+ZQIlOT+ScCDH_=Auyl~trM_bc((KZ}gZDEt(g#ftP*-y2$<8+-qjD$zDXQO0*gs4K|IfQF98XQ z=LW>m-dh0q)P_Gr=*(fQu-&0tyRT#Pv}US7e&{&hMAV3l1q5~4|HJXVzK3>e4vAn6 zF*yTwHNyw`4tiAWg+pvAX1CIi{uJ%hmZ8@soC+5bRNHOp+elyH6&?w=_Myzo?EEE{ zF6Eaqn`$5F2WZa=eX~mfAoJVQ7fxumV3~V;pfF$}Z&|yYWlhkREZ~8*rJtj3?a<=P zgNjrE1&c)!7p}jQ3ual8FQ7d1G)-@!&zCP2aN=_nq%u`Mprc>Q=3Eks!G)IKpU4V> z^n8nWL6zJEZSCks2-j&ceJbl;N5s3n8+N)NYo*vwm0^ q8wQvg#+=D8fXXl`uKs-$<=4;VE%uA5bKkY;l|5boE8H!*Md&~G&r=To diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AccountLinkError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AccountLinkError.php deleted file mode 100644 index f1464624fd521a83498e1e42cd44a54c169deebb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1044 zcmbV~(TdYR6ozdJ3bUX!xYs*w7q$zUvdDr=t&*B-3GSxBwkv3%Op|GLFr5jLiJ;P# z@zO`}%IEOjdnYq(cIna^d(*?@od5hY|M%)mcAbG191unXmL!JruTWkSmlIylZdrYx&3r)M1^1Q&S+M-eZW zoTZd~p6N4NF9CqzCCM`!5jY6@mqg+iOFSKDy{QxD>$0q_PS2*E*6RWgr8v)_V{|W+ zto{PN1E_vkF;8g(bBU$;JEHlFGAb!f={I%D9$erwCradQ@1kIlq@2NWV8|lUK7mHF z>^;i3dX*mB_zTO2QjawCnIwYYbn22k5;T)sgsK&xgvjc7%ais=S8pxV=mNHlMTG8n z>_I6Ca(g+1g2+O!8-Z0NrHws*P1iP@IIgyytK`~MW4ZSj{BD4k{~MWgU?y!9v0a62 ztFUbo_F)d5Z0F*!VtM!pG`G*KM__Lfj6(0Nf9`v3^PaT_9!!FF!SF-StXUR#=m%HM zh40QrV`n@WHS5+scpQ4~Fa6QT9|kkm3(C1h|8EVn6sK!PJI(d?w=L)l!`er0eXWG2 zm?btBNhcvpQ@UX~ql)Amh-*aQ9#r*bq^6w+_~UrVQDGcUDQ8tOUEHtm#Avgxlmc3#7T>=0;HI zpYhROB0l&##2?_ZH#coMsCzLlJrD06kILO*%SVSLB&)S4B$}*Ag z{5<1y7JVknlP^^{1%L$4NS0!s!2Ym%NjMHL$8KK&x>}Ge!XmmpJ#!5Scn*Lc<1B+( z(5rA|3VZ=jJZV0OBOhiQbMbQ&WnPp-Ji@Uc5Wo(c;y5D$WxaNqCq9p80*eMa@k#3h zmY7BDQA&j_9k?VoETj@Lxn{x%OK|M!B=cF6a>|CH6rqstO5oy6>*QQcEzqJVY?Txd zTI1M(oaN;9a0nUUIZIXm^9o85d;U6F(9nXQntCC2*QyGOxyRu9CV2VZOH=mCR#j|S zt@f>oeXHfZ4}aCb?%HaMB%dArtbv`ijPej{kFC+r=$RL$p*QX++u*_2dTZJ5tVT^a z08e}N*m897*E6kaZD8u2t~rKxVP9QpPNS|o279X#nKCVJsEwS)hVleFTIH7Q1G}dU zjK-$o9)sq3dgN$Vj+pU&O}9nZ&_H@ I&A}XizbH+4bpQYW diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AdError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AdError.php deleted file mode 100644 index fe3946a8dee5c6746dc0b526bebc77f60c80a757..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6102 zcmb7IS(_8b6^(FW>;ju|uU0&JJMOH!NO=w)D>NjhRi3`z!RqR}|9 z9pdc!zB|cN9`hse1M-j`k}p3Z=T>#KTFhX7;RQ|Ct>xZ(?zyMx+FKjN*-N+83%$BZ~9mmwo(bjmS z-?Z08qqX(^h2HAs1^ttLy?61-h5mRv8gF8tP`?(`(u@sz_xqb0y_LS*iCaN`(p&9K zddnTP%CcD9EPv9k#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9Fu|ghy(Puatps9BPbcM+UikjZiexnf2O& zWNxWcQ+|)i*92b^FdtAft8XO9b$9y;W!?}i`4R&%6y~o|K6EL|B!R+QrxjGuD4(GP z5(T;YL^&mvYV(H_K!ZS9*Z~TCnMppP#%@N+Bk>K2sv?Rakx)qzI~984uhB_F?s`%A zVO;M{OAy>SxrCg{V z^_yh0C_)dKciT>;q8^ZuL7);^P@ib2O5dvxqm6&dy3XDxDUEzr*Eg(y^HjE!3A$L; zKAGtsVUMG=+Z2`cC3VZBYZ?7@k$<~kU1kf0^0&#c)YMT)R+-d|A`JeYH)h7Nm13B zc2V`heFvunUHz1vOO{VpS4m7!`2p+8kYI$HMw&*BrxX?cS;G?SnnEEgfkKE@XDYU; z3;aWroYGrI*~EU{u-;}@%@WfY1kY^?mQia(Xfrsria!5K1Bz(MQ?p+3Uo@a!kC=j) z87x&b|78QM_Ap*yD2lTd=~9@9+x%Az>lCx=4SYwlUpH{$oXbPpz(_{5KxVjzsyCTw z;FSdZjgE6beJz9LfO4S+76TKyUn+3o=_SQQ;~~>J;ZhTn*K)xUlZ@zjOndi zNuobB(7&F>n;aqlNb7s}pVc;oR7_>-t0;g+KqvO}BK~m$5{+cAny6qo9ZmUPb-?o2 zCp;oxbeY9{G>Oz5If)_ z(Ry#VwlEs6U0CZ6)r+%vmEIW8TlCJ4)K~S}=HGWc))C?#yN>DC=moq%FX*523$M`& z`ZfAr#$s7LSl3>x)suDkX8oUCb9!>KiRsN|wNkT*rJ7B>)}6=IDKDR{o^H?S7vbsi Q?<3!im7%tKz#cI6Kd(KhO#lD@ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupAdError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupAdError.php deleted file mode 100644 index 32475c82d54854ee44d34be96897a75cee5e0211..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1353 zcmbVM-D=c86t=tC>QppDkt&srZlPPyEJcctS|z)gE{nTK$WLu$A!L);G>|4?k_alj z^$C0eFZE4)6mNY2XC~Qgm$o_%#cm)pNyUjd|FR!-u`hk4-@^tT!1Zj?kt*-CqRk5^@E z(G<2TiL!i2<321%i7yt1kl>;u$vMH5tEXseOE-|I*vQp2*F+=z5UDeqq6)V}2-a(0kFryoiVPF=XvA=q zuq-|Sj}{R&Ibu>)OQ1#VT{rXEzIGoh zc8|Y(W9cKR-$R(jUJ^U*j3{qGrK%tyn8*}#WGJstiuT2-JHMNo0a?ZS3JQx@3=r&dXuYzWdMblVlA5T?mAJCJ6=WFn~a zH~awc$q(=&{1m^z2WKX2c46(4dC6t&nRD;ld(P{(`Be@&&>4U-XYy*nN*)me6ULI1^l)7Cs!&BAPtSUUbH)pq z2ouiAJY3K?T(OugDdC|`8oC+)8D5bh#}R=}FdP$sV=VC8(Zq8zE;gZxE>F+qwkGZa z5T&>%pcy-ge@Nr;hFt@|7Xam#my47}un<_t-w`cBno&VrQ(g z+@E>xJpaAdYP6q%N27^5wI{Ccg{~D!jfNMqAn+$s32wFr;MK_V)Tw`IPbRKqhkhVa zp+B33BXb;>uH%K*6hp}|_AOOw(%KvTX@HJ2!RA#vA2@unqkFB3pz*=pOekR~&Ju(1 zq?eFP8({03oGQ2c+eZCrj^CPlj%ogA9yr<@hO~rHg({NfFe-EW+9KxKKQ|1d9kj8~ s?`EgEjF7yJP|bvpq(Z3TTHMoJzC5m#^Slz|wfc5SR|6~D8ms~M3%Rm*l>h($ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerError.php deleted file mode 100644 index 556d7cc4add117b2c93c71bf11eb63586b36dfe0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1126 zcmb_bPixyS99^@qfqGcTX@^0yCeRc%hcbFmmW}*zjVZH3nyzeQ7{yjxfg>479&96* z(ND7DKFU7IKE-4yaSL6^Wxn`F^7P*GPw%~XmtWa(vPyLU1AVA5kiJ zkw>whiU`VC6c z=m8LCSV}lZyi#Yhl^Ink1_-_bsGq!8WHg3SVWnSfDkI9MqBzrb64-}JoJpcN?_!q) zitVM+Gcu)gCwa`PxZ}qDqyL52!1>Q z{(rmDM$=L`IulNn4o9cMvFSLt-UF>27w58Kb?_N9cfcA?!Tv>XK5<9>sqc>K4;uU6 z$whD$gqJ~mukjo_8%_P0JN3gL^3Nk3<><`)co|N|_1f^d23k7m8;|$e9kzFvFtsl!FuO$jqG-?k*DWjFp^nx5Ux&)P$8F!)t#dZq%74!&c@a?%xWYz2OA z5p&a$TQxB~*%akZtz{1*q>m$1F(IU>5VBm0$HwLB!zvdqZQO3Mb#E{Y(Bjr$4ZvTu CReKx& diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionError.php deleted file mode 100644 index 2e213e5a597f2ec5240767d8c8d67419b576b996..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2202 zcmbtVTXWk)6ecOOWK*bEF1;mWbD>Enkx5I+ppY_aX|3)=mV~rQ8pbm_imkYsaU_o{ zGXqTi43GQ_-r!g8%unEnT}i%7;-<`ym#n?#JLfy!Io|Kv@A|L$U>%uJ5@lf?b}%Sk9$$3B4jwob{HZCWvc=@NQYTF(oi=|yS=Cub_TWb zC{I7`?$x3!OS6Hv;N2`8_IW#t^C*kcgcmnzQ3`-0JdXzbupJ@Otv91Q?1XvPGK;J& z+!<6yc{f?I)oXgkNYG6x@n)+RQ%={bSRb&oRQQOD*Mt`mzJ z4)M9zR8C$}pDFX#M`Oz)*f=SJedPxH96ZvoE%Dees+7#(HZd`yM`Th?c^lpZA2P?` zO>CcV$0eSKaBN?B2i^l8i6o2%u7MdDgO!``0r*6BY~3T`Yj)xi?vd{U>WLn2!Bwza zrv|6C?lfJIt8Ni~OxX*;q-a%n7cPVQ6+4DKlL(TwA-L;SU=U?N%0?|qP_=mASqhLu zsC|Sjk@k?B96O%D8F|T+Mfech9o-njXVfmp7qHuK1w3q0->0_8FI{qmP31kf3wB2N zEOI1Nm&B!Le&D)}$B4ljjwh7~u%)|A<$WpEs9@j|kNXU>z*p|TC2(&_@oJp7P)AW9 z0!!6x)#hjdRm2By5A5n#2u4l2lvMJ#ETM}%MujX5Os&8p%0svVwkIQ3`-8v37CM{ z<%E3YQ}_%#sX}y%U~lS@(?<2F>C~xM22s+l)_Mg#1+_QguUh zvNuMWu2r-ne@DKu3N`TT8nDFZfzO;K7h>b4*l=&eb`3rOYK4_T)E%+amp4nU@{}^` z@Bn=CUobOSD;ux|9#7KESkB4AA%BR{>MiZ2y)fyjY1XZEqoi=jk+b$=>8G=ecE5aaf1ST!V*K0uidi_QDtuEd zkMblOR4pC!&rw9HFxe@WEo`>(*}v!4OR%O1xTcLWX_`o-X=Sd{n+40Kn`49dqV%na QNxjzLioi1N0$c#_FCA-~AOHXW diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerError.php deleted file mode 100644 index d18d21fbbee8b5d05373139c4836cf487dd488ec..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1039 zcmbu7&uZI15XNfy>$QBN+8aux@geMeDi7M_wKB?Do_(5%BduprZB$-eMO;=LW@M? zFfSJiDj^Zeg5^{O0E01%##0Cf!|6-YszfOhiXjss%W0dWs_jD?eLFdAQz?a1CNayT zD2rKADlL}mhRT^s1#T8XoGhs-NJ1f+^gmKfQld#5IoY_Es�i&nKsG=wv$xB{@+F zdTC_U&nt14N8b^crzqz+OF(I&&Fhe<8RJYdk{cH(bYVeqMUB+`+C|9|%>)PAFy;wu z9fQ}jwTFc;E9%0=<-~5yY%CsfO(iFJJfJF(tk6PEOew}0)zz-;m)3E|O|@!l0WEJ4 z<9i;vpk+z#4hN7_my+KKtSTvI?Dc!Lw$V$|YU+hKW2-8(bC1xk9d!1e_iOBXfxw(S zr~n8I0D%YKV2Yk^KT^oc<-uF@Y^*Aiq9>Q552Nvy(O#|p zw}zSq&h^L#r}tlMS9cei)V_vm_nF8E&jKN{c1F1)bAxliEX3RC?)ZQFQQwJry`S~{ z$Wa>@Rs$c}$WR-2YJYDkVh8pevK`uMw*S Q+;Z_CRIbq1tqVdy75F?)C;dByGn<+MD@8CJ)c~&Uelszwdvj-_~dcd!iIg)`)|3K7RnAZ8dMk!p5_zniXOUQ#CCdq_d`)*QwfDDgi=eb}rgF8w>13{ekGRN!Dc}PhpM7q+KlK>iGHI zh$^gogvLeIwwO#j38}2;SA^kL&(Df{jN2~j;O|l1rg@onc~<1VKy?RrniZ`8fUCaK zc{%R#s>CvYm1EI+f;Fb}eN>zJ8T2XpqTdmGuxN)>}Es zypPduH_^-gGb;1Gjo{gvN&XIr`KcMuG1TPE+D~F&jo{NCwo{G(SW4{P36rzWeUUHSDQ+Srn*`w+|-OZ&cOTsNPhuax05f@Gl!R@e1I zFHLw1`MuM0;3osZog?Fh%nrLm9>2rurisxPOG`ldG)P@W6UBnQ@e^*`y6QoKm=gCi zRSt=P%x9>#tZm6#GIL^|)7XbywkEayuSz)#^a1u$A!r6K3K?B@HuWrXs*+y8e1?SQx~uJi|QcmMAC zEmn^|+W3(!-o&gbvT|ls&1`ojN+oSe5v+45eec)Aef@I&*u3Tu^5^D#PsyGIVrS{4 zT!HLaTK4{4dW@7Zu1TZP#)UZkv$>;#Z5zUEdxd1%0A<@6>+HH>`Qq_P9-e8{xs;d> O>XUNRei!Hhq5lBG*6tnv diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedError.php deleted file mode 100644 index b4cdf2645f0fabcc9e007d48d856e000bcdf47e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1280 zcmbVL%Wl&^6s0MpXu80%Ktcl1A+6dJ6-O270+)i^cw#IP+e(~5Q6$T;C$1&ew#H*5 zK>Zn(`~pjMd;?#=o;@?;#I4eHgEzjKIrrShne*yRewu>~Xy6nRpW+ZsK0|tnVNNod z1z7?o<#dV(46?I4PB2j*)NN?lE=0QNK4qyzR+0d#Fv_wh!EHY*+EvJ-PkZ}qOh`rw zcHu=ND|2s(ap;LdMN|PG_0MpT`vHcAbJWMw4}I#74M8~8!eSQk=y-2`j0E8U072px z1=K==^L81nxB*`QWM5uRk~n|`^(p&p#)TKBF^&Bs{=&vQgi}8$FeAB&ot9}p<1B?d z!A=9*+JO}($8P2sTgxGw_vi3Uu`P|wlwy+l$ymolK;oQc#9>fXjWDhE%THQ62cjxx zi>I(vwWz9BdOU=bl=yOS2nnVoNiPV_Ybw#$^VjjL4J{1os$C{ss|NDA+u+9vc=_L& z$?H|B!bDbTxfLe2Qpw%?-2nF&l|gBF*8JH3(&B}D53G%>p@TYR*F?H>OI`!3BkP@I zzqh0%c^9<02U9|0 zMFKZKefyYEa2{z{UI&jf-5A&-N1QA$OSk1`U~5KVJ7~aJY|ERITuzl%CR~A+I=>p7~t;F-zBiY zJUQF_jWQfPSX{MuuFld&G!rn&54w?e%s(sAT@uST;26dt==Y zW>uI)l`7;BGpkaW_17FR7Jj~DXyNFYrT;WGs$^AV>8e^YsVbvV)rxC!M|AmOyMEBS Tl}|2AaigOIu)>{#a{&GUpqrLu diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AdParameterError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AdParameterError.php deleted file mode 100644 index d0877b6a16762a8f4db6eb01efc785fce9fcbe5f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1077 zcmbVL!D`z;5Up)!VRNW4?XhHIhsJ?cCX_%~*DZ1+3z1q9ww$!ZAlA}a5y)DxS{2&h zujn82*iY%F^wvY~U9D^-IL)QHXxN>3^LE~wH}BG`6m+0L62dSi0bG26{EEPoQBHjt z!$rPa5(a&`N~4%C1wze+mhD1aGu;DGn$ev31i_HfFeW`5WW6#hqR%I%J;E4enYi#$ z%U&Sj2aEarL2#~wE%RKRUL=#vP*ojZN$FRgK zat~7~rZRwAeoiqcF{HVfh=(OOo@*rYS(I|h9FdApNO(2g;-q`rmt70AXbHO|MTG8f z96-);a=ST%jPRT#HvsDjN)mhdHrmiogP`g<63TU}#G>yJ_}u`n|5visep#sqiIqxh zMTo7GVz{5J^dw)kuR(M7y!9CD&8(@TpP3_5*P0Jnd*IQ`I=Adgt66J32W?gJ zjEOySyt9ev>J!tpyzy-6dPChi*FRp`6RlZq9e`)1b)mjDHP5uB`ot~LT>XRVjqJ%- zb(@XhpBm^0BX20*%YOKDm!cHeseRHn?+$5(jS8#(dk6aEbiUUc zhN}Lk?;FzMiZHfPhD9VSu9O!4xy_i%Ex5G?at}6(@T=Y_ixCp#2vtZ32`Ge0ti?mg Z^3_pggBPW{Zme{#4`pJRw+3qf{sKG1V2%I) diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AdSharingError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AdSharingError.php deleted file mode 100644 index a8a751234c43cb1059f8bed313682b64158b36cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1091 zcmbVL&2G~`5GH8_(pG}VTsTy8Nh>v#z)^+D!6l$g>;{Y0w(?U1iezo?bz7BQ$R(rkH{Z<8_sz@K`7#IFa7Y;8SdbXbKS8l1Fz1=b zqAZ2;ausR?+GH!OT%?hX6z=E((a^ zu_je{@C88m%gcF6BUlJ50F;E=WU5}({of=s6-34FQ!HfTs%h=L&rWDt# zWj3YErk1(=qXCTTqByKPYkzBi``6RP1F$jm#(^_%k6g!Y-7z-6y{Y%s^WS-`h5^AQ zvcuuXp9Ud19y!Q<9}awPf?RJLBD>Wz+TgM44g8Y;P2B#mBa`9Ovz<{DsJhmgu?Zdx zkSFaLj^Ch>6S^K6Ox)87+*ZHUm%=GIVI-jqf+by!8x@}{=@uM5OXUB#8NP| qU2Ivh+_GvW%aT->)qDU|?GJzXqWmrTXPEG^Q$n+5k6Ov`%MwjLUeM6w1G+!kw zgiH~oUxzF^XPhZU682SJY5;4JWK*;vvjaqlwyXf9>_GUK!IBPZ9d+4$LyY&6}*}@y0k3Dy> zJo8%3;hzTTXx7Spx3(TWtQr|Z{KhA*95xmS;jtrR+>0qUs8u|stf27Uc=qj;el&L` zuKTmOZ!vT$SGM2Ej7hY4TeL;!FTChIYXATM diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AssetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AssetError.php deleted file mode 100644 index c4062db88445fb41ffb13a3d17fc8a97a79535e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2400 zcmb7G-Etc>6s9e-pg^;zE%ZNXlD6rzbqJ6PwzQ1AD?1u?SKIwbFyk4`#@V=@alM}P zni*jFGF&k{2UolR@4yYOz>&26X_8)$o5xl^e)QmyfEv9A(3U|bbt2&T5( z&#QSx)y~$VXZloyHaI3*CPdpl72|VKmD7Cra6-zwnwFylz?(Ug4(#cRK^+D?I+~x_ z0Oqa82e2WTCF^<2pVNBAL4c++F@fG2y)@m#`d=oSz5smEREK-e-7k~#^8OC;=v z#QG3#p-qobSKY)1Fk`BrV+qJj9ssrotdA7b!m^H2(ssm{&w|84>Y6hEbE!C?Ng7)# z_%Z4}G~w1)YBF;x$oI({eynaDJA2GcJq9tD9Eg1uc{H>x<8RPz7ztnKOVnQ#0U?VV zh(n52OVYpv{D48ye36<>YZbph_SvorJmCUu;4LDTMX^-J))9UEqV#ukfIkR}siqRF8UX&BCnNv~b&uA=OW&n>7h zPo|M)3IQBlXgr>PnuJYj4HI-*75$vWlLbTY*XWByWqPblosN8&LeaN6ivE|WN+`}s&e{ImIBJbC6(Z_pcr{sVkc#0mfa diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetError.php deleted file mode 100644 index b9109b8fe7bcfd2acde5cd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i+8O}^yLt)Fpw<589bX{2UF)Qfm3eQo88c`W?!8lyaH-h}s^+orC6=xm$P z^Hkw5gg5Urii!UkF+=%Iy@%?FJGtxO2HY?>6sQWVid61E(ZVp!JlT3JxEVznx? zCI6zg-g@k@KchdTKcT0tR<;vJa;h&Lv@>ts%$xV_eSVpP4d~L03L@zQjz2?rNntLy z#Vo9%^PRnsqfz$( zh*O0OtqR?(!223oKZCCTs$X7?Qx?NQ5~=<+S%F!`BqJ&Nq6R*IQ<4@`A>GZLmRT$r z&tO#$WHD`T!y2>7-ORaK&;gv246B`~eT}?KQlSPM*|dlS%Ow|~N<}D99Os*^zO=XZ zb=L}wO<}vHh|nF52T+QV-fj+|pt2O%4Z!sRN)vl~$YwOG$z;*>Sc%wPBvyU5!1rZv z_CT0Z*Q02}J?XA?a*+|kQ>x$AQX z8y}t7ZW5l7EHSxAItk76)z6)hGv$v5jI&>F@JDmWwXC1bRaZO0R6a24u!@u;%-RvZ z=NThynp>{Xwwd|nPjjO#Mo5(-v_L{gK_OIQjUQ{4yIYHcc~jrv&Cxx0u{yENy9U<) F`~$-pa`gZJ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AssetLinkError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AssetLinkError.php deleted file mode 100644 index 39ba854060a7a96c284eb36ba611a05078b9a911..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1911 zcmbVN?{3^g5GN@#uz}WW+NKnVEJiSsfr%cJvb>@EcD~M`@pwRb0W}|h#MHY{GR#NthbX?_y z2T;QpCe=*Z+Oo5IprY1n=^5E+QZ$TfIUbU#m?ZPT2`Q3lQe;;I7c(lA*t4(GX&Q7e zm_=dZuU&Yf@zbHX`mD`5v{`T3y!pop!i!B|+2nllw-t0}(Twk+ z)kp*$GkKdcOM3&aqLoM-3-_hamhd`S^SBUP*b-2Y=ed3esAc>JJ(x2{@O3O1o_I{V zg+E2T?JI-i!gMN z@l*7q15b_0RwOJaqp6_H;TZ5&Oopy29qI$iJJ>)k>Ud1JkqxzWDR*dHdgJ48aU96D z>&qq(Xw%{X)NzG|@aIVXS6?Mzn>tR5n#bBIK0?-i^SL4VyZ8fi|HO^LsKsQLTg;U{ z>$qL$_j`4}7eA?rU14i?@P}yq`nTW+u8MXSe}o>fZ%rq%KuwSOOoa27MZ*}~xzs!e zX&43C`}hgkTqLw2Un!&-X|Xnk-hk^fv};1cL2T1!Gz5vG(Cq-y1a(fPMoTKmwYB;> zOyRW!dUgX|HA=gOx6sBE-*GM8KAG#F4BW^!nRXw4iT3A79oK9!br^-~#rrW1R%=3s<)Amm`UGo2 zZ`Q=`mx!L)By+1o?ULy-`Ez-zaW)KaH;fsRVE~n3G+d{*RhD0D&xYw|&5XVp$Tv=N M1#EB^=mMd?0m7a^(*OVf diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetError.php deleted file mode 100644 index 7ce065101b36e9bb4a0fc84cbb56c387d6ded623..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1132 zcmbtT-D=w~7+unC1NCCT7a0sj)gNdIn?otRQI-v-R)cBgn8xka5ip9QxCX~EvOL&E zUS?xAdx~A}QT776oh+qpN66I-Mjz7o&i8v>y~%Deum}4zrJM*lg_BQE+)$WtCRoT4 zI4Nc`%3;XnS)5RALTC@6JM*LW$n{v*0-X?iY zMNt0QQrD)613*gVG|xy#Vc+Y$rGiX}AmhHG99z?TX_nU2(a9Jq$_@ZwBFUgtQje%m zr+Ncl0F+-=Op-W+xgbIw`*9w`X)I!r#GhrUT{t62P9@DMc2=aJh*=6thhZAh)*;lK zC3Zh!vNc_Jo1s^BOLl7Pq=NF4Bx9TAA&)b`xF?|qMO0KhE^k_g9Tl}?i)XN0)4^#m-~C<##_E&t1Z-WpBM+ZCXAZU-4~#AF_|iRhhwt1*&1eF{ zaj&d_V+Yn~g#Ez3_Hd(aJOj;t@2j_s^3A^V2F|JF;{d<+@r7#*f^&S`*fe&)bI-cK zt{)5>_uT5^z#igJAop7$osr*o*!xohdvg1i^{p+n_jI)wwH99O175Z%VhKqjlkun> z(NwMetyZ#FDrAjxI=Y!(>l=N``cdERD_NLQ45l_qOUlC3viNn27%S!6laA8PQar!w qd)gTx>5fpvgpi~{NOMgdsVt8Vs>OMs_wjD|)^4r>YTN=W0Qd`(CvXt} diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AssetSetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AssetSetError.php deleted file mode 100644 index 14b2177cea5ac0ddf88572b1718dae2e00a7daa7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1414 zcmbVMZ)?*)9CoWty(wk^#TUwMo3M>(s^}0hH@P;q?y$YYCUGi-BTKI}kR>5W1(kgn zU;0G^zky%DH-ewQyGz%0j=iza_Q&!3o_l_O?s@St`;dV(*y0J#gOc~*(I;4b;4sV6 zG7Zxh9*qVAp2ILb&Z3y-285OksqH~*5pPAL7U?Jtxe149I*fTe=oj@Wl+nj0+jXAj zXESdr}j5XOQK zB1!7ce(<4dA^CXCS7B9j)%E~l%1k^N#yqq*vo@{LHs9Pml zG=LkGMAJN{aTk{Ph|gXQVb04@o=gc&CR9q;qrGS>1NHlpTldAxHYPxM?>hLt0Ji^Y zSo(66W{AlelNlRg#zr;c)!#L+bY>(t86B_wtbv#5z2_=Y76=vFx$3}Pi)HEceFVp(Xz42B&F*+j@|WG7q=DAJs=KK1zgpi zfyWZ!Q}Wu!3{xaTTkI^Qgj!Q#?b@sur;TLILd#%cyr4WbLEB}%|=iR)>g@n;UK33C|l!-cES(9djudOObCdpzE# zVHyX?&`9%PeaI7K4W}-WMZ!BSFqNHZ@4n90S_plcUv4SeFoancRVX828%AXtKTZ)n z83ehGEG5cnibd4f>QZ(ee${?=+KO^kkbhqe}?>&!h+>I zkMb0btLc<780BY0l2T?uXb+$_2q3oI;F$<5^NK|j!8p(3ly<^N+0mx7K5cGwC}TM* zJ7HN;PUK0G>?2XPrb+`q7M{_v2qOv|zk5J=I0<<;auji7P0E=mt>ewD5mv-)0HRb- zp(V*f%KL(=K7p?Qil?Z?X%fMbhg`hYl9D7@!jmvfzK9>)fzvQ8si4gJPOB{9NuEI& zFvud>-hi4ZebBy#K#FB#N%onZ*#gx|_mN)H`?uy~HYe$)P9sF7Z=>Ml? zEbCZP%-O6bZirYCkw-?76F1l+Jxio;9Z$m+ji=zrCCsV=6!EsP2H^EO5$_3k zkS->N_+W4>e&kN~Zv(6f1FW=9;2*%Wr(Zvu4M68fLMXv$zw}Ov&d$Zbc$Q zc7yu1^+>)q7aYs_(Oh#rQO-#Iu3;2&zIf^z@> diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AudienceError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AudienceError.php deleted file mode 100644 index 1c041b46b54a9baaa1984c42d436756a9dbb923e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1292 zcmbVL!EVz)6r?F_VJn1d1V}y5rK!|Z0*8wB;!=TM~=hd6^ECo$y(3mnmrz1H01oJZrQ2TjRQ)=w;~1r5c}seOZ|XC!#?WK+#mV5KQIK>KpSP#vaC*a_XkLD9RLtSewIOP z$|;V)7XbM$ErwATz%2K3{$nFrV_%QzYeD|w9%-Z+U1tDYG65c8~j)Td;jB=yis*2 z+*hS`Sm6#UmBX8V8enbC5fm5an?D=i-rT8tAFO)Vu~EnDnn;&!$*W++!|$;59!m@I zWAFfLJw&wQKGO74Vq)SsNNUIr!J2ON5Oz!p^V1XU*wm#(`3YFpJl#aNgNTC+4sZ#7 zpQLMfSeI_ggKf~f25?VpBv6iL+g9J@GL}jv-LsF)j^^_5|8Ppnr2yBmNKeD3vq_G$ zB5wg$AJ+mMVs(jA?op1C?#KWvPdB+MuY*TD({W5}5Y2IrON_qd*@UkHuxhMCWd;GSzD8Me9Qcfk&G=2}LjyBFpK3q-s!yRrLArXh5YDQVmF% zGRhMgGp<;6p;c@Xj-3PmCzn(eB%yE`jZdj2DbZvxwV(?(RZUn$9}kZfz6BiukmN)u z=r-WE!M17e4M6i0+GENvV49JfeKr3(f-90MYLM>Mu1cP0COE7bLc_g( z0Bg*ucCQd-KO=ZeGOAW)*0sP~Q^`rb@Tf{8E3}Z2DMcuwx?ObjrGGHAQ!6yKg8iBz zLU%Zhpq3@QJsd(wbt(A`z*P%niM@Qo8X9hzwo^}xhW)m%n!6AFY=F^!iPzh%+a060 z(`xS+?VVcto$np+^j?X4US94<@Z{cP?=jds3uci&!6(@FwjT60!K1U_eGr}pTb$W(qkN$f-snEb;o}@VApuM zp}Us(_}RV8tkhBGli&P!CUU|vN62iDQEnZ5eFOzF)?afI!+JeGx*Jp1{n_1~TDLpK z<4zq`k#W0IyZzU7#ljxMt&6ZH(cHxE?rz~H(xB}oGp8aYZ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AuthenticationError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AuthenticationError.php deleted file mode 100644 index 55999c01334c67900bde6497734f6d1cbf0dd1ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1674 zcmbVM-EQMV6sARmWp<%vy7X^ZI@?xkDzOeL*c+FEruNhwHT4+VNzp2j8CQAXic-TE@v7Oe zJZT*qs;Lq!8KPEA(J*dtJVI45;q${0DtI+1vbO-&4U{7G;`?Mu0}lqx)Dt0Jt0|Oo zpMyUi0OQ?tgFAJvE|k_A&2^!5xE-{s=w;PZx3~V`r2!umHBe z{zAzDzY|P50&EMu00#?|U0;yIjum3d57nP@>YwAlJk=h-E$~@~+0+TABR%qCmwE!} zW2k{g@&>am?Gv~G)|i|d2JDPD4ZYRH1o_ET7@Azy4d28p1`y;C^tOc za!Rlzmpt9@nuNT;c$Rq#*TAZ}-kc!o@Jp~8T(Hm&h#U5ZC*+t`X;9x<6MP6W(0dx-t!S={1>tMWZ~8 zvXPz_qxOhr${A-)I!=Ut-eatX^|$u>^7}T%e=P6V$~AT2m3ke@NVuk6yXN1sioP<| zIcHVYI`!6nm-p&s!w~I;(I6RyfHI64>+%D|@|)+4t$bCx)mv-2*Vj~GU3U$x0r(#p Czy3S` diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/AuthorizationError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/AuthorizationError.php deleted file mode 100644 index 373a295fb2e46ee6a9d94f7453012606a91cdad5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1478 zcmbVM-EPxJ6yBC@fhnss=D)09Xe*IQ;0PfuaJQ@+dunEJW-R{%QAM&`XOdcSZOe9$ z7St==gNwb~N7+Z=1-OKnaT2q*-}#yE_dm+x5^O`8<*bSuHiAcg!RDC3 zvMQP)DKdC89gkTBlj5XIGgfI3S`-o*KxE?S zd$OuPOUJO&Qq=V&j{C5wrtEBS2rJf1tNaJR=>kd;d-^J!(J)4%Mb!hoyv`y})O`%T zt%H~Udu!^$HdW(m))oub_`L%b(O=!A3}Y7n%3~BTM;7 z-2j(E@`lj2L|IWc!R^pTUgRRLk9{9g5?P3dz*ThzKno3!L;1%jpl=X~_>D$9#Bdz? z*1>+D{GvVpo9ClkkG{q|9B`C1^(IjG|38r#L>Bgqp2NLAt9QT+BMe?s4<8zVsERy~ zddj+b7u+;V=@GRgtv~=>R&Rmpn3%NhIw(Mqk8KjV$`z4dhJHZ%oTNxWq^)sRbS`@$ zHfQfES5*jpJ5N<)7%nF`;5C4{4_;z2FdS?}4z)3f7SP0u&UP&U+i z;Fb(BQDm4V^8NWRuc=$$!GB!Q0rf->4M`9M?_8wZ6Rq@7;9>Jz_NLkaJElWJE1Hi| z@D7Q^d#0Xkkl7TK`@OF#V4Lg8?0POdq~4w7Q;|>3T{%RvBb*djoKLi(nsg^Dm$EWf zp)%##bAc%BwWs>`>LuGS{#ku!OUco=&}gkGEG{`(D>?tpBZg9y&d8F~rI|2&S>0}v qb)Bc{`T|MUIh3xqSV!xU<@3jjNBN|E>pvd$g{mL}+qhG33cz>Cs>-bZ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/BatchJobError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/BatchJobError.php deleted file mode 100644 index 31534ed80031d59fdb780db64d95f6844ef67f82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1187 zcmbVLO>fgc5G848(N+l8d`WQV(pG9(fujob;!==PZz8wJ+Qd##sz{dYY*HiFYppj( zfcg{o6CC*|{0}Z1xo~B@PSRFYFZkloXy(n^dGp@9%g!>e0b3*`EZ}4a!_SbP5tuQ` zX+#qkPDUfbU_{TeI3Y}f(6k}8J%~)pdm&nLI$;sf;h55KLh8XVua{vFecIit6UHdZ z>tVp7GyfwEeVNeY1OU?Doa9*$5!iAX9m0cQz=J_cf(?veJ`IcLWOr|XB-lOxQ4-`i zY!skJG?Z!Z6+rQ2lQ4-RnDc;(-)5ZqaT@bDNa8QzeFtz9BsmcXH)}_eG~zK$VbNfx z5vgs%60@k?%&6GM0i2O@iWQ0V46KwBmIledBzeT*j8o=_Qe7VtK3{B+scrAesRdd* zg0+&OuHWEz06CkGtHU8=gily{32-rolEhxUji)q>;cz~+DKx9i3yZm1;MXG9`!BK7 zwX#hU%4&0sHKDOqYP|lf3RbU4g3`(P`rit;e=Vy%04qK0I_S`9TF6xHs4HN(hmW!S z0V@?%13QNX7B}X1Y}0D?{Uf{K8%+;&W#oEB*K_@D4`U0rl&bm&D5&FjecyIa*YGSG zyUK$43_P*$iP5%9-$n0x2p=NfvyTy07S+dKwTs+dTfh`!y2vp5%H1M8YjKPg@?Gl` zDNE`acrN((Hg5MtX~#Z6zJstSh8KL4W%Vg|I3?V++yYKQEB6|IDqur6XS%Fg_tsFa ztw$b~Q#nP`b&qKhq+^Y;aeYiu>6@9wvN*rhar>nx->VBP!}w8MYe`RO!bw^g7Lo9j zR(k5^tYRQ-cg1(ocvI*7u5Oggx-QyveU7B-0!r6QtZ+%Pe7!Y4y_e-hU!L!+w=WCJ Jx(jdtz&{=Hc&GpX diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/BiddingError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/BiddingError.php deleted file mode 100644 index dceb4dc635ee4e7e10351ebcac449418c1300094..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2150 zcmbVN-EQMV6sARDwX+L&jnMM9+vyLqWp^D)DJFyJ1IetMsDI}Ev0s3 zJ4k@~GF%}Zf(PK1x8RO9U}hYrfwa8Q11Nrz>G?Pvz_N-f@!3jCo@Qy4#^dxSA?^rX#N#p%1k14( z(`-E*`ncftL|P5o_fuR}v0 zTjZEvTYF8v2kvy}DP?C=ThX6@{&t(#HlYp=qX0$N>2dL;A&Cg1T#Ow@uFK8@bX7ON zrxv1WFN%%LF%s7c^Xwd(mv2l@a4^CIzz}4 z4KWHt|CQ`Uaj1Q$AA+xL#9r$nl-mJ1jzTVI@OMHC@x)1n+DAG8cnK_9#%+c}HHtGD z?gz~7Sam}=vYmi+d~O9K5^RiWkMsxNO+m#Y#(3z70oESN*=e@g#L?FD4e+?x@DT0s z;{aK5=#k59;t)|1)E|O(nt`*KheYudd01Q5w}5<-MIXelM??;qnjLZ2QVsW*jkOK^ zYjAM0B0~R*3{OxX+TQNiV!pJG^%i)t1Vyw7;GXC)Z)0&e#Z?oR^AkCvuLMvxS7eG9 zk4`WTg`W8Z2<5J#)cV`{bMVEhFb3FTT}3D=KM`ZMqrU*pE#H!Z&yQUu8toA)U?F$Z zeG5clM0pcoVdBd7r;gEf+kdZsP2qmCSMSybu>D~1p;PwYuY8YZ&*mr}$Jxlpi&1No zWXk*+mz<>Kt)_WcKd!&5zV0CO+v=L5jL{HwXw*x&62@rM#`s4Q(O2HNV4li7XZHEm t>Shf#O#wH}Ig@D$D$}gF&fic~?r+Zxte?h0H1@DIBHik|=g diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyError.php deleted file mode 100644 index 490a27d95886d82acfa58f1981bc704513ef5eb7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1230 zcmbtT!EVz)6eKAHX)8fwaexcmHbqS(a8#jQ+!kR)g(nlmaL7vaaVF}YrRG) zs0Y4-8%I8cPvH-^AlAFCTPf*@T=Hbkn>T**=HP99o`Wv5aEd8nID)fF$j&j$X~wcJ zOW>@W&oPBzc9D|=Qx!tPg^oLcreRMucx#cBG{hQ=vn)<`955wxID4GFsx>!y%-Yl{CE}xN4|`uvc$LEklo@X6g}lu-5>qx!d5|DmeHb>y&lb zt#Z57#(0$*uS(-Lzqi5DWd@mPd9nGo1)eN>sXPX2Q)ld%L;J`!jm|w~4LqDW9~}3i z(`hLRcw|hyV|%Di%)rq{W~Z(A+n_tt9e$g^@V)L>W-zb~!*;A-JUQVw>nxa@d1hxt zc>y+R;E6eMPt8CdkKLioF-C*!+*dZi^96>AeLVF%_k@ExtI9iYU^_#1p$D;mdKsT)27O@s(9{HnY&-t2wz0=RyIXA>vaBZcV)At@pesXm^6)3 fX`1AkJrF8iZ#Q@OQl9(GZQmIT0hG8aa0S3WZYzy@ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/BillingSetupError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/BillingSetupError.php deleted file mode 100644 index 78b03f510ab0a8147a809ba96775d0c22f669583..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1806 zcmbVMU60#D6lJ%trL#cYp@l*}cG|48Td6o~R|~?+f+qIF8Ig=Fd%Ptm(#T1i)RNb> zYzGO@{uv(mAv_>{2M_!Jo*CPTn{BibA}_h}+V zDqaOB&5|OSBoP`fX0sqeljI@|qaafeGAzU_j)+0|6Iq%ki)<2TXr3hVC}{iByj_Q7 z^yASp(W&%OzlZQ$v& zVeLxo4x7Z1_W=BU3w-szMT2{FsVY@g8@*Mjw_5A{^sgOoZ$laqFD{<`xdZNOoWR>) z*JG|tblRoFP~L*O;HJmEW7bQiY{Ah1Xz7^A#S@-O1o@u2oHA2jW(Y=J3asmv$GEb+ zp6QT*bxwrKvBQZWI<(&}Yh1!TTe$&W0Cfqe_b@X_lfW(E;sFsh9u5fOZiD_dJO=G6 zFrw_pCeDEJlA>!lLib#54Tw|na?e%Xfe*ob%Fc108k>+i@B|$FXGk4$Vp`5nxd|VD zk5{181qG+FWj?ft@-A$FJ>H{E$>;E)zvqU0qVS1s{P=t`buwY{xPk;<^fe z_rYBz2SH8d+4U7&ms(8Og-^hv<;1LRg(u|1){EbRkHM$S^dx4N_DMCWu2jiT-oJ9b z)Nbwk1GonsY}8Xm`qZSIK2dI8Nmv1_B`9zophgKsh~df(IdK^73vA1lq#nv0_$4^r z;Hk4+;+#{R2rTD8$~7prfY=-}ohT4~0bVqPoBVPK9EUJ{D0IspVnE#i=6X;05F+rf z>v7Lnu4S#7Y^O&%RBn)R7k&<&bITF~%!Vtm>Xmh?^?H+4x!3t;3$&y`FW=#{PqOpT z#;dEm%ij8dEMN0HiTrr3CfU3_58}$6S8kq$`L*VLTEF>Uw{Msj|F*qnR@SXb!&d9C zjHGp|wRQio${1DdzGm;0zb_5`@9kDytZA}b(;6gAlTeygV~uyJE{_iycY9u&=4*$% O)?TZ`I`0x(0`M>AuPG7$ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetError.php deleted file mode 100644 index 129cc0d520c6d169eeb36959abf253a295b31bcc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1861 zcmbtV-EQMV6sBF&vQyYKvn;<7JG4cc3UIW*qQ%{^n%I+cggv$#J0&R6$Z;lFOQ~(y z4ica~2lrg^C_D;JfV4M^f0DLIE0D-dMn30!-#6!+Ip_I{^koVTP*21n3koqo{UYyrf~LVd z7ZPXFce;qfB1&RZ2H0^ZT1TkHEPW5tMCRrMEhRc-x@4+GG%iFI2lJ63@-U0iBFP-- zs%i4dt0b3ST1UqfYl#+3QLC1yX&V|(P?0UfRdR$fQ7p3f65wJ5RSEmzyQqZ+`|T33Dlw_Whw4do&6;(Y(r4tQ{b4c-TP zKI=O~r(H@6qd4Gue^6LwNrbyE5c$_>rVt z^Kyx052SG$ehA)OH&Vv^K2h$#7C2nDImD&5!AlA}z|_PYlPIsl=ipgGY}p3w4!Klo z8r<%3YB?s=sb>xwK~mv0#mWx+27K8>`;LJ#(yH;08#G3Q(!E~`(#tz#vMvpZuzE19rN;reFZ=W?iqfmvb=hwY7g#%k1d;# zA;*^OGmp!foVhmZaou-a!t|l?CTxSxuKAdx-{;;bW-BLdQARD_;<}?NZ>JOZCGn_X&`RbAmWYPip+rzr3QeCydBHkaMlsJHxn z)snK6Ws7!gcWH0h$&j5iRA8A2$_Ch^2Cps3gSrW;o|a9?v91%7xH3})H;5_Kx-aQiyF`XICC}{@wxya;i7a_SP5NdH;qdT8%qr>qpW&|5-8*;+dLc zv-V8H)l6S5fi%i*-3iC_kobN3P7mWhwjcGXd9TVTuhz%%B5kY9M}I&)LhNdh0~49BaP|Z~?$SVnaIb diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalError.php deleted file mode 100644 index 2a4e2b499aa1c3b153fdc9048b4dc99b4b9a349d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1198 zcmb_b(QeZ)6r~*k$$OycD-Sc|mnNz?X3UUHS3d(QRsIft+FiyUmhfG{GkB2zf|4AljJx!{T? zJcE;BHX{Nie4f*c2n#|lf?;$9eQ$8~M7K&_h=kZM?2BtlZoP|9(J%zw)W0>JQ`$Q&mG2Jz7;QFw|K9tVbd>`djdEUWi>2V>uG z_W(#TEG2Z88g4BSXaxfTUjfulUQ9BYK&i0OuWc$3WmHj|(J%V&eK^CJB%1Fgc2=-N z>7ilS5V3@Gc45U?Vz+aym(_9I-#tRJzsmHNnSK^V-q3CfL%kS)TsZMI7DbT4STQ z@yTCqGvyg(sl`RwO$jrZxk_73<*niCRXhLQTnilMM{^@Ed9rkhtg0+4ohPfx)2}PU z*hKDH=1l08sr%d9s+w(Ex7&8jWZRm`wkxj512g6RPHnWOm48=ez18UkSm7360l+^f C^NbJx diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionError.php deleted file mode 100644 index de8fb22920a10c32af7a3409da252c2793dac66d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2304 zcmbtVU2oeq6kXD--I#UN*tK18+)hkbJP zGs$0vWRxa((o2TqY%4? zaNJRzq&7fRbr9xtspUW0I|oHp$rhcH?NXwuUeS0&@^l5ba{2H4*y?O*>3p|$xYv3Pv3{yReV z=WpXXXvMc&n`y?0!F1&vyn=4|)^m%$w3H>h265cd9Og0Mb!;Xa_QE$D050QIbkDF( zscGoKHmSzi%<_cqn92=I(B~Sp;2sP1N;7?(3C%G)<`}eKQQpPfEwoWVT;>Vaqn_`I z6Yji)d=Gz(x?A&+6}Mi8C^zvJXte@+)M)}Uwe*Pyg%_bt!q%weha zTTmHhDrib8)ul+o^&}toVCu>W-bAE2if`)_46s-e^q$tmO@kXVTl$m%quU{b z$QEG2;}RZ+S80hCJ~S=a?Z9v90Hk(%?fBm%v;ot&>aq(P?(t{y+i5YQ?4=)B)vyQ2 zFo*|@BpvJy!nl~llleW0vW4UPpls{EE#GKT`p5FaW-+H5Fr6FaQm$Z5H_AEv_XN=` zM)}k%FNS$F&Hq{6D1%iM!d10qQdOW*)spM%W}))it$K<*Du?5nNw{!~7QhmBi7pZP E5A1%v#{d8T diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerError.php deleted file mode 100644 index 6a237ae72bd8dcd2c46c70311bc4d9e1ff7470af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1043 zcmbu7&uSYn5XS2ST2KxRzVy&Srg0z+v}-~M1vzf;pN%o4wxLN1Wx>c=c_Ua$i=-{I z#V^xi-=fz(N}r*JYNhoi5cbr)>>z#f&1mL#ev#c~s0Cvtm?DP7u>1<fXa2oQ>Frd(F~@uD+ouEtCu!a%Un^0A(1jkS%<{B3d`oo&>Qbr}}X&FNVbI@>NnG$mTY zu(Tgm?oNQdBd}kVFH=rI8)EG5i0cIx+;EcGHe%?(ilmxZuZP-IE~w#BK#?#Ll(kR5 zdluTGOxhXsVB6-r7@HkgG!cd=LDFc%G*vt^Qq8Rt6~jltgr zYFR$ZqP6u0FKX=F(&mlNVflbWrbHxxR7odc!qK@!I^(*Q@UDO6kDc9dzyEXRVC={Z zEU$qNi^!52cyfPl6_JDc9^DS_lJ7q|EuW0BO~<%$!q{42?7fzcU6*f;tF^xJwA`Ul N%as#)-3DzC`Ul{=UHAY1 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignDraftError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignDraftError.php deleted file mode 100644 index e982465b457b3b74a374ab0fa00cc515111d02c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1396 zcmbVM+iuf95TyyUuzeu15Elv5rKv~?)KP`{;!==fJE=u{k?oX=EUg@8<63fTYwaKb z>d)|4iT^-+3O~Rr>$T%n3Ka;yc;r2EW_FI}ynLOWrl1XnIL5@w@f1!z!Tc1%lq7lL zClQ=1W;0BnpUl%R!i0xVHlS`eP?1&VF-^^q1@W-}gCq$e-1DYcuMCUm+i3xgOxILt#Y3P01E9>JLxWth^eVrPrk&%-2! zMS>CgxVsBW&H}rWCUi1KaM__*42urRRpT6!*o#~lXFdtjJRv593POPMdc?(-?(QM0 zTCjyP*ezQWgq0qTU``hJa&ZU=&KD%UAULb3SYvyy!m15%I<2b?sCwNRSk&!+^K~Hn zziixAnafk5`C4+GO3s&(Z+~xsy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&xzMml$se*vET1zIB8xaf?m*2g1LE)MVy!GlVvVq1SSRI)L# zG-9%K+vJwpzvjR?vyy5)W{yhx{){;&-j_c27FV<8MS&A~LX>zdkA{VjOx-8;)0t+p zUrywg#(WQfgc5Tz+?VS6B00wILjC8=mC6^9D-fJ;GJdt)pT+sa2FD3Z0YH?Aeew$=_3 zp#B4X1xJ1gKLv5(z?tRE2_RY)J$yoyGP^S@PB%>Z2e}dT=g$awZ z*o{Lto=ql{K{uWzK}eYlp=LqT>O-s<{l`2tjc3fI3iRXH4{4KlX|o9P=;Og*lQI^w zwCR#*LIOW>CX{-PIFv;d03tG_X+m5Ib^D}4GvbkqjC4UbLS8x#^XT;8aD)Zn5ddyT z(iEz5;uhx>pTHLY`7fD`!@z}UMl$}l6QoWM1zAAC;4`1|7*0r-QqHoBoy;OP3*rdo z30CCN#vUvtM^Lsgliw5ods`xdHj3}clBH>7*smp>Si*BW^7 z-=ay|MXJnImP@^5uD4w1UHiHU?k!1!quI3fy8`YmeUa{f&4Jmov1+sotW|GFn_y#L zzBR3PW_3l{2aOiSnuFS1jI^PH-y6Mt&uLj*$8IAPzp>gH?mGRUjjI)@2DVgW@>lAp z9NxzQ*To&{lvCt9)tk~YuzwYEh1xK6M@1bQ8M;|ytVyF?P@kuCEX`;QodxApxgUol^5vNM zO`k@>!wbtNL3-^5I4T~-x5}!H(D%x=F8nQXSIb41N8I0X;qM;{#7L}wOFKX;f%z8r sS*aJvio(+srDReRPNgUX*LYoY`Fyvuz<%MZ3maYQK>;jq=inTGzcf#zxc~qF diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalError.php deleted file mode 100644 index 0eabed2af80f1e38d62d565edeb0e7f188c1cbd9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1537 zcmb_c-EPw`6lUGnz(XR6-~uF=_aoLxkTPHwq?9Rb+{~g)LYodYRf^Ko%_5~ql%z-l z?Im~wt`PUU1dqZ?fa5e-rIB5cn;hBS`M%@hdas z0z2^FXf~OU2-?9kbUhLY5Xu@~q^ArW076$+iWi2Y_!)NgP@>fr{SjlEfNYi8WLh^-vne^DvE$ z_Ya1MQP%;mJu8l3YcA2r6%;DKFyIS-^b2Pr&$VHkSPA{@xUuQ_ZsJ;=`KB(Lhe-CgisjEv^QOz#y_pz#Qm2?%W$5IE&X1>cU^DltV z8uSgVi+ZNidOyH@Y+y|_bEu{pxQkCEw%FBV#I5j~;1O0^8dWfGvxCegmSw78_Kluo zAmxO+$v*)1=gOu&=(UcdJ~9Ts+4EAaeU#Urd7nH}6lR2Z4G-~r;+O6#O;80fmz zGtlL+OyfjH+%5hI*t%9JGExXZ387zg3nMN%~RQP?$#v)R}}VOe5-1LgrDwa>S6?*n*ESBbz(f@5*+TEQ&N; l6bmL%q*S7qagA14l`nUT*ZVXxg-Zu0wGRf&a2MbLfWI3L<+}g? diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetError.php deleted file mode 100644 index c46116b1e1e48e0a7f8efc0ca215033cae011e21..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1069 zcmbu7(TdYR6ozdV6lO16dLg31j@yOpf~G98H&g49HrZOlw3x1f6v8x_rUU6rn3)JF zeHkx(6raH-@D;pqGLvQ(c6()Ra>)GipFih(uP^dd4%%=;7!g>J1TMZpwIVPVT=AG^ za8WFmM8KG@bD9z1K^sWH-j^ z9MhCVa)kv+B1u$ajvUhq0EX8@<~SyBG#$Jr3MW|M`N-JL-9%PpS$#Y^pZmtP2SA)* zDdDiP4~=_BlsO0A0n|@kEHWBHsj$+oV=5!csG>Nd-}Eo{;Sy((Xsg@WWx--aIfLbe z35!YR6k5+xdz^DUqCVWFoR(A56Pu5jB7)&;?hzRankz1*T8dCgR6XnROXsv_x|VKq z2|G3-Lbo#Zp%MkT*&ISaR3X^4!KSt{!CtaLf1jh$Lp_B{c=_rS$}?yq%d z4II68rv|{$05}$aBLSY=y(FI%>!TTXboXiNA=tkP!l^$TUygn6;9hGVJh%$p1(Q#~ zL8J8yJPzNwAABzg{aNG=hkh7Fo*$Ib=HPDwv^Ba_pq<$UPw(z+_Bm~Q_N#wOd4^f) zaFKRX!VI@t*mEj(vfr~4_|e=Ox$e*A;m9!UXp$XUmX&7Ou}uHkD&_|J8{8Z4EAsy| p+x9X-`Z_|j6GGYwA?vlcZ&JQGsW<+@f^<#IPUMWx>Na2lz(2}~VwV5_ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ChangeEventError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ChangeEventError.php deleted file mode 100644 index 5b5867bb4c7ac61b4b1ed89c14b7dd0f71792cc7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1142 zcmbVLO;6N77&V=+%GV*Dw}%P7rLk&-O^EW6x+Q<9ZblH9~jt2`Dd%V8Z5EJ>&MOxk}qHR6iukAV4w!gKPU8NCAD#OxdZApz-S|dL%5F;g{ zD>_m_nkngbdsPP`B*PJEm=Kaw2x+eIf~xY>dUHoF^m$(1;;o0QfEsrW&H?xfPzi4J diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ChangeStatusError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ChangeStatusError.php deleted file mode 100644 index fb86add77c89a92730159bb0691ec13a03e5c61e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1148 zcmbVLO>Wab6eewHrRjoTpdc1>Xe%|9z)^*|U`j!5>>7*Ijv6OOD3UdCCXOZ7W6g|_ z0QE8~IRGn8zyUY}2Vl*3CUq-?Zt%uW^S<}J-|y9%Vpf1{=#rc;EXV|oKS41guwYcs zm}YQXPN#&yn4TADMwkhq9Y8+_p<{dDQyI!>$zp$!l4TJ)E%R8UG>26{kjJF8 z2Q_Df-6^P?%MrXRuvd*rj%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git a/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionActionError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionActionError.php deleted file mode 100644 index b6b5b4ba739528e1018ac6b307792bfdb448bebe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1417 zcmbtU&2G~`5T*^Zuti{5<)=lcOIy@bY8_Qoh2#>@Cf-ICscqR#i%_JM<7`q(u5GQI zN`U$@9JzDi4Y=|aJOU@y>%=We$^~C`wDZk3vooIW_1oku0UNMIBg(vt_F?ZM%+4rG zSe(Uv9KzmcFrW79?5BEDlxGArEV?4NEU83cyKjPV8K~bcvmWsoR!d->cME)9 z0QLVGp1f9sD}3TgIeUfAUMXh3{<8vBW{wC)qx1D|74T@LSAGbVI)-E6rhcSjO}Zs7 zfyIvT&M;36X-<~G1Fd7V^(JyLG0-uV=H+D|UELweBDyA3XQyB!y`v2=HK?4&pMlJIRMPRFuLJ5LMbr(n5bac17MzdTFw4yZPfA#Slt>`oh#26C`Qkn7rdqa*0V ziyY~GD5x+xX}Vw;4Z->0Dk}!fxk}x diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadError.php deleted file mode 100644 index 3a54526cdaf019520e272b0dab49b7886e356434..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2000 zcmb_dU2o$=6lDW!VG6ruwBKDevrVOK5$k9{`{Gj2#GWQo65IHr-JnP#*O_FEQaiGp zl>qgPU&1551o2alkoXDA*oot^t@^Tg@yNONoO91y-}}vX^Vf6GLR}v7G|2fFo&JpS z*Bs5$Bu~O*hE5lg2~Sa&oXw*dPgR5r3z?ROh(W!lA~j1EX~;D+O_J%1w}WxkE|2o` z=Eci4PtzpL+F=sE;b|5nF$=~&EwcQK$2nWfXGt(-MT}aI0uTphJevn0M_s!!;CV0( z@?g|0@JD!@Esyea{Nm+^6!`l9gtH*akY4fNipDQkia_uyK;k!FoX(;UWqFW`$4->7 zD30NiP z8V9qH!Lu-p=6RCZB2?3+Jg?lBZ+7?g3s#91P0(&BQPbYic!2VB!RzD*r95Ax@fzT~ zf+~bP|2A66z~gbndMGY-w+fWJ&%i$b^xoBt!e)u2ijGjL-cUtvsAX?#|GNQN*W4S4 z7iZglZh+=Baqu?S^i9_$Iz6PsP~L-^V8b`RH?0#>xd9P)>{%9bh)zt8>6Up+9G6-q z!@4IPN<&7}U-un?jiE^J91$V_KY$OwomzzW7TBTXn}+fsya!xzPx4{!^ z9Qm#{kgT?3H;7xKS2o~N@cF=U$V!?+Tn~GsNGRbyf)BynOT{Z6LlYe7*pyn9i8b(L zZOrRokKz6a9=gnT1;0TKvERR7!!hprL;qsV+*a;n(4B!RKI47oJ%I;xJhm)^%cwD`3@I1ACZx z#2L8CZTJ;XYvz~tS>%yE?b1%4h--2fF?-n53ttrlZh`yM6g5*rI^r;DhzpX9<0zlO zCfE|4r%73Rwb=CAsriciSj@; zR;5=c^e{DDW>cy>gb>_XIdo)ogh9$9dAp`{NrRPrx+U9vl~b>`_`;Ysw2AV#^IHS7 z#8O$#gDXcvXXl#ly%@0ejUUN!#!Qo05Kq-4owlbuE;h<)AI+oe%JsBgPNLr%?{_i& zqtWaZ+eQ^TMlFx>B({xOZkxYW5u;)u)izSGl9oH^??$Uk)-;i>X%&*D2`Eh~u}*Im bD!+bKjo>fK$-W-rSMGo!u#7tg=K%Z%Ae?3( diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableError.php deleted file mode 100644 index 62c4a95bc98f16097180c23fac10a35866bb0465..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1139 zcmb_b-D=w~7+un`fx4f}_oHf3XbPJ{DZNpa4JUCz*y@Bf$zTMG;wY}bk&GkC-uH-^X_`sK72^L|{c`aQX$RI|5_D6%Tj> zr^$Ry1Pu5hrV$Y~gzY}``a|fpd&3jmDtRITf?&vb7?B#D$y!#X)$-!1Mugx()&kC! zL`ce+A0$%og}=mt;%P*DgRqSx01PjPjB!9fQ(lR3BwT6L#Zvg5qPNoqJpj24t-zk+oWmHid(XV;|4LHYkf?m~=}Gmx zZd6k?I)~M4M1&s9*nmnT=sR!GEbpDp_+U`@?5>v)@(8og<|3?xgc;j!A`?@&GePxiWxt9CUB~%dJnouE z*g6PyR;HDXgq=m=&jv9usks*$lbdyL{uV1)GeWu@p_~aJO@&a#HGOQRygbXD@;Wo% Q)@?hjYJeGT1y%t30|Os=4gdfE diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigError.php deleted file mode 100644 index 46ba07fb42ffaf300940b5861b1440f78c06e2f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1431 zcmb_c%Wl&^6r~BY(sV)O1q(KvzGy0eL#fKbZJ>@lb*(mb6elg9NTZ1}aVYB*j^4*tG1|li4|&2eKElJ#IJ@FFPNFPw zqW}-5<1tUL8%<(A;E9Z}Zez>tVWOM8bqGzPY2tDPdr{;Cyun6kqcC&pdhejYlO#&g zh8u;~JW2g1q+Y}V>at19d@rQ%VeETUxXFSSp^!~@8Z(z;qtj~hjEz{v28N&*sH1dd z=GMjD!GH*gLxkLbr76}*Dg&6b84Cx8koQL zPtj`MaympaPfViM9!aZcrEi^C_N7%@l8(`lrdqJewC@nAsqKzx8WuHd^_-sAUFs0E ztDRC+cj*4x*R-u#szLP9u~v~()YSS;&u$k%x=kFK=G)&=Q0 zrftz8h;(aJX&dU8GcRP*w?xVU*Qq_0o}*`^-RXU#3n+P_PVI^G2FZ{^mrzFqs=~Z5 z9kU0iit<{7w(Q<1H7)JDuR|l2B^@1iNEfPvsx$(%eJJaiM~S8^RCj3t#4V9iTWNi- zpiNMQ*)Z>&YwN{>qY@|5S^7j~E8;}~3q3hXyoSd^p$ck=yg3)FG diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionUploadError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionUploadError.php deleted file mode 100644 index ab08c9bf5c6e83d674b438ae50386ea2c8de6532..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2689 zcmbtWTW{Mo6kbzc8`!30*`}BD5;nnWHgS_CdQVHx$R?WG5@x_nkCb;9~pRk6Nv!zLPmx%^ulWnvVM@=-V* z{VLzPiTA^C7D=R|w)@k#pG(46U9jVR)L6p>rm|g~Br-mmxFqSQkjZfMSe!>`9FBWd zl=aimBu`RDni|G1%Bw)DoyOWz?NyHr%^sl;{$*X6_h4+ z@2Am>1{n-0uUj&Qjml8@y$k+=VDo<^4=okfn=<3gD)&v9`(}~*<&X2=+Oa93@$}vD zpYveh*i&>KoC&z+P?K#jYQZni8SquWUvT>sho{gASn_RKbP3-TrpoJ>qf^p%} zmjU&BIENO%g@8N6^(bj|sA!uVX2H|wrX*Bd5sphuYEe(n9m;+9ExG{a>1&6%)S7L5 zhb{rAyeUiW&vw_*MQ~o<5wax2mK|^l-b2^GLcmGjZ`&?=BO%Pd^X)Em;nxU*8#R;~ z1!DS=JOt> z30yCfEp~{@ba^RJ%v1_*pgUmsu)z-L1XLmVgvnBM7=t&_EwISAJdv6xOGV2;6NR@_ zu^xY}^0kE4L8C@dQ84YUOh1uz`ilA6O6J0`WgvGURw5_@a8R+gm7GcsQbJ0dvdC4_ zap5xJ;Q40?^N^&q^TT*6DsHl?1&(98O8AEjR?#B3+-|u-Y;0C$})~bst(!?~Wqn=ysYB<@jx*oi*T4q_OpQ_`*ClqS>I@Yn4O-FVE4?a|N zTqgCo-I6(l-z%wcyGB*=(p|D>-H%lQ4OXwHA;4 zsOd4mIrWClKAOX19LB?Dk`6b9QLLw-a)6qQvJ>a2r^ToB_qo$;LjIUrYU@d0@cp)5BD4n$qLcY@YgiZl$e>=4+KtSk|#kD z;r(JX5)uc=VH!q4Y8YEx%(^Zn7Ip6fG)oE@2px};WE_c>Kg?RSSz1TWUbKXiiOgC- z5+4bfg-Ohh{HPFI7Lnl9p;kphDE1FUmimFfonCuK38{O!wIt9Ik#}KsRPNs8`UE$DAH9 z={6;naz>yeldqRO-+}w z4yVktJ&Rb}U=}CuCLdF%vY_5V*H0tBhOwu>sGL<>=#gnK*ahAvJKbHv>GqV8G7gz| zg!et0aEG|cIrS#G))4R#XV`Xk59(M{m(f+I$hP>7=eWF0IFt#P^Hs`qke=Z=<$s$v z&L7;II=nizlnd%@wCu6EcB2ikPt|i#y@zg{w8-!*N|*_h4(W57IrK)uQ$0-jm75jg!ca$66xCt+9wJNjXuXG|XlS(`G%GU*;D&hVgZNrBlg`1|p-? zW@&-kXtmsYJMkD)igZenDovV*(vSJI8m#L8*Y$=;*MUmcYp(spD$D2V%_=^wH+;Iz PGqs>{to@GBF+#rq>HySf diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetError.php deleted file mode 100644 index 8382241f02bbfb929d27b0d5876098fd6321e4c8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1599 zcmb_cU2oG!6y1g{h3S4+0|K;2+iA|F*nQI98F1O*?Vv-hZY z$5AHIA`R0Rot5J;7br~6vnb|5N62yzbp{AqWUww%^RyHpH_#+aCo%5?qr6jxD!SO& z?QkJdk$1v0x!@v?(u7?Eamkq|W6pA3unM486#+>(3^?SpJ}bw%DQ5XN@Rz zDhj1)O|d`ebpak$|lQ)I%3c16YOcLa2M<}rNpWtJ#u^?@}tv|zU(3ZE~=#^KnSj;a6A6sBk`q*?B7tZCubuLn^wY&6ox+9V+ z4w8wUib-d}lgh)c>@SP*g>JZ4ufV6)jh<rh3~-}Ktw{<%U7D+`?S zz{&)tF8H;zStlEYOgD^%$uK09Vbok_H!GDdx0=P@uKi?Y9t)kP0@k=oa0$SF&X4(7 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CountryCodeError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CountryCodeError.php deleted file mode 100644 index 40ee86dab6517a1a1be1a4c15f7fcdc6202b0bfb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1027 zcmbVKU2EGg6kSr-Kz&#U9qg@IQ)mjCLm7pkEE`Ge2JgcOThg&%2(qoX0!K2EJm^OL z%pUhA_P(F8_q|V+61Sw}Wq#2`KKI*99QXu#|9Ud54NBWGrZ|xR_`tLMc(zddr*kY1d3G+2{hctwea~t=X`{2PWcpHpA1&vzsF*xvp%lmX76Gz)mfLN81yPWs}+$Z~cmtXPBi97ilLY%!G0i;hf5y ziSF9B{;2Pb`u(5v!;uNBqhspWvaEDq9UIu+8$@U_eJj)^)$3UQskdx1Lb@HHiU}c2 eg^=Zn?i-cQPbyQN+N|6JV`r)i(Bf8L1;9V7y;A%D diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CriterionError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CriterionError.php deleted file mode 100644 index 0ec12aa06f94ff45bdb07606fe53a81e7834ebb7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7043 zcmbVRS$7+^74A4~(!yD|7&J049(o1-1~_THU4{js|_y0<&n>5pr!>q|G1nJfGtI|i(i z(cXBoUw5}hqwSskN^fhjl7HgYyBDvl^vC1Tc(SrN9!&e=!Dy)TKuxbe$gp>>KiTbV z_T6UOX!obRt=_b^(bU2=_|~NO#ILoBS2lzec8!qDo!(^PdPb-oCm#?Oes=e6?+iBG z$+S0xKPLtgH5d-2gWk^IeK_C^_fBtT(gzWXw0HJ~n^V}LiwttO*F&di&00QpN(J$CmZ&5HvIksj=4J>jbk9K*SGuAQnNU+eCC>76{QXCxXbw#>-B{_ z-f*Ymy}rG;>yG==z434+;C?AeZ|uSwgJK(eYpYy!6^yoA65_h2$=@%LEB}|Z*wLJ= z2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gpE9 z``7O#vGa~7UK6%QJH6p{Z8Y9q+3pYZyO4Q8+8s;|d{MfVzd8K%&_hkm|90qTQ@-ADny$+)4^<38NhxINm apDtfk&gTy{v)7pepLR51PIsT&C*;2_hS?wh diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeError.php deleted file mode 100644 index 3cf2b413632f0922b98b9f79ecb368473884a6bf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcmbVK-HH=27`0tc$X>V>^maeD3)=;qvdCVTTBSd;rHJjIt%44ebS9k*Op_tW2&?pE zyz~)#1Ruo*@Y+l=on0usac<@#-}jw!l5<|Y$*wchgc0Rb5=~=R-hjTQkV&CMBvM%B zs}+?HiFL+ODm{SV6eiOd_`~t+saaJbml4H~2$7_;O=8t{Wl?>-xNK7?g;eb*my+`6 zW)X>)F6^OaSrFo6O;tuB3ZtO^j%pGUO~R1{412LE%cA;taT)p+u!B&P5~W~J0uKzX zZK3Z7%$McMltrL4(dKu`)PixQ8A;hUbI&fUNUEqo*_~bGJkm^XC>EwXqOEgqn8oaA zCd|8ZVJk2wp2|E^IOdv4PSS8lRU}!ag$&Fn#tGHc0~aT)^NwXL(AWxEP9nxT8oQun zPVbTfNUC$mZvi$Hloj^;H7jNG;<#eHGTybS!GiY;{W?G||J$_2v0L?w%U2?mP&l?`Ni4 z@Bgi#rio<9yjMj3$qtisE2w?;OZ|yR2~RvBlXgP64dgbz8B=@X+;O-3Q9l^k;k7g9O^ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CurrencyError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CurrencyError.php deleted file mode 100644 index 5cb3d1a6e1c44e3cf6adbffb77b4d98a0fe36007..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1023 zcmbV~(Q4Z;6o!`+Hc%PM@&eVGLQ>cq%GMiY*>D;sn5B+kNe07U6i0Ez9LY%Xpc{Fa zUG6P*yGPmOo?x=opND;+vEvL|70Gr_h_upfhx5FZ8J7nTQC2G3RkYx_BkKMVVJ$FD|=82rgtd%7h>+ zx(&^@WflOy@P^0~M+A=j!8K8Mg%u9QMk}yavMlpzad8Ay27L&~V4IHBM4_4;s)6G^nf!`^kqB1Jia`M{J#q;n1n&Aj(4<@!1L zaA(fXUr4`B;4(!7!$~kCG7>aZT==>bp_r)ZUGtO9dCzRk)#w^_3X2Fm@Ysh+WaR#G z2nA7@V0QxBO3D~}^^TS{?A5B;I?|DKs>Xb88~i!~Z~iB%=1DPS>0GTUVM`}$6$zhy z0nhgWaaguFU4W;1hs|f;cW}J<}r9O_da;jPhO+e4BDWzuqSgT)QpAK z^U2KhCr&sWg#&jou?M=Id+w}JAN;L>mZq|_a?sVFxwqb==GQ(uYLRt!;LTmZhxP0BNa(!9ga>vF&uuNmow*^}O{sAp0P*eZ_ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CustomAudienceError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CustomAudienceError.php deleted file mode 100644 index 1ee02308872d099e32ab70ecb91f58f47c373a99..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1267 zcmbtTQE!t_7$YTF;%FAL7wR+=?mA)%q@|rRO$dcsMnZvHE+%UB zXMCIg!xw*wzraT?mzFiz_9QQSxt#BOhwt3;?n8Q+f?e3gF(xj>J{*6A^b*6ABsB4o z2#)i~1QX~b(=?1Qks#DeXqYxcnr^>ltyz*256dt}k|4qj*UuVdSyW$+jvJVegk%jb z&uB7r+}saw>|uu=OMDIhu{*_C>UtQqtyULP*LSHqYIDkw;%Bq6sD?+!Bg8420CCMJb{$tcyTy{1k;?vHw0G|6&H5+KAg!=e7~A{%KWQWz+&z`xLyIx|1eJ6 zE}JFhwN$w-G1sNi^_^ceuz80)D9)!l*EO(l$2ai_SRWXD3#t04jx^zcxDM6^#z(_E zH-sheIe2O)UF0a89#XUmXV7Pun)nL5P!)q+Os9vs<`6mOXL<)Yx={dxW$`80>Y=_l z=&3iYB~lX}iihB!i@Gh;bLngT-Caj6ifMA&&UA=IIy4g`|-86(pi^N=rdZrj{Bs^~Y zT>`r-gR>>yyYJT49Sh}`(^~qBW@ZIR%Nkf0IZm?v-^*)+`VO>ncc^ha&EttdZh z+ijjsiDgnM%c5fGl*)Aeo+Cy)zzYfH5uRoEPi?nsmSxs1%N3I>Gb&jwxyGwp<=g%0 V`o1YsaT9@i^TUB9?h0H1@DE*2la~Mh diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalError.php deleted file mode 100644 index a33befe38ab640275c06a4b59501c03ecf40abbe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1309 zcmbtT%WB&|6m6U)fytsqyA+a49uSANGNEK6*A23y2oYH_@uN@-Vl0mpfvgcTqd;5o zGhKGuf9Rt7{zN~bbTqOR)8JLLnaiC!=N#R8&%3MaE(0gf#wn(V<0+hcg8UA{j1o>l zlE6tmn_&t=GSA`!Qx!tfhn_!xmgx+R#8XCc8e$DbghUB$qA6>ZVG-S5TsASKgtBIs zGfw6~NYZ;uSxnL(A}9&utt#mNNYNa#422lly-pW%G({YZZHYYAr)&`x(dgoGY)Rx6 z0AYd{gN9@qYELsF8r6nNp}nGaqHkj-<(Q@@8Jn1eG|o7oJyEJ@5$09Li%jFZ zC0Pr!cm^A#L`{35u?;!R@hUll6!V;>j{px9loa;neY}vNPp1{@wHRijDlB-h7^ z`Tr>@hb4w8=C4+ppo&dU%S|}`RRjBLXJw`N{P=qf?5(X(UVz=9*Y8<|bM07W{h6{0 zc81=K=YR0(8_GV|bG(u6I%Z(_-pIP`JH8j_#y}kPnsOw#|4j#Cp99O&JFbA+RGQ$G zp?gK{*6R8rD{vj}#u9MD{=o09qT0Uh)}Jc};N{}3NCf7v=Q@TyumVr-TJ6=-=vX~!|mLdhymslJryI<`|>U;DR9MN-C2=g$T>5k6fseQp0c2Wwj^ zH@CO((OQf!A_+<(mC&de;Z&M*Y3?j$YrWno2mQ6SY3us8+Mz8CtP0zzWmrVQz-npW zpUaA|^!SR&rOOvK|6MyNA8VR;u4xsLrU@ubE3qcqQsvvTYPVmPmU;BYT64+5vhD#q G0Pq(<(5R&V diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CustomInterestError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CustomInterestError.php deleted file mode 100644 index aad9c5aeb4834f73566a8272044b891b885d5d3d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1288 zcmbtTO>Wab7^Nv~(R6`v#g7o8LsQXI0!J0<#-Si5o}?CyVYktNGyyCLQCLl$~b_?6%F2u{3+V$O3LJIP|7g-Hza zhFOj$xK4pr3vvvSG#m)d?qOwHNC z39J5MHMbfGa!83u(TmD72dqY!~?#eI0&H}_-4*F;eY_4cc zcJ@HkFi*7;E?|kYoJU%hpM$3@&CC@QGTgIc;{@fh_~oPx`4Nz3=dEMS>>zO$>0a~C z3aIj6&Njc)gyxe4TNW?YTKR-#4hBi&#etHLpdR2@#B!eFG^9&o-6(wiURmvE+KWab7^Nv~VY<>-?>*1=^Xg4$EwqqfF8=%%k&zLr3Sl zM*w)Co2F1L`BhHeW$YXPJ_E>}BpZi;2UF@&_Sy+j6hr|H+%WjWe)n?Vh zMIH^}2<8b^Lad-=VwJ9CVPViLKbqv6yeK|*8FV^CT4F|BSp z|I*ky;;K1YFoli6qAcI>cnm4Y@NIDj38oo|ZV2WT6*sp3Iw)-@lS!p|!V1}_fVu82 zxLN^k|F?qTR>2^#%1c!bNUR5>q6fCWEQ5^&b<(43w*9jP9xpf-AA$9uIq2!CaboD2 za8FzZYeVzYv@T3xNqi2Tsa-=iZKQPjx}uGcVV)bduA$Zl*&Snm&JwTdnI=i6$ z2e>%YSQ6?OdSB_QosqCCZZJC|231klFi#O{dq&^2E|~s(aT`2QhXdO>)BC8S43KSE zxyT49s%i~QdmyZcb+A<`{f6M)6x*=Ofw0QGD`rmKF*F@neKa(AR9e0vTod=f-oHhW zVpqTVK!jlPZ~7(iKzP`?S^{-8+-1EMmaetApf0@OdrR;1vi5!)x{)u%#BcgI;*)*7 z50W5VxE_v*4*6PJZY#>S+E$xSy~Ji+D#AQsQ!f=$|NR=_@WpUzGw{_=?uH+=dXX&4 nEM1l>CRt`wvRrVDSGmiVyVXd%C?@S@tQO8B2Nt+Fm;>+&Zu7Jm diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerError.php deleted file mode 100644 index 1db4a1fb05034de559278565a56908e45aa34c3b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1043 zcmbu7L2KJE6vvkoHc$^Mx$Lk(-G*lfxu1EpC>8aIS7C$P4IVJM2NxB^Eql3eIU zzRZsM7Q61F>@(~zS#sP$@oB#3Vg29#J-zokIn8f!)P)Ji#cPwQL?L5}Ar&Ics815*yReLIkB)sRrI5;x3#G-1 z%4-*}Zzi-?o~?xtCo8IQ5>uGWN1v!B3DG2)Sleirs46U@tE1y6u(o}K;*2N-XO+D> zOLr?k-w~KEFBTb#L207RvCq^s<4iM>8DRngSdvUp!*Fw&X6yucYdf4Tk-eKQXE#24>dagx`AN4o@ zEeravIDn+Oko?|YU0d14-hNJuF%VdEd{(-?Y&1Y8m>Ff(e`Edc^;fi&!@q7=SgQ9J-ZA)hO;l>PHXhHg}R2% zs%T^V(W?e~yR>=hYfwEP6&c~FCuHiUlv_GCNasv765e;u{L$W;42M74yAw;UXL$8o zSVo3i&yo9kqlhfr59qddSA73zcU>~ZCLQD231ef0vGZCywOzhDsMq?&(Q=PQBUe`F JbZfLm=pSyuUnBqk diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CustomerError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CustomerError.php deleted file mode 100644 index c954651f2b6350b836bc890f5d329e70a0379873..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1035 zcmbV~-)h@16vmeXHc%PMd@*)0sMZvk!sbxc-YCn4lek`3XB*CAgBM>#E6NDz!EjZ-qf5g$}#S$#e^8xY1Q;GtXEW`NO-nSIIxJ_}dHXXj= z`xfAe@EY+y?OrvEkQ_&-Q9?*cAyjEC?<<$Dj+%^LROsArvJ*1ZSoK|lYXJTM;i6Kd diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CustomerFeedError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CustomerFeedError.php deleted file mode 100644 index 2d5bd5296581809b7c82f5412a75ac2914f0bd78..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1310 zcmbVL%Wl&^6s0L`(R4wu1Y&{c&{S$FwGI{P0+)i^coHlU+e*@uB1@KIPh3lmZH>oB zfci5m`4oPD6+gfSz?PY@<32(+c;l;?bI*O8Ij`QN=P78wE{-vADfZ#y6Qt)DrX-<> zmqc)qPp6nbFPWubgozBHWxNHw`kHv zkt#ElbVaF{6opYKO2IW*6Dl~cvo+H?K$_{JNI$kzKgCSunjE|5{5aM!pRNf*91n4a_Z6m zPLkP-FzC{GYM#JaAHKqx3i3UANy?`|FG;U^QYJEODY7)jMi<@o| zb2=x?3H%vxZ`^=59>swpk5w5DfDq3~9ATG0tKaGpj;EO8u_dX;`ZUhX)Ve%88k>^( z7yviGaSV+-M5l;gi2xD9K=M>J;ctE z(B(c2Vd~HeUDDWt8E1;!iKr;m2`n=0r_~dc8>5gD7UE#sCb7%>h*Q=VP)+j)FKeFu zY3v=#s41I2gN-ajO?!~z3FIsx_k%;o2v1meM{rwG$;4ir`gt1qbXrC|6YXr2z%=eI z__hL!|IkNeGb2&O2&m;SsA3q@Y#6q_FN2NhZkb^+-}+Mn>(vnD8CV)h#}GjoW#X72S^IRN_$y|OF}-4=V~v`ok7nEHjd#1rKdXbU|S z@H-FvSCkE~UZiAxM1!HYr863cB6P$@eO1{5FN*U;ly}glt-niPTWo#azsgp&HmjQ? z*Py@j$;`*WqX7;*l`^mCkx;IDp%sxIS4zimHZ(tK%a*SHtZiCS4pbomYG$UEkOMW7 zgI@(=EEVIPWJt}(MdNpEJ9E}F;jU>VlcotOP0P3@D>BR1yXB(nXZv@zY?YfTff?== H+yd|q)R4bp diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkError.php deleted file mode 100644 index a3baac0a7e317b67c8d433945d802a513ed34d6c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1431 zcmbtU%Wl&^6r~BYFkKKVRRRgrp{bM@h6yEQ5dl> z3Ej|#@*c zY@>|$1OV4};utDLf_~1gbNUPcz5vLdXfgIZ7siQ`@YlW<6EE-*&+)y_{Me^(>i99` zWdCBPi@;61Fo5X>BXDW+0Op)2c0USvnNHzS=OC>dubQm|31xxf+bWG+=0!=!1{^9$ zGn$n3PX9CyPO_{in>U5cT%siXqwy3bY(ZC(L&#{dV8IQ+bxD;8JAC66GUUmm%-Z3t zY?i<@Zv*_;1oD6PP}t2WMBaR{yapn_24a2<_I_2t<8_@v!D7Dmy$T+#0|@uQwuMIn zq-Y%tskK|eHrTT888$9(Z9~`r53oT72&)?I5)GegCaP5gy8-GWxsQmVYY3a9ZwwJJ zdom^lRuIPzi6ZNIttuRXgT9RAF8|Y$N2D*mBiQP<`KQq#x`xk?N@PVbENqTyw^O(x zV?GST!s+UAja+DE&#+AXZEEL;SR*v7-4UJxyHVhWsBiEET^^ZBRRu5MN8#wrRkXsj zb`cpGIwI{$f(=||%F$cGOCT21tKg0?EYO*bRgJZ~!XvPwS_55EWRusXr|Bx`@S~}< zdx8j_nTTs!ib{8mh-nzSCit=dmz4nRKO3OVEuv`o+U~cXtm|wxHG_@!sJK6~(078F z7_wPwMuW^BmbMak@miNT$#2=$O0_G?-zvM^%sWK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/V15/Errors/CustomizerAttributeError.php deleted file mode 100644 index a5d00c9e162c84ee90d0ed1135f3b4a930653714..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1092 zcmbtTL2KJE6kbx;Ks_wvw8KWVrjQgihcbFmmTgYr2D8O6t+PQf1jSZdfnym-9&96r z{goZ}Q}$DK*)JGOmJ+v6e3~zQNZOtOfj za8<0=gu{q!a+(ruK{%O1ZyrEr;s(!Es$d0=2!aV?NlN-S7JUQ)OVIH20(^4MC3RkaO#g{MB*4r98NWFXvbm~meI$v^U%?}0|25F z3jxO!zrCl|2=EO+_2tDXr4bYoOZ7XUVo5V9DNdE57!KhYr-CT5``C4nMUt`%mI?DL zBE3^+I7{qF&QzC%aIe!Z8>gBUx|t+A!)Z7nBH}ccjQa|TP(ozY?((E}I?z>1HoAsA zBN3r{8i!Ewg4`_*At$on*)74gqSC@%zM(rAb{tn#FVrM^6|k(^1%D2}yZ;?w`^Yd@ zYV=lR0!x{|GA20w-T+VQ2IXYM<`{z~b@%PZ;Betx`OetAaGgo(LHiIqT6pih`6sW{ zXop?UnJoMd?${2T<#=%w%xCVkbGfvG;L;r})S+k3oK|!6w*flJ&pU;+Vn@&Fl;|1z zjcaH3+=Qh#ODx8denK+s=KT)jRMf7-z%=DY^I&S*KbuEW?Q~1|+cIGpDW_Y;>A&`f zP%p!sZP4qm+lSxHj!8yHr6W`^A*84fGF+>NTIH*5<$@Q+T(?fDwV?(Y+!kyB_y%J|hAbuu)HOjjSnOmPK`OcrT$*GRP zR{-Uc<&z{1As1N4pS_rm<1`jAPU0`}dL1~!2`7@_Hg=Y$p@?Y;iv~XpN%H_|&H}ra zQMrx|T#4%!8cmY2pJJMORotQC6yBP@@>47VNIvy)Dvl0vji4%_raeUc>OK_xNuGG-QC6syANX*jUr44DMGho#nkFn&31tDT`VWNmYJVNzY=wG5Br0ogdX& z&$512cX}$@rcAV{%c7FmHg&dttq>y>{~P&NAHebp_+4%2W`txrLM0PIk_sWsHMyr$ YzS=J%@Ioi+Iz}5asDK)`01E*A0Yw~G#{d8T diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/DateError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/DateError.php deleted file mode 100644 index 787840413016bf9caeba8624a44cd43eddbad851..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1347 zcmb7E&2G~`5T*%g>6RbM94Z8;+oq_gRGgNo7ng#ZdgEFob`(1;LXlREvvDoCwzamA z0Ob{U2#!cR19u*U1JA&Eow!A9K=|U(?)QB&p7A#?U&rS$s6mZ{ggPl1!Qls(o)Z|; zD2?1GfWvG&CKS5SMeGNJN)W0hG)x;JRkzm}HHk9n5*d0?N|n|k$u(?96Lcm82dVQoP}=cM}DLXHXOlOVconltSbXOObHF0V4#x3rGA`7w9BBf?2)wWXMR%OKIB<*HGd52MTxR} zt;Qpm(u`b94k0CJM#D>iNh!q(d;ZFwmZ6MBW!4rORlNk}dAGplMX>w7GZNPdhQwwm zl~a}2RHb678{ezoUO5RAW)~aZs$jW15g&k+zF~FIvEI^=D%=uRz*66MW0+@#upmP4 zL^n>Awyt7!-BvM+`^dt&fmOvuLPdNA*8hgUw%$QPRa^xRXE4j|>4sMDZ;LgscEbgy z;f{XXGc93J+yrng$U?`ap<2R{H1r1(&m%31FMxCdNikI1xuS02rpd}Q z`t7y=n!gr6jk$X|-no-*-YPuw71_Tj8T@g zXM)~iei9N-W^~yCfW%*rEcF8dd&ACva9;rZNl&s(@GL9CB0AaIpO}*E0DvI&vkV%7 zbySebJopNrc+z|tM*+;Z&&AJHlzCAS@yL&(FX9Ui;oOfiA}Fq7=XnzFh$gToaFT$u zcA(-cuv;k=iX6i8>4t?!LZFG2aKaKlo){zxSd?0uU zB0|?@JcOL(i^cIZKyh3 zELX4Atcx}4YR#L!Ye2iY6f?;eo4;z{-qo~rAFLnS+{q$ke(lSbK%b~;dUf2*(bF#cZO=t;lm z!X>&2i%9rISAO|&zH96(W?dqy_)v;b& P=8b19feN<-O91`>LLzZ7 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/DistinctError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/DistinctError.php deleted file mode 100644 index 53c36f0356db799281f34bcdf51eefe55eae1ec5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcmbVKU2EGg6kQV7KxJEI*mJd}&=fX@vh_u2Hj>5-VXb3WvM&rpu@zU~NJf$e+sL2U zL3n{|>3Vri?0zQ~FImuLl=6l|(b##V&F!k8%c!feDL9`xsiz0(+QoeU2Vn ziwlYi>Fb1JrifrT4TnTVf@X?~KtmBqh^p>dblS&Vv$bHO3)r?25xS$X2bIXl?d1>( zqH@7D1gnb52z&9GmNNQrTy4G3mbEKjvG)l4YJgY&# zGQ?x~^57$QxYcwXgT0ymF7VFB7h`YOyyxtJ2Q&YzKl$J{YtB>6F$*ro=l!X7?Ol3T zo-!^Op|GLAkBoCiJ;Oy zEA-{54X%`PlGm`fhR``-6v-h25vzsgYyJepBK6pdl=71R}lTyVuBp2DJ7 zE~$WsuX2`B;Q$OL;7_LD4oB0cdQ|d4L=;29d6Lo&iDk#a5`8&6?@%GQkR6&8tGU6B z5l1K^D=KpmQSgGnm?{zzMMBT$g#B1RlR3<(mv^$t)&`ULfcxz_?E{WC{fUx%K-#cg~+Z2 z)|Heo_WTvw*yzV`we>ey5dKcNRz5G6SD z(EaM5`3UXJ{11WqW^^%fhx>P$d+6TGf9p>^`unx!6ZF{iXXE*0|J}@;>rTxB_x*S@ zooZ@h@VACqx^zBxI8hI#S((+js9OzV1{?6O z&F^>4-CivDUa04faqxY#vfjJ*z8m+Rd+s^Ev%UMhw_m#*J$QbhyV>1d+3l{Kzy9X= z-PgM3Z*OnyZmn)@oWH(z<3@M;{OZ=N+v^+M?F;A67i;IMwbuDkvD~^JU3a$jwpY8C z&fnbHy1CK4xU#l$QUBy$Z#?zv#qRd@*7lD1&jlGciZ)knb$4#Btai^Y)C)`9-IcYK z-IZ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PS#`tgkF4mb@t+s% zhF;Z~#^w6z_0{!y!Z}7s4bz`>H?)8%vl~Aw+zkaLjfW|!raQ#Vx)y1^QTe^`nR z@idwM2;icQiV4eBjbeVR*E!x2!V2`>(?9xT@ThpuM%a>N0e~h1&d_*NPL@%a3BkAt zp$$h!=tJ3FXlCm#bBuw#Q#ZX)Dpe0e`yg^d;qV*1(LqL}!Y&})*3CPcTRSUo1H7u^ z&)9GjeS;UHSU+X;b9-6GdFTN@+CTbmaAfLvs@rSS=ZqXchn3QRdl~S91pzBfv<5pL z9sM}DqzfZxI=hEqjs{^`cXkaB{Y)68>3;4l*iX;KOo1K#Q7O7PXJ+nLdG9Z) z*KsGxU5MzCW^G`x{$Sbc-X@xXyn>}3kf)>v7u z$NNxx0P#|e38>VxYpa5GbE~ns4E5V~qpl;U+*h!FXQ}N3nqD9Nr&4qzYcV3q9I@P5 zg~g-_3R1}jUZhrZtA_@@XhLxisn3Cad-sotv`pQ8_u_j1@I z-Zgu1T}J$KxqTh;M+a?SbW#thw$@UA(qAv$_uxpK(p`<{uCUDKEE+PkOqCAa91YZ8 z77t+15Ga>tzIOcwuJJ-w5a%G*7+OYj{SH@0lJo{{qyq+tD9UE|UvRJnA?#Ok?p36(Bg zl3G9Qxl=xzK8;$ZPn%k&Povi9(^6|?ANTV9_eOW9|2}v}dwZw;zQ;@fDV-aur%&I7 aL)O@Aka!VNwY57w%oU~HYtd^_^#1@Lf?yQ@ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ExperimentArmError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ExperimentArmError.php deleted file mode 100644 index cc9b5d9bc1b9492391ddf48c38017c4c7e8cb779..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1629 zcmbVM-EQMV7^PjhyG((#e8EZ}*y(oJrqDWDL2q0Nn%EO}L}FX^xZ9#gBiET^EjhL| zb`U@6Qy}pGTyn>2@F=_hw~Xz?NfpWkxydKb`OZ1>efIh4oBT}<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 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemError.php deleted file mode 100644 index 9ee47c0aa3f212436be56a39c0692dff5df57816..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2741 zcmbtW-Ez}L6fU8Kb}4k(LVyH_@&idIaiA?T9Ruyi(%RlZS_x_8)Qo3#99uD-acqyQ zbow*AOfUN=eSu#0whz#o-t_EBvYk5NrWsGX-aUJMzH`2_=f!v9w_~(v)Z$^Bw9~k2 z9R6gaZ)0PejM7nOG%yZNj*jBQ=!}lX{Xv|R48!&e?g@k1OsvDz$>=2M#ATy58ubS8 ze!Dx_&z5TS!_#N`agvOZ$$tD}8V@J^(NG@6aaZ=!_*m+rlD37=uzeg)#_djQ)clGY zr|oV#ZMSM#ZOiOV@}*ieo<3_)t@b%Wok4ptF=(N_3fdVc*XQULWWe9})#v_2}rBQh4 zE7Sn778|B{dvQ9&TJ7xYKG#;2w*HZ^let(fFZlSJx6z*%efK}}N7gb0B}jW|S^y;| zfKpZf8-HI#D`#hk4o{9Z{rS!z%0Q$F5yF6 zUo>TndQzA{jS2>LJ|y?iN`5D#LLM+tmsQ41M}mP6e?->Nz5kpmU*<$Ek=y77&sDO4?icDT*oDA&g9f3(-qb0;*GLIHvZ7FcwLm+n&Qw4; zj~Wg5DFV}arE;^c;8VJao%g_p$rJQ=svB&FltY#jz{;6`T3%p-Qdqr?SO5rKCj?z9 zJT`q_G8+@}5N*7UJV8UrILI~_J&^Q!LAeejaZHCI27Mh=?JrJZo2Ah(Yydp@G@CLtBk7>*696zFb*QDnaG)JTCUk^* z-uSt1yz6LYPB|*L6wcox<~}<|NcNP}FNEu2cA@aKRho1^Q-zNV70?3p!Qy^L=7d z6$&K33aL~bEUWK1vOyP9`yt*^?#}X~ST9``0;R1wexUl^>@bWf`h3ccho{f=;ao0o zYnwbpdyC=fFm(iOi%r1~iJG7(upY`WCgl1P>(WW#7wCqX*48*(hSlA9a-vd*zfi@g3Q<>>4G)V8&D?iP3rIbCXdaU-WB_bdKq2`vBu>MyM+|g# zzF@NcS{15E!z&_isq)VSv7=wH}rD--|# diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingError.php deleted file mode 100644 index 67282c751931f652828cc4f0db763a71f353664c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3558 zcmbtX*>V#{6b&W`NfV%HY>W-TgKe-)K*j+lM8=TzOk0{_HfFIS%2i#mJQk`Fl1dt< zvK0T2r+h#j^N}2w&T_M z!C*E0#IGOM)>q?xzuOUOMisL(j2ka!vdY3MVjK zCy>5)6`4LrO|ZM<&bAPS3~Qc{g-H6-HUpc7dX=7MQ{<}Y>~PC8WFbyJW>3hYW6N^e z^`#yKp=%3&#AG1C&~z&F6ZENb2L?mxRqj+oYSIjaEnP?IzTlytpRyHlHxr9I1D2#C zcCA{rZwxKd3+ypjbzE3619Ty|AuGNcc|#eQc~`+C`-j zo(OwLR?Y~CTad9)OT!Q7MHD|HnD@lLP~xYD@t*i4wocZHU{o*1B~;v=#dT42Edx5J zs&yIFil9DN?TS*%gZp4L%B~XzXp4k&qfolr(np-ot89^I8782i5|C~ga@P#2@ab?% zM!pqLhT6m55`hNN^cuTCCUdxYRo4MTMfR5P=_I>P?v1XbI+5qOeh9;%5bZ`z=-22} z+8*CGp*GpP=`yH-WM)n&bIWpfVZyGn1v2OP!ZsrtvOp9opJPJPY?fR%%pg)ed*eur|Jr1<2!>9W8>M<|K935cDRh=Zvt=B>0ZdP-KYgZ0^)DxfMJG;EXB8LQN>W&%PuxdD{$V5M%^^-xipypkIvwF3_vO zh%89iG3Z0AfFkzLgzDNr6LL#cnd=IfQmwy+L8YshiVJA802o;1+)^+$NROCCZsl9( zB;DN(aaKd_hjfkICbO8oN-P%*qz4iPuhFlu7)1+4TBFEIRUdD2^f9|hrt_?W6oo<7 zF#3c&BTvUhRB=#IIK^0FQ!&ag>j<5KYa!~2P^VgP9Dl>+$?c2=T?iam1!fdT1}c;u z(DYl3Z`gHpycfs*Q{*rNC!Ba8VqHcK0L`jlWz~_dfE+ox0@8QbVO2gT5%}V&o>*P{ zNz0=hPH~hm(gyOH=exFxc3^(e8w9qMK2tR+_C{D8GSYEifDls{Ah2yfL9JM#o9sC$ z4=s;s4^6_HsiAOvoFa+vk=#bkqt6jf1q=+hHQ8`{sADh4SsmE>1)CvLdDs@5K@o@R zilWQ!G3(K3$hRqHkH~|9Bas0x8`WWCRbS{35Ei)T#}rtIu zBUeVw2}M4}*1zY-0z5jh`{b!t%dOcHZ;t9N?wxxrvYTnM+pc$-rEb5u+KfBu$&tTO zdac2!kCu(}{`$wn`3mQMPRv!*bEE{1kW%`IU+^3$rO%PSbBR6mVi|d|s5eXYX!&Pi vAyqDyLA_iqES1Y(s$5QO?SHDGe7scL)*qygfZ>h*)aQZ{Oy%B@cZB>0FrW=k diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceError.php deleted file mode 100644 index 242b31684ed1dfdad5676fdd4ca95c18a8e573e3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1162 zcmb_b-D(p-7&U28m|j=|UX_yR4>SecP^33gqimW~qBlsvjg|joswo=+FbCZwR^PTg}H|M;3on2;V4-X&($rMC*_6e&?z?l?E zgd)MSVm=3nLvfYy1f+v;Z;1Wj1k;{3+0m`JC}ao($3nyjv{{t5ZCO?ykB-|QrI2}h z4iE)QDamJrfLMgj~JYyl?!Kix%ibYJZ>A-ML-6&s{Wp#0MJf(*F z1feitd5-&9!(B;?R|*D%z96iBSusm^h;zl1{@dqyz*DX`OZaDf`3|15BnQoR8#^!3 zP;rssvSFwPZyjRGSz`Ayp_kRct5HYg{`BsqUaCN*ESdHo4<*l(kRuHxBnDM&y*z0h zo*31Vjn8q*j!4L@89P|X0&a?9EI}1Ay(U;xRA#W}ulRBdH;O9NzJAbF1uS(B(9d<$ z`yVgaXj&FWyTGaZ;AlTM)(^YCYN&b7d(pJG+Wl5TTlZiZkI}}t|87K2y}n0#n-3Zr z=+U|V#vi`-H*1X@w0-LO+N;5s_UV}Vr&L#G!wcFA`c&iVji=~|=U=#QJ$n-P?it-& zYc$c;KgaH5GWNRX6KVnL-LG}Drz5ev*`1f{-sebTkx}gfU2ZBC2}@%~$haLtYVxp3 zQpWQ;gLPu}`Mth2aNQsE=D=jd(Ft*ESynnLj?K#N6=G`QbR$nDP|HO9sqfilLUcPJ j6%!$viV({+duXP7aZs7)nf2zi5$|-d0b1MwEfD$(&5eFj diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FeedError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FeedError.php deleted file mode 100644 index b79443a5660a3574263d8d6d3ae4df58557e15bf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1775 zcmb7E-EJF27$qsBWYV;oY0?C!=+IPZ%Fnu?FsSvn9F8YjtkB5L6Gvlb%I9WBoi|GHg+_N2YHml zNF_M&Kpeb61*gKkm?m-zC#Wo}t0p6-(x-7Q(m0&-n<5*e(KJueu7q0FSmf0_)ycuD zW38&#q7gbMO0=w7HJ+e6orz^}gi?{u(s)5|T~X=6zW64Zmw|`FO0^|dbx;A7?o06d zI(YqmcLbjm8K&H&S#8ynTQ!TVKL2|SY*w2f@$BmPpKD;fI)RVCM!>u-Y0wrWP2(N7 z0qzIvj5!y~Sb-md53%pNv>y0`Gu$B_msg7ijD8moV-?oGXVw26Z#w$l4)z-0LDFNf=?TmDUL$3#{-YJ+;OQ*8E-i*_j;aBI=n?>HSfZ&!0Q`$+i~nRS(^9r5!nh9&@Id2S(s9mZ#qYyCuua)H zZqsH7mOtdM*5OBBS7YbR()lc9{|0~vJT233AccJAj1&VQ9ZcKC2HXOhC89Wb0C&OT zX3%ZZMpduck+BJPz*dRXlKS`|d;(yHdY;;fqg5ztImRQk6-F)=^WpR9)d}xn*XK@a zzH)v>dWNBNeaGP)%zBF?&)9-b!Ct9b52Oz9JdPU;Ct$t-;Tur9d0Hw-kixbd*$S2W zER!CqD_BzER*SZ&>a}r-<#nM=V;g<|b`~>OzC1f{8yI${uDBF8ab3qXp1>n;IB)M1 zpOYm?CT~ckP*tMl=NY?jA3SRl8#j9LX8VMBs!G4tCEO)gu9~%b#$NrO6|gUzc>Wac ze3kWw)dSRS)m{04%pdYNnS}A!Oww^}EMjfMrCm>>>`wPSE}r|ZtM_b-e_MTKYm+vm zHJe4KB5BfQVbXt;h`#pmB_r2PKDY9}R`-i!%aZAqRWVtXq_V7n>vBz3`Q~NiXP*}~ Rx$wk04OIgR+%>oc;9syB6Nmr+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemError.php deleted file mode 100644 index ceb0e8e345b09ac72ef7ad731f59d9f2bc45ce89..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1342 zcmbVM&2G~`5T*%jVJn330YL?H+Z38s#ZiTNaS6zYH`c1L9UMC-Riu^UY*I^(ZP^YI zpgshzzy*m%;ZZp900YX`anr=cQV{@Ce#=#Nplun47&^gHxLN);a-=5Prv>ghSUQ4BkJ+Tveq-0 zIEEbtiWz2>244YWpKvkuTnEO9ov@!>Hzuy{Ca&$dU)cGYaB6!oWe7KGrwiXn+`xxv zgYG-Dz7KQEw01WP*gl%@l3Xuc5nIm)`w5MF+Z)L=b|N=Sf~dzzMR7)xa@MuXATrjQkH)RHY}~*Lv7r_NapVF8(`hi zPBs0b#;x!IIA}{6yJMuSYXfAML^4eSw=5Hpfz-7S=@`07`Yfj@T!kO)fm+d^_mCm6 zGF>AEQuP6nNe8hnY$BDb@(19Roc?WM6%p0yo1}#Z)`-+@>y~Eb`7>QZ++F?|cyfw{ zSEKtRWz=DHGPjzZ0Bej4mWgF_xix+hJXUeP&lr*AHg27N4xTROGAK*KA1uV(<6na9 zg1)NDxHDV^$dAn3=MO=>kIxu+T_;`1P}mxDgPo#l;$ki3nmE9}0GnN;NbO<10CU(w zY$cM+R?{7F8?8SppvFvH=yGa-m(jT!YbOJBM_bmLne zgOmKee6Lg$N%~pYQZl;>%;Z8IrV+EdklX#&WyL6a5w1N6*_%*23coA0yjc`kyC{}O iqR5~`F~=IOWh~$9m999<&35IiTWy&Y=5-g~0)T%S@}%Pc diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemSetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemSetError.php deleted file mode 100644 index 19dbad6f837674a451e584761158a7f85c045c90..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1220 zcmbVL!EVz)5T$9MXe)uS=mCM$rLAZxfujobfJ;Gcya^VGZ6$82qDU*p-nf<=ueDwy z0qU9GKpgoLK7~7HSg#Yer0NAgv3)AF8*)SMP9AUcdFjS|xG!@O06W%O}xzeO0MEN@K+ z331HH6z7Cvd8o-M0Hpqu?iSO@ytUw@speglIz$>kp?`bDJ&D5 zG$74gSaFuv?Tm`C9Kv~jZaFD2rID3#!cspOnIsQboN>xr0oC=0@Or-GNptr=RxR1$ z32as^>iV@F4cJ^H-_wuG-{^Sg1BN9&8@k}KyfeLyo2BAWPVq)`^N zB9cl|%{`dK`Hhx5sHFPdSne9ekH$t<8cq{7)2gtHgyFQxa6jjWk@VyhQ%YCPZ27CP rRVC}XNZ0k6N!JCHu2)>+JF?4{JM~gNuXg=%v2S#R1Xj2UZ~?$y5VC`y diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkError.php deleted file mode 100644 index d9fd18e352af798570598c9703f936a55fa1f12b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1091 zcmbtT&u`N(6sDa7l6Ro0c7W5oA84HfsV20GyAGvGS|Zw{q8$^cQsgFXW|7*#c8~z= zPvD>6$e+TW!kq&*9H-4DZ99=mp6vI&_xXL_J9(8|W?&Bv2qOY362tiys4fZ21Xn!b zDV*nv1radf%Z#Q(SP(h^^n)pM9dEj$OC`@mL=a3kPg2sxv22%N5q&;7ZWAH6knIH_ zaYz+ehLWf-rR-y9ZY`kh~6C?&s>Ar0U%1T zl(4VSJqGu20r;~4PXAB5 z=5|?cY00fhd`pXOmE!MyuYo6bN#wG8x%&xh-F4S|3^vdG$=E&f`kw1F9yB+>qjUd_ zA6)p2T5}6D`mXDQo)eC|$;h6by>8T-&%ll!groDRJ#|BSI1DayNMs&*A{HSjX zZ2M<@dtj_?X@gs3SVY?DR%!KL>x`M%h8yc(_F=UUzw3KtF+#c=p$Z8h4TVsNHGgPW ZzC5U`@Vs=`wVm$uqDd_CuD}%l{{Y=+W}yH8 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetError.php deleted file mode 100644 index 77e6bc66466d938fa3b487910b3f2c85824f8fe4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1324 zcmbtT%Wl&^6s0L`VYeIS2j_Y}tMxPE2>y)vO z#q|lLW8x)rMiPfjX+pAnDQg5k;LK(ffjrs?NL!5CQ z0pR*h9K#mp);P7DF=t8e6+r$)^O5hlFixC=FS}k$yueF5$M?SQ!#3c=@ngz)u45 zJ@9J{9RH7U;&xswakZsVcZusR<+|_ut$@cj=!1j#Z0BbMJh~w#J^-6N-7;}gYiU>! z?ueUUqo<$g#!~d3l){0!x`LTa=3je}gMQ2E?Yq0P{3rhEK7H2bR_`Vu!-K(W<}^XS0QKEcyA>dRB@X-@ z9_<{AhR$pb=MJ6K(aem-qxlGA{{l`wclHJcvlMhK%I+PFhiI#V8{~MHu0M1#ohZ9{ zIDsHNcM3Bjj2pzPFUIq9IvyPK{d6{*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fu0+IlNhdS$xijD-A6z__pA)`Qf5IiP#?o>CETae~lzg%I*YY3$ocrXmSE z&h7muKojX3I}B9U?fvG2j*%TrD>8^v;5ZR#Wx7H_00EePv?WuKvdsrZZ1jNssqx=) zWCdOj@=M{F_ru2RGcJGjRvn#t&GQT9{^VdV-mguj`y2b|*ghW=j}C{U*_m$;o7pw= zZ|6T~x$fW3-)q^Yg&I64)Uu!W3!WBg+0(*53W>gbeW*M?*!PG00pj21SF+9ZI&81k oOHK7UsH)d9T{|CIE5BGP@7<5H>-_QE{mhHM70l$`k#~gr4{e(WJ^%m! diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FeedMappingError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FeedMappingError.php deleted file mode 100644 index c7db988eab61cbff7f85c59f65b663df8273641e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1750 zcmbVMU2oG?7+wo2@OB&K@U;P3546yf4@ZbGkV`kY@ky|7Y%6hqph%YMoCHg*ZP^YI zoBAKP<(A7`?q~2*xaWT796L^EQ!dC&j{H9F^L{^1{z_gau#Q_aqN$hDA>Mn7^Vbw7 zX`IJ?9OAvnXhc)&$NNbT(p1J+v#@D7m}t6low;W5B=xC+$8kIkY26!U_2S82Z|*;= z(=?6KtUjW2=pK=x9r_E&Ap+QdxMtX8>qvqeDc@x`ws_1 z@NEP5p_gU2$#~lZt+2p9fY~pZ?1h1kv)s$s-$szRK@{YH7Y2W`DtGY63p2_{j$%iX z$j^f~!rZ}%d|KPW1t-UDBr)sC4xZ*`^G2~I4fH6dY2<|ijb?rtBzc_L45}z&npf@R zUus+1A}VJKMz~g_s3=Er+`)M|q4U8pPH8?#qZz?LMI{ou_h(S1p$>;t)Fzu;tpf76 zoAB-oJpR^^p|!$OW+RrXVasgTaxv^1|E<7P)&9#u4R*s%1BsdQwFzbb=+>h>yWnFBBrowE@za^pxbb( z-7_5BHW*Uw2JP)U~@5ap0?=g4`>T+E(Xtd3+Rt%unFrule}aT zbiU|_08|x7KOq@z8&*Sg_>AU*TBgyT71$Mh=t^gK5@ie9mZmrR6_)_>hL=5)kOF^9 zhdIwIhQfPovXG1WeGYBIqp$id^mE0gAfDqfYr>bI%hsh_$MfhnxMGl&+F-Tv)e*UM zh^n#0F#6Jk-Oo#~&Xl&isbkM;_u}Cb5-Maby&~mdj^oga#&VpF>th-Tot>(35@g4U z^mcK+AC^zFRQ2EGwU*FenJKSaJo$@huv}>H$0=eUWO`1gg;1AD{b_l$%Jqiu#1$&gzFG?9cVi)#9h;UAyYG!^MD{2F&4$7<%e0T42$T~?p}*<&Un_E zP!flpdeId-0EvG=veXX<>G~w{c5b21`Tx$aX&1jhc2J+&#wc zhvu>TRM%F)irMcEU88MbPr|KkV?lca9+>v2VVPY|-iNrcsI7rj6?*;QiR-noCo5pL zaa(%|9?$4J+p%$f;GTJwdEz$iXwSf!qVzh3EqAy`>sZ(*DlZj9+LqHf!m}dxwCCVS zh4&oWI=h+y+J9U_DN}Wqnq|i z?Z4F*dWP}6zTQ)w(WO)LGAttL8NKw(&lzH*Y<0y~%2-op{jP78$q31GgeoS4Bo#s> d*Z7X=^7VGLT`$X}op0!k>#cw#?h;%A@DHHyX_o*1 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FieldMaskError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FieldMaskError.php deleted file mode 100644 index c60343a3423ddf552b8b45fbdae73af703faee64..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1089 zcmbVL&1%~~5U!oHg$*=DffRblHV(vrRwk76ux?u9T6RTZ*`T>3qf`}YP1P;dCA(1%75>E#jZR*5gWtP_a!=tII(K-M`DHa0u zOVptP)qe05K=tIsETs_?5=-^kqavgkl@zD+i<F=aa>jHE7n?7U|Dw`d|L-E|Bo(f$K=_H zT)U##Ry5m&=G~t)VBI9e&5FhD_ZoO~(`{{njfo$O-M3!fb9;?@)&_Vu@lX8Gx!B{t(pJ0Y1C_2mKNRNQ$F z9kZ_=^|gWH{HpH^wBT(ebK97ur37yq!T-LDnChFjb`<(5R%h|2-ZaSwsdR)YB!mqqZw)-Kk3*XyTS&3BW&R&0cr_ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FunctionError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FunctionError.php deleted file mode 100644 index 01dd5ba09d6b95d63ca9adfcfbe2ca4ac78c770b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1493 zcmbVM(Nfbu6qSOai%3`*bkKnnaDY+MVU(93I%%^l(Kdftg;9_M zPT--=px0v&a)Pta^;je#r07V~3Brm>9&u_M3?hd~s2>DFMG zak)3}ox}}%nth8|0swsbjK!htFjO}xO_tbQJF(mKOsg$-<6)RaN4tA%oN4U?;COZ% zquNk2TLxbM;=gdv@mvSRiJkDjO*f{l?G+~iXSj;E9{&NN_PD}**gR}J?GhlvV6)u1|OEV2zRck6%glljP%v#!8O+VIz zDfj@~Q?(3R1JkBz^4030FbxrSSdgl^_NL(J z25!lkVhS^G6|58p&1zO~i|REx+P@C(gQa4BxSAyqZonlVOzaT7CCrXzY~gnnHVNgK z2|gh??pMoyL_PM4&Sk|c2{Ny@c4H?k_9Z;f8- U)7%6uUi_7IkpXkuIXDO4FS2sUJpcdz diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/FunctionParsingError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/FunctionParsingError.php deleted file mode 100644 index 7c9aaa92e592ec29f263ab94bd193a7a43814f28..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1332 zcmbtU-A>d%6qZFm2aTlx1dK8Q2}{&&h~cJyrn@`aZD6NOfAA-pG~MoOX;Ru|+BH$b zjgR7`kK%in7~jA=W^EpdRqA_)e2)!us0@84XNuw|`>(l;0gHRgL zq%j(YZt6#&9XmAfL(k67g}e{|p>si!*l`JzwPuf`&d^DnzMNzBrD0NIV7+Kj6tDGo3{yHLSBpbPNjj$C6yU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hoT<>)*)wk#{1 zEXOA6_a$O%!gnowCVun${i(0n!wBi)2vtl7X)1&)*W`ie^7TgLwwKn#SB|~a?gnUa I=inTGzxGR#bN~PV diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/HeaderError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/HeaderError.php deleted file mode 100644 index 960ef095c6394e312cdcc91c74a61f2230f0d0c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1032 zcmb7C(QeZ)6s4`iB==!e-#~(yb<#QsQVp~hmx9_Q3(>Z;V(pMnq{>a))F`zh$3X(r zpW%^D;f4R;iBG_>+pK8n19{1fbMCpv_ng;n(?tqe&?SrrEJ*}sU!YtNmxgDk%BZ9`p!;pofeF6<YO0sLcc(lSD9_1UAV+K~u@aNI?;bi7a qYRfbuq}mZGnGjM`2pO)~L#^`FacS~%lbySu>`a*k8r%x30Qd`CPfsHN diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/IdError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/IdError.php deleted file mode 100644 index 3d262a96d70a24daa34ada3d4b4f92a6c7e5ecb1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 960 zcmb7C(Q4Z;6kSqSnX<8vALw0EXbPJ{8Qp`@tR#yQ!k80Sv%xR~#a3K_BN<69Y$M;W zf7s(bWuG$k5tAjyEtEXWFFq3Io_lrAxxC75GSr3%%Vxmbnu`1ypRwXRZr}K-@w<P*peNWMk1LXamKdmFj_l%2WX@QKNp7ZnAM~%`1pXZz7H|VfD zww|NLBKSD>-%ZC;f7E=`YM{eK@IIJ*4w|*rGxWs7XE~lNf>Eb(x){V=oEKps{&wP=$4Oko;UNA+9P9{RhJ!p3+dquG z93|Z%P7^FQu%sL9y~Y|-#_kML(TF2_Q(0T~M)aj)B}J4a;hW(wbpf#{mYrSpqlQwPK0r?UwfrYwFyyH7&fY!mXHlJDkF$;WNv#nawCk;4@ zUV$y`QwQOs?u%4)>)di0I*iM>#}Z>w`Kjdv#OAbK7l(sS;=^@hxTBT@~hy7~<509+@c!KToZq_yOfTMk#D@VSaox*@e1 z^*ma3(xn~?Tw#PSN*U2}AreO@;KbuKAz`@r5np}m!%_{h8m(&C7x+^4QL}FnpWO0n zNhIwNYLUfADdMP^QR)FPDL-}O3a^%oQ+VWwM;xckHcfpYFS)kvJ@@*Yb6>nl&J$3BT^dtPB%Q_z zV@Y{TB2S-9-2i}?EU8F{Phoe^eoG~p6G^6BjWxCAVjX7DyOYx?)>usd{D=qvoi(Pu z244YGUy{zE(1$`2seXr{@WMEhA&J5->Uk}=Ad#R7;d<^OjeQxi7-j|i*r)Ylm}6$S zhY3@3wBTmALB^0`XSx|;YE$9!Fp-Q8R4PINl?AWaP5rp3yJl$N0@m{p5xO>G3re2S z%grI=RHi(>09X}Jda$Q2H~d=jdC~PuNmefsv%W{*Zv{O6AFYi2yvkI%nuWrqQrOHD zKKNb&dmA#eA~;T$2j5EI?v-0(7wk;j(ExXxGY8w%8^#W}GjZRz{r7IQWEkL{N4*SDu*?0sV>d@=-ZR{!cd4oy2=Zs#f@``aE?2d<)J94l)UYFc79)LX?TXxTJ zv4=l&Ft%0ht@fW1s3|Y6AF%Z;ZR5(wTI)gSBVJPwu!zKg$#~ERXsoTgF?|w>tvk@n ziTY8lbS>*=dB3Y|ZYpz|d6-4Y=B8#({Muwp^(I_e1-%RFW%ymL<;4i8a)b&bgcKA) eIo9m9p7PmI;f5!<$u1nV)s8wb&s%{N0RI5Ep<8bN diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/InvoiceError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/InvoiceError.php deleted file mode 100644 index 5f11c8c8db0b4035c5f35b1d3f954fc1111749e9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1130 zcmbVL-EPw`6sFx6l7~cz009@wY!mAcq?)GPcns98S&8V9sDEgvQsky?W+}5H$C(6Z zFT*7_JOwvA0*}BQZ-8TWS*2+=FDKi%5MN8qNZ{ znQ|q@0le%jDD+X1sk2gx@i%iYds!7 zDRQz{96~{4F4z^pMMTZD_%V76ECS|ReBwG#DF2`%D z@!Dp*>%S|Ywm1)m+?e4!wTh9J)uY)2`jJR>7U2_rdc&dbNu62v{dh zvlkxw-r#*W@cq#5wrf@E33#YBE_A(-?;bks@Nn24_{UDKwq!j6Pg`!c>w2BA?+k`P zSOA+r(DO%%f7yBoUR?k0d!|J9WX`G5Yqzb(;DM)p^_||R;47=FwEkAWhH}9C<~NGa zy1#f?y&^&7lQWkt<_Tu8%|+aZ3DX9+bV^FI8;!GX1pZcC>NK0*t7{!?4qI8mHenGd zbJ)flzb+AD?Vkk$X$Q?M^ryOEk`Yqr2$f6-DJp~v*JMR^xw};^(JQl?SBrS#7Hgov JU4RP!{sBVwYODYN diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupError.php deleted file mode 100644 index 260d6d502b52fff4ee49d474363f9b79081c9dc2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1085 zcmbtT(QeZ)6s4^Ml82zm3lAX8tdrJBkZMAEaVaQWvMAb?Mxq@O3aZ@1%_34eavacr z{tS$&|wvQJ~|!{&KWNTpUCwW z#^ZUOVLHe0JmIX&=jzf_)c~M)MT#6p1iHcaf(RUAfkRgjhgMu{!YaBvIu0F0JOm)h za8bZBT_BMBR_s>n3IM(VD8Ia1WN8Eofrb3-r^P&_sYr2_ewD8t!6nWLBDwBjmnDrv z$|$T7CNv`bL#R0`?0(KOe6s(S!_cYyWZ zBQ$n3g(+um)-Eum3ry{Tz3<>@!<-yiuJ%5HCk@xeW3V&x-v!Qzcj`HI_nxr>9?bkR zfAZe%wu~-#==qn{xo6LP>%!@_4Ff!~XTiC5Voe==)*1h8fu3~oMp~oF@v{aIYPdn` zgR^;N!lc;}lksGb5UO0fHGiHKjk_?^&G^yoxR&*^z3VE6o6^^&4y#By+|&;LwMB$# z32tqHT7%6V{Au@eGD0#Pp_&OHNrjN+THIGEUmeurf1zDDWJx!!5V;n_b6v` diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordError.php deleted file mode 100644 index 6442ba63b2777c50fce571709125b94bcbc5c57a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1332 zcmb_c(N5Gr6qQ9lhX-pTi5P{EC1FXl8)A4VqUml+Y1nNWwyCMc!=iJ_VPv5>z&JxgsI*u`QGwj3h1A#wV-J^P*V-(B}+|7PCYEcfRG@tU$doj%T7-_6{SUI>g7Kb?j=I^NnI zX@$TJ0AA##DLg2JY^J05I#-#V6gcn|K=vg0I0`+OW^Tq_>tTw*ILtyf3cs)>?81o~ zrI=CP#7^?q%R&-Eo?yiuZf(MnlVjHt!kV@Vt7>iDN7loU5oegjZZuMH>d`RC2(=kh zmIIvC-RCE*&7DG(vxO7bDod2*8#V62jOO^dID`~uIgPIfE^Dfyu-EUxX&H*|*Q$GL zu&o-%bvMB8Ibi&^iHfTwmBdy;s+U7z%ORD^vG%6{*6yC07U$<{KO11>ZkYH8EFPHy zTk9HohNcSl#6_@hWFDB-&=h9G74Xb3kCmRGq66)8XdSAkuQ=U(HslkBBj@}hV0uP zcD^-0lR0BtnCBfaAinmFJT%z4aHcQx5xkV^&v` zAB|PLFto&MER`XTn4zW8(7!6gsPOzX(-*Fv+Wv2&StiReOPA%ENtPLvESFs4`J&1< X8}*vMD&2Esm0NvQ0888@xCG!I#0sz3 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignError.php deleted file mode 100644 index 9b5a9ab5b311c8c54bbcb12b0598ed1add87a7eb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1183 zcmbtT(Q4E{6m_??g{kNoP(+lDZJ}GxEJgZ~S|#12A+*f~+O0(v!fY~|4rXVIGNea7Ro-Emt1DfJ@?MN=e+xnU*%vEdYEF41Ww@a8j33nbIt^d zSq6vYXoNY8**GT|<|c$r4+gz+=sN!SE16oblE>JBDPw7dJ18kSI;^5EyL%nXIpam= zGrs=HcoO9qqEU>-IU*^I)TODa0YK3h7deVC^uohaEKq_38hDC$U?;^itfGtEy@9KU z_W_7AR21-77YHSPcS^4i;5&fw%gbR#Vps?y*c!_Tphmd1YayloN)KsdmH}A=`4LeEdsz-8_?HX9s-3B+y z!2a(Y8ta138JJQArk26R?*@3WXj3jN#~Z&I;MpR8@d&K-gR{`>`bWO&wC)*e zV6`6{2fdF$t6{Xj13$R1Pkbi|>{GYZG@gLRvy&4$@cOprp0$>413kBQ)><|U@X+ap zCw|vHcXjgpD*4pDj4DLrUUpsAktJ7*=iq5|T=UKERuBI+z^1gy^yv$yaQJf33zd4p z#wT|=$CODqrzYcRC&g6xWM;3N6bs$9uc!T^x#ZdQ&*r+PJY-7em^!Q?=^;~l=w^l( zD4X5#nKIhcX@8oVI@z*hx@FZ&mL;hyOLGlZRF`kJYkj@evYl&mp}-YT<0fDNz(0pS Be-{7% diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordError.php deleted file mode 100644 index 1d2c583f1aeae9596244b77a93966b2b388f8ace..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1130 zcmb_bL2KJE7+tcl4fU{)^B`IiXbPJ{8NDdWhLgC#geGQ5TQ&klu@zU$k&G;FbR)Mh z_B(dmPuWk|ub3=3ZlQ!+mPI@E9($ z)rtrh@O46CA}k1pQ#hHEJN!m@%I|pPY7x5L~34Pvqtc z7onfTnE3%-CzwXe-=1oarBwl7cump-2Lz71{yC92#1bz?T3}&^X))&0<;m&7(E?on zf*7YM92+4|=?n^);z$F*HvrWy$(AtOuwov^xz7|DN&sFv8#*) zl5z&~3sV-5_AxY^IkuH>wY47H+V%29swFO5CW&A;UJOYZ2%1PPJOxE4BC=e6e$qbf zYSo;Lu3+0(MChK!9+V;@cf}zTL}r5B5^PE;ZS2)sTG+6|uv9%$FWWAGx$Y78@d&v8 z?MdqmLuIKN-Lt6GDm#A;YzNtX;l7Dzov@MD8|UJHx4g2Dbql0R91| C7<+>N diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanError.php deleted file mode 100644 index dbd87e4d7d91a3f2a8b06d2a4eb31bcb2c1b0f07..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1387 zcmbVMQBTuQ6qZdvFCw);B|_v1B#fwCh#@gWGd-6yJUKwq1*|?8QE`C+B|WJLjIS=e&L!oCRP5s?1}d6|+9Ib6U3~PzJ`G&Uqp43ylK|jZ=PU{=n?cp6HCb%+t=Q_SDPI@$qp_J-$2+@Sobv4f zV7pcn!J~}V;I!!p_zWO_f>F%s-n>L>p#k1>AEo38=bFzF9YHFfw&0fJ6hYo2c%B0BHR$? z!CXf>()1Hem=V{&N{uMA*=d->Xb{|@ddH-CowkssVxc4o;BEpib)6m(^-w4$gt@1o zp9nX_b?_v2G?8{n>n(I(5?wi3Oqddj@Rq@gEC4RrA_|>$;|+Va&Y4`#tF(~?%Q6p_ l<$_6;Ih8DDT)o+}%9mTk@I23E@@fF5PHzg#aF^f`fIo6^t|0&b diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaError.php deleted file mode 100644 index e93c060fde33fdee062c8b80c7a5b72a926f722d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1068 zcmbtS(QeZ)6s4^Mk|(rMcz~ywb<#QsQccrdTnb9ptcq6Bs;rxYB1LZ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F5Q1m8E~q5PjkLYql4@pBn#n sZLca;RbH;Db0$^gRH|BW4c5ezFAnC%|E%)V!az&iCx8|13S0s37Zx;_jsO4v diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/LanguageCodeError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/LanguageCodeError.php deleted file mode 100644 index edddc29a0ca161e330cd41bed0379bafeb46fd92..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1064 zcmbV~L5tHs6vu4~3bO}mVHNSP<91=Ypec*&!Kqc!CJn)w6x^;Lg)mK~*?}|@CKExW z7e9(eKZ+m2qaVPtlbJNTQhKqMK9cwT@1OVoy?T>fXP^rmk`j&uiQw`x6xRf1oCy}P z1TKr!if|aRbw(4y4G1kCdj2J}E%)-N9L-t5LxNz;Se%ePj`F@P%j(nlMW1lac-~KN z8W%VwLC7K!sE3By0zit_B+qb2pfel2BLYWQ;Dw_E7iN@KWm#RFUo31TH~=6_aGt|y zB|Mh8>J|73p!{XUGNB>N1s3w}gysQFsh~KaU*vZV;R+`?kt(~rt0D~rWhpEN{4^xJ zGpIGo-jj^UyA0vh;H*5AJk!EW1>q@978c1vPBX#yOtvBv6Hy%-hg;AAf6r!<}gCv{)Zg@L=af=RP=?d+%rV*qykx)xOg?0QctJThIUCwHuu$ z;L+6doVn@P!PvL#KoS^C{JCefo1Mqt(Dkm&scQxQG__l!KMl~8=vEH*njJmdF{DzR zH9p$acg8G{oEePA{g|W*+%4xB&G%wI(AW6hY&oX+qj}^gs11p-q06$8P#YTRpWBXw z;{F!+iu?-w-_5QbMo5k$R4XAQr4Z6u%e%_ui_<#yXBwv)cJ_j&8g<_WYykKR4r5#3 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ListOperationError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ListOperationError.php deleted file mode 100644 index 062a796a5fc328b63615ad6499cc2123d3abcb75..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1063 zcmbVK(Q4Z;6kS?ahx)K!MhAVV))bn;=1@jolx4%IU1OFyUXye%48gG#SKwGik_X$! zK4y>ml>Nls_XB&KEG2Fs$2(~`v)!IaW8!<{JM9bHz{=ktpWW{fi4$p{xy zT2wTI=2LZRDjERtXn}bV#TdFl{~C)Zi9{5-3Nf@2zACHg_WUAr6k->EIEy%k1BpCb z1FJXi4M2H{a+Z-8av>>WctZG;~1!j4ag*N6fBZZ(WkgW)%Skx=7ZrW#E#af|}Ic#f*2yJNW zLBUG=kQ_pWMalAefMpG(guQx8Rx+$4sadb2d+oZh;ynewcLDl;+l(VUYf7Wd+HzA` zZfeVqzk`EKZ=Aeb94Elod@-Ja{fR#coJ;S@bL{3LV;}5I{P+Iwqu*>8hv4AG`7rTr z9D6F?2ln*Z8;v~QZSEP*K+~QC1MkurJJVZhFmXoBC;h(-(2~JjiQB5P|9n%6vNULX za#nv#X%^+FNm<%Sajs&!j(I`&*3@_PCVuSfx|a2G=g3u&Hf4}aT~?Khw5cQgYuyp5 z)IW&5%Ka+%e|B1W7$G^1P>qC;ghEJT%^oY2uTN{!U+OH~2WM;QRHN=&f+Ya|0Dfy; AL;wH) diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ManagerLinkError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ManagerLinkError.php deleted file mode 100644 index cf5246b640d8a9f092b592a3c55d7e73474be108..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1584 zcmbVMU2oeq6kXDfY|PfOY|?F5fv|OkxWFc(7zz~1vVoRpTc}JKmekgR0YZ^!SC}FR zl3bu0@)Pza_PC$2pR&Df@1rP7O%vp0evmJ&?mav__v(EAWA-Kk9Xu3?$b(WW@aa2T zz7aUf(=rXy7@w|}OOfL+JadF5 zK7G~`d7kD)?<`1ymB@J|vLFSVb?N zKATg8cML!n2StI$HLfjT)f@0D!19-^Pva=WMH!Ux?=UKOltg6|#L+MEmM3@_#D$O` zS8JE+BrKye!BvBkgrfTd*O*o9VU|i&PH@9-QVAtRnp;UJ@+64orYOQZ%E~mK$WmQj ziL#Zq%5HI6m`SE;o-G&UivRt8Y_2aHib0*b9pd;WpX_ z_dLhpW5Qb-pF#BUU=(bQ4M&t z=r+ROVT05ZS&WY?IwezMG=n?nOR#VH6WcO~N4YVwY*RA#nF&8e55X6PZBgd&5vi`n zi8+?tzDuX@6Z8O}F?r2RI`KxFzBVW|r9hy%sWCI80F@rZww+fpz59Uxjb!lCieM{1 zljg*0@A(<}8a!eS<5F-sRcCX9unK$ZnATvXG=_Ij7aY3292Ao*_y(z|B&Nyho4D{U z`W)QfT+8u2*D@*hrj$ZhNg?GXwqA#?z~GJMx_#*$Y< zNlli!)E>b56>~#Q(UTj%DI;n)P5ODJ8hu}*I*mfsz<4)9HFEbm?9S_@Kzb=^5Q2jD+- CGvV<7 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/MediaBundleError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/MediaBundleError.php deleted file mode 100644 index d96d8f08d0d47b675a981b14ed74a587e621a271..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1626 zcmbVM*>2lL6s?^)NykY{Pwd9&l1%L^b{7gkVW6Pv7L+)m2jNyOwq*zyP}E2vK$8SX z6=)0pMqdl`v0u<{=%@6(@0}qfMRx3$=tUQIIp;3J^Zk$cn;h&Qou#Y@D>g)fUr_ai zp}fedEXoozn2biOKv8y{#|bNBgftsjwvVtz{4aQEnN5m_DQKK!iK{A$0C zYrF#hq9iO!WD4AN4O>URZvgRMJ{cr&gvu(c_}{a*q;VQoahSxv@+l9|C`?MmLEg(l=g~L-7Wz4Gi zdWC0q@1SNCXz>W`HZ3a3J3Stvs+h1va)b(2O^Wm_z{MP@ZtR;M;%OV|a5!h}^2_bc z69w-}@cUix-TR&lK5Z&xeqwokY?&WhZjQbE_X^m!dKjEe&bR+q0n*g~Tm!3tf)aQ?D^6yxDB3YcF;C(#~_{8v>jNQfhm8JR5c9y zgd=Z?OVJew!GkX0HNI_ALv?j5-G(ywQnziLdrxqiYS<&Xg(fp?hE#YRa1R+VYCPE1=u!; z=MhV%j!R6{?a{^lrd_NFIuE5FdfTTF>Z}nT5H`*8S}WjQ78|ZPw3C(Te_Z8*(#TCFSxc!M z*$xt*O8g7ndE}??Q+PxC0cOUD+py}(`o*J}bI(2Z-kJ05_tQ61aELlQ<#}B4A-en- zm2Wtj=2@8yvI)AJjYd32gY0UWOn9y%WKrbO5E07`pNY^So8<#;pmCOsC%hRCi)OWy ztDj!JYVthK@}haghe^yvf`q9ZU8MjZjjwnyjRzccyjGW&@h~pqen+wO@vxXL<*N7c zRi7xfQve2&xF}FpvbF`O+6TV^B);kFa*_;CQO2eCJx>ajq)C~?ljIjs;TammlY$G1 zx3QyHIw+GYMKXY<1Kv1B6{o~LpJt*XXK10$lT8v0>f33_^E96HEnW=rWLjpqC!mHg z=4IVlxzjj4RaqrlGD3|?qG7zH@eGyujNeX-T3_KjxS!Hh; zHBja~0{^UoZ{BTOaKDPv#c=g{%(@t}UXA(S_cZ{QheFcX)xmFT;NkK%+yonu8+gRD z+cvSZ_uvM&AGtrc^tG$4zNesv%t*n&-ERRjMCJ5iYH|9k8350^tGp%#9r9rss?C zRqR6O7JLBKLrR%Lg{Ez|4K#7t>c*=CI}m}Vb#(#pd$yQk&F3b!1hJ%%TsQ6qY` zMJPMRQnbrF8rY%T6J*!}N9XV6&L`B`T7D?X zWxSOi$^7Y!vq_we^(-GZ$2?Uox^UcSQrv04r_}@fWA$DK<3CsTJIY~o;j4PJlq=z| zdgZWxEf9TW!na&l+3?(l|6V<;f(=828%E7!7=p?$Dz3{lrSj{e+J{amd%N+nJB?5Q KE8I1>2H-ym0s>?J diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/MediaUploadError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/MediaUploadError.php deleted file mode 100644 index 191e868d92823f090b9ff311dcef866e29051c89..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?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hX=SeS`vuCc_a;yNSLG!6FgEU-IfY~CcLlBh_!oQ0W#|9^ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/MerchantCenterError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/MerchantCenterError.php deleted file mode 100644 index 31cef68f101932caeb1fb3c5ef37076e03c9c946..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1112 zcmbtT&2G~`5GE-CX?q|F2RP9ssnk>gM-|FtLqLw>q!Ep6<%c2^$=cW($C9&at=C9^ z@(O(jj(rp!g(u+1dY!nHnw;>(WA8WL%+7q@`;YM|26Z?flyEGF4;SB|SP>X=CYZ+} zxJZ{v!lB33aTpP>izxJ9BCwFJ(=c&E8j27{;SYJ&4qW0WA(H1Ic9~L7gp9&0!KNN* zoWq~0iC^Bze&9>#)kM?w(_h$x1f{b`)HRn?3wT*5}) zB0>*(>_EX&a=$o)oQRauJAzF?r5bztA>6j1`+iZiFZb6dfLYx$aPt_n|6_60lRR0I zyVi=WYjW#azV+H|3B1^|9+Rf)+D!>O-*Z-d299Ue#4(Lwe`xk9kE+Mu>CF0M+1FO3 zRIPzmBXewA>ekd9_FO}^q#E6>>FS1IP9`#;Ty231V>X%E66j{9`qh?n3fgCeaQXOmiTY|9rU zK>ZmW`vd#~FZ>73d;n`ZaiWx{5_!pJcg~r!Gvo92y?^P0T_{tR24+P2u=fQ7ik-;z9h(LuJrU9p0J!FehQ4W0C^t%V8kv1FGP`oh)8OP1sLF`(Q?YS@k zXs$&I2QcGIa`$|Xwd5R5Rk*5+3D=iq6QRYz)vRGO%4D4L3D zL{enM(79E<2wu+M*b);|V@NEKiq<40MUoU%Cc4o?29`VAUH$|V7XaE-tdbJaaRMWX zPU?!TGc>oxKLcAT6ERgjec(F(3LMVdlu=8^dP-qv1YeXf(;^|I)*+>qBx8fS$G--` zZHT(28r3Q0K7S03Zo`yYx}nu4Wx(81|0%4FF7k%4S92Rlo#gp7tn0+6B9(PPolPNa z#i-7-f_pG04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O9@@B z?47cC3BCiUe@QxzX$YmlO8=cv8Bj(Q#WDS+zqJjQIF>}~JnUVjEL4;;m<@O=B=rW& zHM8EcgzMY1;nw0PJC{DyY`_!|49BxBk)fc8;$oy*5sHW^j+{NIH(F+Erbd^ro?Ard zfyXvfA|>~iLnw$!1=|U%3n^pl;w|0SuosJBYftA_FB-GG=iv7dX#GcU)suYK(pg(Y z>XuI3%2PjGgXeqFaag)Kor7n4UR9rhVRgb}wsr$k8Zrw_$dI1{O z(~0lhIO9N57}&$1cRL(Re5V`qym8>aA54OtWBb#wQz>`;mOxFTyYY6=X6MBoCnnQT z>65eh#)!w5MHUxPGa}4@yCprL@*w!F{1QLPM}6D=Sw86-s4b1Mm6utip|*0Ue{DNv zhWmTq8}c{k|0&n`+25SKR0g$j^ A#sB~S diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/NotEmptyError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/NotEmptyError.php deleted file mode 100644 index 7d0e2ca308c6d0fd8f5a09984c109c3a15035f64..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 999 zcmbVK(P|Sx6g4R*Oi^Qgpx36*6m&z8yi6J;G20Ndo5iMz5(tys$#!5fv&_s2Rq`{w z>8JQ9KKcdD&LrE0k{9=7FPD4IIdjiBdy`#fr~yODsU(`lFuwtPO(By)i%6s}&ld|S zAri}srBr$VgE0i-3HXE2f>p9>RYf5LQzVTf ze4erhlqTBzj+mM;&NL$_`)1zPg#}3!H3;`-7dekK6C8?#F^_2T1RQ2Ddz1-tk1lM) zg~f@?d8Q+-spKS`4ycMG%e0W88O1oEx;$*rX`XZ}Yk|fV&~y?pzNfJZTITdFIe?@( zm;4rBRYF-|FJH5@j9wg|0=i){kNm@kw2(CsPCgkSHZhr{3)na>Q4~zFT%;^+56Guq*m?! zt)PZU-YyQxxe05yf_rj&( QHUc~IV+Y;b3at?O2b*?Cq5uE@ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/NullError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/NullError.php deleted file mode 100644 index c1c12d5724a1edd26778ee5d04bf84ed379da99a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 975 zcmb7CU5nE|6t!JYob{vh5A1cjuwBs9MfPQCm3Esg#hMmu6(mrm$s{|F&V-qXpwd6$ zqmTX+e~J(O1}8IZc46s*dCBE+?>T4gIj`U5*Ewpzh;k~4rZKF(g1)AZOQA(1GFTN! zLM23EowJNe4`4WjU^)kXIG#T6#cTiV*Q z;0STDrYa{9h0$#Ao@x>kO~R4I3H!0ymSy$v{37%%P8XplBT7MF@N5fxM_|6ZSY<2% zrHMAb6Q-7oGtEfGzL{tBAR(EeX8Z1JQt(JK!J%B3@`$$2z+slNC%G_Z=)q3dth|i5 zN;u}4N=~wHNL3_Ru7#YLQH)cnt9zE6_F31mmS`-2wv&kQ9gRKEvY@xg0VLIh^y9cJs%KpFoU6wZ^tdv@=f(QC ziyl^u=2LXI2tLgG%kkCNA2#ka57C1~@Gh8s3L3R$13d~BlgaXO8qED*-lz}$)=7ss5bz3J?_=lrZ6jQagw^`nsup=YA! zxw5QG2t60V-@A#>=JZxjZBn;U{ZntbWsJ=_#uXCA1`1<`wYqOrzB;Y^dhTLy>*&x!jQJRj%(QbH@ z?^d7c>*t4$ccUyzvwSxl4##m4$!Q*C@+d4q`BQo*OJl37hENi|iSkJ}h_tTT?nOnY z-1^-zai1RL$DitJ|Ka04D-%COXfO`*Tyv@d0pvF!?s2EWPla2yY`ya)^U zyBp^+PU0dC$MLUl>u1_99On__I_*20CW9hQ6HNs;$spQ%pjA1Q@7+lXEIrd|n64rY zNbB>Yh_WOc_su9DWbvd(GZ$QSeH0Z9-RflX!PBy;$`%i`%?hHfpThV|E3#=cUtH6& zsF-HSEWz6*RS9h8yZ9IeJvwTtcA%4+jiai&f&RLT=m)outX3&n(EC=Sf)=QtRjFX@ zAB1k5(I}Qo->m(K(DE5}as@2}w(l~7cQ`ZgM`QtA3hWoQ^U}uW$aQp;+xyhwrVM=M zNsIeJauZ)5H__5*i#Tu@{+MWJ1;i{JTT;t%UY0=}$E#96^d05FZNurgRPeUNWZ+s3 zHRTI-Aj=#V$t|?p*779%^?8*gbF<>@F(Opx*;4#_NaaE zZmf?#C0nS!@m_eoa6Be`YB67$++&8ot7IE(zSlXhOTy$_5Z1^NA~i6Vdcp?E;Jypw zD#Gh`e(S3U0^cS(=s|T3%}_zqFqjMIWpfJGrV>c#`S?qsqbF1dkGBH>iYfzK7pPMx z6v$Z^=+@YqO&DGy_tBcgJ52Rc!u$nHwgck@6J;81OXzu*;dQc$woVSxNuiWwW+3q0 zdEKboB`P(faPfQOA=3(#vb)STgnIK!Ixr>Dh2%zaG%elcAu=H)#mmyfu6|Q z-ynTvH=xh^OJD6A@;hJ(MFm#8AiI52=vP!ce*rJ7!sV*4;K z6@7TSocrpeAw<1T65bTc^d*H+@)+C?lz?~I|D8kYu%C|~+%whSZdH5x z@7kkZuJ*azUM~0J?f&oi^(t7`Azas+Ou7!KbiK-Tc(FwJXrozb+tsd|EygpqYUx<{ Jy+v;k`X4A&u{r<% diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedError.php deleted file mode 100644 index 15ac20abbf4a63e9bb2bd7bd54d5f624596e3d04..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1463 zcmb_c(QcGL6t%nB>h!@4@xl1eop!6;nwGUOeW6xEmnk8-Kv=d$vk75gmXc5)1DL4k z&-mz<7(c=f(2vkzhNaaOeUYb|;oNi2+`0EWdy$@|pa)ePW8&u6hqL!EKgBR5NuGE~ z1ZTy3jtTUVvowq_5g}9zs2es!ie|6V)GR58hb0&!Nf6t_QVmeISt{Q)K7imbxB>s(CcRx$C>RJ5?F=RQ9tfETfaX{V8J9 z2LO1Hn`O{gl#p2kg%w~J@DV`zrNt}?J(%TGhzB>r%n9Q#58WvIK(BrX=Wdi?N_Q1I zFJiA056c82_Hch2a?TRFnI^PVhj5|PEW1ZLH`U@Clh}=>3eG$drg=h43YDY)=XKA^ zlm7Mrt6H*!bJ*t+CFzRBLzt5SUoH+I!FfUA3xe~SiV53&9#%4B-><74)938hz_RWZ z__hp&|KS~lE+-M`2#EDCh;$f4J`5W_+F-5uwNPA~ZG35i2h9-SE?AxDV-pRvV+|>t z8^S7BndmQdG3c>;4W?aUEHpAs znlU#^%*0gw#&b(}3?7Xpc8R%8jB{*Q&hV9nbi1=G?1JqEK^!NKOj%QP$9`j?&Wg|j z-Rc_h*x_Q8Kkj;4cmj6*#<@td(Abz*L)5wRFBP)lsFpD?xe6dW1nboWe`_;WJQ>@@ z2w9!gqn}HlM-8MJg~q8k>NdYO+bDDCEvhCfNFp~5#DoNc0LRQd7PgayS)&Ub@cH}H zYOAvRxz$yfvxwABL>`tAbrz93%hv^B%FO4I`!M^d{O5bC$CD+Arb|-IBuSJ?k~r6F anW=obRqxymU*(IvZCrW=M@>RwXDja};2V-vv?qD>1rdK7;MMyEkoW}`mlSsDhSWI8e&f8Q7E@Yc$g#s6I z^X(V`gi^AiG9w{{q2GT`6^V!f@$s&_3;TBjYOTClMtw5&yp?|AHj5;?ss4j`z? zMS4T9uBeQ$7q3}qqZdV$>ZOjXRRIg#6ZC5jz51W58i#hv(YZQR!j4YZu?Zi2Mvu1w zanpQtG(r!z4jYfq{%m~ZyKhIABX@9cud$CF%*OA=-pBDlt??8+@qBmEn|hPEZrS{5 z=KJ1cs)6~ImcW15;8ZVH<*xwF3=d&wX5 zy})>IfOsMk^x%W8m$rf2PT0_-2eap diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/PartialFailureError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/PartialFailureError.php deleted file mode 100644 index e41e4efc6081e25a74242fddc8cf452b2ec508dd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1054 zcmbtSL2uJA7^R&Al6PP#2e_bl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+-1RDE$ w+-vZ+Of+I2fGER70Yi;E zHNg4~d;?H@dAU-Yu#i})-zhDYlu=1>M!%|;4q$?_f+(2%-lSxaq@2NOAYc*co3d3qyYEcW1Ng^1|77i&QL37DPs9F(9iL6&#opjIpnzcfs3G5n)2<>Sc zKq*RcmmEStWGUD!z@~=M!d|?hTN%SRu34wby>8uD@t%R-Er9;tHtX2T+RA9Vw%k^h z+s5*f@8I#iHxpK_PgcO%zp);Hqq+Y+oQ%DxH*wnctRwJX?!WPakAAyhS>Rz9y!FPP zmQ&AnJl}0Mt*45?oXvvJ8!uHbm(yVGJMGr!Zv%8xY`4-5svJGpSE3CK8=oiJ7p6SJ zEVa2vdnsW$w7Zb!v^bdgzS+Z%X3HH8e>RU@9cWv{*fwQVsX*H%(7$#a3!V8pq1UP3 t#{N&UV}=n@;|SGA2q`Fp4A$ztR{8R*w*0wC(rs)GW==Pnz75y_@DFNaT^s-a diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterError.php deleted file mode 100644 index 41b4ba543341e01937f467a8059848ad692f6b9d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1278 zcmb_b%TC)s6fL0-X;?JM2b3v6B1o+xM3JhYv~uFXSOj}S3@ufp(Zrb;OU7f3Z6sQ; z>UVU*vY*mV=`VEC@i;L^C|T93EBoAYj_9Bz1#M{agiDt52^`SdO)fJ2+~PI%4~oQ-TvKQbrTtSqbZoxKs( z^!oq=G0QSYw9I*}LgpeG2fhQSp0pS%Gce1QkpON+8I6)Ck5tn)HG%^;WpTz8Wb0LX>A{6qxo_+bI zv%RlXOSWhVJC#L*9(g=~xh(iYaR?>P3z^&#+}2du*xQfM%!WCc)T)PSt(_WJ>TZFb z&w%}(_SssmhzxZOMtvBDIt-&ajE%bn*jTIO?0ON(vofpY}ZeXpsyxU5hSdd)oWa z0Bx1Q*#s93v)5ieB7Kl#aMb_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QGnr)0v z(=P5ud8^lM|0-8|CK9d+f@@1%sYtjs62I4oiAl|^*qGd`g7c?bv&{&pc7zHhgcKD* dmTPw3sC;!$nB|4_;Emxny43(JZV8qE`~!i3cn|;p diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/QueryError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/QueryError.php deleted file mode 100644 index 871b970b786ef67ce4a9bac72eb7571054837d70..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2718 zcmb7G-Ez}L6fU8Ka)4x6{wa_p3B-ZKCNNN{5U6ae9S!!%NHVDz&uA1!F`hA&E6bgs z9cKCteS=>1QTiOc>P=svXIHi?laNkx6Z!0SzH|2c?Roxk@NNLhtP=Et$d7}4w)cU> z?*cZ6!Z>V)J+?PGI0z!v4&M*Dy&%dnW>`#EF5`yj-a*x2IEvbV#yVlx=>-LUe^^L9 z<=0P}PYOX4h0(C^<0yzecAO-8H5;!Z8q_&E@OjnX_@^vi28o7Wdy@^)E&fOR7a?$ zb%HpJsFdW^wv<)L);(ak#6?XzEA3 zCM%Z$rQKEdi@@gp&JtZrRPvb4e45xiCN`fWcImfyn4ji?_ebxSew_!His%BIZ3w5% zOJ>>R2Kj=Xh0_i3N?5ysoRFul8{BSs+_o*7JffH3LQyw7E*dqjWC_RBg-a;C3Kx~w zDd~0YIUJQliIdZm!n`~{?yBJly~fEodJz_+tZLRw*L$N^8=Ndq^hyemx5#bs6(w*^ z{KOJj72O zAm7ppaDIxxE0XmYQPp%@vPSc8KSkNR%x#&dNrDbpCNfzmKJkj2mv^5EO;M@xalG!+ z9IT{ADux&@cgHJocb9W9&F3u{SyLdyG?IIiExV?>ZS9yvQ`Q5o)!io6zT?VL#1_I)jj1O$=}own#m#isQ@RNonbV|D zN>;6C3SH_;ve}|pRM9x3gE-4JuzQNlNqObyUAS`;aF+0@48~Eg-5so=3E4IJ09vaV z*s<;RKsLg0;8_(SX46#oAe>9XA~S>!Om2P8vF67 z#$);%o*ki~YW_d%J&`?-8G~xPRB?n{rwndpXa(P`nnDe)q~gifve7b#q}o3z2-WgH zpTeVKkw-V^W!dH9{=%KY!``dOV#7z`lzax{D6HwCiDjpvpM(is5x`&Ny6kI z+Hj-H%Wos^;ybY*JjRjVBWb{CA{h516rqra;-Yz{e%4Z3b2hqwbuAI08yeeC@Qmy( zhmaGI@pwzHDyWpOr!VMQhBcoTTQ8(p^#YjhJq5ojp!we}8OM6Wly;hhv8FWE)W%l7 zm%zQP7j~R2t1AGu9pexjOa>#*?m8Ea-8;Hv9Duu%!K;D$Zg5mG9s*-%kKD zm)2x7mY}ln0Nl5_U3)Z|dPDcp={R}2VpPGS0zS5{Ja=dfo!1|BMsIiimOxDgb}e_W z^3LH_r1I1&eYDqq8?p$;p~-mI2uZB+x`}l{)4eHg>6`p0SNfLqvwYlFSvF;YO^4V$O`V$?dZF2U;P60J; I1*CcZ0LRZ#MgRZ+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/RangeError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/RangeError.php deleted file mode 100644 index ad41496b20d13cd614aeb316fce9477cbfb03f0d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 990 zcmb7?-)a*<6vj;gDpRo`FVL|mGzHxdq&JgBNt*38sM(;Y0a*x>-N|-fGqcRh3RUtl z-UvR5kK&E5;QUE8g^~;RX3q@geCN#heiv`^+Z;4uKo}8NkpwR8pt>b67hLg}XK+z0 zmqfsruX36Z;XybI;W(T^e>j@H(4~?WA|?o?oTnLS<3zSyXriy3^EMHJ3)vQ!rDSdo zo>d2c;T4fNjtLAVgAYXE1S=c`Rw(Kxaub^9bLTwrtxy+$IKxuHk4Dhmf$sq7FE17u zjiFRn>E8*JbIPcqIHTY6!+LOuGf8y$!`x-TVnsQFrXXZ7X`Ml*X>w0;t{2gR+sP(o zH+nD8h$$i%&Y~fav7ou)Vxm(KN{K2rYHnI*UE9^D(IsrT5fOSYV-G4(ko(Oc6hsw* z?F81PlpXBV8@d^zpCo11D{WS*Of-E@!Ot4#{I^SuBUj>SJH66aPaEqwV~=Ox`OXTT z6{}+(fZa{w5FFf$KTZ70(bdQw)*m$vz>}NtyKy)h*DK~Q4a52Sa8|E2o`I+4a6JmH z>$Sn(3TSHXHeL4)FgV;bv(`*1U;NF`DbF+|9v5jlCCp;Cr8B2;FRWenv>(-4(C`1M z9t9RjPlM>W&_o(Z&msAHn-N)R?_q1X-GKY2+H}PT>2ichC4{sTLQZS(*iQNSv^4Lf SV`2xuUV3bz%Ugpr0RI4AC_!`p diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ReachPlanError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ReachPlanError.php deleted file mode 100644 index a0a85dd9fb0ed5374ffab5767017bb49e11a9d3b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1111 zcmbVL-HOvd6t>+(VHUK+YuVXtWn0jcMRqTyR!Q452Hm9eXGJN5X*x{F#amy%$xNHwQufB&U1KyhI`2&H${vku$MS~8*sPSb26(y$$rGmIPOLYc?OdDA*d2bT9B6e= z+k+b2t~+tYo+`;3^eTs)za>x=V&6RO&Ubbm@4iM#VNm*LZuS#Up~*m}ENBKKmQvr^ zA_>zwUD8rp{9Zn=4C80{*pfETh4^(9=8>?0u59poi2N76r~FkrY&_{L0LpQU8JT0995_ zN+?F3L>(^=;>a!j3Pl z_*Cbn_~&4?=Ex0XyOM?--F9t^T}zWxm7Bi#QI*UF;%4}#;E|%ANU9>cmk_vFo&yU8 zR+W0wMW%^O?k@ir@MC8hQ0C(9F%U^^nAkDgW7IswrtGSUrr6vZzX{e%RL7czbXl?$ zth7V|cy`5Sm_@Sb`vZOztgw1CNpHH?KxTnsae!Y2i#neCHP3H= z7qW76giOS`&@_h6w|^|evzmkmwm_Y;2qBma-(kT_2MYsB9}Z%@Dy!-4OO0X;(p?kJeGXteG#iAa5^`(2#x2hEzPoV28Qu@H- zITWhIO>qE)MXAI+!Lp{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ads/GoogleAds/V15/Errors/ResourceAccessDeniedError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedError.php deleted file mode 100644 index 1d4858be272ff86cffe9fa92883e6b1684af6425..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1082 zcmbtT(Q4Z;6kQV7Kz&%r9>yNFYE7XjYz}4gMOikS*bQOK2}!!bFa*U`T!AAQNgiw? zKeNYu%6?;S`-m}Fa@<1k)BNI#eRR&zz30AtpWS4j1IL6Bffb42`YTj71ZILO9`O{e z^Ua0`81ZdJQz9G)y(tW)OXz!(&%lSo*2*HKy31X2e z97RORRZJKq@yh&lj2r+AZ;8xsMBsQf{74jzvBKflFo$j|%d)6GonM5$VeSJErC3Th zFBM!P;2C}c0p9`CPnNG!8bPVB(ytRLSCmmjaZ11Gix1!ir;=#4``As+B1Jia#epe{ zNcRj{&H{Uqaowl^+#8)0z0-XQCrlB+a2k3l@XAjc#Dq zT14oc#{pC#CwIjm6h!5M-4g67Dr4;RJ6hUspjyMf4bagcE*;gH8@{MjHe;PNKKteU5}sm~I9w#XgfNrf zeeyFZYZsw!yYQpg8oTb#=F!-s+tHbJY*|z~-HuK7uRS6(3vg!x%nFn{@Tb|ahY`}p k5vrIF(o_gpuJuFX^37>A_*XVhx8bQxo&j3i4(tH<2kIbbtN;K2 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededError.php deleted file mode 100644 index e6cf13232d3aade0116435d88572a3b599ae3b84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1312 zcmb_b-D=c87`0p5>J)Vw6om>qwuNp%vlQt~YLzsZronC!vRNy#5VFbaHjquiWFr31 zJDOkkMJ@;JdnhETVmWqT0mruU4E7FkI`tiWlOO%vP;qM|3ts`|LQ*TaNl zr05YWkbanzDfN?h7E>R83NemwF0cfeuLs-y&vcIjk@Z&V5agfAcmX(-3!epx~^qTY1J@JAm_boytgN;>b)XCTWn2bXkFm&G9@n3g2HAUJQR_+l?!$MqU&6g8?x z>}9(Ru+rTIzm|ac-=0+J2r8M~gxp+*%&tQg*Rk=t1vYPZIFy#NjqfecxdA6V0INf5 z;2_OBGLhcCC9Q&$q4n0XPp$TXvH^nIr=se$fTwELXeete8T8oCN{%my&9$uM6Ru*Md zvGB?wynp715zqIffb)dc5&zrT6vK+b#ucSuQWQp|D1vLe%(r~G-CXo@5tNHmTpKA4 K6u5J64!}SDAEwd( diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightError.php deleted file mode 100644 index 7bec1b4f3df3f1acadc543d1ba01b3b000b813bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1278 zcmbtTO>fgc5Tz+?rR{;p2M!?7ZPLag4BK`zdehPnq3+r|2R_ezEUp(4<^XBc$ytk+6A_YyTk(f}-$P7-uLbf0e=J3+9O{S=0g`#!Hf=*e6gMb_ayv8D`kk1g)#ivQ=0_pN@`QBxpMT z_z})BXbXCWv+E_fxCh?>|UDi7M;K=mBXTIyko8&^LNHLa{DCnX_&Hv4mng&0>Y|Z7bmU5 zj;LC&g>%>{B`V4-jVF-NoZKu9AtfxQ@ioCkMJ0s2eiyD}sIysB^^A|PRRN2-2jJ%h zIQ`H0NjoKh%*QTQ3n23akjn*V{HlRxcTWk$`Lc0Y15fY1mY#s^v1t!cPe0R9zy3(t z23uqEgK167`kLe(faaNQIB2Asn#WhuQw_tKpuRWJo%f!Nv;i_5yIzx;V8_r0y7K^N zU21?A1KqX@E?&*(d%DRv4AgVHo}rFyRDUeJ1dS2;IMzqV=Afdq*FE=&90Pg$&>D|= zsJi%5=P42~2hwp86_xate6bm|B`;1n@ z3X%xNft=8w9gtWU@yfkvnB8mUPC3%c+PbEyKWaOgFsaO~DVJdpag)lWNq=7D%dm@A-MEdqFFTCxIrrXk@0{;nm2XP4hb@tdDsIFSpZ$WH zHv*Sc(G*FM;j_hTCMuj1=Vh9SO2gP>*kci46!T0B;%PnTj_v8^ z$4>{Ms*0)})S_w9e9q;kCixM{<8x7$aU!tg4_(p3)3}KzmZX}HX}vtQr{l*@Csa}$ zAe3ZrUE{E$l(*4 z+yYphi2aAS<7{K^mj#G%h*!1wtv;a5#LgR0<#9GKMV(Y>*%Xxzp}Ia7O|NQuv;Xiw zW^LKh8Q$+o)b))T4{=j1#Cmd!E72^f{F30Jr;>$z^Dk$lWzYlElK0v?U zKu`Y1q|`edNQ0qj{dhGPuhxzC-k&>2S)T{Z7w7lh?x36Nm+BX2ckG2eHS8msn#w2Y zF1kMUe(>0dr);Tr(e02%k?mPLI`t{HLk^q9$uY4VGIXeNP5l-<`cR0$T%SZX#PAb4 z8gYZbw{3aKr|JQE9+AMJl6HkPm=_V-3%Ttb6UR2W5!ew8Z02>Dt$>YvM|=J{>U~yhzq$p4kJFK9MbWK@s5HM$5D3F$ppRL|)t5-W)VW_B$6+VX zWhs zNLUHx(tx`pf}!*qpnNrazlHX|UzhLd$|p9wwf>Z(0r^`$(dEOO7g?OowW692<|3E& zy7J*Nt*^A@gYNmh-M(fK^2hcaOIoi6hO2eQ_5{|eb=LdWDqPvNKRA8^BQ+HBI+6S?Hce(!sq-}k+XciA!nEjT8Wa4bm#=ii`Q5}0u&S;$g2 z&ld~AVaQflk`it}ICP=o&Y(54XNRg(u$+ek!I-f)B^?}zP8k-_*R%5u;hb^N5lhTT z6ofpHgeQy!`rOcs0HAn9M215G$6o&OtoQ6^ng++l&L()El zC1#O(oG~?>9^7*Dih-$N`8HMWqd4`4M5xDRl5tO^A`}x@jk!2!pLTWE0xemUy;=*5OEHZN#^X**sP^#I^;sfzEisbpQYW diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/SharedSetError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/SharedSetError.php deleted file mode 100644 index 370c3a011fe7aaedd0744fafa05e1af042a7ee8a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1110 zcmbVL(Q4E{6m_>%VG4DP=xfKe&@E_|D)nJ%m2`Ky4Z2C#WGj`0Fq_P#fix3lCW1vvbiA`W#hPsofG8tEKwq=^ zRO&qV3ZVLma+akL6p~2w+e}56=BZ3cmVQw$+=p|L392Y=V&`QZ$&}@=Dsc0NcDG^8 zSz$K|rZ%zk$#U zG2=dzyrfr~L&&Ktd45T7-caemp1(;KV_0$AbUjp8>o&lu?-uyB3|{@;xs0{C&Q!-W zn=_m0%w~P&^ zVD=||;EwP(>|2gfT-YCDE5MyOb&@LC`7Vm%4V zNS>ICC%uH`TIm*e0<_R7xOBb|>3`&CWVAE2!kz z|M1aI@h^P!)gN$nHrY1RytprWxtx3MnS0L5*YQ=1s?cQ-lT*O{&#%3q8 zdGA{Rl{ZZxQL@bG0?^jqD!Zi=}R>^`ltn+CV!d#!gnIl?k+y1^VY2F|nDy y5qg{YRqTHktJyHdW*p<331dTramF>fYgIl!$Zda`rRh34TXScD8E%P|2>k^EVOe|t diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/SmartCampaignError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/SmartCampaignError.php deleted file mode 100644 index 3286fd58b50bbb87411d3278ae37690658f7e9ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1256 zcmbVL-D=c87`0p5%Jjkz#0m-tZczn{LjHN7Z zC0S51xqAR#lFXC$D|?6td;lL_HuWJ<=7KFQ~0SzR2TjId-p1t5q? zo?#zkh8TbOAc(P&~M*++^;o`L)<$jbzJR))QS^Vi4oRT=Ff@T>zEs}soX#&dz zHwkF-5LTQec0WtSX3pS3VXs`4Sk%Z$IAsZmM+VIU7G*qTJpn~1q`Y2n`K5VyDyNog z(G)f-i3lxeJcFDS^!9KF8RZ2_ZV0YxDk<#fO*EIGPbT%$bKzdI29|RVz}Gc^{@*rr zyXw`1(OPY}CM?$~%Xfb^z~g0ea8k^6zc+xoe55`En?uLz;f{4~VMDp6Zi0=W^UiTE z9c4v@;F;xI=(c6}?V)Em*z8)A6k8E_}89k%?V@p!ZEY@cc!KvaY@W zyB*yTLGcYd!2PaJdz+|~ZDVCaeG0bDEl0QgVc+&kc&D#l+Im|YK4|}00ed2O^X=Zb z==Rp~D&?K*t$e_9lfpD6NvNePY=tzDxm)Bki}E{TdsWhPQbbo$=(nQoOl69GXm<~&YF8;7!8lzH{#^sG&U;6k>g5|qXB zh>Imwb8~2!DF86MBr?STf$q3>K@<+L!ZX(p&g@XG%e=ZiJ)1d(umeDlU@76m5DyHm zxdPt-)L)t{5*k3Mu+qOHD(93@MR7vE>34QvgcC_L%QiO3SfD6pFmD*KfV56v!I@)^ zQm*&Xg&Tq6d{uf)Gmj}E7*1w=A_GBF#l=`d5sHZ_7o4B8PC904&PF5HDkLJbrLhZ@ z$jIH{5DKC)!EOmwC6y8O;tgHPu*0yNI?&#=N?<}HuRkA*E-&n9z1I6%0Zkp$wVs{QdQZ3J8xO~oPtN*PF;6gy zEiU4AOqhx3Ce#`v3p{ diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/StringLengthError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/StringLengthError.php deleted file mode 100644 index a5963272c822e7b2e730527358452f9ce459bb0d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1047 zcmbVK-EPw`7^N+L^FWkHa67Y3S|>rO3GD)xf?Aq|iYz8g(KN2%Dnn=e9|I9a3Nb#3CiM0 zLRhTk6LV;rDF86MATq@vfo{+{CkjVc;jwE7$K6P-%Dnn?d@^2Wvut8#84DHV4CW0!3rX_`7MwZu zAmw^59k>=4`Ktm^WC1|U*-qQ^M#>AlV*;!pH<_Tu8 z%|+ab2{Soe$2z5QYs%Zj<$qLbZnyihy62h<+d8>+QRbD-uw7*M*BUW4F~5;>6ZBQm s|5O`AGeWu@p^^z9O@&awHN9(8zC0{#eqN;KIx1UpW`G5536=o-14DOK_5c6? diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkError.php deleted file mode 100644 index 36748d7bcbcf1d5ec9853bcafb349bdc718ae4fb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1250 zcmb_b(Q4Z;6kXD81NC9Su!laBs!gFOYz}2B40qjdYBlqk+9pXeRsuq?l~l~NjVuqk z(YJlc9``BxfPKXNVPleYmqcv-1ozVV5S96G0<5xrE}J!i=XP z4bvD-is_Vc7^W8)izzoDbbRRfLx>!AxFJXLwBRAN;4DpNF>RA5ZVf`vJbS@H>Ml&NI_NXP}vGZIqR4LT=OkcbE}?rMdx9p&>< zRioX#G13bA0E98gb2wB=ffBN_%wEX!q>2WDuK>zlR!m|R!dwt(0&cM!vxEsoV)jL@ z;Q&raoKwkp8#^tMP_Q(CYQRrI+S-97r^0S!sa)FuT-XiNCgm2#ZXzg`ZpIGHL(Vdh z@<2i@Yeq%2f7NO2>}yrU#-^}UTC}WN9uJ`41-&T_A*Z6?$u+@MMWu~Bf5YZB>?o>K zkL1&~DxlKc27i{p`~UZ*#(K$R%BwJ|`!MBwnB{$J{;h%LJuion;$rhx4XodTGoFBz zQ*RKUL-)ujOBL*cE5a=@AajwZU3mRcXj$qnK`p8RVCABmg)PsK#X-jZzNPlbe_@Q^=3J2 oS#sR6DkjU4RF+k8O&)2NFSe_bd{$oi^;zGU2@Nc9SKtbOf1PohfB*mh diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/TimeZoneError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/TimeZoneError.php deleted file mode 100644 index 1772ea57a0544d45c5e1c83a6ef46de869956fd7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1006 zcmbVK(Q4Z;6kSrbfy!7K*mJd}&=fX@GV-D{8_Dbjv(*VK?N~4b#g<)xBN<5^tRp|O z$35*k_9=VZ7fhBCx1r=^e(~jU?>R^Jobz}2O%7UcL>LiRkr*z%L3Kl5F1X?m&)}j+ z5+Y#4mpRRda3FNYFc?pv=lau^dR6j5Li6|wf-^}p!o%65V3DGn!E#~DBGNvE7PFi^&bhuv zA8y1=$`k4Hgg#S5Fr0-hk&ℜ$osl5lV@w4qJBGr#-`3qR|Altwe+#XzW8J3UZ$u zLP1m^*d4&Cf-=Hhzoly#gE+2OFSKXvYOv%z0l)S@_rJ_)9@;fWJL^;)JKAH%dVKT+ z9Bet_v0{1Tf@fRJ=5w%r6?~d_@BItka~qGE`{3zS@F5s~4jQ%Q3vl2E*MpC~JD>WO z-h4I=yvF0<-x_G?5UzQ5N*Fe`xQs`W+RR%kPkDw}>Tr>EQo>9GH)+kO+!@}UeczAz z-e@rRSw9?^cse?ijxEbd$J4R#{Joh7O@i-5*kpJe;y?A4T}DW+BUB+Fq@fV9Sc@k{ Y<(rer#aA{QcS+b8BQt2{R$v9dKV#uaPyhe` diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/UrlFieldError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/UrlFieldError.php deleted file mode 100644 index 6a8b1a1eb168a79b64e5ef6d9349e06857844b84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2807 zcmbVO-E!MR6ecOOuxS!y)3i;SG@G9ir!;cYHvA}rj$*A{O=L-9OQB^vqfu1njQ7vRvCR;2ZCp{m$Qa_8gtBU-jSh!7i$Kp%=TU*Fl#* zp!A)G`f-#-?I=K(gKpQ0Q9HWo`+*mW2q^~A4GUpKwYG_B5)I- zq^IwXj>}#gM{!af#DUZGy`bYTfyg`n5V}`h(s$b)s+nhXFLgU^>b7dkSWE6C!y`Ri z938hXGj;+%J8+W(*>O;%Hklaw1Q7Z42bY20MoH?XjsHO zEKFj%gRq_YQHZF55w^Y30m^Jr>|Q@2e4HX4oJlDn^t9A4_2SSCT8fvnW51t9u}Pqk z)brAuSSl$UoG`D{n%_m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442S**k7-hUu zaKgel7C2N1Q*{6!!#5YNRRPPsd*It9IQlQKjBQYQ{cj zd%iug0>^X5;i)$Ydy{eCo!O)C%nEvMLutRz8VZ%VJ5IxHjUdQ-dp_X;sphjHUF)M+el s<4?V*ixHCL2vtl7Nh*Xi*X+KU@^G&*$4l+GYlE$Irvhr+6}ST6ANS8;+yDRo diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/UserListError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/UserListError.php deleted file mode 100644 index 2c3312fa2159f2c84f5f49be67611d67b85bc019..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2131 zcmbVN>u%gc6ecOOWRkYdptiJWn`t&BNoh7zB_KHjG`pT`M)eI}azQIu&aShyw6RyV z7YR_Ff;T|o53j%*@F@J`2{_Fwcn(pgLg6W%LUo@HZHq_2Ul7i?D!y>v0~$NnFHXKmHl|+b8E? zKaT+6dhGcy=@fCA5RqUdooI85l$auReUJhl`=lz)78C(JZJrcSmW2Jb7Ui8R9u#S2 zL#V3uqGC*}SlQg#lcx%__?&E(C93MR8uv+&4WsG93CW^jm?aZ{%Q2KJZ2Q}IR0i#K z$EO~EW}D+caqb5CbqVeMFR}1ynN|m7>tl`UpmDv_cGpqPM zTJ%lVW=(#;nWlVz7ttNxd}mt6rZR`WMsL}P#~hRDfx`^yykj0WTY>K~C(ya;1%~fY zj|E`E!1Zn0ay&qp$4}71re!uA27BJA%^>@GpF6O33$LOT*gIm5%Pq6q<=Q0RL;M^) z(R^FyO@VwR)KxyhE9en7kEjk=S9X=#_!0V~+SHiabhz!oG0GjRprvZVqy|$yo?a0( zDhv2a^hJ}JvKy*tfo`>+2)*o-y0gD6n>p0f6og-)&nn~zF;%YP>nx~Z7x4qMEKU!o z?l7vI3MMsW3BN=yOm=*=oj`_;skKrprBk#H3M#Pn4%Zc7vV-rf&oS zutA~o@xH4(!|e@J1NMcL3`^q&r$K}3I&A=d4r^MDP}?^>uWT z+7dlUQ%c&n3u&-&1joqMPhF20QcHyhXHyM4=y73X0Rvv7x^5jy1d-so((1NuQ4KJl zXR5pu+)7EMtKp1U=dWQEeKl<%8o1oxIu&rE>TWVpZ93QBCqdIOf|4d~&U){ddxwGL z9gc3HtE>xkrZ|zEfV0{g_!)X!v0C0$cZ!HjahVJYhz3gvN?owXNIYc=KSiIq40@NG zXcjBmWhX+>SGa~&D??18XtT*&K|OWh+I=owg6l!@y1mAa(SvGFO6#10#Bghs?Z!WI zs0Nd6^tj#l&NcANb0!CYJ@*3}J&(P#A11wen)P;iQ6lGDH4+DLe&dAPD<9F{=5Mtq z{bPQ$C1+qACSSe$6kjj{>*WmmtBPpLF*!9S<)9o*%D?ApWwNS5x~h(mR2869wZuBR cEvtOHF&-7K%Lz0YH#g2I8Cb?$qDzGS1>Dqn1ONa4 diff --git a/metadata/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationError.php b/metadata/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationError.php deleted file mode 100644 index 11002c20220abd1c82cc4bc59fe578d88e480720..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1154 zcmb_b(Q4Z;6kXD?f%?$kjj@+eH7PWO&7q9GD9c6?JI1Vw!_s7I1cGBLuE4R3Bp14o zm$5I|-ufx~lzqiyDRBZNeVU&x^10_+U7hpxeR`dO8gy`inJ;h%XSYyXW0*23Xh35) z%jR>;U_cisi7_)Fv^?1NuAptXSI4rI(~Jce!HCi*#tlE@4PEBd&G|(GGe#M2+|o>B zGd#T^A*NG?Bf^E0Bs7^SgsCI}Nc;unsUKkI3_2gN@Iznt6GyR6+96++c{M)2nAnQF z2|y70oWn0#Wt@wA+R{)k@Et(;rP(Yd0pvoe2k?aODM^SReoVf}1+?JYk2#i%_p$RV z3G#_y-rywxuAf28nPX2tP4^4(0wPZXz&C{CHwv9x##$$_5gOP=rOX`TV4Q z)>NuF8=1qp9uc8?Gq#{$8QvC$kYSOrWJ9nlsMKJu-;vcA?Jz7@ZJg(+QOYFAY6O5pgxH?xy$QTQZk-`!?A1G-c%ZQ+Ve(zt5P;zfM=V-cDHK}hi>Q6uIw4lfwB2xU%HMu z-|ze=gPIJ&>Lxoc)u}!>tFpzQ^wnPNCZe&QL?&fXBf^PF!8$=H;X4D>)EoR&-gDaR zyYi8v5@O0+n7Yg>nGjPa8Q~&?~ diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy.php deleted file mode 100644 index 02c08d1d1eb4f7b7df910216881b565f3f4730fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4352 zcmds4&u<$=6t3+gODEH*s^Ct|Qkq+I^(9jZVifd#dXZ+TJss5(1do0J*lN zBd%1-SCOZ6G*4@lD0WNixWSN&4(>l})kExU0KKodE+a%$LA5PHaq(oVi?-rJ_E1kLDjo4$*JaLUI=oaYSD zI622T$QwH52;ew^YE4U|ZM1d_)bHfcp>||gjv$PJ8iB+u4YNLd70tx^9~nX1Vy6>@ zxr0k+GxCfCdKdnf1tGR}kU1QnVE^-2h1fl4Xai0 zlS;MnR8k9yd?3{cZ-W8$2CPq+Q8Dqp#4NH`VWlRPBvp|mwN_WEN)yL2OMQtst7Dt~{VAC$iQ+HGjS`g^9*Ya_56KA23{R@X{WUabQ6U;rA}U2KYV<0Z z^_L0)UMvU^jv!zlL7+zMIqKj8_-+QIUYu@H-*TSjV4+ZrfsJ+4#qy)Nhnj=bzNKRY zv&=U<20tg@W|KlyBBTZZ+6!=qW7)6Z#+gR1IT@?Ki1MdT%2J(Fol2??p9WG0N=;RE z{0}KoGh)7>?Cm!tb$n(f|JR!pMD|Q4{~x9CBMZgY(s+w2mCgDnQ%+Zek~yCu%)Api zY#X^Qxn9(EaKHFfnpqz+2-*Fq?8{|XkG;Fu$8agMS4oSIPH>6Mg}m^anEF%v0JeNw ze9FT+03UiDOG_>u@-ifiPCAKkQu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metadata/Google/Ads/GoogleAds/V15/Resources/Ad.php deleted file mode 100644 index 185f84da7cd6dcee166982c131991a75a7fba281..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 34765 zcmdsATWllOc{W8|54Bn@rCo8kH=1_rb!p(C5}+=cAcd0_ZQ3GfTA=;@ z|C|}l@S+*YYao^%yyBd5{yCTb{Qvh~&Y9=l+uCo5hr%0rLvNS6dNsUrFWlYN!>x9+ z+pIL};hn?XUA-NyG!I&}y53$1hm*N*HdhL#lIhZeXxeEWwk!Htc(2*qtLv-fYG+mc zNq^nF_Vj97msL6_TVc9FG|C5hr&X@#;f;KJOYfGeu{%DtAsnb*J~faXr2%6mg^lI%?9i4 z9yTi7TC)+R2DwH>zxr5M(xkc%x0)FJ^I@Y?d72PR#+`JdtG65F`kkcSskCdYZnK?7 z)wQ)fy=zV*J-PbWv;0<~R@)6-+iPpRLG_4?YHCdH@K!t%Prgu7GgCf>3<;L6EoY{8`<2gtltwjCjy1k&2;LPmd=o7bQNxHY4|bFpEbsY1Le0QlvtDlOtu)(vt9yEb_l>c!S~c2B{rik3=vn^% zmnOU$vDnupE^qLTTERYAk$=)(*ikDqW1Vjs74Gn!vurxvb$7VZ8xs-PbZrfd*Varr zYil61w#Joqrn!UH#iu953wxs^0rzbc+gI;u^;+X)t<|m_l-u{lV}Y-FL?}iyG9Zzc z6fA7;DR9W}Vh2{hk{e431`uL8AKNbS@`Gavsjb{i{Fo&6$)~c(baul(ML#m>t#k<` z)5IkZjG9SgCjMXUxZ%R^{+JaAa$1tHQ~v5l1W{(Nc!>wHSg$=@64b?kKWXCCW28JH7O>zP<_6HASfQtG9W zwprTBV6kU}H=kVh&k&<*6>sGVN&hUd!&Wi%QX-Y{&ryv+Y27cVWo$c{&S|$|H~qfe z&#nA*|2%OGk$hTQatA%Ih5Y$He0odrZ>8f9Aj|J zw>%;!#cqiRq^P~gL4WEIOT!ACxd}>RGaY9UFkzJklYukh)cSTNb6Yb+#4J%urizI| z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cIS*-g$QYKCU3lHbva?wwj`b@o?bxW~cTYpp8P0SW^T&D11T@85XN)JD3`n{eTE%UPIlo-6ROgPFR_~y-p&Awtp+CCBl+hCP3 zG~Sbb;Vm-uC#L?tZW1^~2ewb1oU=Ej!2awM!q{q?v%F5F>A1jbcZCbbC+TwYHkSi9-C^-bmeV1 z?-dh}Mx-eQ;!lk3kvX|5i5jB{Ahrc(?ygc|juG^BB5G(dIbGcbL4^IGk_cc(6eCYx zG-Ef>Lj0K1$(XE?YM~Ta*94G{ueRLA>jZ3 diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetCombinationView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetCombinationView.php deleted file mode 100644 index 33ea84b06221fd0910e845db9008bb640f9d0e39..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3114 zcmbVO&2HO95RRlcw%4)EY}`b4e!NwJ#6epMc95c=lN6*xD}*JHl_(c21Q3+8mI=rt zK~fIVz`gWRpod=i1UVvi1o%v>V=9}4h`niAL zgL|lgT^!gE?xD^r6dhpX2VUfLy#eYB_xEvty56Dh3~(SKRMt^lH<4P_%nylb=naD| zmQdgG`U70Fdts3;>FQ|nNio1&BqV26Kk$aWMHY4#;>aSf9mlmJ$8)VC2fq}VT>xDB z5Qo0q#i(K^H5}PJJF?pqW}+?k!gxtndz(+%jl{$@0NnwBMslx0Ey+EZ+9{39>=7&A zH9+LgA9e;#7ljeA-$nPG&~jWSa_oWg4GF|Ev~LeWOc2k@?hoBA^%+qG-RDBciKA+9`qD^U>`YNAW5T3jXuo&Xt2q)~>r+!<}D<5;-z`I;qB-9gA z5{iU`BGWGXI0N!chQMgS?rjovm0%bCxeQh&9l~X>(5g2LwWRH6YFW4h7r<<*zFXJ7 ztP2^q1i%YbE?2d>YHbSHvF|M*H}?HlxD2m>#j@HgH8jK2^g2zAUY78G6HP$eJn4QPrwmuUN^kFi+h*Wk3M%7Pxt8V+>#c-T|vht4W-1Hm$l` zQ^$_4Qv9)FVG&*j%Qd;NtC||ItJUO+DlEZuaO=$G7|=3Y12>vqwB&|roskm+cpK!C zE1f&N2Is)#s$S6r2q9Ri%Jp)yBpa&5_O8>tl3cA?rf$h48c|_|?tP`VEVHGk)}B^Y zb>RaV(57apBu%@*4T?#%gqt)yHC@rFswEqSkf*t&Cwj{iR^bf*n`Wa`GFuI`Y&Gke zVW_6C2Is+y(a=h&a0@Pid847%bY}WCH6xefsNA84Rl*HxM{m@GyJNv*?yoEVWb|<6i1Q>kR&mo&K2h1 zWAH}~Z1$(U9V9e|o?GOP#W1w{Nu{rIl?egkDuo|10I(u&Q7w{*83vNipv=ZRbivJV zawo}WiNMlU?LRUiPD%*9*u(?n?+mziVVb$u%JRtNB)e*S)A!CUhur2rNq*OPGA87= z#6tZh8%s<{Fqb;X-s3n^GR&pY6u-R!cKIzPknsJ-16YVdLKuCf&8J{%F+qy9?-cnv z(TN{8{#LB5CLR%iM2#O6e$9b97Y-1x1r`$>i_R*XR?71~<=k8OGw>gwyGd2!Bhz`0u$n(CJwN?GFfP`UsjFL=+O5wurClwcSl>okHKTQp7r>msy;*L0>?i$JL`X*_c qQ%WxtJjp(&u!cFM`clE903W7v*2jEa9L;r8Crc*C<&MEI0Pg@-XY>C6 diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetView.php deleted file mode 100644 index e369d6098024b85c9ba55d1a99f40239017767ad..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12321 zcmds7%WoUU88=0}_)(TtE6Jj0$7ba;QJRFR<)monxaqFAq8L$JmJc~f1T0qMN?MrW zvb#$=Zs5KTNs*vHdk9*zKp%$|Ii!bPddWFJ{)QfU=%H}X0(}5|T-tADcFA3eE0T_L zsC=-v^Z34*?>Y1P=EawqM@_hz$Y>4CRBf%6*uR&skF-S7G;E`4)D!!yg9FV>RE^`N zUf0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T z(h&7L>tq;{_&G}Had52XG)n9mkb*I)?ikROJVECt;BxRv$hnR|2d@HjP7@AbDFom1 z7zpBz`sB2j^f!rNTm#0J39UhZ+8Vv`PtsO)@88>lX(xzUt>a_WyyxJ7F9q{bV9UO-_1sGvA#Z0vO zt%JkF+sxS9hMBIT1@(>r42m)G=VNM6y*el}@vRYf0yiBjk+$E7i++g{?YhZ+i&+m+ z8S*)7oBECRFZb5%JZSClEVk(8-;dl^uK^eD_P_@tPh{vFKH%=%9_U`bpKQOneuljs T?>zMmd}mGvvT^s}KEVF~2}li* diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdLabel.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAdLabel.php deleted file mode 100644 index 475cebde4579031eb9afe6b532c640fdb2114d4e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1460 zcmbVMO>fgc5G8?Bus{#xQaGR`RBei=tqS$BAs}0!X~jn)RB=F-qK&QaV0BK z6r2rWDe`OpK|+TtaqKk+rF6nnMni^seg7@fG@_aYJ&PE4k(z}j`mntdye|>k2!#n% z3VTt{0DI9J1B;FkhF_Ks6CPrvsfNcIR|B4M&1u3v!=N2JqKRSvaXxpHr=jK|#irmO z4Owdw7nmk@EfcVq4lWz)n_a=4g8fu8nbIWaG8IamX(9WNN=VFfwPEv5YqM={HE4W< zTSbe6oa?cJwanS#~fYwJ{!{`E+irIq2?f$m6of%xXNx~ z>jj_9?L|>F<}R?MRdr?t-9V=eME;*9E6t+T0b)57#T=lRQ&H@}{SrUp74Zs|HGkL9 z@>!m&?4rA6>A-MswT5f0TfY0tYn*zUDA<@^GmA2=9MFRM7f=`7ULg1C4GZ(c!mOcL z-wSP@L)p9btyWths9|NX+OYNOwjQI0mv&*^`lc`n8X* zi^%~Yp=s<08M`q{t!b1d1FO8sbK2$iRp0B^d!F~B-t1XhallNRA~X@$ic@l3{VbCL zYd#C^W9?_|KPUC|0)h|#A*8}11ON%C5Qj^)>1P|2BAyn?o-6QD53q?v-V{v{`UC9a B?8^WE diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAsset.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAsset.php deleted file mode 100644 index 2bbf3c71a998225b0d6d8e9ea45973e488340b19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14321 zcmds8-E$jP6^}mrp(DqZH%@FTAyJjKNogw+rzx${1a_^ByjaqzE6J&;JBuQ%?VZS4 zvAb>>G670?;Hxk6p)(B3P#8X@4`mo;7+yL&GE@Epc<2KUObQGP!vN(0&b@bcwX!8k za+4XxeQ4y}d(XZ1+~4_~bMCqO+^1SwEjXLVYE8|o+FCtv<95Q{(h@Dxu#KA0NZi=j z*wD;G&Dd_~4b4m?5*ayBkjn`%Bb6V*u9mT5*0gkD(=aw0+CsH%EwG>D*UJ|!Etnc> zV&OY=(=>KkYSpqdJ4MF;XjZp1t5vOOiEL5GYj(9>wX5q{DsG*xTh34NYxTmVb;T8T z8KBlcNeRB5B~p1J6z)I*|7-2sXy~s?)rS5BT;r9*MzvvSC}3~f zjh$xA){SO@bdZ}h?fhd2CX=*%xMiSDt|Z*)6^WWqMe9=2*34$Lv7XVanyI&J!z^Oc zbb3>>J>`-o=O4RFM*niqZ<*H+DCfPIk%gXve}>@Mo(R#J zJKNSm%fKzWt(w})x^_z?dfBlUM!3_gYYHKi^1zisaHVM1;^M>=NQ)Fi|OFL`CI`MUl_N!la*=ld_VK6V*Jwrj|ryRg8@Ye+xhoEy$UBuVo0c zdnZZ(Rt$W0$v?sWC@~aEc>zsdTrkn&SmAN6;nwXD}>1wBOO;0uO*osE!bS|X9}xx8-#;HiUj?t@Om)v{bF z7x=uW5-PeTBfyZ%PQhGOmb2*VmK6Sa4&$gyp`=QsQbmk~gf|9rXU`sF!iNKKZ;irA zAH-EjN~9Va8|c_HjH;@Q9TrP5U@;;aG|2u@2p*+&EHincCyv61(V0d0>_gnV{!RPf zCIufaD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SPZoRqpTR3f@y2aG3)ty|ZKPu=lGVP8SdqiNY&eTSJI(NtDPqv&ShFI)`(AST9 z18ySCwk#QH#r=zC{_DP`Yg!e0mEdbXZJNBIAqfKT@1W(>>diF5a_9JnOw*yVW3 z>li;+c{=`o;x7(Z)r${b1Bg3kg$vb|zQC&WH=HjVn2(LmyW4~fT>Y|F$sdowg#UvP zE<=c$?VU=`%1GoM5uSXXANi19KL?L6S$MPFF*F?2N@4u5&>`jujJuz=u;@v6{Cz%1 zg(SiGIHtD@?im=Nv_q*TB0T2yO~C2i;}f3ZUIJ*}Sa9-7ejrZhxURtL-+LsCvKeqi zsgx=>vT*+f{awIpoxHOQ&cJ;O`wf&51!enPKMDy>- z#ry9j*dl6hqH{d_RDn82%$`XEakclN5IT7J-NOkvE|v{~->&Q)#ksPF$6e$&# zI*IhHd%QiU5vF`%TeJF`NJv`wy97cycd$zuZK_`RJv~r!$Jn|L?h9#`MTFyoUFJk7jAw n(j(pQ8oC+BIq#dQC)l@P?Qgh9ETPxBd__hZvUYdjF2Mf)I1mE) diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAssetSet.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAssetSet.php deleted file mode 100644 index 86b6b9071e895a809667c1f0f8141821fe58cad3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2012 zcmbVNO>fgc5G4r|x)rpF5QHAeHm%wefkQ#PY+8`rrcu;3iTZ_vEG);~xGP-S*y~DA zg(E+NV}Awb{sk^Q_r{eIyX&l5@&STKNoKt>Z)axT8?U|&jsh?TYuLk~NwE#vA0a)$ zFbI9>TfPh1ai@brX!*whadD_XxY2}-=02=$)c0puXynJCg%Nao-*Iu-w4-uja_eMy zr5xhKC1QJq6Z&yrm{EkO!M=((2LR7J#!+Be7}i?a4yLAUQd6%9NL{s~p2@Alg1GGx3r5tW>~Ee#2Jr|brb|AtQrBR|bR*0#27NoR zXHnvNkOwq93zwE)g2{d71D~~K4ay8#yj!eOdflTq^h{UZz>yV_fcjyJxgz9Xn)aAK zDJ@mRsT_@TU@1uvp@AINAPr-D{cs3FOykhI0_dht`mpu|MBgOXwKaTXo)AAo=&GnI zkWrzs*TbVkC!W0`y}DJ~PRrb6d?}@w@j@5Dw;VttiGscOn2|(s!*GfB-r$Xiql72< znIu+W)KXHCDU4)_h%I)&1Id7G7Q827s|>cd4f2CK`AINw(AaBL*Xx`0>c-TK`~ARy%qr?1iO z@i!sE^rLGIGA!9Dp5?$~-$cmQz+LHO@NrYfz)Wdedw!wb`l&tvr38&NTr!LGUtyPA z?gv8PjvQo#tiUJ??wGD z1XKq3$M12-V=Z@~<`BJ9Km0=@s#Y9P{}_i+`Ba()vAc}5zYSxyEgQzSKcA*8;7jdG z7A*WxO!C?y?S9`~NHuLGy<_e8M>VC;mDG}|>gi#Ks&?hu=Uj?rgtAh{%j`l;$Yq4O cQb(z<#dK~yP3HgAoF4h65RQpo7jyym1&x-j?f?J) diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAudienceView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAudienceView.php deleted file mode 100644 index 9380b49b4..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupAudienceView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -ø -?google/ads/googleads/v15/resources/ad_group_audience_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"à -AdGroupAudienceViewK - resource_name ( B4àAúA. -,googleads.googleapis.com/AdGroupAudienceView:|êAy -,googleads.googleapis.com/AdGroupAudienceViewIcustomers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}BŠ -&com.google.ads.googleads.v15.resourcesBAdGroupAudienceViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupBidModifier.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupBidModifier.php deleted file mode 100644 index 74cb77156755d6f7caea7200f545f42ac0fb14c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24992 zcmdr#NpM?Nat1+CLW2tkN+LvU@V8^jjWNm#I_^$t0C!Cdnl=b4$v}DV3^Ol1ZFHDzQ`9E0aW(L%RFD zzhLA4q;m;%kUrkhuixu_y}f=hy-F_Tx?dj2a!)O^LqZ-|A z@9gM}Xvx^GSE_m=7L6vd(M+}wO(s%>XR&M3Xg5mwQgqiacB}feV!3%ueA3s!^~Gxq zT{LN8ownOB+I4NaQr7m3a%HE25P2woT5(@*){7-Qy1JpR>#btB*eY(VGSsbjxhX&C z>)!Rnt(*zj(0TW(T3h? zH)=M3Cl;u!ek)k7Y^_xEYFX9yiU$>=v9x4Q$_6s1tGV3$d+|!V@*+qMduiDSj^(J81h<- zJ1g(NOuSy-5Z#d(^lAY+ClRo62d4W}g(o4nnaOV?ms2aLWFquTI0&aUGj}uD`V!~;;BUFvifg6P;e{AQ3oNQM*57w+_B;N+_FS|*Qge2yD_7&du>;*@g^`gPQ5~V zrF$Ro+-~#VUmfzV#^b*>ba|DxM+`SbOnlN8ZjTsEw)vsiV2d}9V+ZjT+Tuo^3@M`P z(h_!FTC(6QEg_(#C2q7m$_UNy0>DsSBk5Mzfi8Dw7Nig#$2>&MwE(A;0>M-pDrHITrqE8UODo_EW>~h6}|W z>D%?^z z7@S^?7m};l+=GxmJOQu~UrlO-R3V)V4TnQ8#=n=dnL;vC2#rw5@@Bq}UDwiaHJJ{L zsz30?0~ZG%dNP>dV?Vs*!VLA!?W^hUm#Xb%<)G4f?2#RQ%m;-i)X7QUKuYj;Att6zKoyjl7oz4SX`F`wc(5 z>_XkLeo!fSwVMtA65O8Ywg;o)mphf#vuX+j@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L!I27tNkR0?u+@L|*mpE%Wr8cdbX>WH?_gKU+O~X|S!Tu^lHK)l0Sq$r zJaz z0C_`}&*UfOR|jtjVLSC)NoA4WQ_2$x>u`Q=&;tlEN67s=m_wO8L1B_=GzfaDsKhRc zVTvLOtZj=hu=a@Kz%n7kJ(qz;8Wc%32Yc5{hN*HSn8K+jNFPT?sRrk74qiX8`9&bR zJBn-qzYk$C6O1XA9+H2K5nGw(;eNu;_*-#fHdsu+Xp{>xNG3A8?24ytN|`XqCN&+% z;iCtbqk^`-$U<0h1>1?EBepF^S^B~!@kdA7l53{b(7g76`H7n63Fg$Zx#VC@Y+-I5 zYVpMnoLlh;8QE5Wu(;(`7jC;_+j4<(8?hhXu{%}tSYAM)4_*>eC^glYUP)u>oV&-> zITrNW)|aVy1h=KN))AQ2k>yG*!@x)~olQ5wG{#uk7PS T!vBh(&pZFzP_%mjPXPWGUh7zH diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion.php deleted file mode 100644 index dbb654fdfa350eb453ef41bbe046f96f77de62e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 32823 zcmdsAS#Vp|c@7CuA`cgV&<0T(3^}%J#S}$}vQ2rz1ujWMAVCA5WF^YnK)@x52m}xS zl&xf(E@_)~rVn|^bf(kvA?@@bO*>tZwhx_2-r7k!edu(WrAeDUbXvRnmbUJ6+VB6* zxhnzQOWA!0{a}G-`OkmOf6l+3b6u9ypn&1Q46ZeA`|JD258`t{(- z{N=VOn{-fTY_^*_Eu+$|b({E;E4HxU%*W~9uh(MDtXDO2tNftWZ1?WUEAh-rH8t;4wQ5gu5gX>B zjTue!N%0pEG23^in2nw7&gE+Pq0!thUN_DAa(l$i$sRMIrB>Ce5V$?2)9T8*etHm`von6f8ndtjsW8(1o>dn>s?bYZ&Oo&4(`PEG7 zPIQneO6z)&{)ogT#OQ53vnu}_ij9kr((-zND~GA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Ap2g|=&wl~v3!sq9_fgM@A1)Y%TrA>^;W z?LxG!;q*622%-Ct7j!^WmPaJYGEe_mS*O-JhdxUq=q?EAM;xv40B zl5`8HlrBZ>lh5JyChp84d8HT_ON@8%g)QivWPP+zJ9y;E>~Nnu|{Q$6j= z9#j>f>DJzks&(he;tZ;Ey4wwHZi*JWqjeivt2b9s|G8SR-z)It)hPE*Q|RNua>FPb zdhU3=*#swLUgCNariAM)CIU6Xw`)U6J^CQw9*$7`ML;+6?6T<=hiHnn(!79$mA4-5 zUNVYOu7079itg0%bEPCMpf^J3U3bJ;X}$#ZX4n;Ff#nyn0FO_-l^bWiryZdsiMcib zaNIioNhx5dSwsO1R-V&RB2mBrTK$@vpDiw=p+F<1Mw1r&zJeBu*AB6Z-b@vAy56w1oKfq~mCC=$I(o!`$3g>U zm!N*N7h;MR*Quoc))?>yX!Xj#pWXOD5X3!n%gmM~J!9qhGVAJ3py3&?gdP+E=gpi= zl4zl6{nh(oHw{({$A+;G#_MtaPu*Xsv*b cGQpIQ?q`eV1HM4#+iu~i%>=pJ2|7XOKev#WH~;_u diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionLabel.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionLabel.php deleted file mode 100644 index 01797268dd7655de7fc3638b2014b5b4b277c5e2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1544 zcmbu9&rj4q6vyo%L?`jGh6Fj75eY0&yAp$kK{Tz%LKN8$;=wd&X4}~^N$E5*QxYZX znFD`?2M_)k9{npk^Cx)n&2-z6uwaaP+1K6oKJQ20`@VRUALi&G?y-zXs#%N&pRhh; zIF~|;NThgB42MkONF3!nWzxlXa}U4YJHT%?cMcvvs1k*Y7{Q4UNy@r3R^8Gx*753E zSF+MY!GB>QMUjV*{y}rN8G>xgILC=B%FIHpISRYo` zg8d4-j!=|RrLY(G4F7e7e`o0E1Y!8(#USMoR+?(~TI4F^8P}Yq{4=z@frm6z3`m!K zheZ}?C>EQ5y)0s#6W;HZE#GSH4LN3*~fwe5y#pD=ErVE)hfKiPKCJiy?!4_v}?6X69%!MSRX{v!- z6D>08|MI4Pdr#4YWaG3sS1z1McQS4twJ)## z+)c||waiCorD@wrorjUNptx2(N=H5{aJK3tX*p_{}!4lCBi>zp(U8^cT7GN=Xu{-3q7k*E+~^* zn#KZ+a;u9`KP#ueD%k}ovs%`O*?DWJL=XZHLTVl%03@U)4rXl8&z9@EdR*#5bH`UI MiFGXfMref4ANouX&;S4c diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionSimulation.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionSimulation.php deleted file mode 100644 index 98bb1bd63e5269678c4927997c270d5b46f20220..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7060 zcmds6Piz}m8P9mqr1_jC?xfv1Y0^yH(q<*F*)B!Gp&*arIA)u~a*{Z+AJdo?eBCh6>uH1Pk`zJ(pT-&#G+mt(l<748=y4`mSlek4$-rAS< z_7COSR^#wKZuRVetCOwp7pP z4@}L+$08F6U}=5gIhs!7dQ;gYzSh-ztzBo_+m)^tJkqBR-+S6_h1@p*bW`&@xzepu zA=OaEK_miRfsFs0LB}+7+4E7ZESTj9>>@LzC4=kOYRi+#E zEuCzW*)_O(ZRsd&G~Br@w5xyUC?vdE?kyf;tyPF$lxqu)lNdvF(T~B<)J>q{b{?l4Ptf`a-y9Y zwwt__A@Q~E7=hlEZZ}eM8@*^FIvG{;G5kw}YO4DXYtZ*fLqAdbcGoyIbmlZ_pZF(s zm-~)%k25Kv=M^I#ETRt<8I!`#1(1i{up8rpeuivnD5{{t>Npx{5wb^n2hCcwvE8U` z<))-8%pUE1u($vHy_~>b8r%D=-CTygY}K|aN6!y)B7HfiR-QNZ>bYs*vDjurZ!!hGwOq!{<#NQQTt-IaG9&8Dumipizng|{ z^wLrXJ6qiL{!52k(%63!KpMh#h#RTk!k+|KIREoxi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/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupCustomizer.php deleted file mode 100644 index c1ba31ff7c6065fbfa21d8e69f5415858ad3d656..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3243 zcmds3OK%%h6vksaBsW0aQ2{5Q_SUId7lknmDoEp|XvUscR*7vnPKuDF(Rk*1GSYZv zG>=H73S!X(OBRS9fLQTU!k_38WsO*{;y&hK#hxY+JF>8^bIqvyA z>zX!dXhzUrOR_q7^tj<8W)k2%)%4xSQ}rka-I?_r#-j%T;Ak@xc$$u2XCUvRP&2ep z8+Rz?STcfmNmfUX9*>6!W)lG2)`9>^Mu$MRQe^NFK>X)L6Wh{Z5NaX*x@QHdtQWFJ?EBtNdEnt2LDbobZG=X~8Y_O5B;E4DiP zuzuJ(7$~joURP;X-s0E6+lRepz5erFr9gftJxTr=?{MVDP}%Pv;U7i$uL7uHam112 z1to7TJ(ZGXQ24eLU&(ZB%`pYnHyb8$s5BBWc^1*nMQza=H|giET(KibzjL=cR5SvX ziolj+g+(Kf1O#V^!I;WwPFGY|V`_BH)tIX&VrNlIaYPXVi6S+ctk3{I2Y(j9Q!`Kf zG`9JQYGLSGlPE-L_`*Y1tm&%)_$bSult7Fy0*R%Dz=t{8mlSptlt#)oBV1JgR(gl~ zvNEg``87};47)9*QX<73D8rW08&%5k-&ZU4$2qb5Kg#`634D=TZY+hF>&(}iDmX6l z9p<-0CCqO#HfU&`)tHjjqfX-9!w_me7r>1yyHwr$6qE>+ss&i6zqfO6i4=v*eSt@L zdvfu$#PJ*8od9#!Fsc;(?aIqSTP$F1O=A)Qd zb&660@o1Hg!XJWLdOG;1X@{*ADMP=+ zPFQn0L_0;k4az6vm9CcYA?rJzVB?4_VHTA2ePjOVu(? z@jH8Amc#~0ZHU45u{jxFvuu+c`9}`i$6@B*A)!kkf3U!Tq#Hbom2mBDkb*bURnimU z2Yty{Fid9Yv*gv!X$z_0Id{K9J4{YzNDY(b@F1N5x7jS44W7AEFEwO#r{ENTe*uKp BVU7R* diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupExtensionSetting.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupExtensionSetting.php deleted file mode 100644 index 1c311da25a14a05ff731f0ac6ea8fd3953547d8a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2876 zcmds3UvJw~6rYp+JzY1?LZcKkE@9d-G#s{R5^^b(oj94*BsPf)5{hKG_DyOju`S!F z7*%=U0iO5}Jn~7bu7k8Sm_+*0`!VI7u@o>o`+Rbdm>jh^1oO-=9eYr<7n>uaXk*1G#V2sc6Ko4td& zdC*fER==wmhHCN~6xG)2GSj(AQF61XwKdsPt^9mbxB;6_bYjcOqPR{SYaJQ`ul&hD zh4k#KI7M|*gmdL!v^BUd>$B>Pg0W3{Gl)jD5%yV&X1yJHw4GmWbyoZx_WQ?Dxh2a# zm2S0I^NOTp#Z;scX2KEH0|t6ts-&utM3f~dwB!oC>kJ_Cm42%Hwghh$EG|KZ%?xeP?YPAuuDY&#{JXsTLVgGzrB+ERW^<5q zrbs%!R%CE6fNMBgj~1P&TP0%h+QYq93=1*mS2j@3pD1M#lduPC*_z*4VWC!8s1=yK z5Q;;6a^-uD6FTt5JiH;suH_|o5^t@dGReF4LcR|l6egXA*d&S?(GzS~Nqc*1nPvIe zrL(-y+4FSIeUiT8p3C2IuW=Q+GmVpAf}^;0l8Kh*o)U^Le8mu0R$B`D=44(ddXJ~d z2CQ2dLiwQtcm8z+WW0)%cM8ao&5r%F;G}f_aUtX`c5*3O46~8GU@`QvSKYI0?iVbF n9QeF+r^P0I!Gg$v*^;=MzeDb)@2UCYr|{*)fGO@2P67S_a6`xC diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupFeed.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupFeed.php deleted file mode 100644 index 062bdca414be4856cb91807baff7eaa72b24722a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 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b&|z>S+p-xayvufl40f(jg>7JCgVIwYGwpJetwTvW?E;*|*qWFB7QHMq$d z8QnwYpNu>bx&S>uWj|V2Hf<=xP|ElKR67c=P5WER$fmBS_J#h~GEi+DZaL($5pg{& zEM=i^nkSk4j~CXv?aK*DS)};xUlOo2DQ zQrO&v?Wv&RKJ`oLFoF9LK$^|8nrTQo!293h3^0vd4YsD7&evf3e0t~!67a!XXHTP& zdiTam&-0(bdKgmLps^!1_kR_C1Z&4%gLV+l@M^kjUwRwfigHwU`lE9)#+dY<1l+xJ zAo44LbYt4a@J^9~%6jEV$QOLz{|RTIJJq;ZsKg5V%Va|ecT@JFzM#Sv%iEG@B{`{Fzmsi!VZ+WCu1QtC@F zRqVeKjRj-%QE%jW_BnCf!t?MG%jgTlMf9wPTVYh_*6*Iv=+ZA~6_#1Cl`^oVg*4J1 zl5ih$BHoxV#axM-$eXafJP8nX<@yqdJ&3--Digew%y@BWhYy-B!v~d^LK6|bO5U%s mniW%PBEqoTyca#kec(SUj^6-j_|4vo2S`Tf)4hNf0RIQyI$FE{ diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupLabel.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupLabel.php deleted file mode 100644 index 8634a2881d039f5e9d812177c70b6b79bd6c21a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1425 zcmbVMO>Yx15G8?Bt$_nQ1rErBlBN>fsH!R?hql^PXj<`+2vr==N|CecY>c++mF=wr zQMhp7cW~sVaOR4{xj%suwm04l^h1bTGFs0(&y3%DPxsSF3Le59NeIW1gmCm8$_arf zXOaahhNEmeCL9LrB&9Lo4usu4eAPdO&$>s)4^*jO84n185o1wI+Bg*LJk-(Y)=ry~ zJVmIpVZ>RM4r4qbv19H4Ai*a@q&Oh3H}GB(i9;;0-!pK&8;W_Tqc>YS{%Z@@0U(I6 z5YP>K8uf(+1ycakFU>|V4WN)%s=qZVhBTp);+TF=Gw#AMjs;Nw=X1wd5=hDts0;c@ zKw29x$JDuNDN{Syg|@wcUXxmpf0RhV6CC?pA_7iR$@oB}A`}r>ELVSNZFJ178jX%& zD{m2@b3N`t$uqKeIfR_Zj3*_)tbp<_+FeTh14`o1BNKc|8Aqrbssy>L)GqqsDzk~r zJvyJ;4Z~v014Wcp(U~4}9sH<)C;!Qi)ka?EC_*^}wH!q)r=ZroyB0j91>tgnHNIED ztwoBgcEN31IMn2;S74>J;%)wPYrkB79Xu*8nMWxVj#5DT514(hYzbYzVGvpdp#kPv zSm^gJfWvE_E0t9QYDNh4nyGG@Y6$LMdc9%zVMW!VcV}+&uZ`{nnUL&+aM7OHa7e?M z(qkzcb!Mm0XCJ4gH6404!OGB{dCOoam#_D!3Yuyu^C!9Lb-X)^i!+)TRNg+%=T!AE zP9lf#s2!2Sn1Xc>wYIAarDLB_e5qdVx$f6$qi1ZxQD))fp^lVoIF`-gn@#eKxh%Mg wv6s?c&Z^BE0wD#0P=SY#0z{}l94(oqx7Q2KKhCvVYV1;#o5VbC24(>K24RNZcK`qY diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupSimulation.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdGroupSimulation.php deleted file mode 100644 index 36137dc89a9ede8299118f4db6ff81441468a290..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7110 zcmdrRO>f)C)s!4NesXMu&WG&S38SQmx7bQuw_Bj{W(!f4ZFOT=knJr{XhBfqSSCV| zT#|B;25!+)_tZnLJ@o6=dkge01U>ZJ)1Ct?dTB51rEg|Pik3*rE`r^nK3GG}oA>5@ zfAE9vIVTQ0l6HtiT-7JK)O{)WCq!~w+qX5_l)8iCW8zAh-FFO=xFt#2+LxO9hf;m3 zarh9AdiKE8NJZ+|cF!bbRrkt#Nmr-uyACj6Q9PqRFje2Mtr8;yV5xoL zIjTmaotC^ud{tL{wX?%;cB;A;Ea~dw_ulWcL!6rcnyGr8RMmGV>VpU~yaEaToI%$# zG|BUko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_jI@EnjlN(qS&xDybem1Ud??O$^nAEql9Z4~EKB~B%w zYK`$y`L*z-`YYi|#@^Qko^SWD8!x{Kmx`gEVcZ${B7y)hw>bOBE9wRKlVG;^c4$lZ z5Sq@JJP$AwF)KS`IOQ9VQ-%lS9Ly=D4tEA;0RI8*rXZyN diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdParameter.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdParameter.php deleted file mode 100644 index 31f4d9a9aa8c8b36686a7b6ff79a19f4aba903f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1498 zcmbVM&2G~`5GILQ#3E=3LJDx%ma0ufaa5sRwiINyG_4RcDiw#ylC`ln?n< z;UeM9OR1p8OaV}y0ihUv%9Q#HcYDrzrf5JFb-Ov3YX@>{YU|VLn!8_uts~?|R7z|I zy%G}*5r$8i^&{?Msi=al1ui`vbH!=Izd(ZiKUq-v@Hxh}Mv^VL!LBwoDcR4BWZ(tyXK!p&4@-z}A4Bwx$8F;WPknr>0$=qWe6SOlW?3ik+&~ZJlzb z4v*yQ!XEx(`5*mEs^pjn*%_9m$Ab}Er#U2eGA+W>+0gWp@*J{FwRaB z%~ls*^yNH2Ghj_N;(V>6MVRt$QrJI~IN;G(zYPpH}+# diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AdScheduleView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AdScheduleView.php deleted file mode 100644 index 918f4ffb8..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/AdScheduleView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -Ù -9google/ads/googleads/v15/resources/ad_schedule_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ì -AdScheduleViewF - resource_name ( B/àAúA) -\'googleads.googleapis.com/AdScheduleView:rêAo -\'googleads.googleapis.com/AdScheduleViewDcustomers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}B… -&com.google.ads.googleads.v15.resourcesBAdScheduleViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AgeRangeView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AgeRangeView.php deleted file mode 100644 index 438e07ae4..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/AgeRangeView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -Í -7google/ads/googleads/v15/resources/age_range_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ä - AgeRangeViewD - resource_name ( B-àAúA\' -%googleads.googleapis.com/AgeRangeView:nêAk -%googleads.googleapis.com/AgeRangeViewBcustomers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}Bƒ -&com.google.ads.googleads.v15.resourcesBAgeRangeViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php deleted file mode 100644 index f7be7a515e96996f5dd3ea2de9369ab132591708..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3104 zcmds3O>Y}T7-sD>r4yi*xwsL8sfk)gqH7h@%Z5mU;uRfr20{s1=)9QYAjk@_pRl3#!-4$Oyl{p~dLh7b0;-gln&nfLqi$KhEBK87{y zV~S$z!u9~hXBdVwhyy3^V7uSxU<#d}7ZMLs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BaVZP`Bb@ zpKq63(~z(-?%P^kmj(X$A(w9&#>d=+Cf_@aZJQ>{#A17=CDn;OOMuBYbJuF}-84C9 zJ695}y3U++J>$`JMx^T;)IGuzyaPTR1FP=;*A=xSNXOJR6RUFl7#%#`Xgh=S-^n94` z zNt|A99aQuKAW0oY)%Q6tH&r9#P({`2d%H7X5T#x$rBf)IjVJP6 rf0nW^K|3(L)^xl8#eKZa-hJCzzBd}%-AsR diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php deleted file mode 100644 index aeb3b845381df156f8f4498d2a3a9dc1a30d05a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3099 zcmds3O>g5w7{*Druv1{8T*y{XW<#}`m9~x+v=^6x?8FUGmn7=PR*NEeC-%f0tz%nb zrzliGh#MCU`~f76oVoE2_E&JFzW`MTF`kJX=fml)mJ>a+Z<_bxnfK#)-%mgH&wTI^ zY+x5t6k-eZMld|X(5GJLnVtiC!+sxAXnF&mIGD;1*4wbvK8AX|d3=YN2HudGSb?_Z z*$%EEE2s)FlFlDKs!}Xef+}(?>JiKEDLF^x$Oz65#g_3Lj|^dAxH$aUqtA_S_E}c@1Ur_7&(JyX=yFq@ ziJi~L2&r5sso3(OI;z1wL4*RJ;W?PFhDDz1G}s>h;1K#SQT0N$a51K5Z4G z;!SX)_PAL)DCCL-@V4G+s13btJZb8ug?#ZXu*Rh|?QaQ`+0;#NWquYK zCJ(ng2f4QFQM+nmmk(Gxtv+FCTo_)SmtFq*mt4M~s=wy88hrF*HgK{KBZ-Zk9AzhX z5i4~0aHgh{k7t)FUFOQdR8g3*q9lG4g*j3buGCxS06zhL=7DNw(F@16KrM?za&7Uy zljiH1;)V!N*#Ng^vz=17rsx2yAL;60?F&|Q)(!RMQRlJxlogzPc-lTWKGF2Tn)cVr z)qE=x#s8z;zXNcZS?||dC&jXGykwpd$D6O;Y?~j(_pqaHRf=qz7?3a!F!WCC>=UFic0GVROKJ(QoWM?i*o)Z znZqFT2ABrbi&$iZ9mgDc?VS|aO&enT?Ztc!=X+p@O8Tu!zD|3Hsy5bs&Vjot*I_&b zfwnW-OWDH{v*p2r6JB{cCNXytDc+Kk{kCLF9>xdii+BlUY|2FOGIzJZ*I&lAOcdjd Zc`v!39*9eDdbVZWj9gLZjlmdze*s8XKiB{O diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/Asset.php b/metadata/Google/Ads/GoogleAds/V15/Resources/Asset.php deleted file mode 100644 index c553e138c8485ee083e42c2c40bbd7f900c4e165..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 57791 zcmdsgdw5&Pb)WeX$)QAnpd?b1cE!bR*4nO3NtCo}bG^0!0wl2_0SEvo(UyAy5|<<_ z5P$(tS|y*8IF6GhO`50c#$Wnb&Em zNq^^@nTvZtfcH|n=~r|A&=T`FGk4CJInO!shBwuAYU=UnMZ03x3r)K?z42hWxnob) z>eXg-vs#|s*xTB&>(iUn-CC(^*Jq}u92cNu3xI#(xh>z&}i7r83wIXrLb!^YK2XEdNC7Qv73crp;@@I$WZP?iw*rJ z{k3-G`kkzS@|;qeWk8ya5;XONY8wC5_BP6;&FMz7(8T|qC^f87rPM4H%B3&BH$6YS zRVX)X^xWTeYp=4|ELAJh)FEBjv@bq2EikF=6SXSV;Q47YuM8~|wPv-RLDRXpZM*3#CY4-#>Ny^jpp~|!FUl0>=Jw6;`RQhT&vp+!Jzck(d-X~S zz&jmKcRDRvt>i4z++6E>TK&8AS}57&V$9wt+$&Y=Mf9w@eL!r~nJW`grspm5`jfY-=v~5>-iWxU(xjA&6n{(jI z%>mHd95>oH#uL1%ez{*gv)ygq^V}|#Dp(iWs^jZytNEa22gLQed)0W7`(~+Y9zAL7 z$nW*2lWpZbc%M*X$<%y$C1GWwsl|kK*}8r?^zXjzLU>YzJr&n4ThCk${re6z&s?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w8Mc zNp|<%T1~cz+MYew#%LC3O#4i4$}$hOhh?@s0k((^Q+uRrmSiI*7Ny?!J)XhtrZe~c zcE4c@F5^|QINeS)*hPp$@73(nbU1+wSrM6yYVO%E-SXw$NIYA1zkXp9V!tWI5cvPbf&J@NL?`3%j2^~hhf jCpsyt2ixD^KFYo&cE9;0u9#Nq^3^e&$mZRGTLAwCR(mtm diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupListingGroupFilter.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupListingGroupFilter.php deleted file mode 100644 index 423670466b3887779c22c4398947f40277769749..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8414 zcmds6&2QUQ5;rB;PDYNS@(`%%B4w2{alfQSX|RCOY*(}unTRT>@mCNCP$}tICQ6em zNx4n4>24P&P@p{&*wY^NvOs~Nw_XbLvVTDDdvCA#19s6K+Rl5AkCtu9Qe^c|=ioe% z^Ja!KzxjCcUVp>cap00tAr^6UpLCV>1I6DVisRb8-LXxj-QV6OuF|o09m6DUPEl6s zO0B-GlvlL%=WwfM_uURDDm~lonIx}wy*yvi)!wxmd6#e!FRyzZ@moFD?mI2h@O;DS z1;4fp(?{k^DuAW$63@{)M5#2?H;J!zbzg5*n1E)f>jg`?+Prq7c~=Oy3D7Z7h*F}0 zDpXFDi(%{AOb9##1^+qywrO+}&)0qY@3P^w49oBh-84QxE8J4Hb<-or@F?we-|F~= zZ7Fm^-Rh8~7ZlEu(q49KwAw92sN0~1L?bpe3%}6P&E^X6IGnH* ztFxn97BM-7<`}E&U*YmmXrQkst7Xoqj54!Zpp2rE&qH#fw$>;w zYqz!XN@_+y3&w$HWZ~FkM2}-xzO`7y&BbEKr&vTr#UdkW&oKqB!#4?N^oAu6 zrdzc0JAKc$cU!veyGFb36Aa=md4Eg{d@aF?N6ov;Se67wjWVRlX8$h1mGQ_&BSNdK zl<&QYh(L6(^|e$yTo+P_aD6>B8?IkV&8Z*9#)8dD<0*PN!1GxG?o0w6#2(Kaw$;Vd zZ(C#H=JQA(pei9{hE}T}9NQ?L*t)EOAkXS)xc2r$vT2O5;skbvVpXrgw9FAXFEhR4duE#bd}gYxKxP`@o_SVuCytTdrlXWrJD8>Le2{s1fIxVkzsmkF z2Y)zjz$LH4IkBZhM`>wEk(SP?x4tjU{#5!S+~BNn5+EicI2g#`EFym_*FQrNM{8n! zmyR)>FEO6a!=*8JVk(Lm-Ee}%1RxriTZhu+cOZ2*52t}SsD45R<*+OdHlV9BGJ$hKSliXDE(`o*p*kf= zD&>h{3^*^u1cO|bD3XQRlmrDsT@O zdXKOSo-9;O%72TqTb;@LM}qT>gXovjkPHuZXgXR(Mh1P&}nU`T9pkpy5%P`B!4Xgf4ZS@Sy@fwu*1dF0z%db1+ zJ(w4vN4G2%$mAcje}i(&=WwD7j#E=Y6%jY`U*K#<{9uM(EEtokBRCD|6%I?!d@I2P z@$g_!MVXbMfn7XIj)q~k4iV;yA|3GTD{wAQod;)>#slPENRSNZX_Q4#%kLiq`{a(G z62<^}NH(CSjl)hJtk^a}hz(JBPn@{}=F0*qnL4BnKa(%O0`E6krrstdZ>%vf;q$(0 zwoofyH!P1g$E!1Hasb8jN7yi^|A@hrW3T_h9#DPmxV9W!$EGO3feAz839tV`IXAinternalAddGeneratedFile( - ' -Þ -Ggoogle/ads/googleads/v15/resources/asset_group_product_group_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"· -AssetGroupProductGroupViewR - resource_name ( B;àAúA5 -3googleads.googleapis.com/AssetGroupProductGroupView@ - asset_group ( B+àAúA% -#googleads.googleapis.com/AssetGroupg - asset_group_listing_group_filter ( B=àAúA7 -5googleads.googleapis.com/AssetGroupListingGroupFilter:™êA• -3googleads.googleapis.com/AssetGroupProductGroupView^customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}B‘ -&com.google.ads.googleads.v15.resourcesBAssetGroupProductGroupViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupSignal.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AssetGroupSignal.php deleted file mode 100644 index b3344548f8b6a1cfd336fd912e845b64f2130415..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24528 zcmdr!TX17nQjukQ?3N$0JP(cMrQFFTlgdWp@z^toCzC|il5OqCk|W8U%*ND>EM3dm zk#$vicrq;6h2^nO#mD|ER8jD=MezX(#bX!v+x>$Id{IJ6i16pd6c zTyGW|m3qr)Y+}>pTx2S__WT|0m9SOzBG<$amzR6ScsJ5&v~_3akw`;twHq}X z!Mhf!oqp?Auk5T=^lC}f_X~#=qp`efPs&Cz2-IBc{!qLUFTPrl^Ny8D)-+d zW-J*GURM9z2MX>2+3TPIsNp_+Fn4VFKEEOdUpA_RS~+So%Gb+!jkkcgXX+JPfSxVH zbGyU;e`CnM7K{Dn(B(DW98ug7QSnJ%xH+OU+2(s@gB{*Jj{UToG{8 zuabbN&Qcdj0gPtSsbo44914xYNGh`uO9lPvKYJtFY-eBit7ZJZr`RtI!$af7OEPFq;}Ke#`^}YbGH!2t-zRajEJfF6L9(HRxVVYfU(%-W;U~pTXl%GYAU&r z%;OI~0mhR#t9CdPgo&+mJdxG1iS1F*S)?Ple$(t7NX9e&COmvFh9g5Ji#4DmLcAK1W!BSJ8hOQzRS z32kLPmQEvShe9(jxv`bXC#@pC`rqEDeR<$8u;K)0hVS{|H5Ymh*!*bFdL(xP`tKRU zz{Ji%xbL3AdKX%ws!zPJ6-(u$0KnZHOQv(E?f=Ugc`ps>_+(J`+kSY#g}NpEuu}AD zR38GwxjoZuA4bJ5cPedU)FcYxp%79mA5&9_JPK)4+VMp0UOuxaBs2==bYcZ{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9?u=s-{Sd$x-R#`Swi|pOSdu6#+vrOHR%a~E_9^QMYw=J`+sMfJo zQFZQpOlV6pRTQQpZW&`@Ep7#er>-knO|@jh;8t;L@rm9xxix+n@GZ01E}QM9TCrLU z%`jAxTj%G%w9(YcDtDh>0CPrDuj|D01~wyC5>_7I!y3vB>rijjxy>;$iThj1-#Ji3 zJuu1Eti)B;CM726D@N|ia+38uzi)dz(GPp29`r~fWqmksQR}_dmPt|Uli#27g{mz7 zlHaV77AvC0D$*rhp%yFR8j0RAfevZHBVCxZ;SLeH%onMuBq3!|1j|3KX>;DlEaZ*6=#U>sof9AlW8^cV!R+fe?v*@bHP2V}X6mp;bWAWXh!I%)= zGNJlyK9R@>FqOK@KcYAp5vEdUh<}{{8okAYBz)J|fG;M5pnSg4s1|o-fXgO#G?fK#Bi{cxwdGk&9mtcz`jslDp zc7$SsY5O3XHl&JL4CRdU3c`=_LmoUqN7;HQ-O9tEm)B=aR>nt3*1mHYr*`(!6)WbX z%}yxhCYy)fvR<4~&#B;L{z;W|;f#__1zA-;O^3G+=@2>`7Bk0HB1q*fzy$#R0tb*6 AyZ`_I diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AssetSet.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AssetSet.php deleted file mode 100644 index 36ae77517e306588e59c28fe90da47b6a04c500b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7156 zcmds6&2QVt6_3Q&v7Y=v(=no`PQoa`#zwc&#z8LfW_L-6mbEKOh9sxS)?JpCXq&Ap z5+t>4Ht?mV-g+v~a|`rPpy=Pwtk*#{Z8@e60r|u694s2iTxW}H;v;DlPmK$ol z(N>LewS5;^19#we?4o+;x`#cxV0D86dn8YvKYU#9ZAKCltRS#M6Myp*9-wa>+kt0w zY_+nZZ`+~OwL)vJLXq~gZV)|^r>74e?=?Bn20*8WXsSjKTXqO9LB$_$u-|h!Y7kl> z{=4r4rqg#q$Lcv>;L)C_2Uahzk@-CB!J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0^gOP z;Wo^PBWl{%8FwHFB6NLo2m?f-z#RhgV<>YHc|JDxFmhT3>RM;m3p8!m)DUD^sbqR` z6=&kf3q0ssZ?)n!_o!5I@yS@D>)?9|6sBqfxlwOS9}UJ#6bhLr%c5ANvQlG#sZ?Mp zFV1wqgApAZ@!}E%&K!XI6PA>FVE&|fR4?sT_9~^~;w@z!+&QW4S8H#oiwSm9s_MpT zx{_o!hoytsDZNP;Yk~iMO{U7a{w=v&=1x(mKU5L2h&n}O&4(8s=UXZZo2fgiKrdFMavu4F{z1lr<3vGhoy`#9fb`fW4^0v2LedU!2CmWidz zmlRkSVO}YL1)0-evnHK@iQJr_Ug|Ty^c=_vEXuXi6{TLK4>&&xvkm4fIl$6M4za-@ zR>8`R5Xu&q;nnFBugvmF2nMR2wz={S%nBEzZ_~QFPxo(7ojP*np$8`YZ=^2ul-9e_ z-~TlSuk0u!UJnIf{#=F)-0F+bE=Mq3jG1Dqp9Z%yG(IOm_K)U~k18~jkzS;A_666J zhkvwA3|xpKX`zAmCs^oEzHBa}L#Eg$PP|HH%iJ4NtQ03oJFUlq^065B!@#j N8hE0}>w`W3zX6Y#r?UV6 diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/AssetSetTypeView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/AssetSetTypeView.php deleted file mode 100644 index 8574aec999b8ff415d7a95e2f02e9b188336c527..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2198 zcmbtV-EQMV6ebDXrPDvxOGURrWeBTnss%@7wKwh-WG7B)Hnk($De5YcFkWciVtgL`rfr^PO+bIrGgq&%ch(WAGX5q7Wrc zhQ@I83TEdB#z~Y#ZWO@LbTUB+bfb&d4^SdN*w&$@TTp4M)~DDtji!l?C;wCSWN%53t@Ud711^wIYMJqUo%xj<>`xCnOp@(IeEv6DH&F6A6b z<8*Ek>-6B+&|sX00Js6>g%aU5QD$N0Q%nqA1BgHIbQJh5Ofx6Le~KFS( z#YFKspKJd`UL79=V;P-0mwuGo?Mf^0#aI43Z)rR(((GWxG>XVbqI=-)CGd2iR8Tm* zcv~j9LipX>Nx-TS3VjJ!UjlWi|5gKBSpy2Ds{d32tK~(01FQ@*v#+$&j;ge|_xKfX zf1th4^lvq;!moklzSLFhj)M29{1(`3pJ~#G+On1Qpe0$Vu5mSf8+>@87_DPTv+S0l zS&ET6yw86G9xw+(k$SdbT9T!3OFR$O*+y$%TKWlhkKYA5Z0%ULl%8ozTH7`-q0}?E z`}_m2!S*{nwR>!t+y`YM%aBf$9=FVIf;9&0=`E?p0iFY^Z0Q?aHn|l7BAX-y+dR`+ z+$#SB4EN-LscMR8+I>Uss6EAIZUwk&=z~7D#zXKiPFd9!A=deaV2k97tM!)i1__(y zNRH_%hIPhq@}Ct@$6aN9nTzgK-YnlAeP#X1%hp^BUKBW?Cq#+Y^iW7!32Q#FkA-xr z7g4Po(%+w}wXP)nTHWo^CL`e1BIG8qaFY>;gwi(*Fr;m$)Q4yz8dA_zwVu0*B6b$V zf=3iFktkBo=pGI5DfoQ}Joo-bx8&=&_Z>AWdhO09?1b2FPRJ{^NAqW#Kd7CDB>;2F zx9Y!CZ@wkcPx)i8#$Yz-*4q_WX)MbJe@L~zq$glMr^6*@&lBH(fG@aNzCg}k_^dDLf%1orBHx}d?jzs+KO7h+%7SWxiS#*JtwE3Euwm+Wbv#K;t@czx9 zXY!9#@c3U9%<7fOTjkJ65tx!+%&+pDm0WNi78XfH=jKK&I}!qThd>&#mhrvv9&uV2+!C836wPl84Tf diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/Audience.php b/metadata/Google/Ads/GoogleAds/V15/Resources/Audience.php deleted file mode 100644 index a2d6aa68a9a65a573f23f26f9dd6fdef50e6b1ef..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6953 zcmds6OK%(36*fsdk6zSBwrHV<##EZfNJG*}{G#Hz9BD+cktmjuoFEl47;&zs0VobJ zGc@7`Mi<=_=qB6liY~fn)3i;SZ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DY&RS&U%{8OyAxM3H|#R z^xX$Ko^Qc?UqlnB;!>2{y&)Z_dT{%Nr2i07GIE8#cBI!}LPUl1`{>x}155uR0dswO z|D&K)_F#s^KD)aTjDMcc-ws!-s0cLv*+n0j#G$b;6agCcDKW@HOpzj;M`x*BWYH-{ z2k5)7h*56h?b$Lca_-b!vvp?IL@wWm6mLr~Z*_P(;NO9{THEuTbHfy)5|PYrMdEHU zzCL60CcoP-N0rl+9F;5m8FrGVtZ4wFEmLp$2o@+~pH`JsxWZ_piHsVKr0S0Qh~+PV zbQP93(g0OD56ON7D@#3gqFsQ%nSm*+1JZ)&_hC6)lQd?A8mSA9Cgou?=@MKXs!Qc- zgU0E?Qy^*d*^b@^SJ5k@Y^Tjivw5;Z)kVMd%!39V1RMO195t*I!$u98tX+H(7Zf40 z22S-fzRGbzh7Fu5m^OTtfVcT6hP0`C+8~`=43k8!8Z}4y5IPqzHb-JN!W{^-$frvY zw+tL6>E(j9i=&}9oh()Lz5NIHBcc8EV)u##X*B*iX}SOJ5z)UU;6|v?!Y0E?nzIbK zT?8!4&odiXel7=E7MGo@*|M{zbhK)mh}kOlu;r`rh)5tMxJ;- zz#AM1#l4KWdZu@a~s(B!$Q#Y8v$Z!oLxPltDrnW(DHYX%P`8uL#YYGnq9viE?l32t#QdOT)GvXH8MeabGU! zzBUe{%&)Y6$KW+ob@)-G8+uwW_mTY>9*NUwCgp`edP*#rDgRc_b;9pldUqNW-*tH?wVHhE&dkl{O{sWFw5*Yvh diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/BatchJob.php b/metadata/Google/Ads/GoogleAds/V15/Resources/BatchJob.php deleted file mode 100644 index e2c966067d36492c1ab13d97f9f12854b0a4ac19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2534 zcmb7G&2HO95RN3vKjS(Pn53o^G+ir(BNr*vxbTIp+lrB_C_!bxvD2auKv3jL-j*U+ zav7uzeD8Dg*f;1auAG^3= zIZ-27^3{undyNn$kf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$M!BFI`3=8unu+!gjwhP7~N`MHdc!Zh7q zc8clHDo!Sr06Eij@QU@(u1?=@`p~s(gp-#8^pfB|gN$hmM~2;Z{9G3OWaO<^(rvi4 z5CP?hI3K{~qU+nwt+SAqCVu|4MCUHD&zKs_-0R{GiI>v%iT{hxx{2>ecZdloJ&TqI z&eQ1iIfJz6vk+xxVI4j%P)YtV30vnf_o&Bw`PO-j6OHmmVbZbAmn8AApPhIWk@*P? zpF`%`(cAcW#MKuN`dIK~a;wT%`T|lP3r58LZv2q@Fno|sAC3#3u1qkLJB3q#{{UG8 BjDP?D diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/BiddingStrategy.php b/metadata/Google/Ads/GoogleAds/V15/Resources/BiddingStrategy.php deleted file mode 100644 index c84a72231f9c3a553da328eeeffd2301a3a517e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6792 zcmds6&u`n-9k(RgvA=d~nU-VOX;MbXTBl3p)?0^7ZkCZUEep1OK$4xM@J3M7vrJ4P zS&}lA71?npFkq)$2JEyQ2JE=|t~+G^M9)D_MYqGS4g0?LNLrRjTUmEmbBIa4@B4gz zzxR1hA3m{9ZMZL%h)EpHBOS5*T=Y(fXgii?=~ho{4^B>qBkES)HhRR#i{egAtkznh zvQuu|!>O({aCA}-yO!1Mkxi}RZt_R^boTxSn-1Y3?q=KQbPThrx*pZleV%7p08Fh< zTwBwLSgOkv;%Obt(~e6F@L1}&{v&-ldjEstMgX`Cp!YP_6=e?G^l{-65b>WqX!i_V zbUn?(KMxF7HB7@Zw4U)Zbo8-!qV-&Y7?)*F2Bz*AmMPK+HB%=W4@HhiWgplU2IjFC zSXigA!Z;n5O^-OH);r!IuI?DNXE}8gEfl)M3nNUwY&_g%S}B@wB5rUK3x!KIJ{CP^ zK!%lzqC>oaW1a)N2%(On!e<*{zzT(Pf6nK}&Du3cuOpLF?aZ*8=&39c?|$F#{gyhN z(9K<}mW|Ld>ge0>mlQmSEfZo6`tGKuIT$S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1bhQ`0r2wc1sZnONr6@mGkjtRZV-$$F=ng`HGZQ_QYSZp-n~OWeU^lJOQx;7%xnUg(liXpu6z_EEZF z(9PH;E^#S>%OdUihGHszl1{3>mp&6-j*XEYI74iPmES~UR}J$mx#Z7~sDb Cw(zMvnjzu5T>SWTtwHjCvnCL*Ucaw4cX|~qpiG8Baej_~-T8wq=kY)I9~~rCPCCE2oq43M>^Gjf470so1KN_KRsrPQkpGO5c!|U}3jV z+b!+yBhsw)cLK5~mI2Rcl(l!qS@B|OB);1n?6&LLy3%d>(BLgUHU z=D)utrE;P0TXLh!b)=wrlxWCCs3V1CCwL(Ynp|lkQsY`{a-)l6HgZ)}bXL_EM^zC> zRk>07CMWnA{35|%@6#COL#szy;h9ITdAv199iht+dazj8ConI*-*A$1AmN$fDdLgt z)elN1rGvDj{dv73S`tD29|!Y$3O?`tt2#b=hqR}k^{5jD zE!{BOz7u9-&i_-+|6|BarQaAh79zij#0a0lJ68d*|8?9<3Q-py7pLbxhqqYsFlJ3qrFKS%~WW z1~Smr;P%jNP>@JL%fQx2Fsl{~V4l?#AJ2lsHoXcfW1H4~Ov3%w_V`#w+REr< z&|uF+?C?(`J);KRvct!?+wn+r`azGL(CH7vi}{6U~4Mc3bq bpL?G~&(`4^lU<#bG2wyB4I{gAI0yI#u&FU! diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CallView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CallView.php deleted file mode 100644 index dc64eedab6ead2a895952296e5a5df0c8e7a9fd0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3261 zcmds3-EZ4e6er2nwWl46JchC$+S_c}QVATbs4p%B>?BR2rAgGUX(N*5*f;4Fu5J0F zP^P}~%AWv_Ncr`qB+6K~5yeC>12@0@$Szx>)e_TT|(VF&w0 zh%GccL*X$-p6`aP>Dp)*jYil{XS(?lraud zpRzC2wN0*-p^*`)3KJFOEgQE`=tuana)f*wM!quvI8UJl)BNU$-m`8oC(S`#Z4~oT5tce?x6$sl^uF3^77Ny5VBp%KkXW%zif-P+Nc z-G;u~)7qV;zTZ^$>N_-yf6o@i+ll`7BW8aTU~8P!w=pkILDo-QVq)E74V<;ED3~#X zHry9!bHo6c_x8Csk7p0=O(k9vT!6XV_WnMP=@QKEHS5jx5q&FY|I8M}@>H$wM@WBJ zfOQeGDP@>BilvH>nbN;fnesc9clrONR(U14hDT~6HqZ27JkUh$mG56-NURj3%Fj1N zt6;l<^bOoj$U56NN;#CPE@*3is)g6;16UO>mqrWivNG-IHI}X%0l{6C`qUNf-dIyEPJm7SxB{m~z|K{M)m77A6q=ClA41-B}(o>P6^v>_N z8l;$;=_y$e;^97JMc7OB>{rPKkg+DDj2HPw!rvLILduw|3y;%9@iVdTP8L%ZW@1iR NjX9&>JBM?C{{Vd5PfGv* diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/Campaign.php b/metadata/Google/Ads/GoogleAds/V15/Resources/Campaign.php deleted file mode 100644 index 7b17982202247fa675ba94d653d0225764467868..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 36536 zcmdsgTWllQdFDve_2|;hU7@Iw znrn)rNvb_^Fj;5!B|+dMfU}!qF9?ueAF{v(*dPcNi(M?R2ok^u@(>^|d5QD3JDWuk z=YrkI2HEfbPgSvsEV7F2yjb(lBc98D?&tjf_h0IBUuZpTiINvny4FeZ_%hjj zY9(9kX17^w)|1B9msS#6%TYIUo1(WsnTomQo4C3g$@zSXUqRJxTXyG-bb zcG9u`q`wZ|{?wDAL+F7J)q17VNv3Rq;>Sf2|FtfT>$PgK)2(#zzgKDlgc!NfetG`d#1 zQK>&kTb*jV*6KFf1r*)hKC`;+lv2vQ*B@}JM6Gt3yeGT3y*<#!hskdH!tyqrOt!7= zMZ3`>@PSL}NzlBtYVJ&JZ}-O2t3RyPPR**H=+@K9vs$wqT$N|yty^gYX0v^^b!IjAU^wTeRqF&CCm#0${`XfWW4oI6?YsZ@S*aYDn3?ExX_1_8?x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sn_0GneLd>Br~444=4(h;}rRp2^e5dkL0b4x?=_gbZI_t|8l|u zZtM;V4_I_8gugp!7a9^F&@K4kK_^b&Ya(g?_wi)6ePO-+z)hgdTB~kv czf$XfO-2x@N*#f1Pm&M0pe*-+_&|vN53Hp`Qvd(} diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignAsset.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignAsset.php deleted file mode 100644 index 4cceb8ecb1ece9e28411f8bb344c4de43b13eef5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14351 zcmds8-H#hr6_3~64x9I0O1h=3mpDzKP7^v~PrSq09(O$6blXM4#Gc(9 z#cLbSY}zGCq0k4u`a&NnA&@8tf%;H{kPt5w4?G~1KLH+i-~pw8KnQ`#1Dt#Bj6KfU zvAszow0&s2Gxwf*@43J8J0JJXbDwE$H{on7Yt)UFZX4Cu^}U$AZN!?bhTW(%YO(9P zo0~=}R%z@s&6?3l#9|paR*==0n32>+u&dSBZB>j^Y^%}Osu|0A)mmmh$*-H|FD|zX z*2G$_=sQi_+^TE3Wf^vYjsZ~DcMPkkSBzM;DC7-Wuj;nGk)`4`_^RdnB)`_qU))e! zahCupHIx)fJ7Rev6>dQc|7-4EubGvYW$QNn^QdWQX5F++y=Hz97kN3hsn;w6CG2mz zxm&N;W}_Y>9prk&Sb99hWRkXzHXEpv%Q1I;MWQFv(S}sFjaFT+ZDb6q(lVQNqgBMF zsnnKXx3x>2EIodSj!LANo3SM}#Z+qF952W0)~?|lJQiyi_HL`*5pcULYNMC(n&!q; z)2LMiV_UyzHd?7vXHgv?{kpoE?%j)O;;Ad9vu?gxZ7=gGB4w#PGqTXf;9q`twl74C z`tFXk+-%^M?P)FJrfIyQ5xwkM3?$rX)-{2cO0?0HKy)Q&*ZB8*aH2@NE3|isb{0`= z{3|}-_P^q0Ayh7uieg&2Dv6o!5iSIi<-%$~zE%kPxD&uB;+iC0)1-n{ROGB8mP+9< z?kG&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/GoogleAds/V15/Resources/CampaignAudienceView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignAudienceView.php deleted file mode 100644 index dd7619157..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignAudienceView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -ý -?google/ads/googleads/v15/resources/campaign_audience_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"ä -CampaignAudienceViewL - resource_name ( B5àAúA/ --googleads.googleapis.com/CampaignAudienceView:~êA{ --googleads.googleapis.com/CampaignAudienceViewJcustomers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}B‹ -&com.google.ads.googleads.v15.resourcesBCampaignAudienceViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignBidModifier.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignBidModifier.php deleted file mode 100644 index ce5c29e42b7031d876b7b4e627cabbeacc9f6633..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23817 zcmdr!TX17nQjukQ#w|at<#}j4FXbjAlS(3cJoZfD$t2O0WLrD3#V;A__{eud8QB>^%7QzPw3B|iuV7}qS9hw2k-Gw@7x#=-qgXPctDD-o(Jq#Y?c)7a#(Fk>D72vPjk=xo=jrD&^NY~!Ejt1Z1+uePhjTJ=Y8 z#)t%@SF~sHN17o}uZ8tlHyYpzYX|y}d zx`W`cjp}~CC2UmfMO$8W=HtK*f?BB>wX$aH7Wb=Wvp*=W#H(*s<-FtNvOUceWScAY z$Y`Q3!uNu3V<5j6_0C>v4!NS-DYfFR!XY@ZwQ+kRdv`+#gaJk~sXM96 zRpo^Jy`Y@5zpp7{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a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignConversionGoal.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignConversionGoal.php deleted file mode 100644 index 8ef5aa5435b715a791cfb923595d1cae081dc2e9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3063 zcmds3OK;mo5UwOY*RjnoPO7?X$|yl%1FZzNNDI()13uO?VTq(A(nbpb1VycA0x~I( zlz}vG4@D0JivEeBr`-BC(m&C&FFp2g>h4mc1Y2sH9_xd>Ue0_oJNwPI^ZB#E=>RA#0{b_3Ei;Ib%wnjia0ks8~A+`RXI-9IZZb?D68fJ>>7u|$VEKo zg`w9+HK!Zb(j{4)?>wzVC^d;|u5&hUd@r!wFgQn1?1zEvg-*XpqX7^&XDA*xF5(nJ zY@o#HI*HR(C~#Zo#-k-!9q&ACH#6W}0NlP4$DA|@Am#W9h6gVIhkpjcPTzOAIB^pE z=aC=Ve&8p*)Azr|=icLbPCrH%>bh-j7`O>emLm>&;G(T$_LErIvO zY!E1hG=hLQMCD}(lxG>R>tMywS_YKVeHF^gTkHy0w6sG_Khc;1`A3HPf>k$}BD)Hf z4MBnSu?kO^5_=0Q8CFv|5L%F#V*yxbsfuP9%slxbWBb4{_O=gK@ z!I}saRkNi7C>`pS$t;t-mL;~NrYb_)5LB4~>>aRf9OxRve)YOthZt>zy$x2?hM_l2 zD5qPu*bTs7--c?^4SQd2HkehiE9&~8Ef|KbYGwm!CbLG|oAAhjEz>@-bQ3b`B(wre zTUMJ;GF4q`F$~$md5OBE$+lEir9*MaayX$ zY!HKVqb1ZKbC)0fWJ!MQ*V~q(%dHdCX9T~4{q2l zKNrBpxOh5sCBZ8{6aaJe!|U7Q1d8~=A#M*$Ek)OrIQZ{3c$Nt5B>*oYS|cT*A(4 zA6u`{rRtcD*B_#pA6W}5q&-}oqha99!;Bkv0zTbj8L-sxyIrT#N9B18yu^QBxD>uC zym=Xq++m!AXLz8iy~vif-@VA^z45upI7Y0pK@eMgga1p*h?nW4cp?5+1dsn!=rbO~ z;=9u?H*5975zXIN>hlP@`6`qAkyuZW{AM<@#r>lZls2(-37P+;2)A9>RbQ- diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignCriterion.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignCriterion.php deleted file mode 100644 index 92de2023a73e910de499e5d64139319998a00243..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28198 zcmdr#S#V?7RpYJOKHi??UexYQ{dzLflgY?#w>^__XBIu_*;ZP%Jd)f!PCE4>OV75_ zvZT`Do+eD#Ayh$Ceo|CX@ROqWfIzV%z+dtQ6(~L^sJe57E8t$-rH{J=Tq-uv{P z7Qg2XU!ITYr@Nec?mhRO{a%0UjoLvCZbsJZie1k)?P6s2Nu+sTM{4zIvs$Q@BfG7= zJ-Z$$R1a&VvR#ixB8hZlGo6c=iDd2uc5PH!^@6<;*{@dj%l3S}*q9fe^mTN5dA@Fo zCXM+*{;-xW?N_Wqz0|bprD`S0;{a6hhjycuFW8Z_En~xO=8O4e{^1&fd>AV>AO|zO6#yOk9(rnDm1O;lbUUn?IXJ^wn^xk=orPF6?OJl6!%z^JL*3@0Oybp z)H#QJQ`FT&ka`)k&hpSSjBjsdx6F8QHEAZaXF}s}c6;;QX8OUVHV^_hlQQp{soUCF z=X+5bb-wRtW6t-I2F~}gHg5du0O)vLB#Qm8HO_aUguk2Bt$|O(ZtYG+u?f{QoZv4z0yvzcF}ijn7aNPfk>P(ifhgC@oCm8>+!WK4q?B z#^>xIH+p|i7hP9Yu=C1_17~Fg0j;cXqun!%;2rqcVR(JNA1`3s<{#U;wfw$q6{?jY z9>!|Ls@9PGREh!V{G|c7{6N5nD-dY`fpF1(asV#&srMoKSs2>Rq_n}%1dPUGIdd(Y z+0lkVQvh4BHPgx^b173B4rwsKzvJo6oVl6PMyMpdoz0~;tW?Y}Q`#Bh2f=p1l|G1` zj?M7RA$a5IHUsj_fV-g%z1I*S@NURJxaS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y0_=o|{Jyp1mOSoE%C0I?cnvO^bx3($F z7Px&OjCcsH8`-nTn{2g6N%|?~FU69;{d_F$&xIkHV1+%t)e==#@AB$;?dhG<*4z$} zPf=`x@(FpUt7Ux1`lFBY55cL!{pEEmDnj{(!nyKY;c7WQU`azk*m#*P$F_OOht*85 z#3G$wvBkHEJsD%iJm17u{ZRmSaiICPNGTJlHx_x2_JrrGP#EQkLjgx`@>SXyl4pI% xa4<+m>a+Ci&uI?a@Lagtp?xN&KXAjeMcm_);C(jHX5(k>>`M)q-6=Q);9o+1WM}{Y diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignDraft.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignDraft.php deleted file mode 100644 index 700e5281744eab67595d7db424ce40ffd5c72c9c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2314 zcmbVNO>f&q5RD|uvDdNUut1~ukZzQ~k%5##S_B2?x&>){Sa2-~wvz&Z0G6Uw^a9k9 z<&r^LL+z!9{)QfV?4ds-|Dd;=ee9u!oVp)e%1Wpvtq#&^=gpg)**CMFe;J;K;6Cgi zf+8nIV>tRA#^(rzQ4j}i;KNZenV<-|!8F7^igXB@ec0=t!B(?-c8|HzAcb9XNqX(xCnLz)-j5mu@gJPj-VTw zW124c>e=Hb!xKff2Y~B4l){6Qw#iw+1%T`mCLf_`3v*r4m6TnZ79xn-?ab zQYG45>8mqQ>6yHACNEw1)_yI3+Y35472YjIT>A-pkYmzrf{mxW(?RQ?+wQiSTi3J= zaQ$iTsMr6xw^h(?fVII%f6zZ=rXn|;w2u4F*q@TN3D%kExPR8|b+*bWlKo}I6-@&b zX>8eTv-=g>TebcwfEsI{^x(^Ku&Ozy6#5zzo*$(7dx7r|PY)um;UOYANVQvtX-@Zv z^6ZK4--@MAYO@r2-5^_g!f}(SJh$x-8bDt6?x_!^n6H zgAo~q0F73~0Y3$Qu7S_I|2H4Bnsm&mS~gg=KT_l&ZcMn~?NO?DDWB~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{Wid90qDu4x8}?E!kFcI z;gj?ucP4+&z0GCl&LoQcF%F~3Nh(@y|1^6oW%*1!Qe66wBDn8PW~HK6d0JhARVzhQ ze=5MEf89qZx1#F%d4x$P$bM3DQoaAUl`0X($ox17c?q#}sayC>3JS#kE ivbB@5r7~c;sUByqktfNkYWDiceSa}vf;)v%fPVmeHOj64 diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignFeed.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignFeed.php deleted file mode 100644 index 3338f18e1311266bf02816c8be97fc21e65c570c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5682 zcmds5&2JmW6*ozJK7Fm$vdt)oy`hs>1{xAp;WnVEIJ@MM+L~V_mnxhRS**w*wJ5pE z>@JO_h6@zwq3FHnp|>7;Y5xu%d+9Z21NE&akX-U+_Jb6~6)E&)9i-LFd%rjH-kaZ> zH$QtaJRib+p-4<(>n`aCXI~5MIT41o`(y!-_9%pRgi8z_IJ{amo&(ykvbkfWOfT<6NGt}Ee zDAuGharKVw>a8L}Yl$7l|D<21j~=(`0ooBjyRSQrkn>Rs2nsJiz@OphtZ%dh$JJf@ z^P%BrhH1El-Zy@WTRaxJdfy=ka9OrHGTW|UnF3X)nr(9MQ1CFR?1w`OU2-f0%d1f@ zp@&+E=@Q%2`>i~2+O{!tExU%I*=&!vp>OHP!NVhFm7*D4;lNvBHhXD}$AW8*$fR*W zu!%de%`w2s5UMrHcSEC9Fi5{6k#qgIVcFU2cvEALDAmBxv$dEfKKab>_bqlh;Wi7H zCkNrm=tdvFn`L+$nIOa*4V=udk2!E|^*hAY+^>hk%Mbpprgco4ZK(=C?!QyWi1?Ep_o*$+Elq!D%4Qx z&79h-%XzI)QED|=<<_WBS#C7MqRg%H>#$s_D><11ehb!X^=i4wY;5qmuqEcTT(hB8 z%gPsWo!jJZ!EXLpMJy{hP0ly{)ok%RYzM=Il2SZTx$Vg@4}#mFh=JTm6*tRq{2jO% z4Ao_^q{$5xx5VvE>Z^6}6ovUoeY)oocawTG(EoW=;`Zo%lrr7gE$K}RQb-+s56Rg8%r^SR`$5WnaHjB#HY>1Q1B2YHVgw9sj0)GsDSOR|o zQ7g<0bhmwOm_04v9j$HQk@}5$og?s<7~CuSKn0(_avn^099($!3XwS{gM-b2jQNYF zqpT@;JRLOV@+s!5hN&pyA=v|NEYgrwDz+qjw^;avE0*?lq{2TEbNP?fM6GX_zt(6? z7&!~_-?lM5%;E+1fPNN-Y>yw<81owFy6s z%m6HG1IxV3;eO=rd5SZNo~O9~|K?WepK;)({m;J#J7F<#TpNo^a#@HSte@QYV=Tt^ zU@b_{t$AKaGkCMZe-7KW z(L0|&NL&v=;(;62RnHZv-><@IU_k{At1Ysv85&8(&?g&*pDwz}G}c)L;A5WL;5E3- zs9bl^`DY`S1TH`iQ0(J{u_>jB0m|3_E;|gcMVZ3vBoo(Mc5qD?qv~+SCSQ$+`CmKus6%UXn2){&+wdzR_U?1 z3%gT6#d+$N#7PY2C4e>7)M`dY+5_JE9%q2j+1Fra%ISOwb_dhUcIjyQ@eHn%SItZB!aHG(>UM85AmcM8{Wk{puWSlD zCXjAT?=h$;vd^s7ZVNo%Bkxbp7~CsHH3m6G@UP;&L_}xcNxhEW_i!Rw15YaK4c@H5 zPrO~s=nbxXG2v7G?k{)5q2B(yW}7ARrOW1Awb?!TzF+Aw`q0R9>5GGQ=07=jrEve9 zV5=w)EYh1w{d)*y}5skhLv2^IUEhor=}Vj^q2 z7Q2f^>$p8~Tx&pVC-WlsL@s?9J{eL2bS`*7#JS(S=;9!il2&1vQLeNB>slZqeG`X| zF)yOG6XcmA?FIp)b^@At>V+Hiulf2A;vR)x0onNP2QywF>cPY2tKg9#f^R~>*YS^w mjJhHyClm}==Rx=?_apChar_EMGr(xic!y+yp4>}#3Gf4etX<&% diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignGroup.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignGroup.php deleted file mode 100644 index 6602febef41788a62dc01dfc66f8fcba07767791..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1892 zcmbVNOK;Oa5GGDr#Fo-390)y>B~)!Hfun*dqzwhxZ5lUiTZfS=J zT@?Vs)+vQMF>Rf*f^z`brYUMw}eG>ba~a+c1f*&FjQ!q&1uX`;KmFyO9`WbP3ghok?NT#_a zmCp7Om3Z=!#Ca>GnWnkNlu}M3>Pnt*V+D>DyQQKX*QJ4oePn!G9)|=*1jxTCW zMSab7B)&MT9kfo_BCmeWffDP6IErZjsl|*lg;?6Tw>xn%mTT*dCA+>=v9KfBA?Y2D z(2Q0RxmLyRCn;Z7l+V&iT{Mc!+Cz>^Zm~v@dGhok0cfI?#(GIKlO{k{QYmsph&dya z@*u>B5E7v7oCxq4_%;ikTmRSWg;M00QMGhREI&xdJyPj$^>(_kd?PI^-yZ`cZqZih ziv$)X3SX#!g#^>#lct!1x$-SlzEoy^C}pq~agE7}RbFQITbZO;1QIcedFGo}^Os7# za2w1Bx*1Macn9VpxfW;H`p(n+KgdI#U>}J!>pQZp6!WhGMMg*icYu9bIZwm6oj;8TwYV!LgM#kJ0zz8=4LjZmP<{5z< diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignLabel.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignLabel.php deleted file mode 100644 index e3c8af66c043d431ea1f7bb4a75ec437637fcb89..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1431 zcmbW1&2AGh5XVU%Rcq8sPK5(+a7YA<`6#E12oJ*DBlza%81C&J9xv-q$qNw^1XIpaMtqz|zch_?y0PgC zQo2Y##-kk5H0v`wAk4FO0FdDkkvWbD?DoRfMBxN09Ca-&3KBUrjrDG0GkWWATL8oi zO9@|0v9Amji~-cYycjSVL#eRRe`{3sX+{;rjDFNbZo?sFl4!zZ-(iu(it-GafTJuX z?G7xN#&<2}x+&Yx<<~QP(mjd}Gety(S+q-JENHH{=xJAkQlhHvnlJ6nmc7-`=n%Hc z6cM_V<2F>HAm=ZKP!Ls!YzCNAsOYNZ8kJh(R8YW$$4V-Y(G=s%~r6BknP5fRcKJF`!dNi~xeY!2Ow z>cdZCo1F0r?}CNCI}7K*Tsgzx=Q?QV#!R2(rWXpE7n)}Wr&oLbvMf~t7|v3Ui_}j^ zW>@%(l!~ qy;UL*(h!6y9zq(3P(>Wf*`yz@SHgc-4)AQyt{rvjSo%%C1b{zx9O2{u diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignLifecycleGoal.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignLifecycleGoal.php deleted file mode 100644 index 6ada33afbae003a158cd61c555be9dd301d78487..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2943 zcmb_eL2uhO7_H>CYZ$D{l&#A=pkbY&aez%;Gh_$3*(N!TV>GcnCuzGufS|~dni&N+~~qicMmo<+Ix5CR1%CM2Wij^ z0@p(|dq8S@n2e6@uhk;NA*ANmqtM2#Z+Uo#oM(=QEH|({l`RHzm z$1%1&{G4XJ4u`f!5M?@#9gck`#(@u$30>bo)fLD&6YSkEpjBFjBF znR!JFvAKznH!#qleT0KZ(5gcZ4~&mX`K)*6lIZ5Q>nnzOlm5Xn#!kDVo;uvz$4omqg@oo*msGdfNMv|ivN}Xs8gAoc`iT*ZJdjxzy72Kjg(0Ya5j|i^_+|h_;Q| zV5L0~2$OZznbu;xWpdQ1yu>GK8lA3b8Iz__Dox|4gX=8HFTkHy!9%ym29Q4SD=J+}7O!{LK3{bk!w>eo(DH&PiFA12-jg(QJ5O&Y-?NGWV zUApos-JT0zmG{8xerLDWY_vDq&5gM$$}D(izw@xuecYLolv_aA)BCOFo~3VZTg`9x z>EpXOSy=?180`&ftKHga_N~os-|93UTaEqQz3xu4KUY#d0`uv_sXwk7Kgys&_pVqr zELWp?f!KwV8fo1wEhV;8oqY=--R66qBc!CNRbY!$hg1B{=U98AJJPYPFo2Qq2x=ZJ1cBb&z^27jyYzkrM@o82De6mnHCF?%Ad6 zfOiGfN{&b7Su@6$uk>rL_0Pc>`{V3%b&|MXEuXFqZiq8@A@Q~uW95}zdaW;kJL&w1 zrM}6e#8jtw-J2ZY7D?T8p+sqCR~yB07Woi0N72cFEsWYI(b%-7r@DXXJRgWaN$rIg zT6l1r-9V--n1aO3gn}wR%V6<;VpD#R!29QHi|x+M)gOwJXRVc&c%Efl1jmY`JOMY^ zfi>BNWOrv*>&1~!ke)zm zQ|c-?-qaU&!xLdW1^$!)Pvv_pc61eZR0b42wVd5&KIQka$^EJD2FHLLcMOgJ_!nwq B{Vo6i diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignSearchTermInsight.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignSearchTermInsight.php deleted file mode 100644 index d58d61e61fd69d53c74a9bdb6ceb6d1fae31591d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1515 zcmb_cPfyf96t`U^aa4@N1DI$=B(Nmf29?VonpR*X23eJGFio1-cD6f7w{2#oBuLha z2R-@)ym<7Z_$fT|4fN#eblYNJIT-h{uQTuc-k*8D-;-zAAVc?Xhb2r<#X{UW#A?8B zCQ_9KX^eY$zt02?(qYD9CM=9McJZs-J-oTGy>}NvWtxkC5gesy6f>KK(k{)yI#^k? z1uI>o9nfJ$d6f8)Q4tJ$#l+C(iR95hSvn&^2^}(-(SYGj*WF=?hE!3nqrp8Vlw-57 z_E%QDHx>9ALP1QW#Lve`-s&8CkYc;cfQ}G`UzYb`9$=}cg1-eWp#rWrjrn_Me;xN} zEE%Ak_U-3Mpm>_#B49TOSbG_ln1$~`mcqE!aaC)#m>^8g+fJa*gvQ+8f3=3EzaW5WdnM^ zQ$a}6R0A?8w3_&l8om(bTKwE16_XJ)>Hv0(G8dIv4o zL95=uTXR*ajMtl4?%w<_6U|NBo|)I^T7}{lOFC;{qkY*WKb_WZ=P`QNBph2Amln{* zo(zf6bO5A_QgP_Vw8!FEQ)9LO^TmbFhB0#!nLM0r!D-9Yr$%vl8(pcX1lJdvYZI=? zC*#=pX#7(}J3%g0I%GoHN0sUGa8y(G6sroyiq_!x;V6g!f{7x^y@9U#e|P9!LM^y* zr_oio8Os5De=*S_3~T&s=e?kNXW~FL<+{eZm*oopSWJ`1N=0NxEYSi}X%jroc~Z4j zJ+=I1wmOdU-JI`e39>+VtkNtjkRYofgZxoBd0MDWD3z9~Myrm^#S(%L03oEtBLn~m esS$fqy68tsHD&IX)Nd#{Q6#iu={G_ng#G|~DF3zq diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignSharedSet.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CampaignSharedSet.php deleted file mode 100644 index 73715b4217233e2ca947b206d11f589a1bd5361a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2098 zcmbtV&2G~`5GILQ=vMsY0Od!p4HcwSanvF%ZVT9Lnnpkpnzl&DQnax*&PtALdDoSo zDrcU7BS#*EGY`-chduxYPVBC|PNXCtL=MSp_M2~KX6KvTd>-~g@Br4Zk0Zpe1H11b z>th&30SoNFgWb5-!x6NDK}b9tX%Ox-VWW8ft2_0BMea(2II^)0-5_v1TtN=4B&M*A z*Pd1)oIq&BMuQL$*YD6iim=n6m}&AL0DLsSG(1i1D8#LOaAKj3AGE;Ms1$9`Y#WEaTW- z?Awe4J`@g3-^S%-m~aa0QW)^+Y(W)cOB9S3%c}bfM?Uhb9Zc^Uaxqhk_8x;{*5 zNHWb;ReQ3Rti0zECraulaj5sUD4MMoUa#arJ1T2=to*SW;gj0+R}}BuNZ z+qXsl$}QO{{V0IzV>eK&gUbrn5p!rE2Xo~)bN$Si`DLtvm4t7k*Z37^{IV3K zI~_y|Gm>RlvOEBbe`VRb@F|xoZUZo!jtjGrV?}Z-fwVjmBFU!SUQUqo!EBwpc~#6$dGPR$a#R;i%^PF6D>1%Iu8i02AH|rFZ)BDdWh$o$qTE+c v+Bc=SDZ#AtBt=`KWEa8iV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`$!54egl_9Wce9z9(^guXBA9FrH*9%y@`?Ot3V?R+zCwxPD@gpLo(V zdq-`h+=O}cyp*x3Ov9wg_!Ry!0a9AT8Sjn@^b~K_9dE&`<~Ud$Vj*Ulo4%9FFAq&gga}x3g4IqIwE@ms{uBar%YHW;SA>qwB)t4CK z*xie%{*^|i-(}(MsGKW4g4+&H^XR$f0<*xpn^`O^-DH^OUMAgS8Rdm^Gr=Szr5he3 zlhO?jk|Wa%kCrsuD9f;XYqVga#mre|xEqQ@J zZIWet5|W|B?0~s;RB1rXB4CphRt3x$7--KG1k4Wfv%JD_%JtoTMQe+E-(bb9WTY_?gH-qrSP@+Tk;ijoN1A;Q4+& zO9v!-)yngFV=F(Q{P%M6iie|4^39lDoXx`f+=CNre~FQ(SP1-oc-j^1UU?JVweo)r z<5q$}OG$H#61GYvc8$T1kUQP5O-d7Vk*D4M? zH5@2jc*VK?0v34Fc<%m6G)B*@eR6pr$(J`Ka+rW0UfXGabJ&~!XhJ>ZYLBOt?+x*>u>~~QfEYjXPGBkZ1|m0YD9!#wed9i%<>)nxoGfh PC-uV;Bjj|aa0>80IEO$u diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CarrierConstant.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CarrierConstant.php deleted file mode 100644 index c96624b15a47fb0eabe75b9a26b157db0f4cdf08..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1375 zcmbVMPixdb6nC?3i-V<5ic}9e*3xc86N~iV)GA49*HUa3DIQ8-nN4Q51L;hdnG|Z- ztN0bXdJ+66ehSb12%dbIY?9J{pt;Or=Dpv0@0Z_uuivJJDSCoCOfW?ai*f%1n?r_E zC5?<^g8SKEz!Z+;QOXmhT#PsO@b2C|ez&>3{}@8G%v8h(9!fb(m`7vn6=rT7udI5C z6)xI~s8XD%UL=J!R2bK0K}gUerc)X*-021%n4vK>H0)Tw(2w=l%&ku=tKr8Ia1Eg- zp<3gO0(fJLi%t=SFU|T1k1(V%a4c}$acu z`}X6wYI6(J(yl7Y8(l&_TIkh(%VcK02z5bMZly366y{b6dvL#mPkE)gLS^&c95j7F zCo>&1RmS#m5zaMmqkSiM@!N0y@t>l0on~yMT)Qv|-bJ8Ug@dCv4F#mn!i-D~7P1m}|$?Iu?E-G(zYvE278W diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ChangeEvent.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ChangeEvent.php deleted file mode 100644 index bb657b512718155038ce8c387a367075baa17901..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 185973 zcmeFad3tV(t?r&hsb?A<24fTUEkFQ=kQaDB;t-RtKb8kc2qA{Y;}Hl34442fcmM}%wwMs!_xC%? zy|?OCom*|cd_Gg3H-Aj4&hk6wp7nQr%lG%@w>IuJ#KY&8tGm^`N~^kg{`URzt-ICp zjlFuSzER&ke|!JVo$B8CjrvZbwq4zuKYu=zJD<&!&ZkqE(nF})tncq_R2R>0)$3c^ z)eDu)<^}mD{dMos)eC!7S)_Sk<8EbltLjwmRd-wS+=39hm7Qv{QQ4@TU(P4is;$aq zrB%7L%*1ZRH=F8D`s@0otG5c8*fTKKq` z&+FdhX^b#Fw=%n}>fUZ;`&O#j+}Nu%TJ^m=iY_j0Ra<6cDdn-ppW#-CTJ6sH$7B~5 z7d!g+?D^K-e%0If`SW|#*8bkEOW+F(saruq*QniEs#Ui)6V+E*;~yG6E4S%9Hs`$jlm5asou}byenc0z z#T(hPlX)xO;zF+s&&jHbi>SP~Xy`01g3#h37rH&h9lR`lAtK(q)$O3+zFoMpSAEZZ zb$8>wvr%a{t=dl2*~e}UxeRv2%#tRMtTalfUPf)|#auxg4a&33`?!dt;_K1j*n}9l zkxpNWMq-mpAI*(CxaRuj4Az-F`*V-w?%gW$9%QrwC*>mA!qTsN5sK6 zRVtwl&)qkUh)I)TnX$v-;CilHDksv;^-L+Jh1^=Ml*whW`*B1h zHQ0S!A#X&f>KV#mbc z)Ot3)mPtD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}mZ$;`iK!dfSWs8WPB1=wN!H40yB z!0p*zrDa%r-aKsAs*RmSZM$$yT7-q?&E00}MYE8T-h;Vko&CLnAT5BX?zan~_E!#y zR2Xp(S@CEe&EAhurk(q?8Xw1WZS0t`>ziehI7}Fck~}MzAuM*<3j6<)Al6m&7vWBw zNk*nZk@+%OQOU^B*@M%>pvy!xp(-Y;E;Bk4iriIEsI#J^IEq4n6onb}=2?KB!yh7i zVP;96#de{d;VX~4Vu*uh9a&56kfnz16Jl zHLAM>QCfi|w$wWFi!~Xgz*ysDtxgExzq>o|QwA~)I^}q^=PSd!Wr+Zz0cI{0rC#}H}IVMh+ zq;_?leaq2rngj*?f~!`5oBBD2h`HO^6Vle=0$#a6amWgPBrWQ0J*!1k z8G}xR*dn7xajP?7o#SLQDQ=Z^sUPN{!cQ@yk6u2YNX0k>(^pRFycYAkj6JJ7i0)0j z7hjyb-K~9?L_iG^H~y*ky8tUwBaGC5rNmB;CM3q}>)Pg9HUGEz7(U^66EV?yLZ;a+ zPea`T!Rj+ciJJIU6*;X|V2Q?_`a%$wG9W|JqBqLKT4lWRCb2dUwi@Sx5ll_7=HFj2$9bR>JsN6YaX Pm^p+pLvD8hCjkEdjJ_d! diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/SearchTermView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/SearchTermView.php deleted file mode 100644 index fd803ce00bf5d22d90b0173dba73b9fd6f661814..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2086 zcmbVN(Qex|6s_zeO_(kVw3oC%GtMg-2iPREMIWX#E2P+QgKW0ZB<)ZL5NL^32*{E~ zN-46ydmFIV{lXsi5&M9C#h!zGz|g0Wlqh+ty`uAjeJ!4QczJZs<&&rBc?v#?O3N=a9#GHDsU*I;xf5MF+W+1BDaH?Pf403bjYEW z72>QCSUhR(?#W#R8yUlPQKDtNQ{z6&XpUz$hmhhdr*Ta%t*G32>ZPR8%d+b8)cK3D z4hfC|2cM%0l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*2@I0@(EVU>v={zl|o@f-;; z41$4%U^oMlkL#T_Ist@%FEe}mGZ?yE2Nu8_Oj`h@)i3ik{G+7Dy$Tl44H#=!>2wj2 zZsSY-=^vg1JPXpNVYWxEn#{Dg-5)XHWXFUSf+|YF6|S>j??BjrZ6&(NM2k~^wtBkJ z^g0aha)OCSE%=!4L~ULxC%4-EApWDLI2O7ksap&0Sf9x4-<5w=LDFM!;T?w|Q}yTG zai4>CNvpLBy0R99rEF0;cGkWy2+!g^_g|ZJ;#=BW*D3ckEpS9TOd)B-4eK@(@@Pol;*I6j^Vdi#2i=RJd|51aFi$Bib{3Qhx@A#J{di)s& MZYbKl3-1E_ADR`WjQ{`u diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/SharedSet.php b/metadata/Google/Ads/GoogleAds/V15/Resources/SharedSet.php deleted file mode 100644 index cd0812bc0a8032ccdc808b5a16fcfda93bfab86c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2612 zcmds3KX2Pc6puv9uAl4JW>Qr3;9L|VQG%92lBNS)Hy|Zi5o}9>Bs*y;fTgIDOn@Q@ z9u*)B40P<&4^edL+HaAyUm&wlbn29;cSrIhJ5u6ytOn_H_ulXQ|J{B4I5-L57OG+o zhgO99sP_^@Cm02xANjWLqTYBgz#+2zQQ){ZR1m5(P`%MXMy1xdNmYqI4sEQWq3;h} zT(bJ46ffE8#r;R65XT~<17N!rA*jtE+c<((faoU}_gu$DB(fsDIgmho0qjE11}!6GVR4q@t=i z#F5A<+bQ1N;Z_-%GeE`IMOA&r$6XYKV?1pfp%6#o(3=393aIX^#05@w&%thA$0ybc z#}8F?64V4_o@$!q*;+gkUwq>vaclj)2y>5iNKtsk0=)x&OYr5~*1+C)G~E_v^fJJ4 zZ^&D*mO|S|5e=o#hEljz;nxgoi0XH!o-B<7s_8BYy%Lb)%|vYR87TZ+!c-(W8$0w6bw%)I05UNxlU)v~sy| zRPUGv#<6i=3NfL*AOkGwEv-(Ga{8YcDA3_aLYNngE}wIncULp>yqx4<=)0CTRQzyQ z8e)&nPC8_PLuSkzPtgwl{v|6_HSM?TR+UecLT5>dmuy9+N@0m3uTz08pS!8Sq&tTdy` zh0^AKVuQ^asXKvF8Zc@zdkMG29kcn_lt5}MJ}SJGU|Ez&)?hU~H`(=*&!9|kS-gCSDP6 zDR-UUVZb?g0~WZC%go0o8D{1gEXJdf&v8TLOB$D@$9;NuY<^>Ap~{@9E1 zFbOcrEZ>B+5Yxv1rk7(PvN92osEGRAnfB~bDSTj$N#u`kNJ_8LrRnrf6GosHIz1rb zy}*w297yz6UxFMjoW2ID=Cs4Q4D03v5A`3jaQnUdn>GW{uZohSQ@o$_^S|a_0lFhr zDGw(MI)jH>>FefoO0#pgSO}hFZ&x|N&f#Mrm~!$RaXWt=zcMDT0oGKGJ>xyX1!K8W HI0g6z%q?N_ diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ShoppingPerformanceView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ShoppingPerformanceView.php deleted file mode 100644 index 85ea51f39..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/ShoppingPerformanceView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -ñ -Bgoogle/ads/googleads/v15/resources/shopping_performance_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ò -ShoppingPerformanceViewO - resource_name ( B8àAúA2 -0googleads.googleapis.com/ShoppingPerformanceView:fêAc -0googleads.googleapis.com/ShoppingPerformanceView/customers/{customer_id}/shoppingPerformanceViewBŽ -&com.google.ads.googleads.v15.resourcesBShoppingPerformanceViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSearchTermView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSearchTermView.php deleted file mode 100644 index b03f4441e..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSearchTermView.php +++ /dev/null @@ -1,34 +0,0 @@ -internalAddGeneratedFile( - ' -û -Hgoogle/ads/googleads/v15/resources/smart_campaign_search_term_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ò -SmartCampaignSearchTermViewS - resource_name ( B<àAúA6 -4googleads.googleapis.com/SmartCampaignSearchTermView - search_term ( BàA; -campaign ( B)àAúA# -!googleads.googleapis.com/Campaign:†êA‚ -4googleads.googleapis.com/SmartCampaignSearchTermViewJcustomers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{query}B’ -&com.google.ads.googleads.v15.resourcesB SmartCampaignSearchTermViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting.php b/metadata/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting.php deleted file mode 100644 index f98314f055795a186c33449e53cf7f2ff0aeb287..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1972 zcmbtVOK%%D5RPOdwVAk&ZGcKX6ttZtGSIA$7QU?O2D^152W?{^2@2E@u%LEFYXU2B zL2?bGf$s(KFM8}x=`ZLp=iGYDsYC8VLL#RxT{PehznS^?&CFN#i?f34(h&$y%s@(~ z&!{;AS}18`B6B(|XERVVk@JG*pnOV?PUxePr}W#ShflZhs+OfnAfTC)Sq?*%>S1MC z>-^sSP(kIQhkDMGi4!(27|%qk!5A(w-^C(CusP_0B|t~x=m#(?Wrj^g4t5fzx;Cx# zw z(A&PVQY3~;LG6VTk-%V&R+!fJRw0q2L)xS{wzMH-lZV295-gt_fld@Jj8tQE4T20z zOSU~3>>aqM7LCv7ph__a-pcWi8dbt_a7q=JQi%n?MGG}q#bLo))`DPB&*J`Nw;piF z(+JMkIhShnRma5LuX$Z}n5J!+4^TLRHZxo39rEV}x&J>Eg~uA-TJVRa*tuJ~qg3CE5X5 zZxr9_I-tFm;o9qPmuz1O)QH$SB{zyQDIgZ*dZ_w=?{`kr-osNf}5?KnPo>c_7r#$Z9r|1K+885$*J6Lw! z`iX4+Z7trXjq-cr zG;w=pY4Nzt(+*Mns(ZVF2m%BNf)+0b5HJW@#OXDc^p|(qG5C2k&KI-y(!uW>E58eJ GLC9YhESpyV diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLink.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLink.php deleted file mode 100644 index f166da4c6d2d2e4a1c3843e62627650011939887..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1446 zcmb_c&ubGw6gCMJ9PnWAPJXbQO3@4f>~GpcFabMSGLscC7e z4_iC&Q4QZgD9x!-_}J3)ElVUsRCByF6zCjb^AqJDXDL>i8gjhGRKg0T8O_;eqrfg6 z(p-UoyWTr2i&QgSVEf>(NTI!nD@@zFCb&^-7uUn~t%ydz_@K}r%^>j}s8lkcx$K)( zLPnsy^!A_jX2-EwG&aQTYD7Y=&A5xTEa56S#u9WXiy6SgL&Y~KDVW!ekl8-7_w!!u zGsv?pjOi)k^5&;biDxg^bnht3{F?j5Mr}WtU33HeUO>J7(ICjW-NpO#AV6ObxAuS-KQsq%PZP_A~` zY})qjL$sJ&8?^haiPp`6Q>|~4z595+2rer9#>Y36Yz8f-#VFu%6po;9m!Uo@M$y}@ zOsD=n>U*=*i=rRRm7cpDfw>q#Rocqjj=`sz_?aVMUDQL;f zgMWud{|3(<{3|^7Pw?c-Zg!H;v`F`|kLA7Zeec`vz1MHWNPuUsO&F0_lLYoZLp>r; zNUnLzQ`jF521LS`p9z{0=|Q-E0zaH|;lciK_o*pWd@N&v;E?lSN_?CsKM!qmzP;m1 zlBXzNb3x-?%$d@dX)o&m0K;cQ2^>BqmSD=(P;s<3qYJ= zrC`^>?oCm_1%T!e<9__kfX$pD zLRUDppq67Y-yA|o^jNYPz{EjC%fu7Z$%W8to>~2MRfm+MNk~TcoN~FmG*jZm8#Zp>aynF|&hif?rke>XsI%HS$8wILdS0@{G4U=dCAe1-PKjak;}9Kg(cs!6UT; zuv%31to`aGSZdx6y+1+aZ_orAvnJC>Q018w@E2hof-+6&Ra09DE2j47&bLyjb_yOX z8oej5Buv*=ZqwwbWHBFry8`P`{T{3sp0*b{ybSjKo9SA{sMrzZU*rsFG6}1o(xXXO z2akJ8X@_6SV8hHlRsN=*5Z1c$tC;OZr}XJvE}{WQF&lbZ4*elv+4dKw!svU`<=8F$ zmik_|~9TGQ2I diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/TopicView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/TopicView.php deleted file mode 100644 index 3d2d641c8..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/TopicView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -º -3google/ads/googleads/v15/resources/topic_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"¸ - TopicViewA - resource_name ( B*àAúA$ -"googleads.googleapis.com/TopicView:hêAe -"googleads.googleapis.com/TopicView?customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}B€ -&com.google.ads.googleads.v15.resourcesBTopicViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/TravelActivityGroupView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/TravelActivityGroupView.php deleted file mode 100644 index 0be25fb52..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/TravelActivityGroupView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -’ -Cgoogle/ads/googleads/v15/resources/travel_activity_group_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"ò -TravelActivityGroupViewO - resource_name ( B8àAúA2 -0googleads.googleapis.com/TravelActivityGroupView:…êA -0googleads.googleapis.com/TravelActivityGroupViewMcustomers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}BŽ -&com.google.ads.googleads.v15.resourcesBTravelActivityGroupViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/TravelActivityPerformanceView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/TravelActivityPerformanceView.php deleted file mode 100644 index 463779dc9..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/TravelActivityPerformanceView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -— -Igoogle/ads/googleads/v15/resources/travel_activity_performance_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"ë -TravelActivityPerformanceViewU - resource_name ( B>àAúA8 -6googleads.googleapis.com/TravelActivityPerformanceView:sêAp -6googleads.googleapis.com/TravelActivityPerformanceView6customers/{customer_id}/travelActivityPerformanceViewsB” -&com.google.ads.googleads.v15.resourcesB"TravelActivityPerformanceViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/UserInterest.php b/metadata/Google/Ads/GoogleAds/V15/Resources/UserInterest.php deleted file mode 100644 index c27d70c59cdc726ef8fbc7b9f7a89d69ace7c9aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6772 zcmds6OK;oQ6&_0R>-a@8nM843w49lE(20aeF-0La(~=S`6OkxJq?~apfS@H>CP0g- zNCkBVUbF?KUA43BqKg*jVs`Tj+I4{Ly6j?RRUo@AiWc3p=UzT6TVgDCW|b^riuc^_ z-gEe!?_3^!@B96uK5X(8t7i>N-|FxOC%k`T@%@48yKUFu4~B<_)_`xj$9>ze26>(@ z*LkI`^HN#XH*l)w4hLsSS|;}wESa`oba4+{e;F!2gQ&l(tZ&$sZFpQlRz z^vq++>zi$huc%_p^39Ivo2?2(YY81Myd+n9AAHzqL}=RpZO8OHzKN)E2nwG7kN^6^ z1IKRjo^Sg2=Yj3vstl>{@;tTXJXXy=}TGL9-9}tze7A;@BRa z@cv+EjV{jf1Ir%{dS?KqF;r_(?D}?V$F`h~XdRg^Y01F+xO)LY9*LEY zDV9fyV_|7e zYUpxFs2UZi&dzXIxUNXg4Grh(hPqo}~dVWhgQ zWA?gvchD_#tsYIdC^`GKHz8MPAh+rNzfYwrg7A6jUWKM&9uqJhT#_qH#XO0r_cAhQ z(PSOTR+_FYYV<0V3#Jx}IJsDiaf(F*Di*2H!7Sb2x8bV{Jn1H>3Edm+{Dn2}ZO`s? zjrNh*>siiKnDSo+)`c^OQh*Ti=OUBs5C9$PuJZS=Q95u#XHu`e?g# zRh5+rQepvScI&!SMK0jwo?J#+%yMh6Tx(W!*(mJ_ih`qaWVBjG;;{4Nk`jhp;I6@{ zDm8ZMjhdj8B&6ZTEN~pGP*Ve0w?UE9m_CZn6_gc*pBU=7{_jBT9NvSfp3)} z)KUmqrI^A9WDOBXR^+~5p!IOd374=F6^`f&>9sZ|6X`gl>~$%^MzEMcTf| zz}@kr)rJSLy8R{tw-PNbq0rl~76_biR`8HWH-HPZZuEYdh*D@SeXKSljj#sQE3%Dl z&Jch|AH%vRlr_}E>%d0Fm6{+|4WW#(xDGd>yFn2x2{l!aD+=l)!c##t>P=nK8TsP@g!ChdaSk^t!Zb=t83+>BdeY0NQ7-arpRx3P1y~C+j4UuZ#bl zt{B`)WX+qApnuE2vr7_mLOqC%AOCMb_$veBIvAcvCRT($Ft9ZyoCy;yNoPWKtO((O zgOr2~xEua5^nDc%v|(M)nj-m4%EANS$4qcoL$1YE8S$6Xm4HXndh%va?9WReB~lDe z{>N^wFo9#E+zMZY?guav-Vp+r^{;n?UjODZVf`CFY~}vKAYCsWrbd&7+k?3!j`WNJAUZP{VW3yrds|p2G&MNK~JF6!Pu_&Yx2oa~@h<=y&r+~C#({CJaKC;H1)~1Q1a(ND!1w~m447=o-GZgIJM8)Rj?~7tmuvg5lkLh<6XR~jSCQa^ozw~a*hche;6Nc@sP4FkJVI0g70MpELS diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/UserList.php b/metadata/Google/Ads/GoogleAds/V15/Resources/UserList.php deleted file mode 100644 index 1914dcd2aa10a356d8400acc8454438848e53f6e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16055 zcmdrTOKcm*H55sGo_^FyvT6Dwnl>DzXsJYQiiD1n>`J6Wm?9ODvf@FzgnR)4z_T4sINpHw4S(iF;GrfPD?%b8rZC&eV4NXn&cMlF^J>Afb z+KMXc*>rlnk}g;3>HK=Jei?@vT32t#x%8o?9jfw*)HGJuC;7Vn-195C%s`Blt|9B9 zsu-OtMGw%Dj%1@PHRSZhwy-64q^8u7_BJS{J-%s}pXBTIbIH_gY+^ZF_-J3@n*WCcV+kF>9j6)x_Zk&@W4j3=f}6UVsk2&bJpXG4;ocaWVI>C zccuG^ruz@2ocPqsin(sS*|e8gK>b*@DI*Jg8h#OlmjV?-Zgr1bN+C*(hHMxjVNKUy z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;;6^RckcP;zydc! HLxlbU(Ae@; diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/Video.php b/metadata/Google/Ads/GoogleAds/V15/Resources/Video.php deleted file mode 100644 index 0d63d0d5f899ed8cc86371d204d79f0c50fc5a97..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1366 zcmb7EU279T6g3H{?MP9AU=)#QEo}j)aI})}^89=AnsBx3;^I z3Wc{z8SC4uH5!3J=Y1gx`(b54`HmI~0I zhl{#~Mi!97+fOu;35~s7rUJ=RE#weV35l34#WX9O%^iEHVdG=m$x9^UQjI;VWyUTZ zjkhTFvtv@XZ`*B5;sXI_S~Ef-~i%uX01Jey^jZwM46jmJ5V$T-L7P zT4%{!|JiT+>SOdI=eTf8%9R5K@8|nVH>bP4$u1s|14@V$dndSCRO*W z2%(T!-czt>d&{i2P1Jy|yNvGmRmE-#-Sht{(OpCfzOBjqT|?`jz+Cs6p1?&`CEEzY z+J}SrqeUX7N#qC_bt9J87B9vCsC&~?*eTvheW^DF{r=bb>c9>G2U_3BLleOea0-j6 zA4QU9N5zF%VTVOEEzaxfIRzm=LP*I+2oMrdGL9B((JwYiBR|Uz1#o* diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/WebpageView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/WebpageView.php deleted file mode 100644 index 1d9a1f6ed..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/WebpageView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -Æ -5google/ads/googleads/v15/resources/webpage_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"À - WebpageViewC - resource_name ( B,àAúA& -$googleads.googleapis.com/WebpageView:lêAi -$googleads.googleapis.com/WebpageViewAcustomers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}B‚ -&com.google.ads.googleads.v15.resourcesBWebpageViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalService.php deleted file mode 100644 index 45af6a9586502d70e32e46a9ca50c1d468c8bc1b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7071 zcmdrR&u`n-IT9l$eu^E3nNwOxZCZ&FH)y2RMTU)T+L0D5sj+22cG9&IM$po;OiUs< z{&0{528JHm9=6MN*u9qmy>x#^j@xag9tIT1sTeR|=waCR9{DKAB5ljwDLFV#WWp%|}e{T;vV$15;Mi)B;Q7mnVwXGdd zEme0G0oAp9r-dc4V_BUpF6wQ!7#zvz;N6Es7dr<=3%fLHU53cWxg{ImVtuF(=*Pxs)zJBF(nrr{ZS*Z3W%;E}kecU=qwM`8DTv*j6>_U zgqpD@E(an?(uj6su`zB+h{g$Xg;ZbpFVyP*1CbaZ3XY^ z2ZrTHW1&_&&mIp$HcgAz$uiy3BSwlZ`QX-odj?c`%T3+=&FOJvQ0ayaF0#Mv=^Z>C z;#$|hrWcPx9qYjdM(9RzyB&GWI)vqNWN6|y_s|ant-4-SOEVYvEV}fh_PDn7 zacw5WBQ&wrP~{zUCQZ&y>LqgK_)CaWYo(cs}GB?D;Eq&AS%Xj*GhpjYX9fGSCVEJ+a^NdiKWM1giEsDSUGKXE8jL6U?; z&*))o3>(+bl^sBdEcyYu%zmF>Krj@T608SiUEgY`Pu0c@r+j}pOHDB*uZLm2<tVIOTts0$NDL=EsilF6<-4cMqu->^LTqM&A_7!MjORa3p_|9RoM2W6!8&Bk zYOM_McnwX-^?Cy`XGyE58zo4pV0QKhGV2tYT$5{S>c$473HunUc}E#xSZ2b4+k9$E?{kKv*O zXxjvubFWC-01^e4hRgXJod1oj;?ALtBVZ5UAZbr)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elService.php deleted file mode 100644 index c1a29a886ac22e88fc34a3d65c300c619a1e2645..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3355 zcmbtWPj4GV6t6cVq+?p7MIpv2FfnQ3L}9H2<+33y>$;lGrO~P5^oikT>P^0-f!OD-=bsaX!IB_fvw>zg%3=)koJgQIqj265O1!LvHVYo|w=xD6rSIwCBzY=WEn^~WT# z94oTSrT{h#hovHyzFOZj4^!YRglx}Z3>!|9;~UN+j-DQ)X9&Yz7vEil-7-(3k6k2(}JN&)53m9*kkljt`~xFS_QDx2j>Qxz~Po1vnV(sl+~U|vF$pi zK$oLz2B%qEaQZ#}Py8lK3S#{>dWTc1ngOz~VDZm2Q{D5aJx0QCua8v=;ENS0w+Dvb~uOcLkgtPJD4fS~}CiiOJgr|N_8%sg3M zHvUx5+{MDB&olMk0-76lJyY+$VOX-6%U`@XKvJE`*FU`Y`xiy8Y>JnxoQ#W1y}f#c ztMwx>V|rorFXMe_1$4cZbp|UxJTpqkh>uh)T}OWy=5ik%TTHLjj*pMiFf6&OtT^fe z)gA}bVfCLBboaH~E?b~p9$Ns(@VkjKaMy$kFY&jeAo+cvnaA&G?b(@<>g3S7)H_%1 lCRjP_F7+h2FK5r4wdBn_eA{w5bnP*(YoVCvouX5O{sZ>BeO~|o diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAdService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAdService.php deleted file mode 100644 index 7ddb7fc0a22af7c3700157d9d42022f3a91dde31..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 40268 zcmdsgYiwiLecwvd^KeGPq2|Hi?96Dnui2Nh!|~c)?XK6C6eZC^ku*uo?AS_fDe_8U zmm+CCW_E0BTPG=yG)-Urkibpd#zD})A6&RVg95FAwqFWtihgMGC5?ePsDredG)U7H zN!$YM@BcsNTwXr!rFOQpH6Jv*_nh-TumAbK&;P#pcH^iao?h9qYF4w@w#qB}k5<}8 z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a0{|j_7wP|omcWSF=XQ_>#`7Ws;gxjIx)W_e^t;G*Y-4L) zQp@1)BAHa*m|MXys5WW|T8c7+-_UF9kn|vif~>BNX)E_HQuwKV|AVhhzZQ9w$*`s{ zz0%2BFOu%43DWv8Q>gW+7ypBCNjCsVdfCR9Rygs25t6jkF(&2M`FFc-!q$?6i;2+rv6M@|5@g*|9pKo?z@^|2k_0GAYM_ZYES9HRw0=53N2vwKYn8 z%quSW!L+I~LVMKpKAe75!WyAG>Uvstd|s@me=o1Jabfj^H|!V0M=GWD^=B$AWHYG{ U^{#x`DzCi76=l8m#rs11Ux$bT%K!iX diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAssetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAssetService.php deleted file mode 100644 index 03325af9baa6ec532042bcd24d66ed416fd93183..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17099 zcmds9O^_Q&R<@-6)05q;u6DcCvhip%f1W?}THaY^GLBL^yBN2uZ+2}9O68?gMXIO7e6jvKcD0P2+0=5W1H(9IYa43I+F+05>HhV% zHZ0A&uQxRdKPd;M(d#OzWofqJywA{~06OZCW_8u3mMT<*vSzC-)mHZklG;Q7Jq(}#;)6}lLnqo9b+ZVeAGU!&yon)2p4EeQJ?AV&wQQLcY z&1#x@*EY;5HqGS@G~44ed2{X6n{-q{P2W#lV^hrKhUR!HWt%=+!DkZm0DHYEZ#1P`S>|52J?-|c15~ViHFG7 ze6dz7@w-YxF2%##1&H1*R`?SA8R0HMoc%0ILa`*$w=-NE&evsrbGuk6&^NQ(8mu@i z20qLQ-v~n*t*yg?aoiBHQ!R=rc{TJ?n+}f;jJDc2$Qb6q#(~!962s+M?XFHN^>HIk zMR1e;|F^@D0?&Upe6>Jra|SJPhCPxew9Og9cB(Oxg2)R zeF*Jt3}gK=(#&h41`b!-z=F}R9-KLiOsUrB#YlYT1%7e{@Z zpfHO7Rax393dK5VQ%|>0KFc8iL6-Qu zS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W`Uf9}-%j74e|^BU7K5(u)@#R{U+#$7oLuO&zu_;r zeb5iS;i;6B6d&^mW-Wai!-+co3S&}oF2KrdY&>}Iz)>GBCRKa(A$nW9R@SnFuZ7{I z6FsQAOd&CX?XDj!Ixb^sKk8Dy={~q#^!dWL@@CC(Vvoa4n=ww*ZTBSn5~DT7hq~=t h7y62K&-@MchYtFGm4G-0y*c7fBG87c-6MDe@V`3>#;yPW diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetService.php deleted file mode 100644 index 8119002661a7cfeb5771f681bb42ea106f473f1b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4637 zcmds5PjlN;5U*vLw$D?V5p7~zD60C;?X)&cryS&_MT%WF)5Ol$Nf|mGG>ZJ}2oy=x zpJYNO95}!S;2SWU;J}3sz&S^_(HW)(PPxGiPV9TqQyg1LZF(cqq)&dk`}Xbb@3$-8 zd*Ez1=#o&!7IrlscZKyG!Qa4w{lK*j4D80HI!Qrvj7|$jIg<|VbD*E36V#I=Q4lL2ZC$ACG?+3FLxl zV9QU|p=EgMz7Z9j-0j9S_7IR;jLU*l*)_D6MN%qcu@!83Wf!mr3BamugHg*@{T&B~ zP~|U#x+MU4DTaFq;9jD-qK#&u%&7W8sJ#lxHLxqLqPG&Z_%kTC)@ZNP78V~a)~eIT z_!-2vYVGD)YoVq#E*RmSy`&7Y=4?l{>mT`NGftB%`YXNa5PQ+ zO6KW8bf>;;YF58wyZv$>TMmIUqcq1LG&am|^vV_b_ggMom*wxd3w26bC7`NOxFjne ztrCfWx5orJl-34#jS^dj3hi@Zs47XIEJ?8)NdiNXM1|I;sDpRV&#zAC0q>fI^_fa& zCh*2gXb;UWT3rI=uSYDyjsaF&l-~0dnCT<|BYqI~a!|gw77^>U1iIHeLhU1!mNB^zvYH z5P#s%yUPKz3p`XMUJE}9u;=r6lpCnihybASIerx(+aWI(WS9d~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LR>{BjOYfUMW~!g(yD$73Z4qiqN}ljTg4o8l2}7S?D&-$pzT=hza4iSzS^3x zZHM$*Qk+GDtOo}{$;i|j@k$`F07$!K(XN%BBzBZ<69-GleHJ|Idbvk@shPDcDE_!> z9#BSE1j>&ewQim4YnOBok?I&au0@;?llql_CcwRT-+3K+>bdyh;t+J3r5U8{^H3RS znT}Q*h{9uGm&0X+1Hv{xJH}v9M7SeN6e+C5z)?gPA<_@W&?0lH3nCrl4L}?ZW7O8Y z08!*F!NsNjCk#xV;g$mc>8-0G!=Uu3wq1i>w!)2G19T5yi-fw4k!!y~WquOSyZrtCxoqswb|a%3K^9(5KKb zM|a6niB{LmX5eCqW=F&^bQIviga;d}*;ex*#ik?TeKZCo+j-MS5mb43>UO+s^qP`| zlIwQQ==OW&7dRpG;fT0|h71>jp)_(MQ@7%c0NdG6-6KNths1Z$kc&6$O&ku4w+}jo z<`1bOXgEq?=EnrO+(%ik7>W1LVK6vo`W|>jQoj)IS(N%-;voYdQM`u6b|qfJu4}v0 zWfc0h%dzL#u{?8SYmf7lCvQ-6 zlM`2dS59&XFnX^>#qOmG+e(U|ZkyHN+3i=QdTAYA06jUEd+^{v=pI~R*vU>0{B;;X z4{W#QsgDJ8anGsE2`#R lOjgX?=5%~)Uy2?8ud-L<){`$8N~Y1}y_pg+x-GPY(0>eUh)Mte diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelService.php deleted file mode 100644 index 1e0d0a50f7a271241ce172971f4d3a0b52d9f6a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3549 zcmb_f&vV;E6pkDc(hVJE#Dp48r)=CbaY~U%I%Ni>fsvZT4sA%rEj@HJBV>7PYetd8 zu9Qs3gafA@%7NiO;J|?s{{nCeH@I=?fm8kiIPtX7%7#d8-I7Z-_IuxZ`+j`i=JrQH zKR{P;gLs5mA?e`u5f1wV2hUIgmw!a@ZE};s>8@u?E-3NGcWBb88xH3PY zHc@fU_j@j>TOC$Uj`8VW3B})Sg!L0)LsVyF7nc!AXl#3MW6yGp4Z`61LFm&xFjdta3A5tIpVXGuc+?op>Ec?FqN<+DaUF*= zBE!KkrX-B0Hvl-vpp2YSX31&Zk*W^vGw{#zY6Z4&ALSYqVkpq z6F7D8Y2se}eiF^)Zmzt8E(%*S=7zF_rP>Ak{ioX0-`aac`?}I-L`s*&O-y+ca!P>kZXB8#izY`k9a{$nL;?~GbARqatTk?W>>Z1 zF%wmQUgr$_u0YZ`_9gUsV9{9N&93FR5hdkGSk)PM4qZF|*@q_vF@4WH;zTf0{YgSs zM&rtN(X>qo`0+c;u6|IQYBr|%xi%-{O*Bo(zJEaA-Z8n|d;w-_PUy4fLRP}+j}lrK z-4PZ*rHQR%;vIk(U0dr|%d3`V5Hi0jtEos%; z{Pit%?cXY~e!WO1)P26gs&xGi?M>kfx^g3%D^}S&)yfHl3^h9y-QP50sSocprq=6+ zhllB98*t3m^E<_YBJv_Qj>H% x*l8)XDG(E3cUHQVU=?VIuoF_Uls(aIB=7veqdaC^$IkhWfEy-uC+GyBe*kvk(eVHP diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionService.php deleted file mode 100644 index beae035fa64be42522bb6e88cfd2eb469b06d692..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 41509 zcmdsgYj9ghcHV$5iA{+DK~aLB7lnCgMmwZLiSwXFGlL6&Bvv570YGWEqpiCTa7khX z0$4nx(N2vwe#Gmf?5eFeu2i|~RLXWGDcf;gcI+QY6T|7I#W>k$vp=Ffj??0Yz z?Hlv;My*vV)++P&+q=6)W4>5BsFy27V_|+ik(uAjhb3RsDqXFV3eAPgFDCY66-o9Tc z7w4O;LJR+UuH4ki)pDy`sFc5oiQk&vEmWEYVD+}$ZC8se;5$zpGS#AS`K5UYliEI4 zuV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9>LVPO?M&I=MKQ1beQv(hXd5rxvE)o+~#ITMIKau7R%_rTJUj MP`3L>d?dvG2MziyzW@LL diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerService.php deleted file mode 100644 index 512d28cc788ecd152f796577f5703f1c106c9c1e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5904 zcmds5OK%%h6t3+gO>Sr#rZ3m@F?C;Q6>J(*K$E60<2Y{A#tu$W932yzY5?=iGb! zO?SgZ=i~~uv1bIhDX-m=gAFXZo)b8x)0Wr5^>ysYrnBi}^>l_F+qJc~0o+X6Ogbru7l_biP@j`Vg{> zP3*gdiRH?Ywul3xX#_^2LPa;!rq7pTb?54}#xfT@gOJ%ad|y_Z6{4XODc}_7K9b?j z4cFS1Df@vDz{h#Z*Dc!$ETav!H04=&-Dvw5g!R&{hqf75jx7_0nr-6A%QBNmXwSP2 zxN24wmM#(Rf#(_vc7Q$GXgB7tZ+ey+INlPFDoP6nkmnWHtiqd1_ ztQ>eD?p7|#9u7j!?g)4giE6~T(X|?N%)_R1&eP$KDAV;OXX185@txNSf}Z2)Hr_pgjF zmf9A!gLodAhA-c+c+#oOW|U*|P`r~-T97QegnrJT>xos1?QqjCc2(+@(GIar@-p;U zxk{%QcL6HB5Y>DEYQ8|Z^KEpZQ;By7KXX+XWan$>XzZqR2#v2+mzT<=h53c@+{8X< z9PMAN-m2E#sZONGmvU9rZo^KRe5scgYj@yFM*BO3@&HrZk|d+FT&z|a{iW3VC4Quq z(>Cl@!SPzf7Pehd&jQw5i$K|Kl%pq}q5r>0XDX`tefo5T;#L9Bs=$_H1-Mlp4)C`H zL4zV&7qn4qYfz${be^#)3NR~5Bu7y|kfKncwGnFIt7toelvWZBQ`?Fj;49Px)=dY} z#18b}o{Rg8r-P0Ia8ULV<6Z$~VnTie9gf-RjpZ>U)yvDZ)q1I{SJlO`UaQ`I55jr` zO)Rdikhtn%eM=A7DrzBJ%B8n_V z#}l@Dqx(dqj-sKJ^1CZgrU;ExR~NN%eIg@`q2ZBfNh(O-2=(IcF!=r7}#TcIZjYCT&uWFy0N~-+cA@n|0;zJb-YXA zT3Sa#1Rt^~IW>83dig2XTIjI%9oyc)1YsRZV^~NwJ+-dfuAC0PkL z4!~u%ELwreqtuT2NopXE*O||-=NIpbrEWDJz~Hp&f(8U4HiY0~PEId}k+;c?_E{QT z1T&M*AkxLxj`ie#K!aPn5(Y+tNcc>&5}3dzw3s=sE^2dIjByFD5E1UAFIFhRBp^dX z7=gpXgNP5UF;i*(cW>z|_e@tUKy8s>UI^I(A|juF4Lz59R_3{rOaVmzqjN*!yT`kB zO?t=S8&B(7dmu|r2=!dE*nM-!|Byy!7DKqp;GRtJ>-fVE`+<~2<6WuC;fHpsI|w;0 zc`qS1OhA+j)YfcrUJCy~g6vBEnvlY};Bj=wH9Ybjp|2ZOJM=JxnNjH|IskQS!D9&4 z9lL#xg2t%y0Xhnf?;Yo}q}&fq-%2)#-USMfOmV|}-0%4xQz(~gzf?gZriZ~k>ZkGP zYstE!TS||bQK-l6-ym^p5xJDjZaHL0iIph0e$K#6f)|)zRUY zI_0MQztBzpkw)2`1X*SebkalEOgNe^X~GxD&{Ifa=Ea&TJ(CQU2Kh$g(_er8GCiAr zgFak}>VL9_&0dM?V#+2(6D4)!H}#lcgtj#mWul)eZ>w2`a$N`IQ_C-EVb4Y=QdB#Y6cEu47dYq-+zy3`8L<$}@N6Y% zK<2ps?;e~cp%)6eo%97JE1?w%I?)L)MbBGP?2WYZph>XbGGks-DIueKfF2<9A72Ft A5C8xG diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingService.php deleted file mode 100644 index 61e8daaf5770df3438187ac8d7c3ee5a94317090..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5876 zcmds5&2Jk;6t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+F|$M#!Yd#5 zHaZRUG1=k~z&V(lSD}?8v;lO@^x%@8)bYTiPt`^-R94~jAf^zH(nS4Nd z2)n%eQ3{=lsm`|lz{Y)JJ_J=?J{&}*Te}z6sGD;gi z-dC^0AMnDE(xs5N@~e1;sl!=+HN>)$lkSLFpXd+3E9m-u61$go;pNH^ip85ZZw3of zSx=~X?k=2nH%+_els-$Mi--0H46CIJhwm2a5~{%=c;qgDIa*-@)+3y+#63m?K!Nv& vKqjU|U~+ep7kyhX9RibM4Z`K{<>{*b^f`K`BuAXCMLd#HL0@hk?IZLb@8s$@ diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupFeedService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupFeedService.php deleted file mode 100644 index 12a6c43edd522fa7998fc1e59d1963934ec02a6a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8430 zcmds6&2QVt6^|r;KKX-Y;#kpU6Gr)R7O8}&NVAaRO-YHi)#$5|>>^uZ30k6Mc4bma zQpu)43Us%JqSvC>Lwo9?mtNZcqJWR-t*1To&<5xp3KRvlm%bTtXju|%DSL|#Ha+v+ zn>X*{_ukAreAGGUz;$6$Gc-$ew5G84TyPFFp<|hj*)ZF}UUz?AvxJ6u*wNdXl@x?r zStyn3f}G3OuOX{#cCCh%5n86%YHKOAX{X#z^7ZuI{gka)PxXdo}jC=xSU4DQ}j3}vIC zt=XEywAM#~~VqN#e;g?9my0 zqfk|gs{QdB@QTLs(YdOf#xDBX=>}*?L-;!%=w85z&88op8<^~?en^oBy$xSa!u`N3 z*NpC=o$9nPgAdGhQ?nH3c}H`zo4?|+B@q&mJ~$*19FmkR@!JTTuN<@1kyA!_iO(aj z*f-8ELUg-StH{~>MqbWw=lCd0Zf?FgK8QoSHH_LJS3Y=#{Raq=3a;=VA z;+A^(>s4_FiTPfBvgZPKo>-Of|DY^!7s!6{MY6SJ>FW?A5dS^T1vyc=(B~-{@0HMp zS0qm$~;UpQ!NtkK`U4@Wjd@sHsvo3tP#u?!^LPx6HY zAxYxJK4JvBv}E+u3|cgHDbee2!ez~5kU5j_VD;QIPk5T zHxA~q@8S0IeLbR(cf~3>SVtEJuiAet%&41@lF86kL?H3c^Rg$1mks8cf zipZaig~(ro;A(&TQ)vFw@uAs)cTOQW!@Zc68!|Q$*rpVfJn=CpzVZ$>4-~&Koe{c^ zNosPPkWEP6jOKme6xH62Porkg|E7dL%JB3G5&3fL*mb2EWCZ- z&tHZ`znIvLg~cT{DTG#Mx6b`C6yjSj!zxT{0*4pU+h=rJ$^I33%S+%S{|M&W+P>q~ zGoxw8!a`&m_s8tnpd6Z5)0`c2QNVn8w08B z`ID8V)8?gj;F2Gss@3WqlEaD@Ptt!vaQ)O%o{I$1a{nG#O_4oh9s8W;3SM*nu#?`^ z&7hNBmIC}y*rNzI>bX>}!`EFo0cSmz%0KM=V+OwG?qW!ffyX?0)!BEE>D85lw|hLs zdM+eipYWf_@ztSt8^)~qo?-C?U=IXU5~jc$1kz1A^}sXivobgCwv{gwMj860Bd|gA8!7z0PF6ihQQ4z z&nEme&n7+b@1YK3kG~5FOOx`)&_AR(fU|^t#@g_!g)WXKzRy?==-r8^@RBkV#En|#+N zeiwrHu=sIp%in|LKBp?0WtkRrZ8XiZ-D6xPYxKs5e+<*O^KRQ=hpY@E8Z?m~Rs$-a z7g0pw%Mh#t%;Ax2Xl)+d7W@XxGmxgR{e})n|0RsiDaVOXbKhwBe};e`P~PSrzKK0p zO2%N8`zgv?+pf`rRn^QuU?j^hg_&<045{>`> diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupLabelService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupLabelService.php deleted file mode 100644 index ae25855d929d1ed82f13fab19f1a6231fa1b9796..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3287 zcmbtW&u`pB6pkGd(pf50SE0*-V6rsHHfp^jRYm1Asch12BGM+L6-a22<@L_)8acL^ zu@i+T9DoCN?i@I9;K+@CA>ss_kdS)d6p4R;6K}>IuaoRn*|L`%dEWcp@9)jM`%y1K z@8AXr2z6r8#;pS!_Xv(?7>91?<5tq?5Q^P!H}ZT!b&S`x@Z+tg_`%x7(-}}@VM1ME z;BFXpeNuPYtezhEX>ajPoe{d{xrD)$-KAj?*}l^vzMXy7g(-vrXP25MlU5Nz3CyAjJ)O!$?AMzt=ym)99-PiPUJS9K%o+LaUJg8Ly!1v zi}aj5FQlWXuE%jSnuZw!A#bKI7}3j32O6pe@pZ{)7T@t~(^|Gcj+wHu^ z9>U1h^0wezHjnk>Tj>hf!f$-4E-ocPyl&ZF7Bk?a(COb0HipMtrMrX;tNUlIs4flx&m zD;4}b1F$~!t)gfKnh=~+o)Fq|LK~yEhME^Fv#x-y@!5&ly{MzBZo=YlmrzzeltuVLwK~l1kJg+*|m15$=h;A#Ne2~To z`o0r%^^kV!T@pl`&Lo#Z+6GX&EFN3VPd}*R4b%Kdtu_R6>%iA~dgLcyZhc4g*s&C9 z3VtsTykPj8bJ&SGmqHi@fEY%OXBYrz7&&5VQaF7Z{aiw;-T$?aw3$?YKsMzq zK&v}_PDs1Ga;JrV3t_~*(2H_nm!Y`O(+eih`+R? zN%x_Adb;McP4qIjp7^m${<0J*uojFCXW2aY=Y4<~0F3IVs66aWGY7NnDEV0WRYg~e zrOIAf+CK`qdfqV8R$eF=*|wF{7gbN|QT_O<-~awjy<5F4UZQdWPP6aI!WsTGcEubS z%EF)KYf=ZO_-5V*tn%R4ET>~!s8Y6DeuLH3gGU83>h=Bo{VW7WZXPFzd%&gpA#F43 z8x_qym%3%it@41hO9J0WT>(oY61YTPmIq1SGmT;NomHG2tC`FY_Lg!d>THTNguJDk fc^s^!6X8obWt%!1GuLrgBH<2%-M~bNOVx diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdGroupService.php deleted file mode 100644 index 63df0782be4c0e919cd3af21122feadb92cf23c3..0000000000000000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mUJNwi&@=6ts-Hdg~Z2KSA=%mxr&+&#!u_3f!mARMlv-4C|oDzd)qEPITo8 zx=b~0fUabGg3U23(m6C=ZB7NRSA9NDmAf3~_#0^ILBI!rCpGPx3bH_GZ z{w3%MZO-7HD`*As#41KjJ<{JKM1@|4Swd8|7qC#DL+1w$ z^f4SC{{*GFize#Eo>_PKTi_L@#hb(rfvi`DnzZkV^O%gQqs!*|)q1-I+6<*qtoyy0 zyvx4^tmoH-;hN&RX+VQ%f#w{>gpRA+*eh`P z(XCx@BXFjT-8NHP^4JRu78lc|i0-8;PlfUbVKYfRvgx>~57?(})gGq|8sngu1qa+L zj-v?t6(`X+3DaT}&FftuMC8$mJ}?}R5*+i{;v!n;aZKVlw5lKKTDRBo$9Fne@eJa8 zrv;ptYxM_qI@Iog%#DikXqJ&<%@&a#LtY6(Dk!pAEC%R9jrtEKzTPr#S;K4K{|VE=@@Q5jNB z4+cIBzmOx9`5_hcU|>*G|7h-rM^En2FB&;N)(=Q97-j6_X-n)p-DCo4jl(xyKB7I_ z(OV@C>HLoW0Sm|2qt2H9$k7MW4R|ltGp*CArYL~*Vf44cXt~e^ENc3?;+D; z-6B%q4JP+qGwU%nEjxoGasT+qA_tMF>X;bQVi!BJ{vsROfil5*@M}9*8BK=SW^F!) z$?1G>y>bfj*U^MyHtYv}jZhS1W0cJ8gg8R2MahaI0{ zaqAR&zW$>ylJ8xAr2r9d;>nDj*8saNYbJU_$!NZ7r0AD+g#=~U|B!-u}$ zLH=#Dz56Mn_Rw}}uK1r2x_V?_W11i?b?+_x4;I`m=Z0MrtA1>G y686UoiEV7$)9_WwYe;Bg<5*<77QF6#i9Rnsd<%~Kw^beR5Sll{Gt&A1 diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AdParameterService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AdParameterService.php deleted file mode 100644 index 24f8b4623cbe8f9667e07e9e05a09715ee7f6d7a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001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a3agEU?!x2T42l1eDs7`^M6kG2q>Q=SQMrmE1+m{K^&x>>0CgPcL=9fFT7HUu< zm1a z`Fc$f!chx4GgiSGJSzpUe~Rd=N|6UcMpk z5khkw7iZIbf~GWDlP75*`k(MwGDm}PbF{zH;7l|-$_;3p6O?m;30&h3{Olq}&=6PE zQEx?_JU{5J{GN#CxO;h-!LS<-KP~2Di+FDQu@^^=ip}kq1Gph^D9fI}C@xFB=$L#t zaKYQ+Qs30b`>j;FgH~PO%e6c>r_&0?#XRc4CTa1+m}@I+p0H}h%%EiS1F_WmCipY` zmKMp^5jUm|#>6!CBWd&ZI5e^EQH*CfFGW-k2YzOGjRn`O?v9pIYtGde_E=%`?VtO1 zKm7Xit>BC6ka_FxTl2&=rMuShYpuV+((jcI{#5HVI|ct0uBx*JtQ8!i8V?M(wa&w1 z!050-l0Txm-0-#N%iQp8OPzc3-B);b-Z){=vN83_pK6z_oY)W6pvZ5#r6 l`Az!;?IM-Z#>VrN7EXv)NcvX3VwNL!Iit+?f%rg({}0XOc5(m! diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetService.php deleted file mode 100644 index 72a6123c63bbebcded37a248eaf0209e36df4c10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18033 zcmeG^S!^5Wc_yjzqbEzo}dF$YCb z9BRF2A#@+s!(^&L*FEUM^;BN(=$7W_t<=3oDd#{>buH5|n`S$8ueZ0S zTdAgb*frX^l}V*?N~)~XQ*y3Qe;%jWX3uKs+0?#i?zi7Yti9I)-CtZR2O~*tb%9THDqU z)Zo~?UZ?38W+z1^D4nLh`soydNyfg=H4#m>Qtm!01apYB-9pFFt&Y~-&FOa2GP;gw zRd8rFyN{c6@lD>WetLthN}w5gsa3YcY<6Iew^EMP(}RnrQkL%Ytd0-hu?K2*7!te2 zZdK=Z~6I)DQ~?HAmamvlC6cZRqWmq#tMx4ATlf)k9;h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ata/Google/Ads/GoogleAds/V15/Services/AssetGroupService.php deleted file mode 100644 index 65913069abe713050cc227883b619f0983628246..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6238 zcmds5&2t+`6^}-?Y(FKoGP`jUZCEDCW}_^Ngw5_!j5malr6^);NhR4{K2)g2Qd^!v zni=N9sj!s;3tXt8IP77oC{7&r!e77zZaHv(8>c|MUx|Z*BiK_H1t3MzGz2_GAkdBVl-YvMqIWoG$E$FUGyiVV-e7h4& z=Gi^~ramODt#^r1X%x4Kr}uPEZ&#Sew$^ilAsy|lz1waDA~yiK0~D)hRCI+(4wm2} zQ1H+8_XkE-aXsC`e{UFW$1n}g&|VVMeLsGD7qd!TTc zl=cnVLfbr4go+JnE;LoUYI?*m^+CHt+^%ETp5-)Xlj!D(;t+{(NDlQQ!*VXh`o#0>i*abCX;BwjraL=hctED=w(kDu61tL=*(bAaMj1B;1~I+KJS>F2`Yj^}SgqF!8X2;~$TYjB0<`EI{AvWX@8}f`XYr?CM3(PpnC^5SSsgv{a3M6-HtwwpX`nXyy zrLM?HSlF$7P^*7fOU39%xuzAja7B^<5)Ey)h2uC~XqLC@d-yR|{8tRJ2xx&W)6^>7 zIJr5Cm`3dTo56Yd)<8G=dCTb+`oy#;1_4f2FqHn6)@2avo64B=6t_3%C%CpR^fiD)jL|Lg??LvxkkO- zOwCabYJ26TRw<|E>2#%DFQpRlHCQTtceA{;Rj%!%7K;Cz&9y5d&0Y?t{(c@FpXby_ z`n4Tns5{Tl%M^_|4$)o9oYB>Pkl@bfW;D1Y4r@&&hk5@~3BGhD)j1Kd3bNK}m3KOo zW_`EO2`;iE--K79^Wsv+ zg_FB&Rky1l&USQ(P%P!S(0x z&HqQc2Y0z3tYbvkhGk72E2lz4#tKMAFTI3}@nZaQEiP}sVpkv9y3se&5|j6U$-4`8 zrpnt48070P#}tV(MwBNZF2jL=PpXdZ4BYgb63;Ekx8ORT8(RBVtn#IKwzLZgp4HL` zl(D>CKBvsfkIurA7)6Csld=uV<4H4}Wa3-1iyy<56T6J9aXbDz2CL&+26@^|U&WIy zuXirF^(ae6jya|Pr{HQ_gLzx`4%gBP)FoJNvCsANBKvGXGEyw2f!XAn=PEW~4W$24BejHU{Z!A8TVWa=+UoKlX|1$!SPNLM?zyhE#O`%cgxa+K52xi|3N- z?@hl8!Z?vzSQqT{B1rNLxORlSDr|<4j%5y>A^OE~i`h>kEP_K64|(JQBz>C^(?c@i zD`H&bc}~fG4_2oLdo(!*&uoVEKT2?Y6b&uj8kPSM zgX<@Ebma}9+Gz(*J+uh?%=?#P<_^g2e*D+Je1khfa4hkhSo7WfM(pqY{u1l_T8kIR~p i6$G6~3ireQ-`l(aJ?a)ys5H70TGfn@(>;gh0RIEOnl+&S diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalService.php deleted file mode 100644 index dc63180b106b567580a782abea045d53856a1702..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 33016 zcmdsAdu&_Rc@L?FtwTwsDch16$5w7$PLoJ7ZRH`yNl1y3SW}`xQg+;UyQRr1i8V#C zeAscbv}?PqUC{zXi*7*C0Yf)zL)Uh%cI`h!`(KA_e{}=;Si5CFhqWoTVH?(U0S4^% zedpZEd->44RMJ1H{1H><@tw!_o$r0lefrtzPF37Dy<(J&TCQOfrf=MtZtNJ-)mo)d z$yZ9#H=0{pMr}G@*{v2!Mr~$#dMP!%p2|+gmlD}~(Y0P_*7C-}^me7PT{32Kh5D@g zNxyELo1d*4wOhr!QJ>A#>qbN0u2q^!jx!zyLWDXeK$ux4?hWC!?YW_O9G@5-3X02_h ziSveudLND!xL7J0@Gi#KayY<;Z z?v7sB(r+8aO?g5?r)7^Bob4Iwl+WOl&u|azw|!!4DR(EebrpT$0HXc6PmEY4p(7%& zxt`gGFD8}~@ulEhp@2BFxqf*)b#*=H3kfm2mRetmUJLrEBD)#S&>sV#F)?yAzO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8=FWHU7G+@Ix*v|aAIAF;B<|6dqV=s@vDB=| z>+pwR*^D97PgmISO^~dG0Zq)DZt~~9G5BYe*d2m@37TEKix;6UWr-i*&8lBCbctCM-JhA zvdQkNs)zPSgK*hp^ZbWn=0^7Br87N-2d4OBX)k`@Z-4kn|I^wN{E2!~ggT|^rMGpF zrwhBxoECg<`(E^f*$-^!QH%QO;rOf3DakZ#GgP_d--=#;h;A9z7iMQ~-@dJuVr8D^ znvEUE88TJsu@C#j1A7W&bH`$*dZ5A-%LyfY`WDOP2p7#Crcl0jrI%37NGgC#R&9F7 zWV7At{s$zi9wOOnXG-LUtPhz#I^C!>jfY#Gt|v)S%r7k5U#ue%fX@wsIlsp!Okd)L LvfV4<6(Rl~R>4wF diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AssetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AssetService.php deleted file mode 100644 index f97c7f97fc42f785deea593a00d0f094385af573..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 60366 zcmdsgd3amdb)UJ3y85|1P- z5P$(t8YQ2T*xA#hapI(I{H5R5ByG|xoHqFqPgZA-v-Nk* zx%c5cEPM}|Nxz!&hlaSzx%b_3?%D6XuYY50x27JRTd^y4z0kCabDQ_(n!EN~tzKFR}sUB6S>vKto)jfUN{^v`)7L8(e%&u-KTTlU;aCbn)j3&ldSaBGEu-HH|) z`cL}n`lYM4avIpvN^O+^a4t$fb*cJ%HHZId`U53^O>vJnvY1;Kl zp?oWDH@51fTC-Zupy}e`j@@)tmP#Ib{AnJQpp~}g9+N39E_TfEnYm_t-*yi^H&?ft z`}Il-z&jjJx4JD|t#m7EYve4pzNgi{SFh!gT`tD#-NKzxwZ7O_*R=u`a5vX1?AXCO zI?KoduNNA(@1t+DaxZwVY;EfnCfVF?1n(2YdagE`wf=fUE0rpdVYSl7P|kwH_pv9@ zx4$u$$|bwf?B0h-_%&}RX@ZRwiw=D*V|zd5kQ7nqtJH4{sf#`LwO!fY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ggPCmbAFXJ9u&6b3Pu`2fvW+T`IoXA%Vth;-k?S zVG}N1r+t?{AHDS|ddab|c;Uj`yLUC#oi`#1`^{a51G-e85&OFV^~wXqj`^_IlzUB~ zA#&UxDRaOOeF`4~_G$Bn5j_vB^b$QeK_?`SZqq~Zn07A?zEWWI5Im-xkvp$abNatm p&%tqGKmN2+Ks>gzwYd05sR5;{L>vyMREu-Za6@VL4)qSD{x8PaZNdNm diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AssetSetAssetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AssetSetAssetService.php deleted file mode 100644 index 395ef9afb64a442bd6354a97491e347feb98b17c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4576 zcmds5&2!sC6t88Pw(AMas2_1nr>Jh5x~0gIKxe4Zw8)9;hSqk*PRhr4#whaIR!5eE zK9UKYaA4ps;L3sF!T@Lf0}f1Xz>QN6oN|LBC*JOA6}ypIyWGf3;+6Nkx9{usd#l{O z>+~ITNvdEAyPA(X(&moj_p#)-wr}gUDQyPbE_Nl|9yo@HU0IS=>Qb$~E|phS*Dr#q zX9up16{%<2JrftTj#p$$vf7%zS@f{GW$4%|YMzJvHu>c%x*^lE5VEuZ_8d*eQe~}F z#lF_je63ZXW?O2<3zuZ|X#Qra8Jb;0NH@Wtq!RN@?1!J!HhO|2_;G?w)6gZ)*L?W6 zYclH_7P zaIFIayOF6@TnZhd)xcr7l!JH<^y9RmkX8a{5XgiwwyFvT-uHcHG7Z(TY*HuN@+MQf zXJE5a!hLPau-)-hqX1QFXMC-OqqmyiW-y_X4>f40K4|vv_=k~1E}I6n{CFMOhHu_6 z!lqL@ov6p|0cZ58s%#J z5j>l|!sOk^Gg$gAr87N9-OR@s8l1cF19v5g)Ive6MN@y)Av@hhDs-l3hqC|ES1q>+) z722Gl4!(u<(n#qg5ij+v=mMz%mT+6Qp+79Y?e92v%u3p578rx7FEj0RP$n+q*U_n% zt;3Z(i^N8`S>I?Zm)kY9T5i{C4?l#Wo<=j(jdfDhHs7BS#x7{g(f^Nv{xXH$Nh~Oo zk`CKL_zcULXPPlMh%|GrbL);#>=MRoZ-$h~jO5M@32-&GmH#@8rbnP8meDkqX_NV# zO-ZT3iIV(OJ^GJYKy%C%fQJ(WU`YnV7Dvt8Mkh3WImims#5HQ-61w<86XH#Dlxk4B0G(6C1pn_c-Mx@M0vmFU(aa*(GpeBpC7IPt)iw3o3@e$Gez{VF$*biW|ti zG-Pw4M)Mby3hi+(|xIrh!e4qb5h0c!TDDqug zMpL?r!8e+p%))$f8o*sf=c9SJe?(kDQ!XCZTR0@cHzpv{`$tL{bRsH8{+kp!A751# zuUJLLz>~oAJ#d*+?sl@vQRQMRLZZNkIFHUeQ@1vDUE8IhWEMnj9NJH2B%1#*h0Y}# zEXB{5Npd2-hfW^QCS8T@OkSRaUj=k}r1(wtCMy1wLZ@TG@WeYj=Al^xBaz&gpO;V$ zyxiTF)@LQofAIP5e|{z0%D+ut$T^5d2hGy;XGe`Ppk$z=uK%H)JH6!~3776pP#2+hGtIzXE81-v?ISw%v|b`cgnwo;$mEqDtrDa?dB& zD)R-7ns9<~^NW1J=hwwb(w)8;{sUr92xSt+7nj=?t}t5((~HaT;dM27ZM(tV{SRK$ T32hsC%zp`}Ad}lgy9oUYYRE0t diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AssetSetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AssetSetService.php deleted file mode 100644 index 3a73078fa83e374562db94ca7ef2e62b69cec91b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9849 zcmds7Piz}m8L#aojXyVuGf6hCX}eRmyG@tH-lki@I@|8fI1|Uai5=Na*)Cy+i9Jb% zbv$Nf+|sQop*caOD@f|vU8iB@E_rYd3td3cFr}O2Uf#$bB61h zp3eT!p)B16pluwOZpUbta&c4LFg>Gbc*b^-GTc_0uK!4$?%lk-UGo_(12kI5R8|P% z8u?4v!efx}Pp7-nvKq4M86N()X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OenB!q?bdIi&C5S?NYgbz&*JXDo9z^fSDjwdK-fG zI;Vn%gD3qSro9b4xx^}wa{u?VYu6FaQ|(C49+j^4J>))fbWW#gXdOEffX0Sz&b$o! z#bvI@>{swplb#ar?H*Arh3A8a>Yfuvf^*U+4LMBG=6@d!Q;ZVM2VsvBB?jWGPpu16 z$Ui!#sicSKjkUgVFIYm1hDx+&etKL)v_7i&vavyt4QYK{f{BZ6LUZVvBcSFzabb811F3$6ZW}#_^w5;;fY(5nKq+HsRyT=v+||mHY5ad` zBew))`E+C@rEd`yUkSjI`z*oPVQ|A!^hi48q?Fv?rE0nQkl^DIwD~WH!VQ~-YKKfL zJsZoTD{)-VxQT$g1W4kXT$IY>e?XTsG#>(D> z9F#Ls2UzD|FnZSxf`nnv)TR}A(^k!Bz)c$rlK1RXzdf5xyc3;~c^JL9$6t=#d19~C zsyCMx7Vh1QuLTH}pXXYrtctx}ARR^a(Mi{+^v{HQM%5*PH?* idbP^M<>klAO}Gn?UQwu&KWUfdu5&}#?rrh55dRBWO0W|E diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/AudienceService.php b/metadata/Google/Ads/GoogleAds/V15/Services/AudienceService.php deleted file mode 100644 index eb4c287ea34d29dd4df31b05233bb7084a629ec0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9585 zcmds7+ix3L8L#c;_N7Uj$<4J^Ti4m%cDuHl?bX?~%p|T8nmEBuy2}#nXlkE01CGbc z*zJ~81%ekOURFXN@qmPQKmwKpmWz=15Bdf?fRK>(ffvd}0^WE4zH=MjW@@|Th4!JH zo^!tMeCNCTzVCd;uiva4)L=1|B~@Y@byAAmeGsc3kXX&O>Q>RJ#O^ls_lX@VT8A~W zLhM8=wz?I|ZSBM|tLr-_k<_soc9EoGWy>m8NYW@dN&ZQ{?p?T)bclV=ED|SaG)g9^ z7KtuK5^NKIs&Po1no%UN?6$T^>PE?^8+%#CZ%-{b;*);exo~N(Aowi<6f1_~#8kmo zOu)M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2V+8pGzl4fg-Fde^hP&Y3uM`VXEc78~4P3uN54t}M$7r<4)q;<|8vZR4o5Sb+ zJ?@AAXbcY~wdnr36OPm#!6hO4*WjZ1?QxqcLPQM2?7SNGgS#=kKc;Kem(KrZcqVXX zf+nqw;Pho4c{GyDAMyg&I<#+)cnJV7%7_Ai{ASaLg7~5?#DG;BAc}=c&p#`@U}XZw zs8JCIycOx*48`@GNy5Tw=i$!5MxhrVyNFLg-9L813&Ztw5v+}=DN#N#MDe+Bs2oFi zCu`%C?dgxk6YOLM;O4G|lq&l^QA!n1)5#gN;dXvL9NvZ@e#e*!Y>9oviEwlRI|(p5 z)XUoaS0^mS=m60Z^c!f@C#a+%gqXr9Q_zuc0DmiC!v=G!JT*H7%%{M`f5ItXejH9T zR+%-q6h2KOM)J3KLQ!)4#SA#8^J>*&`k6!ZcXf`0%#rKk2i$P)gyU87AGerrT=RV9 zaWQGs>HvTirkSA|_R|bIJH5^2kDm_DNO9R>7Jr2*3>Bke62fZrNYsAI(ku}GF27WYcA#1 zpuWy{G(07`qYr5C81wSPRw6%huSA}eM&!BZ+W+A~n~o#7wNsduouFA0SR4*?f?J) diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionService.php b/metadata/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionService.php deleted file mode 100644 index b078f88558d9766d0853ffda74a0d0ecf24ffc91..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7060 zcmds6&2!t<5jRPFacNl$63aA`x-gyCN}7;kbv)BTQ4^4aB-Z>YNvUy%6AT1CQD`Xu z1wc8f$CqB)o_guI$6k8MDgQvnm(H}e^y1F67au$6CDWO9-vb`Rn4m~jH|roh@$K&0 zw;#WKyZrDY``Cs%;w~|Xqj{t!9-fKbF%fOY@+{pNh=;?YBjSj;^alK+z{)H zj;NF?o!iLjT0=)ClGwMb{(uy;o?Gyjbai_FLBS=?si70MaA@>;hS^tpny0DcGkq|0 z4a-!6{X9Doz|>B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Gj<0r5!{~m9_8lK~LbT&X#&p^8^GP~g|<3biziP;<3TRPvn z3Jc84%k(2G0jXZlV`Gz(Sz#X*VcG9O+)PqTpqcJZyTy4Ek`FqN??Y18PHfHSn{EbB zO0szOYxxe`p6Jg~KrVQ2b5dD$GbyIfRI^5x8;X|LF@z<5q+Uy(y^x3VMq61Qx}J4H z9Jla|EWqUx95lUjtYhm1ADRM0{yYx3 z+7K~?LJLnpZmB7vWbn<=Eswfg4;PCbzFlBqVN_M zZorz2=!PRk^++=YLx(WHUJM8cu4D~E?aK>PEMffRP$Iu;b%@`|L}-3Qex6?yMUF$KvmPI7;Y!JP}E z&Ub`xAFjU?0V;7E%VBYl+7!5jFs$?b)Kb`oWwg$4;PGHAbE0uGhQWBTE+{Pbrx@Ix zN+ndHpE3W3#e`2_{V;O!e_4-ieier|qe8dsL#gl^+`r(ef^u1dGDykpTvm)9BRTb# zfBnaA;~(d?*w-c;rM_8Fjn2H@=VV7s67%v!Ta+s za`)ab4wPM~PI%Z)ncHPNBuh&?COf MVT3;2Q+NvSKff4fJpcdz diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentService.php b/metadata/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentService.php deleted file mode 100644 index cd311d484caa2806f2265473d077cf2b570ff917..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7328 zcmds6O^h2!6^`xseV$27FG(B|g^shEOtOou42lpvJ3!m+*jD_vwr3#7tku)5@$};9 zZo1nO4N)#g95^pWP8^Xqa^}P(7bLi#<&u?lC6ptA%W{BM)m?29w|^#?Q*uZuuJ>2( zz543C*B^f0ISC?l z7L`J|eG^$7b7*Ts68omvACRotbF$u&u1@Yh$U4M6(KX^^5A+dYsTvWBja-$uYEO05PLXNp$UVnj($)U`2c4F$Wd}eT zsE#A%JZ-I!GC9!Y6T?#w@sBk;80eblxT=f)ysJB1-Oybf4g5JeWLG>?2M$5GleC9J zLvwZ05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vU=_VL9JoArE1YQ3%|Y@mW)lic|04o-7p4|I3NN+Zz@x$u z+&Gx|72~`zVf!~RxHao4v^)qGejkNf3%Eq6o>w3kgr#cdCCPTDV=AZ zj5s>}f32{4Z%(x!9WxA;BKJO%uW%VyWPA|Z0VkzAmy_P>F_w{jjr|w7bLR+$=#G@l zK6&!QKcdPjaCPV&;bZ#5w0lnO*9cWJD-fRExvd4l$m@`@XBuigV;#b^?eGP!LT(nP z4U+u~!dbFUGo=XObT6atd9tR|Ae@euAa{a~10Q%_r$(QW=;NttA>XkWp-1-&o&o$1 DGP2l* diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/BiddingStrategyService.php b/metadata/Google/Ads/GoogleAds/V15/Services/BiddingStrategyService.php deleted file mode 100644 index d91a5901393d2c9072cb4c3af074d923542dc916..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9631 zcmds7PjDMo8IL5}i9b2Evaw@XX;Ve%pCqJG>r(#6P19X@V{2kb9!XAUG3=~Y&-PMj zce}fCFr9GV0G(lm3tX7t1jBTO;l!OQhj4=%7kc27>4^b`VJO4*-rKj9Kp z-F@Htz3+YR`~URT9cR~pYxxyo5m)y~C%?6y_jgI&ac$o=>~4Omzr9V|ykYkovrF7! zKEK?^*BkA;x?F8v#i^d%cMVd`@7VTEmz4C5SK^QKY47znOCE9eOoMo(Ewj@xtsTwt z=~6rUS};;%ivd`Ak9dx5ko?NJQX{_J(S3b$h2d_>9WQvKPxoJcbF&rTE&&)_-ShGa z$8QDj!8m*fdHm<}x4Nd0_k7*QKQEe|W?H6i>Rt0Yxa-^bZN2LeggQ#Q-M0+iw5>dy z(69`0{YIW+QrZ_C8>MtRFZf)ife(zS}2*i|6w$@%yfI0PrY;+Kdol$lP6%bUQWOd%s*h*wq2b zv2$f>fAm?hV{WeLD8b#9ukVo2CpH~p6Q}rnZ}d6g_LlpoVR&StPo;cTx+byw)6HRm zRLHKrXWH)Rrmp(FbGjL_W!Y4JZR-?5p*w4m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a/metadata/Google/Ads/GoogleAds/V15/Services/BillingSetupService.php b/metadata/Google/Ads/GoogleAds/V15/Services/BillingSetupService.php deleted file mode 100644 index 678a8a8c5c121f0531ccb80e351ac02638cc73cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4833 zcmds5-EZ4e6mOEXYfoF2dS6*IiWkN0d!t)x4|(v@~CM{L#7OvkXQNGeG!;`olHZ{}|-F|AaZ))ePm6D6t7#%0m5IwYuE z6fHcdrFR7!`l4!sJZNgQqT`s7)ICd=H;f~z>jrh3q1(eTt|{ocoef86k>MEEiI-0& zw$pceu7eqjrVgiYrL7U&8IEUFBkhJvc9cEMum-cTHhoJ>T^v-Ty^!wp%>Htjn6lic9;om&V#lGuG615xCG(AB;JVVp9eP{X4=L zn0!*+sODEntEGG{J|axQ=_ln!<;ut9c!WMw^W|KrT!=@78JNyitLv4me6C*1ujS$~ zVG73itN1Bl8YWh<<(2%}8cG_K|BXNj!NjvO%w+juzf~;I)yO9+-f3G#ThUu-!)j$( zL}xI0D znSH+GkU>wr$89mSOq1eGecJ;ZS84K6fPkxUw^A?1VJcWZLJp=mNu4&@L`00tPsq1k zWJh0SYu91Ul@-7bte`ZOX{JZaIf!bF#2Ms`$*~vNSTXu-BqDqUW3+K~>_iNA-dQZY zrnb{Tnb;zblcw!}*G!2}fw-w0>>^6rbwyQ;j_xD`X8&zw{{qa1nqT!8vo2pTMh)J9 z^T!3^NYFGAQz&(EF&Az>ccR^6Z2Fj%63U{cj|#JJ23=!0bsT1}q_Id7ab`K)Esh9J z_&(iYC7%H1!+YU25DH9bUVF@Q{DCP&v6o?*=#7BV8Ll)|j0hXbW6CjW`T z*#T}4=HP65>N!cTi(=mY) zoHFKSLk8ZpiE8K##X6|_wsIB}O(Qbl=KCqMK)wLyx^!Mbq6u;WF7&^rDtkG)l6yJ$ zd&VKcEDp%8uu5tiWtEfG?R~XlJH{@t?95ZXM2ipkM9zk0+}rLM(2+o%0&o+UW{V6k zPVGnS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q%}Fzv zgWc?qkrRUR diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CampaignAssetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CampaignAssetService.php deleted file mode 100644 index a20615b3aa1e442e7c2a761dcf8efdbd67466fcf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17144 zcmds9Pi!06c{fS@<3~%P$C5?Su9r*idbNK-)!f~*rq`RykYkDw$zg`1yh>C|$K*(w znj)E*p}nf%wE0t@ZIVm(ut3qGO^YBw4hf0^MK3`QJrrNGm7#J%3`u4W_}orA94(u`Chk&_Z-sg@9Ph1!cqYIb@?L(3%gI-R|iwyrkKb@oV} z9^80)-PDW+dP6hU8|pz<)%V(pYMPp**zZ%cD}c6opqX8@p(XMap`=-AQ?=BcJmtE> zH%%{A;U!0=FSu5_E&fW3H-0yyVuei3DZ(7{O2XzRP?rP>1s>= zZJhD##ID*hHDq+W?QXB#u=GwlK?tOFLtA?_!FZCkFLgU8q1y>(locX06xdFoZD~eZ zZSCYVvtj66t7BBKX(qF$S+1zbo3&SO(OwBReK)bjhM3758{_SSW%M*}=ZS=&Sv{lO zXYkl%wKGhFU45sh;(Ye2mb#~9GW{v_S&SmQqie0EpzW&<^p4@5)D=jshuVd5^iRs; zaI-C4Yg_(l-0tXbOR9PQ6tsN%&_9*jZS0^pt)A(hhRkfkvbvK|@a=Yo=x?VzVOO$d z@6e$OPF470@9MU~^3A5JpLcM-uemBkH1rktpAg&}xzV+D@4#H|c5ts9Du(tz*B&ZF zp?fCVqn{}q5F0--(jQPU7sjt`V-W+m{MtSy1PPD^d? zr8>sm`kvPA65Mc5v#Xm!K$HsT7XANU1VeeA|90?do?>GP5i!Lc$rEB@ib%|S;xyQy z=;?t^ik~~Q(bHg(k!CVToXNO+G8tr)$rclJiXJRO^}`c|i_Hx%5w z#-U;zb~T?0@Vx-UnDA-di@YM;LA9!hs8cmX zDi^n-v%*jPDah)uX`Bre`Rfqe7^5P#^`~xwPrcA#k(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F73 z+k*Y{>H4J89^M=Cc*<}=rJJ^?n@rqV(~gD4YXxPT>l32y5r)|&6B~K74}s7}Hk~B8 zSnQCehmQLIkAIA-_}ebA?n@A3%l&K#PHZOp#3$CX`J6ex|8O3DZ6x5MTSgBJAH9BL zqkfVR4oPphgz?jrL*xHX?8PaoNb$*!amVdk;kw$@*I9M=o_%GANjtvkEE6_xx`G@E(zY8NTL6+KFH>iFy~x6i;=)1 zEWAoNT!Ru6UHAd<6G{N6NT7UoQ7PKk{#pl#JLAG zA`o#KJ`G;a)0k#NEaEnF!;vQoCzOCqKX+p}8>ogDDTh9OS_2rr!cdH2w%WgAXan|& z=WB!B#_hUKLAYG%;hjQlKzmGC`&<7NQiRczPP=tTfq#zsEm%h7Jbo6A)<720o1=%r+;vp0VJG2IL*6I< zEC`o|j~&lVMtWU3HX?F5wn#eebndK5idq|TiI&U4Oasx)(x^aB48w4K%-tFk944-i z3F~#d*FKubZ4%)ebRMu8QCN6=0#5*)enc%-36gl9@XByqVp8UA!19shWl2n13Y;S` z)Y6n~>q;<-gYUKMynH16j?>8Fr{FD3a_7}mu_1%N6-6dVOu?^?{K^T#9i&NQ!WCel z;ov=ma2m#)W{K1Pgfabq##I@(ad>TZX~-;0?gUGGl5m{e9{iW25}Tf97{yAt`Y) zv%dcD;X`{8=rl9;Rqa{(cmo)((KSus_k!^9i3ZgXl(0HX_KsOCu(4oQ6Pi_r{VnIg zF{&@-N2T_vwoQ8ywA+lZsZP76!Iv4Y5hm4X=UCKN+&k%Sus@2>|MLaJR_Ki(e?EaW LWbGcqV}Snykb=~p diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetService.php deleted file mode 100644 index bd877972218437be8361463373c2bddb56b980d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4660 zcmds5&u`mQ9A6yPZ7&+D3~jS$+Pv&nJBFhcCM2h2*ln6tYm+Kzhk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35arb$J%AuSONv$u)=(g~)+`6{|&xD>-D(&s1l-Ys}zMIvwr-Wwojm9At$)wCZCU?Z$32mi}JtoJd f-o5xC@Im-Z!tpadVR}PP_|Aa}hH?k!0HJ>YhQv-I diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierService.php deleted file mode 100644 index 9f74628954b09120e3343eefacb1bbc025e72571..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 26733 zcmdr#TW}-URV&H%SVw-y?U}JgGdrW{-R#b0H?qfL?`A!j-BnAnt&D7WC3$8iF?8Be z+g3(a3q3q*!UhQM$49ED6jc=bq$rAlKmkbze@PWZK`nd*s`7w9sDgql1>sQy*e}jK z_x3|_%iWsg2k*yD>)w0LeVlX8x#w}OKlEzzpb1YU*7Szn(mHxIv3s289O#K=%jg&t zqn_C9?(ONVM8!C4*6MmInMh;`iOoVekJgx!9qR3-R?!n{Tgrys(W+WU z+gT&zJE>}0e6p{5Ha`!l>EB80Y4x^_=uWoX>ozK#n$buwfI_39-*_&;ak92gHw|2_I|*~F zTWke!^>%WNj^1i$^_`5~uC!{+j?vn}rYkG^ddFIKR&wLH+te$=R@+P5;6q$lIWfjN ziB7AlJ3CJ#T6(A3YS;+gvQX`~Eo8H{Q`80NR_yuM@NQ7nlrmjp7F>xH-=Hb%Ft6bP z9+W!TzCIjax?a;8o#9|sYkIw^=m*+S&1m@twWdh$8(RC}W5A{w$Nr&;&B_k0NvGTP z55rb-z0+w92a#$t494|FV?bBL!XJ30CKxtVty=uKiktt2#ZrtzpM|f5;MIYj27ST(p8QiiNYdjiH#(RjU*wETX5w*$B{Ns6a&_s=o3-|&TVhr-7MVSj0PltvFz*HseCCKlqO(2UDzzA za+{@SNcpb-$SCi`cm@qkd2&$4#6w$wkEF%i_KmvM*iRa*{rP>p(PVPL6p_tZ+eKp1 z)Nj-OKN}3KrBc5Uyt+mbFo|+6$v@c_O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GD-$RJ`}>@@jNZq!!}K(W23SjcPS~C-}@7?fC(F)oN&M*FTyDA#_|a#D$a{uv>fo zDu5)|+9h$^L~}~wrnM>-U-bL|0R=8wS2^j@n>eDQ$|1~nyuj2q_V*OjJ*`&nwsi6{jiYTa zi4pV~-G?_C^Q1acYM5NXW(S z1|jakt|fjxmC&gWA2`XjlzA`fXo`^dDY0g6Y9JQQ81naj>d*h~7lN2r(#@0JGe$1p}v~hdG-MRSVntge*V#; zM`BsTd I@D{-T0#`x9H~;_u diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CampaignBudgetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CampaignBudgetService.php deleted file mode 100644 index 997226e2802caa560cc8d6d23da5d53fd461f076..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7411 zcmdrRO>^7U(Ih3=T1FBLOBT#H4n!xhoN>vRshb3f;sPWkv6e^;DY;FCQw#(?QHV(Z z1wg54#)o#Mo!b{2$k|HRR>dijLkMHg7 z+qd7l`1rAPWWilwlNiKSUD6Z|P6hXf2$pTSre?N6_lD~RftU0Wlf&@#p^?@5f=83W zzGayxqje!*bC-$@Mb;=AF0l=@-6#@Avvtcg?Og;FMSOTDY`U|0e~sNrsp*Hps>h-z z4)M4yxOSKHUoHqXal5wBBk(*V)rgQ`$Xv0Dy2dw&V((EsA{U}==%n4;QJrVw<4Ts^ z*j7=DM|D?ik?|2jekJ2{e5{(KHSi+0>x_>>SuC`5Vz`sxFlor-NIlj~dot85*R>|Y zkPO45_G=mwzN|)kAB|KuGvV)jqWcCbHJhP*ZlK4nh9*TV^d9^n0r`=xPK<8H$p!As zl;C+ccgMrYVo=D2;USCRAI#>H ztNWEFmFkZxsTloHsz~xSp2X>oT4|^H6n`Y-f5jk!@yow=6bth8{>zx{?Z!SU_Y!h{&QC(h)@@B#I2^V1_aHKAa`sz1FC>%yR;(<0+Js8u8 zqL~=54`fWN!t1`u}_r_agWA!MH6^0Xcc{Qtb`Gp z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@o>*b#EPtC0FL>IvpV2K339fHJ1p*+1Jw&qS)Q9l#VW!Px)DR{|v z>PTlDa87v05(QSe9ONSFGtn1khHw;%8R#k;p}TxuOCX0xa8I~gq&$^uuSs|-& z%NRH6I!3O2pv`H`VYH<2)vh%21Vj?ns zOjJ>yi#O~|95VLJZdrf+m^z3Cq7-GGr_jU!>1HtyE9f|EENJ>3oPeZMNj^c8(j>DG zS+FGDLc{wKs$ti)U3#*?X_0$?3eB=RQ|8AM8b8EpF}^`|9VfAhP8*zlS*;W14LA26 z6F9vmz;&>rP^#?7PW%K`laA+!c^;6q?hdzO@~&`b$T@Jw=3dSSD~HT`&wlysE8%|T z4f>eLnc&|oZT4DhQqm zm)qLf3XcQxI~#NKz+VTl-?H7hr+zM=O9%Ev9yfJ7F)6$|F0c)Ozb?BY_c6micyF92 zCQZ%N@CkQU2xSslBbVC~E-_mPosrA&#&{)q^SaI+PFqi$q!pM(%o8gWWO6%b2cdre Ds}K@< diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CampaignDraftService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CampaignDraftService.php deleted file mode 100644 index e91e55b7d9ec52e37c9b575dd4e8b579caea907b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6200 zcmds5&2!tv6*oakww95sAhtx)ZUV!OExRc=R-5SritGU-iqcpTHI$qt9nPQ-xT4UI z0D=!Ws;hRU(@s0Rrl(xm$)z(n^bgT7IW;FAdh)G3^pH#Y_6s5@P$rdIbdXlq_ujtG z-+R07KMwW-bX%!n4~KS)o67E?67ORr2>sZ1{I;^2?Cs%Dar{o;wsEK_%5qKFtnDb3 z<+Yt#z#92U=wMxG`F^X7%XTv=vn5#_Jbbqt;qbt9a8!2ePGGw&&uWJDUTpF28a)aj z&+gzTupO*ax6BP3+f6&R8&xW`VKgJYB&!b|zT4R5QWp?%+IAEvOI-Rg5zcqfbELpe zknFZyM~PxPhCg@Q$Z|b5cI~$NE3kM`*|Xab20^E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{2Qb9f>o*<8%5^5E@Szv>MNshZyz4eBE4LG_UswA#uj%jJBjyU z=zHde&B*+Ngx)@LG!}SjUe78;NUYe0mzFgi$&m+SA$~zD#CUwGI_SNHqX0a)aGC+r sv7mb?z0G6|7>)&yC1i9*=m??z1F&vR$N&HU diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingService.php deleted file mode 100644 index 437f5f69276b29fed7131506fd065a3ba3c43ccb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5900 zcmds5OK%(36*fs(kHaWtrm@YkZ9Hb2STtP_j4x=)7U-eb`}Afn^izHQiJaWB~4C$4DN6UQ7AwchH&NBI1J@vuII`{0n3VOQR}LTP)8YMh${ukKO@nx4L!UUhIkGhJOP^St zXV+DY>NB(*du83wCsLh z89v4@QU%pA$l4t-v`J-eIW{J4Q{(}6Xf832gNEf3*V4y>8u1L*bbQXz_q3Zj$%`T8QF}3+cL>`*wVe9OVV^z zQ!8ic%GTrgwPeQ}GHm54`zx;^ox>#5a~~epMQ0b!-yLznIRp z?>iUMkS)umAhfLutc-@oYE~f!`k`sN7xURA(Z-!wZ3f|Qe#eXeD-VY;KDUqt)?!Fe zgx-b^7T`hR{wG#2@ygRZ?>}}(xY30-LZuQ?MJXnY5|T!VDHT6Y!E5mz?xUW9wu+ym zVD-dX;RGkBgl3Ns3;Bu$is4BT7VHH+7UA3k58)`eZEW85Cy+&VYHrhKm z5UzpH>vwmn{oSro(|YYjr=#?9St`|3t1{Dhg-Xd=Ta9Kz?kigSepPr4R<~8OrST}P zP{)lHjUiY0ZwiV?y-{+K@>CH{q=R9;llpNr%I?S>>(;1byQA`mSPo?)PSK9(&0uVn z{0;W|&*@BEmj9Z5qt3{;gp^wfAL$d4Z;6(~d&&g{jGmA2Gb88$6MB{|hN_Z;%90e@ zkt8%ENla*Okp=hwo@PKACG`{*TiL}XfqRB%hK)eAeC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JX?^hbQ?7E(0@fX}0EZqWiPq;LuVgWBoO3$VcsHKcYL<@rSP zufUMt!_gBj7}pY)xnvk5^y4wKA3`qm>^A5W-QV~Y!6(7rk~;p2iXXiW@ztV_t-Q029Oiob*pFd&Eu!KF0JJ@%Gj_kXKc#EtYEAXBp`9Ti zKyF$Tv-Dy|cgRbVwy&G*u4B-)b_NTAd29nseBr`g+G;}xvYz}R3M)fJ7t=7;?NHH(zNu()YYEPqn!a;3f6_~dAv0}bja@UB4_(3nUg z`TGb?Q3nKMo1#2CSC69*aSP@fJgSp`{-TCi`%4s-dp)hjUT#Hvl35-+fh(RePC7*` z{Dvn^nd+R5&Mce!@MnMh$1kIIlkd>CYaT34=D&?weHk!wNKKK6-1@tGk>g+rd@JxM zH=!QMaTY9l?CsY`Ut$GyfRBQ1CY^r#__6O8ShukXO7D6Hm>C}1PSaIBkHYm+( ZTkM_u_&J;82D35bMV$gNxM%PT;D3r}9m)Uz diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CampaignGroupService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CampaignGroupService.php deleted file mode 100644 index be794503bf0889ca7d9edc3654b49ead2bbfd940..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4688 zcmds5OK;mo5RRzCNmfl_FixzfK}xH6C}~Q;Zi6CpoPd%Q#YiL>vYoyJ5Hz)t*it0R zhYdIIrD%Uae?W^~3KZxs=&?5gJ*2($lta;jZ|$+C&MvvMXi*D$6VD zbD-*4zN2AD=vr3Sz(uv~7K0^OZOz{)y4cy$HS88OwQs9>*HpTW<=aa5yGV~h$W;5- zwN(uZ)zwlBdum(t)K-;RZOLsnT$0t(`8%z((CQ*WnxVR`P!6qEiSck3JwpQgv;9p& z*96y7J^1gc?kc*ed%9}qpTmupgpO*s7z_=|c6?LwbjuWoLc`Q>;ieGSB(hg+3nH{6 zFfUh0&>&!~71P6xsT!?i>}rl~dzP~bqLS3bUKDEbOX21sJ(XC~J3=9FQIdvy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WY)vg51C7_#tdGK(JOHV!To7Rg`} z)<+y=e4X+A$LibnVSPl!XKfJ%iBd@i2l-Qoj|zj~eTNGg74E$f5}CE?$@vb1{w+w^8v&aSaw^WWG3-5ycZR;o&fa$GNX=bBlS=8rbB!ONjTiK zDX-$#7`DuwP7DsGNxHz27t*ZtXXvhIvzBffL0o`2 zDl2gV*41FHBCf-ldNFYjlW-Sf|AZVsd;|~F>5*T22q|@Hych4nZFNFm5tm?rI#@i) zkE8G=MyK({?K@O)Gwbt&v8hTfu;TUB=gegyjZ0o{^=Uu#pS%{kdqFkinrqFg8DDv~ zSjTkPeZbezH$gb(1^>y1JmOf;bZYhT4MwD*=5I4oHy<DK$>b=G6=NM?9q8@2Rr*G+T;$9Z<_RR`L3IrW^2{3o!9Vi|1}Q_s1&_k8@0 zScpVL3u_doL&j5o8ikSTA^!HUPFU{u==KQj>GqcQ65jfrc+&ot8d%KCH!U5{L)p5# z_pS#!RNLY`a&imb*Srz-72Y6p*upd|`0{kV3-gwKVxBUNFNx{PmD`0k#AR6Wbt3i0 z5x6&2yBO2)+Sg`4+Ny3@rbT7GyvKVSLDfyO8k?`e0&)X$5!+R|4?Lhzw)sjIz7Lc! z(nAi!57In0b1@Nk_I5}rkU61FD-(J9AA~Ir50ij*eC4wf z(kmg(-0hHBxSgWE6As=w#;<(r%2QMJs&yRcO?JkXH% e<$rth4*U3R@R=HkFh(=vGdT*#;68`X0sa@m=HM>? diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadService.php deleted file mode 100644 index d7a69ab1b44ff130f62949494de5fbb7f745cde6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9309 zcmds7O>7(25jIK7l7{--$TBVe(d#5uf`n|81}W$|23MkfP+JltDn%Oti`DW`+JxjX z`(r~1eCefa&`bZ&0=@Or_S#D?MbFKpMSJThhn#{Q3bbgiotd|P6uF|@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!fE5!+#16ye5bDeAytP9%4edpfXI9I%&8_K<9sqinb{M>j1RIU>>U27 z+PHg+Z~ShhTz>N8NpMQ#Wp@PuCH{@VW$~#mz@3ZU+QdY`KR5&kui@F>AJ;5vT&r9Mz1R-X( Q%pre>!V~4Zr|=Zu-yP-_d;kCd diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableService.php deleted file mode 100644 index 8d7db40ba2ee26a41bd7d5938a0436ac700c8766..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5122 zcmds5&2QXP5bt`^w0)~KsY}~s1+BA9o3tukB~_7d8Y=Hcw%azlOR^~+T4WsW+l|4o zU4JABRSs|f#04a{a^c7yz>R+(M>rsHp$85qM~;<{nD^}GY#V#CX?r4v&67PdZ)VKVA8cHBa+B&&^?n*|p;8@h(wf@YZ;*l~5sR5ai9taW8Wb#!&r zz)C11(rpnk)phLJs)mJXv$%*owWE4!yGnOx%N;jdlGTHmo9*RrhdG2aLv>xD6zx=^ z8$Ag32?fz3B*35TuNt~0xSs04ze(LybW`_q)zCkMM9d3a)o?M`+%MbpP0fQi1ftL| zH9UP)2y7DBN!xCWuN>4|~xGkSEhu=jg7) zn%)(r0~aM}pO5o`=lHmPb3t&h=R4+}f$hjtJ0_cva|=2)I*Y3Ni6reswP$6Zu54}% zuO-`h`@RYpTwC_k9v)tC$=2GS;`#3II#GCKAMg!FHoPkFvt;Pl^bV&(6IsM->V|GP zhf}@ddG_HnWYe?=el7D5NguyUsp;d23KU^;>nLFg3PNh2w- z{;}z=y9Ead8l1!muz&|SRlF@52ldWh2y{hY3^C#k5x7I7x_Jwo2Y0DDR5sCWfpP`x z=3D4Y%qxBjWmf9T%}S}ZP^*;3kMQRZzf@UntSpr(N?l&8D2@94_s3KGD`&5 zBr3EzN*%m`z8pady(B`Xz71q^TBJiB?)Q-EM82kmh--NhT^KC2|I9P!*h>9gz42}x z4*D!QEtgug2Xd>{s4MkKr3|>>c#x^o$?=!R(>y|>O?hP*)+5D#hl9YS!A|`@(D2hS z6v8 zZ=#b-Tp{yCHYKE{PZZyJEFXO$-#{~g***$_@)Ust3W*lS5T|#t9GFQL(~spee;SQY z%V}yE9&!8`l!hjk9idM~;R$TVKSZOXqx)|5C_Fzks~$i!Vv-9%Hzf6OfCw+6Q`RQT zc;V!Qo$M%e=_>gBM81S3lEbGH6n3PqQ@ipPspm=5JHfaIvtQv6TPk{IyN^Sjp3{h2 zG{Ws07D2Q44Tr7_WN3EQZt?Y`?6Km!7sL*Sa7e0-_Lz%SjIu+rjiKx%Rxdk@krQY; z65QpkR4ErHPFLaDIhhVvz7xy6!Hf|`;`sAu%vK$8r%}49Zukz)5^_2Y z?eOFVTy)@Gg%!&*wkSg#=RZbg0m}OawUDUpC3{AP0ui7XH>Sls&ws|DiKNU$Vekc% z@onlRITPxAW;VzCV8&SMl}aRTr|y@*;`DukJ@2+BGV;=8nmv&bly2a>;(=` zrhj33#SA(Top}D|6lzZ$2%;dT{0ut#%wa0naV#eclxKkgQpKP%@b95x5TtK-3|mzu zv_BgWwg&qHM-2Azzo*dTFoOJIeBXWZIh*cBD3{zCUd9p4ew9WSlW@5ld}-i+;Lydv z(Yt)@g;UM=BX{>@mk+KoTxCbj26Wwrvv8pLRc=qM!9~}V3Wd$h%`h~Tja#bktwGn?w49Dx{FXzP2ex?z z+T!E^N5-0cEpQ8VJ!G?IJI%2LYxNV=q}y4D7Pz2=G6|iY$?bBN16v7=p2@L3KNVfW auLs|O_CD8;PNi!xUyP_=Ah(US5&942#{5(O diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigService.php deleted file mode 100644 index df82e6fc712cb1c90f388df206a6d70b7caf6edd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4844 zcmds5&u`mQ9A6w*w->e*?^l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?Ce2xial+VL8K)gX__OArWO-jtaKYGkb&oSe4bVVJWANw!FVbY#E5ryxP zXm(uHG=r-%{}YF14-bjUSK~|L2zg*lovFPjaY5l^wXc8s;}N%*Ez!>p3@?VK|9y>5rZ$|~~X39HqI)KfA9tjtm$8!6|2HZ7WDWBik+6rA%*!rXR z-UiH(Ez9Y;#cw%uZS3%6Q7z^sNFy7;OMz*i`G_N!X`5pQHh^a;akrml`0-_j3u$8J oFQeP#t_8AU#xJ8|)AvSnqrDw`=-B%t5&KDm5(aeJXd9vb0NS;s6aWAK diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ConversionUploadService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ConversionUploadService.php deleted file mode 100644 index e87a8c009aeb1877034fc6eb32459a3e351dd0d5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11127 zcmds7%WoU!5jRQ6l1A3UYuTb1+o9JvUOMbCACwrFoX<dbumq?RV-q=zPl znED>`%{Mc@d42o!Yu(*0oGY)0j&KZ5G|Jn1Wp7uMyN>PIrrj!U`^~0s%BJ1!S}oyJ z%H^fo9q_k`nG zc1QQSE!$}5!BmA$1LzoS;dTvElvmcZo5C|1hG%T8FyXCw!wr7YuQx7U-r5KVUjZ;% zhU=CWqXX_T{a^un0A>8I>uDnl#tL2c#DR!-`8wTEIcf&Jw zM6DKIDJGG%F}l@~kA{N67=CLV&s=O-qT?NG&vi?*8k*QO?pd~Tu&t|}*FD&ddZ%NP zW!N2e_>GZJ>YcsecirilTPS_cKfp;O!#g6tTBg$23}1ZJ3XHDaXhb%49g%w>G7GY@ z^YDiPyw(@8qT{zycom&{mScC?s6(A5C1RB`l0pTcUWq_oLC{y2g4%$SF(#K|8p}vR zU4i47lgbQC-o3T4zPz}0eQkMZ_K-3OV|Q=8e(Uy|w`Oz77!>O3>$7?K@#eBNThRWM z0~P&Kz(GG|v@@Bf5i6|5_1s&F!F6`*meJX%*v?LMM|8S`=g_BhEjPo(@olg0|9_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>`+;|I02`%=-qo5P>wg1#F z!9|%RC$cg8ilTz;{_0}nAA4v|!Ke(w+_F*sorCcx-W*GJZb^6rY@Zx$3Ve`CzRbwR zhf)HCr_$})sK3{;QCO*Z+O)B0Lgt)PuE8j^ja|%gDb;>VJ1&vz$hcUc9#QEv7@>bL zvw^N-H++-3&9ViZ>>blRM`@LhpP1=g2S1pTKwtQD1m9sv9oHT_Xc diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleService.php deleted file mode 100644 index e98400f5c9a027509d897ea0e5e0f0bfcd3bd577..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7899 zcmds6OKjWN6^*3CNv&{jmd5QSUf49> z{k(V2{k_ZYKCyN!c$cpcgV>5o2K@F5-rXgY zb#zcgKm(ruk3W{Tt!papxQdH^-qRdeGc;FIbnRn2{$qYe(H(-~#%XsvLv?ZYJY{GZ zDp|hI`!Xr*dzOjjdd!D=ZBq-P_4;+gCAOjH{R(kZTeDo#ZX>B642c`roxWMVzsj^y zY1$6I>~B#J#`gG_cWsZ1D(88dxSnmq0uCcl{Uk$LTE9aA=!Ez@F@F+Qbfl*m(FYC1 z`H?U&uZS8q6tv)O*HwmOa>huhXuO!5t7EBsROEWj|_$zRrWR0o{sgI>sr%s zh=yTOH#ChYb{W~D;$g%h?{qrXbd4BpG7od%Z+xHy4l51@k$*nL;9rhhihAfh_$&wC zNsW49czYQCah#hL%`muMKhn8dK5GfnL@7!bB}^D4##+?jMijxVkhh9biyh#`SGakY z-E4N-)wTN5dbP4}j+=#xo6YrR>v?k_!(D`&Sg9;zxwqg_V{@ZdZ*P3GkfX1=)!xE+ z>0cQrVvY-TlC~*naa=LOqn-KQT5z7BsVl~?WZJ{>kQf%t0%1b5G$$cHvg59@-@nV| zYNGgQ_EwGMyAo!(lK)7bFyED^0i2_dpwBYmNJ?ZmvCoKJW{W{3iT02dl%h49@m8isgXNj4rz`EHWXQ4#cLbFzy~Q(>)YFgsYKN08UW-W&rwC4r-?Wx*wO=Au(m$R9Tgk_Y_y%od(@sWMC=Egf(Jr z1dW?cF@B6 zRw%qZLJ*$YUn+ij1+FHP1#TU#gp@M9l;$&hX8E%8tuMt3uf!5O^d*jTuh`v{u!Srq z37dzkHppjDLQcwkDdxE6Fr%=`WIl&4XIE|xnWD`zD;h}+xFKIS_d{3+n!;G&1*WilW`%xJ80#{CQ@jCQW3UB{waqYXoil3_ z1JSWQ5$4PToR7$==eXt`vGW&E*JbHG0{KdO7nagpAzn!c3(pL*Vh56S#qTh$h(dCPI@!U%NH2sl~V^^=(+oIRp6}YfZOAzz!OySSD z>gpQySwAOo4Ys;k&I386@$i451lE#}a=#K(`7zt{jt6kG$YC7vkv^-gpEb5z{OIcN<3|Ibl4gxBvxF?zWgJ%iWU$aTDn`keriX zj`6Y?2ci5~hRuUlV*ei8Np&|WfDQ7HNBH=qcraxFsD-)1DSr|^%G%&?WGEV)n36`Y ziKl=;x3W00sEp)(BAbT(g0)$fuuZv+ZaaPfX3fzASq$AS>H1qrcwhWe7T!s) zS9Aid46~lac1S@8`m;i4mk_5?G;HVUFr(T8kHm~SyYlUjcBBi%IU${);wk;hL6Q-l zoui_B-K;d8Nz@w5*ksS#C(Oo|rAJe@$Is45vm-r9@egGUD9bZ;TH4o{+Vtz0B()7^()ER%5q=iXS6F!PELZ9vs4gvlPdBVPS diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetService.php deleted file mode 100644 index 1f22dccbc26548be2a9da9904b83acd2d9350f4d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7602 zcmdrR&yU+!d6Tr$nK$i>*WI>hD6O0AkLju;>c9%*GOX;xlZhs=)5Mw8LROZ?d6O|@ zY-2k!lvO1_zzu|i_y;&}*b{K$%&lAy+&HZSr`|vaM3E5Rd;Sqm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PH0PW4{|ZLr`hLsLULYFo(mV|86M>jg>u0oeL_6S(Ga*VI6;*mRvTn7%&Ib?T_GE= z$}%#`awJEVQIIS%qV>bfz>nakBuqEru$9@?3#?d>zPrz?KIzUHf&+3>BQT>UJA)gX zy*Zo3vZCI{JPS0n%f-dY1N@Ry|Jh$g&-PRLZe;W4Bz!zzHV5cX4^DT6F6zz4AoiZT zA&)2E`0U!sYGtve%*~a`rPW86&-dV1_+zQOS}d<(R{!2#R?qYr@NVSv)hOJG%_&Yg zY(VM(;IKWj0cRg{i#RiH)Bl-+ms{q2?v-uiH|SklTMuv5!1&DBHUe&LaFl&M1Y?~E z7w6y@C#un5FP)GQlcQ?>r84|VxeC>ZKw8`NgRq>#8zA2$=p+b6J$(eZlWOv%l3Y0S zO(G$F3Ww?N5!%SakFnzo= zyR^}t#WbYq;oOLWMH-k&fvPOQNN{nx=@BV8nVPy4uayVe?NSk3+wzlLr7=LzZ|iKn zCXSnb#vf}&eJ3A$;d6I%x;N(|kva@XBvwaYn5AAFgQK-J7qdSky04nRO7RJ#0*Be8 z!b)arYAxPrb|dz6I40nM9v1e~FluWKRwgbetcXTgWvNF2YSDrEl>k>>JC;OoS5I`7 z7>B!iVb2ddkVKNFqbEL?gd;_t!DN{u&HNclEnpnfri)KrEW!d=fr`f0sFXl0x}HERJCGDL1*1_Avlg6>$%SiUjEPu=5wyr} zdOY4U@uo-d?k5tP0HtI#$i$zDv;D8U>jT|)Q@;yvsS#~qU z7fL$l_O^lxr-fgX>cl4Q@vfZDZ*OmhZfJa#(0p$bcfD=Psk`de0$hGAmh%!&Gkp`l z5xo>**T9I*@_qc0@G%;|_>2`(7fvgxb=X4y*C!%)?*MnD1doPFR Sd}Zi;UQRK>fNlqN0R9IP!v{?O diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerAssetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerAssetService.php deleted file mode 100644 index 4b18d5c6ee22d5d05f97c5383e210c195e56bab2..0000000000000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ySuxQD;hgJXo24YEZ?==wx@i}p}VIJJr*(LdP*wT z=vxWR0c|6WKBl3}7Hsg{s;1own$bIq11_RTnR|@xh`SrgN*Q~Mj!nJ$@wM+^`0n8N UmQRr0&=cM=P{NRIAMGRbFObhor2qf` diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkService.php deleted file mode 100644 index 5c9854422207979a29b53afd06cb8472e6ae40ed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4023 zcmbtX-EZ4e6rY_fU2hmGMq^n(otu4iV{=%iA#mxCoup~lnwEZS5{eYL&TV4Nv5l|Y zYD`5M5)vTZ_z!p-|H&TVZBKicc<2kf@PdTI{dBX%?g;BcdJ~`XJLjHre&-y2@@dcy zz&W)6Js4UM?5bN2)Tj^DAoL^O_FZ)=-rk0xYWsu0abc*bYHdYrt!$|ET61Ftt0F%R zZK$g~-|xAwVs%l49m#3u`ppW0;f`ZNRIy_e`2!esY}bKa)Nvi}euqERs6hZcYXDJT z*-&k)n#(YjVh8x*^3bP+$2)7|Sg+v^;A9st|55K^n$MwOblgDr3o@DQl@FNn8X z$5v5fMfl%&2X!3Ji5$yyzQUJZP`51?L5wykyB&LWz5c*;Z$ni@HAIwQX2%O3`X&0R>PJ9MZIx{37)Yzl)Upb(RHe}^9a6$-nNWU*i zsx&)k-gssl``fq%-e-VAMTnE2;Y3$buo~bbpC)3u6elR!Wr}tV%)An9>Bx7Iq|AVm zFA&4&7LQ|~oSA!O=>8i$sEr;bFnAAHEcXJyQWwVqgnN`rAu_ z<|LTtuv?hl%i!Xn#1!dA=IQFlz!vPh%`%6BJSIC6^!el@Sjzd8!qPQCm?wgS8B9$C z_vMQXO1})YCV~lL|0#ePyHrX~8DmXScu}ViSD=*M6NWHvt%DKDNqc(eDJuj1;5F!8 z5-T9>Pk8s?{bGRk3*HbOOW^Esj5!2H)4m43j3J7YA}EMD!==l6116!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PmDo5%6R{ZY08-5NM Re7H#ba6$w_xoxlwz`rn>a`^xN diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerService.php deleted file mode 100644 index 16c5f4d48c273c3aa958b2c7acb98155ecff2f57..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5849 zcmds5OH&+G6wdSj2^V9gIw25Dk!JEDF_}q7C6-OV>K-NoCd^O+Bx;Q{)%0A3wubJu zA5fTLW9dRyTKWrIX6Me8KL8h2>CSSIg$s+NWw~(Wxv!oHbOU2{$s%01=W*{j=ljm- zd;cAG%|#cL61K5t1h}EBY$?GSR$R{s9MfqjE8*%Y_7u}ucdZuoa*8rjQOcDir8qOU zGzO}^6M80Am8Rn~TR3kt{5)Hd)yD0+c^`WlmWlnm8Tx^Z|0~!gluCS z`>tVPrL>^W1N(^Cek5zJ0g0$W2coWVQ_7R|?z(`$;@-5%d%(@Xrlb zT9&E!ff2xuOO{`^Y%8#g7Kk>KDP`4Y`53J2mt75QGq4<6Aqo}S#N*c#W|PQXavg}( zlp>D0K*9&1tIgQ~_H3h7o58;6S#IEX3m~ehO&ml)Cx02gHc7n_Yu2hV&W@<6`_4F} z1YU?cohyomgV3|v2DT$pwYWICR_&1i_gPyEj3!pq_LbTu;uND>&4f@a5R9X%YT&cb zvalU=r}MzVt%i=*j19~2x>KDE0=GL2&9)s<8IJ8AT`>xZW^Wx`tLmCHh<*@u;fchs ziaFk5lSa$%=Cs9&PHQxx8hZff9goU_RM}PZXBtf>!WP@%y1*=jsu2X9wGsxn9&EXo zAyyt``Z)l5E`ogyV4tJ<+0RnwjW!rHVPXj^6v06jqoIUt`4k#hE-x+=3v&@1%4| z)1FDACCX|!;IbTBk`=I8js(Wv5dt;JdmY3_nXg8LcBL#+RaH<{)yR&jf+1C`At#M1O^oT6#EH;h(@>x70v|A@(Mp>yp3J|_CC#K|$T6*L&Tc}Siijm5I2 zKY|L7NKUK8`O0JXC9VH`w49E_dVMuAx|2rgAsO|cp8}uZy6FHb*g-eob3#a<#ZvSq321%i4UgUMW9%AK-fiW#*TcNM7q=KO^aX9WAB9F|J>Y zgnre7?j!Ugh%Yvor-Tdl9~zRE0QzfGZ2d%z;Eq8`Hb z!zm>-{`$n?Aq1LhtM8-wq&+?TT$AK;=rteOi`}eK-Wis_Uq9UEeZ6>uVU1W9=h?_}8%>DE61DG2SPDgOj ztX~+gd2wVDizCt=d8yuTXmyR8V@IInC!F%a`#p_hmOSjWlPJH7P71*~`7oeG*stGt zuJ!(_-9&FPgB_Cx^xhm~D<5NP8J#idx50~}46n1dpaiMa9J+CcRiYo&w%kB{tV0f` zDL^Vm2gsiO*a44@9fE+gJcD`}Dtf@lz{IU&Cvbb9h`qKbj?~RvE$A+2MHVvb`T3_} zS+^S7dGSjj3TY(qVtk3T{)L3Dz`>GFEwb$Ed>HI30|DcQyo9@kab$fmS_v@o=_zIg zs|rxTp4Gv7IbX1|w^G9SWJidpe> zmWp4+ABWfv`8FEdlh8W$JjbIq8<>!V z2dK~-`^?Gym_nn6SS`i(w65bMFQU^?iL(V^UVga$nZSu%NqoU|7Rn-fWs^UL-K6XJ zazO+nnTB$S+8nqeGcRX^l|%N!Pk;U68)-WGHhq5-VTxK53`kaE>iTxfoZzeLlv~u) z_20C!LKDPqL?!8u6nC^?#(5oA<+H~xTJ7o@JUsboKEJuS$*%(=H=9h1Fjxb!-*mi& zuYW0_%Ln#FQL6fAA?aOHbjLZ~1G?^x!pEdoh~79>N*Z)|J-`zMmq}=iLT*>O%xooe iMjIQr3Y`;p9R$!SiucB0t$!();g#H7wBmMRO diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingService.php deleted file mode 100644 index a0f7a117cad762078a161d534a7169ee485ad2bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5805 zcmds5&2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ST14Y;-dTwaW|*zKZ6 zMioG~ESm(Ik1X6eg#QZ>!Wf6`eIlj6DXxxAkF0NC+*1t?58dnuJ_UXk{}!*JE3r;T zJ1m1@74$d_O$Ei7Jx-l`Wnw4ymFCFXJ+Fj2_r&e{38chs8gB6ewp5MYPILo_P8042 za--0Y!0$*OC(&~Uc3zfzS9&TgqpZYNgRnw?j@XE!Jr<)CYsg_M9n+9otm^KvejC%2 zBf)#g=PI<*#x&+gFlx?UWYEjOp~jSbc$qt>>i1swxC>!`c2x^Z7i11(wsH@HWpYn4 zpMeat(c~O5!MR;;bvpQmFCKtHa_nAAry95fh9oqEi`IX(b!@#zE_%Kj($Cib!MYDm za2&wg7JkpiuE%9jdKb_`DuSv{a&IAI+2n3dt_Z*TwA;NU4@t)C< zuK-XSH?xgC!Za?B5wwnB70<{D^9cQBlbhB>`(lgaK! zFB~;!fU)6RIY#US4p6p#aC<9g%E3cxE6BvG^uqnMqm^S)8qG%7$$ynV-AjkUF~|;g z4W0Q9EL7|`mP5gjUf@{B0P}_5O3%HHrXgJZz+)(_Froc%jZk{9KL8f6m;W(=E>0o{ z9dc|-zs~@2Z=+mPl%w|I2A`rHMzR+^N}=;{2yX`;#kkLs=={N_ce&~Vhng`_?&XJJ zDnLpZCw~r`VPOX)vzlb zd2C=iEwTk08ZK1gZt)>n;36N&#LNs#?q2fQz*fx2z~tD(a4Gs?bT#;7Ir_3ldY++= O`M6011GycvgV4V}ZreTp diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerFeedService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerFeedService.php deleted file mode 100644 index cc82791559a31eeb9270b3ae933acddac7c9b54c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8364 zcmdrROK%(J(IoX8y{MICGmK-e={Q!5gsc^~HK;i5F1eCe^A(bE>O{z5MXsoAs9k1v zY1a*WXp=+HTTv7}1n8kad+4P-^+yOjrMI4P=*d8HC{Pq|FP-nTqWF+V=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alYO>OQ15Y|- z;&X~vgonpZ8N8g1&NQ3&;AemP$FIV767SIGWg&u-N$&2=o-~&}q^d}VZvI`lAaF42 zy%kuL7uSxI7z>tN`sQWKS6Jj6;JcldPNg0{e#{L6ODk677#;rrGs9!YZFuSzVYq&3 z`V`kxV*|u4l4y=6jIoobpuQnKL<+sSHEb|Y<dnkOV5=ME<-H cyd=KGp0bZ$oJnr5>H{9VDIkM;3Qqz42g5G}EC2ui diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerLabelService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerLabelService.php deleted file mode 100644 index 06a45dd6cece7513e27fdda3f0713365808abca7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3292 zcmbtW&u`pB6pkGd(pg1FR)1_l1(R)?Y)Y|}K!xfwDRz=>A{r8<6+*DW@_J`?EjhNC z87B%=E(j#<`~!#^{0p48h7%wzoO0llTdzGaGxm6QlXbgk_p&3;d*6HW-uu3p`w!wy z3~s<03K4cGYQn}Lq#Xof9MQ;&0@z4eErg*L?Ztk8unytcHvDw^30z;>d@{paNt9p@ znXny2?Eo2WlNjleul5)28U*2e-$TUk5<;Urgq^@`puow#>mn2Yp}U7j?0N{+cI+)g z-KI<3dQG6#ttQEqeD&GF-TLDUbqN43a0!8{8Tum*p6!CC0J2}4Gy>m)gu0ad-Smm$ zhd%Y)!2gDwcp0|bfFK5R-nNy59`&OTa)<5EL)CehVshJ?al|UL3}u!(ylAXo_05nX z9J)b$4G|CfF^%vJGd0aNqIs$Lm+JhIh|1CY7ObWzn&!D2mm$Ro>J1JdMl``;7vLy| zst+n*?AJFajZL$AmacD+hZTkqFIyCni#a~@QP8we$KCfMd@WZ?~{kK!o%Ucc%)sFF=psK?8aW5Rf8r4Ef8b){)(Rsoz-mS zGxm^iwwjLxpRzgd&lvcqkgPb%?krnVmTHyMQD@xNbC&Cj<$CToJte_o-;iHZ_sSnC znC#=Jwhktxjl&h7tU#rD$<|M-vFBD5%yxrhtJo(x6C6wL%{ph54FaomyWGo$7*2lo(It((#)|xjYJB zwkgu#J9Y_Na-^v}0mf4SwZBurEGtFUh!^$5)>eDfQ4H^n^2I0V;TS;RhHX8S)cfepM?qq1ZapX+2%?6;o_|SB}=PG^z_-?-6#P>^Vco zsXCiNm?i@;%^c4(8K7zAh>dZP^atSg5?E=!);hce?_a4*B%8 zo?TDKO1ANC&qj;OqtnRrF*7J;P7aD=&)}CtLQZzV< zTi{KWd=gOEfcw(uyu#)U7?1>G0t2ZyV5)FavjxrwT6j^(%X5Y0ngJc|d5Q zt-RWS#bZ=*pBG1C UQswIBdjp=x!Z5Wv0!IM+5B#TWDgXcg diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalService.php deleted file mode 100644 index 494888f60a378d32e6d1c3c1cb293b3cdd65ab41..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4221 zcmb_fJ#gGa6pnNgPrN3LLcrW)68W6Omk@L$AyNML%AlKZE^xpU0zMtRhCAlweUtUE87C2o{3tLt({2|hrXOv^B*2MfnoFzZ`>Pw~)uok<8BnEB zn)ui@dr{O2aKr1+hB#)Y?Tc3$6erun$F$+6lto)OX$Pc>{ri4^+r7vO+ET#cHW3QF zElgw2$7XZQy@i?A@tD_Ya`=|hq4JoW?p(amT9@$i2>F3Wsktc4+*DSYU_?rx2grn9 zoNflhH!1TN{GBGWO+vzm7m&{(1Pf-@3n&J_CuO^7=ra<9W~Q(j`nZ116quRp={SOr zEttyNwJeGd!PZL1a1we!YY9_7Au)@RH4wG!9%gy$vnTa)^W18NM!IHQxMmQv^kaCJO`ivhtQdv=}N98bh8kA7OL%M0tZcZe(_ zr_;%+<{GqRJx_F2H*@G=1zjoaM`-1(C~S;2Ar;+coDymlG_RGnu?1~x3AGwS)se=! z;{_>R$BdD%M-2lV-p(FOYo=D$mJfZUX@-f8^+~VKyPlCP+!hi#m(W1MJ%T30L-!^0 zV!J@t{YOKy;DB_g)I0ash;NjKcTM~Fs=QS%3cRpqMMo|0&Bx*FmuPFO7=wXe?#W!naI+s=_}8=!1k zNNrAVFE67q{GKx)PotJW~%x+B}6vQt_sLBdxcrj^oGkR!mN`4R^)mM}oAfVL5 ztJ+V8(eXn1HEyA!O17O5JTH(*_svJn;m6MFXsFf%I#{P!$u)}MzSq#JqXpc~r%MNS zIh#izOcqg>(^;`iUGmE7M>$8WLW9;wT`7^J+>&YlxAMrT7zwK9-gy4Klu#Hh;0~X5 zy!r>8Rk&yK<(@$hpj}5D7->3gv--P+T653nrEv`%!=DkF^=vzZ@e9348HJow>XYs{ zxWZ#+7R|^^446RW%o2^z)+=wv~+4nyi=LfZbm^U2udV5xA^#shV1lg@6wa*PCq zx?k()EX1`u=y^G~Rh8@!2t_P6WJ8TjEV+UC{G{lm)-0o!+p5j?bSYHAFuCBqepaBB zkW4O^^UMz~pr*J~0Ubi#$5`bISwRJKqkyU>lr10=Z?GRos(E?nts;V|s zPOPw;NtWA!;VWtEHw~R#jKVJIr3o&~KfR6br5HM38chuqoMbg10o}NZCZjl8s-g2G z|2X9Zrvg$;KdTBT>vi3zqNBhf1omRwj>6#nbVedavUghT7Y&^(bUDW`-au1n%$2h{ zOW&%>Hx(8uUr9KyaRW{G2?mq=l2e!7QVLJ53VBHv-)8xcJ2e!X+Lsx19T;yK!`_IE zkI)3brva00ESI}6i0MJO%_2JWn+KtA}&W^lpzHWFa>jUxaL`jFb-{|PfQ^$m=Fn8u@ zIaI@9Mfe0J$J|1dnR#_kqhh96HY#NK&^=wsluQaGx38ZOSS5o($*DOpmw$0w5Fet0 R5603@RxT*ycF`_E{{s97%pw2) diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkService.php deleted file mode 100644 index a9fe2c7a47843f604495c7c25463f30bdbaac7c0..0000000000000000000000000000000000000000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zDP^q8m0t}cOn?64FaLP{Q|eY;V{d_i9WU>xxoh#8O6#%7p-I>N)K3Xjm=M!Z%Mtm< z6dM0m>E-ti;(08|bJ~AV<)MBfu~=*Q(tnEeWrtYM@AL<~_lTM98!EZV6FnQw`#whV zyVFy>d1V9M+=x~vY;A4vcnxv0G6H`CmerQybx85M6uPwMViyE0o=@&ovEJ*UM__Qs z^)8Ieii240lhvfVHm3<(x4BHhZWnSpsY@YN!fF?CVzXa~Ubm*hxA5J!<;3@OCK$?X Iqiux#0X47;P5=M^ diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionService.php deleted file mode 100644 index 58b3cb2b1bfaca6d79c2be247d578ea73e978f5b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28264 zcmdr#TW}-URcp)k*w?Ri+cVa9UYg$5Y&MZS9(#7zliA&FsckDGTV6e8b`q10EVXTA zWJ%~TvnI7X0^w2c5sFGtQ1FwY_<%t1NC-cW{6Q^`k3dzDg+Qo+f?Zw(6an@J&N=tq z?v^aM+q3z>`!UaA-1ELyAAY5_Ut>>3*6fO1&o}L2Walu_+_xjOdbL?CRLhZ_ z*6yxdj})p0wNlxxMp)3U*_@&}uZR2X@`6*n9bA>7i{E>ZPV#FI6j+XcVP!8LQ+E>_#nLup?_*#)jR@ z7xT^h_8JYbtrr{O6Tj|WU*67$A#O2NDCZlENK6d1DMpIPfkaF8DHehMYOS4esSs&2 zVLFA#Q>BJgs+5|ge7W>}uobr>yZLg%2B1gV?zSq0CQLkn9a5EoeeJmjhly>Us#Rg@ zZb#&dw{SOMC$|$7SZ^g?-j3T1SbVKnt#3iom6bia>EHlMu03~)Mn!0)-N-dQ#g&yK zbG#jC)?2oB@JOU?H(T|J3*b!$)ONS+td+LYwm{>GyB@cHw_eVY;w>N?*ol?EU3C~R znTHMB&ouLU_Q^WN$|bwfJXxRBl3gwu_J00hsag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V5J1LT%b$%x5gZ#I~+#d!*p;Ib!`BgG%$lJZi-em0m0M+}DK>z>% diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerService.php deleted file mode 100644 index 1811f2546673b5048224ddd8ad0bf6a5bb2cf95a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11219 zcmeHNO>7&-6%Hv&mYytHS^ZJ8W7Cvu%Z@|EijyYvUw28GVoi|(NjY^ZV6h@c)Yi*g zc6TXP4qOx|3KYHcP!#B)r=sYg_uhIa(3=naJ+(lAwCJIA(My1!Knk>dGqZmbNs&t0 zi_sjSHRruIGw*%xXWq=MyRE$zEX8v~C#GVPdVJ>~ZtszJ%QS4GW@z!9_UUMyAP*-XBA0a-1hZPrLC-Y|@YMpl)&waP!~*Z%c4S1n@ht2JV+*4mbB zG>IuYza-ft0J_p7R!gaocy3eLAhuFhY-KygWyRBu zTxS5@gE;=zYVT-jEpFM0jenL^OICH&RuxTsg4?_u-&Hh=pp0(X-L_t{RYQ+chLT<* zD_7!NCZ%0&8K{=qad&~6R8y#>?YwRiQ&+U@46$ma+OiFE6G>C42C+T;(qC4t++?#- zY3go#g)cFc>RRLNxNWvcaPoNEBzD`>eF0BBQQN(=*HX6&3hrmGVk-@jO8HyzMf76y zc9m%(E>Ic6vx+!pT2qN`ACKprO0>E}_LP0qFptN&ZriQnafrHZP-GaoH9VuI6t>h2 z#dXP+>D}UVNSKCG#cVcHk;~Z!`Ru#XVF6(5 zo|rEn=?MMa6e|_{J|PGY!7wC?o12AvT9gXe=~3Zjm@1a!%9gZ|uT=7-;`Ep>55lHc zuI9x;@b{DK_iQnfFXrTIB`p@jDy1Kn{uP1*20KR${WKyi57;Jy%4X;bX-BgSLsRrd z(l8sV4WhSb%y7eGOSO7LO{Vyp?EgOqkK{!0$Ki8177~*f2$TGieql&VQsrCET!L*D zGy_qSh0Se7^gNv4tf>?-r&6ArR0;*9QjBP4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C8x&XXQ+dPpur9J~f_8_dI-&%j#3&xpZ!YciDU6ca1;& W^dD)`f>^EfcqGaQIo(ru3h*DGMe!&A diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaService.php deleted file mode 100644 index 2d15c994b2a10568789197f21b411da62ace0f5b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5072 zcmc&&O>f&|9LEWb=+kx+9*htM^1@!Si8)%?IJgw#v};$ftyNoXFa^w0`)Oj;v5gFU|@%@wJ2 z3L)FWlxj0l`^tvtToI~gGR;?+;uWq}GNM~ZgTF9Y^ITh_F^=JJ%%zs=yRnNs_d@_{ zT3g2+C7@#`?Rw(dF*v0$hDF~dwNsjq$!L#-0f0NLr4B4HyaDUxf*+H}$6j-mP&;zN zIEa>j)G%5k&Z5MAshyhQTA4I=U8@Nb4P%Fm(^?!Qq*uA7MI=rlzbjxn6V>d8Zs<0b zi43&S^{30H;9H~y@VlJ?Ufj}$Z(7^ zo=g0AI3CmY1C~#LPx~|S>#Fg)Y^hG1YTxxUHa)=q}{~$R3;QNT+u5PtPk}->bDWir`A+-WbyMqEru~5)MPl zbtDL-`(^={)#Iq#A($o+=|J9DTdwZ}TUHx-Fy$_da2@Ke3Ocdw`owBQ7#_~fCffn= zuHT~NqE-YTK3Db?34IQ%nisY`)P*lg!vt9WD5$zOt$G^0xU0JyMTyOi3M%iIIT8+; z79a038vP*<2>h*}!~Nf@HS|Kq^{v?L5GxF546_NQfal44VC7R3`M@agje(S`7$oIq z3YuVGK+cd&NU=0Q((>P*O3^Pc-2#9+BWQ&GtG(_qKNqRO-Oi$ z@Mw+-1in|$A?}bBu?MUf5%yaI(x3H#kM=p>+#h{eShCCv;Z|OJLajb*Cf|w5PlB0B zO7jz>gzzP>rNgN^Bix-&{}*?-Q;V5JJ#H!L5i}tzwu6L?wQ?y-xr<8W3L5Xlf(IHB zTX4vD@kj{>L?YaH=zSNW$})PUpD|#?K~^w5mhi?PQ=h$sBI$kGEsVwiG~Ugem^8)_ zlJ>#gY<#UeFuzhB#f)09<)TXKx6&ibf$eO4-fMOMAGSHnmgo8#jJNSk0iA$JnWM)y z&g30;e7{>#uD>OwG065Hk@X;I)my~pTYGvFfI;2oVvr7dI+dO76pHhv`9q;P&-Z#A zws~C~*$MV~s2Q<`(z_{9lW+e$>p$QBvxSvDD4Y-?3d7E2G$~D$n)2wfPb%U+l7teW9SUd84}+vI`;X zsA{u`N=XQ}EwPY|OTe1s7DnB+BWnS78C8mouUSWkh7MM-U;(I7Ql zPV?2l_NHLxHn$7QvuFZZv&(R?0^hsI`_ofZm^0^wb%!QitiIcS`<;74tM7qqp=3R6 zwECTbUK`rZ5Uwl)ATB|{g3TQAvB_&W@Euweh@bqqh;r}t^4hNcQb77}%G9?XgZ(^1 zEAKo8$&?47dj0nAe|%Y3tuFF!ENLD5cVey_w&lYZ#$e&&~2k_ Gg#HC*6a$0+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationService.php deleted file mode 100644 index 1a4fb0bf6be24c0656566d3f9e288f2378551d3d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4584 zcmds5%WoS+7_Zk!XvTenl>lR^cC&rCRaw)Z3b7%;ZtOZ%6WeuCo)%`a9y=?ocegvc ziJ$}tZk&q{T)7~)^dI0a$PpwCNJu?!A$KmEn4QOZOT3QL_CycWc;|b~_kF+LHMgz70!87nSHTT5VsyQ9{t)woHghW{3iJ0R2vgKXnWfe?uM1*|q{Buw19Z z1Qp^N0LK_Wo?l#%*`SIrfnc3Ei-p_uw9Kf ztHr*UFt`UK{Lc$FZOfEU6o)BYu%f7}z%p#>Q=E|{sb|;-V!H=rd!b`Su}hIc!!cp; zibQQjvKKrTXK+d4K{unM;)J$qP5^z!u-j#bOyBYX*KcA`RqewdE=BaEcx91zjjUNc zsYpXq)dMjuNr4~2q;pB~VG#Px(7N=%oLp7IkuKX7bb_Pl+_a$G)!~-0ZMpu@R9Aw)JDP^(I465of`)R$i;s=LGQt zIKIB2)yrC|JeL(ug4tF@D|Z_8)%WM7#8UuN*0kCx{XMP!l>sv56BbcgaQf+CAf#EE znGcrPdHSwxIDN(S`=vf~2w!m0@hqH(0~|z-yGZ{3UdUE8?I+=El`x5d`9q=0XoZ4<(5i2MbM`WQ9o4PYt~x$ z$CUo}WOaRMbP)fK8h>*ftfbc1XY_jLC}ic9sihGJi7ge5ObUf_JU-7V^&(2_Y%)%y zZVN9a1h^x*C4V;s&WxL@;s!X$RXWiC&u64eaaLb?s7?Q)y#{Vj(-@$fk1$>pOa`T~ zRtw-{0uoj?FJP-#J^N70it8X}(5pm5eEBTiIkoWmA>^Xa9^|x__!$|U7O_J(Ff6-c zbi4RGC_hDxLH5o8(exp`vfwKT>;x7*=QJ0{ig&@YiD;vd9isdUiR<=cagBm6i}Al( zBnj#lnSJf^$IWhqU(8VH9$$8>?rwZx8+C)ivWY`tY5l$cE{&yi-WW)qA6IQo1h-iC zADQf9Ka25-lRl&C5v1SZ*xciso81A=CMh67ZfLz6>pE8AWx8)g>SRq{J0vg)2E~OqX6W?;}ln)Qff%^ z7uKGVHCjix_vNpD-WOKnW%BmsuzHl)m#!Yd?dpJFSIu1gU3-q(z$4*W48}rbPs>y0 zNH7l@=D%p|%Uk%xgw#@LXJ>~U(BPxq2!kzrN8fS%F4Dgiz{RmsgLj)=oS=k!cGMUv z9(i_fZ;O1vC&zp>?YY3Z2frAYOv>Qka{IzXYAa=Ka5+9UF2^syYxI#ne37UAIe-XK Jxm~aez`vEsKi~iW diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessService.php deleted file mode 100644 index 3adf44d7c884c64c24b2eac0f928bfe4639e1e57..0000000000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X5{+HRt%An z-T>;sMGDKGMowvH2RwW|J^ZA|XBY)TMS|wfmXNE%SHs8&FaIT>xxsGk#h(H43kl`Z zB9V=^N|cRnVePGK#2qMp`Qo=fUrLXP8v8sFa5zost2c(zy4Ga?(=s=H*WVYaumo-; z*eO(A>G_xd`UaA(+F$j?Vh1kbR4bK^j*fUXrdY&g7zJQkY)I38G(2uH3icFR|Wd QQ|dPx6O84K(J?~*0pQ+K{r~^~ diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeService.php b/metadata/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeService.php deleted file mode 100644 index 41629d117bb0f61a427cc9023efeee96a0e1fb26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5496 zcmds5%WoS+7_Zk!+KkoK+CJi%(r!#2X;s!rphDV^mR)=EP#Qb3owgtgYqK6Z3(oGc zk3^x$1#tn6{0AHnH~s^TxdFHK(gOz+At7-9#EEZacQ$Ubo5annIXGj__nPnV`@Wg? z@7rrOdP|tYCU!Irw}sU$!CS+E?O2|rTRmab?{u&u=+?Sz^spleLb)nbstrLcFEqx1 z)wO&_$CA*stZok%wYFOfmSnXtdAI0dXT#93Thx8mv(}BzvD4B#&oNeg54XZykt#&U z)Yh?UYdRL@mX#&!X>HBZnsZckQ*OKAlB^z1-fh-H+0zK=JDnc6c1PSnG z`>Q=e7hF&C;NLaFZ5gKF8CnnQY6~+$N9(y5#O76SUelk=w~H6St8#r!8l~o zv`GG1<^WD1C#&JGT4SS4Q~2$BMwqa2yB+1{EY$u)lu{%^Z=&DR=w4#cW7A(xsCaM7 z#zDFBR|0+!phAp5Lj=$eDSzS16nZ13q8lJV1qB6+#uB#qvnaDtsV}Rgh1mtQoISy3 z(8-m`Vx{`1l1=fa&`?8t+{kh~LL-%xB}J`e)BGqJUal>a)a($UURG-*wbIBAD}Sd@ z0RS*GG09rxa)K>19hXxdmBQ0@t)6CfMa$_HyV$e|P%y}}4L1fssWYbO=XYFs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udl_jah92`|M+pPEZM2Qh|Nm@#Y5)KL diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ExperimentArmService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ExperimentArmService.php deleted file mode 100644 index 227203d8835bd569078e94ae1e373ccb42a32cda..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4331 zcmbVPOK;mo5RRn8iC0MCGA~69QbtJ}=TQoF8x*1Aq@*k>M&bu#r)UcS1Wm1ErWDEU zl6Kv|JrwOP=nrVoOM(23o_r|K^wv`jJ^9uibLw!HOG!2rNcO>Ab7#Jt{dQ))-G`6; zO&?vCYuLra3~*E4*pY)xEc?U@Jj-+Bjj+|iM7F$+Z#$SMvOK>cFR!f2)%nHsYv4+~ zkXTri+n(2UaM^6qG9N~xt?Bz^ipiF3VOqxD_?Xxo>;{HOI!63mVM`(8njK7i)53CX zRbRq^*)#*QQDdkLtx4lyH2Q4%eq$|0okhrUOiJZyg07KHJd0i;8Gih5!?7)y24(<% zZrIeYT|2N%$Nm;}JSVqIhhhLaY}*Q5E3iFRjvQ883s2paIc8*g!}oxpIax%x8j%Ks zH5T0f6W4Sa^O#!1_5+Wsf~l&uagb0QeVMvF%T|rh?3O&mLsZp6G0w>W332b@vP^Ig z61NMmn?N;EC`^LW+#OZz?x*XY=B4>|oHv9_;v-7rAtm z`zp{Hl%z>0&?FS*Tk_B)2$#86xc53ZR{^)Qj?Se_NoP_1`SRLowX(RdSe>6ZCS62Q zy}GvYyk4mq%i2=aSXqAd#Y9Frk0zF$uWS0Vsv+hlvig4+RD#wP2Qw%xy^yjrOV-uQ zmz8)=ZO<{?w&Ia?xs6>vY6YSZ`Zi7Ji)_oY?DwzPTuswnWv|v)yHlXaDSQ}>pxr4E z2Xs#uG+0CI>4>Z)Hki?Vw!~dk6`WNy!BJHJQdMTOF~$P?2>mgJK4}l?+;EhvxgTuZ z@oAR0V+w1DWAU;8_w6V%7#w#m{hmXo`)qA;;lA?COKA5 z@&K_49ACK~<}pHDsVSUd7}(-4Cy^|oGqVYuDLf_7V_+5l+VO-3diB=Dd_?_ z9T2nCvMq!9jvW+Ez~`Lw0F7H_$2aY^OABLi4#J;&t6fLe2CiF)&7}o&&UTF^rr>LI zK~6G|+i$eoa5!pbUwbh$SD#uT4ZIE}wER*G4ZFG9Bi10NFc}cg%V_4ico<1I{Hy1(X2KCL>WuaS5apQeEWqo~V-n#grKCXD4f{LIxC6 zVwe=w-Wl|WZz`qihq?|)alWL~mhdkgwQh@7L~Kx#W>=DUSr#w#%vwxQ=>4S-zTm#>p>_Oqh-n}d zP`)Q|0Ng)G!je&)g8RxgNE`qo(y2s*>OgwFaViSCX@%e0-4;6l_T zSU=c;3ng4yvEjMSPTVG5pbLrl;nybRnVA4Fl>eqnxB~#wmsb!q$!ea*dJGke&U`Si$M6QKz;_u zKN83s8Y8&lZE>Q<^}8cT!INWp9*rkSQ2Hfi>Nl#bEQ88;Np8_%bx$ks7TI&~@eSp**0{9^?**!s%iG)A@g_`he=);g z6Qp9>BTcIRm_;|=DX1cg^vh}73t3&{vA|Lz%Bp~$6$2rv*J^`qr}44F1vR!ApsB)c nKYNp74Ukk}ClvKo@(j7h-@)BSYorynmGWX{hTLu!?IQF)e{j;t diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ExperimentService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ExperimentService.php deleted file mode 100644 index 81edd2ddcf6e43bf24bf3261959b204af0dcfaea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10266 zcmds7O^_Q$6}GfL-hJy`%j4`?s}OrU8^>!WNZ27J(Z)$e(pXZmD+x(!V@lLyEX`_% zNHbz)WXGg@ASa3{PPtK>s1yYpNw{(0!oeJ<0#4yTih={KqToUm6*%y^dwNE@BkfA- z6bJj@o$2oPy5H-szxVo$UVXi{+k-VRubaB9xq3^yb6<3Kb+Kn#uGO?U;+_7^j&6%h ztJ^a=x}6loTv;rY>!Ok?*3YA;WA*K(o)+7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uQ?%liR z!367ItSF`R-CZmT-m~nMlX*W17Y@Af^DH~F5)hdeU2t`-g+GuedWKAV@8`NV_yfQ7 zpU;mfntD^?FD1M&BQE`X+@t6PrfbBVpO52L{)_%EXkK8y9t(c%MeeaibI9+^=s-5^ I0XzWsAJJHuf&c&j diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemService.php deleted file mode 100644 index 9371de60eeddf8026d05b4e842ed982e1d7fd964..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 40194 zcmdsgdu&@-df!NtZ0k^xY5GNL{LtKad3I(co3>_lv}u*V6e&8BUd00Ek!2#OXB7D$VvXtzz;Bu&v2NPwabOjDpp3nbY#?Y3x|?(~K9 zkv3DH=bTxl?sPjJO`_A`$=X>4Hzth?4h!+>v&6e4%_Rad@!>5b= zJ#(?sZTH)?c60IJU}wkdF4o%nokr8_E-fx*ii?F}Wigw{RbD{XUVG53nX8Mt?e=cd zT&~u8%kn4vdVGClxo37CH)>{Y+5Dhywt9_r%h)l^y3y#H`-ZAq;`xMVRrk$ar&==? z*SAueX1`jm_Nx!pdFTgvy{CTCue;Y*9+cJ4w}hxQtG(W0)|z4sGvqLVY9W45EaJb; z;9;{-TkQ3#ef;mGM$c%p8vRDK+4uo${r2Kcwb?T<*l63GL95os(if>iu~jp#zP2dG zq_!`0+BmA)i`GiF==5-M4|1)(*=<#u4>D%2)@^k9?d}$uuCDHyef!L*2QpkykrtvdU0`j6{nZz(eX zqTnP}LwD6NVZMq3+$;C1yXN6Krkf43)jwRHwT9WOr_8J$i<| zdh2QUUZqa$0nVg9=!Ne?r@7JZcMjJ>Z?)Ql_3f6=RE)x({X#<_tX{9%__>CQf7M1Q z!q8X6Z$`vBzBk@%4fcD>Pt1oMfZM3GTXkGAT>Ey1h)laHZ+rZ*9AF8AV#y{MOCT9b zJb=~}7w^e2($)|~H9{6MXeE*GtB;=)(d|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3U5>`NmFse@5`^IsZ1e#;Tuo#+d~_in zjP+teFWG$9^{-G4e!u>}t3}7Jju!_adq2l!eOkwUA69IDTLd!EGkL0yilP|cl`?gC zW3b?ou*rIg9l>oodtQBOZspT*(jZ!VChFZEG{bs2*vVl7`mN!i@R;}4UuUyin^V~S zD5zig{siOikWs8s6dFnY=MY=yJ#0&V_0Tt$avC`x4h}#XmI|W9ieLNTkG?taQf!%j zVpWQJZ?JXiStZkOXzb+m;wPnudMK7A&r73WmqUIuQ9`~c ze@KIONtmc1pHB3)#@7?QIRW-g&ii2Eihvbh?&Lga?Vk3(rg>d_&b9mDRnq9y%8(Dg N@`+;JyX;-Y{vXu0z4`zE diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkService.php b/metadata/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkService.php deleted file mode 100644 index 4edddccacf163c4833a44c21312965f45d8cb205..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3363 zcmbtW&rcgi6pojMhOtnjRYP3TAA>`{AhIq*>0up`t^*jYHSab*um@jJVOT5z=f>LAni2M8l=t7huRWL#9K>v%7=`wnK1j zr}~r#yJ-u%UX#dmtH~2HvOZtFU*AiRD+oER%{ktH3|o+3kBBD#pRA+j2*Y0x9=O!O zT-XBs%~IZ=9u?Gf=~uAtRot>&P5|n>Z!7d1L46NL0o$HKN((r~jC^MUA9z~Ds?ME= zI-sq-jr6?$<(SXQ=n`p%yUn*rmi1myb!)S>EyGqoPc^B$=B_pTln8)PW5VW*mWR!@Cb@ z(sWj{nfBNQOl~P{i>S-y(LYyFC39q1Qr)nbjb~La#=!M zRkKgiU^%X?dGd8)DMbbE{!j3;`n`tcfT84sE;_90I|D4r-rmVQ`!wD!K)ANoHhk7D zw}}@-BBz8N&S8k|tFz>l)cQ#qt6A1BTCpZ2-2fpsVl%Qp(v4l!d8f*$E``5O`K9!y z1H{j?xfsGU0mL*@Jkta~(@YT$#%0m>(BFAfZNKqtr6;X4gj99oO~0qozyR1i4UK1D z`exs%Bb6sv_^@xG6)9-rAd%3-A$zb=P!>4l=pG4q98>%)hu(i0!WS}d(0rGC84@n^ z0?PMwUNU`SFDy;pN5~JN2SRiMz(kFe@++0>rc(Pi1~P3cjH*PviLM7Wi*DdX%cgF~ zh#a+R`VBOB2-h-P{-oi1?s4HQn80hrUvsFCg{ZHiafcCzkag!*?q!#kw&P%Zn^*Kl zXq=I*e@GJDxI2>aY+kA6(L_pB@#h@+Ad7Pz0GCAHMsGtsp({8P9`X7xyYQ6Pp_tI< z0HZIX8w0F12xC5z8_KWf3LYB7i0_l4gKk}fxHepuN26xtFAYr%oL=%i)Bnw(si6gM z{S#I0`FrMKHdI$nTW^36pHcDIw|~6+QL7X`mhV|LBmWob)y4BtZFc3nnYqP3ttk}- zqP~=N2%la*wF>dL_w6vb*nYR_^Bs7sakE@LIyy==VykP<4n+ra_sC~WUj0EscP>zmEVbWD9`L7H;*%lv%I{3O6Jup)z4B91Kc7B& Zmg1Ll@2MMUBXx$nv87||cY;n3dId5yh&uoP diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/FeedItemSetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/FeedItemSetService.php deleted file mode 100644 index a191eb432cca52ce2b04088e771b3053318730f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5505 zcmds5OLN;)6t3kqO|JV0nm$|?sNyzl$`pI*PTQ$M04Z_OOxq+Rr7++bqsZ5e23Zoi zQaXVNi}Dj#uz?Lr{s1i4Gh_)17*<`dAuBd)x`A_FiV|DFDLXRb_*y!TdtTo;_rCT< zuoj?;+8p+9XhpcCt!`-18rFi)k9^yAwbi)Y#-V2W-N12iSkbhZMQvg6p;n)ne>euL z#E(N8>srV6J1(wTEmGx6x>~<}vr2Hd?%0@A+ZeZ+PK3Knf+P5_#}%dtAz+WHsiP(1y_>Vo6tzuHS5|2%(b**{(&1HVeY%LG}uc#5?o}(%>(MS6#=} zNMuFub;%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leAds/V15/Services/FeedItemTargetService.php b/metadata/Google/Ads/GoogleAds/V15/Services/FeedItemTargetService.php deleted file mode 100644 index 6c9557073e0a136ce2ba6bf76bbab632f5b7b628..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28547 zcmdr#TW}-URV(>1){*UzWzSgSd1-r--P!C$_IT{wtY>F;)v|0WBTHUMp4rJd)sdyP ztsPk{q?Tt*Y6Aokpo))FL5hMRKPieTAcR)}6hFxysf8Z`MUsU;sDgql1r$&O*e}jK z_x4L_xm#X-@O+G0_ug~v&Bt^3QartyDLsy$ZLQO)s4MY(P1~=l^W|!Log8%#FYl}q-koH% zEgsp^y_?HBMS=G=K&4)8x8rMwKZEE?gk4m_Cn1jinw{NxtrBnRWgY)~pw?DujhbF7 z*K0qFlfDz*E7#j9V(M+X*J)Jrn%0OjfPAB(-gr9Bak91_Xll4fcjCq{x7fPjn(bs7 zy4q@#>pQDzyV9yPb*;69O;=WM;^u0zk{eIord}Dg+FtwyAL7bN&lvB-^;So`VY9YVPzAwOtoc~*ZcyfwRy(*wa3xlJgC?=VY#A5ups1Jk)xiK$ z^_tqy2ZLFwsr9O?9+Z!2TFXDEImKk-*gsUES=qsP>7BNJ7`7rCy51ZNBH3tYZ0Bl? zK3&l^{P0UPvFVc4s=3G3@Yvokw*}i}Pr)~a;Kjb@Rc&+*-3}|wl%Lh;H4dG?GoCO{ zdjd~;f}o{0Al7vn2|A6ar5wz-)kV)kcsp0zN~bbwne=Mpv1l01ZRhUh^7nI*0Q-^7 zCFLyE1lf;5dNY3ye+{{LcdXg!(ywcxdN;#djfQwjdao{(cD*!0_P8x3}dr`ebqakU+4 z^lnh%peri~ys~2ASy@3uD=XA!ca#Qr3%)f3FYotbzcjY_N9t}9PoPrK8dcDumHQk=%0Q797}#K>0>t{&dr%f&H2vy!GFwE#j>A|gpDQIZxgt{bzx+}5 zYQK)p26g{*2v$6(yVosQ_2Z`MldzBAqVr^w5SB>#aftTTco35jFuA#v%&g})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Cdf%30DqV(b3R-QNvIkEeGsFSN3f`4^_ M4rJqABrg*3zvV${0ssI2 diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/FeedService.php b/metadata/Google/Ads/GoogleAds/V15/Services/FeedService.php deleted file mode 100644 index c5cb5abea42ddbed4d82ec799aa0c6ac3ad19cb7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7722 zcmds6&5zs06}P1Q($juux&Dw9JE7IsUb~58Z)~HXm?XBn`hoV4zD2g829{Og6q$IE8mC~Di z@KVEhZ{EC*-~8tBgAbiU2fiUzh(%o8Cmr$NSo9Bx=(x6Tw{25A2)bS3if#MIF-+nX zMX_8LYxSn6maEMxDC*gP+a{9Ov+bTqN_xjD@kjdf=lXJU))%FeB5~)DlYLoRFBG*ahzU|oP zjt637+%EMHdZ$&jeBxTV*(wvS?HZ16ySq45l6u6C{YppHZ`^0AQf)?8T<0cA(g_JrFL$b2C@9+p*d+!|Ze#0rkWlD1u= zXIQ+Vg*UlG5v#u#<3JH{pvWW&4Opf%TW2yVDk*#ipg$t4KxV(Tx2tYeA6C_J_Kc8$ z`Tg3XTK&7VY(iLonf*PrkxdE!bCr6%vaM!Q%HI=EK!6I@8@IHw(qD!p&~DZ?Fhvj!y5r=Y%}-S|G!G6Dzg0BrxnYiOKWp&~P;W*dY^!@3RElkRzSjp-Sr4#(=^m>Z6txegIb|ntV#s&qB7M z*3^c)tu@r9T-~M_p!_5`QPgivWWno^5Wk$TV(G~fcoT;FF|SyT(JZWGUa@@Sl-ObU zsx?{J##&C&T5hO2^~d;Qx~k<%y&ge&o&xEVs&$bQA@&okZ6j7&{xlV8!v#DAnD{1_ zj?1wLYa?Er4B&YX8tPtszp<%mHF-zX>b33fBl=<;?(8>dFtHB#d#uBMO@_X?5lg=w z0sYGieCw2eGR)O|-!%>b#NsIc7g6pU#aB5Jj-&Y^0jnq8oDAmB`I&~zAr zy4TDu&{erIK9HsZTq7R z80{dW-+YVtivts)P4QQS-(+Bhrh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le#8w* diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantService.php b/metadata/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantService.php deleted file mode 100644 index 73d7b6bd0e569409fa50040f8d4e37787c8646bc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4130 zcmb_fOLNm!6vlEMb4PAAni!Qp#59p$+o_lpA8EipJn?-V?d+vFE-?{hBeYfMn z2Xc+r#4`fYlDGHephINWa{|Y7y7G3ovqL=Dbaq{6-%q%Q(16%@LfQ&zGxZSl( z8BGWH=c?uFmTd)=(Y3z9(C^ASM%O2(tY3B~w9UYBY?&U|uuU?5LymM(*{iODsk$r2 zo^I0YVdk1^c0fGa=r&h~Z+ey+INm0TswyTS$vOQpe`ASRrP{0=c|LMcRr`FrD+gXk zdX3AnM}p9^Qw0Z!s^*|Hx>oanMY=7Gbd2YgsgC9nRo#*CKW>_zY`~kM3E#6)LS(Quzl6srjT> zwD#BGk38JZ#1gT?-3%aMhC@HXkvJPEP!NJj0!9VFs4xYkFX3W8Qka4&8Yq1R=QFm& z87MrdZ*5kW*B-1@S5BP}3o!nq{;t*VA)Y0tJg*?pJjd1gj+hp3iG}JimJ4 zWiBV4gAt~;!1S{3Ir@DTCQT=_18*M(M~g_4>ApbsFGGRPm0;f`(p0*gr`sJEqjVbj z(m3u+FK)e~`;4zy9o<6mtYMp+!%3`}9}(;8^g zFc}YXnsn_n%;>MjuAK!@?+aFYDZqzsWq`QHeC=FcA!7VLhfm)G{_erZXoH8bsg+}B8}0eUS;^b@CJS< z3@26@bU%k_Do-aaYc!vcN@4MnY>dWnDDQGcS?8MT^j5igLL^W~QRhnnx=~oH{~wl; zgrJ$?EKI#-S)77VcCkf^`T2?B0zfJ+UV^i!Q_01cdWW(UfS6csUz>n&J<4n!7E9me zVD2r+@Ljxl5wQ(d1{l))sHF6EhPlsUM(!OWBS`?sMLSVb`dJusy-4=^dW3Pm2%{b` z%nsw|eAG7*6ntWMW=BV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ARU;u$#FYQFN3H zhg4?rWir`4p-yFzk^Gn-8)OtJ9mmLA0ZV?Ut0N>Emr)8XeGaxUx#niBM#&llvaoq9 zZVXX1LCdgmbPJFDDvL1nP#Q<0v^1qDl!B`+J7M}YI#MZxk_tOR`h|rcok5dIm(S7{ zadh*U(=9wk>HNtmXDIi`_j35j7HVD$S8T!sv#HO7+hV|T#0J=aDHk#x$8Y+M514cz zV>s=8K60M`??vwC7&_OJcW!a8 zXRJo@JyJmuvo8@=?*5Zs|M(_8&)uYN=*KL4iYQBdxkc!6`|zoFavpL=F*Myb``m*U z2&Jzi3+Lg>EAS6Km#4w;xfvSVsb~b37Niin{Z#aeFDoC38K0}GMT3F~(b@i7RU3typc`adv4zX%NcDS|Tke23@|q5l9b C2@-e! diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/GoogleAdsService.php b/metadata/Google/Ads/GoogleAds/V15/Services/GoogleAdsService.php deleted file mode 100644 index 2f05dfe226e8b779e6fdff137649304d99640711..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 747784 zcmdqK37DK)Stm|+b$2=^Tcxt!+?(X)F5Jt7BsaOaORk``b$8v=MlDGiGJI6JD@l<~ zSJTxU2>zW>+?PQVT>h?z==_HfTn3$SM8Ln!h=8Du`!b5kqoAOOprGjde((9t_noS) z>ho3fnc)`Cb4l0PzVm(WIq!MTyZqiS`r?)AE9$;uv(4q^YGbXrcx^~*@s|(F@$F8;8*Or(R3(JI&Qwt%as3_E7HmWhdk@N-Z~THajbgh32u@a;nf=Yb-X_8kc8f z#LLOWj{hhBy71`P%T<5Grz(L* zf+t}X*_$hCLp(0I(z={);Gr z>ycbuZgUy7m+$0*X4bJe(Ra9K%FCsi*BiH5?bYGBrk7gH<+bR2^6lkotLw|lt>tT% zODkk0gWptk&kJ7E^7l$|aWU8$Ghi_f1*@5x;%}*3H>Mk0;4)1gB|~lG4-JT3d`53GTsF} zoGxvz)-YHW4?ccV9e1}(>{8q6#cDa5&dubqnf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@cu|7ppUd|> zB81DOE~s3RW)hFgFuBUBa+dp2zQUy@6{U}_ZaUv zo@1@-X#Y;o4$K?C#M>k7QujuCkg_3ysBcK|1TT9J9-!P>i@O5a6Cbs_N(!17Jn`sW qC+~1sF>vD1d1x}{e|oUQzbcWRfZ&}Uej*d`{Rt!FbT8p0z<&VS(I0dG diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordService.php b/metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordService.php deleted file mode 100644 index 3c50d6bd87e7c32297c7a6108b6a5114b8a73a75..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4527 zcmb_f&2Jk;6pz>y*F>Z zZ8a@;MJN!1*s4ov!q%?fHi=-_rfX_uOW5-2bz%#e*|zi+v9p4(R1(%pn?inRW%CNE zI;Ll9L=+mP*=UiRT61#2lCHLI-^n?|-qtnZT1g&2-+)K_YBR|O+%mxB|{^b z>q3A@Wv^N$I&VQ>CoWTeqA#l}hD&TiZB>_uquILUnsymQMX^ELC<=5ZbA8^oO40PX zkO__`ialps5M0|M-NpsMCaz~29e}+Es@l(;mR_xpFpy&BJ{|pjTG5r3JWL(*ggCUS zga(&&(yGa%sc!40J-ljU)z@EBo%_S5PgEu9!{e;q%CZ@s052`klVQGPBX6=b56q8U01zsKS3 zKn@^=*X|HNTXnUj;_g}`sCNExpqNF<$VTLmMe@k{is{ebd|16}RCNuZRDrobX%^J zq@}4*`QI3%k?q2B3_6lLebBHU@p9~w#qcf-6RD?>HSI>OK@5x5KO;sPf%7}Rut)5n7mPU>Z5%hGdoN(jnU$Or*Q>Qa{g zQwu(&{~m=)VGw#*o_`-sGkJyfl4MMXWhQ0ui8S_9dIRPH+^&Sfpky)bxxtW|FnzyY z3rkM;(62p}Zo#X^z%7n^9gFejfzxZrNrZ^Y@h4Ke7^A!AVALgFxJjVUMUHNL4A3c@ zByX z#~dq;;y3ZT*uL~l>_pzYr+JQRwu$Z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5rke+T+=e3qH-U zS|1e^>Sm39Dp9lOtcN?!Rv3-}ZL;TKSL@SqXdq5o@n_h9URDFdh1_Cs5?wx$5FLA- zd+)A&g6-t0~afAgZ{DZoGm-tfj98y@zV* zUjY?Ts%jyK6O3`j~&kP@Ca}i+oJj}R~X@20NY_!^KM~{jE*7S&`%OvA;d%~?y lR+mA>>G&MG6Mvdbgue|Oe8^Kwx6G7Z5g1`ew~KZW`XBPFHT(bo diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaService.php b/metadata/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaService.php deleted file mode 100644 index 456adc6768be16b0dbca789ef23cd72695064c55..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 36624 zcmdsgYj7J`cHWX8CGkQc!KOx{D2>GF+1b(Tcu9#8XLhL7%m5%rVnh-g0F*|%+Uf;? zCJ74!5Im@%U6aJlV{KPb*{YN)sZ{(UTd7nfaZ+)zj`JsF|4V9}I`CwCC4% z5?gkwP%5+v&(<06vv{ege$ubUcbA{#6yOI!6f1>hbN-PWUGv^RcPUVpD#D9a<$wl7b@i+!LlFD?-wdf8=$(|?zgMOR=HN4rw*BF(Z2o0yo5<@ zKVPq5n;y>VdG658Vb`9et1Y`xEmWSZ+Rb94TyNDHJ7~JHa$vWd{ic%JZ#>{p30ir7 z{R@_CoKzenJ*UQf~ z3)qUoT&r+k57#kSDcjZ7aDCRwcBPcC4-3cTT4T7b8?9D-xE}FpwMLXtt2T%0n6(uH z^xQ}$jxW7iR-_Owl^o2kft_wU$RgaoE`By5?)2p&yV^biZ`sw7-LP6Gbz8EHaZ~nK z0KY9boVNhZTi_mMNlao;bjqVo3P8-P5N?SvC8E3Axt&xpy_Qa`#y)36#rfUsN86bv z+p!Vjf*9M1Z>D0x5aQfgihoCqn7FvRy_(9WvRmnGbh@1Q{)jLkB-9N0O(rqr4$QQ; zGxF7>n*Tu!e0#7^YaGxbStMvlQZF}q2o_%61OD%~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ogleAds/V15/Services/KeywordThemeConstantService.php deleted file mode 100644 index e138797fd08c223ce959431e25fff0676c22db58..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2790 zcmb_eL2ukd6lT4sr~?6H6*XNdm~7K#i-@fjMM4gt+HI0;)Iy>pLMpPfnzd)WBOKd! z#z~hdNN_>|PW%Io{0}ZU!X0to6p0%rPCR>Nyc_CWbp?CbC(oPjy?O6_-^>U1l3{{w z;4Y15N(A+Be}u)5;v|hl?8PDOXM+Jvu@@gDETpN0@#Zf6c=r%*ZSEW{!B!q;sYe|g z#BmT(oA}(8W^NtdS+hA!kC{ig{TUsd#Hrr{{3F`);)n|piJn@wijW9J}z#`4)WN?gADzY>h z1DuvnZdD}{=58|@`W-qX$1F}AXMCtJ$h55wgh=Mw@rXe2h6jQKbiR%IRE^kkCs-DK zGlQXqe$5x~e#mGf=G)VbqBx%?7`W<<#c-^C$kZsbeZTDdHV~^-HY@M_3i|#Mx;K?k zsjA2{N=Yi2O$lHD5v`Jv7EsbE0UFnIkc8R#tK8oF%RpDE$Yef33);1pvvskCYpu(j zwcp$IzuPui9mi5u!ng$jVppQQg-EQ>&S8qlJ(}K?ZXp z9qMC;TJ8VHLL0{cYij}n^gYV7M#IX7O}Ug}bN%4wwCPYVS0*&f1G|5++1e$=xq)cV!6I zBzJ847JYVI?B2>H1U_Z(};hd t-d|^i@|nVW?RRe6lvq<}ul+RZSIUd=UHRr2zfGpTjtWQVcZyCC`UioS$CUs8 diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/LabelService.php b/metadata/Google/Ads/GoogleAds/V15/Services/LabelService.php deleted file mode 100644 index 462845f57dafdd18b968224e13d2e9da25405ede..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4990 zcmds5OLN;)6prO4X|CHeQD4Rbt?KlVbc##@0Y)Zeti(-15<8Ped5mW~ihSdU%979{ zA#}1~1v_R~u`ZQ8hCG=c&flF{zubRoe0u4Uq&U>jT5uJc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r>IsbVIjh=Wb zYn_`+H+z=fME#Uwdk*r{HxfES3xt0|kbg*_Gi}ZV^6S0rQGhS^M$dXIG5OU`fBN-H zX)=F@em)TZezLdB+!ozMYf<29soOu7E(u}iF?Zq;2y*4aQkGFxTb_82{;^cMwF8&$ zKr0mX_V&2ba9&^?+=#**IK=F^ek0KTN}(Ii>{fy&^wIX1ik`K|dAjGGCCnDZKy<8Y z^GT;Wo=&(#ahZgMCFG8z8_ZV12~Wt0c6BShD&Jw>YK}jw5Nfu}4qtVsAd@>l2MGNG DzR#N> diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobService.php b/metadata/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobService.php deleted file mode 100644 index dc43d225ea1297bd8ad0bc822fa20f31d69b1555..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13436 zcmds8U2Gd!6|U|49yh5wo3yUmw65E3yJgo--R*YQrL8=UlXy3Eg6*^{8)-DLZ<5)y zJ>HpdyJ1xc5E3ju4~SohH{bzy0K^Lt5&{YFKwm(Mgb*+615Xv=WkEv0 zdZVS)iII%Q7gpoN)k-|SP^g^7rKa9Csw5NN*7fZ=NvSn6#Xr(dcQ0K@nZ&rORf(C> zx3=n9lPGO`qSRDNRo>J$6)~J-I|4M-1~FS|mBg3UBNmCMtmb%GsQ>x>Gq{7 z8)ZTK8bGzKnr3{JZ?cYL7jWgP`lgry??N2^wc49?tr|Bi)x!VIYNnz!HA_?L+9&b! z*W+7i-6Tk@f9_VhS+z918K(qXmZckOI5m^mCYB?1`sBiM*VwL>`gpt^w~RJ%Zyt{u#A+MO4uSg) zsSPhVwzQ2B5t_?%&eK`%w`x%%^_om})VrE)WcIam*|J*uTaj%xb*d-5X%4^85&S|M z5shmfVQIFxJN&9rtGZD}HrtQFBq}H0Xj%K%E{nQbQ4xzfxal?-o=>_kSJz0>8h*`+ z-rP3Y&8F7e-dJr>7vZlAW&tnU&;;JIwVDI(MRXk(97IxppN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/V15/Services/PaymentsAccountService.php b/metadata/Google/Ads/GoogleAds/V15/Services/PaymentsAccountService.php deleted file mode 100644 index 782b261104939e4627be5a457516b99983ef7239..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2948 zcmbtW&u<$=6vmsB&16 zFzou&ATBquWwJV4ePD3P4n2o*BO=Fr8VKGdjuXa#Xv-Zv4Texa`jkh+p}5hsKcRxS zM37b^#cf$Gm&;`J>FR^lzQkQa$ngp1xGC|i3|{V|=Lo|uiVu9x!CVjlf44o}_5x3M z#P`00Q?KI=@i_&ki?*FOaD*2IIC0nw99mz&8D?U8I|_lNb*%DiCd2`0t(`zn77)L+ zNx8$kNQA5jrl#4YBBwj~QeRn1qb6ux2iLO{P4hyI>sYXu4hF}VQ4zDC0658^S|doz zliQ5pw&6^sSsbbW8Rcq4UhA<(eb=Tva_EI@GS_V(qRBk0APAGo3Ijfw;}ZfG*4r1P zODA)DTBj+`)wM%I;5a-1I;O`cB0No376_u?f3q$rvA3> zqIwZVt|E`?&?<~!pe6Li1@(Jw<)svE3gEV1__kCkFQDl(%+=z1DfxaA%{eh+G;ogF zPUzAKDh#y5U=Sa=Ne9Sn1O9AbHkFte=q*m2FmMSwZs!RNIJ{gqOeYSz=o*-LLATu} z0TdK#J24kwpR&qaYPynAaSJVurQ(rv*uDaQX8+9kd;;D!R5)%tS4%k9N#09kuY>LU zII6pXnZ1DKi*ptm_6)j`Ua0*VdIgR&K<#;#f*Kp6x1nKQLY`ekl_c0Gw(PGpbO#DU z7UpF&YR@;%_wlr8HA|m;oKXxAJ_)*d$ht=X3G=ml^}ROLu&f`n zS|gn{Yr88(?2&Ge~l^dREcQOdm1Q65A@k|o{O*1z@k@K$fAAfS3uwAD=b)oTO0PTB(H#?66^PSX0@2eS9emhnEi z{>0;A=)U+K{UWAZlq+af$68J3Ap027*nfV-;XcEtHBE8{<^GFW-o#nzR`sVr6%xEoE3^G_35DgqQOP W{!aEdD;`l}pK+;SW_N;45c&s8wfd(3 diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationService.php deleted file mode 100644 index 7b2dd708cad2f424b728c2557ade0f58a0ec48f5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2869 zcmb_eO>Y}T7{=?;(g}rVg@j3~bmF#(TZJ`kRfIMTXl-wd+tgm{Bp|S4t=D6F#AbK9 zGn)viTzcZd2?@awE=b(C@)L4|8z&B&`V)HM-I-n6rE5a~AFQ$8&w1u~pP9Sw1>*o+ z!FA%1(B@=-`=4PxCO8Ov?mNDV`_XVnLhSel0d+~JVO(qBW@{IlwZ`rmgfc%09iror z?~hzkwg;>%m+|WG=AAMl;URShD?`pf6gr4noYlJx=4Y(g#;Hv8*!YA0r|CFw8imGuoI>aT}qOL#J;}+&&L}rU)91J& zpntl8RhJTvpDyNo&V$oM7@p@#LbL2ZL5?@yr3n>`!C-Ro+b~+C$zjE3zm9%5gQ|09 zig?k%f`NiQA|~faU6n~R7)Na~m>LYGCXy6?&Y{cMBO|hyP^tKJ4qaT}qrQrk_L?2b ztTwhAW^MTebqSr@Yu<0RK5Q=M)R)mqMzv~MyI@k(3+Q~?{9w=Q#6R=uYiQXro3%!> z-ZLz#-P$*Hme0iTZF9eMA6#CHT*fO< zD=mhToum$3p=UFKCKRnJoSrB}8LI0Ltm~6Jx(ytRTI9A|Z*x8#4}Jq7%|o{6;~=y#Ve4 zlF7t2c^DDK)dE^_BF6m#687kzki)ss`AYtGLs7rTp;bUD`w9|NC@A3l%B@fShE7^$ z10bR>bn&SyvddN;pbP2ldhvBv$cr}LhBluXZ=snvm3Y{|JPmkW&a7N~h^{O|h6TRI zh8s zSBg=*E8Z+Ag;@Dfx&$_D-8fDkG0(m(m>vmc>bV=g8Sl(QY%C_+#xpEfF;9#_a^O?3 zPLBQ;qq{zaONr^_^3l;zN|BTpcErb^O-Ft>V3jWwbZwz3rU+No7M&s3xD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r(TLNZ5gE!)*pbza+~2!pK@*`T-*B;4N!=ya;3GjCVlLb0$0T+T1ic zy$v^e&;~49rtz4bCMUg!6L$1}MZEaS1mYrD4&EQ!?-_J9mS}D%y=IJ;Ld+{5$jlK( zz){YAq@~ZF{r2j4_Eu?;KFb)>4y*g}wZr-@s+6o^=GqIX$XtM&*Q0dg{(w+p86GLr znAbR=CO8M7e(`TYbtr3Ts28H4GG(OqpPBleRP>c0e(CvD>RlbcbHWwN<(-|KpwtSx z5-CG605#jO9L=qKmqnM4RD4#^%K13C;0x9LRevYr>plZtVgsi7vyHU7@Otp(-pd9y oDWcEp_Oq9LtQ5^>c1-fGhOeUQ{)6}6X`1>priQ-VF4{%tZ=7(&J^%m! diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/ReachPlanService.php b/metadata/Google/Ads/GoogleAds/V15/Services/ReachPlanService.php deleted file mode 100644 index aad514743ac12514575539520e9d052ded1fbd82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 35418 zcmdsgZERavdfrNuZ0XRJsVmu{WsgnYncem5>`Jz5&8+3|%#ac#aZHgKlCsCUPVZ9W zmBg4LS$@dl1k-#pO`CLq1_*){Me`>}`=d>_UrE~^EfSzeTWq&KnikmXwrNu!MY|KE zZCW&K2mR6Keb2dHYz+Y^S!&Zn;|S zmY;4g#HYz>M}4GEk8UqNEh>ojg{aiaolc@akhcL?)rcP!3H-HsyY*Tn(dm}E`0uq^ z$EY=G-CDU``ys6KL1M35@0b8G*mkeisB~-1MuIxz8x`~B>j?>y+P>CmVrL#CtQl_8 zW?`eAW*S|y-6+?eu9=-myVmM9+uLZmva)Y>?JcH~o3G#JQ3+aYFL6^&ab;y-jt>&u zcF%MVo=CLKZm->N0DNqNdg`-%_T<)jz%bUdvf?bt0piy+*{VIwma!EF#cp}uJXy!p zdd+NfPu6F>X4b1I^PqfGYqn3;b+g-TovcT)(P$E7G#j0hbu5^Q=6yGkiQ`M})D$Ts zt5qBG>o`F-ZDb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K4|6 z_81e@Ih?3zLq=O2otK9M-wRX*A+sx45TNwq%v7orz_!6x<#Xt)J#0|+a@d09ljyh|nXLSI7Tub-tns)C%GU;6oEC}Kk<~bX z4!yS}T$Yk2zQ4tr*NFYi;HmwZuV-U+xCHQR_EwcGW@Gla1TfjsS(@e;qT}0 zTx_9KF2XiSw{=b|_g-pQ?n=a{*n(=)+P&q7OU)Y?Ms5xKnLmE5dqs(x=*LQ*tChwV4s>HR9rX#iy@_O_-mR{&U z<(gWUSzI1p4!FrDB)i7Rv3!To@Jz4e(`!z9v*mXBepIqfz?5<7Ioy4+O6GMtFK20$ zI)T4~EV78-Ks_2Y6Z%~eH3y&$6!Cp@VJK#7$M-!yRvU9eLQ)i>29*D62HiR! zb!~L(|M;Ezej8mLYA-?RBf$Id)#9(G(A@Y~HKUIb_;*<(?q>%4O>V!vfp`c{vC5L0 zkdKF;6~$EkvmgEOZ@c9=e9?Ddt!hQ+$;17q5lCD>2O~F diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/RemarketingActionService.php b/metadata/Google/Ads/GoogleAds/V15/Services/RemarketingActionService.php deleted file mode 100644 index 310b4c3b9f46dd7789565d5adbf00730e0541f26..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5218 zcmds5OLN;)6t3kw+UurqMIXkrRCQlzDb^%R2Sy0)NFn_GT_Xal+-%19T!6lxiXjys^alDhjqWBkJhuD}5j|Ja9|x_j+fA%GutT+F zyB*C7o1K3*)Gq=}6l20D0$~)XexZ%>^~gjCEY!fj0@W{r`9c+)8~m1^M41OG>$P&J zx==08XOHn2H2z@a-pcBum28SXjz$*i%S%~~A4h3=q(B&DIVpW!Tu=1 zYpKsl(RSLlsafr!?Y6}>wkWSLK6DH+fF9{?XX)?nxpYOAf8yS)P{u0)&lSUEumZ*_ z274#Zm_UPaVh<@&R%}qAJ+2U{N)jkbQfx<(z>p+Sp^Y&b;0Nes8hzMKB5)epfqHs7 z4nAZdzfGYty}7G{YT&)F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15/Services/SharedCriterionService.php b/metadata/Google/Ads/GoogleAds/V15/Services/SharedCriterionService.php deleted file mode 100644 index d9c729d80b008de192074b8680a29fbfb3099fe9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28070 zcmdr#S#V?7RpYJOzVh~5>woBGYxGn0|sZo4PrPS4DH(zC6!WO*dHm&DYIEIr#w z%aWp{d(6}X2#`P(AE}~JR8jDgqNoDG782ku`2&U&9|=`S1_Ggq6wI&{Pz0DCIOp8^ zHZ6WnJ^bMLn0~&?xyw2C?Dy&;uhtG~?8(TwSuyMRrdf>a9z~i5W~5fHHmikdIkMZ@ z+cWEtLiMm#Dx39aBoa?YHq*I?9#7=1K-WgKRWF#Uk^O3Qzick#i;V^TiC+(|tt>Rm z`omJeY%DYm@^!Ol6zZj>Sua&9hNy|sV2oArhi0ReFPM?_EiGj>^Tm8Kzq3wochq7- zeB#%gYb!fh0rw_jg>t^ph-3+V%mOd!*_$i^|J7Q%FVmf*|fJCORhe5lSV~orM<{iKE>75jyc|nH0v$XJ$NKiH=C_` z#R2e^4Qi*$CfbvWw*cF)rqxwvQ4Wx9UDaA?Cz*$>ILJ2h`(}R~W95=rX$J3O&r_`& z1@D!q6?R~9%~m6LA6(X2$t)K&^C17QRIT^db)(s=_18nKRH{gW)k>eU%$VY&bwwGG z;ft@71ktI*qD^CKaBi>KWPw!nEc?+*m;&5L%%Im~v?*s`qNc5ZkHy6N z_p9Z6Wj|W2@8cqCcwjA-RVy{Ra4=flP5S>A2Zz>G_16b4trJ^{0yB#8Py7P56vc%% z-nJU-5aV)jE@E9f)aboIg?C+Dh0d$1Hk{Q}0JOSFjdoAb1h2Di53yJGd+}JB+rlGr zw+3g^C{!y&;BCNRt2Jcn)p|e-*4c%-97fCnkroheGJwx;uX-Qs0#5bUx7B1;8kEP` zXe_;%Qxlt6X-NCeVEDY)Yv7ZC-9H{;H+`@Rbnr&$u+%&<>iJ@+)i7Ehj~W3n`+$XE zqj>)eb>GI`gw-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xZv*ix>gut_}+Guq%Pu@{5Jxu-CH>|CT9aKW(JX3!y;Nie{> zw%cRWn_?cQmq5Zor%yUh;9B z`=&adyCwpL8m{-N8ZP6x*@4zJtCPZpn*$BIw35|!!csOgNIn~K;Mvt zka5_Hfx-G`g?bS#pf=JD{q}qlt_~q?lAgWaheY*v`I~+po_O@t|Bykx3d8zYwmN;t zL-81J@$iiQa}sVO5trB4(huRX7q`(vB0U+4Nd2UIm_7Wxv;&uh$kO3lW+~M4f|@*( z5Wiv60osO(h`GZLAQP3Q0-tACkH^J7z*z+U6wV0_gsz`t>Cn=+&_mQi;HPjtB0`8v zbDrsikH$qFrXWIZvmHcf8v;)<;19ckr*jWGe+p*Pg@x(hinf#LXgT(867>H>&E&%${JZ;bK!SKCE34P3&q z@G0ps%D>LQEQ^ul+OgMwc3s%v=Xgi(=-FwK!PdJ2a7Fel)|L0O2dVe@}V!L1_~HB^;{ zaQQ%hHR8Iq8+t5>A@HOvgyOITr_tNM^u<~)3!{Om46nlIRbiwD$-ZD{5i9?f6v)RJ zN!9q`aAEwTTlzj+Ik+u&1sVqTYp>P9S0@h~HsK;R`Nt6H7iqW>ul3R>yC%MCxJz@& z2y2mqz$uaM{`Bwv{B8PsQk{JudMTL6s_`Wu0bcPzk;U&&!Sdi0{cf(tK20Vam+h&G0LKN5Jlj8CF$lo+#+~+9@-?-fWq!=`ZmW(C;^3? gr~vOqpGe;4-{|_^(r6iBv}3;JF+*p;{X5v diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestService.php b/metadata/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestService.php deleted file mode 100644 index 9e872db2629bfb698e2f739109d9dd8243500383..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 54061 zcmdsgdvIIXd7r_T$ODRkAZbNGFYaAGv|cYMLE=8RyWRyzki?24U;va>w$f_|xFivQ z01SY7*t1C;H*M0`Z6=;fI+@f{yG@%(Q@3stH#2P}Y5z&b&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9KtdM&6v1nOBmz@ZLj z>&@*sxZgs`Y1ik}4#6|5N1|jK{tNam{UoZf((g&soI;4!mxffOKChzM72gbf>Clkl1NQX{m}kt}UnHn~QqCBmUixxRjR* zeC0gJ611o03R2o@^2-bH7Hz~JjTEf~8Q;Gta%m=g( zogVDHNGC}kmO{d-i-?^D1QG*Z=rYo9qd%buvc|JXl@<`U13~5Pu&0;A8M{N!oGo%I z)m)&Alh-vXSW?YDlDmV_rR^hl1R57HJcPc)b;zzb2{gtc6?w{w&ENeD^i;O6S93KK zL%J4c2S`vlp(ml;82y9gH3SWKDE72C=2_3~WI7#eBz2R$$l%jS+9P#SN4PNldPF=K z;DB=uR0|Jo3?q-DQp4_({Hn77{W8b1T~ zj$Rm;DEr?l@RD&-ZoV04EyD3faWfcIaiQPH)PZ=FH2m^LqGK1trOS1z$l!X$ck**N ztGaX2=+^)DWk5o~bG-+qR-xQ=8A(s-wcr@#nXw`Y&aW{%JU8k5fQ$(H$-?3IbN#!w z8CM3!(Q${{ShNd#y&I9DSw# z#_fBv*d!yikK36q1U1=Lc(Mz|`~fDLDANqT5)vnSottPN;w0D5iSU{d#P-Sh=AE6V zy_(zmd2Y`cSA)&X1q3sTrM{Gymf}V?YhO`TPbWF!LQjo1@?e1hW35hF$!r4)w7QoU^bal0KEBdVoXyLwAc98Rw2|xo$rtPo(6O{DrGinternalAddGeneratedFile( - ' -Ù -Ngoogle/ads/googleads/v15/services/third_party_app_analytics_link_service.proto!google.ads.googleads.v15.servicesgoogle/api/client.protogoogle/api/resource.proto"s - RegenerateShareableLinkIdRequestO - resource_name ( B8úA5 -3googleads.googleapis.com/ThirdPartyAppAnalyticsLink"# -!RegenerateShareableLinkIdResponse2ø -!ThirdPartyAppAnalyticsLinkService‹ -RegenerateShareableLinkIdC.google.ads.googleads.v15.services.RegenerateShareableLinkIdRequestD.google.ads.googleads.v15.services.RegenerateShareableLinkIdResponse"c‚Óä“]"X/v15/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId:*EÊAgoogleads.googleapis.comÒA\'https://www.googleapis.com/auth/adwordsB’ -%com.google.ads.googleads.v15.servicesB&ThirdPartyAppAnalyticsLinkServiceProtoPZIgoogle.golang.org/genproto/googleapis/ads/googleads/v15/services;services¢GAAª!Google.Ads.GoogleAds.V15.ServicesÊ!Google\\Ads\\GoogleAds\\V15\\Servicesê%Google::Ads::GoogleAds::V15::Servicesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionService.php b/metadata/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionService.php deleted file mode 100644 index a94b1f995925b72ce184c23d1a7f53f804613729..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4894 zcmds5&2Qtz6|W@khsR!-=6)&K#fGaUSSLs&tcyhgZk=E#(lW6U$&l1;+^87P(pV-S ziz+|XO&1Fkz4w#=0dmYS1^PD>=xvYfsXg`3Q-GrAv8VRUP?Tj`?Ak%mLwt~jocBHN z_vStR9Zm=2`9&!qT(N|P{%gMKiQ_LBX58cO}(aN>_>SeGQ#lnm3A zG*x%+18Wo{VV}yNAAZ0bzA6 zqxMAs-P>VuPNzN>qJf@Th^qM%;u>1%8jhtk^=(~Kg&&A3=t|dkVwleip}-!TZnLR5 zj!+b@qqQB=)!GCq0ogXYhANcA8%WTNr?{=F#A@TFMs!tJQvOvyHK-m_lk==s-pn_Q zCxKP?X>%HYVKDN>!+H=78$&wgRU<1o6F*u|fp~l#^WU$Fr548D6z{coJ*h(#si#Y} zf_hSCfr?&b1U+7H=1LB)IXzDFZLyZJ$}%v^@=T5_gCJSvM0=OHfj>sSx`G}J^J*lw zt&vv7eU^YE{%k_edGNnmLLxtNp1LkDGR?Iwmr(iS>(`v{D!RI(VYRIr8XPfXgQ_`A zTen=@G~jq|qV*0oRP37eF2O2swNG4OiKRjZ+fOuCH(EsR;Fcy_5(Tu{feQi?1yZA} z375rnbZyt{x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12!cxZ}o^cg_YO8QdU zu5Fy*FF9+R-Gn8v7_t$|jtf^{v8$Nm7Y^h@MbrDHO7pWBa%zDUK#dkmX-r5GvzhF# z#@*Li4k}?C=K5UW2>E&?naB9OP7eda`>MmWx62=T3viYuL^I&>HueD)ie#$ zu4M~+#i$lJw(AQen8wxi^&T%;{R{^hW{V?O|NLllI6k`vD?#nTgW&8T;_^3s6o*Bw zs|{wa!r#PT(La|ZoKaB^p_^-d`ix_e@S%+5*~WMN?C-u8|4Me9{)PxQApcJE;7!k7 zls}>7myf;qSK=Cn#|`K$N5odT@Ip*6$KerzomBl;+<*NTe`>+XudhFU{@j)p=6EdS zQu@7Pd{X_~Fx!^&3vu|;nOgy0p5z?C*evE7LYa|)vy559;F$084}3egwH;Q-u&2gf z60l)Hb^{LgGX5ooD`Yd^aC|R#-TAqQx7hEMxIZpJe5BS2_+=9c$lyMOPXYc98MNV+ diff --git a/metadata/Google/Ads/GoogleAds/V17/Common/AdAsset.php b/metadata/Google/Ads/GoogleAds/V17/Common/AdAsset.php index 61a79453358308197a934fe817224e42cee8f8a5..7b9d74e37e172f59744cb78378234c1102af6d2f 100644 GIT binary patch delta 71 zcmV-N0J#6;YvgON=K-^=3UUIojTi<3vmg^G0|fX43Rsh|3PH0h0*nN+FA?zpv$zKJ d1G6y?{sFTe4H5#glNuuevq=_20<*RpE*Zz@7{vep delta 88 zcmaEo{Um$Cb4HdQEL;(j9mV7)-<4I`e3r9^WwV#SS7w&iEL@3DVW-VLOuS5+ZN-F` pHrtE*W856c_mOdPJewx-<{~KjAS( zH|7DevJ!Fvvl=Gq0<%gl5(2XaA}9j0pay>ev%wJY0kaA#LISg63pE0>1StjrvmXgW p0<$C);|v7%0}45l(G@0>>@pLRj4vUxsx6=avs^Lp1+yqU4ls^&E-C;3 delta 139 zcmV;60CfMh+5xuO0kA6q1e^p4Jd>d~CX-Ja2eZrz@&N?P1PVoyfdn6u?>8osb~Pch zl>+Divn3mU0<#h(L;|zdAvFTCatJ8{v!osI0ke-0assnfDB}#X{TL_$v%U@M0kZ)V t>H@P2BnASrl^;R^vpF^X0ki8C5(2X~H}M6tsSoA>vwZ~h1G6YS4luleGHn0= diff --git a/metadata/Google/Ads/GoogleAds/V17/Common/AssetPolicy.php b/metadata/Google/Ads/GoogleAds/V17/Common/AssetPolicy.php index 2a8a1b696ab1568d3b096c16114f7fbd79381a7b..7c7d5ca56986b3436ce9342b3e65778e42ac7193 100644 GIT binary patch delta 61 zcmV-D0K)(8Q}0u-VFa_36hs2EaS|f}vta}f1he)GQUbGg3V#B#*cRgqvq%pq1G8}m T1_A`?3koum;1?OQ*drGPz?~Hx delta 70 zcmV-M0J;C~Q}0u-VFa_t2oMCbwIK!qvnmgN0<+i*QUU~_1`11)u@WD%uO0>iv!wI(`old%#Rv)CgS27Nmh!~g&Q diff --git a/metadata/Google/Ads/GoogleAds/V17/Common/AssetTypes.php b/metadata/Google/Ads/GoogleAds/V17/Common/AssetTypes.php index bbd327ee6562000e2b176e6d717ada21e8a95330..bc57b2692da4f96ddae0ff5c0f7cf248b8529cc9 100644 GIT binary patch delta 214 zcmV;{04e{#=>ov%0`0khFIOaiktAF~0ohYqp< zvlctg0kb&}yaBUC9q<9O+EDlbvl?C70kh%=;Q_O#N(}ov%0WvrIs< z0kf(vzX7ve4DkW8nOa-~vk4HP0<&-wJPWcuOailB0{H>6u|v-Rv#cK&0<(-K<^i)@ z2q*%xaw$Rrv-wuL0kf(S#sRa03fcj);7$z!v$QM60kd~AUIMc$N%#S?X)zB1v%NRn Y0kiE;Ed;Y&B`*TABum=?v-MufRl5&bkN^Mx diff --git a/metadata/Google/Ads/GoogleAds/V17/Common/Audiences.php b/metadata/Google/Ads/GoogleAds/V17/Common/Audiences.php index 170505e48c49d0389bd790cebafd74f696f331f4..0752276d79a877200aa5be50f6dc53e2916c4569 100644 GIT binary patch delta 22 ecmeyY_E~L%0@LRI%$pfED=^(>+`NhPATI!Oy9rwW delta 30 mcmeyY_E~L%0u%EMX0FL|IjlAduqQaT?#YAPvV-Lag0QBFDl!D*U?*0GvSzd$IdCmIycr~G02l! T2k9pS3%YHx>CtX4FpXXScZb7= delta 48 zcmV-00MGxvCxjfZ<^co70}7K73P7{z2Z{l+iv=431ndtAEt8K08IzC+HnUO+qz1Ep G5A^4fD9p%o;Vk??I?`_vnwO!0kgpyW&^Wm2rmM&+z!71 zvkU}W1hf4Yj(ehgj$vqduA0RgO&{ud&%d;*XGvm-QpE?FKo At^fc4 delta 146 zcmV;D0B!%E#Q~tj0kByDvv4xA0kc{STm-Xh2`>V(0VwAIvotPV0<)V7zX7wG6SV`g zFB$OxvsEO#0kgId=F00}4cwaThg{U>6UQWe_2=qY{q+v$F|r2D4oPssXbN2&MtE WA`ln?v%v*S0<#AMx&gB?6lxa31Qdz@ delta 68 zcmV-K0K5O3Rh(6@T>=E70}3{iVFDSG&nX78=L&}bvv?A^0RzPZ3X`!HI(0<&EL_yMyr6lxY6Zq7d2pk=4T#i?ao89<4IRRwy2owMS diff --git a/metadata/Google/Ads/GoogleAds/V17/Common/OfflineUserData.php b/metadata/Google/Ads/GoogleAds/V17/Common/OfflineUserData.php index 71861f8afd0a9fcb702732ff49630a8e5178ed5e..e3b940fc2e0343e76178ea9cecbcf419996a0e7b 100644 GIT binary patch delta 31 ncmZ3hyHzC-bt%Zw_PH%((eD`!hZOp>YZ= delta 30 mcmZ3hyHRx)!LPxO}D9Kf`YdGm4hXM6y#7z-Kz diff --git a/metadata/Google/Ads/GoogleAds/V17/Common/Policy.php b/metadata/Google/Ads/GoogleAds/V17/Common/Policy.php index 6518e704d86184c882450036ceb7484c6559c3d7..3130b61a5bef1ee6842d9b8f29de5f52def134b0 100644 GIT binary patch delta 65 zcmaE4@W^1p6GoQ3EL@S39k?YYH?W9I-oq_2nV*w)^9{BXmd(j5%1kUjShymPq_sCY NFex)_w&7Oe1pv*H6S4pR delta 40 wcmaE4@W^1p6UNPZIqI1<&tg+%V%f{W6*>7JhvVd27T(QfOerjzZMfBV0Yv)^fdBvi diff --git a/metadata/Google/Ads/GoogleAds/V17/Common/PolicySummary.php b/metadata/Google/Ads/GoogleAds/V17/Common/PolicySummary.php index 0b8abddce2a1732226d3784716c98413f430cf04..278e9d36bf3a7f1a96bc2f13d222cd2c6eb3cd8a 100644 GIT binary patch delta 32 ocmexr_tkF0RJP6RoL(%Or?M3>Z8nkm$GAC=_c70ABN=CA0NB z7U8Dk2DPX~o4^KA{EC7irRZgg5TZq4QD6#1Wf2hwbxlTEv^#up!G&hUtEc2pQ^ zW8y1;Z#EW`0_2a}BfN~Q6~$X3uQsZZg*d_T7%Yx$0_M^m6TbJBGTdyBGptU;7)Gx) zF&wOq*uZla2}4y^1USlO1Z36N7%r=i2rs%BL+Snn!UZu&xSsi$u&Q&OVBPszz_~Uv zbY0#?hH&WwVKJJ`(7LysfggTDsCCT|W_J`bJly@v3is9@4BmVY=DR)-P7j))tvTZa z=l17>OWAh`+M2I~ZyPRJ#pLn@#g;?yzF0@XDDqSk%@CKA&bq&XcKk?G?HPy_KOvrx z5{+SAa?;MzLYhx)k(iv#(<8yKS|3n@n(CDV*~w*pFs!wxNQ%%2RsrEzy&1Se&&gAw`L|YD%Y;p#-1(dMn%U2bzWS7k?l!(_K zlK7G->hGFp4>Er@+~F^kL4ZVb|{m#@`a&@47=MvCR^G z7VHx-aIB_MyrJ<*^Vx3W*R@_+`tb^(Q==6aO4_V!t`_IVt0{L6&+6#Zm-*=llb374 z_+qSgr-r8xR;C2p#|KAw33v2&>!!0Onm8Ko>(&ROef?eW9@iulQn}sNaE3_MxyuMm ayNm}<6>3Dh3w3`g+_A$I7FAe;|` zuaO(ViROr4D2Wi3`gRG~Hb0>>3Y1&sdwH-fhV1gFa;d-L4O~*dm>EMXc>{ZYl5}&g)nAfhDA=1;nij{aue(fb9dAT zk6TReCN?u&ihX0Ih*%ZExuF%w`V9DahWM#f#I3qTU@BeQ8+A~ueJJ>}3O}1>!t~ai aPPl_MYQ%G}UMU;Y`aajAS22E_pcfdmRelMn_Uvkn5~0kZ)R`vJ4j2MYqT{1N8?v)l>p d0kiW183ME86J-LkunkcHv&swR0kcRJ@ej2U8y5fo delta 71 zcmV-N0J#6TOu0<3>jAT{0|)}MlMNXH1ik|bIFqmsDYF;?m;tl12MYqTr3>x>vtktH d0kaVjQ3A8L1^WTBz6s|6v#bwg0<%aK@eia}8YTb$ diff --git a/metadata/Google/Ads/GoogleAds/V17/Enums/AdFormatType.php b/metadata/Google/Ads/GoogleAds/V17/Enums/AdFormatType.php new file mode 100644 index 0000000000000000000000000000000000000000..46f268c1f7164b4feaa8d4414d5442d4952597e9 GIT binary patch literal 1125 zcmbVL&2G~`5GLvWwg}@x4;-o`RB9@LqpF8W8wzq7C$&m!t8qX=k)n;gaV<+k_Rl#IAxxIA`}r`EmdZkhi%nWvc)slEJsA> z-i)V^vw|!)hma9ou=I}LrlL}Vy?PTb#xTRM>e>@}H7lU(djP(#g5&=XO5ZDs456t} zscQ&z4W(}5R}E;(a!8>XKWboSIjKJZ+aqV_S!Z_7wz}FQeH(0yoD0YO;Ak~{3#_^R zxpk@47eK2&upD0iSM*(=+s@Fxw9LU|cwu{<*?DJatNJsrTjd?sS^Bo71F&v8JxkQD z%eXTdc!GRGe+;(VkzbN&oB9se9GFAV*z9UsatL$OwOtL!n&G*7=?}H-&Yv1+2n#IU z{?HmaPnVyoZp5p7JX`E8q6tnTgR-arzb`K`X!SJp6u zA&fGVk+6oLtnu>}FjnSSa*wi4>7U>AMp=rGC`PE_K}ZlGq?o4bYQW=z>VRIBcX@Y& O4_>eWmbe>m1HfN?oL!m# literal 0 HcmV?d00001 diff --git a/metadata/Google/Ads/GoogleAds/V17/Enums/BiddingStrategyType.php b/metadata/Google/Ads/GoogleAds/V17/Enums/BiddingStrategyType.php index 4bf6f9805ba1119bd430c89727851f7d0df763b8..f90f824c438e7a958d54f1626589e39b3ef204f5 100644 GIT binary patch delta 72 zcmdnXb%$%iKSri0Y?GK`8Fx&MW0Gc>!^|Z-Igv?t@&qPFK3*`WGZ766yoRNb_@=74T*OT@(&FV5Z%nq H;>8F6at;j? delta 33 pcmaFFb&+cWClk{@*2&yV$&Aw{=QAlVePh}@k*SPvvjmG5BLKRH3K#$Y diff --git a/metadata/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoal.php b/metadata/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoal.php new file mode 100644 index 0000000000000000000000000000000000000000..99f658ca1647c24b23aa811ba8cb5e41fbcf621e GIT binary patch literal 1000 zcmbV~--^>f6vl0finD^T?DaC%h3$f-EPJsqwMyEivB;*iwu%xc(`1qzNHbw(BL1N- zxN#;moAX7M8s+H#rRFeCM0_elK3-S2=hJJ(3ZQC5hnbE0k9R=A20uvJ|e0 zI3^s1Y@O4Ta2vwm1p1RXbcf^l6E!MW!9#*z!dQ}$4vs{pEOqty?4m=mVl6r`{X(K; zn6H-!!>Mib0m$&0h#ZFmdeidT8&N<%0lmg;v*#gb-JQk>Fn>TW$4<5UnOaI-fqvQSc%K|L_ZLef5krKavZ z&Y60P9^6@*>gQ2U6O1!Sc!twpNJPkKE*YPyR)i8Ft4Gx*?bEK=s?}%=+oeT>Zg}iL z$qTZ-970ZH!Lw_DO(kWFJ%35JHk>G`wvJR@?W$4lJpsQO;QT*=Y95tCw#wA5(zR8( zwn?{zfwiB8&Z%_?9`2ttAAy5~|8D9I#-p)2wC*$y!2N~)#-Dufty=Q|xI1&5!E3AD zJOtLqnlU(^gE{WvMGgr)}u`y=w>zzk2{1f=h(|)LZ2!LTVVH jN(Uh&gpg5M-7^NyPpS-`m1taZa4STnvFzJ`4FLZDJ<>x% literal 0 HcmV?d00001 diff --git a/metadata/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnit.php b/metadata/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnit.php new file mode 100644 index 0000000000000000000000000000000000000000..5bec92a92336a34b7c143d4e59fefac8f2547b0e GIT binary patch literal 1100 zcmb_b-HOvd7`0tcn7y#{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644 index 0000000000000000000000000000000000000000..f5f063edd650f94727a46e6e243f9a5a9c575210 GIT binary patch literal 1123 zcmbtT&2G~`5GE-CX?q}w!~rf{+Dc6&a8x){+7M9MY=ebro7mw`kyaaL^6S-vMnfYdRzVCbfGC#?|796pRNvhZ!&OSqR!eB0i z60u0(tXwRZgt0iydCH^%;n0VkA3;2Hqer^65T%S6f{74G%DQx3bZuBgXM6iyCZ&)? zw>Y7a(OJq!F4-AppNL5~W)c7yJ!M5sV+KdT!7)>GP8FSw4Cr()FP32yz1`cNVguR( zAWmsfz;Fc~SZtF9Ujfv=yqu*xhJ~U^|84Vv@Qf=?Q~pK2w+|OIEtp2STDvH-SaFfT zs=?1<*4c#?v#Q6`?r6rHntMlc?^y0Pe>K2^YbnB6dAj+n0q$R$ZQldy6E6(#p?l=wVe3|V9o(IG zuRZ^r*J`x40gQZ~91pw?WDtfpBBQZC2}0s}WQ^ZTa2U0k?We%Glq5qRheYd_;P-AA zk%>3NV-me`LvlC?BmWqWTWbe@8(>Q-e)*Ui-*xct+O>@kg2qR@JWC={nk9~qNjG7c z(fi6GIWKN>OwS(gM{{j782oH*jEol??EuGyRiwS(STFouRZNXtF8Re6X6cwe%`MxE nkZwn)MnXtKA!M;;cg&X0c510SwhFwE+l^W^g|_Y-oCEL={%&%Z literal 0 HcmV?d00001 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AccessibleBiddingStrategy.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AccessibleBiddingStrategy.php index 985bd524e0d44e70b61026c322421a5f2fcbfe45..657eb35914e7b426c1cb82b10d198abfdac26192 100644 GIT binary patch delta 107 zcmV-x0F?iLBA+6#`vH?N0wa?d0vMC~0Unc70x$svlb{4$0l1U?1RDgL0}2z90RW`vH?S0v?kd0vMC~0V9)C0x+|m1sVbb^#uw#lf4HSlb`}Z1epU0 d7n5xX7Xu>w0+It(lVt~c(-MOfA{Z@$lI$^`&dp9e7j diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AccountLink.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AccountLink.php index 067d203ab840655ba2149ceb2c630ce907734687..c3aea707f330782eabadab6a262fb98f663438dd 100644 GIT binary patch delta 62 zcmew-^-pTUJ;uo*Ov;o0FiK3m$0#@1oJpVM2s4-2Bo4{R8(3L4_plT&v;1Y|vVaM6 NFg;@2{D-}X6#%m@6(axu delta 58 zcmew-^-pTUJ;uqBOmdTtFR-9}C-NX|{)qEJv8R%s>L`IAk|3 NV2WVg{D-}X6#zs-62|}l diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/Ad.php b/metadata/Google/Ads/GoogleAds/V17/Resources/Ad.php index 485b1f1741476180f1b2bb1ff1c39f862d1cffda..3b9be3f419c9b9a41fa7ee7e8b758eea65b8174f 100644 GIT binary patch delta 180 zcmV;l089VCm;%6<02pPv&$qS0<)tAL;|z>5H$j`#2#`2vz#0#0<*6b@d2~pKzanT?k3|5 zv*04@0kg9V1_HCP8R`PFHX*73vm1H50khFQ5CXH;df)-Gxeh`Cv!E9e0<)zA{sFV# aIPnFu(KF@&vs*>LGqdLi%mcHxe2EXY7DSQ& diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroup.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroup.php index 262c1478c82fbdfbffe16e543b0218f775433947..671de96fe3c8506124d3ec3812049a99b02cab8f 100644 GIT binary patch delta 191 zcmZ1#IVEaC9Mk6YJj~3S*RYy0Zx$83%eXm?$&Y#SA(=ajn|DZYF>T(&pUk@XA%_an z=1*eBm^ZU>uVQ3cDYJQj+*Kx~lOmhT6&skXWw`{>GAmM3;*$$<<8w2Ui}H&l926Ke zm_2wq7#W4+xCBcQi_%j|fbwN9c}K83-{j9KTNwE#uTZ_gC@{HEZ3?5{W-;~O%(AGa RIf-xy#Usqv%&fhf5decBKx6;_ delta 118 zcmV-+0Ez#UTB=#FUIGNh1`0!yp$|5*tqK$avtb1_1G5SjBm%Sa9I64cUIGIHv!@Yb z1+$h2-2t;M8O8$xg9HkbaUVUi-4DtEv%wAA0Rq1pv!EW;0s`L?vv(nY1Cur-umKH| Y=Ox$y4wJwplmQR3RVVucvwJI<0dyNF!2kdN diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAd.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAd.php index 0b32372dcb7bf5e5389be30287057b88078c0a3c..d9d6b645e2f0cad65ae7b83ea232918c8995c500 100644 GIT binary patch delta 188 zcmV;t07L)xx&rsQ0~^ zlS_vov#0`_0kdr<>H@O`FcJc@^B^b!1j_^pMU&wUAG1FiF9Nee1jhlh2Nfv;vt1<+ z0<-D|Vgs`rRPh0`8zVvjv(geZ0<$_jBLcJ4IOYMfZXAUKvt2Bz0ka4V$_2Ab3%mid qTQqtEvkC^_0kbd|>;bbEGDHHi2QK~rv%5Nf0<&E|)Dp7|R%%Bv07Ciz delta 201 zcmV;)05<>kx&rsQ0Op>jAS29Pt6O4OVJL Dq0LAV diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAdAssetView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAdAssetView.php index 423a28e555c21270ca097d1bf5bc7c8bbe33ab4a..d6afa1dc88f8cf6f7f385c7e6487a50baf9aace8 100644 GIT binary patch delta 89 zcmV-f0H*)HV839ncLK9=5V`@gRTh5&vyKSy0keG!^#ijk5(WaZ)EGnpvoaJT0<-A^ vr2_=(1PWo3feas$KO91{+yV^(vltuW46}a<{s9E}4+=k%feab57$_$Q+5jHc delta 93 zcmV-j0HXiDV839ncLD?J1PYTO8e+2z7Yzcl0~4hKv#e&|4noqC56JUwZk74OxH*iEjcGHNq$cy`2|ULbH}4P& zV%jVwRL`_IMqn4?=C^GB7&qT$5n|f>nqw*R=BXmeOf0WixDt`fQP_NriI-_}x!ep% E0NsNnKL7v# delta 106 zcmeA#=r7oi$;9%Sg)4FLMi#ZnALOJbACOnroF&7{v{_q3h-tH~&_Bk_wqi?}H{anr z#<+Pc3mensVu4+Zo4@eZGi`n(sm!!_5qA*N=FM!H%q)9ZxFV6v;oZEO=@aATa=96j E00LhoUH||9 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAssetSet.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAssetSet.php index 7c66399328215f2d32e4de86ec537df88e601866..208df7f3cf40d2b6a02dd270ca8336a685ae074a 100644 GIT binary patch delta 24 gcmcb^e}{j=3&zQEOv;nlm?S2@V3gbJ$TXW30CJcJDF6Tf delta 24 gcmcb^e}{j=3&zRHOmdUCnItB^U{v1h$TXW30CM~YGXMYp diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAudienceView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAudienceView.php index 60112f702..74bc318d3 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAudienceView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupAudienceView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( ' ø diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupBidModifier.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupBidModifier.php index be891ffa279dbb479eb7441db3055189293eca9f..79da6c957165723ee517e447b172cfaa42456c21 100644 GIT binary patch delta 153 zcmV;K0A~M$)&Ydp0kC!g1m6P+Fq1(9AG3E9!vV7dCA$H$vK!w4v%e;*0kZ`#?g6vb zEiVGIFe<+Rv&|Xh0kaJZTm%BZ1Cs$EA(L7;6tk@YfdjL465au`EDGTPvuY^D0kdfk z4Fa=~9kKzl{uj>yvpN>U0kcCN`UA7?E9U{TrZZjwvn~ek0kiWlvjMXn2o3_XJtM~f HqXafJ6S_FD delta 142 zcmV;90CE3>)&Ydp0kC!gv%VF$1G9`S@ByR2$&|vtkik1he}d4Fa=v8QuW| z-vbITlTjuhvzh|J0kerD!~wIqBF_P{eGlaUvlj;60ka4pvH`PACi(-jJv7Gwvs?tb w0kif8s{yk$9mWB(z74+tvqviD0ke+_F9Nfn3GM;2d@!>Cvo0)N0;2>rHDfF`7ytkO diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupCriterion.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupCriterion.php index 236af3df3eb15aa353c36c201974235284cc3ce7..452f1137065b0339099f47d795ed701aded9d83d 100644 GIT binary patch delta 192 zcmV;x06+i2qXNRC0`UbMBV|jR~P32lOPHslO%f@ zvz#rW0kdT~ssXcI9kT(m4Kd^avvzhO0<-@MvH`O`FV6w9u?@Tdvuzvk0kb0$Gz7CW uKqUgRS_a_(vsgF{0<$0r-vP7NG`j(_I|$_gv%n%;1hYIyIxe%Acq$n$2TF1P delta 200 zcmV;(05|`_qXNRC0dvpY651heHM=K-^=87~5}OEmETvsNjx0khm2zX7wb4)FoA0!CZ} zvvvmE0kcX9W(2d$CEo$Fz%b7Nvj{8X0kRh60kdL4y8*MI5XJ$sc0LUPv#Ten0kh^8 z#{sjcA6^2pa5^Odvzr|c0<#Dr-2t;x2=@WAUP?MH1e*j3Mw77_AF~fF{{gd@cq$o8 C`A+=+ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupCriterionCustomizer.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupCriterionCustomizer.php index 23ce33715ac7b75817f3ebefd133c0bebd0a73cf..7cbf292be912fd28260c4019cdca16c5a5712104 100644 GIT binary patch delta 39 vcmdliwOMMzKgP)>Ov;mGm?S3uW0cz*&LqdQ*_}%#dCC1Hh99LNY4yp|0 delta 35 rcmdliwOMMzKgP+HOmdT-FadRn)IMe1hj;kyH@7fGz diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupCriterionSimulation.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupCriterionSimulation.php index b3f79122d7a1cb10c12f0586be2ef566df98a3cf..6bba242dccbc8411ec1b7904ef4378a38516c595 100644 GIT binary patch delta 35 rcmbPYKE-@P8`I_{mP33jUzxd_Co76+O=c65+ntn!j#Sh0Bke|#Q*>R diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupExtensionSetting.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupExtensionSetting.php index 1e3ae49f76c847ce199a54bd66dcc37b64c0b019..5b271d99130c1b69d5d4e319111694c0d1e5eb92 100644 GIT binary patch delta 51 zcmV-30L=fq7Q7a)_yLnH0wa?a0vMC{0Unc40xty40}4Hptp*vBF9#5_0R^Z5vw#9r J0<)fea6Y6Ov;o0GD=Lo&nUOqg6Wem0C_eEHUIzs delta 20 ccmZ3bvr1>fea6XBOmdTtGg@!9VEQBs093dKk^lez diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupLabel.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupLabel.php index 2365b9b80610d34f56872fc51b4dad0ddc75e16b..6a5093dc0822ea2d79f41443588a643763514e91 100644 GIT binary patch delta 24 gcmbQpJ&}9EL&nMCOv;o0GfGT;$SAkjiYc5K0B$@8ApigX delta 20 ccmbQpJ&}9EL&nK6OmdS?GFor8VhU#l083^DdjJ3c diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupSimulation.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdGroupSimulation.php index 899bf7c09123127afec7d7d37bd90afb36e30ae4..98e7dd97102ddc95acac0c25b21209a795e913fc 100644 GIT binary patch delta 46 zcmV+}0MY-(H^w)x>j9G{0v?kN0vMC)0V9({0xz>~1nLk2^#cl%z7<5Xx&pNUvso2w E298h=T>t<8 delta 47 zcmV+~0MP%&H^w)x>j9G?0wa?N0vMC)0Unb?0xz>&6Z`=LwH*pDlVKAXvycMK5VKho FZ3d9_577Vs diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AdParameter.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AdParameter.php index 2ef4a7f9348f533daafeaddef32f1aca723309b2..34ccb5ee1d4618b083d193510478f9c8de2a55e8 100644 GIT binary patch delta 24 gcmcb`eT#d;J;uo*Ov;o0FiK3m$0)bioM|yL0DD0Q@Bjb+ delta 20 ccmcb`eT#d;J;uqBOmdTtFinternalAddGeneratedFile( ' Í diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php index f417564b430b6c47a06cbfb798ec9e474d91b63f..1830f3174f980ca8251abcd7505cd8774b27b9ac 100644 GIT binary patch delta 22 ecmZ1=u|Q(OT&B(QSUxarp3B6@w7HLM5-R{_I|w-d delta 22 ecmZ1=u|Q(OT&B&vER0N>=Q4d@+}y`Di4_20rwAwj diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php index 9dddeea7fe217f71c55fa364a732eb89ce10d240..34ecb921cf7a275fb0b3e755a8ca857dfe0e62e3 100644 GIT binary patch delta 62 zcmbO&Foeju}b0vZCd z-V?_Gvpq&A0<)S>+5xkoBJlx}wmuz`o>T{uUa}Fh+7*QXv+pRO0<+Xk#sRaCD?AIc zKSCG+voZ&(0kiNC?g6vRY%c<{S48Fkv)4*O0<$q##{shu8!rO0;~>8QvrJ$P0<-v8 zUIMc!8Rr4Bo@CwuvzG*$0<&Ki%K@{@HcSGuFdwr4vw>8q0kf%UBLcHb&G-3Z|Uvvg7o0<(N(Ed;Zp p4Br8>`)*SEv$j6E0kbsO4iX9qcLe|d delta 294 zcmWm8&nv@m9LMqA@6V@Z!=`2WQcIHjYRzwHe$9_0WG&igjh2H}9F~hM2f6J2)f7q& zlQ@iCxo}u5+0kvwk4X7(6At2FeEkE@=OdL7sf;+9V*Kd48NEGQj9~R4VRQC@a2$Ce zoXp=7oMVdumfBZ>qaaOcIBQiK7IY{rj*&bUhBlQ9<;Xer2@%H&p`zK&NVwhzAA=yc zT9X86eka6Md=d%EE~BKZGaq~XqYRn%O_-5!fpGSe5E{88xT_RKlkJ(n#u~=PM2Ml- z`xu|gXIf9WAk-CIYqvllBR+IM@>duf{|Ytf*I|us3Db>fg0;iX*!JfLJMJ%nsolu% p`UV(*t~)|>&L%NFT*(mins_}JFyYa=B%t@)X!h0UBwDVF=0D7IakT&d diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AssetGroup.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AssetGroup.php index 421ec8f27cbb5b9e1b26d7067f44283e236f69e4..2d171724042bf16d2fd30c35b6044f03936790ac 100644 GIT binary patch delta 39 xcmV+?0NDS7A%h{X+yRpk0wa_90T`3q0Uon80t5oH83?ulvpEFd1GCQxv;_{e4QK!W delta 39 xcmV+?0NDS7A%h{X+yRpp0v?n90T`3q0VA_D0t5oH?*`xlvpEE|0<+Hwv;`a>4n_a~ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AssetGroupAsset.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AssetGroupAsset.php index 02d6b541c42a97d7ec602531d6029090eee7ddaf..f3d1b24ef931347ea3165cc74616995edeaa081d 100644 GIT binary patch delta 122 zcmV-=0EPd>e8qgQ=K+%)0wa?J0vMC$0Unb;0xtyj0}45lupcIq8!!`-ISe7Q_648; zvt%4Z0<-!H1_HB&6n_G;4)FoA1sA#jvz7-E0<&WhBLcI(7^MTV@egtWv#1{953_Fq cDFd^p2~q+C>I(`oldvBdlfO0xv#&0e4>c+(bpQYW delta 102 zcmV-s0Ga>Ae8qgQ=K+%<0v?kJ0vMC$0V9(@0xz==DJcW9Zvy@Sv*8XB0<$?RQUbHF z1_lDNHVg3qv%3~@0<-fFBLcIx2!8^zCk?s*vlbJj1G8-eL;|xd8RHKG>I(`olQ9_} Iv#&0e4>Xk`rT_o{ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AssetGroupListingGroupFilter.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AssetGroupListingGroupFilter.php index 539445027e95ea5e0e177c1e536df37fdb100424..b69fc06efdc8c94effa8e32ad15b6e6355598c25 100644 GIT binary patch delta 50 zcmccTc+YXeVW!Rh*qB)+A7itaY#=1F`99N2#?3-d1hYg9{QinternalAddGeneratedFile( ' Þ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AssetGroupSignal.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AssetGroupSignal.php index 4fa4e4900dea5bb5281dc601aa230fe38dcf259f..059386d58de51bb463ce8d90b54387160c8526b1 100644 GIT binary patch delta 139 zcmV;60CfMf(gC#60kClbvmYBi0<#`4Tm-WS2rmM&+!N&iv)&-90kc>HzX7xA3+@54 zBOki~vtB0V0kd5l#sRa~4aWhq{Sn^*vqUKF1G5(f@d2}XG~NNT!4vjMYEBn|?zpATLFvvC6F0kc>(+%o*&HU(+%i0pHjMxP diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/AssetSet.php b/metadata/Google/Ads/GoogleAds/V17/Resources/AssetSet.php index bb693f82ba0d235793008b2b1ee095a27f14c06e..c79aee42935f0a499546cbf098d19d961e3c4756 100644 GIT binary patch delta 72 zcmV-O0Js12H}p5K*a4Fh0v?n50T`3m0V9(!0xtru1C#Ct8pF delta 24 gcmbOxI8AWFE5^yHOmdTXnItB^VpQJj%oNN90A{BLZU6uP diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/Audience.php b/metadata/Google/Ads/GoogleAds/V17/Resources/Audience.php index 4f26678b468a304951cf7cede353b7f56f42b91c..3a27b0207fb1c7f9f096b08fd9f3e5392afd02df 100644 GIT binary patch delta 42 zcmV+_0M-AZH=;MNUjnne1hoOPUjkkNv)c*Z0kbFwvjMZZ3m^-#at5{mv)UHO1ZV#c AWB>pF delta 59 zcmV-B0L1^IH=;MNUjhWz1PV5j-WC~?j|K*lc?uV^P6Q+ZvtI(W0kb3(wgIzI2(tmR Rat7Z4vjhqt3$xl5$OKL(6Py45 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/BiddingDataExclusion.php b/metadata/Google/Ads/GoogleAds/V17/Resources/BiddingDataExclusion.php index fb97079d6b4755cc7a079d2a7e91480510435e27..bec85d629a723f6efbea7825bf8201631d516c1b 100644 GIT binary patch delta 35 tcmV+;0NnqZAe$ht@d1-80v?mu0Xwrw0+<4`!v>NAv*HBd0kc&K#s&9F4Wa-5 delta 39 xcmV+?0NDSVAe$ht@d1-30wa?T0vMC=0UonT0+<4`bO_-Av*HAj1G7~M#swI44h#SQ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/BiddingSeasonalityAdjustment.php b/metadata/Google/Ads/GoogleAds/V17/Resources/BiddingSeasonalityAdjustment.php index 636fc33aa4bfc51cf11c98fc78271f045280ed99..e4a637ddb761ec41822a4d58ac38adb484216c7e 100644 GIT binary patch delta 30 mcmZoyY**aS$+YmE diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/BiddingStrategy.php b/metadata/Google/Ads/GoogleAds/V17/Resources/BiddingStrategy.php index d824926c0d43415ee3038687987dfe07c7d3cc7a..679dca3788686dbf1263b4217ec8c4fb4523ab80 100644 GIT binary patch delta 650 zcmeA$edw?ukBMap8<*8&2X^_%Glc~wm#}Cv?wGuQMVe_2^W?oOVSKz?oNk^Gt}gM; z0losllZ9B%^Yd|Wg*XPeyM_S8!URM%KVXev+#Jq%mXT#0GnX;QD897Jiqw?&%2CXzF+|59qxR4UiHi)^-1!Yce7`c=uJ2J~oF5qU{>@4KU0RYn~$eI8E delta 112 zcmaFp&|$hEkBQ|pGndWeiIN7JqqyfWGJR#8T)-5|ICJtjCTW(xOkBc~FER;FVs@My zzv5`W<`sxzV|9AN$fZ14 Qo=bM}0U@@{G7_#F0NmLj5C8xG diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/BiddingStrategySimulation.php b/metadata/Google/Ads/GoogleAds/V17/Resources/BiddingStrategySimulation.php index 2916a7b9b1b8d96e7cb7bdda76b2b06be5cc41c6..09c78757c5c8b9a00a9e1bdf4a112f2e1d9cb3c5 100644 GIT binary patch delta 39 xcmV+?0NDSXHk~%G`vH?S0v?kd0vMC~0VA_i0`U&BK@%tfvqcg70kdfpv;`k_4dMU* delta 39 xcmV+?0NDSXHk~%G`vH?N0wa?d0vMC~0Uond0`U&BZ4>+fvqcdo0<&oqv;`#t4g>%I diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/BillingSetup.php b/metadata/Google/Ads/GoogleAds/V17/Resources/BillingSetup.php index 0f7a1f83a5cec3179e59904a4509fb84f279e120..26ee48b26cc575513e239f1dbc44c5d3941cd143 100644 GIT binary patch delta 35 rcmeB{?3Ub+!L*r?jE|a)(H$S diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CallView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CallView.php index 15c0ae959b9b2456ad33feb9a4416f253c0beadd..b8fa32af63e45c6bb455ccd89958980bbb68ca49 100644 GIT binary patch delta 39 xcmV+?0NDS%8NC^>*a4Fc0wa_50T`3m0Uon40s;cF=LPElvoi#=0khHv>jWq34z~aR delta 39 xcmV+?0NDS%8NC^>*a4Fh0v?n50T`3m0VA_90s;cF9tN}lvoi$i0khHv>jWI(4fy~7 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/Campaign.php b/metadata/Google/Ads/GoogleAds/V17/Resources/Campaign.php index 140172eab804170a47b313ef821cf2da08952160..dd7c560e9f4ad4b3ccafbeb18f5a1f76f38f7f9e 100644 GIT binary patch delta 1245 zcmZ`&U2NNA6z%ufN#mO|@to46Nws!qwXOoS+o~`P1Z`r{rm&2)WYr18M=JLn1tdc1f6!wo0bC;oa z%tqv5fsI0!`v7#`@Eu?k==QpyHTCepbn?KANaO!9a(JiEcT>|kEaP)seH33+cT=n; z{w8=;_@3ZOY=hv7{Eq~`+x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ata/Google/Ads/GoogleAds/V17/Resources/CampaignAudienceView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignAudienceView.php index 8f4390539..8e4f638e0 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignAudienceView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignAudienceView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( ' ý diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignBidModifier.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignBidModifier.php index df808bb6c8be459c15a01bb59ff4cc818e7b2d64..fdb648e7f330fb4fb5d9984bb3fdb9d13d23ef80 100644 GIT binary patch delta 138 zcmV;50CoTE%mMAp0kC%hvq2-f0kc&U<^i+s8Q%f3HZJY~v-~8h0kb49zX7vUDlY=F z3K-=9vknYg1O&hX3Nw>23LmqY0+j=^cM{$Kvn>kY0kfwj#sRZx5Dfye&Kt4;vpW{g s0keP|`UA6VDCYsQ<1t}vttol1hf1e4Fa=w8QuZ2 zG6d!Uv%4bC0keJ&lnWQv$ix30<&2%T>`VjHr@fV6cy(Ivo#^J z0kRCT0kcjg&jGWt4ZH!f`xfv4v#<11q}$vpfjp0kf(aTm-YC LI65w~!f4nIeVRUh delta 149 zcmV;G0BZl5?*W?c0kE(Hv%f6i0ke7#s{yk|H01%atuWsKvyvsU0kab+yaBVY1jhlh zB@*rdv%?JW0kila=K-_ND)0fb?-{=Vvn)1T1hc>wF9NgQBeMasT?l3bvqUG)0kabn z<^i*eGP?n@v<}7rv!E^w0<-xQ#{sjv9bN*nt{V>mvl}4Y0keoYIxe$!2Ic{?!f4nI D{%k(K diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignExtensionSetting.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignExtensionSetting.php index f35704ace1a67abf6694ac001cce106d3f172d08..f095e4cd69df501fa9232d77d312d80cae15ebcf 100644 GIT binary patch delta 35 rcmX>sc35mfBNNM67B1t->)0eG8?Z}l?q!i<+T6r+g>myLwwWvd);$ZX delta 35 rcmX>sc35mfBNNLxW-i;w>)0eG8?Xy(W@25zxVe!jlxg#7wizq{(ew)} diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignFeed.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignFeed.php index 7f76c12d13c7a9b1773b8230963d74838ee7560e..edd31766020b9b38e2767119ef456e9883217233 100644 GIT binary patch delta 41 xcmdm_vq@(|2GizqJgZqY7qc)iv9z#oIZqZ4lHc6T^n!77DO)7l=1RexEC4JQ4W0l1 delta 52 zcmV-40L%ZfEV3-HXaWR;1PViw5E37goeL7PN(t5hvl9mb0<$0sSq1{H1Ct;GA+w7D Khy=5F5xE4Fj1LX~ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignSharedSet.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignSharedSet.php index 31a8cc748fc80260d5d6b8bd524b3dab47c0d0bf..5465503882aa3734be48d8c5192456ea1e3f90be 100644 GIT binary patch delta 24 gcmdlaut{LUYsSfHOmdU?m?S2@W>ntn!t{<60BrLJLjV8( delta 24 gcmdlaut{LUYsSfnOv;lvnItB^W|Z6P!t{<60Bny4IRF3v diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignSimulation.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CampaignSimulation.php index 8fd93489335cdcdf0189e3307e9d739a6ba2a9cf..92f4f4ef7613680d49cb542df1b026296b5eb49c 100644 GIT binary patch delta 30 mcmeCT=(pHV!nC=7<&^;QS7xrs`$b(g?`GP{xH(F6D;of}zYB=~ delta 35 rcmeCT=(pHV!n8R~_zxq?LKZHQ$p=KWChLoFZC=B)Nnmr7=vFoW;;0NU diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ChangeEvent.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ChangeEvent.php index 3037f9807e98407bbb0b4c3e470d26bc64f531ae..311006484c7e868c9539600c12ff1c0a11b633bc 100644 GIT binary patch delta 2274 zcmZ`(dsLKl8uod=VSsO77zU7$OI*V%N|w8B7lZ*6QPe@i)q{*93^XMS!hmI|%eo#t z9^0}{`Rz$d$)z&9zpcM5J*I1EtyB_uGV_vW6*ui-dn^?_w%>rDol}2)&wG2m-}^l8 z@@~`rR)y?53C%)T+8K=2CQ}KnXlvS%IqT!k!1+N#6?rBKr@=3@odn(>ZfwFe7`|52iP{4*5`#TYxhtIIwbf3M z>p-@tUQHSAhjMDGMR*aS#YP7LOq11wU!waRNHCk!z{06hit{JWvXK3@<_Js+PQ5qn zG`~uz#KptDf*dp#nZy@dM}Y0(Y!s5smHm^eysr5g0tTnJR7+p|1Rcw(X{b&vR738? zw4@`+@kM#rIr$c{Myi(L?4k*I#m@0Xd5#%*Q*vfm6m8eMp{9FEG^{=%e@?p7E%O-`IZ;y!`TYNd2|n0q;3` z1zi313v4csu~EVwl6BxL6;+}4%M_Y-HOjxq4Tzv_Zh zH*|nc{G3a?wS0=gQFD($J`@5AvFAV$aoS_LOj^6XGVt+zow|}Y?*V_X`WCpO=~M8E z)B0Pf7Mz3Za>GbGICKngcV(qP${^_Zo0shak6Ej~9cp3}9y8%O$@f=ck%6x+{sjEf z%5z}H2N5J6tk6^BP7hLuAN@xe@j%B2z1{0Zl3g!iFF3v6z5r^96jzGiz^}+NQPl0A zSS_Q>=of3E$cdpOZF*svTrnMG#^~fDP=oq5Z=IwX{KB$9WK2d{zkd6KHL@?!4_I9S zC5SM3YAU@p60YM&)D9d9T-ujY?5eAB`^ML~7c{tQ%AfX^Ow?2J2iQ$&uz!lvUzxlE zcYX33CAwxqd_CQq<=%!GpACr^qF5W%V4tVj?QE#=_-v#@=F#ONtHks)Bm~}T$56i~ z`la%2qJi2RM-m@3m4Xi&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J_BfF8~jn#^jJ=7@o2K!A~waydwoQxyhc}Ab&AGxD=F;u}~yNL>l_%D{G z-RL2%t<>O0tyARXcIvW8ra?~wZ4vv(-q+k2ioVkE1s!(C-J^6~$<1`wNu7@Tze%l+ zg3Kd6E1&*bDPBg#Qyx)cuv8|{7Gr%;bk0GOSAN%v=&c zmc-`gEHR9dLi}9Zj={mMA@S}({-FT^qE6o#xs;Ogb0;6WKD{Wvv_L{rfl-6gN&A5#^DjqLF6GJR cc_jHALGtb(X{+Q{jtP?=@=9+m<4a-!0K2s~I{*Lx delta 68 zcmV-K0K5OIBG@6YXaci-1>FGz{sjs^lV1lJlbZz;lbHfE0hg1`0w4nR0<-V}b^)_@ a1P1{Ez!H;P2ipSG4zoH4Ee5lx4uS$Y)E5Z= diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ChannelAggregateAssetView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ChannelAggregateAssetView.php index 0fd6f75b12d889b55f2c5faf2277dec3502df92f..4639934249d3bcff874fafefcc7376f2656f4d62 100644 GIT binary patch delta 46 zcmV+}0MY-XAEY0!`~j0P0wa?e0vMD00Unc80xz>Z1f>H5vjYl~@d`4txdMd&v*QQB E2Y0;?B>(^b delta 62 zcmV-E0KxyHAEY0!`~j0U0v?ke0vMD00V9)D0xtuz0}7Mz3No`^2896xo(BpwlTZp7 Uk_ZQr+X@x4y#j0lv*QQB2YH=(*fku0kC2M0ko5`AR?2vHXO753w!~y!XEAcvlSDw0kbs*-vP6o8esyn zlqAFfvn3Bc0<*{z=K-@=CJq9#VgkGYv!NpJ0kg0$-T|{?5wZcZ`3c4Wvvf4i0kdW( z;Q_NA1Q!CcM=A{hv#=oX0kiuY#{shx2;~8@R4iNsvu+qK0<*6czX7v)4XXjOjxy!} IvqLtaGwYf>^Z)<= delta 152 zcmV;J0B8T?(*fku0kC2M1hoSSE0bX~AhQ`1m;tk=AQu9&z6aj{vx6w*0kbh1#sRZp z0=ogTvNEdyv%(EN0<(V^vH`OT2D1UO5a$82^Dw^wv&1eh0<)b7VFI(iCd2`=9R%(H zv&$s$0kg3c@By>?3&#Po=MfG9v&J6b0kgg$4Fa=hDqIA!p%>l(vt2ai0kiiU&jGVT GHlZ{2yFGCL diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CombinedAudience.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CombinedAudience.php index f6f2ece63c54ae53501b1b55bb8a493cb47e823c..698b19c568f7b138b12d38c7688a666eb5891f48 100644 GIT binary patch delta 24 gcmdnWzm0v?kK0vMC%0V9(^0xtyH0}4HpunIA={s^uCv;GFl0kd!d n>;bc^3TOtiTm+&5vymA%1G5SfhX$j`90Icx5%vMI$sYI)(t;i& delta 72 zcmV-O0Js0aTftkf=mC=+0wa?K0vMC%0Unb<0xz>32J8W|at@*bvr`1i0kd!d;{me@ e2xtbg(;W5zvrH6+2D20qI0K{88UnM)9{3Kv1{x&* diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ConversionCustomVariable.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ConversionCustomVariable.php index ac4a99d49dc0e183297635f9b72df2d322f3348b..a1deda708d70db78e67a38f67fb9318024f5a738 100644 GIT binary patch delta 24 gcmZn`Y!=+`lX0>MliXw(CW*;E8I?B&F&VM}0A_9naR2}S delta 24 gcmZn`Y!=+`lX0>>lk#M7CW*;E8Ra$yF&VM}0A>mYX8-^I diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ConversionValueRule.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ConversionValueRule.php index 9298b03533b17ef9c9a8fdddf628edc0b44e8a35..deb8ca037e506c334700b2a419680d58f0a556fd 100644 GIT binary patch delta 65 zcmeya_FZkmd&bGCOv;manItB^XOx@l!KBafl9|hKasik8W*fFM%$uEAt}(J4W#+O3 V3TaJN;O5`Fg{hx$GY3~bCji)b6l4GZ delta 48 zcmV-00MGyTCif<=?*Wr40v?ms0XvgO0xz>X2+RSqW(L*)1nC0`L6blTAG4YQ%mcFs G3U3L-)ey7* diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ConversionValueRuleSet.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ConversionValueRuleSet.php index 0f7dd70a14b77ffd5bde26c927cda3c8261a0121..86de1015a8fdf3e60278aaff2268e2e76e75f500 100644 GIT binary patch delta 39 vcmeBI=~vnCjd8LLlk#K{CW*=4809wmGYPV6p27K-adQHj1@q>q+*ND<44n+^ delta 39 vcmeBI=~vnCjd8LeliXxUCW*=47?n5sGYPV6j^(gm-kiYpmvQq{?kY9_27wH_ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CurrencyConstant.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CurrencyConstant.php index ebcf3112ab43641b6078e9325e86c9c85a464798..3929bfac2660ed0f25f61831c905e3f4ab8a2176 100644 GIT binary patch delta 24 gcmbQiJ%fA03&zQEOv;nlm?S2@V3gbJ$P~^D0A(fzQvd(} delta 24 gcmbQiJ%fA03&zRHOmdUCnItB^U{v1h$P~^D0A-2?T>t<8 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomAudience.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomAudience.php index 5675a130bcf42b62f83638812f5b118d263960e7..b7190a59e4dcec78cf5b7a7912628873c1075826 100644 GIT binary patch delta 22 ecmaDX^;l{{D$8bLwr7l+Q(4Y2ZkFWmVg&$d2nY25 delta 22 ecmaDX^;l{{D$8bXwsVY|Q(2xdZkFWmVg&$d;0O%> diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomConversionGoal.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomConversionGoal.php index a8b6321933350bf27611e5a1b3623aaffb782c20..50413d09472bfd231d3a3818411b55fe805c9977 100644 GIT binary patch delta 20 ccmeAc=oZ-Uk#VvPlicK+jMkgIm=3Z608V@dB>(^b delta 24 gcmeAc=oZ-Uk#Vv*lk#MKCW*-(8Ra&6F&$(D0A`g3+yDRo diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomInterest.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomInterest.php index 80e56862a9dc031d82814b4d9c3d6deb2c90903c..066717945828056d33b5e309fe159bb701a1ccd4 100644 GIT binary patch delta 22 ecmZ24wO(q2JIiKKwkwRA-C52tZhpz`#tHymEeGrX delta 22 ecmZ24wO(q2JIiKiwsVY|-C3?MZhpz`#tHymV+Zm8 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/Customer.php b/metadata/Google/Ads/GoogleAds/V17/Resources/Customer.php index 5d3fd82b7f207a789b158ff7c1db123b4280fc76..5a468fb9fcdf290077c8610ab4fad55d0906c4c7 100644 GIT binary patch delta 43 zcmV+`0M!4>Kg&O`*8!6f0v?n40T`3l0V9(z0xz?m3uFSbGzM%1vtI($1G5AU#}R7! B4>bS) delta 43 zcmV+`0M!4>Kg&O`*8!6a0wa_40T`3l0Unbu0xz>K3e^L%!vt&vvtI&a0<#1T#}RFh B4@Lk0 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerAsset.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerAsset.php index f63a34ae921e28784a6575d42aa6991933a0952d..5558876acbc627eee2bf26dc9888b9a33f23320d 100644 GIT binary patch delta 115 zcmV-(0F3{~Z^v)2Y61kI1`11)unZrQS}ZJ+_!S|u1rxafvsD};0<)|PL;|xY2yz0m z@D8N|vnmGu0kfJ45(2Zn6-5NIcpl>nvjZAZ0<&-gx&Z|L0}4BnunZ=Xt}GRk+zKJH V$^xbV1nLV4GLx_j8MAmRPYgNNC)WS~ delta 111 zcmV-#0FeL3Z^v)2Y61lR0}4Bna10-l9SR4te<|DnvzsTn0kaVh{sFW43339n4-ygr zv$h9B0<&xkr2_<^1`11)a114rU@RuHxdPe(vmq2k1hYvcQUbG+1tS8pW*FlP1nLV4 RGLvu&8I!*x2D5%ENeq6tB^&?% diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerAssetSet.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerAssetSet.php index 5b42753079434da113d0f41eedf1d8fd712e21e2..d70e2f52bbe6fd9f35f04617179e7a6542aeae42 100644 GIT binary patch delta 24 gcmcc0f0cj3OUB9aOv;nlnItB^WR%~mxh8Mqu-&|cX%Zvz Od3F#-YI7#XA7%h`02Gw~ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerExtensionSetting.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerExtensionSetting.php index a8c2507c14397ccc31df98abbeea4b225a89ee45..2348a95e2c38d73e29045d9474fb0a09a8ae932c 100644 GIT binary patch delta 51 zcmV-30L=g7733AL`2mwJ0wa?b0vMC|0Unc50xty40}4Hpt_B&CFb5E`0tKi6vw;Fs J0<)?HIt0UN5AOf~ delta 51 zcmV-30L=g7733AL`2mwO0v?kb0vMC|0V9)A0xty31PU{gt_B&CFb5j5jRYM6vw;HD J0kf(GIt0le5P1Lq diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerFeed.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerFeed.php index 969030b537327e0661cb60c0249e9fc0c8a2eed6..a7c1a4493360f18d8b2e8c2265689dba7617f0d1 100644 GIT binary patch delta 40 wcmcbreN}ry2GeFa7AB_6qMRul%b1poj5 delta 45 zcmV+|0Mh@}E7dEoXacj&47LFT`vVF;lMoUglZ^xtvz-FX0keb-^#ZeM1Y`)ac@bO$ DjH?hj diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerLifecycleGoal.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerLifecycleGoal.php index d1460e9b96620f994fbe565430da10240c85e283..82674d6f7e1e22243f5925d13c815ec1ac8b1928 100644 GIT binary patch delta 24 gcmbQtKbe2SXU55TOmdUOm?S2DW>ntn!{p8i0B64kga7~l delta 24 gcmbQtKbe2SXU55zOv;l5nItBEW|Z6P!{p8i0B2hVdH?_b diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerManagerLink.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerManagerLink.php index 5f5a909f4c6880ad6a87ec7b341a90269df69c67..3e8b502963fdd582a1d70aad530cb9c118b7054a 100644 GIT binary patch delta 20 ccmX>ga6n+gd&bFHOmdU2Gg@!ga6n+gd&bGCOv;manItB^XO!FQ!SsU_0B{osa{vGU diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerNegativeCriterion.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerNegativeCriterion.php index 04879344ad57eb7a25fa51fea63e2b700203c529..e4506f9d1eba3b5dd0976550aa855ed0ffe88b43 100644 GIT binary patch delta 157 zcmV;O0Al~O+5xrN0kDGt1l|Y=Gm~)-AG5nKLj<$kB=G^W3<|~pv&<^)1G9Vvs{ylZ z5AFf8(hJ`Kv&}Z<0kbCv~b>AW;P+1&{yC{n}W~i4RiuKFc-dp{^}ZRggmg7--9Qk zBRDM2LA~&!m2p8cSrYu11ly?%c#O3rAIclt)?T1n)C9+>=i{VwfxHC%t=;QJ>|osB RS!j~=$^ld&caZhI^#y(tKGy&M diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerUserAccess.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerUserAccess.php index 38ce6cf3cc668d56bcbc4e2634d6bde104e5ccc0..1ef7e5c2a869920506a66cc3629212b625cf7041 100644 GIT binary patch delta 24 gcmdliuvuWkTgJ&6OmdS2m?S2@WmMkm#`KmI0Bw~BP5=M^ delta 24 gcmdliuvuWkTgJ)COv;nFnItB^Wt7|O#`KmI0Btb{L;wH) diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerUserAccessInvitation.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomerUserAccessInvitation.php index fdd5b66c518565a1415607f2d7adfb5086e494f3..4b80fa06fc01eb48400da76dfc9df86f64629f01 100644 GIT binary patch delta 24 gcmbOzI#F~36Vqf1CgsTrOcIlsnB+D`GnsJ!08n-X!2kdN delta 20 ccmbOzI#F~36Vqf{Cb`M47_B!)GnsJ!079k(_y7O^ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/CustomizerAttribute.php b/metadata/Google/Ads/GoogleAds/V17/Resources/CustomizerAttribute.php index 9a986a284344cc050663e49b0e97930a7707f041..1adbf04e3316e130dd9285ec8b86ae824fdaed0e 100644 GIT binary patch delta 55 zcmV-70LcI16yg-H?g5h|0wa?Q0vMC-0Unb_0xtvT0}7L^20yc!1g!xC+XD(fldc9d Nv#tWF0kcO28w42a5*z>k delta 51 zcmV-30L=g56yg-H?g5i20v?mr0XvgN0xtyH0}4Qst_C!-odl`@1Ly+^ldT3nv$z7S J0kcO28wBQe5p@6n diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/DetailedDemographic.php b/metadata/Google/Ads/GoogleAds/V17/Resources/DetailedDemographic.php index e3a4566c31424b0b1675ec4acf52cc09e6a4b146..03b4d7f22a3691e9614f003f8fb4f08d3e06828f 100644 GIT binary patch delta 64 zcmV-G0Kfm-F5E7#?g5h|0wa?Q0vMC-0Unb_0xtxb2MR%xP!1oH-3=78e+Oy8Wko0 delta 60 zcmV-C0K@;>F5E7#?g5i20v?mr0XvgN0xtvS1PYT+4pFnt2pa;k7Y1Vj1eym5L6cAp SACuh;6tk@YY6G+B3Uds5857w6 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/DistanceView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/DistanceView.php index 70eb3834c64503778f1e32dbf5a23370813775ea..f80d55aabbc670e671fe9d94f8212913e797bf78 100644 GIT binary patch delta 20 ccmX>qbW~`=1IEeHOmdS?Fj{Z6Wa42508?QGrT_o{ delta 24 gcmX>qbW~`=1IEc>Ov;o0F-lB+z$mxbl8J{M0C)QcO8@`> diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/DynamicSearchAdsSearchTermView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/DynamicSearchAdsSearchTermView.php index 71e44d4689e3783a69199760c1f9a05462884976..e0e6b9ca247123ceceed70b80591b8111675f895 100644 GIT binary patch delta 24 gcmcb`cZ+WW2h(IbCgsU$OcIkhnB+DmGW}!$0AEB0A^-pY delta 24 gcmcb`cZ+WW2h(I{Cb`MlOcIkhn3OjsGW}!$0AHvFEC2ui diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/Experiment.php b/metadata/Google/Ads/GoogleAds/V17/Resources/Experiment.php index 9973b276e2ffc5437641bdae83b4475157550cb3..dd8324238a2a23888ea54c4a17888ddfa6aef5cf 100644 GIT binary patch delta 61 zcmV-D0K)&5ESD^>V*&*H0}42kPYD^5fC2`ydk)|MvmOO41hcdYqyhr81(P5JER#+L T2D6s}hXS)p326eeTM)bjS4tA^ delta 54 zcmV-60LlNCESD^>V*&%T1qze#5G%7~3ylJ^W&|w+v+@mT0<)6{qyhx|0}42kUl19y MfCAYJI4XD zXCf~GvxFAE0kghE4+67aJzWB`Lm1})v&=`{0kcUaOaim*IjRA(mL#(QvyLjl0kb^_ zvH`PDEYAV6Xc4>tvnm?!0kaT7_yM!A1mOX*;5Q8dv#Lp37_;vQ-vP5$SGxhTcn`(_vu-;L0<%dgssXbX8^-~&+9F;81kD5rGn3H^AF~dQF#@xd kH~0aw7Yeokv&v;7*D z2D5u5L;|y50`&p}(*p`VlK~qav;RD|0kdcpBLcH}Eq?;DlOgH>vwti50kc&FX%Dmc LFXIfewmxkRPW338 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/FeedItemSet.php b/metadata/Google/Ads/GoogleAds/V17/Resources/FeedItemSet.php index af0689dc44300146ca1da697b24ec411a6df106d..6fbf488855b998b37a02abfd08ae2013a4ddefd6 100644 GIT binary patch delta 24 gcmew@^;>Ggea6Y6Ov;o0GD=Lo&nUOqg2|a10E0#d{Qv*} delta 20 ccmew@^;>Ggea6XBOmdTtGg@!9U~=XL09?=qSpWb4 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/FeedItemSetLink.php b/metadata/Google/Ads/GoogleAds/V17/Resources/FeedItemSetLink.php index 41cb33850..36edbbe2a 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/FeedItemSetLink.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/FeedItemSetLink.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( ' ô diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/FeedItemTarget.php b/metadata/Google/Ads/GoogleAds/V17/Resources/FeedItemTarget.php index 0d1357cec320c21021658489559dc014998ab24d..ad9b50a568323cd019027c4796a08bfc19e564e7 100644 GIT binary patch delta 153 zcmV;K0A~NX-2uAY0kEqCv*ioN0khx~@d2|HD#ih`nh&c1v#bs70ka!4&jGV^CguUN z=q<+qv(XkW0<-WMzX7uiG7bW>uPHW-2uAY0kEqCv)3!(0kd5n!U3~iGvxuZ(ju|}v#SKh0khN#?g6tY3abIL zQzpCtv&App0kd)j@d2|w6E6a@4=C^fvuzc>0kcFkTm-Y28|MMDA0e{=vxFqi0ke@0 z<^i*$F}ne?V+h6pv$!n{0<(7!#{siC8D0XjEEf&}v%(F}0keM{-T||qIXW)0|0&o3 Iv)X6i2D&vrlmGw# diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/FeedMapping.php b/metadata/Google/Ads/GoogleAds/V17/Resources/FeedMapping.php index 8df5439a47dd9b8ddc8a7571e2ea49c20c689fe0..8814254a696c6247bab54e3fcb118c84f9a5594b 100644 GIT binary patch delta 167 zcmV;Y09gOLv;n-d0kGZylNkaYlg0r%lQ#k{1iu3cJd=?*Z1GCo_1O~G=H&zC-wGt-+v(gMd1G6(V1Ol_rBu)ae+Z+S}vyDA#0<+u{`vJ4~ zKivYen*}!lvkWpP1GCZx(gCy8LgN9m5fG#Tvt=yd0|c%H3OtjMJs*?0M;((OA0e~H V0@MPt`ytf=vmPfK1GBh9gcW%2JaYg5 delta 171 zcmV;c0960Hv;n-d0kGZylN16Yll%b~limRylQ#k{1g-`OJd>e8ACtOA9g{v8A+z*5 z)B>~nD>nkOSuxT9vseZ$1G6I=KLfK4HKYQw{1_(!vm+<_0kfhE1O~ITA_M}nh6x-4 zv&cTx0<&fyP6D%?K^p_JECeh9v$8kg0|dVV3OtjcK_9b;0;2)5GA<_rvtk|u0<)$P ZRtB@UBx?e*9x2@dvnw;>0kgP7gcXOdJQx4~ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/FeedPlaceholderView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/FeedPlaceholderView.php index 9b43d4742861868fbfec70d7f823a3a0d4fb883e..29c71533580fe7a4bf184005cf4aaa7d0dcd55e0 100644 GIT binary patch delta 20 ccmZ1>xI%Eld&bFHOmdU2Gg@!xI%Eld&bGCOv;manItB^XO!FQ!IZ!T0BXPot^fc4 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/GenderView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/GenderView.php index 379f80aaf..573785c2d 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/GenderView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/GenderView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( ' À diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/GoogleAdsField.php b/metadata/Google/Ads/GoogleAds/V17/Resources/GoogleAdsField.php index c2fd34256129005f7932281dd6808e5881636732..d389a59bba4d9d25bac09068f7ad8a72a0a65919 100644 GIT binary patch delta 24 gcmaDN{zQDkQ^v{COv;m)nItAZWt7`&$Fz(S0Cdp^NdN!< delta 24 gcmaDN{zQDkQ^v^(OmdSsm?S1YWmMj5$Fz(S0ChD8Qvd(} diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/HotelGroupView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/HotelGroupView.php index 30f794d90..136517dd9 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/HotelGroupView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/HotelGroupView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( ' Ù diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/HotelPerformanceView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/HotelPerformanceView.php index fc7584d76..fad697d05 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/HotelPerformanceView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/HotelPerformanceView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); + \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( ' ß diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/HotelReconciliation.php b/metadata/Google/Ads/GoogleAds/V17/Resources/HotelReconciliation.php index f53c7acf505a0a66cc0e608a5422500349c136d2..ecdcd59e561eb7ccfdeeabee662db2d873a76422 100644 GIT binary patch delta 24 gcmew^_+4Ov;mam?S2@W0c$M&a{CI0C`skmjD0& delta 20 ccmew^_+4APZR)aQ3)IX diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/KeywordPlan.php b/metadata/Google/Ads/GoogleAds/V17/Resources/KeywordPlan.php index 622f0b72a2e3e9cda02fda5a033d9b5ee10eae23..4b7636d9314182c66426c3b74871aa7620cbc4b1 100644 GIT binary patch delta 44 ycmew(^+#$$8WYQ07A~X76WJs;x3SD%Vfn+%x? delta 31 ncmew(^+#$$8q;QJc4j7)xhz~pljYgvH+M2kV%aRm8OH(up_~Zl diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/Label.php b/metadata/Google/Ads/GoogleAds/V17/Resources/Label.php index 273b21dd9741be70fb44894d40adc9cfb3ac2b68..e1b742a5b2df57d1884338bd9242939e9d41fb63 100644 GIT binary patch delta 47 zcmV+~0MP%q61Wnu(E*bO0wa^}0T`3f0Unbo0xtxj0}3&dT>=@iGz5$RvsnVZ0kgmb FcmsJe4+#JO delta 34 qcmdlXv_ojaMaIcIOmdTVGFng8V$$Et#IlcZb0pJB#?1#4a delta 32 ocmeyN`$Km_64T})j!dS_NlXiwH{a$;X4=fmmd~`=j&~O)0M`r)od5s; diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/LocalServicesLead.php b/metadata/Google/Ads/GoogleAds/V17/Resources/LocalServicesLead.php index b2f6f40093f69813f8abb03c041a4a802ae34a8b..875d6502f6b53e8763421b8b3f0857a1fea41529 100644 GIT binary patch delta 39 xcmV+?0NDSz9=RT{a{{w(2HXL&NdzVW1J45rlko^Xleh*Uv(*B00kca8?gk%+4ix|Z delta 44 zcmV+{0Mq}u9=RT{a{>d;0}7Mz2tKp629*J`PXs0c1l0oyMU$}zGqb7!r2(@`2<`@9 Co)1|7 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/LocalServicesVerificationArtifact.php b/metadata/Google/Ads/GoogleAds/V17/Resources/LocalServicesVerificationArtifact.php index b202db24d16afef314547c5b91c20aee9912318b..2e8ccca4241189aff57731671ca928140650dc0b 100644 GIT binary patch delta 71 zcmX@+dCYSI57T5PCgsUmOcIlMnB*p>GU;z#ARxuO`77IZW|lq{F2Bi!A}*WnFr8&& b`N+cM1LWy#mg8<>-Mo^;hiUUJVIDyME@c)f delta 75 zcmV-R0JQ(cNybUA3<8r!0v?ku0vMAF0wa@U0xtoMldlCalV21Tv+W7Z0kduqOaim6 h1@{B9x(l=g1Cs^{lQ0xvlL`zWvl#=G0<*dk3=yZ=7xn-E diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ManagedPlacementView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ManagedPlacementView.php index 6e1502457..6b2d28364 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/ManagedPlacementView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/ManagedPlacementView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( ' ý diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/MediaFile.php b/metadata/Google/Ads/GoogleAds/V17/Resources/MediaFile.php index 5fb556ce29d99631dcebebde7ec72881b80cf3e8..dcb3b43b835af2b18d3729b84231ed857fb2bafd 100644 GIT binary patch delta 31 ncmX>qeN=iw5);csW-k57``HvWuVdN5xH*YQgK2XTTQWNUvHc1@ delta 30 lcmX>qeN=iw5)<=67Ou(r*z`B&uzX|OoWyhkNU$Zd0|2X>3Y-7{ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/MobileAppCategoryConstant.php b/metadata/Google/Ads/GoogleAds/V17/Resources/MobileAppCategoryConstant.php index 3e0476ec465843ca277190bd8248d289e7c0616d..a2c6895c192c72f1686ff166937856dbd928882b 100644 GIT binary patch delta 24 gcmeC-?&03>hjFqIlk#LKCW*;^809vHGMO_20B2eUe*gdg delta 24 gcmeC-?&03>hjFqwliXx^CW*;^7?n4NGMO_20B61ji2wiq diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadClientSummary.php b/metadata/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadClientSummary.php index 9d98541647a29c51b6a075bd8964272cb3552cfb..64d2c774a04f27400490f7451b729204355fb718 100644 GIT binary patch delta 187 z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yPw$FFlf z$#n18C#z2t`G0o``a@O=U5B=DI jEN%glh`Z<~W5ab^sMR4I}^n delta 37 tcmccNf5U%+8q4MeX)mVDe^~jLHmk8*W88d7b_&yGE{-zc&2b7<>;M+f4Ql`Z diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/OperatingSystemVersionConstant.php b/metadata/Google/Ads/GoogleAds/V17/Resources/OperatingSystemVersionConstant.php index f28ac283f4a687469cd3d10173f6f5a29dd249a7..a6232132393fc515e0d6bac50d1827d1b4f941de 100644 GIT binary patch delta 24 gcmaDL_&{(28`ES*Cb`L)OcImXn3OliGc~dS0AJh&z5oCK delta 24 gcmaDL_&{(28`ESPCgsU0OcImXnB+FcGc~dS0AF|pv;Y7A diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/PaidOrganicSearchTermView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/PaidOrganicSearchTermView.php index 1d842bb1bd20b108dcde918839de41c442d68547..46704deec2217f3e52dc6999627dc4c5bdbe672d 100644 GIT binary patch delta 24 gcmdnUy^(vvU&hH6OmdSIm?S3uWmMiA#uUvA0B+|8`~Uy| delta 24 gcmdnUy^(vvU&hJCOv;m`nItCvWt7_-#uUvA0B(Z^@&Et; diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ParentalStatusView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ParentalStatusView.php index c1de57013..0d1b1653a 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/ParentalStatusView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/ParentalStatusView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( ' ñ diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/PaymentsAccount.php b/metadata/Google/Ads/GoogleAds/V17/Resources/PaymentsAccount.php index 87de2749e49818fd94ef5e411ddb0143edf813d4..56f26723bb361762d11d092d861b273c3bf21bcc 100644 GIT binary patch delta 24 gcmZ3;yO4LoGsej>Ov;m4m?S1YW0c!$&y>Uh0A{@hYXATM delta 24 gcmZ3;yO4LoGsek^OmdSsnItAZV^rR3&y>Uh0B0cwbpQYW diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/PerStoreView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/PerStoreView.php index 02aac0635..d44e57555 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/PerStoreView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/PerStoreView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); + \GPBMetadata\Google\Api\FieldBehavior::initOnce(); $pool->internalAddGeneratedFile( ' Ò diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ProductCategoryConstant.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ProductCategoryConstant.php index 0c2c50c07fd5b2b9b67c251c2f7351606e8dc031..d61bc30cbb8bcdb815f6b1bcb30302e668149c24 100644 GIT binary patch delta 28 kcmca1enWgiJrm=r$qh`#o10knGH$MCI?uS-o^2*80I9JG)Bpeg delta 28 kcmca1enWgiJ=5j_mh+5^uO=6=7;oOpw3l(SJ=;uH0ILHE=>Px# diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/ProductGroupView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/ProductGroupView.php index f09586cf7..d7020200e 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Resources/ProductGroupView.php +++ b/metadata/Google/Ads/GoogleAds/V17/Resources/ProductGroupView.php @@ -13,8 +13,8 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); $pool->internalAddGeneratedFile( ' ä diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/Recommendation.php b/metadata/Google/Ads/GoogleAds/V17/Resources/Recommendation.php index 9c26b06dbfd026193c7f3ffe08c287c709982ee6..6c839b156902934b26632764e04a16853a420247 100644 GIT binary patch delta 430 zcmWNMYeElxWKP zK~WGx1kn`pNT>yoQ4vLn5QD@_Mg?n189^5m|6dP>bDn3{8?@^Un)AW1N|FJIF?={~ zeucIe^tK(FE{^$;jWK0R#!}e$4()F!`)q=)0%5xOAcM(B1kDSA!M|I8J99sDg`YQwcqnO96q13nsBWqT%!(@M?A_Uxypf8 z1;me(8f~!Eo9#?aZ9D@X*GvmT<_TdumIP;7e8T4bT4C}|vB7@V5n<%MU-&2IHyEi1 z?B@6C7oe|k0o-hz0~hwJ8QdwH2m8vF!Kz!6;PinMI9EReW**W3GfoMQ*4-60h2Da{ zdY8a|9XEvcihL%=J(Xf43@bWTfx; zcHfyadXK#ZjYx)=OQv;Rz05CCfx$e++}dI2;C|uk$z0*i)%Q@zV1YW_?T%V?aC5lp zCfHd%Aat&WOpY`VTsb^wa51m~uHW7O+c$rL1(%+K@qJ&x>MQ!H&wIas$zWUql>`Mp z)Vyu8S7yMJ{Rs?T@Csi&bleP|)rWn&e9hp4i|r;$yR(E7`P<;T^lzZu)Tp7d{(`e@ S*(M*2NfnQWwRQ7W&+va_LBJFM diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/RecommendationSubscription.php b/metadata/Google/Ads/GoogleAds/V17/Resources/RecommendationSubscription.php index 8b68bdcf55d789dac2882903051f45f8dd6cb96f..e916392b5de1bc0e12f73cda2132ea784a2862db 100644 GIT binary patch delta 24 gcmeyS^i65QAI8Z>Ov;m`m?S3uVU*h(%B08-0Dd|McK`qY delta 24 gcmeyS^i65QAI8b%OmdUunItCvVN~86%B08-0DhhbfdBvi diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/SearchTermView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/SearchTermView.php index 2f75af52b20dfa4c00802ac3f3c8b7ca089481ef..4ca7106776e4c888e9f62f4a357c03e4cefe68d4 100644 GIT binary patch delta 24 gcmZ1`uuNdXQ^v{COv;m)nItAZWt7`&$Mk{~0BHFK{Qv*} delta 24 gcmZ1`uuNdXQ^v^(OmdSsm?S1YWmMj5$Mk{~0BKza2LJ#7 diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/SharedCriterion.php b/metadata/Google/Ads/GoogleAds/V17/Resources/SharedCriterion.php index 2aaa55d0825e3f32b98f05d1ea9d52b7fdc2d314..a98d60abf1b528cd054aaa4a62ac7c75e0956c01 100644 GIT binary patch delta 156 zcmV;N0Av5_*#Ya>0kCcY1HS_blOQ`dldA$Dvy(Gw0kb{^vH`P<56=O!s}11+vs)1j z0<)qSW(2cM1n~j0R3gU#v$;0q0kdcmTm-Z2DZc@;8ze6Rvy3sT0kdWx?g6utExQ4; zw+ZF}vu*<40kcXbvjMa42gd=k2p(Pnvz-eL0<%spJ_56>E9U{T#24NHv;8!@0ki!l K@By=)I88LLBt9qr delta 153 zcmV;K0A~N|*#Ya>0kCcY1lR)#Ig>FlAG1v*yaBTb5b*)CGz78%v%DzB0kcFS<^i+e zEDi#*wFlt=v*rcQ0kf6~4Fa>K6z1R diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/UserList.php b/metadata/Google/Ads/GoogleAds/V17/Resources/UserList.php index caceb0ef9fc15cca7405773e870fdbc50ad1f888..ecb4d514d66f05db0ac29348d9f848823cd71e04 100644 GIT binary patch delta 107 zcmV-x0F?i?eYbtE*a4Fc0wa_50T`3m0Unbv0xtxC1PViwAtE2M`3mI$v!f2?1G9S= z*#WaV9P|UTU;@PfvxyQJ0<$FqOa!y57SI8+R2t_2v!WCU0<$k5?*X%N2xJ1Y9U|rd Nv)&BF0kZ=nv>I)SCrJPR delta 107 zcmV-x0F?i?eYbtE*a4Fh0v?n50T`3m0V9(!0xtx<0}4HpK{P3|NDi0*v-uHB1hexU zWdgHc0tf=LJ|e{dvuFh71GC@{83MEX83_WjMHbKjvrY)v0kaht=K-@P3iJcB1sv}I NvsobJ0kZ=nv>G+ZCTsuz diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/UserListCustomerType.php b/metadata/Google/Ads/GoogleAds/V17/Resources/UserListCustomerType.php index 396cd6c82172cf268a81dbbfe11bc18dc4d344b4..590520fe56d71bb2642321b89e80fd93d707871e 100644 GIT binary patch delta 256 zcmX>i*de^(6XRrECb`MC7_BFJGwCy3XPaEZl)>_xnM+~vK{gpq*SykPr9;eIG9cb$ zP38ynLQ-5}KK_x8J|U6uA)c;5@rLofuD(vLLBRst7;;8%IUWo-W4IhIhMWmpjt@-^ dXrU=wk{?YnDBcV%Cx9Vm4wn<$%*nEw1pr|`MXdk; delta 65 zcmeAWJ|ei`6XRqJCgsTjOcIknG0IK$X3}Sx%sRP-DT8G(6PLo|MmCYjf0%e#{xNdN RKsg+fHJKl5KFhM31puRd6zBi| diff --git a/metadata/Google/Ads/GoogleAds/V17/Resources/UserLocationView.php b/metadata/Google/Ads/GoogleAds/V17/Resources/UserLocationView.php index b9268072908f354f0ac2e4bee12787e2783dbd0d..59192658a9e06b0f881338e49912ac76a63f559d 100644 GIT binary patch delta 24 gcmdnQy@`9nOUB76OmdTXm?S2@WK`bl#8kix0BWNLuK)l5 delta 24 gcmdnQy@`9nOUB9aOv;nlnItB^WR%@n9U|JSxydMHkiDCiDmLFCUYQd29(m6{Fg}tEN00RJb4AP p{^muTGZ{DcvdS^BtY_x3m^_hHe)BKp$&8ygsE`=_z>j9IH0ydLv13r^B12dB?0|}EW0%eoN0&tV715%UV0vMC)0V9+B l11|)`0}3{iAqpR}8VINX1Hc0clOPH?vuFg51GB;jLk%-W8HoS@ delta 76 zcmV-S0JHyvE`=_z>j9J610$1u0)mt40XC8YaFbsGGm{+xLX&U^XY%tl1Sz+@@<{(Z0HdGD@ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupAdService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupAdService.php index 50bb2271e6f79f096582440d93ade83128170c88..441d1b4999b2ef4c3213b925c525a97e4da0f4e4 100644 GIT binary patch delta 1370 zcmah}O>7%Q6xPhHlX#LilSyJ+Ck@7wB&5Vv+N2dpTiCTH&XTp)U9VdLNLy2HLqt*s z|FjB!mJkwBPe^mAD2fQ;N8(UL9dYA=R8&-cMATD3LOoQd{8cTga_9juyAGidhurqP zdHUY_zVE%gv<`p$8Lr&~EH3$5QdyNQE>)MABE{G(5EIEm?gM)cj<6t{WG_nxy!bLa zz^+S=u*0yMy#vSC27HpON)dKniu2neO;BEGM&oQf_!zr}M|;1O5m71?r#dz7EEKKf zC5N7_Ek-|=QGo639I3aVmT9UabuB|NBps+VNplHP%UYU|!4l~~ooOYLR4l`swUwl8 z(Pu3zlP=VeR?Hb{X_=I*rIi%LK7vtOnkF^HR`Z#pPH_|IMD4Ri-pZ@gKBgt9ftv|I z0o5>OY$Ic*3?o$+buFYF`E@abJ!P0_?03VgX`~Hr21Hs>b3)N|0fbvg5Rsf^<`Y)l zq)9uM(Xv@;;Wi?8=WvJ+iyr?c(T0%D_D?HC){{G4yNFpZgyv+m)-hc3V1t9PPuDpSH+&jmdd4SDLf&@c$j5YzY6xwl}d99PTb4C zSUVMW+io&V!oqT*>=dd_(UYWNIVM8J?=9loJJhA#~5ejWu2?!{E>v-8!L?EfYT!HC3;zT3}EeC*d6 zh{r|6)@7-ZfQViMn+{aAJ(6+c^I$jI4T#$NN(A+@_LXqN?MF@^>{V=U35Eju6jm@J ztZw=CY&CPwIOYwpmGb)UyDYQFCmVz0ZHOW}2|}J>cL&2RpZZRvo7#ngv4#x|dxQ-! z@3$3w{YNGGfT&M+O#Ua~Ti0$fcr>cV&x{_7zxF_V;_%5@Mfm2FEAioYp_p>bQHmmX YW1_r+trK84Os^^-p=5~f|FjPN0cP8+QUCw| delta 276 zcmW-ZPbh`VIj>{!GvcV}iP{}6SWkjWgk}o%mifJ45O@zgvG%l zLL%27l-(Z2_t-e&&{@^!>U$&9Visd)V%i6nQ6m(rI$>=tn%7&d*32(AdpR0zZ5Q^h SkS`iq#V=UykAHD@vP1vgi)VBI diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupAssetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupAssetService.php index 23b66e18fa212a293c29db0262e7781008bbdc36..12c476b504842f1967f681d6b63e9fb52d84927c 100644 GIT binary patch delta 146 zcmV;D0B!&2g#qb>0kG}?lbZrJli&jclkNdKlVt)nldA(&lfD8SlPLl-li&jclRyJ! zlOO^KliLDKk_0aVy#xwblVKu3vyB-40ken^(E+m(3;qGKF&?@Bvo8dH0<#becm%WS z9|jKuo(BpwlhH3FlV~*%lZyl)v*sF01F{Jc0<*3LQUbGr7RCXySraJ(v+*wY6A!90 AC;$Ke delta 122 zcmV-=0EPeQg#qb>0kG}?lPLl_lMDkhlUo8mlkNdGlUo7_ld}U&lkWl)lRpD%la>Nm zk_0aV_yh`AlhH39vmXpx0<*9uQUbG{B@zO&LV!Z diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupAssetSetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupAssetSetService.php index 3cb01fb8fb54c4b96e1fbb49a9955457b5b1ab9c..5e29af716ad8649e83a8dc9d32dc9fcad0608c5a 100644 GIT binary patch delta 48 zcmbQMGFN58SH{U#nM^0^Fl9~VVm1QOoRjA>nN42LEHl}UNo2AObMfS_jLMr&GY9bj E0GtC5BLDyZ delta 44 zcmV+{0Mq}SB%LI%^#PNp10$1w0u+-f0&0`S0zZ@W0X3790y2{|19OuF101u<15yrj C+7D#_ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupBidModifierService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupBidModifierService.php index 2ac19404b5203d377c22df03c2befbed98354ea8..40abfe12ea3a1df6dc548f9671aa22c338638ab0 100644 GIT binary patch delta 197 zcmV;$06PEI>;c#80kHc4lQse_lYRpUlS>0>llK8XlV}1qlk5W_lTZQ_lYRpUliUI_ zle7aklb!-KlMVwQvke4o0<$I)#{sh`An^gSw=Kp2vqdP;0ke7rs{yk(5$*xA7Aoce zv+Web0keuR#{sjL7%u{|Y97A`VQ7Uu!8y*J(gv&R~<0kg^tvH`Pp zCeH!0d=I<kHojv-~T&0kZ}QoBZ47^Nf delta 189 zcmV;u07C!Q>;c#80kHc4lb-@RlluWKlhy({lehyllSKnNlkEc_lb{0>lPLmnlYj#_ zlMn+Tvke4o0<*~ts{ympE8zjNS~KMVv%oLk0kfqfvH`OuD7*o)bPw(Uvw8-{0kcRG z!~wG{ALjwH(-toRv+^Rd0kh&M@By;|8NUIuK?v~yvp+Rl1hZEr&jGXe3(*0yViD#6 rv!5}$0kbj+#sRalEe!&*3>C)#v(Fq}0<*yy4+66lA>9G9n>oBZI9f{I diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupCriterionCustomizerService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupCriterionCustomizerService.php index 93ad5de4f327e840c8e83e7316301d11d52e5bda..9dbfa1a565346ef71b5dfa60c2d2aa858050c02f 100644 GIT binary patch delta 77 zcmX?VaMWM}JJaMfOe=txbFw#6;$#J8mdV^q=3x3Tv)p6{=IqH2ne|y-Fmu^WJ}4l$ d`2zbT#?22|fy5%tm28^@SS~Vd_7?cX4gmdw8uI`E delta 69 zcmV-L0J{IhFvT#i2Lh8B13Qzi0&0`50tu540-uwL16Pwk12&W411|*10}48m!4Mg< bmkzW6v;PIs0kaSU?*X&X2dM_LOAz`8Qu7%f diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupCriterionLabelService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupCriterionLabelService.php index 7e763d8decad06e69c4a4e1bd085cd5f6959a280..8cd675404ab6a8363c229b735d28614e735cb438 100644 GIT binary patch delta 47 zcmcaBeOG$JU&hJvm^deQG5bzpmYB@Qls#F3*%T;bKRJ-uVDe2Mox>!z`8qQj7XX~5 B56b`m delta 48 zcmcaBeOG$JU&hJlO!<>{GRsYtXA+tGmyvU_2(#JbI%ez1*O*KvyD^&p#lkjUXJ+F9 E0K;byJOBUy diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupCriterionService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupCriterionService.php index 1eb4694137a25b8e457e72d18a6f0e3be00e4de1..c6a31ef8e070d6d6809b982208954c8638b50a32 100644 GIT binary patch delta 254 zcmWNJ%_{_P9EbaSXVR{1cauGkHZwbv9BjK@(s~U|lO#Dy8RbAWDfth?P5aBqNjc%L z`M6Pg!p$b-#v*2%gahT|SI^}+JWn~4vgRA=Mn+Ul@+vfJRW(xDqslc7)DH&KqO7Q> zVKHK^3hl;g@TKDcEKUD{mChxTdzmkAfA9*t%in?L=15$LoMJnVS|z1@uPGJdKDxhlAsywK}Wl3GedC8jpDWmQ8;y=fh)B0-gxyqXt-E`3G# z+gb##$DhED>3Jka0fD_SYaIa@oxZ{5Xhcac*X}$oDZLjbr zd<3ncxmA9d^>5Ayi(?_7r?*k)ByC}!?*a6?zrmPc3eVDWO&nNA^mBBuTe!59 GHvR!D=Vr42 diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupCustomizerService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupCustomizerService.php index ca5c9f03985e54dd24afe712ee2e292a4283a722..cdd15bd7158ec864f1b89e358e3966867a053011 100644 GIT binary patch delta 58 zcmV-A0LA~1E|4y;_yLpC0yUE=0&0^y12U780zZ=s12mIz16-4U0u+<<0V0#m1241A Q1;GQe{R7bfvyTaZ4Rw4Kpa1{> delta 62 zcmbQBH$iX155~zGnB^vaU=o?E%ajGgoRcpxnN9w|XgZmN*<$i+CcViP%n6gvG3#&M S$9|D<^IztJ%$xf;8+ifLR~G{S diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupExtensionSettingService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupExtensionSettingService.php index 0386084d3b3d41efc4a83dadae9983c3d131ccee..542d26c4ea3d93eacbc37d4150412d9d537be54c 100644 GIT binary patch delta 83 zcmeyO`$cyHBh%y$%q)|Gnaw7zVltha&BQrbhS?ZQb1@}?{N2pm do2A)QSy;|7bJ G64VY8?GtVQ delta 52 zcmV-40L%aGLGD4Y=mC>m0tu5U0-=-a0X~yE1E7=30%x<=17QNQNf6Niv+f652(vf_ KwgIym64VYwSQLu@ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupLabelService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupLabelService.php index 3d27b7824a95816ab1900d21efcc5b733f644c2d..6ca73680d6c97faa9e9e097ac016390dae7ae0c3 100644 GIT binary patch delta 48 zcmcaEd0leDJI2Y8Oh%JmG3HNZWj39h$ILl-3Xq@295#6Zv&dvCW|PUsnAA5PVHV~D E0JrfFbpQYW delta 60 zcmcaEd0leDJI2W>Oxcs)F&a(&&%`1tyls3z?NCZ(tGuv-_D$!E`RO0Z>iY J<|E9)oB*am6mtLo diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdGroupService.php index d222c8c5205846577dcb542d3c89c2a63659c80a..1da41cd67ca11b46e20464baadbdd782b14033e2 100644 GIT binary patch delta 265 zcmbQ8*P6fKG2>(lX1&StnazNhb8dlQd=Cd{%B17BMlM6xqzD z+Q4ir%O#MOS&^C&pInd|pPQLnlwU02puniX?7`c?$S5SoC0LSJl%84wlrMwHJA&o; yCU5lNC>;X> zvnLCs1GBUh#sjm85ZnO+t_BK|!6P%XS_J+vs)su0s`L?vkoPI1Cz}tumKH|eks@n4u}B(5^0kyDi@P;DtG}8v+OGS1G5q@ Fa|jW;MF{`^ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdParameterService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdParameterService.php index ca5647bb0e377022d4f5ca0e93eab9fa14f70087..f3658c00086e3cd2a995115fd6d50cb35f9991c8 100644 GIT binary patch delta 50 zcmV-20L}lKA)6tv=K+!fK$FV?K9ef~VUs)qGLi!cla&HCli>p#lMVtDlWqfZlj{K^ Iv;6~}48JB3X8-^I delta 60 zcmbQOI9qYUbH>RFm{}&@Vpg8a&m=NAhA9h(IVUqRn@v_{vYY&Y(R}hLCOxp4Z07vQ N=FBpi|1!_x0RU)v6Y2l} diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AdService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AdService.php index f54352ac995ab315e7843e29862f9ec3a5e18016..96567124b490ded09e3c0e55eed8d615ef29cc33 100644 GIT binary patch delta 204 zcmV;-05kvitOEF~0-lOF>KlS%?DlLi7ilUoBelOF>Kle7XhlgR@ilPv-i zlXn6%ljZ_BlaT`;lj;L6v&|$10<)(~>j4AV0}7L%fkLxh1e*b~<00w-vwJEM0<&ow zC<3$S5>f)QzYi$`v(q0C0<$I;(E+oPPVoV=iVZaavymM_0<*9;BLcJ0F6IHV_ZV^l zv(qN30kf3}^#il{1-t>Xw=jAHv$Y4{0kb+4>;bclEJOmceJK6`voSS)0<+UO)Dp9U GQ1wOUjZH-W delta 205 zcmV;;05bphtOEF~0H-A+0}4Bnp@AQh-b);_SOmubvrQ+e z0kbkW{sFVp3=#sf?lwdMv-Kk80kfzsdIYmDJAVSR(jX%Ov#&kW60;u$>jATB8u0e;*kqxYZ; zERyg+EgJff# Xl&lJKlD2f zYcuIiwq;hB%*LY6@|uM!aq>eYzs+473QR1on7M2wU*u8U9LI8kar1B4U5uM&3rnzU zE)vjW-h7s4Df8xyk}gb})!2lXHgA=$XWG1qOPOi2iPB@9&6~ylF>d}U&BnA@+~_0g NVsU-u%^Vi(d;loEI2r%| diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AssetGroupListingGroupFilterService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AssetGroupListingGroupFilterService.php index 5a1d8aafb92555df4aae4f21dcc5138afcf4a540..bc02f51713c2e5ee85e5a793e1271aec1f7b4e41 100644 GIT binary patch delta 97 zcmZ1%u`Xi63#Q2vm^mkFF&hDCjmf;sB9mV*Sx$~&R+zklS)b(_GneP&L@|@e>qSL3 zZ{XR$xLIGwmWgF43zrW_c(Xi<5zFQ{fs2frQ@Q>zZVu!SXWE?1_nUEZj>sW#06)ec A5dZ)H delta 88 zcmV-e0H^=1Sgu&G=mL{p138oE0y~qK10a(R13Z(s123~72xfBB6v7vB_Z~L@ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AssetGroupService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AssetGroupService.php index 54e481eeb2cb85af634b7a607c48c9010eada1a4..f1f4f8a602837b7af130b6133a6fba0376f74cc2 100644 GIT binary patch delta 51 zcmV-30L=g1Fy1h*Bm$Fb13r_=0-=*y0&tV515%S80~C`W0wS~f1Ni~73JBE!v-AZP J0<+%s{ymy6z&1Dpe*JAvlKMP0kf<3TvsMV<0ka1(4Fa=iK7RtU3q#`!v&RkJ0keiKy8*M}3*`Z` MP##Vk=l}o! delta 205 zcmV;;05bpFlmgt80v&;i+ z0<&T+9Rjn%GT{NUhz+X&v#m+x0kacE-vP5VC$a&vwko^wC0<)GO4g#}(Fhl~gq$Az|v#~aR0<*jrBLcH9IpYko H?oVzyJlj%1 diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AssetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AssetService.php index bb36f970abc4a42ae2701f0973edf5a4acfeaf20..78c5bf78748d8e220f4f4c69480ba6190ed3ea41 100644 GIT binary patch delta 321 zcmWO1%`3xk90%||pYJbeSP~(P%|j-kw(`(sXp<(flH_SNNpesg7Uf~F7VY5jJ!v^8 zE=2Oq#nc?c%0W{u)Fdsuv!;SKnO)^FX=@v86&SrVd z&C)39WiBi7K{%9@P<2apOpDWjCqmswoRBDeB^=b&DbTI_5pJAsguTfZLbSogaAbcG z%GQ1f3*|kGNYfF))jH28FvJMdct;3V1{tfxVM0WEOj!3cFy>os3AV0%M!VXag~zsp zkbzE(OkNb>+2tqf_NNHVCOzY)?@(ZT!orB#M-^=PG8k1gUdFaRLeMm1x3s)AuE`5@?2X^C$znGPs=1;Od}Y;HuSSk+*BaU*$ zqbbC=u)hfG4xJHHca-o^wZaH>^eJ%qKv-y769_lI6N;2?!g?@CXz$-A7_^TB&EPgc zmwiuCb(>^z#~{Oz667}d2)6b{#&ga!A?P0&SBw12mKD0X?&-0~P|a4++r$ Mv%m#U1Eb&y2R{H4ZvX%Q delta 50 zcmV-20L}m4Bj6*j@Bx!?138n-0&SC50ydNE0c(>v12mJ30zb2=0~P|akq1u$v%m$> I0i)mw2L*2v8UO$Q diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AssetSetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AssetSetService.php index 43eba3154b731aaac1b8c509640e18179082566e..fba73e2466878c8973ab9c1b4e51376c49cda689 100644 GIT binary patch delta 110 zcmV-!0FnRsO!-W(;Q^CY0y~q(0-=+f13QzP0|}Fw0xgqh12mHz0zH%4100im0v(g; z0Uwk111|*o1qw5hp9~+9EeQ&*f Q1ik^YYYq$#vq&E?2MJmyeE=bX&QtUFnTY2jo&W)m>~7?aWD*~|)) zzccHz++yaknd~4SIaz^+b#pD>enytxtX#%0k;$EsqMKt`&M<9W%Cn7e^C_;|jGKRP WTwvU6Bf!JIS(E)D<7N+eLv{e!k}78a diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AudienceInsightsService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AudienceInsightsService.php index dafd3f2151218f23a91d876c8352d5de3713e7e7..a3b72f544fe4f2c9685d1a9a10b8b320c4385107 100644 GIT binary patch delta 842 zcmaixPe@cz6vjFCIip_j&pb_MG-{m8F&i}%jWpEh4>4r~)~1-4o-?=Rk@LphyH66w z$SB+>B-fyoLC_+CtPZVIa#ewvi-^EQAz0C-bm5{!&>I^KENOdx-}%mWzjJ?#Og$t| zRzd6|bz&8oMJH(#ZBnVYP71^vX%%-#gUFEFs7Nt_LwTcqQ;n|jBD0M z46}=NUH8Qzpj zz=EC!K=U^>l6;phP+9o<^OM;mA1xE}dXY1vYMki?3$N8n+)yET#_ZH3Mz{;PdBP4q zaJnxC#H?Oo%S>XNOZ=o{DhFo=(N-=`6T0(19m#>Un9D;M?#;0_TD)R1gBKrP7hc>_ y_`7b;Em-g$2%83v$Cw^cBfibI_WgBT-^MYF8*i5cIqYc>j-i_LRCUOQAHy%1M>>rF delta 247 zcmV z;Q_O{6srNVnKtDCv;Q*R0kdT*yaBW1C$a&v&IQK-v&<6i0kahk@d2|z9KQjxAuaF$ zvuq;g0keKMTm-W*CbI#v5*jZ8vz95(0kdTm<^i+bG`j(_1`);qv+^(v0<%jP#{shr zAYKBp9uESuR3zO2vy}(61hd*aIxe$H49fxp!AA-~lMz4}kz^>dS!1PUROpm!pZ9DwPwCV~741o{gK7m>~vvptNO1+yBHqX7hkUMv6r diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/AudienceService.php b/metadata/Google/Ads/GoogleAds/V17/Services/AudienceService.php index 963423240f347ddbd7e5a7f308660dc73d5fc9c2..8cde3352397a587a0beb4ba0c0232973e30a0c7a 100644 GIT binary patch delta 78 zcmV-U0I~n-OX^Fo-~p4t0zZ>B1E7=O0Xvh{10a)70~C|s0SS{N0-=%v9<%lX;sLY0 k3*P~=sRv#Hvz!gp46_FcwgIzo8ifS2*agu6v-TeJ1_9w93jhEB delta 83 zcmV-Z0IdJ&OX^Fo-~p4r0y~qx0tu5h1EG`T0Xvh}10IvW0~nJZ0-%%N0R)r&0vxmU p1L6U*B^}WLv$qFc0<-ECwgI!)1>XU)6$;f1v!ED-1he)Y^ajVfBIf`A diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/BatchJobService.php b/metadata/Google/Ads/GoogleAds/V17/Services/BatchJobService.php index e130c152d1bae6a130dd82a6bd7dfea1b8109551..7c2558bb902c4308300e24475f25c6a421d0d3bc 100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#`z|1nbBwj`9pNnOH{=S#%&}dU}ONNxW(OKW*7;SUO;a>F6gJ@+ftmD@O@EbvomXp~>jxmkB1h5v9}Ug&UBM zUdBiccTJjNIrPR&`vWwOBvE=@vEz7yi&t=}IWNDmX!;%V?K0GJYU!x=FiqT7RM{0N zg1#Gw?6M`-RewpvW6VT@@?u3Jq>=G5%BB^!)qUlatMi11mBr#el0FJD!sM1%H^KF0 zT;`NI{%3~Lsy(Wfgw-12-TL}j4>wSUjCcJh;h0g#lVTU(n3XU^gb3=83Wd^pzh50m z0~6pp(DE@>vpBL-?5_=KI?T>B@N4H^Pbk&dpI>KBI247^)bp7&(V}||Z00>xx2GHA zjNo%{?{Umki<}5HN zy$o>vZns48t+zy*Ra~kz3_Bxz@u8g^;N5zo4iALK)wGHW*(;VHWuLM-#E`gxkw|ri;$09|yKt!KA}f~;YZeN%@)srhPgs8{|Y`r@8%S2<{Bk@e?6b-)dzB>9i`YL5B;>ZxJt) zqxa66X+pZ{IjgWiv@;>y#A^7dOn_+@~uHxxs4;UG6y+sRHn zeR!#AURu31x^SxbDrLXn92KJe�eta_;FqZyT@clm~8YJ*um71wZWl^5mu7PRA}g zmrcCUp0?a@9w;hz$9Wh)^Mt$Kr7r^AeS+GDx<3X|-}3HtLoN(-TI-^>OrGHP@~yub z;+D~^<{Q;s?%%vGcdt{J8>RaVu>bevN!EGxCkCy#Vdfk3$yxiRK`WLZoA=?GMq)74 z4KNoPzM@%CUdQGaRTxyZQLit8cc<~O`6c>#~|9x(s_ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/BiddingSeasonalityAdjustmentService.php b/metadata/Google/Ads/GoogleAds/V17/Services/BiddingSeasonalityAdjustmentService.php index c8babe1c2ba7b91f8695b026778c35b1118983d3..9aeb7abcf5e9382698216507547e281a26665770 100644 GIT binary patch delta 70 zcmV-M0J;C6IiWeQ3IdZK14Wb511*z90y>ip0y~p`0%wyS0|}F412U2XAd~C^6qDux cIg^$HAhRF@m;$p3643#(xCT-Sv)dEK2o$Xr^8f$< delta 72 zcmZ2zxzKV07t}TE-Ne!O!#*hL~CMfdGoioMW)h2{RyY9wj9%G+KA-H%zP7Hk;krEzGcIlQj_Y z9;)}+3od4K`faTQ;iDKngt*2*sBC2Qf=EYY5G&d8f>AN^Wn=Y~A zL@14IJA2$mih0Ds1-HRD+*AN}CZ?I!1Qh(HDnxrsa8|Ag5#aL0YsMv0Unz+b_(1+N zE&vR3^p&b8JLTAQig{0br?_*K8Bol30!42b94^BcWcfRg42s~JaRqx2;+G&kg1M^% z9>z+Smn(&(HIdHkdkeVJBc$K3P2ZPsi(jSw5tN`$WxRMdGvP?#XY8c*j)LQXLv#@s z@6alhpi)A54!6|A#o%Xf?U|!Mv<5M|w%)AUW@Ej6yI=2E_smwO(N$^Jf=|!mt}wkB zC@MZP9}qpqqRTBD%kjW@!M;>`K^-ptkHme`@G#fv_B*!Um_#>#vs>-D+3&P$zk!gp vW}5g`ojTY!JTJo?>~IlPatr*8(t8`ZpA;nVRcsRXPqO$m`o$TX*cJW&p(5U6 delta 163 zcmV;U09^n0R-a3-C<2lL1e2@-JCo7^XOaU1ljj2-lTZR3lQ9CFlQ{!hlLZ7Xv%U_| z0R+nf3Otiv6CaZa9UZfD1g!(J)(Oo40_+cyff7-(UK6AS1w!lr3L}%j4IPuvAO@4O z8`J{z1(U!IA(IIm5tG*oD;}8x3Kv3YWMpY>XH#@?VRU6@c~p6DWkqgvZ6f^wlOPOM RlZ6bjB delta 39 vcmaE;`cQSlTgJ)O%yN?*m?S2@WlW#k%Va-^*?MvWlj-CWObVMLnLGFaE^rOy diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/BrandSuggestionService.php b/metadata/Google/Ads/GoogleAds/V17/Services/BrandSuggestionService.php index 9fadffbe6a671869b8e2075f7a057b462cd3f1b5..86e8f9504ace4992d6442dac978552f5d00bcb4c 100644 GIT binary patch delta 36 ucmV+<0Nele6ZR9Z^8u6A0y2~H0d$j_0y~ok10j>}0vMBL0vxj`1I-2_@D1Pq delta 36 ucmV+<0Nele6ZR9Z^8u430(6rN100hL0vMB-0y~rQ0Wy=+0wJ?01I-5e$qc*z diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignAssetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignAssetService.php index 485e154b1dac58225c78bdeca33b0aa726a4a9e3..a09a29810a0ef2b78b50d6507ce9ddbecca1c8c3 100644 GIT binary patch delta 123 zcmV->0EGXRh5?p_0kH1@lhpz;lkWjJlbQlMlPCgilRN_nldl6(lMn(JlLrHflK})T z1hWGQF_H}*vndgm0kbt1e*&}GDh2|x{0u|_vnCwT0kbd!{sFVV5>f)QKo7f;|#ND2nGVP;4C&4%=9an diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignAssetSetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignAssetSetService.php index 72ed333a9b93a1ec2aff16d6d771bc3a2ca5480d..7b500ee1f862c01c7045250ffcef4e8a3a70f221 100644 GIT binary patch delta 52 zcmdm@vPEUXC&tOTOq`P!Fc|@9v&om3Y$tDEmYM9&Br^FEqxIx6X0yr3OeT}LnZq}q IVb0(K0P2Ymn*aa+ delta 60 zcmdm@vPEUXC&tMan5-x3GMP9LE8(qYpj;vvwZg0kiEh4Fa>>C0qovTo>g5 zvwaoc0kbkPy8*NC4YL8WUM>y-vMgQ#vnvMY0kirw-T|{g8N30r(FyPYvsWO`0khaQ F`8in1P05AX1;{nm*0kHT1liC75lQ;q{lb-@VlTQORlb-?!lfeT`lOO^Vlb-?!lK}!Z zlZXQ_lNAFxlWGDXlMVzg1Lp$@lkqzslk7Snvl|nt0kfDc=K-^A55EDk88q+#vpx+k z0<(E2vjMYm7(N2Ch6(Wjvn&y-0khvE-vP7wBINvpOtZ0<$bC4g$091;zohz9zc?vymJP0<(WG K-T|}NH~Bd&@lNXi diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignBudgetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignBudgetService.php index aafd3b548d47c72807663c4975a842ac7d51a0a8..3e0b61e47a8e860f09b7f4a16a22d369efd72525 100644 GIT binary patch delta 86 zcmV-c0IC1;IrBNNECQ2q12vQF0SS}j10R#{0)msP12B`20tAy{0&9~j0ydM)0wa?H s1TO@p0}3*euoW4zAO@2Gvo!?H0kc#Ku>rGz3DW_yum{lrvjq+A4^KiKGynhq delta 77 zcmV-T0J8t{IrBNNECQ3N12&UC18bAu10$2a0u+;-0&bHm0yUEd12mKE0SS|80w0qD j1TVAS1GL^~T? diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignConversionGoalService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignConversionGoalService.php index fc6bb2ff21abbcbe95d7c0e9235b3a4a00f31f59..8824555730656fbc7cedc3218ee017cd8f6d34a7 100644 GIT binary patch delta 49 zcmV-10M7r?CekLb{sEIu13!~J0&9~30y~qa0y2{p145JI0ymS6152Y32LiL%12_Y- H5eY#GyAu!X delta 49 zcmV-10M7r?CekLb{sEJu0zZ>I0&A1w0y2|M13;4*13r@n0ydM5152~n1vmqv*#iQz H5eY#G(^(L< diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignCriterionService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignCriterionService.php index 85082a27f79b890334f86bddbaf77e6026af798b..453cefb6be604879c9288ca1fdd1fb4b948c3b0d 100644 GIT binary patch delta 236 zcmVlduB>ljs8>lfVKUlW77rllK8TlYRp> zlb-@LlduCclVAb~lidPMlL-Vb1girIG?OtyB9qV@29qm746`sBdI7V|G{yn5AtKQM zvotDZ1hd=`@d2}%F2@10ybCV^vnB?=0kh2$s{sV(0}4Qs(GwrDTLjAiv+^V60kf(c z#{sijI_3eho)10(vvD5b0kcjx4Fa=Q7v%x7*d<&9vv?KX0ke}fy8*N74YL8WzcLO2 mvtck^0<+}@=K-@pJl+AbJQ=(Jv&;$b0kcvd&jGU^KBz=pc34*c delta 221 zcmV<303!d#g#yQg0lb-_}ll%cUlN19s zlY;{=lMn+0lVt)SlL-Vb0q2upIwG@M7s~;&&J(`@v)?r50kdE_@By=*5ibI>z%H`^ zv$-BV0<-50@d2}q6{`WWCM(|ov*je^0kfnyya5EO0}3>gF+(D=UIdH*vkV)@0kiiY z;Q_NyJkJ5Mum{lrvnCnl0kg^`Tm-X$31$Sd*bm16vw<>R0<&{44g$041;zoh1ueS) Xv)CdH0<+T`<^i+DHr@fVA3mr=eeqOC diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignCustomizerService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignCustomizerService.php index 6a066684c609edf9847f58aa7a23cdd5989ba63d..775d0105ce3072ee54d801aaa7712a6519184f7d 100644 GIT binary patch delta 74 zcmZ3cw@h!tPsYhL%zBfxnK&oUV=|k(j#+WCFO$gR3rsAN9ht2s|70`*vMqt~Szs|< bW|_(7ne{inWnIj?`5*Ip#?2Err||*+*wh-l delta 62 zcmV-E0KxyJE~YN9`2myK0y2|D18S2e0zZ=w12vPc10a)50vMB@0y~rW0WOnb0wt5r U1240o2k!y1{sW@}vycgv4a`jz-2eap diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignDraftService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignDraftService.php index d273b9783f3a1f0ff849ee4b49ddd40c32e4eb05..06b073e4efb87f228db1a03d1829bb449d4efcb5 100644 GIT binary patch delta 88 zcmdmCu)|=(d&bExne`?gV{)0Cz+^P}HKW<&Rm}F2rCCfT+cH~DR%9}pJc-G6G8eP? octR_3~N^U;NwuO=98;o~?f0Al$akpKVy delta 84 zcmdmCu)|=(d&bGrnT#esVCI}$&#Vik6M_6S%(j!&n5-wiWHz7d$ZR@UhQ(y^NhbTr m?-}(bvoKpu4q%DiT*LO4k@3{zS~jK4=UCP;Zm#6m&kq0?(H(Sf5#5DN{lhx!%X4A=bOq`RsnQSJXX7-(Yfk|R=EmJyB%zpADW`oI6%<7XR nSoB%WvTzwsF5uAI?8^3sndKBSmlcpFzd4I#9ph$4uG2gKQYRUr delta 75 zcmV-R0JQ&%E{ra)0s@n*0tu6P0z8w812&Tz180*00y>lR10$2q0u+-t0y&et12mJZ h0#=h41TV922+;uq%>)WFlb;4DvvdUf1G7O2%M6-X7?%J5 diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignFeedService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignFeedService.php index c30495338c50a17922fa27424d79645767cafc91..c2137be35de0c6e20dea1160b02fbede717ed30f 100644 GIT binary patch delta 85 zcmeBl>U7%hl5uhZ6U$^)=7PyD8C@rDV)mU}$0RX1g(-cqDwF->N@fGF{COt1$^V)4 oH~(kd!OZfGmCJOp0+0M=JE2QVoAp>OGH%|^naZ(QQ1k~k00j{pUH||9 delta 85 zcmeBl>U7%hl5uh#Gw0+qCY#CS%x06>nbRlVWmcLjz$7vGEn~stmCPn!`9(~=lm9d8 ovz%h)vYNbsM}G4^u62x?^;mW=Z(hTb%CY%5`xmCo0-`^;0SW3Jp8x;= diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignGroupService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignGroupService.php index 2b6faa9d236e5b850a8027d5247d2fba6655268b..de457ee37509329d9103f72d96683cab29eb4ee4 100644 GIT binary patch delta 66 zcmcbhazSOoYsSfEnXD!|F`G_)&FDIL3$yR!1||_8n{%=OliB2IW`oH|O!<@9nUyCq WvgmJSWIM&U*?{FDDY4%nw08EV*$^ZZW diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignLabelService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignLabelService.php index daecd21abe5710321f74e6dce6856043080a21fc..b8803e69cb4d7e44f44d5d404128086e182bd8fd 100644 GIT binary patch delta 44 zcmV+{0Mq~K8R{9Z?*WrM138oL0XCD60&0vMAe0#mca10@N5 C+7Ac- delta 48 zcmV-00MGyG8R{9Z?*Wr20ydL!15=X_0vMBC0&9_Azb0Qd6@xBvhE delta 32 ocmcbhc0p}}HPhr}OxBaFnX)H8WHOrU!|X6woY{192lEMj0LN(yOaK4? diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CampaignService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CampaignService.php index 99adc8712aa6d519a99ab8e6cb89efa73e01b9d9..6aa970a296a85c04b3a04ca298b811dca5e61381 100644 GIT binary patch delta 1333 zcmZ`&ZERCz6yE#3cWe80Z7+8p{n$s>ZrLOV8-)yeM$x|5AFLzTP4<8r`(TZD;0Nr03A_hhBYm)e`(YjR!n33Yenci%!BN;C z-S~R~Z%_|={MZ%5ervssSm(hx!frot1F^S^634wy=q|X%yRE78b8=ElEM&yloHP%9 zOIN!@`9Td0E@XyOER-!~yir`)wbTg}uE9UF~>M-K5g@Q>Ee)bRl6h-;O-x~&7Vn_I6T_R&ZWX1>l#gn63Q5W6Ft zCuEIKIF{bWT#XkH<0qOho9O)xvDPDhA{KLggW#669bU<_LW|AAUf8>gn8Bjv4)p(A z%^GG1VV||VN!UiSN*6oS$-WRAggaGFw}Uj-24hp*=po~^Vb_2*G+dlAz>?F6T_Nqs zE>4}UY4LuEsIfAIFibgZF%Hy*9N+m9R7N*NEM+-bUQn8rr9O80NOX zm7UwTtAyGC`RWY%!Ja2@cW2ycp{Bve)1iZ6a6HP_LCp89%}QzcT!Z6rzMgq^O(XWP z{Q|=8iXe3~!OS@aJ2QLJfX_u)D)(2lH$m-->7<+!6H;bDO3!A+f~+X%>}&&ec`<-Qf!d1cnN-M@LEIMZ3)bm}?bGnAA z_JpfkuVdN(<6{l%_>1qE2R>I{dXHdP%2Zj2utZ%Yky27!;i8;Xa`}^DB9~S2xzhQV zeTOSLmmgYVhmQJ_kxF{7l!2T?6DhOrt72$UB$6H8?SJhk4#v|<4pwUm)k1=h0i G2mKeOp1ODkN)6q=OpE-RQ&u* zMmQ=nDkdxJlUuHmbBfAGRV+WbTwbs(S1JU%ZBWC?Xx9iv4hRz+$Arr)7o(-Yr?3`0 zB8~Vl$w*ON6*BEoz;_1$j z3YV>u%6cfr175l4H1r)?-ZZ$oY9!vZg|c^Xg5T?uR*QBBjU~>Co|l@j^}394UwUd_ z+w4^6i!BpwvX=-^wPx# delta 63 zcmV-F0Kos3C6^_z{Q;Ap0ydL%13Qxn18bA810IvU0u+<<0i%=B0w9yl11|*10}48m V0R$hj`vtB6v;70x0kf$G?h5(`7z+RZ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ConversionActionService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ConversionActionService.php index f47f277a5ce5fc335d71409b29e44fe34396ed53..8910eab870f260395fff0251c92df1d3ec572285 100644 GIT binary patch delta 126 zcmV-^0D=GJaprNb@d1<50;!X10y2}b12vNl0|}G*0W*`D0y&co0|}Eh0ydND100hu z0~C{Z10s_L1TUjtAOf==2xtbga}}Zjv%eAJ0kaht!2`1*2K@oEhYmOc1myz?H0tu6U12&VI0y2|912vQJ0jZPe10Iu30u+JQ~RXv*Z;00kbv+Xa=+47B~a5Ko8>qvyULr0kfVA kq5`uc5y1nq1ssY50{H`zpbR0C9wZmDa0JEyvtS~I7V>5->;M1& diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ConversionAdjustmentUploadService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ConversionAdjustmentUploadService.php index bf92a9029044f580390c9809c0840116f944cfbe..4fc49718d9b1702697dc380ddae508691dc9c345 100644 GIT binary patch delta 59 zcmccXao1x57t`ctOs13Bn5-wSVKSTC#jG$no=F7A=A5j;oHp5!DSY!PW>%)n%h(fz PHm_&>&bXOfDvS#NZSNDX delta 55 zcmV-70LcH{NZm-V3IdZu0ymRW16PyK0v(fs0xgpU0y&f90&kPB0wA-h0|f%J5E%CX Nv#$kV60-*yRthER5{3W( diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ConversionCustomVariableService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ConversionCustomVariableService.php index b2d7f56204d8094e30e22d1d13ce7ed1cbf46e3b..b5d29f56d835bd3da31727430d95bbdaac21bc5b 100644 GIT binary patch delta 56 zcmZqDXwulg#xz-;*=#Z!lilQ_%*K=VFmq1c#gqu9U6{-!|6!JyoX;#VIg~klav78Q JW(k&8`~dj75$gZ| delta 52 zcmZqDXwulg#x&W6$!@X&v)SaY%*vC`Gl@)I%ak>liOFhm7jrt0%{jS>$#`-Qv%+Qx HmRI}$xm^&C diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ConversionGoalCampaignConfigService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ConversionGoalCampaignConfigService.php index 3ae2319c95b18e650f90d6a88cb148aeb49a1c14..b9853a53521dc977c83aa28afc1980c70225ca2f 100644 GIT binary patch delta 84 zcmaE(`bKqwFVo}{X7kBknDiz`GjmS%Wip#Qn^|VE0h7q&4@@kR)tF7ebTd=r6iE+dnGpjsZbhQ delta 71 zcmaE(`bKqwFVp1ROlFhgm?I|}Fo{fVU@`(?mdUEjrjuQm943Ecl9{}nS%32)){BfR bTba4cChK!cPTtSTwwaSw+92 delta 68 zcmV-K0K5P9R`*u0^#PMB0zQ+|0ydMV10$1=0~C{B0&0`-0XmaC18b8B100jf1240V a3DNM?TbNBICo>fS#cU?OV^)}afJtJq9+To^ zJ{EnJqs&~ElMUIlCU58C-|WEA&$wBa?Hc3e1>FA`H`}s&VB9>PSBG=+dCrTBn@@`g GZ~y?Siy@W( delta 82 zcmV-Y0ImPqJ=;C7Dgu+~10|Ed0vMAF18tL=0y&d;13Z%|0y~q`0yL9l0ydMi10a(Q o1TVAR3Ge~42?o{yvpodN0kirP(E+pH2mb-H&I>FFv&$9`2=9yBs0rnW-e!#@Zi_@% delta 72 zcmV-O0Js0LJF+{l{{fS%0(6sG17VZ@0SS{J12U7m16h+k109nH0+5px1TV8f4e9~2 ec?rn_1oi_8MUyZO8IxZP2D4`b5(Tp?4~7oC>ld2< diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomAudienceService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomAudienceService.php index 8ea64cf7d364ebbc1ca3c97d322537b095e30f5a..aaded0b8aeb0a6f6f0cdb7e3cc081396b1927f12 100644 GIT binary patch delta 80 zcmX@Bc~*17N5;uln9?U}FxgMGXEvIAfr(}EM@Dlnoz9dwxsW-WJ`KPM7Ipvt diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomConversionGoalService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomConversionGoalService.php index a28c986a0faa785d7545b4e5d35290d92fe41d6f..71c3ac5362c154d51940698e6a772ee87a849a3f 100644 GIT binary patch delta 48 zcmV-00MGxkC9@^4`T>(Q0zZ@K0&A200XLIS13Hs*0yUFx0tAza100iF0u+;}0w}Yl G0}T(vG7y~r delta 48 zcmdn2x>_94W-^;B%4`Z`YfS#jBr(~NDSPsLpqL-C%;sgxy!-&6 C_Yc?r diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomInterestService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomInterestService.php index ff0a627f30526f31421c1b345112e7857700f549..2b51b23f7dbbc43bda26520ad4d2cd1ce112a0a5 100644 GIT binary patch delta 75 zcmV-R0JQ(uDA*{l?E#Yq12U8C0Y8(~0ydL&10$1O0~nJ%138l{0yUHE0SS|y0ymRo h0vwZ>1240j1=|4x%>xQKlb{7Jv-<;~0kd}p;S2;Q8j=72 delta 83 zcmcbiaYJLnTgJ)qO!kvGm`x{7U}BkE%Pceb1Ct0)jB~OZv-#vWCbP*O8TG(&=b0=g lPhnD?Jd;_UWKW`kSw@E@a$%g84S%=5qFjJOG~R9Krwq diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerAssetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerAssetService.php index b8b69719ca04ebb484f9ec6241827e89c393df8e..026fbf01ca1c4fb1149032e136c2cc79f22d2ed1 100644 GIT binary patch delta 115 zcmV-(0F3{zg#oaI0kH1@lR5)+lkWjLldl6ZlWzkFlLP}cljQ>(lYIhylO_UJlK})T zv+owV0kg~+e*&`s1_lDNs}w{6voHkF0katj!~?TS9Z~|b-3=)Nvz;Gu0<#7Yr3166 V7$X9+47 delta 132 zcmV-~0DJ$ig#oaI0kH1@lVk!rldc0(lMn(OlSu<%lRyIrliC6{lkWj_lb-@IlVAb_ zlMn+OlK})T1j+*nI+Fn)8MDv~v;nhe2nGVP;4BgXvxE-B1GAbGDFd@L8l?lXZwf>L mvoHj@0khg2BLcJP1%CpwND@*4v%?p10<--e;|#O%F1{0LK`n3q diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerAssetSetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerAssetSetService.php index e4df3b45de87ec8ecdf2bf7f3c6ec1e0656721ac..535f0d18711bcc4b2b605e8ecba0343ad2b31941 100644 GIT binary patch delta 48 zcmV-00MGxXB&H;=_5qX80yUE;0&0_W12U760zZ=q12mJX10j=s0u+-v13#1Y0Uoo= G16mHRD-fRm delta 52 zcmZ3cvP@;eH^#~9nB^wFV-lIH&6EYioRcpwnN9x2XgZmR*V!Z diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerClientLinkService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerClientLinkService.php index effaf17ed3038c55e5f6b8cb746e5464ab145ef2..da407c80fbebe5893dc5d2f0c0c2710c245d4c29 100644 GIT binary patch delta 52 zcmdlkzg>RAH^#|=%+`|=nH(nHVltoHz^pXcmq`RjvrPWQm=2~FGFeUzV3yguh*^{e E0PQsqQvd(} delta 52 zcmdlkzg>RAH^#{V%q){1F{Mv7WOA77%WOHhkjZ@VH%4o)cpJ0K)5Bqqx+D^Fg0ooVw; MW((%cf}CGC0T_-F3IG5A delta 57 zcmZowYgOA|!ZbOTiF5KMCLYGi6P_z{E1ShFK5D=A1l_$!sz&v&rOj%!-qJnMA;Hj?C7R ce=^EVKF_Sbc^~^F#?Akj4=`_@!0E{g0QbcjssI20 delta 66 zcmV-I0KNa&E!i!w`2mx$10Iu50u+-j0&0^k0tu7T0ydNR0X35a12~g*13QzP0xpv| Y10|Es1241C1;7Kd{sYnhvycf%4J+>#;{X5v diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerExtensionSettingService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerExtensionSettingService.php index d21316e797ebb8a20b3fea3058d420ef9c99a1fb..0888703ad80fa85f82d38a7040069fefd189f963 100644 GIT binary patch delta 79 zcmZ3hyHKM&nz*yi&=TH g1dIM=88%fGmUGNpwv!duG&h&9tYF;i$d$tb05`-L9{>OV delta 79 zcmZ3hyH4!*P|7&<03XpAZ~y=R diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerFeedService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerFeedService.php index 9f7d428fdb058e86a13dd0aa480eacb9a28dc59d..dd24eb253604d63bd82be16081251b71bac5943e 100644 GIT binary patch delta 86 zcmZ4ExW;jVJkum*%gORgoRiNo83XC8Nz5#h*Dwc9-oPX~c@mQmh-=FnKKVbhKJ$8J ouF3hLW}DCQ)iQ3jWMg95>?LrFWwRa&H`8Woj!3r60-|%c0iUfJ1poj5 delta 77 zcmZ4ExW;jVJk#VUOj(mNnXM;BFxgBtU}l-D%w!6tS1^Z9p1>?InTa`g@_%Oi&1-nL gnKnORWn$XAoiCDYvmVPf#?8;zkFjhP5S_yf0L@Gp82|tP diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerLabelService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerLabelService.php index efc98665c7b9f7f33188e545f9c989995aea80a7..b9201ae7b620a1735dacb0793fe82c71678b93dd 100644 GIT binary patch delta 40 ycmV+@0N4NA8QdAL>j9G{0zH$W10$0k0~nJ512U8A0Y8&t0-lpM15>lb0~ZM@i4A`M delta 40 ycmV+@0N4NA8QdAL>j9IM0zZ@Q0XdV@0-lp&0y2}(0tAzC15=X_0z0$C0~ZNiI1d~E diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerLifecycleGoalService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerLifecycleGoalService.php index a645123b9f270230fc283517ceaba16425b358b7..0cceb36c26140ac5df171fd39e4e8c5208b17b28 100644 GIT binary patch delta 36 ucmV+<0NelM9^@XdHv*IV0SS|>0ymR|10$1=0u+13Qyr0zi}80ymR_10s`80u+<@0c(?=0zH#b101uY1JVtL Ch!AxE delta 48 zcmeyS^i65Q55~z4n6f7uGdWE5XSSSN%w#_K2ctDmjAe2Mv&`fIW{Jt`nB+DuVZOu* E0OM5>Q2+n{ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerNegativeCriterionService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerNegativeCriterionService.php index 0834d3f3f38a105deda51b8f8ca8aa49e346bfa3..e4bea485a881f68f8f935ff8208c3cdf16580ee6 100644 GIT binary patch delta 202 zcmV;*05$)k@ByRn0k8-HlS2Y7leq&WlU)K+lL!JklT!mWldu9clZ68`ljQ<7OA zvzrSq0<+2-s{ykO1nvQ|$0Ozevqu@n0keG%J_55NI1K``q7&f(vtk$J0kf?oTm-X& z72g4~Xg0e6v&s##0kf1c4g#|_FkS+)yAkIBvoJc|0kaMpyaBVT3Ge~4L?E&Ovkp8J EJV_)<*#H0l delta 202 zcmV;*05$)k@ByRn0k8-Hldb|glL!JXlWzh)lOF>$lWzhElaT{WlRyI)lj#CBlUM^V zlQse+limX_1m^<^K$8&!AG1vt%K@|54e#0kg0+yaBU+6{`WW4Ft~tvs^l|0kfh9(E+m< z8Rh}A)+Ag6vvUb%1hdKy#{sjAFkS+)e=ZIJv)l#70kaV+y8*KU9}NPt(lp)yvkp8J EJT`So_y7O^ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerService.php index 8d2039a84d2bfb35ead873c5792f7c441b3e4469..891364409ec93ba2aedb6a6a3d3bf102414db89c 100644 GIT binary patch delta 77 zcmV-T0J8s`U7cO9=>d~%10R!60~C`m0|b**0y~o*0ydM70%w!p0Y8)b0#%cY1240T j1!MxVvk3$Ov+xJQ0R+ke3ObXJ1s}8C1FiwHw+rSXCc7J= delta 73 zcmV-P0Ji^~U7cO9=>d}g12&Ue0ydK%0y~qD0%wym16h+F0~C|s0VtD<11|*10}48m fzXKn$2@0+Ov%3Ri0<$9s!vV7&1_T1Lw+rSXf&3S# diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerSkAdNetworkConversionValueSchemaService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerSkAdNetworkConversionValueSchemaService.php index 5714c056f4615b693e2de1d871b651a867006a66..795c70d9a79b3cbb735b71f5ac9785c7e61b475e 100644 GIT binary patch delta 35 tcmV+;0NnrXH|{sEVFHuR0;H4O10$300u+;=0|b+D18b9I0#&jE?iUz-4od(4 delta 31 ncmaE7{?2?uBGcpt%q){vGlx$0W!f>>fjN6JE3@(@mUrR+&~6LD diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerUserAccessInvitationService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerUserAccessInvitationService.php index fe7f600cd6f4b5f65b1896d4857e386b3122a174..3cae2811654bc87c29d077ab3d89998962d5bf87 100644 GIT binary patch delta 55 zcmV-70LcI7Bj_WrL;{mk11FO}0~nLH0y2|C0&|n?0#lQF123~}1>^w)yaNg_lW_$m Nv(y8b0kcsDmkK4K67c{4 delta 46 zcmV+}0MY;GBj_WrL;{nw0&|mt0y2~E0tAyN15=YQ0y~p?1240V1;YWessrQ!vrz|^ E3ZK3Z=>Px# diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomerUserAccessService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomerUserAccessService.php index 1cf2b7faf907cb40a58062f5771694f688142254..3289e1ed358c62cd3bdac00d7411fe6bae639676 100644 GIT binary patch delta 40 ycmV+@0N4Nc9{3)x`T>(Q0zQ*a15%T20~C{L0zi}c0Xvfw12U7Q0#~!51J(;c^A6wu delta 40 ycmV+@0N4Nc9{3)x`T>*P0y~rX0X~zb0ymRS15=Y50u+-K12&T{0$a191J(;$C=U7n diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/CustomizerAttributeService.php b/metadata/Google/Ads/GoogleAds/V17/Services/CustomizerAttributeService.php index bbf7c3b9084b8895a285c14946b84d9d0057b4ce..6dca8a50605b002d6dd94b296590a294953b9c54 100644 GIT binary patch delta 83 zcmeyN^+RjJZ^p^jnDi#wGILJe&1^QAgV}WQcSh^UbC|3q*8zFs+j9Id13#0>0%wzu0tA!q0XLJ70y>j%13r^F12dB*0&bJ#14{(T Z0}48my$Kn!q6f4AvoHi!1G85Nlm~cQ7xe%D delta 58 zcmV-A0LB07A?qQq>j9II0y~rI0SS|U17(xY0ydK>0%wyu13Z%g145JZ0XCE6152|3 Q237;JF$B;7vsMX}2b(YyzW@LL diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ExperimentService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ExperimentService.php index 74f1ce960e64a1a94a429910d8dbe215b46ee045..e072ed07c3e23bc323a420583ebf27944b0f5689 100644 GIT binary patch delta 103 zcmX>da5`Ya3&zRHOlFf`Fq%*HW#OD$$UJBA0VbBokxY7EJ`=MMkk**2z$`Jjn<)=0 zXTfYRnU_Upaw&`c=0r|rCYImKTxOFO2uV)9&&4`fi;rh=tT4~!do0Z?n^U--%K!k? CBOqY_ delta 120 zcmX>da5`Ya3&zQEOy-lHFj`Ii$D}uTF>}%6{Y;#bO__}*i?W!2*>OyBCVR5zOzvkE z0rLx(7YMK4D6(0bIG460?V zPyHfLY?C_GVro;f|J!+KQfA%DY~4FJWjg~`hF`(MiUQbP;}tH330lWLz;JU|SYNvf z`rDqs=inoF=ez`69WP*f>;zg)Gpj<YqJc)+r`P*#~~vy^xd(`GBfuS}cg z+O1;TJVm~qX|uk`Eym3o*)#b!yF0KkZ7!4k&B(HunadDpn8Ic+mT8Qeg_YF#H*=c( VW8CcPq{X-S0qaG^&E)}x>;M8fIc@*| delta 170 zcmZ3no^i!`#tq_3lM|R(CTlaBPM*SSGg+L;8pt;RiydIfo_vK_d2$1@?Br-B-^t&Z z^*7Je-Nm?hncqdm&Bjuh{F_hm6)|nT!}^MG^CIovKnWgYrp>oR>zOu(>#Os#ykq4u zo!saszd26u64T~LiCc`D>+Jq9Za&8TfQ4l}Ggwk{b1+LM<7NYqRg5hEnYpaN>i26t QX53ukpvAYjJiw400A4vgLjV8( diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/FeedItemSetLinkService.php b/metadata/Google/Ads/GoogleAds/V17/Services/FeedItemSetLinkService.php index 1e3e57e3985c3a906c062ab82e0a5312e27de451..9318b70fcb865ceae846af201051ee6c3e93be98 100644 GIT binary patch delta 28 kcmZ21wODF{4%1`~=Df+*n2aW;Gv!YgZ delta 62 zcmV-E0Kxx(D}gJp=mC>m0tu7Q0ydNE0dbSu10s`u0u+-r1E!N*0ydKZ12mJ90w9zA U1241i1>OO(Ed;{>v(5*z4cMs{9RL6T diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/FeedItemTargetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/FeedItemTargetService.php index e73bdd5674bd6e65dc4c0a23438d59394f4c286f..19dc4c9fae77760547cfc735b575dbadeb71c4d5 100644 GIT binary patch delta 222 zcmV<403rY9@d4-Y0kHA`lPv-+lg|PPlbr%GlcNJAlYjyglkNdOlW_w!lV1WglQ{!4 zlg|QHlgI-vvtJ(10kh~a#sRaUBhdk~iwW@ov$ZS70kba+F9NgW1-}6S=aXL#B9lNq zA(NgSA+uZri2<{W6RQEUW@*m>vvVcp0kiiQ#{siW5k3O5b~o4ovo{st0kdf}4Fa=S zCtL)xz8d8LvltiO0kf_%y8*M{A;JN(d<(Myv)V5X0<(NAUIMeE2j>B^PC4EIv!fim Y0kd8Y@By<{9 delta 246 zcmWlTJxjx27)817n_pi-W5= zNbe*H0f*X6+&U=^n$>i1a4~LoIOlMa6iJG^9^^t*r3YVfx-4$CU1iFtUY9fFNKG%u zi>kqM1&TZ6Z_pWAQA`JKK!5xr zLuTH=P3IYGPJe=z%a70RA>5 diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/FeedMappingService.php b/metadata/Google/Ads/GoogleAds/V17/Services/FeedMappingService.php index ee3e18930a80dfcd062780e9a99bf3309a62c149..035dc34cd95939cae1885c9bc63c312013ec02ba 100644 GIT binary patch delta 190 zcmV;v073t&$N{U!0kG!*lU)KklkfpHlb{13lMVtHlWGGtlO_T?ll=l|laB&clfeTo z0`vou@h~BioJtLoXG#>a*dez8vt27E1GB>)(E+nf8aD#7%rnvfvuYUQ0kh0Fqyn=w z6*U91I0+vDvxFwq0<#$n#sRaQH7*0Q@BLQVp+St$epvlB=d9C`&q`~Uy| delta 179 zcmV;k08Ia@$N{U!0kG!*lWPMBlOh5(lg9!(lj{LDlXL@3lRyF(lL7;2lZ^s8lUM>F zlfeTovydPh1G73gECREr79Rq$T{OZ0vz!~o0kgX%RtB?k6Ey>~><;4rv*QXk0<(fZ zKLfK83DE(w@B{k+vt~Q>0<*^$)dI5*Mg#)0>jftRvlTB$1+y9r(gCw#9WDd2&k&>n hvs*qV0<#e<1Ol_HBM$?!!9z|0vmZ7a1G5uI7#xpnJ?H=c diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/FeedService.php b/metadata/Google/Ads/GoogleAds/V17/Services/FeedService.php index 92535748ad2e6335316e32e1bf86e6b13e630bd1..29587f28622f090cbf0f204ba68efe20b922b1a7 100644 GIT binary patch delta 90 zcmZ2wv&v?}4aUhnOq`RYn2aXhV6>ckj#*)H0JH4mP$u)qy3FR2KQozu<#U-+C-*P~ tZ+^$@z_gi}XDQ=mJvJ7W%`149aBeo@y2!{fnU~9CvLcJ*=1lQ}YyeuM9IOBU delta 90 zcmZ2wv&v?}4aUjBOqP=ym^ddtWHbWO4wGjy2T%UbC^7jrlhNcoOx9pIGv?IE0ZcNR s-!VHdZNALT!m_zq^djSCJ+`Hco3C>(;bfW2%VjcIkwtQIruacN0Moi3DgXcg diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/GeoTargetConstantService.php b/metadata/Google/Ads/GoogleAds/V17/Services/GeoTargetConstantService.php index a4a955d17f3339c7c14380c6e95ef5d6210b2c79..531b482016ebef4db390a37a99f1212d19050086 100644 GIT binary patch delta 24 gcmZ3aut;G;4%6i8Ouds0m?b9XFa>W;Vcy3B0CScIvH$=8 delta 24 gcmZ3aut;G;4%1{o=HSWN%o3Axn0hy-Fz@350A)D`=l}o! diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/GoogleAdsFieldService.php b/metadata/Google/Ads/GoogleAds/V17/Services/GoogleAdsFieldService.php index 1e41af409cd4d7f3b5e6131673d6ea4f50372584..e67dcf7187a877a099eacbb978993642f104d806 100644 GIT binary patch delta 46 zcmV+}0MY-)B*!GM@&S_z15=Yu0u+-e0<4qr0Xvh`0v?lI1240I1x5n1jRW)nv&RR3 E3YlLJ{{R30 delta 59 zcmV-B0L1^tB*!GM@&S_t13Qyl0;rQf10Iup0u+-V0tA!t0aKG+11|*a0}4KqkpnQZ R2L`|avyB5r0<*^lfC^tt6J!7Y diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/GoogleAdsService.php b/metadata/Google/Ads/GoogleAds/V17/Services/GoogleAdsService.php index 804126a24826e60d14f0fa31b6313b59edb4dca3..3afaf39f30ac87d165c4ddd286cec7aeb27206d3 100644 GIT binary patch delta 8109 zcmai3c|g?F_J8Nz`(1}+7(oXC*})auEiGkG1XMr~HP?|~RFX{?P@frQ%hNW^Nv@Tq zmP;b>9lhv9qAUC%w|b3W(Xv)kfV-ilv! z23+3|&6Q1Bdw!!y8&@f9@8TrEb)IIso~9jL=b@czAx(50CL>%aY%rNY`P(sSkn8$r zg>M>4efY+a5RPx8((ZsKKa{>8__j;i4#p9uAHk%n@G}?(OBgYBY>6Pofe(%W&ib94 z1AKK3Eg?AfXOcs3(qOm&IK&R;0oNV`(R+LH1Hcy^k}AL@PU%~~-g~8X6phpBA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6+%+Y-E_!@R;zjC@z5~3X1;7_(IU&9mZBcy6`Qm+}W;o zO`3ERRs(&15x-!n@fLk5`GuRa>QKpFPzX{VJwjz!yepVC3qzmbPMv3=sJ>e8xk3pg6tDq^PjqQSNxLhw7 zG_unAz@b_3uA~^L6JeA*kt`gQ*hrtV_V*Ky{HWJLwm~1WEu(2|GJReD3V>|w<25Hz zHL=4ypl^opO}ab%U>efOEPl)n_Ie5@M^fLf;VS^InixFp2ir}Rmo4odTOL?@OuFa8 zBRLr_qNd&-J8+&qotkVFx#+Dpc964kI+B4~gp1LrT#G-52I9RC1 z)?uKSP%H(!^J*2kBjtrl_Gr2Kuo*6Ug<>H6&t>}`fdw6PX0==Dw=FmA!a&*Lu{{WS z(UQk@cP)2t7*n<1{F+gx&E^_`2cl|Bz^{wrE9;MU33@)nwZflt+r4U1_YVbF^z$@U*B$q}|8D~WsBK-b3B9k?vdzx#^q4UA{c!=E{dJNk07nWppddUFq_AYp0G>bDw~a7r3sl?cju%S=Q1e3+f%D|ZeR zQ97~O@`H&w4u diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/IdentityVerificationService.php b/metadata/Google/Ads/GoogleAds/V17/Services/IdentityVerificationService.php index 2623117fc2fed1f6572e86049f9287f3c43b5e09..c11c15c38cbd4c29a50c6cc2170fda176a367248 100644 GIT binary patch delta 36 scmeBC>QUP8lX0>Ull^1?=D5lGnItAJWy+rXm(g@`E|bFMJmz`40QBAr*#H0l delta 40 wcmeBC>QUP8lX0>rv*qM`CeF!BOlFgVm}Mp_FiA{a$CN$Uf+=ou9`ih200TS>J^%m! diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/InvoiceService.php b/metadata/Google/Ads/GoogleAds/V17/Services/InvoiceService.php index 26f141d6714588d29c481d30a7082a5765d927f4..aa653d090f4bfb6284aa36f80d7a63fff811bb36 100644 GIT binary patch delta 63 zcmV-F0KosONUTV(;sKNO0$G!A0vMCx0cVpC0tAzY0yUFK0zZ?%0vwZ011|)f1PU^f Vfde12P6d(#vwZ`u0khxbe0y~pc13QyS0%eox0%wy30z0$A1MCg#kPO-Y delta 36 scmZ3lyk2<&Khxxi%tn(pGv!ToW3ryC$ecd8mdSoHKa=_9UM*si- diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanAdGroupService.php b/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanAdGroupService.php index 3f997a5a91d8ac086e7bb727102b4cf8cb073046..1847982f3bcc3ecbeee0ebcab9a9364e7139da34 100644 GIT binary patch delta 48 zcmeB>?U3E@n{jdjv(aQh=KRTKOm>rZGY3u9XBL^9&BQtR9+NSU&YJw4QGGKnOEnh& DmLCu9 delta 48 zcmeB>?U3E@n{o0hX64EAm_;VfU~-z=%A7daf!SuVE>r&G-;72;Hs|D9OhKD@S*p1J DxAqXa diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanCampaignKeywordService.php b/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanCampaignKeywordService.php index e18feeba1a74b3f27b4c469aa1c7e0e23729a58f..3016b2c5e8fd3705ac3f66347f127baedb6c1412 100644 GIT binary patch delta 36 ucmV+<0NekSBb6ht5CW5t12>aa12U7W0y~pJ0&bJ*0%wy40z0$B1JMoRK@5ff delta 44 xcmbQLJXLvv0Mq12%tn*9Fy&3IWip=}z|1mPi8&oiyE7S0W@mEPe1iEbF91Jm4Z;8b diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanCampaignService.php b/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanCampaignService.php index c3c235bfec00d2d5d2468d0fc13affb48b0e07b3..c44a03e8ea4dba2ffb83b810da79e6a01ad16ce8 100644 GIT binary patch delta 44 zcmV+{0Mq}BB#b1m_yLok0tAz}12vNm0|}FY12>a50y~r40;Q7y0ydL!0&BDK0~!uq Cv<~n9 delta 40 ycmV+@0N4MFB#b1m_yLpN0tu5*12&U!0y~q318bA40;Q8W0ymTV0X4Jk10D`MAr9>T diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanIdeaService.php b/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanIdeaService.php index 778141522a3225dccbba5e1ea26ae570e52b4597..fbde209c02a82fcab2e5d7a3f2265f0bab45acc5 100644 GIT binary patch delta 223 zcmV<503iSLumbe30a0<#cF#{siJ1wI0^h#-*y1l|J*Fq6?9AG2Nw!U40nE#U#PU=gbUv%Uqt0kgy$#{rWI6C<;EE4%@- HwoJZDh)Ykm diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanService.php b/metadata/Google/Ads/GoogleAds/V17/Services/KeywordPlanService.php index 404344baebc864ec039829f38f23069454fbb95c..2d4bdd0785eff5edac3fbc740e4e2d16a75679b1 100644 GIT binary patch delta 52 zcmZqCZqeTGnsKrsQ~KmQX8XxKOy-lHGnxU}oRiNm=}x}OtT1^!lgQ+sOr?`oGAnHU I%iJyq008e3mjD0& delta 48 zcmZqCZqeTGnsM?OCZoyE8M7z%GFeal$7D7+gSiw)b54#1vL70#CDY_0ri{s!Os13hnWHC9V3L@8i%D^F7IO_d0KV7?!~g&Q delta 32 ocmaDR`b>0#CDY`EOs11fnQ|t3GAmC0%Oo=S8dLPvsVcx3ipsTK;hgGR0B1)SPXGV_ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/LocalServicesLeadService.php b/metadata/Google/Ads/GoogleAds/V17/Services/LocalServicesLeadService.php index aa264e44097017f91792769ae4abc6f6e8dc2490..a5d8ebae03f7e100cd2b0dd003d521c85a2d418e 100644 GIT binary patch delta 36 ucmV+<0Neks6R#7n_yLo915=Ys0!@=(0tAyl13Q!W0cew%0*|xK1K|b!j1A=g delta 36 ucmV+<0Neks6R#7n_yLpG0%((80y&dE1CNux0vMB=0y~rV0aLTi1K|Y|fDW_( diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/OfflineUserDataJobService.php b/metadata/Google/Ads/GoogleAds/V17/Services/OfflineUserDataJobService.php index 87cc51c05519262a0f1c58b918447436112c1a39..c4ac08282875e8fef735a1af9e3099fcffd8790f 100644 GIT binary patch delta 68 zcmV-K0K5PEX#8lf`vH?|0%wy90|}G512&T}0y~rY0XCD@0yUHD12mHi1ErH71Y5J7 a39tdP9uJfPvwH+11+z{I&;zrw5y~Q`hZ&#% delta 77 zcmey9@h4-$Z^p@Yn9L?GWU`+8n=ySdAG77;YUZUt%sDw5DDKT{Fj;{mdh>n`WmcAz h%v{EkAMnd>p2yP5xcL$91?J7#Y*UyvZxTGE1OTo$9PI!A diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/PaymentsAccountService.php b/metadata/Google/Ads/GoogleAds/V17/Services/PaymentsAccountService.php index 043705d8d61b87af217f8df2b2aacb7617c74612..6b4a347e2be4c95bba8acaadb81b841134670f54 100644 GIT binary patch delta 32 ocmZn>ZxP?{o^dh@v;E{tOh%L6Guls1XUd+e$7H$Lnc0y80Kj$%umAu6 delta 32 ocmZn>ZxP?{o^f&lll^2aX3NR*nX)JAF&RyM&uG8dnc0y80Jx?Kd;kCd diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ProductLinkInvitationService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ProductLinkInvitationService.php index 6b1f59d13712a65e8aaa78b4bb7ccc472aa2bccf..65b29df8571f0d00687a6846ec15393fc5ade2ac 100644 GIT binary patch delta 56 zcmV-80LTBAFqbf(0+Txeos$y-Ig{7|Ka)@c9FzY77?J`blWYSo1E&NElRgMUv+f1w O0kfL}3<9&&2SN}OToPpf delta 57 zcmV-90LK59Fqbf(0+UGtBa=`97?J{=lhy)1lc54NlMw?TlWYSo1cd|&IFp|PAG7QQ P=>fBw11~=2b29~YvvX{0N4Nvs{jB1 delta 32 ocmdn5ykB|4YsSejOxcswn2aX>VX~k6n$ddlaVFEv=FA;@0NLFPNB{r; diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ReachPlanService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ReachPlanService.php index d48c3af46eb7b01202b77f4042a581911df4374e..862a744f4b6c3e43c352ead7ee0788bab669b438 100644 GIT binary patch delta 209 zcmV;?051Q&rvkpG07fv*|AG0kh2t{{yqm8pZ*$oH+3T zv-$|r0kg~w%>lD_5+nk%vwcGj z0<-=Y#sRZXFS`M=ekPFu1cn3(K9hk%AG7W>>H)JhJkJ5Ml?%}Yvkxg;1hWwn?g6uu zIPd|pf&(uCvz9^U0kaPXzX7wv8u0nZIj^a$u+sIAMY=?MWv1q1Q9e>JF%n1gFcD3bMvUkIg^Cg3 zPn(gEGc8i0@&vO7gb<}6j{b zlUytfsfs(Qo_2`pItvQqB|Rqcw@Oe=D#LN>JE86BBH>BU9OJ~{DMCP8Im2))jWL+I zo$<3MmT~i(7ED<_5%!Ne87a1GMwr@7aE3P{f?_`I{7_aCgC;%tFm8QiH%XB?MQ(F9}O&3xqpo zmk2Y-V}$-I9|;|y8I1mk2_w2(e+iuniz|3Ua!1u^t*Lzmq4ou1;F^Y^HY8F;bj&EB zv^G{k%Wty|12-lK(>+}hhFg*ujZtGHdt}A-e>i-9o^GQ_;W4ihsR25K9U3HWy_M|# zSnklcR5d*#%yxPh`;4#2I~-5;)%co`v=Yq`J%kN)8lr^CAx67ddt!6mOF}RbZQh_< Hx^({^$!+bd delta 567 zcmXX?TS${}9Od`>zHRljnV6ZnY8#QHqKUeTmqkhW&{9H59BNk+D^n|LYKTP|K~{`^ zwTwafV3HDM=i$Q&C4wTb#D@qnO6dkQoLbU+=<+@EbU2)IIGm$~4L8Gv`ymp?B)3T7 zOfkZFqLUrMCD}!Y9HNY~HC!rKa)^G(BacNZF0o&+1nMtRg0RloP_->$K*#(uLdVW% z#+%xH!VC8|Mq_D+)sw5~IiXUCVx-VFd0vFU}BkE#bgSmIhoAC;$N6_fqbjUk<96n6`4(dVqKdH c`2I0&_F@U;*qkR2!?Jlk&qc<~r$jP104AFn&j0`b diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/RemarketingActionService.php b/metadata/Google/Ads/GoogleAds/V17/Services/RemarketingActionService.php index 684bd71fa015971ec1e0361bc9bc58489182b073..76d2cca0e363bdf99db0d98fe930cd1352f1f8cd 100644 GIT binary patch delta 36 pcmaE)@knFCXU56;OqP?^F>_A-!)OeqeVG#{XD~h8yq$Tq000#L4q*TQ delta 32 qcmV+*0N?-ODB>uv^8u5t0|}Eg0yC5I0XdV>0_Br&0%5bR1GEt85)GaJ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ShareablePreviewService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ShareablePreviewService.php new file mode 100644 index 0000000000000000000000000000000000000000..149d29bb9f11fb4b63e3d08e1366db5954b6c31c GIT binary patch literal 2693 zcmbtW&2Jk;6t8UwDHDXysvjn_FmW5jt;(*N96~o3w60Sp5+zoX76~m{jd#cPNSobZ zW;Ui&xp3mZ3H}3)Nc{byK>DCQzou^)%Hp9}_6U_UMAu~bCC-z_FR7BR(0$i9KN zTX;Z1NdaqCc92BAVsV7E!eQjo=53r|YS~*n2A*2DaI~kX1KQk!NKp}y(Ctv^3&vF} zdLU}sL#j%`^_S-D-PEc^V*}jGT(s>OA6r<7gq}B!v7jmu(FEYEgmUMwSUTrK&un`V z&qRNo)?@CwN5ESmm)CJPb00Dq25mYbrz{rBtCmi75=crQetA`GbzdodF%2h*Vx1Oo zbin{WC6F2;pk_!fX7NGDXr$)rqzU!G$1G1DCkV=Hc?dPwEFW0s%O?8gP2{|G@fqtG zgb7t^mi22w{hCGnu3amvaAx_b|5@R#y?^dvpr739=Wm`16q|Zjr(G^aFo&?^2urLwSqdHhfB<;3QU_D)ZRchhxyR-<~o*zB5nzO9`c`yj6r`QQi zeOlT2d(JcD)6V$5ir!h67si7kn#F}~F4WE|a;@`vAX#cQg5RC@&K36E89L;*zy0}R zwbl4A-6IN7X+1BFP=>8LXE0B*?PZ#2X;<#7?Y(g7lZKX`IFlx5gQ=W@KhZeS#gy%uUM|g^ZgnQs*|Qbd@T1slTcl w8GvmAgl(5-wheH$UEuZKNd4X3EQitEY&V%K61vedf6f+@3TAR==nSEM0k=1vrvLx| literal 0 HcmV?d00001 diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/SharedCriterionService.php b/metadata/Google/Ads/GoogleAds/V17/Services/SharedCriterionService.php index 13e30541fec77156686539e2a00b8a4af9c90323..8d22d1e3ddd9c132f4eb26b31d8eebc0c96abd6b 100644 GIT binary patch delta 197 zcmV;$06PDg?g5(a0k9zglgk1NClUxD`lPUr-lR5)5lcEDBlkfsclUxEelWqeb zlgR@w1gHcGLzB@wC9^{-#RIc54J8D#!y4uRvyC*X0kb?O?g6u@9MJ)@W)sE%vj{Ko z0khU3W(2b`I>!OCI5s{4v)2XX0ke7@Tm-W$6}tfh*aHeVlaVwZvl|4w0kfg`8y#y#&k)n delta 197 zcmV;$06PDg?g5(a0k9zglam5FlXC+$lUf2flOX~p2brvs)9! z0kgg(y8*K~D-8m(q%zL|vkMI70ket`(E+n!AzTEr5*KC!vz!m^0kZ-x@Bsv<1PViw zfgdHaAq2$(vmq7n0kd;7vjMYMDd7RL@eQj1vp*d^0<%UfyaBU#8^-~&`8y#yF9}CX diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/SharedSetService.php b/metadata/Google/Ads/GoogleAds/V17/Services/SharedSetService.php index b5e2dc84d6722bc00abaafdf9d5e2cda57c0dab1..acf6fa49f08647192738d43ae446d866b27d3f5a 100644 GIT binary patch delta 63 zcmV-F0KosxDbFde=K+%<0ydLr13r_;0-=*w0&tV315%Sf0vMC$0V9+711|*h0}3>g VECedE;RnqDvnT|M1GBCPAq)N^7I**v delta 76 zcmX@Fd0unFbH>Tnn3X4QU=o@9n9*wTAEtuI(M$^`%QD$b&S4Ik{F7OqWivCE+2n`p g@{_$;xHku~#WJ&eVdgRciEQ>}xxu)39j78U0A}?X} m$pS3;jDIFOuqaKw&(A+uL4<8{AIE9N&GszfESn>_Y=r^m03SvG delta 62 zcmbPcJwMJ1KaG8?{MR8yU$pve-=kPqAKB1Th#l*gi@2JmHdl zE|w$0uG}fAONLEFSk13z>=nKcriSf|W`C3rFSsC-lr=HVvXTU&r%+WQoEOOFXZh8aeG_<``GJ`zT(*^Ef>FJUpag|R$g5XzBIt?3(o z<12)@!B4`p=72EY^Cd9gxK5D|gl+FD!5yiqgrjPl5!ag;`!&y5*yv1ZFx#82<=t+% S88FF@8!fJb3l>b?>U96#4T1>( delta 334 zcmW;H&nv@m9LMqA@6UHzeYaVDHIinLMi^;+wjYfpq{%_jA_o^YZaXO_Ne({6!Npv} zBJ)xX$aWY92PtI{kyzn?XrbhrKj2x9=X63$C&X42%Te~qPGOgEE|9hClFQsAb47zp zaj6^=PQ+XfgrDAR!d~?;Azt@PF#7KZ=ax5u$96-=bhI;eXG<9y?nzcI6tzL#8En!s zWR+JAJ3fS9oEWuwu{?*7(LEAsi?bMCfnP$n@QCo#X#%s8ujVyyI^ z5&|<5j5UXY@tv!+mvi?fC8Afm_- XB_-5m8FQDQ*Qa@np_Uqi&n%Wd48el~ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/ThirdPartyAppAnalyticsLinkService.php b/metadata/Google/Ads/GoogleAds/V17/Services/ThirdPartyAppAnalyticsLinkService.php index b66d122b1..d9e9820c7 100644 --- a/metadata/Google/Ads/GoogleAds/V17/Services/ThirdPartyAppAnalyticsLinkService.php +++ b/metadata/Google/Ads/GoogleAds/V17/Services/ThirdPartyAppAnalyticsLinkService.php @@ -13,12 +13,12 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\Http::initOnce(); - \GPBMetadata\Google\Api\Annotations::initOnce(); - \GPBMetadata\Google\Protobuf\Duration::initOnce(); \GPBMetadata\Google\Api\LaunchStage::initOnce(); + \GPBMetadata\Google\Protobuf\Duration::initOnce(); \GPBMetadata\Google\Api\Client::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); + \GPBMetadata\Google\Api\Annotations::initOnce(); $pool->internalAddGeneratedFile( ' Ù diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/TravelAssetSuggestionService.php b/metadata/Google/Ads/GoogleAds/V17/Services/TravelAssetSuggestionService.php index 3fca2d969e8923ddaf74bd27f70ad1030fa619bd..4f6c460dfb01ef3593d9892223a374390b3f5cd7 100644 GIT binary patch delta 35 rcmdm^wnuHl3Z}`z%*vA|FlBExW4^+?S%7mP(`GJqHm1!Rxx3i`;l&Gj delta 35 tcmV+;0Nnq)CcGxFr~;GY0#lQa0z0!d1Jnbvs|f}IvkC{H0<*CTiwFJA4CDX+ diff --git a/metadata/Google/Ads/GoogleAds/V17/Services/UserDataService.php b/metadata/Google/Ads/GoogleAds/V17/Services/UserDataService.php index d1326cb1ac4ccca98c6d3399cb3784c727ebc463..2cd12811d8b101001dd944cbf9bcafad9b3d5b0c 100644 GIT binary patch delta 32 ocmca%dBbwUQ^v`WOzD$lm@FqBV2Yl+hDl`dLq_$@(#(4$0o_^*KmY&$ delta 36 ucmV+<0NelAIoLU{F5&@86V>58We9B z@9XO8Ohi1efE%kTZtM@nXoCz~%VRJW`vtvfkqY0P-tSHvj+t delta 101 zcmcbvG+A-OZ^p?Bm{=yeGM7x|XEvL>geiUUZ$@jd*iL4d$@`c@fPBu$_DsH$uQKbi zOlIYBo#-t&S&_w;X))8}0v2VKe~er*lLI+LCa-3B!Qu3qkxMB#KX7wD~pb7v{}OVqz?tXYq3|ZGNnHn{l&*)J?|C`;<>B0RYR&GK2sC delta 137 zcmeC|W$f%_+@QcT`2bV;0rS)JK(@^xna&GB4E88`nB z{ldKYhv0L@&6OO_7+Ib(bGb}rG}oLQt1dk`flYC9KT9j)W+pifrp+R3sZ5){@cw4p p{6 0, - 'INFO' => 1, - 'NOTICE' => 2, - 'WARNING' => 3, - 'ERROR' => 4, - 'CRITICAL' => 5, - 'ALERT' => 6, - 'EMERGENCY' => 7 - ]; - - /** - * Constructs the Google Ads call logger with the specified PSR-3 logger interface. - * - * @param LoggerInterface $logger the PSR-3 logger - * @param string $filterLevel the PSR-3 minimum log level to log - * @param string $endpoint the API endpoint for the gRPC call - * @param null|LogMessageFormatter $logMessageFormatter the log message formatter - * @param array $context the context for logging - */ - public function __construct( - LoggerInterface $logger, - $filterLevel, - $endpoint, - LogMessageFormatter $logMessageFormatter = null, - $context = [] - ) { - $this->logger = $logger; - $this->filterLevel = $filterLevel; - $this->endpoint = $endpoint; - $this->logMessageFormatter = $logMessageFormatter ?: new LogMessageFormatter(); - $this->context = $context; - } - - /** - * Logs summary and the details of the given status, request data and response. - * - * @param ForwardingCall $call the forwarding call whose details will be logged - * @param object $status the status to be logged - * @param array $requestData the request data - * @param object|null $response the response to be logged - */ - public function log( - ForwardingCall $forwardingCall, - object $status, - array $requestData, - ?object $response = null - ) { - $this->logSummary( - $requestData, - compact('response', 'status') + ['call' => $forwardingCall] - ); - $this->logDetails( - $requestData, - compact('response', 'status') + ['call' => $forwardingCall] - ); - } - - /** - * Logs the summary of the request and response. - * - * @param array $requestData the request data to log - * @param array $responseData the response data to log - */ - public function logSummary( - array $requestData, - array $responseData - ) { - $level = $this->getAppropriateLogLevel($responseData['status']->code); - // Logs only if the appropriate log level is enabled: this is to avoid unnecessary message - // formatting as it could take a significant time depending on the request and response - // payloads. - if ($this->isEnabled($level)) { - $this->logger->log( - $level, - $this->logMessageFormatter->formatSummary( - $requestData, - $responseData, - $this->endpoint - ), - $this->context - ); - } - } - - /** - * Logs the details of the request, response, and errors if there are any. - * - * @param array $requestData the request data to log - * @param array $responseData the response data to log - */ - public function logDetails( - array $requestData, - array $responseData - ) { - // Logs details at one finer level than the summary. - $level = self::getNextFinerLogLevel( - $this->getAppropriateLogLevel($responseData['status']->code) - ); - - if ($this->isEnabled($level)) { - // Logs only if the appropriate log level is enabled: this is to avoid unnecessary - // message formatting as it could take a significant time depending on the request and - // response payloads. - $this->logger->log( - $level, - $this->logMessageFormatter->formatDetail($requestData, $responseData, $this->endpoint), - $this->context - ); - } - } - - /** - * Returns true if logging responses in detail is enabled for this logger. Responses are logged - * at the DEBUG level. - * - * @return bool true if logging responses in detail is enabled for this logger - */ - public function isLoggingResponsesEnabled(): bool - { - return $this->isEnabled(self::getNextFinerLogLevel($this->getAppropriateLogLevel(0))); - } - - /** - * Returns the appropriate log level depending on the response code. - * For successful requests, use INFO. For failed requests, use WARNING. - * @return string the log level to use - */ - private function getAppropriateLogLevel($code): string - { - return $code === 0 ? LogLevel::INFO : LogLevel::WARNING; - } - - /** - * Returns true if $level is enabled, i.e. if the log level that this logger supports is - * less than or equal to $level. - * @return bool true if $level is enabled, false otherwise - */ - private function isEnabled(string $level): bool - { - return self::LOG_LEVELS[strtoupper($this->filterLevel)] <= - self::LOG_LEVELS[strtoupper($level)]; - } - - /** - * Returns the next finer PSR-3 log level for the specified log level. - * - * @param string $level the current log level - * @return string the level name - */ - private static function getNextFinerLogLevel($level) - { - $currentLevel = self::LOG_LEVELS[strtoupper($level)]; - if (!isset($currentLevel)) { - throw new \InvalidArgumentException("The specified log level '$level' is invalid."); - } - if ($currentLevel === 0) { - // DEBUG is the finest level, so returns itself instead. - return $level; - } - - return strtolower(array_flip(self::LOG_LEVELS)[$currentLevel - 1]); - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClient.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClient.php deleted file mode 100644 index 26b9e1627..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClient.php +++ /dev/null @@ -1,65 +0,0 @@ -developerToken = $builder->getDeveloperToken(); - $this->useCloudOrgForApiAccess = $builder->useCloudOrgForApiAccess(); - $this->loginCustomerId = $builder->getLoginCustomerId(); - $this->linkedCustomerId = $builder->getLinkedCustomerId(); - $this->endpoint = $builder->getEndpoint(); - $this->oAuth2Credential = $builder->getOAuth2Credential(); - $this->logger = $builder->getLogger(); - $this->logLevel = $builder->getLogLevel(); - $this->proxy = $builder->getProxy(); - $this->transport = $builder->getTransport(); - $this->grpcChannelIsSecure = $builder->getGrpcChannelIsSecure(); - $this->grpcChannelCredential = $builder->getGrpcChannelCredential(); - $this->useGapicV2Source = $builder->useGapicV2Source(); - $this->unaryMiddlewares = $builder->getUnaryMiddlewares(); - $this->streamingMiddlewares = $builder->getStreamingMiddlewares(); - $this->grpcInterceptors = $builder->getGrpcInterceptors(); - $this->httpHandler = $builder->getHttpHandler(); - - // Initializes preemptively the GoogleAdsFailures type when - // gRPC is not available. - if (!self::getGrpcDependencyStatus()) { - GoogleAdsFailures::init(); - } - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientBuilder.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientBuilder.php deleted file mode 100644 index 8a643ff02..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientBuilder.php +++ /dev/null @@ -1,690 +0,0 @@ -loggerFactory = new LoggerFactory(); - $this->grpcChannelIsSecure = self::DEFAULT_GRPC_CHANNEL_IS_SECURE; - } - - /** - * Populates this builder from the specified configuration object. - * - * @param Configuration $configuration the configuration - * @return self this builder populated from the configuration - */ - public function from(Configuration $configuration) - { - $this->developerToken = - $configuration->getConfiguration('developerToken', 'GOOGLE_ADS'); - $this->useCloudOrgForApiAccess = - is_null($configuration->getConfiguration('useCloudOrgForApiAccess', 'GOOGLE_ADS')) - || $configuration->getConfiguration('useCloudOrgForApiAccess', 'GOOGLE_ADS') === "" - ? self::DEFAULT_USE_CLOUD_ORG_FOR_API_ACCESS - : filter_var( - $configuration->getConfiguration('useCloudOrgForApiAccess', 'GOOGLE_ADS'), - FILTER_VALIDATE_BOOLEAN, - // Defaults when value is not a valid boolean. - [ - 'options' => ['default' => self::DEFAULT_USE_CLOUD_ORG_FOR_API_ACCESS], - 'flags' => FILTER_NULL_ON_FAILURE - ] - ); - $this->loginCustomerId = $configuration->getConfiguration('loginCustomerId', 'GOOGLE_ADS'); - $this->linkedCustomerId = - $configuration->getConfiguration('linkedCustomerId', 'GOOGLE_ADS'); - $this->endpoint = - $configuration->getConfiguration('endpoint', 'GOOGLE_ADS'); - $this->logLevel = $configuration->getConfiguration('logLevel', 'LOGGING'); - $this->logger = $this->loggerFactory->createLogger( - self::DEFAULT_LOGGER_CHANNEL, - $configuration->getConfiguration('logFilePath', 'LOGGING'), - $this->logLevel - ); - $this->proxy = $configuration->getConfiguration('proxy', 'CONNECTION'); - $this->transport = $configuration->getConfiguration('transport', 'CONNECTION'); - $this->grpcChannelIsSecure = - is_null($configuration->getConfiguration('grpcChannelIsSecure', 'CONNECTION')) - || $configuration->getConfiguration('grpcChannelIsSecure', 'CONNECTION') === "" - // Defaults when value is not defined or an empty string. - ? self::DEFAULT_GRPC_CHANNEL_IS_SECURE - : filter_var( - $configuration->getConfiguration('grpcChannelIsSecure', 'CONNECTION'), - FILTER_VALIDATE_BOOLEAN, - // Defaults when value is not a valid boolean. - [ - 'options' => ['default' => self::DEFAULT_GRPC_CHANNEL_IS_SECURE], - 'flags' => FILTER_NULL_ON_FAILURE - ] - ); - $this->useGapicV2Source = - is_null($configuration->getConfiguration('useGapicV2Source', 'GAPIC')) - || $configuration->getConfiguration('useGapicV2Source', 'GAPIC') === "" - ? self::DEFAULT_USE_GAPIC_V2_SOURCE - : filter_var( - $configuration->getConfiguration('useGapicV2Source', 'GAPIC'), - FILTER_VALIDATE_BOOLEAN, - // Defaults when value is not a valid boolean. - [ - 'options' => ['default' => self::DEFAULT_USE_GAPIC_V2_SOURCE], - 'flags' => FILTER_NULL_ON_FAILURE - ] - ); - - return $this; - } - - /** - * Populates this builder from the specified configuration object. - * - * @param Configuration $configuration the configuration - * @return self this builder populated from the configuration - */ - public function fromEnvironmentVariablesConfiguration(Configuration $configuration) - { - $this->developerToken = $configuration->getConfiguration('DEVELOPER_TOKEN') ?? - $this->developerToken; - $this->loginCustomerId = $configuration->getConfiguration('LOGIN_CUSTOMER_ID') ?? - $this->loginCustomerId; - $this->linkedCustomerId = $configuration->getConfiguration('LINKED_CUSTOMER_ID') ?? - $this->linkedCustomerId; - $this->endpoint = $configuration->getConfiguration('ENDPOINT') ?? $this->endpoint; - - return $this; - } - - /** - * Includes a developer token. This is required. - * - * @param string $developerToken - * @return self this builder - */ - public function withDeveloperToken(string $developerToken) - { - $this->developerToken = $developerToken; - return $this; - } - - /** - * Sets whether this library should use Google Cloud organization for API access. - * - * @param bool $useCloudOrgForApiAccess - * @return self this builder - */ - public function usingCloudOrgForApiAccess(bool $useCloudOrgForApiAccess) - { - $this->useCloudOrgForApiAccess = $useCloudOrgForApiAccess; - return $this; - } - - /** - * Sets the login customer ID for this client. - * Required for manager accounts only. When authenticating as a Google Ads manager account, - * specifies the customer ID of the authenticating manager account. - * - *

If your OAuth credentials are for a user with access to multiple manager accounts you must - * create a separate GoogleAdsClient instance for each manager account. Use this method to - * set each login customer ID and call build() to create a separate instance. - * - * @param int|null $loginCustomerId the login customer ID - * @return self this builder - */ - public function withLoginCustomerId(?int $loginCustomerId) - { - $this->loginCustomerId = $loginCustomerId; - return $this; - } - - /** - * Sets the linked customer ID for this client. - * - * This header is only required for methods that update the resources of an entity when - * permissioned via Linked Accounts in the Google Ads UI (AccountLink resource in the Google Ads - * API). Set this value to the customer ID of the data provider that updates the resources of - * the specified customer ID. It should be set without dashes, for example: 1234567890 instead - * of 123-456-7890. Read https://support.google.com/google-ads/answer/7365001 to learn more - * about Linked Accounts. - * - * @param int|null $linkedCustomerId the linked customer ID - * @return self this builder - */ - public function withLinkedCustomerId(?int $linkedCustomerId) - { - $this->linkedCustomerId = $linkedCustomerId; - return $this; - } - - /** - * Includes the Google Ads API server's base endpoint. This is optional. - * - * @param string|null $endpoint - * @return self this builder - */ - public function withEndpoint($endpoint) - { - $this->endpoint = $endpoint; - return $this; - } - - /** - * Includes the OAuth2 credential to be used for authentication. This is - * required. - * - * @param FetchAuthTokenInterface $oAuth2Credential - * @return self this builder - */ - public function withOAuth2Credential(FetchAuthTokenInterface $oAuth2Credential) - { - $this->oAuth2Credential = $oAuth2Credential; - return $this; - } - - /** - * Includes a logger to log requests and responses. - * - * @param LoggerInterface $logger - * @return self this builder - */ - public function withLogger(LoggerInterface $logger) - { - $this->logger = $logger; - return $this; - } - - /** - * Sets the log level for Google Ads API requests and responses. - * - * @param string $logLevel the PSR-3 log level name, e.g., INFO - * @return self this builder - */ - public function withLogLevel(string $logLevel) - { - $this->logLevel = $logLevel; - return $this; - } - - /** - * Sets the proxy URI for Google Ads API requests in the format protocol://user:pass@host:port. - * - * @param string $proxy the proxy URI, e.g., http://user:password@localhost:8080 - * @return self this builder - */ - public function withProxy(string $proxy) - { - $this->proxy = $proxy; - return $this; - } - - /** - * Sets the transport for Google Ads API requests. - * - * @param string $transport the transport type to use, supported values are `grpc` and `rest` - * @return self this builder - */ - public function withTransport(string $transport) - { - $this->transport = $transport; - return $this; - } - - /** - * Sets whether the gRPC channel for Google Ads API requests is secure or not. - * - * @param bool $grpcChannelIsSecure - * @return self this builder - */ - public function withGrpcChannelIsSecure(bool $grpcChannelIsSecure) - { - $this->grpcChannelIsSecure = $grpcChannelIsSecure; - return $this; - } - - /** - * Sets the gRPC channel credential for Google Ads API requests. - * - * @param ChannelCredentials $grpcChannelCredential - * @return self this builder - */ - public function withGrpcChannelCredential(ChannelCredentials $grpcChannelCredential) - { - $this->grpcChannelCredential = $grpcChannelCredential; - return $this; - } - - /** - * Sets whether this library should use GAPIC v2 source code or not. - * - * @param bool $useGapicV2Source - * @return self this builder - */ - public function usingGapicV2Source(bool $useGapicV2Source) - { - $this->useGapicV2Source = $useGapicV2Source; - return $this; - } - - /** - * Sets the unary middlewares for Google Ads API requests. They execute in order after the ones - * defined by the library. - * - * @param GoogleAdsMiddlewareAbstract ...$unaryMiddlewares the Google Ads unary middlewares - * @return self this builder - */ - public function withUnaryMiddlewares(GoogleAdsMiddlewareAbstract ...$unaryMiddlewares) - { - $this->unaryMiddlewares = $unaryMiddlewares; - return $this; - } - - /** - * Sets the streaming middlewares for Google Ads API requests. They execute in order after the ones - * defined by the library. - * - * @param GoogleAdsMiddlewareAbstract ...$streamingMiddlewares the Google Ads streaming middlewares - * @return self this builder - */ - public function withStreamingMiddlewares(GoogleAdsMiddlewareAbstract ...$streamingMiddlewares) - { - $this->streamingMiddlewares = $streamingMiddlewares; - return $this; - } - - /** - * Sets the gRPC interceptors for Google Ads API requests. They execute in order after the ones - * defined by the library. - * - * @param Interceptor ...$grpcInterceptors the gRPC interceptors - * @return self this builder - */ - public function withGrpcInterceptors(Interceptor ...$grpcInterceptors) - { - $this->grpcInterceptors = $grpcInterceptors; - return $this; - } - - /** - * Sets the REST HTTP handler for Google Ads API requests. - * - * @param callable $httpHandler the HTTP handler - * @return self this builder - */ - public function withHttpHandler(callable $httpHandler) - { - $this->httpHandler = $httpHandler; - return $this; - } - - /** - * Sets the Dependencies utilities for this Google Ads client builder. - * - * @param Dependencies $dependencies - * @return self this builder - */ - public function withDependencies(Dependencies $dependencies) - { - $this->dependencies = $dependencies; - return $this; - } - - /** - * @see GoogleAdsBuilder::build() - * - * @return GoogleAdsClient the created Google Ads client - */ - public function build() - { - $this->defaultOptionals(); - $this->validate(); - - return new GoogleAdsClient($this); - } - - /** - * @see GoogleAdsBuilder::defaultOptionals() - */ - public function defaultOptionals() - { - $this->dependencies = $this->dependencies ?? new Dependencies(); - } - - /** - * @see GoogleAdsBuilder::validate() - */ - public function validate() - { - if ( - !$this->useCloudOrgForApiAccess - && (is_null($this->developerToken) || empty(trim($this->developerToken))) - ) { - throw new InvalidArgumentException('A developer token must be set.'); - } - if (!empty($this->loginCustomerId) && $this->loginCustomerId < 0) { - throw new InvalidArgumentException('The login customer ID must be a positive number.'); - } - if (!empty($this->linkedCustomerId) && $this->linkedCustomerId < 0) { - throw new InvalidArgumentException('The linked customer ID must be a positive number.'); - } - - // Use parse_url instead of filter_var to do less restrict validation. - // This is because we need to allow endpoint in the form of "googleads.googleapis.com", - // but filter_var doesn't allow that. - if (!empty($this->endpoint) && parse_url($this->endpoint) === false) { - throw new InvalidArgumentException('Endpoint must be a valid URL.'); - } - - // For the proxy URI using filter_var is ok because the GRPC library expects the URI - // in a very specific format. - if (!empty($this->proxy) && filter_var($this->proxy, FILTER_VALIDATE_URL) === false) { - throw new InvalidArgumentException( - 'Proxy must be a valid URI in the form protocol://user:pass@host:port' - ); - } - - if ($this->oAuth2Credential === null) { - throw new InvalidArgumentException( - 'OAuth2 authentication credentials must not be null.' - ); - } - - if ( - !empty($this->transport) && $this->transport !== 'grpc' && $this->transport !== 'rest' - ) { - throw new InvalidArgumentException( - 'Transport can only be set as "grpc" or "rest".' - ); - } - - if ( - !empty($this->transport) && $this->transport === 'grpc' - ) { - self::validateGrpcSupport(); - } - - if (is_null($this->logLevel)) { - $this->logLevel = LogLevel::INFO; - } elseif (!defined('Psr\Log\LogLevel::' . strtoupper($this->logLevel))) { - throw new InvalidArgumentException("The log level must be a valid PSR log level"); - } - - if (!$this->grpcChannelIsSecure && $this->grpcChannelCredential !== null) { - throw new InvalidArgumentException( - 'The gRPC channel credential can only be set when the gRPC channel is set as ' . - 'secure.' - ); - } - - if ( - !empty($this->transport) && $this->transport !== 'grpc' - && !$this->grpcChannelIsSecure - ) { - throw new InvalidArgumentException( - 'The gRPC channel can only be set as insecure when the transport is "grpc".' - ); - } - if ( - !empty($this->transport) && $this->transport !== 'grpc' - && $this->grpcChannelCredential !== null - ) { - throw new InvalidArgumentException( - 'The gRPC channel credential can only be set when the transport is "grpc".' - ); - } - // Check if the version of the grpc extension installed by Composer is greater than that of - // the extension installed as a system package, throw an exception to remind the user to - // upgrade. - $grpcPackageVersion = $this->dependencies->getGrpcSystemPackageVersion(); - $grpcComposerVersion = $this->dependencies->getGrpcComposerVersion(); - if ( - !empty($grpcComposerVersion) && !empty($grpcPackageVersion) - && version_compare($grpcComposerVersion, $grpcPackageVersion, '>') - ) { - throw new UnexpectedValueException( - 'The grpc extension installed by Composer has a greater version than that' - . ' installed by PECL. Upgrade the PECL extension to avoid issues caused by the' - . ' version difference. For linux, run "sudo pecl install grpc".' - ); - } - } - - /** - * Gets the developer token. - * - * @return string - */ - public function getDeveloperToken() - { - return $this->developerToken; - } - - /** - * Returns true when this library is set to use Google Cloud organization for API access. - * - * @return bool - */ - public function useCloudOrgForApiAccess() - { - return $this->useCloudOrgForApiAccess; - } - - /** - * Gets the login customer ID for this client. - * - * @return int - */ - public function getLoginCustomerId() - { - return $this->loginCustomerId; - } - - /** - * Gets the linked customer ID for this client. - * - * @return int - */ - public function getLinkedCustomerId() - { - return $this->linkedCustomerId; - } - - /** - * Gets the endpoint. - * - * @return string - */ - public function getEndpoint() - { - return $this->endpoint; - } - - /** - * Gets the OAuth2 credential. - * - * @return FetchAuthTokenInterface - */ - public function getOAuth2Credential() - { - return $this->oAuth2Credential; - } - - /** - * Gets the logger used to log requests and responses. - * - * @return LoggerInterface - */ - public function getLogger() - { - return $this->logger; - } - - /** - * Gets the PSR-3 log level for Google Ads API requests and responses. - * - * @return string the log level - */ - public function getLogLevel() - { - return $this->logLevel; - } - - /** - * Gets the proxy URI. - * - * @return string the proxy URI - */ - public function getProxy() - { - return $this->proxy; - } - - /** - * Gets the transport. - * - * @return string the transport - */ - public function getTransport() - { - return $this->transport; - } - - /** - * Returns whether the gRPC channel is secure or not. - * - * @return bool - */ - public function getGrpcChannelIsSecure() - { - return $this->grpcChannelIsSecure; - } - - /** - * Gets the gRPC channel credential. - * - * @return ChannelCredentials|null - */ - public function getGrpcChannelCredential() - { - return $this->grpcChannelCredential; - } - - /** - * Returns true when this library is set to use GAPIC v2 source. - * - * @return bool - */ - public function useGapicV2Source() - { - return $this->useGapicV2Source; - } - - /** - * Gets the Google Ads unary middlewares. - * - * @return GoogleAdsMiddlewareAbstract[] the Google Ads unary middlewares - */ - public function getUnaryMiddlewares() - { - return $this->unaryMiddlewares; - } - - /** - * Gets the Google Ads streaming middlewares. - * - * @return GoogleAdsMiddlewareAbstract[] the Google Ads streaming middlewares - */ - public function getStreamingMiddlewares() - { - return $this->streamingMiddlewares; - } - - /** - * Gets the gRPC interceptors. - * - * @return Interceptor[] the gRPC interceptors - */ - public function getGrpcInterceptors() - { - return $this->grpcInterceptors; - } - - /** - * Gets the REST HTTP handler. - * - * @return callable|null the REST HTTP handler - */ - public function getHttpHandler() - { - return $this->httpHandler; - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsException.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsException.php deleted file mode 100644 index 63826665b..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsException.php +++ /dev/null @@ -1,75 +0,0 @@ -getMessage(), - $original->getCode(), - $original->getStatus(), - $optionalArgs - ); - $this->googleAdsFailure = $googleAdsFailure; - } - - /** - * @return GoogleAdsFailure the stored Google Ads failure - */ - public function getGoogleAdsFailure() - { - return $this->googleAdsFailure; - } - - /** - * Gets the request ID returned in the RPC trailers. - * Returns null if no request ID has been received. - * - * @return string|null the request ID - */ - public function getRequestId() - { - return $this->getFirstHeaderValue( - self::$REQUEST_ID_HEADER_KEY, - $this->getMetadata() ?: [] - ); - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTrait.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTrait.php deleted file mode 100644 index f6fd10e5d..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTrait.php +++ /dev/null @@ -1,77 +0,0 @@ -getMetadata(); - - if (isset($metadata[self::$GOOGLE_ADS_FAILURE_BINARY_KEY])) { - throw $this->createGoogleAdsException( - $exception, - $statusMetadataExtractor->extractGoogleAdsFailure( - $metadata, - self::$GOOGLE_ADS_FAILURE_BINARY_KEY - ) - ); - } - - if (isset($metadata[self::$GOOGLE_ADS_FAILURE_JSON_KEY])) { - throw $this->createGoogleAdsException( - $exception, - $statusMetadataExtractor->extractGoogleAdsFailure( - $metadata, - self::$GOOGLE_ADS_FAILURE_JSON_KEY - ) - ); - } - } - - private function createGoogleAdsException( - ApiException $exception, - GoogleAdsFailure $googleAdsFailure - ) { - $optionalArgs = [ - 'previous' => $exception->getPrevious(), - 'metadata' => $exception->getMetadata(), - 'basicMessage' => $exception->getBasicMessage() - ]; - return new GoogleAdsException($exception, $googleAdsFailure, $optionalArgs); - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresInterceptor.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresInterceptor.php deleted file mode 100644 index 73303e265..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresInterceptor.php +++ /dev/null @@ -1,51 +0,0 @@ -getPartialFailureError()) - ) - ) { - $this->initGoogleAdsFailures(); - } - - return [$response, $status]; - } - - /** - * Initializes the GoogleAdsFailures. - */ - public function initGoogleAdsFailures() - { - GoogleAdsFailures::init(); - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsGapicClientTrait.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsGapicClientTrait.php deleted file mode 100644 index 53f380b0e..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsGapicClientTrait.php +++ /dev/null @@ -1,126 +0,0 @@ -developerToken = $options[self::$DEVELOPER_TOKEN_KEY] ?? null; - $this->loginCustomerId = $options[self::$LOGIN_CUSTOMER_ID] ?? null; - $this->linkedCustomerId = $options[self::$LINKED_CUSTOMER_ID] ?? null; - $this->unaryMiddlewares = $options[self::$UNARY_MIDDLEWARES] ?? []; - $this->streamingMiddlewares = $options[self::$STREAMING_MIDDLEWARES] ?? []; - // Ensure that this isn't already an OperationsClient nor GoogleAdsOperationClient to avoid - // recursion. - if ( - !isset($options['operationsClient']) - && get_class($this) != OperationsClient::class - && get_class($this) != GoogleAdsOperationClient::class - ) { - $operationOptions = $options; - // Use all the options except for those related to this service instance. - $this->pluckArray([ - 'serviceName', - 'clientConfig', - 'descriptorsConfigPath', - ], $operationOptions); - // Sets the options for handling long running operations. - $options['operationsClient'] = new GoogleAdsOperationClient($operationOptions); - } - } - - /** - * Adds a FixedHeaderMiddleware to a callable. - * - * @param callable $callable the callable to add to - * @return callable the modified callable - */ - private function addFixedHeaderMiddleware(callable &$callable) - { - if (!is_null($this->developerToken)) { - $headers = [self::$DEVELOPER_TOKEN_KEY => [$this->developerToken]]; - - if (!is_null($this->loginCustomerId)) { - $headers[self::$LOGIN_CUSTOMER_ID] = [$this->loginCustomerId]; - } - if (!is_null($this->linkedCustomerId)) { - $headers[self::$LINKED_CUSTOMER_ID] = [$this->linkedCustomerId]; - } - - $callable = new FixedHeaderMiddleware($callable, $headers); - } - return $callable; - } - - /** - * @see GapicClientTrait::modifyUnaryCallable() - */ - protected function modifyUnaryCallable(callable &$callable) - { - $callable = $this->addFixedHeaderMiddleware($callable); - $callable = new UnaryGoogleAdsExceptionMiddleware($callable); - $callable = new UnaryGoogleAdsResponseMetadataCallable($callable); - foreach ($this->unaryMiddlewares as $unaryMiddleware) { - /** @var GoogleAdsMiddlewareAbstract $unaryMiddleware */ - $callable = $unaryMiddleware->withNextHandler($callable); - } - } - - /** - * @see GapicClientTrait::modifyStreamingCallable() - */ - protected function modifyStreamingCallable(callable &$callable) - { - $callable = $this->addFixedHeaderMiddleware($callable); - $callable = new ServerStreamingGoogleAdsExceptionMiddleware($callable); - $callable = new ServerStreamingGoogleAdsResponseMetadataCallable($callable); - foreach ($this->streamingMiddlewares as $streamingMiddleware) { - /** @var GoogleAdsMiddlewareAbstract $streamingMiddleware */ - $callable = $streamingMiddleware->withNextHandler($callable); - } - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingInterceptor.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingInterceptor.php deleted file mode 100644 index 6e7ad81a3..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingInterceptor.php +++ /dev/null @@ -1,101 +0,0 @@ -callLogger = $callLogger; - } - - /** - * @see Interceptor::interceptUnaryUnary() - * - * @param mixed $method - * @param mixed $argument - * @param callable $deserialize - * @param callable $continuation - * @param array $metadata - * @param array $options - * @return GoogleAdsLoggingUnaryCall - */ - public function interceptUnaryUnary( - $method, - $argument, - $deserialize, - $continuation, - array $metadata = [], - array $options = [] - ) { - return new GoogleAdsLoggingUnaryCall( - $continuation($method, $argument, $deserialize, $metadata, $options), - compact('method', 'argument', 'deserialize', 'metadata', 'options'), - $this->callLogger - ); - } - - /** - * @see Interceptor::interceptUnaryStream() - * - * @param mixed $method - * @param mixed $argument - * @param callable $deserialize - * @param callable $continuation - * @param array $metadata - * @param array $options - * @return GoogleAdsLoggingServerStreamingCall - */ - public function interceptUnaryStream( - $method, - $argument, - $deserialize, - $continuation, - array $metadata = [], - array $options = [] - ) { - return new GoogleAdsLoggingServerStreamingCall( - $continuation($method, $argument, $deserialize, $metadata, $options), - compact('method', 'argument', 'deserialize', 'metadata', 'options'), - $this->callLogger - ); - } - - /** - * Gets the Google Ads call logger. - * - * @return GoogleAdsCallLogger - */ - public function getCallLogger() - { - return $this->callLogger; - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingServerStreamingCall.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingServerStreamingCall.php deleted file mode 100644 index 341a9974e..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingServerStreamingCall.php +++ /dev/null @@ -1,82 +0,0 @@ -lastRequestData = $lastRequestData; - $this->googleAdsCallLogger = $googleAdsCallLogger; - if ($this->googleAdsCallLogger->isLoggingResponsesEnabled()) { - $this->storedResponses = []; - } - } - - /** - * {@inheritdoc} - */ - public function getStatus() - { - $status = parent::getStatus(); - if (empty($this->storedResponses)) { - $this->googleAdsCallLogger->log($this, $status, $this->lastRequestData); - } else { - foreach ($this->storedResponses as $response) { - $this->googleAdsCallLogger->log($this, $status, $this->lastRequestData, $response); - } - } - return $status; - } - - /** - * {@inheritdoc} - */ - public function responses() - { - foreach ($this->innerCall->responses() as $response) { - // To save memory, stores responses only when it's necessary. - if ($this->googleAdsCallLogger->isLoggingResponsesEnabled()) { - $this->storedResponses[] = $response; - } - yield $response; - } - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingUnaryCall.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingUnaryCall.php deleted file mode 100644 index 95f7bba0b..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingUnaryCall.php +++ /dev/null @@ -1,58 +0,0 @@ -lastRequestData = $lastRequestData; - $this->googleAdsCallLogger = $googleAdsCallLogger; - } - - /** - * {@inheritdoc} - */ - public function wait() - { - list($response, $status) = parent::wait(); - $this->googleAdsCallLogger->log($this, $status, $this->lastRequestData, $response); - return [$response, $status]; - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsMetadataTrait.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsMetadataTrait.php deleted file mode 100644 index 41bf03e64..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsMetadataTrait.php +++ /dev/null @@ -1,53 +0,0 @@ - 0) { - return $valueArray[0]; - } - } - return null; - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsOperationClient.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsOperationClient.php deleted file mode 100644 index de11c0413..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsOperationClient.php +++ /dev/null @@ -1,29 +0,0 @@ -metadata = $metadata; - } - - /** - * Gets an associative array of metadata keys and values. - * Keys are strings and values are arrays of string values or binary message data. - * - * @return array an associative array of metadata keys and values. - */ - public function getMetadata() - { - return $this->metadata; - } - - /** - * Gets the request ID returned in the RPC trailers. - * Returns null if no request ID has been received. - * - * @return string|null the request ID - */ - public function getRequestId() - { - return $this->getFirstHeaderValue( - self::$REQUEST_ID_HEADER_KEY, - $this->getMetadata() ?: [] - ); - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsServerStreamDecorator.php b/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsServerStreamDecorator.php deleted file mode 100644 index bf330c9f8..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/GoogleAdsServerStreamDecorator.php +++ /dev/null @@ -1,79 +0,0 @@ -serverStream = $serverStream; - } - - /** - * {@inheritdoc} - */ - public function readAll() - { - foreach ($this->serverStream->readAll() as $response) { - yield $response; - } - } - - /** - * {@inheritdoc} - */ - public function getServerStreamingCall() - { - return $this->serverStream->getServerStreamingCall(); - } - - /** - * - * Returns an iterator over the full list of elements of the stream. - * - * @experimental: This is specific to SearchGoogleAdsStreamResponse but works just fine because - * GoogleAdsService.SearchStream is the only Server Stream typed call that can be made in the - * Google Ads API. To make this right, modifications in Gapic, Gax and PHP post - * processing script would be required: add a middleware or interceptor using an extended - * version of the GoogleAdsGapicClientTrait. - * - * @return Generator - * @throws ApiException - */ - public function iterateAllElements() - { - foreach ($this->readAll() as $response) { - foreach ($response->getResults() as $element) { - yield $element; - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/InfoRedactor.php b/src/Google/Ads/GoogleAds/Lib/V15/InfoRedactor.php deleted file mode 100644 index 17362f574..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/InfoRedactor.php +++ /dev/null @@ -1,406 +0,0 @@ - $value) { - if (array_key_exists($header, $headerKeysToRedactedValues)) { - $headers[$header] = $headerKeysToRedactedValues[$header]; - } - } - return $headers; - } - - /** - * @return array the mapping of header keys to redacted values - */ - private static function getDefaultHeaderKeysToRedactedValues() - { - if (!isset(self::$HEADER_KEYS_TO_REDACTED_VALUES)) { - self::$HEADER_KEYS_TO_REDACTED_VALUES = [ - self::$DEVELOPER_TOKEN_HEADER_KEY => self::REDACTED_STRING - ]; - } - - return self::$HEADER_KEYS_TO_REDACTED_VALUES; - } - - /** - * Redacts sensitive information of the provided request or response body. - * - * @param Message $body a request or response body - * @return Message the body whose relevant fields are redacted - */ - public function redactBody(Message $body) - { - return $this->maskEmails($body); - } - - /** - * Masks email addresses existing in relevant fields of a request or response body. - * - * @param Message $body a request or response body - * @return Message the body that have emails in their relevant fields masked - */ - private function maskEmails(Message $body) - { - // Note: It is important to clone the object first, or we will rewrite the response - // returned to the user. - if ( - $body instanceof SearchGoogleAdsRequest - || $body instanceof SearchGoogleAdsStreamRequest - ) { - $clone = self::cloneBody($body); - self::redactSearchRequest($clone); - return $clone; - } elseif ( - $body instanceof SearchGoogleAdsResponse - || $body instanceof SearchGoogleAdsStreamResponse - ) { - $clone = self::cloneBody($body); - self::redactSearchResponse($clone); - return $clone; - } elseif ($body instanceof CustomerUserAccess) { - // Handle masking for `CustomerUserAccessService::getCustomerUserAccess`. - $clone = self::cloneBody($body); - self::redactCustomerUserAccess($clone); - return $clone; - } elseif ($body instanceof MutateCustomerUserAccessRequest) { - // Handle masking for `CustomerUserAccessService::mutateCustomerUserAccess`. - $clone = self::cloneBody($body); - if (!is_null($clone->getOperation()) && !is_null($clone->getOperation()->getUpdate())) { - self::redactCustomerUserAccess($clone->getOperation()->getUpdate()); - return $clone; - } - } elseif ($body instanceof CustomerUserAccessInvitation) { - // Handle masking for - // `CustomerUserAccessInvitationService::getCustomerUserAccessInvitation`. - $clone = self::cloneBody($body); - self::redactCustomerUserAccessInvitation($clone); - return $clone; - } elseif ($body instanceof MutateCustomerUserAccessInvitationRequest) { - // Handle masking for - // `CustomerUserAccessInvitationService::mutateCustomerUserAccessInvitation`. - $clone = self::cloneBody($body); - if (!is_null($clone->getOperation()) && !is_null($clone->getOperation()->getCreate())) { - self::redactCustomerUserAccessInvitation($clone->getOperation()->getCreate()); - return $clone; - } - } elseif ($body instanceof CreateCustomerClientRequest) { - // Handle masking for `CreateCustomerClientRequest`. - $clone = self::cloneBody($body); - self::redactCreateCustomerClientRequest($clone); - return $clone; - } elseif ($body instanceof Feed) { - // Handle masking for `FeedService::getFeed`. - $clone = self::cloneBody($body); - self::redactFeed($clone); - return $clone; - } elseif ($body instanceof MutateFeedsRequest) { - // Handle masking for `FeedService::mutateFeeds`. - if (!empty($body->getOperations())) { - $clone = self::cloneBody($body); - foreach ($clone->getOperations() as $operation) { - /** @var FeedOperation $operation */ - if (!is_null($operation->getUpdate())) { - self::redactFeed($operation->getUpdate()); - } elseif (!is_null($operation->getCreate())) { - self::redactFeed($operation->getCreate()); - } - } - return $clone; - } - } - return $body; - } - - /** - * @param Message $body a body to be cloned - * @return mixed the cloned body - */ - private static function cloneBody(Message $body) - { - $className = get_class($body); - $clone = new $className(); - $clone->mergeFrom($body); - return $clone; - } - - /** - * Redacts sensitive information from the GAQL query of the provided `SearchGoogleAdsRequest` - * or `SearchGoogleAdsStreamRequest`. - * - * @param SearchGoogleAdsRequest|SearchGoogleAdsStreamRequest $request the request whose GAQL - * query will be redacted - */ - private static function redactSearchRequest($request) - { - $redactedQuery = $request->getQuery(); - // Mask any emails in the WHERE clause of the GAQL query of the request. - foreach ( - array_merge( - self::$CUSTOMER_USER_ACCESS_EMAIL_FIELDS, - self::$CUSTOMER_USER_ACCESS_INVITATION_EMAIL_FIELDS, - self::$CHANGE_EVENT_EMAIL_FIELDS, - self::$FEED_EMAIL_FIELDS, - self::$LOCAL_SERVICES_LEAD_CONTACT_DETAILS_EMAIL, - self::$LOCAL_SERVICES_LEAD_CONVERSATION_MESSAGE_DETAIL_TEXT - ) as $field - ) { - $redactedQuery = preg_replace( - sprintf(self::SENSITIVE_TEXT_SEARCH_FORMAT, str_replace('.', '\.', $field)), - sprintf(self::SENSITIVE_TEXT_REPLACEMENT_FORMAT, self::REDACTED_STRING), - $redactedQuery - ); - } - $request->setQuery($redactedQuery); - } - - /** - * Redacts sensitive information from the provided `SearchGoogleAdsResponse` or - * `SearchGoogleAdsStreamResponse`. - * - * @param SearchGoogleAdsResponse|SearchGoogleAdsStreamResponse $response the response to be - * redacted - */ - private static function redactSearchResponse($response) - { - // Handle masking for `GoogleAdsService::Search` and `GoogleAdsService::SearchStream`. - // Note: We are taking advantage of the fact that when using the above methods, - // the response contains the read field masks. We can examine them and skip - // masking if the fields of interest aren't present in the list. - if (is_null($response->getFieldMask())) { - return; - } - foreach ($response->getFieldMask()->getPaths() as $path) { - foreach ($response->getResults() as $result) { - /** @var GoogleAdsRow $result */ - if (in_array($path, self::$CUSTOMER_USER_ACCESS_EMAIL_FIELDS)) { - self::redactCustomerUserAccess($result->getCustomerUserAccess()); - } elseif (in_array($path, self::$CUSTOMER_USER_ACCESS_INVITATION_EMAIL_FIELDS)) { - self::redactCustomerUserAccessInvitation( - $result->getCustomerUserAccessInvitation() - ); - } elseif (in_array($path, self::$CHANGE_EVENT_EMAIL_FIELDS)) { - self::redactChangeEvent($result->getChangeEvent()); - } elseif (in_array($path, self::$FEED_EMAIL_FIELDS)) { - self::redactFeed($result->getFeed()); - } elseif (in_array($path, self::$LOCAL_SERVICES_LEAD_CONTACT_DETAILS_EMAIL)) { - self::redactLocalServicesLeadContactDetailsEmail( - $result->getLocalServicesLead() - ); - } elseif ( - in_array( - $path, - self::$LOCAL_SERVICES_LEAD_CONVERSATION_MESSAGE_DETAIL_TEXT - ) - ) { - self::redactLocalServicesLeadConversationMessageDetailsText( - $result->getLocalServicesLeadConversation() - ); - } - } - } - } - - /** - * Redacts sensitive information of the provided customer user access. - * - * @param CustomerUserAccess $customerUserAccess - * @return CustomerUserAccess the customer user access with sensitive information redacted - */ - private static function redactCustomerUserAccess(CustomerUserAccess $customerUserAccess) - { - if ($customerUserAccess->hasInviterUserEmailAddress()) { - $customerUserAccess->setInviterUserEmailAddress(self::REDACTED_STRING); - } - if ($customerUserAccess->hasEmailAddress()) { - $customerUserAccess->setEmailAddress(self::REDACTED_STRING); - } - return $customerUserAccess; - } - - /** - * Redacts sensitive information of the provided customer user access invitation. - * - * @param CustomerUserAccessInvitation $customerUserAccessInvitation - * @return CustomerUserAccessInvitation the customer user access invitation with sensitive - * information redacted - */ - private static function redactCustomerUserAccessInvitation( - CustomerUserAccessInvitation $customerUserAccessInvitation - ) { - if (!empty($customerUserAccessInvitation->getEmailAddress())) { - $customerUserAccessInvitation->setEmailAddress(self::REDACTED_STRING); - } - return $customerUserAccessInvitation; - } - - /** - * Redacts sensitive information of the provided `CreateCustomerClientRequest`. - * - * @param CreateCustomerClientRequest $createCustomerClientRequest - * @return CreateCustomerClientRequest the `CreateCustomerClientRequest` object with sensitive - * information redacted - */ - private static function redactCreateCustomerClientRequest( - CreateCustomerClientRequest $createCustomerClientRequest - ) { - if ($createCustomerClientRequest->hasEmailAddress()) { - $createCustomerClientRequest->setEmailAddress(self::REDACTED_STRING); - } - return $createCustomerClientRequest; - } - - /** - * Redacts sensitive information of the provided change event. - * - * @param ChangeEvent $changeEvent - */ - private static function redactChangeEvent(ChangeEvent $changeEvent) - { - $changeEvent->setUserEmail(self::REDACTED_STRING); - } - - /** - * Redacts sensitive information of the provided feed. - * - * @param Feed $feed - */ - private static function redactFeed(Feed $feed) - { - if ( - !is_null($feed->getPlacesLocationFeedData()) - && $feed->getPlacesLocationFeedData()->hasEmailAddress() - ) { - $feed->getPlacesLocationFeedData()->setEmailAddress(self::REDACTED_STRING); - } - } - - /** - * Redacts sensitive information of the provided Local Services lead contact details email. - * - * @param LocalServicesLead $localServicesLead - */ - private static function redactLocalServicesLeadContactDetailsEmail( - LocalServicesLead $localServicesLead - ) { - if ($localServicesLead?->getContactDetails()?->getEmail()) { - $localServicesLead->getContactDetails()->setEmail(self::REDACTED_STRING); - } - } - - /** - * Redacts sensitive information of the provided Local Services lead conversation message - * details text. - * - * @param LocalServicesLeadConversation $localServicesLeadConversation - */ - private static function redactLocalServicesLeadConversationMessageDetailsText( - LocalServicesLeadConversation $localServicesLeadConversation - ) { - if ($localServicesLeadConversation?->getMessageDetails()?->getText()) { - $localServicesLeadConversation->getMessageDetails()->setText(self::REDACTED_STRING); - } - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/LogMessageFormatter.php b/src/Google/Ads/GoogleAds/Lib/V15/LogMessageFormatter.php deleted file mode 100644 index eb4586e69..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/LogMessageFormatter.php +++ /dev/null @@ -1,173 +0,0 @@ -statusMetadataExtractor = $statusMetadataExtractor ?? new StatusMetadataExtractor(); - $this->infoRedactor = $infoRedactor ?? new InfoRedactor(); - } - - /** - * Extracts the customer ID, if present, from the provided request. - * - * @param Message $request the request to get its customer ID - * @return string the customer ID if present or the message saying that the customer ID is not - * available - */ - private static function extractCustomerId(Message $request): string - { - // Most requests contain customer ID in the request, so we aim to extract that. - if (method_exists($request, 'getCustomerId')) { - return $request->getCustomerId(); - } elseif (method_exists($request, 'getResourceName')) { - // In some cases, customer ID is available in the form of resource name, such as many - // Get requests. - $resourceName = $request->getResourceName(); - $segments = explode('/', $resourceName); - if ($segments[0] === 'customers') { - return $segments[1]; - } - } - return '"No customer ID could be extracted from the request"'; - } - - /** - * Formats the request and response data for summary logging. - * - * @param array $requestData the request data - * @param array $responseData the response data - * @param string $endpoint the API endpoint that the request has been sent to - * @return string the formatted logging message - */ - public function formatSummary( - array $requestData, - array $responseData, - $endpoint - ) { - $method = $this->pluck('method', $requestData); - $argument = $this->pluck('argument', $requestData); - - $status = $this->pluck('status', $responseData); - - if ($status->code !== 0) { - $errorMessageList = - $this->statusMetadataExtractor->extractErrorMessageList($status->metadata); - } - - return sprintf( - 'Request made: Host: "%s", Method: "%s", CustomerId: %s, RequestId: "%s", ' - . 'IsFault: %b, FaultMessage: "%s"', - $endpoint, - $method, - self::extractCustomerId($argument), - $this->getFirstHeaderValue(self::$REQUEST_ID_HEADER_KEY, $status->metadata), - $status->code !== 0, - !empty($errorMessageList) ? json_encode($errorMessageList) : 'None' - ); - } - - /** - * Formats the request and response data for detailed logging. - * - * @param array $requestData the request data - * @param array $responseData the response data - * @param string $endpoint the API endpoint that the request has been sent to - * @return string the formatted logging message - */ - public function formatDetail( - array $requestData, - array $responseData, - $endpoint - ) { - $logMessageTokens = []; - - $method = $this->pluck('method', $requestData); - $argument = $this->pluck('argument', $requestData); - $metadata = $this->pluck('metadata', $requestData) ?: []; - - $response = $this->pluck('response', $responseData); - $status = $this->pluck('status', $responseData); - $call = $this->pluck('call', $responseData); - - $logMessageTokens[] = 'Request'; - $logMessageTokens[] = '-------'; - $logMessageTokens[] = "Method Name: $method"; - $logMessageTokens[] = "Host: $endpoint"; - $logMessageTokens[] = "Headers: " . json_encode( - $this->infoRedactor->redactHeaders(self::joinPluckedArrays($metadata)), - JSON_PRETTY_PRINT - ); - $logMessageTokens[] = "Request: "; - $logMessageTokens[] = $this->infoRedactor->redactBody($argument)->serializeToJsonString(); - $logMessageTokens[] = "\nResponse"; - $logMessageTokens[] = '-------'; - $logMessageTokens[] = "Headers: " . json_encode( - self::joinPluckedArrays($call->getMetadata()), - JSON_PRETTY_PRINT - ); - - if ($status->code === 0) { - $logMessageTokens[] = "Response: "; - $logMessageTokens[] = is_null($response) - ? "None" : $this->infoRedactor->redactBody($response)->serializeToJsonString(); - } else { - $googleAdsFailure = - $this->statusMetadataExtractor->extractGoogleAdsFailure($status->metadata); - - $logMessageTokens[] = "\nFault"; - $logMessageTokens[] = '-------'; - $logMessageTokens[] = "Status code: {$status->code}"; - $logMessageTokens[] = "Details: {$status->details}"; - $logMessageTokens[] = "Failure: {$googleAdsFailure->serializeToJsonString()}"; - } - - return implode("\n", $logMessageTokens); - } - - /** - * @param array $array - * @return array the joined array after plucking - */ - private function joinPluckedArrays(array $array) - { - $joinedArray = []; - foreach (array_keys($array) as $key) { - $joinedArray[$key] = $this->pluck($key, $array)[0]; - } - - return $joinedArray; - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/LoggerFactory.php b/src/Google/Ads/GoogleAds/Lib/V15/LoggerFactory.php deleted file mode 100644 index 232d3eb09..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/LoggerFactory.php +++ /dev/null @@ -1,52 +0,0 @@ -getFormatter()->ignoreEmptyContextAndExtra(); - $handler->getFormatter()->allowInlineLineBreaks(); - - return new Logger($channel, [$handler]); - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/ServerStreamingGoogleAdsExceptionMiddleware.php b/src/Google/Ads/GoogleAds/Lib/V15/ServerStreamingGoogleAdsExceptionMiddleware.php deleted file mode 100644 index 5d017185f..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/ServerStreamingGoogleAdsExceptionMiddleware.php +++ /dev/null @@ -1,103 +0,0 @@ -statusMetadataExtractor = $statusMetadataExtractor ?: new StatusMetadataExtractor(); - } - - /** - * Throws a `GoogleAdsException` when calls to the Google Ads API server - * fail. - * - * @param Call $call the current request - * @param array $options the optional parameters - * @return ServerStream the `ServerStream` customized to throw `GoogleAdsException` - */ - public function __invoke(Call $call, array $options) - { - $next = $this->getNextHandler(); - /** @var ServerStream $stream */ - $stream = $next( - $call, - $options - ); - - return new class ( - $stream, - $this->statusMetadataExtractor - ) extends GoogleAdsServerStreamDecorator { - use GoogleAdsExceptionTrait; - - private StatusMetadataExtractor $statusMetadataExtractor; - - /** - * @param ServerStream $serverStream the ServerStream to wrap - * @param StatusMetadataExtractor $statusMetadataExtractor - */ - public function __construct( - ServerStream $serverStream, - StatusMetadataExtractor $statusMetadataExtractor - ) { - parent::__construct($serverStream); - $this->statusMetadataExtractor = $statusMetadataExtractor; - } - - /** - * {@inheritdoc} - */ - public function readAll() - { - try { - foreach ($this->serverStream->readAll() as $response) { - yield $response; - } - } catch (Exception $exception) { - if ($exception instanceof ApiException) { - $this->throwGoogleAdsException($exception, $this->statusMetadataExtractor); - } - throw $exception; - } - } - }; - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/ServerStreamingGoogleAdsResponseMetadataCallable.php b/src/Google/Ads/GoogleAds/Lib/V15/ServerStreamingGoogleAdsResponseMetadataCallable.php deleted file mode 100644 index f89639103..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/ServerStreamingGoogleAdsResponseMetadataCallable.php +++ /dev/null @@ -1,84 +0,0 @@ -getNextHandler(); - /** @var ServerStream $stream */ - $stream = $next( - $call, - $options - ); - - return new class ($stream) extends GoogleAdsServerStreamDecorator - { - private $responseMetadata; - - /** - * {@inheritdoc} - */ - public function __construct(ServerStream $serverStream) - { - parent::__construct($serverStream); - $this->responseMetadata = new GoogleAdsResponseMetadata([]); - } - - /** - * {@inheritdoc} - */ - public function readAll() - { - try { - foreach ($this->serverStream->readAll() as $response) { - yield $response; - } - } finally { - $this->responseMetadata = new GoogleAdsResponseMetadata( - $this->getServerStreamingCall()->getTrailingMetadata() ?: [] - ); - } - } - - /** - * Returns the response metadata in the Google Ads format. - * - * @return GoogleAdsResponseMetadata - */ - public function getResponseMetadata() - { - return $this->responseMetadata; - } - }; - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/ServiceClientFactoryTrait.php b/src/Google/Ads/GoogleAds/Lib/V15/ServiceClientFactoryTrait.php deleted file mode 100644 index 6985edf34..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/ServiceClientFactoryTrait.php +++ /dev/null @@ -1,1670 +0,0 @@ - $this->getGrpcChannelIsSecure() - ? $this->getOAuth2Credential() - : new InsecureCredentialsWrapper($this->getOAuth2Credential()), - self::$DEVELOPER_TOKEN_KEY => $this->getDeveloperToken() - ]; - if (!empty($this->getLoginCustomerId())) { - $clientOptions += [self::$LOGIN_CUSTOMER_ID_KEY => strval($this->getLoginCustomerId())]; - } - if (!empty($this->getLinkedCustomerId())) { - $clientOptions += [ - self::$LINKED_CUSTOMER_ID_KEY => strval($this->getLinkedCustomerId()) - ]; - } - if (!empty($this->getEndpoint())) { - $clientOptions += [self::$SERVICE_ADDRESS_KEY => $this->getEndpoint()]; - } - $clientOptions['libName'] = Constants::LIBRARY_NAME; - $clientOptions['libVersion'] = Constants::LIBRARY_VERSION; - $clientOptions['transportConfig'] = [ - 'grpc' => [ - 'stubOpts' => [ - // Inbound headers may exceed default (8kb) max header size. - // Sets max header size to 16MB, which should be more than necessary. - 'grpc.max_metadata_size' => 16 * 1024 * 1024, - // Sets max response size to 64MB, since large responses will often exceed the - // default (4MB). - 'grpc.max_receive_message_length' => 64 * 1024 * 1024 - ], - 'interceptors' => [new GoogleAdsFailuresInterceptor()] - ] - ]; - if (!empty($this->getLogger())) { - $googleAdsLoggingInterceptor = new GoogleAdsLoggingInterceptor( - new GoogleAdsCallLogger( - $this->getLogger(), - $this->getLogLevel(), - $this->getEndpoint() ?: self::$DEFAULT_SERVICE_ADDRESS - ) - ); - array_unshift( - $clientOptions['transportConfig']['grpc']['interceptors'], - $googleAdsLoggingInterceptor - ); - } - array_push( - $clientOptions['transportConfig']['grpc']['interceptors'], - ...$this->getGrpcInterceptors() - ); - if (!empty($this->getProxy())) { - putenv('http_proxy=' . $this->getProxy()); - } - if (!empty($this->getTransport())) { - $clientOptions += [self::$TRANSPORT_KEY => $this->getTransport()]; - } - if (!empty($this->getHttpHandler())) { - $clientOptions['transportConfig']['rest']['httpHandler'] = $this->getHttpHandler(); - } - if ( - self::getGrpcDependencyStatus() - && (!$this->getGrpcChannelIsSecure() || !empty($this->getGrpcChannelCredential())) - ) { - $channelCredentials = $this->getGrpcChannelIsSecure() - ? $this->getGrpcChannelCredential() - : ChannelCredentials::createInsecure(); - $clientOptions['transportConfig']['grpc']['stubOpts'] += [ - self::$CREDENTIALS_LOADER_KEY => $channelCredentials - ]; - } - $clientOptions += [ - self::$UNARY_MIDDLEWARES => $this->getUnaryMiddlewares(), - self::$STREAMING_MIDDLEWARES => $this->getStreamingMiddlewares() - ]; - - return $clientOptions; - } - - /** - * @return AccountBudgetProposalServiceClient|\Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalServiceClient - */ - public function getAccountBudgetProposalServiceClient(): AccountBudgetProposalServiceClient - |\Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalServiceClient - { - return $this->useGapicV2Source() - ? new AccountBudgetProposalServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AccountLinkServiceClient|\Google\Ads\GoogleAds\V15\Services\AccountLinkServiceClient - */ - public function getAccountLinkServiceClient(): AccountLinkServiceClient - |\Google\Ads\GoogleAds\V15\Services\AccountLinkServiceClient - { - return $this->useGapicV2Source() - ? new AccountLinkServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AccountLinkServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupAdLabelServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelServiceClient - */ - public function getAdGroupAdLabelServiceClient(): AdGroupAdLabelServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupAdLabelServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupAdServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupAdServiceClient - */ - public function getAdGroupAdServiceClient(): AdGroupAdServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupAdServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupAdServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupAdServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupAssetServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupAssetServiceClient - */ - public function getAdGroupAssetServiceClient(): AdGroupAssetServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupAssetServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupAssetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupAssetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupAssetSetServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetServiceClient - */ - public function getAdGroupAssetSetServiceClient(): AdGroupAssetSetServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupAssetSetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupBidModifierServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierServiceClient - */ - public function getAdGroupBidModifierServiceClient(): AdGroupBidModifierServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupBidModifierServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupCriterionCustomizerServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerServiceClient - */ - public function getAdGroupCriterionCustomizerServiceClient(): AdGroupCriterionCustomizerServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupCriterionCustomizerServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupCriterionLabelServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelServiceClient - */ - public function getAdGroupCriterionLabelServiceClient(): AdGroupCriterionLabelServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupCriterionLabelServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupCriterionServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionServiceClient - */ - public function getAdGroupCriterionServiceClient(): AdGroupCriterionServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupCriterionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupCustomizerServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerServiceClient - */ - public function getAdGroupCustomizerServiceClient(): AdGroupCustomizerServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupCustomizerServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupExtensionSettingServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingServiceClient - */ - public function getAdGroupExtensionSettingServiceClient(): AdGroupExtensionSettingServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupExtensionSettingServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupFeedServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupFeedServiceClient - */ - public function getAdGroupFeedServiceClient(): AdGroupFeedServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupFeedServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupFeedServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupFeedServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupLabelServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupLabelServiceClient - */ - public function getAdGroupLabelServiceClient(): AdGroupLabelServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupLabelServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupLabelServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupLabelServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdGroupServiceClient|\Google\Ads\GoogleAds\V15\Services\AdGroupServiceClient - */ - public function getAdGroupServiceClient(): AdGroupServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdGroupServiceClient - { - return $this->useGapicV2Source() - ? new AdGroupServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdGroupServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdParameterServiceClient|\Google\Ads\GoogleAds\V15\Services\AdParameterServiceClient - */ - public function getAdParameterServiceClient(): AdParameterServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdParameterServiceClient - { - return $this->useGapicV2Source() - ? new AdParameterServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdParameterServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AdServiceClient|\Google\Ads\GoogleAds\V15\Services\AdServiceClient - */ - public function getAdServiceClient(): AdServiceClient - |\Google\Ads\GoogleAds\V15\Services\AdServiceClient - { - return $this->useGapicV2Source() - ? new AdServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AdServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AssetGroupAssetServiceClient|\Google\Ads\GoogleAds\V15\Services\AssetGroupAssetServiceClient - */ - public function getAssetGroupAssetServiceClient(): AssetGroupAssetServiceClient - |\Google\Ads\GoogleAds\V15\Services\AssetGroupAssetServiceClient - { - return $this->useGapicV2Source() - ? new AssetGroupAssetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AssetGroupAssetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AssetGroupListingGroupFilterServiceClient|\Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterServiceClient - */ - public function getAssetGroupListingGroupFilterServiceClient(): AssetGroupListingGroupFilterServiceClient - |\Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterServiceClient - { - return $this->useGapicV2Source() - ? new AssetGroupListingGroupFilterServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AssetGroupServiceClient|\Google\Ads\GoogleAds\V15\Services\AssetGroupServiceClient - */ - public function getAssetGroupServiceClient(): AssetGroupServiceClient - |\Google\Ads\GoogleAds\V15\Services\AssetGroupServiceClient - { - return $this->useGapicV2Source() - ? new AssetGroupServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AssetGroupServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AssetGroupSignalServiceClient|\Google\Ads\GoogleAds\V15\Services\AssetGroupSignalServiceClient - */ - public function getAssetGroupSignalServiceClient(): AssetGroupSignalServiceClient - |\Google\Ads\GoogleAds\V15\Services\AssetGroupSignalServiceClient - { - return $this->useGapicV2Source() - ? new AssetGroupSignalServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AssetGroupSignalServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AssetServiceClient|\Google\Ads\GoogleAds\V15\Services\AssetServiceClient - */ - public function getAssetServiceClient(): AssetServiceClient - |\Google\Ads\GoogleAds\V15\Services\AssetServiceClient - { - return $this->useGapicV2Source() - ? new AssetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AssetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AssetSetAssetServiceClient|\Google\Ads\GoogleAds\V15\Services\AssetSetAssetServiceClient - */ - public function getAssetSetAssetServiceClient(): AssetSetAssetServiceClient - |\Google\Ads\GoogleAds\V15\Services\AssetSetAssetServiceClient - { - return $this->useGapicV2Source() - ? new AssetSetAssetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AssetSetAssetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AssetSetServiceClient|\Google\Ads\GoogleAds\V15\Services\AssetSetServiceClient - */ - public function getAssetSetServiceClient(): AssetSetServiceClient - |\Google\Ads\GoogleAds\V15\Services\AssetSetServiceClient - { - return $this->useGapicV2Source() - ? new AssetSetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AssetSetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AudienceInsightsServiceClient|\Google\Ads\GoogleAds\V15\Services\AudienceInsightsServiceClient - */ - public function getAudienceInsightsServiceClient(): AudienceInsightsServiceClient - |\Google\Ads\GoogleAds\V15\Services\AudienceInsightsServiceClient - { - return $this->useGapicV2Source() - ? new AudienceInsightsServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AudienceInsightsServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return AudienceServiceClient|\Google\Ads\GoogleAds\V15\Services\AudienceServiceClient - */ - public function getAudienceServiceClient(): AudienceServiceClient - |\Google\Ads\GoogleAds\V15\Services\AudienceServiceClient - { - return $this->useGapicV2Source() - ? new AudienceServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\AudienceServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return BatchJobServiceClient|\Google\Ads\GoogleAds\V15\Services\BatchJobServiceClient - */ - public function getBatchJobServiceClient(): BatchJobServiceClient - |\Google\Ads\GoogleAds\V15\Services\BatchJobServiceClient - { - return $this->useGapicV2Source() - ? new BatchJobServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\BatchJobServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return BiddingDataExclusionServiceClient|\Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionServiceClient - */ - public function getBiddingDataExclusionServiceClient(): BiddingDataExclusionServiceClient - |\Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionServiceClient - { - return $this->useGapicV2Source() - ? new BiddingDataExclusionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return BiddingSeasonalityAdjustmentServiceClient|\Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentServiceClient - */ - public function getBiddingSeasonalityAdjustmentServiceClient(): BiddingSeasonalityAdjustmentServiceClient - |\Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentServiceClient - { - return $this->useGapicV2Source() - ? new BiddingSeasonalityAdjustmentServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return BiddingStrategyServiceClient|\Google\Ads\GoogleAds\V15\Services\BiddingStrategyServiceClient - */ - public function getBiddingStrategyServiceClient(): BiddingStrategyServiceClient - |\Google\Ads\GoogleAds\V15\Services\BiddingStrategyServiceClient - { - return $this->useGapicV2Source() - ? new BiddingStrategyServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\BiddingStrategyServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return BillingSetupServiceClient|\Google\Ads\GoogleAds\V15\Services\BillingSetupServiceClient - */ - public function getBillingSetupServiceClient(): BillingSetupServiceClient - |\Google\Ads\GoogleAds\V15\Services\BillingSetupServiceClient - { - return $this->useGapicV2Source() - ? new BillingSetupServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\BillingSetupServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return BrandSuggestionServiceClient|\Google\Ads\GoogleAds\V15\Services\BrandSuggestionServiceClient - */ - public function getBrandSuggestionServiceClient(): BrandSuggestionServiceClient - |\Google\Ads\GoogleAds\V15\Services\BrandSuggestionServiceClient - { - return $this->useGapicV2Source() - ? new BrandSuggestionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\BrandSuggestionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignAssetServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignAssetServiceClient - */ - public function getCampaignAssetServiceClient(): CampaignAssetServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignAssetServiceClient - { - return $this->useGapicV2Source() - ? new CampaignAssetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignAssetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignAssetSetServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignAssetSetServiceClient - */ - public function getCampaignAssetSetServiceClient(): CampaignAssetSetServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignAssetSetServiceClient - { - return $this->useGapicV2Source() - ? new CampaignAssetSetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignAssetSetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignBidModifierServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignBidModifierServiceClient - */ - public function getCampaignBidModifierServiceClient(): CampaignBidModifierServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignBidModifierServiceClient - { - return $this->useGapicV2Source() - ? new CampaignBidModifierServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignBidModifierServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignBudgetServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignBudgetServiceClient - */ - public function getCampaignBudgetServiceClient(): CampaignBudgetServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignBudgetServiceClient - { - return $this->useGapicV2Source() - ? new CampaignBudgetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignBudgetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignConversionGoalServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalServiceClient - */ - public function getCampaignConversionGoalServiceClient(): CampaignConversionGoalServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalServiceClient - { - return $this->useGapicV2Source() - ? new CampaignConversionGoalServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignCriterionServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignCriterionServiceClient - */ - public function getCampaignCriterionServiceClient(): CampaignCriterionServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignCriterionServiceClient - { - return $this->useGapicV2Source() - ? new CampaignCriterionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignCriterionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignCustomizerServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignCustomizerServiceClient - */ - public function getCampaignCustomizerServiceClient(): CampaignCustomizerServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignCustomizerServiceClient - { - return $this->useGapicV2Source() - ? new CampaignCustomizerServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignCustomizerServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignDraftServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignDraftServiceClient - */ - public function getCampaignDraftServiceClient(): CampaignDraftServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignDraftServiceClient - { - return $this->useGapicV2Source() - ? new CampaignDraftServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignDraftServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignExtensionSettingServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingServiceClient - */ - public function getCampaignExtensionSettingServiceClient(): CampaignExtensionSettingServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingServiceClient - { - return $this->useGapicV2Source() - ? new CampaignExtensionSettingServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignFeedServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignFeedServiceClient - */ - public function getCampaignFeedServiceClient(): CampaignFeedServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignFeedServiceClient - { - return $this->useGapicV2Source() - ? new CampaignFeedServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignFeedServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignGroupServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignGroupServiceClient - */ - public function getCampaignGroupServiceClient(): CampaignGroupServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignGroupServiceClient - { - return $this->useGapicV2Source() - ? new CampaignGroupServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignGroupServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignLabelServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignLabelServiceClient - */ - public function getCampaignLabelServiceClient(): CampaignLabelServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignLabelServiceClient - { - return $this->useGapicV2Source() - ? new CampaignLabelServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignLabelServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignLifecycleGoalServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalServiceClient - */ - public function getCampaignLifecycleGoalServiceClient(): CampaignLifecycleGoalServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalServiceClient - { - return $this->useGapicV2Source() - ? new CampaignLifecycleGoalServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignServiceClient - */ - public function getCampaignServiceClient(): CampaignServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignServiceClient - { - return $this->useGapicV2Source() - ? new CampaignServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CampaignSharedSetServiceClient|\Google\Ads\GoogleAds\V15\Services\CampaignSharedSetServiceClient - */ - public function getCampaignSharedSetServiceClient(): CampaignSharedSetServiceClient - |\Google\Ads\GoogleAds\V15\Services\CampaignSharedSetServiceClient - { - return $this->useGapicV2Source() - ? new CampaignSharedSetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CampaignSharedSetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ConversionActionServiceClient|\Google\Ads\GoogleAds\V15\Services\ConversionActionServiceClient - */ - public function getConversionActionServiceClient(): ConversionActionServiceClient - |\Google\Ads\GoogleAds\V15\Services\ConversionActionServiceClient - { - return $this->useGapicV2Source() - ? new ConversionActionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ConversionActionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ConversionAdjustmentUploadServiceClient|\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadServiceClient - */ - public function getConversionAdjustmentUploadServiceClient(): ConversionAdjustmentUploadServiceClient - |\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadServiceClient - { - return $this->useGapicV2Source() - ? new ConversionAdjustmentUploadServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ConversionCustomVariableServiceClient|\Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableServiceClient - */ - public function getConversionCustomVariableServiceClient(): ConversionCustomVariableServiceClient - |\Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableServiceClient - { - return $this->useGapicV2Source() - ? new ConversionCustomVariableServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ConversionGoalCampaignConfigServiceClient|\Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigServiceClient - */ - public function getConversionGoalCampaignConfigServiceClient(): ConversionGoalCampaignConfigServiceClient - |\Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigServiceClient - { - return $this->useGapicV2Source() - ? new ConversionGoalCampaignConfigServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ConversionUploadServiceClient|\Google\Ads\GoogleAds\V15\Services\ConversionUploadServiceClient - */ - public function getConversionUploadServiceClient(): ConversionUploadServiceClient - |\Google\Ads\GoogleAds\V15\Services\ConversionUploadServiceClient - { - return $this->useGapicV2Source() - ? new ConversionUploadServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ConversionUploadServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ConversionValueRuleServiceClient|\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleServiceClient - */ - public function getConversionValueRuleServiceClient(): ConversionValueRuleServiceClient - |\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleServiceClient - { - return $this->useGapicV2Source() - ? new ConversionValueRuleServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ConversionValueRuleSetServiceClient|\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetServiceClient - */ - public function getConversionValueRuleSetServiceClient(): ConversionValueRuleSetServiceClient - |\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetServiceClient - { - return $this->useGapicV2Source() - ? new ConversionValueRuleSetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomAudienceServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomAudienceServiceClient - */ - public function getCustomAudienceServiceClient(): CustomAudienceServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomAudienceServiceClient - { - return $this->useGapicV2Source() - ? new CustomAudienceServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomAudienceServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomConversionGoalServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomConversionGoalServiceClient - */ - public function getCustomConversionGoalServiceClient(): CustomConversionGoalServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomConversionGoalServiceClient - { - return $this->useGapicV2Source() - ? new CustomConversionGoalServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomConversionGoalServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerAssetServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerAssetServiceClient - */ - public function getCustomerAssetServiceClient(): CustomerAssetServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerAssetServiceClient - { - return $this->useGapicV2Source() - ? new CustomerAssetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerAssetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerAssetSetServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerAssetSetServiceClient - */ - public function getCustomerAssetSetServiceClient(): CustomerAssetSetServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerAssetSetServiceClient - { - return $this->useGapicV2Source() - ? new CustomerAssetSetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerAssetSetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerClientLinkServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerClientLinkServiceClient - */ - public function getCustomerClientLinkServiceClient(): CustomerClientLinkServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerClientLinkServiceClient - { - return $this->useGapicV2Source() - ? new CustomerClientLinkServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerClientLinkServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerConversionGoalServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalServiceClient - */ - public function getCustomerConversionGoalServiceClient(): CustomerConversionGoalServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalServiceClient - { - return $this->useGapicV2Source() - ? new CustomerConversionGoalServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerCustomizerServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerCustomizerServiceClient - */ - public function getCustomerCustomizerServiceClient(): CustomerCustomizerServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerCustomizerServiceClient - { - return $this->useGapicV2Source() - ? new CustomerCustomizerServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerCustomizerServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerExtensionSettingServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingServiceClient - */ - public function getCustomerExtensionSettingServiceClient(): CustomerExtensionSettingServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingServiceClient - { - return $this->useGapicV2Source() - ? new CustomerExtensionSettingServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerFeedServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerFeedServiceClient - */ - public function getCustomerFeedServiceClient(): CustomerFeedServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerFeedServiceClient - { - return $this->useGapicV2Source() - ? new CustomerFeedServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerFeedServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerLabelServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerLabelServiceClient - */ - public function getCustomerLabelServiceClient(): CustomerLabelServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerLabelServiceClient - { - return $this->useGapicV2Source() - ? new CustomerLabelServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerLabelServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerLifecycleGoalServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalServiceClient - */ - public function getCustomerLifecycleGoalServiceClient(): CustomerLifecycleGoalServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalServiceClient - { - return $this->useGapicV2Source() - ? new CustomerLifecycleGoalServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerManagerLinkServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkServiceClient - */ - public function getCustomerManagerLinkServiceClient(): CustomerManagerLinkServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkServiceClient - { - return $this->useGapicV2Source() - ? new CustomerManagerLinkServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerNegativeCriterionServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionServiceClient - */ - public function getCustomerNegativeCriterionServiceClient(): CustomerNegativeCriterionServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionServiceClient - { - return $this->useGapicV2Source() - ? new CustomerNegativeCriterionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerServiceClient - */ - public function getCustomerServiceClient(): CustomerServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerServiceClient - { - return $this->useGapicV2Source() - ? new CustomerServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerSkAdNetworkConversionValueSchemaServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaServiceClient - */ - public function getCustomerSkAdNetworkConversionValueSchemaServiceClient(): CustomerSkAdNetworkConversionValueSchemaServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaServiceClient - { - return $this->useGapicV2Source() - ? new CustomerSkAdNetworkConversionValueSchemaServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerUserAccessInvitationServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationServiceClient - */ - public function getCustomerUserAccessInvitationServiceClient(): CustomerUserAccessInvitationServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationServiceClient - { - return $this->useGapicV2Source() - ? new CustomerUserAccessInvitationServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomerUserAccessServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessServiceClient - */ - public function getCustomerUserAccessServiceClient(): CustomerUserAccessServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessServiceClient - { - return $this->useGapicV2Source() - ? new CustomerUserAccessServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomInterestServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomInterestServiceClient - */ - public function getCustomInterestServiceClient(): CustomInterestServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomInterestServiceClient - { - return $this->useGapicV2Source() - ? new CustomInterestServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomInterestServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return CustomizerAttributeServiceClient|\Google\Ads\GoogleAds\V15\Services\CustomizerAttributeServiceClient - */ - public function getCustomizerAttributeServiceClient(): CustomizerAttributeServiceClient - |\Google\Ads\GoogleAds\V15\Services\CustomizerAttributeServiceClient - { - return $this->useGapicV2Source() - ? new CustomizerAttributeServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\CustomizerAttributeServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ExperimentArmServiceClient|\Google\Ads\GoogleAds\V15\Services\ExperimentArmServiceClient - */ - public function getExperimentArmServiceClient(): ExperimentArmServiceClient - |\Google\Ads\GoogleAds\V15\Services\ExperimentArmServiceClient - { - return $this->useGapicV2Source() - ? new ExperimentArmServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ExperimentArmServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ExperimentServiceClient|\Google\Ads\GoogleAds\V15\Services\ExperimentServiceClient - */ - public function getExperimentServiceClient(): ExperimentServiceClient - |\Google\Ads\GoogleAds\V15\Services\ExperimentServiceClient - { - return $this->useGapicV2Source() - ? new ExperimentServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ExperimentServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ExtensionFeedItemServiceClient|\Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemServiceClient - */ - public function getExtensionFeedItemServiceClient(): ExtensionFeedItemServiceClient - |\Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemServiceClient - { - return $this->useGapicV2Source() - ? new ExtensionFeedItemServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return FeedItemServiceClient|\Google\Ads\GoogleAds\V15\Services\FeedItemServiceClient - */ - public function getFeedItemServiceClient(): FeedItemServiceClient - |\Google\Ads\GoogleAds\V15\Services\FeedItemServiceClient - { - return $this->useGapicV2Source() - ? new FeedItemServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\FeedItemServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return FeedItemSetLinkServiceClient|\Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkServiceClient - */ - public function getFeedItemSetLinkServiceClient(): FeedItemSetLinkServiceClient - |\Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkServiceClient - { - return $this->useGapicV2Source() - ? new FeedItemSetLinkServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return FeedItemSetServiceClient|\Google\Ads\GoogleAds\V15\Services\FeedItemSetServiceClient - */ - public function getFeedItemSetServiceClient(): FeedItemSetServiceClient - |\Google\Ads\GoogleAds\V15\Services\FeedItemSetServiceClient - { - return $this->useGapicV2Source() - ? new FeedItemSetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\FeedItemSetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return FeedItemTargetServiceClient|\Google\Ads\GoogleAds\V15\Services\FeedItemTargetServiceClient - */ - public function getFeedItemTargetServiceClient(): FeedItemTargetServiceClient - |\Google\Ads\GoogleAds\V15\Services\FeedItemTargetServiceClient - { - return $this->useGapicV2Source() - ? new FeedItemTargetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\FeedItemTargetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return FeedMappingServiceClient|\Google\Ads\GoogleAds\V15\Services\FeedMappingServiceClient - */ - public function getFeedMappingServiceClient(): FeedMappingServiceClient - |\Google\Ads\GoogleAds\V15\Services\FeedMappingServiceClient - { - return $this->useGapicV2Source() - ? new FeedMappingServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\FeedMappingServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return FeedServiceClient|\Google\Ads\GoogleAds\V15\Services\FeedServiceClient - */ - public function getFeedServiceClient(): FeedServiceClient - |\Google\Ads\GoogleAds\V15\Services\FeedServiceClient - { - return $this->useGapicV2Source() - ? new FeedServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\FeedServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return GeoTargetConstantServiceClient|\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantServiceClient - */ - public function getGeoTargetConstantServiceClient(): GeoTargetConstantServiceClient - |\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantServiceClient - { - return $this->useGapicV2Source() - ? new GeoTargetConstantServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\GeoTargetConstantServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return GoogleAdsFieldServiceClient|\Google\Ads\GoogleAds\V15\Services\GoogleAdsFieldServiceClient - */ - public function getGoogleAdsFieldServiceClient(): GoogleAdsFieldServiceClient - |\Google\Ads\GoogleAds\V15\Services\GoogleAdsFieldServiceClient - { - return $this->useGapicV2Source() - ? new GoogleAdsFieldServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\GoogleAdsFieldServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return GoogleAdsServiceClient|\Google\Ads\GoogleAds\V15\Services\GoogleAdsServiceClient - */ - public function getGoogleAdsServiceClient(): GoogleAdsServiceClient - |\Google\Ads\GoogleAds\V15\Services\GoogleAdsServiceClient - { - return $this->useGapicV2Source() - ? new GoogleAdsServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\GoogleAdsServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return InvoiceServiceClient|\Google\Ads\GoogleAds\V15\Services\InvoiceServiceClient - */ - public function getInvoiceServiceClient(): InvoiceServiceClient - |\Google\Ads\GoogleAds\V15\Services\InvoiceServiceClient - { - return $this->useGapicV2Source() - ? new InvoiceServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\InvoiceServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return KeywordPlanAdGroupKeywordServiceClient|\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordServiceClient - */ - public function getKeywordPlanAdGroupKeywordServiceClient(): KeywordPlanAdGroupKeywordServiceClient - |\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordServiceClient - { - return $this->useGapicV2Source() - ? new KeywordPlanAdGroupKeywordServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return KeywordPlanAdGroupServiceClient|\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupServiceClient - */ - public function getKeywordPlanAdGroupServiceClient(): KeywordPlanAdGroupServiceClient - |\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupServiceClient - { - return $this->useGapicV2Source() - ? new KeywordPlanAdGroupServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return KeywordPlanCampaignKeywordServiceClient|\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordServiceClient - */ - public function getKeywordPlanCampaignKeywordServiceClient(): KeywordPlanCampaignKeywordServiceClient - |\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordServiceClient - { - return $this->useGapicV2Source() - ? new KeywordPlanCampaignKeywordServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return KeywordPlanCampaignServiceClient|\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignServiceClient - */ - public function getKeywordPlanCampaignServiceClient(): KeywordPlanCampaignServiceClient - |\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignServiceClient - { - return $this->useGapicV2Source() - ? new KeywordPlanCampaignServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return KeywordPlanIdeaServiceClient|\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaServiceClient - */ - public function getKeywordPlanIdeaServiceClient(): KeywordPlanIdeaServiceClient - |\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaServiceClient - { - return $this->useGapicV2Source() - ? new KeywordPlanIdeaServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return KeywordPlanServiceClient|\Google\Ads\GoogleAds\V15\Services\KeywordPlanServiceClient - */ - public function getKeywordPlanServiceClient(): KeywordPlanServiceClient - |\Google\Ads\GoogleAds\V15\Services\KeywordPlanServiceClient - { - return $this->useGapicV2Source() - ? new KeywordPlanServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\KeywordPlanServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return KeywordThemeConstantServiceClient|\Google\Ads\GoogleAds\V15\Services\KeywordThemeConstantServiceClient - */ - public function getKeywordThemeConstantServiceClient(): KeywordThemeConstantServiceClient - |\Google\Ads\GoogleAds\V15\Services\KeywordThemeConstantServiceClient - { - return $this->useGapicV2Source() - ? new KeywordThemeConstantServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\KeywordThemeConstantServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return LabelServiceClient|\Google\Ads\GoogleAds\V15\Services\LabelServiceClient - */ - public function getLabelServiceClient(): LabelServiceClient - |\Google\Ads\GoogleAds\V15\Services\LabelServiceClient - { - return $this->useGapicV2Source() - ? new LabelServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\LabelServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return OfflineUserDataJobServiceClient|\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobServiceClient - */ - public function getOfflineUserDataJobServiceClient(): OfflineUserDataJobServiceClient - |\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobServiceClient - { - return $this->useGapicV2Source() - ? new OfflineUserDataJobServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return PaymentsAccountServiceClient|\Google\Ads\GoogleAds\V15\Services\PaymentsAccountServiceClient - */ - public function getPaymentsAccountServiceClient(): PaymentsAccountServiceClient - |\Google\Ads\GoogleAds\V15\Services\PaymentsAccountServiceClient - { - return $this->useGapicV2Source() - ? new PaymentsAccountServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\PaymentsAccountServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ProductLinkInvitationServiceClient|\Google\Ads\GoogleAds\V15\Services\ProductLinkInvitationServiceClient - */ - public function getProductLinkInvitationServiceClient(): ProductLinkInvitationServiceClient - |\Google\Ads\GoogleAds\V15\Services\ProductLinkInvitationServiceClient - { - return $this->useGapicV2Source() - ? new ProductLinkInvitationServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ProductLinkInvitationServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ProductLinkServiceClient|\Google\Ads\GoogleAds\V15\Services\ProductLinkServiceClient - */ - public function getProductLinkServiceClient(): ProductLinkServiceClient - |\Google\Ads\GoogleAds\V15\Services\ProductLinkServiceClient - { - return $this->useGapicV2Source() - ? new ProductLinkServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ProductLinkServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ReachPlanServiceClient|\Google\Ads\GoogleAds\V15\Services\ReachPlanServiceClient - */ - public function getReachPlanServiceClient(): ReachPlanServiceClient - |\Google\Ads\GoogleAds\V15\Services\ReachPlanServiceClient - { - return $this->useGapicV2Source() - ? new ReachPlanServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ReachPlanServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return RecommendationServiceClient|\Google\Ads\GoogleAds\V15\Services\RecommendationServiceClient - */ - public function getRecommendationServiceClient(): RecommendationServiceClient - |\Google\Ads\GoogleAds\V15\Services\RecommendationServiceClient - { - return $this->useGapicV2Source() - ? new RecommendationServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\RecommendationServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return RecommendationSubscriptionServiceClient|\Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionServiceClient - */ - public function getRecommendationSubscriptionServiceClient(): RecommendationSubscriptionServiceClient - |\Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionServiceClient - { - return $this->useGapicV2Source() - ? new RecommendationSubscriptionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return RemarketingActionServiceClient|\Google\Ads\GoogleAds\V15\Services\RemarketingActionServiceClient - */ - public function getRemarketingActionServiceClient(): RemarketingActionServiceClient - |\Google\Ads\GoogleAds\V15\Services\RemarketingActionServiceClient - { - return $this->useGapicV2Source() - ? new RemarketingActionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\RemarketingActionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return SharedCriterionServiceClient|\Google\Ads\GoogleAds\V15\Services\SharedCriterionServiceClient - */ - public function getSharedCriterionServiceClient(): SharedCriterionServiceClient - |\Google\Ads\GoogleAds\V15\Services\SharedCriterionServiceClient - { - return $this->useGapicV2Source() - ? new SharedCriterionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\SharedCriterionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return SharedSetServiceClient|\Google\Ads\GoogleAds\V15\Services\SharedSetServiceClient - */ - public function getSharedSetServiceClient(): SharedSetServiceClient - |\Google\Ads\GoogleAds\V15\Services\SharedSetServiceClient - { - return $this->useGapicV2Source() - ? new SharedSetServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\SharedSetServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return SmartCampaignSettingServiceClient|\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingServiceClient - */ - public function getSmartCampaignSettingServiceClient(): SmartCampaignSettingServiceClient - |\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingServiceClient - { - return $this->useGapicV2Source() - ? new SmartCampaignSettingServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return SmartCampaignSuggestServiceClient|\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestServiceClient - */ - public function getSmartCampaignSuggestServiceClient(): SmartCampaignSuggestServiceClient - |\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestServiceClient - { - return $this->useGapicV2Source() - ? new SmartCampaignSuggestServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return ThirdPartyAppAnalyticsLinkServiceClient|\Google\Ads\GoogleAds\V15\Services\ThirdPartyAppAnalyticsLinkServiceClient - */ - public function getThirdPartyAppAnalyticsLinkServiceClient(): ThirdPartyAppAnalyticsLinkServiceClient - |\Google\Ads\GoogleAds\V15\Services\ThirdPartyAppAnalyticsLinkServiceClient - { - return $this->useGapicV2Source() - ? new ThirdPartyAppAnalyticsLinkServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\ThirdPartyAppAnalyticsLinkServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return TravelAssetSuggestionServiceClient|\Google\Ads\GoogleAds\V15\Services\TravelAssetSuggestionServiceClient - */ - public function getTravelAssetSuggestionServiceClient(): TravelAssetSuggestionServiceClient - |\Google\Ads\GoogleAds\V15\Services\TravelAssetSuggestionServiceClient - { - return $this->useGapicV2Source() - ? new TravelAssetSuggestionServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\TravelAssetSuggestionServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return UserDataServiceClient|\Google\Ads\GoogleAds\V15\Services\UserDataServiceClient - */ - public function getUserDataServiceClient(): UserDataServiceClient - |\Google\Ads\GoogleAds\V15\Services\UserDataServiceClient - { - return $this->useGapicV2Source() - ? new UserDataServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\UserDataServiceClient( - $this->getGoogleAdsClientOptions() - ); - } - - /** - * @return UserListServiceClient|\Google\Ads\GoogleAds\V15\Services\UserListServiceClient - */ - public function getUserListServiceClient(): UserListServiceClient - |\Google\Ads\GoogleAds\V15\Services\UserListServiceClient - { - return $this->useGapicV2Source() - ? new UserListServiceClient($this->getGoogleAdsClientOptions()) - : new \Google\Ads\GoogleAds\V15\Services\UserListServiceClient( - $this->getGoogleAdsClientOptions() - ); - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/StatusMetadataExtractor.php b/src/Google/Ads/GoogleAds/Lib/V15/StatusMetadataExtractor.php deleted file mode 100644 index dd15191e9..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/StatusMetadataExtractor.php +++ /dev/null @@ -1,75 +0,0 @@ -getFirstHeaderValue( - // Default to gRPC, whose calls have a binary key. - $headerKey ?: self::$GOOGLE_ADS_FAILURE_BINARY_KEY, - $statusMetadata - ); - if (!is_null($header)) { - $googleAdsFailure->mergeFromString($header); - } - - return $googleAdsFailure; - } - - /** - * Extract failures from the specified metadata and constructs a list of their error messages. - * - * @param array $statusMetadata the status metadata array - * @param null|string $headerKey the header key to extract error messages from - * @return array the error message list - */ - public function extractErrorMessageList( - array $statusMetadata, - ?string $headerKey = null - ): array { - $googleAdsFailure = $this->extractGoogleAdsFailure($statusMetadata, $headerKey); - $errorMessageList = []; - foreach ($googleAdsFailure->getErrors() as $error) { - $errorMessageList[] = $error->getMessage(); - } - - return $errorMessageList; - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/UnaryGoogleAdsExceptionMiddleware.php b/src/Google/Ads/GoogleAds/Lib/V15/UnaryGoogleAdsExceptionMiddleware.php deleted file mode 100644 index fb963d813..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/UnaryGoogleAdsExceptionMiddleware.php +++ /dev/null @@ -1,76 +0,0 @@ -statusMetadataExtractor = $statusMetadataExtractor ?: new StatusMetadataExtractor(); - } - - /** - * Throws a `GoogleAdsException` when calls to the Google Ads API server fail. - * - * @param Call $call the current request - * @param array $options the optional parameters - * @return \GuzzleHttp\Promise\PromiseInterface the `Promise` interface - * customized to throw `GoogleAdsException` - */ - public function __invoke(Call $call, array $options) - { - $next = $this->getNextHandler(); - /** @var Promise $promise */ - $promise = $next( - $call, - $options - ); - - return $promise->then( - null, - function ($exception) { - if ($exception instanceof ApiException) { - $this->throwGoogleAdsException($exception, $this->statusMetadataExtractor); - } - throw $exception; - } - ); - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V15/UnaryGoogleAdsResponseMetadataCallable.php b/src/Google/Ads/GoogleAds/Lib/V15/UnaryGoogleAdsResponseMetadataCallable.php deleted file mode 100644 index 82a4a8af7..000000000 --- a/src/Google/Ads/GoogleAds/Lib/V15/UnaryGoogleAdsResponseMetadataCallable.php +++ /dev/null @@ -1,52 +0,0 @@ -getNextHandler()); - return $next($call, $options)->then(function ($responseList) { - list($response, $metadata) = $responseList; - return [$response, new GoogleAdsResponseMetadata($metadata)]; - }); - } else { - $next = $this->getNextHandler(); - return $next($call, $options); - } - } -} diff --git a/src/Google/Ads/GoogleAds/Lib/V17/ServiceClientFactoryTrait.php b/src/Google/Ads/GoogleAds/Lib/V17/ServiceClientFactoryTrait.php index a289b921b..2d4ccba29 100644 --- a/src/Google/Ads/GoogleAds/Lib/V17/ServiceClientFactoryTrait.php +++ b/src/Google/Ads/GoogleAds/Lib/V17/ServiceClientFactoryTrait.php @@ -127,6 +127,7 @@ use Google\Ads\GoogleAds\V17\Services\Client\RecommendationServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\RecommendationSubscriptionServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\RemarketingActionServiceClient; +use Google\Ads\GoogleAds\V17\Services\Client\ShareablePreviewServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\SharedCriterionServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\SharedSetServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\SmartCampaignSettingServiceClient; @@ -1073,6 +1074,14 @@ public function getRemarketingActionServiceClient(): RemarketingActionServiceCli return new RemarketingActionServiceClient($this->getGoogleAdsClientOptions()); } + /** + * @return ShareablePreviewServiceClient + */ + public function getShareablePreviewServiceClient(): ShareablePreviewServiceClient + { + return new ShareablePreviewServiceClient($this->getGoogleAdsClientOptions()); + } + /** * @return SharedCriterionServiceClient */ diff --git a/src/Google/Ads/GoogleAds/Util/V15/GoogleAdsErrors.php b/src/Google/Ads/GoogleAds/Util/V15/GoogleAdsErrors.php deleted file mode 100644 index 76d2c1c2c..000000000 --- a/src/Google/Ads/GoogleAds/Util/V15/GoogleAdsErrors.php +++ /dev/null @@ -1,126 +0,0 @@ -For example, given the following GoogleAdsFailure: - * - *

-     *   
-     *     errors {
-     *       message: "Too low."
-     *       location {
-     *         field_path_elements {
-     *           field_name: "operations"
-     *           index {
-     *             value: 1
-     *           }
-     *         }
-     *         field_path_elements {
-     *           field_name: "create"
-     *         }
-     *         field_path_elements {
-     *           field_name: "campaign"
-     *         }
-     *       }
-     *     }
-     *     errors {
-     *       message: "Too low."
-     *       location {
-     *         field_path_elements {
-     *           field_name: "operations"
-     *           index {
-     *             value: 2
-     *           }
-     *         }
-     *         field_path_elements {
-     *           field_name: "create"
-     *         }
-     *         field_path_elements {
-     *           field_name: "campaign"
-     *         }
-     *       }
-     *     }
-     *   
-     * 
- * - * A single GoogleAdsError instance would be returned for operation index 1 and 2, and an empty - * list otherwise. - * - * @param int $operationIndex the index of the operation, starting from 0. - * @param Status $partialFailureStatus a partialFailure status, with the detail list - * containing GoogleAdsFailure instances - * @return GoogleAdsError[] an array containing the - * GoogleAdsError instances for a given operation index - */ - public static function fromStatus( - int $operationIndex, - Status $partialFailureStatus - ) { - $result = []; - foreach ($partialFailureStatus->getDetails() as $detail) { - $failure = GoogleAdsFailures::fromAny($detail); - $errors = self::fromFailure($operationIndex, $failure); - $result = array_merge($result, $errors); - } - return $result; - } - - /** - * Return a list of GoogleAdsError instances for a given operation index. - * - * @see GoogleAdsErrors::fromStatus - */ - public static function fromFailure( - int $operationIndex, - GoogleAdsFailure $failure - ) { - $result = []; - foreach ($failure->getErrors() as $error) { - $pathElements = $error->getLocation()->getFieldPathElements(); - if (count($pathElements) > 0) { - /** @var FieldPathElement $element */ - $element = $pathElements[0]; - $fieldName = $element->getFieldName(); - $index = $element->getIndex(); - if (in_array($fieldName, self::SUPPORTED_FIELDS) && $index == $operationIndex) { - $result[] = $error; - } - } - } - return $result; - } -} diff --git a/src/Google/Ads/GoogleAds/Util/V15/GoogleAdsFailures.php b/src/Google/Ads/GoogleAds/Util/V15/GoogleAdsFailures.php deleted file mode 100644 index 1583e095f..000000000 --- a/src/Google/Ads/GoogleAds/Util/V15/GoogleAdsFailures.php +++ /dev/null @@ -1,95 +0,0 @@ -unpack(); - if (!$ret instanceof GoogleAdsFailure) { - throw new \InvalidArgumentException("Message did not contain a GoogleAdsFailure"); - } - - return $ret; - } - - /** - * Gets a single GoogleAdsFailure by combining all errors from a list of Any objects. - * - * @param Any[]|RepeatedField $anys a list of Any instances to unpack - * @return GoogleAdsFailure - */ - public static function fromAnys($anys) - { - $errors = []; - foreach ($anys as $any) { - /** @var Any $any */ - $ret = self::fromAny($any); - $errors = array_merge($errors, iterator_to_array($ret->getErrors()->getIterator())); - } - return new GoogleAdsFailure(['errors' => $errors]); - } - - /** - * Unpacks GoogleAdsFailure from the partial failure Status. - * - * @param Status $status - * @return GoogleAdsFailure[] - */ - public static function fromStatus(Status $status) - { - $result = []; - foreach ($status->getDetails() as $any) { - $result[] = GoogleAdsFailures::fromAny($any); - } - return $result; - } - - /** - * Initializes. - */ - public static function init() - { - // This initialization is needed to populate the descriptor pool with the GoogleAdsFailure - // class and prevent exceptions from being thrown. - if ( - is_null( - DescriptorPool::getGeneratedPool()->getDescriptorByClassName( - GoogleAdsFailure::class - ) - ) - ) { - new GoogleAdsFailure(); - } - } -} diff --git a/src/Google/Ads/GoogleAds/Util/V15/PartialFailures.php b/src/Google/Ads/GoogleAds/Util/V15/PartialFailures.php deleted file mode 100644 index cff768c30..000000000 --- a/src/Google/Ads/GoogleAds/Util/V15/PartialFailures.php +++ /dev/null @@ -1,35 +0,0 @@ -serializeToString()) === 0; - } -} diff --git a/src/Google/Ads/GoogleAds/Util/V15/ResourceNames.php b/src/Google/Ads/GoogleAds/Util/V15/ResourceNames.php deleted file mode 100644 index 8449cc3bc..000000000 --- a/src/Google/Ads/GoogleAds/Util/V15/ResourceNames.php +++ /dev/null @@ -1,2132 +0,0 @@ -google.ads.googleads.v15.common.ActivityCountryInfo - */ -class ActivityCountryInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the activity country. The Geo Target Constant resource - * name. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the activity country. The Geo Target Constant resource - * name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the activity country. The Geo Target Constant resource - * name. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the activity country. The Geo Target Constant resource - * name. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ActivityIdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ActivityIdInfo.php deleted file mode 100644 index 316796f46..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ActivityIdInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.ActivityIdInfo - */ -class ActivityIdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the activity ID. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the activity ID. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the activity ID. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the activity ID. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ActivityRatingInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ActivityRatingInfo.php deleted file mode 100644 index fe70e219a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ActivityRatingInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.ActivityRatingInfo - */ -class ActivityRatingInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Long value of the activity rating. - * - * Generated from protobuf field optional int64 value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $value - * Long value of the activity rating. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Long value of the activity rating. - * - * Generated from protobuf field optional int64 value = 1; - * @return int|string - */ - public function getValue() - { - return isset($this->value) ? $this->value : 0; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Long value of the activity rating. - * - * Generated from protobuf field optional int64 value = 1; - * @param int|string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkInt64($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AdAssetPolicySummary.php b/src/Google/Ads/GoogleAds/V15/Common/AdAssetPolicySummary.php deleted file mode 100644 index d0206a233..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AdAssetPolicySummary.php +++ /dev/null @@ -1,139 +0,0 @@ -google.ads.googleads.v15.common.AdAssetPolicySummary - */ -class AdAssetPolicySummary extends \Google\Protobuf\Internal\Message -{ - /** - * The list of policy findings for this asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - */ - private $policy_topic_entries; - /** - * Where in the review process this asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - */ - protected $review_status = 0; - /** - * The overall approval status of this asset, which is calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; - */ - protected $approval_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $policy_topic_entries - * The list of policy findings for this asset. - * @type int $review_status - * Where in the review process this asset. - * @type int $approval_status - * The overall approval status of this asset, which is calculated based on - * the status of its individual policy topic entries. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetPolicy::initOnce(); - parent::__construct($data); - } - - /** - * The list of policy findings for this asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPolicyTopicEntries() - { - return $this->policy_topic_entries; - } - - /** - * The list of policy findings for this asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPolicyTopicEntries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry::class); - $this->policy_topic_entries = $arr; - - return $this; - } - - /** - * Where in the review process this asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - * @return int - */ - public function getReviewStatus() - { - return $this->review_status; - } - - /** - * Where in the review process this asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - * @param int $var - * @return $this - */ - public function setReviewStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyReviewStatusEnum\PolicyReviewStatus::class); - $this->review_status = $var; - - return $this; - } - - /** - * The overall approval status of this asset, which is calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; - * @return int - */ - public function getApprovalStatus() - { - return $this->approval_status; - } - - /** - * The overall approval status of this asset, which is calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; - * @param int $var - * @return $this - */ - public function setApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyApprovalStatusEnum\PolicyApprovalStatus::class); - $this->approval_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AdCallToActionAsset.php b/src/Google/Ads/GoogleAds/V15/Common/AdCallToActionAsset.php deleted file mode 100644 index 39369d325..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AdCallToActionAsset.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.AdCallToActionAsset - */ -class AdCallToActionAsset extends \Google\Protobuf\Internal\Message -{ - /** - * The Asset resource name of this call to action asset. - * - * Generated from protobuf field optional string asset = 1; - */ - protected $asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $asset - * The Asset resource name of this call to action asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdAsset::initOnce(); - parent::__construct($data); - } - - /** - * The Asset resource name of this call to action asset. - * - * Generated from protobuf field optional string asset = 1; - * @return string - */ - public function getAsset() - { - return isset($this->asset) ? $this->asset : ''; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * The Asset resource name of this call to action asset. - * - * Generated from protobuf field optional string asset = 1; - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AdDiscoveryCarouselCardAsset.php b/src/Google/Ads/GoogleAds/V15/Common/AdDiscoveryCarouselCardAsset.php deleted file mode 100644 index 7f3fac571..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AdDiscoveryCarouselCardAsset.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset - */ -class AdDiscoveryCarouselCardAsset extends \Google\Protobuf\Internal\Message -{ - /** - * The Asset resource name of this discovery carousel card. - * - * Generated from protobuf field optional string asset = 1; - */ - protected $asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $asset - * The Asset resource name of this discovery carousel card. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdAsset::initOnce(); - parent::__construct($data); - } - - /** - * The Asset resource name of this discovery carousel card. - * - * Generated from protobuf field optional string asset = 1; - * @return string - */ - public function getAsset() - { - return isset($this->asset) ? $this->asset : ''; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * The Asset resource name of this discovery carousel card. - * - * Generated from protobuf field optional string asset = 1; - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AdImageAsset.php b/src/Google/Ads/GoogleAds/V15/Common/AdImageAsset.php deleted file mode 100644 index d555fabee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AdImageAsset.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.AdImageAsset - */ -class AdImageAsset extends \Google\Protobuf\Internal\Message -{ - /** - * The Asset resource name of this image. - * - * Generated from protobuf field optional string asset = 2; - */ - protected $asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $asset - * The Asset resource name of this image. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdAsset::initOnce(); - parent::__construct($data); - } - - /** - * The Asset resource name of this image. - * - * Generated from protobuf field optional string asset = 2; - * @return string - */ - public function getAsset() - { - return isset($this->asset) ? $this->asset : ''; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * The Asset resource name of this image. - * - * Generated from protobuf field optional string asset = 2; - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AdMediaBundleAsset.php b/src/Google/Ads/GoogleAds/V15/Common/AdMediaBundleAsset.php deleted file mode 100644 index 9125eda2f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AdMediaBundleAsset.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.AdMediaBundleAsset - */ -class AdMediaBundleAsset extends \Google\Protobuf\Internal\Message -{ - /** - * The Asset resource name of this media bundle. - * - * Generated from protobuf field optional string asset = 2; - */ - protected $asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $asset - * The Asset resource name of this media bundle. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdAsset::initOnce(); - parent::__construct($data); - } - - /** - * The Asset resource name of this media bundle. - * - * Generated from protobuf field optional string asset = 2; - * @return string - */ - public function getAsset() - { - return isset($this->asset) ? $this->asset : ''; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * The Asset resource name of this media bundle. - * - * Generated from protobuf field optional string asset = 2; - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AdScheduleInfo.php b/src/Google/Ads/GoogleAds/V15/Common/AdScheduleInfo.php deleted file mode 100644 index 06d4a7855..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AdScheduleInfo.php +++ /dev/null @@ -1,278 +0,0 @@ -google.ads.googleads.v15.common.AdScheduleInfo - */ -class AdScheduleInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Minutes after the start hour at which this schedule starts. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; - */ - protected $start_minute = 0; - /** - * Minutes after the end hour at which this schedule ends. The schedule is - * exclusive of the end minute. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; - */ - protected $end_minute = 0; - /** - * Starting hour in 24 hour time. - * This field must be between 0 and 23, inclusive. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional int32 start_hour = 6; - */ - protected $start_hour = null; - /** - * Ending hour in 24 hour time; 24 signifies end of the day. - * This field must be between 0 and 24, inclusive. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional int32 end_hour = 7; - */ - protected $end_hour = null; - /** - * Day of the week the schedule applies to. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - */ - protected $day_of_week = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $start_minute - * Minutes after the start hour at which this schedule starts. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * @type int $end_minute - * Minutes after the end hour at which this schedule ends. The schedule is - * exclusive of the end minute. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * @type int $start_hour - * Starting hour in 24 hour time. - * This field must be between 0 and 23, inclusive. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * @type int $end_hour - * Ending hour in 24 hour time; 24 signifies end of the day. - * This field must be between 0 and 24, inclusive. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * @type int $day_of_week - * Day of the week the schedule applies to. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Minutes after the start hour at which this schedule starts. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; - * @return int - */ - public function getStartMinute() - { - return $this->start_minute; - } - - /** - * Minutes after the start hour at which this schedule starts. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; - * @param int $var - * @return $this - */ - public function setStartMinute($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MinuteOfHourEnum\MinuteOfHour::class); - $this->start_minute = $var; - - return $this; - } - - /** - * Minutes after the end hour at which this schedule ends. The schedule is - * exclusive of the end minute. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; - * @return int - */ - public function getEndMinute() - { - return $this->end_minute; - } - - /** - * Minutes after the end hour at which this schedule ends. The schedule is - * exclusive of the end minute. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; - * @param int $var - * @return $this - */ - public function setEndMinute($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MinuteOfHourEnum\MinuteOfHour::class); - $this->end_minute = $var; - - return $this; - } - - /** - * Starting hour in 24 hour time. - * This field must be between 0 and 23, inclusive. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional int32 start_hour = 6; - * @return int - */ - public function getStartHour() - { - return isset($this->start_hour) ? $this->start_hour : 0; - } - - public function hasStartHour() - { - return isset($this->start_hour); - } - - public function clearStartHour() - { - unset($this->start_hour); - } - - /** - * Starting hour in 24 hour time. - * This field must be between 0 and 23, inclusive. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional int32 start_hour = 6; - * @param int $var - * @return $this - */ - public function setStartHour($var) - { - GPBUtil::checkInt32($var); - $this->start_hour = $var; - - return $this; - } - - /** - * Ending hour in 24 hour time; 24 signifies end of the day. - * This field must be between 0 and 24, inclusive. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional int32 end_hour = 7; - * @return int - */ - public function getEndHour() - { - return isset($this->end_hour) ? $this->end_hour : 0; - } - - public function hasEndHour() - { - return isset($this->end_hour); - } - - public function clearEndHour() - { - unset($this->end_hour); - } - - /** - * Ending hour in 24 hour time; 24 signifies end of the day. - * This field must be between 0 and 24, inclusive. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional int32 end_hour = 7; - * @param int $var - * @return $this - */ - public function setEndHour($var) - { - GPBUtil::checkInt32($var); - $this->end_hour = $var; - - return $this; - } - - /** - * Day of the week the schedule applies to. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - * @return int - */ - public function getDayOfWeek() - { - return $this->day_of_week; - } - - /** - * Day of the week the schedule applies to. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - * @param int $var - * @return $this - */ - public function setDayOfWeek($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DayOfWeekEnum\DayOfWeek::class); - $this->day_of_week = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AdTextAsset.php b/src/Google/Ads/GoogleAds/V15/Common/AdTextAsset.php deleted file mode 100644 index 469fdb58f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AdTextAsset.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.common.AdTextAsset - */ -class AdTextAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Asset text. - * - * Generated from protobuf field optional string text = 4; - */ - protected $text = null; - /** - * The pinned field of the asset. This restricts the asset to only serve - * within this field. Multiple assets can be pinned to the same field. An - * asset that is unpinned or pinned to a different field will not serve in a - * field where some other asset has been pinned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; - */ - protected $pinned_field = 0; - /** - * The performance label of this text asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5; - */ - protected $asset_performance_label = 0; - /** - * The policy summary of this text asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdAssetPolicySummary policy_summary_info = 6; - */ - protected $policy_summary_info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * Asset text. - * @type int $pinned_field - * The pinned field of the asset. This restricts the asset to only serve - * within this field. Multiple assets can be pinned to the same field. An - * asset that is unpinned or pinned to a different field will not serve in a - * field where some other asset has been pinned. - * @type int $asset_performance_label - * The performance label of this text asset. - * @type \Google\Ads\GoogleAds\V15\Common\AdAssetPolicySummary $policy_summary_info - * The policy summary of this text asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdAsset::initOnce(); - parent::__construct($data); - } - - /** - * Asset text. - * - * Generated from protobuf field optional string text = 4; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * Asset text. - * - * Generated from protobuf field optional string text = 4; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The pinned field of the asset. This restricts the asset to only serve - * within this field. Multiple assets can be pinned to the same field. An - * asset that is unpinned or pinned to a different field will not serve in a - * field where some other asset has been pinned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; - * @return int - */ - public function getPinnedField() - { - return $this->pinned_field; - } - - /** - * The pinned field of the asset. This restricts the asset to only serve - * within this field. Multiple assets can be pinned to the same field. An - * asset that is unpinned or pinned to a different field will not serve in a - * field where some other asset has been pinned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; - * @param int $var - * @return $this - */ - public function setPinnedField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ServedAssetFieldTypeEnum\ServedAssetFieldType::class); - $this->pinned_field = $var; - - return $this; - } - - /** - * The performance label of this text asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5; - * @return int - */ - public function getAssetPerformanceLabel() - { - return $this->asset_performance_label; - } - - /** - * The performance label of this text asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5; - * @param int $var - * @return $this - */ - public function setAssetPerformanceLabel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetPerformanceLabelEnum\AssetPerformanceLabel::class); - $this->asset_performance_label = $var; - - return $this; - } - - /** - * The policy summary of this text asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdAssetPolicySummary policy_summary_info = 6; - * @return \Google\Ads\GoogleAds\V15\Common\AdAssetPolicySummary|null - */ - public function getPolicySummaryInfo() - { - return $this->policy_summary_info; - } - - public function hasPolicySummaryInfo() - { - return isset($this->policy_summary_info); - } - - public function clearPolicySummaryInfo() - { - unset($this->policy_summary_info); - } - - /** - * The policy summary of this text asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdAssetPolicySummary policy_summary_info = 6; - * @param \Google\Ads\GoogleAds\V15\Common\AdAssetPolicySummary $var - * @return $this - */ - public function setPolicySummaryInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdAssetPolicySummary::class); - $this->policy_summary_info = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AdVideoAsset.php b/src/Google/Ads/GoogleAds/V15/Common/AdVideoAsset.php deleted file mode 100644 index ee433a4cd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AdVideoAsset.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.AdVideoAsset - */ -class AdVideoAsset extends \Google\Protobuf\Internal\Message -{ - /** - * The Asset resource name of this video. - * - * Generated from protobuf field optional string asset = 2; - */ - protected $asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $asset - * The Asset resource name of this video. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdAsset::initOnce(); - parent::__construct($data); - } - - /** - * The Asset resource name of this video. - * - * Generated from protobuf field optional string asset = 2; - * @return string - */ - public function getAsset() - { - return isset($this->asset) ? $this->asset : ''; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * The Asset resource name of this video. - * - * Generated from protobuf field optional string asset = 2; - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AddressInfo.php b/src/Google/Ads/GoogleAds/V15/Common/AddressInfo.php deleted file mode 100644 index ee030e97a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AddressInfo.php +++ /dev/null @@ -1,349 +0,0 @@ -google.ads.googleads.v15.common.AddressInfo - */ -class AddressInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Postal code. - * - * Generated from protobuf field optional string postal_code = 8; - */ - protected $postal_code = null; - /** - * Province or state code. - * - * Generated from protobuf field optional string province_code = 9; - */ - protected $province_code = null; - /** - * Country code. - * - * Generated from protobuf field optional string country_code = 10; - */ - protected $country_code = null; - /** - * Province or state name. - * - * Generated from protobuf field optional string province_name = 11; - */ - protected $province_name = null; - /** - * Street address line 1. - * - * Generated from protobuf field optional string street_address = 12; - */ - protected $street_address = null; - /** - * Street address line 2. This field is write-only. It is only used for - * calculating the longitude and latitude of an address when geo_point is - * empty. - * - * Generated from protobuf field optional string street_address2 = 13; - */ - protected $street_address2 = null; - /** - * Name of the city. - * - * Generated from protobuf field optional string city_name = 14; - */ - protected $city_name = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $postal_code - * Postal code. - * @type string $province_code - * Province or state code. - * @type string $country_code - * Country code. - * @type string $province_name - * Province or state name. - * @type string $street_address - * Street address line 1. - * @type string $street_address2 - * Street address line 2. This field is write-only. It is only used for - * calculating the longitude and latitude of an address when geo_point is - * empty. - * @type string $city_name - * Name of the city. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Postal code. - * - * Generated from protobuf field optional string postal_code = 8; - * @return string - */ - public function getPostalCode() - { - return isset($this->postal_code) ? $this->postal_code : ''; - } - - public function hasPostalCode() - { - return isset($this->postal_code); - } - - public function clearPostalCode() - { - unset($this->postal_code); - } - - /** - * Postal code. - * - * Generated from protobuf field optional string postal_code = 8; - * @param string $var - * @return $this - */ - public function setPostalCode($var) - { - GPBUtil::checkString($var, True); - $this->postal_code = $var; - - return $this; - } - - /** - * Province or state code. - * - * Generated from protobuf field optional string province_code = 9; - * @return string - */ - public function getProvinceCode() - { - return isset($this->province_code) ? $this->province_code : ''; - } - - public function hasProvinceCode() - { - return isset($this->province_code); - } - - public function clearProvinceCode() - { - unset($this->province_code); - } - - /** - * Province or state code. - * - * Generated from protobuf field optional string province_code = 9; - * @param string $var - * @return $this - */ - public function setProvinceCode($var) - { - GPBUtil::checkString($var, True); - $this->province_code = $var; - - return $this; - } - - /** - * Country code. - * - * Generated from protobuf field optional string country_code = 10; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Country code. - * - * Generated from protobuf field optional string country_code = 10; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * Province or state name. - * - * Generated from protobuf field optional string province_name = 11; - * @return string - */ - public function getProvinceName() - { - return isset($this->province_name) ? $this->province_name : ''; - } - - public function hasProvinceName() - { - return isset($this->province_name); - } - - public function clearProvinceName() - { - unset($this->province_name); - } - - /** - * Province or state name. - * - * Generated from protobuf field optional string province_name = 11; - * @param string $var - * @return $this - */ - public function setProvinceName($var) - { - GPBUtil::checkString($var, True); - $this->province_name = $var; - - return $this; - } - - /** - * Street address line 1. - * - * Generated from protobuf field optional string street_address = 12; - * @return string - */ - public function getStreetAddress() - { - return isset($this->street_address) ? $this->street_address : ''; - } - - public function hasStreetAddress() - { - return isset($this->street_address); - } - - public function clearStreetAddress() - { - unset($this->street_address); - } - - /** - * Street address line 1. - * - * Generated from protobuf field optional string street_address = 12; - * @param string $var - * @return $this - */ - public function setStreetAddress($var) - { - GPBUtil::checkString($var, True); - $this->street_address = $var; - - return $this; - } - - /** - * Street address line 2. This field is write-only. It is only used for - * calculating the longitude and latitude of an address when geo_point is - * empty. - * - * Generated from protobuf field optional string street_address2 = 13; - * @return string - */ - public function getStreetAddress2() - { - return isset($this->street_address2) ? $this->street_address2 : ''; - } - - public function hasStreetAddress2() - { - return isset($this->street_address2); - } - - public function clearStreetAddress2() - { - unset($this->street_address2); - } - - /** - * Street address line 2. This field is write-only. It is only used for - * calculating the longitude and latitude of an address when geo_point is - * empty. - * - * Generated from protobuf field optional string street_address2 = 13; - * @param string $var - * @return $this - */ - public function setStreetAddress2($var) - { - GPBUtil::checkString($var, True); - $this->street_address2 = $var; - - return $this; - } - - /** - * Name of the city. - * - * Generated from protobuf field optional string city_name = 14; - * @return string - */ - public function getCityName() - { - return isset($this->city_name) ? $this->city_name : ''; - } - - public function hasCityName() - { - return isset($this->city_name); - } - - public function clearCityName() - { - unset($this->city_name); - } - - /** - * Name of the city. - * - * Generated from protobuf field optional string city_name = 14; - * @param string $var - * @return $this - */ - public function setCityName($var) - { - GPBUtil::checkString($var, True); - $this->city_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AffiliateLocationFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/AffiliateLocationFeedItem.php deleted file mode 100644 index c9f169c3b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AffiliateLocationFeedItem.php +++ /dev/null @@ -1,473 +0,0 @@ -google.ads.googleads.v15.common.AffiliateLocationFeedItem - */ -class AffiliateLocationFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The name of the business. - * - * Generated from protobuf field optional string business_name = 11; - */ - protected $business_name = null; - /** - * Line 1 of the business address. - * - * Generated from protobuf field optional string address_line_1 = 12; - */ - protected $address_line_1 = null; - /** - * Line 2 of the business address. - * - * Generated from protobuf field optional string address_line_2 = 13; - */ - protected $address_line_2 = null; - /** - * City of the business address. - * - * Generated from protobuf field optional string city = 14; - */ - protected $city = null; - /** - * Province of the business address. - * - * Generated from protobuf field optional string province = 15; - */ - protected $province = null; - /** - * Postal code of the business address. - * - * Generated from protobuf field optional string postal_code = 16; - */ - protected $postal_code = null; - /** - * Country code of the business address. - * - * Generated from protobuf field optional string country_code = 17; - */ - protected $country_code = null; - /** - * Phone number of the business. - * - * Generated from protobuf field optional string phone_number = 18; - */ - protected $phone_number = null; - /** - * Id of the retail chain that is advertised as a seller of your product. - * - * Generated from protobuf field optional int64 chain_id = 19; - */ - protected $chain_id = null; - /** - * Name of chain. - * - * Generated from protobuf field optional string chain_name = 20; - */ - protected $chain_name = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $business_name - * The name of the business. - * @type string $address_line_1 - * Line 1 of the business address. - * @type string $address_line_2 - * Line 2 of the business address. - * @type string $city - * City of the business address. - * @type string $province - * Province of the business address. - * @type string $postal_code - * Postal code of the business address. - * @type string $country_code - * Country code of the business address. - * @type string $phone_number - * Phone number of the business. - * @type int|string $chain_id - * Id of the retail chain that is advertised as a seller of your product. - * @type string $chain_name - * Name of chain. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * The name of the business. - * - * Generated from protobuf field optional string business_name = 11; - * @return string - */ - public function getBusinessName() - { - return isset($this->business_name) ? $this->business_name : ''; - } - - public function hasBusinessName() - { - return isset($this->business_name); - } - - public function clearBusinessName() - { - unset($this->business_name); - } - - /** - * The name of the business. - * - * Generated from protobuf field optional string business_name = 11; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * Line 1 of the business address. - * - * Generated from protobuf field optional string address_line_1 = 12; - * @return string - */ - public function getAddressLine1() - { - return isset($this->address_line_1) ? $this->address_line_1 : ''; - } - - public function hasAddressLine1() - { - return isset($this->address_line_1); - } - - public function clearAddressLine1() - { - unset($this->address_line_1); - } - - /** - * Line 1 of the business address. - * - * Generated from protobuf field optional string address_line_1 = 12; - * @param string $var - * @return $this - */ - public function setAddressLine1($var) - { - GPBUtil::checkString($var, True); - $this->address_line_1 = $var; - - return $this; - } - - /** - * Line 2 of the business address. - * - * Generated from protobuf field optional string address_line_2 = 13; - * @return string - */ - public function getAddressLine2() - { - return isset($this->address_line_2) ? $this->address_line_2 : ''; - } - - public function hasAddressLine2() - { - return isset($this->address_line_2); - } - - public function clearAddressLine2() - { - unset($this->address_line_2); - } - - /** - * Line 2 of the business address. - * - * Generated from protobuf field optional string address_line_2 = 13; - * @param string $var - * @return $this - */ - public function setAddressLine2($var) - { - GPBUtil::checkString($var, True); - $this->address_line_2 = $var; - - return $this; - } - - /** - * City of the business address. - * - * Generated from protobuf field optional string city = 14; - * @return string - */ - public function getCity() - { - return isset($this->city) ? $this->city : ''; - } - - public function hasCity() - { - return isset($this->city); - } - - public function clearCity() - { - unset($this->city); - } - - /** - * City of the business address. - * - * Generated from protobuf field optional string city = 14; - * @param string $var - * @return $this - */ - public function setCity($var) - { - GPBUtil::checkString($var, True); - $this->city = $var; - - return $this; - } - - /** - * Province of the business address. - * - * Generated from protobuf field optional string province = 15; - * @return string - */ - public function getProvince() - { - return isset($this->province) ? $this->province : ''; - } - - public function hasProvince() - { - return isset($this->province); - } - - public function clearProvince() - { - unset($this->province); - } - - /** - * Province of the business address. - * - * Generated from protobuf field optional string province = 15; - * @param string $var - * @return $this - */ - public function setProvince($var) - { - GPBUtil::checkString($var, True); - $this->province = $var; - - return $this; - } - - /** - * Postal code of the business address. - * - * Generated from protobuf field optional string postal_code = 16; - * @return string - */ - public function getPostalCode() - { - return isset($this->postal_code) ? $this->postal_code : ''; - } - - public function hasPostalCode() - { - return isset($this->postal_code); - } - - public function clearPostalCode() - { - unset($this->postal_code); - } - - /** - * Postal code of the business address. - * - * Generated from protobuf field optional string postal_code = 16; - * @param string $var - * @return $this - */ - public function setPostalCode($var) - { - GPBUtil::checkString($var, True); - $this->postal_code = $var; - - return $this; - } - - /** - * Country code of the business address. - * - * Generated from protobuf field optional string country_code = 17; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Country code of the business address. - * - * Generated from protobuf field optional string country_code = 17; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * Phone number of the business. - * - * Generated from protobuf field optional string phone_number = 18; - * @return string - */ - public function getPhoneNumber() - { - return isset($this->phone_number) ? $this->phone_number : ''; - } - - public function hasPhoneNumber() - { - return isset($this->phone_number); - } - - public function clearPhoneNumber() - { - unset($this->phone_number); - } - - /** - * Phone number of the business. - * - * Generated from protobuf field optional string phone_number = 18; - * @param string $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->phone_number = $var; - - return $this; - } - - /** - * Id of the retail chain that is advertised as a seller of your product. - * - * Generated from protobuf field optional int64 chain_id = 19; - * @return int|string - */ - public function getChainId() - { - return isset($this->chain_id) ? $this->chain_id : 0; - } - - public function hasChainId() - { - return isset($this->chain_id); - } - - public function clearChainId() - { - unset($this->chain_id); - } - - /** - * Id of the retail chain that is advertised as a seller of your product. - * - * Generated from protobuf field optional int64 chain_id = 19; - * @param int|string $var - * @return $this - */ - public function setChainId($var) - { - GPBUtil::checkInt64($var); - $this->chain_id = $var; - - return $this; - } - - /** - * Name of chain. - * - * Generated from protobuf field optional string chain_name = 20; - * @return string - */ - public function getChainName() - { - return isset($this->chain_name) ? $this->chain_name : ''; - } - - public function hasChainName() - { - return isset($this->chain_name); - } - - public function clearChainName() - { - unset($this->chain_name); - } - - /** - * Name of chain. - * - * Generated from protobuf field optional string chain_name = 20; - * @param string $var - * @return $this - */ - public function setChainName($var) - { - GPBUtil::checkString($var, True); - $this->chain_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AgeDimension.php b/src/Google/Ads/GoogleAds/V15/Common/AgeDimension.php deleted file mode 100644 index a3469ed23..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AgeDimension.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.AgeDimension - */ -class AgeDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Contiguous age range to be included in the dimension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeSegment age_ranges = 1; - */ - private $age_ranges; - /** - * Include users whose age is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - */ - protected $include_undetermined = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AgeSegment>|\Google\Protobuf\Internal\RepeatedField $age_ranges - * Contiguous age range to be included in the dimension. - * @type bool $include_undetermined - * Include users whose age is not determined. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * Contiguous age range to be included in the dimension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeSegment age_ranges = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAgeRanges() - { - return $this->age_ranges; - } - - /** - * Contiguous age range to be included in the dimension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeSegment age_ranges = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AgeSegment>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAgeRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AgeSegment::class); - $this->age_ranges = $arr; - - return $this; - } - - /** - * Include users whose age is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - * @return bool - */ - public function getIncludeUndetermined() - { - return isset($this->include_undetermined) ? $this->include_undetermined : false; - } - - public function hasIncludeUndetermined() - { - return isset($this->include_undetermined); - } - - public function clearIncludeUndetermined() - { - unset($this->include_undetermined); - } - - /** - * Include users whose age is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - * @param bool $var - * @return $this - */ - public function setIncludeUndetermined($var) - { - GPBUtil::checkBool($var); - $this->include_undetermined = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AgeRangeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/AgeRangeInfo.php deleted file mode 100644 index fbc05306d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AgeRangeInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.AgeRangeInfo - */ -class AgeRangeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the age range. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AgeRangeTypeEnum.AgeRangeType type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the age range. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Type of the age range. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AgeRangeTypeEnum.AgeRangeType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the age range. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AgeRangeTypeEnum.AgeRangeType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AgeRangeTypeEnum\AgeRangeType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AgeSegment.php b/src/Google/Ads/GoogleAds/V15/Common/AgeSegment.php deleted file mode 100644 index c0028874c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AgeSegment.php +++ /dev/null @@ -1,133 +0,0 @@ -google.ads.googleads.v15.common.AgeSegment - */ -class AgeSegment extends \Google\Protobuf\Internal\Message -{ - /** - * Minimum age to include. A minimum age must be specified and must be at - * least 18. Allowed values are 18, 25, 35, 45, 55, and 65. - * - * Generated from protobuf field optional int32 min_age = 1; - */ - protected $min_age = null; - /** - * Maximum age to include. A maximum age need not be specified. If specified, - * max_age must be greater than min_age, and allowed values are 24, 34, 44, - * 54, and 64. - * - * Generated from protobuf field optional int32 max_age = 2; - */ - protected $max_age = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $min_age - * Minimum age to include. A minimum age must be specified and must be at - * least 18. Allowed values are 18, 25, 35, 45, 55, and 65. - * @type int $max_age - * Maximum age to include. A maximum age need not be specified. If specified, - * max_age must be greater than min_age, and allowed values are 24, 34, 44, - * 54, and 64. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * Minimum age to include. A minimum age must be specified and must be at - * least 18. Allowed values are 18, 25, 35, 45, 55, and 65. - * - * Generated from protobuf field optional int32 min_age = 1; - * @return int - */ - public function getMinAge() - { - return isset($this->min_age) ? $this->min_age : 0; - } - - public function hasMinAge() - { - return isset($this->min_age); - } - - public function clearMinAge() - { - unset($this->min_age); - } - - /** - * Minimum age to include. A minimum age must be specified and must be at - * least 18. Allowed values are 18, 25, 35, 45, 55, and 65. - * - * Generated from protobuf field optional int32 min_age = 1; - * @param int $var - * @return $this - */ - public function setMinAge($var) - { - GPBUtil::checkInt32($var); - $this->min_age = $var; - - return $this; - } - - /** - * Maximum age to include. A maximum age need not be specified. If specified, - * max_age must be greater than min_age, and allowed values are 24, 34, 44, - * 54, and 64. - * - * Generated from protobuf field optional int32 max_age = 2; - * @return int - */ - public function getMaxAge() - { - return isset($this->max_age) ? $this->max_age : 0; - } - - public function hasMaxAge() - { - return isset($this->max_age); - } - - public function clearMaxAge() - { - unset($this->max_age); - } - - /** - * Maximum age to include. A maximum age need not be specified. If specified, - * max_age must be greater than min_age, and allowed values are 24, 34, 44, - * 54, and 64. - * - * Generated from protobuf field optional int32 max_age = 2; - * @param int $var - * @return $this - */ - public function setMaxAge($var) - { - GPBUtil::checkInt32($var); - $this->max_age = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AppAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/AppAdInfo.php deleted file mode 100644 index 2f8fe4400..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AppAdInfo.php +++ /dev/null @@ -1,255 +0,0 @@ -google.ads.googleads.v15.common.AppAdInfo - */ -class AppAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Mandatory ad text. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset mandatory_ad_text = 1; - */ - protected $mandatory_ad_text = null; - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 2; - */ - private $headlines; - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - */ - private $descriptions; - /** - * List of image assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 4; - */ - private $images; - /** - * List of YouTube video assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 5; - */ - private $youtube_videos; - /** - * List of media bundle assets that may be used with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdMediaBundleAsset html5_media_bundles = 6; - */ - private $html5_media_bundles; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\AdTextAsset $mandatory_ad_text - * Mandatory ad text. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $images - * List of image assets that may be displayed with the ad. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $youtube_videos - * List of YouTube video assets that may be displayed with the ad. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdMediaBundleAsset>|\Google\Protobuf\Internal\RepeatedField $html5_media_bundles - * List of media bundle assets that may be used with the ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Mandatory ad text. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset mandatory_ad_text = 1; - * @return \Google\Ads\GoogleAds\V15\Common\AdTextAsset|null - */ - public function getMandatoryAdText() - { - return $this->mandatory_ad_text; - } - - public function hasMandatoryAdText() - { - return isset($this->mandatory_ad_text); - } - - public function clearMandatoryAdText() - { - unset($this->mandatory_ad_text); - } - - /** - * Mandatory ad text. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset mandatory_ad_text = 1; - * @param \Google\Ads\GoogleAds\V15\Common\AdTextAsset $var - * @return $this - */ - public function setMandatoryAdText($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->mandatory_ad_text = $var; - - return $this; - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * List of image assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getImages() - { - return $this->images; - } - - /** - * List of image assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->images = $arr; - - return $this; - } - - /** - * List of YouTube video assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getYoutubeVideos() - { - return $this->youtube_videos; - } - - /** - * List of YouTube video assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setYoutubeVideos($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdVideoAsset::class); - $this->youtube_videos = $arr; - - return $this; - } - - /** - * List of media bundle assets that may be used with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdMediaBundleAsset html5_media_bundles = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHtml5MediaBundles() - { - return $this->html5_media_bundles; - } - - /** - * List of media bundle assets that may be used with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdMediaBundleAsset html5_media_bundles = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdMediaBundleAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHtml5MediaBundles($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdMediaBundleAsset::class); - $this->html5_media_bundles = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AppEngagementAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/AppEngagementAdInfo.php deleted file mode 100644 index add17c088..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AppEngagementAdInfo.php +++ /dev/null @@ -1,180 +0,0 @@ -google.ads.googleads.v15.common.AppEngagementAdInfo - */ -class AppEngagementAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - */ - private $headlines; - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - */ - private $descriptions; - /** - * List of image assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 3; - */ - private $images; - /** - * List of video assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 4; - */ - private $videos; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $images - * List of image assets that may be displayed with the ad. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $videos - * List of video assets that may be displayed with the ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * List of image assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getImages() - { - return $this->images; - } - - /** - * List of image assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->images = $arr; - - return $this; - } - - /** - * List of video assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getVideos() - { - return $this->videos; - } - - /** - * List of video assets that may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setVideos($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdVideoAsset::class); - $this->videos = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AppFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/AppFeedItem.php deleted file mode 100644 index c384cd046..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AppFeedItem.php +++ /dev/null @@ -1,373 +0,0 @@ -google.ads.googleads.v15.common.AppFeedItem - */ -class AppFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The visible text displayed when the link is rendered in an ad. - * This string must not be empty, and the length of this string should - * be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string link_text = 9; - */ - protected $link_text = null; - /** - * The store-specific ID for the target application. - * This string must not be empty. - * - * Generated from protobuf field optional string app_id = 10; - */ - protected $app_id = null; - /** - * The application store that the target application belongs to. - * This field is required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppStoreEnum.AppStore app_store = 3; - */ - protected $app_store = 0; - /** - * A list of possible final URLs after all cross domain redirects. - * This list must not be empty. - * - * Generated from protobuf field repeated string final_urls = 11; - */ - private $final_urls; - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 12; - */ - private $final_mobile_urls; - /** - * URL template for constructing a tracking URL. Default value is "{lpurl}". - * - * Generated from protobuf field optional string tracking_url_template = 13; - */ - protected $tracking_url_template = null; - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 7; - */ - private $url_custom_parameters; - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 14; - */ - protected $final_url_suffix = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $link_text - * The visible text displayed when the link is rendered in an ad. - * This string must not be empty, and the length of this string should - * be between 1 and 25, inclusive. - * @type string $app_id - * The store-specific ID for the target application. - * This string must not be empty. - * @type int $app_store - * The application store that the target application belongs to. - * This field is required. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * A list of possible final URLs after all cross domain redirects. - * This list must not be empty. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * A list of possible final mobile URLs after all cross domain redirects. - * @type string $tracking_url_template - * URL template for constructing a tracking URL. Default value is "{lpurl}". - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * @type string $final_url_suffix - * URL template for appending params to landing page URLs served with parallel - * tracking. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * The visible text displayed when the link is rendered in an ad. - * This string must not be empty, and the length of this string should - * be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string link_text = 9; - * @return string - */ - public function getLinkText() - { - return isset($this->link_text) ? $this->link_text : ''; - } - - public function hasLinkText() - { - return isset($this->link_text); - } - - public function clearLinkText() - { - unset($this->link_text); - } - - /** - * The visible text displayed when the link is rendered in an ad. - * This string must not be empty, and the length of this string should - * be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string link_text = 9; - * @param string $var - * @return $this - */ - public function setLinkText($var) - { - GPBUtil::checkString($var, True); - $this->link_text = $var; - - return $this; - } - - /** - * The store-specific ID for the target application. - * This string must not be empty. - * - * Generated from protobuf field optional string app_id = 10; - * @return string - */ - public function getAppId() - { - return isset($this->app_id) ? $this->app_id : ''; - } - - public function hasAppId() - { - return isset($this->app_id); - } - - public function clearAppId() - { - unset($this->app_id); - } - - /** - * The store-specific ID for the target application. - * This string must not be empty. - * - * Generated from protobuf field optional string app_id = 10; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * The application store that the target application belongs to. - * This field is required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppStoreEnum.AppStore app_store = 3; - * @return int - */ - public function getAppStore() - { - return $this->app_store; - } - - /** - * The application store that the target application belongs to. - * This field is required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppStoreEnum.AppStore app_store = 3; - * @param int $var - * @return $this - */ - public function setAppStore($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AppStoreEnum\AppStore::class); - $this->app_store = $var; - - return $this; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * This list must not be empty. - * - * Generated from protobuf field repeated string final_urls = 11; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * This list must not be empty. - * - * Generated from protobuf field repeated string final_urls = 11; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 12; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 12; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - - /** - * URL template for constructing a tracking URL. Default value is "{lpurl}". - * - * Generated from protobuf field optional string tracking_url_template = 13; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * URL template for constructing a tracking URL. Default value is "{lpurl}". - * - * Generated from protobuf field optional string tracking_url_template = 13; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 7; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 14; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 14; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AppPaymentModelInfo.php b/src/Google/Ads/GoogleAds/V15/Common/AppPaymentModelInfo.php deleted file mode 100644 index fcb718c03..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AppPaymentModelInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.AppPaymentModelInfo - */ -class AppPaymentModelInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the app payment model. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppPaymentModelTypeEnum.AppPaymentModelType type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the app payment model. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Type of the app payment model. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppPaymentModelTypeEnum.AppPaymentModelType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the app payment model. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppPaymentModelTypeEnum.AppPaymentModelType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AppPaymentModelTypeEnum\AppPaymentModelType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AppPreRegistrationAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/AppPreRegistrationAdInfo.php deleted file mode 100644 index 5f8f8a634..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AppPreRegistrationAdInfo.php +++ /dev/null @@ -1,181 +0,0 @@ -google.ads.googleads.v15.common.AppPreRegistrationAdInfo - */ -class AppPreRegistrationAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - */ - private $headlines; - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - */ - private $descriptions; - /** - * List of image asset IDs whose images may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 3; - */ - private $images; - /** - * List of YouTube video asset IDs whose videos may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 4; - */ - private $youtube_videos; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $images - * List of image asset IDs whose images may be displayed with the ad. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $youtube_videos - * List of YouTube video asset IDs whose videos may be displayed with the ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * List of image asset IDs whose images may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getImages() - { - return $this->images; - } - - /** - * List of image asset IDs whose images may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset images = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->images = $arr; - - return $this; - } - - /** - * List of YouTube video asset IDs whose videos may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getYoutubeVideos() - { - return $this->youtube_videos; - } - - /** - * List of YouTube video asset IDs whose videos may be displayed with the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setYoutubeVideos($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdVideoAsset::class); - $this->youtube_videos = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AssetDisapproved.php b/src/Google/Ads/GoogleAds/V15/Common/AssetDisapproved.php deleted file mode 100644 index a2e260b33..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AssetDisapproved.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.AssetDisapproved - */ -class AssetDisapproved extends \Google\Protobuf\Internal\Message -{ - /** - * Provides the quality evaluation disapproval reason of an asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetOfflineEvaluationErrorReasonsEnum.AssetOfflineEvaluationErrorReasons offline_evaluation_error_reasons = 1; - */ - private $offline_evaluation_error_reasons; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $offline_evaluation_error_reasons - * Provides the quality evaluation disapproval reason of an asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetPolicy::initOnce(); - parent::__construct($data); - } - - /** - * Provides the quality evaluation disapproval reason of an asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetOfflineEvaluationErrorReasonsEnum.AssetOfflineEvaluationErrorReasons offline_evaluation_error_reasons = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOfflineEvaluationErrorReasons() - { - return $this->offline_evaluation_error_reasons; - } - - /** - * Provides the quality evaluation disapproval reason of an asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetOfflineEvaluationErrorReasonsEnum.AssetOfflineEvaluationErrorReasons offline_evaluation_error_reasons = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOfflineEvaluationErrorReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetOfflineEvaluationErrorReasonsEnum\AssetOfflineEvaluationErrorReasons::class); - $this->offline_evaluation_error_reasons = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AssetInteractionTarget.php b/src/Google/Ads/GoogleAds/V15/Common/AssetInteractionTarget.php deleted file mode 100644 index 60a7cad18..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AssetInteractionTarget.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.common.AssetInteractionTarget - */ -class AssetInteractionTarget extends \Google\Protobuf\Internal\Message -{ - /** - * The asset resource name. - * - * Generated from protobuf field string asset = 1; - */ - protected $asset = ''; - /** - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself or a - * different asset or ad unit. - * - * Generated from protobuf field bool interaction_on_this_asset = 2; - */ - protected $interaction_on_this_asset = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $asset - * The asset resource name. - * @type bool $interaction_on_this_asset - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself or a - * different asset or ad unit. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Segments::initOnce(); - parent::__construct($data); - } - - /** - * The asset resource name. - * - * Generated from protobuf field string asset = 1; - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * The asset resource name. - * - * Generated from protobuf field string asset = 1; - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself or a - * different asset or ad unit. - * - * Generated from protobuf field bool interaction_on_this_asset = 2; - * @return bool - */ - public function getInteractionOnThisAsset() - { - return $this->interaction_on_this_asset; - } - - /** - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself or a - * different asset or ad unit. - * - * Generated from protobuf field bool interaction_on_this_asset = 2; - * @param bool $var - * @return $this - */ - public function setInteractionOnThisAsset($var) - { - GPBUtil::checkBool($var); - $this->interaction_on_this_asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AssetLinkPrimaryStatusDetails.php b/src/Google/Ads/GoogleAds/V15/Common/AssetLinkPrimaryStatusDetails.php deleted file mode 100644 index 49b4ad51f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AssetLinkPrimaryStatusDetails.php +++ /dev/null @@ -1,169 +0,0 @@ -google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails - */ -class AssetLinkPrimaryStatusDetails extends \Google\Protobuf\Internal\Message -{ - /** - * Provides the reason of this PrimaryStatus. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason reason = 1; - */ - protected $reason = null; - /** - * Provides the PrimaryStatus of this status detail. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus status = 2; - */ - protected $status = null; - protected $details; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $reason - * Provides the reason of this PrimaryStatus. - * @type int $status - * Provides the PrimaryStatus of this status detail. - * @type \Google\Ads\GoogleAds\V15\Common\AssetDisapproved $asset_disapproved - * Provides the details for AssetLinkPrimaryStatusReason.ASSET_DISAPPROVED - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetPolicy::initOnce(); - parent::__construct($data); - } - - /** - * Provides the reason of this PrimaryStatus. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason reason = 1; - * @return int - */ - public function getReason() - { - return isset($this->reason) ? $this->reason : 0; - } - - public function hasReason() - { - return isset($this->reason); - } - - public function clearReason() - { - unset($this->reason); - } - - /** - * Provides the reason of this PrimaryStatus. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason reason = 1; - * @param int $var - * @return $this - */ - public function setReason($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusReasonEnum\AssetLinkPrimaryStatusReason::class); - $this->reason = $var; - - return $this; - } - - /** - * Provides the PrimaryStatus of this status detail. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus status = 2; - * @return int - */ - public function getStatus() - { - return isset($this->status) ? $this->status : 0; - } - - public function hasStatus() - { - return isset($this->status); - } - - public function clearStatus() - { - unset($this->status); - } - - /** - * Provides the PrimaryStatus of this status detail. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus status = 2; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusEnum\AssetLinkPrimaryStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Provides the details for AssetLinkPrimaryStatusReason.ASSET_DISAPPROVED - * - * Generated from protobuf field .google.ads.googleads.v15.common.AssetDisapproved asset_disapproved = 3; - * @return \Google\Ads\GoogleAds\V15\Common\AssetDisapproved|null - */ - public function getAssetDisapproved() - { - return $this->readOneof(3); - } - - public function hasAssetDisapproved() - { - return $this->hasOneof(3); - } - - /** - * Provides the details for AssetLinkPrimaryStatusReason.ASSET_DISAPPROVED - * - * Generated from protobuf field .google.ads.googleads.v15.common.AssetDisapproved asset_disapproved = 3; - * @param \Google\Ads\GoogleAds\V15\Common\AssetDisapproved $var - * @return $this - */ - public function setAssetDisapproved($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AssetDisapproved::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getDetails() - { - return $this->whichOneof("details"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AssetUsage.php b/src/Google/Ads/GoogleAds/V15/Common/AssetUsage.php deleted file mode 100644 index fb386198a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AssetUsage.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.common.AssetUsage - */ -class AssetUsage extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of the asset. - * - * Generated from protobuf field string asset = 1; - */ - protected $asset = ''; - /** - * The served field type of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType served_asset_field_type = 2; - */ - protected $served_asset_field_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $asset - * Resource name of the asset. - * @type int $served_asset_field_type - * The served field type of the asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetUsage::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of the asset. - * - * Generated from protobuf field string asset = 1; - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * Resource name of the asset. - * - * Generated from protobuf field string asset = 1; - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * The served field type of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType served_asset_field_type = 2; - * @return int - */ - public function getServedAssetFieldType() - { - return $this->served_asset_field_type; - } - - /** - * The served field type of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType served_asset_field_type = 2; - * @param int $var - * @return $this - */ - public function setServedAssetFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ServedAssetFieldTypeEnum\ServedAssetFieldType::class); - $this->served_asset_field_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AudienceDimension.php b/src/Google/Ads/GoogleAds/V15/Common/AudienceDimension.php deleted file mode 100644 index 43b98817d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AudienceDimension.php +++ /dev/null @@ -1,210 +0,0 @@ -google.ads.googleads.v15.common.AudienceDimension - */ -class AudienceDimension extends \Google\Protobuf\Internal\Message -{ - protected $dimension; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\AgeDimension $age - * Dimension specifying users by their age. - * @type \Google\Ads\GoogleAds\V15\Common\GenderDimension $gender - * Dimension specifying users by their gender. - * @type \Google\Ads\GoogleAds\V15\Common\HouseholdIncomeDimension $household_income - * Dimension specifying users by their household income. - * @type \Google\Ads\GoogleAds\V15\Common\ParentalStatusDimension $parental_status - * Dimension specifying users by their parental status. - * @type \Google\Ads\GoogleAds\V15\Common\AudienceSegmentDimension $audience_segments - * Dimension specifying users by their membership in other audience - * segments. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * Dimension specifying users by their age. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AgeDimension age = 1; - * @return \Google\Ads\GoogleAds\V15\Common\AgeDimension|null - */ - public function getAge() - { - return $this->readOneof(1); - } - - public function hasAge() - { - return $this->hasOneof(1); - } - - /** - * Dimension specifying users by their age. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AgeDimension age = 1; - * @param \Google\Ads\GoogleAds\V15\Common\AgeDimension $var - * @return $this - */ - public function setAge($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AgeDimension::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Dimension specifying users by their gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderDimension gender = 2; - * @return \Google\Ads\GoogleAds\V15\Common\GenderDimension|null - */ - public function getGender() - { - return $this->readOneof(2); - } - - public function hasGender() - { - return $this->hasOneof(2); - } - - /** - * Dimension specifying users by their gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderDimension gender = 2; - * @param \Google\Ads\GoogleAds\V15\Common\GenderDimension $var - * @return $this - */ - public function setGender($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\GenderDimension::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Dimension specifying users by their household income. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HouseholdIncomeDimension household_income = 3; - * @return \Google\Ads\GoogleAds\V15\Common\HouseholdIncomeDimension|null - */ - public function getHouseholdIncome() - { - return $this->readOneof(3); - } - - public function hasHouseholdIncome() - { - return $this->hasOneof(3); - } - - /** - * Dimension specifying users by their household income. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HouseholdIncomeDimension household_income = 3; - * @param \Google\Ads\GoogleAds\V15\Common\HouseholdIncomeDimension $var - * @return $this - */ - public function setHouseholdIncome($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HouseholdIncomeDimension::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Dimension specifying users by their parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusDimension parental_status = 4; - * @return \Google\Ads\GoogleAds\V15\Common\ParentalStatusDimension|null - */ - public function getParentalStatus() - { - return $this->readOneof(4); - } - - public function hasParentalStatus() - { - return $this->hasOneof(4); - } - - /** - * Dimension specifying users by their parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusDimension parental_status = 4; - * @param \Google\Ads\GoogleAds\V15\Common\ParentalStatusDimension $var - * @return $this - */ - public function setParentalStatus($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ParentalStatusDimension::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Dimension specifying users by their membership in other audience - * segments. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceSegmentDimension audience_segments = 5; - * @return \Google\Ads\GoogleAds\V15\Common\AudienceSegmentDimension|null - */ - public function getAudienceSegments() - { - return $this->readOneof(5); - } - - public function hasAudienceSegments() - { - return $this->hasOneof(5); - } - - /** - * Dimension specifying users by their membership in other audience - * segments. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceSegmentDimension audience_segments = 5; - * @param \Google\Ads\GoogleAds\V15\Common\AudienceSegmentDimension $var - * @return $this - */ - public function setAudienceSegments($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AudienceSegmentDimension::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getDimension() - { - return $this->whichOneof("dimension"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AudienceExclusionDimension.php b/src/Google/Ads/GoogleAds/V15/Common/AudienceExclusionDimension.php deleted file mode 100644 index b7eeb148f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AudienceExclusionDimension.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.AudienceExclusionDimension - */ -class AudienceExclusionDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Audience segment to be excluded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ExclusionSegment exclusions = 1; - */ - private $exclusions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\ExclusionSegment>|\Google\Protobuf\Internal\RepeatedField $exclusions - * Audience segment to be excluded. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * Audience segment to be excluded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ExclusionSegment exclusions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExclusions() - { - return $this->exclusions; - } - - /** - * Audience segment to be excluded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ExclusionSegment exclusions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\ExclusionSegment>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExclusions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\ExclusionSegment::class); - $this->exclusions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AudienceInfo.php b/src/Google/Ads/GoogleAds/V15/Common/AudienceInfo.php deleted file mode 100644 index 5e0e6bac5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AudienceInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.AudienceInfo - */ -class AudienceInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The Audience resource name. - * - * Generated from protobuf field string audience = 1; - */ - protected $audience = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $audience - * The Audience resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The Audience resource name. - * - * Generated from protobuf field string audience = 1; - * @return string - */ - public function getAudience() - { - return $this->audience; - } - - /** - * The Audience resource name. - * - * Generated from protobuf field string audience = 1; - * @param string $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkString($var, True); - $this->audience = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AudienceSegment.php b/src/Google/Ads/GoogleAds/V15/Common/AudienceSegment.php deleted file mode 100644 index b8f043373..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AudienceSegment.php +++ /dev/null @@ -1,207 +0,0 @@ -google.ads.googleads.v15.common.AudienceSegment - */ -class AudienceSegment extends \Google\Protobuf\Internal\Message -{ - protected $segment; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\UserListSegment $user_list - * User list segment. - * @type \Google\Ads\GoogleAds\V15\Common\UserInterestSegment $user_interest - * Affinity or In-market segment. - * @type \Google\Ads\GoogleAds\V15\Common\LifeEventSegment $life_event - * Live-event audience segment. - * @type \Google\Ads\GoogleAds\V15\Common\DetailedDemographicSegment $detailed_demographic - * Detailed demographic segment. - * @type \Google\Ads\GoogleAds\V15\Common\CustomAudienceSegment $custom_audience - * Custom audience segment. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * User list segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListSegment user_list = 1; - * @return \Google\Ads\GoogleAds\V15\Common\UserListSegment|null - */ - public function getUserList() - { - return $this->readOneof(1); - } - - public function hasUserList() - { - return $this->hasOneof(1); - } - - /** - * User list segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListSegment user_list = 1; - * @param \Google\Ads\GoogleAds\V15\Common\UserListSegment $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserListSegment::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Affinity or In-market segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserInterestSegment user_interest = 2; - * @return \Google\Ads\GoogleAds\V15\Common\UserInterestSegment|null - */ - public function getUserInterest() - { - return $this->readOneof(2); - } - - public function hasUserInterest() - { - return $this->hasOneof(2); - } - - /** - * Affinity or In-market segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserInterestSegment user_interest = 2; - * @param \Google\Ads\GoogleAds\V15\Common\UserInterestSegment $var - * @return $this - */ - public function setUserInterest($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserInterestSegment::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Live-event audience segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LifeEventSegment life_event = 3; - * @return \Google\Ads\GoogleAds\V15\Common\LifeEventSegment|null - */ - public function getLifeEvent() - { - return $this->readOneof(3); - } - - public function hasLifeEvent() - { - return $this->hasOneof(3); - } - - /** - * Live-event audience segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LifeEventSegment life_event = 3; - * @param \Google\Ads\GoogleAds\V15\Common\LifeEventSegment $var - * @return $this - */ - public function setLifeEvent($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LifeEventSegment::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Detailed demographic segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DetailedDemographicSegment detailed_demographic = 4; - * @return \Google\Ads\GoogleAds\V15\Common\DetailedDemographicSegment|null - */ - public function getDetailedDemographic() - { - return $this->readOneof(4); - } - - public function hasDetailedDemographic() - { - return $this->hasOneof(4); - } - - /** - * Detailed demographic segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DetailedDemographicSegment detailed_demographic = 4; - * @param \Google\Ads\GoogleAds\V15\Common\DetailedDemographicSegment $var - * @return $this - */ - public function setDetailedDemographic($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DetailedDemographicSegment::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Custom audience segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAudienceSegment custom_audience = 5; - * @return \Google\Ads\GoogleAds\V15\Common\CustomAudienceSegment|null - */ - public function getCustomAudience() - { - return $this->readOneof(5); - } - - public function hasCustomAudience() - { - return $this->hasOneof(5); - } - - /** - * Custom audience segment. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAudienceSegment custom_audience = 5; - * @param \Google\Ads\GoogleAds\V15\Common\CustomAudienceSegment $var - * @return $this - */ - public function setCustomAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomAudienceSegment::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getSegment() - { - return $this->whichOneof("segment"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/AudienceSegmentDimension.php b/src/Google/Ads/GoogleAds/V15/Common/AudienceSegmentDimension.php deleted file mode 100644 index c1ca414c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/AudienceSegmentDimension.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.common.AudienceSegmentDimension - */ -class AudienceSegmentDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Included audience segments. Users are included if they belong to at least - * one segment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AudienceSegment segments = 1; - */ - private $segments; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AudienceSegment>|\Google\Protobuf\Internal\RepeatedField $segments - * Included audience segments. Users are included if they belong to at least - * one segment. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * Included audience segments. Users are included if they belong to at least - * one segment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AudienceSegment segments = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSegments() - { - return $this->segments; - } - - /** - * Included audience segments. Users are included if they belong to at least - * one segment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AudienceSegment segments = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AudienceSegment>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSegments($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AudienceSegment::class); - $this->segments = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BasicUserListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/BasicUserListInfo.php deleted file mode 100644 index 2c6a8efce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BasicUserListInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.BasicUserListInfo - */ -class BasicUserListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Actions associated with this user list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListActionInfo actions = 1; - */ - private $actions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\UserListActionInfo>|\Google\Protobuf\Internal\RepeatedField $actions - * Actions associated with this user list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Actions associated with this user list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListActionInfo actions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getActions() - { - return $this->actions; - } - - /** - * Actions associated with this user list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListActionInfo actions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserListActionInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setActions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserListActionInfo::class); - $this->actions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BookOnGoogleAsset.php b/src/Google/Ads/GoogleAds/V15/Common/BookOnGoogleAsset.php deleted file mode 100644 index cc8a19500..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BookOnGoogleAsset.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.common.BookOnGoogleAsset - */ -class BookOnGoogleAsset extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BrandInfo.php b/src/Google/Ads/GoogleAds/V15/Common/BrandInfo.php deleted file mode 100644 index 60cd0e158..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BrandInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.BrandInfo - */ -class BrandInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The Commercial KG MID for the brand. - * - * Generated from protobuf field optional string entity_id = 1; - */ - protected $entity_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $entity_id - * The Commercial KG MID for the brand. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The Commercial KG MID for the brand. - * - * Generated from protobuf field optional string entity_id = 1; - * @return string - */ - public function getEntityId() - { - return isset($this->entity_id) ? $this->entity_id : ''; - } - - public function hasEntityId() - { - return isset($this->entity_id); - } - - public function clearEntityId() - { - unset($this->entity_id); - } - - /** - * The Commercial KG MID for the brand. - * - * Generated from protobuf field optional string entity_id = 1; - * @param string $var - * @return $this - */ - public function setEntityId($var) - { - GPBUtil::checkString($var, True); - $this->entity_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BrandListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/BrandListInfo.php deleted file mode 100644 index 092bae3b2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BrandListInfo.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.common.BrandListInfo - */ -class BrandListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Shared set resource name of the brand list. - * - * Generated from protobuf field optional string shared_set = 1; - */ - protected $shared_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $shared_set - * Shared set resource name of the brand list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Shared set resource name of the brand list. - * - * Generated from protobuf field optional string shared_set = 1; - * @return string - */ - public function getSharedSet() - { - return isset($this->shared_set) ? $this->shared_set : ''; - } - - public function hasSharedSet() - { - return isset($this->shared_set); - } - - public function clearSharedSet() - { - unset($this->shared_set); - } - - /** - * Shared set resource name of the brand list. - * - * Generated from protobuf field optional string shared_set = 1; - * @param string $var - * @return $this - */ - public function setSharedSet($var) - { - GPBUtil::checkString($var, True); - $this->shared_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BudgetCampaignAssociationStatus.php b/src/Google/Ads/GoogleAds/V15/Common/BudgetCampaignAssociationStatus.php deleted file mode 100644 index 4b970dcf2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BudgetCampaignAssociationStatus.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.BudgetCampaignAssociationStatus - */ -class BudgetCampaignAssociationStatus extends \Google\Protobuf\Internal\Message -{ - /** - * The campaign resource name. - * - * Generated from protobuf field optional string campaign = 1; - */ - protected $campaign = null; - /** - * Budget campaign association status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus status = 2; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $campaign - * The campaign resource name. - * @type int $status - * Budget campaign association status. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Segments::initOnce(); - parent::__construct($data); - } - - /** - * The campaign resource name. - * - * Generated from protobuf field optional string campaign = 1; - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * The campaign resource name. - * - * Generated from protobuf field optional string campaign = 1; - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Budget campaign association status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus status = 2; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Budget campaign association status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus status = 2; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BudgetCampaignAssociationStatusEnum\BudgetCampaignAssociationStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BudgetSimulationPoint.php b/src/Google/Ads/GoogleAds/V15/Common/BudgetSimulationPoint.php deleted file mode 100644 index d89bf75c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BudgetSimulationPoint.php +++ /dev/null @@ -1,355 +0,0 @@ -google.ads.googleads.v15.common.BudgetSimulationPoint - */ -class BudgetSimulationPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The simulated budget upon which projected metrics are based. - * - * Generated from protobuf field int64 budget_amount_micros = 1; - */ - protected $budget_amount_micros = 0; - /** - * Projected required daily cpc bid ceiling that the advertiser must set to - * realize this simulation, in micros of the advertiser currency. - * Only campaigns with the Target Spend bidding strategy support this field. - * - * Generated from protobuf field int64 required_cpc_bid_ceiling_micros = 2; - */ - protected $required_cpc_bid_ceiling_micros = 0; - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field double biddable_conversions = 3; - */ - protected $biddable_conversions = 0.0; - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field double biddable_conversions_value = 4; - */ - protected $biddable_conversions_value = 0.0; - /** - * Projected number of clicks. - * - * Generated from protobuf field int64 clicks = 5; - */ - protected $clicks = 0; - /** - * Projected cost in micros. - * - * Generated from protobuf field int64 cost_micros = 6; - */ - protected $cost_micros = 0; - /** - * Projected number of impressions. - * - * Generated from protobuf field int64 impressions = 7; - */ - protected $impressions = 0; - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 top_slot_impressions = 8; - */ - protected $top_slot_impressions = 0; - /** - * Projected number of interactions. - * Only discovery advertising channel type supports this field. - * - * Generated from protobuf field int64 interactions = 9; - */ - protected $interactions = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $budget_amount_micros - * The simulated budget upon which projected metrics are based. - * @type int|string $required_cpc_bid_ceiling_micros - * Projected required daily cpc bid ceiling that the advertiser must set to - * realize this simulation, in micros of the advertiser currency. - * Only campaigns with the Target Spend bidding strategy support this field. - * @type float $biddable_conversions - * Projected number of biddable conversions. - * @type float $biddable_conversions_value - * Projected total value of biddable conversions. - * @type int|string $clicks - * Projected number of clicks. - * @type int|string $cost_micros - * Projected cost in micros. - * @type int|string $impressions - * Projected number of impressions. - * @type int|string $top_slot_impressions - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * @type int|string $interactions - * Projected number of interactions. - * Only discovery advertising channel type supports this field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * The simulated budget upon which projected metrics are based. - * - * Generated from protobuf field int64 budget_amount_micros = 1; - * @return int|string - */ - public function getBudgetAmountMicros() - { - return $this->budget_amount_micros; - } - - /** - * The simulated budget upon which projected metrics are based. - * - * Generated from protobuf field int64 budget_amount_micros = 1; - * @param int|string $var - * @return $this - */ - public function setBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->budget_amount_micros = $var; - - return $this; - } - - /** - * Projected required daily cpc bid ceiling that the advertiser must set to - * realize this simulation, in micros of the advertiser currency. - * Only campaigns with the Target Spend bidding strategy support this field. - * - * Generated from protobuf field int64 required_cpc_bid_ceiling_micros = 2; - * @return int|string - */ - public function getRequiredCpcBidCeilingMicros() - { - return $this->required_cpc_bid_ceiling_micros; - } - - /** - * Projected required daily cpc bid ceiling that the advertiser must set to - * realize this simulation, in micros of the advertiser currency. - * Only campaigns with the Target Spend bidding strategy support this field. - * - * Generated from protobuf field int64 required_cpc_bid_ceiling_micros = 2; - * @param int|string $var - * @return $this - */ - public function setRequiredCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_cpc_bid_ceiling_micros = $var; - - return $this; - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field double biddable_conversions = 3; - * @return float - */ - public function getBiddableConversions() - { - return $this->biddable_conversions; - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field double biddable_conversions = 3; - * @param float $var - * @return $this - */ - public function setBiddableConversions($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions = $var; - - return $this; - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field double biddable_conversions_value = 4; - * @return float - */ - public function getBiddableConversionsValue() - { - return $this->biddable_conversions_value; - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field double biddable_conversions_value = 4; - * @param float $var - * @return $this - */ - public function setBiddableConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions_value = $var; - - return $this; - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field int64 clicks = 5; - * @return int|string - */ - public function getClicks() - { - return $this->clicks; - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field int64 clicks = 5; - * @param int|string $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkInt64($var); - $this->clicks = $var; - - return $this; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field int64 cost_micros = 6; - * @return int|string - */ - public function getCostMicros() - { - return $this->cost_micros; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field int64 cost_micros = 6; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field int64 impressions = 7; - * @return int|string - */ - public function getImpressions() - { - return $this->impressions; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field int64 impressions = 7; - * @param int|string $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt64($var); - $this->impressions = $var; - - return $this; - } - - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 top_slot_impressions = 8; - * @return int|string - */ - public function getTopSlotImpressions() - { - return $this->top_slot_impressions; - } - - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 top_slot_impressions = 8; - * @param int|string $var - * @return $this - */ - public function setTopSlotImpressions($var) - { - GPBUtil::checkInt64($var); - $this->top_slot_impressions = $var; - - return $this; - } - - /** - * Projected number of interactions. - * Only discovery advertising channel type supports this field. - * - * Generated from protobuf field int64 interactions = 9; - * @return int|string - */ - public function getInteractions() - { - return $this->interactions; - } - - /** - * Projected number of interactions. - * Only discovery advertising channel type supports this field. - * - * Generated from protobuf field int64 interactions = 9; - * @param int|string $var - * @return $this - */ - public function setInteractions($var) - { - GPBUtil::checkInt64($var); - $this->interactions = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BudgetSimulationPointList.php b/src/Google/Ads/GoogleAds/V15/Common/BudgetSimulationPointList.php deleted file mode 100644 index d5bff5b2f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BudgetSimulationPointList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.BudgetSimulationPointList - */ -class BudgetSimulationPointList extends \Google\Protobuf\Internal\Message -{ - /** - * Projected metrics for a series of budget amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.BudgetSimulationPoint points = 1; - */ - private $points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\BudgetSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $points - * Projected metrics for a series of budget amounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected metrics for a series of budget amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.BudgetSimulationPoint points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPoints() - { - return $this->points; - } - - /** - * Projected metrics for a series of budget amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.BudgetSimulationPoint points = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\BudgetSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\BudgetSimulationPoint::class); - $this->points = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BusinessNameFilter.php b/src/Google/Ads/GoogleAds/V15/Common/BusinessNameFilter.php deleted file mode 100644 index b69d753f8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BusinessNameFilter.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.common.BusinessNameFilter - */ -class BusinessNameFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Business name string to use for filtering. - * - * Generated from protobuf field string business_name = 1; - */ - protected $business_name = ''; - /** - * The type of string matching to use when filtering with business_name. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType filter_type = 2; - */ - protected $filter_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $business_name - * Business name string to use for filtering. - * @type int $filter_type - * The type of string matching to use when filtering with business_name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\FeedItemSetFilterTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Business name string to use for filtering. - * - * Generated from protobuf field string business_name = 1; - * @return string - */ - public function getBusinessName() - { - return $this->business_name; - } - - /** - * Business name string to use for filtering. - * - * Generated from protobuf field string business_name = 1; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * The type of string matching to use when filtering with business_name. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType filter_type = 2; - * @return int - */ - public function getFilterType() - { - return $this->filter_type; - } - - /** - * The type of string matching to use when filtering with business_name. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType filter_type = 2; - * @param int $var - * @return $this - */ - public function setFilterType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemSetStringFilterTypeEnum\FeedItemSetStringFilterType::class); - $this->filter_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileBusinessNameFilter.php b/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileBusinessNameFilter.php deleted file mode 100644 index e2c0fec94..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileBusinessNameFilter.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.common.BusinessProfileBusinessNameFilter - */ -class BusinessProfileBusinessNameFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Business name string to use for filtering. - * - * Generated from protobuf field string business_name = 1; - */ - protected $business_name = ''; - /** - * The type of string matching to use when filtering with business_name. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationStringFilterTypeEnum.LocationStringFilterType filter_type = 2; - */ - protected $filter_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $business_name - * Business name string to use for filtering. - * @type int $filter_type - * The type of string matching to use when filtering with business_name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Business name string to use for filtering. - * - * Generated from protobuf field string business_name = 1; - * @return string - */ - public function getBusinessName() - { - return $this->business_name; - } - - /** - * Business name string to use for filtering. - * - * Generated from protobuf field string business_name = 1; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * The type of string matching to use when filtering with business_name. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationStringFilterTypeEnum.LocationStringFilterType filter_type = 2; - * @return int - */ - public function getFilterType() - { - return $this->filter_type; - } - - /** - * The type of string matching to use when filtering with business_name. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationStringFilterTypeEnum.LocationStringFilterType filter_type = 2; - * @param int $var - * @return $this - */ - public function setFilterType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocationStringFilterTypeEnum\LocationStringFilterType::class); - $this->filter_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocation.php b/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocation.php deleted file mode 100644 index 86535a5ce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocation.php +++ /dev/null @@ -1,148 +0,0 @@ -google.ads.googleads.v15.common.BusinessProfileLocation - */ -class BusinessProfileLocation extends \Google\Protobuf\Internal\Message -{ - /** - * Advertiser specified label for the location on the Business Profile - * account. This is synced from the Business Profile account. - * - * Generated from protobuf field repeated string labels = 1; - */ - private $labels; - /** - * Business Profile store code of this location. This is synced from the - * Business Profile account. - * - * Generated from protobuf field string store_code = 2; - */ - protected $store_code = ''; - /** - * Listing ID of this Business Profile location. This is synced from the - * linked Business Profile account. - * - * Generated from protobuf field int64 listing_id = 3; - */ - protected $listing_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $labels - * Advertiser specified label for the location on the Business Profile - * account. This is synced from the Business Profile account. - * @type string $store_code - * Business Profile store code of this location. This is synced from the - * Business Profile account. - * @type int|string $listing_id - * Listing ID of this Business Profile location. This is synced from the - * linked Business Profile account. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Advertiser specified label for the location on the Business Profile - * account. This is synced from the Business Profile account. - * - * Generated from protobuf field repeated string labels = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Advertiser specified label for the location on the Business Profile - * account. This is synced from the Business Profile account. - * - * Generated from protobuf field repeated string labels = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Business Profile store code of this location. This is synced from the - * Business Profile account. - * - * Generated from protobuf field string store_code = 2; - * @return string - */ - public function getStoreCode() - { - return $this->store_code; - } - - /** - * Business Profile store code of this location. This is synced from the - * Business Profile account. - * - * Generated from protobuf field string store_code = 2; - * @param string $var - * @return $this - */ - public function setStoreCode($var) - { - GPBUtil::checkString($var, True); - $this->store_code = $var; - - return $this; - } - - /** - * Listing ID of this Business Profile location. This is synced from the - * linked Business Profile account. - * - * Generated from protobuf field int64 listing_id = 3; - * @return int|string - */ - public function getListingId() - { - return $this->listing_id; - } - - /** - * Listing ID of this Business Profile location. This is synced from the - * linked Business Profile account. - * - * Generated from protobuf field int64 listing_id = 3; - * @param int|string $var - * @return $this - */ - public function setListingId($var) - { - GPBUtil::checkInt64($var); - $this->listing_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocationGroup.php b/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocationGroup.php deleted file mode 100644 index 5d1910ccb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocationGroup.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.common.BusinessProfileLocationGroup - */ -class BusinessProfileLocationGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Filter for dynamic Business Profile location sets. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicBusinessProfileLocationGroupFilter dynamic_business_profile_location_group_filter = 1; - */ - protected $dynamic_business_profile_location_group_filter = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\DynamicBusinessProfileLocationGroupFilter $dynamic_business_profile_location_group_filter - * Filter for dynamic Business Profile location sets. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Filter for dynamic Business Profile location sets. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicBusinessProfileLocationGroupFilter dynamic_business_profile_location_group_filter = 1; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicBusinessProfileLocationGroupFilter|null - */ - public function getDynamicBusinessProfileLocationGroupFilter() - { - return $this->dynamic_business_profile_location_group_filter; - } - - public function hasDynamicBusinessProfileLocationGroupFilter() - { - return isset($this->dynamic_business_profile_location_group_filter); - } - - public function clearDynamicBusinessProfileLocationGroupFilter() - { - unset($this->dynamic_business_profile_location_group_filter); - } - - /** - * Filter for dynamic Business Profile location sets. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicBusinessProfileLocationGroupFilter dynamic_business_profile_location_group_filter = 1; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicBusinessProfileLocationGroupFilter $var - * @return $this - */ - public function setDynamicBusinessProfileLocationGroupFilter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicBusinessProfileLocationGroupFilter::class); - $this->dynamic_business_profile_location_group_filter = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocationSet.php b/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocationSet.php deleted file mode 100644 index 03cf10906..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/BusinessProfileLocationSet.php +++ /dev/null @@ -1,295 +0,0 @@ -google.ads.googleads.v15.common.BusinessProfileLocationSet - */ -class BusinessProfileLocationSet extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. The HTTP authorization token used to obtain - * authorization. - * - * Generated from protobuf field string http_authorization_token = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - */ - protected $http_authorization_token = ''; - /** - * Required. Immutable. Email address of a Google Business Profile account or - * email address of a manager of the Google Business Profile account. - * - * Generated from protobuf field string email_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $email_address = ''; - /** - * Used to filter Google Business Profile listings by business name. If - * businessNameFilter is set, only listings with a matching business name are - * candidates to be sync'd into Assets. - * - * Generated from protobuf field string business_name_filter = 3; - */ - protected $business_name_filter = ''; - /** - * Used to filter Google Business Profile listings by labels. If entries exist - * in labelFilters, only listings that have any of the labels set are - * candidates to be synchronized into Assets. If no entries exist in - * labelFilters, then all listings are candidates for syncing. - * Label filters are OR'ed together. - * - * Generated from protobuf field repeated string label_filters = 4; - */ - private $label_filters; - /** - * Used to filter Google Business Profile listings by listing id. If entries - * exist in listingIdFilters, only listings specified by the filters are - * candidates to be synchronized into Assets. If no entries exist in - * listingIdFilters, then all listings are candidates for syncing. - * Listing ID filters are OR'ed together. - * - * Generated from protobuf field repeated int64 listing_id_filters = 5; - */ - private $listing_id_filters; - /** - * Immutable. The account ID of the managed business whose locations are to be - * used. If this field is not set, then all businesses accessible by the user - * (specified by the emailAddress) are used. - * - * Generated from protobuf field string business_account_id = 6 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $business_account_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $http_authorization_token - * Required. Immutable. The HTTP authorization token used to obtain - * authorization. - * @type string $email_address - * Required. Immutable. Email address of a Google Business Profile account or - * email address of a manager of the Google Business Profile account. - * @type string $business_name_filter - * Used to filter Google Business Profile listings by business name. If - * businessNameFilter is set, only listings with a matching business name are - * candidates to be sync'd into Assets. - * @type array|\Google\Protobuf\Internal\RepeatedField $label_filters - * Used to filter Google Business Profile listings by labels. If entries exist - * in labelFilters, only listings that have any of the labels set are - * candidates to be synchronized into Assets. If no entries exist in - * labelFilters, then all listings are candidates for syncing. - * Label filters are OR'ed together. - * @type array|array|\Google\Protobuf\Internal\RepeatedField $listing_id_filters - * Used to filter Google Business Profile listings by listing id. If entries - * exist in listingIdFilters, only listings specified by the filters are - * candidates to be synchronized into Assets. If no entries exist in - * listingIdFilters, then all listings are candidates for syncing. - * Listing ID filters are OR'ed together. - * @type string $business_account_id - * Immutable. The account ID of the managed business whose locations are to be - * used. If this field is not set, then all businesses accessible by the user - * (specified by the emailAddress) are used. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. The HTTP authorization token used to obtain - * authorization. - * - * Generated from protobuf field string http_authorization_token = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getHttpAuthorizationToken() - { - return $this->http_authorization_token; - } - - /** - * Required. Immutable. The HTTP authorization token used to obtain - * authorization. - * - * Generated from protobuf field string http_authorization_token = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setHttpAuthorizationToken($var) - { - GPBUtil::checkString($var, True); - $this->http_authorization_token = $var; - - return $this; - } - - /** - * Required. Immutable. Email address of a Google Business Profile account or - * email address of a manager of the Google Business Profile account. - * - * Generated from protobuf field string email_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getEmailAddress() - { - return $this->email_address; - } - - /** - * Required. Immutable. Email address of a Google Business Profile account or - * email address of a manager of the Google Business Profile account. - * - * Generated from protobuf field string email_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setEmailAddress($var) - { - GPBUtil::checkString($var, True); - $this->email_address = $var; - - return $this; - } - - /** - * Used to filter Google Business Profile listings by business name. If - * businessNameFilter is set, only listings with a matching business name are - * candidates to be sync'd into Assets. - * - * Generated from protobuf field string business_name_filter = 3; - * @return string - */ - public function getBusinessNameFilter() - { - return $this->business_name_filter; - } - - /** - * Used to filter Google Business Profile listings by business name. If - * businessNameFilter is set, only listings with a matching business name are - * candidates to be sync'd into Assets. - * - * Generated from protobuf field string business_name_filter = 3; - * @param string $var - * @return $this - */ - public function setBusinessNameFilter($var) - { - GPBUtil::checkString($var, True); - $this->business_name_filter = $var; - - return $this; - } - - /** - * Used to filter Google Business Profile listings by labels. If entries exist - * in labelFilters, only listings that have any of the labels set are - * candidates to be synchronized into Assets. If no entries exist in - * labelFilters, then all listings are candidates for syncing. - * Label filters are OR'ed together. - * - * Generated from protobuf field repeated string label_filters = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabelFilters() - { - return $this->label_filters; - } - - /** - * Used to filter Google Business Profile listings by labels. If entries exist - * in labelFilters, only listings that have any of the labels set are - * candidates to be synchronized into Assets. If no entries exist in - * labelFilters, then all listings are candidates for syncing. - * Label filters are OR'ed together. - * - * Generated from protobuf field repeated string label_filters = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabelFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->label_filters = $arr; - - return $this; - } - - /** - * Used to filter Google Business Profile listings by listing id. If entries - * exist in listingIdFilters, only listings specified by the filters are - * candidates to be synchronized into Assets. If no entries exist in - * listingIdFilters, then all listings are candidates for syncing. - * Listing ID filters are OR'ed together. - * - * Generated from protobuf field repeated int64 listing_id_filters = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getListingIdFilters() - { - return $this->listing_id_filters; - } - - /** - * Used to filter Google Business Profile listings by listing id. If entries - * exist in listingIdFilters, only listings specified by the filters are - * candidates to be synchronized into Assets. If no entries exist in - * listingIdFilters, then all listings are candidates for syncing. - * Listing ID filters are OR'ed together. - * - * Generated from protobuf field repeated int64 listing_id_filters = 5; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setListingIdFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->listing_id_filters = $arr; - - return $this; - } - - /** - * Immutable. The account ID of the managed business whose locations are to be - * used. If this field is not set, then all businesses accessible by the user - * (specified by the emailAddress) are used. - * - * Generated from protobuf field string business_account_id = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getBusinessAccountId() - { - return $this->business_account_id; - } - - /** - * Immutable. The account ID of the managed business whose locations are to be - * used. If this field is not set, then all businesses accessible by the user - * (specified by the emailAddress) are used. - * - * Generated from protobuf field string business_account_id = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setBusinessAccountId($var) - { - GPBUtil::checkString($var, True); - $this->business_account_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CallAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/CallAdInfo.php deleted file mode 100644 index 13a95d5d0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CallAdInfo.php +++ /dev/null @@ -1,541 +0,0 @@ -google.ads.googleads.v15.common.CallAdInfo - */ -class CallAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The country code in the ad. - * - * Generated from protobuf field string country_code = 1; - */ - protected $country_code = ''; - /** - * The phone number in the ad. - * - * Generated from protobuf field string phone_number = 2; - */ - protected $phone_number = ''; - /** - * The business name in the ad. - * - * Generated from protobuf field string business_name = 3; - */ - protected $business_name = ''; - /** - * First headline in the ad. - * - * Generated from protobuf field string headline1 = 11; - */ - protected $headline1 = ''; - /** - * Second headline in the ad. - * - * Generated from protobuf field string headline2 = 12; - */ - protected $headline2 = ''; - /** - * The first line of the ad's description. - * - * Generated from protobuf field string description1 = 4; - */ - protected $description1 = ''; - /** - * The second line of the ad's description. - * - * Generated from protobuf field string description2 = 5; - */ - protected $description2 = ''; - /** - * Whether to enable call tracking for the creative. Enabling call - * tracking also enables call conversions. - * - * Generated from protobuf field bool call_tracked = 6; - */ - protected $call_tracked = false; - /** - * Whether to disable call conversion for the creative. - * If set to `true`, disables call conversions even when `call_tracked` is - * `true`. - * If `call_tracked` is `false`, this field is ignored. - * - * Generated from protobuf field bool disable_call_conversion = 7; - */ - protected $disable_call_conversion = false; - /** - * The URL to be used for phone number verification. - * - * Generated from protobuf field string phone_number_verification_url = 8; - */ - protected $phone_number_verification_url = ''; - /** - * The conversion action to attribute a call conversion to. If not set a - * default conversion action is used. This field only has effect if - * `call_tracked` is set to `true`. Otherwise this field is ignored. - * - * Generated from protobuf field string conversion_action = 9; - */ - protected $conversion_action = ''; - /** - * The call conversion behavior of this call ad. It can use its own call - * conversion setting, inherit the account level setting, or be disabled. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10; - */ - protected $conversion_reporting_state = 0; - /** - * First part of text that can be appended to the URL in the ad. Optional. - * - * Generated from protobuf field string path1 = 13; - */ - protected $path1 = ''; - /** - * Second part of text that can be appended to the URL in the ad. This field - * can only be set when `path1` is also set. Optional. - * - * Generated from protobuf field string path2 = 14; - */ - protected $path2 = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $country_code - * The country code in the ad. - * @type string $phone_number - * The phone number in the ad. - * @type string $business_name - * The business name in the ad. - * @type string $headline1 - * First headline in the ad. - * @type string $headline2 - * Second headline in the ad. - * @type string $description1 - * The first line of the ad's description. - * @type string $description2 - * The second line of the ad's description. - * @type bool $call_tracked - * Whether to enable call tracking for the creative. Enabling call - * tracking also enables call conversions. - * @type bool $disable_call_conversion - * Whether to disable call conversion for the creative. - * If set to `true`, disables call conversions even when `call_tracked` is - * `true`. - * If `call_tracked` is `false`, this field is ignored. - * @type string $phone_number_verification_url - * The URL to be used for phone number verification. - * @type string $conversion_action - * The conversion action to attribute a call conversion to. If not set a - * default conversion action is used. This field only has effect if - * `call_tracked` is set to `true`. Otherwise this field is ignored. - * @type int $conversion_reporting_state - * The call conversion behavior of this call ad. It can use its own call - * conversion setting, inherit the account level setting, or be disabled. - * @type string $path1 - * First part of text that can be appended to the URL in the ad. Optional. - * @type string $path2 - * Second part of text that can be appended to the URL in the ad. This field - * can only be set when `path1` is also set. Optional. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The country code in the ad. - * - * Generated from protobuf field string country_code = 1; - * @return string - */ - public function getCountryCode() - { - return $this->country_code; - } - - /** - * The country code in the ad. - * - * Generated from protobuf field string country_code = 1; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * The phone number in the ad. - * - * Generated from protobuf field string phone_number = 2; - * @return string - */ - public function getPhoneNumber() - { - return $this->phone_number; - } - - /** - * The phone number in the ad. - * - * Generated from protobuf field string phone_number = 2; - * @param string $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->phone_number = $var; - - return $this; - } - - /** - * The business name in the ad. - * - * Generated from protobuf field string business_name = 3; - * @return string - */ - public function getBusinessName() - { - return $this->business_name; - } - - /** - * The business name in the ad. - * - * Generated from protobuf field string business_name = 3; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * First headline in the ad. - * - * Generated from protobuf field string headline1 = 11; - * @return string - */ - public function getHeadline1() - { - return $this->headline1; - } - - /** - * First headline in the ad. - * - * Generated from protobuf field string headline1 = 11; - * @param string $var - * @return $this - */ - public function setHeadline1($var) - { - GPBUtil::checkString($var, True); - $this->headline1 = $var; - - return $this; - } - - /** - * Second headline in the ad. - * - * Generated from protobuf field string headline2 = 12; - * @return string - */ - public function getHeadline2() - { - return $this->headline2; - } - - /** - * Second headline in the ad. - * - * Generated from protobuf field string headline2 = 12; - * @param string $var - * @return $this - */ - public function setHeadline2($var) - { - GPBUtil::checkString($var, True); - $this->headline2 = $var; - - return $this; - } - - /** - * The first line of the ad's description. - * - * Generated from protobuf field string description1 = 4; - * @return string - */ - public function getDescription1() - { - return $this->description1; - } - - /** - * The first line of the ad's description. - * - * Generated from protobuf field string description1 = 4; - * @param string $var - * @return $this - */ - public function setDescription1($var) - { - GPBUtil::checkString($var, True); - $this->description1 = $var; - - return $this; - } - - /** - * The second line of the ad's description. - * - * Generated from protobuf field string description2 = 5; - * @return string - */ - public function getDescription2() - { - return $this->description2; - } - - /** - * The second line of the ad's description. - * - * Generated from protobuf field string description2 = 5; - * @param string $var - * @return $this - */ - public function setDescription2($var) - { - GPBUtil::checkString($var, True); - $this->description2 = $var; - - return $this; - } - - /** - * Whether to enable call tracking for the creative. Enabling call - * tracking also enables call conversions. - * - * Generated from protobuf field bool call_tracked = 6; - * @return bool - */ - public function getCallTracked() - { - return $this->call_tracked; - } - - /** - * Whether to enable call tracking for the creative. Enabling call - * tracking also enables call conversions. - * - * Generated from protobuf field bool call_tracked = 6; - * @param bool $var - * @return $this - */ - public function setCallTracked($var) - { - GPBUtil::checkBool($var); - $this->call_tracked = $var; - - return $this; - } - - /** - * Whether to disable call conversion for the creative. - * If set to `true`, disables call conversions even when `call_tracked` is - * `true`. - * If `call_tracked` is `false`, this field is ignored. - * - * Generated from protobuf field bool disable_call_conversion = 7; - * @return bool - */ - public function getDisableCallConversion() - { - return $this->disable_call_conversion; - } - - /** - * Whether to disable call conversion for the creative. - * If set to `true`, disables call conversions even when `call_tracked` is - * `true`. - * If `call_tracked` is `false`, this field is ignored. - * - * Generated from protobuf field bool disable_call_conversion = 7; - * @param bool $var - * @return $this - */ - public function setDisableCallConversion($var) - { - GPBUtil::checkBool($var); - $this->disable_call_conversion = $var; - - return $this; - } - - /** - * The URL to be used for phone number verification. - * - * Generated from protobuf field string phone_number_verification_url = 8; - * @return string - */ - public function getPhoneNumberVerificationUrl() - { - return $this->phone_number_verification_url; - } - - /** - * The URL to be used for phone number verification. - * - * Generated from protobuf field string phone_number_verification_url = 8; - * @param string $var - * @return $this - */ - public function setPhoneNumberVerificationUrl($var) - { - GPBUtil::checkString($var, True); - $this->phone_number_verification_url = $var; - - return $this; - } - - /** - * The conversion action to attribute a call conversion to. If not set a - * default conversion action is used. This field only has effect if - * `call_tracked` is set to `true`. Otherwise this field is ignored. - * - * Generated from protobuf field string conversion_action = 9; - * @return string - */ - public function getConversionAction() - { - return $this->conversion_action; - } - - /** - * The conversion action to attribute a call conversion to. If not set a - * default conversion action is used. This field only has effect if - * `call_tracked` is set to `true`. Otherwise this field is ignored. - * - * Generated from protobuf field string conversion_action = 9; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * The call conversion behavior of this call ad. It can use its own call - * conversion setting, inherit the account level setting, or be disabled. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10; - * @return int - */ - public function getConversionReportingState() - { - return $this->conversion_reporting_state; - } - - /** - * The call conversion behavior of this call ad. It can use its own call - * conversion setting, inherit the account level setting, or be disabled. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10; - * @param int $var - * @return $this - */ - public function setConversionReportingState($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CallConversionReportingStateEnum\CallConversionReportingState::class); - $this->conversion_reporting_state = $var; - - return $this; - } - - /** - * First part of text that can be appended to the URL in the ad. Optional. - * - * Generated from protobuf field string path1 = 13; - * @return string - */ - public function getPath1() - { - return $this->path1; - } - - /** - * First part of text that can be appended to the URL in the ad. Optional. - * - * Generated from protobuf field string path1 = 13; - * @param string $var - * @return $this - */ - public function setPath1($var) - { - GPBUtil::checkString($var, True); - $this->path1 = $var; - - return $this; - } - - /** - * Second part of text that can be appended to the URL in the ad. This field - * can only be set when `path1` is also set. Optional. - * - * Generated from protobuf field string path2 = 14; - * @return string - */ - public function getPath2() - { - return $this->path2; - } - - /** - * Second part of text that can be appended to the URL in the ad. This field - * can only be set when `path1` is also set. Optional. - * - * Generated from protobuf field string path2 = 14; - * @param string $var - * @return $this - */ - public function setPath2($var) - { - GPBUtil::checkString($var, True); - $this->path2 = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CallAsset.php b/src/Google/Ads/GoogleAds/V15/Common/CallAsset.php deleted file mode 100644 index fdbb1e521..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CallAsset.php +++ /dev/null @@ -1,235 +0,0 @@ -google.ads.googleads.v15.common.CallAsset - */ -class CallAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Two-letter country code of the phone number. Examples: 'US', - * 'us'. - * - * Generated from protobuf field string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $country_code = ''; - /** - * Required. The advertiser's raw phone number. Examples: '1234567890', - * '(123)456-7890' - * - * Generated from protobuf field string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $phone_number = ''; - /** - * Indicates whether this CallAsset should use its own call conversion - * setting, follow the account level setting, or disable call conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; - */ - protected $call_conversion_reporting_state = 0; - /** - * The conversion action to attribute a call conversion to. If not set, the - * default conversion action is used. This field only has effect if - * call_conversion_reporting_state is set to - * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - * - * Generated from protobuf field string call_conversion_action = 4 [(.google.api.resource_reference) = { - */ - protected $call_conversion_action = ''; - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 5; - */ - private $ad_schedule_targets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $country_code - * Required. Two-letter country code of the phone number. Examples: 'US', - * 'us'. - * @type string $phone_number - * Required. The advertiser's raw phone number. Examples: '1234567890', - * '(123)456-7890' - * @type int $call_conversion_reporting_state - * Indicates whether this CallAsset should use its own call conversion - * setting, follow the account level setting, or disable call conversion. - * @type string $call_conversion_action - * The conversion action to attribute a call conversion to. If not set, the - * default conversion action is used. This field only has effect if - * call_conversion_reporting_state is set to - * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $ad_schedule_targets - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Two-letter country code of the phone number. Examples: 'US', - * 'us'. - * - * Generated from protobuf field string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCountryCode() - { - return $this->country_code; - } - - /** - * Required. Two-letter country code of the phone number. Examples: 'US', - * 'us'. - * - * Generated from protobuf field string country_code = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * Required. The advertiser's raw phone number. Examples: '1234567890', - * '(123)456-7890' - * - * Generated from protobuf field string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPhoneNumber() - { - return $this->phone_number; - } - - /** - * Required. The advertiser's raw phone number. Examples: '1234567890', - * '(123)456-7890' - * - * Generated from protobuf field string phone_number = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->phone_number = $var; - - return $this; - } - - /** - * Indicates whether this CallAsset should use its own call conversion - * setting, follow the account level setting, or disable call conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; - * @return int - */ - public function getCallConversionReportingState() - { - return $this->call_conversion_reporting_state; - } - - /** - * Indicates whether this CallAsset should use its own call conversion - * setting, follow the account level setting, or disable call conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; - * @param int $var - * @return $this - */ - public function setCallConversionReportingState($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CallConversionReportingStateEnum\CallConversionReportingState::class); - $this->call_conversion_reporting_state = $var; - - return $this; - } - - /** - * The conversion action to attribute a call conversion to. If not set, the - * default conversion action is used. This field only has effect if - * call_conversion_reporting_state is set to - * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - * - * Generated from protobuf field string call_conversion_action = 4 [(.google.api.resource_reference) = { - * @return string - */ - public function getCallConversionAction() - { - return $this->call_conversion_action; - } - - /** - * The conversion action to attribute a call conversion to. If not set, the - * default conversion action is used. This field only has effect if - * call_conversion_reporting_state is set to - * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - * - * Generated from protobuf field string call_conversion_action = 4 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCallConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->call_conversion_action = $var; - - return $this; - } - - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdScheduleTargets() - { - return $this->ad_schedule_targets; - } - - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdScheduleTargets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo::class); - $this->ad_schedule_targets = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CallFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/CallFeedItem.php deleted file mode 100644 index 950bf3393..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CallFeedItem.php +++ /dev/null @@ -1,319 +0,0 @@ -google.ads.googleads.v15.common.CallFeedItem - */ -class CallFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The advertiser's phone number to append to the ad. - * This string must not be empty. - * - * Generated from protobuf field optional string phone_number = 7; - */ - protected $phone_number = null; - /** - * Uppercase two-letter country code of the advertiser's phone number. - * This string must not be empty. - * - * Generated from protobuf field optional string country_code = 8; - */ - protected $country_code = null; - /** - * Indicates whether call tracking is enabled. By default, call tracking is - * not enabled. - * - * Generated from protobuf field optional bool call_tracking_enabled = 9; - */ - protected $call_tracking_enabled = null; - /** - * The conversion action to attribute a call conversion to. If not set a - * default conversion action is used. This field only has effect if - * call_tracking_enabled is set to true. Otherwise this field is ignored. - * - * Generated from protobuf field optional string call_conversion_action = 10; - */ - protected $call_conversion_action = null; - /** - * If true, disable call conversion tracking. call_conversion_action should - * not be set if this is true. Optional. - * - * Generated from protobuf field optional bool call_conversion_tracking_disabled = 11; - */ - protected $call_conversion_tracking_disabled = null; - /** - * Enum value that indicates whether this call extension uses its own call - * conversion setting (or just have call conversion disabled), or following - * the account level setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 6; - */ - protected $call_conversion_reporting_state = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $phone_number - * The advertiser's phone number to append to the ad. - * This string must not be empty. - * @type string $country_code - * Uppercase two-letter country code of the advertiser's phone number. - * This string must not be empty. - * @type bool $call_tracking_enabled - * Indicates whether call tracking is enabled. By default, call tracking is - * not enabled. - * @type string $call_conversion_action - * The conversion action to attribute a call conversion to. If not set a - * default conversion action is used. This field only has effect if - * call_tracking_enabled is set to true. Otherwise this field is ignored. - * @type bool $call_conversion_tracking_disabled - * If true, disable call conversion tracking. call_conversion_action should - * not be set if this is true. Optional. - * @type int $call_conversion_reporting_state - * Enum value that indicates whether this call extension uses its own call - * conversion setting (or just have call conversion disabled), or following - * the account level setting. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * The advertiser's phone number to append to the ad. - * This string must not be empty. - * - * Generated from protobuf field optional string phone_number = 7; - * @return string - */ - public function getPhoneNumber() - { - return isset($this->phone_number) ? $this->phone_number : ''; - } - - public function hasPhoneNumber() - { - return isset($this->phone_number); - } - - public function clearPhoneNumber() - { - unset($this->phone_number); - } - - /** - * The advertiser's phone number to append to the ad. - * This string must not be empty. - * - * Generated from protobuf field optional string phone_number = 7; - * @param string $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->phone_number = $var; - - return $this; - } - - /** - * Uppercase two-letter country code of the advertiser's phone number. - * This string must not be empty. - * - * Generated from protobuf field optional string country_code = 8; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Uppercase two-letter country code of the advertiser's phone number. - * This string must not be empty. - * - * Generated from protobuf field optional string country_code = 8; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * Indicates whether call tracking is enabled. By default, call tracking is - * not enabled. - * - * Generated from protobuf field optional bool call_tracking_enabled = 9; - * @return bool - */ - public function getCallTrackingEnabled() - { - return isset($this->call_tracking_enabled) ? $this->call_tracking_enabled : false; - } - - public function hasCallTrackingEnabled() - { - return isset($this->call_tracking_enabled); - } - - public function clearCallTrackingEnabled() - { - unset($this->call_tracking_enabled); - } - - /** - * Indicates whether call tracking is enabled. By default, call tracking is - * not enabled. - * - * Generated from protobuf field optional bool call_tracking_enabled = 9; - * @param bool $var - * @return $this - */ - public function setCallTrackingEnabled($var) - { - GPBUtil::checkBool($var); - $this->call_tracking_enabled = $var; - - return $this; - } - - /** - * The conversion action to attribute a call conversion to. If not set a - * default conversion action is used. This field only has effect if - * call_tracking_enabled is set to true. Otherwise this field is ignored. - * - * Generated from protobuf field optional string call_conversion_action = 10; - * @return string - */ - public function getCallConversionAction() - { - return isset($this->call_conversion_action) ? $this->call_conversion_action : ''; - } - - public function hasCallConversionAction() - { - return isset($this->call_conversion_action); - } - - public function clearCallConversionAction() - { - unset($this->call_conversion_action); - } - - /** - * The conversion action to attribute a call conversion to. If not set a - * default conversion action is used. This field only has effect if - * call_tracking_enabled is set to true. Otherwise this field is ignored. - * - * Generated from protobuf field optional string call_conversion_action = 10; - * @param string $var - * @return $this - */ - public function setCallConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->call_conversion_action = $var; - - return $this; - } - - /** - * If true, disable call conversion tracking. call_conversion_action should - * not be set if this is true. Optional. - * - * Generated from protobuf field optional bool call_conversion_tracking_disabled = 11; - * @return bool - */ - public function getCallConversionTrackingDisabled() - { - return isset($this->call_conversion_tracking_disabled) ? $this->call_conversion_tracking_disabled : false; - } - - public function hasCallConversionTrackingDisabled() - { - return isset($this->call_conversion_tracking_disabled); - } - - public function clearCallConversionTrackingDisabled() - { - unset($this->call_conversion_tracking_disabled); - } - - /** - * If true, disable call conversion tracking. call_conversion_action should - * not be set if this is true. Optional. - * - * Generated from protobuf field optional bool call_conversion_tracking_disabled = 11; - * @param bool $var - * @return $this - */ - public function setCallConversionTrackingDisabled($var) - { - GPBUtil::checkBool($var); - $this->call_conversion_tracking_disabled = $var; - - return $this; - } - - /** - * Enum value that indicates whether this call extension uses its own call - * conversion setting (or just have call conversion disabled), or following - * the account level setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 6; - * @return int - */ - public function getCallConversionReportingState() - { - return $this->call_conversion_reporting_state; - } - - /** - * Enum value that indicates whether this call extension uses its own call - * conversion setting (or just have call conversion disabled), or following - * the account level setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 6; - * @param int $var - * @return $this - */ - public function setCallConversionReportingState($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CallConversionReportingStateEnum\CallConversionReportingState::class); - $this->call_conversion_reporting_state = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CallToActionAsset.php b/src/Google/Ads/GoogleAds/V15/Common/CallToActionAsset.php deleted file mode 100644 index f9657f053..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CallToActionAsset.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.CallToActionAsset - */ -class CallToActionAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Call to action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 1; - */ - protected $call_to_action = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $call_to_action - * Call to action. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Call to action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 1; - * @return int - */ - public function getCallToAction() - { - return $this->call_to_action; - } - - /** - * Call to action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 1; - * @param int $var - * @return $this - */ - public function setCallToAction($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CallToActionTypeEnum\CallToActionType::class); - $this->call_to_action = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CalloutAsset.php b/src/Google/Ads/GoogleAds/V15/Common/CalloutAsset.php deleted file mode 100644 index 5205d8a7e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CalloutAsset.php +++ /dev/null @@ -1,189 +0,0 @@ -google.ads.googleads.v15.common.CalloutAsset - */ -class CalloutAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string callout_text = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $callout_text = ''; - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 2; - */ - protected $start_date = ''; - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 3; - */ - protected $end_date = ''; - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 4; - */ - private $ad_schedule_targets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $callout_text - * Required. The callout text. - * The length of this string should be between 1 and 25, inclusive. - * @type string $start_date - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * @type string $end_date - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $ad_schedule_targets - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string callout_text = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCalloutText() - { - return $this->callout_text; - } - - /** - * Required. The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string callout_text = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCalloutText($var) - { - GPBUtil::checkString($var, True); - $this->callout_text = $var; - - return $this; - } - - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 2; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 2; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 3; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 3; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdScheduleTargets() - { - return $this->ad_schedule_targets; - } - - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdScheduleTargets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo::class); - $this->ad_schedule_targets = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CalloutFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/CalloutFeedItem.php deleted file mode 100644 index 4106711d4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CalloutFeedItem.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.common.CalloutFeedItem - */ -class CalloutFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string callout_text = 2; - */ - protected $callout_text = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $callout_text - * The callout text. - * The length of this string should be between 1 and 25, inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string callout_text = 2; - * @return string - */ - public function getCalloutText() - { - return isset($this->callout_text) ? $this->callout_text : ''; - } - - public function hasCalloutText() - { - return isset($this->callout_text); - } - - public function clearCalloutText() - { - unset($this->callout_text); - } - - /** - * The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string callout_text = 2; - * @param string $var - * @return $this - */ - public function setCalloutText($var) - { - GPBUtil::checkString($var, True); - $this->callout_text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CarrierInfo.php b/src/Google/Ads/GoogleAds/V15/Common/CarrierInfo.php deleted file mode 100644 index 681d0ea54..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CarrierInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.CarrierInfo - */ -class CarrierInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The Carrier constant resource name. - * - * Generated from protobuf field optional string carrier_constant = 2; - */ - protected $carrier_constant = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $carrier_constant - * The Carrier constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The Carrier constant resource name. - * - * Generated from protobuf field optional string carrier_constant = 2; - * @return string - */ - public function getCarrierConstant() - { - return isset($this->carrier_constant) ? $this->carrier_constant : ''; - } - - public function hasCarrierConstant() - { - return isset($this->carrier_constant); - } - - public function clearCarrierConstant() - { - unset($this->carrier_constant); - } - - /** - * The Carrier constant resource name. - * - * Generated from protobuf field optional string carrier_constant = 2; - * @param string $var - * @return $this - */ - public function setCarrierConstant($var) - { - GPBUtil::checkString($var, True); - $this->carrier_constant = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ChainFilter.php b/src/Google/Ads/GoogleAds/V15/Common/ChainFilter.php deleted file mode 100644 index 3c9d6d922..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ChainFilter.php +++ /dev/null @@ -1,118 +0,0 @@ -google.ads.googleads.v15.common.ChainFilter - */ -class ChainFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Used to filter chain locations by chain id. Only chain locations - * that belong to the specified chain will be in the asset set. - * - * Generated from protobuf field int64 chain_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $chain_id = 0; - /** - * Used to filter chain locations by location attributes. - * Only chain locations that belong to all of the specified attribute(s) will - * be in the asset set. If this field is empty, it means no filtering on this - * field. - * - * Generated from protobuf field repeated string location_attributes = 2; - */ - private $location_attributes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $chain_id - * Required. Used to filter chain locations by chain id. Only chain locations - * that belong to the specified chain will be in the asset set. - * @type array|\Google\Protobuf\Internal\RepeatedField $location_attributes - * Used to filter chain locations by location attributes. - * Only chain locations that belong to all of the specified attribute(s) will - * be in the asset set. If this field is empty, it means no filtering on this - * field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Used to filter chain locations by chain id. Only chain locations - * that belong to the specified chain will be in the asset set. - * - * Generated from protobuf field int64 chain_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int|string - */ - public function getChainId() - { - return $this->chain_id; - } - - /** - * Required. Used to filter chain locations by chain id. Only chain locations - * that belong to the specified chain will be in the asset set. - * - * Generated from protobuf field int64 chain_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int|string $var - * @return $this - */ - public function setChainId($var) - { - GPBUtil::checkInt64($var); - $this->chain_id = $var; - - return $this; - } - - /** - * Used to filter chain locations by location attributes. - * Only chain locations that belong to all of the specified attribute(s) will - * be in the asset set. If this field is empty, it means no filtering on this - * field. - * - * Generated from protobuf field repeated string location_attributes = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLocationAttributes() - { - return $this->location_attributes; - } - - /** - * Used to filter chain locations by location attributes. - * Only chain locations that belong to all of the specified attribute(s) will - * be in the asset set. If this field is empty, it means no filtering on this - * field. - * - * Generated from protobuf field repeated string location_attributes = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLocationAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->location_attributes = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ChainLocationGroup.php b/src/Google/Ads/GoogleAds/V15/Common/ChainLocationGroup.php deleted file mode 100644 index 76d325978..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ChainLocationGroup.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.ChainLocationGroup - */ -class ChainLocationGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Used to filter chain locations by chain ids. - * Only Locations that belong to the specified chain(s) will be in the asset - * set. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1; - */ - private $dynamic_chain_location_group_filters; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\ChainFilter>|\Google\Protobuf\Internal\RepeatedField $dynamic_chain_location_group_filters - * Used to filter chain locations by chain ids. - * Only Locations that belong to the specified chain(s) will be in the asset - * set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Used to filter chain locations by chain ids. - * Only Locations that belong to the specified chain(s) will be in the asset - * set. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDynamicChainLocationGroupFilters() - { - return $this->dynamic_chain_location_group_filters; - } - - /** - * Used to filter chain locations by chain ids. - * Only Locations that belong to the specified chain(s) will be in the asset - * set. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\ChainFilter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDynamicChainLocationGroupFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\ChainFilter::class); - $this->dynamic_chain_location_group_filters = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ChainSet.php b/src/Google/Ads/GoogleAds/V15/Common/ChainSet.php deleted file mode 100644 index 8b2697551..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ChainSet.php +++ /dev/null @@ -1,105 +0,0 @@ -google.ads.googleads.v15.common.ChainSet - */ -class ChainSet extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. Relationship type the specified chains have with this - * advertiser. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChainRelationshipTypeEnum.ChainRelationshipType relationship_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $relationship_type = 0; - /** - * Required. A list of chain level filters, all filters are OR'ed together. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ChainFilter chains = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $chains; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $relationship_type - * Required. Immutable. Relationship type the specified chains have with this - * advertiser. - * @type array<\Google\Ads\GoogleAds\V15\Common\ChainFilter>|\Google\Protobuf\Internal\RepeatedField $chains - * Required. A list of chain level filters, all filters are OR'ed together. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. Relationship type the specified chains have with this - * advertiser. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChainRelationshipTypeEnum.ChainRelationshipType relationship_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getRelationshipType() - { - return $this->relationship_type; - } - - /** - * Required. Immutable. Relationship type the specified chains have with this - * advertiser. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChainRelationshipTypeEnum.ChainRelationshipType relationship_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setRelationshipType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ChainRelationshipTypeEnum\ChainRelationshipType::class); - $this->relationship_type = $var; - - return $this; - } - - /** - * Required. A list of chain level filters, all filters are OR'ed together. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ChainFilter chains = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getChains() - { - return $this->chains; - } - - /** - * Required. A list of chain level filters, all filters are OR'ed together. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ChainFilter chains = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Common\ChainFilter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setChains($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\ChainFilter::class); - $this->chains = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ClickLocation.php b/src/Google/Ads/GoogleAds/V15/Common/ClickLocation.php deleted file mode 100644 index 91440c4e8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ClickLocation.php +++ /dev/null @@ -1,253 +0,0 @@ -google.ads.googleads.v15.common.ClickLocation - */ -class ClickLocation extends \Google\Protobuf\Internal\Message -{ - /** - * The city location criterion associated with the impression. - * - * Generated from protobuf field optional string city = 6; - */ - protected $city = null; - /** - * The country location criterion associated with the impression. - * - * Generated from protobuf field optional string country = 7; - */ - protected $country = null; - /** - * The metro location criterion associated with the impression. - * - * Generated from protobuf field optional string metro = 8; - */ - protected $metro = null; - /** - * The most specific location criterion associated with the impression. - * - * Generated from protobuf field optional string most_specific = 9; - */ - protected $most_specific = null; - /** - * The region location criterion associated with the impression. - * - * Generated from protobuf field optional string region = 10; - */ - protected $region = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $city - * The city location criterion associated with the impression. - * @type string $country - * The country location criterion associated with the impression. - * @type string $metro - * The metro location criterion associated with the impression. - * @type string $most_specific - * The most specific location criterion associated with the impression. - * @type string $region - * The region location criterion associated with the impression. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\ClickLocation::initOnce(); - parent::__construct($data); - } - - /** - * The city location criterion associated with the impression. - * - * Generated from protobuf field optional string city = 6; - * @return string - */ - public function getCity() - { - return isset($this->city) ? $this->city : ''; - } - - public function hasCity() - { - return isset($this->city); - } - - public function clearCity() - { - unset($this->city); - } - - /** - * The city location criterion associated with the impression. - * - * Generated from protobuf field optional string city = 6; - * @param string $var - * @return $this - */ - public function setCity($var) - { - GPBUtil::checkString($var, True); - $this->city = $var; - - return $this; - } - - /** - * The country location criterion associated with the impression. - * - * Generated from protobuf field optional string country = 7; - * @return string - */ - public function getCountry() - { - return isset($this->country) ? $this->country : ''; - } - - public function hasCountry() - { - return isset($this->country); - } - - public function clearCountry() - { - unset($this->country); - } - - /** - * The country location criterion associated with the impression. - * - * Generated from protobuf field optional string country = 7; - * @param string $var - * @return $this - */ - public function setCountry($var) - { - GPBUtil::checkString($var, True); - $this->country = $var; - - return $this; - } - - /** - * The metro location criterion associated with the impression. - * - * Generated from protobuf field optional string metro = 8; - * @return string - */ - public function getMetro() - { - return isset($this->metro) ? $this->metro : ''; - } - - public function hasMetro() - { - return isset($this->metro); - } - - public function clearMetro() - { - unset($this->metro); - } - - /** - * The metro location criterion associated with the impression. - * - * Generated from protobuf field optional string metro = 8; - * @param string $var - * @return $this - */ - public function setMetro($var) - { - GPBUtil::checkString($var, True); - $this->metro = $var; - - return $this; - } - - /** - * The most specific location criterion associated with the impression. - * - * Generated from protobuf field optional string most_specific = 9; - * @return string - */ - public function getMostSpecific() - { - return isset($this->most_specific) ? $this->most_specific : ''; - } - - public function hasMostSpecific() - { - return isset($this->most_specific); - } - - public function clearMostSpecific() - { - unset($this->most_specific); - } - - /** - * The most specific location criterion associated with the impression. - * - * Generated from protobuf field optional string most_specific = 9; - * @param string $var - * @return $this - */ - public function setMostSpecific($var) - { - GPBUtil::checkString($var, True); - $this->most_specific = $var; - - return $this; - } - - /** - * The region location criterion associated with the impression. - * - * Generated from protobuf field optional string region = 10; - * @return string - */ - public function getRegion() - { - return isset($this->region) ? $this->region : ''; - } - - public function hasRegion() - { - return isset($this->region); - } - - public function clearRegion() - { - unset($this->region); - } - - /** - * The region location criterion associated with the impression. - * - * Generated from protobuf field optional string region = 10; - * @param string $var - * @return $this - */ - public function setRegion($var) - { - GPBUtil::checkString($var, True); - $this->region = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CombinedAudienceInfo.php b/src/Google/Ads/GoogleAds/V15/Common/CombinedAudienceInfo.php deleted file mode 100644 index 6224ab137..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CombinedAudienceInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.CombinedAudienceInfo - */ -class CombinedAudienceInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The CombinedAudience resource name. - * - * Generated from protobuf field string combined_audience = 1 [(.google.api.resource_reference) = { - */ - protected $combined_audience = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $combined_audience - * The CombinedAudience resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The CombinedAudience resource name. - * - * Generated from protobuf field string combined_audience = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getCombinedAudience() - { - return $this->combined_audience; - } - - /** - * The CombinedAudience resource name. - * - * Generated from protobuf field string combined_audience = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCombinedAudience($var) - { - GPBUtil::checkString($var, True); - $this->combined_audience = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Commission.php b/src/Google/Ads/GoogleAds/V15/Common/Commission.php deleted file mode 100644 index 48202e1ec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Commission.php +++ /dev/null @@ -1,90 +0,0 @@ -google.ads.googleads.v15.common.Commission - */ -class Commission extends \Google\Protobuf\Internal\Message -{ - /** - * Commission rate defines the portion of the conversion value that the - * advertiser will be billed. A commission rate of x should be passed into - * this field as (x * 1,000,000). For example, 106,000 represents a commission - * rate of 0.106 (10.6%). - * - * Generated from protobuf field optional int64 commission_rate_micros = 2; - */ - protected $commission_rate_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $commission_rate_micros - * Commission rate defines the portion of the conversion value that the - * advertiser will be billed. A commission rate of x should be passed into - * this field as (x * 1,000,000). For example, 106,000 represents a commission - * rate of 0.106 (10.6%). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * Commission rate defines the portion of the conversion value that the - * advertiser will be billed. A commission rate of x should be passed into - * this field as (x * 1,000,000). For example, 106,000 represents a commission - * rate of 0.106 (10.6%). - * - * Generated from protobuf field optional int64 commission_rate_micros = 2; - * @return int|string - */ - public function getCommissionRateMicros() - { - return isset($this->commission_rate_micros) ? $this->commission_rate_micros : 0; - } - - public function hasCommissionRateMicros() - { - return isset($this->commission_rate_micros); - } - - public function clearCommissionRateMicros() - { - unset($this->commission_rate_micros); - } - - /** - * Commission rate defines the portion of the conversion value that the - * advertiser will be billed. A commission rate of x should be passed into - * this field as (x * 1,000,000). For example, 106,000 represents a commission - * rate of 0.106 (10.6%). - * - * Generated from protobuf field optional int64 commission_rate_micros = 2; - * @param int|string $var - * @return $this - */ - public function setCommissionRateMicros($var) - { - GPBUtil::checkInt64($var); - $this->commission_rate_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ConceptGroup.php b/src/Google/Ads/GoogleAds/V15/Common/ConceptGroup.php deleted file mode 100644 index e8f13ade6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ConceptGroup.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.common.ConceptGroup - */ -class ConceptGroup extends \Google\Protobuf\Internal\Message -{ - /** - * The concept group name. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * The concept group type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType type = 2; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * The concept group name. - * @type int $type - * The concept group type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * The concept group name. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The concept group name. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The concept group type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType type = 2; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * The concept group type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType type = 2; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanConceptGroupTypeEnum\KeywordPlanConceptGroupType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Consent.php b/src/Google/Ads/GoogleAds/V15/Common/Consent.php deleted file mode 100644 index 0447ab3e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Consent.php +++ /dev/null @@ -1,105 +0,0 @@ -google.ads.googleads.v15.common.Consent - */ -class Consent extends \Google\Protobuf\Internal\Message -{ - /** - * This represents consent for ad user data. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConsentStatusEnum.ConsentStatus ad_user_data = 1; - */ - protected $ad_user_data = 0; - /** - * This represents consent for ad personalization. - * This can only be set for OfflineUserDataJobService and UserDataService. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConsentStatusEnum.ConsentStatus ad_personalization = 2; - */ - protected $ad_personalization = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $ad_user_data - * This represents consent for ad user data. - * @type int $ad_personalization - * This represents consent for ad personalization. - * This can only be set for OfflineUserDataJobService and UserDataService. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Consent::initOnce(); - parent::__construct($data); - } - - /** - * This represents consent for ad user data. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConsentStatusEnum.ConsentStatus ad_user_data = 1; - * @return int - */ - public function getAdUserData() - { - return $this->ad_user_data; - } - - /** - * This represents consent for ad user data. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConsentStatusEnum.ConsentStatus ad_user_data = 1; - * @param int $var - * @return $this - */ - public function setAdUserData($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConsentStatusEnum\ConsentStatus::class); - $this->ad_user_data = $var; - - return $this; - } - - /** - * This represents consent for ad personalization. - * This can only be set for OfflineUserDataJobService and UserDataService. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConsentStatusEnum.ConsentStatus ad_personalization = 2; - * @return int - */ - public function getAdPersonalization() - { - return $this->ad_personalization; - } - - /** - * This represents consent for ad personalization. - * This can only be set for OfflineUserDataJobService and UserDataService. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConsentStatusEnum.ConsentStatus ad_personalization = 2; - * @param int $var - * @return $this - */ - public function setAdPersonalization($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConsentStatusEnum\ConsentStatus::class); - $this->ad_personalization = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ContentLabelInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ContentLabelInfo.php deleted file mode 100644 index 3a9c9a371..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ContentLabelInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.ContentLabelInfo - */ -class ContentLabelInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Content label type, required for CREATE operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ContentLabelTypeEnum.ContentLabelType type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Content label type, required for CREATE operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Content label type, required for CREATE operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ContentLabelTypeEnum.ContentLabelType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Content label type, required for CREATE operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ContentLabelTypeEnum.ContentLabelType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ContentLabelTypeEnum\ContentLabelType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CpcBidSimulationPoint.php b/src/Google/Ads/GoogleAds/V15/Common/CpcBidSimulationPoint.php deleted file mode 100644 index 49f9584cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CpcBidSimulationPoint.php +++ /dev/null @@ -1,420 +0,0 @@ -google.ads.googleads.v15.common.CpcBidSimulationPoint - */ -class CpcBidSimulationPoint extends \Google\Protobuf\Internal\Message -{ - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 17; - */ - protected $required_budget_amount_micros = 0; - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - */ - protected $biddable_conversions = null; - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - */ - protected $biddable_conversions_value = null; - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - */ - protected $clicks = null; - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - */ - protected $cost_micros = null; - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - */ - protected $impressions = null; - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - */ - protected $top_slot_impressions = null; - protected $cpc_simulation_key_value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $required_budget_amount_micros - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * @type float $biddable_conversions - * Projected number of biddable conversions. - * @type float $biddable_conversions_value - * Projected total value of biddable conversions. - * @type int|string $clicks - * Projected number of clicks. - * @type int|string $cost_micros - * Projected cost in micros. - * @type int|string $impressions - * Projected number of impressions. - * @type int|string $top_slot_impressions - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * @type int|string $cpc_bid_micros - * The simulated CPC bid upon which projected metrics are based. - * @type float $cpc_bid_scaling_modifier - * The simulated scaling modifier upon which projected metrics are based. - * All CPC bids relevant to the simulated entity are scaled by this - * modifier. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 17; - * @return int|string - */ - public function getRequiredBudgetAmountMicros() - { - return $this->required_budget_amount_micros; - } - - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 17; - * @param int|string $var - * @return $this - */ - public function setRequiredBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_budget_amount_micros = $var; - - return $this; - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - * @return float - */ - public function getBiddableConversions() - { - return isset($this->biddable_conversions) ? $this->biddable_conversions : 0.0; - } - - public function hasBiddableConversions() - { - return isset($this->biddable_conversions); - } - - public function clearBiddableConversions() - { - unset($this->biddable_conversions); - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - * @param float $var - * @return $this - */ - public function setBiddableConversions($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions = $var; - - return $this; - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - * @return float - */ - public function getBiddableConversionsValue() - { - return isset($this->biddable_conversions_value) ? $this->biddable_conversions_value : 0.0; - } - - public function hasBiddableConversionsValue() - { - return isset($this->biddable_conversions_value); - } - - public function clearBiddableConversionsValue() - { - unset($this->biddable_conversions_value); - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - * @param float $var - * @return $this - */ - public function setBiddableConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions_value = $var; - - return $this; - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - * @return int|string - */ - public function getClicks() - { - return isset($this->clicks) ? $this->clicks : 0; - } - - public function hasClicks() - { - return isset($this->clicks); - } - - public function clearClicks() - { - unset($this->clicks); - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - * @param int|string $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkInt64($var); - $this->clicks = $var; - - return $this; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - * @return int|string - */ - public function getCostMicros() - { - return isset($this->cost_micros) ? $this->cost_micros : 0; - } - - public function hasCostMicros() - { - return isset($this->cost_micros); - } - - public function clearCostMicros() - { - unset($this->cost_micros); - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - * @return int|string - */ - public function getImpressions() - { - return isset($this->impressions) ? $this->impressions : 0; - } - - public function hasImpressions() - { - return isset($this->impressions); - } - - public function clearImpressions() - { - unset($this->impressions); - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - * @param int|string $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt64($var); - $this->impressions = $var; - - return $this; - } - - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - * @return int|string - */ - public function getTopSlotImpressions() - { - return isset($this->top_slot_impressions) ? $this->top_slot_impressions : 0; - } - - public function hasTopSlotImpressions() - { - return isset($this->top_slot_impressions); - } - - public function clearTopSlotImpressions() - { - unset($this->top_slot_impressions); - } - - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - * @param int|string $var - * @return $this - */ - public function setTopSlotImpressions($var) - { - GPBUtil::checkInt64($var); - $this->top_slot_impressions = $var; - - return $this; - } - - /** - * The simulated CPC bid upon which projected metrics are based. - * - * Generated from protobuf field int64 cpc_bid_micros = 15; - * @return int|string - */ - public function getCpcBidMicros() - { - return $this->readOneof(15); - } - - public function hasCpcBidMicros() - { - return $this->hasOneof(15); - } - - /** - * The simulated CPC bid upon which projected metrics are based. - * - * Generated from protobuf field int64 cpc_bid_micros = 15; - * @param int|string $var - * @return $this - */ - public function setCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * The simulated scaling modifier upon which projected metrics are based. - * All CPC bids relevant to the simulated entity are scaled by this - * modifier. - * - * Generated from protobuf field double cpc_bid_scaling_modifier = 16; - * @return float - */ - public function getCpcBidScalingModifier() - { - return $this->readOneof(16); - } - - public function hasCpcBidScalingModifier() - { - return $this->hasOneof(16); - } - - /** - * The simulated scaling modifier upon which projected metrics are based. - * All CPC bids relevant to the simulated entity are scaled by this - * modifier. - * - * Generated from protobuf field double cpc_bid_scaling_modifier = 16; - * @param float $var - * @return $this - */ - public function setCpcBidScalingModifier($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * @return string - */ - public function getCpcSimulationKeyValue() - { - return $this->whichOneof("cpc_simulation_key_value"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CpcBidSimulationPointList.php b/src/Google/Ads/GoogleAds/V15/Common/CpcBidSimulationPointList.php deleted file mode 100644 index c806e6c91..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CpcBidSimulationPointList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.CpcBidSimulationPointList - */ -class CpcBidSimulationPointList extends \Google\Protobuf\Internal\Message -{ - /** - * Projected metrics for a series of CPC bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CpcBidSimulationPoint points = 1; - */ - private $points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $points - * Projected metrics for a series of CPC bid amounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected metrics for a series of CPC bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CpcBidSimulationPoint points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPoints() - { - return $this->points; - } - - /** - * Projected metrics for a series of CPC bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CpcBidSimulationPoint points = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPoint::class); - $this->points = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CpvBidSimulationPoint.php b/src/Google/Ads/GoogleAds/V15/Common/CpvBidSimulationPoint.php deleted file mode 100644 index bada86991..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CpvBidSimulationPoint.php +++ /dev/null @@ -1,209 +0,0 @@ -google.ads.googleads.v15.common.CpvBidSimulationPoint - */ -class CpvBidSimulationPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The simulated CPV bid upon which projected metrics are based. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 5; - */ - protected $cpv_bid_micros = null; - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 6; - */ - protected $cost_micros = null; - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 7; - */ - protected $impressions = null; - /** - * Projected number of views. - * - * Generated from protobuf field optional int64 views = 8; - */ - protected $views = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $cpv_bid_micros - * The simulated CPV bid upon which projected metrics are based. - * @type int|string $cost_micros - * Projected cost in micros. - * @type int|string $impressions - * Projected number of impressions. - * @type int|string $views - * Projected number of views. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * The simulated CPV bid upon which projected metrics are based. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 5; - * @return int|string - */ - public function getCpvBidMicros() - { - return isset($this->cpv_bid_micros) ? $this->cpv_bid_micros : 0; - } - - public function hasCpvBidMicros() - { - return isset($this->cpv_bid_micros); - } - - public function clearCpvBidMicros() - { - unset($this->cpv_bid_micros); - } - - /** - * The simulated CPV bid upon which projected metrics are based. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 5; - * @param int|string $var - * @return $this - */ - public function setCpvBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpv_bid_micros = $var; - - return $this; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 6; - * @return int|string - */ - public function getCostMicros() - { - return isset($this->cost_micros) ? $this->cost_micros : 0; - } - - public function hasCostMicros() - { - return isset($this->cost_micros); - } - - public function clearCostMicros() - { - unset($this->cost_micros); - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 6; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 7; - * @return int|string - */ - public function getImpressions() - { - return isset($this->impressions) ? $this->impressions : 0; - } - - public function hasImpressions() - { - return isset($this->impressions); - } - - public function clearImpressions() - { - unset($this->impressions); - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 7; - * @param int|string $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt64($var); - $this->impressions = $var; - - return $this; - } - - /** - * Projected number of views. - * - * Generated from protobuf field optional int64 views = 8; - * @return int|string - */ - public function getViews() - { - return isset($this->views) ? $this->views : 0; - } - - public function hasViews() - { - return isset($this->views); - } - - public function clearViews() - { - unset($this->views); - } - - /** - * Projected number of views. - * - * Generated from protobuf field optional int64 views = 8; - * @param int|string $var - * @return $this - */ - public function setViews($var) - { - GPBUtil::checkInt64($var); - $this->views = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CpvBidSimulationPointList.php b/src/Google/Ads/GoogleAds/V15/Common/CpvBidSimulationPointList.php deleted file mode 100644 index f1dfb95d0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CpvBidSimulationPointList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.CpvBidSimulationPointList - */ -class CpvBidSimulationPointList extends \Google\Protobuf\Internal\Message -{ - /** - * Projected metrics for a series of CPV bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CpvBidSimulationPoint points = 1; - */ - private $points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\CpvBidSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $points - * Projected metrics for a series of CPV bid amounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected metrics for a series of CPV bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CpvBidSimulationPoint points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPoints() - { - return $this->points; - } - - /** - * Projected metrics for a series of CPV bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CpvBidSimulationPoint points = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\CpvBidSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CpvBidSimulationPoint::class); - $this->points = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryAvailability.php b/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryAvailability.php deleted file mode 100644 index 837db524e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryAvailability.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.CriterionCategoryAvailability - */ -class CriterionCategoryAvailability extends \Google\Protobuf\Internal\Message -{ - /** - * Channel types and subtypes that are available to the category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CriterionCategoryChannelAvailability channel = 1; - */ - protected $channel = null; - /** - * Locales that are available to the category for the channel. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryLocaleAvailability locale = 2; - */ - private $locale; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\CriterionCategoryChannelAvailability $channel - * Channel types and subtypes that are available to the category. - * @type array<\Google\Ads\GoogleAds\V15\Common\CriterionCategoryLocaleAvailability>|\Google\Protobuf\Internal\RepeatedField $locale - * Locales that are available to the category for the channel. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability::initOnce(); - parent::__construct($data); - } - - /** - * Channel types and subtypes that are available to the category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CriterionCategoryChannelAvailability channel = 1; - * @return \Google\Ads\GoogleAds\V15\Common\CriterionCategoryChannelAvailability|null - */ - public function getChannel() - { - return $this->channel; - } - - public function hasChannel() - { - return isset($this->channel); - } - - public function clearChannel() - { - unset($this->channel); - } - - /** - * Channel types and subtypes that are available to the category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CriterionCategoryChannelAvailability channel = 1; - * @param \Google\Ads\GoogleAds\V15\Common\CriterionCategoryChannelAvailability $var - * @return $this - */ - public function setChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CriterionCategoryChannelAvailability::class); - $this->channel = $var; - - return $this; - } - - /** - * Locales that are available to the category for the channel. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryLocaleAvailability locale = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLocale() - { - return $this->locale; - } - - /** - * Locales that are available to the category for the channel. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryLocaleAvailability locale = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\CriterionCategoryLocaleAvailability>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLocale($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CriterionCategoryLocaleAvailability::class); - $this->locale = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryChannelAvailability.php b/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryChannelAvailability.php deleted file mode 100644 index c1534323f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryChannelAvailability.php +++ /dev/null @@ -1,212 +0,0 @@ -google.ads.googleads.v15.common.CriterionCategoryChannelAvailability - */ -class CriterionCategoryChannelAvailability extends \Google\Protobuf\Internal\Message -{ - /** - * Format of the channel availability. Can be ALL_CHANNELS (the rest of the - * fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - * will be set, the category is available to all sub types under it) or - * CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - * advertising_channel_sub_type, and include_default_channel_sub_type will all - * be set). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1; - */ - protected $availability_mode = 0; - /** - * Channel type the category is available to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2; - */ - protected $advertising_channel_type = 0; - /** - * Channel subtypes under the channel type the category is available to. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3; - */ - private $advertising_channel_sub_type; - /** - * Whether default channel sub type is included. For example, - * advertising_channel_type being DISPLAY and include_default_channel_sub_type - * being false means that the default display campaign where channel sub type - * is not set is not included in this availability configuration. - * - * Generated from protobuf field optional bool include_default_channel_sub_type = 5; - */ - protected $include_default_channel_sub_type = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $availability_mode - * Format of the channel availability. Can be ALL_CHANNELS (the rest of the - * fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - * will be set, the category is available to all sub types under it) or - * CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - * advertising_channel_sub_type, and include_default_channel_sub_type will all - * be set). - * @type int $advertising_channel_type - * Channel type the category is available to. - * @type array|\Google\Protobuf\Internal\RepeatedField $advertising_channel_sub_type - * Channel subtypes under the channel type the category is available to. - * @type bool $include_default_channel_sub_type - * Whether default channel sub type is included. For example, - * advertising_channel_type being DISPLAY and include_default_channel_sub_type - * being false means that the default display campaign where channel sub type - * is not set is not included in this availability configuration. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability::initOnce(); - parent::__construct($data); - } - - /** - * Format of the channel availability. Can be ALL_CHANNELS (the rest of the - * fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - * will be set, the category is available to all sub types under it) or - * CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - * advertising_channel_sub_type, and include_default_channel_sub_type will all - * be set). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1; - * @return int - */ - public function getAvailabilityMode() - { - return $this->availability_mode; - } - - /** - * Format of the channel availability. Can be ALL_CHANNELS (the rest of the - * fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - * will be set, the category is available to all sub types under it) or - * CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - * advertising_channel_sub_type, and include_default_channel_sub_type will all - * be set). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1; - * @param int $var - * @return $this - */ - public function setAvailabilityMode($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CriterionCategoryChannelAvailabilityModeEnum\CriterionCategoryChannelAvailabilityMode::class); - $this->availability_mode = $var; - - return $this; - } - - /** - * Channel type the category is available to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2; - * @return int - */ - public function getAdvertisingChannelType() - { - return $this->advertising_channel_type; - } - - /** - * Channel type the category is available to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2; - * @param int $var - * @return $this - */ - public function setAdvertisingChannelType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelTypeEnum\AdvertisingChannelType::class); - $this->advertising_channel_type = $var; - - return $this; - } - - /** - * Channel subtypes under the channel type the category is available to. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdvertisingChannelSubType() - { - return $this->advertising_channel_sub_type; - } - - /** - * Channel subtypes under the channel type the category is available to. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdvertisingChannelSubType($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelSubTypeEnum\AdvertisingChannelSubType::class); - $this->advertising_channel_sub_type = $arr; - - return $this; - } - - /** - * Whether default channel sub type is included. For example, - * advertising_channel_type being DISPLAY and include_default_channel_sub_type - * being false means that the default display campaign where channel sub type - * is not set is not included in this availability configuration. - * - * Generated from protobuf field optional bool include_default_channel_sub_type = 5; - * @return bool - */ - public function getIncludeDefaultChannelSubType() - { - return isset($this->include_default_channel_sub_type) ? $this->include_default_channel_sub_type : false; - } - - public function hasIncludeDefaultChannelSubType() - { - return isset($this->include_default_channel_sub_type); - } - - public function clearIncludeDefaultChannelSubType() - { - unset($this->include_default_channel_sub_type); - } - - /** - * Whether default channel sub type is included. For example, - * advertising_channel_type being DISPLAY and include_default_channel_sub_type - * being false means that the default display campaign where channel sub type - * is not set is not included in this availability configuration. - * - * Generated from protobuf field optional bool include_default_channel_sub_type = 5; - * @param bool $var - * @return $this - */ - public function setIncludeDefaultChannelSubType($var) - { - GPBUtil::checkBool($var); - $this->include_default_channel_sub_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryLocaleAvailability.php b/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryLocaleAvailability.php deleted file mode 100644 index 03a060f24..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CriterionCategoryLocaleAvailability.php +++ /dev/null @@ -1,167 +0,0 @@ -google.ads.googleads.v15.common.CriterionCategoryLocaleAvailability - */ -class CriterionCategoryLocaleAvailability extends \Google\Protobuf\Internal\Message -{ - /** - * Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - * language will be empty), COUNTRY (only country will be set), LANGUAGE (only - * language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - * be set). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode availability_mode = 1; - */ - protected $availability_mode = 0; - /** - * The ISO-3166-1 alpha-2 country code associated with the category. - * - * Generated from protobuf field optional string country_code = 4; - */ - protected $country_code = null; - /** - * ISO 639-1 code of the language associated with the category. - * - * Generated from protobuf field optional string language_code = 5; - */ - protected $language_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $availability_mode - * Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - * language will be empty), COUNTRY (only country will be set), LANGUAGE (only - * language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - * be set). - * @type string $country_code - * The ISO-3166-1 alpha-2 country code associated with the category. - * @type string $language_code - * ISO 639-1 code of the language associated with the category. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability::initOnce(); - parent::__construct($data); - } - - /** - * Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - * language will be empty), COUNTRY (only country will be set), LANGUAGE (only - * language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - * be set). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode availability_mode = 1; - * @return int - */ - public function getAvailabilityMode() - { - return $this->availability_mode; - } - - /** - * Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - * language will be empty), COUNTRY (only country will be set), LANGUAGE (only - * language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - * be set). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode availability_mode = 1; - * @param int $var - * @return $this - */ - public function setAvailabilityMode($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CriterionCategoryLocaleAvailabilityModeEnum\CriterionCategoryLocaleAvailabilityMode::class); - $this->availability_mode = $var; - - return $this; - } - - /** - * The ISO-3166-1 alpha-2 country code associated with the category. - * - * Generated from protobuf field optional string country_code = 4; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * The ISO-3166-1 alpha-2 country code associated with the category. - * - * Generated from protobuf field optional string country_code = 4; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * ISO 639-1 code of the language associated with the category. - * - * Generated from protobuf field optional string language_code = 5; - * @return string - */ - public function getLanguageCode() - { - return isset($this->language_code) ? $this->language_code : ''; - } - - public function hasLanguageCode() - { - return isset($this->language_code); - } - - public function clearLanguageCode() - { - unset($this->language_code); - } - - /** - * ISO 639-1 code of the language associated with the category. - * - * Generated from protobuf field optional string language_code = 5; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CrmBasedUserListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/CrmBasedUserListInfo.php deleted file mode 100644 index 833f18a92..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CrmBasedUserListInfo.php +++ /dev/null @@ -1,193 +0,0 @@ -google.ads.googleads.v15.common.CrmBasedUserListInfo - */ -class CrmBasedUserListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * A string that uniquely identifies a mobile application from which the data - * was collected. - * For iOS, the ID string is the 9 digit string that appears at the end of an - * App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store - * link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For - * Android, the ID string is the application's package name (for example, - * "com.labpixies.colordrips" for "Color Drips" given Google Play link - * https://play.google.com/store/apps/details?id=com.labpixies.colordrips). - * Required when creating CrmBasedUserList for uploading mobile advertising - * IDs. - * - * Generated from protobuf field optional string app_id = 4; - */ - protected $app_id = null; - /** - * Matching key type of the list. - * Mixed data types are not allowed on the same list. - * This field is required for an ADD operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2; - */ - protected $upload_key_type = 0; - /** - * Data source of the list. Default value is FIRST_PARTY. - * Only customers on the allow-list can create third-party sourced CRM lists. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3; - */ - protected $data_source_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $app_id - * A string that uniquely identifies a mobile application from which the data - * was collected. - * For iOS, the ID string is the 9 digit string that appears at the end of an - * App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store - * link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For - * Android, the ID string is the application's package name (for example, - * "com.labpixies.colordrips" for "Color Drips" given Google Play link - * https://play.google.com/store/apps/details?id=com.labpixies.colordrips). - * Required when creating CrmBasedUserList for uploading mobile advertising - * IDs. - * @type int $upload_key_type - * Matching key type of the list. - * Mixed data types are not allowed on the same list. - * This field is required for an ADD operation. - * @type int $data_source_type - * Data source of the list. Default value is FIRST_PARTY. - * Only customers on the allow-list can create third-party sourced CRM lists. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * A string that uniquely identifies a mobile application from which the data - * was collected. - * For iOS, the ID string is the 9 digit string that appears at the end of an - * App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store - * link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For - * Android, the ID string is the application's package name (for example, - * "com.labpixies.colordrips" for "Color Drips" given Google Play link - * https://play.google.com/store/apps/details?id=com.labpixies.colordrips). - * Required when creating CrmBasedUserList for uploading mobile advertising - * IDs. - * - * Generated from protobuf field optional string app_id = 4; - * @return string - */ - public function getAppId() - { - return isset($this->app_id) ? $this->app_id : ''; - } - - public function hasAppId() - { - return isset($this->app_id); - } - - public function clearAppId() - { - unset($this->app_id); - } - - /** - * A string that uniquely identifies a mobile application from which the data - * was collected. - * For iOS, the ID string is the 9 digit string that appears at the end of an - * App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store - * link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For - * Android, the ID string is the application's package name (for example, - * "com.labpixies.colordrips" for "Color Drips" given Google Play link - * https://play.google.com/store/apps/details?id=com.labpixies.colordrips). - * Required when creating CrmBasedUserList for uploading mobile advertising - * IDs. - * - * Generated from protobuf field optional string app_id = 4; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * Matching key type of the list. - * Mixed data types are not allowed on the same list. - * This field is required for an ADD operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2; - * @return int - */ - public function getUploadKeyType() - { - return $this->upload_key_type; - } - - /** - * Matching key type of the list. - * Mixed data types are not allowed on the same list. - * This field is required for an ADD operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2; - * @param int $var - * @return $this - */ - public function setUploadKeyType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomerMatchUploadKeyTypeEnum\CustomerMatchUploadKeyType::class); - $this->upload_key_type = $var; - - return $this; - } - - /** - * Data source of the list. Default value is FIRST_PARTY. - * Only customers on the allow-list can create third-party sourced CRM lists. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3; - * @return int - */ - public function getDataSourceType() - { - return $this->data_source_type; - } - - /** - * Data source of the list. Default value is FIRST_PARTY. - * Only customers on the allow-list can create third-party sourced CRM lists. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3; - * @param int $var - * @return $this - */ - public function setDataSourceType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListCrmDataSourceTypeEnum\UserListCrmDataSourceType::class); - $this->data_source_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CustomAffinityInfo.php b/src/Google/Ads/GoogleAds/V15/Common/CustomAffinityInfo.php deleted file mode 100644 index 8b2f8b721..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CustomAffinityInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.CustomAffinityInfo - */ -class CustomAffinityInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The CustomInterest resource name. - * - * Generated from protobuf field optional string custom_affinity = 2; - */ - protected $custom_affinity = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $custom_affinity - * The CustomInterest resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The CustomInterest resource name. - * - * Generated from protobuf field optional string custom_affinity = 2; - * @return string - */ - public function getCustomAffinity() - { - return isset($this->custom_affinity) ? $this->custom_affinity : ''; - } - - public function hasCustomAffinity() - { - return isset($this->custom_affinity); - } - - public function clearCustomAffinity() - { - unset($this->custom_affinity); - } - - /** - * The CustomInterest resource name. - * - * Generated from protobuf field optional string custom_affinity = 2; - * @param string $var - * @return $this - */ - public function setCustomAffinity($var) - { - GPBUtil::checkString($var, True); - $this->custom_affinity = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CustomAudienceInfo.php b/src/Google/Ads/GoogleAds/V15/Common/CustomAudienceInfo.php deleted file mode 100644 index 05364b0ae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CustomAudienceInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.CustomAudienceInfo - */ -class CustomAudienceInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The CustomAudience resource name. - * - * Generated from protobuf field string custom_audience = 1; - */ - protected $custom_audience = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $custom_audience - * The CustomAudience resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The CustomAudience resource name. - * - * Generated from protobuf field string custom_audience = 1; - * @return string - */ - public function getCustomAudience() - { - return $this->custom_audience; - } - - /** - * The CustomAudience resource name. - * - * Generated from protobuf field string custom_audience = 1; - * @param string $var - * @return $this - */ - public function setCustomAudience($var) - { - GPBUtil::checkString($var, True); - $this->custom_audience = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CustomAudienceSegment.php b/src/Google/Ads/GoogleAds/V15/Common/CustomAudienceSegment.php deleted file mode 100644 index 9bfa895ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CustomAudienceSegment.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.CustomAudienceSegment - */ -class CustomAudienceSegment extends \Google\Protobuf\Internal\Message -{ - /** - * The custom audience resource. - * - * Generated from protobuf field optional string custom_audience = 1; - */ - protected $custom_audience = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $custom_audience - * The custom audience resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * The custom audience resource. - * - * Generated from protobuf field optional string custom_audience = 1; - * @return string - */ - public function getCustomAudience() - { - return isset($this->custom_audience) ? $this->custom_audience : ''; - } - - public function hasCustomAudience() - { - return isset($this->custom_audience); - } - - public function clearCustomAudience() - { - unset($this->custom_audience); - } - - /** - * The custom audience resource. - * - * Generated from protobuf field optional string custom_audience = 1; - * @param string $var - * @return $this - */ - public function setCustomAudience($var) - { - GPBUtil::checkString($var, True); - $this->custom_audience = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CustomIntentInfo.php b/src/Google/Ads/GoogleAds/V15/Common/CustomIntentInfo.php deleted file mode 100644 index 96cd5cd5e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CustomIntentInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.CustomIntentInfo - */ -class CustomIntentInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The CustomInterest resource name. - * - * Generated from protobuf field optional string custom_intent = 2; - */ - protected $custom_intent = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $custom_intent - * The CustomInterest resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The CustomInterest resource name. - * - * Generated from protobuf field optional string custom_intent = 2; - * @return string - */ - public function getCustomIntent() - { - return isset($this->custom_intent) ? $this->custom_intent : ''; - } - - public function hasCustomIntent() - { - return isset($this->custom_intent); - } - - public function clearCustomIntent() - { - unset($this->custom_intent); - } - - /** - * The CustomInterest resource name. - * - * Generated from protobuf field optional string custom_intent = 2; - * @param string $var - * @return $this - */ - public function setCustomIntent($var) - { - GPBUtil::checkString($var, True); - $this->custom_intent = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CustomParameter.php b/src/Google/Ads/GoogleAds/V15/Common/CustomParameter.php deleted file mode 100644 index d1ea550ea..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CustomParameter.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.common.CustomParameter - */ -class CustomParameter extends \Google\Protobuf\Internal\Message -{ - /** - * The key matching the parameter tag name. - * - * Generated from protobuf field optional string key = 3; - */ - protected $key = null; - /** - * The value to be substituted. - * - * Generated from protobuf field optional string value = 4; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $key - * The key matching the parameter tag name. - * @type string $value - * The value to be substituted. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\CustomParameter::initOnce(); - parent::__construct($data); - } - - /** - * The key matching the parameter tag name. - * - * Generated from protobuf field optional string key = 3; - * @return string - */ - public function getKey() - { - return isset($this->key) ? $this->key : ''; - } - - public function hasKey() - { - return isset($this->key); - } - - public function clearKey() - { - unset($this->key); - } - - /** - * The key matching the parameter tag name. - * - * Generated from protobuf field optional string key = 3; - * @param string $var - * @return $this - */ - public function setKey($var) - { - GPBUtil::checkString($var, True); - $this->key = $var; - - return $this; - } - - /** - * The value to be substituted. - * - * Generated from protobuf field optional string value = 4; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * The value to be substituted. - * - * Generated from protobuf field optional string value = 4; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CustomerMatchUserListMetadata.php b/src/Google/Ads/GoogleAds/V15/Common/CustomerMatchUserListMetadata.php deleted file mode 100644 index 2ba1df809..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CustomerMatchUserListMetadata.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.common.CustomerMatchUserListMetadata - */ -class CustomerMatchUserListMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name of remarketing list to update data. - * Required for job of CUSTOMER_MATCH_USER_LIST type. - * - * Generated from protobuf field optional string user_list = 2; - */ - protected $user_list = null; - /** - * The consent setting for all the users in this job. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.Consent consent = 3; - */ - protected $consent = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $user_list - * The resource name of remarketing list to update data. - * Required for job of CUSTOMER_MATCH_USER_LIST type. - * @type \Google\Ads\GoogleAds\V15\Common\Consent $consent - * The consent setting for all the users in this job. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * The resource name of remarketing list to update data. - * Required for job of CUSTOMER_MATCH_USER_LIST type. - * - * Generated from protobuf field optional string user_list = 2; - * @return string - */ - public function getUserList() - { - return isset($this->user_list) ? $this->user_list : ''; - } - - public function hasUserList() - { - return isset($this->user_list); - } - - public function clearUserList() - { - unset($this->user_list); - } - - /** - * The resource name of remarketing list to update data. - * Required for job of CUSTOMER_MATCH_USER_LIST type. - * - * Generated from protobuf field optional string user_list = 2; - * @param string $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkString($var, True); - $this->user_list = $var; - - return $this; - } - - /** - * The consent setting for all the users in this job. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.Consent consent = 3; - * @return \Google\Ads\GoogleAds\V15\Common\Consent|null - */ - public function getConsent() - { - return $this->consent; - } - - public function hasConsent() - { - return isset($this->consent); - } - - public function clearConsent() - { - unset($this->consent); - } - - /** - * The consent setting for all the users in this job. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.Consent consent = 3; - * @param \Google\Ads\GoogleAds\V15\Common\Consent $var - * @return $this - */ - public function setConsent($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Consent::class); - $this->consent = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/CustomizerValue.php b/src/Google/Ads/GoogleAds/V15/Common/CustomizerValue.php deleted file mode 100644 index 350604ea3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/CustomizerValue.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.common.CustomizerValue - */ -class CustomizerValue extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The data type for the customizer value. It must match the - * attribute type. The string_value content must match the constraints - * associated with the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $type = 0; - /** - * Required. Value to insert in creative text. Customizer values of all types - * are stored as string to make formatting unambiguous. - * - * Generated from protobuf field string string_value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $string_value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Required. The data type for the customizer value. It must match the - * attribute type. The string_value content must match the constraints - * associated with the type. - * @type string $string_value - * Required. Value to insert in creative text. Customizer values of all types - * are stored as string to make formatting unambiguous. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\CustomizerValue::initOnce(); - parent::__construct($data); - } - - /** - * Required. The data type for the customizer value. It must match the - * attribute type. The string_value content must match the constraints - * associated with the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Required. The data type for the customizer value. It must match the - * attribute type. The string_value content must match the constraints - * associated with the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomizerAttributeTypeEnum\CustomizerAttributeType::class); - $this->type = $var; - - return $this; - } - - /** - * Required. Value to insert in creative text. Customizer values of all types - * are stored as string to make formatting unambiguous. - * - * Generated from protobuf field string string_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getStringValue() - { - return $this->string_value; - } - - /** - * Required. Value to insert in creative text. Customizer values of all types - * are stored as string to make formatting unambiguous. - * - * Generated from protobuf field string string_value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setStringValue($var) - { - GPBUtil::checkString($var, True); - $this->string_value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DateRange.php b/src/Google/Ads/GoogleAds/V15/Common/DateRange.php deleted file mode 100644 index 9b8b798e1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DateRange.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.common.DateRange - */ -class DateRange extends \Google\Protobuf\Internal\Message -{ - /** - * The start date, in yyyy-mm-dd format. This date is inclusive. - * - * Generated from protobuf field optional string start_date = 3; - */ - protected $start_date = null; - /** - * The end date, in yyyy-mm-dd format. This date is inclusive. - * - * Generated from protobuf field optional string end_date = 4; - */ - protected $end_date = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $start_date - * The start date, in yyyy-mm-dd format. This date is inclusive. - * @type string $end_date - * The end date, in yyyy-mm-dd format. This date is inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Dates::initOnce(); - parent::__construct($data); - } - - /** - * The start date, in yyyy-mm-dd format. This date is inclusive. - * - * Generated from protobuf field optional string start_date = 3; - * @return string - */ - public function getStartDate() - { - return isset($this->start_date) ? $this->start_date : ''; - } - - public function hasStartDate() - { - return isset($this->start_date); - } - - public function clearStartDate() - { - unset($this->start_date); - } - - /** - * The start date, in yyyy-mm-dd format. This date is inclusive. - * - * Generated from protobuf field optional string start_date = 3; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * The end date, in yyyy-mm-dd format. This date is inclusive. - * - * Generated from protobuf field optional string end_date = 4; - * @return string - */ - public function getEndDate() - { - return isset($this->end_date) ? $this->end_date : ''; - } - - public function hasEndDate() - { - return isset($this->end_date); - } - - public function clearEndDate() - { - unset($this->end_date); - } - - /** - * The end date, in yyyy-mm-dd format. This date is inclusive. - * - * Generated from protobuf field optional string end_date = 4; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DetailedDemographicSegment.php b/src/Google/Ads/GoogleAds/V15/Common/DetailedDemographicSegment.php deleted file mode 100644 index f035b4777..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DetailedDemographicSegment.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.DetailedDemographicSegment - */ -class DetailedDemographicSegment extends \Google\Protobuf\Internal\Message -{ - /** - * The detailed demographic resource. - * - * Generated from protobuf field optional string detailed_demographic = 1; - */ - protected $detailed_demographic = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $detailed_demographic - * The detailed demographic resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * The detailed demographic resource. - * - * Generated from protobuf field optional string detailed_demographic = 1; - * @return string - */ - public function getDetailedDemographic() - { - return isset($this->detailed_demographic) ? $this->detailed_demographic : ''; - } - - public function hasDetailedDemographic() - { - return isset($this->detailed_demographic); - } - - public function clearDetailedDemographic() - { - unset($this->detailed_demographic); - } - - /** - * The detailed demographic resource. - * - * Generated from protobuf field optional string detailed_demographic = 1; - * @param string $var - * @return $this - */ - public function setDetailedDemographic($var) - { - GPBUtil::checkString($var, True); - $this->detailed_demographic = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DeviceInfo.php b/src/Google/Ads/GoogleAds/V15/Common/DeviceInfo.php deleted file mode 100644 index 4e7821e28..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DeviceInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.DeviceInfo - */ -class DeviceInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the device. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Type of the device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DeviceEnum\Device::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DiscoveryCarouselAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/DiscoveryCarouselAdInfo.php deleted file mode 100644 index d43ff5f56..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DiscoveryCarouselAdInfo.php +++ /dev/null @@ -1,271 +0,0 @@ -google.ads.googleads.v15.common.DiscoveryCarouselAdInfo - */ -class DiscoveryCarouselAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Advertiser/brand name. - * - * Generated from protobuf field string business_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $business_name = ''; - /** - * Required. Logo image to be used in the ad. The minimum size is 128x128 and - * the aspect ratio must be 1:1(+-1%). - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset logo_image = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $logo_image = null; - /** - * Required. Headline of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset headline = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $headline = null; - /** - * Required. The descriptive text of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset description = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $description = null; - /** - * Call to action text. - * - * Generated from protobuf field string call_to_action_text = 5; - */ - protected $call_to_action_text = ''; - /** - * Required. Carousel cards that will display with the ad. Min 2 max 10. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset carousel_cards = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - private $carousel_cards; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $business_name - * Required. The Advertiser/brand name. - * @type \Google\Ads\GoogleAds\V15\Common\AdImageAsset $logo_image - * Required. Logo image to be used in the ad. The minimum size is 128x128 and - * the aspect ratio must be 1:1(+-1%). - * @type \Google\Ads\GoogleAds\V15\Common\AdTextAsset $headline - * Required. Headline of the ad. - * @type \Google\Ads\GoogleAds\V15\Common\AdTextAsset $description - * Required. The descriptive text of the ad. - * @type string $call_to_action_text - * Call to action text. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdDiscoveryCarouselCardAsset>|\Google\Protobuf\Internal\RepeatedField $carousel_cards - * Required. Carousel cards that will display with the ad. Min 2 max 10. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Advertiser/brand name. - * - * Generated from protobuf field string business_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getBusinessName() - { - return $this->business_name; - } - - /** - * Required. The Advertiser/brand name. - * - * Generated from protobuf field string business_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * Required. Logo image to be used in the ad. The minimum size is 128x128 and - * the aspect ratio must be 1:1(+-1%). - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset logo_image = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\AdImageAsset|null - */ - public function getLogoImage() - { - return $this->logo_image; - } - - public function hasLogoImage() - { - return isset($this->logo_image); - } - - public function clearLogoImage() - { - unset($this->logo_image); - } - - /** - * Required. Logo image to be used in the ad. The minimum size is 128x128 and - * the aspect ratio must be 1:1(+-1%). - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset logo_image = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\AdImageAsset $var - * @return $this - */ - public function setLogoImage($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->logo_image = $var; - - return $this; - } - - /** - * Required. Headline of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset headline = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\AdTextAsset|null - */ - public function getHeadline() - { - return $this->headline; - } - - public function hasHeadline() - { - return isset($this->headline); - } - - public function clearHeadline() - { - unset($this->headline); - } - - /** - * Required. Headline of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset headline = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\AdTextAsset $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headline = $var; - - return $this; - } - - /** - * Required. The descriptive text of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset description = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\AdTextAsset|null - */ - public function getDescription() - { - return $this->description; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * Required. The descriptive text of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset description = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\AdTextAsset $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->description = $var; - - return $this; - } - - /** - * Call to action text. - * - * Generated from protobuf field string call_to_action_text = 5; - * @return string - */ - public function getCallToActionText() - { - return $this->call_to_action_text; - } - - /** - * Call to action text. - * - * Generated from protobuf field string call_to_action_text = 5; - * @param string $var - * @return $this - */ - public function setCallToActionText($var) - { - GPBUtil::checkString($var, True); - $this->call_to_action_text = $var; - - return $this; - } - - /** - * Required. Carousel cards that will display with the ad. Min 2 max 10. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset carousel_cards = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCarouselCards() - { - return $this->carousel_cards; - } - - /** - * Required. Carousel cards that will display with the ad. Min 2 max 10. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdDiscoveryCarouselCardAsset carousel_cards = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdDiscoveryCarouselCardAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCarouselCards($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdDiscoveryCarouselCardAsset::class); - $this->carousel_cards = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DiscoveryCarouselCardAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DiscoveryCarouselCardAsset.php deleted file mode 100644 index 029f47933..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DiscoveryCarouselCardAsset.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.common.DiscoveryCarouselCardAsset - */ -class DiscoveryCarouselCardAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Asset resource name of the associated 1.91:1 marketing image. This and/or - * square marketing image asset is required. - * - * Generated from protobuf field string marketing_image_asset = 1; - */ - protected $marketing_image_asset = ''; - /** - * Asset resource name of the associated square marketing image. This - * and/or a marketing image asset is required. - * - * Generated from protobuf field string square_marketing_image_asset = 2; - */ - protected $square_marketing_image_asset = ''; - /** - * Asset resource name of the associated 4:5 portrait marketing image. - * - * Generated from protobuf field string portrait_marketing_image_asset = 3; - */ - protected $portrait_marketing_image_asset = ''; - /** - * Required. Headline of the carousel card. - * - * Generated from protobuf field string headline = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $headline = ''; - /** - * Call to action text. - * - * Generated from protobuf field string call_to_action_text = 5; - */ - protected $call_to_action_text = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $marketing_image_asset - * Asset resource name of the associated 1.91:1 marketing image. This and/or - * square marketing image asset is required. - * @type string $square_marketing_image_asset - * Asset resource name of the associated square marketing image. This - * and/or a marketing image asset is required. - * @type string $portrait_marketing_image_asset - * Asset resource name of the associated 4:5 portrait marketing image. - * @type string $headline - * Required. Headline of the carousel card. - * @type string $call_to_action_text - * Call to action text. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Asset resource name of the associated 1.91:1 marketing image. This and/or - * square marketing image asset is required. - * - * Generated from protobuf field string marketing_image_asset = 1; - * @return string - */ - public function getMarketingImageAsset() - { - return $this->marketing_image_asset; - } - - /** - * Asset resource name of the associated 1.91:1 marketing image. This and/or - * square marketing image asset is required. - * - * Generated from protobuf field string marketing_image_asset = 1; - * @param string $var - * @return $this - */ - public function setMarketingImageAsset($var) - { - GPBUtil::checkString($var, True); - $this->marketing_image_asset = $var; - - return $this; - } - - /** - * Asset resource name of the associated square marketing image. This - * and/or a marketing image asset is required. - * - * Generated from protobuf field string square_marketing_image_asset = 2; - * @return string - */ - public function getSquareMarketingImageAsset() - { - return $this->square_marketing_image_asset; - } - - /** - * Asset resource name of the associated square marketing image. This - * and/or a marketing image asset is required. - * - * Generated from protobuf field string square_marketing_image_asset = 2; - * @param string $var - * @return $this - */ - public function setSquareMarketingImageAsset($var) - { - GPBUtil::checkString($var, True); - $this->square_marketing_image_asset = $var; - - return $this; - } - - /** - * Asset resource name of the associated 4:5 portrait marketing image. - * - * Generated from protobuf field string portrait_marketing_image_asset = 3; - * @return string - */ - public function getPortraitMarketingImageAsset() - { - return $this->portrait_marketing_image_asset; - } - - /** - * Asset resource name of the associated 4:5 portrait marketing image. - * - * Generated from protobuf field string portrait_marketing_image_asset = 3; - * @param string $var - * @return $this - */ - public function setPortraitMarketingImageAsset($var) - { - GPBUtil::checkString($var, True); - $this->portrait_marketing_image_asset = $var; - - return $this; - } - - /** - * Required. Headline of the carousel card. - * - * Generated from protobuf field string headline = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getHeadline() - { - return $this->headline; - } - - /** - * Required. Headline of the carousel card. - * - * Generated from protobuf field string headline = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkString($var, True); - $this->headline = $var; - - return $this; - } - - /** - * Call to action text. - * - * Generated from protobuf field string call_to_action_text = 5; - * @return string - */ - public function getCallToActionText() - { - return $this->call_to_action_text; - } - - /** - * Call to action text. - * - * Generated from protobuf field string call_to_action_text = 5; - * @param string $var - * @return $this - */ - public function setCallToActionText($var) - { - GPBUtil::checkString($var, True); - $this->call_to_action_text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DiscoveryMultiAssetAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/DiscoveryMultiAssetAdInfo.php deleted file mode 100644 index 7b9fdf868..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DiscoveryMultiAssetAdInfo.php +++ /dev/null @@ -1,425 +0,0 @@ -google.ads.googleads.v15.common.DiscoveryMultiAssetAdInfo - */ -class DiscoveryMultiAssetAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Marketing image assets to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - * be 1.91:1 (+-1%). Required if square_marketing_images is - * not present. Combined with `square_marketing_images` and - * `portrait_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 1; - */ - private $marketing_images; - /** - * Square marketing image assets to be used in the ad. Valid image types are - * GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - * be 1:1 (+-1%). Required if marketing_images is not present. Combined with - * `marketing_images` and `portrait_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_marketing_images = 2; - */ - private $square_marketing_images; - /** - * Portrait marketing image assets to be used in the ad. Valid image types are - * GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - * be 4:5 (+-1%). Combined with `marketing_images` and - * `square_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset portrait_marketing_images = 3; - */ - private $portrait_marketing_images; - /** - * Logo image assets to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - * 1:1(+-1%). At least 1 and max 5 logo images can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 4; - */ - private $logo_images; - /** - * Headline text asset of the ad. Maximum display width is 30. At least 1 and - * max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 5; - */ - private $headlines; - /** - * The descriptive text of the ad. Maximum display width is 90. At least 1 and - * max 5 descriptions can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 6; - */ - private $descriptions; - /** - * The Advertiser/brand name. Maximum display width is 25. Required. - * - * Generated from protobuf field optional string business_name = 7; - */ - protected $business_name = null; - /** - * Call to action text. - * - * Generated from protobuf field optional string call_to_action_text = 8; - */ - protected $call_to_action_text = null; - /** - * Boolean option that indicates if this ad must be served with lead form. - * - * Generated from protobuf field optional bool lead_form_only = 9; - */ - protected $lead_form_only = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $marketing_images - * Marketing image assets to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - * be 1.91:1 (+-1%). Required if square_marketing_images is - * not present. Combined with `square_marketing_images` and - * `portrait_marketing_images` the maximum is 20. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $square_marketing_images - * Square marketing image assets to be used in the ad. Valid image types are - * GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - * be 1:1 (+-1%). Required if marketing_images is not present. Combined with - * `marketing_images` and `portrait_marketing_images` the maximum is 20. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $portrait_marketing_images - * Portrait marketing image assets to be used in the ad. Valid image types are - * GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - * be 4:5 (+-1%). Combined with `marketing_images` and - * `square_marketing_images` the maximum is 20. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $logo_images - * Logo image assets to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - * 1:1(+-1%). At least 1 and max 5 logo images can be specified. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * Headline text asset of the ad. Maximum display width is 30. At least 1 and - * max 5 headlines can be specified. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * The descriptive text of the ad. Maximum display width is 90. At least 1 and - * max 5 descriptions can be specified. - * @type string $business_name - * The Advertiser/brand name. Maximum display width is 25. Required. - * @type string $call_to_action_text - * Call to action text. - * @type bool $lead_form_only - * Boolean option that indicates if this ad must be served with lead form. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Marketing image assets to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - * be 1.91:1 (+-1%). Required if square_marketing_images is - * not present. Combined with `square_marketing_images` and - * `portrait_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMarketingImages() - { - return $this->marketing_images; - } - - /** - * Marketing image assets to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - * be 1.91:1 (+-1%). Required if square_marketing_images is - * not present. Combined with `square_marketing_images` and - * `portrait_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMarketingImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->marketing_images = $arr; - - return $this; - } - - /** - * Square marketing image assets to be used in the ad. Valid image types are - * GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - * be 1:1 (+-1%). Required if marketing_images is not present. Combined with - * `marketing_images` and `portrait_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_marketing_images = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSquareMarketingImages() - { - return $this->square_marketing_images; - } - - /** - * Square marketing image assets to be used in the ad. Valid image types are - * GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - * be 1:1 (+-1%). Required if marketing_images is not present. Combined with - * `marketing_images` and `portrait_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_marketing_images = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSquareMarketingImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->square_marketing_images = $arr; - - return $this; - } - - /** - * Portrait marketing image assets to be used in the ad. Valid image types are - * GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - * be 4:5 (+-1%). Combined with `marketing_images` and - * `square_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset portrait_marketing_images = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPortraitMarketingImages() - { - return $this->portrait_marketing_images; - } - - /** - * Portrait marketing image assets to be used in the ad. Valid image types are - * GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - * be 4:5 (+-1%). Combined with `marketing_images` and - * `square_marketing_images` the maximum is 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset portrait_marketing_images = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPortraitMarketingImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->portrait_marketing_images = $arr; - - return $this; - } - - /** - * Logo image assets to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - * 1:1(+-1%). At least 1 and max 5 logo images can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLogoImages() - { - return $this->logo_images; - } - - /** - * Logo image assets to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - * 1:1(+-1%). At least 1 and max 5 logo images can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLogoImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->logo_images = $arr; - - return $this; - } - - /** - * Headline text asset of the ad. Maximum display width is 30. At least 1 and - * max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * Headline text asset of the ad. Maximum display width is 30. At least 1 and - * max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * The descriptive text of the ad. Maximum display width is 90. At least 1 and - * max 5 descriptions can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * The descriptive text of the ad. Maximum display width is 90. At least 1 and - * max 5 descriptions can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * The Advertiser/brand name. Maximum display width is 25. Required. - * - * Generated from protobuf field optional string business_name = 7; - * @return string - */ - public function getBusinessName() - { - return isset($this->business_name) ? $this->business_name : ''; - } - - public function hasBusinessName() - { - return isset($this->business_name); - } - - public function clearBusinessName() - { - unset($this->business_name); - } - - /** - * The Advertiser/brand name. Maximum display width is 25. Required. - * - * Generated from protobuf field optional string business_name = 7; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * Call to action text. - * - * Generated from protobuf field optional string call_to_action_text = 8; - * @return string - */ - public function getCallToActionText() - { - return isset($this->call_to_action_text) ? $this->call_to_action_text : ''; - } - - public function hasCallToActionText() - { - return isset($this->call_to_action_text); - } - - public function clearCallToActionText() - { - unset($this->call_to_action_text); - } - - /** - * Call to action text. - * - * Generated from protobuf field optional string call_to_action_text = 8; - * @param string $var - * @return $this - */ - public function setCallToActionText($var) - { - GPBUtil::checkString($var, True); - $this->call_to_action_text = $var; - - return $this; - } - - /** - * Boolean option that indicates if this ad must be served with lead form. - * - * Generated from protobuf field optional bool lead_form_only = 9; - * @return bool - */ - public function getLeadFormOnly() - { - return isset($this->lead_form_only) ? $this->lead_form_only : false; - } - - public function hasLeadFormOnly() - { - return isset($this->lead_form_only); - } - - public function clearLeadFormOnly() - { - unset($this->lead_form_only); - } - - /** - * Boolean option that indicates if this ad must be served with lead form. - * - * Generated from protobuf field optional bool lead_form_only = 9; - * @param bool $var - * @return $this - */ - public function setLeadFormOnly($var) - { - GPBUtil::checkBool($var); - $this->lead_form_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DiscoveryVideoResponsiveAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/DiscoveryVideoResponsiveAdInfo.php deleted file mode 100644 index 8a8ae95ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DiscoveryVideoResponsiveAdInfo.php +++ /dev/null @@ -1,357 +0,0 @@ -google.ads.googleads.v15.common.DiscoveryVideoResponsiveAdInfo - */ -class DiscoveryVideoResponsiveAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * List of text assets used for the short headline, for example, the "Call To - * Action" banner. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - */ - private $headlines; - /** - * List of text assets used for the long headline. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset long_headlines = 2; - */ - private $long_headlines; - /** - * List of text assets used for the description. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - */ - private $descriptions; - /** - * List of YouTube video assets used for the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 4; - */ - private $videos; - /** - * Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. - * The minimum size is 128x128 and the aspect ratio must be 1:1(+-1%). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 5; - */ - private $logo_images; - /** - * First part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb1 = 6; - */ - protected $breadcrumb1 = ''; - /** - * Second part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb2 = 7; - */ - protected $breadcrumb2 = ''; - /** - * Required. The advertiser/brand name. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset business_name = 8 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $business_name = null; - /** - * Assets of type CallToActionAsset used for the "Call To Action" button. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdCallToActionAsset call_to_actions = 9; - */ - private $call_to_actions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * List of text assets used for the short headline, for example, the "Call To - * Action" banner. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $long_headlines - * List of text assets used for the long headline. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * List of text assets used for the description. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $videos - * List of YouTube video assets used for the ad. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $logo_images - * Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. - * The minimum size is 128x128 and the aspect ratio must be 1:1(+-1%). - * @type string $breadcrumb1 - * First part of text that appears in the ad with the displayed URL. - * @type string $breadcrumb2 - * Second part of text that appears in the ad with the displayed URL. - * @type \Google\Ads\GoogleAds\V15\Common\AdTextAsset $business_name - * Required. The advertiser/brand name. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdCallToActionAsset>|\Google\Protobuf\Internal\RepeatedField $call_to_actions - * Assets of type CallToActionAsset used for the "Call To Action" button. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * List of text assets used for the short headline, for example, the "Call To - * Action" banner. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * List of text assets used for the short headline, for example, the "Call To - * Action" banner. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * List of text assets used for the long headline. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset long_headlines = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLongHeadlines() - { - return $this->long_headlines; - } - - /** - * List of text assets used for the long headline. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset long_headlines = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLongHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->long_headlines = $arr; - - return $this; - } - - /** - * List of text assets used for the description. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * List of text assets used for the description. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * List of YouTube video assets used for the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getVideos() - { - return $this->videos; - } - - /** - * List of YouTube video assets used for the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setVideos($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdVideoAsset::class); - $this->videos = $arr; - - return $this; - } - - /** - * Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. - * The minimum size is 128x128 and the aspect ratio must be 1:1(+-1%). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLogoImages() - { - return $this->logo_images; - } - - /** - * Logo image to be used in the ad. Valid image types are GIF, JPEG, and PNG. - * The minimum size is 128x128 and the aspect ratio must be 1:1(+-1%). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLogoImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->logo_images = $arr; - - return $this; - } - - /** - * First part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb1 = 6; - * @return string - */ - public function getBreadcrumb1() - { - return $this->breadcrumb1; - } - - /** - * First part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb1 = 6; - * @param string $var - * @return $this - */ - public function setBreadcrumb1($var) - { - GPBUtil::checkString($var, True); - $this->breadcrumb1 = $var; - - return $this; - } - - /** - * Second part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb2 = 7; - * @return string - */ - public function getBreadcrumb2() - { - return $this->breadcrumb2; - } - - /** - * Second part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb2 = 7; - * @param string $var - * @return $this - */ - public function setBreadcrumb2($var) - { - GPBUtil::checkString($var, True); - $this->breadcrumb2 = $var; - - return $this; - } - - /** - * Required. The advertiser/brand name. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset business_name = 8 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\AdTextAsset|null - */ - public function getBusinessName() - { - return $this->business_name; - } - - public function hasBusinessName() - { - return isset($this->business_name); - } - - public function clearBusinessName() - { - unset($this->business_name); - } - - /** - * Required. The advertiser/brand name. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset business_name = 8 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\AdTextAsset $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->business_name = $var; - - return $this; - } - - /** - * Assets of type CallToActionAsset used for the "Call To Action" button. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdCallToActionAsset call_to_actions = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCallToActions() - { - return $this->call_to_actions; - } - - /** - * Assets of type CallToActionAsset used for the "Call To Action" button. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdCallToActionAsset call_to_actions = 9; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdCallToActionAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCallToActions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdCallToActionAsset::class); - $this->call_to_actions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DisplayUploadAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/DisplayUploadAdInfo.php deleted file mode 100644 index 9853885de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DisplayUploadAdInfo.php +++ /dev/null @@ -1,129 +0,0 @@ -google.ads.googleads.v15.common.DisplayUploadAdInfo - */ -class DisplayUploadAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The product type of this ad. See comments on the enum for details. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType display_upload_product_type = 1; - */ - protected $display_upload_product_type = 0; - protected $media_asset; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $display_upload_product_type - * The product type of this ad. See comments on the enum for details. - * @type \Google\Ads\GoogleAds\V15\Common\AdMediaBundleAsset $media_bundle - * A media bundle asset to be used in the ad. For information about the - * media bundle for HTML5_UPLOAD_AD, see - * https://support.google.com/google-ads/answer/1722096 - * Media bundles that are part of dynamic product types use a special format - * that needs to be created through the Google Web Designer. See - * https://support.google.com/webdesigner/answer/7543898 for more - * information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The product type of this ad. See comments on the enum for details. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType display_upload_product_type = 1; - * @return int - */ - public function getDisplayUploadProductType() - { - return $this->display_upload_product_type; - } - - /** - * The product type of this ad. See comments on the enum for details. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType display_upload_product_type = 1; - * @param int $var - * @return $this - */ - public function setDisplayUploadProductType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DisplayUploadProductTypeEnum\DisplayUploadProductType::class); - $this->display_upload_product_type = $var; - - return $this; - } - - /** - * A media bundle asset to be used in the ad. For information about the - * media bundle for HTML5_UPLOAD_AD, see - * https://support.google.com/google-ads/answer/1722096 - * Media bundles that are part of dynamic product types use a special format - * that needs to be created through the Google Web Designer. See - * https://support.google.com/webdesigner/answer/7543898 for more - * information. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdMediaBundleAsset media_bundle = 2; - * @return \Google\Ads\GoogleAds\V15\Common\AdMediaBundleAsset|null - */ - public function getMediaBundle() - { - return $this->readOneof(2); - } - - public function hasMediaBundle() - { - return $this->hasOneof(2); - } - - /** - * A media bundle asset to be used in the ad. For information about the - * media bundle for HTML5_UPLOAD_AD, see - * https://support.google.com/google-ads/answer/1722096 - * Media bundles that are part of dynamic product types use a special format - * that needs to be created through the Google Web Designer. See - * https://support.google.com/webdesigner/answer/7543898 for more - * information. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdMediaBundleAsset media_bundle = 2; - * @param \Google\Ads\GoogleAds\V15\Common\AdMediaBundleAsset $var - * @return $this - */ - public function setMediaBundle($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdMediaBundleAsset::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getMediaAsset() - { - return $this->whichOneof("media_asset"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicAffiliateLocationSetFilter.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicAffiliateLocationSetFilter.php deleted file mode 100644 index a04871f16..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicAffiliateLocationSetFilter.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.common.DynamicAffiliateLocationSetFilter - */ -class DynamicAffiliateLocationSetFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Used to filter affiliate locations by chain ids. Only affiliate locations - * that belong to the specified chain(s) will be added to the FeedItemSet. - * - * Generated from protobuf field repeated int64 chain_ids = 1; - */ - private $chain_ids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|array|\Google\Protobuf\Internal\RepeatedField $chain_ids - * Used to filter affiliate locations by chain ids. Only affiliate locations - * that belong to the specified chain(s) will be added to the FeedItemSet. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\FeedItemSetFilterTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Used to filter affiliate locations by chain ids. Only affiliate locations - * that belong to the specified chain(s) will be added to the FeedItemSet. - * - * Generated from protobuf field repeated int64 chain_ids = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getChainIds() - { - return $this->chain_ids; - } - - /** - * Used to filter affiliate locations by chain ids. Only affiliate locations - * that belong to the specified chain(s) will be added to the FeedItemSet. - * - * Generated from protobuf field repeated int64 chain_ids = 1; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setChainIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->chain_ids = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicBusinessProfileLocationGroupFilter.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicBusinessProfileLocationGroupFilter.php deleted file mode 100644 index 19242771c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicBusinessProfileLocationGroupFilter.php +++ /dev/null @@ -1,154 +0,0 @@ -google.ads.googleads.v15.common.DynamicBusinessProfileLocationGroupFilter - */ -class DynamicBusinessProfileLocationGroupFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Used to filter Business Profile locations by label. Only locations that - * have any of the listed labels will be in the asset set. - * Label filters are OR'ed together. - * - * Generated from protobuf field repeated string label_filters = 1; - */ - private $label_filters; - /** - * Used to filter Business Profile locations by business name. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.BusinessProfileBusinessNameFilter business_name_filter = 2; - */ - protected $business_name_filter = null; - /** - * Used to filter Business Profile locations by listing ids. - * - * Generated from protobuf field repeated int64 listing_id_filters = 3; - */ - private $listing_id_filters; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $label_filters - * Used to filter Business Profile locations by label. Only locations that - * have any of the listed labels will be in the asset set. - * Label filters are OR'ed together. - * @type \Google\Ads\GoogleAds\V15\Common\BusinessProfileBusinessNameFilter $business_name_filter - * Used to filter Business Profile locations by business name. - * @type array|array|\Google\Protobuf\Internal\RepeatedField $listing_id_filters - * Used to filter Business Profile locations by listing ids. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Used to filter Business Profile locations by label. Only locations that - * have any of the listed labels will be in the asset set. - * Label filters are OR'ed together. - * - * Generated from protobuf field repeated string label_filters = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabelFilters() - { - return $this->label_filters; - } - - /** - * Used to filter Business Profile locations by label. Only locations that - * have any of the listed labels will be in the asset set. - * Label filters are OR'ed together. - * - * Generated from protobuf field repeated string label_filters = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabelFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->label_filters = $arr; - - return $this; - } - - /** - * Used to filter Business Profile locations by business name. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.BusinessProfileBusinessNameFilter business_name_filter = 2; - * @return \Google\Ads\GoogleAds\V15\Common\BusinessProfileBusinessNameFilter|null - */ - public function getBusinessNameFilter() - { - return $this->business_name_filter; - } - - public function hasBusinessNameFilter() - { - return isset($this->business_name_filter); - } - - public function clearBusinessNameFilter() - { - unset($this->business_name_filter); - } - - /** - * Used to filter Business Profile locations by business name. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.BusinessProfileBusinessNameFilter business_name_filter = 2; - * @param \Google\Ads\GoogleAds\V15\Common\BusinessProfileBusinessNameFilter $var - * @return $this - */ - public function setBusinessNameFilter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BusinessProfileBusinessNameFilter::class); - $this->business_name_filter = $var; - - return $this; - } - - /** - * Used to filter Business Profile locations by listing ids. - * - * Generated from protobuf field repeated int64 listing_id_filters = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getListingIdFilters() - { - return $this->listing_id_filters; - } - - /** - * Used to filter Business Profile locations by listing ids. - * - * Generated from protobuf field repeated int64 listing_id_filters = 3; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setListingIdFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->listing_id_filters = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicCustomAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicCustomAsset.php deleted file mode 100644 index 8b556dc81..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicCustomAsset.php +++ /dev/null @@ -1,671 +0,0 @@ -google.ads.googleads.v15.common.DynamicCustomAsset - */ -class DynamicCustomAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID which can be any sequence of letters and digits, and must be - * unique and match the values of remarketing tag, for example, sedan. - * Required. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $id = ''; - /** - * ID2 which can be any sequence of letters and digits, for example, red. ID - * sequence (ID + ID2) must be unique. - * - * Generated from protobuf field string id2 = 2; - */ - protected $id2 = ''; - /** - * Required. Item title, for example, Mid-size sedan. Required. - * - * Generated from protobuf field string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $item_title = ''; - /** - * Item subtitle, for example, At your Mountain View dealership. - * - * Generated from protobuf field string item_subtitle = 4; - */ - protected $item_subtitle = ''; - /** - * Item description, for example, Best selling mid-size car. - * - * Generated from protobuf field string item_description = 5; - */ - protected $item_description = ''; - /** - * Item address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string item_address = 6; - */ - protected $item_address = ''; - /** - * Item category, for example, Sedans. - * - * Generated from protobuf field string item_category = 7; - */ - protected $item_category = ''; - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. - * - * Generated from protobuf field string price = 8; - */ - protected $price = ''; - /** - * Sale price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 9; - */ - protected $sale_price = ''; - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $20,000.00. - * - * Generated from protobuf field string formatted_price = 10; - */ - protected $formatted_price = ''; - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $15,000.00. - * - * Generated from protobuf field string formatted_sale_price = 11; - */ - protected $formatted_sale_price = ''; - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 12; - */ - protected $image_url = ''; - /** - * Contextual keywords, for example, Sedans, 4 door sedans. - * - * Generated from protobuf field repeated string contextual_keywords = 13; - */ - private $contextual_keywords; - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 14; - */ - protected $android_app_link = ''; - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 16; - */ - protected $ios_app_link = ''; - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 17; - */ - protected $ios_app_store_id = 0; - /** - * Similar IDs. - * - * Generated from protobuf field repeated string similar_ids = 15; - */ - private $similar_ids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $id - * Required. ID which can be any sequence of letters and digits, and must be - * unique and match the values of remarketing tag, for example, sedan. - * Required. - * @type string $id2 - * ID2 which can be any sequence of letters and digits, for example, red. ID - * sequence (ID + ID2) must be unique. - * @type string $item_title - * Required. Item title, for example, Mid-size sedan. Required. - * @type string $item_subtitle - * Item subtitle, for example, At your Mountain View dealership. - * @type string $item_description - * Item description, for example, Best selling mid-size car. - * @type string $item_address - * Item address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * @type string $item_category - * Item category, for example, Sedans. - * @type string $price - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. - * @type string $sale_price - * Sale price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. - * Must be less than the 'price' field. - * @type string $formatted_price - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $20,000.00. - * @type string $formatted_sale_price - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $15,000.00. - * @type string $image_url - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * @type array|\Google\Protobuf\Internal\RepeatedField $contextual_keywords - * Contextual keywords, for example, Sedans, 4 door sedans. - * @type string $android_app_link - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * @type string $ios_app_link - * iOS deep link, for example, exampleApp://content/page. - * @type int|string $ios_app_store_id - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * @type array|\Google\Protobuf\Internal\RepeatedField $similar_ids - * Similar IDs. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID which can be any sequence of letters and digits, and must be - * unique and match the values of remarketing tag, for example, sedan. - * Required. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * Required. ID which can be any sequence of letters and digits, and must be - * unique and match the values of remarketing tag, for example, sedan. - * Required. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * ID2 which can be any sequence of letters and digits, for example, red. ID - * sequence (ID + ID2) must be unique. - * - * Generated from protobuf field string id2 = 2; - * @return string - */ - public function getId2() - { - return $this->id2; - } - - /** - * ID2 which can be any sequence of letters and digits, for example, red. ID - * sequence (ID + ID2) must be unique. - * - * Generated from protobuf field string id2 = 2; - * @param string $var - * @return $this - */ - public function setId2($var) - { - GPBUtil::checkString($var, True); - $this->id2 = $var; - - return $this; - } - - /** - * Required. Item title, for example, Mid-size sedan. Required. - * - * Generated from protobuf field string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getItemTitle() - { - return $this->item_title; - } - - /** - * Required. Item title, for example, Mid-size sedan. Required. - * - * Generated from protobuf field string item_title = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setItemTitle($var) - { - GPBUtil::checkString($var, True); - $this->item_title = $var; - - return $this; - } - - /** - * Item subtitle, for example, At your Mountain View dealership. - * - * Generated from protobuf field string item_subtitle = 4; - * @return string - */ - public function getItemSubtitle() - { - return $this->item_subtitle; - } - - /** - * Item subtitle, for example, At your Mountain View dealership. - * - * Generated from protobuf field string item_subtitle = 4; - * @param string $var - * @return $this - */ - public function setItemSubtitle($var) - { - GPBUtil::checkString($var, True); - $this->item_subtitle = $var; - - return $this; - } - - /** - * Item description, for example, Best selling mid-size car. - * - * Generated from protobuf field string item_description = 5; - * @return string - */ - public function getItemDescription() - { - return $this->item_description; - } - - /** - * Item description, for example, Best selling mid-size car. - * - * Generated from protobuf field string item_description = 5; - * @param string $var - * @return $this - */ - public function setItemDescription($var) - { - GPBUtil::checkString($var, True); - $this->item_description = $var; - - return $this; - } - - /** - * Item address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string item_address = 6; - * @return string - */ - public function getItemAddress() - { - return $this->item_address; - } - - /** - * Item address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string item_address = 6; - * @param string $var - * @return $this - */ - public function setItemAddress($var) - { - GPBUtil::checkString($var, True); - $this->item_address = $var; - - return $this; - } - - /** - * Item category, for example, Sedans. - * - * Generated from protobuf field string item_category = 7; - * @return string - */ - public function getItemCategory() - { - return $this->item_category; - } - - /** - * Item category, for example, Sedans. - * - * Generated from protobuf field string item_category = 7; - * @param string $var - * @return $this - */ - public function setItemCategory($var) - { - GPBUtil::checkString($var, True); - $this->item_category = $var; - - return $this; - } - - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. - * - * Generated from protobuf field string price = 8; - * @return string - */ - public function getPrice() - { - return $this->price; - } - - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. - * - * Generated from protobuf field string price = 8; - * @param string $var - * @return $this - */ - public function setPrice($var) - { - GPBUtil::checkString($var, True); - $this->price = $var; - - return $this; - } - - /** - * Sale price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 9; - * @return string - */ - public function getSalePrice() - { - return $this->sale_price; - } - - /** - * Sale price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 9; - * @param string $var - * @return $this - */ - public function setSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->sale_price = $var; - - return $this; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $20,000.00. - * - * Generated from protobuf field string formatted_price = 10; - * @return string - */ - public function getFormattedPrice() - { - return $this->formatted_price; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $20,000.00. - * - * Generated from protobuf field string formatted_price = 10; - * @param string $var - * @return $this - */ - public function setFormattedPrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_price = $var; - - return $this; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $15,000.00. - * - * Generated from protobuf field string formatted_sale_price = 11; - * @return string - */ - public function getFormattedSalePrice() - { - return $this->formatted_sale_price; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $15,000.00. - * - * Generated from protobuf field string formatted_sale_price = 11; - * @param string $var - * @return $this - */ - public function setFormattedSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_sale_price = $var; - - return $this; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 12; - * @return string - */ - public function getImageUrl() - { - return $this->image_url; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 12; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - - /** - * Contextual keywords, for example, Sedans, 4 door sedans. - * - * Generated from protobuf field repeated string contextual_keywords = 13; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContextualKeywords() - { - return $this->contextual_keywords; - } - - /** - * Contextual keywords, for example, Sedans, 4 door sedans. - * - * Generated from protobuf field repeated string contextual_keywords = 13; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContextualKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->contextual_keywords = $arr; - - return $this; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 14; - * @return string - */ - public function getAndroidAppLink() - { - return $this->android_app_link; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 14; - * @param string $var - * @return $this - */ - public function setAndroidAppLink($var) - { - GPBUtil::checkString($var, True); - $this->android_app_link = $var; - - return $this; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 16; - * @return string - */ - public function getIosAppLink() - { - return $this->ios_app_link; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 16; - * @param string $var - * @return $this - */ - public function setIosAppLink($var) - { - GPBUtil::checkString($var, True); - $this->ios_app_link = $var; - - return $this; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 17; - * @return int|string - */ - public function getIosAppStoreId() - { - return $this->ios_app_store_id; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 17; - * @param int|string $var - * @return $this - */ - public function setIosAppStoreId($var) - { - GPBUtil::checkInt64($var); - $this->ios_app_store_id = $var; - - return $this; - } - - /** - * Similar IDs. - * - * Generated from protobuf field repeated string similar_ids = 15; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSimilarIds() - { - return $this->similar_ids; - } - - /** - * Similar IDs. - * - * Generated from protobuf field repeated string similar_ids = 15; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSimilarIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->similar_ids = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicEducationAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicEducationAsset.php deleted file mode 100644 index f4c9cb707..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicEducationAsset.php +++ /dev/null @@ -1,553 +0,0 @@ -google.ads.googleads.v15.common.DynamicEducationAsset - */ -class DynamicEducationAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Program ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $program_id = ''; - /** - * Location ID which can be any sequence of letters and digits and must be - * unique. - * - * Generated from protobuf field string location_id = 2; - */ - protected $location_id = ''; - /** - * Required. Program name, for example, Nursing. Required. - * - * Generated from protobuf field string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $program_name = ''; - /** - * Subject of study, for example, Health. - * - * Generated from protobuf field string subject = 4; - */ - protected $subject = ''; - /** - * Program description, for example, Nursing Certification. - * - * Generated from protobuf field string program_description = 5; - */ - protected $program_description = ''; - /** - * School name, for example, Mountain View School of Nursing. - * - * Generated from protobuf field string school_name = 6; - */ - protected $school_name = ''; - /** - * School address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 7; - */ - protected $address = ''; - /** - * Contextual keywords, for example, Nursing certification, Health, Mountain - * View. - * - * Generated from protobuf field repeated string contextual_keywords = 8; - */ - private $contextual_keywords; - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 9; - */ - protected $android_app_link = ''; - /** - * Similar program IDs. - * - * Generated from protobuf field repeated string similar_program_ids = 10; - */ - private $similar_program_ids; - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 11; - */ - protected $ios_app_link = ''; - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 12; - */ - protected $ios_app_store_id = 0; - /** - * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The - * thumbnail image will not be uploaded as image asset. - * - * Generated from protobuf field string thumbnail_image_url = 13; - */ - protected $thumbnail_image_url = ''; - /** - * Image url, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 14; - */ - protected $image_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $program_id - * Required. Program ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * @type string $location_id - * Location ID which can be any sequence of letters and digits and must be - * unique. - * @type string $program_name - * Required. Program name, for example, Nursing. Required. - * @type string $subject - * Subject of study, for example, Health. - * @type string $program_description - * Program description, for example, Nursing Certification. - * @type string $school_name - * School name, for example, Mountain View School of Nursing. - * @type string $address - * School address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * @type array|\Google\Protobuf\Internal\RepeatedField $contextual_keywords - * Contextual keywords, for example, Nursing certification, Health, Mountain - * View. - * @type string $android_app_link - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * @type array|\Google\Protobuf\Internal\RepeatedField $similar_program_ids - * Similar program IDs. - * @type string $ios_app_link - * iOS deep link, for example, exampleApp://content/page. - * @type int|string $ios_app_store_id - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * @type string $thumbnail_image_url - * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The - * thumbnail image will not be uploaded as image asset. - * @type string $image_url - * Image url, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Program ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getProgramId() - { - return $this->program_id; - } - - /** - * Required. Program ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string program_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setProgramId($var) - { - GPBUtil::checkString($var, True); - $this->program_id = $var; - - return $this; - } - - /** - * Location ID which can be any sequence of letters and digits and must be - * unique. - * - * Generated from protobuf field string location_id = 2; - * @return string - */ - public function getLocationId() - { - return $this->location_id; - } - - /** - * Location ID which can be any sequence of letters and digits and must be - * unique. - * - * Generated from protobuf field string location_id = 2; - * @param string $var - * @return $this - */ - public function setLocationId($var) - { - GPBUtil::checkString($var, True); - $this->location_id = $var; - - return $this; - } - - /** - * Required. Program name, for example, Nursing. Required. - * - * Generated from protobuf field string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getProgramName() - { - return $this->program_name; - } - - /** - * Required. Program name, for example, Nursing. Required. - * - * Generated from protobuf field string program_name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setProgramName($var) - { - GPBUtil::checkString($var, True); - $this->program_name = $var; - - return $this; - } - - /** - * Subject of study, for example, Health. - * - * Generated from protobuf field string subject = 4; - * @return string - */ - public function getSubject() - { - return $this->subject; - } - - /** - * Subject of study, for example, Health. - * - * Generated from protobuf field string subject = 4; - * @param string $var - * @return $this - */ - public function setSubject($var) - { - GPBUtil::checkString($var, True); - $this->subject = $var; - - return $this; - } - - /** - * Program description, for example, Nursing Certification. - * - * Generated from protobuf field string program_description = 5; - * @return string - */ - public function getProgramDescription() - { - return $this->program_description; - } - - /** - * Program description, for example, Nursing Certification. - * - * Generated from protobuf field string program_description = 5; - * @param string $var - * @return $this - */ - public function setProgramDescription($var) - { - GPBUtil::checkString($var, True); - $this->program_description = $var; - - return $this; - } - - /** - * School name, for example, Mountain View School of Nursing. - * - * Generated from protobuf field string school_name = 6; - * @return string - */ - public function getSchoolName() - { - return $this->school_name; - } - - /** - * School name, for example, Mountain View School of Nursing. - * - * Generated from protobuf field string school_name = 6; - * @param string $var - * @return $this - */ - public function setSchoolName($var) - { - GPBUtil::checkString($var, True); - $this->school_name = $var; - - return $this; - } - - /** - * School address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 7; - * @return string - */ - public function getAddress() - { - return $this->address; - } - - /** - * School address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 7; - * @param string $var - * @return $this - */ - public function setAddress($var) - { - GPBUtil::checkString($var, True); - $this->address = $var; - - return $this; - } - - /** - * Contextual keywords, for example, Nursing certification, Health, Mountain - * View. - * - * Generated from protobuf field repeated string contextual_keywords = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContextualKeywords() - { - return $this->contextual_keywords; - } - - /** - * Contextual keywords, for example, Nursing certification, Health, Mountain - * View. - * - * Generated from protobuf field repeated string contextual_keywords = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContextualKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->contextual_keywords = $arr; - - return $this; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 9; - * @return string - */ - public function getAndroidAppLink() - { - return $this->android_app_link; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 9; - * @param string $var - * @return $this - */ - public function setAndroidAppLink($var) - { - GPBUtil::checkString($var, True); - $this->android_app_link = $var; - - return $this; - } - - /** - * Similar program IDs. - * - * Generated from protobuf field repeated string similar_program_ids = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSimilarProgramIds() - { - return $this->similar_program_ids; - } - - /** - * Similar program IDs. - * - * Generated from protobuf field repeated string similar_program_ids = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSimilarProgramIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->similar_program_ids = $arr; - - return $this; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 11; - * @return string - */ - public function getIosAppLink() - { - return $this->ios_app_link; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 11; - * @param string $var - * @return $this - */ - public function setIosAppLink($var) - { - GPBUtil::checkString($var, True); - $this->ios_app_link = $var; - - return $this; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 12; - * @return int|string - */ - public function getIosAppStoreId() - { - return $this->ios_app_store_id; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 12; - * @param int|string $var - * @return $this - */ - public function setIosAppStoreId($var) - { - GPBUtil::checkInt64($var); - $this->ios_app_store_id = $var; - - return $this; - } - - /** - * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The - * thumbnail image will not be uploaded as image asset. - * - * Generated from protobuf field string thumbnail_image_url = 13; - * @return string - */ - public function getThumbnailImageUrl() - { - return $this->thumbnail_image_url; - } - - /** - * Thumbnail image url, for example, http://www.example.com/thumbnail.png. The - * thumbnail image will not be uploaded as image asset. - * - * Generated from protobuf field string thumbnail_image_url = 13; - * @param string $var - * @return $this - */ - public function setThumbnailImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->thumbnail_image_url = $var; - - return $this; - } - - /** - * Image url, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 14; - * @return string - */ - public function getImageUrl() - { - return $this->image_url; - } - - /** - * Image url, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 14; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicFlightsAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicFlightsAsset.php deleted file mode 100644 index a03b0f2fc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicFlightsAsset.php +++ /dev/null @@ -1,603 +0,0 @@ -google.ads.googleads.v15.common.DynamicFlightsAsset - */ -class DynamicFlightsAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Destination ID which can be any sequence of letters and digits, - * and must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string destination_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $destination_id = ''; - /** - * Origin ID which can be any sequence of letters and digits. The ID sequence - * (destination ID + origin ID) must be unique. - * - * Generated from protobuf field string origin_id = 2; - */ - protected $origin_id = ''; - /** - * Required. Flight description, for example, Book your ticket. Required. - * - * Generated from protobuf field string flight_description = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $flight_description = ''; - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 4; - */ - protected $image_url = ''; - /** - * Destination name, for example, Paris. - * - * Generated from protobuf field string destination_name = 5; - */ - protected $destination_name = ''; - /** - * Origin name, for example, London. - * - * Generated from protobuf field string origin_name = 6; - */ - protected $origin_name = ''; - /** - * Flight price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string flight_price = 7; - */ - protected $flight_price = ''; - /** - * Flight sale price which can be number followed by the alphabetic currency - * code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - * USD. Must be less than the 'flight_price' field. - * - * Generated from protobuf field string flight_sale_price = 8; - */ - protected $flight_sale_price = ''; - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 9; - */ - protected $formatted_price = ''; - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 10; - */ - protected $formatted_sale_price = ''; - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 11; - */ - protected $android_app_link = ''; - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 12; - */ - protected $ios_app_link = ''; - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 13; - */ - protected $ios_app_store_id = 0; - /** - * Similar destination IDs, for example, PAR,LON. - * - * Generated from protobuf field repeated string similar_destination_ids = 14; - */ - private $similar_destination_ids; - /** - * A custom field which can be multiple key to values mapping separated by - * delimiters (",", "|" and ":"), in the forms of - * ": , , ... , | : , ... - * , | ... | : , ... ," for example, wifi: - * most | aircraft: 320, 77W | flights: 42 | legroom: 32". - * - * Generated from protobuf field string custom_mapping = 15; - */ - protected $custom_mapping = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $destination_id - * Required. Destination ID which can be any sequence of letters and digits, - * and must be unique and match the values of remarketing tag. Required. - * @type string $origin_id - * Origin ID which can be any sequence of letters and digits. The ID sequence - * (destination ID + origin ID) must be unique. - * @type string $flight_description - * Required. Flight description, for example, Book your ticket. Required. - * @type string $image_url - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * @type string $destination_name - * Destination name, for example, Paris. - * @type string $origin_name - * Origin name, for example, London. - * @type string $flight_price - * Flight price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * @type string $flight_sale_price - * Flight sale price which can be number followed by the alphabetic currency - * code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - * USD. Must be less than the 'flight_price' field. - * @type string $formatted_price - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * @type string $formatted_sale_price - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * @type string $android_app_link - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * @type string $ios_app_link - * iOS deep link, for example, exampleApp://content/page. - * @type int|string $ios_app_store_id - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * @type array|\Google\Protobuf\Internal\RepeatedField $similar_destination_ids - * Similar destination IDs, for example, PAR,LON. - * @type string $custom_mapping - * A custom field which can be multiple key to values mapping separated by - * delimiters (",", "|" and ":"), in the forms of - * ": , , ... , | : , ... - * , | ... | : , ... ," for example, wifi: - * most | aircraft: 320, 77W | flights: 42 | legroom: 32". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Destination ID which can be any sequence of letters and digits, - * and must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string destination_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDestinationId() - { - return $this->destination_id; - } - - /** - * Required. Destination ID which can be any sequence of letters and digits, - * and must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string destination_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDestinationId($var) - { - GPBUtil::checkString($var, True); - $this->destination_id = $var; - - return $this; - } - - /** - * Origin ID which can be any sequence of letters and digits. The ID sequence - * (destination ID + origin ID) must be unique. - * - * Generated from protobuf field string origin_id = 2; - * @return string - */ - public function getOriginId() - { - return $this->origin_id; - } - - /** - * Origin ID which can be any sequence of letters and digits. The ID sequence - * (destination ID + origin ID) must be unique. - * - * Generated from protobuf field string origin_id = 2; - * @param string $var - * @return $this - */ - public function setOriginId($var) - { - GPBUtil::checkString($var, True); - $this->origin_id = $var; - - return $this; - } - - /** - * Required. Flight description, for example, Book your ticket. Required. - * - * Generated from protobuf field string flight_description = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFlightDescription() - { - return $this->flight_description; - } - - /** - * Required. Flight description, for example, Book your ticket. Required. - * - * Generated from protobuf field string flight_description = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFlightDescription($var) - { - GPBUtil::checkString($var, True); - $this->flight_description = $var; - - return $this; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 4; - * @return string - */ - public function getImageUrl() - { - return $this->image_url; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 4; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - - /** - * Destination name, for example, Paris. - * - * Generated from protobuf field string destination_name = 5; - * @return string - */ - public function getDestinationName() - { - return $this->destination_name; - } - - /** - * Destination name, for example, Paris. - * - * Generated from protobuf field string destination_name = 5; - * @param string $var - * @return $this - */ - public function setDestinationName($var) - { - GPBUtil::checkString($var, True); - $this->destination_name = $var; - - return $this; - } - - /** - * Origin name, for example, London. - * - * Generated from protobuf field string origin_name = 6; - * @return string - */ - public function getOriginName() - { - return $this->origin_name; - } - - /** - * Origin name, for example, London. - * - * Generated from protobuf field string origin_name = 6; - * @param string $var - * @return $this - */ - public function setOriginName($var) - { - GPBUtil::checkString($var, True); - $this->origin_name = $var; - - return $this; - } - - /** - * Flight price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string flight_price = 7; - * @return string - */ - public function getFlightPrice() - { - return $this->flight_price; - } - - /** - * Flight price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string flight_price = 7; - * @param string $var - * @return $this - */ - public function setFlightPrice($var) - { - GPBUtil::checkString($var, True); - $this->flight_price = $var; - - return $this; - } - - /** - * Flight sale price which can be number followed by the alphabetic currency - * code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - * USD. Must be less than the 'flight_price' field. - * - * Generated from protobuf field string flight_sale_price = 8; - * @return string - */ - public function getFlightSalePrice() - { - return $this->flight_sale_price; - } - - /** - * Flight sale price which can be number followed by the alphabetic currency - * code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - * USD. Must be less than the 'flight_price' field. - * - * Generated from protobuf field string flight_sale_price = 8; - * @param string $var - * @return $this - */ - public function setFlightSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->flight_sale_price = $var; - - return $this; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 9; - * @return string - */ - public function getFormattedPrice() - { - return $this->formatted_price; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 9; - * @param string $var - * @return $this - */ - public function setFormattedPrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_price = $var; - - return $this; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 10; - * @return string - */ - public function getFormattedSalePrice() - { - return $this->formatted_sale_price; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 10; - * @param string $var - * @return $this - */ - public function setFormattedSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_sale_price = $var; - - return $this; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 11; - * @return string - */ - public function getAndroidAppLink() - { - return $this->android_app_link; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 11; - * @param string $var - * @return $this - */ - public function setAndroidAppLink($var) - { - GPBUtil::checkString($var, True); - $this->android_app_link = $var; - - return $this; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 12; - * @return string - */ - public function getIosAppLink() - { - return $this->ios_app_link; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 12; - * @param string $var - * @return $this - */ - public function setIosAppLink($var) - { - GPBUtil::checkString($var, True); - $this->ios_app_link = $var; - - return $this; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 13; - * @return int|string - */ - public function getIosAppStoreId() - { - return $this->ios_app_store_id; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 13; - * @param int|string $var - * @return $this - */ - public function setIosAppStoreId($var) - { - GPBUtil::checkInt64($var); - $this->ios_app_store_id = $var; - - return $this; - } - - /** - * Similar destination IDs, for example, PAR,LON. - * - * Generated from protobuf field repeated string similar_destination_ids = 14; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSimilarDestinationIds() - { - return $this->similar_destination_ids; - } - - /** - * Similar destination IDs, for example, PAR,LON. - * - * Generated from protobuf field repeated string similar_destination_ids = 14; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSimilarDestinationIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->similar_destination_ids = $arr; - - return $this; - } - - /** - * A custom field which can be multiple key to values mapping separated by - * delimiters (",", "|" and ":"), in the forms of - * ": , , ... , | : , ... - * , | ... | : , ... ," for example, wifi: - * most | aircraft: 320, 77W | flights: 42 | legroom: 32". - * - * Generated from protobuf field string custom_mapping = 15; - * @return string - */ - public function getCustomMapping() - { - return $this->custom_mapping; - } - - /** - * A custom field which can be multiple key to values mapping separated by - * delimiters (",", "|" and ":"), in the forms of - * ": , , ... , | : , ... - * , | ... | : , ... ," for example, wifi: - * most | aircraft: 320, 77W | flights: 42 | legroom: 32". - * - * Generated from protobuf field string custom_mapping = 15; - * @param string $var - * @return $this - */ - public function setCustomMapping($var) - { - GPBUtil::checkString($var, True); - $this->custom_mapping = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicHotelsAndRentalsAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicHotelsAndRentalsAsset.php deleted file mode 100644 index abbd9faa3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicHotelsAndRentalsAsset.php +++ /dev/null @@ -1,659 +0,0 @@ -google.ads.googleads.v15.common.DynamicHotelsAndRentalsAsset - */ -class DynamicHotelsAndRentalsAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Property ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string property_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $property_id = ''; - /** - * Required. Property name, for example, Mountain View Hotel. Required. - * - * Generated from protobuf field string property_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $property_name = ''; - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 3; - */ - protected $image_url = ''; - /** - * Destination name, for example, Downtown Mountain View. - * - * Generated from protobuf field string destination_name = 4; - */ - protected $destination_name = ''; - /** - * Description, for example, Close to SJC Airport. - * - * Generated from protobuf field string description = 5; - */ - protected $description = ''; - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 6; - */ - protected $price = ''; - /** - * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 7; - */ - protected $sale_price = ''; - /** - * Star rating. Must be a number between 1 to 5, inclusive. - * - * Generated from protobuf field int64 star_rating = 8; - */ - protected $star_rating = 0; - /** - * Category, for example, Hotel suite. - * - * Generated from protobuf field string category = 9; - */ - protected $category = ''; - /** - * Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - */ - private $contextual_keywords; - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 11; - */ - protected $address = ''; - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 12; - */ - protected $android_app_link = ''; - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - */ - protected $ios_app_link = ''; - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - */ - protected $ios_app_store_id = 0; - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 15; - */ - protected $formatted_price = ''; - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 16; - */ - protected $formatted_sale_price = ''; - /** - * Similar property IDs. - * - * Generated from protobuf field repeated string similar_property_ids = 17; - */ - private $similar_property_ids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property_id - * Required. Property ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * @type string $property_name - * Required. Property name, for example, Mountain View Hotel. Required. - * @type string $image_url - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * @type string $destination_name - * Destination name, for example, Downtown Mountain View. - * @type string $description - * Description, for example, Close to SJC Airport. - * @type string $price - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * @type string $sale_price - * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - * Must be less than the 'price' field. - * @type int|string $star_rating - * Star rating. Must be a number between 1 to 5, inclusive. - * @type string $category - * Category, for example, Hotel suite. - * @type array|\Google\Protobuf\Internal\RepeatedField $contextual_keywords - * Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. - * @type string $address - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * @type string $android_app_link - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * @type string $ios_app_link - * iOS deep link, for example, exampleApp://content/page. - * @type int|string $ios_app_store_id - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * @type string $formatted_price - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * @type string $formatted_sale_price - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * @type array|\Google\Protobuf\Internal\RepeatedField $similar_property_ids - * Similar property IDs. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Property ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string property_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPropertyId() - { - return $this->property_id; - } - - /** - * Required. Property ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string property_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPropertyId($var) - { - GPBUtil::checkString($var, True); - $this->property_id = $var; - - return $this; - } - - /** - * Required. Property name, for example, Mountain View Hotel. Required. - * - * Generated from protobuf field string property_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPropertyName() - { - return $this->property_name; - } - - /** - * Required. Property name, for example, Mountain View Hotel. Required. - * - * Generated from protobuf field string property_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPropertyName($var) - { - GPBUtil::checkString($var, True); - $this->property_name = $var; - - return $this; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 3; - * @return string - */ - public function getImageUrl() - { - return $this->image_url; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 3; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - - /** - * Destination name, for example, Downtown Mountain View. - * - * Generated from protobuf field string destination_name = 4; - * @return string - */ - public function getDestinationName() - { - return $this->destination_name; - } - - /** - * Destination name, for example, Downtown Mountain View. - * - * Generated from protobuf field string destination_name = 4; - * @param string $var - * @return $this - */ - public function setDestinationName($var) - { - GPBUtil::checkString($var, True); - $this->destination_name = $var; - - return $this; - } - - /** - * Description, for example, Close to SJC Airport. - * - * Generated from protobuf field string description = 5; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description, for example, Close to SJC Airport. - * - * Generated from protobuf field string description = 5; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 6; - * @return string - */ - public function getPrice() - { - return $this->price; - } - - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 6; - * @param string $var - * @return $this - */ - public function setPrice($var) - { - GPBUtil::checkString($var, True); - $this->price = $var; - - return $this; - } - - /** - * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 7; - * @return string - */ - public function getSalePrice() - { - return $this->sale_price; - } - - /** - * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 7; - * @param string $var - * @return $this - */ - public function setSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->sale_price = $var; - - return $this; - } - - /** - * Star rating. Must be a number between 1 to 5, inclusive. - * - * Generated from protobuf field int64 star_rating = 8; - * @return int|string - */ - public function getStarRating() - { - return $this->star_rating; - } - - /** - * Star rating. Must be a number between 1 to 5, inclusive. - * - * Generated from protobuf field int64 star_rating = 8; - * @param int|string $var - * @return $this - */ - public function setStarRating($var) - { - GPBUtil::checkInt64($var); - $this->star_rating = $var; - - return $this; - } - - /** - * Category, for example, Hotel suite. - * - * Generated from protobuf field string category = 9; - * @return string - */ - public function getCategory() - { - return $this->category; - } - - /** - * Category, for example, Hotel suite. - * - * Generated from protobuf field string category = 9; - * @param string $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkString($var, True); - $this->category = $var; - - return $this; - } - - /** - * Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContextualKeywords() - { - return $this->contextual_keywords; - } - - /** - * Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContextualKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->contextual_keywords = $arr; - - return $this; - } - - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 11; - * @return string - */ - public function getAddress() - { - return $this->address; - } - - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 11; - * @param string $var - * @return $this - */ - public function setAddress($var) - { - GPBUtil::checkString($var, True); - $this->address = $var; - - return $this; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 12; - * @return string - */ - public function getAndroidAppLink() - { - return $this->android_app_link; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 12; - * @param string $var - * @return $this - */ - public function setAndroidAppLink($var) - { - GPBUtil::checkString($var, True); - $this->android_app_link = $var; - - return $this; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - * @return string - */ - public function getIosAppLink() - { - return $this->ios_app_link; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - * @param string $var - * @return $this - */ - public function setIosAppLink($var) - { - GPBUtil::checkString($var, True); - $this->ios_app_link = $var; - - return $this; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - * @return int|string - */ - public function getIosAppStoreId() - { - return $this->ios_app_store_id; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - * @param int|string $var - * @return $this - */ - public function setIosAppStoreId($var) - { - GPBUtil::checkInt64($var); - $this->ios_app_store_id = $var; - - return $this; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 15; - * @return string - */ - public function getFormattedPrice() - { - return $this->formatted_price; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 15; - * @param string $var - * @return $this - */ - public function setFormattedPrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_price = $var; - - return $this; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 16; - * @return string - */ - public function getFormattedSalePrice() - { - return $this->formatted_sale_price; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 16; - * @param string $var - * @return $this - */ - public function setFormattedSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_sale_price = $var; - - return $this; - } - - /** - * Similar property IDs. - * - * Generated from protobuf field repeated string similar_property_ids = 17; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSimilarPropertyIds() - { - return $this->similar_property_ids; - } - - /** - * Similar property IDs. - * - * Generated from protobuf field repeated string similar_property_ids = 17; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSimilarPropertyIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->similar_property_ids = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicJobsAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicJobsAsset.php deleted file mode 100644 index f27bc379d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicJobsAsset.php +++ /dev/null @@ -1,545 +0,0 @@ -google.ads.googleads.v15.common.DynamicJobsAsset - */ -class DynamicJobsAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Job ID which can be any sequence of letters and digits, and must - * be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string job_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $job_id = ''; - /** - * Location ID which can be any sequence of letters and digits. The ID - * sequence (job ID + location ID) must be unique. - * - * Generated from protobuf field string location_id = 2; - */ - protected $location_id = ''; - /** - * Required. Job title, for example, Software engineer. Required. - * - * Generated from protobuf field string job_title = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $job_title = ''; - /** - * Job subtitle, for example, Level II. - * - * Generated from protobuf field string job_subtitle = 4; - */ - protected $job_subtitle = ''; - /** - * Description, for example, Apply your technical skills. - * - * Generated from protobuf field string description = 5; - */ - protected $description = ''; - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 6; - */ - protected $image_url = ''; - /** - * Job category, for example, Technical. - * - * Generated from protobuf field string job_category = 7; - */ - protected $job_category = ''; - /** - * Contextual keywords, for example, Software engineering job. - * - * Generated from protobuf field repeated string contextual_keywords = 8; - */ - private $contextual_keywords; - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string address = 9; - */ - protected $address = ''; - /** - * Salary, for example, $100,000. - * - * Generated from protobuf field string salary = 10; - */ - protected $salary = ''; - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 11; - */ - protected $android_app_link = ''; - /** - * Similar job IDs, for example, 1275. - * - * Generated from protobuf field repeated string similar_job_ids = 12; - */ - private $similar_job_ids; - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - */ - protected $ios_app_link = ''; - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - */ - protected $ios_app_store_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $job_id - * Required. Job ID which can be any sequence of letters and digits, and must - * be unique and match the values of remarketing tag. Required. - * @type string $location_id - * Location ID which can be any sequence of letters and digits. The ID - * sequence (job ID + location ID) must be unique. - * @type string $job_title - * Required. Job title, for example, Software engineer. Required. - * @type string $job_subtitle - * Job subtitle, for example, Level II. - * @type string $description - * Description, for example, Apply your technical skills. - * @type string $image_url - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * @type string $job_category - * Job category, for example, Technical. - * @type array|\Google\Protobuf\Internal\RepeatedField $contextual_keywords - * Contextual keywords, for example, Software engineering job. - * @type string $address - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * @type string $salary - * Salary, for example, $100,000. - * @type string $android_app_link - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * @type array|\Google\Protobuf\Internal\RepeatedField $similar_job_ids - * Similar job IDs, for example, 1275. - * @type string $ios_app_link - * iOS deep link, for example, exampleApp://content/page. - * @type int|string $ios_app_store_id - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Job ID which can be any sequence of letters and digits, and must - * be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string job_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getJobId() - { - return $this->job_id; - } - - /** - * Required. Job ID which can be any sequence of letters and digits, and must - * be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string job_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setJobId($var) - { - GPBUtil::checkString($var, True); - $this->job_id = $var; - - return $this; - } - - /** - * Location ID which can be any sequence of letters and digits. The ID - * sequence (job ID + location ID) must be unique. - * - * Generated from protobuf field string location_id = 2; - * @return string - */ - public function getLocationId() - { - return $this->location_id; - } - - /** - * Location ID which can be any sequence of letters and digits. The ID - * sequence (job ID + location ID) must be unique. - * - * Generated from protobuf field string location_id = 2; - * @param string $var - * @return $this - */ - public function setLocationId($var) - { - GPBUtil::checkString($var, True); - $this->location_id = $var; - - return $this; - } - - /** - * Required. Job title, for example, Software engineer. Required. - * - * Generated from protobuf field string job_title = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getJobTitle() - { - return $this->job_title; - } - - /** - * Required. Job title, for example, Software engineer. Required. - * - * Generated from protobuf field string job_title = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setJobTitle($var) - { - GPBUtil::checkString($var, True); - $this->job_title = $var; - - return $this; - } - - /** - * Job subtitle, for example, Level II. - * - * Generated from protobuf field string job_subtitle = 4; - * @return string - */ - public function getJobSubtitle() - { - return $this->job_subtitle; - } - - /** - * Job subtitle, for example, Level II. - * - * Generated from protobuf field string job_subtitle = 4; - * @param string $var - * @return $this - */ - public function setJobSubtitle($var) - { - GPBUtil::checkString($var, True); - $this->job_subtitle = $var; - - return $this; - } - - /** - * Description, for example, Apply your technical skills. - * - * Generated from protobuf field string description = 5; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description, for example, Apply your technical skills. - * - * Generated from protobuf field string description = 5; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 6; - * @return string - */ - public function getImageUrl() - { - return $this->image_url; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 6; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - - /** - * Job category, for example, Technical. - * - * Generated from protobuf field string job_category = 7; - * @return string - */ - public function getJobCategory() - { - return $this->job_category; - } - - /** - * Job category, for example, Technical. - * - * Generated from protobuf field string job_category = 7; - * @param string $var - * @return $this - */ - public function setJobCategory($var) - { - GPBUtil::checkString($var, True); - $this->job_category = $var; - - return $this; - } - - /** - * Contextual keywords, for example, Software engineering job. - * - * Generated from protobuf field repeated string contextual_keywords = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContextualKeywords() - { - return $this->contextual_keywords; - } - - /** - * Contextual keywords, for example, Software engineering job. - * - * Generated from protobuf field repeated string contextual_keywords = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContextualKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->contextual_keywords = $arr; - - return $this; - } - - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string address = 9; - * @return string - */ - public function getAddress() - { - return $this->address; - } - - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string address = 9; - * @param string $var - * @return $this - */ - public function setAddress($var) - { - GPBUtil::checkString($var, True); - $this->address = $var; - - return $this; - } - - /** - * Salary, for example, $100,000. - * - * Generated from protobuf field string salary = 10; - * @return string - */ - public function getSalary() - { - return $this->salary; - } - - /** - * Salary, for example, $100,000. - * - * Generated from protobuf field string salary = 10; - * @param string $var - * @return $this - */ - public function setSalary($var) - { - GPBUtil::checkString($var, True); - $this->salary = $var; - - return $this; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 11; - * @return string - */ - public function getAndroidAppLink() - { - return $this->android_app_link; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 11; - * @param string $var - * @return $this - */ - public function setAndroidAppLink($var) - { - GPBUtil::checkString($var, True); - $this->android_app_link = $var; - - return $this; - } - - /** - * Similar job IDs, for example, 1275. - * - * Generated from protobuf field repeated string similar_job_ids = 12; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSimilarJobIds() - { - return $this->similar_job_ids; - } - - /** - * Similar job IDs, for example, 1275. - * - * Generated from protobuf field repeated string similar_job_ids = 12; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSimilarJobIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->similar_job_ids = $arr; - - return $this; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - * @return string - */ - public function getIosAppLink() - { - return $this->ios_app_link; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - * @param string $var - * @return $this - */ - public function setIosAppLink($var) - { - GPBUtil::checkString($var, True); - $this->ios_app_link = $var; - - return $this; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - * @return int|string - */ - public function getIosAppStoreId() - { - return $this->ios_app_store_id; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - * @param int|string $var - * @return $this - */ - public function setIosAppStoreId($var) - { - GPBUtil::checkInt64($var); - $this->ios_app_store_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicLocalAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicLocalAsset.php deleted file mode 100644 index 975a80c4d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicLocalAsset.php +++ /dev/null @@ -1,633 +0,0 @@ -google.ads.googleads.v15.common.DynamicLocalAsset - */ -class DynamicLocalAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Deal ID which can be any sequence of letters and digits, and must - * be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string deal_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $deal_id = ''; - /** - * Required. Deal name, for example, 50% off at Mountain View Grocers. - * Required. - * - * Generated from protobuf field string deal_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $deal_name = ''; - /** - * Subtitle, for example, Groceries. - * - * Generated from protobuf field string subtitle = 3; - */ - protected $subtitle = ''; - /** - * Description, for example, Save on your weekly bill. - * - * Generated from protobuf field string description = 4; - */ - protected $description = ''; - /** - * Price which can be a number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 5; - */ - protected $price = ''; - /** - * Sale price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 6; - */ - protected $sale_price = ''; - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 7; - */ - protected $image_url = ''; - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string address = 8; - */ - protected $address = ''; - /** - * Category, for example, Food. - * - * Generated from protobuf field string category = 9; - */ - protected $category = ''; - /** - * Contextual keywords, for example, Save groceries coupons. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - */ - private $contextual_keywords; - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 11; - */ - protected $formatted_price = ''; - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 12; - */ - protected $formatted_sale_price = ''; - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 13; - */ - protected $android_app_link = ''; - /** - * Similar deal IDs, for example, 1275. - * - * Generated from protobuf field repeated string similar_deal_ids = 14; - */ - private $similar_deal_ids; - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 15; - */ - protected $ios_app_link = ''; - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 16; - */ - protected $ios_app_store_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $deal_id - * Required. Deal ID which can be any sequence of letters and digits, and must - * be unique and match the values of remarketing tag. Required. - * @type string $deal_name - * Required. Deal name, for example, 50% off at Mountain View Grocers. - * Required. - * @type string $subtitle - * Subtitle, for example, Groceries. - * @type string $description - * Description, for example, Save on your weekly bill. - * @type string $price - * Price which can be a number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * @type string $sale_price - * Sale price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - * Must be less than the 'price' field. - * @type string $image_url - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * @type string $address - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * @type string $category - * Category, for example, Food. - * @type array|\Google\Protobuf\Internal\RepeatedField $contextual_keywords - * Contextual keywords, for example, Save groceries coupons. - * @type string $formatted_price - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * @type string $formatted_sale_price - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * @type string $android_app_link - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * @type array|\Google\Protobuf\Internal\RepeatedField $similar_deal_ids - * Similar deal IDs, for example, 1275. - * @type string $ios_app_link - * iOS deep link, for example, exampleApp://content/page. - * @type int|string $ios_app_store_id - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Deal ID which can be any sequence of letters and digits, and must - * be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string deal_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDealId() - { - return $this->deal_id; - } - - /** - * Required. Deal ID which can be any sequence of letters and digits, and must - * be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string deal_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDealId($var) - { - GPBUtil::checkString($var, True); - $this->deal_id = $var; - - return $this; - } - - /** - * Required. Deal name, for example, 50% off at Mountain View Grocers. - * Required. - * - * Generated from protobuf field string deal_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDealName() - { - return $this->deal_name; - } - - /** - * Required. Deal name, for example, 50% off at Mountain View Grocers. - * Required. - * - * Generated from protobuf field string deal_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDealName($var) - { - GPBUtil::checkString($var, True); - $this->deal_name = $var; - - return $this; - } - - /** - * Subtitle, for example, Groceries. - * - * Generated from protobuf field string subtitle = 3; - * @return string - */ - public function getSubtitle() - { - return $this->subtitle; - } - - /** - * Subtitle, for example, Groceries. - * - * Generated from protobuf field string subtitle = 3; - * @param string $var - * @return $this - */ - public function setSubtitle($var) - { - GPBUtil::checkString($var, True); - $this->subtitle = $var; - - return $this; - } - - /** - * Description, for example, Save on your weekly bill. - * - * Generated from protobuf field string description = 4; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description, for example, Save on your weekly bill. - * - * Generated from protobuf field string description = 4; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Price which can be a number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 5; - * @return string - */ - public function getPrice() - { - return $this->price; - } - - /** - * Price which can be a number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 5; - * @param string $var - * @return $this - */ - public function setPrice($var) - { - GPBUtil::checkString($var, True); - $this->price = $var; - - return $this; - } - - /** - * Sale price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 6; - * @return string - */ - public function getSalePrice() - { - return $this->sale_price; - } - - /** - * Sale price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - * Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 6; - * @param string $var - * @return $this - */ - public function setSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->sale_price = $var; - - return $this; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 7; - * @return string - */ - public function getImageUrl() - { - return $this->image_url; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 7; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string address = 8; - * @return string - */ - public function getAddress() - { - return $this->address; - } - - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string address = 8; - * @param string $var - * @return $this - */ - public function setAddress($var) - { - GPBUtil::checkString($var, True); - $this->address = $var; - - return $this; - } - - /** - * Category, for example, Food. - * - * Generated from protobuf field string category = 9; - * @return string - */ - public function getCategory() - { - return $this->category; - } - - /** - * Category, for example, Food. - * - * Generated from protobuf field string category = 9; - * @param string $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkString($var, True); - $this->category = $var; - - return $this; - } - - /** - * Contextual keywords, for example, Save groceries coupons. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContextualKeywords() - { - return $this->contextual_keywords; - } - - /** - * Contextual keywords, for example, Save groceries coupons. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContextualKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->contextual_keywords = $arr; - - return $this; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 11; - * @return string - */ - public function getFormattedPrice() - { - return $this->formatted_price; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 11; - * @param string $var - * @return $this - */ - public function setFormattedPrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_price = $var; - - return $this; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 12; - * @return string - */ - public function getFormattedSalePrice() - { - return $this->formatted_sale_price; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 12; - * @param string $var - * @return $this - */ - public function setFormattedSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_sale_price = $var; - - return $this; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 13; - * @return string - */ - public function getAndroidAppLink() - { - return $this->android_app_link; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 13; - * @param string $var - * @return $this - */ - public function setAndroidAppLink($var) - { - GPBUtil::checkString($var, True); - $this->android_app_link = $var; - - return $this; - } - - /** - * Similar deal IDs, for example, 1275. - * - * Generated from protobuf field repeated string similar_deal_ids = 14; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSimilarDealIds() - { - return $this->similar_deal_ids; - } - - /** - * Similar deal IDs, for example, 1275. - * - * Generated from protobuf field repeated string similar_deal_ids = 14; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSimilarDealIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->similar_deal_ids = $arr; - - return $this; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 15; - * @return string - */ - public function getIosAppLink() - { - return $this->ios_app_link; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 15; - * @param string $var - * @return $this - */ - public function setIosAppLink($var) - { - GPBUtil::checkString($var, True); - $this->ios_app_link = $var; - - return $this; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 16; - * @return int|string - */ - public function getIosAppStoreId() - { - return $this->ios_app_store_id; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 16; - * @param int|string $var - * @return $this - */ - public function setIosAppStoreId($var) - { - GPBUtil::checkInt64($var); - $this->ios_app_store_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicLocationSetFilter.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicLocationSetFilter.php deleted file mode 100644 index fe32d5cda..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicLocationSetFilter.php +++ /dev/null @@ -1,116 +0,0 @@ -google.ads.googleads.v15.common.DynamicLocationSetFilter - */ -class DynamicLocationSetFilter extends \Google\Protobuf\Internal\Message -{ - /** - * If multiple labels are set, then only feeditems marked with all the labels - * will be added to the FeedItemSet. - * - * Generated from protobuf field repeated string labels = 1; - */ - private $labels; - /** - * Business name filter. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BusinessNameFilter business_name_filter = 2; - */ - protected $business_name_filter = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $labels - * If multiple labels are set, then only feeditems marked with all the labels - * will be added to the FeedItemSet. - * @type \Google\Ads\GoogleAds\V15\Common\BusinessNameFilter $business_name_filter - * Business name filter. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\FeedItemSetFilterTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * If multiple labels are set, then only feeditems marked with all the labels - * will be added to the FeedItemSet. - * - * Generated from protobuf field repeated string labels = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * If multiple labels are set, then only feeditems marked with all the labels - * will be added to the FeedItemSet. - * - * Generated from protobuf field repeated string labels = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Business name filter. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BusinessNameFilter business_name_filter = 2; - * @return \Google\Ads\GoogleAds\V15\Common\BusinessNameFilter|null - */ - public function getBusinessNameFilter() - { - return $this->business_name_filter; - } - - public function hasBusinessNameFilter() - { - return isset($this->business_name_filter); - } - - public function clearBusinessNameFilter() - { - unset($this->business_name_filter); - } - - /** - * Business name filter. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BusinessNameFilter business_name_filter = 2; - * @param \Google\Ads\GoogleAds\V15\Common\BusinessNameFilter $var - * @return $this - */ - public function setBusinessNameFilter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BusinessNameFilter::class); - $this->business_name_filter = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicRealEstateAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicRealEstateAsset.php deleted file mode 100644 index dfaeee1e4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicRealEstateAsset.php +++ /dev/null @@ -1,587 +0,0 @@ -google.ads.googleads.v15.common.DynamicRealEstateAsset - */ -class DynamicRealEstateAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Listing ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string listing_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $listing_id = ''; - /** - * Required. Listing name, for example, Boulevard Bungalow. Required. - * - * Generated from protobuf field string listing_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $listing_name = ''; - /** - * City name, for example, Mountain View, California. - * - * Generated from protobuf field string city_name = 3; - */ - protected $city_name = ''; - /** - * Description, for example, 3 beds, 2 baths, 1568 sq. ft. - * - * Generated from protobuf field string description = 4; - */ - protected $description = ''; - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 5; - */ - protected $address = ''; - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 - * USD. - * - * Generated from protobuf field string price = 6; - */ - protected $price = ''; - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 7; - */ - protected $image_url = ''; - /** - * Property type, for example, House. - * - * Generated from protobuf field string property_type = 8; - */ - protected $property_type = ''; - /** - * Listing type, for example, For sale. - * - * Generated from protobuf field string listing_type = 9; - */ - protected $listing_type = ''; - /** - * Contextual keywords, for example, For sale; Houses for sale. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - */ - private $contextual_keywords; - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $200,000.00. - * - * Generated from protobuf field string formatted_price = 11; - */ - protected $formatted_price = ''; - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 12; - */ - protected $android_app_link = ''; - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - */ - protected $ios_app_link = ''; - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - */ - protected $ios_app_store_id = 0; - /** - * Similar listing IDs. - * - * Generated from protobuf field repeated string similar_listing_ids = 15; - */ - private $similar_listing_ids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $listing_id - * Required. Listing ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * @type string $listing_name - * Required. Listing name, for example, Boulevard Bungalow. Required. - * @type string $city_name - * City name, for example, Mountain View, California. - * @type string $description - * Description, for example, 3 beds, 2 baths, 1568 sq. ft. - * @type string $address - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * @type string $price - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 - * USD. - * @type string $image_url - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * @type string $property_type - * Property type, for example, House. - * @type string $listing_type - * Listing type, for example, For sale. - * @type array|\Google\Protobuf\Internal\RepeatedField $contextual_keywords - * Contextual keywords, for example, For sale; Houses for sale. - * @type string $formatted_price - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $200,000.00. - * @type string $android_app_link - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * @type string $ios_app_link - * iOS deep link, for example, exampleApp://content/page. - * @type int|string $ios_app_store_id - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * @type array|\Google\Protobuf\Internal\RepeatedField $similar_listing_ids - * Similar listing IDs. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Listing ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string listing_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getListingId() - { - return $this->listing_id; - } - - /** - * Required. Listing ID which can be any sequence of letters and digits, and - * must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string listing_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setListingId($var) - { - GPBUtil::checkString($var, True); - $this->listing_id = $var; - - return $this; - } - - /** - * Required. Listing name, for example, Boulevard Bungalow. Required. - * - * Generated from protobuf field string listing_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getListingName() - { - return $this->listing_name; - } - - /** - * Required. Listing name, for example, Boulevard Bungalow. Required. - * - * Generated from protobuf field string listing_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setListingName($var) - { - GPBUtil::checkString($var, True); - $this->listing_name = $var; - - return $this; - } - - /** - * City name, for example, Mountain View, California. - * - * Generated from protobuf field string city_name = 3; - * @return string - */ - public function getCityName() - { - return $this->city_name; - } - - /** - * City name, for example, Mountain View, California. - * - * Generated from protobuf field string city_name = 3; - * @param string $var - * @return $this - */ - public function setCityName($var) - { - GPBUtil::checkString($var, True); - $this->city_name = $var; - - return $this; - } - - /** - * Description, for example, 3 beds, 2 baths, 1568 sq. ft. - * - * Generated from protobuf field string description = 4; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description, for example, 3 beds, 2 baths, 1568 sq. ft. - * - * Generated from protobuf field string description = 4; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 5; - * @return string - */ - public function getAddress() - { - return $this->address; - } - - /** - * Address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - * - * Generated from protobuf field string address = 5; - * @param string $var - * @return $this - */ - public function setAddress($var) - { - GPBUtil::checkString($var, True); - $this->address = $var; - - return $this; - } - - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 - * USD. - * - * Generated from protobuf field string price = 6; - * @return string - */ - public function getPrice() - { - return $this->price; - } - - /** - * Price which can be number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 - * USD. - * - * Generated from protobuf field string price = 6; - * @param string $var - * @return $this - */ - public function setPrice($var) - { - GPBUtil::checkString($var, True); - $this->price = $var; - - return $this; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 7; - * @return string - */ - public function getImageUrl() - { - return $this->image_url; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 7; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - - /** - * Property type, for example, House. - * - * Generated from protobuf field string property_type = 8; - * @return string - */ - public function getPropertyType() - { - return $this->property_type; - } - - /** - * Property type, for example, House. - * - * Generated from protobuf field string property_type = 8; - * @param string $var - * @return $this - */ - public function setPropertyType($var) - { - GPBUtil::checkString($var, True); - $this->property_type = $var; - - return $this; - } - - /** - * Listing type, for example, For sale. - * - * Generated from protobuf field string listing_type = 9; - * @return string - */ - public function getListingType() - { - return $this->listing_type; - } - - /** - * Listing type, for example, For sale. - * - * Generated from protobuf field string listing_type = 9; - * @param string $var - * @return $this - */ - public function setListingType($var) - { - GPBUtil::checkString($var, True); - $this->listing_type = $var; - - return $this; - } - - /** - * Contextual keywords, for example, For sale; Houses for sale. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContextualKeywords() - { - return $this->contextual_keywords; - } - - /** - * Contextual keywords, for example, For sale; Houses for sale. - * - * Generated from protobuf field repeated string contextual_keywords = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContextualKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->contextual_keywords = $arr; - - return $this; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $200,000.00. - * - * Generated from protobuf field string formatted_price = 11; - * @return string - */ - public function getFormattedPrice() - { - return $this->formatted_price; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $200,000.00. - * - * Generated from protobuf field string formatted_price = 11; - * @param string $var - * @return $this - */ - public function setFormattedPrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_price = $var; - - return $this; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 12; - * @return string - */ - public function getAndroidAppLink() - { - return $this->android_app_link; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 12; - * @param string $var - * @return $this - */ - public function setAndroidAppLink($var) - { - GPBUtil::checkString($var, True); - $this->android_app_link = $var; - - return $this; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - * @return string - */ - public function getIosAppLink() - { - return $this->ios_app_link; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 13; - * @param string $var - * @return $this - */ - public function setIosAppLink($var) - { - GPBUtil::checkString($var, True); - $this->ios_app_link = $var; - - return $this; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - * @return int|string - */ - public function getIosAppStoreId() - { - return $this->ios_app_store_id; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 14; - * @param int|string $var - * @return $this - */ - public function setIosAppStoreId($var) - { - GPBUtil::checkInt64($var); - $this->ios_app_store_id = $var; - - return $this; - } - - /** - * Similar listing IDs. - * - * Generated from protobuf field repeated string similar_listing_ids = 15; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSimilarListingIds() - { - return $this->similar_listing_ids; - } - - /** - * Similar listing IDs. - * - * Generated from protobuf field repeated string similar_listing_ids = 15; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSimilarListingIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->similar_listing_ids = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/DynamicTravelAsset.php b/src/Google/Ads/GoogleAds/V15/Common/DynamicTravelAsset.php deleted file mode 100644 index 5bc6a2e23..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/DynamicTravelAsset.php +++ /dev/null @@ -1,667 +0,0 @@ -google.ads.googleads.v15.common.DynamicTravelAsset - */ -class DynamicTravelAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Destination ID which can be any sequence of letters and digits, - * and must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string destination_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $destination_id = ''; - /** - * Origin ID which can be any sequence of letters and digits. The ID sequence - * (destination ID + origin ID) must be unique. - * - * Generated from protobuf field string origin_id = 2; - */ - protected $origin_id = ''; - /** - * Required. Title, for example, Book your train ticket. Required. - * - * Generated from protobuf field string title = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $title = ''; - /** - * Destination name, for example, Paris. - * - * Generated from protobuf field string destination_name = 4; - */ - protected $destination_name = ''; - /** - * Destination address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string destination_address = 5; - */ - protected $destination_address = ''; - /** - * Origin name, for example, London. - * - * Generated from protobuf field string origin_name = 6; - */ - protected $origin_name = ''; - /** - * Price which can be a number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 7; - */ - protected $price = ''; - /** - * Sale price which can be a number followed by the alphabetic currency - * code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - * USD. Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 8; - */ - protected $sale_price = ''; - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 9; - */ - protected $formatted_price = ''; - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 10; - */ - protected $formatted_sale_price = ''; - /** - * Category, for example, Express. - * - * Generated from protobuf field string category = 11; - */ - protected $category = ''; - /** - * Contextual keywords, for example, Paris trains. - * - * Generated from protobuf field repeated string contextual_keywords = 12; - */ - private $contextual_keywords; - /** - * Similar destination IDs, for example, NYC. - * - * Generated from protobuf field repeated string similar_destination_ids = 13; - */ - private $similar_destination_ids; - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 14; - */ - protected $image_url = ''; - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 15; - */ - protected $android_app_link = ''; - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 16; - */ - protected $ios_app_link = ''; - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 17; - */ - protected $ios_app_store_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $destination_id - * Required. Destination ID which can be any sequence of letters and digits, - * and must be unique and match the values of remarketing tag. Required. - * @type string $origin_id - * Origin ID which can be any sequence of letters and digits. The ID sequence - * (destination ID + origin ID) must be unique. - * @type string $title - * Required. Title, for example, Book your train ticket. Required. - * @type string $destination_name - * Destination name, for example, Paris. - * @type string $destination_address - * Destination address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * @type string $origin_name - * Origin name, for example, London. - * @type string $price - * Price which can be a number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * @type string $sale_price - * Sale price which can be a number followed by the alphabetic currency - * code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - * USD. Must be less than the 'price' field. - * @type string $formatted_price - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * @type string $formatted_sale_price - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * @type string $category - * Category, for example, Express. - * @type array|\Google\Protobuf\Internal\RepeatedField $contextual_keywords - * Contextual keywords, for example, Paris trains. - * @type array|\Google\Protobuf\Internal\RepeatedField $similar_destination_ids - * Similar destination IDs, for example, NYC. - * @type string $image_url - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * @type string $android_app_link - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * @type string $ios_app_link - * iOS deep link, for example, exampleApp://content/page. - * @type int|string $ios_app_store_id - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Destination ID which can be any sequence of letters and digits, - * and must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string destination_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDestinationId() - { - return $this->destination_id; - } - - /** - * Required. Destination ID which can be any sequence of letters and digits, - * and must be unique and match the values of remarketing tag. Required. - * - * Generated from protobuf field string destination_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDestinationId($var) - { - GPBUtil::checkString($var, True); - $this->destination_id = $var; - - return $this; - } - - /** - * Origin ID which can be any sequence of letters and digits. The ID sequence - * (destination ID + origin ID) must be unique. - * - * Generated from protobuf field string origin_id = 2; - * @return string - */ - public function getOriginId() - { - return $this->origin_id; - } - - /** - * Origin ID which can be any sequence of letters and digits. The ID sequence - * (destination ID + origin ID) must be unique. - * - * Generated from protobuf field string origin_id = 2; - * @param string $var - * @return $this - */ - public function setOriginId($var) - { - GPBUtil::checkString($var, True); - $this->origin_id = $var; - - return $this; - } - - /** - * Required. Title, for example, Book your train ticket. Required. - * - * Generated from protobuf field string title = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTitle() - { - return $this->title; - } - - /** - * Required. Title, for example, Book your train ticket. Required. - * - * Generated from protobuf field string title = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTitle($var) - { - GPBUtil::checkString($var, True); - $this->title = $var; - - return $this; - } - - /** - * Destination name, for example, Paris. - * - * Generated from protobuf field string destination_name = 4; - * @return string - */ - public function getDestinationName() - { - return $this->destination_name; - } - - /** - * Destination name, for example, Paris. - * - * Generated from protobuf field string destination_name = 4; - * @param string $var - * @return $this - */ - public function setDestinationName($var) - { - GPBUtil::checkString($var, True); - $this->destination_name = $var; - - return $this; - } - - /** - * Destination address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string destination_address = 5; - * @return string - */ - public function getDestinationAddress() - { - return $this->destination_address; - } - - /** - * Destination address which can be specified in one of the following formats. - * (1) City, state, code, country, for example, Mountain View, CA, USA. - * (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - * (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - * - * Generated from protobuf field string destination_address = 5; - * @param string $var - * @return $this - */ - public function setDestinationAddress($var) - { - GPBUtil::checkString($var, True); - $this->destination_address = $var; - - return $this; - } - - /** - * Origin name, for example, London. - * - * Generated from protobuf field string origin_name = 6; - * @return string - */ - public function getOriginName() - { - return $this->origin_name; - } - - /** - * Origin name, for example, London. - * - * Generated from protobuf field string origin_name = 6; - * @param string $var - * @return $this - */ - public function setOriginName($var) - { - GPBUtil::checkString($var, True); - $this->origin_name = $var; - - return $this; - } - - /** - * Price which can be a number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 7; - * @return string - */ - public function getPrice() - { - return $this->price; - } - - /** - * Price which can be a number followed by the alphabetic currency code, - * ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - * - * Generated from protobuf field string price = 7; - * @param string $var - * @return $this - */ - public function setPrice($var) - { - GPBUtil::checkString($var, True); - $this->price = $var; - - return $this; - } - - /** - * Sale price which can be a number followed by the alphabetic currency - * code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - * USD. Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 8; - * @return string - */ - public function getSalePrice() - { - return $this->sale_price; - } - - /** - * Sale price which can be a number followed by the alphabetic currency - * code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - * USD. Must be less than the 'price' field. - * - * Generated from protobuf field string sale_price = 8; - * @param string $var - * @return $this - */ - public function setSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->sale_price = $var; - - return $this; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 9; - * @return string - */ - public function getFormattedPrice() - { - return $this->formatted_price; - } - - /** - * Formatted price which can be any characters. If set, this attribute will be - * used instead of 'price', for example, Starting at $100.00. - * - * Generated from protobuf field string formatted_price = 9; - * @param string $var - * @return $this - */ - public function setFormattedPrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_price = $var; - - return $this; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 10; - * @return string - */ - public function getFormattedSalePrice() - { - return $this->formatted_sale_price; - } - - /** - * Formatted sale price which can be any characters. If set, this attribute - * will be used instead of 'sale price', for example, On sale for $80.00. - * - * Generated from protobuf field string formatted_sale_price = 10; - * @param string $var - * @return $this - */ - public function setFormattedSalePrice($var) - { - GPBUtil::checkString($var, True); - $this->formatted_sale_price = $var; - - return $this; - } - - /** - * Category, for example, Express. - * - * Generated from protobuf field string category = 11; - * @return string - */ - public function getCategory() - { - return $this->category; - } - - /** - * Category, for example, Express. - * - * Generated from protobuf field string category = 11; - * @param string $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkString($var, True); - $this->category = $var; - - return $this; - } - - /** - * Contextual keywords, for example, Paris trains. - * - * Generated from protobuf field repeated string contextual_keywords = 12; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContextualKeywords() - { - return $this->contextual_keywords; - } - - /** - * Contextual keywords, for example, Paris trains. - * - * Generated from protobuf field repeated string contextual_keywords = 12; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContextualKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->contextual_keywords = $arr; - - return $this; - } - - /** - * Similar destination IDs, for example, NYC. - * - * Generated from protobuf field repeated string similar_destination_ids = 13; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSimilarDestinationIds() - { - return $this->similar_destination_ids; - } - - /** - * Similar destination IDs, for example, NYC. - * - * Generated from protobuf field repeated string similar_destination_ids = 13; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSimilarDestinationIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->similar_destination_ids = $arr; - - return $this; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 14; - * @return string - */ - public function getImageUrl() - { - return $this->image_url; - } - - /** - * Image URL, for example, http://www.example.com/image.png. The image will - * not be uploaded as image asset. - * - * Generated from protobuf field string image_url = 14; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 15; - * @return string - */ - public function getAndroidAppLink() - { - return $this->android_app_link; - } - - /** - * Android deep link, for example, - * android-app://com.example.android/http/example.com/gizmos?1234. - * - * Generated from protobuf field string android_app_link = 15; - * @param string $var - * @return $this - */ - public function setAndroidAppLink($var) - { - GPBUtil::checkString($var, True); - $this->android_app_link = $var; - - return $this; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 16; - * @return string - */ - public function getIosAppLink() - { - return $this->ios_app_link; - } - - /** - * iOS deep link, for example, exampleApp://content/page. - * - * Generated from protobuf field string ios_app_link = 16; - * @param string $var - * @return $this - */ - public function setIosAppLink($var) - { - GPBUtil::checkString($var, True); - $this->ios_app_link = $var; - - return $this; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 17; - * @return int|string - */ - public function getIosAppStoreId() - { - return $this->ios_app_store_id; - } - - /** - * iOS app store ID. This is used to check if the user has the app installed - * on their device before deep linking. If this field is set, then the - * ios_app_link field must also be present. - * - * Generated from protobuf field int64 ios_app_store_id = 17; - * @param int|string $var - * @return $this - */ - public function setIosAppStoreId($var) - { - GPBUtil::checkInt64($var); - $this->ios_app_store_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/EnhancedCpc.php b/src/Google/Ads/GoogleAds/V15/Common/EnhancedCpc.php deleted file mode 100644 index 3f387649e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/EnhancedCpc.php +++ /dev/null @@ -1,37 +0,0 @@ -google.ads.googleads.v15.common.EnhancedCpc - */ -class EnhancedCpc extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/EventAttribute.php b/src/Google/Ads/GoogleAds/V15/Common/EventAttribute.php deleted file mode 100644 index b7548ae5f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/EventAttribute.php +++ /dev/null @@ -1,152 +0,0 @@ -google.ads.googleads.v15.common.EventAttribute - */ -class EventAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Advertiser defined event to be used for remarketing. The accepted - * values are "Viewed", "Cart", "Purchased" and "Recommended". - * - * Generated from protobuf field string event = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event = ''; - /** - * Required. Timestamp at which the event happened. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string event_date_time = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $event_date_time = ''; - /** - * Required. Item attributes of the event. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.EventItemAttribute item_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $item_attribute; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $event - * Required. Advertiser defined event to be used for remarketing. The accepted - * values are "Viewed", "Cart", "Purchased" and "Recommended". - * @type string $event_date_time - * Required. Timestamp at which the event happened. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * @type array<\Google\Ads\GoogleAds\V15\Common\EventItemAttribute>|\Google\Protobuf\Internal\RepeatedField $item_attribute - * Required. Item attributes of the event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * Required. Advertiser defined event to be used for remarketing. The accepted - * values are "Viewed", "Cart", "Purchased" and "Recommended". - * - * Generated from protobuf field string event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getEvent() - { - return $this->event; - } - - /** - * Required. Advertiser defined event to be used for remarketing. The accepted - * values are "Viewed", "Cart", "Purchased" and "Recommended". - * - * Generated from protobuf field string event = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setEvent($var) - { - GPBUtil::checkString($var, True); - $this->event = $var; - - return $this; - } - - /** - * Required. Timestamp at which the event happened. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string event_date_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getEventDateTime() - { - return $this->event_date_time; - } - - /** - * Required. Timestamp at which the event happened. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string event_date_time = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setEventDateTime($var) - { - GPBUtil::checkString($var, True); - $this->event_date_time = $var; - - return $this; - } - - /** - * Required. Item attributes of the event. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.EventItemAttribute item_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getItemAttribute() - { - return $this->item_attribute; - } - - /** - * Required. Item attributes of the event. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.EventItemAttribute item_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Common\EventItemAttribute>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setItemAttribute($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\EventItemAttribute::class); - $this->item_attribute = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/EventItemAttribute.php b/src/Google/Ads/GoogleAds/V15/Common/EventItemAttribute.php deleted file mode 100644 index 875d64575..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/EventItemAttribute.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.common.EventItemAttribute - */ -class EventItemAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. A unique identifier of a product. It can be either the Merchant - * Center Item ID or GTIN (Global Trade Item Number). - * - * Generated from protobuf field string item_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $item_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $item_id - * Optional. A unique identifier of a product. It can be either the Merchant - * Center Item ID or GTIN (Global Trade Item Number). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * Optional. A unique identifier of a product. It can be either the Merchant - * Center Item ID or GTIN (Global Trade Item Number). - * - * Generated from protobuf field string item_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getItemId() - { - return $this->item_id; - } - - /** - * Optional. A unique identifier of a product. It can be either the Merchant - * Center Item ID or GTIN (Global Trade Item Number). - * - * Generated from protobuf field string item_id = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setItemId($var) - { - GPBUtil::checkString($var, True); - $this->item_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ExclusionSegment.php b/src/Google/Ads/GoogleAds/V15/Common/ExclusionSegment.php deleted file mode 100644 index fec0b0d22..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ExclusionSegment.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.common.ExclusionSegment - */ -class ExclusionSegment extends \Google\Protobuf\Internal\Message -{ - protected $segment; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\UserListSegment $user_list - * User list segment to be excluded. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * User list segment to be excluded. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListSegment user_list = 1; - * @return \Google\Ads\GoogleAds\V15\Common\UserListSegment|null - */ - public function getUserList() - { - return $this->readOneof(1); - } - - public function hasUserList() - { - return $this->hasOneof(1); - } - - /** - * User list segment to be excluded. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListSegment user_list = 1; - * @param \Google\Ads\GoogleAds\V15\Common\UserListSegment $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserListSegment::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getSegment() - { - return $this->whichOneof("segment"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ExpandedDynamicSearchAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ExpandedDynamicSearchAdInfo.php deleted file mode 100644 index f1fbf907e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ExpandedDynamicSearchAdInfo.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.common.ExpandedDynamicSearchAdInfo - */ -class ExpandedDynamicSearchAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 3; - */ - protected $description = null; - /** - * The second description of the ad. - * - * Generated from protobuf field optional string description2 = 4; - */ - protected $description2 = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $description - * The description of the ad. - * @type string $description2 - * The second description of the ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 3; - * @return string - */ - public function getDescription() - { - return isset($this->description) ? $this->description : ''; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 3; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * The second description of the ad. - * - * Generated from protobuf field optional string description2 = 4; - * @return string - */ - public function getDescription2() - { - return isset($this->description2) ? $this->description2 : ''; - } - - public function hasDescription2() - { - return isset($this->description2); - } - - public function clearDescription2() - { - unset($this->description2); - } - - /** - * The second description of the ad. - * - * Generated from protobuf field optional string description2 = 4; - * @param string $var - * @return $this - */ - public function setDescription2($var) - { - GPBUtil::checkString($var, True); - $this->description2 = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ExpandedTextAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ExpandedTextAdInfo.php deleted file mode 100644 index 4e1a42e79..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ExpandedTextAdInfo.php +++ /dev/null @@ -1,341 +0,0 @@ -google.ads.googleads.v15.common.ExpandedTextAdInfo - */ -class ExpandedTextAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The first part of the ad's headline. - * - * Generated from protobuf field optional string headline_part1 = 8; - */ - protected $headline_part1 = null; - /** - * The second part of the ad's headline. - * - * Generated from protobuf field optional string headline_part2 = 9; - */ - protected $headline_part2 = null; - /** - * The third part of the ad's headline. - * - * Generated from protobuf field optional string headline_part3 = 10; - */ - protected $headline_part3 = null; - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 11; - */ - protected $description = null; - /** - * The second description of the ad. - * - * Generated from protobuf field optional string description2 = 12; - */ - protected $description2 = null; - /** - * The text that can appear alongside the ad's displayed URL. - * - * Generated from protobuf field optional string path1 = 13; - */ - protected $path1 = null; - /** - * Additional text that can appear alongside the ad's displayed URL. - * - * Generated from protobuf field optional string path2 = 14; - */ - protected $path2 = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $headline_part1 - * The first part of the ad's headline. - * @type string $headline_part2 - * The second part of the ad's headline. - * @type string $headline_part3 - * The third part of the ad's headline. - * @type string $description - * The description of the ad. - * @type string $description2 - * The second description of the ad. - * @type string $path1 - * The text that can appear alongside the ad's displayed URL. - * @type string $path2 - * Additional text that can appear alongside the ad's displayed URL. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The first part of the ad's headline. - * - * Generated from protobuf field optional string headline_part1 = 8; - * @return string - */ - public function getHeadlinePart1() - { - return isset($this->headline_part1) ? $this->headline_part1 : ''; - } - - public function hasHeadlinePart1() - { - return isset($this->headline_part1); - } - - public function clearHeadlinePart1() - { - unset($this->headline_part1); - } - - /** - * The first part of the ad's headline. - * - * Generated from protobuf field optional string headline_part1 = 8; - * @param string $var - * @return $this - */ - public function setHeadlinePart1($var) - { - GPBUtil::checkString($var, True); - $this->headline_part1 = $var; - - return $this; - } - - /** - * The second part of the ad's headline. - * - * Generated from protobuf field optional string headline_part2 = 9; - * @return string - */ - public function getHeadlinePart2() - { - return isset($this->headline_part2) ? $this->headline_part2 : ''; - } - - public function hasHeadlinePart2() - { - return isset($this->headline_part2); - } - - public function clearHeadlinePart2() - { - unset($this->headline_part2); - } - - /** - * The second part of the ad's headline. - * - * Generated from protobuf field optional string headline_part2 = 9; - * @param string $var - * @return $this - */ - public function setHeadlinePart2($var) - { - GPBUtil::checkString($var, True); - $this->headline_part2 = $var; - - return $this; - } - - /** - * The third part of the ad's headline. - * - * Generated from protobuf field optional string headline_part3 = 10; - * @return string - */ - public function getHeadlinePart3() - { - return isset($this->headline_part3) ? $this->headline_part3 : ''; - } - - public function hasHeadlinePart3() - { - return isset($this->headline_part3); - } - - public function clearHeadlinePart3() - { - unset($this->headline_part3); - } - - /** - * The third part of the ad's headline. - * - * Generated from protobuf field optional string headline_part3 = 10; - * @param string $var - * @return $this - */ - public function setHeadlinePart3($var) - { - GPBUtil::checkString($var, True); - $this->headline_part3 = $var; - - return $this; - } - - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 11; - * @return string - */ - public function getDescription() - { - return isset($this->description) ? $this->description : ''; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 11; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * The second description of the ad. - * - * Generated from protobuf field optional string description2 = 12; - * @return string - */ - public function getDescription2() - { - return isset($this->description2) ? $this->description2 : ''; - } - - public function hasDescription2() - { - return isset($this->description2); - } - - public function clearDescription2() - { - unset($this->description2); - } - - /** - * The second description of the ad. - * - * Generated from protobuf field optional string description2 = 12; - * @param string $var - * @return $this - */ - public function setDescription2($var) - { - GPBUtil::checkString($var, True); - $this->description2 = $var; - - return $this; - } - - /** - * The text that can appear alongside the ad's displayed URL. - * - * Generated from protobuf field optional string path1 = 13; - * @return string - */ - public function getPath1() - { - return isset($this->path1) ? $this->path1 : ''; - } - - public function hasPath1() - { - return isset($this->path1); - } - - public function clearPath1() - { - unset($this->path1); - } - - /** - * The text that can appear alongside the ad's displayed URL. - * - * Generated from protobuf field optional string path1 = 13; - * @param string $var - * @return $this - */ - public function setPath1($var) - { - GPBUtil::checkString($var, True); - $this->path1 = $var; - - return $this; - } - - /** - * Additional text that can appear alongside the ad's displayed URL. - * - * Generated from protobuf field optional string path2 = 14; - * @return string - */ - public function getPath2() - { - return isset($this->path2) ? $this->path2 : ''; - } - - public function hasPath2() - { - return isset($this->path2); - } - - public function clearPath2() - { - unset($this->path2); - } - - /** - * Additional text that can appear alongside the ad's displayed URL. - * - * Generated from protobuf field optional string path2 = 14; - * @param string $var - * @return $this - */ - public function setPath2($var) - { - GPBUtil::checkString($var, True); - $this->path2 = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/FinalAppUrl.php b/src/Google/Ads/GoogleAds/V15/Common/FinalAppUrl.php deleted file mode 100644 index 25e67fd4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/FinalAppUrl.php +++ /dev/null @@ -1,135 +0,0 @@ -google.ads.googleads.v15.common.FinalAppUrl - */ -class FinalAppUrl extends \Google\Protobuf\Internal\Message -{ - /** - * The operating system targeted by this URL. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1; - */ - protected $os_type = 0; - /** - * The app deep link URL. Deep links specify a location in an app that - * corresponds to the content you'd like to show, and should be of the form - * {scheme}://{host_path} - * The scheme identifies which app to open. For your app, you can use a custom - * scheme that starts with the app's name. The host and path specify the - * unique location in the app where your content exists. - * Example: "exampleapp://productid_1234". Required. - * - * Generated from protobuf field optional string url = 3; - */ - protected $url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $os_type - * The operating system targeted by this URL. Required. - * @type string $url - * The app deep link URL. Deep links specify a location in an app that - * corresponds to the content you'd like to show, and should be of the form - * {scheme}://{host_path} - * The scheme identifies which app to open. For your app, you can use a custom - * scheme that starts with the app's name. The host and path specify the - * unique location in the app where your content exists. - * Example: "exampleapp://productid_1234". Required. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\FinalAppUrl::initOnce(); - parent::__construct($data); - } - - /** - * The operating system targeted by this URL. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1; - * @return int - */ - public function getOsType() - { - return $this->os_type; - } - - /** - * The operating system targeted by this URL. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1; - * @param int $var - * @return $this - */ - public function setOsType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AppUrlOperatingSystemTypeEnum\AppUrlOperatingSystemType::class); - $this->os_type = $var; - - return $this; - } - - /** - * The app deep link URL. Deep links specify a location in an app that - * corresponds to the content you'd like to show, and should be of the form - * {scheme}://{host_path} - * The scheme identifies which app to open. For your app, you can use a custom - * scheme that starts with the app's name. The host and path specify the - * unique location in the app where your content exists. - * Example: "exampleapp://productid_1234". Required. - * - * Generated from protobuf field optional string url = 3; - * @return string - */ - public function getUrl() - { - return isset($this->url) ? $this->url : ''; - } - - public function hasUrl() - { - return isset($this->url); - } - - public function clearUrl() - { - unset($this->url); - } - - /** - * The app deep link URL. Deep links specify a location in an app that - * corresponds to the content you'd like to show, and should be of the form - * {scheme}://{host_path} - * The scheme identifies which app to open. For your app, you can use a custom - * scheme that starts with the app's name. The host and path specify the - * unique location in the app where your content exists. - * Example: "exampleapp://productid_1234". Required. - * - * Generated from protobuf field optional string url = 3; - * @param string $var - * @return $this - */ - public function setUrl($var) - { - GPBUtil::checkString($var, True); - $this->url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/FlexibleRuleOperandInfo.php b/src/Google/Ads/GoogleAds/V15/Common/FlexibleRuleOperandInfo.php deleted file mode 100644 index 8bc400aae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/FlexibleRuleOperandInfo.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.common.FlexibleRuleOperandInfo - */ -class FlexibleRuleOperandInfo extends \Google\Protobuf\Internal\Message -{ - /** - * List of rule item groups that defines this rule. - * Rule item groups are grouped together. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListRuleInfo rule = 1; - */ - protected $rule = null; - /** - * Lookback window for this rule in days. From now until X days ago. - * - * Generated from protobuf field optional int64 lookback_window_days = 2; - */ - protected $lookback_window_days = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\UserListRuleInfo $rule - * List of rule item groups that defines this rule. - * Rule item groups are grouped together. - * @type int|string $lookback_window_days - * Lookback window for this rule in days. From now until X days ago. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * List of rule item groups that defines this rule. - * Rule item groups are grouped together. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListRuleInfo rule = 1; - * @return \Google\Ads\GoogleAds\V15\Common\UserListRuleInfo|null - */ - public function getRule() - { - return $this->rule; - } - - public function hasRule() - { - return isset($this->rule); - } - - public function clearRule() - { - unset($this->rule); - } - - /** - * List of rule item groups that defines this rule. - * Rule item groups are grouped together. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListRuleInfo rule = 1; - * @param \Google\Ads\GoogleAds\V15\Common\UserListRuleInfo $var - * @return $this - */ - public function setRule($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserListRuleInfo::class); - $this->rule = $var; - - return $this; - } - - /** - * Lookback window for this rule in days. From now until X days ago. - * - * Generated from protobuf field optional int64 lookback_window_days = 2; - * @return int|string - */ - public function getLookbackWindowDays() - { - return isset($this->lookback_window_days) ? $this->lookback_window_days : 0; - } - - public function hasLookbackWindowDays() - { - return isset($this->lookback_window_days); - } - - public function clearLookbackWindowDays() - { - unset($this->lookback_window_days); - } - - /** - * Lookback window for this rule in days. From now until X days ago. - * - * Generated from protobuf field optional int64 lookback_window_days = 2; - * @param int|string $var - * @return $this - */ - public function setLookbackWindowDays($var) - { - GPBUtil::checkInt64($var); - $this->lookback_window_days = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/FlexibleRuleUserListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/FlexibleRuleUserListInfo.php deleted file mode 100644 index 956dabdb7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/FlexibleRuleUserListInfo.php +++ /dev/null @@ -1,157 +0,0 @@ -google.ads.googleads.v15.common.FlexibleRuleUserListInfo - */ -class FlexibleRuleUserListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Operator that defines how the inclusive operands are combined. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1; - */ - protected $inclusive_rule_operator = 0; - /** - * Rules representing users that should be included in the user list. These - * are located on the left side of the AND_NOT operator, and joined together - * by either AND/OR as specified by the inclusive_rule_operator. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2; - */ - private $inclusive_operands; - /** - * Rules representing users that should be excluded from the user list. These - * are located on the right side of the AND_NOT operator, and joined together - * by OR. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3; - */ - private $exclusive_operands; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $inclusive_rule_operator - * Operator that defines how the inclusive operands are combined. - * @type array<\Google\Ads\GoogleAds\V15\Common\FlexibleRuleOperandInfo>|\Google\Protobuf\Internal\RepeatedField $inclusive_operands - * Rules representing users that should be included in the user list. These - * are located on the left side of the AND_NOT operator, and joined together - * by either AND/OR as specified by the inclusive_rule_operator. - * @type array<\Google\Ads\GoogleAds\V15\Common\FlexibleRuleOperandInfo>|\Google\Protobuf\Internal\RepeatedField $exclusive_operands - * Rules representing users that should be excluded from the user list. These - * are located on the right side of the AND_NOT operator, and joined together - * by OR. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Operator that defines how the inclusive operands are combined. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1; - * @return int - */ - public function getInclusiveRuleOperator() - { - return $this->inclusive_rule_operator; - } - - /** - * Operator that defines how the inclusive operands are combined. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1; - * @param int $var - * @return $this - */ - public function setInclusiveRuleOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListFlexibleRuleOperatorEnum\UserListFlexibleRuleOperator::class); - $this->inclusive_rule_operator = $var; - - return $this; - } - - /** - * Rules representing users that should be included in the user list. These - * are located on the left side of the AND_NOT operator, and joined together - * by either AND/OR as specified by the inclusive_rule_operator. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInclusiveOperands() - { - return $this->inclusive_operands; - } - - /** - * Rules representing users that should be included in the user list. These - * are located on the left side of the AND_NOT operator, and joined together - * by either AND/OR as specified by the inclusive_rule_operator. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\FlexibleRuleOperandInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInclusiveOperands($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\FlexibleRuleOperandInfo::class); - $this->inclusive_operands = $arr; - - return $this; - } - - /** - * Rules representing users that should be excluded from the user list. These - * are located on the right side of the AND_NOT operator, and joined together - * by OR. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExclusiveOperands() - { - return $this->exclusive_operands; - } - - /** - * Rules representing users that should be excluded from the user list. These - * are located on the right side of the AND_NOT operator, and joined together - * by OR. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\FlexibleRuleOperandInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExclusiveOperands($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\FlexibleRuleOperandInfo::class); - $this->exclusive_operands = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/FrequencyCapEntry.php b/src/Google/Ads/GoogleAds/V15/Common/FrequencyCapEntry.php deleted file mode 100644 index 26612c04a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/FrequencyCapEntry.php +++ /dev/null @@ -1,126 +0,0 @@ -google.ads.googleads.v15.common.FrequencyCapEntry - */ -class FrequencyCapEntry extends \Google\Protobuf\Internal\Message -{ - /** - * The key of a particular frequency cap. There can be no more - * than one frequency cap with the same key. - * - * Generated from protobuf field .google.ads.googleads.v15.common.FrequencyCapKey key = 1; - */ - protected $key = null; - /** - * Maximum number of events allowed during the time range by this cap. - * - * Generated from protobuf field optional int32 cap = 3; - */ - protected $cap = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\FrequencyCapKey $key - * The key of a particular frequency cap. There can be no more - * than one frequency cap with the same key. - * @type int $cap - * Maximum number of events allowed during the time range by this cap. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\FrequencyCap::initOnce(); - parent::__construct($data); - } - - /** - * The key of a particular frequency cap. There can be no more - * than one frequency cap with the same key. - * - * Generated from protobuf field .google.ads.googleads.v15.common.FrequencyCapKey key = 1; - * @return \Google\Ads\GoogleAds\V15\Common\FrequencyCapKey|null - */ - public function getKey() - { - return $this->key; - } - - public function hasKey() - { - return isset($this->key); - } - - public function clearKey() - { - unset($this->key); - } - - /** - * The key of a particular frequency cap. There can be no more - * than one frequency cap with the same key. - * - * Generated from protobuf field .google.ads.googleads.v15.common.FrequencyCapKey key = 1; - * @param \Google\Ads\GoogleAds\V15\Common\FrequencyCapKey $var - * @return $this - */ - public function setKey($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\FrequencyCapKey::class); - $this->key = $var; - - return $this; - } - - /** - * Maximum number of events allowed during the time range by this cap. - * - * Generated from protobuf field optional int32 cap = 3; - * @return int - */ - public function getCap() - { - return isset($this->cap) ? $this->cap : 0; - } - - public function hasCap() - { - return isset($this->cap); - } - - public function clearCap() - { - unset($this->cap); - } - - /** - * Maximum number of events allowed during the time range by this cap. - * - * Generated from protobuf field optional int32 cap = 3; - * @param int $var - * @return $this - */ - public function setCap($var) - { - GPBUtil::checkInt32($var); - $this->cap = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/FrequencyCapKey.php b/src/Google/Ads/GoogleAds/V15/Common/FrequencyCapKey.php deleted file mode 100644 index e91d09cd5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/FrequencyCapKey.php +++ /dev/null @@ -1,184 +0,0 @@ -google.ads.googleads.v15.common.FrequencyCapKey - */ -class FrequencyCapKey extends \Google\Protobuf\Internal\Message -{ - /** - * The level on which the cap is to be applied (for example, ad group ad, ad - * group). The cap is applied to all the entities of this level. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; - */ - protected $level = 0; - /** - * The type of event that the cap applies to (for example, impression). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3; - */ - protected $event_type = 0; - /** - * Unit of time the cap is defined at (for example, day, week). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2; - */ - protected $time_unit = 0; - /** - * Number of time units the cap lasts. - * - * Generated from protobuf field optional int32 time_length = 5; - */ - protected $time_length = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $level - * The level on which the cap is to be applied (for example, ad group ad, ad - * group). The cap is applied to all the entities of this level. - * @type int $event_type - * The type of event that the cap applies to (for example, impression). - * @type int $time_unit - * Unit of time the cap is defined at (for example, day, week). - * @type int $time_length - * Number of time units the cap lasts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\FrequencyCap::initOnce(); - parent::__construct($data); - } - - /** - * The level on which the cap is to be applied (for example, ad group ad, ad - * group). The cap is applied to all the entities of this level. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; - * @return int - */ - public function getLevel() - { - return $this->level; - } - - /** - * The level on which the cap is to be applied (for example, ad group ad, ad - * group). The cap is applied to all the entities of this level. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; - * @param int $var - * @return $this - */ - public function setLevel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FrequencyCapLevelEnum\FrequencyCapLevel::class); - $this->level = $var; - - return $this; - } - - /** - * The type of event that the cap applies to (for example, impression). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3; - * @return int - */ - public function getEventType() - { - return $this->event_type; - } - - /** - * The type of event that the cap applies to (for example, impression). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3; - * @param int $var - * @return $this - */ - public function setEventType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FrequencyCapEventTypeEnum\FrequencyCapEventType::class); - $this->event_type = $var; - - return $this; - } - - /** - * Unit of time the cap is defined at (for example, day, week). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2; - * @return int - */ - public function getTimeUnit() - { - return $this->time_unit; - } - - /** - * Unit of time the cap is defined at (for example, day, week). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2; - * @param int $var - * @return $this - */ - public function setTimeUnit($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FrequencyCapTimeUnitEnum\FrequencyCapTimeUnit::class); - $this->time_unit = $var; - - return $this; - } - - /** - * Number of time units the cap lasts. - * - * Generated from protobuf field optional int32 time_length = 5; - * @return int - */ - public function getTimeLength() - { - return isset($this->time_length) ? $this->time_length : 0; - } - - public function hasTimeLength() - { - return isset($this->time_length); - } - - public function clearTimeLength() - { - unset($this->time_length); - } - - /** - * Number of time units the cap lasts. - * - * Generated from protobuf field optional int32 time_length = 5; - * @param int $var - * @return $this - */ - public function setTimeLength($var) - { - GPBUtil::checkInt32($var); - $this->time_length = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/GenderDimension.php b/src/Google/Ads/GoogleAds/V15/Common/GenderDimension.php deleted file mode 100644 index d30d883ef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/GenderDimension.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.GenderDimension - */ -class GenderDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Included gender demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.GenderTypeEnum.GenderType genders = 1; - */ - private $genders; - /** - * Include users whose gender is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - */ - protected $include_undetermined = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $genders - * Included gender demographic segments. - * @type bool $include_undetermined - * Include users whose gender is not determined. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * Included gender demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.GenderTypeEnum.GenderType genders = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGenders() - { - return $this->genders; - } - - /** - * Included gender demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.GenderTypeEnum.GenderType genders = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGenders($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\GenderTypeEnum\GenderType::class); - $this->genders = $arr; - - return $this; - } - - /** - * Include users whose gender is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - * @return bool - */ - public function getIncludeUndetermined() - { - return isset($this->include_undetermined) ? $this->include_undetermined : false; - } - - public function hasIncludeUndetermined() - { - return isset($this->include_undetermined); - } - - public function clearIncludeUndetermined() - { - unset($this->include_undetermined); - } - - /** - * Include users whose gender is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - * @param bool $var - * @return $this - */ - public function setIncludeUndetermined($var) - { - GPBUtil::checkBool($var); - $this->include_undetermined = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/GenderInfo.php b/src/Google/Ads/GoogleAds/V15/Common/GenderInfo.php deleted file mode 100644 index 5ff517c27..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/GenderInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.GenderInfo - */ -class GenderInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the gender. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GenderTypeEnum.GenderType type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the gender. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Type of the gender. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GenderTypeEnum.GenderType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the gender. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GenderTypeEnum.GenderType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\GenderTypeEnum\GenderType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/GeoPointInfo.php b/src/Google/Ads/GoogleAds/V15/Common/GeoPointInfo.php deleted file mode 100644 index bf19231b1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/GeoPointInfo.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.common.GeoPointInfo - */ -class GeoPointInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Micro degrees for the longitude. - * - * Generated from protobuf field optional int32 longitude_in_micro_degrees = 3; - */ - protected $longitude_in_micro_degrees = null; - /** - * Micro degrees for the latitude. - * - * Generated from protobuf field optional int32 latitude_in_micro_degrees = 4; - */ - protected $latitude_in_micro_degrees = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $longitude_in_micro_degrees - * Micro degrees for the longitude. - * @type int $latitude_in_micro_degrees - * Micro degrees for the latitude. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Micro degrees for the longitude. - * - * Generated from protobuf field optional int32 longitude_in_micro_degrees = 3; - * @return int - */ - public function getLongitudeInMicroDegrees() - { - return isset($this->longitude_in_micro_degrees) ? $this->longitude_in_micro_degrees : 0; - } - - public function hasLongitudeInMicroDegrees() - { - return isset($this->longitude_in_micro_degrees); - } - - public function clearLongitudeInMicroDegrees() - { - unset($this->longitude_in_micro_degrees); - } - - /** - * Micro degrees for the longitude. - * - * Generated from protobuf field optional int32 longitude_in_micro_degrees = 3; - * @param int $var - * @return $this - */ - public function setLongitudeInMicroDegrees($var) - { - GPBUtil::checkInt32($var); - $this->longitude_in_micro_degrees = $var; - - return $this; - } - - /** - * Micro degrees for the latitude. - * - * Generated from protobuf field optional int32 latitude_in_micro_degrees = 4; - * @return int - */ - public function getLatitudeInMicroDegrees() - { - return isset($this->latitude_in_micro_degrees) ? $this->latitude_in_micro_degrees : 0; - } - - public function hasLatitudeInMicroDegrees() - { - return isset($this->latitude_in_micro_degrees); - } - - public function clearLatitudeInMicroDegrees() - { - unset($this->latitude_in_micro_degrees); - } - - /** - * Micro degrees for the latitude. - * - * Generated from protobuf field optional int32 latitude_in_micro_degrees = 4; - * @param int $var - * @return $this - */ - public function setLatitudeInMicroDegrees($var) - { - GPBUtil::checkInt32($var); - $this->latitude_in_micro_degrees = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HistoricalMetricsOptions.php b/src/Google/Ads/GoogleAds/V15/Common/HistoricalMetricsOptions.php deleted file mode 100644 index 7998ffffd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HistoricalMetricsOptions.php +++ /dev/null @@ -1,131 +0,0 @@ -google.ads.googleads.v15.common.HistoricalMetricsOptions - */ -class HistoricalMetricsOptions extends \Google\Protobuf\Internal\Message -{ - /** - * The year month range for historical metrics. If not specified, metrics - * for the past 12 months are returned. - * Search metrics are available for the past 4 years. If the search volume is - * not available for the entire year_month_range provided, the subset of the - * year month range for which search volume is available are returned. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.YearMonthRange year_month_range = 1; - */ - protected $year_month_range = null; - /** - * Indicates whether to include average cost per click value. - * Average CPC is provided only for legacy support. - * - * Generated from protobuf field bool include_average_cpc = 2; - */ - protected $include_average_cpc = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\YearMonthRange $year_month_range - * The year month range for historical metrics. If not specified, metrics - * for the past 12 months are returned. - * Search metrics are available for the past 4 years. If the search volume is - * not available for the entire year_month_range provided, the subset of the - * year month range for which search volume is available are returned. - * @type bool $include_average_cpc - * Indicates whether to include average cost per click value. - * Average CPC is provided only for legacy support. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * The year month range for historical metrics. If not specified, metrics - * for the past 12 months are returned. - * Search metrics are available for the past 4 years. If the search volume is - * not available for the entire year_month_range provided, the subset of the - * year month range for which search volume is available are returned. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.YearMonthRange year_month_range = 1; - * @return \Google\Ads\GoogleAds\V15\Common\YearMonthRange|null - */ - public function getYearMonthRange() - { - return $this->year_month_range; - } - - public function hasYearMonthRange() - { - return isset($this->year_month_range); - } - - public function clearYearMonthRange() - { - unset($this->year_month_range); - } - - /** - * The year month range for historical metrics. If not specified, metrics - * for the past 12 months are returned. - * Search metrics are available for the past 4 years. If the search volume is - * not available for the entire year_month_range provided, the subset of the - * year month range for which search volume is available are returned. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.YearMonthRange year_month_range = 1; - * @param \Google\Ads\GoogleAds\V15\Common\YearMonthRange $var - * @return $this - */ - public function setYearMonthRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YearMonthRange::class); - $this->year_month_range = $var; - - return $this; - } - - /** - * Indicates whether to include average cost per click value. - * Average CPC is provided only for legacy support. - * - * Generated from protobuf field bool include_average_cpc = 2; - * @return bool - */ - public function getIncludeAverageCpc() - { - return $this->include_average_cpc; - } - - /** - * Indicates whether to include average cost per click value. - * Average CPC is provided only for legacy support. - * - * Generated from protobuf field bool include_average_cpc = 2; - * @param bool $var - * @return $this - */ - public function setIncludeAverageCpc($var) - { - GPBUtil::checkBool($var); - $this->include_average_cpc = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelAdInfo.php deleted file mode 100644 index 895d3d893..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelAdInfo.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.common.HotelAdInfo - */ -class HotelAdInfo extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelAdvanceBookingWindowInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelAdvanceBookingWindowInfo.php deleted file mode 100644 index 4ae97c394..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelAdvanceBookingWindowInfo.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.common.HotelAdvanceBookingWindowInfo - */ -class HotelAdvanceBookingWindowInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Low end of the number of days prior to the stay. - * - * Generated from protobuf field optional int64 min_days = 3; - */ - protected $min_days = null; - /** - * High end of the number of days prior to the stay. - * - * Generated from protobuf field optional int64 max_days = 4; - */ - protected $max_days = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $min_days - * Low end of the number of days prior to the stay. - * @type int|string $max_days - * High end of the number of days prior to the stay. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Low end of the number of days prior to the stay. - * - * Generated from protobuf field optional int64 min_days = 3; - * @return int|string - */ - public function getMinDays() - { - return isset($this->min_days) ? $this->min_days : 0; - } - - public function hasMinDays() - { - return isset($this->min_days); - } - - public function clearMinDays() - { - unset($this->min_days); - } - - /** - * Low end of the number of days prior to the stay. - * - * Generated from protobuf field optional int64 min_days = 3; - * @param int|string $var - * @return $this - */ - public function setMinDays($var) - { - GPBUtil::checkInt64($var); - $this->min_days = $var; - - return $this; - } - - /** - * High end of the number of days prior to the stay. - * - * Generated from protobuf field optional int64 max_days = 4; - * @return int|string - */ - public function getMaxDays() - { - return isset($this->max_days) ? $this->max_days : 0; - } - - public function hasMaxDays() - { - return isset($this->max_days); - } - - public function clearMaxDays() - { - unset($this->max_days); - } - - /** - * High end of the number of days prior to the stay. - * - * Generated from protobuf field optional int64 max_days = 4; - * @param int|string $var - * @return $this - */ - public function setMaxDays($var) - { - GPBUtil::checkInt64($var); - $this->max_days = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelCalloutAsset.php b/src/Google/Ads/GoogleAds/V15/Common/HotelCalloutAsset.php deleted file mode 100644 index c524789f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelCalloutAsset.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.common.HotelCalloutAsset - */ -class HotelCalloutAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The text of the hotel callout asset. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $text = ''; - /** - * Required. The language of the hotel callout. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $language_code = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * Required. The text of the hotel callout asset. - * The length of this string should be between 1 and 25, inclusive. - * @type string $language_code - * Required. The language of the hotel callout. - * Represented as BCP 47 language tag. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. The text of the hotel callout asset. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getText() - { - return $this->text; - } - - /** - * Required. The text of the hotel callout asset. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * Required. The language of the hotel callout. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * Required. The language of the hotel callout. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelCalloutFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/HotelCalloutFeedItem.php deleted file mode 100644 index 0629cdb7a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelCalloutFeedItem.php +++ /dev/null @@ -1,129 +0,0 @@ -google.ads.googleads.v15.common.HotelCalloutFeedItem - */ -class HotelCalloutFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string text = 3; - */ - protected $text = null; - /** - * The language of the hotel callout text. - * IETF BCP 47 compliant language code. - * - * Generated from protobuf field optional string language_code = 4; - */ - protected $language_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * The callout text. - * The length of this string should be between 1 and 25, inclusive. - * @type string $language_code - * The language of the hotel callout text. - * IETF BCP 47 compliant language code. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string text = 3; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * The callout text. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string text = 3; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The language of the hotel callout text. - * IETF BCP 47 compliant language code. - * - * Generated from protobuf field optional string language_code = 4; - * @return string - */ - public function getLanguageCode() - { - return isset($this->language_code) ? $this->language_code : ''; - } - - public function hasLanguageCode() - { - return isset($this->language_code); - } - - public function clearLanguageCode() - { - unset($this->language_code); - } - - /** - * The language of the hotel callout text. - * IETF BCP 47 compliant language code. - * - * Generated from protobuf field optional string language_code = 4; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelCheckInDateRangeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelCheckInDateRangeInfo.php deleted file mode 100644 index 613940e57..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelCheckInDateRangeInfo.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.common.HotelCheckInDateRangeInfo - */ -class HotelCheckInDateRangeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Start date in the YYYY-MM-DD format. - * - * Generated from protobuf field string start_date = 1; - */ - protected $start_date = ''; - /** - * End date in the YYYY-MM-DD format. - * - * Generated from protobuf field string end_date = 2; - */ - protected $end_date = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $start_date - * Start date in the YYYY-MM-DD format. - * @type string $end_date - * End date in the YYYY-MM-DD format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Start date in the YYYY-MM-DD format. - * - * Generated from protobuf field string start_date = 1; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * Start date in the YYYY-MM-DD format. - * - * Generated from protobuf field string start_date = 1; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * End date in the YYYY-MM-DD format. - * - * Generated from protobuf field string end_date = 2; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * End date in the YYYY-MM-DD format. - * - * Generated from protobuf field string end_date = 2; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelCheckInDayInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelCheckInDayInfo.php deleted file mode 100644 index 90342c34f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelCheckInDayInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.HotelCheckInDayInfo - */ -class HotelCheckInDayInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The day of the week. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; - */ - protected $day_of_week = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $day_of_week - * The day of the week. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The day of the week. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; - * @return int - */ - public function getDayOfWeek() - { - return $this->day_of_week; - } - - /** - * The day of the week. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; - * @param int $var - * @return $this - */ - public function setDayOfWeek($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DayOfWeekEnum\DayOfWeek::class); - $this->day_of_week = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelCityInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelCityInfo.php deleted file mode 100644 index de3eb2ab9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelCityInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.HotelCityInfo - */ -class HotelCityInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string city_criterion = 2; - */ - protected $city_criterion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $city_criterion - * The Geo Target Constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string city_criterion = 2; - * @return string - */ - public function getCityCriterion() - { - return isset($this->city_criterion) ? $this->city_criterion : ''; - } - - public function hasCityCriterion() - { - return isset($this->city_criterion); - } - - public function clearCityCriterion() - { - unset($this->city_criterion); - } - - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string city_criterion = 2; - * @param string $var - * @return $this - */ - public function setCityCriterion($var) - { - GPBUtil::checkString($var, True); - $this->city_criterion = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelClassInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelClassInfo.php deleted file mode 100644 index 2b2440f9f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelClassInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.HotelClassInfo - */ -class HotelClassInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Long value of the hotel class. - * - * Generated from protobuf field optional int64 value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $value - * Long value of the hotel class. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Long value of the hotel class. - * - * Generated from protobuf field optional int64 value = 2; - * @return int|string - */ - public function getValue() - { - return isset($this->value) ? $this->value : 0; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Long value of the hotel class. - * - * Generated from protobuf field optional int64 value = 2; - * @param int|string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkInt64($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelCountryRegionInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelCountryRegionInfo.php deleted file mode 100644 index 301260127..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelCountryRegionInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.HotelCountryRegionInfo - */ -class HotelCountryRegionInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string country_region_criterion = 2; - */ - protected $country_region_criterion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $country_region_criterion - * The Geo Target Constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string country_region_criterion = 2; - * @return string - */ - public function getCountryRegionCriterion() - { - return isset($this->country_region_criterion) ? $this->country_region_criterion : ''; - } - - public function hasCountryRegionCriterion() - { - return isset($this->country_region_criterion); - } - - public function clearCountryRegionCriterion() - { - unset($this->country_region_criterion); - } - - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string country_region_criterion = 2; - * @param string $var - * @return $this - */ - public function setCountryRegionCriterion($var) - { - GPBUtil::checkString($var, True); - $this->country_region_criterion = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelDateSelectionTypeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelDateSelectionTypeInfo.php deleted file mode 100644 index 803dade5f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelDateSelectionTypeInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.HotelDateSelectionTypeInfo - */ -class HotelDateSelectionTypeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the hotel date selection - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the hotel date selection - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Type of the hotel date selection - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the hotel date selection - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\HotelDateSelectionTypeEnum\HotelDateSelectionType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelIdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelIdInfo.php deleted file mode 100644 index c4b82a14b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelIdInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.HotelIdInfo - */ -class HotelIdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the hotel ID. - * - * Generated from protobuf field optional string value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the hotel ID. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the hotel ID. - * - * Generated from protobuf field optional string value = 2; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the hotel ID. - * - * Generated from protobuf field optional string value = 2; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelLengthOfStayInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelLengthOfStayInfo.php deleted file mode 100644 index 574c54fb6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelLengthOfStayInfo.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.common.HotelLengthOfStayInfo - */ -class HotelLengthOfStayInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Low end of the number of nights in the stay. - * - * Generated from protobuf field optional int64 min_nights = 3; - */ - protected $min_nights = null; - /** - * High end of the number of nights in the stay. - * - * Generated from protobuf field optional int64 max_nights = 4; - */ - protected $max_nights = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $min_nights - * Low end of the number of nights in the stay. - * @type int|string $max_nights - * High end of the number of nights in the stay. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Low end of the number of nights in the stay. - * - * Generated from protobuf field optional int64 min_nights = 3; - * @return int|string - */ - public function getMinNights() - { - return isset($this->min_nights) ? $this->min_nights : 0; - } - - public function hasMinNights() - { - return isset($this->min_nights); - } - - public function clearMinNights() - { - unset($this->min_nights); - } - - /** - * Low end of the number of nights in the stay. - * - * Generated from protobuf field optional int64 min_nights = 3; - * @param int|string $var - * @return $this - */ - public function setMinNights($var) - { - GPBUtil::checkInt64($var); - $this->min_nights = $var; - - return $this; - } - - /** - * High end of the number of nights in the stay. - * - * Generated from protobuf field optional int64 max_nights = 4; - * @return int|string - */ - public function getMaxNights() - { - return isset($this->max_nights) ? $this->max_nights : 0; - } - - public function hasMaxNights() - { - return isset($this->max_nights); - } - - public function clearMaxNights() - { - unset($this->max_nights); - } - - /** - * High end of the number of nights in the stay. - * - * Generated from protobuf field optional int64 max_nights = 4; - * @param int|string $var - * @return $this - */ - public function setMaxNights($var) - { - GPBUtil::checkInt64($var); - $this->max_nights = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelPropertyAsset.php b/src/Google/Ads/GoogleAds/V15/Common/HotelPropertyAsset.php deleted file mode 100644 index c9d26a9ea..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelPropertyAsset.php +++ /dev/null @@ -1,143 +0,0 @@ -google.ads.googleads.v15.common.HotelPropertyAsset - */ -class HotelPropertyAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Place IDs uniquely identify a place in the Google Places database and on - * Google Maps. See https://developers.google.com/places/web-service/place-id - * to learn more. - * - * Generated from protobuf field string place_id = 1; - */ - protected $place_id = ''; - /** - * Address of the hotel. Read-only. - * - * Generated from protobuf field string hotel_address = 2; - */ - protected $hotel_address = ''; - /** - * Name of the hotel. Read-only. - * - * Generated from protobuf field string hotel_name = 3; - */ - protected $hotel_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $place_id - * Place IDs uniquely identify a place in the Google Places database and on - * Google Maps. See https://developers.google.com/places/web-service/place-id - * to learn more. - * @type string $hotel_address - * Address of the hotel. Read-only. - * @type string $hotel_name - * Name of the hotel. Read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Place IDs uniquely identify a place in the Google Places database and on - * Google Maps. See https://developers.google.com/places/web-service/place-id - * to learn more. - * - * Generated from protobuf field string place_id = 1; - * @return string - */ - public function getPlaceId() - { - return $this->place_id; - } - - /** - * Place IDs uniquely identify a place in the Google Places database and on - * Google Maps. See https://developers.google.com/places/web-service/place-id - * to learn more. - * - * Generated from protobuf field string place_id = 1; - * @param string $var - * @return $this - */ - public function setPlaceId($var) - { - GPBUtil::checkString($var, True); - $this->place_id = $var; - - return $this; - } - - /** - * Address of the hotel. Read-only. - * - * Generated from protobuf field string hotel_address = 2; - * @return string - */ - public function getHotelAddress() - { - return $this->hotel_address; - } - - /** - * Address of the hotel. Read-only. - * - * Generated from protobuf field string hotel_address = 2; - * @param string $var - * @return $this - */ - public function setHotelAddress($var) - { - GPBUtil::checkString($var, True); - $this->hotel_address = $var; - - return $this; - } - - /** - * Name of the hotel. Read-only. - * - * Generated from protobuf field string hotel_name = 3; - * @return string - */ - public function getHotelName() - { - return $this->hotel_name; - } - - /** - * Name of the hotel. Read-only. - * - * Generated from protobuf field string hotel_name = 3; - * @param string $var - * @return $this - */ - public function setHotelName($var) - { - GPBUtil::checkString($var, True); - $this->hotel_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HotelStateInfo.php b/src/Google/Ads/GoogleAds/V15/Common/HotelStateInfo.php deleted file mode 100644 index 2a18999cd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HotelStateInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.HotelStateInfo - */ -class HotelStateInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string state_criterion = 2; - */ - protected $state_criterion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $state_criterion - * The Geo Target Constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string state_criterion = 2; - * @return string - */ - public function getStateCriterion() - { - return isset($this->state_criterion) ? $this->state_criterion : ''; - } - - public function hasStateCriterion() - { - return isset($this->state_criterion); - } - - public function clearStateCriterion() - { - unset($this->state_criterion); - } - - /** - * The Geo Target Constant resource name. - * - * Generated from protobuf field optional string state_criterion = 2; - * @param string $var - * @return $this - */ - public function setStateCriterion($var) - { - GPBUtil::checkString($var, True); - $this->state_criterion = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/HouseholdIncomeDimension.php b/src/Google/Ads/GoogleAds/V15/Common/HouseholdIncomeDimension.php deleted file mode 100644 index 109c68a23..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/HouseholdIncomeDimension.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.HouseholdIncomeDimension - */ -class HouseholdIncomeDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Included household income demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType income_ranges = 1; - */ - private $income_ranges; - /** - * Include users whose household income is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - */ - protected $include_undetermined = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $income_ranges - * Included household income demographic segments. - * @type bool $include_undetermined - * Include users whose household income is not determined. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * Included household income demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType income_ranges = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getIncomeRanges() - { - return $this->income_ranges; - } - - /** - * Included household income demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType income_ranges = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setIncomeRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\IncomeRangeTypeEnum\IncomeRangeType::class); - $this->income_ranges = $arr; - - return $this; - } - - /** - * Include users whose household income is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - * @return bool - */ - public function getIncludeUndetermined() - { - return isset($this->include_undetermined) ? $this->include_undetermined : false; - } - - public function hasIncludeUndetermined() - { - return isset($this->include_undetermined); - } - - public function clearIncludeUndetermined() - { - unset($this->include_undetermined); - } - - /** - * Include users whose household income is not determined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - * @param bool $var - * @return $this - */ - public function setIncludeUndetermined($var) - { - GPBUtil::checkBool($var); - $this->include_undetermined = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ImageAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ImageAdInfo.php deleted file mode 100644 index 6536ca617..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ImageAdInfo.php +++ /dev/null @@ -1,487 +0,0 @@ -google.ads.googleads.v15.common.ImageAdInfo - */ -class ImageAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Width in pixels of the full size image. - * - * Generated from protobuf field optional int64 pixel_width = 15; - */ - protected $pixel_width = null; - /** - * Height in pixels of the full size image. - * - * Generated from protobuf field optional int64 pixel_height = 16; - */ - protected $pixel_height = null; - /** - * URL of the full size image. - * - * Generated from protobuf field optional string image_url = 17; - */ - protected $image_url = null; - /** - * Width in pixels of the preview size image. - * - * Generated from protobuf field optional int64 preview_pixel_width = 18; - */ - protected $preview_pixel_width = null; - /** - * Height in pixels of the preview size image. - * - * Generated from protobuf field optional int64 preview_pixel_height = 19; - */ - protected $preview_pixel_height = null; - /** - * URL of the preview size image. - * - * Generated from protobuf field optional string preview_image_url = 20; - */ - protected $preview_image_url = null; - /** - * The mime type of the image. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 10; - */ - protected $mime_type = 0; - /** - * The name of the image. If the image was created from a MediaFile, this is - * the MediaFile's name. If the image was created from bytes, this is empty. - * - * Generated from protobuf field optional string name = 21; - */ - protected $name = null; - protected $image; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $pixel_width - * Width in pixels of the full size image. - * @type int|string $pixel_height - * Height in pixels of the full size image. - * @type string $image_url - * URL of the full size image. - * @type int|string $preview_pixel_width - * Width in pixels of the preview size image. - * @type int|string $preview_pixel_height - * Height in pixels of the preview size image. - * @type string $preview_image_url - * URL of the preview size image. - * @type int $mime_type - * The mime type of the image. - * @type string $name - * The name of the image. If the image was created from a MediaFile, this is - * the MediaFile's name. If the image was created from bytes, this is empty. - * @type \Google\Ads\GoogleAds\V15\Common\AdImageAsset $image_asset - * The image assets used for the ad. - * @type string $data - * Raw image data as bytes. - * @type int|string $ad_id_to_copy_image_from - * An ad ID to copy the image from. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Width in pixels of the full size image. - * - * Generated from protobuf field optional int64 pixel_width = 15; - * @return int|string - */ - public function getPixelWidth() - { - return isset($this->pixel_width) ? $this->pixel_width : 0; - } - - public function hasPixelWidth() - { - return isset($this->pixel_width); - } - - public function clearPixelWidth() - { - unset($this->pixel_width); - } - - /** - * Width in pixels of the full size image. - * - * Generated from protobuf field optional int64 pixel_width = 15; - * @param int|string $var - * @return $this - */ - public function setPixelWidth($var) - { - GPBUtil::checkInt64($var); - $this->pixel_width = $var; - - return $this; - } - - /** - * Height in pixels of the full size image. - * - * Generated from protobuf field optional int64 pixel_height = 16; - * @return int|string - */ - public function getPixelHeight() - { - return isset($this->pixel_height) ? $this->pixel_height : 0; - } - - public function hasPixelHeight() - { - return isset($this->pixel_height); - } - - public function clearPixelHeight() - { - unset($this->pixel_height); - } - - /** - * Height in pixels of the full size image. - * - * Generated from protobuf field optional int64 pixel_height = 16; - * @param int|string $var - * @return $this - */ - public function setPixelHeight($var) - { - GPBUtil::checkInt64($var); - $this->pixel_height = $var; - - return $this; - } - - /** - * URL of the full size image. - * - * Generated from protobuf field optional string image_url = 17; - * @return string - */ - public function getImageUrl() - { - return isset($this->image_url) ? $this->image_url : ''; - } - - public function hasImageUrl() - { - return isset($this->image_url); - } - - public function clearImageUrl() - { - unset($this->image_url); - } - - /** - * URL of the full size image. - * - * Generated from protobuf field optional string image_url = 17; - * @param string $var - * @return $this - */ - public function setImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->image_url = $var; - - return $this; - } - - /** - * Width in pixels of the preview size image. - * - * Generated from protobuf field optional int64 preview_pixel_width = 18; - * @return int|string - */ - public function getPreviewPixelWidth() - { - return isset($this->preview_pixel_width) ? $this->preview_pixel_width : 0; - } - - public function hasPreviewPixelWidth() - { - return isset($this->preview_pixel_width); - } - - public function clearPreviewPixelWidth() - { - unset($this->preview_pixel_width); - } - - /** - * Width in pixels of the preview size image. - * - * Generated from protobuf field optional int64 preview_pixel_width = 18; - * @param int|string $var - * @return $this - */ - public function setPreviewPixelWidth($var) - { - GPBUtil::checkInt64($var); - $this->preview_pixel_width = $var; - - return $this; - } - - /** - * Height in pixels of the preview size image. - * - * Generated from protobuf field optional int64 preview_pixel_height = 19; - * @return int|string - */ - public function getPreviewPixelHeight() - { - return isset($this->preview_pixel_height) ? $this->preview_pixel_height : 0; - } - - public function hasPreviewPixelHeight() - { - return isset($this->preview_pixel_height); - } - - public function clearPreviewPixelHeight() - { - unset($this->preview_pixel_height); - } - - /** - * Height in pixels of the preview size image. - * - * Generated from protobuf field optional int64 preview_pixel_height = 19; - * @param int|string $var - * @return $this - */ - public function setPreviewPixelHeight($var) - { - GPBUtil::checkInt64($var); - $this->preview_pixel_height = $var; - - return $this; - } - - /** - * URL of the preview size image. - * - * Generated from protobuf field optional string preview_image_url = 20; - * @return string - */ - public function getPreviewImageUrl() - { - return isset($this->preview_image_url) ? $this->preview_image_url : ''; - } - - public function hasPreviewImageUrl() - { - return isset($this->preview_image_url); - } - - public function clearPreviewImageUrl() - { - unset($this->preview_image_url); - } - - /** - * URL of the preview size image. - * - * Generated from protobuf field optional string preview_image_url = 20; - * @param string $var - * @return $this - */ - public function setPreviewImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->preview_image_url = $var; - - return $this; - } - - /** - * The mime type of the image. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 10; - * @return int - */ - public function getMimeType() - { - return $this->mime_type; - } - - /** - * The mime type of the image. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 10; - * @param int $var - * @return $this - */ - public function setMimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MimeTypeEnum\MimeType::class); - $this->mime_type = $var; - - return $this; - } - - /** - * The name of the image. If the image was created from a MediaFile, this is - * the MediaFile's name. If the image was created from bytes, this is empty. - * - * Generated from protobuf field optional string name = 21; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the image. If the image was created from a MediaFile, this is - * the MediaFile's name. If the image was created from bytes, this is empty. - * - * Generated from protobuf field optional string name = 21; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The image assets used for the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset image_asset = 22; - * @return \Google\Ads\GoogleAds\V15\Common\AdImageAsset|null - */ - public function getImageAsset() - { - return $this->readOneof(22); - } - - public function hasImageAsset() - { - return $this->hasOneof(22); - } - - /** - * The image assets used for the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset image_asset = 22; - * @param \Google\Ads\GoogleAds\V15\Common\AdImageAsset $var - * @return $this - */ - public function setImageAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * Raw image data as bytes. - * - * Generated from protobuf field bytes data = 13; - * @return string - */ - public function getData() - { - return $this->readOneof(13); - } - - public function hasData() - { - return $this->hasOneof(13); - } - - /** - * Raw image data as bytes. - * - * Generated from protobuf field bytes data = 13; - * @param string $var - * @return $this - */ - public function setData($var) - { - GPBUtil::checkString($var, False); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * An ad ID to copy the image from. - * - * Generated from protobuf field int64 ad_id_to_copy_image_from = 14; - * @return int|string - */ - public function getAdIdToCopyImageFrom() - { - return $this->readOneof(14); - } - - public function hasAdIdToCopyImageFrom() - { - return $this->hasOneof(14); - } - - /** - * An ad ID to copy the image from. - * - * Generated from protobuf field int64 ad_id_to_copy_image_from = 14; - * @param int|string $var - * @return $this - */ - public function setAdIdToCopyImageFrom($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * @return string - */ - public function getImage() - { - return $this->whichOneof("image"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ImageAsset.php b/src/Google/Ads/GoogleAds/V15/Common/ImageAsset.php deleted file mode 100644 index cc73d6c18..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ImageAsset.php +++ /dev/null @@ -1,199 +0,0 @@ -google.ads.googleads.v15.common.ImageAsset - */ -class ImageAsset extends \Google\Protobuf\Internal\Message -{ - /** - * The raw bytes data of an image. This field is mutate only. - * - * Generated from protobuf field optional bytes data = 5; - */ - protected $data = null; - /** - * File size of the image asset in bytes. - * - * Generated from protobuf field optional int64 file_size = 6; - */ - protected $file_size = null; - /** - * MIME type of the image asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 3; - */ - protected $mime_type = 0; - /** - * Metadata for this image at its original size. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageDimension full_size = 4; - */ - protected $full_size = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $data - * The raw bytes data of an image. This field is mutate only. - * @type int|string $file_size - * File size of the image asset in bytes. - * @type int $mime_type - * MIME type of the image asset. - * @type \Google\Ads\GoogleAds\V15\Common\ImageDimension $full_size - * Metadata for this image at its original size. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * The raw bytes data of an image. This field is mutate only. - * - * Generated from protobuf field optional bytes data = 5; - * @return string - */ - public function getData() - { - return isset($this->data) ? $this->data : ''; - } - - public function hasData() - { - return isset($this->data); - } - - public function clearData() - { - unset($this->data); - } - - /** - * The raw bytes data of an image. This field is mutate only. - * - * Generated from protobuf field optional bytes data = 5; - * @param string $var - * @return $this - */ - public function setData($var) - { - GPBUtil::checkString($var, False); - $this->data = $var; - - return $this; - } - - /** - * File size of the image asset in bytes. - * - * Generated from protobuf field optional int64 file_size = 6; - * @return int|string - */ - public function getFileSize() - { - return isset($this->file_size) ? $this->file_size : 0; - } - - public function hasFileSize() - { - return isset($this->file_size); - } - - public function clearFileSize() - { - unset($this->file_size); - } - - /** - * File size of the image asset in bytes. - * - * Generated from protobuf field optional int64 file_size = 6; - * @param int|string $var - * @return $this - */ - public function setFileSize($var) - { - GPBUtil::checkInt64($var); - $this->file_size = $var; - - return $this; - } - - /** - * MIME type of the image asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 3; - * @return int - */ - public function getMimeType() - { - return $this->mime_type; - } - - /** - * MIME type of the image asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 3; - * @param int $var - * @return $this - */ - public function setMimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MimeTypeEnum\MimeType::class); - $this->mime_type = $var; - - return $this; - } - - /** - * Metadata for this image at its original size. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageDimension full_size = 4; - * @return \Google\Ads\GoogleAds\V15\Common\ImageDimension|null - */ - public function getFullSize() - { - return $this->full_size; - } - - public function hasFullSize() - { - return isset($this->full_size); - } - - public function clearFullSize() - { - unset($this->full_size); - } - - /** - * Metadata for this image at its original size. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageDimension full_size = 4; - * @param \Google\Ads\GoogleAds\V15\Common\ImageDimension $var - * @return $this - */ - public function setFullSize($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ImageDimension::class); - $this->full_size = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ImageDimension.php b/src/Google/Ads/GoogleAds/V15/Common/ImageDimension.php deleted file mode 100644 index c805150b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ImageDimension.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.common.ImageDimension - */ -class ImageDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Height of the image. - * - * Generated from protobuf field optional int64 height_pixels = 4; - */ - protected $height_pixels = null; - /** - * Width of the image. - * - * Generated from protobuf field optional int64 width_pixels = 5; - */ - protected $width_pixels = null; - /** - * A URL that returns the image with this height and width. - * - * Generated from protobuf field optional string url = 6; - */ - protected $url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $height_pixels - * Height of the image. - * @type int|string $width_pixels - * Width of the image. - * @type string $url - * A URL that returns the image with this height and width. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Height of the image. - * - * Generated from protobuf field optional int64 height_pixels = 4; - * @return int|string - */ - public function getHeightPixels() - { - return isset($this->height_pixels) ? $this->height_pixels : 0; - } - - public function hasHeightPixels() - { - return isset($this->height_pixels); - } - - public function clearHeightPixels() - { - unset($this->height_pixels); - } - - /** - * Height of the image. - * - * Generated from protobuf field optional int64 height_pixels = 4; - * @param int|string $var - * @return $this - */ - public function setHeightPixels($var) - { - GPBUtil::checkInt64($var); - $this->height_pixels = $var; - - return $this; - } - - /** - * Width of the image. - * - * Generated from protobuf field optional int64 width_pixels = 5; - * @return int|string - */ - public function getWidthPixels() - { - return isset($this->width_pixels) ? $this->width_pixels : 0; - } - - public function hasWidthPixels() - { - return isset($this->width_pixels); - } - - public function clearWidthPixels() - { - unset($this->width_pixels); - } - - /** - * Width of the image. - * - * Generated from protobuf field optional int64 width_pixels = 5; - * @param int|string $var - * @return $this - */ - public function setWidthPixels($var) - { - GPBUtil::checkInt64($var); - $this->width_pixels = $var; - - return $this; - } - - /** - * A URL that returns the image with this height and width. - * - * Generated from protobuf field optional string url = 6; - * @return string - */ - public function getUrl() - { - return isset($this->url) ? $this->url : ''; - } - - public function hasUrl() - { - return isset($this->url); - } - - public function clearUrl() - { - unset($this->url); - } - - /** - * A URL that returns the image with this height and width. - * - * Generated from protobuf field optional string url = 6; - * @param string $var - * @return $this - */ - public function setUrl($var) - { - GPBUtil::checkString($var, True); - $this->url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ImageFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/ImageFeedItem.php deleted file mode 100644 index e893639b4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ImageFeedItem.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.ImageFeedItem - */ -class ImageFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Resource name of the image asset. - * - * Generated from protobuf field string image_asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $image_asset = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $image_asset - * Required. Resource name of the image asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * Required. Resource name of the image asset. - * - * Generated from protobuf field string image_asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getImageAsset() - { - return $this->image_asset; - } - - /** - * Required. Resource name of the image asset. - * - * Generated from protobuf field string image_asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setImageAsset($var) - { - GPBUtil::checkString($var, True); - $this->image_asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/InFeedVideoAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/InFeedVideoAdInfo.php deleted file mode 100644 index 3433bbc2b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/InFeedVideoAdInfo.php +++ /dev/null @@ -1,169 +0,0 @@ -google.ads.googleads.v15.common.InFeedVideoAdInfo - */ -class InFeedVideoAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The headline of the ad. - * - * Generated from protobuf field string headline = 1; - */ - protected $headline = ''; - /** - * First text line for the ad. - * - * Generated from protobuf field string description1 = 2; - */ - protected $description1 = ''; - /** - * Second text line for the ad. - * - * Generated from protobuf field string description2 = 3; - */ - protected $description2 = ''; - /** - * Video thumbnail image to use. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = 4; - */ - protected $thumbnail = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $headline - * The headline of the ad. - * @type string $description1 - * First text line for the ad. - * @type string $description2 - * Second text line for the ad. - * @type int $thumbnail - * Video thumbnail image to use. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The headline of the ad. - * - * Generated from protobuf field string headline = 1; - * @return string - */ - public function getHeadline() - { - return $this->headline; - } - - /** - * The headline of the ad. - * - * Generated from protobuf field string headline = 1; - * @param string $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkString($var, True); - $this->headline = $var; - - return $this; - } - - /** - * First text line for the ad. - * - * Generated from protobuf field string description1 = 2; - * @return string - */ - public function getDescription1() - { - return $this->description1; - } - - /** - * First text line for the ad. - * - * Generated from protobuf field string description1 = 2; - * @param string $var - * @return $this - */ - public function setDescription1($var) - { - GPBUtil::checkString($var, True); - $this->description1 = $var; - - return $this; - } - - /** - * Second text line for the ad. - * - * Generated from protobuf field string description2 = 3; - * @return string - */ - public function getDescription2() - { - return $this->description2; - } - - /** - * Second text line for the ad. - * - * Generated from protobuf field string description2 = 3; - * @param string $var - * @return $this - */ - public function setDescription2($var) - { - GPBUtil::checkString($var, True); - $this->description2 = $var; - - return $this; - } - - /** - * Video thumbnail image to use. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = 4; - * @return int - */ - public function getThumbnail() - { - return $this->thumbnail; - } - - /** - * Video thumbnail image to use. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = 4; - * @param int $var - * @return $this - */ - public function setThumbnail($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\VideoThumbnailEnum\VideoThumbnail::class); - $this->thumbnail = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/IncomeRangeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/IncomeRangeInfo.php deleted file mode 100644 index d6da0a63b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/IncomeRangeInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.IncomeRangeInfo - */ -class IncomeRangeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the income range. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the income range. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Type of the income range. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the income range. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\IncomeRangeTypeEnum\IncomeRangeType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/InteractionTypeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/InteractionTypeInfo.php deleted file mode 100644 index 018671f22..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/InteractionTypeInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.InteractionTypeInfo - */ -class InteractionTypeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The interaction type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.InteractionTypeEnum.InteractionType type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * The interaction type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The interaction type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.InteractionTypeEnum.InteractionType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * The interaction type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.InteractionTypeEnum.InteractionType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\InteractionTypeEnum\InteractionType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/IpBlockInfo.php b/src/Google/Ads/GoogleAds/V15/Common/IpBlockInfo.php deleted file mode 100644 index db79cf8de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/IpBlockInfo.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.common.IpBlockInfo - */ -class IpBlockInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The IP address of this IP block. - * - * Generated from protobuf field optional string ip_address = 2; - */ - protected $ip_address = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $ip_address - * The IP address of this IP block. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The IP address of this IP block. - * - * Generated from protobuf field optional string ip_address = 2; - * @return string - */ - public function getIpAddress() - { - return isset($this->ip_address) ? $this->ip_address : ''; - } - - public function hasIpAddress() - { - return isset($this->ip_address); - } - - public function clearIpAddress() - { - unset($this->ip_address); - } - - /** - * The IP address of this IP block. - * - * Generated from protobuf field optional string ip_address = 2; - * @param string $var - * @return $this - */ - public function setIpAddress($var) - { - GPBUtil::checkString($var, True); - $this->ip_address = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ItemAttribute.php b/src/Google/Ads/GoogleAds/V15/Common/ItemAttribute.php deleted file mode 100644 index dbe98feae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ItemAttribute.php +++ /dev/null @@ -1,233 +0,0 @@ -google.ads.googleads.v15.common.ItemAttribute - */ -class ItemAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * A unique identifier of a product. It can be either the Merchant Center Item - * ID or GTIN (Global Trade Item Number). - * - * Generated from protobuf field string item_id = 1; - */ - protected $item_id = ''; - /** - * ID of the Merchant Center Account. - * - * Generated from protobuf field optional int64 merchant_id = 2; - */ - protected $merchant_id = null; - /** - * Common Locale Data Repository (CLDR) territory code of the country - * associated with the feed where your items are uploaded. See - * https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes - * for more information. - * - * Generated from protobuf field string country_code = 3; - */ - protected $country_code = ''; - /** - * ISO 639-1 code of the language associated with the feed where your items - * are uploaded - * - * Generated from protobuf field string language_code = 4; - */ - protected $language_code = ''; - /** - * The number of items sold. Defaults to 1 if not set. - * - * Generated from protobuf field int64 quantity = 5; - */ - protected $quantity = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $item_id - * A unique identifier of a product. It can be either the Merchant Center Item - * ID or GTIN (Global Trade Item Number). - * @type int|string $merchant_id - * ID of the Merchant Center Account. - * @type string $country_code - * Common Locale Data Repository (CLDR) territory code of the country - * associated with the feed where your items are uploaded. See - * https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes - * for more information. - * @type string $language_code - * ISO 639-1 code of the language associated with the feed where your items - * are uploaded - * @type int|string $quantity - * The number of items sold. Defaults to 1 if not set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * A unique identifier of a product. It can be either the Merchant Center Item - * ID or GTIN (Global Trade Item Number). - * - * Generated from protobuf field string item_id = 1; - * @return string - */ - public function getItemId() - { - return $this->item_id; - } - - /** - * A unique identifier of a product. It can be either the Merchant Center Item - * ID or GTIN (Global Trade Item Number). - * - * Generated from protobuf field string item_id = 1; - * @param string $var - * @return $this - */ - public function setItemId($var) - { - GPBUtil::checkString($var, True); - $this->item_id = $var; - - return $this; - } - - /** - * ID of the Merchant Center Account. - * - * Generated from protobuf field optional int64 merchant_id = 2; - * @return int|string - */ - public function getMerchantId() - { - return isset($this->merchant_id) ? $this->merchant_id : 0; - } - - public function hasMerchantId() - { - return isset($this->merchant_id); - } - - public function clearMerchantId() - { - unset($this->merchant_id); - } - - /** - * ID of the Merchant Center Account. - * - * Generated from protobuf field optional int64 merchant_id = 2; - * @param int|string $var - * @return $this - */ - public function setMerchantId($var) - { - GPBUtil::checkInt64($var); - $this->merchant_id = $var; - - return $this; - } - - /** - * Common Locale Data Repository (CLDR) territory code of the country - * associated with the feed where your items are uploaded. See - * https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes - * for more information. - * - * Generated from protobuf field string country_code = 3; - * @return string - */ - public function getCountryCode() - { - return $this->country_code; - } - - /** - * Common Locale Data Repository (CLDR) territory code of the country - * associated with the feed where your items are uploaded. See - * https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes - * for more information. - * - * Generated from protobuf field string country_code = 3; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * ISO 639-1 code of the language associated with the feed where your items - * are uploaded - * - * Generated from protobuf field string language_code = 4; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * ISO 639-1 code of the language associated with the feed where your items - * are uploaded - * - * Generated from protobuf field string language_code = 4; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * The number of items sold. Defaults to 1 if not set. - * - * Generated from protobuf field int64 quantity = 5; - * @return int|string - */ - public function getQuantity() - { - return $this->quantity; - } - - /** - * The number of items sold. Defaults to 1 if not set. - * - * Generated from protobuf field int64 quantity = 5; - * @param int|string $var - * @return $this - */ - public function setQuantity($var) - { - GPBUtil::checkInt64($var); - $this->quantity = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Keyword.php b/src/Google/Ads/GoogleAds/V15/Common/Keyword.php deleted file mode 100644 index 0c23aafc8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Keyword.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.common.Keyword - */ -class Keyword extends \Google\Protobuf\Internal\Message -{ - /** - * The AdGroupCriterion resource name. - * - * Generated from protobuf field optional string ad_group_criterion = 3; - */ - protected $ad_group_criterion = null; - /** - * Keyword info. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo info = 2; - */ - protected $info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $ad_group_criterion - * The AdGroupCriterion resource name. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $info - * Keyword info. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Segments::initOnce(); - parent::__construct($data); - } - - /** - * The AdGroupCriterion resource name. - * - * Generated from protobuf field optional string ad_group_criterion = 3; - * @return string - */ - public function getAdGroupCriterion() - { - return isset($this->ad_group_criterion) ? $this->ad_group_criterion : ''; - } - - public function hasAdGroupCriterion() - { - return isset($this->ad_group_criterion); - } - - public function clearAdGroupCriterion() - { - unset($this->ad_group_criterion); - } - - /** - * The AdGroupCriterion resource name. - * - * Generated from protobuf field optional string ad_group_criterion = 3; - * @param string $var - * @return $this - */ - public function setAdGroupCriterion($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_criterion = $var; - - return $this; - } - - /** - * Keyword info. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo info = 2; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getInfo() - { - return $this->info; - } - - public function hasInfo() - { - return isset($this->info); - } - - public function clearInfo() - { - unset($this->info); - } - - /** - * Keyword info. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo info = 2; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->info = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/KeywordAnnotations.php b/src/Google/Ads/GoogleAds/V15/Common/KeywordAnnotations.php deleted file mode 100644 index 66ad11127..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/KeywordAnnotations.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.KeywordAnnotations - */ -class KeywordAnnotations extends \Google\Protobuf\Internal\Message -{ - /** - * The list of concepts for the keyword. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordConcept concepts = 1; - */ - private $concepts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\KeywordConcept>|\Google\Protobuf\Internal\RepeatedField $concepts - * The list of concepts for the keyword. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * The list of concepts for the keyword. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordConcept concepts = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConcepts() - { - return $this->concepts; - } - - /** - * The list of concepts for the keyword. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordConcept concepts = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\KeywordConcept>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConcepts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\KeywordConcept::class); - $this->concepts = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/KeywordConcept.php b/src/Google/Ads/GoogleAds/V15/Common/KeywordConcept.php deleted file mode 100644 index 30ae04ffd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/KeywordConcept.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.KeywordConcept - */ -class KeywordConcept extends \Google\Protobuf\Internal\Message -{ - /** - * The concept name for the keyword in the concept_group. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * The concept group of the concept details. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ConceptGroup concept_group = 2; - */ - protected $concept_group = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * The concept name for the keyword in the concept_group. - * @type \Google\Ads\GoogleAds\V15\Common\ConceptGroup $concept_group - * The concept group of the concept details. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * The concept name for the keyword in the concept_group. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The concept name for the keyword in the concept_group. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The concept group of the concept details. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ConceptGroup concept_group = 2; - * @return \Google\Ads\GoogleAds\V15\Common\ConceptGroup|null - */ - public function getConceptGroup() - { - return $this->concept_group; - } - - public function hasConceptGroup() - { - return isset($this->concept_group); - } - - public function clearConceptGroup() - { - unset($this->concept_group); - } - - /** - * The concept group of the concept details. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ConceptGroup concept_group = 2; - * @param \Google\Ads\GoogleAds\V15\Common\ConceptGroup $var - * @return $this - */ - public function setConceptGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ConceptGroup::class); - $this->concept_group = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/KeywordInfo.php b/src/Google/Ads/GoogleAds/V15/Common/KeywordInfo.php deleted file mode 100644 index edfc858c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/KeywordInfo.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.KeywordInfo - */ -class KeywordInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The text of the keyword (at most 80 characters and 10 words). - * - * Generated from protobuf field optional string text = 3; - */ - protected $text = null; - /** - * The match type of the keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; - */ - protected $match_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * The text of the keyword (at most 80 characters and 10 words). - * @type int $match_type - * The match type of the keyword. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The text of the keyword (at most 80 characters and 10 words). - * - * Generated from protobuf field optional string text = 3; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * The text of the keyword (at most 80 characters and 10 words). - * - * Generated from protobuf field optional string text = 3; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The match type of the keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; - * @return int - */ - public function getMatchType() - { - return $this->match_type; - } - - /** - * The match type of the keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; - * @param int $var - * @return $this - */ - public function setMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordMatchTypeEnum\KeywordMatchType::class); - $this->match_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanAggregateMetricResults.php b/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanAggregateMetricResults.php deleted file mode 100644 index 8de1c0e9d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanAggregateMetricResults.php +++ /dev/null @@ -1,83 +0,0 @@ -google.ads.googleads.v15.common.KeywordPlanAggregateMetricResults - */ -class KeywordPlanAggregateMetricResults extends \Google\Protobuf\Internal\Message -{ - /** - * The aggregate searches for all the keywords segmented by device - * for the specified time. - * Supports the following device types: MOBILE, TABLET, DESKTOP. - * This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - * in the KeywordPlanAggregateMetrics field in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordPlanDeviceSearches device_searches = 1; - */ - private $device_searches; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\KeywordPlanDeviceSearches>|\Google\Protobuf\Internal\RepeatedField $device_searches - * The aggregate searches for all the keywords segmented by device - * for the specified time. - * Supports the following device types: MOBILE, TABLET, DESKTOP. - * This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - * in the KeywordPlanAggregateMetrics field in the request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * The aggregate searches for all the keywords segmented by device - * for the specified time. - * Supports the following device types: MOBILE, TABLET, DESKTOP. - * This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - * in the KeywordPlanAggregateMetrics field in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordPlanDeviceSearches device_searches = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDeviceSearches() - { - return $this->device_searches; - } - - /** - * The aggregate searches for all the keywords segmented by device - * for the specified time. - * Supports the following device types: MOBILE, TABLET, DESKTOP. - * This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - * in the KeywordPlanAggregateMetrics field in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordPlanDeviceSearches device_searches = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\KeywordPlanDeviceSearches>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDeviceSearches($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\KeywordPlanDeviceSearches::class); - $this->device_searches = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanAggregateMetrics.php b/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanAggregateMetrics.php deleted file mode 100644 index 10794da63..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanAggregateMetrics.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.KeywordPlanAggregateMetrics - */ -class KeywordPlanAggregateMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * The list of aggregate metrics to fetch data. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1; - */ - private $aggregate_metric_types; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $aggregate_metric_types - * The list of aggregate metrics to fetch data. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * The list of aggregate metrics to fetch data. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAggregateMetricTypes() - { - return $this->aggregate_metric_types; - } - - /** - * The list of aggregate metrics to fetch data. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAggregateMetricTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanAggregateMetricTypeEnum\KeywordPlanAggregateMetricType::class); - $this->aggregate_metric_types = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanDeviceSearches.php b/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanDeviceSearches.php deleted file mode 100644 index 7bfb82248..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanDeviceSearches.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.KeywordPlanDeviceSearches - */ -class KeywordPlanDeviceSearches extends \Google\Protobuf\Internal\Message -{ - /** - * The device type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device = 1; - */ - protected $device = 0; - /** - * The total searches for the device. - * - * Generated from protobuf field optional int64 search_count = 2; - */ - protected $search_count = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $device - * The device type. - * @type int|string $search_count - * The total searches for the device. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * The device type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device = 1; - * @return int - */ - public function getDevice() - { - return $this->device; - } - - /** - * The device type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device = 1; - * @param int $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DeviceEnum\Device::class); - $this->device = $var; - - return $this; - } - - /** - * The total searches for the device. - * - * Generated from protobuf field optional int64 search_count = 2; - * @return int|string - */ - public function getSearchCount() - { - return isset($this->search_count) ? $this->search_count : 0; - } - - public function hasSearchCount() - { - return isset($this->search_count); - } - - public function clearSearchCount() - { - unset($this->search_count); - } - - /** - * The total searches for the device. - * - * Generated from protobuf field optional int64 search_count = 2; - * @param int|string $var - * @return $this - */ - public function setSearchCount($var) - { - GPBUtil::checkInt64($var); - $this->search_count = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanHistoricalMetrics.php b/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanHistoricalMetrics.php deleted file mode 100644 index b279a32b0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/KeywordPlanHistoricalMetrics.php +++ /dev/null @@ -1,344 +0,0 @@ -google.ads.googleads.v15.common.KeywordPlanHistoricalMetrics - */ -class KeywordPlanHistoricalMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * Approximate number of monthly searches on this query, averaged - * for the past 12 months. - * - * Generated from protobuf field optional int64 avg_monthly_searches = 7; - */ - protected $avg_monthly_searches = null; - /** - * Approximate number of searches on this query for the past twelve months. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MonthlySearchVolume monthly_search_volumes = 6; - */ - private $monthly_search_volumes; - /** - * The competition level for the query. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel competition = 2; - */ - protected $competition = 0; - /** - * The competition index for the query in the range [0, 100]. - * Shows how competitive ad placement is for a keyword. - * The level of competition from 0-100 is determined by the number of ad slots - * filled divided by the total number of ad slots available. If not enough - * data is available, null is returned. - * - * Generated from protobuf field optional int64 competition_index = 8; - */ - protected $competition_index = null; - /** - * Top of page bid low range (20th percentile) in micros for the keyword. - * - * Generated from protobuf field optional int64 low_top_of_page_bid_micros = 9; - */ - protected $low_top_of_page_bid_micros = null; - /** - * Top of page bid high range (80th percentile) in micros for the keyword. - * - * Generated from protobuf field optional int64 high_top_of_page_bid_micros = 10; - */ - protected $high_top_of_page_bid_micros = null; - /** - * Average Cost Per Click in micros for the keyword. - * - * Generated from protobuf field optional int64 average_cpc_micros = 11; - */ - protected $average_cpc_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $avg_monthly_searches - * Approximate number of monthly searches on this query, averaged - * for the past 12 months. - * @type array<\Google\Ads\GoogleAds\V15\Common\MonthlySearchVolume>|\Google\Protobuf\Internal\RepeatedField $monthly_search_volumes - * Approximate number of searches on this query for the past twelve months. - * @type int $competition - * The competition level for the query. - * @type int|string $competition_index - * The competition index for the query in the range [0, 100]. - * Shows how competitive ad placement is for a keyword. - * The level of competition from 0-100 is determined by the number of ad slots - * filled divided by the total number of ad slots available. If not enough - * data is available, null is returned. - * @type int|string $low_top_of_page_bid_micros - * Top of page bid low range (20th percentile) in micros for the keyword. - * @type int|string $high_top_of_page_bid_micros - * Top of page bid high range (80th percentile) in micros for the keyword. - * @type int|string $average_cpc_micros - * Average Cost Per Click in micros for the keyword. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * Approximate number of monthly searches on this query, averaged - * for the past 12 months. - * - * Generated from protobuf field optional int64 avg_monthly_searches = 7; - * @return int|string - */ - public function getAvgMonthlySearches() - { - return isset($this->avg_monthly_searches) ? $this->avg_monthly_searches : 0; - } - - public function hasAvgMonthlySearches() - { - return isset($this->avg_monthly_searches); - } - - public function clearAvgMonthlySearches() - { - unset($this->avg_monthly_searches); - } - - /** - * Approximate number of monthly searches on this query, averaged - * for the past 12 months. - * - * Generated from protobuf field optional int64 avg_monthly_searches = 7; - * @param int|string $var - * @return $this - */ - public function setAvgMonthlySearches($var) - { - GPBUtil::checkInt64($var); - $this->avg_monthly_searches = $var; - - return $this; - } - - /** - * Approximate number of searches on this query for the past twelve months. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MonthlySearchVolume monthly_search_volumes = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMonthlySearchVolumes() - { - return $this->monthly_search_volumes; - } - - /** - * Approximate number of searches on this query for the past twelve months. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MonthlySearchVolume monthly_search_volumes = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\MonthlySearchVolume>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMonthlySearchVolumes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\MonthlySearchVolume::class); - $this->monthly_search_volumes = $arr; - - return $this; - } - - /** - * The competition level for the query. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel competition = 2; - * @return int - */ - public function getCompetition() - { - return $this->competition; - } - - /** - * The competition level for the query. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel competition = 2; - * @param int $var - * @return $this - */ - public function setCompetition($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanCompetitionLevelEnum\KeywordPlanCompetitionLevel::class); - $this->competition = $var; - - return $this; - } - - /** - * The competition index for the query in the range [0, 100]. - * Shows how competitive ad placement is for a keyword. - * The level of competition from 0-100 is determined by the number of ad slots - * filled divided by the total number of ad slots available. If not enough - * data is available, null is returned. - * - * Generated from protobuf field optional int64 competition_index = 8; - * @return int|string - */ - public function getCompetitionIndex() - { - return isset($this->competition_index) ? $this->competition_index : 0; - } - - public function hasCompetitionIndex() - { - return isset($this->competition_index); - } - - public function clearCompetitionIndex() - { - unset($this->competition_index); - } - - /** - * The competition index for the query in the range [0, 100]. - * Shows how competitive ad placement is for a keyword. - * The level of competition from 0-100 is determined by the number of ad slots - * filled divided by the total number of ad slots available. If not enough - * data is available, null is returned. - * - * Generated from protobuf field optional int64 competition_index = 8; - * @param int|string $var - * @return $this - */ - public function setCompetitionIndex($var) - { - GPBUtil::checkInt64($var); - $this->competition_index = $var; - - return $this; - } - - /** - * Top of page bid low range (20th percentile) in micros for the keyword. - * - * Generated from protobuf field optional int64 low_top_of_page_bid_micros = 9; - * @return int|string - */ - public function getLowTopOfPageBidMicros() - { - return isset($this->low_top_of_page_bid_micros) ? $this->low_top_of_page_bid_micros : 0; - } - - public function hasLowTopOfPageBidMicros() - { - return isset($this->low_top_of_page_bid_micros); - } - - public function clearLowTopOfPageBidMicros() - { - unset($this->low_top_of_page_bid_micros); - } - - /** - * Top of page bid low range (20th percentile) in micros for the keyword. - * - * Generated from protobuf field optional int64 low_top_of_page_bid_micros = 9; - * @param int|string $var - * @return $this - */ - public function setLowTopOfPageBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->low_top_of_page_bid_micros = $var; - - return $this; - } - - /** - * Top of page bid high range (80th percentile) in micros for the keyword. - * - * Generated from protobuf field optional int64 high_top_of_page_bid_micros = 10; - * @return int|string - */ - public function getHighTopOfPageBidMicros() - { - return isset($this->high_top_of_page_bid_micros) ? $this->high_top_of_page_bid_micros : 0; - } - - public function hasHighTopOfPageBidMicros() - { - return isset($this->high_top_of_page_bid_micros); - } - - public function clearHighTopOfPageBidMicros() - { - unset($this->high_top_of_page_bid_micros); - } - - /** - * Top of page bid high range (80th percentile) in micros for the keyword. - * - * Generated from protobuf field optional int64 high_top_of_page_bid_micros = 10; - * @param int|string $var - * @return $this - */ - public function setHighTopOfPageBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->high_top_of_page_bid_micros = $var; - - return $this; - } - - /** - * Average Cost Per Click in micros for the keyword. - * - * Generated from protobuf field optional int64 average_cpc_micros = 11; - * @return int|string - */ - public function getAverageCpcMicros() - { - return isset($this->average_cpc_micros) ? $this->average_cpc_micros : 0; - } - - public function hasAverageCpcMicros() - { - return isset($this->average_cpc_micros); - } - - public function clearAverageCpcMicros() - { - unset($this->average_cpc_micros); - } - - /** - * Average Cost Per Click in micros for the keyword. - * - * Generated from protobuf field optional int64 average_cpc_micros = 11; - * @param int|string $var - * @return $this - */ - public function setAverageCpcMicros($var) - { - GPBUtil::checkInt64($var); - $this->average_cpc_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/KeywordThemeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/KeywordThemeInfo.php deleted file mode 100644 index 02c927f14..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/KeywordThemeInfo.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.common.KeywordThemeInfo - */ -class KeywordThemeInfo extends \Google\Protobuf\Internal\Message -{ - protected $keyword_theme; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $keyword_theme_constant - * The resource name of a Smart Campaign keyword theme constant. - * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - * @type string $free_form_keyword_theme - * Free-form text to be matched to a Smart Campaign keyword theme constant - * on a best-effort basis. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The resource name of a Smart Campaign keyword theme constant. - * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - * - * Generated from protobuf field string keyword_theme_constant = 1; - * @return string - */ - public function getKeywordThemeConstant() - { - return $this->readOneof(1); - } - - public function hasKeywordThemeConstant() - { - return $this->hasOneof(1); - } - - /** - * The resource name of a Smart Campaign keyword theme constant. - * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - * - * Generated from protobuf field string keyword_theme_constant = 1; - * @param string $var - * @return $this - */ - public function setKeywordThemeConstant($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Free-form text to be matched to a Smart Campaign keyword theme constant - * on a best-effort basis. - * - * Generated from protobuf field string free_form_keyword_theme = 2; - * @return string - */ - public function getFreeFormKeywordTheme() - { - return $this->readOneof(2); - } - - public function hasFreeFormKeywordTheme() - { - return $this->hasOneof(2); - } - - /** - * Free-form text to be matched to a Smart Campaign keyword theme constant - * on a best-effort basis. - * - * Generated from protobuf field string free_form_keyword_theme = 2; - * @param string $var - * @return $this - */ - public function setFreeFormKeywordTheme($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getKeywordTheme() - { - return $this->whichOneof("keyword_theme"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LanguageInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LanguageInfo.php deleted file mode 100644 index b962f86cf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LanguageInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.LanguageInfo - */ -class LanguageInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The language constant resource name. - * - * Generated from protobuf field optional string language_constant = 2; - */ - protected $language_constant = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $language_constant - * The language constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The language constant resource name. - * - * Generated from protobuf field optional string language_constant = 2; - * @return string - */ - public function getLanguageConstant() - { - return isset($this->language_constant) ? $this->language_constant : ''; - } - - public function hasLanguageConstant() - { - return isset($this->language_constant); - } - - public function clearLanguageConstant() - { - unset($this->language_constant); - } - - /** - * The language constant resource name. - * - * Generated from protobuf field optional string language_constant = 2; - * @param string $var - * @return $this - */ - public function setLanguageConstant($var) - { - GPBUtil::checkString($var, True); - $this->language_constant = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LeadFormAsset.php b/src/Google/Ads/GoogleAds/V15/Common/LeadFormAsset.php deleted file mode 100644 index 8cb58be98..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LeadFormAsset.php +++ /dev/null @@ -1,635 +0,0 @@ -google.ads.googleads.v15.common.LeadFormAsset - */ -class LeadFormAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the business being advertised. - * - * Generated from protobuf field string business_name = 10 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $business_name = ''; - /** - * Required. Pre-defined display text that encourages user to expand the form. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $call_to_action_type = 0; - /** - * Required. Text giving a clear value proposition of what users expect once - * they expand the form. - * - * Generated from protobuf field string call_to_action_description = 18 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $call_to_action_description = ''; - /** - * Required. Headline of the expanded form to describe what the form is asking - * for or facilitating. - * - * Generated from protobuf field string headline = 12 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $headline = ''; - /** - * Required. Detailed description of the expanded form to describe what the - * form is asking for or facilitating. - * - * Generated from protobuf field string description = 13 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $description = ''; - /** - * Required. Link to a page describing the policy on how the collected data is - * handled by the advertiser/business. - * - * Generated from protobuf field string privacy_policy_url = 14 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $privacy_policy_url = ''; - /** - * Headline of text shown after form submission that describes how the - * advertiser will follow up with the user. - * - * Generated from protobuf field optional string post_submit_headline = 15; - */ - protected $post_submit_headline = null; - /** - * Detailed description shown after form submission that describes how the - * advertiser will follow up with the user. - * - * Generated from protobuf field optional string post_submit_description = 16; - */ - protected $post_submit_description = null; - /** - * Ordered list of input fields. This field can be updated by reordering - * questions, but not by adding or removing questions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormField fields = 8; - */ - private $fields; - /** - * Ordered list of custom question fields. This field is subject to a limit of - * 5 qualifying questions per form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormCustomQuestionField custom_question_fields = 23; - */ - private $custom_question_fields; - /** - * Configured methods for collected lead data to be delivered to advertiser. - * Only one method typed as WebhookDelivery can be configured. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormDeliveryMethod delivery_methods = 9; - */ - private $delivery_methods; - /** - * Pre-defined display text that encourages user action after the form is - * submitted. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19; - */ - protected $post_submit_call_to_action_type = 0; - /** - * Asset resource name of the background image. The minimum size is 600x314 - * and the aspect ratio must be 1.91:1 (+-1%). - * - * Generated from protobuf field optional string background_image_asset = 20; - */ - protected $background_image_asset = null; - /** - * Chosen intent for the lead form, for example, more volume or more - * qualified. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21; - */ - protected $desired_intent = 0; - /** - * Custom disclosure shown along with Google disclaimer on the lead form. - * Accessible to allowed customers only. - * - * Generated from protobuf field optional string custom_disclosure = 22; - */ - protected $custom_disclosure = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $business_name - * Required. The name of the business being advertised. - * @type int $call_to_action_type - * Required. Pre-defined display text that encourages user to expand the form. - * @type string $call_to_action_description - * Required. Text giving a clear value proposition of what users expect once - * they expand the form. - * @type string $headline - * Required. Headline of the expanded form to describe what the form is asking - * for or facilitating. - * @type string $description - * Required. Detailed description of the expanded form to describe what the - * form is asking for or facilitating. - * @type string $privacy_policy_url - * Required. Link to a page describing the policy on how the collected data is - * handled by the advertiser/business. - * @type string $post_submit_headline - * Headline of text shown after form submission that describes how the - * advertiser will follow up with the user. - * @type string $post_submit_description - * Detailed description shown after form submission that describes how the - * advertiser will follow up with the user. - * @type array<\Google\Ads\GoogleAds\V15\Common\LeadFormField>|\Google\Protobuf\Internal\RepeatedField $fields - * Ordered list of input fields. This field can be updated by reordering - * questions, but not by adding or removing questions. - * @type array<\Google\Ads\GoogleAds\V15\Common\LeadFormCustomQuestionField>|\Google\Protobuf\Internal\RepeatedField $custom_question_fields - * Ordered list of custom question fields. This field is subject to a limit of - * 5 qualifying questions per form. - * @type array<\Google\Ads\GoogleAds\V15\Common\LeadFormDeliveryMethod>|\Google\Protobuf\Internal\RepeatedField $delivery_methods - * Configured methods for collected lead data to be delivered to advertiser. - * Only one method typed as WebhookDelivery can be configured. - * @type int $post_submit_call_to_action_type - * Pre-defined display text that encourages user action after the form is - * submitted. - * @type string $background_image_asset - * Asset resource name of the background image. The minimum size is 600x314 - * and the aspect ratio must be 1.91:1 (+-1%). - * @type int $desired_intent - * Chosen intent for the lead form, for example, more volume or more - * qualified. - * @type string $custom_disclosure - * Custom disclosure shown along with Google disclaimer on the lead form. - * Accessible to allowed customers only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the business being advertised. - * - * Generated from protobuf field string business_name = 10 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getBusinessName() - { - return $this->business_name; - } - - /** - * Required. The name of the business being advertised. - * - * Generated from protobuf field string business_name = 10 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * Required. Pre-defined display text that encourages user to expand the form. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getCallToActionType() - { - return $this->call_to_action_type; - } - - /** - * Required. Pre-defined display text that encourages user to expand the form. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setCallToActionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LeadFormCallToActionTypeEnum\LeadFormCallToActionType::class); - $this->call_to_action_type = $var; - - return $this; - } - - /** - * Required. Text giving a clear value proposition of what users expect once - * they expand the form. - * - * Generated from protobuf field string call_to_action_description = 18 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCallToActionDescription() - { - return $this->call_to_action_description; - } - - /** - * Required. Text giving a clear value proposition of what users expect once - * they expand the form. - * - * Generated from protobuf field string call_to_action_description = 18 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCallToActionDescription($var) - { - GPBUtil::checkString($var, True); - $this->call_to_action_description = $var; - - return $this; - } - - /** - * Required. Headline of the expanded form to describe what the form is asking - * for or facilitating. - * - * Generated from protobuf field string headline = 12 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getHeadline() - { - return $this->headline; - } - - /** - * Required. Headline of the expanded form to describe what the form is asking - * for or facilitating. - * - * Generated from protobuf field string headline = 12 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkString($var, True); - $this->headline = $var; - - return $this; - } - - /** - * Required. Detailed description of the expanded form to describe what the - * form is asking for or facilitating. - * - * Generated from protobuf field string description = 13 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Required. Detailed description of the expanded form to describe what the - * form is asking for or facilitating. - * - * Generated from protobuf field string description = 13 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. Link to a page describing the policy on how the collected data is - * handled by the advertiser/business. - * - * Generated from protobuf field string privacy_policy_url = 14 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPrivacyPolicyUrl() - { - return $this->privacy_policy_url; - } - - /** - * Required. Link to a page describing the policy on how the collected data is - * handled by the advertiser/business. - * - * Generated from protobuf field string privacy_policy_url = 14 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPrivacyPolicyUrl($var) - { - GPBUtil::checkString($var, True); - $this->privacy_policy_url = $var; - - return $this; - } - - /** - * Headline of text shown after form submission that describes how the - * advertiser will follow up with the user. - * - * Generated from protobuf field optional string post_submit_headline = 15; - * @return string - */ - public function getPostSubmitHeadline() - { - return isset($this->post_submit_headline) ? $this->post_submit_headline : ''; - } - - public function hasPostSubmitHeadline() - { - return isset($this->post_submit_headline); - } - - public function clearPostSubmitHeadline() - { - unset($this->post_submit_headline); - } - - /** - * Headline of text shown after form submission that describes how the - * advertiser will follow up with the user. - * - * Generated from protobuf field optional string post_submit_headline = 15; - * @param string $var - * @return $this - */ - public function setPostSubmitHeadline($var) - { - GPBUtil::checkString($var, True); - $this->post_submit_headline = $var; - - return $this; - } - - /** - * Detailed description shown after form submission that describes how the - * advertiser will follow up with the user. - * - * Generated from protobuf field optional string post_submit_description = 16; - * @return string - */ - public function getPostSubmitDescription() - { - return isset($this->post_submit_description) ? $this->post_submit_description : ''; - } - - public function hasPostSubmitDescription() - { - return isset($this->post_submit_description); - } - - public function clearPostSubmitDescription() - { - unset($this->post_submit_description); - } - - /** - * Detailed description shown after form submission that describes how the - * advertiser will follow up with the user. - * - * Generated from protobuf field optional string post_submit_description = 16; - * @param string $var - * @return $this - */ - public function setPostSubmitDescription($var) - { - GPBUtil::checkString($var, True); - $this->post_submit_description = $var; - - return $this; - } - - /** - * Ordered list of input fields. This field can be updated by reordering - * questions, but not by adding or removing questions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormField fields = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFields() - { - return $this->fields; - } - - /** - * Ordered list of input fields. This field can be updated by reordering - * questions, but not by adding or removing questions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormField fields = 8; - * @param array<\Google\Ads\GoogleAds\V15\Common\LeadFormField>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFields($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LeadFormField::class); - $this->fields = $arr; - - return $this; - } - - /** - * Ordered list of custom question fields. This field is subject to a limit of - * 5 qualifying questions per form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormCustomQuestionField custom_question_fields = 23; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCustomQuestionFields() - { - return $this->custom_question_fields; - } - - /** - * Ordered list of custom question fields. This field is subject to a limit of - * 5 qualifying questions per form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormCustomQuestionField custom_question_fields = 23; - * @param array<\Google\Ads\GoogleAds\V15\Common\LeadFormCustomQuestionField>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCustomQuestionFields($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LeadFormCustomQuestionField::class); - $this->custom_question_fields = $arr; - - return $this; - } - - /** - * Configured methods for collected lead data to be delivered to advertiser. - * Only one method typed as WebhookDelivery can be configured. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormDeliveryMethod delivery_methods = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDeliveryMethods() - { - return $this->delivery_methods; - } - - /** - * Configured methods for collected lead data to be delivered to advertiser. - * Only one method typed as WebhookDelivery can be configured. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LeadFormDeliveryMethod delivery_methods = 9; - * @param array<\Google\Ads\GoogleAds\V15\Common\LeadFormDeliveryMethod>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDeliveryMethods($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LeadFormDeliveryMethod::class); - $this->delivery_methods = $arr; - - return $this; - } - - /** - * Pre-defined display text that encourages user action after the form is - * submitted. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19; - * @return int - */ - public function getPostSubmitCallToActionType() - { - return $this->post_submit_call_to_action_type; - } - - /** - * Pre-defined display text that encourages user action after the form is - * submitted. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19; - * @param int $var - * @return $this - */ - public function setPostSubmitCallToActionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LeadFormPostSubmitCallToActionTypeEnum\LeadFormPostSubmitCallToActionType::class); - $this->post_submit_call_to_action_type = $var; - - return $this; - } - - /** - * Asset resource name of the background image. The minimum size is 600x314 - * and the aspect ratio must be 1.91:1 (+-1%). - * - * Generated from protobuf field optional string background_image_asset = 20; - * @return string - */ - public function getBackgroundImageAsset() - { - return isset($this->background_image_asset) ? $this->background_image_asset : ''; - } - - public function hasBackgroundImageAsset() - { - return isset($this->background_image_asset); - } - - public function clearBackgroundImageAsset() - { - unset($this->background_image_asset); - } - - /** - * Asset resource name of the background image. The minimum size is 600x314 - * and the aspect ratio must be 1.91:1 (+-1%). - * - * Generated from protobuf field optional string background_image_asset = 20; - * @param string $var - * @return $this - */ - public function setBackgroundImageAsset($var) - { - GPBUtil::checkString($var, True); - $this->background_image_asset = $var; - - return $this; - } - - /** - * Chosen intent for the lead form, for example, more volume or more - * qualified. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21; - * @return int - */ - public function getDesiredIntent() - { - return $this->desired_intent; - } - - /** - * Chosen intent for the lead form, for example, more volume or more - * qualified. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21; - * @param int $var - * @return $this - */ - public function setDesiredIntent($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LeadFormDesiredIntentEnum\LeadFormDesiredIntent::class); - $this->desired_intent = $var; - - return $this; - } - - /** - * Custom disclosure shown along with Google disclaimer on the lead form. - * Accessible to allowed customers only. - * - * Generated from protobuf field optional string custom_disclosure = 22; - * @return string - */ - public function getCustomDisclosure() - { - return isset($this->custom_disclosure) ? $this->custom_disclosure : ''; - } - - public function hasCustomDisclosure() - { - return isset($this->custom_disclosure); - } - - public function clearCustomDisclosure() - { - unset($this->custom_disclosure); - } - - /** - * Custom disclosure shown along with Google disclaimer on the lead form. - * Accessible to allowed customers only. - * - * Generated from protobuf field optional string custom_disclosure = 22; - * @param string $var - * @return $this - */ - public function setCustomDisclosure($var) - { - GPBUtil::checkString($var, True); - $this->custom_disclosure = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LeadFormCustomQuestionField.php b/src/Google/Ads/GoogleAds/V15/Common/LeadFormCustomQuestionField.php deleted file mode 100644 index 5db1eaa50..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LeadFormCustomQuestionField.php +++ /dev/null @@ -1,164 +0,0 @@ -google.ads.googleads.v15.common.LeadFormCustomQuestionField - */ -class LeadFormCustomQuestionField extends \Google\Protobuf\Internal\Message -{ - /** - * The exact custom question field text (for example, "What kind of vehicle - * do you have?"). - * - * Generated from protobuf field string custom_question_text = 1; - */ - protected $custom_question_text = ''; - protected $answers; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $custom_question_text - * The exact custom question field text (for example, "What kind of vehicle - * do you have?"). - * @type \Google\Ads\GoogleAds\V15\Common\LeadFormSingleChoiceAnswers $single_choice_answers - * Answer configuration for a single choice question. - * Minimum of 2 answers and maximum of 12 allowed. - * @type bool $has_location_answer - * Answer configuration for location question. If true, campaign/account - * level location data (state, city, business name etc) will be rendered on - * the Lead Form. - * Starting V13.1, has_location_answer can only be set for "What is your - * preferred dealership?" question, for advertisers with Location Assets - * setup at campaign/account level. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * The exact custom question field text (for example, "What kind of vehicle - * do you have?"). - * - * Generated from protobuf field string custom_question_text = 1; - * @return string - */ - public function getCustomQuestionText() - { - return $this->custom_question_text; - } - - /** - * The exact custom question field text (for example, "What kind of vehicle - * do you have?"). - * - * Generated from protobuf field string custom_question_text = 1; - * @param string $var - * @return $this - */ - public function setCustomQuestionText($var) - { - GPBUtil::checkString($var, True); - $this->custom_question_text = $var; - - return $this; - } - - /** - * Answer configuration for a single choice question. - * Minimum of 2 answers and maximum of 12 allowed. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LeadFormSingleChoiceAnswers single_choice_answers = 2; - * @return \Google\Ads\GoogleAds\V15\Common\LeadFormSingleChoiceAnswers|null - */ - public function getSingleChoiceAnswers() - { - return $this->readOneof(2); - } - - public function hasSingleChoiceAnswers() - { - return $this->hasOneof(2); - } - - /** - * Answer configuration for a single choice question. - * Minimum of 2 answers and maximum of 12 allowed. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LeadFormSingleChoiceAnswers single_choice_answers = 2; - * @param \Google\Ads\GoogleAds\V15\Common\LeadFormSingleChoiceAnswers $var - * @return $this - */ - public function setSingleChoiceAnswers($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LeadFormSingleChoiceAnswers::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Answer configuration for location question. If true, campaign/account - * level location data (state, city, business name etc) will be rendered on - * the Lead Form. - * Starting V13.1, has_location_answer can only be set for "What is your - * preferred dealership?" question, for advertisers with Location Assets - * setup at campaign/account level. - * - * Generated from protobuf field bool has_location_answer = 3; - * @return bool - */ - public function getHasLocationAnswer() - { - return $this->readOneof(3); - } - - public function hasHasLocationAnswer() - { - return $this->hasOneof(3); - } - - /** - * Answer configuration for location question. If true, campaign/account - * level location data (state, city, business name etc) will be rendered on - * the Lead Form. - * Starting V13.1, has_location_answer can only be set for "What is your - * preferred dealership?" question, for advertisers with Location Assets - * setup at campaign/account level. - * - * Generated from protobuf field bool has_location_answer = 3; - * @param bool $var - * @return $this - */ - public function setHasLocationAnswer($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getAnswers() - { - return $this->whichOneof("answers"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LeadFormDeliveryMethod.php b/src/Google/Ads/GoogleAds/V15/Common/LeadFormDeliveryMethod.php deleted file mode 100644 index 8fc07d78f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LeadFormDeliveryMethod.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.common.LeadFormDeliveryMethod - */ -class LeadFormDeliveryMethod extends \Google\Protobuf\Internal\Message -{ - protected $delivery_details; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\WebhookDelivery $webhook - * Webhook method of delivery. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Webhook method of delivery. - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebhookDelivery webhook = 1; - * @return \Google\Ads\GoogleAds\V15\Common\WebhookDelivery|null - */ - public function getWebhook() - { - return $this->readOneof(1); - } - - public function hasWebhook() - { - return $this->hasOneof(1); - } - - /** - * Webhook method of delivery. - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebhookDelivery webhook = 1; - * @param \Google\Ads\GoogleAds\V15\Common\WebhookDelivery $var - * @return $this - */ - public function setWebhook($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\WebhookDelivery::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getDeliveryDetails() - { - return $this->whichOneof("delivery_details"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LeadFormField.php b/src/Google/Ads/GoogleAds/V15/Common/LeadFormField.php deleted file mode 100644 index dc61fda0b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LeadFormField.php +++ /dev/null @@ -1,167 +0,0 @@ -google.ads.googleads.v15.common.LeadFormField - */ -class LeadFormField extends \Google\Protobuf\Internal\Message -{ - /** - * Describes the input type, which may be a predefined type such as "full - * name" or a pre-vetted question like "What kind of vehicle do you have?". - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1; - */ - protected $input_type = 0; - protected $answers; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $input_type - * Describes the input type, which may be a predefined type such as "full - * name" or a pre-vetted question like "What kind of vehicle do you have?". - * @type \Google\Ads\GoogleAds\V15\Common\LeadFormSingleChoiceAnswers $single_choice_answers - * Answer configuration for a single choice question. Can be set only for - * pre-vetted question fields. Minimum of 2 answers required and maximum of - * 12 allowed. - * @type bool $has_location_answer - * Answer configuration for location question. If true, campaign/account - * level location data (state, city, business name etc) will be rendered on - * the Lead Form. - * Starting V13.1, has_location_answer can only be set for "What is your - * preferred dealership?" question, for advertisers with Location Assets - * setup at campaign/account level. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Describes the input type, which may be a predefined type such as "full - * name" or a pre-vetted question like "What kind of vehicle do you have?". - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1; - * @return int - */ - public function getInputType() - { - return $this->input_type; - } - - /** - * Describes the input type, which may be a predefined type such as "full - * name" or a pre-vetted question like "What kind of vehicle do you have?". - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1; - * @param int $var - * @return $this - */ - public function setInputType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LeadFormFieldUserInputTypeEnum\LeadFormFieldUserInputType::class); - $this->input_type = $var; - - return $this; - } - - /** - * Answer configuration for a single choice question. Can be set only for - * pre-vetted question fields. Minimum of 2 answers required and maximum of - * 12 allowed. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LeadFormSingleChoiceAnswers single_choice_answers = 2; - * @return \Google\Ads\GoogleAds\V15\Common\LeadFormSingleChoiceAnswers|null - */ - public function getSingleChoiceAnswers() - { - return $this->readOneof(2); - } - - public function hasSingleChoiceAnswers() - { - return $this->hasOneof(2); - } - - /** - * Answer configuration for a single choice question. Can be set only for - * pre-vetted question fields. Minimum of 2 answers required and maximum of - * 12 allowed. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LeadFormSingleChoiceAnswers single_choice_answers = 2; - * @param \Google\Ads\GoogleAds\V15\Common\LeadFormSingleChoiceAnswers $var - * @return $this - */ - public function setSingleChoiceAnswers($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LeadFormSingleChoiceAnswers::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Answer configuration for location question. If true, campaign/account - * level location data (state, city, business name etc) will be rendered on - * the Lead Form. - * Starting V13.1, has_location_answer can only be set for "What is your - * preferred dealership?" question, for advertisers with Location Assets - * setup at campaign/account level. - * - * Generated from protobuf field bool has_location_answer = 3; - * @return bool - */ - public function getHasLocationAnswer() - { - return $this->readOneof(3); - } - - public function hasHasLocationAnswer() - { - return $this->hasOneof(3); - } - - /** - * Answer configuration for location question. If true, campaign/account - * level location data (state, city, business name etc) will be rendered on - * the Lead Form. - * Starting V13.1, has_location_answer can only be set for "What is your - * preferred dealership?" question, for advertisers with Location Assets - * setup at campaign/account level. - * - * Generated from protobuf field bool has_location_answer = 3; - * @param bool $var - * @return $this - */ - public function setHasLocationAnswer($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getAnswers() - { - return $this->whichOneof("answers"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LeadFormSingleChoiceAnswers.php b/src/Google/Ads/GoogleAds/V15/Common/LeadFormSingleChoiceAnswers.php deleted file mode 100644 index adfa2e157..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LeadFormSingleChoiceAnswers.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.common.LeadFormSingleChoiceAnswers - */ -class LeadFormSingleChoiceAnswers extends \Google\Protobuf\Internal\Message -{ - /** - * List of choices for a single question field. The order of entries defines - * UI order. Minimum of 2 answers required and maximum of 12 allowed. - * - * Generated from protobuf field repeated string answers = 1; - */ - private $answers; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $answers - * List of choices for a single question field. The order of entries defines - * UI order. Minimum of 2 answers required and maximum of 12 allowed. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * List of choices for a single question field. The order of entries defines - * UI order. Minimum of 2 answers required and maximum of 12 allowed. - * - * Generated from protobuf field repeated string answers = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAnswers() - { - return $this->answers; - } - - /** - * List of choices for a single question field. The order of entries defines - * UI order. Minimum of 2 answers required and maximum of 12 allowed. - * - * Generated from protobuf field repeated string answers = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAnswers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->answers = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LegacyAppInstallAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LegacyAppInstallAdInfo.php deleted file mode 100644 index a2ee7cfdb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LegacyAppInstallAdInfo.php +++ /dev/null @@ -1,243 +0,0 @@ -google.ads.googleads.v15.common.LegacyAppInstallAdInfo - */ -class LegacyAppInstallAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the mobile app. - * - * Generated from protobuf field optional string app_id = 6; - */ - protected $app_id = null; - /** - * The app store the mobile app is available in. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2; - */ - protected $app_store = 0; - /** - * The headline of the ad. - * - * Generated from protobuf field optional string headline = 7; - */ - protected $headline = null; - /** - * The first description line of the ad. - * - * Generated from protobuf field optional string description1 = 8; - */ - protected $description1 = null; - /** - * The second description line of the ad. - * - * Generated from protobuf field optional string description2 = 9; - */ - protected $description2 = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $app_id - * The ID of the mobile app. - * @type int $app_store - * The app store the mobile app is available in. - * @type string $headline - * The headline of the ad. - * @type string $description1 - * The first description line of the ad. - * @type string $description2 - * The second description line of the ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the mobile app. - * - * Generated from protobuf field optional string app_id = 6; - * @return string - */ - public function getAppId() - { - return isset($this->app_id) ? $this->app_id : ''; - } - - public function hasAppId() - { - return isset($this->app_id); - } - - public function clearAppId() - { - unset($this->app_id); - } - - /** - * The ID of the mobile app. - * - * Generated from protobuf field optional string app_id = 6; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * The app store the mobile app is available in. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2; - * @return int - */ - public function getAppStore() - { - return $this->app_store; - } - - /** - * The app store the mobile app is available in. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2; - * @param int $var - * @return $this - */ - public function setAppStore($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LegacyAppInstallAdAppStoreEnum\LegacyAppInstallAdAppStore::class); - $this->app_store = $var; - - return $this; - } - - /** - * The headline of the ad. - * - * Generated from protobuf field optional string headline = 7; - * @return string - */ - public function getHeadline() - { - return isset($this->headline) ? $this->headline : ''; - } - - public function hasHeadline() - { - return isset($this->headline); - } - - public function clearHeadline() - { - unset($this->headline); - } - - /** - * The headline of the ad. - * - * Generated from protobuf field optional string headline = 7; - * @param string $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkString($var, True); - $this->headline = $var; - - return $this; - } - - /** - * The first description line of the ad. - * - * Generated from protobuf field optional string description1 = 8; - * @return string - */ - public function getDescription1() - { - return isset($this->description1) ? $this->description1 : ''; - } - - public function hasDescription1() - { - return isset($this->description1); - } - - public function clearDescription1() - { - unset($this->description1); - } - - /** - * The first description line of the ad. - * - * Generated from protobuf field optional string description1 = 8; - * @param string $var - * @return $this - */ - public function setDescription1($var) - { - GPBUtil::checkString($var, True); - $this->description1 = $var; - - return $this; - } - - /** - * The second description line of the ad. - * - * Generated from protobuf field optional string description2 = 9; - * @return string - */ - public function getDescription2() - { - return isset($this->description2) ? $this->description2 : ''; - } - - public function hasDescription2() - { - return isset($this->description2); - } - - public function clearDescription2() - { - unset($this->description2); - } - - /** - * The second description line of the ad. - * - * Generated from protobuf field optional string description2 = 9; - * @param string $var - * @return $this - */ - public function setDescription2($var) - { - GPBUtil::checkString($var, True); - $this->description2 = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LegacyResponsiveDisplayAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LegacyResponsiveDisplayAdInfo.php deleted file mode 100644 index 12cb90df9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LegacyResponsiveDisplayAdInfo.php +++ /dev/null @@ -1,720 +0,0 @@ -google.ads.googleads.v15.common.LegacyResponsiveDisplayAdInfo - */ -class LegacyResponsiveDisplayAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The short version of the ad's headline. - * - * Generated from protobuf field optional string short_headline = 16; - */ - protected $short_headline = null; - /** - * The long version of the ad's headline. - * - * Generated from protobuf field optional string long_headline = 17; - */ - protected $long_headline = null; - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 18; - */ - protected $description = null; - /** - * The business name in the ad. - * - * Generated from protobuf field optional string business_name = 19; - */ - protected $business_name = null; - /** - * Advertiser's consent to allow flexible color. When true, the ad may be - * served with different color if necessary. When false, the ad will be served - * with the specified colors or a neutral color. - * The default value is `true`. - * Must be true if `main_color` and `accent_color` are not set. - * - * Generated from protobuf field optional bool allow_flexible_color = 20; - */ - protected $allow_flexible_color = null; - /** - * The accent color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string accent_color = 21; - */ - protected $accent_color = null; - /** - * The main color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string main_color = 22; - */ - protected $main_color = null; - /** - * The call-to-action text for the ad. - * - * Generated from protobuf field optional string call_to_action_text = 23; - */ - protected $call_to_action_text = null; - /** - * The MediaFile resource name of the logo image used in the ad. - * - * Generated from protobuf field optional string logo_image = 24; - */ - protected $logo_image = null; - /** - * The MediaFile resource name of the square logo image used in the ad. - * - * Generated from protobuf field optional string square_logo_image = 25; - */ - protected $square_logo_image = null; - /** - * The MediaFile resource name of the marketing image used in the ad. - * - * Generated from protobuf field optional string marketing_image = 26; - */ - protected $marketing_image = null; - /** - * The MediaFile resource name of the square marketing image used in the ad. - * - * Generated from protobuf field optional string square_marketing_image = 27; - */ - protected $square_marketing_image = null; - /** - * Specifies which format the ad will be served in. Default is ALL_FORMATS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13; - */ - protected $format_setting = 0; - /** - * Prefix before price. For example, 'as low as'. - * - * Generated from protobuf field optional string price_prefix = 28; - */ - protected $price_prefix = null; - /** - * Promotion text used for dynamic formats of responsive ads. For example - * 'Free two-day shipping'. - * - * Generated from protobuf field optional string promo_text = 29; - */ - protected $promo_text = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $short_headline - * The short version of the ad's headline. - * @type string $long_headline - * The long version of the ad's headline. - * @type string $description - * The description of the ad. - * @type string $business_name - * The business name in the ad. - * @type bool $allow_flexible_color - * Advertiser's consent to allow flexible color. When true, the ad may be - * served with different color if necessary. When false, the ad will be served - * with the specified colors or a neutral color. - * The default value is `true`. - * Must be true if `main_color` and `accent_color` are not set. - * @type string $accent_color - * The accent color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * @type string $main_color - * The main color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * @type string $call_to_action_text - * The call-to-action text for the ad. - * @type string $logo_image - * The MediaFile resource name of the logo image used in the ad. - * @type string $square_logo_image - * The MediaFile resource name of the square logo image used in the ad. - * @type string $marketing_image - * The MediaFile resource name of the marketing image used in the ad. - * @type string $square_marketing_image - * The MediaFile resource name of the square marketing image used in the ad. - * @type int $format_setting - * Specifies which format the ad will be served in. Default is ALL_FORMATS. - * @type string $price_prefix - * Prefix before price. For example, 'as low as'. - * @type string $promo_text - * Promotion text used for dynamic formats of responsive ads. For example - * 'Free two-day shipping'. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The short version of the ad's headline. - * - * Generated from protobuf field optional string short_headline = 16; - * @return string - */ - public function getShortHeadline() - { - return isset($this->short_headline) ? $this->short_headline : ''; - } - - public function hasShortHeadline() - { - return isset($this->short_headline); - } - - public function clearShortHeadline() - { - unset($this->short_headline); - } - - /** - * The short version of the ad's headline. - * - * Generated from protobuf field optional string short_headline = 16; - * @param string $var - * @return $this - */ - public function setShortHeadline($var) - { - GPBUtil::checkString($var, True); - $this->short_headline = $var; - - return $this; - } - - /** - * The long version of the ad's headline. - * - * Generated from protobuf field optional string long_headline = 17; - * @return string - */ - public function getLongHeadline() - { - return isset($this->long_headline) ? $this->long_headline : ''; - } - - public function hasLongHeadline() - { - return isset($this->long_headline); - } - - public function clearLongHeadline() - { - unset($this->long_headline); - } - - /** - * The long version of the ad's headline. - * - * Generated from protobuf field optional string long_headline = 17; - * @param string $var - * @return $this - */ - public function setLongHeadline($var) - { - GPBUtil::checkString($var, True); - $this->long_headline = $var; - - return $this; - } - - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 18; - * @return string - */ - public function getDescription() - { - return isset($this->description) ? $this->description : ''; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * The description of the ad. - * - * Generated from protobuf field optional string description = 18; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * The business name in the ad. - * - * Generated from protobuf field optional string business_name = 19; - * @return string - */ - public function getBusinessName() - { - return isset($this->business_name) ? $this->business_name : ''; - } - - public function hasBusinessName() - { - return isset($this->business_name); - } - - public function clearBusinessName() - { - unset($this->business_name); - } - - /** - * The business name in the ad. - * - * Generated from protobuf field optional string business_name = 19; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * Advertiser's consent to allow flexible color. When true, the ad may be - * served with different color if necessary. When false, the ad will be served - * with the specified colors or a neutral color. - * The default value is `true`. - * Must be true if `main_color` and `accent_color` are not set. - * - * Generated from protobuf field optional bool allow_flexible_color = 20; - * @return bool - */ - public function getAllowFlexibleColor() - { - return isset($this->allow_flexible_color) ? $this->allow_flexible_color : false; - } - - public function hasAllowFlexibleColor() - { - return isset($this->allow_flexible_color); - } - - public function clearAllowFlexibleColor() - { - unset($this->allow_flexible_color); - } - - /** - * Advertiser's consent to allow flexible color. When true, the ad may be - * served with different color if necessary. When false, the ad will be served - * with the specified colors or a neutral color. - * The default value is `true`. - * Must be true if `main_color` and `accent_color` are not set. - * - * Generated from protobuf field optional bool allow_flexible_color = 20; - * @param bool $var - * @return $this - */ - public function setAllowFlexibleColor($var) - { - GPBUtil::checkBool($var); - $this->allow_flexible_color = $var; - - return $this; - } - - /** - * The accent color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string accent_color = 21; - * @return string - */ - public function getAccentColor() - { - return isset($this->accent_color) ? $this->accent_color : ''; - } - - public function hasAccentColor() - { - return isset($this->accent_color); - } - - public function clearAccentColor() - { - unset($this->accent_color); - } - - /** - * The accent color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string accent_color = 21; - * @param string $var - * @return $this - */ - public function setAccentColor($var) - { - GPBUtil::checkString($var, True); - $this->accent_color = $var; - - return $this; - } - - /** - * The main color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string main_color = 22; - * @return string - */ - public function getMainColor() - { - return isset($this->main_color) ? $this->main_color : ''; - } - - public function hasMainColor() - { - return isset($this->main_color); - } - - public function clearMainColor() - { - unset($this->main_color); - } - - /** - * The main color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string main_color = 22; - * @param string $var - * @return $this - */ - public function setMainColor($var) - { - GPBUtil::checkString($var, True); - $this->main_color = $var; - - return $this; - } - - /** - * The call-to-action text for the ad. - * - * Generated from protobuf field optional string call_to_action_text = 23; - * @return string - */ - public function getCallToActionText() - { - return isset($this->call_to_action_text) ? $this->call_to_action_text : ''; - } - - public function hasCallToActionText() - { - return isset($this->call_to_action_text); - } - - public function clearCallToActionText() - { - unset($this->call_to_action_text); - } - - /** - * The call-to-action text for the ad. - * - * Generated from protobuf field optional string call_to_action_text = 23; - * @param string $var - * @return $this - */ - public function setCallToActionText($var) - { - GPBUtil::checkString($var, True); - $this->call_to_action_text = $var; - - return $this; - } - - /** - * The MediaFile resource name of the logo image used in the ad. - * - * Generated from protobuf field optional string logo_image = 24; - * @return string - */ - public function getLogoImage() - { - return isset($this->logo_image) ? $this->logo_image : ''; - } - - public function hasLogoImage() - { - return isset($this->logo_image); - } - - public function clearLogoImage() - { - unset($this->logo_image); - } - - /** - * The MediaFile resource name of the logo image used in the ad. - * - * Generated from protobuf field optional string logo_image = 24; - * @param string $var - * @return $this - */ - public function setLogoImage($var) - { - GPBUtil::checkString($var, True); - $this->logo_image = $var; - - return $this; - } - - /** - * The MediaFile resource name of the square logo image used in the ad. - * - * Generated from protobuf field optional string square_logo_image = 25; - * @return string - */ - public function getSquareLogoImage() - { - return isset($this->square_logo_image) ? $this->square_logo_image : ''; - } - - public function hasSquareLogoImage() - { - return isset($this->square_logo_image); - } - - public function clearSquareLogoImage() - { - unset($this->square_logo_image); - } - - /** - * The MediaFile resource name of the square logo image used in the ad. - * - * Generated from protobuf field optional string square_logo_image = 25; - * @param string $var - * @return $this - */ - public function setSquareLogoImage($var) - { - GPBUtil::checkString($var, True); - $this->square_logo_image = $var; - - return $this; - } - - /** - * The MediaFile resource name of the marketing image used in the ad. - * - * Generated from protobuf field optional string marketing_image = 26; - * @return string - */ - public function getMarketingImage() - { - return isset($this->marketing_image) ? $this->marketing_image : ''; - } - - public function hasMarketingImage() - { - return isset($this->marketing_image); - } - - public function clearMarketingImage() - { - unset($this->marketing_image); - } - - /** - * The MediaFile resource name of the marketing image used in the ad. - * - * Generated from protobuf field optional string marketing_image = 26; - * @param string $var - * @return $this - */ - public function setMarketingImage($var) - { - GPBUtil::checkString($var, True); - $this->marketing_image = $var; - - return $this; - } - - /** - * The MediaFile resource name of the square marketing image used in the ad. - * - * Generated from protobuf field optional string square_marketing_image = 27; - * @return string - */ - public function getSquareMarketingImage() - { - return isset($this->square_marketing_image) ? $this->square_marketing_image : ''; - } - - public function hasSquareMarketingImage() - { - return isset($this->square_marketing_image); - } - - public function clearSquareMarketingImage() - { - unset($this->square_marketing_image); - } - - /** - * The MediaFile resource name of the square marketing image used in the ad. - * - * Generated from protobuf field optional string square_marketing_image = 27; - * @param string $var - * @return $this - */ - public function setSquareMarketingImage($var) - { - GPBUtil::checkString($var, True); - $this->square_marketing_image = $var; - - return $this; - } - - /** - * Specifies which format the ad will be served in. Default is ALL_FORMATS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13; - * @return int - */ - public function getFormatSetting() - { - return $this->format_setting; - } - - /** - * Specifies which format the ad will be served in. Default is ALL_FORMATS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13; - * @param int $var - * @return $this - */ - public function setFormatSetting($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DisplayAdFormatSettingEnum\DisplayAdFormatSetting::class); - $this->format_setting = $var; - - return $this; - } - - /** - * Prefix before price. For example, 'as low as'. - * - * Generated from protobuf field optional string price_prefix = 28; - * @return string - */ - public function getPricePrefix() - { - return isset($this->price_prefix) ? $this->price_prefix : ''; - } - - public function hasPricePrefix() - { - return isset($this->price_prefix); - } - - public function clearPricePrefix() - { - unset($this->price_prefix); - } - - /** - * Prefix before price. For example, 'as low as'. - * - * Generated from protobuf field optional string price_prefix = 28; - * @param string $var - * @return $this - */ - public function setPricePrefix($var) - { - GPBUtil::checkString($var, True); - $this->price_prefix = $var; - - return $this; - } - - /** - * Promotion text used for dynamic formats of responsive ads. For example - * 'Free two-day shipping'. - * - * Generated from protobuf field optional string promo_text = 29; - * @return string - */ - public function getPromoText() - { - return isset($this->promo_text) ? $this->promo_text : ''; - } - - public function hasPromoText() - { - return isset($this->promo_text); - } - - public function clearPromoText() - { - unset($this->promo_text); - } - - /** - * Promotion text used for dynamic formats of responsive ads. For example - * 'Free two-day shipping'. - * - * Generated from protobuf field optional string promo_text = 29; - * @param string $var - * @return $this - */ - public function setPromoText($var) - { - GPBUtil::checkString($var, True); - $this->promo_text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LifeEventSegment.php b/src/Google/Ads/GoogleAds/V15/Common/LifeEventSegment.php deleted file mode 100644 index 5868359e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LifeEventSegment.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.LifeEventSegment - */ -class LifeEventSegment extends \Google\Protobuf\Internal\Message -{ - /** - * The life event resource. - * - * Generated from protobuf field optional string life_event = 1; - */ - protected $life_event = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $life_event - * The life event resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * The life event resource. - * - * Generated from protobuf field optional string life_event = 1; - * @return string - */ - public function getLifeEvent() - { - return isset($this->life_event) ? $this->life_event : ''; - } - - public function hasLifeEvent() - { - return isset($this->life_event); - } - - public function clearLifeEvent() - { - unset($this->life_event); - } - - /** - * The life event resource. - * - * Generated from protobuf field optional string life_event = 1; - * @param string $var - * @return $this - */ - public function setLifeEvent($var) - { - GPBUtil::checkString($var, True); - $this->life_event = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LifecycleGoalValueSettings.php b/src/Google/Ads/GoogleAds/V15/Common/LifecycleGoalValueSettings.php deleted file mode 100644 index e898cc0b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LifecycleGoalValueSettings.php +++ /dev/null @@ -1,149 +0,0 @@ -google.ads.googleads.v15.common.LifecycleGoalValueSettings - */ -class LifecycleGoalValueSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the lifecycle goal. For example, for customer acquisition goal, - * value is the incremental conversion value for new customers who are not of - * high value. - * - * Generated from protobuf field optional double value = 1; - */ - protected $value = null; - /** - * High lifetime value of the lifecycle goal. For example, for customer - * acquisition goal, high lifetime value is the incremental conversion value - * for new customers who are of high value. High lifetime value should be - * greater than value, if set. - * In current stage, high lifetime value feature is in beta and this field - * is read-only. - * - * Generated from protobuf field optional double high_lifetime_value = 2; - */ - protected $high_lifetime_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $value - * Value of the lifecycle goal. For example, for customer acquisition goal, - * value is the incremental conversion value for new customers who are not of - * high value. - * @type float $high_lifetime_value - * High lifetime value of the lifecycle goal. For example, for customer - * acquisition goal, high lifetime value is the incremental conversion value - * for new customers who are of high value. High lifetime value should be - * greater than value, if set. - * In current stage, high lifetime value feature is in beta and this field - * is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\LifecycleGoals::initOnce(); - parent::__construct($data); - } - - /** - * Value of the lifecycle goal. For example, for customer acquisition goal, - * value is the incremental conversion value for new customers who are not of - * high value. - * - * Generated from protobuf field optional double value = 1; - * @return float - */ - public function getValue() - { - return isset($this->value) ? $this->value : 0.0; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Value of the lifecycle goal. For example, for customer acquisition goal, - * value is the incremental conversion value for new customers who are not of - * high value. - * - * Generated from protobuf field optional double value = 1; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkDouble($var); - $this->value = $var; - - return $this; - } - - /** - * High lifetime value of the lifecycle goal. For example, for customer - * acquisition goal, high lifetime value is the incremental conversion value - * for new customers who are of high value. High lifetime value should be - * greater than value, if set. - * In current stage, high lifetime value feature is in beta and this field - * is read-only. - * - * Generated from protobuf field optional double high_lifetime_value = 2; - * @return float - */ - public function getHighLifetimeValue() - { - return isset($this->high_lifetime_value) ? $this->high_lifetime_value : 0.0; - } - - public function hasHighLifetimeValue() - { - return isset($this->high_lifetime_value); - } - - public function clearHighLifetimeValue() - { - unset($this->high_lifetime_value); - } - - /** - * High lifetime value of the lifecycle goal. For example, for customer - * acquisition goal, high lifetime value is the incremental conversion value - * for new customers who are of high value. High lifetime value should be - * greater than value, if set. - * In current stage, high lifetime value feature is in beta and this field - * is read-only. - * - * Generated from protobuf field optional double high_lifetime_value = 2; - * @param float $var - * @return $this - */ - public function setHighLifetimeValue($var) - { - GPBUtil::checkDouble($var); - $this->high_lifetime_value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ListingDimensionInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ListingDimensionInfo.php deleted file mode 100644 index fd54a5323..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ListingDimensionInfo.php +++ /dev/null @@ -1,747 +0,0 @@ -google.ads.googleads.v15.common.ListingDimensionInfo - */ -class ListingDimensionInfo extends \Google\Protobuf\Internal\Message -{ - protected $dimension; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\HotelIdInfo $hotel_id - * Advertiser-specific hotel ID. - * @type \Google\Ads\GoogleAds\V15\Common\HotelClassInfo $hotel_class - * Class of the hotel as a number of stars 1 to 5. - * @type \Google\Ads\GoogleAds\V15\Common\HotelCountryRegionInfo $hotel_country_region - * Country or Region the hotel is located in. - * @type \Google\Ads\GoogleAds\V15\Common\HotelStateInfo $hotel_state - * State the hotel is located in. - * @type \Google\Ads\GoogleAds\V15\Common\HotelCityInfo $hotel_city - * City the hotel is located in. - * @type \Google\Ads\GoogleAds\V15\Common\ProductCategoryInfo $product_category - * Category of a product offer. - * @type \Google\Ads\GoogleAds\V15\Common\ProductBrandInfo $product_brand - * Brand of a product offer. - * @type \Google\Ads\GoogleAds\V15\Common\ProductChannelInfo $product_channel - * Locality of a product offer. - * @type \Google\Ads\GoogleAds\V15\Common\ProductChannelExclusivityInfo $product_channel_exclusivity - * Availability of a product offer. - * @type \Google\Ads\GoogleAds\V15\Common\ProductConditionInfo $product_condition - * Condition of a product offer. - * @type \Google\Ads\GoogleAds\V15\Common\ProductCustomAttributeInfo $product_custom_attribute - * Custom attribute of a product offer. - * @type \Google\Ads\GoogleAds\V15\Common\ProductItemIdInfo $product_item_id - * Item id of a product offer. - * @type \Google\Ads\GoogleAds\V15\Common\ProductTypeInfo $product_type - * Type of a product offer. - * @type \Google\Ads\GoogleAds\V15\Common\ProductGroupingInfo $product_grouping - * Grouping of a product offer. This listing dimension is deprecated and it - * is supported only in Display campaigns. - * @type \Google\Ads\GoogleAds\V15\Common\ProductLabelsInfo $product_labels - * Labels of a product offer. This listing dimension is deprecated and it is - * supported only in Display campaigns. - * @type \Google\Ads\GoogleAds\V15\Common\ProductLegacyConditionInfo $product_legacy_condition - * Legacy condition of a product offer. This listing dimension is deprecated - * and it is supported only in Display campaigns. - * @type \Google\Ads\GoogleAds\V15\Common\ProductTypeFullInfo $product_type_full - * Full type of a product offer. This listing dimension is deprecated and it - * is supported only in Display campaigns. - * @type \Google\Ads\GoogleAds\V15\Common\ActivityIdInfo $activity_id - * Advertiser-specific activity ID. - * @type \Google\Ads\GoogleAds\V15\Common\ActivityRatingInfo $activity_rating - * Rating of the activity as a number 1 to 5, where 5 is the best. - * @type \Google\Ads\GoogleAds\V15\Common\ActivityCountryInfo $activity_country - * Country the activity is in. - * @type \Google\Ads\GoogleAds\V15\Common\UnknownListingDimensionInfo $unknown_listing_dimension - * Unknown dimension. Set when no other listing dimension is set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Advertiser-specific hotel ID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelIdInfo hotel_id = 2; - * @return \Google\Ads\GoogleAds\V15\Common\HotelIdInfo|null - */ - public function getHotelId() - { - return $this->readOneof(2); - } - - public function hasHotelId() - { - return $this->hasOneof(2); - } - - /** - * Advertiser-specific hotel ID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelIdInfo hotel_id = 2; - * @param \Google\Ads\GoogleAds\V15\Common\HotelIdInfo $var - * @return $this - */ - public function setHotelId($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelIdInfo::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Class of the hotel as a number of stars 1 to 5. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelClassInfo hotel_class = 3; - * @return \Google\Ads\GoogleAds\V15\Common\HotelClassInfo|null - */ - public function getHotelClass() - { - return $this->readOneof(3); - } - - public function hasHotelClass() - { - return $this->hasOneof(3); - } - - /** - * Class of the hotel as a number of stars 1 to 5. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelClassInfo hotel_class = 3; - * @param \Google\Ads\GoogleAds\V15\Common\HotelClassInfo $var - * @return $this - */ - public function setHotelClass($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelClassInfo::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Country or Region the hotel is located in. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCountryRegionInfo hotel_country_region = 4; - * @return \Google\Ads\GoogleAds\V15\Common\HotelCountryRegionInfo|null - */ - public function getHotelCountryRegion() - { - return $this->readOneof(4); - } - - public function hasHotelCountryRegion() - { - return $this->hasOneof(4); - } - - /** - * Country or Region the hotel is located in. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCountryRegionInfo hotel_country_region = 4; - * @param \Google\Ads\GoogleAds\V15\Common\HotelCountryRegionInfo $var - * @return $this - */ - public function setHotelCountryRegion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelCountryRegionInfo::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * State the hotel is located in. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelStateInfo hotel_state = 5; - * @return \Google\Ads\GoogleAds\V15\Common\HotelStateInfo|null - */ - public function getHotelState() - { - return $this->readOneof(5); - } - - public function hasHotelState() - { - return $this->hasOneof(5); - } - - /** - * State the hotel is located in. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelStateInfo hotel_state = 5; - * @param \Google\Ads\GoogleAds\V15\Common\HotelStateInfo $var - * @return $this - */ - public function setHotelState($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelStateInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * City the hotel is located in. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCityInfo hotel_city = 6; - * @return \Google\Ads\GoogleAds\V15\Common\HotelCityInfo|null - */ - public function getHotelCity() - { - return $this->readOneof(6); - } - - public function hasHotelCity() - { - return $this->hasOneof(6); - } - - /** - * City the hotel is located in. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCityInfo hotel_city = 6; - * @param \Google\Ads\GoogleAds\V15\Common\HotelCityInfo $var - * @return $this - */ - public function setHotelCity($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelCityInfo::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Category of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductCategoryInfo product_category = 24; - * @return \Google\Ads\GoogleAds\V15\Common\ProductCategoryInfo|null - */ - public function getProductCategory() - { - return $this->readOneof(24); - } - - public function hasProductCategory() - { - return $this->hasOneof(24); - } - - /** - * Category of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductCategoryInfo product_category = 24; - * @param \Google\Ads\GoogleAds\V15\Common\ProductCategoryInfo $var - * @return $this - */ - public function setProductCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductCategoryInfo::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * Brand of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductBrandInfo product_brand = 15; - * @return \Google\Ads\GoogleAds\V15\Common\ProductBrandInfo|null - */ - public function getProductBrand() - { - return $this->readOneof(15); - } - - public function hasProductBrand() - { - return $this->hasOneof(15); - } - - /** - * Brand of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductBrandInfo product_brand = 15; - * @param \Google\Ads\GoogleAds\V15\Common\ProductBrandInfo $var - * @return $this - */ - public function setProductBrand($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductBrandInfo::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Locality of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductChannelInfo product_channel = 8; - * @return \Google\Ads\GoogleAds\V15\Common\ProductChannelInfo|null - */ - public function getProductChannel() - { - return $this->readOneof(8); - } - - public function hasProductChannel() - { - return $this->hasOneof(8); - } - - /** - * Locality of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductChannelInfo product_channel = 8; - * @param \Google\Ads\GoogleAds\V15\Common\ProductChannelInfo $var - * @return $this - */ - public function setProductChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductChannelInfo::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Availability of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductChannelExclusivityInfo product_channel_exclusivity = 9; - * @return \Google\Ads\GoogleAds\V15\Common\ProductChannelExclusivityInfo|null - */ - public function getProductChannelExclusivity() - { - return $this->readOneof(9); - } - - public function hasProductChannelExclusivity() - { - return $this->hasOneof(9); - } - - /** - * Availability of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductChannelExclusivityInfo product_channel_exclusivity = 9; - * @param \Google\Ads\GoogleAds\V15\Common\ProductChannelExclusivityInfo $var - * @return $this - */ - public function setProductChannelExclusivity($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductChannelExclusivityInfo::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Condition of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductConditionInfo product_condition = 10; - * @return \Google\Ads\GoogleAds\V15\Common\ProductConditionInfo|null - */ - public function getProductCondition() - { - return $this->readOneof(10); - } - - public function hasProductCondition() - { - return $this->hasOneof(10); - } - - /** - * Condition of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductConditionInfo product_condition = 10; - * @param \Google\Ads\GoogleAds\V15\Common\ProductConditionInfo $var - * @return $this - */ - public function setProductCondition($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductConditionInfo::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Custom attribute of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductCustomAttributeInfo product_custom_attribute = 16; - * @return \Google\Ads\GoogleAds\V15\Common\ProductCustomAttributeInfo|null - */ - public function getProductCustomAttribute() - { - return $this->readOneof(16); - } - - public function hasProductCustomAttribute() - { - return $this->hasOneof(16); - } - - /** - * Custom attribute of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductCustomAttributeInfo product_custom_attribute = 16; - * @param \Google\Ads\GoogleAds\V15\Common\ProductCustomAttributeInfo $var - * @return $this - */ - public function setProductCustomAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductCustomAttributeInfo::class); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * Item id of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductItemIdInfo product_item_id = 11; - * @return \Google\Ads\GoogleAds\V15\Common\ProductItemIdInfo|null - */ - public function getProductItemId() - { - return $this->readOneof(11); - } - - public function hasProductItemId() - { - return $this->hasOneof(11); - } - - /** - * Item id of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductItemIdInfo product_item_id = 11; - * @param \Google\Ads\GoogleAds\V15\Common\ProductItemIdInfo $var - * @return $this - */ - public function setProductItemId($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductItemIdInfo::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Type of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductTypeInfo product_type = 12; - * @return \Google\Ads\GoogleAds\V15\Common\ProductTypeInfo|null - */ - public function getProductType() - { - return $this->readOneof(12); - } - - public function hasProductType() - { - return $this->hasOneof(12); - } - - /** - * Type of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductTypeInfo product_type = 12; - * @param \Google\Ads\GoogleAds\V15\Common\ProductTypeInfo $var - * @return $this - */ - public function setProductType($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductTypeInfo::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * Grouping of a product offer. This listing dimension is deprecated and it - * is supported only in Display campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductGroupingInfo product_grouping = 17; - * @return \Google\Ads\GoogleAds\V15\Common\ProductGroupingInfo|null - */ - public function getProductGrouping() - { - return $this->readOneof(17); - } - - public function hasProductGrouping() - { - return $this->hasOneof(17); - } - - /** - * Grouping of a product offer. This listing dimension is deprecated and it - * is supported only in Display campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductGroupingInfo product_grouping = 17; - * @param \Google\Ads\GoogleAds\V15\Common\ProductGroupingInfo $var - * @return $this - */ - public function setProductGrouping($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductGroupingInfo::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * Labels of a product offer. This listing dimension is deprecated and it is - * supported only in Display campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductLabelsInfo product_labels = 18; - * @return \Google\Ads\GoogleAds\V15\Common\ProductLabelsInfo|null - */ - public function getProductLabels() - { - return $this->readOneof(18); - } - - public function hasProductLabels() - { - return $this->hasOneof(18); - } - - /** - * Labels of a product offer. This listing dimension is deprecated and it is - * supported only in Display campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductLabelsInfo product_labels = 18; - * @param \Google\Ads\GoogleAds\V15\Common\ProductLabelsInfo $var - * @return $this - */ - public function setProductLabels($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductLabelsInfo::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * Legacy condition of a product offer. This listing dimension is deprecated - * and it is supported only in Display campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductLegacyConditionInfo product_legacy_condition = 19; - * @return \Google\Ads\GoogleAds\V15\Common\ProductLegacyConditionInfo|null - */ - public function getProductLegacyCondition() - { - return $this->readOneof(19); - } - - public function hasProductLegacyCondition() - { - return $this->hasOneof(19); - } - - /** - * Legacy condition of a product offer. This listing dimension is deprecated - * and it is supported only in Display campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductLegacyConditionInfo product_legacy_condition = 19; - * @param \Google\Ads\GoogleAds\V15\Common\ProductLegacyConditionInfo $var - * @return $this - */ - public function setProductLegacyCondition($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductLegacyConditionInfo::class); - $this->writeOneof(19, $var); - - return $this; - } - - /** - * Full type of a product offer. This listing dimension is deprecated and it - * is supported only in Display campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductTypeFullInfo product_type_full = 20; - * @return \Google\Ads\GoogleAds\V15\Common\ProductTypeFullInfo|null - */ - public function getProductTypeFull() - { - return $this->readOneof(20); - } - - public function hasProductTypeFull() - { - return $this->hasOneof(20); - } - - /** - * Full type of a product offer. This listing dimension is deprecated and it - * is supported only in Display campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProductTypeFullInfo product_type_full = 20; - * @param \Google\Ads\GoogleAds\V15\Common\ProductTypeFullInfo $var - * @return $this - */ - public function setProductTypeFull($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProductTypeFullInfo::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * Advertiser-specific activity ID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ActivityIdInfo activity_id = 21; - * @return \Google\Ads\GoogleAds\V15\Common\ActivityIdInfo|null - */ - public function getActivityId() - { - return $this->readOneof(21); - } - - public function hasActivityId() - { - return $this->hasOneof(21); - } - - /** - * Advertiser-specific activity ID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ActivityIdInfo activity_id = 21; - * @param \Google\Ads\GoogleAds\V15\Common\ActivityIdInfo $var - * @return $this - */ - public function setActivityId($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ActivityIdInfo::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * Rating of the activity as a number 1 to 5, where 5 is the best. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ActivityRatingInfo activity_rating = 22; - * @return \Google\Ads\GoogleAds\V15\Common\ActivityRatingInfo|null - */ - public function getActivityRating() - { - return $this->readOneof(22); - } - - public function hasActivityRating() - { - return $this->hasOneof(22); - } - - /** - * Rating of the activity as a number 1 to 5, where 5 is the best. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ActivityRatingInfo activity_rating = 22; - * @param \Google\Ads\GoogleAds\V15\Common\ActivityRatingInfo $var - * @return $this - */ - public function setActivityRating($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ActivityRatingInfo::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * Country the activity is in. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ActivityCountryInfo activity_country = 23; - * @return \Google\Ads\GoogleAds\V15\Common\ActivityCountryInfo|null - */ - public function getActivityCountry() - { - return $this->readOneof(23); - } - - public function hasActivityCountry() - { - return $this->hasOneof(23); - } - - /** - * Country the activity is in. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ActivityCountryInfo activity_country = 23; - * @param \Google\Ads\GoogleAds\V15\Common\ActivityCountryInfo $var - * @return $this - */ - public function setActivityCountry($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ActivityCountryInfo::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * Unknown dimension. Set when no other listing dimension is set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UnknownListingDimensionInfo unknown_listing_dimension = 14; - * @return \Google\Ads\GoogleAds\V15\Common\UnknownListingDimensionInfo|null - */ - public function getUnknownListingDimension() - { - return $this->readOneof(14); - } - - public function hasUnknownListingDimension() - { - return $this->hasOneof(14); - } - - /** - * Unknown dimension. Set when no other listing dimension is set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UnknownListingDimensionInfo unknown_listing_dimension = 14; - * @param \Google\Ads\GoogleAds\V15\Common\UnknownListingDimensionInfo $var - * @return $this - */ - public function setUnknownListingDimension($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UnknownListingDimensionInfo::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * @return string - */ - public function getDimension() - { - return $this->whichOneof("dimension"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ListingDimensionPath.php b/src/Google/Ads/GoogleAds/V15/Common/ListingDimensionPath.php deleted file mode 100644 index 691cfd869..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ListingDimensionPath.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.common.ListingDimensionPath - */ -class ListingDimensionPath extends \Google\Protobuf\Internal\Message -{ - /** - * The complete path of dimensions through the listing group hierarchy, from - * the root (excluding the root itself) to this listing group. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ListingDimensionInfo dimensions = 1; - */ - private $dimensions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo>|\Google\Protobuf\Internal\RepeatedField $dimensions - * The complete path of dimensions through the listing group hierarchy, from - * the root (excluding the root itself) to this listing group. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The complete path of dimensions through the listing group hierarchy, from - * the root (excluding the root itself) to this listing group. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ListingDimensionInfo dimensions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * The complete path of dimensions through the listing group hierarchy, from - * the root (excluding the root itself) to this listing group. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ListingDimensionInfo dimensions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo::class); - $this->dimensions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ListingGroupInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ListingGroupInfo.php deleted file mode 100644 index e61db1275..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ListingGroupInfo.php +++ /dev/null @@ -1,207 +0,0 @@ -google.ads.googleads.v15.common.ListingGroupInfo - */ -class ListingGroupInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the listing group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupTypeEnum.ListingGroupType type = 1; - */ - protected $type = 0; - /** - * Dimension value with which this listing group is refining its parent. - * Undefined for the root group. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ListingDimensionInfo case_value = 2; - */ - protected $case_value = null; - /** - * Resource name of ad group criterion which is the parent listing group - * subdivision. Null for the root group. - * - * Generated from protobuf field optional string parent_ad_group_criterion = 4; - */ - protected $parent_ad_group_criterion = null; - /** - * The path of dimensions defining this listing group. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.ListingDimensionPath path = 5; - */ - protected $path = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the listing group. - * @type \Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo $case_value - * Dimension value with which this listing group is refining its parent. - * Undefined for the root group. - * @type string $parent_ad_group_criterion - * Resource name of ad group criterion which is the parent listing group - * subdivision. Null for the root group. - * @type \Google\Ads\GoogleAds\V15\Common\ListingDimensionPath $path - * The path of dimensions defining this listing group. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Type of the listing group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupTypeEnum.ListingGroupType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the listing group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupTypeEnum.ListingGroupType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingGroupTypeEnum\ListingGroupType::class); - $this->type = $var; - - return $this; - } - - /** - * Dimension value with which this listing group is refining its parent. - * Undefined for the root group. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ListingDimensionInfo case_value = 2; - * @return \Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo|null - */ - public function getCaseValue() - { - return $this->case_value; - } - - public function hasCaseValue() - { - return isset($this->case_value); - } - - public function clearCaseValue() - { - unset($this->case_value); - } - - /** - * Dimension value with which this listing group is refining its parent. - * Undefined for the root group. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ListingDimensionInfo case_value = 2; - * @param \Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo $var - * @return $this - */ - public function setCaseValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo::class); - $this->case_value = $var; - - return $this; - } - - /** - * Resource name of ad group criterion which is the parent listing group - * subdivision. Null for the root group. - * - * Generated from protobuf field optional string parent_ad_group_criterion = 4; - * @return string - */ - public function getParentAdGroupCriterion() - { - return isset($this->parent_ad_group_criterion) ? $this->parent_ad_group_criterion : ''; - } - - public function hasParentAdGroupCriterion() - { - return isset($this->parent_ad_group_criterion); - } - - public function clearParentAdGroupCriterion() - { - unset($this->parent_ad_group_criterion); - } - - /** - * Resource name of ad group criterion which is the parent listing group - * subdivision. Null for the root group. - * - * Generated from protobuf field optional string parent_ad_group_criterion = 4; - * @param string $var - * @return $this - */ - public function setParentAdGroupCriterion($var) - { - GPBUtil::checkString($var, True); - $this->parent_ad_group_criterion = $var; - - return $this; - } - - /** - * The path of dimensions defining this listing group. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.ListingDimensionPath path = 5; - * @return \Google\Ads\GoogleAds\V15\Common\ListingDimensionPath|null - */ - public function getPath() - { - return $this->path; - } - - public function hasPath() - { - return isset($this->path); - } - - public function clearPath() - { - unset($this->path); - } - - /** - * The path of dimensions defining this listing group. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.ListingDimensionPath path = 5; - * @param \Google\Ads\GoogleAds\V15\Common\ListingDimensionPath $var - * @return $this - */ - public function setPath($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ListingDimensionPath::class); - $this->path = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ListingScopeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ListingScopeInfo.php deleted file mode 100644 index 3650a3089..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ListingScopeInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.ListingScopeInfo - */ -class ListingScopeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Scope of the campaign criterion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ListingDimensionInfo dimensions = 2; - */ - private $dimensions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo>|\Google\Protobuf\Internal\RepeatedField $dimensions - * Scope of the campaign criterion. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Scope of the campaign criterion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ListingDimensionInfo dimensions = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * Scope of the campaign criterion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.ListingDimensionInfo dimensions = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\ListingDimensionInfo::class); - $this->dimensions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LocalAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LocalAdInfo.php deleted file mode 100644 index d8fd95d0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LocalAdInfo.php +++ /dev/null @@ -1,373 +0,0 @@ -google.ads.googleads.v15.common.LocalAdInfo - */ -class LocalAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. At least 1 and at most 5 headlines must be - * specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - */ - private $headlines; - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. At least 1 and at most 5 descriptions must - * be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - */ - private $descriptions; - /** - * List of text assets for call-to-actions. When the ad serves the - * call-to-actions will be selected from this list. At least 1 and at most - * 5 call-to-actions must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset call_to_actions = 3; - */ - private $call_to_actions; - /** - * List of marketing image assets that may be displayed with the ad. The - * images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - * 20 image assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 4; - */ - private $marketing_images; - /** - * List of logo image assets that may be displayed with the ad. The images - * must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - * image assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 5; - */ - private $logo_images; - /** - * List of YouTube video assets that may be displayed with the ad. At least 1 - * and at most 20 video assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 6; - */ - private $videos; - /** - * First part of optional text that can be appended to the URL in the ad. - * - * Generated from protobuf field optional string path1 = 9; - */ - protected $path1 = null; - /** - * Second part of optional text that can be appended to the URL in the ad. - * This field can only be set when `path1` is also set. - * - * Generated from protobuf field optional string path2 = 10; - */ - protected $path2 = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. At least 1 and at most 5 headlines must be - * specified. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. At least 1 and at most 5 descriptions must - * be specified. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $call_to_actions - * List of text assets for call-to-actions. When the ad serves the - * call-to-actions will be selected from this list. At least 1 and at most - * 5 call-to-actions must be specified. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $marketing_images - * List of marketing image assets that may be displayed with the ad. The - * images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - * 20 image assets must be specified. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $logo_images - * List of logo image assets that may be displayed with the ad. The images - * must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - * image assets must be specified. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $videos - * List of YouTube video assets that may be displayed with the ad. At least 1 - * and at most 20 video assets must be specified. - * @type string $path1 - * First part of optional text that can be appended to the URL in the ad. - * @type string $path2 - * Second part of optional text that can be appended to the URL in the ad. - * This field can only be set when `path1` is also set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. At least 1 and at most 5 headlines must be - * specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. At least 1 and at most 5 headlines must be - * specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. At least 1 and at most 5 descriptions must - * be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. At least 1 and at most 5 descriptions must - * be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * List of text assets for call-to-actions. When the ad serves the - * call-to-actions will be selected from this list. At least 1 and at most - * 5 call-to-actions must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset call_to_actions = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCallToActions() - { - return $this->call_to_actions; - } - - /** - * List of text assets for call-to-actions. When the ad serves the - * call-to-actions will be selected from this list. At least 1 and at most - * 5 call-to-actions must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset call_to_actions = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCallToActions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->call_to_actions = $arr; - - return $this; - } - - /** - * List of marketing image assets that may be displayed with the ad. The - * images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - * 20 image assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMarketingImages() - { - return $this->marketing_images; - } - - /** - * List of marketing image assets that may be displayed with the ad. The - * images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - * 20 image assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMarketingImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->marketing_images = $arr; - - return $this; - } - - /** - * List of logo image assets that may be displayed with the ad. The images - * must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - * image assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLogoImages() - { - return $this->logo_images; - } - - /** - * List of logo image assets that may be displayed with the ad. The images - * must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - * image assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLogoImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->logo_images = $arr; - - return $this; - } - - /** - * List of YouTube video assets that may be displayed with the ad. At least 1 - * and at most 20 video assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getVideos() - { - return $this->videos; - } - - /** - * List of YouTube video assets that may be displayed with the ad. At least 1 - * and at most 20 video assets must be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setVideos($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdVideoAsset::class); - $this->videos = $arr; - - return $this; - } - - /** - * First part of optional text that can be appended to the URL in the ad. - * - * Generated from protobuf field optional string path1 = 9; - * @return string - */ - public function getPath1() - { - return isset($this->path1) ? $this->path1 : ''; - } - - public function hasPath1() - { - return isset($this->path1); - } - - public function clearPath1() - { - unset($this->path1); - } - - /** - * First part of optional text that can be appended to the URL in the ad. - * - * Generated from protobuf field optional string path1 = 9; - * @param string $var - * @return $this - */ - public function setPath1($var) - { - GPBUtil::checkString($var, True); - $this->path1 = $var; - - return $this; - } - - /** - * Second part of optional text that can be appended to the URL in the ad. - * This field can only be set when `path1` is also set. - * - * Generated from protobuf field optional string path2 = 10; - * @return string - */ - public function getPath2() - { - return isset($this->path2) ? $this->path2 : ''; - } - - public function hasPath2() - { - return isset($this->path2); - } - - public function clearPath2() - { - unset($this->path2); - } - - /** - * Second part of optional text that can be appended to the URL in the ad. - * This field can only be set when `path1` is also set. - * - * Generated from protobuf field optional string path2 = 10; - * @param string $var - * @return $this - */ - public function setPath2($var) - { - GPBUtil::checkString($var, True); - $this->path2 = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LocalServiceIdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LocalServiceIdInfo.php deleted file mode 100644 index 519ae6408..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LocalServiceIdInfo.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.common.LocalServiceIdInfo - */ -class LocalServiceIdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The criterion resource name. - * - * Generated from protobuf field string service_id = 1; - */ - protected $service_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $service_id - * The criterion resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The criterion resource name. - * - * Generated from protobuf field string service_id = 1; - * @return string - */ - public function getServiceId() - { - return $this->service_id; - } - - /** - * The criterion resource name. - * - * Generated from protobuf field string service_id = 1; - * @param string $var - * @return $this - */ - public function setServiceId($var) - { - GPBUtil::checkString($var, True); - $this->service_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LocalServicesDocumentReadOnly.php b/src/Google/Ads/GoogleAds/V15/Common/LocalServicesDocumentReadOnly.php deleted file mode 100644 index 39778e8d2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LocalServicesDocumentReadOnly.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.LocalServicesDocumentReadOnly - */ -class LocalServicesDocumentReadOnly extends \Google\Protobuf\Internal\Message -{ - /** - * URL to access an already uploaded Local Services document. - * - * Generated from protobuf field optional string document_url = 1; - */ - protected $document_url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $document_url - * URL to access an already uploaded Local Services document. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\LocalServices::initOnce(); - parent::__construct($data); - } - - /** - * URL to access an already uploaded Local Services document. - * - * Generated from protobuf field optional string document_url = 1; - * @return string - */ - public function getDocumentUrl() - { - return isset($this->document_url) ? $this->document_url : ''; - } - - public function hasDocumentUrl() - { - return isset($this->document_url); - } - - public function clearDocumentUrl() - { - unset($this->document_url); - } - - /** - * URL to access an already uploaded Local Services document. - * - * Generated from protobuf field optional string document_url = 1; - * @param string $var - * @return $this - */ - public function setDocumentUrl($var) - { - GPBUtil::checkString($var, True); - $this->document_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LocationAsset.php b/src/Google/Ads/GoogleAds/V15/Common/LocationAsset.php deleted file mode 100644 index a1702f9c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LocationAsset.php +++ /dev/null @@ -1,171 +0,0 @@ -google.ads.googleads.v15.common.LocationAsset - */ -class LocationAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Place IDs uniquely identify a place in the Google Places database and on - * Google Maps. - * This field is unique for a given customer ID and asset type. See - * https://developers.google.com/places/web-service/place-id to learn more - * about Place ID. - * - * Generated from protobuf field string place_id = 1; - */ - protected $place_id = ''; - /** - * The list of business locations for the customer. - * This will only be returned if the Location Asset is syncing from the - * Business Profile account. It is possible to have multiple Business Profile - * listings under the same account that point to the same Place ID. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.BusinessProfileLocation business_profile_locations = 2; - */ - private $business_profile_locations; - /** - * The type of location ownership. - * If the type is BUSINESS_OWNER, it will be served as a location extension. - * If the type is AFFILIATE, it will be served as an affiliate location. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3; - */ - protected $location_ownership_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $place_id - * Place IDs uniquely identify a place in the Google Places database and on - * Google Maps. - * This field is unique for a given customer ID and asset type. See - * https://developers.google.com/places/web-service/place-id to learn more - * about Place ID. - * @type array<\Google\Ads\GoogleAds\V15\Common\BusinessProfileLocation>|\Google\Protobuf\Internal\RepeatedField $business_profile_locations - * The list of business locations for the customer. - * This will only be returned if the Location Asset is syncing from the - * Business Profile account. It is possible to have multiple Business Profile - * listings under the same account that point to the same Place ID. - * @type int $location_ownership_type - * The type of location ownership. - * If the type is BUSINESS_OWNER, it will be served as a location extension. - * If the type is AFFILIATE, it will be served as an affiliate location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Place IDs uniquely identify a place in the Google Places database and on - * Google Maps. - * This field is unique for a given customer ID and asset type. See - * https://developers.google.com/places/web-service/place-id to learn more - * about Place ID. - * - * Generated from protobuf field string place_id = 1; - * @return string - */ - public function getPlaceId() - { - return $this->place_id; - } - - /** - * Place IDs uniquely identify a place in the Google Places database and on - * Google Maps. - * This field is unique for a given customer ID and asset type. See - * https://developers.google.com/places/web-service/place-id to learn more - * about Place ID. - * - * Generated from protobuf field string place_id = 1; - * @param string $var - * @return $this - */ - public function setPlaceId($var) - { - GPBUtil::checkString($var, True); - $this->place_id = $var; - - return $this; - } - - /** - * The list of business locations for the customer. - * This will only be returned if the Location Asset is syncing from the - * Business Profile account. It is possible to have multiple Business Profile - * listings under the same account that point to the same Place ID. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.BusinessProfileLocation business_profile_locations = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBusinessProfileLocations() - { - return $this->business_profile_locations; - } - - /** - * The list of business locations for the customer. - * This will only be returned if the Location Asset is syncing from the - * Business Profile account. It is possible to have multiple Business Profile - * listings under the same account that point to the same Place ID. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.BusinessProfileLocation business_profile_locations = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\BusinessProfileLocation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBusinessProfileLocations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocation::class); - $this->business_profile_locations = $arr; - - return $this; - } - - /** - * The type of location ownership. - * If the type is BUSINESS_OWNER, it will be served as a location extension. - * If the type is AFFILIATE, it will be served as an affiliate location. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3; - * @return int - */ - public function getLocationOwnershipType() - { - return $this->location_ownership_type; - } - - /** - * The type of location ownership. - * If the type is BUSINESS_OWNER, it will be served as a location extension. - * If the type is AFFILIATE, it will be served as an affiliate location. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3; - * @param int $var - * @return $this - */ - public function setLocationOwnershipType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocationOwnershipTypeEnum\LocationOwnershipType::class); - $this->location_ownership_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LocationFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/LocationFeedItem.php deleted file mode 100644 index 3712ac26d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LocationFeedItem.php +++ /dev/null @@ -1,385 +0,0 @@ -google.ads.googleads.v15.common.LocationFeedItem - */ -class LocationFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The name of the business. - * - * Generated from protobuf field optional string business_name = 9; - */ - protected $business_name = null; - /** - * Line 1 of the business address. - * - * Generated from protobuf field optional string address_line_1 = 10; - */ - protected $address_line_1 = null; - /** - * Line 2 of the business address. - * - * Generated from protobuf field optional string address_line_2 = 11; - */ - protected $address_line_2 = null; - /** - * City of the business address. - * - * Generated from protobuf field optional string city = 12; - */ - protected $city = null; - /** - * Province of the business address. - * - * Generated from protobuf field optional string province = 13; - */ - protected $province = null; - /** - * Postal code of the business address. - * - * Generated from protobuf field optional string postal_code = 14; - */ - protected $postal_code = null; - /** - * Country code of the business address. - * - * Generated from protobuf field optional string country_code = 15; - */ - protected $country_code = null; - /** - * Phone number of the business. - * - * Generated from protobuf field optional string phone_number = 16; - */ - protected $phone_number = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $business_name - * The name of the business. - * @type string $address_line_1 - * Line 1 of the business address. - * @type string $address_line_2 - * Line 2 of the business address. - * @type string $city - * City of the business address. - * @type string $province - * Province of the business address. - * @type string $postal_code - * Postal code of the business address. - * @type string $country_code - * Country code of the business address. - * @type string $phone_number - * Phone number of the business. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * The name of the business. - * - * Generated from protobuf field optional string business_name = 9; - * @return string - */ - public function getBusinessName() - { - return isset($this->business_name) ? $this->business_name : ''; - } - - public function hasBusinessName() - { - return isset($this->business_name); - } - - public function clearBusinessName() - { - unset($this->business_name); - } - - /** - * The name of the business. - * - * Generated from protobuf field optional string business_name = 9; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * Line 1 of the business address. - * - * Generated from protobuf field optional string address_line_1 = 10; - * @return string - */ - public function getAddressLine1() - { - return isset($this->address_line_1) ? $this->address_line_1 : ''; - } - - public function hasAddressLine1() - { - return isset($this->address_line_1); - } - - public function clearAddressLine1() - { - unset($this->address_line_1); - } - - /** - * Line 1 of the business address. - * - * Generated from protobuf field optional string address_line_1 = 10; - * @param string $var - * @return $this - */ - public function setAddressLine1($var) - { - GPBUtil::checkString($var, True); - $this->address_line_1 = $var; - - return $this; - } - - /** - * Line 2 of the business address. - * - * Generated from protobuf field optional string address_line_2 = 11; - * @return string - */ - public function getAddressLine2() - { - return isset($this->address_line_2) ? $this->address_line_2 : ''; - } - - public function hasAddressLine2() - { - return isset($this->address_line_2); - } - - public function clearAddressLine2() - { - unset($this->address_line_2); - } - - /** - * Line 2 of the business address. - * - * Generated from protobuf field optional string address_line_2 = 11; - * @param string $var - * @return $this - */ - public function setAddressLine2($var) - { - GPBUtil::checkString($var, True); - $this->address_line_2 = $var; - - return $this; - } - - /** - * City of the business address. - * - * Generated from protobuf field optional string city = 12; - * @return string - */ - public function getCity() - { - return isset($this->city) ? $this->city : ''; - } - - public function hasCity() - { - return isset($this->city); - } - - public function clearCity() - { - unset($this->city); - } - - /** - * City of the business address. - * - * Generated from protobuf field optional string city = 12; - * @param string $var - * @return $this - */ - public function setCity($var) - { - GPBUtil::checkString($var, True); - $this->city = $var; - - return $this; - } - - /** - * Province of the business address. - * - * Generated from protobuf field optional string province = 13; - * @return string - */ - public function getProvince() - { - return isset($this->province) ? $this->province : ''; - } - - public function hasProvince() - { - return isset($this->province); - } - - public function clearProvince() - { - unset($this->province); - } - - /** - * Province of the business address. - * - * Generated from protobuf field optional string province = 13; - * @param string $var - * @return $this - */ - public function setProvince($var) - { - GPBUtil::checkString($var, True); - $this->province = $var; - - return $this; - } - - /** - * Postal code of the business address. - * - * Generated from protobuf field optional string postal_code = 14; - * @return string - */ - public function getPostalCode() - { - return isset($this->postal_code) ? $this->postal_code : ''; - } - - public function hasPostalCode() - { - return isset($this->postal_code); - } - - public function clearPostalCode() - { - unset($this->postal_code); - } - - /** - * Postal code of the business address. - * - * Generated from protobuf field optional string postal_code = 14; - * @param string $var - * @return $this - */ - public function setPostalCode($var) - { - GPBUtil::checkString($var, True); - $this->postal_code = $var; - - return $this; - } - - /** - * Country code of the business address. - * - * Generated from protobuf field optional string country_code = 15; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Country code of the business address. - * - * Generated from protobuf field optional string country_code = 15; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * Phone number of the business. - * - * Generated from protobuf field optional string phone_number = 16; - * @return string - */ - public function getPhoneNumber() - { - return isset($this->phone_number) ? $this->phone_number : ''; - } - - public function hasPhoneNumber() - { - return isset($this->phone_number); - } - - public function clearPhoneNumber() - { - unset($this->phone_number); - } - - /** - * Phone number of the business. - * - * Generated from protobuf field optional string phone_number = 16; - * @param string $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->phone_number = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LocationGroupInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LocationGroupInfo.php deleted file mode 100644 index f7e95f61c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LocationGroupInfo.php +++ /dev/null @@ -1,373 +0,0 @@ -google.ads.googleads.v15.common.LocationGroupInfo - */ -class LocationGroupInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Feed specifying locations for targeting. Cannot be set with AssetSet - * fields. This is required and must be set in CREATE operations. - * - * Generated from protobuf field optional string feed = 5; - */ - protected $feed = null; - /** - * Geo target constant(s) restricting the scope of the geographic area within - * the feed. Currently only one geo target constant is allowed. Cannot be set - * with AssetSet fields. - * - * Generated from protobuf field repeated string geo_target_constants = 6; - */ - private $geo_target_constants; - /** - * Distance in units specifying the radius around targeted locations. - * This is required and must be set in CREATE operations. - * - * Generated from protobuf field optional int64 radius = 7; - */ - protected $radius = null; - /** - * Unit of the radius. Miles and meters are supported for geo target - * constants. Milli miles and meters are supported for feed item sets and - * asset sets. This is required and must be set in CREATE operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4; - */ - protected $radius_units = 0; - /** - * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - * then all items that appear in at least one set are targeted. This field - * cannot be used with geo_target_constants. This is optional and can only be - * set in CREATE operations. Cannot be set with AssetSet fields. - * - * Generated from protobuf field repeated string feed_item_sets = 8; - */ - private $feed_item_sets; - /** - * Denotes that the latest customer level asset set is used for targeting. - * Used with radius and radius_units. Cannot be used with - * feed, geo target constants or feed item sets. When using asset sets, either - * this field or location_group_asset_sets should be specified. Both cannot be - * used at the same time. This can only be set in CREATE operations. - * - * Generated from protobuf field optional bool enable_customer_level_location_asset_set = 9; - */ - protected $enable_customer_level_location_asset_set = null; - /** - * AssetSets whose Assets are targeted. If multiple IDs are specified, then - * all items that appear in at least one set are targeted. This field cannot - * be used with feed, geo target constants or feed item sets. When using asset - * sets, either this field or enable_customer_level_location_asset_set should - * be specified. Both cannot be used at the same time. This can only be set - * in CREATE operations. - * - * Generated from protobuf field repeated string location_group_asset_sets = 10; - */ - private $location_group_asset_sets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $feed - * Feed specifying locations for targeting. Cannot be set with AssetSet - * fields. This is required and must be set in CREATE operations. - * @type array|\Google\Protobuf\Internal\RepeatedField $geo_target_constants - * Geo target constant(s) restricting the scope of the geographic area within - * the feed. Currently only one geo target constant is allowed. Cannot be set - * with AssetSet fields. - * @type int|string $radius - * Distance in units specifying the radius around targeted locations. - * This is required and must be set in CREATE operations. - * @type int $radius_units - * Unit of the radius. Miles and meters are supported for geo target - * constants. Milli miles and meters are supported for feed item sets and - * asset sets. This is required and must be set in CREATE operations. - * @type array|\Google\Protobuf\Internal\RepeatedField $feed_item_sets - * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - * then all items that appear in at least one set are targeted. This field - * cannot be used with geo_target_constants. This is optional and can only be - * set in CREATE operations. Cannot be set with AssetSet fields. - * @type bool $enable_customer_level_location_asset_set - * Denotes that the latest customer level asset set is used for targeting. - * Used with radius and radius_units. Cannot be used with - * feed, geo target constants or feed item sets. When using asset sets, either - * this field or location_group_asset_sets should be specified. Both cannot be - * used at the same time. This can only be set in CREATE operations. - * @type array|\Google\Protobuf\Internal\RepeatedField $location_group_asset_sets - * AssetSets whose Assets are targeted. If multiple IDs are specified, then - * all items that appear in at least one set are targeted. This field cannot - * be used with feed, geo target constants or feed item sets. When using asset - * sets, either this field or enable_customer_level_location_asset_set should - * be specified. Both cannot be used at the same time. This can only be set - * in CREATE operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Feed specifying locations for targeting. Cannot be set with AssetSet - * fields. This is required and must be set in CREATE operations. - * - * Generated from protobuf field optional string feed = 5; - * @return string - */ - public function getFeed() - { - return isset($this->feed) ? $this->feed : ''; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * Feed specifying locations for targeting. Cannot be set with AssetSet - * fields. This is required and must be set in CREATE operations. - * - * Generated from protobuf field optional string feed = 5; - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Geo target constant(s) restricting the scope of the geographic area within - * the feed. Currently only one geo target constant is allowed. Cannot be set - * with AssetSet fields. - * - * Generated from protobuf field repeated string geo_target_constants = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoTargetConstants() - { - return $this->geo_target_constants; - } - - /** - * Geo target constant(s) restricting the scope of the geographic area within - * the feed. Currently only one geo target constant is allowed. Cannot be set - * with AssetSet fields. - * - * Generated from protobuf field repeated string geo_target_constants = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoTargetConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->geo_target_constants = $arr; - - return $this; - } - - /** - * Distance in units specifying the radius around targeted locations. - * This is required and must be set in CREATE operations. - * - * Generated from protobuf field optional int64 radius = 7; - * @return int|string - */ - public function getRadius() - { - return isset($this->radius) ? $this->radius : 0; - } - - public function hasRadius() - { - return isset($this->radius); - } - - public function clearRadius() - { - unset($this->radius); - } - - /** - * Distance in units specifying the radius around targeted locations. - * This is required and must be set in CREATE operations. - * - * Generated from protobuf field optional int64 radius = 7; - * @param int|string $var - * @return $this - */ - public function setRadius($var) - { - GPBUtil::checkInt64($var); - $this->radius = $var; - - return $this; - } - - /** - * Unit of the radius. Miles and meters are supported for geo target - * constants. Milli miles and meters are supported for feed item sets and - * asset sets. This is required and must be set in CREATE operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4; - * @return int - */ - public function getRadiusUnits() - { - return $this->radius_units; - } - - /** - * Unit of the radius. Miles and meters are supported for geo target - * constants. Milli miles and meters are supported for feed item sets and - * asset sets. This is required and must be set in CREATE operations. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4; - * @param int $var - * @return $this - */ - public function setRadiusUnits($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocationGroupRadiusUnitsEnum\LocationGroupRadiusUnits::class); - $this->radius_units = $var; - - return $this; - } - - /** - * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - * then all items that appear in at least one set are targeted. This field - * cannot be used with geo_target_constants. This is optional and can only be - * set in CREATE operations. Cannot be set with AssetSet fields. - * - * Generated from protobuf field repeated string feed_item_sets = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeedItemSets() - { - return $this->feed_item_sets; - } - - /** - * FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - * then all items that appear in at least one set are targeted. This field - * cannot be used with geo_target_constants. This is optional and can only be - * set in CREATE operations. Cannot be set with AssetSet fields. - * - * Generated from protobuf field repeated string feed_item_sets = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeedItemSets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->feed_item_sets = $arr; - - return $this; - } - - /** - * Denotes that the latest customer level asset set is used for targeting. - * Used with radius and radius_units. Cannot be used with - * feed, geo target constants or feed item sets. When using asset sets, either - * this field or location_group_asset_sets should be specified. Both cannot be - * used at the same time. This can only be set in CREATE operations. - * - * Generated from protobuf field optional bool enable_customer_level_location_asset_set = 9; - * @return bool - */ - public function getEnableCustomerLevelLocationAssetSet() - { - return isset($this->enable_customer_level_location_asset_set) ? $this->enable_customer_level_location_asset_set : false; - } - - public function hasEnableCustomerLevelLocationAssetSet() - { - return isset($this->enable_customer_level_location_asset_set); - } - - public function clearEnableCustomerLevelLocationAssetSet() - { - unset($this->enable_customer_level_location_asset_set); - } - - /** - * Denotes that the latest customer level asset set is used for targeting. - * Used with radius and radius_units. Cannot be used with - * feed, geo target constants or feed item sets. When using asset sets, either - * this field or location_group_asset_sets should be specified. Both cannot be - * used at the same time. This can only be set in CREATE operations. - * - * Generated from protobuf field optional bool enable_customer_level_location_asset_set = 9; - * @param bool $var - * @return $this - */ - public function setEnableCustomerLevelLocationAssetSet($var) - { - GPBUtil::checkBool($var); - $this->enable_customer_level_location_asset_set = $var; - - return $this; - } - - /** - * AssetSets whose Assets are targeted. If multiple IDs are specified, then - * all items that appear in at least one set are targeted. This field cannot - * be used with feed, geo target constants or feed item sets. When using asset - * sets, either this field or enable_customer_level_location_asset_set should - * be specified. Both cannot be used at the same time. This can only be set - * in CREATE operations. - * - * Generated from protobuf field repeated string location_group_asset_sets = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLocationGroupAssetSets() - { - return $this->location_group_asset_sets; - } - - /** - * AssetSets whose Assets are targeted. If multiple IDs are specified, then - * all items that appear in at least one set are targeted. This field cannot - * be used with feed, geo target constants or feed item sets. When using asset - * sets, either this field or enable_customer_level_location_asset_set should - * be specified. Both cannot be used at the same time. This can only be set - * in CREATE operations. - * - * Generated from protobuf field repeated string location_group_asset_sets = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLocationGroupAssetSets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->location_group_asset_sets = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LocationInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LocationInfo.php deleted file mode 100644 index 8d62a9b70..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LocationInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.LocationInfo - */ -class LocationInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The geo target constant resource name. - * - * Generated from protobuf field optional string geo_target_constant = 2; - */ - protected $geo_target_constant = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $geo_target_constant - * The geo target constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The geo target constant resource name. - * - * Generated from protobuf field optional string geo_target_constant = 2; - * @return string - */ - public function getGeoTargetConstant() - { - return isset($this->geo_target_constant) ? $this->geo_target_constant : ''; - } - - public function hasGeoTargetConstant() - { - return isset($this->geo_target_constant); - } - - public function clearGeoTargetConstant() - { - unset($this->geo_target_constant); - } - - /** - * The geo target constant resource name. - * - * Generated from protobuf field optional string geo_target_constant = 2; - * @param string $var - * @return $this - */ - public function setGeoTargetConstant($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_constant = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LocationSet.php b/src/Google/Ads/GoogleAds/V15/Common/LocationSet.php deleted file mode 100644 index 216916889..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LocationSet.php +++ /dev/null @@ -1,187 +0,0 @@ -google.ads.googleads.v15.common.LocationSet - */ -class LocationSet extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. Location Ownership Type (owned location or affiliate - * location). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $location_ownership_type = 0; - protected $source; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $location_ownership_type - * Required. Immutable. Location Ownership Type (owned location or affiliate - * location). - * @type \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocationSet $business_profile_location_set - * Data used to configure a location set populated from Google Business - * Profile locations. - * @type \Google\Ads\GoogleAds\V15\Common\ChainSet $chain_location_set - * Data used to configure a location on chain set populated with the - * specified chains. - * @type \Google\Ads\GoogleAds\V15\Common\MapsLocationSet $maps_location_set - * Only set if locations are synced based on selected maps locations - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. Location Ownership Type (owned location or affiliate - * location). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getLocationOwnershipType() - { - return $this->location_ownership_type; - } - - /** - * Required. Immutable. Location Ownership Type (owned location or affiliate - * location). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setLocationOwnershipType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocationOwnershipTypeEnum\LocationOwnershipType::class); - $this->location_ownership_type = $var; - - return $this; - } - - /** - * Data used to configure a location set populated from Google Business - * Profile locations. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BusinessProfileLocationSet business_profile_location_set = 1; - * @return \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocationSet|null - */ - public function getBusinessProfileLocationSet() - { - return $this->readOneof(1); - } - - public function hasBusinessProfileLocationSet() - { - return $this->hasOneof(1); - } - - /** - * Data used to configure a location set populated from Google Business - * Profile locations. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BusinessProfileLocationSet business_profile_location_set = 1; - * @param \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocationSet $var - * @return $this - */ - public function setBusinessProfileLocationSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocationSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Data used to configure a location on chain set populated with the - * specified chains. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ChainSet chain_location_set = 2; - * @return \Google\Ads\GoogleAds\V15\Common\ChainSet|null - */ - public function getChainLocationSet() - { - return $this->readOneof(2); - } - - public function hasChainLocationSet() - { - return $this->hasOneof(2); - } - - /** - * Data used to configure a location on chain set populated with the - * specified chains. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ChainSet chain_location_set = 2; - * @param \Google\Ads\GoogleAds\V15\Common\ChainSet $var - * @return $this - */ - public function setChainLocationSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ChainSet::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Only set if locations are synced based on selected maps locations - * - * Generated from protobuf field .google.ads.googleads.v15.common.MapsLocationSet maps_location_set = 5; - * @return \Google\Ads\GoogleAds\V15\Common\MapsLocationSet|null - */ - public function getMapsLocationSet() - { - return $this->readOneof(5); - } - - public function hasMapsLocationSet() - { - return $this->hasOneof(5); - } - - /** - * Only set if locations are synced based on selected maps locations - * - * Generated from protobuf field .google.ads.googleads.v15.common.MapsLocationSet maps_location_set = 5; - * @param \Google\Ads\GoogleAds\V15\Common\MapsLocationSet $var - * @return $this - */ - public function setMapsLocationSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MapsLocationSet::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getSource() - { - return $this->whichOneof("source"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LogicalUserListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LogicalUserListInfo.php deleted file mode 100644 index 6e5465576..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LogicalUserListInfo.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.common.LogicalUserListInfo - */ -class LogicalUserListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Logical list rules that define this user list. The rules are defined as a - * logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - * ANDed when they are evaluated. - * Required for creating a logical user list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListLogicalRuleInfo rules = 1; - */ - private $rules; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\UserListLogicalRuleInfo>|\Google\Protobuf\Internal\RepeatedField $rules - * Logical list rules that define this user list. The rules are defined as a - * logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - * ANDed when they are evaluated. - * Required for creating a logical user list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Logical list rules that define this user list. The rules are defined as a - * logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - * ANDed when they are evaluated. - * Required for creating a logical user list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListLogicalRuleInfo rules = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRules() - { - return $this->rules; - } - - /** - * Logical list rules that define this user list. The rules are defined as a - * logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - * ANDed when they are evaluated. - * Required for creating a logical user list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListLogicalRuleInfo rules = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserListLogicalRuleInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserListLogicalRuleInfo::class); - $this->rules = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LogicalUserListOperandInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LogicalUserListOperandInfo.php deleted file mode 100644 index 0d389c95e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LogicalUserListOperandInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.LogicalUserListOperandInfo - */ -class LogicalUserListOperandInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of a user list as an operand. - * - * Generated from protobuf field optional string user_list = 2; - */ - protected $user_list = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $user_list - * Resource name of a user list as an operand. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of a user list as an operand. - * - * Generated from protobuf field optional string user_list = 2; - * @return string - */ - public function getUserList() - { - return isset($this->user_list) ? $this->user_list : ''; - } - - public function hasUserList() - { - return isset($this->user_list); - } - - public function clearUserList() - { - unset($this->user_list); - } - - /** - * Resource name of a user list as an operand. - * - * Generated from protobuf field optional string user_list = 2; - * @param string $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkString($var, True); - $this->user_list = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/LookalikeUserListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/LookalikeUserListInfo.php deleted file mode 100644 index 1e908bd16..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/LookalikeUserListInfo.php +++ /dev/null @@ -1,140 +0,0 @@ -google.ads.googleads.v15.common.LookalikeUserListInfo - */ -class LookalikeUserListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Seed UserList ID from which this list is derived, provided by user. - * - * Generated from protobuf field repeated int64 seed_user_list_ids = 1; - */ - private $seed_user_list_ids; - /** - * Expansion level, reflecting the size of the lookalike audience - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LookalikeExpansionLevelEnum.LookalikeExpansionLevel expansion_level = 2; - */ - protected $expansion_level = 0; - /** - * Countries targeted by the Lookalike. Two-letter country code as defined by - * ISO-3166 - * - * Generated from protobuf field repeated string country_codes = 3; - */ - private $country_codes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|array|\Google\Protobuf\Internal\RepeatedField $seed_user_list_ids - * Seed UserList ID from which this list is derived, provided by user. - * @type int $expansion_level - * Expansion level, reflecting the size of the lookalike audience - * @type array|\Google\Protobuf\Internal\RepeatedField $country_codes - * Countries targeted by the Lookalike. Two-letter country code as defined by - * ISO-3166 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Seed UserList ID from which this list is derived, provided by user. - * - * Generated from protobuf field repeated int64 seed_user_list_ids = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSeedUserListIds() - { - return $this->seed_user_list_ids; - } - - /** - * Seed UserList ID from which this list is derived, provided by user. - * - * Generated from protobuf field repeated int64 seed_user_list_ids = 1; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSeedUserListIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->seed_user_list_ids = $arr; - - return $this; - } - - /** - * Expansion level, reflecting the size of the lookalike audience - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LookalikeExpansionLevelEnum.LookalikeExpansionLevel expansion_level = 2; - * @return int - */ - public function getExpansionLevel() - { - return $this->expansion_level; - } - - /** - * Expansion level, reflecting the size of the lookalike audience - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LookalikeExpansionLevelEnum.LookalikeExpansionLevel expansion_level = 2; - * @param int $var - * @return $this - */ - public function setExpansionLevel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LookalikeExpansionLevelEnum\LookalikeExpansionLevel::class); - $this->expansion_level = $var; - - return $this; - } - - /** - * Countries targeted by the Lookalike. Two-letter country code as defined by - * ISO-3166 - * - * Generated from protobuf field repeated string country_codes = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCountryCodes() - { - return $this->country_codes; - } - - /** - * Countries targeted by the Lookalike. Two-letter country code as defined by - * ISO-3166 - * - * Generated from protobuf field repeated string country_codes = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCountryCodes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->country_codes = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ManualCpa.php b/src/Google/Ads/GoogleAds/V15/Common/ManualCpa.php deleted file mode 100644 index 5c543d7dd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ManualCpa.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.common.ManualCpa - */ -class ManualCpa extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ManualCpc.php b/src/Google/Ads/GoogleAds/V15/Common/ManualCpc.php deleted file mode 100644 index 02c791756..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ManualCpc.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.ManualCpc - */ -class ManualCpc extends \Google\Protobuf\Internal\Message -{ - /** - * Whether bids are to be enhanced based on conversion optimizer data. - * - * Generated from protobuf field optional bool enhanced_cpc_enabled = 2; - */ - protected $enhanced_cpc_enabled = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $enhanced_cpc_enabled - * Whether bids are to be enhanced based on conversion optimizer data. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * Whether bids are to be enhanced based on conversion optimizer data. - * - * Generated from protobuf field optional bool enhanced_cpc_enabled = 2; - * @return bool - */ - public function getEnhancedCpcEnabled() - { - return isset($this->enhanced_cpc_enabled) ? $this->enhanced_cpc_enabled : false; - } - - public function hasEnhancedCpcEnabled() - { - return isset($this->enhanced_cpc_enabled); - } - - public function clearEnhancedCpcEnabled() - { - unset($this->enhanced_cpc_enabled); - } - - /** - * Whether bids are to be enhanced based on conversion optimizer data. - * - * Generated from protobuf field optional bool enhanced_cpc_enabled = 2; - * @param bool $var - * @return $this - */ - public function setEnhancedCpcEnabled($var) - { - GPBUtil::checkBool($var); - $this->enhanced_cpc_enabled = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ManualCpm.php b/src/Google/Ads/GoogleAds/V15/Common/ManualCpm.php deleted file mode 100644 index 1dbce26bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ManualCpm.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.common.ManualCpm - */ -class ManualCpm extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ManualCpv.php b/src/Google/Ads/GoogleAds/V15/Common/ManualCpv.php deleted file mode 100644 index 2f7610536..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ManualCpv.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.common.ManualCpv - */ -class ManualCpv extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MapsLocationInfo.php b/src/Google/Ads/GoogleAds/V15/Common/MapsLocationInfo.php deleted file mode 100644 index 3870ddbda..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MapsLocationInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.MapsLocationInfo - */ -class MapsLocationInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Place ID of the Maps location. - * - * Generated from protobuf field string place_id = 1; - */ - protected $place_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $place_id - * Place ID of the Maps location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Place ID of the Maps location. - * - * Generated from protobuf field string place_id = 1; - * @return string - */ - public function getPlaceId() - { - return $this->place_id; - } - - /** - * Place ID of the Maps location. - * - * Generated from protobuf field string place_id = 1; - * @param string $var - * @return $this - */ - public function setPlaceId($var) - { - GPBUtil::checkString($var, True); - $this->place_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MapsLocationSet.php b/src/Google/Ads/GoogleAds/V15/Common/MapsLocationSet.php deleted file mode 100644 index 4849c5616..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MapsLocationSet.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.MapsLocationSet - */ -class MapsLocationSet extends \Google\Protobuf\Internal\Message -{ - /** - * Required. A list of maps location info that user manually synced in. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $maps_locations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\MapsLocationInfo>|\Google\Protobuf\Internal\RepeatedField $maps_locations - * Required. A list of maps location info that user manually synced in. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetSetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. A list of maps location info that user manually synced in. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMapsLocations() - { - return $this->maps_locations; - } - - /** - * Required. A list of maps location info that user manually synced in. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Common\MapsLocationInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMapsLocations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\MapsLocationInfo::class); - $this->maps_locations = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MatchingFunction.php b/src/Google/Ads/GoogleAds/V15/Common/MatchingFunction.php deleted file mode 100644 index b66d0c937..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MatchingFunction.php +++ /dev/null @@ -1,233 +0,0 @@ -google.ads.googleads.v15.common.MatchingFunction - */ -class MatchingFunction extends \Google\Protobuf\Internal\Message -{ - /** - * String representation of the Function. - * Examples: - * 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - * 2. EQUALS(CONTEXT.DEVICE,"Mobile") - * 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - * 4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"}) - * 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) - * For more details, visit - * https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions - * Note that because multiple strings may represent the same underlying - * function (whitespace and single versus double quotation marks, for - * example), the value returned may not be identical to the string sent in a - * mutate request. - * - * Generated from protobuf field optional string function_string = 5; - */ - protected $function_string = null; - /** - * Operator for a function. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator operator = 4; - */ - protected $operator = 0; - /** - * The operands on the left hand side of the equation. This is also the - * operand to be used for single operand expressions such as NOT. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.Operand left_operands = 2; - */ - private $left_operands; - /** - * The operands on the right hand side of the equation. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.Operand right_operands = 3; - */ - private $right_operands; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $function_string - * String representation of the Function. - * Examples: - * 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - * 2. EQUALS(CONTEXT.DEVICE,"Mobile") - * 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - * 4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"}) - * 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) - * For more details, visit - * https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions - * Note that because multiple strings may represent the same underlying - * function (whitespace and single versus double quotation marks, for - * example), the value returned may not be identical to the string sent in a - * mutate request. - * @type int $operator - * Operator for a function. - * @type array<\Google\Ads\GoogleAds\V15\Common\Operand>|\Google\Protobuf\Internal\RepeatedField $left_operands - * The operands on the left hand side of the equation. This is also the - * operand to be used for single operand expressions such as NOT. - * @type array<\Google\Ads\GoogleAds\V15\Common\Operand>|\Google\Protobuf\Internal\RepeatedField $right_operands - * The operands on the right hand side of the equation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\MatchingFunction::initOnce(); - parent::__construct($data); - } - - /** - * String representation of the Function. - * Examples: - * 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - * 2. EQUALS(CONTEXT.DEVICE,"Mobile") - * 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - * 4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"}) - * 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) - * For more details, visit - * https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions - * Note that because multiple strings may represent the same underlying - * function (whitespace and single versus double quotation marks, for - * example), the value returned may not be identical to the string sent in a - * mutate request. - * - * Generated from protobuf field optional string function_string = 5; - * @return string - */ - public function getFunctionString() - { - return isset($this->function_string) ? $this->function_string : ''; - } - - public function hasFunctionString() - { - return isset($this->function_string); - } - - public function clearFunctionString() - { - unset($this->function_string); - } - - /** - * String representation of the Function. - * Examples: - * 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - * 2. EQUALS(CONTEXT.DEVICE,"Mobile") - * 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - * 4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"}) - * 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) - * For more details, visit - * https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions - * Note that because multiple strings may represent the same underlying - * function (whitespace and single versus double quotation marks, for - * example), the value returned may not be identical to the string sent in a - * mutate request. - * - * Generated from protobuf field optional string function_string = 5; - * @param string $var - * @return $this - */ - public function setFunctionString($var) - { - GPBUtil::checkString($var, True); - $this->function_string = $var; - - return $this; - } - - /** - * Operator for a function. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator operator = 4; - * @return int - */ - public function getOperator() - { - return $this->operator; - } - - /** - * Operator for a function. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator operator = 4; - * @param int $var - * @return $this - */ - public function setOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MatchingFunctionOperatorEnum\MatchingFunctionOperator::class); - $this->operator = $var; - - return $this; - } - - /** - * The operands on the left hand side of the equation. This is also the - * operand to be used for single operand expressions such as NOT. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.Operand left_operands = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLeftOperands() - { - return $this->left_operands; - } - - /** - * The operands on the left hand side of the equation. This is also the - * operand to be used for single operand expressions such as NOT. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.Operand left_operands = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\Operand>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLeftOperands($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\Operand::class); - $this->left_operands = $arr; - - return $this; - } - - /** - * The operands on the right hand side of the equation. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.Operand right_operands = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRightOperands() - { - return $this->right_operands; - } - - /** - * The operands on the right hand side of the equation. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.Operand right_operands = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\Operand>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRightOperands($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\Operand::class); - $this->right_operands = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MaximizeConversionValue.php b/src/Google/Ads/GoogleAds/V15/Common/MaximizeConversionValue.php deleted file mode 100644 index 6dec9bdb6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MaximizeConversionValue.php +++ /dev/null @@ -1,168 +0,0 @@ -google.ads.googleads.v15.common.MaximizeConversionValue - */ -class MaximizeConversionValue extends \Google\Protobuf\Internal\Message -{ - /** - * The target return on ad spend (ROAS) option. If set, the bid strategy will - * maximize revenue while averaging the target return on ad spend. If the - * target ROAS is high, the bid strategy may not be able to spend the full - * budget. If the target ROAS is not set, the bid strategy will aim to - * achieve the highest possible ROAS for the budget. - * - * Generated from protobuf field double target_roas = 2; - */ - protected $target_roas = 0.0; - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_ceiling_micros = 3; - */ - protected $cpc_bid_ceiling_micros = 0; - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_floor_micros = 4; - */ - protected $cpc_bid_floor_micros = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_roas - * The target return on ad spend (ROAS) option. If set, the bid strategy will - * maximize revenue while averaging the target return on ad spend. If the - * target ROAS is high, the bid strategy may not be able to spend the full - * budget. If the target ROAS is not set, the bid strategy will aim to - * achieve the highest possible ROAS for the budget. - * @type int|string $cpc_bid_ceiling_micros - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * @type int|string $cpc_bid_floor_micros - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * The target return on ad spend (ROAS) option. If set, the bid strategy will - * maximize revenue while averaging the target return on ad spend. If the - * target ROAS is high, the bid strategy may not be able to spend the full - * budget. If the target ROAS is not set, the bid strategy will aim to - * achieve the highest possible ROAS for the budget. - * - * Generated from protobuf field double target_roas = 2; - * @return float - */ - public function getTargetRoas() - { - return $this->target_roas; - } - - /** - * The target return on ad spend (ROAS) option. If set, the bid strategy will - * maximize revenue while averaging the target return on ad spend. If the - * target ROAS is high, the bid strategy may not be able to spend the full - * budget. If the target ROAS is not set, the bid strategy will aim to - * achieve the highest possible ROAS for the budget. - * - * Generated from protobuf field double target_roas = 2; - * @param float $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->target_roas = $var; - - return $this; - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_ceiling_micros = 3; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return $this->cpc_bid_ceiling_micros; - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_ceiling_micros = 3; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_floor_micros = 4; - * @return int|string - */ - public function getCpcBidFloorMicros() - { - return $this->cpc_bid_floor_micros; - } - - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_floor_micros = 4; - * @param int|string $var - * @return $this - */ - public function setCpcBidFloorMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_floor_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MaximizeConversions.php b/src/Google/Ads/GoogleAds/V15/Common/MaximizeConversions.php deleted file mode 100644 index 9016c8fb0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MaximizeConversions.php +++ /dev/null @@ -1,172 +0,0 @@ -google.ads.googleads.v15.common.MaximizeConversions - */ -class MaximizeConversions extends \Google\Protobuf\Internal\Message -{ - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_ceiling_micros = 2; - */ - protected $cpc_bid_ceiling_micros = 0; - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_floor_micros = 3; - */ - protected $cpc_bid_floor_micros = 0; - /** - * The target cost-per-action (CPA) option. This is the average amount that - * you would like to spend per conversion action specified in micro units of - * the bidding strategy's currency. If set, the bid strategy will get as many - * conversions as possible at or below the target cost-per-action. If the - * target CPA is not set, the bid strategy will aim to achieve the lowest - * possible CPA given the budget. - * - * Generated from protobuf field int64 target_cpa_micros = 4; - */ - protected $target_cpa_micros = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $cpc_bid_ceiling_micros - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * @type int|string $cpc_bid_floor_micros - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * @type int|string $target_cpa_micros - * The target cost-per-action (CPA) option. This is the average amount that - * you would like to spend per conversion action specified in micro units of - * the bidding strategy's currency. If set, the bid strategy will get as many - * conversions as possible at or below the target cost-per-action. If the - * target CPA is not set, the bid strategy will aim to achieve the lowest - * possible CPA given the budget. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_ceiling_micros = 2; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return $this->cpc_bid_ceiling_micros; - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_ceiling_micros = 2; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_floor_micros = 3; - * @return int|string - */ - public function getCpcBidFloorMicros() - { - return $this->cpc_bid_floor_micros; - } - - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * Mutable for portfolio bidding strategies only. - * - * Generated from protobuf field int64 cpc_bid_floor_micros = 3; - * @param int|string $var - * @return $this - */ - public function setCpcBidFloorMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_floor_micros = $var; - - return $this; - } - - /** - * The target cost-per-action (CPA) option. This is the average amount that - * you would like to spend per conversion action specified in micro units of - * the bidding strategy's currency. If set, the bid strategy will get as many - * conversions as possible at or below the target cost-per-action. If the - * target CPA is not set, the bid strategy will aim to achieve the lowest - * possible CPA given the budget. - * - * Generated from protobuf field int64 target_cpa_micros = 4; - * @return int|string - */ - public function getTargetCpaMicros() - { - return $this->target_cpa_micros; - } - - /** - * The target cost-per-action (CPA) option. This is the average amount that - * you would like to spend per conversion action specified in micro units of - * the bidding strategy's currency. If set, the bid strategy will get as many - * conversions as possible at or below the target cost-per-action. If the - * target CPA is not set, the bid strategy will aim to achieve the lowest - * possible CPA given the budget. - * - * Generated from protobuf field int64 target_cpa_micros = 4; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpa_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MediaBundleAsset.php b/src/Google/Ads/GoogleAds/V15/Common/MediaBundleAsset.php deleted file mode 100644 index 68fc1e63c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MediaBundleAsset.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.common.MediaBundleAsset - */ -class MediaBundleAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - * depends on the ad field where it will be used. For more information on the - * format, see the documentation of the ad field where you plan on using the - * MediaBundleAsset. This field is mutate only. - * - * Generated from protobuf field optional bytes data = 2; - */ - protected $data = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $data - * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - * depends on the ad field where it will be used. For more information on the - * format, see the documentation of the ad field where you plan on using the - * MediaBundleAsset. This field is mutate only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - * depends on the ad field where it will be used. For more information on the - * format, see the documentation of the ad field where you plan on using the - * MediaBundleAsset. This field is mutate only. - * - * Generated from protobuf field optional bytes data = 2; - * @return string - */ - public function getData() - { - return isset($this->data) ? $this->data : ''; - } - - public function hasData() - { - return isset($this->data); - } - - public function clearData() - { - unset($this->data); - } - - /** - * Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - * depends on the ad field where it will be used. For more information on the - * format, see the documentation of the ad field where you plan on using the - * MediaBundleAsset. This field is mutate only. - * - * Generated from protobuf field optional bytes data = 2; - * @param string $var - * @return $this - */ - public function setData($var) - { - GPBUtil::checkString($var, False); - $this->data = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MetricGoal.php b/src/Google/Ads/GoogleAds/V15/Common/MetricGoal.php deleted file mode 100644 index 4f05551d7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MetricGoal.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.common.MetricGoal - */ -class MetricGoal extends \Google\Protobuf\Internal\Message -{ - /** - * The metric of the goal. For example, clicks, impressions, cost, - * conversions, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentMetricEnum.ExperimentMetric metric = 1; - */ - protected $metric = 0; - /** - * The metric direction of the goal. For example, increase, decrease, no - * change. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection direction = 2; - */ - protected $direction = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $metric - * The metric of the goal. For example, clicks, impressions, cost, - * conversions, etc. - * @type int $direction - * The metric direction of the goal. For example, increase, decrease, no - * change. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\MetricGoal::initOnce(); - parent::__construct($data); - } - - /** - * The metric of the goal. For example, clicks, impressions, cost, - * conversions, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentMetricEnum.ExperimentMetric metric = 1; - * @return int - */ - public function getMetric() - { - return $this->metric; - } - - /** - * The metric of the goal. For example, clicks, impressions, cost, - * conversions, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentMetricEnum.ExperimentMetric metric = 1; - * @param int $var - * @return $this - */ - public function setMetric($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExperimentMetricEnum\ExperimentMetric::class); - $this->metric = $var; - - return $this; - } - - /** - * The metric direction of the goal. For example, increase, decrease, no - * change. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection direction = 2; - * @return int - */ - public function getDirection() - { - return $this->direction; - } - - /** - * The metric direction of the goal. For example, increase, decrease, no - * change. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection direction = 2; - * @param int $var - * @return $this - */ - public function setDirection($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExperimentMetricDirectionEnum\ExperimentMetricDirection::class); - $this->direction = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Metrics.php b/src/Google/Ads/GoogleAds/V15/Common/Metrics.php deleted file mode 100644 index d9fba1512..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Metrics.php +++ /dev/null @@ -1,9387 +0,0 @@ -google.ads.googleads.v15.common.Metrics - */ -class Metrics extends \Google\Protobuf\Internal\Message -{ - /** - * The percent of your ad impressions that are shown as the very first ad - * above the organic search results. - * - * Generated from protobuf field optional double absolute_top_impression_percentage = 183; - */ - protected $absolute_top_impression_percentage = null; - /** - * Average cost of viewable impressions (`active_view_impressions`). - * - * Generated from protobuf field optional double active_view_cpm = 184; - */ - protected $active_view_cpm = null; - /** - * Active view measurable clicks divided by active view viewable impressions. - * This metric is reported only for the Display Network. - * - * Generated from protobuf field optional double active_view_ctr = 185; - */ - protected $active_view_ctr = null; - /** - * A measurement of how often your ad has become viewable on a Display - * Network site. - * - * Generated from protobuf field optional int64 active_view_impressions = 186; - */ - protected $active_view_impressions = null; - /** - * The ratio of impressions that could be measured by Active View over the - * number of served impressions. - * - * Generated from protobuf field optional double active_view_measurability = 187; - */ - protected $active_view_measurability = null; - /** - * The cost of the impressions you received that were measurable by Active - * View. - * - * Generated from protobuf field optional int64 active_view_measurable_cost_micros = 188; - */ - protected $active_view_measurable_cost_micros = null; - /** - * The number of times your ads are appearing on placements in positions - * where they can be seen. - * - * Generated from protobuf field optional int64 active_view_measurable_impressions = 189; - */ - protected $active_view_measurable_impressions = null; - /** - * The percentage of time when your ad appeared on an Active View enabled site - * (measurable impressions) and was viewable (viewable impressions). - * - * Generated from protobuf field optional double active_view_viewability = 190; - */ - protected $active_view_viewability = null; - /** - * All conversions from interactions (as oppose to view through conversions) - * divided by the number of ad interactions. - * - * Generated from protobuf field optional double all_conversions_from_interactions_rate = 191; - */ - protected $all_conversions_from_interactions_rate = null; - /** - * The value of all conversions. - * - * Generated from protobuf field optional double all_conversions_value = 192; - */ - protected $all_conversions_value = null; - /** - * The value of all conversions. When this column is selected with date, the - * values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double all_conversions_value_by_conversion_date = 240; - */ - protected $all_conversions_value_by_conversion_date = 0.0; - /** - * All of new customers' lifetime conversion value. If you have set up - * customer acquisition goal at either account level or campaign level, this - * will include the additional conversion value from new customers for both - * biddable and non-biddable conversions. If your campaign has adopted the - * customer acquisition goal and selected "bid higher for new customers", - * these values will be included in "all_conversions_value". See - * https://support.google.com/google-ads/answer/12080169 for more details. - * - * Generated from protobuf field optional double all_new_customer_lifetime_value = 294; - */ - protected $all_new_customer_lifetime_value = null; - /** - * The total number of conversions. This includes all conversions regardless - * of the value of include_in_conversions_metric. - * - * Generated from protobuf field optional double all_conversions = 193; - */ - protected $all_conversions = null; - /** - * The total number of conversions. This includes all conversions regardless - * of the value of include_in_conversions_metric. When this column is selected - * with date, the values in date column means the conversion date. Details for - * the by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double all_conversions_by_conversion_date = 241; - */ - protected $all_conversions_by_conversion_date = 0.0; - /** - * The value of all conversions divided by the total cost of ad interactions - * (such as clicks for text ads or views for video ads). - * - * Generated from protobuf field optional double all_conversions_value_per_cost = 194; - */ - protected $all_conversions_value_per_cost = null; - /** - * The number of times people clicked the "Call" button to call a store during - * or after clicking an ad. This number doesn't include whether or not calls - * were connected, or the duration of any calls. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_click_to_call = 195; - */ - protected $all_conversions_from_click_to_call = null; - /** - * The number of times people clicked a "Get directions" button to navigate to - * a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_directions = 196; - */ - protected $all_conversions_from_directions = null; - /** - * The value of all conversions from interactions divided by the total number - * of interactions. - * - * Generated from protobuf field optional double all_conversions_from_interactions_value_per_interaction = 197; - */ - protected $all_conversions_from_interactions_value_per_interaction = null; - /** - * The number of times people clicked a link to view a store's menu after - * clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_menu = 198; - */ - protected $all_conversions_from_menu = null; - /** - * The number of times people placed an order at a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_order = 199; - */ - protected $all_conversions_from_order = null; - /** - * The number of other conversions (for example, posting a review or saving a - * location for a store) that occurred after people clicked an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_other_engagement = 200; - */ - protected $all_conversions_from_other_engagement = null; - /** - * Estimated number of times people visited a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_store_visit = 201; - */ - protected $all_conversions_from_store_visit = null; - /** - * The number of times that people were taken to a store's URL after clicking - * an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_store_website = 202; - */ - protected $all_conversions_from_store_website = null; - /** - * This metric is part of the Auction Insights report, and tells how often - * the ads of another participant showed as the very first ad above the - * organic search results. - * This percentage is computed only over the auctions that you appeared in - * the page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_absolute_top_impression_percentage = 258; - */ - protected $auction_insight_search_absolute_top_impression_percentage = null; - /** - * This metric is part of the Auction Insights report, and tells the - * percentage of impressions that another participant obtained, over the total - * number of impressions that your ads were eligible for. - * Any value below 0.1 is reported as 0.0999. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_impression_share = 259; - */ - protected $auction_insight_search_impression_share = null; - /** - * This metric is part of the Auction Insights report, and tells the - * percentage of impressions that your ads outranked (showed above) - * another participant in the auction, compared to the total number of - * impressions that your ads were eligible for. - * Any value below 0.1 is reported as 0.0999. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_outranking_share = 260; - */ - protected $auction_insight_search_outranking_share = null; - /** - * This metric is part of the Auction Insights report, and tells how often - * another participant's ad received an impression when your ad also received - * an impression. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_overlap_rate = 261; - */ - protected $auction_insight_search_overlap_rate = null; - /** - * This metric is part of the Auction Insights report, and tells how often - * another participant's ad was shown in a higher position than yours, when - * both of your ads were shown at the same page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_position_above_rate = 262; - */ - protected $auction_insight_search_position_above_rate = null; - /** - * This metric is part of the Auction Insights report, and tells how often - * the ads of another participant showed above the organic search results. - * This percentage is computed only over the auctions that you appeared in - * the page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_top_impression_percentage = 263; - */ - protected $auction_insight_search_top_impression_percentage = null; - /** - * The average amount you pay per interaction. This amount is the total cost - * of your ads divided by the total number of interactions. - * - * Generated from protobuf field optional double average_cost = 203; - */ - protected $average_cost = null; - /** - * The total cost of all clicks divided by the total number of clicks - * received. - * - * Generated from protobuf field optional double average_cpc = 204; - */ - protected $average_cpc = null; - /** - * The average amount that you've been charged for an ad engagement. This - * amount is the total cost of all ad engagements divided by the total number - * of ad engagements. - * - * Generated from protobuf field optional double average_cpe = 205; - */ - protected $average_cpe = null; - /** - * Average cost-per-thousand impressions (CPM). - * - * Generated from protobuf field optional double average_cpm = 206; - */ - protected $average_cpm = null; - /** - * The average amount you pay each time someone views your ad. - * The average CPV is defined by the total cost of all ad views divided by - * the number of views. - * - * Generated from protobuf field optional double average_cpv = 207; - */ - protected $average_cpv = null; - /** - * Average number of pages viewed per session. - * - * Generated from protobuf field optional double average_page_views = 208; - */ - protected $average_page_views = null; - /** - * Total duration of all sessions (in seconds) / number of sessions. Imported - * from Google Analytics. - * - * Generated from protobuf field optional double average_time_on_site = 209; - */ - protected $average_time_on_site = null; - /** - * An indication of how other advertisers are bidding on similar products. - * - * Generated from protobuf field optional double benchmark_average_max_cpc = 210; - */ - protected $benchmark_average_max_cpc = null; - /** - * Number of app installs. - * - * Generated from protobuf field optional double biddable_app_install_conversions = 254; - */ - protected $biddable_app_install_conversions = null; - /** - * Number of in-app actions. - * - * Generated from protobuf field optional double biddable_app_post_install_conversions = 255; - */ - protected $biddable_app_post_install_conversions = null; - /** - * An indication on how other advertisers' Shopping ads for similar products - * are performing based on how often people who see their ad click on it. - * - * Generated from protobuf field optional double benchmark_ctr = 211; - */ - protected $benchmark_ctr = null; - /** - * Percentage of clicks where the user only visited a single page on your - * site. Imported from Google Analytics. - * - * Generated from protobuf field optional double bounce_rate = 212; - */ - protected $bounce_rate = null; - /** - * The number of clicks. - * - * Generated from protobuf field optional int64 clicks = 131; - */ - protected $clicks = null; - /** - * The number of times your ad or your site's listing in the unpaid - * results was clicked. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 combined_clicks = 156; - */ - protected $combined_clicks = null; - /** - * The number of times your ad or your site's listing in the unpaid - * results was clicked (combined_clicks) divided by combined_queries. See the - * help page at https://support.google.com/google-ads/answer/3097241 for - * details. - * - * Generated from protobuf field optional double combined_clicks_per_query = 157; - */ - protected $combined_clicks_per_query = null; - /** - * The number of searches that returned pages from your site in the unpaid - * results or showed one of your text ads. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 combined_queries = 158; - */ - protected $combined_queries = null; - /** - * The estimated percent of times that your ad was eligible to show - * on the Display Network but didn't because your budget was too low. - * Note: Content budget lost impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double content_budget_lost_impression_share = 159; - */ - protected $content_budget_lost_impression_share = null; - /** - * The impressions you've received on the Display Network divided - * by the estimated number of impressions you were eligible to receive. - * Note: Content impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double content_impression_share = 160; - */ - protected $content_impression_share = null; - /** - * The last date/time a conversion tag for this conversion action successfully - * fired and was seen by Google Ads. This firing event may not have been the - * result of an attributable conversion (for example, because the tag was - * fired from a browser that did not previously click an ad from an - * appropriate advertiser). The date/time is in the customer's time zone. - * - * Generated from protobuf field optional string conversion_last_received_request_date_time = 161; - */ - protected $conversion_last_received_request_date_time = null; - /** - * The date of the most recent conversion for this conversion action. The date - * is in the customer's time zone. - * - * Generated from protobuf field optional string conversion_last_conversion_date = 162; - */ - protected $conversion_last_conversion_date = null; - /** - * The estimated percentage of impressions on the Display Network - * that your ads didn't receive due to poor Ad Rank. - * Note: Content rank lost impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double content_rank_lost_impression_share = 163; - */ - protected $content_rank_lost_impression_share = null; - /** - * Conversions from interactions divided by the number of ad interactions - * (such as clicks for text ads or views for video ads). This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double conversions_from_interactions_rate = 164; - */ - protected $conversions_from_interactions_rate = null; - /** - * The value of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions_value = 165; - */ - protected $conversions_value = null; - /** - * The value of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date - * columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double conversions_value_by_conversion_date = 242; - */ - protected $conversions_value_by_conversion_date = 0.0; - /** - * New customers' lifetime conversion value. If you have set up - * customer acquisition goal at either account level or campaign level, this - * will include the additional conversion value from new customers for - * biddable conversions. If your campaign has adopted the customer - * acquisition goal and selected "bid higher for new customers", these values - * will be included in "conversions_value" for optimization. See - * https://support.google.com/google-ads/answer/12080169 for more details. - * - * Generated from protobuf field optional double new_customer_lifetime_value = 293; - */ - protected $new_customer_lifetime_value = null; - /** - * The value of conversions divided by the cost of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. - * - * Generated from protobuf field optional double conversions_value_per_cost = 166; - */ - protected $conversions_value_per_cost = null; - /** - * The value of conversions from interactions divided by the number of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions_from_interactions_value_per_interaction = 167; - */ - protected $conversions_from_interactions_value_per_interaction = null; - /** - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions = 168; - */ - protected $conversions = null; - /** - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date - * columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double conversions_by_conversion_date = 243; - */ - protected $conversions_by_conversion_date = 0.0; - /** - * The sum of your cost-per-click (CPC) and cost-per-thousand impressions - * (CPM) costs during this period. - * - * Generated from protobuf field optional int64 cost_micros = 169; - */ - protected $cost_micros = null; - /** - * The cost of ad interactions divided by all conversions. - * - * Generated from protobuf field optional double cost_per_all_conversions = 170; - */ - protected $cost_per_all_conversions = null; - /** - * The cost of ad interactions divided by conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double cost_per_conversion = 171; - */ - protected $cost_per_conversion = null; - /** - * The cost of ad interactions divided by current model attributed - * conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double cost_per_current_model_attributed_conversion = 172; - */ - protected $cost_per_current_model_attributed_conversion = null; - /** - * Conversions from when a customer clicks on a Google Ads ad on one device, - * then converts on a different device or browser. - * Cross-device conversions are already included in all_conversions. - * - * Generated from protobuf field optional double cross_device_conversions = 173; - */ - protected $cross_device_conversions = null; - /** - * The sum of the value of cross-device conversions, in micros. - * - * Generated from protobuf field optional int64 cross_device_conversions_value_micros = 312; - */ - protected $cross_device_conversions_value_micros = null; - /** - * The number of clicks your ad receives (Clicks) divided by the number - * of times your ad is shown (Impressions). - * - * Generated from protobuf field optional double ctr = 174; - */ - protected $ctr = null; - /** - * Shows how your historic conversions data would look under the attribution - * model you've currently selected. This only includes conversion actions - * which include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions = 175; - */ - protected $current_model_attributed_conversions = null; - /** - * Current model attributed conversions from interactions divided by the - * number of ad interactions (such as clicks for text ads or views for video - * ads). This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_from_interactions_rate = 176; - */ - protected $current_model_attributed_conversions_from_interactions_rate = null; - /** - * The value of current model attributed conversions from interactions divided - * by the number of ad interactions. This only includes conversion actions - * which include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_from_interactions_value_per_interaction = 177; - */ - protected $current_model_attributed_conversions_from_interactions_value_per_interaction = null; - /** - * The value of current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_value = 178; - */ - protected $current_model_attributed_conversions_value = null; - /** - * The value of current model attributed conversions divided by the cost of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_value_per_cost = 179; - */ - protected $current_model_attributed_conversions_value_per_cost = null; - /** - * How often people engage with your ad after it's shown to them. This is the - * number of ad expansions divided by the number of times your ad is shown. - * - * Generated from protobuf field optional double engagement_rate = 180; - */ - protected $engagement_rate = null; - /** - * The number of engagements. - * An engagement occurs when a viewer expands your Lightbox ad. Also, in the - * future, other ad types may support engagement metrics. - * - * Generated from protobuf field optional int64 engagements = 181; - */ - protected $engagements = null; - /** - * Average lead value based on clicks. - * - * Generated from protobuf field optional double hotel_average_lead_value_micros = 213; - */ - protected $hotel_average_lead_value_micros = null; - /** - * Commission bid rate in micros. A 20% commission is represented as - * 200,000. - * - * Generated from protobuf field optional int64 hotel_commission_rate_micros = 256; - */ - protected $hotel_commission_rate_micros = null; - /** - * Expected commission cost. The result of multiplying the commission value - * times the hotel_commission_rate in advertiser currency. - * - * Generated from protobuf field optional double hotel_expected_commission_cost = 257; - */ - protected $hotel_expected_commission_cost = null; - /** - * The average price difference between the price offered by reporting hotel - * advertiser and the cheapest price offered by the competing advertiser. - * - * Generated from protobuf field optional double hotel_price_difference_percentage = 214; - */ - protected $hotel_price_difference_percentage = null; - /** - * The number of impressions that hotel partners could have had given their - * feed performance. - * - * Generated from protobuf field optional int64 hotel_eligible_impressions = 215; - */ - protected $hotel_eligible_impressions = null; - /** - * The creative historical quality score. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; - */ - protected $historical_creative_quality_score = 0; - /** - * The quality of historical landing page experience. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_landing_page_quality_score = 81; - */ - protected $historical_landing_page_quality_score = 0; - /** - * The historical quality score. - * - * Generated from protobuf field optional int64 historical_quality_score = 216; - */ - protected $historical_quality_score = null; - /** - * The historical search predicted click through rate (CTR). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_search_predicted_ctr = 83; - */ - protected $historical_search_predicted_ctr = 0; - /** - * The number of times the ad was forwarded to someone else as a message. - * - * Generated from protobuf field optional int64 gmail_forwards = 217; - */ - protected $gmail_forwards = null; - /** - * The number of times someone has saved your Gmail ad to their inbox as a - * message. - * - * Generated from protobuf field optional int64 gmail_saves = 218; - */ - protected $gmail_saves = null; - /** - * The number of clicks to the landing page on the expanded state of Gmail - * ads. - * - * Generated from protobuf field optional int64 gmail_secondary_clicks = 219; - */ - protected $gmail_secondary_clicks = null; - /** - * The number of times a store's location-based ad was shown. - * This metric applies to feed items only. - * - * Generated from protobuf field optional int64 impressions_from_store_reach = 220; - */ - protected $impressions_from_store_reach = null; - /** - * Count of how often your ad has appeared on a search results page or - * website on the Google Network. - * - * Generated from protobuf field optional int64 impressions = 221; - */ - protected $impressions = null; - /** - * How often people interact with your ad after it is shown to them. - * This is the number of interactions divided by the number of times your ad - * is shown. - * - * Generated from protobuf field optional double interaction_rate = 222; - */ - protected $interaction_rate = null; - /** - * The number of interactions. - * An interaction is the main user action associated with an ad format-clicks - * for text and shopping ads, views for video ads, and so on. - * - * Generated from protobuf field optional int64 interactions = 223; - */ - protected $interactions = null; - /** - * The types of payable and free interactions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.InteractionEventTypeEnum.InteractionEventType interaction_event_types = 100; - */ - private $interaction_event_types; - /** - * The percentage of clicks filtered out of your total number of clicks - * (filtered + non-filtered clicks) during the reporting period. - * - * Generated from protobuf field optional double invalid_click_rate = 224; - */ - protected $invalid_click_rate = null; - /** - * Number of clicks Google considers illegitimate and doesn't charge you for. - * - * Generated from protobuf field optional int64 invalid_clicks = 225; - */ - protected $invalid_clicks = null; - /** - * Number of message chats initiated for Click To Message impressions that - * were message tracking eligible. - * - * Generated from protobuf field optional int64 message_chats = 226; - */ - protected $message_chats = null; - /** - * Number of Click To Message impressions that were message tracking eligible. - * - * Generated from protobuf field optional int64 message_impressions = 227; - */ - protected $message_impressions = null; - /** - * Number of message chats initiated (message_chats) divided by the number - * of message impressions (message_impressions). - * Rate at which a user initiates a message chat from an ad impression with - * a messaging option and message tracking enabled. - * Note that this rate can be more than 1.0 for a given message impression. - * - * Generated from protobuf field optional double message_chat_rate = 228; - */ - protected $message_chat_rate = null; - /** - * The percentage of mobile clicks that go to a mobile-friendly page. - * - * Generated from protobuf field optional double mobile_friendly_clicks_percentage = 229; - */ - protected $mobile_friendly_clicks_percentage = null; - /** - * Total optimization score uplift of all recommendations. - * - * Generated from protobuf field optional double optimization_score_uplift = 247; - */ - protected $optimization_score_uplift = null; - /** - * URL for the optimization score page in the Google Ads web interface. - * This metric can be selected from `customer` or `campaign`, and can be - * segmented by `segments.recommendation_type`. For example, `SELECT - * metrics.optimization_score_url, segments.recommendation_type FROM - * customer` will return a URL for each unique (customer, recommendation_type) - * combination. - * - * Generated from protobuf field optional string optimization_score_url = 248; - */ - protected $optimization_score_url = null; - /** - * The number of times someone clicked your site's listing in the unpaid - * results for a particular query. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 organic_clicks = 230; - */ - protected $organic_clicks = null; - /** - * The number of times someone clicked your site's listing in the unpaid - * results (organic_clicks) divided by the total number of searches that - * returned pages from your site (organic_queries). See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional double organic_clicks_per_query = 231; - */ - protected $organic_clicks_per_query = null; - /** - * The number of listings for your site in the unpaid search results. See the - * help page at https://support.google.com/google-ads/answer/3097241 for - * details. - * - * Generated from protobuf field optional int64 organic_impressions = 232; - */ - protected $organic_impressions = null; - /** - * The number of times a page from your site was listed in the unpaid search - * results (organic_impressions) divided by the number of searches returning - * your site's listing in the unpaid results (organic_queries). See the help - * page at https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional double organic_impressions_per_query = 233; - */ - protected $organic_impressions_per_query = null; - /** - * The total number of searches that returned your site's listing in the - * unpaid results. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 organic_queries = 234; - */ - protected $organic_queries = null; - /** - * Percentage of first-time sessions (from people who had never visited your - * site before). Imported from Google Analytics. - * - * Generated from protobuf field optional double percent_new_visitors = 235; - */ - protected $percent_new_visitors = null; - /** - * Number of offline phone calls. - * - * Generated from protobuf field optional int64 phone_calls = 236; - */ - protected $phone_calls = null; - /** - * Number of offline phone impressions. - * - * Generated from protobuf field optional int64 phone_impressions = 237; - */ - protected $phone_impressions = null; - /** - * Number of phone calls received (phone_calls) divided by the number of - * times your phone number is shown (phone_impressions). - * - * Generated from protobuf field optional double phone_through_rate = 238; - */ - protected $phone_through_rate = null; - /** - * Your clickthrough rate (Ctr) divided by the average clickthrough rate of - * all advertisers on the websites that show your ads. Measures how your ads - * perform on Display Network sites compared to other ads on the same sites. - * - * Generated from protobuf field optional double relative_ctr = 239; - */ - protected $relative_ctr = null; - /** - * The percentage of the customer's Shopping or Search ad impressions that are - * shown in the most prominent Shopping position. See - * https://support.google.com/google-ads/answer/7501826 - * for details. Any value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_absolute_top_impression_share = 136; - */ - protected $search_absolute_top_impression_share = null; - /** - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to a low budget. Note: Search - * budget lost absolute top impression share is reported in the range of 0 to - * 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_absolute_top_impression_share = 137; - */ - protected $search_budget_lost_absolute_top_impression_share = null; - /** - * The estimated percent of times that your ad was eligible to show on the - * Search Network but didn't because your budget was too low. Note: Search - * budget lost impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_impression_share = 138; - */ - protected $search_budget_lost_impression_share = null; - /** - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to a low budget. Note: Search - * budget lost top impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_top_impression_share = 139; - */ - protected $search_budget_lost_top_impression_share = null; - /** - * The number of clicks you've received on the Search Network - * divided by the estimated number of clicks you were eligible to receive. - * Note: Search click share is reported in the range of 0.1 to 1. Any value - * below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_click_share = 140; - */ - protected $search_click_share = null; - /** - * The impressions you've received divided by the estimated number of - * impressions you were eligible to receive on the Search Network for search - * terms that matched your keywords exactly (or were close variants of your - * keyword), regardless of your keyword match types. Note: Search exact match - * impression share is reported in the range of 0.1 to 1. Any value below 0.1 - * is reported as 0.0999. - * - * Generated from protobuf field optional double search_exact_match_impression_share = 141; - */ - protected $search_exact_match_impression_share = null; - /** - * The impressions you've received on the Search Network divided - * by the estimated number of impressions you were eligible to receive. - * Note: Search impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_impression_share = 142; - */ - protected $search_impression_share = null; - /** - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to poor Ad Rank. - * Note: Search rank lost absolute top impression share is reported in the - * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_absolute_top_impression_share = 143; - */ - protected $search_rank_lost_absolute_top_impression_share = null; - /** - * The estimated percentage of impressions on the Search Network - * that your ads didn't receive due to poor Ad Rank. - * Note: Search rank lost impression share is reported in the range of 0 to - * 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_impression_share = 144; - */ - protected $search_rank_lost_impression_share = null; - /** - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to poor Ad Rank. - * Note: Search rank lost top impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_top_impression_share = 145; - */ - protected $search_rank_lost_top_impression_share = null; - /** - * The impressions you've received in the top location (anywhere above the - * organic search results) compared to the estimated number of impressions you - * were eligible to receive in the top location. - * Note: Search top impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_top_impression_share = 146; - */ - protected $search_top_impression_share = null; - /** - * Search volume range for a search term insight category. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.SearchVolumeRange search_volume = 295; - */ - protected $search_volume = null; - /** - * A measure of how quickly your page loads after clicks on your mobile ads. - * The score is a range from 1 to 10, 10 being the fastest. - * - * Generated from protobuf field optional int64 speed_score = 147; - */ - protected $speed_score = null; - /** - * The average Target CPA, or unset if not available (for example, for - * campaigns that had traffic from portfolio bidding strategies or non-tCPA). - * - * Generated from protobuf field optional int64 average_target_cpa_micros = 290; - */ - protected $average_target_cpa_micros = null; - /** - * The average Target ROAS, or unset if not available (for example, for - * campaigns that had traffic from portfolio bidding strategies or non-tROAS). - * - * Generated from protobuf field optional double average_target_roas = 250; - */ - protected $average_target_roas = null; - /** - * The percent of your ad impressions that are shown anywhere above the - * organic search results. - * - * Generated from protobuf field optional double top_impression_percentage = 148; - */ - protected $top_impression_percentage = null; - /** - * The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - * that reach a valid AMP page. - * - * Generated from protobuf field optional double valid_accelerated_mobile_pages_clicks_percentage = 149; - */ - protected $valid_accelerated_mobile_pages_clicks_percentage = null; - /** - * The value of all conversions divided by the number of all conversions. - * - * Generated from protobuf field optional double value_per_all_conversions = 150; - */ - protected $value_per_all_conversions = null; - /** - * The value of all conversions divided by the number of all conversions. When - * this column is selected with date, the values in date column means the - * conversion date. Details for the by_conversion_date columns are available - * at https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field optional double value_per_all_conversions_by_conversion_date = 244; - */ - protected $value_per_all_conversions_by_conversion_date = null; - /** - * The value of conversions divided by the number of conversions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. - * - * Generated from protobuf field optional double value_per_conversion = 151; - */ - protected $value_per_conversion = null; - /** - * The value of conversions divided by the number of conversions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. When this column is selected with - * date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field optional double value_per_conversions_by_conversion_date = 245; - */ - protected $value_per_conversions_by_conversion_date = null; - /** - * The value of current model attributed conversions divided by the number of - * the conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double value_per_current_model_attributed_conversion = 152; - */ - protected $value_per_current_model_attributed_conversion = null; - /** - * Percentage of impressions where the viewer watched all of your video. - * - * Generated from protobuf field optional double video_quartile_p100_rate = 132; - */ - protected $video_quartile_p100_rate = null; - /** - * Percentage of impressions where the viewer watched 25% of your video. - * - * Generated from protobuf field optional double video_quartile_p25_rate = 133; - */ - protected $video_quartile_p25_rate = null; - /** - * Percentage of impressions where the viewer watched 50% of your video. - * - * Generated from protobuf field optional double video_quartile_p50_rate = 134; - */ - protected $video_quartile_p50_rate = null; - /** - * Percentage of impressions where the viewer watched 75% of your video. - * - * Generated from protobuf field optional double video_quartile_p75_rate = 135; - */ - protected $video_quartile_p75_rate = null; - /** - * The number of views your TrueView video ad receives divided by its number - * of impressions, including thumbnail impressions for TrueView in-display - * ads. - * - * Generated from protobuf field optional double video_view_rate = 153; - */ - protected $video_view_rate = null; - /** - * The number of times your video ads were viewed. - * - * Generated from protobuf field optional int64 video_views = 154; - */ - protected $video_views = null; - /** - * The total number of view-through conversions. - * These happen when a customer sees an image or rich media ad, then later - * completes a conversion on your site without interacting with (for example, - * clicking on) another ad. - * - * Generated from protobuf field optional int64 view_through_conversions = 155; - */ - protected $view_through_conversions = null; - /** - * The number of iOS Store Kit Ad Network conversions. - * - * Generated from protobuf field int64 sk_ad_network_installs = 246; - */ - protected $sk_ad_network_installs = 0; - /** - * The total number of iOS Store Kit Ad Network conversions. - * - * Generated from protobuf field int64 sk_ad_network_total_conversions = 292; - */ - protected $sk_ad_network_total_conversions = 0; - /** - * Clicks from properties not owned by the publisher for which the traffic - * the publisher has paid for or acquired through incentivized activity - * - * Generated from protobuf field int64 publisher_purchased_clicks = 264; - */ - protected $publisher_purchased_clicks = 0; - /** - * Clicks from properties for which the traffic the publisher has not paid - * for or acquired through incentivized activity - * - * Generated from protobuf field int64 publisher_organic_clicks = 265; - */ - protected $publisher_organic_clicks = 0; - /** - * Clicks from traffic which is not identified as "Publisher Purchased" or - * "Publisher Organic" - * - * Generated from protobuf field int64 publisher_unknown_clicks = 266; - */ - protected $publisher_unknown_clicks = 0; - /** - * Number of call button clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_click_to_call = 267; - */ - protected $all_conversions_from_location_asset_click_to_call = null; - /** - * Number of driving directions clicks on any location surface after a - * chargeable ad event (click or impression). This measure is coming - * from Asset based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_directions = 268; - */ - protected $all_conversions_from_location_asset_directions = null; - /** - * Number of menu link clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_menu = 269; - */ - protected $all_conversions_from_location_asset_menu = null; - /** - * Number of order clicks on any location surface after a chargeable ad event - * (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_order = 270; - */ - protected $all_conversions_from_location_asset_order = null; - /** - * Number of other types of local action clicks on any location surface after - * a chargeable ad event (click or impression). This measure is coming - * from Asset based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_other_engagement = 271; - */ - protected $all_conversions_from_location_asset_other_engagement = null; - /** - * Estimated number of visits to the store after a chargeable - * ad event (click or impression). This measure is coming from Asset - * based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_store_visits = 272; - */ - protected $all_conversions_from_location_asset_store_visits = null; - /** - * Number of website URL clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_website = 273; - */ - protected $all_conversions_from_location_asset_website = null; - /** - * Number of impressions in which the store location was shown or the location - * was used for targeting. This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional int64 eligible_impressions_from_location_asset_store_reach = 274; - */ - protected $eligible_impressions_from_location_asset_store_reach = null; - /** - * Number of call button clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_click_to_call = 275; - */ - protected $view_through_conversions_from_location_asset_click_to_call = null; - /** - * Number of driving directions clicks on any location surface after an - * impression. This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_directions = 276; - */ - protected $view_through_conversions_from_location_asset_directions = null; - /** - * Number of menu link clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_menu = 277; - */ - protected $view_through_conversions_from_location_asset_menu = null; - /** - * Number of order clicks on any location surface after an impression. This - * measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_order = 278; - */ - protected $view_through_conversions_from_location_asset_order = null; - /** - * Number of other types of local action clicks on any location surface after - * an impression. This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_other_engagement = 279; - */ - protected $view_through_conversions_from_location_asset_other_engagement = null; - /** - * Estimated number of visits to the store after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_store_visits = 280; - */ - protected $view_through_conversions_from_location_asset_store_visits = null; - /** - * Number of website URL clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_website = 281; - */ - protected $view_through_conversions_from_location_asset_website = null; - /** - * Orders is the total number of purchase conversions you received attributed - * to your ads. - * How it works: You report conversions with cart data for - * completed purchases on your website. If a conversion is attributed to - * previous interactions with your ads (clicks for text or Shopping ads, views - * for video ads etc.) it's counted as an order. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order on your website. Even though they bought 2 - * products, this would count as 1 order. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double orders = 296; - */ - protected $orders = null; - /** - * Average order value is the average revenue you made per order attributed to - * your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Average order value is the total revenue from your orders - * divided by the total number of orders. - * Example: You received 3 orders which made $10, $15 and $20 worth of - * revenue. The average order value is $15 = ($10 + $15 + $20)/3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 average_order_value_micros = 297; - */ - protected $average_order_value_micros = null; - /** - * Average cart size is the average number of products in each order - * attributed to your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Average cart size is the total number of products sold - * divided by the total number of orders you received. - * Example: You received 2 orders, the first included 3 products and the - * second included 2. The average cart size is 2.5 products = (3+2)/2. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double average_cart_size = 298; - */ - protected $average_cart_size = null; - /** - * Cost of goods sold (COGS) is the total cost of the products you sold in - * orders attributed to your ads. - * How it works: You can add a cost of goods sold value to every product in - * Merchant Center. If you report conversions with cart data, the products you - * sold are matched with their cost of goods sold value and this can be used - * to calculate the gross profit you made on each order. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The cost of goods sold for this order - * is $8 = $3 + $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cost_of_goods_sold_micros = 299; - */ - protected $cost_of_goods_sold_micros = null; - /** - * Gross profit is the profit you made from orders attributed to your ads - * minus the cost of goods sold (COGS). - * How it works: Gross profit is the revenue you made from sales attributed to - * your ads minus cost of goods sold. Gross profit calculations only include - * products that have a cost of goods sold value in Merchant Center. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order from your website. The hat is priced $10 and - * the shirt is priced $20. The hat has a cost of goods sold value of $3, but - * the shirt has no cost of goods sold value. Gross profit for this order will - * only take into account the hat, so it's $7 = $10 - $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 gross_profit_micros = 300; - */ - protected $gross_profit_micros = null; - /** - * Gross profit margin is the percentage gross profit you made from orders - * attributed to your ads, after taking out the cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. Gross profit margin is the gross profit you made divided - * by your total revenue and multiplied by 100%. Gross profit margin - * calculations only include products that have a cost of goods sold value in - * Merchant Center. - * Example: Someone bought a hat and a shirt in an order on your website. The - * hat is priced $10 and has a cost of goods sold value of $3. The shirt is - * priced $20 but has no cost of goods sold value. Gross profit margin for - * this order will only take into account the hat because it has a cost of - * goods sold value, so it's 70% = ($10 - $3)/$10 x 100%. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double gross_profit_margin = 301; - */ - protected $gross_profit_margin = null; - /** - * Revenue is the total amount you made from orders attributed to your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Revenue is the total value of all the orders you received - * attributed to your ads, minus any discount. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order from your website. The hat is priced $10 and - * the shirt is priced $20. The entire order has a $5 discount. The revenue - * from this order is $25 = ($10 + $20) - $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 revenue_micros = 302; - */ - protected $revenue_micros = null; - /** - * Units sold is the total number of products sold from orders attributed to - * your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Units sold is the total number of products sold from all - * orders attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The units sold in this order is 3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double units_sold = 303; - */ - protected $units_sold = null; - /** - * Cross-sell cost of goods sold (COGS) is the total cost of products sold as - * a result of advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell cost of goods sold is the total cost of - * the products sold that weren't advertised. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The cross-sell cost of goods sold for - * this order is $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_cost_of_goods_sold_micros = 304; - */ - protected $cross_sell_cost_of_goods_sold_micros = null; - /** - * Cross-sell gross profit is the profit you made from products sold as a - * result of advertising a different product, minus cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the purchase is a sold - * product. If these products don't match then this is considered cross-sell. - * Cross-sell gross profit is the revenue you made from cross-sell attributed - * to your ads minus the cost of the goods sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The shirt is priced $20 and has a cost of goods sold value - * of $5. The cross-sell gross profit of this order is $15 = $20 - $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_gross_profit_micros = 305; - */ - protected $cross_sell_gross_profit_micros = null; - /** - * Cross-sell revenue is the total amount you made from products sold as a - * result of advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell revenue is the total value you made from - * cross-sell attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The - * cross-sell revenue of this order is $20. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_revenue_micros = 306; - */ - protected $cross_sell_revenue_micros = null; - /** - * Cross-sell units sold is the total number of products sold as a result of - * advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell units sold is the total number of - * cross-sold products from all orders attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The cross-sell units sold in this order is 2. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double cross_sell_units_sold = 307; - */ - protected $cross_sell_units_sold = null; - /** - * Lead cost of goods sold (COGS) is the total cost of products sold as a - * result of advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with has an associated - * product (see Shopping Ads) then this product is considered the advertised - * product. Any product included in the order the customer places is a sold - * product. If the advertised and sold products match, then the cost of these - * goods is counted under lead cost of goods sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The lead cost of goods sold for this - * order is $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_cost_of_goods_sold_micros = 308; - */ - protected $lead_cost_of_goods_sold_micros = null; - /** - * Lead gross profit is the profit you made from products sold as a result of - * advertising the same product, minus cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the revenue you made from these sales minus the cost of goods sold is your - * lead gross profit. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and has a cost of goods sold value - * of $3. The lead gross profit of this order is $7 = $10 - $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_gross_profit_micros = 309; - */ - protected $lead_gross_profit_micros = null; - /** - * Lead revenue is the total amount you made from products sold as a result of - * advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the total value you made from the sales of these products is shown under - * lead revenue. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The - * lead revenue of this order is $10. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_revenue_micros = 310; - */ - protected $lead_revenue_micros = null; - /** - * Lead units sold is the total number of products sold as a result of - * advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the total number of these products sold is shown under lead units sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The lead units sold in this order is 1. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double lead_units_sold = 311; - */ - protected $lead_units_sold = null; - /** - * The number of unique users who saw your ad during the requested time - * period. This metric cannot be aggregated, and can only be requested for - * date ranges of 92 days or less. This metric is available for following - * campaign types - Display, Video, Discovery and App. - * - * Generated from protobuf field optional int64 unique_users = 319; - */ - protected $unique_users = null; - /** - * The average number of times a unique user saw your ad during the requested - * time period. This metric cannot be aggregated, and can only be requested - * for date ranges of 92 days or less. This metric is available for following - * campaign types - Display, Video, Discovery and App. - * - * Generated from protobuf field optional double average_impression_frequency_per_user = 320; - */ - protected $average_impression_frequency_per_user = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $absolute_top_impression_percentage - * The percent of your ad impressions that are shown as the very first ad - * above the organic search results. - * @type float $active_view_cpm - * Average cost of viewable impressions (`active_view_impressions`). - * @type float $active_view_ctr - * Active view measurable clicks divided by active view viewable impressions. - * This metric is reported only for the Display Network. - * @type int|string $active_view_impressions - * A measurement of how often your ad has become viewable on a Display - * Network site. - * @type float $active_view_measurability - * The ratio of impressions that could be measured by Active View over the - * number of served impressions. - * @type int|string $active_view_measurable_cost_micros - * The cost of the impressions you received that were measurable by Active - * View. - * @type int|string $active_view_measurable_impressions - * The number of times your ads are appearing on placements in positions - * where they can be seen. - * @type float $active_view_viewability - * The percentage of time when your ad appeared on an Active View enabled site - * (measurable impressions) and was viewable (viewable impressions). - * @type float $all_conversions_from_interactions_rate - * All conversions from interactions (as oppose to view through conversions) - * divided by the number of ad interactions. - * @type float $all_conversions_value - * The value of all conversions. - * @type float $all_conversions_value_by_conversion_date - * The value of all conversions. When this column is selected with date, the - * values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * @type float $all_new_customer_lifetime_value - * All of new customers' lifetime conversion value. If you have set up - * customer acquisition goal at either account level or campaign level, this - * will include the additional conversion value from new customers for both - * biddable and non-biddable conversions. If your campaign has adopted the - * customer acquisition goal and selected "bid higher for new customers", - * these values will be included in "all_conversions_value". See - * https://support.google.com/google-ads/answer/12080169 for more details. - * @type float $all_conversions - * The total number of conversions. This includes all conversions regardless - * of the value of include_in_conversions_metric. - * @type float $all_conversions_by_conversion_date - * The total number of conversions. This includes all conversions regardless - * of the value of include_in_conversions_metric. When this column is selected - * with date, the values in date column means the conversion date. Details for - * the by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * @type float $all_conversions_value_per_cost - * The value of all conversions divided by the total cost of ad interactions - * (such as clicks for text ads or views for video ads). - * @type float $all_conversions_from_click_to_call - * The number of times people clicked the "Call" button to call a store during - * or after clicking an ad. This number doesn't include whether or not calls - * were connected, or the duration of any calls. - * This metric applies to feed items only. - * @type float $all_conversions_from_directions - * The number of times people clicked a "Get directions" button to navigate to - * a store after clicking an ad. - * This metric applies to feed items only. - * @type float $all_conversions_from_interactions_value_per_interaction - * The value of all conversions from interactions divided by the total number - * of interactions. - * @type float $all_conversions_from_menu - * The number of times people clicked a link to view a store's menu after - * clicking an ad. - * This metric applies to feed items only. - * @type float $all_conversions_from_order - * The number of times people placed an order at a store after clicking an ad. - * This metric applies to feed items only. - * @type float $all_conversions_from_other_engagement - * The number of other conversions (for example, posting a review or saving a - * location for a store) that occurred after people clicked an ad. - * This metric applies to feed items only. - * @type float $all_conversions_from_store_visit - * Estimated number of times people visited a store after clicking an ad. - * This metric applies to feed items only. - * @type float $all_conversions_from_store_website - * The number of times that people were taken to a store's URL after clicking - * an ad. - * This metric applies to feed items only. - * @type float $auction_insight_search_absolute_top_impression_percentage - * This metric is part of the Auction Insights report, and tells how often - * the ads of another participant showed as the very first ad above the - * organic search results. - * This percentage is computed only over the auctions that you appeared in - * the page. - * This metric is not publicly available. - * @type float $auction_insight_search_impression_share - * This metric is part of the Auction Insights report, and tells the - * percentage of impressions that another participant obtained, over the total - * number of impressions that your ads were eligible for. - * Any value below 0.1 is reported as 0.0999. - * This metric is not publicly available. - * @type float $auction_insight_search_outranking_share - * This metric is part of the Auction Insights report, and tells the - * percentage of impressions that your ads outranked (showed above) - * another participant in the auction, compared to the total number of - * impressions that your ads were eligible for. - * Any value below 0.1 is reported as 0.0999. - * This metric is not publicly available. - * @type float $auction_insight_search_overlap_rate - * This metric is part of the Auction Insights report, and tells how often - * another participant's ad received an impression when your ad also received - * an impression. - * This metric is not publicly available. - * @type float $auction_insight_search_position_above_rate - * This metric is part of the Auction Insights report, and tells how often - * another participant's ad was shown in a higher position than yours, when - * both of your ads were shown at the same page. - * This metric is not publicly available. - * @type float $auction_insight_search_top_impression_percentage - * This metric is part of the Auction Insights report, and tells how often - * the ads of another participant showed above the organic search results. - * This percentage is computed only over the auctions that you appeared in - * the page. - * This metric is not publicly available. - * @type float $average_cost - * The average amount you pay per interaction. This amount is the total cost - * of your ads divided by the total number of interactions. - * @type float $average_cpc - * The total cost of all clicks divided by the total number of clicks - * received. - * @type float $average_cpe - * The average amount that you've been charged for an ad engagement. This - * amount is the total cost of all ad engagements divided by the total number - * of ad engagements. - * @type float $average_cpm - * Average cost-per-thousand impressions (CPM). - * @type float $average_cpv - * The average amount you pay each time someone views your ad. - * The average CPV is defined by the total cost of all ad views divided by - * the number of views. - * @type float $average_page_views - * Average number of pages viewed per session. - * @type float $average_time_on_site - * Total duration of all sessions (in seconds) / number of sessions. Imported - * from Google Analytics. - * @type float $benchmark_average_max_cpc - * An indication of how other advertisers are bidding on similar products. - * @type float $biddable_app_install_conversions - * Number of app installs. - * @type float $biddable_app_post_install_conversions - * Number of in-app actions. - * @type float $benchmark_ctr - * An indication on how other advertisers' Shopping ads for similar products - * are performing based on how often people who see their ad click on it. - * @type float $bounce_rate - * Percentage of clicks where the user only visited a single page on your - * site. Imported from Google Analytics. - * @type int|string $clicks - * The number of clicks. - * @type int|string $combined_clicks - * The number of times your ad or your site's listing in the unpaid - * results was clicked. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * @type float $combined_clicks_per_query - * The number of times your ad or your site's listing in the unpaid - * results was clicked (combined_clicks) divided by combined_queries. See the - * help page at https://support.google.com/google-ads/answer/3097241 for - * details. - * @type int|string $combined_queries - * The number of searches that returned pages from your site in the unpaid - * results or showed one of your text ads. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * @type float $content_budget_lost_impression_share - * The estimated percent of times that your ad was eligible to show - * on the Display Network but didn't because your budget was too low. - * Note: Content budget lost impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * @type float $content_impression_share - * The impressions you've received on the Display Network divided - * by the estimated number of impressions you were eligible to receive. - * Note: Content impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * @type string $conversion_last_received_request_date_time - * The last date/time a conversion tag for this conversion action successfully - * fired and was seen by Google Ads. This firing event may not have been the - * result of an attributable conversion (for example, because the tag was - * fired from a browser that did not previously click an ad from an - * appropriate advertiser). The date/time is in the customer's time zone. - * @type string $conversion_last_conversion_date - * The date of the most recent conversion for this conversion action. The date - * is in the customer's time zone. - * @type float $content_rank_lost_impression_share - * The estimated percentage of impressions on the Display Network - * that your ads didn't receive due to poor Ad Rank. - * Note: Content rank lost impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * @type float $conversions_from_interactions_rate - * Conversions from interactions divided by the number of ad interactions - * (such as clicks for text ads or views for video ads). This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * @type float $conversions_value - * The value of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $conversions_value_by_conversion_date - * The value of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date - * columns are available at - * https://support.google.com/google-ads/answer/9549009. - * @type float $new_customer_lifetime_value - * New customers' lifetime conversion value. If you have set up - * customer acquisition goal at either account level or campaign level, this - * will include the additional conversion value from new customers for - * biddable conversions. If your campaign has adopted the customer - * acquisition goal and selected "bid higher for new customers", these values - * will be included in "conversions_value" for optimization. See - * https://support.google.com/google-ads/answer/12080169 for more details. - * @type float $conversions_value_per_cost - * The value of conversions divided by the cost of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. - * @type float $conversions_from_interactions_value_per_interaction - * The value of conversions from interactions divided by the number of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $conversions - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $conversions_by_conversion_date - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date - * columns are available at - * https://support.google.com/google-ads/answer/9549009. - * @type int|string $cost_micros - * The sum of your cost-per-click (CPC) and cost-per-thousand impressions - * (CPM) costs during this period. - * @type float $cost_per_all_conversions - * The cost of ad interactions divided by all conversions. - * @type float $cost_per_conversion - * The cost of ad interactions divided by conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * @type float $cost_per_current_model_attributed_conversion - * The cost of ad interactions divided by current model attributed - * conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $cross_device_conversions - * Conversions from when a customer clicks on a Google Ads ad on one device, - * then converts on a different device or browser. - * Cross-device conversions are already included in all_conversions. - * @type int|string $cross_device_conversions_value_micros - * The sum of the value of cross-device conversions, in micros. - * @type float $ctr - * The number of clicks your ad receives (Clicks) divided by the number - * of times your ad is shown (Impressions). - * @type float $current_model_attributed_conversions - * Shows how your historic conversions data would look under the attribution - * model you've currently selected. This only includes conversion actions - * which include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $current_model_attributed_conversions_from_interactions_rate - * Current model attributed conversions from interactions divided by the - * number of ad interactions (such as clicks for text ads or views for video - * ads). This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $current_model_attributed_conversions_from_interactions_value_per_interaction - * The value of current model attributed conversions from interactions divided - * by the number of ad interactions. This only includes conversion actions - * which include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $current_model_attributed_conversions_value - * The value of current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * @type float $current_model_attributed_conversions_value_per_cost - * The value of current model attributed conversions divided by the cost of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $engagement_rate - * How often people engage with your ad after it's shown to them. This is the - * number of ad expansions divided by the number of times your ad is shown. - * @type int|string $engagements - * The number of engagements. - * An engagement occurs when a viewer expands your Lightbox ad. Also, in the - * future, other ad types may support engagement metrics. - * @type float $hotel_average_lead_value_micros - * Average lead value based on clicks. - * @type int|string $hotel_commission_rate_micros - * Commission bid rate in micros. A 20% commission is represented as - * 200,000. - * @type float $hotel_expected_commission_cost - * Expected commission cost. The result of multiplying the commission value - * times the hotel_commission_rate in advertiser currency. - * @type float $hotel_price_difference_percentage - * The average price difference between the price offered by reporting hotel - * advertiser and the cheapest price offered by the competing advertiser. - * @type int|string $hotel_eligible_impressions - * The number of impressions that hotel partners could have had given their - * feed performance. - * @type int $historical_creative_quality_score - * The creative historical quality score. - * @type int $historical_landing_page_quality_score - * The quality of historical landing page experience. - * @type int|string $historical_quality_score - * The historical quality score. - * @type int $historical_search_predicted_ctr - * The historical search predicted click through rate (CTR). - * @type int|string $gmail_forwards - * The number of times the ad was forwarded to someone else as a message. - * @type int|string $gmail_saves - * The number of times someone has saved your Gmail ad to their inbox as a - * message. - * @type int|string $gmail_secondary_clicks - * The number of clicks to the landing page on the expanded state of Gmail - * ads. - * @type int|string $impressions_from_store_reach - * The number of times a store's location-based ad was shown. - * This metric applies to feed items only. - * @type int|string $impressions - * Count of how often your ad has appeared on a search results page or - * website on the Google Network. - * @type float $interaction_rate - * How often people interact with your ad after it is shown to them. - * This is the number of interactions divided by the number of times your ad - * is shown. - * @type int|string $interactions - * The number of interactions. - * An interaction is the main user action associated with an ad format-clicks - * for text and shopping ads, views for video ads, and so on. - * @type array|\Google\Protobuf\Internal\RepeatedField $interaction_event_types - * The types of payable and free interactions. - * @type float $invalid_click_rate - * The percentage of clicks filtered out of your total number of clicks - * (filtered + non-filtered clicks) during the reporting period. - * @type int|string $invalid_clicks - * Number of clicks Google considers illegitimate and doesn't charge you for. - * @type int|string $message_chats - * Number of message chats initiated for Click To Message impressions that - * were message tracking eligible. - * @type int|string $message_impressions - * Number of Click To Message impressions that were message tracking eligible. - * @type float $message_chat_rate - * Number of message chats initiated (message_chats) divided by the number - * of message impressions (message_impressions). - * Rate at which a user initiates a message chat from an ad impression with - * a messaging option and message tracking enabled. - * Note that this rate can be more than 1.0 for a given message impression. - * @type float $mobile_friendly_clicks_percentage - * The percentage of mobile clicks that go to a mobile-friendly page. - * @type float $optimization_score_uplift - * Total optimization score uplift of all recommendations. - * @type string $optimization_score_url - * URL for the optimization score page in the Google Ads web interface. - * This metric can be selected from `customer` or `campaign`, and can be - * segmented by `segments.recommendation_type`. For example, `SELECT - * metrics.optimization_score_url, segments.recommendation_type FROM - * customer` will return a URL for each unique (customer, recommendation_type) - * combination. - * @type int|string $organic_clicks - * The number of times someone clicked your site's listing in the unpaid - * results for a particular query. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * @type float $organic_clicks_per_query - * The number of times someone clicked your site's listing in the unpaid - * results (organic_clicks) divided by the total number of searches that - * returned pages from your site (organic_queries). See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * @type int|string $organic_impressions - * The number of listings for your site in the unpaid search results. See the - * help page at https://support.google.com/google-ads/answer/3097241 for - * details. - * @type float $organic_impressions_per_query - * The number of times a page from your site was listed in the unpaid search - * results (organic_impressions) divided by the number of searches returning - * your site's listing in the unpaid results (organic_queries). See the help - * page at https://support.google.com/google-ads/answer/3097241 for details. - * @type int|string $organic_queries - * The total number of searches that returned your site's listing in the - * unpaid results. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * @type float $percent_new_visitors - * Percentage of first-time sessions (from people who had never visited your - * site before). Imported from Google Analytics. - * @type int|string $phone_calls - * Number of offline phone calls. - * @type int|string $phone_impressions - * Number of offline phone impressions. - * @type float $phone_through_rate - * Number of phone calls received (phone_calls) divided by the number of - * times your phone number is shown (phone_impressions). - * @type float $relative_ctr - * Your clickthrough rate (Ctr) divided by the average clickthrough rate of - * all advertisers on the websites that show your ads. Measures how your ads - * perform on Display Network sites compared to other ads on the same sites. - * @type float $search_absolute_top_impression_share - * The percentage of the customer's Shopping or Search ad impressions that are - * shown in the most prominent Shopping position. See - * https://support.google.com/google-ads/answer/7501826 - * for details. Any value below 0.1 is reported as 0.0999. - * @type float $search_budget_lost_absolute_top_impression_share - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to a low budget. Note: Search - * budget lost absolute top impression share is reported in the range of 0 to - * 0.9. Any value above 0.9 is reported as 0.9001. - * @type float $search_budget_lost_impression_share - * The estimated percent of times that your ad was eligible to show on the - * Search Network but didn't because your budget was too low. Note: Search - * budget lost impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. - * @type float $search_budget_lost_top_impression_share - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to a low budget. Note: Search - * budget lost top impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. - * @type float $search_click_share - * The number of clicks you've received on the Search Network - * divided by the estimated number of clicks you were eligible to receive. - * Note: Search click share is reported in the range of 0.1 to 1. Any value - * below 0.1 is reported as 0.0999. - * @type float $search_exact_match_impression_share - * The impressions you've received divided by the estimated number of - * impressions you were eligible to receive on the Search Network for search - * terms that matched your keywords exactly (or were close variants of your - * keyword), regardless of your keyword match types. Note: Search exact match - * impression share is reported in the range of 0.1 to 1. Any value below 0.1 - * is reported as 0.0999. - * @type float $search_impression_share - * The impressions you've received on the Search Network divided - * by the estimated number of impressions you were eligible to receive. - * Note: Search impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * @type float $search_rank_lost_absolute_top_impression_share - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to poor Ad Rank. - * Note: Search rank lost absolute top impression share is reported in the - * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - * @type float $search_rank_lost_impression_share - * The estimated percentage of impressions on the Search Network - * that your ads didn't receive due to poor Ad Rank. - * Note: Search rank lost impression share is reported in the range of 0 to - * 0.9. Any value above 0.9 is reported as 0.9001. - * @type float $search_rank_lost_top_impression_share - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to poor Ad Rank. - * Note: Search rank lost top impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * @type float $search_top_impression_share - * The impressions you've received in the top location (anywhere above the - * organic search results) compared to the estimated number of impressions you - * were eligible to receive in the top location. - * Note: Search top impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * @type \Google\Ads\GoogleAds\V15\Common\SearchVolumeRange $search_volume - * Search volume range for a search term insight category. - * @type int|string $speed_score - * A measure of how quickly your page loads after clicks on your mobile ads. - * The score is a range from 1 to 10, 10 being the fastest. - * @type int|string $average_target_cpa_micros - * The average Target CPA, or unset if not available (for example, for - * campaigns that had traffic from portfolio bidding strategies or non-tCPA). - * @type float $average_target_roas - * The average Target ROAS, or unset if not available (for example, for - * campaigns that had traffic from portfolio bidding strategies or non-tROAS). - * @type float $top_impression_percentage - * The percent of your ad impressions that are shown anywhere above the - * organic search results. - * @type float $valid_accelerated_mobile_pages_clicks_percentage - * The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - * that reach a valid AMP page. - * @type float $value_per_all_conversions - * The value of all conversions divided by the number of all conversions. - * @type float $value_per_all_conversions_by_conversion_date - * The value of all conversions divided by the number of all conversions. When - * this column is selected with date, the values in date column means the - * conversion date. Details for the by_conversion_date columns are available - * at https://support.google.com/google-ads/answer/9549009. - * @type float $value_per_conversion - * The value of conversions divided by the number of conversions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. - * @type float $value_per_conversions_by_conversion_date - * The value of conversions divided by the number of conversions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. When this column is selected with - * date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * @type float $value_per_current_model_attributed_conversion - * The value of current model attributed conversions divided by the number of - * the conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * @type float $video_quartile_p100_rate - * Percentage of impressions where the viewer watched all of your video. - * @type float $video_quartile_p25_rate - * Percentage of impressions where the viewer watched 25% of your video. - * @type float $video_quartile_p50_rate - * Percentage of impressions where the viewer watched 50% of your video. - * @type float $video_quartile_p75_rate - * Percentage of impressions where the viewer watched 75% of your video. - * @type float $video_view_rate - * The number of views your TrueView video ad receives divided by its number - * of impressions, including thumbnail impressions for TrueView in-display - * ads. - * @type int|string $video_views - * The number of times your video ads were viewed. - * @type int|string $view_through_conversions - * The total number of view-through conversions. - * These happen when a customer sees an image or rich media ad, then later - * completes a conversion on your site without interacting with (for example, - * clicking on) another ad. - * @type int|string $sk_ad_network_installs - * The number of iOS Store Kit Ad Network conversions. - * @type int|string $sk_ad_network_total_conversions - * The total number of iOS Store Kit Ad Network conversions. - * @type int|string $publisher_purchased_clicks - * Clicks from properties not owned by the publisher for which the traffic - * the publisher has paid for or acquired through incentivized activity - * @type int|string $publisher_organic_clicks - * Clicks from properties for which the traffic the publisher has not paid - * for or acquired through incentivized activity - * @type int|string $publisher_unknown_clicks - * Clicks from traffic which is not identified as "Publisher Purchased" or - * "Publisher Organic" - * @type float $all_conversions_from_location_asset_click_to_call - * Number of call button clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * @type float $all_conversions_from_location_asset_directions - * Number of driving directions clicks on any location surface after a - * chargeable ad event (click or impression). This measure is coming - * from Asset based location. - * @type float $all_conversions_from_location_asset_menu - * Number of menu link clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * @type float $all_conversions_from_location_asset_order - * Number of order clicks on any location surface after a chargeable ad event - * (click or impression). This measure is coming from Asset based - * location. - * @type float $all_conversions_from_location_asset_other_engagement - * Number of other types of local action clicks on any location surface after - * a chargeable ad event (click or impression). This measure is coming - * from Asset based location. - * @type float $all_conversions_from_location_asset_store_visits - * Estimated number of visits to the store after a chargeable - * ad event (click or impression). This measure is coming from Asset - * based location. - * @type float $all_conversions_from_location_asset_website - * Number of website URL clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * @type int|string $eligible_impressions_from_location_asset_store_reach - * Number of impressions in which the store location was shown or the location - * was used for targeting. This measure is coming from Asset based - * location. - * @type float $view_through_conversions_from_location_asset_click_to_call - * Number of call button clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * @type float $view_through_conversions_from_location_asset_directions - * Number of driving directions clicks on any location surface after an - * impression. This measure is coming from Asset based location. - * @type float $view_through_conversions_from_location_asset_menu - * Number of menu link clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * @type float $view_through_conversions_from_location_asset_order - * Number of order clicks on any location surface after an impression. This - * measure is coming from Asset based location. - * @type float $view_through_conversions_from_location_asset_other_engagement - * Number of other types of local action clicks on any location surface after - * an impression. This measure is coming from Asset based location. - * @type float $view_through_conversions_from_location_asset_store_visits - * Estimated number of visits to the store after an impression. - * This measure is coming from Asset based location. - * @type float $view_through_conversions_from_location_asset_website - * Number of website URL clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * @type float $orders - * Orders is the total number of purchase conversions you received attributed - * to your ads. - * How it works: You report conversions with cart data for - * completed purchases on your website. If a conversion is attributed to - * previous interactions with your ads (clicks for text or Shopping ads, views - * for video ads etc.) it's counted as an order. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order on your website. Even though they bought 2 - * products, this would count as 1 order. - * This metric is only available if you report conversions with cart data. - * @type int|string $average_order_value_micros - * Average order value is the average revenue you made per order attributed to - * your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Average order value is the total revenue from your orders - * divided by the total number of orders. - * Example: You received 3 orders which made $10, $15 and $20 worth of - * revenue. The average order value is $15 = ($10 + $15 + $20)/3. - * This metric is only available if you report conversions with cart data. - * @type float $average_cart_size - * Average cart size is the average number of products in each order - * attributed to your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Average cart size is the total number of products sold - * divided by the total number of orders you received. - * Example: You received 2 orders, the first included 3 products and the - * second included 2. The average cart size is 2.5 products = (3+2)/2. - * This metric is only available if you report conversions with cart data. - * @type int|string $cost_of_goods_sold_micros - * Cost of goods sold (COGS) is the total cost of the products you sold in - * orders attributed to your ads. - * How it works: You can add a cost of goods sold value to every product in - * Merchant Center. If you report conversions with cart data, the products you - * sold are matched with their cost of goods sold value and this can be used - * to calculate the gross profit you made on each order. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The cost of goods sold for this order - * is $8 = $3 + $5. - * This metric is only available if you report conversions with cart data. - * @type int|string $gross_profit_micros - * Gross profit is the profit you made from orders attributed to your ads - * minus the cost of goods sold (COGS). - * How it works: Gross profit is the revenue you made from sales attributed to - * your ads minus cost of goods sold. Gross profit calculations only include - * products that have a cost of goods sold value in Merchant Center. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order from your website. The hat is priced $10 and - * the shirt is priced $20. The hat has a cost of goods sold value of $3, but - * the shirt has no cost of goods sold value. Gross profit for this order will - * only take into account the hat, so it's $7 = $10 - $3. - * This metric is only available if you report conversions with cart data. - * @type float $gross_profit_margin - * Gross profit margin is the percentage gross profit you made from orders - * attributed to your ads, after taking out the cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. Gross profit margin is the gross profit you made divided - * by your total revenue and multiplied by 100%. Gross profit margin - * calculations only include products that have a cost of goods sold value in - * Merchant Center. - * Example: Someone bought a hat and a shirt in an order on your website. The - * hat is priced $10 and has a cost of goods sold value of $3. The shirt is - * priced $20 but has no cost of goods sold value. Gross profit margin for - * this order will only take into account the hat because it has a cost of - * goods sold value, so it's 70% = ($10 - $3)/$10 x 100%. - * This metric is only available if you report conversions with cart data. - * @type int|string $revenue_micros - * Revenue is the total amount you made from orders attributed to your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Revenue is the total value of all the orders you received - * attributed to your ads, minus any discount. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order from your website. The hat is priced $10 and - * the shirt is priced $20. The entire order has a $5 discount. The revenue - * from this order is $25 = ($10 + $20) - $5. - * This metric is only available if you report conversions with cart data. - * @type float $units_sold - * Units sold is the total number of products sold from orders attributed to - * your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Units sold is the total number of products sold from all - * orders attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The units sold in this order is 3. - * This metric is only available if you report conversions with cart data. - * @type int|string $cross_sell_cost_of_goods_sold_micros - * Cross-sell cost of goods sold (COGS) is the total cost of products sold as - * a result of advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell cost of goods sold is the total cost of - * the products sold that weren't advertised. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The cross-sell cost of goods sold for - * this order is $5. - * This metric is only available if you report conversions with cart data. - * @type int|string $cross_sell_gross_profit_micros - * Cross-sell gross profit is the profit you made from products sold as a - * result of advertising a different product, minus cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the purchase is a sold - * product. If these products don't match then this is considered cross-sell. - * Cross-sell gross profit is the revenue you made from cross-sell attributed - * to your ads minus the cost of the goods sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The shirt is priced $20 and has a cost of goods sold value - * of $5. The cross-sell gross profit of this order is $15 = $20 - $5. - * This metric is only available if you report conversions with cart data. - * @type int|string $cross_sell_revenue_micros - * Cross-sell revenue is the total amount you made from products sold as a - * result of advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell revenue is the total value you made from - * cross-sell attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The - * cross-sell revenue of this order is $20. - * This metric is only available if you report conversions with cart data. - * @type float $cross_sell_units_sold - * Cross-sell units sold is the total number of products sold as a result of - * advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell units sold is the total number of - * cross-sold products from all orders attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The cross-sell units sold in this order is 2. - * This metric is only available if you report conversions with cart data. - * @type int|string $lead_cost_of_goods_sold_micros - * Lead cost of goods sold (COGS) is the total cost of products sold as a - * result of advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with has an associated - * product (see Shopping Ads) then this product is considered the advertised - * product. Any product included in the order the customer places is a sold - * product. If the advertised and sold products match, then the cost of these - * goods is counted under lead cost of goods sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The lead cost of goods sold for this - * order is $3. - * This metric is only available if you report conversions with cart data. - * @type int|string $lead_gross_profit_micros - * Lead gross profit is the profit you made from products sold as a result of - * advertising the same product, minus cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the revenue you made from these sales minus the cost of goods sold is your - * lead gross profit. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and has a cost of goods sold value - * of $3. The lead gross profit of this order is $7 = $10 - $3. - * This metric is only available if you report conversions with cart data. - * @type int|string $lead_revenue_micros - * Lead revenue is the total amount you made from products sold as a result of - * advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the total value you made from the sales of these products is shown under - * lead revenue. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The - * lead revenue of this order is $10. - * This metric is only available if you report conversions with cart data. - * @type float $lead_units_sold - * Lead units sold is the total number of products sold as a result of - * advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the total number of these products sold is shown under lead units sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The lead units sold in this order is 1. - * This metric is only available if you report conversions with cart data. - * @type int|string $unique_users - * The number of unique users who saw your ad during the requested time - * period. This metric cannot be aggregated, and can only be requested for - * date ranges of 92 days or less. This metric is available for following - * campaign types - Display, Video, Discovery and App. - * @type float $average_impression_frequency_per_user - * The average number of times a unique user saw your ad during the requested - * time period. This metric cannot be aggregated, and can only be requested - * for date ranges of 92 days or less. This metric is available for following - * campaign types - Display, Video, Discovery and App. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * The percent of your ad impressions that are shown as the very first ad - * above the organic search results. - * - * Generated from protobuf field optional double absolute_top_impression_percentage = 183; - * @return float - */ - public function getAbsoluteTopImpressionPercentage() - { - return isset($this->absolute_top_impression_percentage) ? $this->absolute_top_impression_percentage : 0.0; - } - - public function hasAbsoluteTopImpressionPercentage() - { - return isset($this->absolute_top_impression_percentage); - } - - public function clearAbsoluteTopImpressionPercentage() - { - unset($this->absolute_top_impression_percentage); - } - - /** - * The percent of your ad impressions that are shown as the very first ad - * above the organic search results. - * - * Generated from protobuf field optional double absolute_top_impression_percentage = 183; - * @param float $var - * @return $this - */ - public function setAbsoluteTopImpressionPercentage($var) - { - GPBUtil::checkDouble($var); - $this->absolute_top_impression_percentage = $var; - - return $this; - } - - /** - * Average cost of viewable impressions (`active_view_impressions`). - * - * Generated from protobuf field optional double active_view_cpm = 184; - * @return float - */ - public function getActiveViewCpm() - { - return isset($this->active_view_cpm) ? $this->active_view_cpm : 0.0; - } - - public function hasActiveViewCpm() - { - return isset($this->active_view_cpm); - } - - public function clearActiveViewCpm() - { - unset($this->active_view_cpm); - } - - /** - * Average cost of viewable impressions (`active_view_impressions`). - * - * Generated from protobuf field optional double active_view_cpm = 184; - * @param float $var - * @return $this - */ - public function setActiveViewCpm($var) - { - GPBUtil::checkDouble($var); - $this->active_view_cpm = $var; - - return $this; - } - - /** - * Active view measurable clicks divided by active view viewable impressions. - * This metric is reported only for the Display Network. - * - * Generated from protobuf field optional double active_view_ctr = 185; - * @return float - */ - public function getActiveViewCtr() - { - return isset($this->active_view_ctr) ? $this->active_view_ctr : 0.0; - } - - public function hasActiveViewCtr() - { - return isset($this->active_view_ctr); - } - - public function clearActiveViewCtr() - { - unset($this->active_view_ctr); - } - - /** - * Active view measurable clicks divided by active view viewable impressions. - * This metric is reported only for the Display Network. - * - * Generated from protobuf field optional double active_view_ctr = 185; - * @param float $var - * @return $this - */ - public function setActiveViewCtr($var) - { - GPBUtil::checkDouble($var); - $this->active_view_ctr = $var; - - return $this; - } - - /** - * A measurement of how often your ad has become viewable on a Display - * Network site. - * - * Generated from protobuf field optional int64 active_view_impressions = 186; - * @return int|string - */ - public function getActiveViewImpressions() - { - return isset($this->active_view_impressions) ? $this->active_view_impressions : 0; - } - - public function hasActiveViewImpressions() - { - return isset($this->active_view_impressions); - } - - public function clearActiveViewImpressions() - { - unset($this->active_view_impressions); - } - - /** - * A measurement of how often your ad has become viewable on a Display - * Network site. - * - * Generated from protobuf field optional int64 active_view_impressions = 186; - * @param int|string $var - * @return $this - */ - public function setActiveViewImpressions($var) - { - GPBUtil::checkInt64($var); - $this->active_view_impressions = $var; - - return $this; - } - - /** - * The ratio of impressions that could be measured by Active View over the - * number of served impressions. - * - * Generated from protobuf field optional double active_view_measurability = 187; - * @return float - */ - public function getActiveViewMeasurability() - { - return isset($this->active_view_measurability) ? $this->active_view_measurability : 0.0; - } - - public function hasActiveViewMeasurability() - { - return isset($this->active_view_measurability); - } - - public function clearActiveViewMeasurability() - { - unset($this->active_view_measurability); - } - - /** - * The ratio of impressions that could be measured by Active View over the - * number of served impressions. - * - * Generated from protobuf field optional double active_view_measurability = 187; - * @param float $var - * @return $this - */ - public function setActiveViewMeasurability($var) - { - GPBUtil::checkDouble($var); - $this->active_view_measurability = $var; - - return $this; - } - - /** - * The cost of the impressions you received that were measurable by Active - * View. - * - * Generated from protobuf field optional int64 active_view_measurable_cost_micros = 188; - * @return int|string - */ - public function getActiveViewMeasurableCostMicros() - { - return isset($this->active_view_measurable_cost_micros) ? $this->active_view_measurable_cost_micros : 0; - } - - public function hasActiveViewMeasurableCostMicros() - { - return isset($this->active_view_measurable_cost_micros); - } - - public function clearActiveViewMeasurableCostMicros() - { - unset($this->active_view_measurable_cost_micros); - } - - /** - * The cost of the impressions you received that were measurable by Active - * View. - * - * Generated from protobuf field optional int64 active_view_measurable_cost_micros = 188; - * @param int|string $var - * @return $this - */ - public function setActiveViewMeasurableCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->active_view_measurable_cost_micros = $var; - - return $this; - } - - /** - * The number of times your ads are appearing on placements in positions - * where they can be seen. - * - * Generated from protobuf field optional int64 active_view_measurable_impressions = 189; - * @return int|string - */ - public function getActiveViewMeasurableImpressions() - { - return isset($this->active_view_measurable_impressions) ? $this->active_view_measurable_impressions : 0; - } - - public function hasActiveViewMeasurableImpressions() - { - return isset($this->active_view_measurable_impressions); - } - - public function clearActiveViewMeasurableImpressions() - { - unset($this->active_view_measurable_impressions); - } - - /** - * The number of times your ads are appearing on placements in positions - * where they can be seen. - * - * Generated from protobuf field optional int64 active_view_measurable_impressions = 189; - * @param int|string $var - * @return $this - */ - public function setActiveViewMeasurableImpressions($var) - { - GPBUtil::checkInt64($var); - $this->active_view_measurable_impressions = $var; - - return $this; - } - - /** - * The percentage of time when your ad appeared on an Active View enabled site - * (measurable impressions) and was viewable (viewable impressions). - * - * Generated from protobuf field optional double active_view_viewability = 190; - * @return float - */ - public function getActiveViewViewability() - { - return isset($this->active_view_viewability) ? $this->active_view_viewability : 0.0; - } - - public function hasActiveViewViewability() - { - return isset($this->active_view_viewability); - } - - public function clearActiveViewViewability() - { - unset($this->active_view_viewability); - } - - /** - * The percentage of time when your ad appeared on an Active View enabled site - * (measurable impressions) and was viewable (viewable impressions). - * - * Generated from protobuf field optional double active_view_viewability = 190; - * @param float $var - * @return $this - */ - public function setActiveViewViewability($var) - { - GPBUtil::checkDouble($var); - $this->active_view_viewability = $var; - - return $this; - } - - /** - * All conversions from interactions (as oppose to view through conversions) - * divided by the number of ad interactions. - * - * Generated from protobuf field optional double all_conversions_from_interactions_rate = 191; - * @return float - */ - public function getAllConversionsFromInteractionsRate() - { - return isset($this->all_conversions_from_interactions_rate) ? $this->all_conversions_from_interactions_rate : 0.0; - } - - public function hasAllConversionsFromInteractionsRate() - { - return isset($this->all_conversions_from_interactions_rate); - } - - public function clearAllConversionsFromInteractionsRate() - { - unset($this->all_conversions_from_interactions_rate); - } - - /** - * All conversions from interactions (as oppose to view through conversions) - * divided by the number of ad interactions. - * - * Generated from protobuf field optional double all_conversions_from_interactions_rate = 191; - * @param float $var - * @return $this - */ - public function setAllConversionsFromInteractionsRate($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_interactions_rate = $var; - - return $this; - } - - /** - * The value of all conversions. - * - * Generated from protobuf field optional double all_conversions_value = 192; - * @return float - */ - public function getAllConversionsValue() - { - return isset($this->all_conversions_value) ? $this->all_conversions_value : 0.0; - } - - public function hasAllConversionsValue() - { - return isset($this->all_conversions_value); - } - - public function clearAllConversionsValue() - { - unset($this->all_conversions_value); - } - - /** - * The value of all conversions. - * - * Generated from protobuf field optional double all_conversions_value = 192; - * @param float $var - * @return $this - */ - public function setAllConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_value = $var; - - return $this; - } - - /** - * The value of all conversions. When this column is selected with date, the - * values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double all_conversions_value_by_conversion_date = 240; - * @return float - */ - public function getAllConversionsValueByConversionDate() - { - return $this->all_conversions_value_by_conversion_date; - } - - /** - * The value of all conversions. When this column is selected with date, the - * values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double all_conversions_value_by_conversion_date = 240; - * @param float $var - * @return $this - */ - public function setAllConversionsValueByConversionDate($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_value_by_conversion_date = $var; - - return $this; - } - - /** - * All of new customers' lifetime conversion value. If you have set up - * customer acquisition goal at either account level or campaign level, this - * will include the additional conversion value from new customers for both - * biddable and non-biddable conversions. If your campaign has adopted the - * customer acquisition goal and selected "bid higher for new customers", - * these values will be included in "all_conversions_value". See - * https://support.google.com/google-ads/answer/12080169 for more details. - * - * Generated from protobuf field optional double all_new_customer_lifetime_value = 294; - * @return float - */ - public function getAllNewCustomerLifetimeValue() - { - return isset($this->all_new_customer_lifetime_value) ? $this->all_new_customer_lifetime_value : 0.0; - } - - public function hasAllNewCustomerLifetimeValue() - { - return isset($this->all_new_customer_lifetime_value); - } - - public function clearAllNewCustomerLifetimeValue() - { - unset($this->all_new_customer_lifetime_value); - } - - /** - * All of new customers' lifetime conversion value. If you have set up - * customer acquisition goal at either account level or campaign level, this - * will include the additional conversion value from new customers for both - * biddable and non-biddable conversions. If your campaign has adopted the - * customer acquisition goal and selected "bid higher for new customers", - * these values will be included in "all_conversions_value". See - * https://support.google.com/google-ads/answer/12080169 for more details. - * - * Generated from protobuf field optional double all_new_customer_lifetime_value = 294; - * @param float $var - * @return $this - */ - public function setAllNewCustomerLifetimeValue($var) - { - GPBUtil::checkDouble($var); - $this->all_new_customer_lifetime_value = $var; - - return $this; - } - - /** - * The total number of conversions. This includes all conversions regardless - * of the value of include_in_conversions_metric. - * - * Generated from protobuf field optional double all_conversions = 193; - * @return float - */ - public function getAllConversions() - { - return isset($this->all_conversions) ? $this->all_conversions : 0.0; - } - - public function hasAllConversions() - { - return isset($this->all_conversions); - } - - public function clearAllConversions() - { - unset($this->all_conversions); - } - - /** - * The total number of conversions. This includes all conversions regardless - * of the value of include_in_conversions_metric. - * - * Generated from protobuf field optional double all_conversions = 193; - * @param float $var - * @return $this - */ - public function setAllConversions($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions = $var; - - return $this; - } - - /** - * The total number of conversions. This includes all conversions regardless - * of the value of include_in_conversions_metric. When this column is selected - * with date, the values in date column means the conversion date. Details for - * the by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double all_conversions_by_conversion_date = 241; - * @return float - */ - public function getAllConversionsByConversionDate() - { - return $this->all_conversions_by_conversion_date; - } - - /** - * The total number of conversions. This includes all conversions regardless - * of the value of include_in_conversions_metric. When this column is selected - * with date, the values in date column means the conversion date. Details for - * the by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double all_conversions_by_conversion_date = 241; - * @param float $var - * @return $this - */ - public function setAllConversionsByConversionDate($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_by_conversion_date = $var; - - return $this; - } - - /** - * The value of all conversions divided by the total cost of ad interactions - * (such as clicks for text ads or views for video ads). - * - * Generated from protobuf field optional double all_conversions_value_per_cost = 194; - * @return float - */ - public function getAllConversionsValuePerCost() - { - return isset($this->all_conversions_value_per_cost) ? $this->all_conversions_value_per_cost : 0.0; - } - - public function hasAllConversionsValuePerCost() - { - return isset($this->all_conversions_value_per_cost); - } - - public function clearAllConversionsValuePerCost() - { - unset($this->all_conversions_value_per_cost); - } - - /** - * The value of all conversions divided by the total cost of ad interactions - * (such as clicks for text ads or views for video ads). - * - * Generated from protobuf field optional double all_conversions_value_per_cost = 194; - * @param float $var - * @return $this - */ - public function setAllConversionsValuePerCost($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_value_per_cost = $var; - - return $this; - } - - /** - * The number of times people clicked the "Call" button to call a store during - * or after clicking an ad. This number doesn't include whether or not calls - * were connected, or the duration of any calls. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_click_to_call = 195; - * @return float - */ - public function getAllConversionsFromClickToCall() - { - return isset($this->all_conversions_from_click_to_call) ? $this->all_conversions_from_click_to_call : 0.0; - } - - public function hasAllConversionsFromClickToCall() - { - return isset($this->all_conversions_from_click_to_call); - } - - public function clearAllConversionsFromClickToCall() - { - unset($this->all_conversions_from_click_to_call); - } - - /** - * The number of times people clicked the "Call" button to call a store during - * or after clicking an ad. This number doesn't include whether or not calls - * were connected, or the duration of any calls. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_click_to_call = 195; - * @param float $var - * @return $this - */ - public function setAllConversionsFromClickToCall($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_click_to_call = $var; - - return $this; - } - - /** - * The number of times people clicked a "Get directions" button to navigate to - * a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_directions = 196; - * @return float - */ - public function getAllConversionsFromDirections() - { - return isset($this->all_conversions_from_directions) ? $this->all_conversions_from_directions : 0.0; - } - - public function hasAllConversionsFromDirections() - { - return isset($this->all_conversions_from_directions); - } - - public function clearAllConversionsFromDirections() - { - unset($this->all_conversions_from_directions); - } - - /** - * The number of times people clicked a "Get directions" button to navigate to - * a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_directions = 196; - * @param float $var - * @return $this - */ - public function setAllConversionsFromDirections($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_directions = $var; - - return $this; - } - - /** - * The value of all conversions from interactions divided by the total number - * of interactions. - * - * Generated from protobuf field optional double all_conversions_from_interactions_value_per_interaction = 197; - * @return float - */ - public function getAllConversionsFromInteractionsValuePerInteraction() - { - return isset($this->all_conversions_from_interactions_value_per_interaction) ? $this->all_conversions_from_interactions_value_per_interaction : 0.0; - } - - public function hasAllConversionsFromInteractionsValuePerInteraction() - { - return isset($this->all_conversions_from_interactions_value_per_interaction); - } - - public function clearAllConversionsFromInteractionsValuePerInteraction() - { - unset($this->all_conversions_from_interactions_value_per_interaction); - } - - /** - * The value of all conversions from interactions divided by the total number - * of interactions. - * - * Generated from protobuf field optional double all_conversions_from_interactions_value_per_interaction = 197; - * @param float $var - * @return $this - */ - public function setAllConversionsFromInteractionsValuePerInteraction($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_interactions_value_per_interaction = $var; - - return $this; - } - - /** - * The number of times people clicked a link to view a store's menu after - * clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_menu = 198; - * @return float - */ - public function getAllConversionsFromMenu() - { - return isset($this->all_conversions_from_menu) ? $this->all_conversions_from_menu : 0.0; - } - - public function hasAllConversionsFromMenu() - { - return isset($this->all_conversions_from_menu); - } - - public function clearAllConversionsFromMenu() - { - unset($this->all_conversions_from_menu); - } - - /** - * The number of times people clicked a link to view a store's menu after - * clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_menu = 198; - * @param float $var - * @return $this - */ - public function setAllConversionsFromMenu($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_menu = $var; - - return $this; - } - - /** - * The number of times people placed an order at a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_order = 199; - * @return float - */ - public function getAllConversionsFromOrder() - { - return isset($this->all_conversions_from_order) ? $this->all_conversions_from_order : 0.0; - } - - public function hasAllConversionsFromOrder() - { - return isset($this->all_conversions_from_order); - } - - public function clearAllConversionsFromOrder() - { - unset($this->all_conversions_from_order); - } - - /** - * The number of times people placed an order at a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_order = 199; - * @param float $var - * @return $this - */ - public function setAllConversionsFromOrder($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_order = $var; - - return $this; - } - - /** - * The number of other conversions (for example, posting a review or saving a - * location for a store) that occurred after people clicked an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_other_engagement = 200; - * @return float - */ - public function getAllConversionsFromOtherEngagement() - { - return isset($this->all_conversions_from_other_engagement) ? $this->all_conversions_from_other_engagement : 0.0; - } - - public function hasAllConversionsFromOtherEngagement() - { - return isset($this->all_conversions_from_other_engagement); - } - - public function clearAllConversionsFromOtherEngagement() - { - unset($this->all_conversions_from_other_engagement); - } - - /** - * The number of other conversions (for example, posting a review or saving a - * location for a store) that occurred after people clicked an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_other_engagement = 200; - * @param float $var - * @return $this - */ - public function setAllConversionsFromOtherEngagement($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_other_engagement = $var; - - return $this; - } - - /** - * Estimated number of times people visited a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_store_visit = 201; - * @return float - */ - public function getAllConversionsFromStoreVisit() - { - return isset($this->all_conversions_from_store_visit) ? $this->all_conversions_from_store_visit : 0.0; - } - - public function hasAllConversionsFromStoreVisit() - { - return isset($this->all_conversions_from_store_visit); - } - - public function clearAllConversionsFromStoreVisit() - { - unset($this->all_conversions_from_store_visit); - } - - /** - * Estimated number of times people visited a store after clicking an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_store_visit = 201; - * @param float $var - * @return $this - */ - public function setAllConversionsFromStoreVisit($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_store_visit = $var; - - return $this; - } - - /** - * The number of times that people were taken to a store's URL after clicking - * an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_store_website = 202; - * @return float - */ - public function getAllConversionsFromStoreWebsite() - { - return isset($this->all_conversions_from_store_website) ? $this->all_conversions_from_store_website : 0.0; - } - - public function hasAllConversionsFromStoreWebsite() - { - return isset($this->all_conversions_from_store_website); - } - - public function clearAllConversionsFromStoreWebsite() - { - unset($this->all_conversions_from_store_website); - } - - /** - * The number of times that people were taken to a store's URL after clicking - * an ad. - * This metric applies to feed items only. - * - * Generated from protobuf field optional double all_conversions_from_store_website = 202; - * @param float $var - * @return $this - */ - public function setAllConversionsFromStoreWebsite($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_store_website = $var; - - return $this; - } - - /** - * This metric is part of the Auction Insights report, and tells how often - * the ads of another participant showed as the very first ad above the - * organic search results. - * This percentage is computed only over the auctions that you appeared in - * the page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_absolute_top_impression_percentage = 258; - * @return float - */ - public function getAuctionInsightSearchAbsoluteTopImpressionPercentage() - { - return isset($this->auction_insight_search_absolute_top_impression_percentage) ? $this->auction_insight_search_absolute_top_impression_percentage : 0.0; - } - - public function hasAuctionInsightSearchAbsoluteTopImpressionPercentage() - { - return isset($this->auction_insight_search_absolute_top_impression_percentage); - } - - public function clearAuctionInsightSearchAbsoluteTopImpressionPercentage() - { - unset($this->auction_insight_search_absolute_top_impression_percentage); - } - - /** - * This metric is part of the Auction Insights report, and tells how often - * the ads of another participant showed as the very first ad above the - * organic search results. - * This percentage is computed only over the auctions that you appeared in - * the page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_absolute_top_impression_percentage = 258; - * @param float $var - * @return $this - */ - public function setAuctionInsightSearchAbsoluteTopImpressionPercentage($var) - { - GPBUtil::checkDouble($var); - $this->auction_insight_search_absolute_top_impression_percentage = $var; - - return $this; - } - - /** - * This metric is part of the Auction Insights report, and tells the - * percentage of impressions that another participant obtained, over the total - * number of impressions that your ads were eligible for. - * Any value below 0.1 is reported as 0.0999. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_impression_share = 259; - * @return float - */ - public function getAuctionInsightSearchImpressionShare() - { - return isset($this->auction_insight_search_impression_share) ? $this->auction_insight_search_impression_share : 0.0; - } - - public function hasAuctionInsightSearchImpressionShare() - { - return isset($this->auction_insight_search_impression_share); - } - - public function clearAuctionInsightSearchImpressionShare() - { - unset($this->auction_insight_search_impression_share); - } - - /** - * This metric is part of the Auction Insights report, and tells the - * percentage of impressions that another participant obtained, over the total - * number of impressions that your ads were eligible for. - * Any value below 0.1 is reported as 0.0999. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_impression_share = 259; - * @param float $var - * @return $this - */ - public function setAuctionInsightSearchImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->auction_insight_search_impression_share = $var; - - return $this; - } - - /** - * This metric is part of the Auction Insights report, and tells the - * percentage of impressions that your ads outranked (showed above) - * another participant in the auction, compared to the total number of - * impressions that your ads were eligible for. - * Any value below 0.1 is reported as 0.0999. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_outranking_share = 260; - * @return float - */ - public function getAuctionInsightSearchOutrankingShare() - { - return isset($this->auction_insight_search_outranking_share) ? $this->auction_insight_search_outranking_share : 0.0; - } - - public function hasAuctionInsightSearchOutrankingShare() - { - return isset($this->auction_insight_search_outranking_share); - } - - public function clearAuctionInsightSearchOutrankingShare() - { - unset($this->auction_insight_search_outranking_share); - } - - /** - * This metric is part of the Auction Insights report, and tells the - * percentage of impressions that your ads outranked (showed above) - * another participant in the auction, compared to the total number of - * impressions that your ads were eligible for. - * Any value below 0.1 is reported as 0.0999. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_outranking_share = 260; - * @param float $var - * @return $this - */ - public function setAuctionInsightSearchOutrankingShare($var) - { - GPBUtil::checkDouble($var); - $this->auction_insight_search_outranking_share = $var; - - return $this; - } - - /** - * This metric is part of the Auction Insights report, and tells how often - * another participant's ad received an impression when your ad also received - * an impression. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_overlap_rate = 261; - * @return float - */ - public function getAuctionInsightSearchOverlapRate() - { - return isset($this->auction_insight_search_overlap_rate) ? $this->auction_insight_search_overlap_rate : 0.0; - } - - public function hasAuctionInsightSearchOverlapRate() - { - return isset($this->auction_insight_search_overlap_rate); - } - - public function clearAuctionInsightSearchOverlapRate() - { - unset($this->auction_insight_search_overlap_rate); - } - - /** - * This metric is part of the Auction Insights report, and tells how often - * another participant's ad received an impression when your ad also received - * an impression. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_overlap_rate = 261; - * @param float $var - * @return $this - */ - public function setAuctionInsightSearchOverlapRate($var) - { - GPBUtil::checkDouble($var); - $this->auction_insight_search_overlap_rate = $var; - - return $this; - } - - /** - * This metric is part of the Auction Insights report, and tells how often - * another participant's ad was shown in a higher position than yours, when - * both of your ads were shown at the same page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_position_above_rate = 262; - * @return float - */ - public function getAuctionInsightSearchPositionAboveRate() - { - return isset($this->auction_insight_search_position_above_rate) ? $this->auction_insight_search_position_above_rate : 0.0; - } - - public function hasAuctionInsightSearchPositionAboveRate() - { - return isset($this->auction_insight_search_position_above_rate); - } - - public function clearAuctionInsightSearchPositionAboveRate() - { - unset($this->auction_insight_search_position_above_rate); - } - - /** - * This metric is part of the Auction Insights report, and tells how often - * another participant's ad was shown in a higher position than yours, when - * both of your ads were shown at the same page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_position_above_rate = 262; - * @param float $var - * @return $this - */ - public function setAuctionInsightSearchPositionAboveRate($var) - { - GPBUtil::checkDouble($var); - $this->auction_insight_search_position_above_rate = $var; - - return $this; - } - - /** - * This metric is part of the Auction Insights report, and tells how often - * the ads of another participant showed above the organic search results. - * This percentage is computed only over the auctions that you appeared in - * the page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_top_impression_percentage = 263; - * @return float - */ - public function getAuctionInsightSearchTopImpressionPercentage() - { - return isset($this->auction_insight_search_top_impression_percentage) ? $this->auction_insight_search_top_impression_percentage : 0.0; - } - - public function hasAuctionInsightSearchTopImpressionPercentage() - { - return isset($this->auction_insight_search_top_impression_percentage); - } - - public function clearAuctionInsightSearchTopImpressionPercentage() - { - unset($this->auction_insight_search_top_impression_percentage); - } - - /** - * This metric is part of the Auction Insights report, and tells how often - * the ads of another participant showed above the organic search results. - * This percentage is computed only over the auctions that you appeared in - * the page. - * This metric is not publicly available. - * - * Generated from protobuf field optional double auction_insight_search_top_impression_percentage = 263; - * @param float $var - * @return $this - */ - public function setAuctionInsightSearchTopImpressionPercentage($var) - { - GPBUtil::checkDouble($var); - $this->auction_insight_search_top_impression_percentage = $var; - - return $this; - } - - /** - * The average amount you pay per interaction. This amount is the total cost - * of your ads divided by the total number of interactions. - * - * Generated from protobuf field optional double average_cost = 203; - * @return float - */ - public function getAverageCost() - { - return isset($this->average_cost) ? $this->average_cost : 0.0; - } - - public function hasAverageCost() - { - return isset($this->average_cost); - } - - public function clearAverageCost() - { - unset($this->average_cost); - } - - /** - * The average amount you pay per interaction. This amount is the total cost - * of your ads divided by the total number of interactions. - * - * Generated from protobuf field optional double average_cost = 203; - * @param float $var - * @return $this - */ - public function setAverageCost($var) - { - GPBUtil::checkDouble($var); - $this->average_cost = $var; - - return $this; - } - - /** - * The total cost of all clicks divided by the total number of clicks - * received. - * - * Generated from protobuf field optional double average_cpc = 204; - * @return float - */ - public function getAverageCpc() - { - return isset($this->average_cpc) ? $this->average_cpc : 0.0; - } - - public function hasAverageCpc() - { - return isset($this->average_cpc); - } - - public function clearAverageCpc() - { - unset($this->average_cpc); - } - - /** - * The total cost of all clicks divided by the total number of clicks - * received. - * - * Generated from protobuf field optional double average_cpc = 204; - * @param float $var - * @return $this - */ - public function setAverageCpc($var) - { - GPBUtil::checkDouble($var); - $this->average_cpc = $var; - - return $this; - } - - /** - * The average amount that you've been charged for an ad engagement. This - * amount is the total cost of all ad engagements divided by the total number - * of ad engagements. - * - * Generated from protobuf field optional double average_cpe = 205; - * @return float - */ - public function getAverageCpe() - { - return isset($this->average_cpe) ? $this->average_cpe : 0.0; - } - - public function hasAverageCpe() - { - return isset($this->average_cpe); - } - - public function clearAverageCpe() - { - unset($this->average_cpe); - } - - /** - * The average amount that you've been charged for an ad engagement. This - * amount is the total cost of all ad engagements divided by the total number - * of ad engagements. - * - * Generated from protobuf field optional double average_cpe = 205; - * @param float $var - * @return $this - */ - public function setAverageCpe($var) - { - GPBUtil::checkDouble($var); - $this->average_cpe = $var; - - return $this; - } - - /** - * Average cost-per-thousand impressions (CPM). - * - * Generated from protobuf field optional double average_cpm = 206; - * @return float - */ - public function getAverageCpm() - { - return isset($this->average_cpm) ? $this->average_cpm : 0.0; - } - - public function hasAverageCpm() - { - return isset($this->average_cpm); - } - - public function clearAverageCpm() - { - unset($this->average_cpm); - } - - /** - * Average cost-per-thousand impressions (CPM). - * - * Generated from protobuf field optional double average_cpm = 206; - * @param float $var - * @return $this - */ - public function setAverageCpm($var) - { - GPBUtil::checkDouble($var); - $this->average_cpm = $var; - - return $this; - } - - /** - * The average amount you pay each time someone views your ad. - * The average CPV is defined by the total cost of all ad views divided by - * the number of views. - * - * Generated from protobuf field optional double average_cpv = 207; - * @return float - */ - public function getAverageCpv() - { - return isset($this->average_cpv) ? $this->average_cpv : 0.0; - } - - public function hasAverageCpv() - { - return isset($this->average_cpv); - } - - public function clearAverageCpv() - { - unset($this->average_cpv); - } - - /** - * The average amount you pay each time someone views your ad. - * The average CPV is defined by the total cost of all ad views divided by - * the number of views. - * - * Generated from protobuf field optional double average_cpv = 207; - * @param float $var - * @return $this - */ - public function setAverageCpv($var) - { - GPBUtil::checkDouble($var); - $this->average_cpv = $var; - - return $this; - } - - /** - * Average number of pages viewed per session. - * - * Generated from protobuf field optional double average_page_views = 208; - * @return float - */ - public function getAveragePageViews() - { - return isset($this->average_page_views) ? $this->average_page_views : 0.0; - } - - public function hasAveragePageViews() - { - return isset($this->average_page_views); - } - - public function clearAveragePageViews() - { - unset($this->average_page_views); - } - - /** - * Average number of pages viewed per session. - * - * Generated from protobuf field optional double average_page_views = 208; - * @param float $var - * @return $this - */ - public function setAveragePageViews($var) - { - GPBUtil::checkDouble($var); - $this->average_page_views = $var; - - return $this; - } - - /** - * Total duration of all sessions (in seconds) / number of sessions. Imported - * from Google Analytics. - * - * Generated from protobuf field optional double average_time_on_site = 209; - * @return float - */ - public function getAverageTimeOnSite() - { - return isset($this->average_time_on_site) ? $this->average_time_on_site : 0.0; - } - - public function hasAverageTimeOnSite() - { - return isset($this->average_time_on_site); - } - - public function clearAverageTimeOnSite() - { - unset($this->average_time_on_site); - } - - /** - * Total duration of all sessions (in seconds) / number of sessions. Imported - * from Google Analytics. - * - * Generated from protobuf field optional double average_time_on_site = 209; - * @param float $var - * @return $this - */ - public function setAverageTimeOnSite($var) - { - GPBUtil::checkDouble($var); - $this->average_time_on_site = $var; - - return $this; - } - - /** - * An indication of how other advertisers are bidding on similar products. - * - * Generated from protobuf field optional double benchmark_average_max_cpc = 210; - * @return float - */ - public function getBenchmarkAverageMaxCpc() - { - return isset($this->benchmark_average_max_cpc) ? $this->benchmark_average_max_cpc : 0.0; - } - - public function hasBenchmarkAverageMaxCpc() - { - return isset($this->benchmark_average_max_cpc); - } - - public function clearBenchmarkAverageMaxCpc() - { - unset($this->benchmark_average_max_cpc); - } - - /** - * An indication of how other advertisers are bidding on similar products. - * - * Generated from protobuf field optional double benchmark_average_max_cpc = 210; - * @param float $var - * @return $this - */ - public function setBenchmarkAverageMaxCpc($var) - { - GPBUtil::checkDouble($var); - $this->benchmark_average_max_cpc = $var; - - return $this; - } - - /** - * Number of app installs. - * - * Generated from protobuf field optional double biddable_app_install_conversions = 254; - * @return float - */ - public function getBiddableAppInstallConversions() - { - return isset($this->biddable_app_install_conversions) ? $this->biddable_app_install_conversions : 0.0; - } - - public function hasBiddableAppInstallConversions() - { - return isset($this->biddable_app_install_conversions); - } - - public function clearBiddableAppInstallConversions() - { - unset($this->biddable_app_install_conversions); - } - - /** - * Number of app installs. - * - * Generated from protobuf field optional double biddable_app_install_conversions = 254; - * @param float $var - * @return $this - */ - public function setBiddableAppInstallConversions($var) - { - GPBUtil::checkDouble($var); - $this->biddable_app_install_conversions = $var; - - return $this; - } - - /** - * Number of in-app actions. - * - * Generated from protobuf field optional double biddable_app_post_install_conversions = 255; - * @return float - */ - public function getBiddableAppPostInstallConversions() - { - return isset($this->biddable_app_post_install_conversions) ? $this->biddable_app_post_install_conversions : 0.0; - } - - public function hasBiddableAppPostInstallConversions() - { - return isset($this->biddable_app_post_install_conversions); - } - - public function clearBiddableAppPostInstallConversions() - { - unset($this->biddable_app_post_install_conversions); - } - - /** - * Number of in-app actions. - * - * Generated from protobuf field optional double biddable_app_post_install_conversions = 255; - * @param float $var - * @return $this - */ - public function setBiddableAppPostInstallConversions($var) - { - GPBUtil::checkDouble($var); - $this->biddable_app_post_install_conversions = $var; - - return $this; - } - - /** - * An indication on how other advertisers' Shopping ads for similar products - * are performing based on how often people who see their ad click on it. - * - * Generated from protobuf field optional double benchmark_ctr = 211; - * @return float - */ - public function getBenchmarkCtr() - { - return isset($this->benchmark_ctr) ? $this->benchmark_ctr : 0.0; - } - - public function hasBenchmarkCtr() - { - return isset($this->benchmark_ctr); - } - - public function clearBenchmarkCtr() - { - unset($this->benchmark_ctr); - } - - /** - * An indication on how other advertisers' Shopping ads for similar products - * are performing based on how often people who see their ad click on it. - * - * Generated from protobuf field optional double benchmark_ctr = 211; - * @param float $var - * @return $this - */ - public function setBenchmarkCtr($var) - { - GPBUtil::checkDouble($var); - $this->benchmark_ctr = $var; - - return $this; - } - - /** - * Percentage of clicks where the user only visited a single page on your - * site. Imported from Google Analytics. - * - * Generated from protobuf field optional double bounce_rate = 212; - * @return float - */ - public function getBounceRate() - { - return isset($this->bounce_rate) ? $this->bounce_rate : 0.0; - } - - public function hasBounceRate() - { - return isset($this->bounce_rate); - } - - public function clearBounceRate() - { - unset($this->bounce_rate); - } - - /** - * Percentage of clicks where the user only visited a single page on your - * site. Imported from Google Analytics. - * - * Generated from protobuf field optional double bounce_rate = 212; - * @param float $var - * @return $this - */ - public function setBounceRate($var) - { - GPBUtil::checkDouble($var); - $this->bounce_rate = $var; - - return $this; - } - - /** - * The number of clicks. - * - * Generated from protobuf field optional int64 clicks = 131; - * @return int|string - */ - public function getClicks() - { - return isset($this->clicks) ? $this->clicks : 0; - } - - public function hasClicks() - { - return isset($this->clicks); - } - - public function clearClicks() - { - unset($this->clicks); - } - - /** - * The number of clicks. - * - * Generated from protobuf field optional int64 clicks = 131; - * @param int|string $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkInt64($var); - $this->clicks = $var; - - return $this; - } - - /** - * The number of times your ad or your site's listing in the unpaid - * results was clicked. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 combined_clicks = 156; - * @return int|string - */ - public function getCombinedClicks() - { - return isset($this->combined_clicks) ? $this->combined_clicks : 0; - } - - public function hasCombinedClicks() - { - return isset($this->combined_clicks); - } - - public function clearCombinedClicks() - { - unset($this->combined_clicks); - } - - /** - * The number of times your ad or your site's listing in the unpaid - * results was clicked. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 combined_clicks = 156; - * @param int|string $var - * @return $this - */ - public function setCombinedClicks($var) - { - GPBUtil::checkInt64($var); - $this->combined_clicks = $var; - - return $this; - } - - /** - * The number of times your ad or your site's listing in the unpaid - * results was clicked (combined_clicks) divided by combined_queries. See the - * help page at https://support.google.com/google-ads/answer/3097241 for - * details. - * - * Generated from protobuf field optional double combined_clicks_per_query = 157; - * @return float - */ - public function getCombinedClicksPerQuery() - { - return isset($this->combined_clicks_per_query) ? $this->combined_clicks_per_query : 0.0; - } - - public function hasCombinedClicksPerQuery() - { - return isset($this->combined_clicks_per_query); - } - - public function clearCombinedClicksPerQuery() - { - unset($this->combined_clicks_per_query); - } - - /** - * The number of times your ad or your site's listing in the unpaid - * results was clicked (combined_clicks) divided by combined_queries. See the - * help page at https://support.google.com/google-ads/answer/3097241 for - * details. - * - * Generated from protobuf field optional double combined_clicks_per_query = 157; - * @param float $var - * @return $this - */ - public function setCombinedClicksPerQuery($var) - { - GPBUtil::checkDouble($var); - $this->combined_clicks_per_query = $var; - - return $this; - } - - /** - * The number of searches that returned pages from your site in the unpaid - * results or showed one of your text ads. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 combined_queries = 158; - * @return int|string - */ - public function getCombinedQueries() - { - return isset($this->combined_queries) ? $this->combined_queries : 0; - } - - public function hasCombinedQueries() - { - return isset($this->combined_queries); - } - - public function clearCombinedQueries() - { - unset($this->combined_queries); - } - - /** - * The number of searches that returned pages from your site in the unpaid - * results or showed one of your text ads. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 combined_queries = 158; - * @param int|string $var - * @return $this - */ - public function setCombinedQueries($var) - { - GPBUtil::checkInt64($var); - $this->combined_queries = $var; - - return $this; - } - - /** - * The estimated percent of times that your ad was eligible to show - * on the Display Network but didn't because your budget was too low. - * Note: Content budget lost impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double content_budget_lost_impression_share = 159; - * @return float - */ - public function getContentBudgetLostImpressionShare() - { - return isset($this->content_budget_lost_impression_share) ? $this->content_budget_lost_impression_share : 0.0; - } - - public function hasContentBudgetLostImpressionShare() - { - return isset($this->content_budget_lost_impression_share); - } - - public function clearContentBudgetLostImpressionShare() - { - unset($this->content_budget_lost_impression_share); - } - - /** - * The estimated percent of times that your ad was eligible to show - * on the Display Network but didn't because your budget was too low. - * Note: Content budget lost impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double content_budget_lost_impression_share = 159; - * @param float $var - * @return $this - */ - public function setContentBudgetLostImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->content_budget_lost_impression_share = $var; - - return $this; - } - - /** - * The impressions you've received on the Display Network divided - * by the estimated number of impressions you were eligible to receive. - * Note: Content impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double content_impression_share = 160; - * @return float - */ - public function getContentImpressionShare() - { - return isset($this->content_impression_share) ? $this->content_impression_share : 0.0; - } - - public function hasContentImpressionShare() - { - return isset($this->content_impression_share); - } - - public function clearContentImpressionShare() - { - unset($this->content_impression_share); - } - - /** - * The impressions you've received on the Display Network divided - * by the estimated number of impressions you were eligible to receive. - * Note: Content impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double content_impression_share = 160; - * @param float $var - * @return $this - */ - public function setContentImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->content_impression_share = $var; - - return $this; - } - - /** - * The last date/time a conversion tag for this conversion action successfully - * fired and was seen by Google Ads. This firing event may not have been the - * result of an attributable conversion (for example, because the tag was - * fired from a browser that did not previously click an ad from an - * appropriate advertiser). The date/time is in the customer's time zone. - * - * Generated from protobuf field optional string conversion_last_received_request_date_time = 161; - * @return string - */ - public function getConversionLastReceivedRequestDateTime() - { - return isset($this->conversion_last_received_request_date_time) ? $this->conversion_last_received_request_date_time : ''; - } - - public function hasConversionLastReceivedRequestDateTime() - { - return isset($this->conversion_last_received_request_date_time); - } - - public function clearConversionLastReceivedRequestDateTime() - { - unset($this->conversion_last_received_request_date_time); - } - - /** - * The last date/time a conversion tag for this conversion action successfully - * fired and was seen by Google Ads. This firing event may not have been the - * result of an attributable conversion (for example, because the tag was - * fired from a browser that did not previously click an ad from an - * appropriate advertiser). The date/time is in the customer's time zone. - * - * Generated from protobuf field optional string conversion_last_received_request_date_time = 161; - * @param string $var - * @return $this - */ - public function setConversionLastReceivedRequestDateTime($var) - { - GPBUtil::checkString($var, True); - $this->conversion_last_received_request_date_time = $var; - - return $this; - } - - /** - * The date of the most recent conversion for this conversion action. The date - * is in the customer's time zone. - * - * Generated from protobuf field optional string conversion_last_conversion_date = 162; - * @return string - */ - public function getConversionLastConversionDate() - { - return isset($this->conversion_last_conversion_date) ? $this->conversion_last_conversion_date : ''; - } - - public function hasConversionLastConversionDate() - { - return isset($this->conversion_last_conversion_date); - } - - public function clearConversionLastConversionDate() - { - unset($this->conversion_last_conversion_date); - } - - /** - * The date of the most recent conversion for this conversion action. The date - * is in the customer's time zone. - * - * Generated from protobuf field optional string conversion_last_conversion_date = 162; - * @param string $var - * @return $this - */ - public function setConversionLastConversionDate($var) - { - GPBUtil::checkString($var, True); - $this->conversion_last_conversion_date = $var; - - return $this; - } - - /** - * The estimated percentage of impressions on the Display Network - * that your ads didn't receive due to poor Ad Rank. - * Note: Content rank lost impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double content_rank_lost_impression_share = 163; - * @return float - */ - public function getContentRankLostImpressionShare() - { - return isset($this->content_rank_lost_impression_share) ? $this->content_rank_lost_impression_share : 0.0; - } - - public function hasContentRankLostImpressionShare() - { - return isset($this->content_rank_lost_impression_share); - } - - public function clearContentRankLostImpressionShare() - { - unset($this->content_rank_lost_impression_share); - } - - /** - * The estimated percentage of impressions on the Display Network - * that your ads didn't receive due to poor Ad Rank. - * Note: Content rank lost impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double content_rank_lost_impression_share = 163; - * @param float $var - * @return $this - */ - public function setContentRankLostImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->content_rank_lost_impression_share = $var; - - return $this; - } - - /** - * Conversions from interactions divided by the number of ad interactions - * (such as clicks for text ads or views for video ads). This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double conversions_from_interactions_rate = 164; - * @return float - */ - public function getConversionsFromInteractionsRate() - { - return isset($this->conversions_from_interactions_rate) ? $this->conversions_from_interactions_rate : 0.0; - } - - public function hasConversionsFromInteractionsRate() - { - return isset($this->conversions_from_interactions_rate); - } - - public function clearConversionsFromInteractionsRate() - { - unset($this->conversions_from_interactions_rate); - } - - /** - * Conversions from interactions divided by the number of ad interactions - * (such as clicks for text ads or views for video ads). This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double conversions_from_interactions_rate = 164; - * @param float $var - * @return $this - */ - public function setConversionsFromInteractionsRate($var) - { - GPBUtil::checkDouble($var); - $this->conversions_from_interactions_rate = $var; - - return $this; - } - - /** - * The value of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions_value = 165; - * @return float - */ - public function getConversionsValue() - { - return isset($this->conversions_value) ? $this->conversions_value : 0.0; - } - - public function hasConversionsValue() - { - return isset($this->conversions_value); - } - - public function clearConversionsValue() - { - unset($this->conversions_value); - } - - /** - * The value of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions_value = 165; - * @param float $var - * @return $this - */ - public function setConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->conversions_value = $var; - - return $this; - } - - /** - * The value of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date - * columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double conversions_value_by_conversion_date = 242; - * @return float - */ - public function getConversionsValueByConversionDate() - { - return $this->conversions_value_by_conversion_date; - } - - /** - * The value of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date - * columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double conversions_value_by_conversion_date = 242; - * @param float $var - * @return $this - */ - public function setConversionsValueByConversionDate($var) - { - GPBUtil::checkDouble($var); - $this->conversions_value_by_conversion_date = $var; - - return $this; - } - - /** - * New customers' lifetime conversion value. If you have set up - * customer acquisition goal at either account level or campaign level, this - * will include the additional conversion value from new customers for - * biddable conversions. If your campaign has adopted the customer - * acquisition goal and selected "bid higher for new customers", these values - * will be included in "conversions_value" for optimization. See - * https://support.google.com/google-ads/answer/12080169 for more details. - * - * Generated from protobuf field optional double new_customer_lifetime_value = 293; - * @return float - */ - public function getNewCustomerLifetimeValue() - { - return isset($this->new_customer_lifetime_value) ? $this->new_customer_lifetime_value : 0.0; - } - - public function hasNewCustomerLifetimeValue() - { - return isset($this->new_customer_lifetime_value); - } - - public function clearNewCustomerLifetimeValue() - { - unset($this->new_customer_lifetime_value); - } - - /** - * New customers' lifetime conversion value. If you have set up - * customer acquisition goal at either account level or campaign level, this - * will include the additional conversion value from new customers for - * biddable conversions. If your campaign has adopted the customer - * acquisition goal and selected "bid higher for new customers", these values - * will be included in "conversions_value" for optimization. See - * https://support.google.com/google-ads/answer/12080169 for more details. - * - * Generated from protobuf field optional double new_customer_lifetime_value = 293; - * @param float $var - * @return $this - */ - public function setNewCustomerLifetimeValue($var) - { - GPBUtil::checkDouble($var); - $this->new_customer_lifetime_value = $var; - - return $this; - } - - /** - * The value of conversions divided by the cost of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. - * - * Generated from protobuf field optional double conversions_value_per_cost = 166; - * @return float - */ - public function getConversionsValuePerCost() - { - return isset($this->conversions_value_per_cost) ? $this->conversions_value_per_cost : 0.0; - } - - public function hasConversionsValuePerCost() - { - return isset($this->conversions_value_per_cost); - } - - public function clearConversionsValuePerCost() - { - unset($this->conversions_value_per_cost); - } - - /** - * The value of conversions divided by the cost of ad interactions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. - * - * Generated from protobuf field optional double conversions_value_per_cost = 166; - * @param float $var - * @return $this - */ - public function setConversionsValuePerCost($var) - { - GPBUtil::checkDouble($var); - $this->conversions_value_per_cost = $var; - - return $this; - } - - /** - * The value of conversions from interactions divided by the number of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions_from_interactions_value_per_interaction = 167; - * @return float - */ - public function getConversionsFromInteractionsValuePerInteraction() - { - return isset($this->conversions_from_interactions_value_per_interaction) ? $this->conversions_from_interactions_value_per_interaction : 0.0; - } - - public function hasConversionsFromInteractionsValuePerInteraction() - { - return isset($this->conversions_from_interactions_value_per_interaction); - } - - public function clearConversionsFromInteractionsValuePerInteraction() - { - unset($this->conversions_from_interactions_value_per_interaction); - } - - /** - * The value of conversions from interactions divided by the number of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions_from_interactions_value_per_interaction = 167; - * @param float $var - * @return $this - */ - public function setConversionsFromInteractionsValuePerInteraction($var) - { - GPBUtil::checkDouble($var); - $this->conversions_from_interactions_value_per_interaction = $var; - - return $this; - } - - /** - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions = 168; - * @return float - */ - public function getConversions() - { - return isset($this->conversions) ? $this->conversions : 0.0; - } - - public function hasConversions() - { - return isset($this->conversions); - } - - public function clearConversions() - { - unset($this->conversions); - } - - /** - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double conversions = 168; - * @param float $var - * @return $this - */ - public function setConversions($var) - { - GPBUtil::checkDouble($var); - $this->conversions = $var; - - return $this; - } - - /** - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date - * columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double conversions_by_conversion_date = 243; - * @return float - */ - public function getConversionsByConversionDate() - { - return $this->conversions_by_conversion_date; - } - - /** - * The number of conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. When this column is selected with date, the values in date - * column means the conversion date. Details for the by_conversion_date - * columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field double conversions_by_conversion_date = 243; - * @param float $var - * @return $this - */ - public function setConversionsByConversionDate($var) - { - GPBUtil::checkDouble($var); - $this->conversions_by_conversion_date = $var; - - return $this; - } - - /** - * The sum of your cost-per-click (CPC) and cost-per-thousand impressions - * (CPM) costs during this period. - * - * Generated from protobuf field optional int64 cost_micros = 169; - * @return int|string - */ - public function getCostMicros() - { - return isset($this->cost_micros) ? $this->cost_micros : 0; - } - - public function hasCostMicros() - { - return isset($this->cost_micros); - } - - public function clearCostMicros() - { - unset($this->cost_micros); - } - - /** - * The sum of your cost-per-click (CPC) and cost-per-thousand impressions - * (CPM) costs during this period. - * - * Generated from protobuf field optional int64 cost_micros = 169; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * The cost of ad interactions divided by all conversions. - * - * Generated from protobuf field optional double cost_per_all_conversions = 170; - * @return float - */ - public function getCostPerAllConversions() - { - return isset($this->cost_per_all_conversions) ? $this->cost_per_all_conversions : 0.0; - } - - public function hasCostPerAllConversions() - { - return isset($this->cost_per_all_conversions); - } - - public function clearCostPerAllConversions() - { - unset($this->cost_per_all_conversions); - } - - /** - * The cost of ad interactions divided by all conversions. - * - * Generated from protobuf field optional double cost_per_all_conversions = 170; - * @param float $var - * @return $this - */ - public function setCostPerAllConversions($var) - { - GPBUtil::checkDouble($var); - $this->cost_per_all_conversions = $var; - - return $this; - } - - /** - * The cost of ad interactions divided by conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double cost_per_conversion = 171; - * @return float - */ - public function getCostPerConversion() - { - return isset($this->cost_per_conversion) ? $this->cost_per_conversion : 0.0; - } - - public function hasCostPerConversion() - { - return isset($this->cost_per_conversion); - } - - public function clearCostPerConversion() - { - unset($this->cost_per_conversion); - } - - /** - * The cost of ad interactions divided by conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double cost_per_conversion = 171; - * @param float $var - * @return $this - */ - public function setCostPerConversion($var) - { - GPBUtil::checkDouble($var); - $this->cost_per_conversion = $var; - - return $this; - } - - /** - * The cost of ad interactions divided by current model attributed - * conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double cost_per_current_model_attributed_conversion = 172; - * @return float - */ - public function getCostPerCurrentModelAttributedConversion() - { - return isset($this->cost_per_current_model_attributed_conversion) ? $this->cost_per_current_model_attributed_conversion : 0.0; - } - - public function hasCostPerCurrentModelAttributedConversion() - { - return isset($this->cost_per_current_model_attributed_conversion); - } - - public function clearCostPerCurrentModelAttributedConversion() - { - unset($this->cost_per_current_model_attributed_conversion); - } - - /** - * The cost of ad interactions divided by current model attributed - * conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double cost_per_current_model_attributed_conversion = 172; - * @param float $var - * @return $this - */ - public function setCostPerCurrentModelAttributedConversion($var) - { - GPBUtil::checkDouble($var); - $this->cost_per_current_model_attributed_conversion = $var; - - return $this; - } - - /** - * Conversions from when a customer clicks on a Google Ads ad on one device, - * then converts on a different device or browser. - * Cross-device conversions are already included in all_conversions. - * - * Generated from protobuf field optional double cross_device_conversions = 173; - * @return float - */ - public function getCrossDeviceConversions() - { - return isset($this->cross_device_conversions) ? $this->cross_device_conversions : 0.0; - } - - public function hasCrossDeviceConversions() - { - return isset($this->cross_device_conversions); - } - - public function clearCrossDeviceConversions() - { - unset($this->cross_device_conversions); - } - - /** - * Conversions from when a customer clicks on a Google Ads ad on one device, - * then converts on a different device or browser. - * Cross-device conversions are already included in all_conversions. - * - * Generated from protobuf field optional double cross_device_conversions = 173; - * @param float $var - * @return $this - */ - public function setCrossDeviceConversions($var) - { - GPBUtil::checkDouble($var); - $this->cross_device_conversions = $var; - - return $this; - } - - /** - * The sum of the value of cross-device conversions, in micros. - * - * Generated from protobuf field optional int64 cross_device_conversions_value_micros = 312; - * @return int|string - */ - public function getCrossDeviceConversionsValueMicros() - { - return isset($this->cross_device_conversions_value_micros) ? $this->cross_device_conversions_value_micros : 0; - } - - public function hasCrossDeviceConversionsValueMicros() - { - return isset($this->cross_device_conversions_value_micros); - } - - public function clearCrossDeviceConversionsValueMicros() - { - unset($this->cross_device_conversions_value_micros); - } - - /** - * The sum of the value of cross-device conversions, in micros. - * - * Generated from protobuf field optional int64 cross_device_conversions_value_micros = 312; - * @param int|string $var - * @return $this - */ - public function setCrossDeviceConversionsValueMicros($var) - { - GPBUtil::checkInt64($var); - $this->cross_device_conversions_value_micros = $var; - - return $this; - } - - /** - * The number of clicks your ad receives (Clicks) divided by the number - * of times your ad is shown (Impressions). - * - * Generated from protobuf field optional double ctr = 174; - * @return float - */ - public function getCtr() - { - return isset($this->ctr) ? $this->ctr : 0.0; - } - - public function hasCtr() - { - return isset($this->ctr); - } - - public function clearCtr() - { - unset($this->ctr); - } - - /** - * The number of clicks your ad receives (Clicks) divided by the number - * of times your ad is shown (Impressions). - * - * Generated from protobuf field optional double ctr = 174; - * @param float $var - * @return $this - */ - public function setCtr($var) - { - GPBUtil::checkDouble($var); - $this->ctr = $var; - - return $this; - } - - /** - * Shows how your historic conversions data would look under the attribution - * model you've currently selected. This only includes conversion actions - * which include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions = 175; - * @return float - */ - public function getCurrentModelAttributedConversions() - { - return isset($this->current_model_attributed_conversions) ? $this->current_model_attributed_conversions : 0.0; - } - - public function hasCurrentModelAttributedConversions() - { - return isset($this->current_model_attributed_conversions); - } - - public function clearCurrentModelAttributedConversions() - { - unset($this->current_model_attributed_conversions); - } - - /** - * Shows how your historic conversions data would look under the attribution - * model you've currently selected. This only includes conversion actions - * which include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions = 175; - * @param float $var - * @return $this - */ - public function setCurrentModelAttributedConversions($var) - { - GPBUtil::checkDouble($var); - $this->current_model_attributed_conversions = $var; - - return $this; - } - - /** - * Current model attributed conversions from interactions divided by the - * number of ad interactions (such as clicks for text ads or views for video - * ads). This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_from_interactions_rate = 176; - * @return float - */ - public function getCurrentModelAttributedConversionsFromInteractionsRate() - { - return isset($this->current_model_attributed_conversions_from_interactions_rate) ? $this->current_model_attributed_conversions_from_interactions_rate : 0.0; - } - - public function hasCurrentModelAttributedConversionsFromInteractionsRate() - { - return isset($this->current_model_attributed_conversions_from_interactions_rate); - } - - public function clearCurrentModelAttributedConversionsFromInteractionsRate() - { - unset($this->current_model_attributed_conversions_from_interactions_rate); - } - - /** - * Current model attributed conversions from interactions divided by the - * number of ad interactions (such as clicks for text ads or views for video - * ads). This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_from_interactions_rate = 176; - * @param float $var - * @return $this - */ - public function setCurrentModelAttributedConversionsFromInteractionsRate($var) - { - GPBUtil::checkDouble($var); - $this->current_model_attributed_conversions_from_interactions_rate = $var; - - return $this; - } - - /** - * The value of current model attributed conversions from interactions divided - * by the number of ad interactions. This only includes conversion actions - * which include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_from_interactions_value_per_interaction = 177; - * @return float - */ - public function getCurrentModelAttributedConversionsFromInteractionsValuePerInteraction() - { - return isset($this->current_model_attributed_conversions_from_interactions_value_per_interaction) ? $this->current_model_attributed_conversions_from_interactions_value_per_interaction : 0.0; - } - - public function hasCurrentModelAttributedConversionsFromInteractionsValuePerInteraction() - { - return isset($this->current_model_attributed_conversions_from_interactions_value_per_interaction); - } - - public function clearCurrentModelAttributedConversionsFromInteractionsValuePerInteraction() - { - unset($this->current_model_attributed_conversions_from_interactions_value_per_interaction); - } - - /** - * The value of current model attributed conversions from interactions divided - * by the number of ad interactions. This only includes conversion actions - * which include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_from_interactions_value_per_interaction = 177; - * @param float $var - * @return $this - */ - public function setCurrentModelAttributedConversionsFromInteractionsValuePerInteraction($var) - { - GPBUtil::checkDouble($var); - $this->current_model_attributed_conversions_from_interactions_value_per_interaction = $var; - - return $this; - } - - /** - * The value of current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_value = 178; - * @return float - */ - public function getCurrentModelAttributedConversionsValue() - { - return isset($this->current_model_attributed_conversions_value) ? $this->current_model_attributed_conversions_value : 0.0; - } - - public function hasCurrentModelAttributedConversionsValue() - { - return isset($this->current_model_attributed_conversions_value); - } - - public function clearCurrentModelAttributedConversionsValue() - { - unset($this->current_model_attributed_conversions_value); - } - - /** - * The value of current model attributed conversions. This only includes - * conversion actions which include_in_conversions_metric attribute is set to - * true. If you use conversion-based bidding, your bid strategies will - * optimize for these conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_value = 178; - * @param float $var - * @return $this - */ - public function setCurrentModelAttributedConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->current_model_attributed_conversions_value = $var; - - return $this; - } - - /** - * The value of current model attributed conversions divided by the cost of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_value_per_cost = 179; - * @return float - */ - public function getCurrentModelAttributedConversionsValuePerCost() - { - return isset($this->current_model_attributed_conversions_value_per_cost) ? $this->current_model_attributed_conversions_value_per_cost : 0.0; - } - - public function hasCurrentModelAttributedConversionsValuePerCost() - { - return isset($this->current_model_attributed_conversions_value_per_cost); - } - - public function clearCurrentModelAttributedConversionsValuePerCost() - { - unset($this->current_model_attributed_conversions_value_per_cost); - } - - /** - * The value of current model attributed conversions divided by the cost of ad - * interactions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double current_model_attributed_conversions_value_per_cost = 179; - * @param float $var - * @return $this - */ - public function setCurrentModelAttributedConversionsValuePerCost($var) - { - GPBUtil::checkDouble($var); - $this->current_model_attributed_conversions_value_per_cost = $var; - - return $this; - } - - /** - * How often people engage with your ad after it's shown to them. This is the - * number of ad expansions divided by the number of times your ad is shown. - * - * Generated from protobuf field optional double engagement_rate = 180; - * @return float - */ - public function getEngagementRate() - { - return isset($this->engagement_rate) ? $this->engagement_rate : 0.0; - } - - public function hasEngagementRate() - { - return isset($this->engagement_rate); - } - - public function clearEngagementRate() - { - unset($this->engagement_rate); - } - - /** - * How often people engage with your ad after it's shown to them. This is the - * number of ad expansions divided by the number of times your ad is shown. - * - * Generated from protobuf field optional double engagement_rate = 180; - * @param float $var - * @return $this - */ - public function setEngagementRate($var) - { - GPBUtil::checkDouble($var); - $this->engagement_rate = $var; - - return $this; - } - - /** - * The number of engagements. - * An engagement occurs when a viewer expands your Lightbox ad. Also, in the - * future, other ad types may support engagement metrics. - * - * Generated from protobuf field optional int64 engagements = 181; - * @return int|string - */ - public function getEngagements() - { - return isset($this->engagements) ? $this->engagements : 0; - } - - public function hasEngagements() - { - return isset($this->engagements); - } - - public function clearEngagements() - { - unset($this->engagements); - } - - /** - * The number of engagements. - * An engagement occurs when a viewer expands your Lightbox ad. Also, in the - * future, other ad types may support engagement metrics. - * - * Generated from protobuf field optional int64 engagements = 181; - * @param int|string $var - * @return $this - */ - public function setEngagements($var) - { - GPBUtil::checkInt64($var); - $this->engagements = $var; - - return $this; - } - - /** - * Average lead value based on clicks. - * - * Generated from protobuf field optional double hotel_average_lead_value_micros = 213; - * @return float - */ - public function getHotelAverageLeadValueMicros() - { - return isset($this->hotel_average_lead_value_micros) ? $this->hotel_average_lead_value_micros : 0.0; - } - - public function hasHotelAverageLeadValueMicros() - { - return isset($this->hotel_average_lead_value_micros); - } - - public function clearHotelAverageLeadValueMicros() - { - unset($this->hotel_average_lead_value_micros); - } - - /** - * Average lead value based on clicks. - * - * Generated from protobuf field optional double hotel_average_lead_value_micros = 213; - * @param float $var - * @return $this - */ - public function setHotelAverageLeadValueMicros($var) - { - GPBUtil::checkDouble($var); - $this->hotel_average_lead_value_micros = $var; - - return $this; - } - - /** - * Commission bid rate in micros. A 20% commission is represented as - * 200,000. - * - * Generated from protobuf field optional int64 hotel_commission_rate_micros = 256; - * @return int|string - */ - public function getHotelCommissionRateMicros() - { - return isset($this->hotel_commission_rate_micros) ? $this->hotel_commission_rate_micros : 0; - } - - public function hasHotelCommissionRateMicros() - { - return isset($this->hotel_commission_rate_micros); - } - - public function clearHotelCommissionRateMicros() - { - unset($this->hotel_commission_rate_micros); - } - - /** - * Commission bid rate in micros. A 20% commission is represented as - * 200,000. - * - * Generated from protobuf field optional int64 hotel_commission_rate_micros = 256; - * @param int|string $var - * @return $this - */ - public function setHotelCommissionRateMicros($var) - { - GPBUtil::checkInt64($var); - $this->hotel_commission_rate_micros = $var; - - return $this; - } - - /** - * Expected commission cost. The result of multiplying the commission value - * times the hotel_commission_rate in advertiser currency. - * - * Generated from protobuf field optional double hotel_expected_commission_cost = 257; - * @return float - */ - public function getHotelExpectedCommissionCost() - { - return isset($this->hotel_expected_commission_cost) ? $this->hotel_expected_commission_cost : 0.0; - } - - public function hasHotelExpectedCommissionCost() - { - return isset($this->hotel_expected_commission_cost); - } - - public function clearHotelExpectedCommissionCost() - { - unset($this->hotel_expected_commission_cost); - } - - /** - * Expected commission cost. The result of multiplying the commission value - * times the hotel_commission_rate in advertiser currency. - * - * Generated from protobuf field optional double hotel_expected_commission_cost = 257; - * @param float $var - * @return $this - */ - public function setHotelExpectedCommissionCost($var) - { - GPBUtil::checkDouble($var); - $this->hotel_expected_commission_cost = $var; - - return $this; - } - - /** - * The average price difference between the price offered by reporting hotel - * advertiser and the cheapest price offered by the competing advertiser. - * - * Generated from protobuf field optional double hotel_price_difference_percentage = 214; - * @return float - */ - public function getHotelPriceDifferencePercentage() - { - return isset($this->hotel_price_difference_percentage) ? $this->hotel_price_difference_percentage : 0.0; - } - - public function hasHotelPriceDifferencePercentage() - { - return isset($this->hotel_price_difference_percentage); - } - - public function clearHotelPriceDifferencePercentage() - { - unset($this->hotel_price_difference_percentage); - } - - /** - * The average price difference between the price offered by reporting hotel - * advertiser and the cheapest price offered by the competing advertiser. - * - * Generated from protobuf field optional double hotel_price_difference_percentage = 214; - * @param float $var - * @return $this - */ - public function setHotelPriceDifferencePercentage($var) - { - GPBUtil::checkDouble($var); - $this->hotel_price_difference_percentage = $var; - - return $this; - } - - /** - * The number of impressions that hotel partners could have had given their - * feed performance. - * - * Generated from protobuf field optional int64 hotel_eligible_impressions = 215; - * @return int|string - */ - public function getHotelEligibleImpressions() - { - return isset($this->hotel_eligible_impressions) ? $this->hotel_eligible_impressions : 0; - } - - public function hasHotelEligibleImpressions() - { - return isset($this->hotel_eligible_impressions); - } - - public function clearHotelEligibleImpressions() - { - unset($this->hotel_eligible_impressions); - } - - /** - * The number of impressions that hotel partners could have had given their - * feed performance. - * - * Generated from protobuf field optional int64 hotel_eligible_impressions = 215; - * @param int|string $var - * @return $this - */ - public function setHotelEligibleImpressions($var) - { - GPBUtil::checkInt64($var); - $this->hotel_eligible_impressions = $var; - - return $this; - } - - /** - * The creative historical quality score. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; - * @return int - */ - public function getHistoricalCreativeQualityScore() - { - return $this->historical_creative_quality_score; - } - - /** - * The creative historical quality score. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; - * @param int $var - * @return $this - */ - public function setHistoricalCreativeQualityScore($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\QualityScoreBucketEnum\QualityScoreBucket::class); - $this->historical_creative_quality_score = $var; - - return $this; - } - - /** - * The quality of historical landing page experience. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_landing_page_quality_score = 81; - * @return int - */ - public function getHistoricalLandingPageQualityScore() - { - return $this->historical_landing_page_quality_score; - } - - /** - * The quality of historical landing page experience. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_landing_page_quality_score = 81; - * @param int $var - * @return $this - */ - public function setHistoricalLandingPageQualityScore($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\QualityScoreBucketEnum\QualityScoreBucket::class); - $this->historical_landing_page_quality_score = $var; - - return $this; - } - - /** - * The historical quality score. - * - * Generated from protobuf field optional int64 historical_quality_score = 216; - * @return int|string - */ - public function getHistoricalQualityScore() - { - return isset($this->historical_quality_score) ? $this->historical_quality_score : 0; - } - - public function hasHistoricalQualityScore() - { - return isset($this->historical_quality_score); - } - - public function clearHistoricalQualityScore() - { - unset($this->historical_quality_score); - } - - /** - * The historical quality score. - * - * Generated from protobuf field optional int64 historical_quality_score = 216; - * @param int|string $var - * @return $this - */ - public function setHistoricalQualityScore($var) - { - GPBUtil::checkInt64($var); - $this->historical_quality_score = $var; - - return $this; - } - - /** - * The historical search predicted click through rate (CTR). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_search_predicted_ctr = 83; - * @return int - */ - public function getHistoricalSearchPredictedCtr() - { - return $this->historical_search_predicted_ctr; - } - - /** - * The historical search predicted click through rate (CTR). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_search_predicted_ctr = 83; - * @param int $var - * @return $this - */ - public function setHistoricalSearchPredictedCtr($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\QualityScoreBucketEnum\QualityScoreBucket::class); - $this->historical_search_predicted_ctr = $var; - - return $this; - } - - /** - * The number of times the ad was forwarded to someone else as a message. - * - * Generated from protobuf field optional int64 gmail_forwards = 217; - * @return int|string - */ - public function getGmailForwards() - { - return isset($this->gmail_forwards) ? $this->gmail_forwards : 0; - } - - public function hasGmailForwards() - { - return isset($this->gmail_forwards); - } - - public function clearGmailForwards() - { - unset($this->gmail_forwards); - } - - /** - * The number of times the ad was forwarded to someone else as a message. - * - * Generated from protobuf field optional int64 gmail_forwards = 217; - * @param int|string $var - * @return $this - */ - public function setGmailForwards($var) - { - GPBUtil::checkInt64($var); - $this->gmail_forwards = $var; - - return $this; - } - - /** - * The number of times someone has saved your Gmail ad to their inbox as a - * message. - * - * Generated from protobuf field optional int64 gmail_saves = 218; - * @return int|string - */ - public function getGmailSaves() - { - return isset($this->gmail_saves) ? $this->gmail_saves : 0; - } - - public function hasGmailSaves() - { - return isset($this->gmail_saves); - } - - public function clearGmailSaves() - { - unset($this->gmail_saves); - } - - /** - * The number of times someone has saved your Gmail ad to their inbox as a - * message. - * - * Generated from protobuf field optional int64 gmail_saves = 218; - * @param int|string $var - * @return $this - */ - public function setGmailSaves($var) - { - GPBUtil::checkInt64($var); - $this->gmail_saves = $var; - - return $this; - } - - /** - * The number of clicks to the landing page on the expanded state of Gmail - * ads. - * - * Generated from protobuf field optional int64 gmail_secondary_clicks = 219; - * @return int|string - */ - public function getGmailSecondaryClicks() - { - return isset($this->gmail_secondary_clicks) ? $this->gmail_secondary_clicks : 0; - } - - public function hasGmailSecondaryClicks() - { - return isset($this->gmail_secondary_clicks); - } - - public function clearGmailSecondaryClicks() - { - unset($this->gmail_secondary_clicks); - } - - /** - * The number of clicks to the landing page on the expanded state of Gmail - * ads. - * - * Generated from protobuf field optional int64 gmail_secondary_clicks = 219; - * @param int|string $var - * @return $this - */ - public function setGmailSecondaryClicks($var) - { - GPBUtil::checkInt64($var); - $this->gmail_secondary_clicks = $var; - - return $this; - } - - /** - * The number of times a store's location-based ad was shown. - * This metric applies to feed items only. - * - * Generated from protobuf field optional int64 impressions_from_store_reach = 220; - * @return int|string - */ - public function getImpressionsFromStoreReach() - { - return isset($this->impressions_from_store_reach) ? $this->impressions_from_store_reach : 0; - } - - public function hasImpressionsFromStoreReach() - { - return isset($this->impressions_from_store_reach); - } - - public function clearImpressionsFromStoreReach() - { - unset($this->impressions_from_store_reach); - } - - /** - * The number of times a store's location-based ad was shown. - * This metric applies to feed items only. - * - * Generated from protobuf field optional int64 impressions_from_store_reach = 220; - * @param int|string $var - * @return $this - */ - public function setImpressionsFromStoreReach($var) - { - GPBUtil::checkInt64($var); - $this->impressions_from_store_reach = $var; - - return $this; - } - - /** - * Count of how often your ad has appeared on a search results page or - * website on the Google Network. - * - * Generated from protobuf field optional int64 impressions = 221; - * @return int|string - */ - public function getImpressions() - { - return isset($this->impressions) ? $this->impressions : 0; - } - - public function hasImpressions() - { - return isset($this->impressions); - } - - public function clearImpressions() - { - unset($this->impressions); - } - - /** - * Count of how often your ad has appeared on a search results page or - * website on the Google Network. - * - * Generated from protobuf field optional int64 impressions = 221; - * @param int|string $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt64($var); - $this->impressions = $var; - - return $this; - } - - /** - * How often people interact with your ad after it is shown to them. - * This is the number of interactions divided by the number of times your ad - * is shown. - * - * Generated from protobuf field optional double interaction_rate = 222; - * @return float - */ - public function getInteractionRate() - { - return isset($this->interaction_rate) ? $this->interaction_rate : 0.0; - } - - public function hasInteractionRate() - { - return isset($this->interaction_rate); - } - - public function clearInteractionRate() - { - unset($this->interaction_rate); - } - - /** - * How often people interact with your ad after it is shown to them. - * This is the number of interactions divided by the number of times your ad - * is shown. - * - * Generated from protobuf field optional double interaction_rate = 222; - * @param float $var - * @return $this - */ - public function setInteractionRate($var) - { - GPBUtil::checkDouble($var); - $this->interaction_rate = $var; - - return $this; - } - - /** - * The number of interactions. - * An interaction is the main user action associated with an ad format-clicks - * for text and shopping ads, views for video ads, and so on. - * - * Generated from protobuf field optional int64 interactions = 223; - * @return int|string - */ - public function getInteractions() - { - return isset($this->interactions) ? $this->interactions : 0; - } - - public function hasInteractions() - { - return isset($this->interactions); - } - - public function clearInteractions() - { - unset($this->interactions); - } - - /** - * The number of interactions. - * An interaction is the main user action associated with an ad format-clicks - * for text and shopping ads, views for video ads, and so on. - * - * Generated from protobuf field optional int64 interactions = 223; - * @param int|string $var - * @return $this - */ - public function setInteractions($var) - { - GPBUtil::checkInt64($var); - $this->interactions = $var; - - return $this; - } - - /** - * The types of payable and free interactions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.InteractionEventTypeEnum.InteractionEventType interaction_event_types = 100; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInteractionEventTypes() - { - return $this->interaction_event_types; - } - - /** - * The types of payable and free interactions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.InteractionEventTypeEnum.InteractionEventType interaction_event_types = 100; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInteractionEventTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\InteractionEventTypeEnum\InteractionEventType::class); - $this->interaction_event_types = $arr; - - return $this; - } - - /** - * The percentage of clicks filtered out of your total number of clicks - * (filtered + non-filtered clicks) during the reporting period. - * - * Generated from protobuf field optional double invalid_click_rate = 224; - * @return float - */ - public function getInvalidClickRate() - { - return isset($this->invalid_click_rate) ? $this->invalid_click_rate : 0.0; - } - - public function hasInvalidClickRate() - { - return isset($this->invalid_click_rate); - } - - public function clearInvalidClickRate() - { - unset($this->invalid_click_rate); - } - - /** - * The percentage of clicks filtered out of your total number of clicks - * (filtered + non-filtered clicks) during the reporting period. - * - * Generated from protobuf field optional double invalid_click_rate = 224; - * @param float $var - * @return $this - */ - public function setInvalidClickRate($var) - { - GPBUtil::checkDouble($var); - $this->invalid_click_rate = $var; - - return $this; - } - - /** - * Number of clicks Google considers illegitimate and doesn't charge you for. - * - * Generated from protobuf field optional int64 invalid_clicks = 225; - * @return int|string - */ - public function getInvalidClicks() - { - return isset($this->invalid_clicks) ? $this->invalid_clicks : 0; - } - - public function hasInvalidClicks() - { - return isset($this->invalid_clicks); - } - - public function clearInvalidClicks() - { - unset($this->invalid_clicks); - } - - /** - * Number of clicks Google considers illegitimate and doesn't charge you for. - * - * Generated from protobuf field optional int64 invalid_clicks = 225; - * @param int|string $var - * @return $this - */ - public function setInvalidClicks($var) - { - GPBUtil::checkInt64($var); - $this->invalid_clicks = $var; - - return $this; - } - - /** - * Number of message chats initiated for Click To Message impressions that - * were message tracking eligible. - * - * Generated from protobuf field optional int64 message_chats = 226; - * @return int|string - */ - public function getMessageChats() - { - return isset($this->message_chats) ? $this->message_chats : 0; - } - - public function hasMessageChats() - { - return isset($this->message_chats); - } - - public function clearMessageChats() - { - unset($this->message_chats); - } - - /** - * Number of message chats initiated for Click To Message impressions that - * were message tracking eligible. - * - * Generated from protobuf field optional int64 message_chats = 226; - * @param int|string $var - * @return $this - */ - public function setMessageChats($var) - { - GPBUtil::checkInt64($var); - $this->message_chats = $var; - - return $this; - } - - /** - * Number of Click To Message impressions that were message tracking eligible. - * - * Generated from protobuf field optional int64 message_impressions = 227; - * @return int|string - */ - public function getMessageImpressions() - { - return isset($this->message_impressions) ? $this->message_impressions : 0; - } - - public function hasMessageImpressions() - { - return isset($this->message_impressions); - } - - public function clearMessageImpressions() - { - unset($this->message_impressions); - } - - /** - * Number of Click To Message impressions that were message tracking eligible. - * - * Generated from protobuf field optional int64 message_impressions = 227; - * @param int|string $var - * @return $this - */ - public function setMessageImpressions($var) - { - GPBUtil::checkInt64($var); - $this->message_impressions = $var; - - return $this; - } - - /** - * Number of message chats initiated (message_chats) divided by the number - * of message impressions (message_impressions). - * Rate at which a user initiates a message chat from an ad impression with - * a messaging option and message tracking enabled. - * Note that this rate can be more than 1.0 for a given message impression. - * - * Generated from protobuf field optional double message_chat_rate = 228; - * @return float - */ - public function getMessageChatRate() - { - return isset($this->message_chat_rate) ? $this->message_chat_rate : 0.0; - } - - public function hasMessageChatRate() - { - return isset($this->message_chat_rate); - } - - public function clearMessageChatRate() - { - unset($this->message_chat_rate); - } - - /** - * Number of message chats initiated (message_chats) divided by the number - * of message impressions (message_impressions). - * Rate at which a user initiates a message chat from an ad impression with - * a messaging option and message tracking enabled. - * Note that this rate can be more than 1.0 for a given message impression. - * - * Generated from protobuf field optional double message_chat_rate = 228; - * @param float $var - * @return $this - */ - public function setMessageChatRate($var) - { - GPBUtil::checkDouble($var); - $this->message_chat_rate = $var; - - return $this; - } - - /** - * The percentage of mobile clicks that go to a mobile-friendly page. - * - * Generated from protobuf field optional double mobile_friendly_clicks_percentage = 229; - * @return float - */ - public function getMobileFriendlyClicksPercentage() - { - return isset($this->mobile_friendly_clicks_percentage) ? $this->mobile_friendly_clicks_percentage : 0.0; - } - - public function hasMobileFriendlyClicksPercentage() - { - return isset($this->mobile_friendly_clicks_percentage); - } - - public function clearMobileFriendlyClicksPercentage() - { - unset($this->mobile_friendly_clicks_percentage); - } - - /** - * The percentage of mobile clicks that go to a mobile-friendly page. - * - * Generated from protobuf field optional double mobile_friendly_clicks_percentage = 229; - * @param float $var - * @return $this - */ - public function setMobileFriendlyClicksPercentage($var) - { - GPBUtil::checkDouble($var); - $this->mobile_friendly_clicks_percentage = $var; - - return $this; - } - - /** - * Total optimization score uplift of all recommendations. - * - * Generated from protobuf field optional double optimization_score_uplift = 247; - * @return float - */ - public function getOptimizationScoreUplift() - { - return isset($this->optimization_score_uplift) ? $this->optimization_score_uplift : 0.0; - } - - public function hasOptimizationScoreUplift() - { - return isset($this->optimization_score_uplift); - } - - public function clearOptimizationScoreUplift() - { - unset($this->optimization_score_uplift); - } - - /** - * Total optimization score uplift of all recommendations. - * - * Generated from protobuf field optional double optimization_score_uplift = 247; - * @param float $var - * @return $this - */ - public function setOptimizationScoreUplift($var) - { - GPBUtil::checkDouble($var); - $this->optimization_score_uplift = $var; - - return $this; - } - - /** - * URL for the optimization score page in the Google Ads web interface. - * This metric can be selected from `customer` or `campaign`, and can be - * segmented by `segments.recommendation_type`. For example, `SELECT - * metrics.optimization_score_url, segments.recommendation_type FROM - * customer` will return a URL for each unique (customer, recommendation_type) - * combination. - * - * Generated from protobuf field optional string optimization_score_url = 248; - * @return string - */ - public function getOptimizationScoreUrl() - { - return isset($this->optimization_score_url) ? $this->optimization_score_url : ''; - } - - public function hasOptimizationScoreUrl() - { - return isset($this->optimization_score_url); - } - - public function clearOptimizationScoreUrl() - { - unset($this->optimization_score_url); - } - - /** - * URL for the optimization score page in the Google Ads web interface. - * This metric can be selected from `customer` or `campaign`, and can be - * segmented by `segments.recommendation_type`. For example, `SELECT - * metrics.optimization_score_url, segments.recommendation_type FROM - * customer` will return a URL for each unique (customer, recommendation_type) - * combination. - * - * Generated from protobuf field optional string optimization_score_url = 248; - * @param string $var - * @return $this - */ - public function setOptimizationScoreUrl($var) - { - GPBUtil::checkString($var, True); - $this->optimization_score_url = $var; - - return $this; - } - - /** - * The number of times someone clicked your site's listing in the unpaid - * results for a particular query. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 organic_clicks = 230; - * @return int|string - */ - public function getOrganicClicks() - { - return isset($this->organic_clicks) ? $this->organic_clicks : 0; - } - - public function hasOrganicClicks() - { - return isset($this->organic_clicks); - } - - public function clearOrganicClicks() - { - unset($this->organic_clicks); - } - - /** - * The number of times someone clicked your site's listing in the unpaid - * results for a particular query. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 organic_clicks = 230; - * @param int|string $var - * @return $this - */ - public function setOrganicClicks($var) - { - GPBUtil::checkInt64($var); - $this->organic_clicks = $var; - - return $this; - } - - /** - * The number of times someone clicked your site's listing in the unpaid - * results (organic_clicks) divided by the total number of searches that - * returned pages from your site (organic_queries). See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional double organic_clicks_per_query = 231; - * @return float - */ - public function getOrganicClicksPerQuery() - { - return isset($this->organic_clicks_per_query) ? $this->organic_clicks_per_query : 0.0; - } - - public function hasOrganicClicksPerQuery() - { - return isset($this->organic_clicks_per_query); - } - - public function clearOrganicClicksPerQuery() - { - unset($this->organic_clicks_per_query); - } - - /** - * The number of times someone clicked your site's listing in the unpaid - * results (organic_clicks) divided by the total number of searches that - * returned pages from your site (organic_queries). See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional double organic_clicks_per_query = 231; - * @param float $var - * @return $this - */ - public function setOrganicClicksPerQuery($var) - { - GPBUtil::checkDouble($var); - $this->organic_clicks_per_query = $var; - - return $this; - } - - /** - * The number of listings for your site in the unpaid search results. See the - * help page at https://support.google.com/google-ads/answer/3097241 for - * details. - * - * Generated from protobuf field optional int64 organic_impressions = 232; - * @return int|string - */ - public function getOrganicImpressions() - { - return isset($this->organic_impressions) ? $this->organic_impressions : 0; - } - - public function hasOrganicImpressions() - { - return isset($this->organic_impressions); - } - - public function clearOrganicImpressions() - { - unset($this->organic_impressions); - } - - /** - * The number of listings for your site in the unpaid search results. See the - * help page at https://support.google.com/google-ads/answer/3097241 for - * details. - * - * Generated from protobuf field optional int64 organic_impressions = 232; - * @param int|string $var - * @return $this - */ - public function setOrganicImpressions($var) - { - GPBUtil::checkInt64($var); - $this->organic_impressions = $var; - - return $this; - } - - /** - * The number of times a page from your site was listed in the unpaid search - * results (organic_impressions) divided by the number of searches returning - * your site's listing in the unpaid results (organic_queries). See the help - * page at https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional double organic_impressions_per_query = 233; - * @return float - */ - public function getOrganicImpressionsPerQuery() - { - return isset($this->organic_impressions_per_query) ? $this->organic_impressions_per_query : 0.0; - } - - public function hasOrganicImpressionsPerQuery() - { - return isset($this->organic_impressions_per_query); - } - - public function clearOrganicImpressionsPerQuery() - { - unset($this->organic_impressions_per_query); - } - - /** - * The number of times a page from your site was listed in the unpaid search - * results (organic_impressions) divided by the number of searches returning - * your site's listing in the unpaid results (organic_queries). See the help - * page at https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional double organic_impressions_per_query = 233; - * @param float $var - * @return $this - */ - public function setOrganicImpressionsPerQuery($var) - { - GPBUtil::checkDouble($var); - $this->organic_impressions_per_query = $var; - - return $this; - } - - /** - * The total number of searches that returned your site's listing in the - * unpaid results. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 organic_queries = 234; - * @return int|string - */ - public function getOrganicQueries() - { - return isset($this->organic_queries) ? $this->organic_queries : 0; - } - - public function hasOrganicQueries() - { - return isset($this->organic_queries); - } - - public function clearOrganicQueries() - { - unset($this->organic_queries); - } - - /** - * The total number of searches that returned your site's listing in the - * unpaid results. See the help page at - * https://support.google.com/google-ads/answer/3097241 for details. - * - * Generated from protobuf field optional int64 organic_queries = 234; - * @param int|string $var - * @return $this - */ - public function setOrganicQueries($var) - { - GPBUtil::checkInt64($var); - $this->organic_queries = $var; - - return $this; - } - - /** - * Percentage of first-time sessions (from people who had never visited your - * site before). Imported from Google Analytics. - * - * Generated from protobuf field optional double percent_new_visitors = 235; - * @return float - */ - public function getPercentNewVisitors() - { - return isset($this->percent_new_visitors) ? $this->percent_new_visitors : 0.0; - } - - public function hasPercentNewVisitors() - { - return isset($this->percent_new_visitors); - } - - public function clearPercentNewVisitors() - { - unset($this->percent_new_visitors); - } - - /** - * Percentage of first-time sessions (from people who had never visited your - * site before). Imported from Google Analytics. - * - * Generated from protobuf field optional double percent_new_visitors = 235; - * @param float $var - * @return $this - */ - public function setPercentNewVisitors($var) - { - GPBUtil::checkDouble($var); - $this->percent_new_visitors = $var; - - return $this; - } - - /** - * Number of offline phone calls. - * - * Generated from protobuf field optional int64 phone_calls = 236; - * @return int|string - */ - public function getPhoneCalls() - { - return isset($this->phone_calls) ? $this->phone_calls : 0; - } - - public function hasPhoneCalls() - { - return isset($this->phone_calls); - } - - public function clearPhoneCalls() - { - unset($this->phone_calls); - } - - /** - * Number of offline phone calls. - * - * Generated from protobuf field optional int64 phone_calls = 236; - * @param int|string $var - * @return $this - */ - public function setPhoneCalls($var) - { - GPBUtil::checkInt64($var); - $this->phone_calls = $var; - - return $this; - } - - /** - * Number of offline phone impressions. - * - * Generated from protobuf field optional int64 phone_impressions = 237; - * @return int|string - */ - public function getPhoneImpressions() - { - return isset($this->phone_impressions) ? $this->phone_impressions : 0; - } - - public function hasPhoneImpressions() - { - return isset($this->phone_impressions); - } - - public function clearPhoneImpressions() - { - unset($this->phone_impressions); - } - - /** - * Number of offline phone impressions. - * - * Generated from protobuf field optional int64 phone_impressions = 237; - * @param int|string $var - * @return $this - */ - public function setPhoneImpressions($var) - { - GPBUtil::checkInt64($var); - $this->phone_impressions = $var; - - return $this; - } - - /** - * Number of phone calls received (phone_calls) divided by the number of - * times your phone number is shown (phone_impressions). - * - * Generated from protobuf field optional double phone_through_rate = 238; - * @return float - */ - public function getPhoneThroughRate() - { - return isset($this->phone_through_rate) ? $this->phone_through_rate : 0.0; - } - - public function hasPhoneThroughRate() - { - return isset($this->phone_through_rate); - } - - public function clearPhoneThroughRate() - { - unset($this->phone_through_rate); - } - - /** - * Number of phone calls received (phone_calls) divided by the number of - * times your phone number is shown (phone_impressions). - * - * Generated from protobuf field optional double phone_through_rate = 238; - * @param float $var - * @return $this - */ - public function setPhoneThroughRate($var) - { - GPBUtil::checkDouble($var); - $this->phone_through_rate = $var; - - return $this; - } - - /** - * Your clickthrough rate (Ctr) divided by the average clickthrough rate of - * all advertisers on the websites that show your ads. Measures how your ads - * perform on Display Network sites compared to other ads on the same sites. - * - * Generated from protobuf field optional double relative_ctr = 239; - * @return float - */ - public function getRelativeCtr() - { - return isset($this->relative_ctr) ? $this->relative_ctr : 0.0; - } - - public function hasRelativeCtr() - { - return isset($this->relative_ctr); - } - - public function clearRelativeCtr() - { - unset($this->relative_ctr); - } - - /** - * Your clickthrough rate (Ctr) divided by the average clickthrough rate of - * all advertisers on the websites that show your ads. Measures how your ads - * perform on Display Network sites compared to other ads on the same sites. - * - * Generated from protobuf field optional double relative_ctr = 239; - * @param float $var - * @return $this - */ - public function setRelativeCtr($var) - { - GPBUtil::checkDouble($var); - $this->relative_ctr = $var; - - return $this; - } - - /** - * The percentage of the customer's Shopping or Search ad impressions that are - * shown in the most prominent Shopping position. See - * https://support.google.com/google-ads/answer/7501826 - * for details. Any value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_absolute_top_impression_share = 136; - * @return float - */ - public function getSearchAbsoluteTopImpressionShare() - { - return isset($this->search_absolute_top_impression_share) ? $this->search_absolute_top_impression_share : 0.0; - } - - public function hasSearchAbsoluteTopImpressionShare() - { - return isset($this->search_absolute_top_impression_share); - } - - public function clearSearchAbsoluteTopImpressionShare() - { - unset($this->search_absolute_top_impression_share); - } - - /** - * The percentage of the customer's Shopping or Search ad impressions that are - * shown in the most prominent Shopping position. See - * https://support.google.com/google-ads/answer/7501826 - * for details. Any value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_absolute_top_impression_share = 136; - * @param float $var - * @return $this - */ - public function setSearchAbsoluteTopImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_absolute_top_impression_share = $var; - - return $this; - } - - /** - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to a low budget. Note: Search - * budget lost absolute top impression share is reported in the range of 0 to - * 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_absolute_top_impression_share = 137; - * @return float - */ - public function getSearchBudgetLostAbsoluteTopImpressionShare() - { - return isset($this->search_budget_lost_absolute_top_impression_share) ? $this->search_budget_lost_absolute_top_impression_share : 0.0; - } - - public function hasSearchBudgetLostAbsoluteTopImpressionShare() - { - return isset($this->search_budget_lost_absolute_top_impression_share); - } - - public function clearSearchBudgetLostAbsoluteTopImpressionShare() - { - unset($this->search_budget_lost_absolute_top_impression_share); - } - - /** - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to a low budget. Note: Search - * budget lost absolute top impression share is reported in the range of 0 to - * 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_absolute_top_impression_share = 137; - * @param float $var - * @return $this - */ - public function setSearchBudgetLostAbsoluteTopImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_budget_lost_absolute_top_impression_share = $var; - - return $this; - } - - /** - * The estimated percent of times that your ad was eligible to show on the - * Search Network but didn't because your budget was too low. Note: Search - * budget lost impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_impression_share = 138; - * @return float - */ - public function getSearchBudgetLostImpressionShare() - { - return isset($this->search_budget_lost_impression_share) ? $this->search_budget_lost_impression_share : 0.0; - } - - public function hasSearchBudgetLostImpressionShare() - { - return isset($this->search_budget_lost_impression_share); - } - - public function clearSearchBudgetLostImpressionShare() - { - unset($this->search_budget_lost_impression_share); - } - - /** - * The estimated percent of times that your ad was eligible to show on the - * Search Network but didn't because your budget was too low. Note: Search - * budget lost impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_impression_share = 138; - * @param float $var - * @return $this - */ - public function setSearchBudgetLostImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_budget_lost_impression_share = $var; - - return $this; - } - - /** - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to a low budget. Note: Search - * budget lost top impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_top_impression_share = 139; - * @return float - */ - public function getSearchBudgetLostTopImpressionShare() - { - return isset($this->search_budget_lost_top_impression_share) ? $this->search_budget_lost_top_impression_share : 0.0; - } - - public function hasSearchBudgetLostTopImpressionShare() - { - return isset($this->search_budget_lost_top_impression_share); - } - - public function clearSearchBudgetLostTopImpressionShare() - { - unset($this->search_budget_lost_top_impression_share); - } - - /** - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to a low budget. Note: Search - * budget lost top impression share is reported in the range of 0 to 0.9. Any - * value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_budget_lost_top_impression_share = 139; - * @param float $var - * @return $this - */ - public function setSearchBudgetLostTopImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_budget_lost_top_impression_share = $var; - - return $this; - } - - /** - * The number of clicks you've received on the Search Network - * divided by the estimated number of clicks you were eligible to receive. - * Note: Search click share is reported in the range of 0.1 to 1. Any value - * below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_click_share = 140; - * @return float - */ - public function getSearchClickShare() - { - return isset($this->search_click_share) ? $this->search_click_share : 0.0; - } - - public function hasSearchClickShare() - { - return isset($this->search_click_share); - } - - public function clearSearchClickShare() - { - unset($this->search_click_share); - } - - /** - * The number of clicks you've received on the Search Network - * divided by the estimated number of clicks you were eligible to receive. - * Note: Search click share is reported in the range of 0.1 to 1. Any value - * below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_click_share = 140; - * @param float $var - * @return $this - */ - public function setSearchClickShare($var) - { - GPBUtil::checkDouble($var); - $this->search_click_share = $var; - - return $this; - } - - /** - * The impressions you've received divided by the estimated number of - * impressions you were eligible to receive on the Search Network for search - * terms that matched your keywords exactly (or were close variants of your - * keyword), regardless of your keyword match types. Note: Search exact match - * impression share is reported in the range of 0.1 to 1. Any value below 0.1 - * is reported as 0.0999. - * - * Generated from protobuf field optional double search_exact_match_impression_share = 141; - * @return float - */ - public function getSearchExactMatchImpressionShare() - { - return isset($this->search_exact_match_impression_share) ? $this->search_exact_match_impression_share : 0.0; - } - - public function hasSearchExactMatchImpressionShare() - { - return isset($this->search_exact_match_impression_share); - } - - public function clearSearchExactMatchImpressionShare() - { - unset($this->search_exact_match_impression_share); - } - - /** - * The impressions you've received divided by the estimated number of - * impressions you were eligible to receive on the Search Network for search - * terms that matched your keywords exactly (or were close variants of your - * keyword), regardless of your keyword match types. Note: Search exact match - * impression share is reported in the range of 0.1 to 1. Any value below 0.1 - * is reported as 0.0999. - * - * Generated from protobuf field optional double search_exact_match_impression_share = 141; - * @param float $var - * @return $this - */ - public function setSearchExactMatchImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_exact_match_impression_share = $var; - - return $this; - } - - /** - * The impressions you've received on the Search Network divided - * by the estimated number of impressions you were eligible to receive. - * Note: Search impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_impression_share = 142; - * @return float - */ - public function getSearchImpressionShare() - { - return isset($this->search_impression_share) ? $this->search_impression_share : 0.0; - } - - public function hasSearchImpressionShare() - { - return isset($this->search_impression_share); - } - - public function clearSearchImpressionShare() - { - unset($this->search_impression_share); - } - - /** - * The impressions you've received on the Search Network divided - * by the estimated number of impressions you were eligible to receive. - * Note: Search impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_impression_share = 142; - * @param float $var - * @return $this - */ - public function setSearchImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_impression_share = $var; - - return $this; - } - - /** - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to poor Ad Rank. - * Note: Search rank lost absolute top impression share is reported in the - * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_absolute_top_impression_share = 143; - * @return float - */ - public function getSearchRankLostAbsoluteTopImpressionShare() - { - return isset($this->search_rank_lost_absolute_top_impression_share) ? $this->search_rank_lost_absolute_top_impression_share : 0.0; - } - - public function hasSearchRankLostAbsoluteTopImpressionShare() - { - return isset($this->search_rank_lost_absolute_top_impression_share); - } - - public function clearSearchRankLostAbsoluteTopImpressionShare() - { - unset($this->search_rank_lost_absolute_top_impression_share); - } - - /** - * The number estimating how often your ad wasn't the very first ad above the - * organic search results due to poor Ad Rank. - * Note: Search rank lost absolute top impression share is reported in the - * range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_absolute_top_impression_share = 143; - * @param float $var - * @return $this - */ - public function setSearchRankLostAbsoluteTopImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_rank_lost_absolute_top_impression_share = $var; - - return $this; - } - - /** - * The estimated percentage of impressions on the Search Network - * that your ads didn't receive due to poor Ad Rank. - * Note: Search rank lost impression share is reported in the range of 0 to - * 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_impression_share = 144; - * @return float - */ - public function getSearchRankLostImpressionShare() - { - return isset($this->search_rank_lost_impression_share) ? $this->search_rank_lost_impression_share : 0.0; - } - - public function hasSearchRankLostImpressionShare() - { - return isset($this->search_rank_lost_impression_share); - } - - public function clearSearchRankLostImpressionShare() - { - unset($this->search_rank_lost_impression_share); - } - - /** - * The estimated percentage of impressions on the Search Network - * that your ads didn't receive due to poor Ad Rank. - * Note: Search rank lost impression share is reported in the range of 0 to - * 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_impression_share = 144; - * @param float $var - * @return $this - */ - public function setSearchRankLostImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_rank_lost_impression_share = $var; - - return $this; - } - - /** - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to poor Ad Rank. - * Note: Search rank lost top impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_top_impression_share = 145; - * @return float - */ - public function getSearchRankLostTopImpressionShare() - { - return isset($this->search_rank_lost_top_impression_share) ? $this->search_rank_lost_top_impression_share : 0.0; - } - - public function hasSearchRankLostTopImpressionShare() - { - return isset($this->search_rank_lost_top_impression_share); - } - - public function clearSearchRankLostTopImpressionShare() - { - unset($this->search_rank_lost_top_impression_share); - } - - /** - * The number estimating how often your ad didn't show anywhere above the - * organic search results due to poor Ad Rank. - * Note: Search rank lost top impression share is reported in the range of 0 - * to 0.9. Any value above 0.9 is reported as 0.9001. - * - * Generated from protobuf field optional double search_rank_lost_top_impression_share = 145; - * @param float $var - * @return $this - */ - public function setSearchRankLostTopImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_rank_lost_top_impression_share = $var; - - return $this; - } - - /** - * The impressions you've received in the top location (anywhere above the - * organic search results) compared to the estimated number of impressions you - * were eligible to receive in the top location. - * Note: Search top impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_top_impression_share = 146; - * @return float - */ - public function getSearchTopImpressionShare() - { - return isset($this->search_top_impression_share) ? $this->search_top_impression_share : 0.0; - } - - public function hasSearchTopImpressionShare() - { - return isset($this->search_top_impression_share); - } - - public function clearSearchTopImpressionShare() - { - unset($this->search_top_impression_share); - } - - /** - * The impressions you've received in the top location (anywhere above the - * organic search results) compared to the estimated number of impressions you - * were eligible to receive in the top location. - * Note: Search top impression share is reported in the range of 0.1 to 1. Any - * value below 0.1 is reported as 0.0999. - * - * Generated from protobuf field optional double search_top_impression_share = 146; - * @param float $var - * @return $this - */ - public function setSearchTopImpressionShare($var) - { - GPBUtil::checkDouble($var); - $this->search_top_impression_share = $var; - - return $this; - } - - /** - * Search volume range for a search term insight category. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.SearchVolumeRange search_volume = 295; - * @return \Google\Ads\GoogleAds\V15\Common\SearchVolumeRange|null - */ - public function getSearchVolume() - { - return $this->search_volume; - } - - public function hasSearchVolume() - { - return isset($this->search_volume); - } - - public function clearSearchVolume() - { - unset($this->search_volume); - } - - /** - * Search volume range for a search term insight category. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.SearchVolumeRange search_volume = 295; - * @param \Google\Ads\GoogleAds\V15\Common\SearchVolumeRange $var - * @return $this - */ - public function setSearchVolume($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\SearchVolumeRange::class); - $this->search_volume = $var; - - return $this; - } - - /** - * A measure of how quickly your page loads after clicks on your mobile ads. - * The score is a range from 1 to 10, 10 being the fastest. - * - * Generated from protobuf field optional int64 speed_score = 147; - * @return int|string - */ - public function getSpeedScore() - { - return isset($this->speed_score) ? $this->speed_score : 0; - } - - public function hasSpeedScore() - { - return isset($this->speed_score); - } - - public function clearSpeedScore() - { - unset($this->speed_score); - } - - /** - * A measure of how quickly your page loads after clicks on your mobile ads. - * The score is a range from 1 to 10, 10 being the fastest. - * - * Generated from protobuf field optional int64 speed_score = 147; - * @param int|string $var - * @return $this - */ - public function setSpeedScore($var) - { - GPBUtil::checkInt64($var); - $this->speed_score = $var; - - return $this; - } - - /** - * The average Target CPA, or unset if not available (for example, for - * campaigns that had traffic from portfolio bidding strategies or non-tCPA). - * - * Generated from protobuf field optional int64 average_target_cpa_micros = 290; - * @return int|string - */ - public function getAverageTargetCpaMicros() - { - return isset($this->average_target_cpa_micros) ? $this->average_target_cpa_micros : 0; - } - - public function hasAverageTargetCpaMicros() - { - return isset($this->average_target_cpa_micros); - } - - public function clearAverageTargetCpaMicros() - { - unset($this->average_target_cpa_micros); - } - - /** - * The average Target CPA, or unset if not available (for example, for - * campaigns that had traffic from portfolio bidding strategies or non-tCPA). - * - * Generated from protobuf field optional int64 average_target_cpa_micros = 290; - * @param int|string $var - * @return $this - */ - public function setAverageTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->average_target_cpa_micros = $var; - - return $this; - } - - /** - * The average Target ROAS, or unset if not available (for example, for - * campaigns that had traffic from portfolio bidding strategies or non-tROAS). - * - * Generated from protobuf field optional double average_target_roas = 250; - * @return float - */ - public function getAverageTargetRoas() - { - return isset($this->average_target_roas) ? $this->average_target_roas : 0.0; - } - - public function hasAverageTargetRoas() - { - return isset($this->average_target_roas); - } - - public function clearAverageTargetRoas() - { - unset($this->average_target_roas); - } - - /** - * The average Target ROAS, or unset if not available (for example, for - * campaigns that had traffic from portfolio bidding strategies or non-tROAS). - * - * Generated from protobuf field optional double average_target_roas = 250; - * @param float $var - * @return $this - */ - public function setAverageTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->average_target_roas = $var; - - return $this; - } - - /** - * The percent of your ad impressions that are shown anywhere above the - * organic search results. - * - * Generated from protobuf field optional double top_impression_percentage = 148; - * @return float - */ - public function getTopImpressionPercentage() - { - return isset($this->top_impression_percentage) ? $this->top_impression_percentage : 0.0; - } - - public function hasTopImpressionPercentage() - { - return isset($this->top_impression_percentage); - } - - public function clearTopImpressionPercentage() - { - unset($this->top_impression_percentage); - } - - /** - * The percent of your ad impressions that are shown anywhere above the - * organic search results. - * - * Generated from protobuf field optional double top_impression_percentage = 148; - * @param float $var - * @return $this - */ - public function setTopImpressionPercentage($var) - { - GPBUtil::checkDouble($var); - $this->top_impression_percentage = $var; - - return $this; - } - - /** - * The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - * that reach a valid AMP page. - * - * Generated from protobuf field optional double valid_accelerated_mobile_pages_clicks_percentage = 149; - * @return float - */ - public function getValidAcceleratedMobilePagesClicksPercentage() - { - return isset($this->valid_accelerated_mobile_pages_clicks_percentage) ? $this->valid_accelerated_mobile_pages_clicks_percentage : 0.0; - } - - public function hasValidAcceleratedMobilePagesClicksPercentage() - { - return isset($this->valid_accelerated_mobile_pages_clicks_percentage); - } - - public function clearValidAcceleratedMobilePagesClicksPercentage() - { - unset($this->valid_accelerated_mobile_pages_clicks_percentage); - } - - /** - * The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - * that reach a valid AMP page. - * - * Generated from protobuf field optional double valid_accelerated_mobile_pages_clicks_percentage = 149; - * @param float $var - * @return $this - */ - public function setValidAcceleratedMobilePagesClicksPercentage($var) - { - GPBUtil::checkDouble($var); - $this->valid_accelerated_mobile_pages_clicks_percentage = $var; - - return $this; - } - - /** - * The value of all conversions divided by the number of all conversions. - * - * Generated from protobuf field optional double value_per_all_conversions = 150; - * @return float - */ - public function getValuePerAllConversions() - { - return isset($this->value_per_all_conversions) ? $this->value_per_all_conversions : 0.0; - } - - public function hasValuePerAllConversions() - { - return isset($this->value_per_all_conversions); - } - - public function clearValuePerAllConversions() - { - unset($this->value_per_all_conversions); - } - - /** - * The value of all conversions divided by the number of all conversions. - * - * Generated from protobuf field optional double value_per_all_conversions = 150; - * @param float $var - * @return $this - */ - public function setValuePerAllConversions($var) - { - GPBUtil::checkDouble($var); - $this->value_per_all_conversions = $var; - - return $this; - } - - /** - * The value of all conversions divided by the number of all conversions. When - * this column is selected with date, the values in date column means the - * conversion date. Details for the by_conversion_date columns are available - * at https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field optional double value_per_all_conversions_by_conversion_date = 244; - * @return float - */ - public function getValuePerAllConversionsByConversionDate() - { - return isset($this->value_per_all_conversions_by_conversion_date) ? $this->value_per_all_conversions_by_conversion_date : 0.0; - } - - public function hasValuePerAllConversionsByConversionDate() - { - return isset($this->value_per_all_conversions_by_conversion_date); - } - - public function clearValuePerAllConversionsByConversionDate() - { - unset($this->value_per_all_conversions_by_conversion_date); - } - - /** - * The value of all conversions divided by the number of all conversions. When - * this column is selected with date, the values in date column means the - * conversion date. Details for the by_conversion_date columns are available - * at https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field optional double value_per_all_conversions_by_conversion_date = 244; - * @param float $var - * @return $this - */ - public function setValuePerAllConversionsByConversionDate($var) - { - GPBUtil::checkDouble($var); - $this->value_per_all_conversions_by_conversion_date = $var; - - return $this; - } - - /** - * The value of conversions divided by the number of conversions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. - * - * Generated from protobuf field optional double value_per_conversion = 151; - * @return float - */ - public function getValuePerConversion() - { - return isset($this->value_per_conversion) ? $this->value_per_conversion : 0.0; - } - - public function hasValuePerConversion() - { - return isset($this->value_per_conversion); - } - - public function clearValuePerConversion() - { - unset($this->value_per_conversion); - } - - /** - * The value of conversions divided by the number of conversions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. - * - * Generated from protobuf field optional double value_per_conversion = 151; - * @param float $var - * @return $this - */ - public function setValuePerConversion($var) - { - GPBUtil::checkDouble($var); - $this->value_per_conversion = $var; - - return $this; - } - - /** - * The value of conversions divided by the number of conversions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. When this column is selected with - * date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field optional double value_per_conversions_by_conversion_date = 245; - * @return float - */ - public function getValuePerConversionsByConversionDate() - { - return isset($this->value_per_conversions_by_conversion_date) ? $this->value_per_conversions_by_conversion_date : 0.0; - } - - public function hasValuePerConversionsByConversionDate() - { - return isset($this->value_per_conversions_by_conversion_date); - } - - public function clearValuePerConversionsByConversionDate() - { - unset($this->value_per_conversions_by_conversion_date); - } - - /** - * The value of conversions divided by the number of conversions. This only - * includes conversion actions which include_in_conversions_metric attribute - * is set to true. If you use conversion-based bidding, your bid strategies - * will optimize for these conversions. When this column is selected with - * date, the values in date column means the conversion date. Details for the - * by_conversion_date columns are available at - * https://support.google.com/google-ads/answer/9549009. - * - * Generated from protobuf field optional double value_per_conversions_by_conversion_date = 245; - * @param float $var - * @return $this - */ - public function setValuePerConversionsByConversionDate($var) - { - GPBUtil::checkDouble($var); - $this->value_per_conversions_by_conversion_date = $var; - - return $this; - } - - /** - * The value of current model attributed conversions divided by the number of - * the conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double value_per_current_model_attributed_conversion = 152; - * @return float - */ - public function getValuePerCurrentModelAttributedConversion() - { - return isset($this->value_per_current_model_attributed_conversion) ? $this->value_per_current_model_attributed_conversion : 0.0; - } - - public function hasValuePerCurrentModelAttributedConversion() - { - return isset($this->value_per_current_model_attributed_conversion); - } - - public function clearValuePerCurrentModelAttributedConversion() - { - unset($this->value_per_current_model_attributed_conversion); - } - - /** - * The value of current model attributed conversions divided by the number of - * the conversions. This only includes conversion actions which - * include_in_conversions_metric attribute is set to true. If you use - * conversion-based bidding, your bid strategies will optimize for these - * conversions. - * - * Generated from protobuf field optional double value_per_current_model_attributed_conversion = 152; - * @param float $var - * @return $this - */ - public function setValuePerCurrentModelAttributedConversion($var) - { - GPBUtil::checkDouble($var); - $this->value_per_current_model_attributed_conversion = $var; - - return $this; - } - - /** - * Percentage of impressions where the viewer watched all of your video. - * - * Generated from protobuf field optional double video_quartile_p100_rate = 132; - * @return float - */ - public function getVideoQuartileP100Rate() - { - return isset($this->video_quartile_p100_rate) ? $this->video_quartile_p100_rate : 0.0; - } - - public function hasVideoQuartileP100Rate() - { - return isset($this->video_quartile_p100_rate); - } - - public function clearVideoQuartileP100Rate() - { - unset($this->video_quartile_p100_rate); - } - - /** - * Percentage of impressions where the viewer watched all of your video. - * - * Generated from protobuf field optional double video_quartile_p100_rate = 132; - * @param float $var - * @return $this - */ - public function setVideoQuartileP100Rate($var) - { - GPBUtil::checkDouble($var); - $this->video_quartile_p100_rate = $var; - - return $this; - } - - /** - * Percentage of impressions where the viewer watched 25% of your video. - * - * Generated from protobuf field optional double video_quartile_p25_rate = 133; - * @return float - */ - public function getVideoQuartileP25Rate() - { - return isset($this->video_quartile_p25_rate) ? $this->video_quartile_p25_rate : 0.0; - } - - public function hasVideoQuartileP25Rate() - { - return isset($this->video_quartile_p25_rate); - } - - public function clearVideoQuartileP25Rate() - { - unset($this->video_quartile_p25_rate); - } - - /** - * Percentage of impressions where the viewer watched 25% of your video. - * - * Generated from protobuf field optional double video_quartile_p25_rate = 133; - * @param float $var - * @return $this - */ - public function setVideoQuartileP25Rate($var) - { - GPBUtil::checkDouble($var); - $this->video_quartile_p25_rate = $var; - - return $this; - } - - /** - * Percentage of impressions where the viewer watched 50% of your video. - * - * Generated from protobuf field optional double video_quartile_p50_rate = 134; - * @return float - */ - public function getVideoQuartileP50Rate() - { - return isset($this->video_quartile_p50_rate) ? $this->video_quartile_p50_rate : 0.0; - } - - public function hasVideoQuartileP50Rate() - { - return isset($this->video_quartile_p50_rate); - } - - public function clearVideoQuartileP50Rate() - { - unset($this->video_quartile_p50_rate); - } - - /** - * Percentage of impressions where the viewer watched 50% of your video. - * - * Generated from protobuf field optional double video_quartile_p50_rate = 134; - * @param float $var - * @return $this - */ - public function setVideoQuartileP50Rate($var) - { - GPBUtil::checkDouble($var); - $this->video_quartile_p50_rate = $var; - - return $this; - } - - /** - * Percentage of impressions where the viewer watched 75% of your video. - * - * Generated from protobuf field optional double video_quartile_p75_rate = 135; - * @return float - */ - public function getVideoQuartileP75Rate() - { - return isset($this->video_quartile_p75_rate) ? $this->video_quartile_p75_rate : 0.0; - } - - public function hasVideoQuartileP75Rate() - { - return isset($this->video_quartile_p75_rate); - } - - public function clearVideoQuartileP75Rate() - { - unset($this->video_quartile_p75_rate); - } - - /** - * Percentage of impressions where the viewer watched 75% of your video. - * - * Generated from protobuf field optional double video_quartile_p75_rate = 135; - * @param float $var - * @return $this - */ - public function setVideoQuartileP75Rate($var) - { - GPBUtil::checkDouble($var); - $this->video_quartile_p75_rate = $var; - - return $this; - } - - /** - * The number of views your TrueView video ad receives divided by its number - * of impressions, including thumbnail impressions for TrueView in-display - * ads. - * - * Generated from protobuf field optional double video_view_rate = 153; - * @return float - */ - public function getVideoViewRate() - { - return isset($this->video_view_rate) ? $this->video_view_rate : 0.0; - } - - public function hasVideoViewRate() - { - return isset($this->video_view_rate); - } - - public function clearVideoViewRate() - { - unset($this->video_view_rate); - } - - /** - * The number of views your TrueView video ad receives divided by its number - * of impressions, including thumbnail impressions for TrueView in-display - * ads. - * - * Generated from protobuf field optional double video_view_rate = 153; - * @param float $var - * @return $this - */ - public function setVideoViewRate($var) - { - GPBUtil::checkDouble($var); - $this->video_view_rate = $var; - - return $this; - } - - /** - * The number of times your video ads were viewed. - * - * Generated from protobuf field optional int64 video_views = 154; - * @return int|string - */ - public function getVideoViews() - { - return isset($this->video_views) ? $this->video_views : 0; - } - - public function hasVideoViews() - { - return isset($this->video_views); - } - - public function clearVideoViews() - { - unset($this->video_views); - } - - /** - * The number of times your video ads were viewed. - * - * Generated from protobuf field optional int64 video_views = 154; - * @param int|string $var - * @return $this - */ - public function setVideoViews($var) - { - GPBUtil::checkInt64($var); - $this->video_views = $var; - - return $this; - } - - /** - * The total number of view-through conversions. - * These happen when a customer sees an image or rich media ad, then later - * completes a conversion on your site without interacting with (for example, - * clicking on) another ad. - * - * Generated from protobuf field optional int64 view_through_conversions = 155; - * @return int|string - */ - public function getViewThroughConversions() - { - return isset($this->view_through_conversions) ? $this->view_through_conversions : 0; - } - - public function hasViewThroughConversions() - { - return isset($this->view_through_conversions); - } - - public function clearViewThroughConversions() - { - unset($this->view_through_conversions); - } - - /** - * The total number of view-through conversions. - * These happen when a customer sees an image or rich media ad, then later - * completes a conversion on your site without interacting with (for example, - * clicking on) another ad. - * - * Generated from protobuf field optional int64 view_through_conversions = 155; - * @param int|string $var - * @return $this - */ - public function setViewThroughConversions($var) - { - GPBUtil::checkInt64($var); - $this->view_through_conversions = $var; - - return $this; - } - - /** - * The number of iOS Store Kit Ad Network conversions. - * - * Generated from protobuf field int64 sk_ad_network_installs = 246; - * @return int|string - */ - public function getSkAdNetworkInstalls() - { - return $this->sk_ad_network_installs; - } - - /** - * The number of iOS Store Kit Ad Network conversions. - * - * Generated from protobuf field int64 sk_ad_network_installs = 246; - * @param int|string $var - * @return $this - */ - public function setSkAdNetworkInstalls($var) - { - GPBUtil::checkInt64($var); - $this->sk_ad_network_installs = $var; - - return $this; - } - - /** - * The total number of iOS Store Kit Ad Network conversions. - * - * Generated from protobuf field int64 sk_ad_network_total_conversions = 292; - * @return int|string - */ - public function getSkAdNetworkTotalConversions() - { - return $this->sk_ad_network_total_conversions; - } - - /** - * The total number of iOS Store Kit Ad Network conversions. - * - * Generated from protobuf field int64 sk_ad_network_total_conversions = 292; - * @param int|string $var - * @return $this - */ - public function setSkAdNetworkTotalConversions($var) - { - GPBUtil::checkInt64($var); - $this->sk_ad_network_total_conversions = $var; - - return $this; - } - - /** - * Clicks from properties not owned by the publisher for which the traffic - * the publisher has paid for or acquired through incentivized activity - * - * Generated from protobuf field int64 publisher_purchased_clicks = 264; - * @return int|string - */ - public function getPublisherPurchasedClicks() - { - return $this->publisher_purchased_clicks; - } - - /** - * Clicks from properties not owned by the publisher for which the traffic - * the publisher has paid for or acquired through incentivized activity - * - * Generated from protobuf field int64 publisher_purchased_clicks = 264; - * @param int|string $var - * @return $this - */ - public function setPublisherPurchasedClicks($var) - { - GPBUtil::checkInt64($var); - $this->publisher_purchased_clicks = $var; - - return $this; - } - - /** - * Clicks from properties for which the traffic the publisher has not paid - * for or acquired through incentivized activity - * - * Generated from protobuf field int64 publisher_organic_clicks = 265; - * @return int|string - */ - public function getPublisherOrganicClicks() - { - return $this->publisher_organic_clicks; - } - - /** - * Clicks from properties for which the traffic the publisher has not paid - * for or acquired through incentivized activity - * - * Generated from protobuf field int64 publisher_organic_clicks = 265; - * @param int|string $var - * @return $this - */ - public function setPublisherOrganicClicks($var) - { - GPBUtil::checkInt64($var); - $this->publisher_organic_clicks = $var; - - return $this; - } - - /** - * Clicks from traffic which is not identified as "Publisher Purchased" or - * "Publisher Organic" - * - * Generated from protobuf field int64 publisher_unknown_clicks = 266; - * @return int|string - */ - public function getPublisherUnknownClicks() - { - return $this->publisher_unknown_clicks; - } - - /** - * Clicks from traffic which is not identified as "Publisher Purchased" or - * "Publisher Organic" - * - * Generated from protobuf field int64 publisher_unknown_clicks = 266; - * @param int|string $var - * @return $this - */ - public function setPublisherUnknownClicks($var) - { - GPBUtil::checkInt64($var); - $this->publisher_unknown_clicks = $var; - - return $this; - } - - /** - * Number of call button clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_click_to_call = 267; - * @return float - */ - public function getAllConversionsFromLocationAssetClickToCall() - { - return isset($this->all_conversions_from_location_asset_click_to_call) ? $this->all_conversions_from_location_asset_click_to_call : 0.0; - } - - public function hasAllConversionsFromLocationAssetClickToCall() - { - return isset($this->all_conversions_from_location_asset_click_to_call); - } - - public function clearAllConversionsFromLocationAssetClickToCall() - { - unset($this->all_conversions_from_location_asset_click_to_call); - } - - /** - * Number of call button clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_click_to_call = 267; - * @param float $var - * @return $this - */ - public function setAllConversionsFromLocationAssetClickToCall($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_location_asset_click_to_call = $var; - - return $this; - } - - /** - * Number of driving directions clicks on any location surface after a - * chargeable ad event (click or impression). This measure is coming - * from Asset based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_directions = 268; - * @return float - */ - public function getAllConversionsFromLocationAssetDirections() - { - return isset($this->all_conversions_from_location_asset_directions) ? $this->all_conversions_from_location_asset_directions : 0.0; - } - - public function hasAllConversionsFromLocationAssetDirections() - { - return isset($this->all_conversions_from_location_asset_directions); - } - - public function clearAllConversionsFromLocationAssetDirections() - { - unset($this->all_conversions_from_location_asset_directions); - } - - /** - * Number of driving directions clicks on any location surface after a - * chargeable ad event (click or impression). This measure is coming - * from Asset based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_directions = 268; - * @param float $var - * @return $this - */ - public function setAllConversionsFromLocationAssetDirections($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_location_asset_directions = $var; - - return $this; - } - - /** - * Number of menu link clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_menu = 269; - * @return float - */ - public function getAllConversionsFromLocationAssetMenu() - { - return isset($this->all_conversions_from_location_asset_menu) ? $this->all_conversions_from_location_asset_menu : 0.0; - } - - public function hasAllConversionsFromLocationAssetMenu() - { - return isset($this->all_conversions_from_location_asset_menu); - } - - public function clearAllConversionsFromLocationAssetMenu() - { - unset($this->all_conversions_from_location_asset_menu); - } - - /** - * Number of menu link clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_menu = 269; - * @param float $var - * @return $this - */ - public function setAllConversionsFromLocationAssetMenu($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_location_asset_menu = $var; - - return $this; - } - - /** - * Number of order clicks on any location surface after a chargeable ad event - * (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_order = 270; - * @return float - */ - public function getAllConversionsFromLocationAssetOrder() - { - return isset($this->all_conversions_from_location_asset_order) ? $this->all_conversions_from_location_asset_order : 0.0; - } - - public function hasAllConversionsFromLocationAssetOrder() - { - return isset($this->all_conversions_from_location_asset_order); - } - - public function clearAllConversionsFromLocationAssetOrder() - { - unset($this->all_conversions_from_location_asset_order); - } - - /** - * Number of order clicks on any location surface after a chargeable ad event - * (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_order = 270; - * @param float $var - * @return $this - */ - public function setAllConversionsFromLocationAssetOrder($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_location_asset_order = $var; - - return $this; - } - - /** - * Number of other types of local action clicks on any location surface after - * a chargeable ad event (click or impression). This measure is coming - * from Asset based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_other_engagement = 271; - * @return float - */ - public function getAllConversionsFromLocationAssetOtherEngagement() - { - return isset($this->all_conversions_from_location_asset_other_engagement) ? $this->all_conversions_from_location_asset_other_engagement : 0.0; - } - - public function hasAllConversionsFromLocationAssetOtherEngagement() - { - return isset($this->all_conversions_from_location_asset_other_engagement); - } - - public function clearAllConversionsFromLocationAssetOtherEngagement() - { - unset($this->all_conversions_from_location_asset_other_engagement); - } - - /** - * Number of other types of local action clicks on any location surface after - * a chargeable ad event (click or impression). This measure is coming - * from Asset based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_other_engagement = 271; - * @param float $var - * @return $this - */ - public function setAllConversionsFromLocationAssetOtherEngagement($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_location_asset_other_engagement = $var; - - return $this; - } - - /** - * Estimated number of visits to the store after a chargeable - * ad event (click or impression). This measure is coming from Asset - * based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_store_visits = 272; - * @return float - */ - public function getAllConversionsFromLocationAssetStoreVisits() - { - return isset($this->all_conversions_from_location_asset_store_visits) ? $this->all_conversions_from_location_asset_store_visits : 0.0; - } - - public function hasAllConversionsFromLocationAssetStoreVisits() - { - return isset($this->all_conversions_from_location_asset_store_visits); - } - - public function clearAllConversionsFromLocationAssetStoreVisits() - { - unset($this->all_conversions_from_location_asset_store_visits); - } - - /** - * Estimated number of visits to the store after a chargeable - * ad event (click or impression). This measure is coming from Asset - * based location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_store_visits = 272; - * @param float $var - * @return $this - */ - public function setAllConversionsFromLocationAssetStoreVisits($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_location_asset_store_visits = $var; - - return $this; - } - - /** - * Number of website URL clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_website = 273; - * @return float - */ - public function getAllConversionsFromLocationAssetWebsite() - { - return isset($this->all_conversions_from_location_asset_website) ? $this->all_conversions_from_location_asset_website : 0.0; - } - - public function hasAllConversionsFromLocationAssetWebsite() - { - return isset($this->all_conversions_from_location_asset_website); - } - - public function clearAllConversionsFromLocationAssetWebsite() - { - unset($this->all_conversions_from_location_asset_website); - } - - /** - * Number of website URL clicks on any location surface after a chargeable ad - * event (click or impression). This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional double all_conversions_from_location_asset_website = 273; - * @param float $var - * @return $this - */ - public function setAllConversionsFromLocationAssetWebsite($var) - { - GPBUtil::checkDouble($var); - $this->all_conversions_from_location_asset_website = $var; - - return $this; - } - - /** - * Number of impressions in which the store location was shown or the location - * was used for targeting. This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional int64 eligible_impressions_from_location_asset_store_reach = 274; - * @return int|string - */ - public function getEligibleImpressionsFromLocationAssetStoreReach() - { - return isset($this->eligible_impressions_from_location_asset_store_reach) ? $this->eligible_impressions_from_location_asset_store_reach : 0; - } - - public function hasEligibleImpressionsFromLocationAssetStoreReach() - { - return isset($this->eligible_impressions_from_location_asset_store_reach); - } - - public function clearEligibleImpressionsFromLocationAssetStoreReach() - { - unset($this->eligible_impressions_from_location_asset_store_reach); - } - - /** - * Number of impressions in which the store location was shown or the location - * was used for targeting. This measure is coming from Asset based - * location. - * - * Generated from protobuf field optional int64 eligible_impressions_from_location_asset_store_reach = 274; - * @param int|string $var - * @return $this - */ - public function setEligibleImpressionsFromLocationAssetStoreReach($var) - { - GPBUtil::checkInt64($var); - $this->eligible_impressions_from_location_asset_store_reach = $var; - - return $this; - } - - /** - * Number of call button clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_click_to_call = 275; - * @return float - */ - public function getViewThroughConversionsFromLocationAssetClickToCall() - { - return isset($this->view_through_conversions_from_location_asset_click_to_call) ? $this->view_through_conversions_from_location_asset_click_to_call : 0.0; - } - - public function hasViewThroughConversionsFromLocationAssetClickToCall() - { - return isset($this->view_through_conversions_from_location_asset_click_to_call); - } - - public function clearViewThroughConversionsFromLocationAssetClickToCall() - { - unset($this->view_through_conversions_from_location_asset_click_to_call); - } - - /** - * Number of call button clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_click_to_call = 275; - * @param float $var - * @return $this - */ - public function setViewThroughConversionsFromLocationAssetClickToCall($var) - { - GPBUtil::checkDouble($var); - $this->view_through_conversions_from_location_asset_click_to_call = $var; - - return $this; - } - - /** - * Number of driving directions clicks on any location surface after an - * impression. This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_directions = 276; - * @return float - */ - public function getViewThroughConversionsFromLocationAssetDirections() - { - return isset($this->view_through_conversions_from_location_asset_directions) ? $this->view_through_conversions_from_location_asset_directions : 0.0; - } - - public function hasViewThroughConversionsFromLocationAssetDirections() - { - return isset($this->view_through_conversions_from_location_asset_directions); - } - - public function clearViewThroughConversionsFromLocationAssetDirections() - { - unset($this->view_through_conversions_from_location_asset_directions); - } - - /** - * Number of driving directions clicks on any location surface after an - * impression. This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_directions = 276; - * @param float $var - * @return $this - */ - public function setViewThroughConversionsFromLocationAssetDirections($var) - { - GPBUtil::checkDouble($var); - $this->view_through_conversions_from_location_asset_directions = $var; - - return $this; - } - - /** - * Number of menu link clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_menu = 277; - * @return float - */ - public function getViewThroughConversionsFromLocationAssetMenu() - { - return isset($this->view_through_conversions_from_location_asset_menu) ? $this->view_through_conversions_from_location_asset_menu : 0.0; - } - - public function hasViewThroughConversionsFromLocationAssetMenu() - { - return isset($this->view_through_conversions_from_location_asset_menu); - } - - public function clearViewThroughConversionsFromLocationAssetMenu() - { - unset($this->view_through_conversions_from_location_asset_menu); - } - - /** - * Number of menu link clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_menu = 277; - * @param float $var - * @return $this - */ - public function setViewThroughConversionsFromLocationAssetMenu($var) - { - GPBUtil::checkDouble($var); - $this->view_through_conversions_from_location_asset_menu = $var; - - return $this; - } - - /** - * Number of order clicks on any location surface after an impression. This - * measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_order = 278; - * @return float - */ - public function getViewThroughConversionsFromLocationAssetOrder() - { - return isset($this->view_through_conversions_from_location_asset_order) ? $this->view_through_conversions_from_location_asset_order : 0.0; - } - - public function hasViewThroughConversionsFromLocationAssetOrder() - { - return isset($this->view_through_conversions_from_location_asset_order); - } - - public function clearViewThroughConversionsFromLocationAssetOrder() - { - unset($this->view_through_conversions_from_location_asset_order); - } - - /** - * Number of order clicks on any location surface after an impression. This - * measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_order = 278; - * @param float $var - * @return $this - */ - public function setViewThroughConversionsFromLocationAssetOrder($var) - { - GPBUtil::checkDouble($var); - $this->view_through_conversions_from_location_asset_order = $var; - - return $this; - } - - /** - * Number of other types of local action clicks on any location surface after - * an impression. This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_other_engagement = 279; - * @return float - */ - public function getViewThroughConversionsFromLocationAssetOtherEngagement() - { - return isset($this->view_through_conversions_from_location_asset_other_engagement) ? $this->view_through_conversions_from_location_asset_other_engagement : 0.0; - } - - public function hasViewThroughConversionsFromLocationAssetOtherEngagement() - { - return isset($this->view_through_conversions_from_location_asset_other_engagement); - } - - public function clearViewThroughConversionsFromLocationAssetOtherEngagement() - { - unset($this->view_through_conversions_from_location_asset_other_engagement); - } - - /** - * Number of other types of local action clicks on any location surface after - * an impression. This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_other_engagement = 279; - * @param float $var - * @return $this - */ - public function setViewThroughConversionsFromLocationAssetOtherEngagement($var) - { - GPBUtil::checkDouble($var); - $this->view_through_conversions_from_location_asset_other_engagement = $var; - - return $this; - } - - /** - * Estimated number of visits to the store after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_store_visits = 280; - * @return float - */ - public function getViewThroughConversionsFromLocationAssetStoreVisits() - { - return isset($this->view_through_conversions_from_location_asset_store_visits) ? $this->view_through_conversions_from_location_asset_store_visits : 0.0; - } - - public function hasViewThroughConversionsFromLocationAssetStoreVisits() - { - return isset($this->view_through_conversions_from_location_asset_store_visits); - } - - public function clearViewThroughConversionsFromLocationAssetStoreVisits() - { - unset($this->view_through_conversions_from_location_asset_store_visits); - } - - /** - * Estimated number of visits to the store after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_store_visits = 280; - * @param float $var - * @return $this - */ - public function setViewThroughConversionsFromLocationAssetStoreVisits($var) - { - GPBUtil::checkDouble($var); - $this->view_through_conversions_from_location_asset_store_visits = $var; - - return $this; - } - - /** - * Number of website URL clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_website = 281; - * @return float - */ - public function getViewThroughConversionsFromLocationAssetWebsite() - { - return isset($this->view_through_conversions_from_location_asset_website) ? $this->view_through_conversions_from_location_asset_website : 0.0; - } - - public function hasViewThroughConversionsFromLocationAssetWebsite() - { - return isset($this->view_through_conversions_from_location_asset_website); - } - - public function clearViewThroughConversionsFromLocationAssetWebsite() - { - unset($this->view_through_conversions_from_location_asset_website); - } - - /** - * Number of website URL clicks on any location surface after an impression. - * This measure is coming from Asset based location. - * - * Generated from protobuf field optional double view_through_conversions_from_location_asset_website = 281; - * @param float $var - * @return $this - */ - public function setViewThroughConversionsFromLocationAssetWebsite($var) - { - GPBUtil::checkDouble($var); - $this->view_through_conversions_from_location_asset_website = $var; - - return $this; - } - - /** - * Orders is the total number of purchase conversions you received attributed - * to your ads. - * How it works: You report conversions with cart data for - * completed purchases on your website. If a conversion is attributed to - * previous interactions with your ads (clicks for text or Shopping ads, views - * for video ads etc.) it's counted as an order. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order on your website. Even though they bought 2 - * products, this would count as 1 order. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double orders = 296; - * @return float - */ - public function getOrders() - { - return isset($this->orders) ? $this->orders : 0.0; - } - - public function hasOrders() - { - return isset($this->orders); - } - - public function clearOrders() - { - unset($this->orders); - } - - /** - * Orders is the total number of purchase conversions you received attributed - * to your ads. - * How it works: You report conversions with cart data for - * completed purchases on your website. If a conversion is attributed to - * previous interactions with your ads (clicks for text or Shopping ads, views - * for video ads etc.) it's counted as an order. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order on your website. Even though they bought 2 - * products, this would count as 1 order. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double orders = 296; - * @param float $var - * @return $this - */ - public function setOrders($var) - { - GPBUtil::checkDouble($var); - $this->orders = $var; - - return $this; - } - - /** - * Average order value is the average revenue you made per order attributed to - * your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Average order value is the total revenue from your orders - * divided by the total number of orders. - * Example: You received 3 orders which made $10, $15 and $20 worth of - * revenue. The average order value is $15 = ($10 + $15 + $20)/3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 average_order_value_micros = 297; - * @return int|string - */ - public function getAverageOrderValueMicros() - { - return isset($this->average_order_value_micros) ? $this->average_order_value_micros : 0; - } - - public function hasAverageOrderValueMicros() - { - return isset($this->average_order_value_micros); - } - - public function clearAverageOrderValueMicros() - { - unset($this->average_order_value_micros); - } - - /** - * Average order value is the average revenue you made per order attributed to - * your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Average order value is the total revenue from your orders - * divided by the total number of orders. - * Example: You received 3 orders which made $10, $15 and $20 worth of - * revenue. The average order value is $15 = ($10 + $15 + $20)/3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 average_order_value_micros = 297; - * @param int|string $var - * @return $this - */ - public function setAverageOrderValueMicros($var) - { - GPBUtil::checkInt64($var); - $this->average_order_value_micros = $var; - - return $this; - } - - /** - * Average cart size is the average number of products in each order - * attributed to your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Average cart size is the total number of products sold - * divided by the total number of orders you received. - * Example: You received 2 orders, the first included 3 products and the - * second included 2. The average cart size is 2.5 products = (3+2)/2. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double average_cart_size = 298; - * @return float - */ - public function getAverageCartSize() - { - return isset($this->average_cart_size) ? $this->average_cart_size : 0.0; - } - - public function hasAverageCartSize() - { - return isset($this->average_cart_size); - } - - public function clearAverageCartSize() - { - unset($this->average_cart_size); - } - - /** - * Average cart size is the average number of products in each order - * attributed to your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Average cart size is the total number of products sold - * divided by the total number of orders you received. - * Example: You received 2 orders, the first included 3 products and the - * second included 2. The average cart size is 2.5 products = (3+2)/2. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double average_cart_size = 298; - * @param float $var - * @return $this - */ - public function setAverageCartSize($var) - { - GPBUtil::checkDouble($var); - $this->average_cart_size = $var; - - return $this; - } - - /** - * Cost of goods sold (COGS) is the total cost of the products you sold in - * orders attributed to your ads. - * How it works: You can add a cost of goods sold value to every product in - * Merchant Center. If you report conversions with cart data, the products you - * sold are matched with their cost of goods sold value and this can be used - * to calculate the gross profit you made on each order. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The cost of goods sold for this order - * is $8 = $3 + $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cost_of_goods_sold_micros = 299; - * @return int|string - */ - public function getCostOfGoodsSoldMicros() - { - return isset($this->cost_of_goods_sold_micros) ? $this->cost_of_goods_sold_micros : 0; - } - - public function hasCostOfGoodsSoldMicros() - { - return isset($this->cost_of_goods_sold_micros); - } - - public function clearCostOfGoodsSoldMicros() - { - unset($this->cost_of_goods_sold_micros); - } - - /** - * Cost of goods sold (COGS) is the total cost of the products you sold in - * orders attributed to your ads. - * How it works: You can add a cost of goods sold value to every product in - * Merchant Center. If you report conversions with cart data, the products you - * sold are matched with their cost of goods sold value and this can be used - * to calculate the gross profit you made on each order. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The cost of goods sold for this order - * is $8 = $3 + $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cost_of_goods_sold_micros = 299; - * @param int|string $var - * @return $this - */ - public function setCostOfGoodsSoldMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_of_goods_sold_micros = $var; - - return $this; - } - - /** - * Gross profit is the profit you made from orders attributed to your ads - * minus the cost of goods sold (COGS). - * How it works: Gross profit is the revenue you made from sales attributed to - * your ads minus cost of goods sold. Gross profit calculations only include - * products that have a cost of goods sold value in Merchant Center. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order from your website. The hat is priced $10 and - * the shirt is priced $20. The hat has a cost of goods sold value of $3, but - * the shirt has no cost of goods sold value. Gross profit for this order will - * only take into account the hat, so it's $7 = $10 - $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 gross_profit_micros = 300; - * @return int|string - */ - public function getGrossProfitMicros() - { - return isset($this->gross_profit_micros) ? $this->gross_profit_micros : 0; - } - - public function hasGrossProfitMicros() - { - return isset($this->gross_profit_micros); - } - - public function clearGrossProfitMicros() - { - unset($this->gross_profit_micros); - } - - /** - * Gross profit is the profit you made from orders attributed to your ads - * minus the cost of goods sold (COGS). - * How it works: Gross profit is the revenue you made from sales attributed to - * your ads minus cost of goods sold. Gross profit calculations only include - * products that have a cost of goods sold value in Merchant Center. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order from your website. The hat is priced $10 and - * the shirt is priced $20. The hat has a cost of goods sold value of $3, but - * the shirt has no cost of goods sold value. Gross profit for this order will - * only take into account the hat, so it's $7 = $10 - $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 gross_profit_micros = 300; - * @param int|string $var - * @return $this - */ - public function setGrossProfitMicros($var) - { - GPBUtil::checkInt64($var); - $this->gross_profit_micros = $var; - - return $this; - } - - /** - * Gross profit margin is the percentage gross profit you made from orders - * attributed to your ads, after taking out the cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. Gross profit margin is the gross profit you made divided - * by your total revenue and multiplied by 100%. Gross profit margin - * calculations only include products that have a cost of goods sold value in - * Merchant Center. - * Example: Someone bought a hat and a shirt in an order on your website. The - * hat is priced $10 and has a cost of goods sold value of $3. The shirt is - * priced $20 but has no cost of goods sold value. Gross profit margin for - * this order will only take into account the hat because it has a cost of - * goods sold value, so it's 70% = ($10 - $3)/$10 x 100%. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double gross_profit_margin = 301; - * @return float - */ - public function getGrossProfitMargin() - { - return isset($this->gross_profit_margin) ? $this->gross_profit_margin : 0.0; - } - - public function hasGrossProfitMargin() - { - return isset($this->gross_profit_margin); - } - - public function clearGrossProfitMargin() - { - unset($this->gross_profit_margin); - } - - /** - * Gross profit margin is the percentage gross profit you made from orders - * attributed to your ads, after taking out the cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. Gross profit margin is the gross profit you made divided - * by your total revenue and multiplied by 100%. Gross profit margin - * calculations only include products that have a cost of goods sold value in - * Merchant Center. - * Example: Someone bought a hat and a shirt in an order on your website. The - * hat is priced $10 and has a cost of goods sold value of $3. The shirt is - * priced $20 but has no cost of goods sold value. Gross profit margin for - * this order will only take into account the hat because it has a cost of - * goods sold value, so it's 70% = ($10 - $3)/$10 x 100%. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double gross_profit_margin = 301; - * @param float $var - * @return $this - */ - public function setGrossProfitMargin($var) - { - GPBUtil::checkDouble($var); - $this->gross_profit_margin = $var; - - return $this; - } - - /** - * Revenue is the total amount you made from orders attributed to your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Revenue is the total value of all the orders you received - * attributed to your ads, minus any discount. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order from your website. The hat is priced $10 and - * the shirt is priced $20. The entire order has a $5 discount. The revenue - * from this order is $25 = ($10 + $20) - $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 revenue_micros = 302; - * @return int|string - */ - public function getRevenueMicros() - { - return isset($this->revenue_micros) ? $this->revenue_micros : 0; - } - - public function hasRevenueMicros() - { - return isset($this->revenue_micros); - } - - public function clearRevenueMicros() - { - unset($this->revenue_micros); - } - - /** - * Revenue is the total amount you made from orders attributed to your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Revenue is the total value of all the orders you received - * attributed to your ads, minus any discount. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt in an order from your website. The hat is priced $10 and - * the shirt is priced $20. The entire order has a $5 discount. The revenue - * from this order is $25 = ($10 + $20) - $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 revenue_micros = 302; - * @param int|string $var - * @return $this - */ - public function setRevenueMicros($var) - { - GPBUtil::checkInt64($var); - $this->revenue_micros = $var; - - return $this; - } - - /** - * Units sold is the total number of products sold from orders attributed to - * your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Units sold is the total number of products sold from all - * orders attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The units sold in this order is 3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double units_sold = 303; - * @return float - */ - public function getUnitsSold() - { - return isset($this->units_sold) ? $this->units_sold : 0.0; - } - - public function hasUnitsSold() - { - return isset($this->units_sold); - } - - public function clearUnitsSold() - { - unset($this->units_sold); - } - - /** - * Units sold is the total number of products sold from orders attributed to - * your ads. - * How it works: You report conversions with cart data for completed purchases - * on your website. Units sold is the total number of products sold from all - * orders attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The units sold in this order is 3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double units_sold = 303; - * @param float $var - * @return $this - */ - public function setUnitsSold($var) - { - GPBUtil::checkDouble($var); - $this->units_sold = $var; - - return $this; - } - - /** - * Cross-sell cost of goods sold (COGS) is the total cost of products sold as - * a result of advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell cost of goods sold is the total cost of - * the products sold that weren't advertised. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The cross-sell cost of goods sold for - * this order is $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_cost_of_goods_sold_micros = 304; - * @return int|string - */ - public function getCrossSellCostOfGoodsSoldMicros() - { - return isset($this->cross_sell_cost_of_goods_sold_micros) ? $this->cross_sell_cost_of_goods_sold_micros : 0; - } - - public function hasCrossSellCostOfGoodsSoldMicros() - { - return isset($this->cross_sell_cost_of_goods_sold_micros); - } - - public function clearCrossSellCostOfGoodsSoldMicros() - { - unset($this->cross_sell_cost_of_goods_sold_micros); - } - - /** - * Cross-sell cost of goods sold (COGS) is the total cost of products sold as - * a result of advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell cost of goods sold is the total cost of - * the products sold that weren't advertised. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The cross-sell cost of goods sold for - * this order is $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_cost_of_goods_sold_micros = 304; - * @param int|string $var - * @return $this - */ - public function setCrossSellCostOfGoodsSoldMicros($var) - { - GPBUtil::checkInt64($var); - $this->cross_sell_cost_of_goods_sold_micros = $var; - - return $this; - } - - /** - * Cross-sell gross profit is the profit you made from products sold as a - * result of advertising a different product, minus cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the purchase is a sold - * product. If these products don't match then this is considered cross-sell. - * Cross-sell gross profit is the revenue you made from cross-sell attributed - * to your ads minus the cost of the goods sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The shirt is priced $20 and has a cost of goods sold value - * of $5. The cross-sell gross profit of this order is $15 = $20 - $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_gross_profit_micros = 305; - * @return int|string - */ - public function getCrossSellGrossProfitMicros() - { - return isset($this->cross_sell_gross_profit_micros) ? $this->cross_sell_gross_profit_micros : 0; - } - - public function hasCrossSellGrossProfitMicros() - { - return isset($this->cross_sell_gross_profit_micros); - } - - public function clearCrossSellGrossProfitMicros() - { - unset($this->cross_sell_gross_profit_micros); - } - - /** - * Cross-sell gross profit is the profit you made from products sold as a - * result of advertising a different product, minus cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the purchase is a sold - * product. If these products don't match then this is considered cross-sell. - * Cross-sell gross profit is the revenue you made from cross-sell attributed - * to your ads minus the cost of the goods sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The shirt is priced $20 and has a cost of goods sold value - * of $5. The cross-sell gross profit of this order is $15 = $20 - $5. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_gross_profit_micros = 305; - * @param int|string $var - * @return $this - */ - public function setCrossSellGrossProfitMicros($var) - { - GPBUtil::checkInt64($var); - $this->cross_sell_gross_profit_micros = $var; - - return $this; - } - - /** - * Cross-sell revenue is the total amount you made from products sold as a - * result of advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell revenue is the total value you made from - * cross-sell attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The - * cross-sell revenue of this order is $20. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_revenue_micros = 306; - * @return int|string - */ - public function getCrossSellRevenueMicros() - { - return isset($this->cross_sell_revenue_micros) ? $this->cross_sell_revenue_micros : 0; - } - - public function hasCrossSellRevenueMicros() - { - return isset($this->cross_sell_revenue_micros); - } - - public function clearCrossSellRevenueMicros() - { - unset($this->cross_sell_revenue_micros); - } - - /** - * Cross-sell revenue is the total amount you made from products sold as a - * result of advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell revenue is the total value you made from - * cross-sell attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The - * cross-sell revenue of this order is $20. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 cross_sell_revenue_micros = 306; - * @param int|string $var - * @return $this - */ - public function setCrossSellRevenueMicros($var) - { - GPBUtil::checkInt64($var); - $this->cross_sell_revenue_micros = $var; - - return $this; - } - - /** - * Cross-sell units sold is the total number of products sold as a result of - * advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell units sold is the total number of - * cross-sold products from all orders attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The cross-sell units sold in this order is 2. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double cross_sell_units_sold = 307; - * @return float - */ - public function getCrossSellUnitsSold() - { - return isset($this->cross_sell_units_sold) ? $this->cross_sell_units_sold : 0.0; - } - - public function hasCrossSellUnitsSold() - { - return isset($this->cross_sell_units_sold); - } - - public function clearCrossSellUnitsSold() - { - unset($this->cross_sell_units_sold); - } - - /** - * Cross-sell units sold is the total number of products sold as a result of - * advertising a different product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If these products don't match then this is - * considered cross-sell. Cross-sell units sold is the total number of - * cross-sold products from all orders attributed to your ads. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The cross-sell units sold in this order is 2. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double cross_sell_units_sold = 307; - * @param float $var - * @return $this - */ - public function setCrossSellUnitsSold($var) - { - GPBUtil::checkDouble($var); - $this->cross_sell_units_sold = $var; - - return $this; - } - - /** - * Lead cost of goods sold (COGS) is the total cost of products sold as a - * result of advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with has an associated - * product (see Shopping Ads) then this product is considered the advertised - * product. Any product included in the order the customer places is a sold - * product. If the advertised and sold products match, then the cost of these - * goods is counted under lead cost of goods sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The lead cost of goods sold for this - * order is $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_cost_of_goods_sold_micros = 308; - * @return int|string - */ - public function getLeadCostOfGoodsSoldMicros() - { - return isset($this->lead_cost_of_goods_sold_micros) ? $this->lead_cost_of_goods_sold_micros : 0; - } - - public function hasLeadCostOfGoodsSoldMicros() - { - return isset($this->lead_cost_of_goods_sold_micros); - } - - public function clearLeadCostOfGoodsSoldMicros() - { - unset($this->lead_cost_of_goods_sold_micros); - } - - /** - * Lead cost of goods sold (COGS) is the total cost of products sold as a - * result of advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with has an associated - * product (see Shopping Ads) then this product is considered the advertised - * product. Any product included in the order the customer places is a sold - * product. If the advertised and sold products match, then the cost of these - * goods is counted under lead cost of goods sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat has a cost of goods sold value of $3, the shirt - * has a cost of goods sold value of $5. The lead cost of goods sold for this - * order is $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_cost_of_goods_sold_micros = 308; - * @param int|string $var - * @return $this - */ - public function setLeadCostOfGoodsSoldMicros($var) - { - GPBUtil::checkInt64($var); - $this->lead_cost_of_goods_sold_micros = $var; - - return $this; - } - - /** - * Lead gross profit is the profit you made from products sold as a result of - * advertising the same product, minus cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the revenue you made from these sales minus the cost of goods sold is your - * lead gross profit. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and has a cost of goods sold value - * of $3. The lead gross profit of this order is $7 = $10 - $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_gross_profit_micros = 309; - * @return int|string - */ - public function getLeadGrossProfitMicros() - { - return isset($this->lead_gross_profit_micros) ? $this->lead_gross_profit_micros : 0; - } - - public function hasLeadGrossProfitMicros() - { - return isset($this->lead_gross_profit_micros); - } - - public function clearLeadGrossProfitMicros() - { - unset($this->lead_gross_profit_micros); - } - - /** - * Lead gross profit is the profit you made from products sold as a result of - * advertising the same product, minus cost of goods sold (COGS). - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the revenue you made from these sales minus the cost of goods sold is your - * lead gross profit. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and has a cost of goods sold value - * of $3. The lead gross profit of this order is $7 = $10 - $3. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_gross_profit_micros = 309; - * @param int|string $var - * @return $this - */ - public function setLeadGrossProfitMicros($var) - { - GPBUtil::checkInt64($var); - $this->lead_gross_profit_micros = $var; - - return $this; - } - - /** - * Lead revenue is the total amount you made from products sold as a result of - * advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the total value you made from the sales of these products is shown under - * lead revenue. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The - * lead revenue of this order is $10. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_revenue_micros = 310; - * @return int|string - */ - public function getLeadRevenueMicros() - { - return isset($this->lead_revenue_micros) ? $this->lead_revenue_micros : 0; - } - - public function hasLeadRevenueMicros() - { - return isset($this->lead_revenue_micros); - } - - public function clearLeadRevenueMicros() - { - unset($this->lead_revenue_micros); - } - - /** - * Lead revenue is the total amount you made from products sold as a result of - * advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the total value you made from the sales of these products is shown under - * lead revenue. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat and a shirt. The hat is priced $10 and the shirt is priced $20. The - * lead revenue of this order is $10. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional int64 lead_revenue_micros = 310; - * @param int|string $var - * @return $this - */ - public function setLeadRevenueMicros($var) - { - GPBUtil::checkInt64($var); - $this->lead_revenue_micros = $var; - - return $this; - } - - /** - * Lead units sold is the total number of products sold as a result of - * advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the total number of these products sold is shown under lead units sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The lead units sold in this order is 1. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double lead_units_sold = 311; - * @return float - */ - public function getLeadUnitsSold() - { - return isset($this->lead_units_sold) ? $this->lead_units_sold : 0.0; - } - - public function hasLeadUnitsSold() - { - return isset($this->lead_units_sold); - } - - public function clearLeadUnitsSold() - { - unset($this->lead_units_sold); - } - - /** - * Lead units sold is the total number of products sold as a result of - * advertising the same product. - * How it works: You report conversions with cart data for completed purchases - * on your website. If the ad that was interacted with before the purchase has - * an associated product (see Shopping Ads) then this product is considered - * the advertised product. Any product included in the order the customer - * places is a sold product. If the advertised and sold products match, then - * the total number of these products sold is shown under lead units sold. - * Example: Someone clicked on a Shopping ad for a hat then bought the same - * hat, a shirt and a jacket. The lead units sold in this order is 1. - * This metric is only available if you report conversions with cart data. - * - * Generated from protobuf field optional double lead_units_sold = 311; - * @param float $var - * @return $this - */ - public function setLeadUnitsSold($var) - { - GPBUtil::checkDouble($var); - $this->lead_units_sold = $var; - - return $this; - } - - /** - * The number of unique users who saw your ad during the requested time - * period. This metric cannot be aggregated, and can only be requested for - * date ranges of 92 days or less. This metric is available for following - * campaign types - Display, Video, Discovery and App. - * - * Generated from protobuf field optional int64 unique_users = 319; - * @return int|string - */ - public function getUniqueUsers() - { - return isset($this->unique_users) ? $this->unique_users : 0; - } - - public function hasUniqueUsers() - { - return isset($this->unique_users); - } - - public function clearUniqueUsers() - { - unset($this->unique_users); - } - - /** - * The number of unique users who saw your ad during the requested time - * period. This metric cannot be aggregated, and can only be requested for - * date ranges of 92 days or less. This metric is available for following - * campaign types - Display, Video, Discovery and App. - * - * Generated from protobuf field optional int64 unique_users = 319; - * @param int|string $var - * @return $this - */ - public function setUniqueUsers($var) - { - GPBUtil::checkInt64($var); - $this->unique_users = $var; - - return $this; - } - - /** - * The average number of times a unique user saw your ad during the requested - * time period. This metric cannot be aggregated, and can only be requested - * for date ranges of 92 days or less. This metric is available for following - * campaign types - Display, Video, Discovery and App. - * - * Generated from protobuf field optional double average_impression_frequency_per_user = 320; - * @return float - */ - public function getAverageImpressionFrequencyPerUser() - { - return isset($this->average_impression_frequency_per_user) ? $this->average_impression_frequency_per_user : 0.0; - } - - public function hasAverageImpressionFrequencyPerUser() - { - return isset($this->average_impression_frequency_per_user); - } - - public function clearAverageImpressionFrequencyPerUser() - { - unset($this->average_impression_frequency_per_user); - } - - /** - * The average number of times a unique user saw your ad during the requested - * time period. This metric cannot be aggregated, and can only be requested - * for date ranges of 92 days or less. This metric is available for following - * campaign types - Display, Video, Discovery and App. - * - * Generated from protobuf field optional double average_impression_frequency_per_user = 320; - * @param float $var - * @return $this - */ - public function setAverageImpressionFrequencyPerUser($var) - { - GPBUtil::checkDouble($var); - $this->average_impression_frequency_per_user = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MobileAppAsset.php b/src/Google/Ads/GoogleAds/V15/Common/MobileAppAsset.php deleted file mode 100644 index 52dbf7648..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MobileAppAsset.php +++ /dev/null @@ -1,223 +0,0 @@ -google.ads.googleads.v15.common.MobileAppAsset - */ -class MobileAppAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. A string that uniquely identifies a mobile application. It should - * just contain the platform native id, like "com.android.ebay" for Android or - * "12345689" for iOS. - * - * Generated from protobuf field string app_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $app_id = ''; - /** - * Required. The application store that distributes this specific app. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor app_store = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $app_store = 0; - /** - * Required. The visible text displayed when the link is rendered in an ad. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string link_text = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $link_text = ''; - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 4; - */ - protected $start_date = ''; - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 5; - */ - protected $end_date = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $app_id - * Required. A string that uniquely identifies a mobile application. It should - * just contain the platform native id, like "com.android.ebay" for Android or - * "12345689" for iOS. - * @type int $app_store - * Required. The application store that distributes this specific app. - * @type string $link_text - * Required. The visible text displayed when the link is rendered in an ad. - * The length of this string should be between 1 and 25, inclusive. - * @type string $start_date - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * @type string $end_date - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. A string that uniquely identifies a mobile application. It should - * just contain the platform native id, like "com.android.ebay" for Android or - * "12345689" for iOS. - * - * Generated from protobuf field string app_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getAppId() - { - return $this->app_id; - } - - /** - * Required. A string that uniquely identifies a mobile application. It should - * just contain the platform native id, like "com.android.ebay" for Android or - * "12345689" for iOS. - * - * Generated from protobuf field string app_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * Required. The application store that distributes this specific app. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor app_store = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getAppStore() - { - return $this->app_store; - } - - /** - * Required. The application store that distributes this specific app. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor app_store = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setAppStore($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MobileAppVendorEnum\MobileAppVendor::class); - $this->app_store = $var; - - return $this; - } - - /** - * Required. The visible text displayed when the link is rendered in an ad. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string link_text = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getLinkText() - { - return $this->link_text; - } - - /** - * Required. The visible text displayed when the link is rendered in an ad. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string link_text = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setLinkText($var) - { - GPBUtil::checkString($var, True); - $this->link_text = $var; - - return $this; - } - - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 4; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 4; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 5; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 5; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MobileAppCategoryInfo.php b/src/Google/Ads/GoogleAds/V15/Common/MobileAppCategoryInfo.php deleted file mode 100644 index c92e07bef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MobileAppCategoryInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.MobileAppCategoryInfo - */ -class MobileAppCategoryInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The mobile app category constant resource name. - * - * Generated from protobuf field optional string mobile_app_category_constant = 2 [(.google.api.resource_reference) = { - */ - protected $mobile_app_category_constant = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $mobile_app_category_constant - * The mobile app category constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The mobile app category constant resource name. - * - * Generated from protobuf field optional string mobile_app_category_constant = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getMobileAppCategoryConstant() - { - return isset($this->mobile_app_category_constant) ? $this->mobile_app_category_constant : ''; - } - - public function hasMobileAppCategoryConstant() - { - return isset($this->mobile_app_category_constant); - } - - public function clearMobileAppCategoryConstant() - { - unset($this->mobile_app_category_constant); - } - - /** - * The mobile app category constant resource name. - * - * Generated from protobuf field optional string mobile_app_category_constant = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setMobileAppCategoryConstant($var) - { - GPBUtil::checkString($var, True); - $this->mobile_app_category_constant = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MobileApplicationInfo.php b/src/Google/Ads/GoogleAds/V15/Common/MobileApplicationInfo.php deleted file mode 100644 index f899288b5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MobileApplicationInfo.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.common.MobileApplicationInfo - */ -class MobileApplicationInfo extends \Google\Protobuf\Internal\Message -{ - /** - * A string that uniquely identifies a mobile application to Google Ads API. - * The format of this string is "{platform}-{platform_native_id}", where - * platform is "1" for iOS apps and "2" for Android apps, and where - * platform_native_id is the mobile application identifier native to the - * corresponding platform. - * For iOS, this native identifier is the 9 digit string that appears at the - * end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose - * App Store link is - * "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, - * this native identifier is the application's package name (for example, - * "com.labpixies.colordrips" for "Color Drips" given Google Play link - * "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). - * A well formed app id for Google Ads API would thus be "1-476943146" for iOS - * and "2-com.labpixies.colordrips" for Android. - * This field is required and must be set in CREATE operations. - * - * Generated from protobuf field optional string app_id = 4; - */ - protected $app_id = null; - /** - * Name of this mobile application. - * - * Generated from protobuf field optional string name = 5; - */ - protected $name = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $app_id - * A string that uniquely identifies a mobile application to Google Ads API. - * The format of this string is "{platform}-{platform_native_id}", where - * platform is "1" for iOS apps and "2" for Android apps, and where - * platform_native_id is the mobile application identifier native to the - * corresponding platform. - * For iOS, this native identifier is the 9 digit string that appears at the - * end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose - * App Store link is - * "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, - * this native identifier is the application's package name (for example, - * "com.labpixies.colordrips" for "Color Drips" given Google Play link - * "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). - * A well formed app id for Google Ads API would thus be "1-476943146" for iOS - * and "2-com.labpixies.colordrips" for Android. - * This field is required and must be set in CREATE operations. - * @type string $name - * Name of this mobile application. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * A string that uniquely identifies a mobile application to Google Ads API. - * The format of this string is "{platform}-{platform_native_id}", where - * platform is "1" for iOS apps and "2" for Android apps, and where - * platform_native_id is the mobile application identifier native to the - * corresponding platform. - * For iOS, this native identifier is the 9 digit string that appears at the - * end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose - * App Store link is - * "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, - * this native identifier is the application's package name (for example, - * "com.labpixies.colordrips" for "Color Drips" given Google Play link - * "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). - * A well formed app id for Google Ads API would thus be "1-476943146" for iOS - * and "2-com.labpixies.colordrips" for Android. - * This field is required and must be set in CREATE operations. - * - * Generated from protobuf field optional string app_id = 4; - * @return string - */ - public function getAppId() - { - return isset($this->app_id) ? $this->app_id : ''; - } - - public function hasAppId() - { - return isset($this->app_id); - } - - public function clearAppId() - { - unset($this->app_id); - } - - /** - * A string that uniquely identifies a mobile application to Google Ads API. - * The format of this string is "{platform}-{platform_native_id}", where - * platform is "1" for iOS apps and "2" for Android apps, and where - * platform_native_id is the mobile application identifier native to the - * corresponding platform. - * For iOS, this native identifier is the 9 digit string that appears at the - * end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose - * App Store link is - * "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, - * this native identifier is the application's package name (for example, - * "com.labpixies.colordrips" for "Color Drips" given Google Play link - * "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). - * A well formed app id for Google Ads API would thus be "1-476943146" for iOS - * and "2-com.labpixies.colordrips" for Android. - * This field is required and must be set in CREATE operations. - * - * Generated from protobuf field optional string app_id = 4; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * Name of this mobile application. - * - * Generated from protobuf field optional string name = 5; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Name of this mobile application. - * - * Generated from protobuf field optional string name = 5; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MobileDeviceInfo.php b/src/Google/Ads/GoogleAds/V15/Common/MobileDeviceInfo.php deleted file mode 100644 index e944c0870..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MobileDeviceInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.MobileDeviceInfo - */ -class MobileDeviceInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The mobile device constant resource name. - * - * Generated from protobuf field optional string mobile_device_constant = 2; - */ - protected $mobile_device_constant = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $mobile_device_constant - * The mobile device constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The mobile device constant resource name. - * - * Generated from protobuf field optional string mobile_device_constant = 2; - * @return string - */ - public function getMobileDeviceConstant() - { - return isset($this->mobile_device_constant) ? $this->mobile_device_constant : ''; - } - - public function hasMobileDeviceConstant() - { - return isset($this->mobile_device_constant); - } - - public function clearMobileDeviceConstant() - { - unset($this->mobile_device_constant); - } - - /** - * The mobile device constant resource name. - * - * Generated from protobuf field optional string mobile_device_constant = 2; - * @param string $var - * @return $this - */ - public function setMobileDeviceConstant($var) - { - GPBUtil::checkString($var, True); - $this->mobile_device_constant = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Money.php b/src/Google/Ads/GoogleAds/V15/Common/Money.php deleted file mode 100644 index 482ac57a0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Money.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.common.Money - */ -class Money extends \Google\Protobuf\Internal\Message -{ - /** - * Three-character ISO 4217 currency code. - * - * Generated from protobuf field optional string currency_code = 3; - */ - protected $currency_code = null; - /** - * Amount in micros. One million is equivalent to one unit. - * - * Generated from protobuf field optional int64 amount_micros = 4; - */ - protected $amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $currency_code - * Three-character ISO 4217 currency code. - * @type int|string $amount_micros - * Amount in micros. One million is equivalent to one unit. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\FeedCommon::initOnce(); - parent::__construct($data); - } - - /** - * Three-character ISO 4217 currency code. - * - * Generated from protobuf field optional string currency_code = 3; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * Three-character ISO 4217 currency code. - * - * Generated from protobuf field optional string currency_code = 3; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Amount in micros. One million is equivalent to one unit. - * - * Generated from protobuf field optional int64 amount_micros = 4; - * @return int|string - */ - public function getAmountMicros() - { - return isset($this->amount_micros) ? $this->amount_micros : 0; - } - - public function hasAmountMicros() - { - return isset($this->amount_micros); - } - - public function clearAmountMicros() - { - unset($this->amount_micros); - } - - /** - * Amount in micros. One million is equivalent to one unit. - * - * Generated from protobuf field optional int64 amount_micros = 4; - * @param int|string $var - * @return $this - */ - public function setAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->amount_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/MonthlySearchVolume.php b/src/Google/Ads/GoogleAds/V15/Common/MonthlySearchVolume.php deleted file mode 100644 index 46f8a8cbb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/MonthlySearchVolume.php +++ /dev/null @@ -1,163 +0,0 @@ -google.ads.googleads.v15.common.MonthlySearchVolume - */ -class MonthlySearchVolume extends \Google\Protobuf\Internal\Message -{ - /** - * The year of the search volume (for example, 2020). - * - * Generated from protobuf field optional int64 year = 4; - */ - protected $year = null; - /** - * The month of the search volume. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month = 2; - */ - protected $month = 0; - /** - * Approximate number of searches for the month. - * A null value indicates the search volume is unavailable for - * that month. - * - * Generated from protobuf field optional int64 monthly_searches = 5; - */ - protected $monthly_searches = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $year - * The year of the search volume (for example, 2020). - * @type int $month - * The month of the search volume. - * @type int|string $monthly_searches - * Approximate number of searches for the month. - * A null value indicates the search volume is unavailable for - * that month. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\KeywordPlanCommon::initOnce(); - parent::__construct($data); - } - - /** - * The year of the search volume (for example, 2020). - * - * Generated from protobuf field optional int64 year = 4; - * @return int|string - */ - public function getYear() - { - return isset($this->year) ? $this->year : 0; - } - - public function hasYear() - { - return isset($this->year); - } - - public function clearYear() - { - unset($this->year); - } - - /** - * The year of the search volume (for example, 2020). - * - * Generated from protobuf field optional int64 year = 4; - * @param int|string $var - * @return $this - */ - public function setYear($var) - { - GPBUtil::checkInt64($var); - $this->year = $var; - - return $this; - } - - /** - * The month of the search volume. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month = 2; - * @return int - */ - public function getMonth() - { - return $this->month; - } - - /** - * The month of the search volume. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month = 2; - * @param int $var - * @return $this - */ - public function setMonth($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MonthOfYearEnum\MonthOfYear::class); - $this->month = $var; - - return $this; - } - - /** - * Approximate number of searches for the month. - * A null value indicates the search volume is unavailable for - * that month. - * - * Generated from protobuf field optional int64 monthly_searches = 5; - * @return int|string - */ - public function getMonthlySearches() - { - return isset($this->monthly_searches) ? $this->monthly_searches : 0; - } - - public function hasMonthlySearches() - { - return isset($this->monthly_searches); - } - - public function clearMonthlySearches() - { - unset($this->monthly_searches); - } - - /** - * Approximate number of searches for the month. - * A null value indicates the search volume is unavailable for - * that month. - * - * Generated from protobuf field optional int64 monthly_searches = 5; - * @param int|string $var - * @return $this - */ - public function setMonthlySearches($var) - { - GPBUtil::checkInt64($var); - $this->monthly_searches = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/NegativeKeywordListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/NegativeKeywordListInfo.php deleted file mode 100644 index 4303e5a27..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/NegativeKeywordListInfo.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.common.NegativeKeywordListInfo - */ -class NegativeKeywordListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The NegativeKeywordListInfo shared set resource name. - * - * Generated from protobuf field optional string shared_set = 1; - */ - protected $shared_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $shared_set - * The NegativeKeywordListInfo shared set resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The NegativeKeywordListInfo shared set resource name. - * - * Generated from protobuf field optional string shared_set = 1; - * @return string - */ - public function getSharedSet() - { - return isset($this->shared_set) ? $this->shared_set : ''; - } - - public function hasSharedSet() - { - return isset($this->shared_set); - } - - public function clearSharedSet() - { - unset($this->shared_set); - } - - /** - * The NegativeKeywordListInfo shared set resource name. - * - * Generated from protobuf field optional string shared_set = 1; - * @param string $var - * @return $this - */ - public function setSharedSet($var) - { - GPBUtil::checkString($var, True); - $this->shared_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/OfflineUserAddressInfo.php b/src/Google/Ads/GoogleAds/V15/Common/OfflineUserAddressInfo.php deleted file mode 100644 index ec8831872..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/OfflineUserAddressInfo.php +++ /dev/null @@ -1,369 +0,0 @@ -google.ads.googleads.v15.common.OfflineUserAddressInfo - */ -class OfflineUserAddressInfo extends \Google\Protobuf\Internal\Message -{ - /** - * First name of the user, which is hashed as SHA-256 after normalized - * (Lowercase all characters; Remove any extra spaces before, after, and in - * between). - * - * Generated from protobuf field optional string hashed_first_name = 7; - */ - protected $hashed_first_name = null; - /** - * Last name of the user, which is hashed as SHA-256 after normalized (lower - * case only and no punctuation). - * - * Generated from protobuf field optional string hashed_last_name = 8; - */ - protected $hashed_last_name = null; - /** - * City of the address. Only accepted for Store Sales and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string city = 9; - */ - protected $city = null; - /** - * State code of the address. Only accepted for Store Sales and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string state = 10; - */ - protected $state = null; - /** - * 2-letter country code in ISO-3166-1 alpha-2 of the user's address. - * - * Generated from protobuf field optional string country_code = 11; - */ - protected $country_code = null; - /** - * Postal code of the user's address. - * - * Generated from protobuf field optional string postal_code = 12; - */ - protected $postal_code = null; - /** - * The street address of the user hashed using SHA-256 hash function after - * normalization (lower case only). Only accepted for - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string hashed_street_address = 13; - */ - protected $hashed_street_address = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $hashed_first_name - * First name of the user, which is hashed as SHA-256 after normalized - * (Lowercase all characters; Remove any extra spaces before, after, and in - * between). - * @type string $hashed_last_name - * Last name of the user, which is hashed as SHA-256 after normalized (lower - * case only and no punctuation). - * @type string $city - * City of the address. Only accepted for Store Sales and - * ConversionAdjustmentUploadService. - * @type string $state - * State code of the address. Only accepted for Store Sales and - * ConversionAdjustmentUploadService. - * @type string $country_code - * 2-letter country code in ISO-3166-1 alpha-2 of the user's address. - * @type string $postal_code - * Postal code of the user's address. - * @type string $hashed_street_address - * The street address of the user hashed using SHA-256 hash function after - * normalization (lower case only). Only accepted for - * ConversionAdjustmentUploadService. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * First name of the user, which is hashed as SHA-256 after normalized - * (Lowercase all characters; Remove any extra spaces before, after, and in - * between). - * - * Generated from protobuf field optional string hashed_first_name = 7; - * @return string - */ - public function getHashedFirstName() - { - return isset($this->hashed_first_name) ? $this->hashed_first_name : ''; - } - - public function hasHashedFirstName() - { - return isset($this->hashed_first_name); - } - - public function clearHashedFirstName() - { - unset($this->hashed_first_name); - } - - /** - * First name of the user, which is hashed as SHA-256 after normalized - * (Lowercase all characters; Remove any extra spaces before, after, and in - * between). - * - * Generated from protobuf field optional string hashed_first_name = 7; - * @param string $var - * @return $this - */ - public function setHashedFirstName($var) - { - GPBUtil::checkString($var, True); - $this->hashed_first_name = $var; - - return $this; - } - - /** - * Last name of the user, which is hashed as SHA-256 after normalized (lower - * case only and no punctuation). - * - * Generated from protobuf field optional string hashed_last_name = 8; - * @return string - */ - public function getHashedLastName() - { - return isset($this->hashed_last_name) ? $this->hashed_last_name : ''; - } - - public function hasHashedLastName() - { - return isset($this->hashed_last_name); - } - - public function clearHashedLastName() - { - unset($this->hashed_last_name); - } - - /** - * Last name of the user, which is hashed as SHA-256 after normalized (lower - * case only and no punctuation). - * - * Generated from protobuf field optional string hashed_last_name = 8; - * @param string $var - * @return $this - */ - public function setHashedLastName($var) - { - GPBUtil::checkString($var, True); - $this->hashed_last_name = $var; - - return $this; - } - - /** - * City of the address. Only accepted for Store Sales and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string city = 9; - * @return string - */ - public function getCity() - { - return isset($this->city) ? $this->city : ''; - } - - public function hasCity() - { - return isset($this->city); - } - - public function clearCity() - { - unset($this->city); - } - - /** - * City of the address. Only accepted for Store Sales and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string city = 9; - * @param string $var - * @return $this - */ - public function setCity($var) - { - GPBUtil::checkString($var, True); - $this->city = $var; - - return $this; - } - - /** - * State code of the address. Only accepted for Store Sales and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string state = 10; - * @return string - */ - public function getState() - { - return isset($this->state) ? $this->state : ''; - } - - public function hasState() - { - return isset($this->state); - } - - public function clearState() - { - unset($this->state); - } - - /** - * State code of the address. Only accepted for Store Sales and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string state = 10; - * @param string $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkString($var, True); - $this->state = $var; - - return $this; - } - - /** - * 2-letter country code in ISO-3166-1 alpha-2 of the user's address. - * - * Generated from protobuf field optional string country_code = 11; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * 2-letter country code in ISO-3166-1 alpha-2 of the user's address. - * - * Generated from protobuf field optional string country_code = 11; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * Postal code of the user's address. - * - * Generated from protobuf field optional string postal_code = 12; - * @return string - */ - public function getPostalCode() - { - return isset($this->postal_code) ? $this->postal_code : ''; - } - - public function hasPostalCode() - { - return isset($this->postal_code); - } - - public function clearPostalCode() - { - unset($this->postal_code); - } - - /** - * Postal code of the user's address. - * - * Generated from protobuf field optional string postal_code = 12; - * @param string $var - * @return $this - */ - public function setPostalCode($var) - { - GPBUtil::checkString($var, True); - $this->postal_code = $var; - - return $this; - } - - /** - * The street address of the user hashed using SHA-256 hash function after - * normalization (lower case only). Only accepted for - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string hashed_street_address = 13; - * @return string - */ - public function getHashedStreetAddress() - { - return isset($this->hashed_street_address) ? $this->hashed_street_address : ''; - } - - public function hasHashedStreetAddress() - { - return isset($this->hashed_street_address); - } - - public function clearHashedStreetAddress() - { - unset($this->hashed_street_address); - } - - /** - * The street address of the user hashed using SHA-256 hash function after - * normalization (lower case only). Only accepted for - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field optional string hashed_street_address = 13; - * @param string $var - * @return $this - */ - public function setHashedStreetAddress($var) - { - GPBUtil::checkString($var, True); - $this->hashed_street_address = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Operand.php b/src/Google/Ads/GoogleAds/V15/Common/Operand.php deleted file mode 100644 index c88dc1725..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Operand.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.common.Operand - */ -class Operand extends \Google\Protobuf\Internal\Message -{ - protected $function_argument_operand; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\Operand\ConstantOperand $constant_operand - * A constant operand in a matching function. - * @type \Google\Ads\GoogleAds\V15\Common\Operand\FeedAttributeOperand $feed_attribute_operand - * This operand specifies a feed attribute in feed. - * @type \Google\Ads\GoogleAds\V15\Common\Operand\FunctionOperand $function_operand - * A function operand in a matching function. - * Used to represent nested functions. - * @type \Google\Ads\GoogleAds\V15\Common\Operand\RequestContextOperand $request_context_operand - * An operand in a function referring to a value in the request context. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\MatchingFunction::initOnce(); - parent::__construct($data); - } - - /** - * A constant operand in a matching function. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Operand.ConstantOperand constant_operand = 1; - * @return \Google\Ads\GoogleAds\V15\Common\Operand\ConstantOperand|null - */ - public function getConstantOperand() - { - return $this->readOneof(1); - } - - public function hasConstantOperand() - { - return $this->hasOneof(1); - } - - /** - * A constant operand in a matching function. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Operand.ConstantOperand constant_operand = 1; - * @param \Google\Ads\GoogleAds\V15\Common\Operand\ConstantOperand $var - * @return $this - */ - public function setConstantOperand($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Operand\ConstantOperand::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * This operand specifies a feed attribute in feed. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Operand.FeedAttributeOperand feed_attribute_operand = 2; - * @return \Google\Ads\GoogleAds\V15\Common\Operand\FeedAttributeOperand|null - */ - public function getFeedAttributeOperand() - { - return $this->readOneof(2); - } - - public function hasFeedAttributeOperand() - { - return $this->hasOneof(2); - } - - /** - * This operand specifies a feed attribute in feed. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Operand.FeedAttributeOperand feed_attribute_operand = 2; - * @param \Google\Ads\GoogleAds\V15\Common\Operand\FeedAttributeOperand $var - * @return $this - */ - public function setFeedAttributeOperand($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Operand\FeedAttributeOperand::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A function operand in a matching function. - * Used to represent nested functions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Operand.FunctionOperand function_operand = 3; - * @return \Google\Ads\GoogleAds\V15\Common\Operand\FunctionOperand|null - */ - public function getFunctionOperand() - { - return $this->readOneof(3); - } - - public function hasFunctionOperand() - { - return $this->hasOneof(3); - } - - /** - * A function operand in a matching function. - * Used to represent nested functions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Operand.FunctionOperand function_operand = 3; - * @param \Google\Ads\GoogleAds\V15\Common\Operand\FunctionOperand $var - * @return $this - */ - public function setFunctionOperand($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Operand\FunctionOperand::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * An operand in a function referring to a value in the request context. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Operand.RequestContextOperand request_context_operand = 4; - * @return \Google\Ads\GoogleAds\V15\Common\Operand\RequestContextOperand|null - */ - public function getRequestContextOperand() - { - return $this->readOneof(4); - } - - public function hasRequestContextOperand() - { - return $this->hasOneof(4); - } - - /** - * An operand in a function referring to a value in the request context. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Operand.RequestContextOperand request_context_operand = 4; - * @param \Google\Ads\GoogleAds\V15\Common\Operand\RequestContextOperand $var - * @return $this - */ - public function setRequestContextOperand($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Operand\RequestContextOperand::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getFunctionArgumentOperand() - { - return $this->whichOneof("function_argument_operand"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Operand/ConstantOperand.php b/src/Google/Ads/GoogleAds/V15/Common/Operand/ConstantOperand.php deleted file mode 100644 index 4c99923f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Operand/ConstantOperand.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.common.Operand.ConstantOperand - */ -class ConstantOperand extends \Google\Protobuf\Internal\Message -{ - protected $constant_operand_value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $string_value - * String value of the operand if it is a string type. - * @type int|string $long_value - * Int64 value of the operand if it is a int64 type. - * @type bool $boolean_value - * Boolean value of the operand if it is a boolean type. - * @type float $double_value - * Double value of the operand if it is a double type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\MatchingFunction::initOnce(); - parent::__construct($data); - } - - /** - * String value of the operand if it is a string type. - * - * Generated from protobuf field string string_value = 5; - * @return string - */ - public function getStringValue() - { - return $this->readOneof(5); - } - - public function hasStringValue() - { - return $this->hasOneof(5); - } - - /** - * String value of the operand if it is a string type. - * - * Generated from protobuf field string string_value = 5; - * @param string $var - * @return $this - */ - public function setStringValue($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Int64 value of the operand if it is a int64 type. - * - * Generated from protobuf field int64 long_value = 6; - * @return int|string - */ - public function getLongValue() - { - return $this->readOneof(6); - } - - public function hasLongValue() - { - return $this->hasOneof(6); - } - - /** - * Int64 value of the operand if it is a int64 type. - * - * Generated from protobuf field int64 long_value = 6; - * @param int|string $var - * @return $this - */ - public function setLongValue($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Boolean value of the operand if it is a boolean type. - * - * Generated from protobuf field bool boolean_value = 7; - * @return bool - */ - public function getBooleanValue() - { - return $this->readOneof(7); - } - - public function hasBooleanValue() - { - return $this->hasOneof(7); - } - - /** - * Boolean value of the operand if it is a boolean type. - * - * Generated from protobuf field bool boolean_value = 7; - * @param bool $var - * @return $this - */ - public function setBooleanValue($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Double value of the operand if it is a double type. - * - * Generated from protobuf field double double_value = 8; - * @return float - */ - public function getDoubleValue() - { - return $this->readOneof(8); - } - - public function hasDoubleValue() - { - return $this->hasOneof(8); - } - - /** - * Double value of the operand if it is a double type. - * - * Generated from protobuf field double double_value = 8; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * @return string - */ - public function getConstantOperandValue() - { - return $this->whichOneof("constant_operand_value"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConstantOperand::class, \Google\Ads\GoogleAds\V15\Common\Operand_ConstantOperand::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Operand/FeedAttributeOperand.php b/src/Google/Ads/GoogleAds/V15/Common/Operand/FeedAttributeOperand.php deleted file mode 100644 index 4d1f57f0c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Operand/FeedAttributeOperand.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.common.Operand.FeedAttributeOperand - */ -class FeedAttributeOperand extends \Google\Protobuf\Internal\Message -{ - /** - * The associated feed. Required. - * - * Generated from protobuf field optional int64 feed_id = 3; - */ - protected $feed_id = null; - /** - * Id of the referenced feed attribute. Required. - * - * Generated from protobuf field optional int64 feed_attribute_id = 4; - */ - protected $feed_attribute_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $feed_id - * The associated feed. Required. - * @type int|string $feed_attribute_id - * Id of the referenced feed attribute. Required. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\MatchingFunction::initOnce(); - parent::__construct($data); - } - - /** - * The associated feed. Required. - * - * Generated from protobuf field optional int64 feed_id = 3; - * @return int|string - */ - public function getFeedId() - { - return isset($this->feed_id) ? $this->feed_id : 0; - } - - public function hasFeedId() - { - return isset($this->feed_id); - } - - public function clearFeedId() - { - unset($this->feed_id); - } - - /** - * The associated feed. Required. - * - * Generated from protobuf field optional int64 feed_id = 3; - * @param int|string $var - * @return $this - */ - public function setFeedId($var) - { - GPBUtil::checkInt64($var); - $this->feed_id = $var; - - return $this; - } - - /** - * Id of the referenced feed attribute. Required. - * - * Generated from protobuf field optional int64 feed_attribute_id = 4; - * @return int|string - */ - public function getFeedAttributeId() - { - return isset($this->feed_attribute_id) ? $this->feed_attribute_id : 0; - } - - public function hasFeedAttributeId() - { - return isset($this->feed_attribute_id); - } - - public function clearFeedAttributeId() - { - unset($this->feed_attribute_id); - } - - /** - * Id of the referenced feed attribute. Required. - * - * Generated from protobuf field optional int64 feed_attribute_id = 4; - * @param int|string $var - * @return $this - */ - public function setFeedAttributeId($var) - { - GPBUtil::checkInt64($var); - $this->feed_attribute_id = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedAttributeOperand::class, \Google\Ads\GoogleAds\V15\Common\Operand_FeedAttributeOperand::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Operand/FunctionOperand.php b/src/Google/Ads/GoogleAds/V15/Common/Operand/FunctionOperand.php deleted file mode 100644 index ee2c1adf4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Operand/FunctionOperand.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.common.Operand.FunctionOperand - */ -class FunctionOperand extends \Google\Protobuf\Internal\Message -{ - /** - * The matching function held in this operand. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 1; - */ - protected $matching_function = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\MatchingFunction $matching_function - * The matching function held in this operand. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\MatchingFunction::initOnce(); - parent::__construct($data); - } - - /** - * The matching function held in this operand. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 1; - * @return \Google\Ads\GoogleAds\V15\Common\MatchingFunction|null - */ - public function getMatchingFunction() - { - return $this->matching_function; - } - - public function hasMatchingFunction() - { - return isset($this->matching_function); - } - - public function clearMatchingFunction() - { - unset($this->matching_function); - } - - /** - * The matching function held in this operand. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 1; - * @param \Google\Ads\GoogleAds\V15\Common\MatchingFunction $var - * @return $this - */ - public function setMatchingFunction($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MatchingFunction::class); - $this->matching_function = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FunctionOperand::class, \Google\Ads\GoogleAds\V15\Common\Operand_FunctionOperand::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Operand/RequestContextOperand.php b/src/Google/Ads/GoogleAds/V15/Common/Operand/RequestContextOperand.php deleted file mode 100644 index c51f1f919..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Operand/RequestContextOperand.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.common.Operand.RequestContextOperand - */ -class RequestContextOperand extends \Google\Protobuf\Internal\Message -{ - /** - * Type of value to be referred in the request context. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1; - */ - protected $context_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $context_type - * Type of value to be referred in the request context. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\MatchingFunction::initOnce(); - parent::__construct($data); - } - - /** - * Type of value to be referred in the request context. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1; - * @return int - */ - public function getContextType() - { - return $this->context_type; - } - - /** - * Type of value to be referred in the request context. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1; - * @param int $var - * @return $this - */ - public function setContextType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MatchingFunctionContextTypeEnum\MatchingFunctionContextType::class); - $this->context_type = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RequestContextOperand::class, \Google\Ads\GoogleAds\V15\Common\Operand_RequestContextOperand::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/OperatingSystemVersionInfo.php b/src/Google/Ads/GoogleAds/V15/Common/OperatingSystemVersionInfo.php deleted file mode 100644 index 2c89a43dd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/OperatingSystemVersionInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.OperatingSystemVersionInfo - */ -class OperatingSystemVersionInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The operating system version constant resource name. - * - * Generated from protobuf field optional string operating_system_version_constant = 2; - */ - protected $operating_system_version_constant = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $operating_system_version_constant - * The operating system version constant resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The operating system version constant resource name. - * - * Generated from protobuf field optional string operating_system_version_constant = 2; - * @return string - */ - public function getOperatingSystemVersionConstant() - { - return isset($this->operating_system_version_constant) ? $this->operating_system_version_constant : ''; - } - - public function hasOperatingSystemVersionConstant() - { - return isset($this->operating_system_version_constant); - } - - public function clearOperatingSystemVersionConstant() - { - unset($this->operating_system_version_constant); - } - - /** - * The operating system version constant resource name. - * - * Generated from protobuf field optional string operating_system_version_constant = 2; - * @param string $var - * @return $this - */ - public function setOperatingSystemVersionConstant($var) - { - GPBUtil::checkString($var, True); - $this->operating_system_version_constant = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PageFeedAsset.php b/src/Google/Ads/GoogleAds/V15/Common/PageFeedAsset.php deleted file mode 100644 index f246b09bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PageFeedAsset.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.common.PageFeedAsset - */ -class PageFeedAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The webpage that advertisers want to target. - * - * Generated from protobuf field string page_url = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $page_url = ''; - /** - * Labels used to group the page urls. - * - * Generated from protobuf field repeated string labels = 2; - */ - private $labels; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $page_url - * Required. The webpage that advertisers want to target. - * @type array|\Google\Protobuf\Internal\RepeatedField $labels - * Labels used to group the page urls. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. The webpage that advertisers want to target. - * - * Generated from protobuf field string page_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPageUrl() - { - return $this->page_url; - } - - /** - * Required. The webpage that advertisers want to target. - * - * Generated from protobuf field string page_url = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPageUrl($var) - { - GPBUtil::checkString($var, True); - $this->page_url = $var; - - return $this; - } - - /** - * Labels used to group the page urls. - * - * Generated from protobuf field repeated string labels = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Labels used to group the page urls. - * - * Generated from protobuf field repeated string labels = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ParentalStatusDimension.php b/src/Google/Ads/GoogleAds/V15/Common/ParentalStatusDimension.php deleted file mode 100644 index d34a081f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ParentalStatusDimension.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.ParentalStatusDimension - */ -class ParentalStatusDimension extends \Google\Protobuf\Internal\Message -{ - /** - * Included parental status demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType parental_statuses = 1; - */ - private $parental_statuses; - /** - * Include users whose parental status is undetermined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - */ - protected $include_undetermined = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $parental_statuses - * Included parental status demographic segments. - * @type bool $include_undetermined - * Include users whose parental status is undetermined. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * Included parental status demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType parental_statuses = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getParentalStatuses() - { - return $this->parental_statuses; - } - - /** - * Included parental status demographic segments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType parental_statuses = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setParentalStatuses($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\ParentalStatusTypeEnum\ParentalStatusType::class); - $this->parental_statuses = $arr; - - return $this; - } - - /** - * Include users whose parental status is undetermined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - * @return bool - */ - public function getIncludeUndetermined() - { - return isset($this->include_undetermined) ? $this->include_undetermined : false; - } - - public function hasIncludeUndetermined() - { - return isset($this->include_undetermined); - } - - public function clearIncludeUndetermined() - { - unset($this->include_undetermined); - } - - /** - * Include users whose parental status is undetermined. - * - * Generated from protobuf field optional bool include_undetermined = 2; - * @param bool $var - * @return $this - */ - public function setIncludeUndetermined($var) - { - GPBUtil::checkBool($var); - $this->include_undetermined = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ParentalStatusInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ParentalStatusInfo.php deleted file mode 100644 index 75fdee9d8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ParentalStatusInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.ParentalStatusInfo - */ -class ParentalStatusInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType type = 1; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the parental status. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Type of the parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ParentalStatusTypeEnum\ParentalStatusType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PercentCpc.php b/src/Google/Ads/GoogleAds/V15/Common/PercentCpc.php deleted file mode 100644 index 370cd310f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PercentCpc.php +++ /dev/null @@ -1,146 +0,0 @@ -google.ads.googleads.v15.common.PercentCpc - */ -class PercentCpc extends \Google\Protobuf\Internal\Message -{ - /** - * Maximum bid limit that can be set by the bid strategy. This is - * an optional field entered by the advertiser and specified in local micros. - * Note: A zero value is interpreted in the same way as having bid_ceiling - * undefined. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 3; - */ - protected $cpc_bid_ceiling_micros = null; - /** - * Adjusts the bid for each auction upward or downward, depending on the - * likelihood of a conversion. Individual bids may exceed - * cpc_bid_ceiling_micros, but the average bid amount for a campaign should - * not. - * - * Generated from protobuf field optional bool enhanced_cpc_enabled = 4; - */ - protected $enhanced_cpc_enabled = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $cpc_bid_ceiling_micros - * Maximum bid limit that can be set by the bid strategy. This is - * an optional field entered by the advertiser and specified in local micros. - * Note: A zero value is interpreted in the same way as having bid_ceiling - * undefined. - * @type bool $enhanced_cpc_enabled - * Adjusts the bid for each auction upward or downward, depending on the - * likelihood of a conversion. Individual bids may exceed - * cpc_bid_ceiling_micros, but the average bid amount for a campaign should - * not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * Maximum bid limit that can be set by the bid strategy. This is - * an optional field entered by the advertiser and specified in local micros. - * Note: A zero value is interpreted in the same way as having bid_ceiling - * undefined. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 3; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros) ? $this->cpc_bid_ceiling_micros : 0; - } - - public function hasCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros); - } - - public function clearCpcBidCeilingMicros() - { - unset($this->cpc_bid_ceiling_micros); - } - - /** - * Maximum bid limit that can be set by the bid strategy. This is - * an optional field entered by the advertiser and specified in local micros. - * Note: A zero value is interpreted in the same way as having bid_ceiling - * undefined. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 3; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - - /** - * Adjusts the bid for each auction upward or downward, depending on the - * likelihood of a conversion. Individual bids may exceed - * cpc_bid_ceiling_micros, but the average bid amount for a campaign should - * not. - * - * Generated from protobuf field optional bool enhanced_cpc_enabled = 4; - * @return bool - */ - public function getEnhancedCpcEnabled() - { - return isset($this->enhanced_cpc_enabled) ? $this->enhanced_cpc_enabled : false; - } - - public function hasEnhancedCpcEnabled() - { - return isset($this->enhanced_cpc_enabled); - } - - public function clearEnhancedCpcEnabled() - { - unset($this->enhanced_cpc_enabled); - } - - /** - * Adjusts the bid for each auction upward or downward, depending on the - * likelihood of a conversion. Individual bids may exceed - * cpc_bid_ceiling_micros, but the average bid amount for a campaign should - * not. - * - * Generated from protobuf field optional bool enhanced_cpc_enabled = 4; - * @param bool $var - * @return $this - */ - public function setEnhancedCpcEnabled($var) - { - GPBUtil::checkBool($var); - $this->enhanced_cpc_enabled = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PercentCpcBidSimulationPoint.php b/src/Google/Ads/GoogleAds/V15/Common/PercentCpcBidSimulationPoint.php deleted file mode 100644 index 1c2fb202c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PercentCpcBidSimulationPoint.php +++ /dev/null @@ -1,350 +0,0 @@ -google.ads.googleads.v15.common.PercentCpcBidSimulationPoint - */ -class PercentCpcBidSimulationPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The simulated percent CPC upon which projected metrics are based. Percent - * CPC expressed as fraction of the advertised price for some good or service. - * The value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 1; - */ - protected $percent_cpc_bid_micros = null; - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 2; - */ - protected $biddable_conversions = null; - /** - * Projected total value of biddable conversions in local currency. - * - * Generated from protobuf field optional double biddable_conversions_value = 3; - */ - protected $biddable_conversions_value = null; - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 4; - */ - protected $clicks = null; - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 5; - */ - protected $cost_micros = null; - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 6; - */ - protected $impressions = null; - /** - * Projected number of top slot impressions. - * - * Generated from protobuf field optional int64 top_slot_impressions = 7; - */ - protected $top_slot_impressions = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $percent_cpc_bid_micros - * The simulated percent CPC upon which projected metrics are based. Percent - * CPC expressed as fraction of the advertised price for some good or service. - * The value stored here is 1,000,000 * [fraction]. - * @type float $biddable_conversions - * Projected number of biddable conversions. - * @type float $biddable_conversions_value - * Projected total value of biddable conversions in local currency. - * @type int|string $clicks - * Projected number of clicks. - * @type int|string $cost_micros - * Projected cost in micros. - * @type int|string $impressions - * Projected number of impressions. - * @type int|string $top_slot_impressions - * Projected number of top slot impressions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * The simulated percent CPC upon which projected metrics are based. Percent - * CPC expressed as fraction of the advertised price for some good or service. - * The value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 1; - * @return int|string - */ - public function getPercentCpcBidMicros() - { - return isset($this->percent_cpc_bid_micros) ? $this->percent_cpc_bid_micros : 0; - } - - public function hasPercentCpcBidMicros() - { - return isset($this->percent_cpc_bid_micros); - } - - public function clearPercentCpcBidMicros() - { - unset($this->percent_cpc_bid_micros); - } - - /** - * The simulated percent CPC upon which projected metrics are based. Percent - * CPC expressed as fraction of the advertised price for some good or service. - * The value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 1; - * @param int|string $var - * @return $this - */ - public function setPercentCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->percent_cpc_bid_micros = $var; - - return $this; - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 2; - * @return float - */ - public function getBiddableConversions() - { - return isset($this->biddable_conversions) ? $this->biddable_conversions : 0.0; - } - - public function hasBiddableConversions() - { - return isset($this->biddable_conversions); - } - - public function clearBiddableConversions() - { - unset($this->biddable_conversions); - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 2; - * @param float $var - * @return $this - */ - public function setBiddableConversions($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions = $var; - - return $this; - } - - /** - * Projected total value of biddable conversions in local currency. - * - * Generated from protobuf field optional double biddable_conversions_value = 3; - * @return float - */ - public function getBiddableConversionsValue() - { - return isset($this->biddable_conversions_value) ? $this->biddable_conversions_value : 0.0; - } - - public function hasBiddableConversionsValue() - { - return isset($this->biddable_conversions_value); - } - - public function clearBiddableConversionsValue() - { - unset($this->biddable_conversions_value); - } - - /** - * Projected total value of biddable conversions in local currency. - * - * Generated from protobuf field optional double biddable_conversions_value = 3; - * @param float $var - * @return $this - */ - public function setBiddableConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions_value = $var; - - return $this; - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 4; - * @return int|string - */ - public function getClicks() - { - return isset($this->clicks) ? $this->clicks : 0; - } - - public function hasClicks() - { - return isset($this->clicks); - } - - public function clearClicks() - { - unset($this->clicks); - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 4; - * @param int|string $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkInt64($var); - $this->clicks = $var; - - return $this; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 5; - * @return int|string - */ - public function getCostMicros() - { - return isset($this->cost_micros) ? $this->cost_micros : 0; - } - - public function hasCostMicros() - { - return isset($this->cost_micros); - } - - public function clearCostMicros() - { - unset($this->cost_micros); - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 5; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 6; - * @return int|string - */ - public function getImpressions() - { - return isset($this->impressions) ? $this->impressions : 0; - } - - public function hasImpressions() - { - return isset($this->impressions); - } - - public function clearImpressions() - { - unset($this->impressions); - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 6; - * @param int|string $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt64($var); - $this->impressions = $var; - - return $this; - } - - /** - * Projected number of top slot impressions. - * - * Generated from protobuf field optional int64 top_slot_impressions = 7; - * @return int|string - */ - public function getTopSlotImpressions() - { - return isset($this->top_slot_impressions) ? $this->top_slot_impressions : 0; - } - - public function hasTopSlotImpressions() - { - return isset($this->top_slot_impressions); - } - - public function clearTopSlotImpressions() - { - unset($this->top_slot_impressions); - } - - /** - * Projected number of top slot impressions. - * - * Generated from protobuf field optional int64 top_slot_impressions = 7; - * @param int|string $var - * @return $this - */ - public function setTopSlotImpressions($var) - { - GPBUtil::checkInt64($var); - $this->top_slot_impressions = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PercentCpcBidSimulationPointList.php b/src/Google/Ads/GoogleAds/V15/Common/PercentCpcBidSimulationPointList.php deleted file mode 100644 index ab65598f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PercentCpcBidSimulationPointList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.PercentCpcBidSimulationPointList - */ -class PercentCpcBidSimulationPointList extends \Google\Protobuf\Internal\Message -{ - /** - * Projected metrics for a series of percent CPC bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PercentCpcBidSimulationPoint points = 1; - */ - private $points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\PercentCpcBidSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $points - * Projected metrics for a series of percent CPC bid amounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected metrics for a series of percent CPC bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PercentCpcBidSimulationPoint points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPoints() - { - return $this->points; - } - - /** - * Projected metrics for a series of percent CPC bid amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PercentCpcBidSimulationPoint points = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\PercentCpcBidSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PercentCpcBidSimulationPoint::class); - $this->points = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PlacementInfo.php b/src/Google/Ads/GoogleAds/V15/Common/PlacementInfo.php deleted file mode 100644 index f4f1a9035..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PlacementInfo.php +++ /dev/null @@ -1,82 +0,0 @@ -google.ads.googleads.v15.common.PlacementInfo - */ -class PlacementInfo extends \Google\Protobuf\Internal\Message -{ - /** - * URL of the placement. - * For example, "http://www.domain.com". - * - * Generated from protobuf field optional string url = 2; - */ - protected $url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $url - * URL of the placement. - * For example, "http://www.domain.com". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * URL of the placement. - * For example, "http://www.domain.com". - * - * Generated from protobuf field optional string url = 2; - * @return string - */ - public function getUrl() - { - return isset($this->url) ? $this->url : ''; - } - - public function hasUrl() - { - return isset($this->url); - } - - public function clearUrl() - { - unset($this->url); - } - - /** - * URL of the placement. - * For example, "http://www.domain.com". - * - * Generated from protobuf field optional string url = 2; - * @param string $var - * @return $this - */ - public function setUrl($var) - { - GPBUtil::checkString($var, True); - $this->url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicySummary.php b/src/Google/Ads/GoogleAds/V15/Common/PolicySummary.php deleted file mode 100644 index 95be35816..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicySummary.php +++ /dev/null @@ -1,139 +0,0 @@ -google.ads.googleads.v15.common.PolicySummary - */ -class PolicySummary extends \Google\Protobuf\Internal\Message -{ - /** - * The list of policy findings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - */ - private $policy_topic_entries; - /** - * Where in the review process the resource is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - */ - protected $review_status = 0; - /** - * The overall approval status, which is calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; - */ - protected $approval_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $policy_topic_entries - * The list of policy findings. - * @type int $review_status - * Where in the review process the resource is. - * @type int $approval_status - * The overall approval status, which is calculated based on - * the status of its individual policy topic entries. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\PolicySummary::initOnce(); - parent::__construct($data); - } - - /** - * The list of policy findings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPolicyTopicEntries() - { - return $this->policy_topic_entries; - } - - /** - * The list of policy findings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPolicyTopicEntries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry::class); - $this->policy_topic_entries = $arr; - - return $this; - } - - /** - * Where in the review process the resource is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - * @return int - */ - public function getReviewStatus() - { - return $this->review_status; - } - - /** - * Where in the review process the resource is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - * @param int $var - * @return $this - */ - public function setReviewStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyReviewStatusEnum\PolicyReviewStatus::class); - $this->review_status = $var; - - return $this; - } - - /** - * The overall approval status, which is calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; - * @return int - */ - public function getApprovalStatus() - { - return $this->approval_status; - } - - /** - * The overall approval status, which is calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; - * @param int $var - * @return $this - */ - public function setApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyApprovalStatusEnum\PolicyApprovalStatus::class); - $this->approval_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint.php deleted file mode 100644 index d35a8a69c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicConstraint - */ -class PolicyTopicConstraint extends \Google\Protobuf\Internal\Message -{ - protected $value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList $country_constraint_list - * Countries where the resource cannot serve. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\ResellerConstraint $reseller_constraint - * Reseller constraint. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList $certificate_missing_in_country_list - * Countries where a certificate is required for serving. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList $certificate_domain_mismatch_in_country_list - * Countries where the resource's domain is not covered by the - * certificates associated with it. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * Countries where the resource cannot serve. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList|null - */ - public function getCountryConstraintList() - { - return $this->readOneof(1); - } - - public function hasCountryConstraintList() - { - return $this->hasOneof(1); - } - - /** - * Countries where the resource cannot serve. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList $var - * @return $this - */ - public function setCountryConstraintList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Reseller constraint. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\ResellerConstraint|null - */ - public function getResellerConstraint() - { - return $this->readOneof(2); - } - - public function hasResellerConstraint() - { - return $this->hasOneof(2); - } - - /** - * Reseller constraint. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\ResellerConstraint $var - * @return $this - */ - public function setResellerConstraint($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\ResellerConstraint::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Countries where a certificate is required for serving. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList|null - */ - public function getCertificateMissingInCountryList() - { - return $this->readOneof(3); - } - - public function hasCertificateMissingInCountryList() - { - return $this->hasOneof(3); - } - - /** - * Countries where a certificate is required for serving. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList $var - * @return $this - */ - public function setCertificateMissingInCountryList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Countries where the resource's domain is not covered by the - * certificates associated with it. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraintList certificate_domain_mismatch_in_country_list = 4; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList|null - */ - public function getCertificateDomainMismatchInCountryList() - { - return $this->readOneof(4); - } - - public function hasCertificateDomainMismatchInCountryList() - { - return $this->hasOneof(4); - } - - /** - * Countries where the resource's domain is not covered by the - * certificates associated with it. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraintList certificate_domain_mismatch_in_country_list = 4; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList $var - * @return $this - */ - public function setCertificateDomainMismatchInCountryList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraintList::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("value"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/CountryConstraint.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/CountryConstraint.php deleted file mode 100644 index 71ed0efa6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/CountryConstraint.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraint - */ -class CountryConstraint extends \Google\Protobuf\Internal\Message -{ - /** - * Geo target constant resource name of the country in which serving is - * constrained. - * - * Generated from protobuf field optional string country_criterion = 2; - */ - protected $country_criterion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $country_criterion - * Geo target constant resource name of the country in which serving is - * constrained. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * Geo target constant resource name of the country in which serving is - * constrained. - * - * Generated from protobuf field optional string country_criterion = 2; - * @return string - */ - public function getCountryCriterion() - { - return isset($this->country_criterion) ? $this->country_criterion : ''; - } - - public function hasCountryCriterion() - { - return isset($this->country_criterion); - } - - public function clearCountryCriterion() - { - unset($this->country_criterion); - } - - /** - * Geo target constant resource name of the country in which serving is - * constrained. - * - * Generated from protobuf field optional string country_criterion = 2; - * @param string $var - * @return $this - */ - public function setCountryCriterion($var) - { - GPBUtil::checkString($var, True); - $this->country_criterion = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CountryConstraint::class, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint_CountryConstraint::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/CountryConstraintList.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/CountryConstraintList.php deleted file mode 100644 index 59722536a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/CountryConstraintList.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraintList - */ -class CountryConstraintList extends \Google\Protobuf\Internal\Message -{ - /** - * Total number of countries targeted by the resource. - * - * Generated from protobuf field optional int32 total_targeted_countries = 3; - */ - protected $total_targeted_countries = null; - /** - * Countries in which serving is restricted. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraint countries = 2; - */ - private $countries; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $total_targeted_countries - * Total number of countries targeted by the resource. - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraint>|\Google\Protobuf\Internal\RepeatedField $countries - * Countries in which serving is restricted. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * Total number of countries targeted by the resource. - * - * Generated from protobuf field optional int32 total_targeted_countries = 3; - * @return int - */ - public function getTotalTargetedCountries() - { - return isset($this->total_targeted_countries) ? $this->total_targeted_countries : 0; - } - - public function hasTotalTargetedCountries() - { - return isset($this->total_targeted_countries); - } - - public function clearTotalTargetedCountries() - { - unset($this->total_targeted_countries); - } - - /** - * Total number of countries targeted by the resource. - * - * Generated from protobuf field optional int32 total_targeted_countries = 3; - * @param int $var - * @return $this - */ - public function setTotalTargetedCountries($var) - { - GPBUtil::checkInt32($var); - $this->total_targeted_countries = $var; - - return $this; - } - - /** - * Countries in which serving is restricted. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraint countries = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCountries() - { - return $this->countries; - } - - /** - * Countries in which serving is restricted. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicConstraint.CountryConstraint countries = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCountries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint\CountryConstraint::class); - $this->countries = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CountryConstraintList::class, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint_CountryConstraintList::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/ResellerConstraint.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/ResellerConstraint.php deleted file mode 100644 index 712fa7ba7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicConstraint/ResellerConstraint.php +++ /dev/null @@ -1,37 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicConstraint.ResellerConstraint - */ -class ResellerConstraint extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResellerConstraint::class, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint_ResellerConstraint::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEntry.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEntry.php deleted file mode 100644 index 5635c2b38..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEntry.php +++ /dev/null @@ -1,205 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicEntry - */ -class PolicyTopicEntry extends \Google\Protobuf\Internal\Message -{ - /** - * Policy topic this finding refers to. For example, "ALCOHOL", - * "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - * policy topics is not fixed for a particular API version and may change - * at any time. - * - * Generated from protobuf field optional string topic = 5; - */ - protected $topic = null; - /** - * Describes the negative or positive effect this policy will have on serving. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2; - */ - protected $type = 0; - /** - * Additional information that explains policy finding - * (for example, the brand name for a trademark finding). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEvidence evidences = 3; - */ - private $evidences; - /** - * Indicates how serving of this resource may be affected (for example, not - * serving in a country). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicConstraint constraints = 4; - */ - private $constraints; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $topic - * Policy topic this finding refers to. For example, "ALCOHOL", - * "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - * policy topics is not fixed for a particular API version and may change - * at any time. - * @type int $type - * Describes the negative or positive effect this policy will have on serving. - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence>|\Google\Protobuf\Internal\RepeatedField $evidences - * Additional information that explains policy finding - * (for example, the brand name for a trademark finding). - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint>|\Google\Protobuf\Internal\RepeatedField $constraints - * Indicates how serving of this resource may be affected (for example, not - * serving in a country). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * Policy topic this finding refers to. For example, "ALCOHOL", - * "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - * policy topics is not fixed for a particular API version and may change - * at any time. - * - * Generated from protobuf field optional string topic = 5; - * @return string - */ - public function getTopic() - { - return isset($this->topic) ? $this->topic : ''; - } - - public function hasTopic() - { - return isset($this->topic); - } - - public function clearTopic() - { - unset($this->topic); - } - - /** - * Policy topic this finding refers to. For example, "ALCOHOL", - * "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - * policy topics is not fixed for a particular API version and may change - * at any time. - * - * Generated from protobuf field optional string topic = 5; - * @param string $var - * @return $this - */ - public function setTopic($var) - { - GPBUtil::checkString($var, True); - $this->topic = $var; - - return $this; - } - - /** - * Describes the negative or positive effect this policy will have on serving. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Describes the negative or positive effect this policy will have on serving. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyTopicEntryTypeEnum\PolicyTopicEntryType::class); - $this->type = $var; - - return $this; - } - - /** - * Additional information that explains policy finding - * (for example, the brand name for a trademark finding). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEvidence evidences = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEvidences() - { - return $this->evidences; - } - - /** - * Additional information that explains policy finding - * (for example, the brand name for a trademark finding). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEvidence evidences = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEvidences($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence::class); - $this->evidences = $arr; - - return $this; - } - - /** - * Indicates how serving of this resource may be affected (for example, not - * serving in a country). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicConstraint constraints = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConstraints() - { - return $this->constraints; - } - - /** - * Indicates how serving of this resource may be affected (for example, not - * serving in a country). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicConstraint constraints = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConstraints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicConstraint::class); - $this->constraints = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence.php deleted file mode 100644 index 2f0a18bdb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicEvidence - */ -class PolicyTopicEvidence extends \Google\Protobuf\Internal\Message -{ - protected $value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\WebsiteList $website_list - * List of websites linked with this resource. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\TextList $text_list - * List of evidence found in the text of a resource. - * @type string $language_code - * The language the resource was detected to be written in. - * This is an IETF language tag such as "en-US". - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationTextList $destination_text_list - * The text in the destination of the resource that is causing a policy - * finding. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationMismatch $destination_mismatch - * Mismatch between the destinations of a resource's URLs. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationNotWorking $destination_not_working - * Details when the destination is returning an HTTP error code or isn't - * functional in all locations for commonly used devices. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * List of websites linked with this resource. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.WebsiteList website_list = 3; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\WebsiteList|null - */ - public function getWebsiteList() - { - return $this->readOneof(3); - } - - public function hasWebsiteList() - { - return $this->hasOneof(3); - } - - /** - * List of websites linked with this resource. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.WebsiteList website_list = 3; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\WebsiteList $var - * @return $this - */ - public function setWebsiteList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\WebsiteList::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * List of evidence found in the text of a resource. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.TextList text_list = 4; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\TextList|null - */ - public function getTextList() - { - return $this->readOneof(4); - } - - public function hasTextList() - { - return $this->hasOneof(4); - } - - /** - * List of evidence found in the text of a resource. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.TextList text_list = 4; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\TextList $var - * @return $this - */ - public function setTextList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\TextList::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * The language the resource was detected to be written in. - * This is an IETF language tag such as "en-US". - * - * Generated from protobuf field string language_code = 9; - * @return string - */ - public function getLanguageCode() - { - return $this->readOneof(9); - } - - public function hasLanguageCode() - { - return $this->hasOneof(9); - } - - /** - * The language the resource was detected to be written in. - * This is an IETF language tag such as "en-US". - * - * Generated from protobuf field string language_code = 9; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * The text in the destination of the resource that is causing a policy - * finding. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationTextList|null - */ - public function getDestinationTextList() - { - return $this->readOneof(6); - } - - public function hasDestinationTextList() - { - return $this->hasOneof(6); - } - - /** - * The text in the destination of the resource that is causing a policy - * finding. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationTextList destination_text_list = 6; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationTextList $var - * @return $this - */ - public function setDestinationTextList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationTextList::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Mismatch between the destinations of a resource's URLs. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationMismatch|null - */ - public function getDestinationMismatch() - { - return $this->readOneof(7); - } - - public function hasDestinationMismatch() - { - return $this->hasOneof(7); - } - - /** - * Mismatch between the destinations of a resource's URLs. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationMismatch destination_mismatch = 7; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationMismatch $var - * @return $this - */ - public function setDestinationMismatch($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationMismatch::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Details when the destination is returning an HTTP error code or isn't - * functional in all locations for commonly used devices. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationNotWorking|null - */ - public function getDestinationNotWorking() - { - return $this->readOneof(8); - } - - public function hasDestinationNotWorking() - { - return $this->hasOneof(8); - } - - /** - * Details when the destination is returning an HTTP error code or isn't - * functional in all locations for commonly used devices. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationNotWorking destination_not_working = 8; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationNotWorking $var - * @return $this - */ - public function setDestinationNotWorking($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence\DestinationNotWorking::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("value"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationMismatch.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationMismatch.php deleted file mode 100644 index 7e65dbc15..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationMismatch.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationMismatch - */ -class DestinationMismatch extends \Google\Protobuf\Internal\Message -{ - /** - * The set of URLs that did not match each other. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; - */ - private $url_types; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $url_types - * The set of URLs that did not match each other. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * The set of URLs that did not match each other. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlTypes() - { - return $this->url_types; - } - - /** - * The set of URLs that did not match each other. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationMismatchUrlTypeEnum\PolicyTopicEvidenceDestinationMismatchUrlType::class); - $this->url_types = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DestinationMismatch::class, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence_DestinationMismatch::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationNotWorking.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationNotWorking.php deleted file mode 100644 index 492febf73..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationNotWorking.php +++ /dev/null @@ -1,242 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationNotWorking - */ -class DestinationNotWorking extends \Google\Protobuf\Internal\Message -{ - /** - * The full URL that didn't work. - * - * Generated from protobuf field optional string expanded_url = 7; - */ - protected $expanded_url = null; - /** - * The type of device that failed to load the URL. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; - */ - protected $device = 0; - /** - * The time the URL was last checked. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string last_checked_date_time = 8; - */ - protected $last_checked_date_time = null; - protected $reason; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $expanded_url - * The full URL that didn't work. - * @type int $device - * The type of device that failed to load the URL. - * @type string $last_checked_date_time - * The time the URL was last checked. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type int $dns_error_type - * The type of DNS error. - * @type int|string $http_error_code - * The HTTP error code. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * The full URL that didn't work. - * - * Generated from protobuf field optional string expanded_url = 7; - * @return string - */ - public function getExpandedUrl() - { - return isset($this->expanded_url) ? $this->expanded_url : ''; - } - - public function hasExpandedUrl() - { - return isset($this->expanded_url); - } - - public function clearExpandedUrl() - { - unset($this->expanded_url); - } - - /** - * The full URL that didn't work. - * - * Generated from protobuf field optional string expanded_url = 7; - * @param string $var - * @return $this - */ - public function setExpandedUrl($var) - { - GPBUtil::checkString($var, True); - $this->expanded_url = $var; - - return $this; - } - - /** - * The type of device that failed to load the URL. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; - * @return int - */ - public function getDevice() - { - return $this->device; - } - - /** - * The type of device that failed to load the URL. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; - * @param int $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationNotWorkingDeviceEnum\PolicyTopicEvidenceDestinationNotWorkingDevice::class); - $this->device = $var; - - return $this; - } - - /** - * The time the URL was last checked. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string last_checked_date_time = 8; - * @return string - */ - public function getLastCheckedDateTime() - { - return isset($this->last_checked_date_time) ? $this->last_checked_date_time : ''; - } - - public function hasLastCheckedDateTime() - { - return isset($this->last_checked_date_time); - } - - public function clearLastCheckedDateTime() - { - unset($this->last_checked_date_time); - } - - /** - * The time the URL was last checked. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string last_checked_date_time = 8; - * @param string $var - * @return $this - */ - public function setLastCheckedDateTime($var) - { - GPBUtil::checkString($var, True); - $this->last_checked_date_time = $var; - - return $this; - } - - /** - * The type of DNS error. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; - * @return int - */ - public function getDnsErrorType() - { - return $this->readOneof(1); - } - - public function hasDnsErrorType() - { - return $this->hasOneof(1); - } - - /** - * The type of DNS error. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; - * @param int $var - * @return $this - */ - public function setDnsErrorType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum\PolicyTopicEvidenceDestinationNotWorkingDnsErrorType::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * The HTTP error code. - * - * Generated from protobuf field int64 http_error_code = 6; - * @return int|string - */ - public function getHttpErrorCode() - { - return $this->readOneof(6); - } - - public function hasHttpErrorCode() - { - return $this->hasOneof(6); - } - - /** - * The HTTP error code. - * - * Generated from protobuf field int64 http_error_code = 6; - * @param int|string $var - * @return $this - */ - public function setHttpErrorCode($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * @return string - */ - public function getReason() - { - return $this->whichOneof("reason"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DestinationNotWorking::class, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence_DestinationNotWorking::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationTextList.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationTextList.php deleted file mode 100644 index 25c58934e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/DestinationTextList.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicEvidence.DestinationTextList - */ -class DestinationTextList extends \Google\Protobuf\Internal\Message -{ - /** - * List of text found in the resource's destination page. - * - * Generated from protobuf field repeated string destination_texts = 2; - */ - private $destination_texts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $destination_texts - * List of text found in the resource's destination page. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * List of text found in the resource's destination page. - * - * Generated from protobuf field repeated string destination_texts = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDestinationTexts() - { - return $this->destination_texts; - } - - /** - * List of text found in the resource's destination page. - * - * Generated from protobuf field repeated string destination_texts = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDestinationTexts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->destination_texts = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DestinationTextList::class, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence_DestinationTextList::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/TextList.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/TextList.php deleted file mode 100644 index 9a1f98843..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/TextList.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicEvidence.TextList - */ -class TextList extends \Google\Protobuf\Internal\Message -{ - /** - * The fragments of text from the resource that caused the policy finding. - * - * Generated from protobuf field repeated string texts = 2; - */ - private $texts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $texts - * The fragments of text from the resource that caused the policy finding. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * The fragments of text from the resource that caused the policy finding. - * - * Generated from protobuf field repeated string texts = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTexts() - { - return $this->texts; - } - - /** - * The fragments of text from the resource that caused the policy finding. - * - * Generated from protobuf field repeated string texts = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTexts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->texts = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TextList::class, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence_TextList::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/WebsiteList.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/WebsiteList.php deleted file mode 100644 index 23e4e5567..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyTopicEvidence/WebsiteList.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.common.PolicyTopicEvidence.WebsiteList - */ -class WebsiteList extends \Google\Protobuf\Internal\Message -{ - /** - * Websites that caused the policy finding. - * - * Generated from protobuf field repeated string websites = 2; - */ - private $websites; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $websites - * Websites that caused the policy finding. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * Websites that caused the policy finding. - * - * Generated from protobuf field repeated string websites = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getWebsites() - { - return $this->websites; - } - - /** - * Websites that caused the policy finding. - * - * Generated from protobuf field repeated string websites = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setWebsites($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->websites = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(WebsiteList::class, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEvidence_WebsiteList::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyValidationParameter.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyValidationParameter.php deleted file mode 100644 index 8f79e67c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyValidationParameter.php +++ /dev/null @@ -1,153 +0,0 @@ -google.ads.googleads.v15.common.PolicyValidationParameter - */ -class PolicyValidationParameter extends \Google\Protobuf\Internal\Message -{ - /** - * The list of policy topics that should not cause a PolicyFindingError to - * be reported. This field is currently only compatible with Enhanced Text Ad. - * It corresponds to the PolicyTopicEntry.topic field. - * Resources violating these policies will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated string ignorable_policy_topics = 3; - */ - private $ignorable_policy_topics; - /** - * The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 2; - */ - private $exempt_policy_violation_keys; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $ignorable_policy_topics - * The list of policy topics that should not cause a PolicyFindingError to - * be reported. This field is currently only compatible with Enhanced Text Ad. - * It corresponds to the PolicyTopicEntry.topic field. - * Resources violating these policies will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyViolationKey>|\Google\Protobuf\Internal\RepeatedField $exempt_policy_violation_keys - * The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * The list of policy topics that should not cause a PolicyFindingError to - * be reported. This field is currently only compatible with Enhanced Text Ad. - * It corresponds to the PolicyTopicEntry.topic field. - * Resources violating these policies will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated string ignorable_policy_topics = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getIgnorablePolicyTopics() - { - return $this->ignorable_policy_topics; - } - - /** - * The list of policy topics that should not cause a PolicyFindingError to - * be reported. This field is currently only compatible with Enhanced Text Ad. - * It corresponds to the PolicyTopicEntry.topic field. - * Resources violating these policies will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated string ignorable_policy_topics = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setIgnorablePolicyTopics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->ignorable_policy_topics = $arr; - - return $this; - } - - /** - * The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExemptPolicyViolationKeys() - { - return $this->exempt_policy_violation_keys; - } - - /** - * The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyViolationKey>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExemptPolicyViolationKeys($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyViolationKey::class); - $this->exempt_policy_violation_keys = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PolicyViolationKey.php b/src/Google/Ads/GoogleAds/V15/Common/PolicyViolationKey.php deleted file mode 100644 index 9e55fa3d8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PolicyViolationKey.php +++ /dev/null @@ -1,138 +0,0 @@ -google.ads.googleads.v15.common.PolicyViolationKey - */ -class PolicyViolationKey extends \Google\Protobuf\Internal\Message -{ - /** - * Unique ID of the violated policy. - * - * Generated from protobuf field optional string policy_name = 3; - */ - protected $policy_name = null; - /** - * The text that violates the policy if specified. - * Otherwise, refers to the policy in general - * (for example, when requesting to be exempt from the whole policy). - * If not specified for criterion exemptions, the whole policy is implied. - * Must be specified for ad exemptions. - * - * Generated from protobuf field optional string violating_text = 4; - */ - protected $violating_text = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $policy_name - * Unique ID of the violated policy. - * @type string $violating_text - * The text that violates the policy if specified. - * Otherwise, refers to the policy in general - * (for example, when requesting to be exempt from the whole policy). - * If not specified for criterion exemptions, the whole policy is implied. - * Must be specified for ad exemptions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Policy::initOnce(); - parent::__construct($data); - } - - /** - * Unique ID of the violated policy. - * - * Generated from protobuf field optional string policy_name = 3; - * @return string - */ - public function getPolicyName() - { - return isset($this->policy_name) ? $this->policy_name : ''; - } - - public function hasPolicyName() - { - return isset($this->policy_name); - } - - public function clearPolicyName() - { - unset($this->policy_name); - } - - /** - * Unique ID of the violated policy. - * - * Generated from protobuf field optional string policy_name = 3; - * @param string $var - * @return $this - */ - public function setPolicyName($var) - { - GPBUtil::checkString($var, True); - $this->policy_name = $var; - - return $this; - } - - /** - * The text that violates the policy if specified. - * Otherwise, refers to the policy in general - * (for example, when requesting to be exempt from the whole policy). - * If not specified for criterion exemptions, the whole policy is implied. - * Must be specified for ad exemptions. - * - * Generated from protobuf field optional string violating_text = 4; - * @return string - */ - public function getViolatingText() - { - return isset($this->violating_text) ? $this->violating_text : ''; - } - - public function hasViolatingText() - { - return isset($this->violating_text); - } - - public function clearViolatingText() - { - unset($this->violating_text); - } - - /** - * The text that violates the policy if specified. - * Otherwise, refers to the policy in general - * (for example, when requesting to be exempt from the whole policy). - * If not specified for criterion exemptions, the whole policy is implied. - * Must be specified for ad exemptions. - * - * Generated from protobuf field optional string violating_text = 4; - * @param string $var - * @return $this - */ - public function setViolatingText($var) - { - GPBUtil::checkString($var, True); - $this->violating_text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PriceAsset.php b/src/Google/Ads/GoogleAds/V15/Common/PriceAsset.php deleted file mode 100644 index 0a77ae040..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PriceAsset.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.common.PriceAsset - */ -class PriceAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The type of the price asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $type = 0; - /** - * The price qualifier of the price asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - */ - protected $price_qualifier = 0; - /** - * Required. The language of the price asset. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $language_code = ''; - /** - * The price offerings of the price asset. - * The size of this collection should be between 3 and 8, inclusive. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PriceOffering price_offerings = 4; - */ - private $price_offerings; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Required. The type of the price asset. - * @type int $price_qualifier - * The price qualifier of the price asset. - * @type string $language_code - * Required. The language of the price asset. - * Represented as BCP 47 language tag. - * @type array<\Google\Ads\GoogleAds\V15\Common\PriceOffering>|\Google\Protobuf\Internal\RepeatedField $price_offerings - * The price offerings of the price asset. - * The size of this collection should be between 3 and 8, inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. The type of the price asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Required. The type of the price asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionTypeEnum\PriceExtensionType::class); - $this->type = $var; - - return $this; - } - - /** - * The price qualifier of the price asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - * @return int - */ - public function getPriceQualifier() - { - return $this->price_qualifier; - } - - /** - * The price qualifier of the price asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - * @param int $var - * @return $this - */ - public function setPriceQualifier($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionPriceQualifierEnum\PriceExtensionPriceQualifier::class); - $this->price_qualifier = $var; - - return $this; - } - - /** - * Required. The language of the price asset. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * Required. The language of the price asset. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * The price offerings of the price asset. - * The size of this collection should be between 3 and 8, inclusive. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PriceOffering price_offerings = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPriceOfferings() - { - return $this->price_offerings; - } - - /** - * The price offerings of the price asset. - * The size of this collection should be between 3 and 8, inclusive. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PriceOffering price_offerings = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\PriceOffering>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPriceOfferings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PriceOffering::class); - $this->price_offerings = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PriceFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/PriceFeedItem.php deleted file mode 100644 index e9c223201..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PriceFeedItem.php +++ /dev/null @@ -1,267 +0,0 @@ -google.ads.googleads.v15.common.PriceFeedItem - */ -class PriceFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * Price extension type of this extension. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; - */ - protected $type = 0; - /** - * Price qualifier for all offers of this price extension. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - */ - protected $price_qualifier = 0; - /** - * Tracking URL template for all offers of this price extension. - * - * Generated from protobuf field optional string tracking_url_template = 7; - */ - protected $tracking_url_template = null; - /** - * The code of the language used for this price extension. - * - * Generated from protobuf field optional string language_code = 8; - */ - protected $language_code = null; - /** - * The price offerings in this price extension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PriceOffer price_offerings = 5; - */ - private $price_offerings; - /** - * Tracking URL template for all offers of this price extension. - * - * Generated from protobuf field optional string final_url_suffix = 9; - */ - protected $final_url_suffix = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Price extension type of this extension. - * @type int $price_qualifier - * Price qualifier for all offers of this price extension. - * @type string $tracking_url_template - * Tracking URL template for all offers of this price extension. - * @type string $language_code - * The code of the language used for this price extension. - * @type array<\Google\Ads\GoogleAds\V15\Common\PriceOffer>|\Google\Protobuf\Internal\RepeatedField $price_offerings - * The price offerings in this price extension. - * @type string $final_url_suffix - * Tracking URL template for all offers of this price extension. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * Price extension type of this extension. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Price extension type of this extension. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionTypeEnum\PriceExtensionType::class); - $this->type = $var; - - return $this; - } - - /** - * Price qualifier for all offers of this price extension. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - * @return int - */ - public function getPriceQualifier() - { - return $this->price_qualifier; - } - - /** - * Price qualifier for all offers of this price extension. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - * @param int $var - * @return $this - */ - public function setPriceQualifier($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionPriceQualifierEnum\PriceExtensionPriceQualifier::class); - $this->price_qualifier = $var; - - return $this; - } - - /** - * Tracking URL template for all offers of this price extension. - * - * Generated from protobuf field optional string tracking_url_template = 7; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * Tracking URL template for all offers of this price extension. - * - * Generated from protobuf field optional string tracking_url_template = 7; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * The code of the language used for this price extension. - * - * Generated from protobuf field optional string language_code = 8; - * @return string - */ - public function getLanguageCode() - { - return isset($this->language_code) ? $this->language_code : ''; - } - - public function hasLanguageCode() - { - return isset($this->language_code); - } - - public function clearLanguageCode() - { - unset($this->language_code); - } - - /** - * The code of the language used for this price extension. - * - * Generated from protobuf field optional string language_code = 8; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * The price offerings in this price extension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PriceOffer price_offerings = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPriceOfferings() - { - return $this->price_offerings; - } - - /** - * The price offerings in this price extension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PriceOffer price_offerings = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\PriceOffer>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPriceOfferings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PriceOffer::class); - $this->price_offerings = $arr; - - return $this; - } - - /** - * Tracking URL template for all offers of this price extension. - * - * Generated from protobuf field optional string final_url_suffix = 9; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * Tracking URL template for all offers of this price extension. - * - * Generated from protobuf field optional string final_url_suffix = 9; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PriceOffer.php b/src/Google/Ads/GoogleAds/V15/Common/PriceOffer.php deleted file mode 100644 index 3a35b777d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PriceOffer.php +++ /dev/null @@ -1,267 +0,0 @@ -google.ads.googleads.v15.common.PriceOffer - */ -class PriceOffer extends \Google\Protobuf\Internal\Message -{ - /** - * Header text of this offer. - * - * Generated from protobuf field optional string header = 7; - */ - protected $header = null; - /** - * Description text of this offer. - * - * Generated from protobuf field optional string description = 8; - */ - protected $description = null; - /** - * Price value of this offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price = 3; - */ - protected $price = null; - /** - * Price unit for this offer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - */ - protected $unit = 0; - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 9; - */ - private $final_urls; - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 10; - */ - private $final_mobile_urls; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $header - * Header text of this offer. - * @type string $description - * Description text of this offer. - * @type \Google\Ads\GoogleAds\V15\Common\Money $price - * Price value of this offer. - * @type int $unit - * Price unit for this offer. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * A list of possible final URLs after all cross domain redirects. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * A list of possible final mobile URLs after all cross domain redirects. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * Header text of this offer. - * - * Generated from protobuf field optional string header = 7; - * @return string - */ - public function getHeader() - { - return isset($this->header) ? $this->header : ''; - } - - public function hasHeader() - { - return isset($this->header); - } - - public function clearHeader() - { - unset($this->header); - } - - /** - * Header text of this offer. - * - * Generated from protobuf field optional string header = 7; - * @param string $var - * @return $this - */ - public function setHeader($var) - { - GPBUtil::checkString($var, True); - $this->header = $var; - - return $this; - } - - /** - * Description text of this offer. - * - * Generated from protobuf field optional string description = 8; - * @return string - */ - public function getDescription() - { - return isset($this->description) ? $this->description : ''; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * Description text of this offer. - * - * Generated from protobuf field optional string description = 8; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Price value of this offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price = 3; - * @return \Google\Ads\GoogleAds\V15\Common\Money|null - */ - public function getPrice() - { - return $this->price; - } - - public function hasPrice() - { - return isset($this->price); - } - - public function clearPrice() - { - unset($this->price); - } - - /** - * Price value of this offer. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price = 3; - * @param \Google\Ads\GoogleAds\V15\Common\Money $var - * @return $this - */ - public function setPrice($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Money::class); - $this->price = $var; - - return $this; - } - - /** - * Price unit for this offer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - * @return int - */ - public function getUnit() - { - return $this->unit; - } - - /** - * Price unit for this offer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - * @param int $var - * @return $this - */ - public function setUnit($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionPriceUnitEnum\PriceExtensionPriceUnit::class); - $this->unit = $var; - - return $this; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 9; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PriceOffering.php b/src/Google/Ads/GoogleAds/V15/Common/PriceOffering.php deleted file mode 100644 index f44598a85..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PriceOffering.php +++ /dev/null @@ -1,255 +0,0 @@ -google.ads.googleads.v15.common.PriceOffering - */ -class PriceOffering extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The header of the price offering. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string header = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $header = ''; - /** - * Required. The description of the price offering. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $description = ''; - /** - * Required. The price value of the price offering. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $price = null; - /** - * The price unit of the price offering. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - */ - protected $unit = 0; - /** - * Required. The final URL after all cross domain redirects. - * - * Generated from protobuf field string final_url = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $final_url = ''; - /** - * The final mobile URL after all cross domain redirects. - * - * Generated from protobuf field string final_mobile_url = 6; - */ - protected $final_mobile_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $header - * Required. The header of the price offering. - * The length of this string should be between 1 and 25, inclusive. - * @type string $description - * Required. The description of the price offering. - * The length of this string should be between 1 and 25, inclusive. - * @type \Google\Ads\GoogleAds\V15\Common\Money $price - * Required. The price value of the price offering. - * @type int $unit - * The price unit of the price offering. - * @type string $final_url - * Required. The final URL after all cross domain redirects. - * @type string $final_mobile_url - * The final mobile URL after all cross domain redirects. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. The header of the price offering. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string header = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getHeader() - { - return $this->header; - } - - /** - * Required. The header of the price offering. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string header = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setHeader($var) - { - GPBUtil::checkString($var, True); - $this->header = $var; - - return $this; - } - - /** - * Required. The description of the price offering. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Required. The description of the price offering. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. The price value of the price offering. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\Money|null - */ - public function getPrice() - { - return $this->price; - } - - public function hasPrice() - { - return isset($this->price); - } - - public function clearPrice() - { - unset($this->price); - } - - /** - * Required. The price value of the price offering. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\Money $var - * @return $this - */ - public function setPrice($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Money::class); - $this->price = $var; - - return $this; - } - - /** - * The price unit of the price offering. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - * @return int - */ - public function getUnit() - { - return $this->unit; - } - - /** - * The price unit of the price offering. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - * @param int $var - * @return $this - */ - public function setUnit($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionPriceUnitEnum\PriceExtensionPriceUnit::class); - $this->unit = $var; - - return $this; - } - - /** - * Required. The final URL after all cross domain redirects. - * - * Generated from protobuf field string final_url = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFinalUrl() - { - return $this->final_url; - } - - /** - * Required. The final URL after all cross domain redirects. - * - * Generated from protobuf field string final_url = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFinalUrl($var) - { - GPBUtil::checkString($var, True); - $this->final_url = $var; - - return $this; - } - - /** - * The final mobile URL after all cross domain redirects. - * - * Generated from protobuf field string final_mobile_url = 6; - * @return string - */ - public function getFinalMobileUrl() - { - return $this->final_mobile_url; - } - - /** - * The final mobile URL after all cross domain redirects. - * - * Generated from protobuf field string final_mobile_url = 6; - * @param string $var - * @return $this - */ - public function setFinalMobileUrl($var) - { - GPBUtil::checkString($var, True); - $this->final_mobile_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductBrandInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductBrandInfo.php deleted file mode 100644 index ca38beae0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductBrandInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.ProductBrandInfo - */ -class ProductBrandInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the product brand. - * - * Generated from protobuf field optional string value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the product brand. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the product brand. - * - * Generated from protobuf field optional string value = 2; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the product brand. - * - * Generated from protobuf field optional string value = 2; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductCategoryInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductCategoryInfo.php deleted file mode 100644 index d2511c2df..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductCategoryInfo.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.common.ProductCategoryInfo - */ -class ProductCategoryInfo extends \Google\Protobuf\Internal\Message -{ - /** - * ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436 - * - * Generated from protobuf field optional int64 category_id = 1; - */ - protected $category_id = null; - /** - * Level of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 2; - */ - protected $level = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $category_id - * ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436 - * @type int $level - * Level of the product category. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436 - * - * Generated from protobuf field optional int64 category_id = 1; - * @return int|string - */ - public function getCategoryId() - { - return isset($this->category_id) ? $this->category_id : 0; - } - - public function hasCategoryId() - { - return isset($this->category_id); - } - - public function clearCategoryId() - { - unset($this->category_id); - } - - /** - * ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436 - * - * Generated from protobuf field optional int64 category_id = 1; - * @param int|string $var - * @return $this - */ - public function setCategoryId($var) - { - GPBUtil::checkInt64($var); - $this->category_id = $var; - - return $this; - } - - /** - * Level of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 2; - * @return int - */ - public function getLevel() - { - return $this->level; - } - - /** - * Level of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 2; - * @param int $var - * @return $this - */ - public function setLevel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductCategoryLevelEnum\ProductCategoryLevel::class); - $this->level = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductChannelExclusivityInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductChannelExclusivityInfo.php deleted file mode 100644 index c21860137..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductChannelExclusivityInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.ProductChannelExclusivityInfo - */ -class ProductChannelExclusivityInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the availability. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 1; - */ - protected $channel_exclusivity = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $channel_exclusivity - * Value of the availability. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Value of the availability. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 1; - * @return int - */ - public function getChannelExclusivity() - { - return $this->channel_exclusivity; - } - - /** - * Value of the availability. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 1; - * @param int $var - * @return $this - */ - public function setChannelExclusivity($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductChannelExclusivityEnum\ProductChannelExclusivity::class); - $this->channel_exclusivity = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductChannelInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductChannelInfo.php deleted file mode 100644 index a751474ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductChannelInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.ProductChannelInfo - */ -class ProductChannelInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the locality. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelEnum.ProductChannel channel = 1; - */ - protected $channel = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $channel - * Value of the locality. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Value of the locality. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelEnum.ProductChannel channel = 1; - * @return int - */ - public function getChannel() - { - return $this->channel; - } - - /** - * Value of the locality. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelEnum.ProductChannel channel = 1; - * @param int $var - * @return $this - */ - public function setChannel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductChannelEnum\ProductChannel::class); - $this->channel = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductConditionInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductConditionInfo.php deleted file mode 100644 index d23feb18e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductConditionInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.ProductConditionInfo - */ -class ProductConditionInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductConditionEnum.ProductCondition condition = 1; - */ - protected $condition = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $condition - * Value of the condition. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Value of the condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductConditionEnum.ProductCondition condition = 1; - * @return int - */ - public function getCondition() - { - return $this->condition; - } - - /** - * Value of the condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductConditionEnum.ProductCondition condition = 1; - * @param int $var - * @return $this - */ - public function setCondition($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductConditionEnum\ProductCondition::class); - $this->condition = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductCustomAttributeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductCustomAttributeInfo.php deleted file mode 100644 index 4de598359..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductCustomAttributeInfo.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.ProductCustomAttributeInfo - */ -class ProductCustomAttributeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the product custom attribute. - * - * Generated from protobuf field optional string value = 3; - */ - protected $value = null; - /** - * Indicates the index of the custom attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex index = 2; - */ - protected $index = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the product custom attribute. - * @type int $index - * Indicates the index of the custom attribute. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the product custom attribute. - * - * Generated from protobuf field optional string value = 3; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the product custom attribute. - * - * Generated from protobuf field optional string value = 3; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - - /** - * Indicates the index of the custom attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex index = 2; - * @return int - */ - public function getIndex() - { - return $this->index; - } - - /** - * Indicates the index of the custom attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex index = 2; - * @param int $var - * @return $this - */ - public function setIndex($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductCustomAttributeIndexEnum\ProductCustomAttributeIndex::class); - $this->index = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductGroupingInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductGroupingInfo.php deleted file mode 100644 index bbad183b5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductGroupingInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.ProductGroupingInfo - */ -class ProductGroupingInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the product grouping. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the product grouping. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the product grouping. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the product grouping. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductItemIdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductItemIdInfo.php deleted file mode 100644 index 3f82929b3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductItemIdInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.ProductItemIdInfo - */ -class ProductItemIdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the id. - * - * Generated from protobuf field optional string value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * Value of the id. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Value of the id. - * - * Generated from protobuf field optional string value = 2; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Value of the id. - * - * Generated from protobuf field optional string value = 2; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductLabelsInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductLabelsInfo.php deleted file mode 100644 index 1f2841ff3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductLabelsInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.ProductLabelsInfo - */ -class ProductLabelsInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the product labels. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the product labels. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the product labels. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the product labels. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductLegacyConditionInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductLegacyConditionInfo.php deleted file mode 100644 index 223c78101..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductLegacyConditionInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.ProductLegacyConditionInfo - */ -class ProductLegacyConditionInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the product legacy condition. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the product legacy condition. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the product legacy condition. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the product legacy condition. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductTypeFullInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductTypeFullInfo.php deleted file mode 100644 index feaf8db4e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductTypeFullInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.ProductTypeFullInfo - */ -class ProductTypeFullInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the product full type. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the product full type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * String value of the product full type. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the product full type. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProductTypeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProductTypeInfo.php deleted file mode 100644 index 17e456c07..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProductTypeInfo.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.ProductTypeInfo - */ -class ProductTypeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the type. - * - * Generated from protobuf field optional string value = 3; - */ - protected $value = null; - /** - * Level of the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductTypeLevelEnum.ProductTypeLevel level = 2; - */ - protected $level = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * Value of the type. - * @type int $level - * Level of the type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Value of the type. - * - * Generated from protobuf field optional string value = 3; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Value of the type. - * - * Generated from protobuf field optional string value = 3; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - - /** - * Level of the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductTypeLevelEnum.ProductTypeLevel level = 2; - * @return int - */ - public function getLevel() - { - return $this->level; - } - - /** - * Level of the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductTypeLevelEnum.ProductTypeLevel level = 2; - * @param int $var - * @return $this - */ - public function setLevel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductTypeLevelEnum\ProductTypeLevel::class); - $this->level = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PromotionAsset.php b/src/Google/Ads/GoogleAds/V15/Common/PromotionAsset.php deleted file mode 100644 index 507f674cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PromotionAsset.php +++ /dev/null @@ -1,534 +0,0 @@ -google.ads.googleads.v15.common.PromotionAsset - */ -class PromotionAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. A freeform description of what the promotion is targeting. - * - * Generated from protobuf field string promotion_target = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $promotion_target = ''; - /** - * A modifier for qualification of the discount. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - */ - protected $discount_modifier = 0; - /** - * Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string redemption_start_date = 7; - */ - protected $redemption_start_date = ''; - /** - * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string redemption_end_date = 8; - */ - protected $redemption_end_date = ''; - /** - * The occasion the promotion was intended for. - * If an occasion is set, the redemption window will need to fall within the - * date range associated with the occasion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - */ - protected $occasion = 0; - /** - * The language of the promotion. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 10; - */ - protected $language_code = ''; - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 11; - */ - protected $start_date = ''; - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 12; - */ - protected $end_date = ''; - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 13; - */ - private $ad_schedule_targets; - protected $discount_type; - protected $promotion_trigger; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $promotion_target - * Required. A freeform description of what the promotion is targeting. - * @type int $discount_modifier - * A modifier for qualification of the discount. - * @type string $redemption_start_date - * Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - * format. - * @type string $redemption_end_date - * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - * format. - * @type int $occasion - * The occasion the promotion was intended for. - * If an occasion is set, the redemption window will need to fall within the - * date range associated with the occasion. - * @type string $language_code - * The language of the promotion. - * Represented as BCP 47 language tag. - * @type string $start_date - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * @type string $end_date - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $ad_schedule_targets - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * @type int|string $percent_off - * Percentage off discount in the promotion. 1,000,000 = 100%. - * Either this or money_amount_off is required. - * @type \Google\Ads\GoogleAds\V15\Common\Money $money_amount_off - * Money amount off for discount in the promotion. - * Either this or percent_off is required. - * @type string $promotion_code - * A code the user should use in order to be eligible for the promotion. - * @type \Google\Ads\GoogleAds\V15\Common\Money $orders_over_amount - * The amount the total order needs to be for the user to be eligible for - * the promotion. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. A freeform description of what the promotion is targeting. - * - * Generated from protobuf field string promotion_target = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPromotionTarget() - { - return $this->promotion_target; - } - - /** - * Required. A freeform description of what the promotion is targeting. - * - * Generated from protobuf field string promotion_target = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPromotionTarget($var) - { - GPBUtil::checkString($var, True); - $this->promotion_target = $var; - - return $this; - } - - /** - * A modifier for qualification of the discount. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - * @return int - */ - public function getDiscountModifier() - { - return $this->discount_modifier; - } - - /** - * A modifier for qualification of the discount. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - * @param int $var - * @return $this - */ - public function setDiscountModifier($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PromotionExtensionDiscountModifierEnum\PromotionExtensionDiscountModifier::class); - $this->discount_modifier = $var; - - return $this; - } - - /** - * Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string redemption_start_date = 7; - * @return string - */ - public function getRedemptionStartDate() - { - return $this->redemption_start_date; - } - - /** - * Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string redemption_start_date = 7; - * @param string $var - * @return $this - */ - public function setRedemptionStartDate($var) - { - GPBUtil::checkString($var, True); - $this->redemption_start_date = $var; - - return $this; - } - - /** - * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string redemption_end_date = 8; - * @return string - */ - public function getRedemptionEndDate() - { - return $this->redemption_end_date; - } - - /** - * Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string redemption_end_date = 8; - * @param string $var - * @return $this - */ - public function setRedemptionEndDate($var) - { - GPBUtil::checkString($var, True); - $this->redemption_end_date = $var; - - return $this; - } - - /** - * The occasion the promotion was intended for. - * If an occasion is set, the redemption window will need to fall within the - * date range associated with the occasion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - * @return int - */ - public function getOccasion() - { - return $this->occasion; - } - - /** - * The occasion the promotion was intended for. - * If an occasion is set, the redemption window will need to fall within the - * date range associated with the occasion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - * @param int $var - * @return $this - */ - public function setOccasion($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PromotionExtensionOccasionEnum\PromotionExtensionOccasion::class); - $this->occasion = $var; - - return $this; - } - - /** - * The language of the promotion. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 10; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * The language of the promotion. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field string language_code = 10; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 11; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 11; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 12; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 12; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 13; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdScheduleTargets() - { - return $this->ad_schedule_targets; - } - - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 13; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdScheduleTargets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo::class); - $this->ad_schedule_targets = $arr; - - return $this; - } - - /** - * Percentage off discount in the promotion. 1,000,000 = 100%. - * Either this or money_amount_off is required. - * - * Generated from protobuf field int64 percent_off = 3; - * @return int|string - */ - public function getPercentOff() - { - return $this->readOneof(3); - } - - public function hasPercentOff() - { - return $this->hasOneof(3); - } - - /** - * Percentage off discount in the promotion. 1,000,000 = 100%. - * Either this or money_amount_off is required. - * - * Generated from protobuf field int64 percent_off = 3; - * @param int|string $var - * @return $this - */ - public function setPercentOff($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Money amount off for discount in the promotion. - * Either this or percent_off is required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money money_amount_off = 4; - * @return \Google\Ads\GoogleAds\V15\Common\Money|null - */ - public function getMoneyAmountOff() - { - return $this->readOneof(4); - } - - public function hasMoneyAmountOff() - { - return $this->hasOneof(4); - } - - /** - * Money amount off for discount in the promotion. - * Either this or percent_off is required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money money_amount_off = 4; - * @param \Google\Ads\GoogleAds\V15\Common\Money $var - * @return $this - */ - public function setMoneyAmountOff($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Money::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * A code the user should use in order to be eligible for the promotion. - * - * Generated from protobuf field string promotion_code = 5; - * @return string - */ - public function getPromotionCode() - { - return $this->readOneof(5); - } - - public function hasPromotionCode() - { - return $this->hasOneof(5); - } - - /** - * A code the user should use in order to be eligible for the promotion. - * - * Generated from protobuf field string promotion_code = 5; - * @param string $var - * @return $this - */ - public function setPromotionCode($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * The amount the total order needs to be for the user to be eligible for - * the promotion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money orders_over_amount = 6; - * @return \Google\Ads\GoogleAds\V15\Common\Money|null - */ - public function getOrdersOverAmount() - { - return $this->readOneof(6); - } - - public function hasOrdersOverAmount() - { - return $this->hasOneof(6); - } - - /** - * The amount the total order needs to be for the user to be eligible for - * the promotion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money orders_over_amount = 6; - * @param \Google\Ads\GoogleAds\V15\Common\Money $var - * @return $this - */ - public function setOrdersOverAmount($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Money::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * @return string - */ - public function getDiscountType() - { - return $this->whichOneof("discount_type"); - } - - /** - * @return string - */ - public function getPromotionTrigger() - { - return $this->whichOneof("promotion_trigger"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/PromotionFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/PromotionFeedItem.php deleted file mode 100644 index 023b6eb5e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/PromotionFeedItem.php +++ /dev/null @@ -1,657 +0,0 @@ -google.ads.googleads.v15.common.PromotionFeedItem - */ -class PromotionFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * A freeform description of what the promotion is targeting. - * This field is required. - * - * Generated from protobuf field optional string promotion_target = 16; - */ - protected $promotion_target = null; - /** - * Enum that modifies the qualification of the discount. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - */ - protected $discount_modifier = 0; - /** - * Start date of when the promotion is eligible to be redeemed. - * - * Generated from protobuf field optional string promotion_start_date = 19; - */ - protected $promotion_start_date = null; - /** - * Last date when the promotion is eligible to be redeemed. - * - * Generated from protobuf field optional string promotion_end_date = 20; - */ - protected $promotion_end_date = null; - /** - * The occasion the promotion was intended for. - * If an occasion is set, the redemption window will need to fall within - * the date range associated with the occasion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - */ - protected $occasion = 0; - /** - * A list of possible final URLs after all cross domain redirects. - * This field is required. - * - * Generated from protobuf field repeated string final_urls = 21; - */ - private $final_urls; - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 22; - */ - private $final_mobile_urls; - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 23; - */ - protected $tracking_url_template = null; - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 13; - */ - private $url_custom_parameters; - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 24; - */ - protected $final_url_suffix = null; - /** - * The language of the promotion. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field optional string language_code = 25; - */ - protected $language_code = null; - protected $discount_type; - protected $promotion_trigger; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $promotion_target - * A freeform description of what the promotion is targeting. - * This field is required. - * @type int $discount_modifier - * Enum that modifies the qualification of the discount. - * @type string $promotion_start_date - * Start date of when the promotion is eligible to be redeemed. - * @type string $promotion_end_date - * Last date when the promotion is eligible to be redeemed. - * @type int $occasion - * The occasion the promotion was intended for. - * If an occasion is set, the redemption window will need to fall within - * the date range associated with the occasion. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * A list of possible final URLs after all cross domain redirects. - * This field is required. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * A list of possible final mobile URLs after all cross domain redirects. - * @type string $tracking_url_template - * URL template for constructing a tracking URL. - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * @type string $final_url_suffix - * URL template for appending params to landing page URLs served with parallel - * tracking. - * @type string $language_code - * The language of the promotion. - * Represented as BCP 47 language tag. - * @type int|string $percent_off - * Percentage off discount in the promotion in micros. - * One million is equivalent to one percent. - * Either this or money_off_amount is required. - * @type \Google\Ads\GoogleAds\V15\Common\Money $money_amount_off - * Money amount off for discount in the promotion. - * Either this or percent_off is required. - * @type string $promotion_code - * A code the user should use in order to be eligible for the promotion. - * @type \Google\Ads\GoogleAds\V15\Common\Money $orders_over_amount - * The amount the total order needs to be for the user to be eligible for - * the promotion. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * A freeform description of what the promotion is targeting. - * This field is required. - * - * Generated from protobuf field optional string promotion_target = 16; - * @return string - */ - public function getPromotionTarget() - { - return isset($this->promotion_target) ? $this->promotion_target : ''; - } - - public function hasPromotionTarget() - { - return isset($this->promotion_target); - } - - public function clearPromotionTarget() - { - unset($this->promotion_target); - } - - /** - * A freeform description of what the promotion is targeting. - * This field is required. - * - * Generated from protobuf field optional string promotion_target = 16; - * @param string $var - * @return $this - */ - public function setPromotionTarget($var) - { - GPBUtil::checkString($var, True); - $this->promotion_target = $var; - - return $this; - } - - /** - * Enum that modifies the qualification of the discount. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - * @return int - */ - public function getDiscountModifier() - { - return $this->discount_modifier; - } - - /** - * Enum that modifies the qualification of the discount. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - * @param int $var - * @return $this - */ - public function setDiscountModifier($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PromotionExtensionDiscountModifierEnum\PromotionExtensionDiscountModifier::class); - $this->discount_modifier = $var; - - return $this; - } - - /** - * Start date of when the promotion is eligible to be redeemed. - * - * Generated from protobuf field optional string promotion_start_date = 19; - * @return string - */ - public function getPromotionStartDate() - { - return isset($this->promotion_start_date) ? $this->promotion_start_date : ''; - } - - public function hasPromotionStartDate() - { - return isset($this->promotion_start_date); - } - - public function clearPromotionStartDate() - { - unset($this->promotion_start_date); - } - - /** - * Start date of when the promotion is eligible to be redeemed. - * - * Generated from protobuf field optional string promotion_start_date = 19; - * @param string $var - * @return $this - */ - public function setPromotionStartDate($var) - { - GPBUtil::checkString($var, True); - $this->promotion_start_date = $var; - - return $this; - } - - /** - * Last date when the promotion is eligible to be redeemed. - * - * Generated from protobuf field optional string promotion_end_date = 20; - * @return string - */ - public function getPromotionEndDate() - { - return isset($this->promotion_end_date) ? $this->promotion_end_date : ''; - } - - public function hasPromotionEndDate() - { - return isset($this->promotion_end_date); - } - - public function clearPromotionEndDate() - { - unset($this->promotion_end_date); - } - - /** - * Last date when the promotion is eligible to be redeemed. - * - * Generated from protobuf field optional string promotion_end_date = 20; - * @param string $var - * @return $this - */ - public function setPromotionEndDate($var) - { - GPBUtil::checkString($var, True); - $this->promotion_end_date = $var; - - return $this; - } - - /** - * The occasion the promotion was intended for. - * If an occasion is set, the redemption window will need to fall within - * the date range associated with the occasion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - * @return int - */ - public function getOccasion() - { - return $this->occasion; - } - - /** - * The occasion the promotion was intended for. - * If an occasion is set, the redemption window will need to fall within - * the date range associated with the occasion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - * @param int $var - * @return $this - */ - public function setOccasion($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PromotionExtensionOccasionEnum\PromotionExtensionOccasion::class); - $this->occasion = $var; - - return $this; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * This field is required. - * - * Generated from protobuf field repeated string final_urls = 21; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * This field is required. - * - * Generated from protobuf field repeated string final_urls = 21; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 22; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 22; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 23; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 23; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 13; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 13; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 24; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 24; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - - /** - * The language of the promotion. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field optional string language_code = 25; - * @return string - */ - public function getLanguageCode() - { - return isset($this->language_code) ? $this->language_code : ''; - } - - public function hasLanguageCode() - { - return isset($this->language_code); - } - - public function clearLanguageCode() - { - unset($this->language_code); - } - - /** - * The language of the promotion. - * Represented as BCP 47 language tag. - * - * Generated from protobuf field optional string language_code = 25; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * Percentage off discount in the promotion in micros. - * One million is equivalent to one percent. - * Either this or money_off_amount is required. - * - * Generated from protobuf field int64 percent_off = 17; - * @return int|string - */ - public function getPercentOff() - { - return $this->readOneof(17); - } - - public function hasPercentOff() - { - return $this->hasOneof(17); - } - - /** - * Percentage off discount in the promotion in micros. - * One million is equivalent to one percent. - * Either this or money_off_amount is required. - * - * Generated from protobuf field int64 percent_off = 17; - * @param int|string $var - * @return $this - */ - public function setPercentOff($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * Money amount off for discount in the promotion. - * Either this or percent_off is required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money money_amount_off = 4; - * @return \Google\Ads\GoogleAds\V15\Common\Money|null - */ - public function getMoneyAmountOff() - { - return $this->readOneof(4); - } - - public function hasMoneyAmountOff() - { - return $this->hasOneof(4); - } - - /** - * Money amount off for discount in the promotion. - * Either this or percent_off is required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money money_amount_off = 4; - * @param \Google\Ads\GoogleAds\V15\Common\Money $var - * @return $this - */ - public function setMoneyAmountOff($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Money::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * A code the user should use in order to be eligible for the promotion. - * - * Generated from protobuf field string promotion_code = 18; - * @return string - */ - public function getPromotionCode() - { - return $this->readOneof(18); - } - - public function hasPromotionCode() - { - return $this->hasOneof(18); - } - - /** - * A code the user should use in order to be eligible for the promotion. - * - * Generated from protobuf field string promotion_code = 18; - * @param string $var - * @return $this - */ - public function setPromotionCode($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * The amount the total order needs to be for the user to be eligible for - * the promotion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money orders_over_amount = 6; - * @return \Google\Ads\GoogleAds\V15\Common\Money|null - */ - public function getOrdersOverAmount() - { - return $this->readOneof(6); - } - - public function hasOrdersOverAmount() - { - return $this->hasOneof(6); - } - - /** - * The amount the total order needs to be for the user to be eligible for - * the promotion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money orders_over_amount = 6; - * @param \Google\Ads\GoogleAds\V15\Common\Money $var - * @return $this - */ - public function setOrdersOverAmount($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Money::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * @return string - */ - public function getDiscountType() - { - return $this->whichOneof("discount_type"); - } - - /** - * @return string - */ - public function getPromotionTrigger() - { - return $this->whichOneof("promotion_trigger"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ProximityInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ProximityInfo.php deleted file mode 100644 index 1d5c4198a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ProximityInfo.php +++ /dev/null @@ -1,205 +0,0 @@ -google.ads.googleads.v15.common.ProximityInfo - */ -class ProximityInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Latitude and longitude. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GeoPointInfo geo_point = 1; - */ - protected $geo_point = null; - /** - * The radius of the proximity. - * - * Generated from protobuf field optional double radius = 5; - */ - protected $radius = null; - /** - * The unit of measurement of the radius. Default is KILOMETERS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3; - */ - protected $radius_units = 0; - /** - * Full address. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AddressInfo address = 4; - */ - protected $address = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\GeoPointInfo $geo_point - * Latitude and longitude. - * @type float $radius - * The radius of the proximity. - * @type int $radius_units - * The unit of measurement of the radius. Default is KILOMETERS. - * @type \Google\Ads\GoogleAds\V15\Common\AddressInfo $address - * Full address. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Latitude and longitude. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GeoPointInfo geo_point = 1; - * @return \Google\Ads\GoogleAds\V15\Common\GeoPointInfo|null - */ - public function getGeoPoint() - { - return $this->geo_point; - } - - public function hasGeoPoint() - { - return isset($this->geo_point); - } - - public function clearGeoPoint() - { - unset($this->geo_point); - } - - /** - * Latitude and longitude. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GeoPointInfo geo_point = 1; - * @param \Google\Ads\GoogleAds\V15\Common\GeoPointInfo $var - * @return $this - */ - public function setGeoPoint($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\GeoPointInfo::class); - $this->geo_point = $var; - - return $this; - } - - /** - * The radius of the proximity. - * - * Generated from protobuf field optional double radius = 5; - * @return float - */ - public function getRadius() - { - return isset($this->radius) ? $this->radius : 0.0; - } - - public function hasRadius() - { - return isset($this->radius); - } - - public function clearRadius() - { - unset($this->radius); - } - - /** - * The radius of the proximity. - * - * Generated from protobuf field optional double radius = 5; - * @param float $var - * @return $this - */ - public function setRadius($var) - { - GPBUtil::checkDouble($var); - $this->radius = $var; - - return $this; - } - - /** - * The unit of measurement of the radius. Default is KILOMETERS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3; - * @return int - */ - public function getRadiusUnits() - { - return $this->radius_units; - } - - /** - * The unit of measurement of the radius. Default is KILOMETERS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3; - * @param int $var - * @return $this - */ - public function setRadiusUnits($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProximityRadiusUnitsEnum\ProximityRadiusUnits::class); - $this->radius_units = $var; - - return $this; - } - - /** - * Full address. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AddressInfo address = 4; - * @return \Google\Ads\GoogleAds\V15\Common\AddressInfo|null - */ - public function getAddress() - { - return $this->address; - } - - public function hasAddress() - { - return isset($this->address); - } - - public function clearAddress() - { - unset($this->address); - } - - /** - * Full address. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AddressInfo address = 4; - * @param \Google\Ads\GoogleAds\V15\Common\AddressInfo $var - * @return $this - */ - public function setAddress($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AddressInfo::class); - $this->address = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/RealTimeBiddingSetting.php b/src/Google/Ads/GoogleAds/V15/Common/RealTimeBiddingSetting.php deleted file mode 100644 index be108f966..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/RealTimeBiddingSetting.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.RealTimeBiddingSetting - */ -class RealTimeBiddingSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Whether the campaign is opted in to real-time bidding. - * - * Generated from protobuf field optional bool opt_in = 2; - */ - protected $opt_in = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $opt_in - * Whether the campaign is opted in to real-time bidding. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\RealTimeBiddingSetting::initOnce(); - parent::__construct($data); - } - - /** - * Whether the campaign is opted in to real-time bidding. - * - * Generated from protobuf field optional bool opt_in = 2; - * @return bool - */ - public function getOptIn() - { - return isset($this->opt_in) ? $this->opt_in : false; - } - - public function hasOptIn() - { - return isset($this->opt_in); - } - - public function clearOptIn() - { - unset($this->opt_in); - } - - /** - * Whether the campaign is opted in to real-time bidding. - * - * Generated from protobuf field optional bool opt_in = 2; - * @param bool $var - * @return $this - */ - public function setOptIn($var) - { - GPBUtil::checkBool($var); - $this->opt_in = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ResponsiveDisplayAdControlSpec.php b/src/Google/Ads/GoogleAds/V15/Common/ResponsiveDisplayAdControlSpec.php deleted file mode 100644 index c9fe44c14..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ResponsiveDisplayAdControlSpec.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.common.ResponsiveDisplayAdControlSpec - */ -class ResponsiveDisplayAdControlSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Whether the advertiser has opted into the asset enhancements feature. - * - * Generated from protobuf field bool enable_asset_enhancements = 1; - */ - protected $enable_asset_enhancements = false; - /** - * Whether the advertiser has opted into auto-gen video feature. - * - * Generated from protobuf field bool enable_autogen_video = 2; - */ - protected $enable_autogen_video = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $enable_asset_enhancements - * Whether the advertiser has opted into the asset enhancements feature. - * @type bool $enable_autogen_video - * Whether the advertiser has opted into auto-gen video feature. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Whether the advertiser has opted into the asset enhancements feature. - * - * Generated from protobuf field bool enable_asset_enhancements = 1; - * @return bool - */ - public function getEnableAssetEnhancements() - { - return $this->enable_asset_enhancements; - } - - /** - * Whether the advertiser has opted into the asset enhancements feature. - * - * Generated from protobuf field bool enable_asset_enhancements = 1; - * @param bool $var - * @return $this - */ - public function setEnableAssetEnhancements($var) - { - GPBUtil::checkBool($var); - $this->enable_asset_enhancements = $var; - - return $this; - } - - /** - * Whether the advertiser has opted into auto-gen video feature. - * - * Generated from protobuf field bool enable_autogen_video = 2; - * @return bool - */ - public function getEnableAutogenVideo() - { - return $this->enable_autogen_video; - } - - /** - * Whether the advertiser has opted into auto-gen video feature. - * - * Generated from protobuf field bool enable_autogen_video = 2; - * @param bool $var - * @return $this - */ - public function setEnableAutogenVideo($var) - { - GPBUtil::checkBool($var); - $this->enable_autogen_video = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ResponsiveDisplayAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ResponsiveDisplayAdInfo.php deleted file mode 100644 index de89a8730..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ResponsiveDisplayAdInfo.php +++ /dev/null @@ -1,785 +0,0 @@ -google.ads.googleads.v15.common.ResponsiveDisplayAdInfo - */ -class ResponsiveDisplayAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Marketing images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - * be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - * with `square_marketing_images`, the maximum is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 1; - */ - private $marketing_images; - /** - * Square marketing images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - * be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - * with `marketing_images`, the maximum is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_marketing_images = 2; - */ - private $square_marketing_images; - /** - * Logo images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - * be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 3; - */ - private $logo_images; - /** - * Square logo images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - * be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_logo_images = 4; - */ - private $square_logo_images; - /** - * Short format headlines for the ad. The maximum length is 30 characters. - * At least 1 and max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 5; - */ - private $headlines; - /** - * A required long format headline. The maximum length is 90 characters. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset long_headline = 6; - */ - protected $long_headline = null; - /** - * Descriptive texts for the ad. The maximum length is 90 characters. At - * least 1 and max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 7; - */ - private $descriptions; - /** - * Optional YouTube videos for the ad. A maximum of 5 videos can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 8; - */ - private $youtube_videos; - /** - * The advertiser/brand name. Maximum display width is 25. - * - * Generated from protobuf field optional string business_name = 17; - */ - protected $business_name = null; - /** - * The main color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string main_color = 18; - */ - protected $main_color = null; - /** - * The accent color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string accent_color = 19; - */ - protected $accent_color = null; - /** - * Advertiser's consent to allow flexible color. When true, the ad may be - * served with different color if necessary. When false, the ad will be served - * with the specified colors or a neutral color. - * The default value is `true`. - * Must be true if `main_color` and `accent_color` are not set. - * - * Generated from protobuf field optional bool allow_flexible_color = 20; - */ - protected $allow_flexible_color = null; - /** - * The call-to-action text for the ad. Maximum display width is 30. - * - * Generated from protobuf field optional string call_to_action_text = 21; - */ - protected $call_to_action_text = null; - /** - * Prefix before price. For example, 'as low as'. - * - * Generated from protobuf field optional string price_prefix = 22; - */ - protected $price_prefix = null; - /** - * Promotion text used for dynamic formats of responsive ads. For example - * 'Free two-day shipping'. - * - * Generated from protobuf field optional string promo_text = 23; - */ - protected $promo_text = null; - /** - * Specifies which format the ad will be served in. Default is ALL_FORMATS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16; - */ - protected $format_setting = 0; - /** - * Specification for various creative controls. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ResponsiveDisplayAdControlSpec control_spec = 24; - */ - protected $control_spec = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $marketing_images - * Marketing images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - * be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - * with `square_marketing_images`, the maximum is 15. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $square_marketing_images - * Square marketing images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - * be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - * with `marketing_images`, the maximum is 15. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $logo_images - * Logo images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - * be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $square_logo_images - * Square logo images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - * be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * Short format headlines for the ad. The maximum length is 30 characters. - * At least 1 and max 5 headlines can be specified. - * @type \Google\Ads\GoogleAds\V15\Common\AdTextAsset $long_headline - * A required long format headline. The maximum length is 90 characters. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * Descriptive texts for the ad. The maximum length is 90 characters. At - * least 1 and max 5 headlines can be specified. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $youtube_videos - * Optional YouTube videos for the ad. A maximum of 5 videos can be specified. - * @type string $business_name - * The advertiser/brand name. Maximum display width is 25. - * @type string $main_color - * The main color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * @type string $accent_color - * The accent color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * @type bool $allow_flexible_color - * Advertiser's consent to allow flexible color. When true, the ad may be - * served with different color if necessary. When false, the ad will be served - * with the specified colors or a neutral color. - * The default value is `true`. - * Must be true if `main_color` and `accent_color` are not set. - * @type string $call_to_action_text - * The call-to-action text for the ad. Maximum display width is 30. - * @type string $price_prefix - * Prefix before price. For example, 'as low as'. - * @type string $promo_text - * Promotion text used for dynamic formats of responsive ads. For example - * 'Free two-day shipping'. - * @type int $format_setting - * Specifies which format the ad will be served in. Default is ALL_FORMATS. - * @type \Google\Ads\GoogleAds\V15\Common\ResponsiveDisplayAdControlSpec $control_spec - * Specification for various creative controls. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Marketing images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - * be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - * with `square_marketing_images`, the maximum is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMarketingImages() - { - return $this->marketing_images; - } - - /** - * Marketing images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - * be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - * with `square_marketing_images`, the maximum is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset marketing_images = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMarketingImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->marketing_images = $arr; - - return $this; - } - - /** - * Square marketing images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - * be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - * with `marketing_images`, the maximum is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_marketing_images = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSquareMarketingImages() - { - return $this->square_marketing_images; - } - - /** - * Square marketing images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - * be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - * with `marketing_images`, the maximum is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_marketing_images = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSquareMarketingImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->square_marketing_images = $arr; - - return $this; - } - - /** - * Logo images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - * be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLogoImages() - { - return $this->logo_images; - } - - /** - * Logo images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - * be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset logo_images = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLogoImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->logo_images = $arr; - - return $this; - } - - /** - * Square logo images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - * be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_logo_images = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSquareLogoImages() - { - return $this->square_logo_images; - } - - /** - * Square logo images to be used in the ad. Valid image types are GIF, - * JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - * be 1:1 (+-1%). Combined with `logo_images`, the maximum is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset square_logo_images = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSquareLogoImages($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->square_logo_images = $arr; - - return $this; - } - - /** - * Short format headlines for the ad. The maximum length is 30 characters. - * At least 1 and max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * Short format headlines for the ad. The maximum length is 30 characters. - * At least 1 and max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * A required long format headline. The maximum length is 90 characters. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset long_headline = 6; - * @return \Google\Ads\GoogleAds\V15\Common\AdTextAsset|null - */ - public function getLongHeadline() - { - return $this->long_headline; - } - - public function hasLongHeadline() - { - return isset($this->long_headline); - } - - public function clearLongHeadline() - { - unset($this->long_headline); - } - - /** - * A required long format headline. The maximum length is 90 characters. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdTextAsset long_headline = 6; - * @param \Google\Ads\GoogleAds\V15\Common\AdTextAsset $var - * @return $this - */ - public function setLongHeadline($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->long_headline = $var; - - return $this; - } - - /** - * Descriptive texts for the ad. The maximum length is 90 characters. At - * least 1 and max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * Descriptive texts for the ad. The maximum length is 90 characters. At - * least 1 and max 5 headlines can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 7; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * Optional YouTube videos for the ad. A maximum of 5 videos can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getYoutubeVideos() - { - return $this->youtube_videos; - } - - /** - * Optional YouTube videos for the ad. A maximum of 5 videos can be specified. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset youtube_videos = 8; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setYoutubeVideos($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdVideoAsset::class); - $this->youtube_videos = $arr; - - return $this; - } - - /** - * The advertiser/brand name. Maximum display width is 25. - * - * Generated from protobuf field optional string business_name = 17; - * @return string - */ - public function getBusinessName() - { - return isset($this->business_name) ? $this->business_name : ''; - } - - public function hasBusinessName() - { - return isset($this->business_name); - } - - public function clearBusinessName() - { - unset($this->business_name); - } - - /** - * The advertiser/brand name. Maximum display width is 25. - * - * Generated from protobuf field optional string business_name = 17; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * The main color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string main_color = 18; - * @return string - */ - public function getMainColor() - { - return isset($this->main_color) ? $this->main_color : ''; - } - - public function hasMainColor() - { - return isset($this->main_color); - } - - public function clearMainColor() - { - unset($this->main_color); - } - - /** - * The main color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string main_color = 18; - * @param string $var - * @return $this - */ - public function setMainColor($var) - { - GPBUtil::checkString($var, True); - $this->main_color = $var; - - return $this; - } - - /** - * The accent color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string accent_color = 19; - * @return string - */ - public function getAccentColor() - { - return isset($this->accent_color) ? $this->accent_color : ''; - } - - public function hasAccentColor() - { - return isset($this->accent_color); - } - - public function clearAccentColor() - { - unset($this->accent_color); - } - - /** - * The accent color of the ad in hexadecimal, for example, #ffffff for white. - * If one of `main_color` and `accent_color` is set, the other is required as - * well. - * - * Generated from protobuf field optional string accent_color = 19; - * @param string $var - * @return $this - */ - public function setAccentColor($var) - { - GPBUtil::checkString($var, True); - $this->accent_color = $var; - - return $this; - } - - /** - * Advertiser's consent to allow flexible color. When true, the ad may be - * served with different color if necessary. When false, the ad will be served - * with the specified colors or a neutral color. - * The default value is `true`. - * Must be true if `main_color` and `accent_color` are not set. - * - * Generated from protobuf field optional bool allow_flexible_color = 20; - * @return bool - */ - public function getAllowFlexibleColor() - { - return isset($this->allow_flexible_color) ? $this->allow_flexible_color : false; - } - - public function hasAllowFlexibleColor() - { - return isset($this->allow_flexible_color); - } - - public function clearAllowFlexibleColor() - { - unset($this->allow_flexible_color); - } - - /** - * Advertiser's consent to allow flexible color. When true, the ad may be - * served with different color if necessary. When false, the ad will be served - * with the specified colors or a neutral color. - * The default value is `true`. - * Must be true if `main_color` and `accent_color` are not set. - * - * Generated from protobuf field optional bool allow_flexible_color = 20; - * @param bool $var - * @return $this - */ - public function setAllowFlexibleColor($var) - { - GPBUtil::checkBool($var); - $this->allow_flexible_color = $var; - - return $this; - } - - /** - * The call-to-action text for the ad. Maximum display width is 30. - * - * Generated from protobuf field optional string call_to_action_text = 21; - * @return string - */ - public function getCallToActionText() - { - return isset($this->call_to_action_text) ? $this->call_to_action_text : ''; - } - - public function hasCallToActionText() - { - return isset($this->call_to_action_text); - } - - public function clearCallToActionText() - { - unset($this->call_to_action_text); - } - - /** - * The call-to-action text for the ad. Maximum display width is 30. - * - * Generated from protobuf field optional string call_to_action_text = 21; - * @param string $var - * @return $this - */ - public function setCallToActionText($var) - { - GPBUtil::checkString($var, True); - $this->call_to_action_text = $var; - - return $this; - } - - /** - * Prefix before price. For example, 'as low as'. - * - * Generated from protobuf field optional string price_prefix = 22; - * @return string - */ - public function getPricePrefix() - { - return isset($this->price_prefix) ? $this->price_prefix : ''; - } - - public function hasPricePrefix() - { - return isset($this->price_prefix); - } - - public function clearPricePrefix() - { - unset($this->price_prefix); - } - - /** - * Prefix before price. For example, 'as low as'. - * - * Generated from protobuf field optional string price_prefix = 22; - * @param string $var - * @return $this - */ - public function setPricePrefix($var) - { - GPBUtil::checkString($var, True); - $this->price_prefix = $var; - - return $this; - } - - /** - * Promotion text used for dynamic formats of responsive ads. For example - * 'Free two-day shipping'. - * - * Generated from protobuf field optional string promo_text = 23; - * @return string - */ - public function getPromoText() - { - return isset($this->promo_text) ? $this->promo_text : ''; - } - - public function hasPromoText() - { - return isset($this->promo_text); - } - - public function clearPromoText() - { - unset($this->promo_text); - } - - /** - * Promotion text used for dynamic formats of responsive ads. For example - * 'Free two-day shipping'. - * - * Generated from protobuf field optional string promo_text = 23; - * @param string $var - * @return $this - */ - public function setPromoText($var) - { - GPBUtil::checkString($var, True); - $this->promo_text = $var; - - return $this; - } - - /** - * Specifies which format the ad will be served in. Default is ALL_FORMATS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16; - * @return int - */ - public function getFormatSetting() - { - return $this->format_setting; - } - - /** - * Specifies which format the ad will be served in. Default is ALL_FORMATS. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16; - * @param int $var - * @return $this - */ - public function setFormatSetting($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DisplayAdFormatSettingEnum\DisplayAdFormatSetting::class); - $this->format_setting = $var; - - return $this; - } - - /** - * Specification for various creative controls. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ResponsiveDisplayAdControlSpec control_spec = 24; - * @return \Google\Ads\GoogleAds\V15\Common\ResponsiveDisplayAdControlSpec|null - */ - public function getControlSpec() - { - return $this->control_spec; - } - - public function hasControlSpec() - { - return isset($this->control_spec); - } - - public function clearControlSpec() - { - unset($this->control_spec); - } - - /** - * Specification for various creative controls. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ResponsiveDisplayAdControlSpec control_spec = 24; - * @param \Google\Ads\GoogleAds\V15\Common\ResponsiveDisplayAdControlSpec $var - * @return $this - */ - public function setControlSpec($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ResponsiveDisplayAdControlSpec::class); - $this->control_spec = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ResponsiveSearchAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ResponsiveSearchAdInfo.php deleted file mode 100644 index 0ce5f0ddb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ResponsiveSearchAdInfo.php +++ /dev/null @@ -1,209 +0,0 @@ -google.ads.googleads.v15.common.ResponsiveSearchAdInfo - */ -class ResponsiveSearchAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - */ - private $headlines; - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - */ - private $descriptions; - /** - * First part of text that can be appended to the URL in the ad. - * - * Generated from protobuf field optional string path1 = 5; - */ - protected $path1 = null; - /** - * Second part of text that can be appended to the URL in the ad. This field - * can only be set when `path1` is also set. - * - * Generated from protobuf field optional string path2 = 6; - */ - protected $path2 = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * @type string $path1 - * First part of text that can be appended to the URL in the ad. - * @type string $path2 - * Second part of text that can be appended to the URL in the ad. This field - * can only be set when `path1` is also set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * List of text assets for headlines. When the ad serves the headlines will - * be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * List of text assets for descriptions. When the ad serves the descriptions - * will be selected from this list. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * First part of text that can be appended to the URL in the ad. - * - * Generated from protobuf field optional string path1 = 5; - * @return string - */ - public function getPath1() - { - return isset($this->path1) ? $this->path1 : ''; - } - - public function hasPath1() - { - return isset($this->path1); - } - - public function clearPath1() - { - unset($this->path1); - } - - /** - * First part of text that can be appended to the URL in the ad. - * - * Generated from protobuf field optional string path1 = 5; - * @param string $var - * @return $this - */ - public function setPath1($var) - { - GPBUtil::checkString($var, True); - $this->path1 = $var; - - return $this; - } - - /** - * Second part of text that can be appended to the URL in the ad. This field - * can only be set when `path1` is also set. - * - * Generated from protobuf field optional string path2 = 6; - * @return string - */ - public function getPath2() - { - return isset($this->path2) ? $this->path2 : ''; - } - - public function hasPath2() - { - return isset($this->path2); - } - - public function clearPath2() - { - unset($this->path2); - } - - /** - * Second part of text that can be appended to the URL in the ad. This field - * can only be set when `path1` is also set. - * - * Generated from protobuf field optional string path2 = 6; - * @param string $var - * @return $this - */ - public function setPath2($var) - { - GPBUtil::checkString($var, True); - $this->path2 = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/RuleBasedUserListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/RuleBasedUserListInfo.php deleted file mode 100644 index 22b1d76e3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/RuleBasedUserListInfo.php +++ /dev/null @@ -1,163 +0,0 @@ -google.ads.googleads.v15.common.RuleBasedUserListInfo - */ -class RuleBasedUserListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The status of pre-population. The field is default to NONE if not set which - * means the previous users will not be considered. If set to REQUESTED, past - * site visitors or app users who match the list definition will be included - * in the list (works on the Display Network only). This will only - * add past users from within the last 30 days, depending on the - * list's membership duration and the date when the remarketing tag is added. - * The status will be updated to FINISHED once request is processed, or FAILED - * if the request fails. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; - */ - protected $prepopulation_status = 0; - /** - * Flexible rule representation of visitors with one or multiple actions. The - * flexible user list is defined by two lists of operands – inclusive_operands - * and exclusive_operands; each operand represents a set of users based on - * actions they took in a given timeframe. These lists of operands are - * combined with the AND_NOT operator, so that users represented by the - * inclusive operands are included in the user list, minus the users - * represented by the exclusive operands. - * - * Generated from protobuf field .google.ads.googleads.v15.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; - */ - protected $flexible_rule_user_list = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $prepopulation_status - * The status of pre-population. The field is default to NONE if not set which - * means the previous users will not be considered. If set to REQUESTED, past - * site visitors or app users who match the list definition will be included - * in the list (works on the Display Network only). This will only - * add past users from within the last 30 days, depending on the - * list's membership duration and the date when the remarketing tag is added. - * The status will be updated to FINISHED once request is processed, or FAILED - * if the request fails. - * @type \Google\Ads\GoogleAds\V15\Common\FlexibleRuleUserListInfo $flexible_rule_user_list - * Flexible rule representation of visitors with one or multiple actions. The - * flexible user list is defined by two lists of operands – inclusive_operands - * and exclusive_operands; each operand represents a set of users based on - * actions they took in a given timeframe. These lists of operands are - * combined with the AND_NOT operator, so that users represented by the - * inclusive operands are included in the user list, minus the users - * represented by the exclusive operands. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * The status of pre-population. The field is default to NONE if not set which - * means the previous users will not be considered. If set to REQUESTED, past - * site visitors or app users who match the list definition will be included - * in the list (works on the Display Network only). This will only - * add past users from within the last 30 days, depending on the - * list's membership duration and the date when the remarketing tag is added. - * The status will be updated to FINISHED once request is processed, or FAILED - * if the request fails. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; - * @return int - */ - public function getPrepopulationStatus() - { - return $this->prepopulation_status; - } - - /** - * The status of pre-population. The field is default to NONE if not set which - * means the previous users will not be considered. If set to REQUESTED, past - * site visitors or app users who match the list definition will be included - * in the list (works on the Display Network only). This will only - * add past users from within the last 30 days, depending on the - * list's membership duration and the date when the remarketing tag is added. - * The status will be updated to FINISHED once request is processed, or FAILED - * if the request fails. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; - * @param int $var - * @return $this - */ - public function setPrepopulationStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListPrepopulationStatusEnum\UserListPrepopulationStatus::class); - $this->prepopulation_status = $var; - - return $this; - } - - /** - * Flexible rule representation of visitors with one or multiple actions. The - * flexible user list is defined by two lists of operands – inclusive_operands - * and exclusive_operands; each operand represents a set of users based on - * actions they took in a given timeframe. These lists of operands are - * combined with the AND_NOT operator, so that users represented by the - * inclusive operands are included in the user list, minus the users - * represented by the exclusive operands. - * - * Generated from protobuf field .google.ads.googleads.v15.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; - * @return \Google\Ads\GoogleAds\V15\Common\FlexibleRuleUserListInfo|null - */ - public function getFlexibleRuleUserList() - { - return $this->flexible_rule_user_list; - } - - public function hasFlexibleRuleUserList() - { - return isset($this->flexible_rule_user_list); - } - - public function clearFlexibleRuleUserList() - { - unset($this->flexible_rule_user_list); - } - - /** - * Flexible rule representation of visitors with one or multiple actions. The - * flexible user list is defined by two lists of operands – inclusive_operands - * and exclusive_operands; each operand represents a set of users based on - * actions they took in a given timeframe. These lists of operands are - * combined with the AND_NOT operator, so that users represented by the - * inclusive operands are included in the user list, minus the users - * represented by the exclusive operands. - * - * Generated from protobuf field .google.ads.googleads.v15.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; - * @param \Google\Ads\GoogleAds\V15\Common\FlexibleRuleUserListInfo $var - * @return $this - */ - public function setFlexibleRuleUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\FlexibleRuleUserListInfo::class); - $this->flexible_rule_user_list = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/SearchThemeInfo.php b/src/Google/Ads/GoogleAds/V15/Common/SearchThemeInfo.php deleted file mode 100644 index 34d5b1d34..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/SearchThemeInfo.php +++ /dev/null @@ -1,76 +0,0 @@ -google.ads.googleads.v15.common.SearchThemeInfo - */ -class SearchThemeInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Each Search Theme has a value of a simple string, like keywords. - * There are limits on overall length, allowed characters, and number - * of words. - * - * Generated from protobuf field string text = 1; - */ - protected $text = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * Each Search Theme has a value of a simple string, like keywords. - * There are limits on overall length, allowed characters, and number - * of words. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Each Search Theme has a value of a simple string, like keywords. - * There are limits on overall length, allowed characters, and number - * of words. - * - * Generated from protobuf field string text = 1; - * @return string - */ - public function getText() - { - return $this->text; - } - - /** - * Each Search Theme has a value of a simple string, like keywords. - * There are limits on overall length, allowed characters, and number - * of words. - * - * Generated from protobuf field string text = 1; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/SearchVolumeRange.php b/src/Google/Ads/GoogleAds/V15/Common/SearchVolumeRange.php deleted file mode 100644 index 4e953966a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/SearchVolumeRange.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.common.SearchVolumeRange - */ -class SearchVolumeRange extends \Google\Protobuf\Internal\Message -{ - /** - * Lower bound of search volume. - * - * Generated from protobuf field optional int64 min = 1; - */ - protected $min = null; - /** - * Upper bound of search volume. - * - * Generated from protobuf field optional int64 max = 2; - */ - protected $max = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $min - * Lower bound of search volume. - * @type int|string $max - * Upper bound of search volume. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Metrics::initOnce(); - parent::__construct($data); - } - - /** - * Lower bound of search volume. - * - * Generated from protobuf field optional int64 min = 1; - * @return int|string - */ - public function getMin() - { - return isset($this->min) ? $this->min : 0; - } - - public function hasMin() - { - return isset($this->min); - } - - public function clearMin() - { - unset($this->min); - } - - /** - * Lower bound of search volume. - * - * Generated from protobuf field optional int64 min = 1; - * @param int|string $var - * @return $this - */ - public function setMin($var) - { - GPBUtil::checkInt64($var); - $this->min = $var; - - return $this; - } - - /** - * Upper bound of search volume. - * - * Generated from protobuf field optional int64 max = 2; - * @return int|string - */ - public function getMax() - { - return isset($this->max) ? $this->max : 0; - } - - public function hasMax() - { - return isset($this->max); - } - - public function clearMax() - { - unset($this->max); - } - - /** - * Upper bound of search volume. - * - * Generated from protobuf field optional int64 max = 2; - * @param int|string $var - * @return $this - */ - public function setMax($var) - { - GPBUtil::checkInt64($var); - $this->max = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Segments.php b/src/Google/Ads/GoogleAds/V15/Common/Segments.php deleted file mode 100644 index 8e9b994ba..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Segments.php +++ /dev/null @@ -1,4433 +0,0 @@ -google.ads.googleads.v15.common.Segments - */ -class Segments extends \Google\Protobuf\Internal\Message -{ - /** - * Activity account ID. - * - * Generated from protobuf field optional int64 activity_account_id = 148; - */ - protected $activity_account_id = null; - /** - * Activity rating. - * - * Generated from protobuf field optional int64 activity_rating = 149; - */ - protected $activity_rating = null; - /** - * Advertiser supplied activity ID. - * - * Generated from protobuf field optional string external_activity_id = 150; - */ - protected $external_activity_id = null; - /** - * Ad Destination type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; - */ - protected $ad_destination_type = 0; - /** - * Ad network type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3; - */ - protected $ad_network_type = 0; - /** - * Resource name of the ad group. - * - * Generated from protobuf field optional string ad_group = 158; - */ - protected $ad_group = null; - /** - * Resource name of the asset group. - * - * Generated from protobuf field optional string asset_group = 159; - */ - protected $asset_group = null; - /** - * Domain (visible URL) of a participant in the Auction Insights report. - * - * Generated from protobuf field optional string auction_insight_domain = 145; - */ - protected $auction_insight_domain = null; - /** - * Budget campaign association status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134; - */ - protected $budget_campaign_association_status = null; - /** - * Resource name of the campaign. - * - * Generated from protobuf field optional string campaign = 157; - */ - protected $campaign = null; - /** - * Click type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ClickTypeEnum.ClickType click_type = 26; - */ - protected $click_type = 0; - /** - * Resource name of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 113 [(.google.api.resource_reference) = { - */ - protected $conversion_action = null; - /** - * Conversion action category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53; - */ - protected $conversion_action_category = 0; - /** - * Conversion action name. - * - * Generated from protobuf field optional string conversion_action_name = 114; - */ - protected $conversion_action_name = null; - /** - * This segments your conversion columns by the original conversion and - * conversion value versus the delta if conversions were adjusted. False row - * has the data as originally stated; While true row has the delta between - * data now and the data as originally stated. Summing the two together - * results post-adjustment data. - * - * Generated from protobuf field optional bool conversion_adjustment = 115; - */ - protected $conversion_adjustment = null; - /** - * Conversion attribution event type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2; - */ - protected $conversion_attribution_event_type = 0; - /** - * An enum value representing the number of days between the impression and - * the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50; - */ - protected $conversion_lag_bucket = 0; - /** - * An enum value representing the number of days between the impression and - * the conversion or between the impression and adjustments to the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; - */ - protected $conversion_or_adjustment_lag_bucket = 0; - /** - * Date to which metrics apply. - * yyyy-MM-dd format, for example, 2018-04-17. - * - * Generated from protobuf field optional string date = 79; - */ - protected $date = null; - /** - * Day of the week, for example, MONDAY. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - */ - protected $day_of_week = 0; - /** - * Device to which metrics apply. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device = 1; - */ - protected $device = 0; - /** - * External conversion source. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55; - */ - protected $external_conversion_source = 0; - /** - * Resource name of the geo target constant that represents an airport. - * - * Generated from protobuf field optional string geo_target_airport = 116; - */ - protected $geo_target_airport = null; - /** - * Resource name of the geo target constant that represents a canton. - * - * Generated from protobuf field optional string geo_target_canton = 117; - */ - protected $geo_target_canton = null; - /** - * Resource name of the geo target constant that represents a city. - * - * Generated from protobuf field optional string geo_target_city = 118; - */ - protected $geo_target_city = null; - /** - * Resource name of the geo target constant that represents a country. - * - * Generated from protobuf field optional string geo_target_country = 119; - */ - protected $geo_target_country = null; - /** - * Resource name of the geo target constant that represents a county. - * - * Generated from protobuf field optional string geo_target_county = 120; - */ - protected $geo_target_county = null; - /** - * Resource name of the geo target constant that represents a district. - * - * Generated from protobuf field optional string geo_target_district = 121; - */ - protected $geo_target_district = null; - /** - * Resource name of the geo target constant that represents a metro. - * - * Generated from protobuf field optional string geo_target_metro = 122; - */ - protected $geo_target_metro = null; - /** - * Resource name of the geo target constant that represents the most - * specific location. - * - * Generated from protobuf field optional string geo_target_most_specific_location = 123; - */ - protected $geo_target_most_specific_location = null; - /** - * Resource name of the geo target constant that represents a postal code. - * - * Generated from protobuf field optional string geo_target_postal_code = 124; - */ - protected $geo_target_postal_code = null; - /** - * Resource name of the geo target constant that represents a province. - * - * Generated from protobuf field optional string geo_target_province = 125; - */ - protected $geo_target_province = null; - /** - * Resource name of the geo target constant that represents a region. - * - * Generated from protobuf field optional string geo_target_region = 126; - */ - protected $geo_target_region = null; - /** - * Resource name of the geo target constant that represents a state. - * - * Generated from protobuf field optional string geo_target_state = 127; - */ - protected $geo_target_state = null; - /** - * Hotel booking window in days. - * - * Generated from protobuf field optional int64 hotel_booking_window_days = 135; - */ - protected $hotel_booking_window_days = null; - /** - * Hotel center ID. - * - * Generated from protobuf field optional int64 hotel_center_id = 80; - */ - protected $hotel_center_id = null; - /** - * Hotel check-in date. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string hotel_check_in_date = 81; - */ - protected $hotel_check_in_date = null; - /** - * Hotel check-in day of week. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9; - */ - protected $hotel_check_in_day_of_week = 0; - /** - * Hotel city. - * - * Generated from protobuf field optional string hotel_city = 82; - */ - protected $hotel_city = null; - /** - * Hotel class. - * - * Generated from protobuf field optional int32 hotel_class = 83; - */ - protected $hotel_class = null; - /** - * Hotel country. - * - * Generated from protobuf field optional string hotel_country = 84; - */ - protected $hotel_country = null; - /** - * Hotel date selection type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13; - */ - protected $hotel_date_selection_type = 0; - /** - * Hotel length of stay. - * - * Generated from protobuf field optional int32 hotel_length_of_stay = 85; - */ - protected $hotel_length_of_stay = null; - /** - * Hotel rate rule ID. - * - * Generated from protobuf field optional string hotel_rate_rule_id = 86; - */ - protected $hotel_rate_rule_id = null; - /** - * Hotel rate type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74; - */ - protected $hotel_rate_type = 0; - /** - * Hotel price bucket. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78; - */ - protected $hotel_price_bucket = 0; - /** - * Hotel state. - * - * Generated from protobuf field optional string hotel_state = 87; - */ - protected $hotel_state = null; - /** - * Hour of day as a number between 0 and 23, inclusive. - * - * Generated from protobuf field optional int32 hour = 88; - */ - protected $hour = null; - /** - * Only used with feed item metrics. - * Indicates whether the interaction metrics occurred on the feed item itself - * or a different extension or ad unit. - * - * Generated from protobuf field optional bool interaction_on_this_extension = 89; - */ - protected $interaction_on_this_extension = null; - /** - * Keyword criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Keyword keyword = 61; - */ - protected $keyword = null; - /** - * Month as represented by the date of the first day of a month. Formatted as - * yyyy-MM-dd. - * - * Generated from protobuf field optional string month = 90; - */ - protected $month = null; - /** - * Month of the year, for example, January. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18; - */ - protected $month_of_year = 0; - /** - * Partner hotel ID. - * - * Generated from protobuf field optional string partner_hotel_id = 91; - */ - protected $partner_hotel_id = null; - /** - * Placeholder type. This is only used with feed item metrics. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20; - */ - protected $placeholder_type = 0; - /** - * Aggregator ID of the product. - * - * Generated from protobuf field optional int64 product_aggregator_id = 132; - */ - protected $product_aggregator_id = null; - /** - * Category (level 1) of the product. - * - * Generated from protobuf field optional string product_category_level1 = 161; - */ - protected $product_category_level1 = null; - /** - * Category (level 2) of the product. - * - * Generated from protobuf field optional string product_category_level2 = 162; - */ - protected $product_category_level2 = null; - /** - * Category (level 3) of the product. - * - * Generated from protobuf field optional string product_category_level3 = 163; - */ - protected $product_category_level3 = null; - /** - * Category (level 4) of the product. - * - * Generated from protobuf field optional string product_category_level4 = 164; - */ - protected $product_category_level4 = null; - /** - * Category (level 5) of the product. - * - * Generated from protobuf field optional string product_category_level5 = 165; - */ - protected $product_category_level5 = null; - /** - * Brand of the product. - * - * Generated from protobuf field optional string product_brand = 97; - */ - protected $product_brand = null; - /** - * Channel of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelEnum.ProductChannel product_channel = 30; - */ - protected $product_channel = 0; - /** - * Channel exclusivity of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31; - */ - protected $product_channel_exclusivity = 0; - /** - * Condition of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductConditionEnum.ProductCondition product_condition = 32; - */ - protected $product_condition = 0; - /** - * Resource name of the geo target constant for the country of sale of the - * product. - * - * Generated from protobuf field optional string product_country = 98; - */ - protected $product_country = null; - /** - * Custom attribute 0 of the product. - * - * Generated from protobuf field optional string product_custom_attribute0 = 99; - */ - protected $product_custom_attribute0 = null; - /** - * Custom attribute 1 of the product. - * - * Generated from protobuf field optional string product_custom_attribute1 = 100; - */ - protected $product_custom_attribute1 = null; - /** - * Custom attribute 2 of the product. - * - * Generated from protobuf field optional string product_custom_attribute2 = 101; - */ - protected $product_custom_attribute2 = null; - /** - * Custom attribute 3 of the product. - * - * Generated from protobuf field optional string product_custom_attribute3 = 102; - */ - protected $product_custom_attribute3 = null; - /** - * Custom attribute 4 of the product. - * - * Generated from protobuf field optional string product_custom_attribute4 = 103; - */ - protected $product_custom_attribute4 = null; - /** - * Feed label of the product. - * - * Generated from protobuf field optional string product_feed_label = 147; - */ - protected $product_feed_label = null; - /** - * Item ID of the product. - * - * Generated from protobuf field optional string product_item_id = 104; - */ - protected $product_item_id = null; - /** - * Resource name of the language constant for the language of the product. - * - * Generated from protobuf field optional string product_language = 105; - */ - protected $product_language = null; - /** - * Merchant ID of the product. - * - * Generated from protobuf field optional int64 product_merchant_id = 133; - */ - protected $product_merchant_id = null; - /** - * Store ID of the product. - * - * Generated from protobuf field optional string product_store_id = 106; - */ - protected $product_store_id = null; - /** - * Title of the product. - * - * Generated from protobuf field optional string product_title = 107; - */ - protected $product_title = null; - /** - * Type (level 1) of the product. - * - * Generated from protobuf field optional string product_type_l1 = 108; - */ - protected $product_type_l1 = null; - /** - * Type (level 2) of the product. - * - * Generated from protobuf field optional string product_type_l2 = 109; - */ - protected $product_type_l2 = null; - /** - * Type (level 3) of the product. - * - * Generated from protobuf field optional string product_type_l3 = 110; - */ - protected $product_type_l3 = null; - /** - * Type (level 4) of the product. - * - * Generated from protobuf field optional string product_type_l4 = 111; - */ - protected $product_type_l4 = null; - /** - * Type (level 5) of the product. - * - * Generated from protobuf field optional string product_type_l5 = 112; - */ - protected $product_type_l5 = null; - /** - * Quarter as represented by the date of the first day of a quarter. - * Uses the calendar year for quarters, for example, the second quarter of - * 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string quarter = 128; - */ - protected $quarter = null; - /** - * Recommendation type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140; - */ - protected $recommendation_type = 0; - /** - * Type of the search engine results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70; - */ - protected $search_engine_results_page_type = 0; - /** - * A search term subcategory. An empty string denotes the catch-all - * subcategory for search terms that didn't fit into another subcategory. - * - * Generated from protobuf field optional string search_subcategory = 155; - */ - protected $search_subcategory = null; - /** - * A search term. - * - * Generated from protobuf field optional string search_term = 156; - */ - protected $search_term = null; - /** - * Match type of the keyword that triggered the ad, including variants. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22; - */ - protected $search_term_match_type = 0; - /** - * Position of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SlotEnum.Slot slot = 23; - */ - protected $slot = 0; - /** - * Primary dimension of applied conversion value rules. - * NO_RULE_APPLIED shows the total recorded value of conversions that - * do not have a value rule applied. - * ORIGINAL shows the original value of conversions to which a value rule - * has been applied. - * GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - * rules were applied. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138; - */ - protected $conversion_value_rule_primary_dimension = 0; - /** - * Resource name of the ad group criterion that represents webpage criterion. - * - * Generated from protobuf field optional string webpage = 129; - */ - protected $webpage = null; - /** - * Week as defined as Monday through Sunday, and represented by the date of - * Monday. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string week = 130; - */ - protected $week = null; - /** - * Year, formatted as yyyy. - * - * Generated from protobuf field optional int32 year = 131; - */ - protected $year = null; - /** - * iOS Store Kit Ad Network conversion value. - * Null value means this segment is not applicable, for example, non-iOS - * campaign. - * - * Generated from protobuf field optional int64 sk_ad_network_conversion_value = 137; - */ - protected $sk_ad_network_conversion_value = null; - /** - * iOS Store Kit Ad Network user type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141; - */ - protected $sk_ad_network_user_type = 0; - /** - * iOS Store Kit Ad Network ad event type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142; - */ - protected $sk_ad_network_ad_event_type = 0; - /** - * App where the ad that drove the iOS Store Kit Ad Network install was - * shown. Null value means this segment is not applicable, for example, - * non-iOS campaign, or was not present in any postbacks sent by Apple. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143; - */ - protected $sk_ad_network_source_app = null; - /** - * iOS Store Kit Ad Network attribution credit - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144; - */ - protected $sk_ad_network_attribution_credit = 0; - /** - * iOS Store Kit Ad Network coarse conversion value. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151; - */ - protected $sk_ad_network_coarse_conversion_value = 0; - /** - * Website where the ad that drove the iOS Store Kit Ad Network install was - * shown. Null value means this segment is not applicable, for example, - * non-iOS campaign, or was not present in any postbacks sent by Apple. - * - * Generated from protobuf field optional string sk_ad_network_source_domain = 152; - */ - protected $sk_ad_network_source_domain = null; - /** - * The source type where the ad that drove the iOS Store Kit Ad Network - * install was shown. Null value means this segment is not applicable, for - * example, non-iOS campaign, or neither source domain nor source app were - * present in any postbacks sent by Apple. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153; - */ - protected $sk_ad_network_source_type = 0; - /** - * iOS Store Kit Ad Network postback sequence index. - * - * Generated from protobuf field optional int64 sk_ad_network_postback_sequence_index = 154; - */ - protected $sk_ad_network_postback_sequence_index = null; - /** - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself - * or a different asset or ad unit. - * Interactions (for example, clicks) are counted across all the parts of the - * served ad (for example, Ad itself and other components like Sitelinks) when - * they are served together. When interaction_on_this_asset is true, it means - * the interactions are on this specific asset and when - * interaction_on_this_asset is false, it means the interactions is not on - * this specific asset but on other parts of the served ad this asset is - * served with. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.AssetInteractionTarget asset_interaction_target = 139; - */ - protected $asset_interaction_target = null; - /** - * This is for segmenting conversions by whether the user is a new customer - * or a returning customer. This segmentation is typically used to measure - * the impact of customer acquisition goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160; - */ - protected $new_versus_returning_customers = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $activity_account_id - * Activity account ID. - * @type int|string $activity_rating - * Activity rating. - * @type string $external_activity_id - * Advertiser supplied activity ID. - * @type int $ad_destination_type - * Ad Destination type. - * @type int $ad_network_type - * Ad network type. - * @type string $ad_group - * Resource name of the ad group. - * @type string $asset_group - * Resource name of the asset group. - * @type string $auction_insight_domain - * Domain (visible URL) of a participant in the Auction Insights report. - * @type \Google\Ads\GoogleAds\V15\Common\BudgetCampaignAssociationStatus $budget_campaign_association_status - * Budget campaign association status. - * @type string $campaign - * Resource name of the campaign. - * @type int $click_type - * Click type. - * @type string $conversion_action - * Resource name of the conversion action. - * @type int $conversion_action_category - * Conversion action category. - * @type string $conversion_action_name - * Conversion action name. - * @type bool $conversion_adjustment - * This segments your conversion columns by the original conversion and - * conversion value versus the delta if conversions were adjusted. False row - * has the data as originally stated; While true row has the delta between - * data now and the data as originally stated. Summing the two together - * results post-adjustment data. - * @type int $conversion_attribution_event_type - * Conversion attribution event type. - * @type int $conversion_lag_bucket - * An enum value representing the number of days between the impression and - * the conversion. - * @type int $conversion_or_adjustment_lag_bucket - * An enum value representing the number of days between the impression and - * the conversion or between the impression and adjustments to the conversion. - * @type string $date - * Date to which metrics apply. - * yyyy-MM-dd format, for example, 2018-04-17. - * @type int $day_of_week - * Day of the week, for example, MONDAY. - * @type int $device - * Device to which metrics apply. - * @type int $external_conversion_source - * External conversion source. - * @type string $geo_target_airport - * Resource name of the geo target constant that represents an airport. - * @type string $geo_target_canton - * Resource name of the geo target constant that represents a canton. - * @type string $geo_target_city - * Resource name of the geo target constant that represents a city. - * @type string $geo_target_country - * Resource name of the geo target constant that represents a country. - * @type string $geo_target_county - * Resource name of the geo target constant that represents a county. - * @type string $geo_target_district - * Resource name of the geo target constant that represents a district. - * @type string $geo_target_metro - * Resource name of the geo target constant that represents a metro. - * @type string $geo_target_most_specific_location - * Resource name of the geo target constant that represents the most - * specific location. - * @type string $geo_target_postal_code - * Resource name of the geo target constant that represents a postal code. - * @type string $geo_target_province - * Resource name of the geo target constant that represents a province. - * @type string $geo_target_region - * Resource name of the geo target constant that represents a region. - * @type string $geo_target_state - * Resource name of the geo target constant that represents a state. - * @type int|string $hotel_booking_window_days - * Hotel booking window in days. - * @type int|string $hotel_center_id - * Hotel center ID. - * @type string $hotel_check_in_date - * Hotel check-in date. Formatted as yyyy-MM-dd. - * @type int $hotel_check_in_day_of_week - * Hotel check-in day of week. - * @type string $hotel_city - * Hotel city. - * @type int $hotel_class - * Hotel class. - * @type string $hotel_country - * Hotel country. - * @type int $hotel_date_selection_type - * Hotel date selection type. - * @type int $hotel_length_of_stay - * Hotel length of stay. - * @type string $hotel_rate_rule_id - * Hotel rate rule ID. - * @type int $hotel_rate_type - * Hotel rate type. - * @type int $hotel_price_bucket - * Hotel price bucket. - * @type string $hotel_state - * Hotel state. - * @type int $hour - * Hour of day as a number between 0 and 23, inclusive. - * @type bool $interaction_on_this_extension - * Only used with feed item metrics. - * Indicates whether the interaction metrics occurred on the feed item itself - * or a different extension or ad unit. - * @type \Google\Ads\GoogleAds\V15\Common\Keyword $keyword - * Keyword criterion. - * @type string $month - * Month as represented by the date of the first day of a month. Formatted as - * yyyy-MM-dd. - * @type int $month_of_year - * Month of the year, for example, January. - * @type string $partner_hotel_id - * Partner hotel ID. - * @type int $placeholder_type - * Placeholder type. This is only used with feed item metrics. - * @type int|string $product_aggregator_id - * Aggregator ID of the product. - * @type string $product_category_level1 - * Category (level 1) of the product. - * @type string $product_category_level2 - * Category (level 2) of the product. - * @type string $product_category_level3 - * Category (level 3) of the product. - * @type string $product_category_level4 - * Category (level 4) of the product. - * @type string $product_category_level5 - * Category (level 5) of the product. - * @type string $product_brand - * Brand of the product. - * @type int $product_channel - * Channel of the product. - * @type int $product_channel_exclusivity - * Channel exclusivity of the product. - * @type int $product_condition - * Condition of the product. - * @type string $product_country - * Resource name of the geo target constant for the country of sale of the - * product. - * @type string $product_custom_attribute0 - * Custom attribute 0 of the product. - * @type string $product_custom_attribute1 - * Custom attribute 1 of the product. - * @type string $product_custom_attribute2 - * Custom attribute 2 of the product. - * @type string $product_custom_attribute3 - * Custom attribute 3 of the product. - * @type string $product_custom_attribute4 - * Custom attribute 4 of the product. - * @type string $product_feed_label - * Feed label of the product. - * @type string $product_item_id - * Item ID of the product. - * @type string $product_language - * Resource name of the language constant for the language of the product. - * @type int|string $product_merchant_id - * Merchant ID of the product. - * @type string $product_store_id - * Store ID of the product. - * @type string $product_title - * Title of the product. - * @type string $product_type_l1 - * Type (level 1) of the product. - * @type string $product_type_l2 - * Type (level 2) of the product. - * @type string $product_type_l3 - * Type (level 3) of the product. - * @type string $product_type_l4 - * Type (level 4) of the product. - * @type string $product_type_l5 - * Type (level 5) of the product. - * @type string $quarter - * Quarter as represented by the date of the first day of a quarter. - * Uses the calendar year for quarters, for example, the second quarter of - * 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. - * @type int $recommendation_type - * Recommendation type. - * @type int $search_engine_results_page_type - * Type of the search engine results page. - * @type string $search_subcategory - * A search term subcategory. An empty string denotes the catch-all - * subcategory for search terms that didn't fit into another subcategory. - * @type string $search_term - * A search term. - * @type int $search_term_match_type - * Match type of the keyword that triggered the ad, including variants. - * @type int $slot - * Position of the ad. - * @type int $conversion_value_rule_primary_dimension - * Primary dimension of applied conversion value rules. - * NO_RULE_APPLIED shows the total recorded value of conversions that - * do not have a value rule applied. - * ORIGINAL shows the original value of conversions to which a value rule - * has been applied. - * GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - * rules were applied. - * @type string $webpage - * Resource name of the ad group criterion that represents webpage criterion. - * @type string $week - * Week as defined as Monday through Sunday, and represented by the date of - * Monday. Formatted as yyyy-MM-dd. - * @type int $year - * Year, formatted as yyyy. - * @type int|string $sk_ad_network_conversion_value - * iOS Store Kit Ad Network conversion value. - * Null value means this segment is not applicable, for example, non-iOS - * campaign. - * @type int $sk_ad_network_user_type - * iOS Store Kit Ad Network user type. - * @type int $sk_ad_network_ad_event_type - * iOS Store Kit Ad Network ad event type. - * @type \Google\Ads\GoogleAds\V15\Common\SkAdNetworkSourceApp $sk_ad_network_source_app - * App where the ad that drove the iOS Store Kit Ad Network install was - * shown. Null value means this segment is not applicable, for example, - * non-iOS campaign, or was not present in any postbacks sent by Apple. - * @type int $sk_ad_network_attribution_credit - * iOS Store Kit Ad Network attribution credit - * @type int $sk_ad_network_coarse_conversion_value - * iOS Store Kit Ad Network coarse conversion value. - * @type string $sk_ad_network_source_domain - * Website where the ad that drove the iOS Store Kit Ad Network install was - * shown. Null value means this segment is not applicable, for example, - * non-iOS campaign, or was not present in any postbacks sent by Apple. - * @type int $sk_ad_network_source_type - * The source type where the ad that drove the iOS Store Kit Ad Network - * install was shown. Null value means this segment is not applicable, for - * example, non-iOS campaign, or neither source domain nor source app were - * present in any postbacks sent by Apple. - * @type int|string $sk_ad_network_postback_sequence_index - * iOS Store Kit Ad Network postback sequence index. - * @type \Google\Ads\GoogleAds\V15\Common\AssetInteractionTarget $asset_interaction_target - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself - * or a different asset or ad unit. - * Interactions (for example, clicks) are counted across all the parts of the - * served ad (for example, Ad itself and other components like Sitelinks) when - * they are served together. When interaction_on_this_asset is true, it means - * the interactions are on this specific asset and when - * interaction_on_this_asset is false, it means the interactions is not on - * this specific asset but on other parts of the served ad this asset is - * served with. - * @type int $new_versus_returning_customers - * This is for segmenting conversions by whether the user is a new customer - * or a returning customer. This segmentation is typically used to measure - * the impact of customer acquisition goal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Segments::initOnce(); - parent::__construct($data); - } - - /** - * Activity account ID. - * - * Generated from protobuf field optional int64 activity_account_id = 148; - * @return int|string - */ - public function getActivityAccountId() - { - return isset($this->activity_account_id) ? $this->activity_account_id : 0; - } - - public function hasActivityAccountId() - { - return isset($this->activity_account_id); - } - - public function clearActivityAccountId() - { - unset($this->activity_account_id); - } - - /** - * Activity account ID. - * - * Generated from protobuf field optional int64 activity_account_id = 148; - * @param int|string $var - * @return $this - */ - public function setActivityAccountId($var) - { - GPBUtil::checkInt64($var); - $this->activity_account_id = $var; - - return $this; - } - - /** - * Activity rating. - * - * Generated from protobuf field optional int64 activity_rating = 149; - * @return int|string - */ - public function getActivityRating() - { - return isset($this->activity_rating) ? $this->activity_rating : 0; - } - - public function hasActivityRating() - { - return isset($this->activity_rating); - } - - public function clearActivityRating() - { - unset($this->activity_rating); - } - - /** - * Activity rating. - * - * Generated from protobuf field optional int64 activity_rating = 149; - * @param int|string $var - * @return $this - */ - public function setActivityRating($var) - { - GPBUtil::checkInt64($var); - $this->activity_rating = $var; - - return $this; - } - - /** - * Advertiser supplied activity ID. - * - * Generated from protobuf field optional string external_activity_id = 150; - * @return string - */ - public function getExternalActivityId() - { - return isset($this->external_activity_id) ? $this->external_activity_id : ''; - } - - public function hasExternalActivityId() - { - return isset($this->external_activity_id); - } - - public function clearExternalActivityId() - { - unset($this->external_activity_id); - } - - /** - * Advertiser supplied activity ID. - * - * Generated from protobuf field optional string external_activity_id = 150; - * @param string $var - * @return $this - */ - public function setExternalActivityId($var) - { - GPBUtil::checkString($var, True); - $this->external_activity_id = $var; - - return $this; - } - - /** - * Ad Destination type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; - * @return int - */ - public function getAdDestinationType() - { - return $this->ad_destination_type; - } - - /** - * Ad Destination type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; - * @param int $var - * @return $this - */ - public function setAdDestinationType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdDestinationTypeEnum\AdDestinationType::class); - $this->ad_destination_type = $var; - - return $this; - } - - /** - * Ad network type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3; - * @return int - */ - public function getAdNetworkType() - { - return $this->ad_network_type; - } - - /** - * Ad network type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3; - * @param int $var - * @return $this - */ - public function setAdNetworkType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdNetworkTypeEnum\AdNetworkType::class); - $this->ad_network_type = $var; - - return $this; - } - - /** - * Resource name of the ad group. - * - * Generated from protobuf field optional string ad_group = 158; - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Resource name of the ad group. - * - * Generated from protobuf field optional string ad_group = 158; - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Resource name of the asset group. - * - * Generated from protobuf field optional string asset_group = 159; - * @return string - */ - public function getAssetGroup() - { - return isset($this->asset_group) ? $this->asset_group : ''; - } - - public function hasAssetGroup() - { - return isset($this->asset_group); - } - - public function clearAssetGroup() - { - unset($this->asset_group); - } - - /** - * Resource name of the asset group. - * - * Generated from protobuf field optional string asset_group = 159; - * @param string $var - * @return $this - */ - public function setAssetGroup($var) - { - GPBUtil::checkString($var, True); - $this->asset_group = $var; - - return $this; - } - - /** - * Domain (visible URL) of a participant in the Auction Insights report. - * - * Generated from protobuf field optional string auction_insight_domain = 145; - * @return string - */ - public function getAuctionInsightDomain() - { - return isset($this->auction_insight_domain) ? $this->auction_insight_domain : ''; - } - - public function hasAuctionInsightDomain() - { - return isset($this->auction_insight_domain); - } - - public function clearAuctionInsightDomain() - { - unset($this->auction_insight_domain); - } - - /** - * Domain (visible URL) of a participant in the Auction Insights report. - * - * Generated from protobuf field optional string auction_insight_domain = 145; - * @param string $var - * @return $this - */ - public function setAuctionInsightDomain($var) - { - GPBUtil::checkString($var, True); - $this->auction_insight_domain = $var; - - return $this; - } - - /** - * Budget campaign association status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134; - * @return \Google\Ads\GoogleAds\V15\Common\BudgetCampaignAssociationStatus|null - */ - public function getBudgetCampaignAssociationStatus() - { - return $this->budget_campaign_association_status; - } - - public function hasBudgetCampaignAssociationStatus() - { - return isset($this->budget_campaign_association_status); - } - - public function clearBudgetCampaignAssociationStatus() - { - unset($this->budget_campaign_association_status); - } - - /** - * Budget campaign association status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BudgetCampaignAssociationStatus budget_campaign_association_status = 134; - * @param \Google\Ads\GoogleAds\V15\Common\BudgetCampaignAssociationStatus $var - * @return $this - */ - public function setBudgetCampaignAssociationStatus($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BudgetCampaignAssociationStatus::class); - $this->budget_campaign_association_status = $var; - - return $this; - } - - /** - * Resource name of the campaign. - * - * Generated from protobuf field optional string campaign = 157; - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Resource name of the campaign. - * - * Generated from protobuf field optional string campaign = 157; - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Click type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ClickTypeEnum.ClickType click_type = 26; - * @return int - */ - public function getClickType() - { - return $this->click_type; - } - - /** - * Click type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ClickTypeEnum.ClickType click_type = 26; - * @param int $var - * @return $this - */ - public function setClickType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ClickTypeEnum\ClickType::class); - $this->click_type = $var; - - return $this; - } - - /** - * Resource name of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 113 [(.google.api.resource_reference) = { - * @return string - */ - public function getConversionAction() - { - return isset($this->conversion_action) ? $this->conversion_action : ''; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * Resource name of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 113 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * Conversion action category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53; - * @return int - */ - public function getConversionActionCategory() - { - return $this->conversion_action_category; - } - - /** - * Conversion action category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53; - * @param int $var - * @return $this - */ - public function setConversionActionCategory($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionActionCategoryEnum\ConversionActionCategory::class); - $this->conversion_action_category = $var; - - return $this; - } - - /** - * Conversion action name. - * - * Generated from protobuf field optional string conversion_action_name = 114; - * @return string - */ - public function getConversionActionName() - { - return isset($this->conversion_action_name) ? $this->conversion_action_name : ''; - } - - public function hasConversionActionName() - { - return isset($this->conversion_action_name); - } - - public function clearConversionActionName() - { - unset($this->conversion_action_name); - } - - /** - * Conversion action name. - * - * Generated from protobuf field optional string conversion_action_name = 114; - * @param string $var - * @return $this - */ - public function setConversionActionName($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action_name = $var; - - return $this; - } - - /** - * This segments your conversion columns by the original conversion and - * conversion value versus the delta if conversions were adjusted. False row - * has the data as originally stated; While true row has the delta between - * data now and the data as originally stated. Summing the two together - * results post-adjustment data. - * - * Generated from protobuf field optional bool conversion_adjustment = 115; - * @return bool - */ - public function getConversionAdjustment() - { - return isset($this->conversion_adjustment) ? $this->conversion_adjustment : false; - } - - public function hasConversionAdjustment() - { - return isset($this->conversion_adjustment); - } - - public function clearConversionAdjustment() - { - unset($this->conversion_adjustment); - } - - /** - * This segments your conversion columns by the original conversion and - * conversion value versus the delta if conversions were adjusted. False row - * has the data as originally stated; While true row has the delta between - * data now and the data as originally stated. Summing the two together - * results post-adjustment data. - * - * Generated from protobuf field optional bool conversion_adjustment = 115; - * @param bool $var - * @return $this - */ - public function setConversionAdjustment($var) - { - GPBUtil::checkBool($var); - $this->conversion_adjustment = $var; - - return $this; - } - - /** - * Conversion attribution event type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2; - * @return int - */ - public function getConversionAttributionEventType() - { - return $this->conversion_attribution_event_type; - } - - /** - * Conversion attribution event type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2; - * @param int $var - * @return $this - */ - public function setConversionAttributionEventType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionAttributionEventTypeEnum\ConversionAttributionEventType::class); - $this->conversion_attribution_event_type = $var; - - return $this; - } - - /** - * An enum value representing the number of days between the impression and - * the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50; - * @return int - */ - public function getConversionLagBucket() - { - return $this->conversion_lag_bucket; - } - - /** - * An enum value representing the number of days between the impression and - * the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50; - * @param int $var - * @return $this - */ - public function setConversionLagBucket($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionLagBucketEnum\ConversionLagBucket::class); - $this->conversion_lag_bucket = $var; - - return $this; - } - - /** - * An enum value representing the number of days between the impression and - * the conversion or between the impression and adjustments to the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; - * @return int - */ - public function getConversionOrAdjustmentLagBucket() - { - return $this->conversion_or_adjustment_lag_bucket; - } - - /** - * An enum value representing the number of days between the impression and - * the conversion or between the impression and adjustments to the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; - * @param int $var - * @return $this - */ - public function setConversionOrAdjustmentLagBucket($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionOrAdjustmentLagBucketEnum\ConversionOrAdjustmentLagBucket::class); - $this->conversion_or_adjustment_lag_bucket = $var; - - return $this; - } - - /** - * Date to which metrics apply. - * yyyy-MM-dd format, for example, 2018-04-17. - * - * Generated from protobuf field optional string date = 79; - * @return string - */ - public function getDate() - { - return isset($this->date) ? $this->date : ''; - } - - public function hasDate() - { - return isset($this->date); - } - - public function clearDate() - { - unset($this->date); - } - - /** - * Date to which metrics apply. - * yyyy-MM-dd format, for example, 2018-04-17. - * - * Generated from protobuf field optional string date = 79; - * @param string $var - * @return $this - */ - public function setDate($var) - { - GPBUtil::checkString($var, True); - $this->date = $var; - - return $this; - } - - /** - * Day of the week, for example, MONDAY. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - * @return int - */ - public function getDayOfWeek() - { - return $this->day_of_week; - } - - /** - * Day of the week, for example, MONDAY. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - * @param int $var - * @return $this - */ - public function setDayOfWeek($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DayOfWeekEnum\DayOfWeek::class); - $this->day_of_week = $var; - - return $this; - } - - /** - * Device to which metrics apply. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device = 1; - * @return int - */ - public function getDevice() - { - return $this->device; - } - - /** - * Device to which metrics apply. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device = 1; - * @param int $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DeviceEnum\Device::class); - $this->device = $var; - - return $this; - } - - /** - * External conversion source. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55; - * @return int - */ - public function getExternalConversionSource() - { - return $this->external_conversion_source; - } - - /** - * External conversion source. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55; - * @param int $var - * @return $this - */ - public function setExternalConversionSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExternalConversionSourceEnum\ExternalConversionSource::class); - $this->external_conversion_source = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents an airport. - * - * Generated from protobuf field optional string geo_target_airport = 116; - * @return string - */ - public function getGeoTargetAirport() - { - return isset($this->geo_target_airport) ? $this->geo_target_airport : ''; - } - - public function hasGeoTargetAirport() - { - return isset($this->geo_target_airport); - } - - public function clearGeoTargetAirport() - { - unset($this->geo_target_airport); - } - - /** - * Resource name of the geo target constant that represents an airport. - * - * Generated from protobuf field optional string geo_target_airport = 116; - * @param string $var - * @return $this - */ - public function setGeoTargetAirport($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_airport = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a canton. - * - * Generated from protobuf field optional string geo_target_canton = 117; - * @return string - */ - public function getGeoTargetCanton() - { - return isset($this->geo_target_canton) ? $this->geo_target_canton : ''; - } - - public function hasGeoTargetCanton() - { - return isset($this->geo_target_canton); - } - - public function clearGeoTargetCanton() - { - unset($this->geo_target_canton); - } - - /** - * Resource name of the geo target constant that represents a canton. - * - * Generated from protobuf field optional string geo_target_canton = 117; - * @param string $var - * @return $this - */ - public function setGeoTargetCanton($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_canton = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a city. - * - * Generated from protobuf field optional string geo_target_city = 118; - * @return string - */ - public function getGeoTargetCity() - { - return isset($this->geo_target_city) ? $this->geo_target_city : ''; - } - - public function hasGeoTargetCity() - { - return isset($this->geo_target_city); - } - - public function clearGeoTargetCity() - { - unset($this->geo_target_city); - } - - /** - * Resource name of the geo target constant that represents a city. - * - * Generated from protobuf field optional string geo_target_city = 118; - * @param string $var - * @return $this - */ - public function setGeoTargetCity($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_city = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a country. - * - * Generated from protobuf field optional string geo_target_country = 119; - * @return string - */ - public function getGeoTargetCountry() - { - return isset($this->geo_target_country) ? $this->geo_target_country : ''; - } - - public function hasGeoTargetCountry() - { - return isset($this->geo_target_country); - } - - public function clearGeoTargetCountry() - { - unset($this->geo_target_country); - } - - /** - * Resource name of the geo target constant that represents a country. - * - * Generated from protobuf field optional string geo_target_country = 119; - * @param string $var - * @return $this - */ - public function setGeoTargetCountry($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_country = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a county. - * - * Generated from protobuf field optional string geo_target_county = 120; - * @return string - */ - public function getGeoTargetCounty() - { - return isset($this->geo_target_county) ? $this->geo_target_county : ''; - } - - public function hasGeoTargetCounty() - { - return isset($this->geo_target_county); - } - - public function clearGeoTargetCounty() - { - unset($this->geo_target_county); - } - - /** - * Resource name of the geo target constant that represents a county. - * - * Generated from protobuf field optional string geo_target_county = 120; - * @param string $var - * @return $this - */ - public function setGeoTargetCounty($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_county = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a district. - * - * Generated from protobuf field optional string geo_target_district = 121; - * @return string - */ - public function getGeoTargetDistrict() - { - return isset($this->geo_target_district) ? $this->geo_target_district : ''; - } - - public function hasGeoTargetDistrict() - { - return isset($this->geo_target_district); - } - - public function clearGeoTargetDistrict() - { - unset($this->geo_target_district); - } - - /** - * Resource name of the geo target constant that represents a district. - * - * Generated from protobuf field optional string geo_target_district = 121; - * @param string $var - * @return $this - */ - public function setGeoTargetDistrict($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_district = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a metro. - * - * Generated from protobuf field optional string geo_target_metro = 122; - * @return string - */ - public function getGeoTargetMetro() - { - return isset($this->geo_target_metro) ? $this->geo_target_metro : ''; - } - - public function hasGeoTargetMetro() - { - return isset($this->geo_target_metro); - } - - public function clearGeoTargetMetro() - { - unset($this->geo_target_metro); - } - - /** - * Resource name of the geo target constant that represents a metro. - * - * Generated from protobuf field optional string geo_target_metro = 122; - * @param string $var - * @return $this - */ - public function setGeoTargetMetro($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_metro = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents the most - * specific location. - * - * Generated from protobuf field optional string geo_target_most_specific_location = 123; - * @return string - */ - public function getGeoTargetMostSpecificLocation() - { - return isset($this->geo_target_most_specific_location) ? $this->geo_target_most_specific_location : ''; - } - - public function hasGeoTargetMostSpecificLocation() - { - return isset($this->geo_target_most_specific_location); - } - - public function clearGeoTargetMostSpecificLocation() - { - unset($this->geo_target_most_specific_location); - } - - /** - * Resource name of the geo target constant that represents the most - * specific location. - * - * Generated from protobuf field optional string geo_target_most_specific_location = 123; - * @param string $var - * @return $this - */ - public function setGeoTargetMostSpecificLocation($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_most_specific_location = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a postal code. - * - * Generated from protobuf field optional string geo_target_postal_code = 124; - * @return string - */ - public function getGeoTargetPostalCode() - { - return isset($this->geo_target_postal_code) ? $this->geo_target_postal_code : ''; - } - - public function hasGeoTargetPostalCode() - { - return isset($this->geo_target_postal_code); - } - - public function clearGeoTargetPostalCode() - { - unset($this->geo_target_postal_code); - } - - /** - * Resource name of the geo target constant that represents a postal code. - * - * Generated from protobuf field optional string geo_target_postal_code = 124; - * @param string $var - * @return $this - */ - public function setGeoTargetPostalCode($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_postal_code = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a province. - * - * Generated from protobuf field optional string geo_target_province = 125; - * @return string - */ - public function getGeoTargetProvince() - { - return isset($this->geo_target_province) ? $this->geo_target_province : ''; - } - - public function hasGeoTargetProvince() - { - return isset($this->geo_target_province); - } - - public function clearGeoTargetProvince() - { - unset($this->geo_target_province); - } - - /** - * Resource name of the geo target constant that represents a province. - * - * Generated from protobuf field optional string geo_target_province = 125; - * @param string $var - * @return $this - */ - public function setGeoTargetProvince($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_province = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a region. - * - * Generated from protobuf field optional string geo_target_region = 126; - * @return string - */ - public function getGeoTargetRegion() - { - return isset($this->geo_target_region) ? $this->geo_target_region : ''; - } - - public function hasGeoTargetRegion() - { - return isset($this->geo_target_region); - } - - public function clearGeoTargetRegion() - { - unset($this->geo_target_region); - } - - /** - * Resource name of the geo target constant that represents a region. - * - * Generated from protobuf field optional string geo_target_region = 126; - * @param string $var - * @return $this - */ - public function setGeoTargetRegion($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_region = $var; - - return $this; - } - - /** - * Resource name of the geo target constant that represents a state. - * - * Generated from protobuf field optional string geo_target_state = 127; - * @return string - */ - public function getGeoTargetState() - { - return isset($this->geo_target_state) ? $this->geo_target_state : ''; - } - - public function hasGeoTargetState() - { - return isset($this->geo_target_state); - } - - public function clearGeoTargetState() - { - unset($this->geo_target_state); - } - - /** - * Resource name of the geo target constant that represents a state. - * - * Generated from protobuf field optional string geo_target_state = 127; - * @param string $var - * @return $this - */ - public function setGeoTargetState($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_state = $var; - - return $this; - } - - /** - * Hotel booking window in days. - * - * Generated from protobuf field optional int64 hotel_booking_window_days = 135; - * @return int|string - */ - public function getHotelBookingWindowDays() - { - return isset($this->hotel_booking_window_days) ? $this->hotel_booking_window_days : 0; - } - - public function hasHotelBookingWindowDays() - { - return isset($this->hotel_booking_window_days); - } - - public function clearHotelBookingWindowDays() - { - unset($this->hotel_booking_window_days); - } - - /** - * Hotel booking window in days. - * - * Generated from protobuf field optional int64 hotel_booking_window_days = 135; - * @param int|string $var - * @return $this - */ - public function setHotelBookingWindowDays($var) - { - GPBUtil::checkInt64($var); - $this->hotel_booking_window_days = $var; - - return $this; - } - - /** - * Hotel center ID. - * - * Generated from protobuf field optional int64 hotel_center_id = 80; - * @return int|string - */ - public function getHotelCenterId() - { - return isset($this->hotel_center_id) ? $this->hotel_center_id : 0; - } - - public function hasHotelCenterId() - { - return isset($this->hotel_center_id); - } - - public function clearHotelCenterId() - { - unset($this->hotel_center_id); - } - - /** - * Hotel center ID. - * - * Generated from protobuf field optional int64 hotel_center_id = 80; - * @param int|string $var - * @return $this - */ - public function setHotelCenterId($var) - { - GPBUtil::checkInt64($var); - $this->hotel_center_id = $var; - - return $this; - } - - /** - * Hotel check-in date. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string hotel_check_in_date = 81; - * @return string - */ - public function getHotelCheckInDate() - { - return isset($this->hotel_check_in_date) ? $this->hotel_check_in_date : ''; - } - - public function hasHotelCheckInDate() - { - return isset($this->hotel_check_in_date); - } - - public function clearHotelCheckInDate() - { - unset($this->hotel_check_in_date); - } - - /** - * Hotel check-in date. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string hotel_check_in_date = 81; - * @param string $var - * @return $this - */ - public function setHotelCheckInDate($var) - { - GPBUtil::checkString($var, True); - $this->hotel_check_in_date = $var; - - return $this; - } - - /** - * Hotel check-in day of week. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9; - * @return int - */ - public function getHotelCheckInDayOfWeek() - { - return $this->hotel_check_in_day_of_week; - } - - /** - * Hotel check-in day of week. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9; - * @param int $var - * @return $this - */ - public function setHotelCheckInDayOfWeek($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DayOfWeekEnum\DayOfWeek::class); - $this->hotel_check_in_day_of_week = $var; - - return $this; - } - - /** - * Hotel city. - * - * Generated from protobuf field optional string hotel_city = 82; - * @return string - */ - public function getHotelCity() - { - return isset($this->hotel_city) ? $this->hotel_city : ''; - } - - public function hasHotelCity() - { - return isset($this->hotel_city); - } - - public function clearHotelCity() - { - unset($this->hotel_city); - } - - /** - * Hotel city. - * - * Generated from protobuf field optional string hotel_city = 82; - * @param string $var - * @return $this - */ - public function setHotelCity($var) - { - GPBUtil::checkString($var, True); - $this->hotel_city = $var; - - return $this; - } - - /** - * Hotel class. - * - * Generated from protobuf field optional int32 hotel_class = 83; - * @return int - */ - public function getHotelClass() - { - return isset($this->hotel_class) ? $this->hotel_class : 0; - } - - public function hasHotelClass() - { - return isset($this->hotel_class); - } - - public function clearHotelClass() - { - unset($this->hotel_class); - } - - /** - * Hotel class. - * - * Generated from protobuf field optional int32 hotel_class = 83; - * @param int $var - * @return $this - */ - public function setHotelClass($var) - { - GPBUtil::checkInt32($var); - $this->hotel_class = $var; - - return $this; - } - - /** - * Hotel country. - * - * Generated from protobuf field optional string hotel_country = 84; - * @return string - */ - public function getHotelCountry() - { - return isset($this->hotel_country) ? $this->hotel_country : ''; - } - - public function hasHotelCountry() - { - return isset($this->hotel_country); - } - - public function clearHotelCountry() - { - unset($this->hotel_country); - } - - /** - * Hotel country. - * - * Generated from protobuf field optional string hotel_country = 84; - * @param string $var - * @return $this - */ - public function setHotelCountry($var) - { - GPBUtil::checkString($var, True); - $this->hotel_country = $var; - - return $this; - } - - /** - * Hotel date selection type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13; - * @return int - */ - public function getHotelDateSelectionType() - { - return $this->hotel_date_selection_type; - } - - /** - * Hotel date selection type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13; - * @param int $var - * @return $this - */ - public function setHotelDateSelectionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\HotelDateSelectionTypeEnum\HotelDateSelectionType::class); - $this->hotel_date_selection_type = $var; - - return $this; - } - - /** - * Hotel length of stay. - * - * Generated from protobuf field optional int32 hotel_length_of_stay = 85; - * @return int - */ - public function getHotelLengthOfStay() - { - return isset($this->hotel_length_of_stay) ? $this->hotel_length_of_stay : 0; - } - - public function hasHotelLengthOfStay() - { - return isset($this->hotel_length_of_stay); - } - - public function clearHotelLengthOfStay() - { - unset($this->hotel_length_of_stay); - } - - /** - * Hotel length of stay. - * - * Generated from protobuf field optional int32 hotel_length_of_stay = 85; - * @param int $var - * @return $this - */ - public function setHotelLengthOfStay($var) - { - GPBUtil::checkInt32($var); - $this->hotel_length_of_stay = $var; - - return $this; - } - - /** - * Hotel rate rule ID. - * - * Generated from protobuf field optional string hotel_rate_rule_id = 86; - * @return string - */ - public function getHotelRateRuleId() - { - return isset($this->hotel_rate_rule_id) ? $this->hotel_rate_rule_id : ''; - } - - public function hasHotelRateRuleId() - { - return isset($this->hotel_rate_rule_id); - } - - public function clearHotelRateRuleId() - { - unset($this->hotel_rate_rule_id); - } - - /** - * Hotel rate rule ID. - * - * Generated from protobuf field optional string hotel_rate_rule_id = 86; - * @param string $var - * @return $this - */ - public function setHotelRateRuleId($var) - { - GPBUtil::checkString($var, True); - $this->hotel_rate_rule_id = $var; - - return $this; - } - - /** - * Hotel rate type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74; - * @return int - */ - public function getHotelRateType() - { - return $this->hotel_rate_type; - } - - /** - * Hotel rate type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74; - * @param int $var - * @return $this - */ - public function setHotelRateType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\HotelRateTypeEnum\HotelRateType::class); - $this->hotel_rate_type = $var; - - return $this; - } - - /** - * Hotel price bucket. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78; - * @return int - */ - public function getHotelPriceBucket() - { - return $this->hotel_price_bucket; - } - - /** - * Hotel price bucket. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78; - * @param int $var - * @return $this - */ - public function setHotelPriceBucket($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\HotelPriceBucketEnum\HotelPriceBucket::class); - $this->hotel_price_bucket = $var; - - return $this; - } - - /** - * Hotel state. - * - * Generated from protobuf field optional string hotel_state = 87; - * @return string - */ - public function getHotelState() - { - return isset($this->hotel_state) ? $this->hotel_state : ''; - } - - public function hasHotelState() - { - return isset($this->hotel_state); - } - - public function clearHotelState() - { - unset($this->hotel_state); - } - - /** - * Hotel state. - * - * Generated from protobuf field optional string hotel_state = 87; - * @param string $var - * @return $this - */ - public function setHotelState($var) - { - GPBUtil::checkString($var, True); - $this->hotel_state = $var; - - return $this; - } - - /** - * Hour of day as a number between 0 and 23, inclusive. - * - * Generated from protobuf field optional int32 hour = 88; - * @return int - */ - public function getHour() - { - return isset($this->hour) ? $this->hour : 0; - } - - public function hasHour() - { - return isset($this->hour); - } - - public function clearHour() - { - unset($this->hour); - } - - /** - * Hour of day as a number between 0 and 23, inclusive. - * - * Generated from protobuf field optional int32 hour = 88; - * @param int $var - * @return $this - */ - public function setHour($var) - { - GPBUtil::checkInt32($var); - $this->hour = $var; - - return $this; - } - - /** - * Only used with feed item metrics. - * Indicates whether the interaction metrics occurred on the feed item itself - * or a different extension or ad unit. - * - * Generated from protobuf field optional bool interaction_on_this_extension = 89; - * @return bool - */ - public function getInteractionOnThisExtension() - { - return isset($this->interaction_on_this_extension) ? $this->interaction_on_this_extension : false; - } - - public function hasInteractionOnThisExtension() - { - return isset($this->interaction_on_this_extension); - } - - public function clearInteractionOnThisExtension() - { - unset($this->interaction_on_this_extension); - } - - /** - * Only used with feed item metrics. - * Indicates whether the interaction metrics occurred on the feed item itself - * or a different extension or ad unit. - * - * Generated from protobuf field optional bool interaction_on_this_extension = 89; - * @param bool $var - * @return $this - */ - public function setInteractionOnThisExtension($var) - { - GPBUtil::checkBool($var); - $this->interaction_on_this_extension = $var; - - return $this; - } - - /** - * Keyword criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Keyword keyword = 61; - * @return \Google\Ads\GoogleAds\V15\Common\Keyword|null - */ - public function getKeyword() - { - return $this->keyword; - } - - public function hasKeyword() - { - return isset($this->keyword); - } - - public function clearKeyword() - { - unset($this->keyword); - } - - /** - * Keyword criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Keyword keyword = 61; - * @param \Google\Ads\GoogleAds\V15\Common\Keyword $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Keyword::class); - $this->keyword = $var; - - return $this; - } - - /** - * Month as represented by the date of the first day of a month. Formatted as - * yyyy-MM-dd. - * - * Generated from protobuf field optional string month = 90; - * @return string - */ - public function getMonth() - { - return isset($this->month) ? $this->month : ''; - } - - public function hasMonth() - { - return isset($this->month); - } - - public function clearMonth() - { - unset($this->month); - } - - /** - * Month as represented by the date of the first day of a month. Formatted as - * yyyy-MM-dd. - * - * Generated from protobuf field optional string month = 90; - * @param string $var - * @return $this - */ - public function setMonth($var) - { - GPBUtil::checkString($var, True); - $this->month = $var; - - return $this; - } - - /** - * Month of the year, for example, January. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18; - * @return int - */ - public function getMonthOfYear() - { - return $this->month_of_year; - } - - /** - * Month of the year, for example, January. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18; - * @param int $var - * @return $this - */ - public function setMonthOfYear($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MonthOfYearEnum\MonthOfYear::class); - $this->month_of_year = $var; - - return $this; - } - - /** - * Partner hotel ID. - * - * Generated from protobuf field optional string partner_hotel_id = 91; - * @return string - */ - public function getPartnerHotelId() - { - return isset($this->partner_hotel_id) ? $this->partner_hotel_id : ''; - } - - public function hasPartnerHotelId() - { - return isset($this->partner_hotel_id); - } - - public function clearPartnerHotelId() - { - unset($this->partner_hotel_id); - } - - /** - * Partner hotel ID. - * - * Generated from protobuf field optional string partner_hotel_id = 91; - * @param string $var - * @return $this - */ - public function setPartnerHotelId($var) - { - GPBUtil::checkString($var, True); - $this->partner_hotel_id = $var; - - return $this; - } - - /** - * Placeholder type. This is only used with feed item metrics. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20; - * @return int - */ - public function getPlaceholderType() - { - return $this->placeholder_type; - } - - /** - * Placeholder type. This is only used with feed item metrics. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20; - * @param int $var - * @return $this - */ - public function setPlaceholderType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PlaceholderTypeEnum\PlaceholderType::class); - $this->placeholder_type = $var; - - return $this; - } - - /** - * Aggregator ID of the product. - * - * Generated from protobuf field optional int64 product_aggregator_id = 132; - * @return int|string - */ - public function getProductAggregatorId() - { - return isset($this->product_aggregator_id) ? $this->product_aggregator_id : 0; - } - - public function hasProductAggregatorId() - { - return isset($this->product_aggregator_id); - } - - public function clearProductAggregatorId() - { - unset($this->product_aggregator_id); - } - - /** - * Aggregator ID of the product. - * - * Generated from protobuf field optional int64 product_aggregator_id = 132; - * @param int|string $var - * @return $this - */ - public function setProductAggregatorId($var) - { - GPBUtil::checkInt64($var); - $this->product_aggregator_id = $var; - - return $this; - } - - /** - * Category (level 1) of the product. - * - * Generated from protobuf field optional string product_category_level1 = 161; - * @return string - */ - public function getProductCategoryLevel1() - { - return isset($this->product_category_level1) ? $this->product_category_level1 : ''; - } - - public function hasProductCategoryLevel1() - { - return isset($this->product_category_level1); - } - - public function clearProductCategoryLevel1() - { - unset($this->product_category_level1); - } - - /** - * Category (level 1) of the product. - * - * Generated from protobuf field optional string product_category_level1 = 161; - * @param string $var - * @return $this - */ - public function setProductCategoryLevel1($var) - { - GPBUtil::checkString($var, True); - $this->product_category_level1 = $var; - - return $this; - } - - /** - * Category (level 2) of the product. - * - * Generated from protobuf field optional string product_category_level2 = 162; - * @return string - */ - public function getProductCategoryLevel2() - { - return isset($this->product_category_level2) ? $this->product_category_level2 : ''; - } - - public function hasProductCategoryLevel2() - { - return isset($this->product_category_level2); - } - - public function clearProductCategoryLevel2() - { - unset($this->product_category_level2); - } - - /** - * Category (level 2) of the product. - * - * Generated from protobuf field optional string product_category_level2 = 162; - * @param string $var - * @return $this - */ - public function setProductCategoryLevel2($var) - { - GPBUtil::checkString($var, True); - $this->product_category_level2 = $var; - - return $this; - } - - /** - * Category (level 3) of the product. - * - * Generated from protobuf field optional string product_category_level3 = 163; - * @return string - */ - public function getProductCategoryLevel3() - { - return isset($this->product_category_level3) ? $this->product_category_level3 : ''; - } - - public function hasProductCategoryLevel3() - { - return isset($this->product_category_level3); - } - - public function clearProductCategoryLevel3() - { - unset($this->product_category_level3); - } - - /** - * Category (level 3) of the product. - * - * Generated from protobuf field optional string product_category_level3 = 163; - * @param string $var - * @return $this - */ - public function setProductCategoryLevel3($var) - { - GPBUtil::checkString($var, True); - $this->product_category_level3 = $var; - - return $this; - } - - /** - * Category (level 4) of the product. - * - * Generated from protobuf field optional string product_category_level4 = 164; - * @return string - */ - public function getProductCategoryLevel4() - { - return isset($this->product_category_level4) ? $this->product_category_level4 : ''; - } - - public function hasProductCategoryLevel4() - { - return isset($this->product_category_level4); - } - - public function clearProductCategoryLevel4() - { - unset($this->product_category_level4); - } - - /** - * Category (level 4) of the product. - * - * Generated from protobuf field optional string product_category_level4 = 164; - * @param string $var - * @return $this - */ - public function setProductCategoryLevel4($var) - { - GPBUtil::checkString($var, True); - $this->product_category_level4 = $var; - - return $this; - } - - /** - * Category (level 5) of the product. - * - * Generated from protobuf field optional string product_category_level5 = 165; - * @return string - */ - public function getProductCategoryLevel5() - { - return isset($this->product_category_level5) ? $this->product_category_level5 : ''; - } - - public function hasProductCategoryLevel5() - { - return isset($this->product_category_level5); - } - - public function clearProductCategoryLevel5() - { - unset($this->product_category_level5); - } - - /** - * Category (level 5) of the product. - * - * Generated from protobuf field optional string product_category_level5 = 165; - * @param string $var - * @return $this - */ - public function setProductCategoryLevel5($var) - { - GPBUtil::checkString($var, True); - $this->product_category_level5 = $var; - - return $this; - } - - /** - * Brand of the product. - * - * Generated from protobuf field optional string product_brand = 97; - * @return string - */ - public function getProductBrand() - { - return isset($this->product_brand) ? $this->product_brand : ''; - } - - public function hasProductBrand() - { - return isset($this->product_brand); - } - - public function clearProductBrand() - { - unset($this->product_brand); - } - - /** - * Brand of the product. - * - * Generated from protobuf field optional string product_brand = 97; - * @param string $var - * @return $this - */ - public function setProductBrand($var) - { - GPBUtil::checkString($var, True); - $this->product_brand = $var; - - return $this; - } - - /** - * Channel of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelEnum.ProductChannel product_channel = 30; - * @return int - */ - public function getProductChannel() - { - return $this->product_channel; - } - - /** - * Channel of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelEnum.ProductChannel product_channel = 30; - * @param int $var - * @return $this - */ - public function setProductChannel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductChannelEnum\ProductChannel::class); - $this->product_channel = $var; - - return $this; - } - - /** - * Channel exclusivity of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31; - * @return int - */ - public function getProductChannelExclusivity() - { - return $this->product_channel_exclusivity; - } - - /** - * Channel exclusivity of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31; - * @param int $var - * @return $this - */ - public function setProductChannelExclusivity($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductChannelExclusivityEnum\ProductChannelExclusivity::class); - $this->product_channel_exclusivity = $var; - - return $this; - } - - /** - * Condition of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductConditionEnum.ProductCondition product_condition = 32; - * @return int - */ - public function getProductCondition() - { - return $this->product_condition; - } - - /** - * Condition of the product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductConditionEnum.ProductCondition product_condition = 32; - * @param int $var - * @return $this - */ - public function setProductCondition($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductConditionEnum\ProductCondition::class); - $this->product_condition = $var; - - return $this; - } - - /** - * Resource name of the geo target constant for the country of sale of the - * product. - * - * Generated from protobuf field optional string product_country = 98; - * @return string - */ - public function getProductCountry() - { - return isset($this->product_country) ? $this->product_country : ''; - } - - public function hasProductCountry() - { - return isset($this->product_country); - } - - public function clearProductCountry() - { - unset($this->product_country); - } - - /** - * Resource name of the geo target constant for the country of sale of the - * product. - * - * Generated from protobuf field optional string product_country = 98; - * @param string $var - * @return $this - */ - public function setProductCountry($var) - { - GPBUtil::checkString($var, True); - $this->product_country = $var; - - return $this; - } - - /** - * Custom attribute 0 of the product. - * - * Generated from protobuf field optional string product_custom_attribute0 = 99; - * @return string - */ - public function getProductCustomAttribute0() - { - return isset($this->product_custom_attribute0) ? $this->product_custom_attribute0 : ''; - } - - public function hasProductCustomAttribute0() - { - return isset($this->product_custom_attribute0); - } - - public function clearProductCustomAttribute0() - { - unset($this->product_custom_attribute0); - } - - /** - * Custom attribute 0 of the product. - * - * Generated from protobuf field optional string product_custom_attribute0 = 99; - * @param string $var - * @return $this - */ - public function setProductCustomAttribute0($var) - { - GPBUtil::checkString($var, True); - $this->product_custom_attribute0 = $var; - - return $this; - } - - /** - * Custom attribute 1 of the product. - * - * Generated from protobuf field optional string product_custom_attribute1 = 100; - * @return string - */ - public function getProductCustomAttribute1() - { - return isset($this->product_custom_attribute1) ? $this->product_custom_attribute1 : ''; - } - - public function hasProductCustomAttribute1() - { - return isset($this->product_custom_attribute1); - } - - public function clearProductCustomAttribute1() - { - unset($this->product_custom_attribute1); - } - - /** - * Custom attribute 1 of the product. - * - * Generated from protobuf field optional string product_custom_attribute1 = 100; - * @param string $var - * @return $this - */ - public function setProductCustomAttribute1($var) - { - GPBUtil::checkString($var, True); - $this->product_custom_attribute1 = $var; - - return $this; - } - - /** - * Custom attribute 2 of the product. - * - * Generated from protobuf field optional string product_custom_attribute2 = 101; - * @return string - */ - public function getProductCustomAttribute2() - { - return isset($this->product_custom_attribute2) ? $this->product_custom_attribute2 : ''; - } - - public function hasProductCustomAttribute2() - { - return isset($this->product_custom_attribute2); - } - - public function clearProductCustomAttribute2() - { - unset($this->product_custom_attribute2); - } - - /** - * Custom attribute 2 of the product. - * - * Generated from protobuf field optional string product_custom_attribute2 = 101; - * @param string $var - * @return $this - */ - public function setProductCustomAttribute2($var) - { - GPBUtil::checkString($var, True); - $this->product_custom_attribute2 = $var; - - return $this; - } - - /** - * Custom attribute 3 of the product. - * - * Generated from protobuf field optional string product_custom_attribute3 = 102; - * @return string - */ - public function getProductCustomAttribute3() - { - return isset($this->product_custom_attribute3) ? $this->product_custom_attribute3 : ''; - } - - public function hasProductCustomAttribute3() - { - return isset($this->product_custom_attribute3); - } - - public function clearProductCustomAttribute3() - { - unset($this->product_custom_attribute3); - } - - /** - * Custom attribute 3 of the product. - * - * Generated from protobuf field optional string product_custom_attribute3 = 102; - * @param string $var - * @return $this - */ - public function setProductCustomAttribute3($var) - { - GPBUtil::checkString($var, True); - $this->product_custom_attribute3 = $var; - - return $this; - } - - /** - * Custom attribute 4 of the product. - * - * Generated from protobuf field optional string product_custom_attribute4 = 103; - * @return string - */ - public function getProductCustomAttribute4() - { - return isset($this->product_custom_attribute4) ? $this->product_custom_attribute4 : ''; - } - - public function hasProductCustomAttribute4() - { - return isset($this->product_custom_attribute4); - } - - public function clearProductCustomAttribute4() - { - unset($this->product_custom_attribute4); - } - - /** - * Custom attribute 4 of the product. - * - * Generated from protobuf field optional string product_custom_attribute4 = 103; - * @param string $var - * @return $this - */ - public function setProductCustomAttribute4($var) - { - GPBUtil::checkString($var, True); - $this->product_custom_attribute4 = $var; - - return $this; - } - - /** - * Feed label of the product. - * - * Generated from protobuf field optional string product_feed_label = 147; - * @return string - */ - public function getProductFeedLabel() - { - return isset($this->product_feed_label) ? $this->product_feed_label : ''; - } - - public function hasProductFeedLabel() - { - return isset($this->product_feed_label); - } - - public function clearProductFeedLabel() - { - unset($this->product_feed_label); - } - - /** - * Feed label of the product. - * - * Generated from protobuf field optional string product_feed_label = 147; - * @param string $var - * @return $this - */ - public function setProductFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->product_feed_label = $var; - - return $this; - } - - /** - * Item ID of the product. - * - * Generated from protobuf field optional string product_item_id = 104; - * @return string - */ - public function getProductItemId() - { - return isset($this->product_item_id) ? $this->product_item_id : ''; - } - - public function hasProductItemId() - { - return isset($this->product_item_id); - } - - public function clearProductItemId() - { - unset($this->product_item_id); - } - - /** - * Item ID of the product. - * - * Generated from protobuf field optional string product_item_id = 104; - * @param string $var - * @return $this - */ - public function setProductItemId($var) - { - GPBUtil::checkString($var, True); - $this->product_item_id = $var; - - return $this; - } - - /** - * Resource name of the language constant for the language of the product. - * - * Generated from protobuf field optional string product_language = 105; - * @return string - */ - public function getProductLanguage() - { - return isset($this->product_language) ? $this->product_language : ''; - } - - public function hasProductLanguage() - { - return isset($this->product_language); - } - - public function clearProductLanguage() - { - unset($this->product_language); - } - - /** - * Resource name of the language constant for the language of the product. - * - * Generated from protobuf field optional string product_language = 105; - * @param string $var - * @return $this - */ - public function setProductLanguage($var) - { - GPBUtil::checkString($var, True); - $this->product_language = $var; - - return $this; - } - - /** - * Merchant ID of the product. - * - * Generated from protobuf field optional int64 product_merchant_id = 133; - * @return int|string - */ - public function getProductMerchantId() - { - return isset($this->product_merchant_id) ? $this->product_merchant_id : 0; - } - - public function hasProductMerchantId() - { - return isset($this->product_merchant_id); - } - - public function clearProductMerchantId() - { - unset($this->product_merchant_id); - } - - /** - * Merchant ID of the product. - * - * Generated from protobuf field optional int64 product_merchant_id = 133; - * @param int|string $var - * @return $this - */ - public function setProductMerchantId($var) - { - GPBUtil::checkInt64($var); - $this->product_merchant_id = $var; - - return $this; - } - - /** - * Store ID of the product. - * - * Generated from protobuf field optional string product_store_id = 106; - * @return string - */ - public function getProductStoreId() - { - return isset($this->product_store_id) ? $this->product_store_id : ''; - } - - public function hasProductStoreId() - { - return isset($this->product_store_id); - } - - public function clearProductStoreId() - { - unset($this->product_store_id); - } - - /** - * Store ID of the product. - * - * Generated from protobuf field optional string product_store_id = 106; - * @param string $var - * @return $this - */ - public function setProductStoreId($var) - { - GPBUtil::checkString($var, True); - $this->product_store_id = $var; - - return $this; - } - - /** - * Title of the product. - * - * Generated from protobuf field optional string product_title = 107; - * @return string - */ - public function getProductTitle() - { - return isset($this->product_title) ? $this->product_title : ''; - } - - public function hasProductTitle() - { - return isset($this->product_title); - } - - public function clearProductTitle() - { - unset($this->product_title); - } - - /** - * Title of the product. - * - * Generated from protobuf field optional string product_title = 107; - * @param string $var - * @return $this - */ - public function setProductTitle($var) - { - GPBUtil::checkString($var, True); - $this->product_title = $var; - - return $this; - } - - /** - * Type (level 1) of the product. - * - * Generated from protobuf field optional string product_type_l1 = 108; - * @return string - */ - public function getProductTypeL1() - { - return isset($this->product_type_l1) ? $this->product_type_l1 : ''; - } - - public function hasProductTypeL1() - { - return isset($this->product_type_l1); - } - - public function clearProductTypeL1() - { - unset($this->product_type_l1); - } - - /** - * Type (level 1) of the product. - * - * Generated from protobuf field optional string product_type_l1 = 108; - * @param string $var - * @return $this - */ - public function setProductTypeL1($var) - { - GPBUtil::checkString($var, True); - $this->product_type_l1 = $var; - - return $this; - } - - /** - * Type (level 2) of the product. - * - * Generated from protobuf field optional string product_type_l2 = 109; - * @return string - */ - public function getProductTypeL2() - { - return isset($this->product_type_l2) ? $this->product_type_l2 : ''; - } - - public function hasProductTypeL2() - { - return isset($this->product_type_l2); - } - - public function clearProductTypeL2() - { - unset($this->product_type_l2); - } - - /** - * Type (level 2) of the product. - * - * Generated from protobuf field optional string product_type_l2 = 109; - * @param string $var - * @return $this - */ - public function setProductTypeL2($var) - { - GPBUtil::checkString($var, True); - $this->product_type_l2 = $var; - - return $this; - } - - /** - * Type (level 3) of the product. - * - * Generated from protobuf field optional string product_type_l3 = 110; - * @return string - */ - public function getProductTypeL3() - { - return isset($this->product_type_l3) ? $this->product_type_l3 : ''; - } - - public function hasProductTypeL3() - { - return isset($this->product_type_l3); - } - - public function clearProductTypeL3() - { - unset($this->product_type_l3); - } - - /** - * Type (level 3) of the product. - * - * Generated from protobuf field optional string product_type_l3 = 110; - * @param string $var - * @return $this - */ - public function setProductTypeL3($var) - { - GPBUtil::checkString($var, True); - $this->product_type_l3 = $var; - - return $this; - } - - /** - * Type (level 4) of the product. - * - * Generated from protobuf field optional string product_type_l4 = 111; - * @return string - */ - public function getProductTypeL4() - { - return isset($this->product_type_l4) ? $this->product_type_l4 : ''; - } - - public function hasProductTypeL4() - { - return isset($this->product_type_l4); - } - - public function clearProductTypeL4() - { - unset($this->product_type_l4); - } - - /** - * Type (level 4) of the product. - * - * Generated from protobuf field optional string product_type_l4 = 111; - * @param string $var - * @return $this - */ - public function setProductTypeL4($var) - { - GPBUtil::checkString($var, True); - $this->product_type_l4 = $var; - - return $this; - } - - /** - * Type (level 5) of the product. - * - * Generated from protobuf field optional string product_type_l5 = 112; - * @return string - */ - public function getProductTypeL5() - { - return isset($this->product_type_l5) ? $this->product_type_l5 : ''; - } - - public function hasProductTypeL5() - { - return isset($this->product_type_l5); - } - - public function clearProductTypeL5() - { - unset($this->product_type_l5); - } - - /** - * Type (level 5) of the product. - * - * Generated from protobuf field optional string product_type_l5 = 112; - * @param string $var - * @return $this - */ - public function setProductTypeL5($var) - { - GPBUtil::checkString($var, True); - $this->product_type_l5 = $var; - - return $this; - } - - /** - * Quarter as represented by the date of the first day of a quarter. - * Uses the calendar year for quarters, for example, the second quarter of - * 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string quarter = 128; - * @return string - */ - public function getQuarter() - { - return isset($this->quarter) ? $this->quarter : ''; - } - - public function hasQuarter() - { - return isset($this->quarter); - } - - public function clearQuarter() - { - unset($this->quarter); - } - - /** - * Quarter as represented by the date of the first day of a quarter. - * Uses the calendar year for quarters, for example, the second quarter of - * 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string quarter = 128; - * @param string $var - * @return $this - */ - public function setQuarter($var) - { - GPBUtil::checkString($var, True); - $this->quarter = $var; - - return $this; - } - - /** - * Recommendation type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140; - * @return int - */ - public function getRecommendationType() - { - return $this->recommendation_type; - } - - /** - * Recommendation type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140; - * @param int $var - * @return $this - */ - public function setRecommendationType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\RecommendationTypeEnum\RecommendationType::class); - $this->recommendation_type = $var; - - return $this; - } - - /** - * Type of the search engine results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70; - * @return int - */ - public function getSearchEngineResultsPageType() - { - return $this->search_engine_results_page_type; - } - - /** - * Type of the search engine results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70; - * @param int $var - * @return $this - */ - public function setSearchEngineResultsPageType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SearchEngineResultsPageTypeEnum\SearchEngineResultsPageType::class); - $this->search_engine_results_page_type = $var; - - return $this; - } - - /** - * A search term subcategory. An empty string denotes the catch-all - * subcategory for search terms that didn't fit into another subcategory. - * - * Generated from protobuf field optional string search_subcategory = 155; - * @return string - */ - public function getSearchSubcategory() - { - return isset($this->search_subcategory) ? $this->search_subcategory : ''; - } - - public function hasSearchSubcategory() - { - return isset($this->search_subcategory); - } - - public function clearSearchSubcategory() - { - unset($this->search_subcategory); - } - - /** - * A search term subcategory. An empty string denotes the catch-all - * subcategory for search terms that didn't fit into another subcategory. - * - * Generated from protobuf field optional string search_subcategory = 155; - * @param string $var - * @return $this - */ - public function setSearchSubcategory($var) - { - GPBUtil::checkString($var, True); - $this->search_subcategory = $var; - - return $this; - } - - /** - * A search term. - * - * Generated from protobuf field optional string search_term = 156; - * @return string - */ - public function getSearchTerm() - { - return isset($this->search_term) ? $this->search_term : ''; - } - - public function hasSearchTerm() - { - return isset($this->search_term); - } - - public function clearSearchTerm() - { - unset($this->search_term); - } - - /** - * A search term. - * - * Generated from protobuf field optional string search_term = 156; - * @param string $var - * @return $this - */ - public function setSearchTerm($var) - { - GPBUtil::checkString($var, True); - $this->search_term = $var; - - return $this; - } - - /** - * Match type of the keyword that triggered the ad, including variants. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22; - * @return int - */ - public function getSearchTermMatchType() - { - return $this->search_term_match_type; - } - - /** - * Match type of the keyword that triggered the ad, including variants. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22; - * @param int $var - * @return $this - */ - public function setSearchTermMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SearchTermMatchTypeEnum\SearchTermMatchType::class); - $this->search_term_match_type = $var; - - return $this; - } - - /** - * Position of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SlotEnum.Slot slot = 23; - * @return int - */ - public function getSlot() - { - return $this->slot; - } - - /** - * Position of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SlotEnum.Slot slot = 23; - * @param int $var - * @return $this - */ - public function setSlot($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SlotEnum\Slot::class); - $this->slot = $var; - - return $this; - } - - /** - * Primary dimension of applied conversion value rules. - * NO_RULE_APPLIED shows the total recorded value of conversions that - * do not have a value rule applied. - * ORIGINAL shows the original value of conversions to which a value rule - * has been applied. - * GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - * rules were applied. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138; - * @return int - */ - public function getConversionValueRulePrimaryDimension() - { - return $this->conversion_value_rule_primary_dimension; - } - - /** - * Primary dimension of applied conversion value rules. - * NO_RULE_APPLIED shows the total recorded value of conversions that - * do not have a value rule applied. - * ORIGINAL shows the original value of conversions to which a value rule - * has been applied. - * GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - * rules were applied. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138; - * @param int $var - * @return $this - */ - public function setConversionValueRulePrimaryDimension($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionValueRulePrimaryDimensionEnum\ConversionValueRulePrimaryDimension::class); - $this->conversion_value_rule_primary_dimension = $var; - - return $this; - } - - /** - * Resource name of the ad group criterion that represents webpage criterion. - * - * Generated from protobuf field optional string webpage = 129; - * @return string - */ - public function getWebpage() - { - return isset($this->webpage) ? $this->webpage : ''; - } - - public function hasWebpage() - { - return isset($this->webpage); - } - - public function clearWebpage() - { - unset($this->webpage); - } - - /** - * Resource name of the ad group criterion that represents webpage criterion. - * - * Generated from protobuf field optional string webpage = 129; - * @param string $var - * @return $this - */ - public function setWebpage($var) - { - GPBUtil::checkString($var, True); - $this->webpage = $var; - - return $this; - } - - /** - * Week as defined as Monday through Sunday, and represented by the date of - * Monday. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string week = 130; - * @return string - */ - public function getWeek() - { - return isset($this->week) ? $this->week : ''; - } - - public function hasWeek() - { - return isset($this->week); - } - - public function clearWeek() - { - unset($this->week); - } - - /** - * Week as defined as Monday through Sunday, and represented by the date of - * Monday. Formatted as yyyy-MM-dd. - * - * Generated from protobuf field optional string week = 130; - * @param string $var - * @return $this - */ - public function setWeek($var) - { - GPBUtil::checkString($var, True); - $this->week = $var; - - return $this; - } - - /** - * Year, formatted as yyyy. - * - * Generated from protobuf field optional int32 year = 131; - * @return int - */ - public function getYear() - { - return isset($this->year) ? $this->year : 0; - } - - public function hasYear() - { - return isset($this->year); - } - - public function clearYear() - { - unset($this->year); - } - - /** - * Year, formatted as yyyy. - * - * Generated from protobuf field optional int32 year = 131; - * @param int $var - * @return $this - */ - public function setYear($var) - { - GPBUtil::checkInt32($var); - $this->year = $var; - - return $this; - } - - /** - * iOS Store Kit Ad Network conversion value. - * Null value means this segment is not applicable, for example, non-iOS - * campaign. - * - * Generated from protobuf field optional int64 sk_ad_network_conversion_value = 137; - * @return int|string - */ - public function getSkAdNetworkConversionValue() - { - return isset($this->sk_ad_network_conversion_value) ? $this->sk_ad_network_conversion_value : 0; - } - - public function hasSkAdNetworkConversionValue() - { - return isset($this->sk_ad_network_conversion_value); - } - - public function clearSkAdNetworkConversionValue() - { - unset($this->sk_ad_network_conversion_value); - } - - /** - * iOS Store Kit Ad Network conversion value. - * Null value means this segment is not applicable, for example, non-iOS - * campaign. - * - * Generated from protobuf field optional int64 sk_ad_network_conversion_value = 137; - * @param int|string $var - * @return $this - */ - public function setSkAdNetworkConversionValue($var) - { - GPBUtil::checkInt64($var); - $this->sk_ad_network_conversion_value = $var; - - return $this; - } - - /** - * iOS Store Kit Ad Network user type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141; - * @return int - */ - public function getSkAdNetworkUserType() - { - return $this->sk_ad_network_user_type; - } - - /** - * iOS Store Kit Ad Network user type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141; - * @param int $var - * @return $this - */ - public function setSkAdNetworkUserType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkUserTypeEnum\SkAdNetworkUserType::class); - $this->sk_ad_network_user_type = $var; - - return $this; - } - - /** - * iOS Store Kit Ad Network ad event type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142; - * @return int - */ - public function getSkAdNetworkAdEventType() - { - return $this->sk_ad_network_ad_event_type; - } - - /** - * iOS Store Kit Ad Network ad event type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142; - * @param int $var - * @return $this - */ - public function setSkAdNetworkAdEventType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkAdEventTypeEnum\SkAdNetworkAdEventType::class); - $this->sk_ad_network_ad_event_type = $var; - - return $this; - } - - /** - * App where the ad that drove the iOS Store Kit Ad Network install was - * shown. Null value means this segment is not applicable, for example, - * non-iOS campaign, or was not present in any postbacks sent by Apple. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143; - * @return \Google\Ads\GoogleAds\V15\Common\SkAdNetworkSourceApp|null - */ - public function getSkAdNetworkSourceApp() - { - return $this->sk_ad_network_source_app; - } - - public function hasSkAdNetworkSourceApp() - { - return isset($this->sk_ad_network_source_app); - } - - public function clearSkAdNetworkSourceApp() - { - unset($this->sk_ad_network_source_app); - } - - /** - * App where the ad that drove the iOS Store Kit Ad Network install was - * shown. Null value means this segment is not applicable, for example, - * non-iOS campaign, or was not present in any postbacks sent by Apple. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.SkAdNetworkSourceApp sk_ad_network_source_app = 143; - * @param \Google\Ads\GoogleAds\V15\Common\SkAdNetworkSourceApp $var - * @return $this - */ - public function setSkAdNetworkSourceApp($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\SkAdNetworkSourceApp::class); - $this->sk_ad_network_source_app = $var; - - return $this; - } - - /** - * iOS Store Kit Ad Network attribution credit - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144; - * @return int - */ - public function getSkAdNetworkAttributionCredit() - { - return $this->sk_ad_network_attribution_credit; - } - - /** - * iOS Store Kit Ad Network attribution credit - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144; - * @param int $var - * @return $this - */ - public function setSkAdNetworkAttributionCredit($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkAttributionCreditEnum\SkAdNetworkAttributionCredit::class); - $this->sk_ad_network_attribution_credit = $var; - - return $this; - } - - /** - * iOS Store Kit Ad Network coarse conversion value. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151; - * @return int - */ - public function getSkAdNetworkCoarseConversionValue() - { - return $this->sk_ad_network_coarse_conversion_value; - } - - /** - * iOS Store Kit Ad Network coarse conversion value. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue sk_ad_network_coarse_conversion_value = 151; - * @param int $var - * @return $this - */ - public function setSkAdNetworkCoarseConversionValue($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkCoarseConversionValueEnum\SkAdNetworkCoarseConversionValue::class); - $this->sk_ad_network_coarse_conversion_value = $var; - - return $this; - } - - /** - * Website where the ad that drove the iOS Store Kit Ad Network install was - * shown. Null value means this segment is not applicable, for example, - * non-iOS campaign, or was not present in any postbacks sent by Apple. - * - * Generated from protobuf field optional string sk_ad_network_source_domain = 152; - * @return string - */ - public function getSkAdNetworkSourceDomain() - { - return isset($this->sk_ad_network_source_domain) ? $this->sk_ad_network_source_domain : ''; - } - - public function hasSkAdNetworkSourceDomain() - { - return isset($this->sk_ad_network_source_domain); - } - - public function clearSkAdNetworkSourceDomain() - { - unset($this->sk_ad_network_source_domain); - } - - /** - * Website where the ad that drove the iOS Store Kit Ad Network install was - * shown. Null value means this segment is not applicable, for example, - * non-iOS campaign, or was not present in any postbacks sent by Apple. - * - * Generated from protobuf field optional string sk_ad_network_source_domain = 152; - * @param string $var - * @return $this - */ - public function setSkAdNetworkSourceDomain($var) - { - GPBUtil::checkString($var, True); - $this->sk_ad_network_source_domain = $var; - - return $this; - } - - /** - * The source type where the ad that drove the iOS Store Kit Ad Network - * install was shown. Null value means this segment is not applicable, for - * example, non-iOS campaign, or neither source domain nor source app were - * present in any postbacks sent by Apple. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153; - * @return int - */ - public function getSkAdNetworkSourceType() - { - return $this->sk_ad_network_source_type; - } - - /** - * The source type where the ad that drove the iOS Store Kit Ad Network - * install was shown. Null value means this segment is not applicable, for - * example, non-iOS campaign, or neither source domain nor source app were - * present in any postbacks sent by Apple. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType sk_ad_network_source_type = 153; - * @param int $var - * @return $this - */ - public function setSkAdNetworkSourceType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkSourceTypeEnum\SkAdNetworkSourceType::class); - $this->sk_ad_network_source_type = $var; - - return $this; - } - - /** - * iOS Store Kit Ad Network postback sequence index. - * - * Generated from protobuf field optional int64 sk_ad_network_postback_sequence_index = 154; - * @return int|string - */ - public function getSkAdNetworkPostbackSequenceIndex() - { - return isset($this->sk_ad_network_postback_sequence_index) ? $this->sk_ad_network_postback_sequence_index : 0; - } - - public function hasSkAdNetworkPostbackSequenceIndex() - { - return isset($this->sk_ad_network_postback_sequence_index); - } - - public function clearSkAdNetworkPostbackSequenceIndex() - { - unset($this->sk_ad_network_postback_sequence_index); - } - - /** - * iOS Store Kit Ad Network postback sequence index. - * - * Generated from protobuf field optional int64 sk_ad_network_postback_sequence_index = 154; - * @param int|string $var - * @return $this - */ - public function setSkAdNetworkPostbackSequenceIndex($var) - { - GPBUtil::checkInt64($var); - $this->sk_ad_network_postback_sequence_index = $var; - - return $this; - } - - /** - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself - * or a different asset or ad unit. - * Interactions (for example, clicks) are counted across all the parts of the - * served ad (for example, Ad itself and other components like Sitelinks) when - * they are served together. When interaction_on_this_asset is true, it means - * the interactions are on this specific asset and when - * interaction_on_this_asset is false, it means the interactions is not on - * this specific asset but on other parts of the served ad this asset is - * served with. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.AssetInteractionTarget asset_interaction_target = 139; - * @return \Google\Ads\GoogleAds\V15\Common\AssetInteractionTarget|null - */ - public function getAssetInteractionTarget() - { - return $this->asset_interaction_target; - } - - public function hasAssetInteractionTarget() - { - return isset($this->asset_interaction_target); - } - - public function clearAssetInteractionTarget() - { - unset($this->asset_interaction_target); - } - - /** - * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - * Indicates whether the interaction metrics occurred on the asset itself - * or a different asset or ad unit. - * Interactions (for example, clicks) are counted across all the parts of the - * served ad (for example, Ad itself and other components like Sitelinks) when - * they are served together. When interaction_on_this_asset is true, it means - * the interactions are on this specific asset and when - * interaction_on_this_asset is false, it means the interactions is not on - * this specific asset but on other parts of the served ad this asset is - * served with. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.AssetInteractionTarget asset_interaction_target = 139; - * @param \Google\Ads\GoogleAds\V15\Common\AssetInteractionTarget $var - * @return $this - */ - public function setAssetInteractionTarget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AssetInteractionTarget::class); - $this->asset_interaction_target = $var; - - return $this; - } - - /** - * This is for segmenting conversions by whether the user is a new customer - * or a returning customer. This segmentation is typically used to measure - * the impact of customer acquisition goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160; - * @return int - */ - public function getNewVersusReturningCustomers() - { - return $this->new_versus_returning_customers; - } - - /** - * This is for segmenting conversions by whether the user is a new customer - * or a returning customer. This segmentation is typically used to measure - * the impact of customer acquisition goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket new_versus_returning_customers = 160; - * @param int $var - * @return $this - */ - public function setNewVersusReturningCustomers($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConvertingUserPriorEngagementTypeAndLtvBucketEnum\ConvertingUserPriorEngagementTypeAndLtvBucket::class); - $this->new_versus_returning_customers = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ShoppingComparisonListingAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ShoppingComparisonListingAdInfo.php deleted file mode 100644 index 19f8247cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ShoppingComparisonListingAdInfo.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.common.ShoppingComparisonListingAdInfo - */ -class ShoppingComparisonListingAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Headline of the ad. This field is required. Allowed length is between 25 - * and 45 characters. - * - * Generated from protobuf field optional string headline = 2; - */ - protected $headline = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $headline - * Headline of the ad. This field is required. Allowed length is between 25 - * and 45 characters. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Headline of the ad. This field is required. Allowed length is between 25 - * and 45 characters. - * - * Generated from protobuf field optional string headline = 2; - * @return string - */ - public function getHeadline() - { - return isset($this->headline) ? $this->headline : ''; - } - - public function hasHeadline() - { - return isset($this->headline); - } - - public function clearHeadline() - { - unset($this->headline); - } - - /** - * Headline of the ad. This field is required. Allowed length is between 25 - * and 45 characters. - * - * Generated from protobuf field optional string headline = 2; - * @param string $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkString($var, True); - $this->headline = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ShoppingLoyalty.php b/src/Google/Ads/GoogleAds/V15/Common/ShoppingLoyalty.php deleted file mode 100644 index 44d70cd71..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ShoppingLoyalty.php +++ /dev/null @@ -1,87 +0,0 @@ -google.ads.googleads.v15.common.ShoppingLoyalty - */ -class ShoppingLoyalty extends \Google\Protobuf\Internal\Message -{ - /** - * The membership tier. It is a free-form string as each merchant may have - * their own loyalty system. For example, it could be a number from 1 to 10, - * or a string such as "Golden" or "Silver", or even empty string "". - * - * Generated from protobuf field optional string loyalty_tier = 1; - */ - protected $loyalty_tier = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $loyalty_tier - * The membership tier. It is a free-form string as each merchant may have - * their own loyalty system. For example, it could be a number from 1 to 10, - * or a string such as "Golden" or "Silver", or even empty string "". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * The membership tier. It is a free-form string as each merchant may have - * their own loyalty system. For example, it could be a number from 1 to 10, - * or a string such as "Golden" or "Silver", or even empty string "". - * - * Generated from protobuf field optional string loyalty_tier = 1; - * @return string - */ - public function getLoyaltyTier() - { - return isset($this->loyalty_tier) ? $this->loyalty_tier : ''; - } - - public function hasLoyaltyTier() - { - return isset($this->loyalty_tier); - } - - public function clearLoyaltyTier() - { - unset($this->loyalty_tier); - } - - /** - * The membership tier. It is a free-form string as each merchant may have - * their own loyalty system. For example, it could be a number from 1 to 10, - * or a string such as "Golden" or "Silver", or even empty string "". - * - * Generated from protobuf field optional string loyalty_tier = 1; - * @param string $var - * @return $this - */ - public function setLoyaltyTier($var) - { - GPBUtil::checkString($var, True); - $this->loyalty_tier = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ShoppingProductAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ShoppingProductAdInfo.php deleted file mode 100644 index 3164d52fb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ShoppingProductAdInfo.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.common.ShoppingProductAdInfo - */ -class ShoppingProductAdInfo extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/ShoppingSmartAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/ShoppingSmartAdInfo.php deleted file mode 100644 index 2102ddfd6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/ShoppingSmartAdInfo.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.common.ShoppingSmartAdInfo - */ -class ShoppingSmartAdInfo extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/SimilarUserListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/SimilarUserListInfo.php deleted file mode 100644 index c257a0fcb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/SimilarUserListInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.SimilarUserListInfo - */ -class SimilarUserListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Seed UserList from which this list is derived. - * - * Generated from protobuf field optional string seed_user_list = 2; - */ - protected $seed_user_list = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $seed_user_list - * Seed UserList from which this list is derived. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Seed UserList from which this list is derived. - * - * Generated from protobuf field optional string seed_user_list = 2; - * @return string - */ - public function getSeedUserList() - { - return isset($this->seed_user_list) ? $this->seed_user_list : ''; - } - - public function hasSeedUserList() - { - return isset($this->seed_user_list); - } - - public function clearSeedUserList() - { - unset($this->seed_user_list); - } - - /** - * Seed UserList from which this list is derived. - * - * Generated from protobuf field optional string seed_user_list = 2; - * @param string $var - * @return $this - */ - public function setSeedUserList($var) - { - GPBUtil::checkString($var, True); - $this->seed_user_list = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/SitelinkAsset.php b/src/Google/Ads/GoogleAds/V15/Common/SitelinkAsset.php deleted file mode 100644 index 555aeb84e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/SitelinkAsset.php +++ /dev/null @@ -1,273 +0,0 @@ -google.ads.googleads.v15.common.SitelinkAsset - */ -class SitelinkAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. URL display text for the sitelink. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $link_text = ''; - /** - * First line of the description for the sitelink. - * If set, the length should be between 1 and 35, inclusive, and description2 - * must also be set. - * - * Generated from protobuf field string description1 = 2; - */ - protected $description1 = ''; - /** - * Second line of the description for the sitelink. - * If set, the length should be between 1 and 35, inclusive, and description1 - * must also be set. - * - * Generated from protobuf field string description2 = 3; - */ - protected $description2 = ''; - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 4; - */ - protected $start_date = ''; - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 5; - */ - protected $end_date = ''; - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 6; - */ - private $ad_schedule_targets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $link_text - * Required. URL display text for the sitelink. - * The length of this string should be between 1 and 25, inclusive. - * @type string $description1 - * First line of the description for the sitelink. - * If set, the length should be between 1 and 35, inclusive, and description2 - * must also be set. - * @type string $description2 - * Second line of the description for the sitelink. - * If set, the length should be between 1 and 35, inclusive, and description1 - * must also be set. - * @type string $start_date - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * @type string $end_date - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $ad_schedule_targets - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. URL display text for the sitelink. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getLinkText() - { - return $this->link_text; - } - - /** - * Required. URL display text for the sitelink. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field string link_text = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setLinkText($var) - { - GPBUtil::checkString($var, True); - $this->link_text = $var; - - return $this; - } - - /** - * First line of the description for the sitelink. - * If set, the length should be between 1 and 35, inclusive, and description2 - * must also be set. - * - * Generated from protobuf field string description1 = 2; - * @return string - */ - public function getDescription1() - { - return $this->description1; - } - - /** - * First line of the description for the sitelink. - * If set, the length should be between 1 and 35, inclusive, and description2 - * must also be set. - * - * Generated from protobuf field string description1 = 2; - * @param string $var - * @return $this - */ - public function setDescription1($var) - { - GPBUtil::checkString($var, True); - $this->description1 = $var; - - return $this; - } - - /** - * Second line of the description for the sitelink. - * If set, the length should be between 1 and 35, inclusive, and description1 - * must also be set. - * - * Generated from protobuf field string description2 = 3; - * @return string - */ - public function getDescription2() - { - return $this->description2; - } - - /** - * Second line of the description for the sitelink. - * If set, the length should be between 1 and 35, inclusive, and description1 - * must also be set. - * - * Generated from protobuf field string description2 = 3; - * @param string $var - * @return $this - */ - public function setDescription2($var) - { - GPBUtil::checkString($var, True); - $this->description2 = $var; - - return $this; - } - - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 4; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * Start date of when this asset is effective and can begin serving, in - * yyyy-MM-dd format. - * - * Generated from protobuf field string start_date = 4; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 5; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * Last date of when this asset is effective and still serving, in yyyy-MM-dd - * format. - * - * Generated from protobuf field string end_date = 5; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdScheduleTargets() - { - return $this->ad_schedule_targets; - } - - /** - * List of non-overlapping schedules specifying all time intervals for which - * the asset may serve. There can be a maximum of 6 schedules per day, 42 in - * total. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule_targets = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdScheduleTargets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo::class); - $this->ad_schedule_targets = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/SitelinkFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/SitelinkFeedItem.php deleted file mode 100644 index c53c99177..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/SitelinkFeedItem.php +++ /dev/null @@ -1,383 +0,0 @@ -google.ads.googleads.v15.common.SitelinkFeedItem - */ -class SitelinkFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * URL display text for the sitelink. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string link_text = 9; - */ - protected $link_text = null; - /** - * First line of the description for the sitelink. - * If this value is set, line2 must also be set. - * The length of this string should be between 0 and 35, inclusive. - * - * Generated from protobuf field optional string line1 = 10; - */ - protected $line1 = null; - /** - * Second line of the description for the sitelink. - * If this value is set, line1 must also be set. - * The length of this string should be between 0 and 35, inclusive. - * - * Generated from protobuf field optional string line2 = 11; - */ - protected $line2 = null; - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 12; - */ - private $final_urls; - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 13; - */ - private $final_mobile_urls; - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 14; - */ - protected $tracking_url_template = null; - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 7; - */ - private $url_custom_parameters; - /** - * Final URL suffix to be appended to landing page URLs served with - * parallel tracking. - * - * Generated from protobuf field optional string final_url_suffix = 15; - */ - protected $final_url_suffix = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $link_text - * URL display text for the sitelink. - * The length of this string should be between 1 and 25, inclusive. - * @type string $line1 - * First line of the description for the sitelink. - * If this value is set, line2 must also be set. - * The length of this string should be between 0 and 35, inclusive. - * @type string $line2 - * Second line of the description for the sitelink. - * If this value is set, line1 must also be set. - * The length of this string should be between 0 and 35, inclusive. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * A list of possible final URLs after all cross domain redirects. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * A list of possible final mobile URLs after all cross domain redirects. - * @type string $tracking_url_template - * URL template for constructing a tracking URL. - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * @type string $final_url_suffix - * Final URL suffix to be appended to landing page URLs served with - * parallel tracking. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * URL display text for the sitelink. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string link_text = 9; - * @return string - */ - public function getLinkText() - { - return isset($this->link_text) ? $this->link_text : ''; - } - - public function hasLinkText() - { - return isset($this->link_text); - } - - public function clearLinkText() - { - unset($this->link_text); - } - - /** - * URL display text for the sitelink. - * The length of this string should be between 1 and 25, inclusive. - * - * Generated from protobuf field optional string link_text = 9; - * @param string $var - * @return $this - */ - public function setLinkText($var) - { - GPBUtil::checkString($var, True); - $this->link_text = $var; - - return $this; - } - - /** - * First line of the description for the sitelink. - * If this value is set, line2 must also be set. - * The length of this string should be between 0 and 35, inclusive. - * - * Generated from protobuf field optional string line1 = 10; - * @return string - */ - public function getLine1() - { - return isset($this->line1) ? $this->line1 : ''; - } - - public function hasLine1() - { - return isset($this->line1); - } - - public function clearLine1() - { - unset($this->line1); - } - - /** - * First line of the description for the sitelink. - * If this value is set, line2 must also be set. - * The length of this string should be between 0 and 35, inclusive. - * - * Generated from protobuf field optional string line1 = 10; - * @param string $var - * @return $this - */ - public function setLine1($var) - { - GPBUtil::checkString($var, True); - $this->line1 = $var; - - return $this; - } - - /** - * Second line of the description for the sitelink. - * If this value is set, line1 must also be set. - * The length of this string should be between 0 and 35, inclusive. - * - * Generated from protobuf field optional string line2 = 11; - * @return string - */ - public function getLine2() - { - return isset($this->line2) ? $this->line2 : ''; - } - - public function hasLine2() - { - return isset($this->line2); - } - - public function clearLine2() - { - unset($this->line2); - } - - /** - * Second line of the description for the sitelink. - * If this value is set, line1 must also be set. - * The length of this string should be between 0 and 35, inclusive. - * - * Generated from protobuf field optional string line2 = 11; - * @param string $var - * @return $this - */ - public function setLine2($var) - { - GPBUtil::checkString($var, True); - $this->line2 = $var; - - return $this; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 12; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 12; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 13; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 13; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 14; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 14; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 7; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * Final URL suffix to be appended to landing page URLs served with - * parallel tracking. - * - * Generated from protobuf field optional string final_url_suffix = 15; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * Final URL suffix to be appended to landing page URLs served with - * parallel tracking. - * - * Generated from protobuf field optional string final_url_suffix = 15; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/SkAdNetworkSourceApp.php b/src/Google/Ads/GoogleAds/V15/Common/SkAdNetworkSourceApp.php deleted file mode 100644 index 66ebd0104..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/SkAdNetworkSourceApp.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.common.SkAdNetworkSourceApp - */ -class SkAdNetworkSourceApp extends \Google\Protobuf\Internal\Message -{ - /** - * App id where the ad that drove the iOS Store Kit Ad Network install was - * shown. - * - * Generated from protobuf field optional string sk_ad_network_source_app_id = 1; - */ - protected $sk_ad_network_source_app_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $sk_ad_network_source_app_id - * App id where the ad that drove the iOS Store Kit Ad Network install was - * shown. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Segments::initOnce(); - parent::__construct($data); - } - - /** - * App id where the ad that drove the iOS Store Kit Ad Network install was - * shown. - * - * Generated from protobuf field optional string sk_ad_network_source_app_id = 1; - * @return string - */ - public function getSkAdNetworkSourceAppId() - { - return isset($this->sk_ad_network_source_app_id) ? $this->sk_ad_network_source_app_id : ''; - } - - public function hasSkAdNetworkSourceAppId() - { - return isset($this->sk_ad_network_source_app_id); - } - - public function clearSkAdNetworkSourceAppId() - { - unset($this->sk_ad_network_source_app_id); - } - - /** - * App id where the ad that drove the iOS Store Kit Ad Network install was - * shown. - * - * Generated from protobuf field optional string sk_ad_network_source_app_id = 1; - * @param string $var - * @return $this - */ - public function setSkAdNetworkSourceAppId($var) - { - GPBUtil::checkString($var, True); - $this->sk_ad_network_source_app_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/SmartCampaignAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/SmartCampaignAdInfo.php deleted file mode 100644 index 31b69db4d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/SmartCampaignAdInfo.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.common.SmartCampaignAdInfo - */ -class SmartCampaignAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * List of text assets, each of which corresponds to a headline when the ad - * serves. This list consists of a minimum of 3 and up to 15 text assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - */ - private $headlines; - /** - * List of text assets, each of which corresponds to a description when the ad - * serves. This list consists of a minimum of 2 and up to 4 text assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - */ - private $descriptions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * List of text assets, each of which corresponds to a headline when the ad - * serves. This list consists of a minimum of 3 and up to 15 text assets. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * List of text assets, each of which corresponds to a description when the ad - * serves. This list consists of a minimum of 2 and up to 4 text assets. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * List of text assets, each of which corresponds to a headline when the ad - * serves. This list consists of a minimum of 3 and up to 15 text assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * List of text assets, each of which corresponds to a headline when the ad - * serves. This list consists of a minimum of 3 and up to 15 text assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * List of text assets, each of which corresponds to a description when the ad - * serves. This list consists of a minimum of 2 and up to 4 text assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * List of text assets, each of which corresponds to a description when the ad - * serves. This list consists of a minimum of 2 and up to 4 text assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/StoreAttribute.php b/src/Google/Ads/GoogleAds/V15/Common/StoreAttribute.php deleted file mode 100644 index f0fd318f7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/StoreAttribute.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.common.StoreAttribute - */ -class StoreAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * Store code from - * https://support.google.com/business/answer/3370250#storecode - * - * Generated from protobuf field optional string store_code = 2; - */ - protected $store_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $store_code - * Store code from - * https://support.google.com/business/answer/3370250#storecode - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * Store code from - * https://support.google.com/business/answer/3370250#storecode - * - * Generated from protobuf field optional string store_code = 2; - * @return string - */ - public function getStoreCode() - { - return isset($this->store_code) ? $this->store_code : ''; - } - - public function hasStoreCode() - { - return isset($this->store_code); - } - - public function clearStoreCode() - { - unset($this->store_code); - } - - /** - * Store code from - * https://support.google.com/business/answer/3370250#storecode - * - * Generated from protobuf field optional string store_code = 2; - * @param string $var - * @return $this - */ - public function setStoreCode($var) - { - GPBUtil::checkString($var, True); - $this->store_code = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/StoreSalesMetadata.php b/src/Google/Ads/GoogleAds/V15/Common/StoreSalesMetadata.php deleted file mode 100644 index 32750a95f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/StoreSalesMetadata.php +++ /dev/null @@ -1,245 +0,0 @@ -google.ads.googleads.v15.common.StoreSalesMetadata - */ -class StoreSalesMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * This is the fraction of all transactions that are identifiable (for - * example, associated with any form of customer information). Required. The - * fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double loyalty_fraction = 5; - */ - protected $loyalty_fraction = null; - /** - * This is the ratio of sales being uploaded compared to the overall sales - * that can be associated with a customer. Required. - * The fraction needs to be between 0 and 1 (excluding 0). For example, if you - * upload half the sales that you are able to associate with a customer, this - * would be 0.5. - * - * Generated from protobuf field optional double transaction_upload_fraction = 6; - */ - protected $transaction_upload_fraction = null; - /** - * Name of the store sales custom variable key. A predefined key that - * can be applied to the transaction and then later used for custom - * segmentation in reporting. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string custom_key = 7; - */ - protected $custom_key = null; - /** - * Metadata for a third party Store Sales upload. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StoreSalesThirdPartyMetadata third_party_metadata = 3; - */ - protected $third_party_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $loyalty_fraction - * This is the fraction of all transactions that are identifiable (for - * example, associated with any form of customer information). Required. The - * fraction needs to be between 0 and 1 (excluding 0). - * @type float $transaction_upload_fraction - * This is the ratio of sales being uploaded compared to the overall sales - * that can be associated with a customer. Required. - * The fraction needs to be between 0 and 1 (excluding 0). For example, if you - * upload half the sales that you are able to associate with a customer, this - * would be 0.5. - * @type string $custom_key - * Name of the store sales custom variable key. A predefined key that - * can be applied to the transaction and then later used for custom - * segmentation in reporting. - * Accessible only to customers on the allow-list. - * @type \Google\Ads\GoogleAds\V15\Common\StoreSalesThirdPartyMetadata $third_party_metadata - * Metadata for a third party Store Sales upload. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * This is the fraction of all transactions that are identifiable (for - * example, associated with any form of customer information). Required. The - * fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double loyalty_fraction = 5; - * @return float - */ - public function getLoyaltyFraction() - { - return isset($this->loyalty_fraction) ? $this->loyalty_fraction : 0.0; - } - - public function hasLoyaltyFraction() - { - return isset($this->loyalty_fraction); - } - - public function clearLoyaltyFraction() - { - unset($this->loyalty_fraction); - } - - /** - * This is the fraction of all transactions that are identifiable (for - * example, associated with any form of customer information). Required. The - * fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double loyalty_fraction = 5; - * @param float $var - * @return $this - */ - public function setLoyaltyFraction($var) - { - GPBUtil::checkDouble($var); - $this->loyalty_fraction = $var; - - return $this; - } - - /** - * This is the ratio of sales being uploaded compared to the overall sales - * that can be associated with a customer. Required. - * The fraction needs to be between 0 and 1 (excluding 0). For example, if you - * upload half the sales that you are able to associate with a customer, this - * would be 0.5. - * - * Generated from protobuf field optional double transaction_upload_fraction = 6; - * @return float - */ - public function getTransactionUploadFraction() - { - return isset($this->transaction_upload_fraction) ? $this->transaction_upload_fraction : 0.0; - } - - public function hasTransactionUploadFraction() - { - return isset($this->transaction_upload_fraction); - } - - public function clearTransactionUploadFraction() - { - unset($this->transaction_upload_fraction); - } - - /** - * This is the ratio of sales being uploaded compared to the overall sales - * that can be associated with a customer. Required. - * The fraction needs to be between 0 and 1 (excluding 0). For example, if you - * upload half the sales that you are able to associate with a customer, this - * would be 0.5. - * - * Generated from protobuf field optional double transaction_upload_fraction = 6; - * @param float $var - * @return $this - */ - public function setTransactionUploadFraction($var) - { - GPBUtil::checkDouble($var); - $this->transaction_upload_fraction = $var; - - return $this; - } - - /** - * Name of the store sales custom variable key. A predefined key that - * can be applied to the transaction and then later used for custom - * segmentation in reporting. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string custom_key = 7; - * @return string - */ - public function getCustomKey() - { - return isset($this->custom_key) ? $this->custom_key : ''; - } - - public function hasCustomKey() - { - return isset($this->custom_key); - } - - public function clearCustomKey() - { - unset($this->custom_key); - } - - /** - * Name of the store sales custom variable key. A predefined key that - * can be applied to the transaction and then later used for custom - * segmentation in reporting. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string custom_key = 7; - * @param string $var - * @return $this - */ - public function setCustomKey($var) - { - GPBUtil::checkString($var, True); - $this->custom_key = $var; - - return $this; - } - - /** - * Metadata for a third party Store Sales upload. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StoreSalesThirdPartyMetadata third_party_metadata = 3; - * @return \Google\Ads\GoogleAds\V15\Common\StoreSalesThirdPartyMetadata|null - */ - public function getThirdPartyMetadata() - { - return $this->third_party_metadata; - } - - public function hasThirdPartyMetadata() - { - return isset($this->third_party_metadata); - } - - public function clearThirdPartyMetadata() - { - unset($this->third_party_metadata); - } - - /** - * Metadata for a third party Store Sales upload. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StoreSalesThirdPartyMetadata third_party_metadata = 3; - * @param \Google\Ads\GoogleAds\V15\Common\StoreSalesThirdPartyMetadata $var - * @return $this - */ - public function setThirdPartyMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\StoreSalesThirdPartyMetadata::class); - $this->third_party_metadata = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/StoreSalesThirdPartyMetadata.php b/src/Google/Ads/GoogleAds/V15/Common/StoreSalesThirdPartyMetadata.php deleted file mode 100644 index 602266971..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/StoreSalesThirdPartyMetadata.php +++ /dev/null @@ -1,344 +0,0 @@ -google.ads.googleads.v15.common.StoreSalesThirdPartyMetadata - */ -class StoreSalesThirdPartyMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Time the advertiser uploaded the data to the partner. Required. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string advertiser_upload_date_time = 7; - */ - protected $advertiser_upload_date_time = null; - /** - * The fraction of transactions that are valid. Invalid transactions may - * include invalid formats or values. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double valid_transaction_fraction = 8; - */ - protected $valid_transaction_fraction = null; - /** - * The fraction of valid transactions that are matched to a third party - * assigned user ID on the partner side. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double partner_match_fraction = 9; - */ - protected $partner_match_fraction = null; - /** - * The fraction of valid transactions that are uploaded by the partner to - * Google. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double partner_upload_fraction = 10; - */ - protected $partner_upload_fraction = null; - /** - * Version of partner IDs to be used for uploads. Required. - * - * Generated from protobuf field optional string bridge_map_version_id = 11; - */ - protected $bridge_map_version_id = null; - /** - * ID of the third party partner updating the transaction feed. - * - * Generated from protobuf field optional int64 partner_id = 12; - */ - protected $partner_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $advertiser_upload_date_time - * Time the advertiser uploaded the data to the partner. Required. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type float $valid_transaction_fraction - * The fraction of transactions that are valid. Invalid transactions may - * include invalid formats or values. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * @type float $partner_match_fraction - * The fraction of valid transactions that are matched to a third party - * assigned user ID on the partner side. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * @type float $partner_upload_fraction - * The fraction of valid transactions that are uploaded by the partner to - * Google. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * @type string $bridge_map_version_id - * Version of partner IDs to be used for uploads. Required. - * @type int|string $partner_id - * ID of the third party partner updating the transaction feed. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * Time the advertiser uploaded the data to the partner. Required. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string advertiser_upload_date_time = 7; - * @return string - */ - public function getAdvertiserUploadDateTime() - { - return isset($this->advertiser_upload_date_time) ? $this->advertiser_upload_date_time : ''; - } - - public function hasAdvertiserUploadDateTime() - { - return isset($this->advertiser_upload_date_time); - } - - public function clearAdvertiserUploadDateTime() - { - unset($this->advertiser_upload_date_time); - } - - /** - * Time the advertiser uploaded the data to the partner. Required. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string advertiser_upload_date_time = 7; - * @param string $var - * @return $this - */ - public function setAdvertiserUploadDateTime($var) - { - GPBUtil::checkString($var, True); - $this->advertiser_upload_date_time = $var; - - return $this; - } - - /** - * The fraction of transactions that are valid. Invalid transactions may - * include invalid formats or values. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double valid_transaction_fraction = 8; - * @return float - */ - public function getValidTransactionFraction() - { - return isset($this->valid_transaction_fraction) ? $this->valid_transaction_fraction : 0.0; - } - - public function hasValidTransactionFraction() - { - return isset($this->valid_transaction_fraction); - } - - public function clearValidTransactionFraction() - { - unset($this->valid_transaction_fraction); - } - - /** - * The fraction of transactions that are valid. Invalid transactions may - * include invalid formats or values. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double valid_transaction_fraction = 8; - * @param float $var - * @return $this - */ - public function setValidTransactionFraction($var) - { - GPBUtil::checkDouble($var); - $this->valid_transaction_fraction = $var; - - return $this; - } - - /** - * The fraction of valid transactions that are matched to a third party - * assigned user ID on the partner side. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double partner_match_fraction = 9; - * @return float - */ - public function getPartnerMatchFraction() - { - return isset($this->partner_match_fraction) ? $this->partner_match_fraction : 0.0; - } - - public function hasPartnerMatchFraction() - { - return isset($this->partner_match_fraction); - } - - public function clearPartnerMatchFraction() - { - unset($this->partner_match_fraction); - } - - /** - * The fraction of valid transactions that are matched to a third party - * assigned user ID on the partner side. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double partner_match_fraction = 9; - * @param float $var - * @return $this - */ - public function setPartnerMatchFraction($var) - { - GPBUtil::checkDouble($var); - $this->partner_match_fraction = $var; - - return $this; - } - - /** - * The fraction of valid transactions that are uploaded by the partner to - * Google. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double partner_upload_fraction = 10; - * @return float - */ - public function getPartnerUploadFraction() - { - return isset($this->partner_upload_fraction) ? $this->partner_upload_fraction : 0.0; - } - - public function hasPartnerUploadFraction() - { - return isset($this->partner_upload_fraction); - } - - public function clearPartnerUploadFraction() - { - unset($this->partner_upload_fraction); - } - - /** - * The fraction of valid transactions that are uploaded by the partner to - * Google. - * Required. - * The fraction needs to be between 0 and 1 (excluding 0). - * - * Generated from protobuf field optional double partner_upload_fraction = 10; - * @param float $var - * @return $this - */ - public function setPartnerUploadFraction($var) - { - GPBUtil::checkDouble($var); - $this->partner_upload_fraction = $var; - - return $this; - } - - /** - * Version of partner IDs to be used for uploads. Required. - * - * Generated from protobuf field optional string bridge_map_version_id = 11; - * @return string - */ - public function getBridgeMapVersionId() - { - return isset($this->bridge_map_version_id) ? $this->bridge_map_version_id : ''; - } - - public function hasBridgeMapVersionId() - { - return isset($this->bridge_map_version_id); - } - - public function clearBridgeMapVersionId() - { - unset($this->bridge_map_version_id); - } - - /** - * Version of partner IDs to be used for uploads. Required. - * - * Generated from protobuf field optional string bridge_map_version_id = 11; - * @param string $var - * @return $this - */ - public function setBridgeMapVersionId($var) - { - GPBUtil::checkString($var, True); - $this->bridge_map_version_id = $var; - - return $this; - } - - /** - * ID of the third party partner updating the transaction feed. - * - * Generated from protobuf field optional int64 partner_id = 12; - * @return int|string - */ - public function getPartnerId() - { - return isset($this->partner_id) ? $this->partner_id : 0; - } - - public function hasPartnerId() - { - return isset($this->partner_id); - } - - public function clearPartnerId() - { - unset($this->partner_id); - } - - /** - * ID of the third party partner updating the transaction feed. - * - * Generated from protobuf field optional int64 partner_id = 12; - * @param int|string $var - * @return $this - */ - public function setPartnerId($var) - { - GPBUtil::checkInt64($var); - $this->partner_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/StructuredSnippetAsset.php b/src/Google/Ads/GoogleAds/V15/Common/StructuredSnippetAsset.php deleted file mode 100644 index 0e0c85d33..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/StructuredSnippetAsset.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.common.StructuredSnippetAsset - */ -class StructuredSnippetAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The header of the snippet. - * This string should be one of the predefined values at - * https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - * - * Generated from protobuf field string header = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $header = ''; - /** - * Required. The values in the snippet. - * The size of this collection should be between 3 and 10, inclusive. - * The length of each value should be between 1 and 25 characters, inclusive. - * - * Generated from protobuf field repeated string values = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $header - * Required. The header of the snippet. - * This string should be one of the predefined values at - * https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - * @type array|\Google\Protobuf\Internal\RepeatedField $values - * Required. The values in the snippet. - * The size of this collection should be between 3 and 10, inclusive. - * The length of each value should be between 1 and 25 characters, inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Required. The header of the snippet. - * This string should be one of the predefined values at - * https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - * - * Generated from protobuf field string header = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getHeader() - { - return $this->header; - } - - /** - * Required. The header of the snippet. - * This string should be one of the predefined values at - * https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - * - * Generated from protobuf field string header = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setHeader($var) - { - GPBUtil::checkString($var, True); - $this->header = $var; - - return $this; - } - - /** - * Required. The values in the snippet. - * The size of this collection should be between 3 and 10, inclusive. - * The length of each value should be between 1 and 25 characters, inclusive. - * - * Generated from protobuf field repeated string values = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * Required. The values in the snippet. - * The size of this collection should be between 3 and 10, inclusive. - * The length of each value should be between 1 and 25 characters, inclusive. - * - * Generated from protobuf field repeated string values = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->values = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/StructuredSnippetFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/StructuredSnippetFeedItem.php deleted file mode 100644 index 4cab82da6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/StructuredSnippetFeedItem.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.common.StructuredSnippetFeedItem - */ -class StructuredSnippetFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The header of the snippet. - * This string must not be empty. - * - * Generated from protobuf field optional string header = 3; - */ - protected $header = null; - /** - * The values in the snippet. - * The maximum size of this collection is 10. - * - * Generated from protobuf field repeated string values = 4; - */ - private $values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $header - * The header of the snippet. - * This string must not be empty. - * @type array|\Google\Protobuf\Internal\RepeatedField $values - * The values in the snippet. - * The maximum size of this collection is 10. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * The header of the snippet. - * This string must not be empty. - * - * Generated from protobuf field optional string header = 3; - * @return string - */ - public function getHeader() - { - return isset($this->header) ? $this->header : ''; - } - - public function hasHeader() - { - return isset($this->header); - } - - public function clearHeader() - { - unset($this->header); - } - - /** - * The header of the snippet. - * This string must not be empty. - * - * Generated from protobuf field optional string header = 3; - * @param string $var - * @return $this - */ - public function setHeader($var) - { - GPBUtil::checkString($var, True); - $this->header = $var; - - return $this; - } - - /** - * The values in the snippet. - * The maximum size of this collection is 10. - * - * Generated from protobuf field repeated string values = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * The values in the snippet. - * The maximum size of this collection is 10. - * - * Generated from protobuf field repeated string values = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->values = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TagSnippet.php b/src/Google/Ads/GoogleAds/V15/Common/TagSnippet.php deleted file mode 100644 index 85737dd7d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TagSnippet.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.common.TagSnippet - */ -class TagSnippet extends \Google\Protobuf\Internal\Message -{ - /** - * The type of the generated tag snippets for tracking conversions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; - */ - protected $type = 0; - /** - * The format of the web page where the tracking tag and snippet will be - * installed, for example, HTML. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2; - */ - protected $page_format = 0; - /** - * The site tag that adds visitors to your basic remarketing lists and sets - * new cookies on your domain. - * - * Generated from protobuf field optional string global_site_tag = 5; - */ - protected $global_site_tag = null; - /** - * The event snippet that works with the site tag to track actions that - * should be counted as conversions. - * - * Generated from protobuf field optional string event_snippet = 6; - */ - protected $event_snippet = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * The type of the generated tag snippets for tracking conversions. - * @type int $page_format - * The format of the web page where the tracking tag and snippet will be - * installed, for example, HTML. - * @type string $global_site_tag - * The site tag that adds visitors to your basic remarketing lists and sets - * new cookies on your domain. - * @type string $event_snippet - * The event snippet that works with the site tag to track actions that - * should be counted as conversions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\TagSnippet::initOnce(); - parent::__construct($data); - } - - /** - * The type of the generated tag snippets for tracking conversions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * The type of the generated tag snippets for tracking conversions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TrackingCodeTypeEnum\TrackingCodeType::class); - $this->type = $var; - - return $this; - } - - /** - * The format of the web page where the tracking tag and snippet will be - * installed, for example, HTML. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2; - * @return int - */ - public function getPageFormat() - { - return $this->page_format; - } - - /** - * The format of the web page where the tracking tag and snippet will be - * installed, for example, HTML. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2; - * @param int $var - * @return $this - */ - public function setPageFormat($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TrackingCodePageFormatEnum\TrackingCodePageFormat::class); - $this->page_format = $var; - - return $this; - } - - /** - * The site tag that adds visitors to your basic remarketing lists and sets - * new cookies on your domain. - * - * Generated from protobuf field optional string global_site_tag = 5; - * @return string - */ - public function getGlobalSiteTag() - { - return isset($this->global_site_tag) ? $this->global_site_tag : ''; - } - - public function hasGlobalSiteTag() - { - return isset($this->global_site_tag); - } - - public function clearGlobalSiteTag() - { - unset($this->global_site_tag); - } - - /** - * The site tag that adds visitors to your basic remarketing lists and sets - * new cookies on your domain. - * - * Generated from protobuf field optional string global_site_tag = 5; - * @param string $var - * @return $this - */ - public function setGlobalSiteTag($var) - { - GPBUtil::checkString($var, True); - $this->global_site_tag = $var; - - return $this; - } - - /** - * The event snippet that works with the site tag to track actions that - * should be counted as conversions. - * - * Generated from protobuf field optional string event_snippet = 6; - * @return string - */ - public function getEventSnippet() - { - return isset($this->event_snippet) ? $this->event_snippet : ''; - } - - public function hasEventSnippet() - { - return isset($this->event_snippet); - } - - public function clearEventSnippet() - { - unset($this->event_snippet); - } - - /** - * The event snippet that works with the site tag to track actions that - * should be counted as conversions. - * - * Generated from protobuf field optional string event_snippet = 6; - * @param string $var - * @return $this - */ - public function setEventSnippet($var) - { - GPBUtil::checkString($var, True); - $this->event_snippet = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetCpa.php b/src/Google/Ads/GoogleAds/V15/Common/TargetCpa.php deleted file mode 100644 index 009ee1d9c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetCpa.php +++ /dev/null @@ -1,190 +0,0 @@ -google.ads.googleads.v15.common.TargetCpa - */ -class TargetCpa extends \Google\Protobuf\Internal\Message -{ - /** - * Average CPA target. - * This target should be greater than or equal to minimum billable unit based - * on the currency for the account. - * - * Generated from protobuf field optional int64 target_cpa_micros = 4; - */ - protected $target_cpa_micros = null; - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - */ - protected $cpc_bid_ceiling_micros = null; - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_floor_micros = 6; - */ - protected $cpc_bid_floor_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $target_cpa_micros - * Average CPA target. - * This target should be greater than or equal to minimum billable unit based - * on the currency for the account. - * @type int|string $cpc_bid_ceiling_micros - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * @type int|string $cpc_bid_floor_micros - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * Average CPA target. - * This target should be greater than or equal to minimum billable unit based - * on the currency for the account. - * - * Generated from protobuf field optional int64 target_cpa_micros = 4; - * @return int|string - */ - public function getTargetCpaMicros() - { - return isset($this->target_cpa_micros) ? $this->target_cpa_micros : 0; - } - - public function hasTargetCpaMicros() - { - return isset($this->target_cpa_micros); - } - - public function clearTargetCpaMicros() - { - unset($this->target_cpa_micros); - } - - /** - * Average CPA target. - * This target should be greater than or equal to minimum billable unit based - * on the currency for the account. - * - * Generated from protobuf field optional int64 target_cpa_micros = 4; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpa_micros = $var; - - return $this; - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros) ? $this->cpc_bid_ceiling_micros : 0; - } - - public function hasCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros); - } - - public function clearCpcBidCeilingMicros() - { - unset($this->cpc_bid_ceiling_micros); - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_floor_micros = 6; - * @return int|string - */ - public function getCpcBidFloorMicros() - { - return isset($this->cpc_bid_floor_micros) ? $this->cpc_bid_floor_micros : 0; - } - - public function hasCpcBidFloorMicros() - { - return isset($this->cpc_bid_floor_micros); - } - - public function clearCpcBidFloorMicros() - { - unset($this->cpc_bid_floor_micros); - } - - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_floor_micros = 6; - * @param int|string $var - * @return $this - */ - public function setCpcBidFloorMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_floor_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetCpaSimulationPoint.php b/src/Google/Ads/GoogleAds/V15/Common/TargetCpaSimulationPoint.php deleted file mode 100644 index aa287f85f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetCpaSimulationPoint.php +++ /dev/null @@ -1,536 +0,0 @@ -google.ads.googleads.v15.common.TargetCpaSimulationPoint - */ -class TargetCpaSimulationPoint extends \Google\Protobuf\Internal\Message -{ - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 19; - */ - protected $required_budget_amount_micros = 0; - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - */ - protected $biddable_conversions = null; - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - */ - protected $biddable_conversions_value = null; - /** - * Projected number of app installs. - * - * Generated from protobuf field double app_installs = 15; - */ - protected $app_installs = 0.0; - /** - * Projected number of in-app actions. - * - * Generated from protobuf field double in_app_actions = 16; - */ - protected $in_app_actions = 0.0; - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - */ - protected $clicks = null; - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - */ - protected $cost_micros = null; - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - */ - protected $impressions = null; - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - */ - protected $top_slot_impressions = null; - /** - * Projected number of interactions. - * Only discovery advertising channel type supports this field. - * - * Generated from protobuf field optional int64 interactions = 20; - */ - protected $interactions = null; - protected $target_cpa_simulation_key_value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $required_budget_amount_micros - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * @type float $biddable_conversions - * Projected number of biddable conversions. - * @type float $biddable_conversions_value - * Projected total value of biddable conversions. - * @type float $app_installs - * Projected number of app installs. - * @type float $in_app_actions - * Projected number of in-app actions. - * @type int|string $clicks - * Projected number of clicks. - * @type int|string $cost_micros - * Projected cost in micros. - * @type int|string $impressions - * Projected number of impressions. - * @type int|string $top_slot_impressions - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * @type int|string $interactions - * Projected number of interactions. - * Only discovery advertising channel type supports this field. - * @type int|string $target_cpa_micros - * The simulated target CPA upon which projected metrics are based. - * @type float $target_cpa_scaling_modifier - * The simulated scaling modifier upon which projected metrics are based. - * All CPA targets relevant to the simulated entity are scaled by this - * modifier. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 19; - * @return int|string - */ - public function getRequiredBudgetAmountMicros() - { - return $this->required_budget_amount_micros; - } - - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 19; - * @param int|string $var - * @return $this - */ - public function setRequiredBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_budget_amount_micros = $var; - - return $this; - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - * @return float - */ - public function getBiddableConversions() - { - return isset($this->biddable_conversions) ? $this->biddable_conversions : 0.0; - } - - public function hasBiddableConversions() - { - return isset($this->biddable_conversions); - } - - public function clearBiddableConversions() - { - unset($this->biddable_conversions); - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - * @param float $var - * @return $this - */ - public function setBiddableConversions($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions = $var; - - return $this; - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - * @return float - */ - public function getBiddableConversionsValue() - { - return isset($this->biddable_conversions_value) ? $this->biddable_conversions_value : 0.0; - } - - public function hasBiddableConversionsValue() - { - return isset($this->biddable_conversions_value); - } - - public function clearBiddableConversionsValue() - { - unset($this->biddable_conversions_value); - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - * @param float $var - * @return $this - */ - public function setBiddableConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions_value = $var; - - return $this; - } - - /** - * Projected number of app installs. - * - * Generated from protobuf field double app_installs = 15; - * @return float - */ - public function getAppInstalls() - { - return $this->app_installs; - } - - /** - * Projected number of app installs. - * - * Generated from protobuf field double app_installs = 15; - * @param float $var - * @return $this - */ - public function setAppInstalls($var) - { - GPBUtil::checkDouble($var); - $this->app_installs = $var; - - return $this; - } - - /** - * Projected number of in-app actions. - * - * Generated from protobuf field double in_app_actions = 16; - * @return float - */ - public function getInAppActions() - { - return $this->in_app_actions; - } - - /** - * Projected number of in-app actions. - * - * Generated from protobuf field double in_app_actions = 16; - * @param float $var - * @return $this - */ - public function setInAppActions($var) - { - GPBUtil::checkDouble($var); - $this->in_app_actions = $var; - - return $this; - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - * @return int|string - */ - public function getClicks() - { - return isset($this->clicks) ? $this->clicks : 0; - } - - public function hasClicks() - { - return isset($this->clicks); - } - - public function clearClicks() - { - unset($this->clicks); - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - * @param int|string $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkInt64($var); - $this->clicks = $var; - - return $this; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - * @return int|string - */ - public function getCostMicros() - { - return isset($this->cost_micros) ? $this->cost_micros : 0; - } - - public function hasCostMicros() - { - return isset($this->cost_micros); - } - - public function clearCostMicros() - { - unset($this->cost_micros); - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - * @return int|string - */ - public function getImpressions() - { - return isset($this->impressions) ? $this->impressions : 0; - } - - public function hasImpressions() - { - return isset($this->impressions); - } - - public function clearImpressions() - { - unset($this->impressions); - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - * @param int|string $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt64($var); - $this->impressions = $var; - - return $this; - } - - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - * @return int|string - */ - public function getTopSlotImpressions() - { - return isset($this->top_slot_impressions) ? $this->top_slot_impressions : 0; - } - - public function hasTopSlotImpressions() - { - return isset($this->top_slot_impressions); - } - - public function clearTopSlotImpressions() - { - unset($this->top_slot_impressions); - } - - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - * @param int|string $var - * @return $this - */ - public function setTopSlotImpressions($var) - { - GPBUtil::checkInt64($var); - $this->top_slot_impressions = $var; - - return $this; - } - - /** - * Projected number of interactions. - * Only discovery advertising channel type supports this field. - * - * Generated from protobuf field optional int64 interactions = 20; - * @return int|string - */ - public function getInteractions() - { - return isset($this->interactions) ? $this->interactions : 0; - } - - public function hasInteractions() - { - return isset($this->interactions); - } - - public function clearInteractions() - { - unset($this->interactions); - } - - /** - * Projected number of interactions. - * Only discovery advertising channel type supports this field. - * - * Generated from protobuf field optional int64 interactions = 20; - * @param int|string $var - * @return $this - */ - public function setInteractions($var) - { - GPBUtil::checkInt64($var); - $this->interactions = $var; - - return $this; - } - - /** - * The simulated target CPA upon which projected metrics are based. - * - * Generated from protobuf field int64 target_cpa_micros = 17; - * @return int|string - */ - public function getTargetCpaMicros() - { - return $this->readOneof(17); - } - - public function hasTargetCpaMicros() - { - return $this->hasOneof(17); - } - - /** - * The simulated target CPA upon which projected metrics are based. - * - * Generated from protobuf field int64 target_cpa_micros = 17; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * The simulated scaling modifier upon which projected metrics are based. - * All CPA targets relevant to the simulated entity are scaled by this - * modifier. - * - * Generated from protobuf field double target_cpa_scaling_modifier = 18; - * @return float - */ - public function getTargetCpaScalingModifier() - { - return $this->readOneof(18); - } - - public function hasTargetCpaScalingModifier() - { - return $this->hasOneof(18); - } - - /** - * The simulated scaling modifier upon which projected metrics are based. - * All CPA targets relevant to the simulated entity are scaled by this - * modifier. - * - * Generated from protobuf field double target_cpa_scaling_modifier = 18; - * @param float $var - * @return $this - */ - public function setTargetCpaScalingModifier($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * @return string - */ - public function getTargetCpaSimulationKeyValue() - { - return $this->whichOneof("target_cpa_simulation_key_value"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetCpaSimulationPointList.php b/src/Google/Ads/GoogleAds/V15/Common/TargetCpaSimulationPointList.php deleted file mode 100644 index 4367c345e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetCpaSimulationPointList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.TargetCpaSimulationPointList - */ -class TargetCpaSimulationPointList extends \Google\Protobuf\Internal\Message -{ - /** - * Projected metrics for a series of target CPA amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetCpaSimulationPoint points = 1; - */ - private $points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $points - * Projected metrics for a series of target CPA amounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected metrics for a series of target CPA amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetCpaSimulationPoint points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPoints() - { - return $this->points; - } - - /** - * Projected metrics for a series of target CPA amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetCpaSimulationPoint points = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPoint::class); - $this->points = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetCpm.php b/src/Google/Ads/GoogleAds/V15/Common/TargetCpm.php deleted file mode 100644 index dd23d67df..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetCpm.php +++ /dev/null @@ -1,76 +0,0 @@ -google.ads.googleads.v15.common.TargetCpm - */ -class TargetCpm extends \Google\Protobuf\Internal\Message -{ - protected $goal; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\TargetCpmTargetFrequencyGoal $target_frequency_goal - * Target Frequency bidding goal details. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * Target Frequency bidding goal details. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpmTargetFrequencyGoal target_frequency_goal = 1; - * @return \Google\Ads\GoogleAds\V15\Common\TargetCpmTargetFrequencyGoal|null - */ - public function getTargetFrequencyGoal() - { - return $this->readOneof(1); - } - - public function hasTargetFrequencyGoal() - { - return $this->hasOneof(1); - } - - /** - * Target Frequency bidding goal details. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpmTargetFrequencyGoal target_frequency_goal = 1; - * @param \Google\Ads\GoogleAds\V15\Common\TargetCpmTargetFrequencyGoal $var - * @return $this - */ - public function setTargetFrequencyGoal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetCpmTargetFrequencyGoal::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getGoal() - { - return $this->whichOneof("goal"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShare.php b/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShare.php deleted file mode 100644 index 5ba2b34ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShare.php +++ /dev/null @@ -1,169 +0,0 @@ -google.ads.googleads.v15.common.TargetImpressionShare - */ -class TargetImpressionShare extends \Google\Protobuf\Internal\Message -{ - /** - * The targeted location on the search results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1; - */ - protected $location = 0; - /** - * The chosen fraction of ads to be shown in the targeted location in micros. - * For example, 1% equals 10,000. - * - * Generated from protobuf field optional int64 location_fraction_micros = 4; - */ - protected $location_fraction_micros = null; - /** - * The highest CPC bid the automated bidding system is permitted to specify. - * This is a required field entered by the advertiser that sets the ceiling - * and specified in local micros. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - */ - protected $cpc_bid_ceiling_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $location - * The targeted location on the search results page. - * @type int|string $location_fraction_micros - * The chosen fraction of ads to be shown in the targeted location in micros. - * For example, 1% equals 10,000. - * @type int|string $cpc_bid_ceiling_micros - * The highest CPC bid the automated bidding system is permitted to specify. - * This is a required field entered by the advertiser that sets the ceiling - * and specified in local micros. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * The targeted location on the search results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1; - * @return int - */ - public function getLocation() - { - return $this->location; - } - - /** - * The targeted location on the search results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1; - * @param int $var - * @return $this - */ - public function setLocation($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TargetImpressionShareLocationEnum\TargetImpressionShareLocation::class); - $this->location = $var; - - return $this; - } - - /** - * The chosen fraction of ads to be shown in the targeted location in micros. - * For example, 1% equals 10,000. - * - * Generated from protobuf field optional int64 location_fraction_micros = 4; - * @return int|string - */ - public function getLocationFractionMicros() - { - return isset($this->location_fraction_micros) ? $this->location_fraction_micros : 0; - } - - public function hasLocationFractionMicros() - { - return isset($this->location_fraction_micros); - } - - public function clearLocationFractionMicros() - { - unset($this->location_fraction_micros); - } - - /** - * The chosen fraction of ads to be shown in the targeted location in micros. - * For example, 1% equals 10,000. - * - * Generated from protobuf field optional int64 location_fraction_micros = 4; - * @param int|string $var - * @return $this - */ - public function setLocationFractionMicros($var) - { - GPBUtil::checkInt64($var); - $this->location_fraction_micros = $var; - - return $this; - } - - /** - * The highest CPC bid the automated bidding system is permitted to specify. - * This is a required field entered by the advertiser that sets the ceiling - * and specified in local micros. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros) ? $this->cpc_bid_ceiling_micros : 0; - } - - public function hasCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros); - } - - public function clearCpcBidCeilingMicros() - { - unset($this->cpc_bid_ceiling_micros); - } - - /** - * The highest CPC bid the automated bidding system is permitted to specify. - * This is a required field entered by the advertiser that sets the ceiling - * and specified in local micros. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShareSimulationPoint.php b/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShareSimulationPoint.php deleted file mode 100644 index 987b105ec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShareSimulationPoint.php +++ /dev/null @@ -1,401 +0,0 @@ -google.ads.googleads.v15.common.TargetImpressionShareSimulationPoint - */ -class TargetImpressionShareSimulationPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The simulated target impression share value (in micros) upon which - * projected metrics are based. - * For example, 10% impression share, which is equal to 0.1, is stored as - * 100_000. This value is validated and will not exceed 1M (100%). - * - * Generated from protobuf field int64 target_impression_share_micros = 1; - */ - protected $target_impression_share_micros = 0; - /** - * Projected required daily cpc bid ceiling that the advertiser must set to - * realize this simulation, in micros of the advertiser currency. - * - * Generated from protobuf field int64 required_cpc_bid_ceiling_micros = 2; - */ - protected $required_cpc_bid_ceiling_micros = 0; - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 3; - */ - protected $required_budget_amount_micros = 0; - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field double biddable_conversions = 4; - */ - protected $biddable_conversions = 0.0; - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field double biddable_conversions_value = 5; - */ - protected $biddable_conversions_value = 0.0; - /** - * Projected number of clicks. - * - * Generated from protobuf field int64 clicks = 6; - */ - protected $clicks = 0; - /** - * Projected cost in micros. - * - * Generated from protobuf field int64 cost_micros = 7; - */ - protected $cost_micros = 0; - /** - * Projected number of impressions. - * - * Generated from protobuf field int64 impressions = 8; - */ - protected $impressions = 0; - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 top_slot_impressions = 9; - */ - protected $top_slot_impressions = 0; - /** - * Projected number of absolute top impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 absolute_top_impressions = 10; - */ - protected $absolute_top_impressions = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $target_impression_share_micros - * The simulated target impression share value (in micros) upon which - * projected metrics are based. - * For example, 10% impression share, which is equal to 0.1, is stored as - * 100_000. This value is validated and will not exceed 1M (100%). - * @type int|string $required_cpc_bid_ceiling_micros - * Projected required daily cpc bid ceiling that the advertiser must set to - * realize this simulation, in micros of the advertiser currency. - * @type int|string $required_budget_amount_micros - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * @type float $biddable_conversions - * Projected number of biddable conversions. - * @type float $biddable_conversions_value - * Projected total value of biddable conversions. - * @type int|string $clicks - * Projected number of clicks. - * @type int|string $cost_micros - * Projected cost in micros. - * @type int|string $impressions - * Projected number of impressions. - * @type int|string $top_slot_impressions - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * @type int|string $absolute_top_impressions - * Projected number of absolute top impressions. - * Only search advertising channel type supports this field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * The simulated target impression share value (in micros) upon which - * projected metrics are based. - * For example, 10% impression share, which is equal to 0.1, is stored as - * 100_000. This value is validated and will not exceed 1M (100%). - * - * Generated from protobuf field int64 target_impression_share_micros = 1; - * @return int|string - */ - public function getTargetImpressionShareMicros() - { - return $this->target_impression_share_micros; - } - - /** - * The simulated target impression share value (in micros) upon which - * projected metrics are based. - * For example, 10% impression share, which is equal to 0.1, is stored as - * 100_000. This value is validated and will not exceed 1M (100%). - * - * Generated from protobuf field int64 target_impression_share_micros = 1; - * @param int|string $var - * @return $this - */ - public function setTargetImpressionShareMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_impression_share_micros = $var; - - return $this; - } - - /** - * Projected required daily cpc bid ceiling that the advertiser must set to - * realize this simulation, in micros of the advertiser currency. - * - * Generated from protobuf field int64 required_cpc_bid_ceiling_micros = 2; - * @return int|string - */ - public function getRequiredCpcBidCeilingMicros() - { - return $this->required_cpc_bid_ceiling_micros; - } - - /** - * Projected required daily cpc bid ceiling that the advertiser must set to - * realize this simulation, in micros of the advertiser currency. - * - * Generated from protobuf field int64 required_cpc_bid_ceiling_micros = 2; - * @param int|string $var - * @return $this - */ - public function setRequiredCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_cpc_bid_ceiling_micros = $var; - - return $this; - } - - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 3; - * @return int|string - */ - public function getRequiredBudgetAmountMicros() - { - return $this->required_budget_amount_micros; - } - - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 3; - * @param int|string $var - * @return $this - */ - public function setRequiredBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_budget_amount_micros = $var; - - return $this; - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field double biddable_conversions = 4; - * @return float - */ - public function getBiddableConversions() - { - return $this->biddable_conversions; - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field double biddable_conversions = 4; - * @param float $var - * @return $this - */ - public function setBiddableConversions($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions = $var; - - return $this; - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field double biddable_conversions_value = 5; - * @return float - */ - public function getBiddableConversionsValue() - { - return $this->biddable_conversions_value; - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field double biddable_conversions_value = 5; - * @param float $var - * @return $this - */ - public function setBiddableConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions_value = $var; - - return $this; - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field int64 clicks = 6; - * @return int|string - */ - public function getClicks() - { - return $this->clicks; - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field int64 clicks = 6; - * @param int|string $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkInt64($var); - $this->clicks = $var; - - return $this; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field int64 cost_micros = 7; - * @return int|string - */ - public function getCostMicros() - { - return $this->cost_micros; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field int64 cost_micros = 7; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field int64 impressions = 8; - * @return int|string - */ - public function getImpressions() - { - return $this->impressions; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field int64 impressions = 8; - * @param int|string $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt64($var); - $this->impressions = $var; - - return $this; - } - - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 top_slot_impressions = 9; - * @return int|string - */ - public function getTopSlotImpressions() - { - return $this->top_slot_impressions; - } - - /** - * Projected number of top slot impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 top_slot_impressions = 9; - * @param int|string $var - * @return $this - */ - public function setTopSlotImpressions($var) - { - GPBUtil::checkInt64($var); - $this->top_slot_impressions = $var; - - return $this; - } - - /** - * Projected number of absolute top impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 absolute_top_impressions = 10; - * @return int|string - */ - public function getAbsoluteTopImpressions() - { - return $this->absolute_top_impressions; - } - - /** - * Projected number of absolute top impressions. - * Only search advertising channel type supports this field. - * - * Generated from protobuf field int64 absolute_top_impressions = 10; - * @param int|string $var - * @return $this - */ - public function setAbsoluteTopImpressions($var) - { - GPBUtil::checkInt64($var); - $this->absolute_top_impressions = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShareSimulationPointList.php b/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShareSimulationPointList.php deleted file mode 100644 index 91f67e5c3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetImpressionShareSimulationPointList.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.common.TargetImpressionShareSimulationPointList - */ -class TargetImpressionShareSimulationPointList extends \Google\Protobuf\Internal\Message -{ - /** - * Projected metrics for a specific target impression share value. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetImpressionShareSimulationPoint points = 1; - */ - private $points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\TargetImpressionShareSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $points - * Projected metrics for a specific target impression share value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected metrics for a specific target impression share value. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetImpressionShareSimulationPoint points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPoints() - { - return $this->points; - } - - /** - * Projected metrics for a specific target impression share value. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetImpressionShareSimulationPoint points = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\TargetImpressionShareSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\TargetImpressionShareSimulationPoint::class); - $this->points = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetRestriction.php b/src/Google/Ads/GoogleAds/V15/Common/TargetRestriction.php deleted file mode 100644 index f092eeef6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetRestriction.php +++ /dev/null @@ -1,135 +0,0 @@ -google.ads.googleads.v15.common.TargetRestriction - */ -class TargetRestriction extends \Google\Protobuf\Internal\Message -{ - /** - * The targeting dimension that these settings apply to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension targeting_dimension = 1; - */ - protected $targeting_dimension = 0; - /** - * Indicates whether to restrict your ads to show only for the criteria you - * have selected for this targeting_dimension, or to target all values for - * this targeting_dimension and show ads based on your targeting in other - * TargetingDimensions. A value of `true` means that these criteria will only - * apply bid modifiers, and not affect targeting. A value of `false` means - * that these criteria will restrict targeting as well as applying bid - * modifiers. - * - * Generated from protobuf field optional bool bid_only = 3; - */ - protected $bid_only = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $targeting_dimension - * The targeting dimension that these settings apply to. - * @type bool $bid_only - * Indicates whether to restrict your ads to show only for the criteria you - * have selected for this targeting_dimension, or to target all values for - * this targeting_dimension and show ads based on your targeting in other - * TargetingDimensions. A value of `true` means that these criteria will only - * apply bid modifiers, and not affect targeting. A value of `false` means - * that these criteria will restrict targeting as well as applying bid - * modifiers. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\TargetingSetting::initOnce(); - parent::__construct($data); - } - - /** - * The targeting dimension that these settings apply to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension targeting_dimension = 1; - * @return int - */ - public function getTargetingDimension() - { - return $this->targeting_dimension; - } - - /** - * The targeting dimension that these settings apply to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension targeting_dimension = 1; - * @param int $var - * @return $this - */ - public function setTargetingDimension($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TargetingDimensionEnum\TargetingDimension::class); - $this->targeting_dimension = $var; - - return $this; - } - - /** - * Indicates whether to restrict your ads to show only for the criteria you - * have selected for this targeting_dimension, or to target all values for - * this targeting_dimension and show ads based on your targeting in other - * TargetingDimensions. A value of `true` means that these criteria will only - * apply bid modifiers, and not affect targeting. A value of `false` means - * that these criteria will restrict targeting as well as applying bid - * modifiers. - * - * Generated from protobuf field optional bool bid_only = 3; - * @return bool - */ - public function getBidOnly() - { - return isset($this->bid_only) ? $this->bid_only : false; - } - - public function hasBidOnly() - { - return isset($this->bid_only); - } - - public function clearBidOnly() - { - unset($this->bid_only); - } - - /** - * Indicates whether to restrict your ads to show only for the criteria you - * have selected for this targeting_dimension, or to target all values for - * this targeting_dimension and show ads based on your targeting in other - * TargetingDimensions. A value of `true` means that these criteria will only - * apply bid modifiers, and not affect targeting. A value of `false` means - * that these criteria will restrict targeting as well as applying bid - * modifiers. - * - * Generated from protobuf field optional bool bid_only = 3; - * @param bool $var - * @return $this - */ - public function setBidOnly($var) - { - GPBUtil::checkBool($var); - $this->bid_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetRestrictionOperation.php b/src/Google/Ads/GoogleAds/V15/Common/TargetRestrictionOperation.php deleted file mode 100644 index 39cf961d5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetRestrictionOperation.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.common.TargetRestrictionOperation - */ -class TargetRestrictionOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Type of list operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRestrictionOperation.Operator operator = 1; - */ - protected $operator = 0; - /** - * The target restriction being added to or removed from the list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRestriction value = 2; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operator - * Type of list operation to perform. - * @type \Google\Ads\GoogleAds\V15\Common\TargetRestriction $value - * The target restriction being added to or removed from the list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\TargetingSetting::initOnce(); - parent::__construct($data); - } - - /** - * Type of list operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRestrictionOperation.Operator operator = 1; - * @return int - */ - public function getOperator() - { - return $this->operator; - } - - /** - * Type of list operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRestrictionOperation.Operator operator = 1; - * @param int $var - * @return $this - */ - public function setOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Common\TargetRestrictionOperation\Operator::class); - $this->operator = $var; - - return $this; - } - - /** - * The target restriction being added to or removed from the list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRestriction value = 2; - * @return \Google\Ads\GoogleAds\V15\Common\TargetRestriction|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * The target restriction being added to or removed from the list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRestriction value = 2; - * @param \Google\Ads\GoogleAds\V15\Common\TargetRestriction $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetRestriction::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetRestrictionOperation/Operator.php b/src/Google/Ads/GoogleAds/V15/Common/TargetRestrictionOperation/Operator.php deleted file mode 100644 index ee47cb875..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetRestrictionOperation/Operator.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.common.TargetRestrictionOperation.Operator - */ -class Operator -{ - /** - * Unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Add the restriction to the existing restrictions. - * - * Generated from protobuf enum ADD = 2; - */ - const ADD = 2; - /** - * Remove the restriction from the existing restrictions. - * - * Generated from protobuf enum REMOVE = 3; - */ - const REMOVE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADD => 'ADD', - self::REMOVE => 'REMOVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Operator::class, \Google\Ads\GoogleAds\V15\Common\TargetRestrictionOperation_Operator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetRoas.php b/src/Google/Ads/GoogleAds/V15/Common/TargetRoas.php deleted file mode 100644 index f9369f1bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetRoas.php +++ /dev/null @@ -1,186 +0,0 @@ -google.ads.googleads.v15.common.TargetRoas - */ -class TargetRoas extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The chosen revenue (based on conversion data) per unit of spend. - * Value must be between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double target_roas = 4; - */ - protected $target_roas = null; - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - */ - protected $cpc_bid_ceiling_micros = null; - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_floor_micros = 6; - */ - protected $cpc_bid_floor_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_roas - * Required. The chosen revenue (based on conversion data) per unit of spend. - * Value must be between 0.01 and 1000.0, inclusive. - * @type int|string $cpc_bid_ceiling_micros - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * @type int|string $cpc_bid_floor_micros - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * Required. The chosen revenue (based on conversion data) per unit of spend. - * Value must be between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double target_roas = 4; - * @return float - */ - public function getTargetRoas() - { - return isset($this->target_roas) ? $this->target_roas : 0.0; - } - - public function hasTargetRoas() - { - return isset($this->target_roas); - } - - public function clearTargetRoas() - { - unset($this->target_roas); - } - - /** - * Required. The chosen revenue (based on conversion data) per unit of spend. - * Value must be between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double target_roas = 4; - * @param float $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->target_roas = $var; - - return $this; - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros) ? $this->cpc_bid_ceiling_micros : 0; - } - - public function hasCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros); - } - - public function clearCpcBidCeilingMicros() - { - unset($this->cpc_bid_ceiling_micros); - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 5; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_floor_micros = 6; - * @return int|string - */ - public function getCpcBidFloorMicros() - { - return isset($this->cpc_bid_floor_micros) ? $this->cpc_bid_floor_micros : 0; - } - - public function hasCpcBidFloorMicros() - { - return isset($this->cpc_bid_floor_micros); - } - - public function clearCpcBidFloorMicros() - { - unset($this->cpc_bid_floor_micros); - } - - /** - * Minimum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * This should only be set for portfolio bid strategies. - * - * Generated from protobuf field optional int64 cpc_bid_floor_micros = 6; - * @param int|string $var - * @return $this - */ - public function setCpcBidFloorMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_floor_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetRoasSimulationPoint.php b/src/Google/Ads/GoogleAds/V15/Common/TargetRoasSimulationPoint.php deleted file mode 100644 index bf74205d6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetRoasSimulationPoint.php +++ /dev/null @@ -1,383 +0,0 @@ -google.ads.googleads.v15.common.TargetRoasSimulationPoint - */ -class TargetRoasSimulationPoint extends \Google\Protobuf\Internal\Message -{ - /** - * The simulated target ROAS upon which projected metrics are based. - * - * Generated from protobuf field optional double target_roas = 8; - */ - protected $target_roas = null; - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 15; - */ - protected $required_budget_amount_micros = 0; - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - */ - protected $biddable_conversions = null; - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - */ - protected $biddable_conversions_value = null; - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - */ - protected $clicks = null; - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - */ - protected $cost_micros = null; - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - */ - protected $impressions = null; - /** - * Projected number of top slot impressions. - * Only Search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - */ - protected $top_slot_impressions = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_roas - * The simulated target ROAS upon which projected metrics are based. - * @type int|string $required_budget_amount_micros - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * @type float $biddable_conversions - * Projected number of biddable conversions. - * @type float $biddable_conversions_value - * Projected total value of biddable conversions. - * @type int|string $clicks - * Projected number of clicks. - * @type int|string $cost_micros - * Projected cost in micros. - * @type int|string $impressions - * Projected number of impressions. - * @type int|string $top_slot_impressions - * Projected number of top slot impressions. - * Only Search advertising channel type supports this field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * The simulated target ROAS upon which projected metrics are based. - * - * Generated from protobuf field optional double target_roas = 8; - * @return float - */ - public function getTargetRoas() - { - return isset($this->target_roas) ? $this->target_roas : 0.0; - } - - public function hasTargetRoas() - { - return isset($this->target_roas); - } - - public function clearTargetRoas() - { - unset($this->target_roas); - } - - /** - * The simulated target ROAS upon which projected metrics are based. - * - * Generated from protobuf field optional double target_roas = 8; - * @param float $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->target_roas = $var; - - return $this; - } - - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 15; - * @return int|string - */ - public function getRequiredBudgetAmountMicros() - { - return $this->required_budget_amount_micros; - } - - /** - * Projected required daily budget that the advertiser must set in order to - * receive the estimated traffic, in micros of advertiser currency. - * - * Generated from protobuf field int64 required_budget_amount_micros = 15; - * @param int|string $var - * @return $this - */ - public function setRequiredBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_budget_amount_micros = $var; - - return $this; - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - * @return float - */ - public function getBiddableConversions() - { - return isset($this->biddable_conversions) ? $this->biddable_conversions : 0.0; - } - - public function hasBiddableConversions() - { - return isset($this->biddable_conversions); - } - - public function clearBiddableConversions() - { - unset($this->biddable_conversions); - } - - /** - * Projected number of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions = 9; - * @param float $var - * @return $this - */ - public function setBiddableConversions($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions = $var; - - return $this; - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - * @return float - */ - public function getBiddableConversionsValue() - { - return isset($this->biddable_conversions_value) ? $this->biddable_conversions_value : 0.0; - } - - public function hasBiddableConversionsValue() - { - return isset($this->biddable_conversions_value); - } - - public function clearBiddableConversionsValue() - { - unset($this->biddable_conversions_value); - } - - /** - * Projected total value of biddable conversions. - * - * Generated from protobuf field optional double biddable_conversions_value = 10; - * @param float $var - * @return $this - */ - public function setBiddableConversionsValue($var) - { - GPBUtil::checkDouble($var); - $this->biddable_conversions_value = $var; - - return $this; - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - * @return int|string - */ - public function getClicks() - { - return isset($this->clicks) ? $this->clicks : 0; - } - - public function hasClicks() - { - return isset($this->clicks); - } - - public function clearClicks() - { - unset($this->clicks); - } - - /** - * Projected number of clicks. - * - * Generated from protobuf field optional int64 clicks = 11; - * @param int|string $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkInt64($var); - $this->clicks = $var; - - return $this; - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - * @return int|string - */ - public function getCostMicros() - { - return isset($this->cost_micros) ? $this->cost_micros : 0; - } - - public function hasCostMicros() - { - return isset($this->cost_micros); - } - - public function clearCostMicros() - { - unset($this->cost_micros); - } - - /** - * Projected cost in micros. - * - * Generated from protobuf field optional int64 cost_micros = 12; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - * @return int|string - */ - public function getImpressions() - { - return isset($this->impressions) ? $this->impressions : 0; - } - - public function hasImpressions() - { - return isset($this->impressions); - } - - public function clearImpressions() - { - unset($this->impressions); - } - - /** - * Projected number of impressions. - * - * Generated from protobuf field optional int64 impressions = 13; - * @param int|string $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt64($var); - $this->impressions = $var; - - return $this; - } - - /** - * Projected number of top slot impressions. - * Only Search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - * @return int|string - */ - public function getTopSlotImpressions() - { - return isset($this->top_slot_impressions) ? $this->top_slot_impressions : 0; - } - - public function hasTopSlotImpressions() - { - return isset($this->top_slot_impressions); - } - - public function clearTopSlotImpressions() - { - unset($this->top_slot_impressions); - } - - /** - * Projected number of top slot impressions. - * Only Search advertising channel type supports this field. - * - * Generated from protobuf field optional int64 top_slot_impressions = 14; - * @param int|string $var - * @return $this - */ - public function setTopSlotImpressions($var) - { - GPBUtil::checkInt64($var); - $this->top_slot_impressions = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetRoasSimulationPointList.php b/src/Google/Ads/GoogleAds/V15/Common/TargetRoasSimulationPointList.php deleted file mode 100644 index 73b991d19..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetRoasSimulationPointList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.TargetRoasSimulationPointList - */ -class TargetRoasSimulationPointList extends \Google\Protobuf\Internal\Message -{ - /** - * Projected metrics for a series of target ROAS amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRoasSimulationPoint points = 1; - */ - private $points; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $points - * Projected metrics for a series of target ROAS amounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Simulation::initOnce(); - parent::__construct($data); - } - - /** - * Projected metrics for a series of target ROAS amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRoasSimulationPoint points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPoints() - { - return $this->points; - } - - /** - * Projected metrics for a series of target ROAS amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRoasSimulationPoint points = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPoint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPoint::class); - $this->points = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetSpend.php b/src/Google/Ads/GoogleAds/V15/Common/TargetSpend.php deleted file mode 100644 index 2ea80f657..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetSpend.php +++ /dev/null @@ -1,157 +0,0 @@ -google.ads.googleads.v15.common.TargetSpend - */ -class TargetSpend extends \Google\Protobuf\Internal\Message -{ - /** - * The spend target under which to maximize clicks. - * A TargetSpend bidder will attempt to spend the smaller of this value - * or the natural throttling spend amount. - * If not specified, the budget is used as the spend target. - * This field is deprecated and should no longer be used. See - * https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - * for details. - * - * Generated from protobuf field optional int64 target_spend_micros = 3 [deprecated = true]; - * @deprecated - */ - protected $target_spend_micros = null; - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 4; - */ - protected $cpc_bid_ceiling_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $target_spend_micros - * The spend target under which to maximize clicks. - * A TargetSpend bidder will attempt to spend the smaller of this value - * or the natural throttling spend amount. - * If not specified, the budget is used as the spend target. - * This field is deprecated and should no longer be used. See - * https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - * for details. - * @type int|string $cpc_bid_ceiling_micros - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); - parent::__construct($data); - } - - /** - * The spend target under which to maximize clicks. - * A TargetSpend bidder will attempt to spend the smaller of this value - * or the natural throttling spend amount. - * If not specified, the budget is used as the spend target. - * This field is deprecated and should no longer be used. See - * https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - * for details. - * - * Generated from protobuf field optional int64 target_spend_micros = 3 [deprecated = true]; - * @return int|string - * @deprecated - */ - public function getTargetSpendMicros() - { - @trigger_error('target_spend_micros is deprecated.', E_USER_DEPRECATED); - return isset($this->target_spend_micros) ? $this->target_spend_micros : 0; - } - - public function hasTargetSpendMicros() - { - @trigger_error('target_spend_micros is deprecated.', E_USER_DEPRECATED); - return isset($this->target_spend_micros); - } - - public function clearTargetSpendMicros() - { - @trigger_error('target_spend_micros is deprecated.', E_USER_DEPRECATED); - unset($this->target_spend_micros); - } - - /** - * The spend target under which to maximize clicks. - * A TargetSpend bidder will attempt to spend the smaller of this value - * or the natural throttling spend amount. - * If not specified, the budget is used as the spend target. - * This field is deprecated and should no longer be used. See - * https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - * for details. - * - * Generated from protobuf field optional int64 target_spend_micros = 3 [deprecated = true]; - * @param int|string $var - * @return $this - * @deprecated - */ - public function setTargetSpendMicros($var) - { - @trigger_error('target_spend_micros is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkInt64($var); - $this->target_spend_micros = $var; - - return $this; - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 4; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros) ? $this->cpc_bid_ceiling_micros : 0; - } - - public function hasCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros); - } - - public function clearCpcBidCeilingMicros() - { - unset($this->cpc_bid_ceiling_micros); - } - - /** - * Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 4; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetingSetting.php b/src/Google/Ads/GoogleAds/V15/Common/TargetingSetting.php deleted file mode 100644 index efe551f88..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetingSetting.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.common.TargetingSetting - */ -class TargetingSetting extends \Google\Protobuf\Internal\Message -{ - /** - * The per-targeting-dimension setting to restrict the reach of your campaign - * or ad group. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRestriction target_restrictions = 1; - */ - private $target_restrictions; - /** - * The list of operations changing the target restrictions. - * Adding a target restriction with a targeting dimension that already exists - * causes the existing target restriction to be replaced with the new value. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRestrictionOperation target_restriction_operations = 2; - */ - private $target_restriction_operations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\TargetRestriction>|\Google\Protobuf\Internal\RepeatedField $target_restrictions - * The per-targeting-dimension setting to restrict the reach of your campaign - * or ad group. - * @type array<\Google\Ads\GoogleAds\V15\Common\TargetRestrictionOperation>|\Google\Protobuf\Internal\RepeatedField $target_restriction_operations - * The list of operations changing the target restrictions. - * Adding a target restriction with a targeting dimension that already exists - * causes the existing target restriction to be replaced with the new value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\TargetingSetting::initOnce(); - parent::__construct($data); - } - - /** - * The per-targeting-dimension setting to restrict the reach of your campaign - * or ad group. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRestriction target_restrictions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTargetRestrictions() - { - return $this->target_restrictions; - } - - /** - * The per-targeting-dimension setting to restrict the reach of your campaign - * or ad group. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRestriction target_restrictions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\TargetRestriction>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTargetRestrictions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\TargetRestriction::class); - $this->target_restrictions = $arr; - - return $this; - } - - /** - * The list of operations changing the target restrictions. - * Adding a target restriction with a targeting dimension that already exists - * causes the existing target restriction to be replaced with the new value. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRestrictionOperation target_restriction_operations = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTargetRestrictionOperations() - { - return $this->target_restriction_operations; - } - - /** - * The list of operations changing the target restrictions. - * Adding a target restriction with a targeting dimension that already exists - * causes the existing target restriction to be replaced with the new value. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TargetRestrictionOperation target_restriction_operations = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\TargetRestrictionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTargetRestrictionOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\TargetRestrictionOperation::class); - $this->target_restriction_operations = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TextAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/TextAdInfo.php deleted file mode 100644 index f3bbd7430..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TextAdInfo.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.common.TextAdInfo - */ -class TextAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The headline of the ad. - * - * Generated from protobuf field optional string headline = 4; - */ - protected $headline = null; - /** - * The first line of the ad's description. - * - * Generated from protobuf field optional string description1 = 5; - */ - protected $description1 = null; - /** - * The second line of the ad's description. - * - * Generated from protobuf field optional string description2 = 6; - */ - protected $description2 = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $headline - * The headline of the ad. - * @type string $description1 - * The first line of the ad's description. - * @type string $description2 - * The second line of the ad's description. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The headline of the ad. - * - * Generated from protobuf field optional string headline = 4; - * @return string - */ - public function getHeadline() - { - return isset($this->headline) ? $this->headline : ''; - } - - public function hasHeadline() - { - return isset($this->headline); - } - - public function clearHeadline() - { - unset($this->headline); - } - - /** - * The headline of the ad. - * - * Generated from protobuf field optional string headline = 4; - * @param string $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkString($var, True); - $this->headline = $var; - - return $this; - } - - /** - * The first line of the ad's description. - * - * Generated from protobuf field optional string description1 = 5; - * @return string - */ - public function getDescription1() - { - return isset($this->description1) ? $this->description1 : ''; - } - - public function hasDescription1() - { - return isset($this->description1); - } - - public function clearDescription1() - { - unset($this->description1); - } - - /** - * The first line of the ad's description. - * - * Generated from protobuf field optional string description1 = 5; - * @param string $var - * @return $this - */ - public function setDescription1($var) - { - GPBUtil::checkString($var, True); - $this->description1 = $var; - - return $this; - } - - /** - * The second line of the ad's description. - * - * Generated from protobuf field optional string description2 = 6; - * @return string - */ - public function getDescription2() - { - return isset($this->description2) ? $this->description2 : ''; - } - - public function hasDescription2() - { - return isset($this->description2); - } - - public function clearDescription2() - { - unset($this->description2); - } - - /** - * The second line of the ad's description. - * - * Generated from protobuf field optional string description2 = 6; - * @param string $var - * @return $this - */ - public function setDescription2($var) - { - GPBUtil::checkString($var, True); - $this->description2 = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TextAsset.php b/src/Google/Ads/GoogleAds/V15/Common/TextAsset.php deleted file mode 100644 index 4607c6b8c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TextAsset.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.TextAsset - */ -class TextAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Text content of the text asset. - * - * Generated from protobuf field optional string text = 2; - */ - protected $text = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * Text content of the text asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Text content of the text asset. - * - * Generated from protobuf field optional string text = 2; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * Text content of the text asset. - * - * Generated from protobuf field optional string text = 2; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TextLabel.php b/src/Google/Ads/GoogleAds/V15/Common/TextLabel.php deleted file mode 100644 index 3e9c9cfdb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TextLabel.php +++ /dev/null @@ -1,133 +0,0 @@ -google.ads.googleads.v15.common.TextLabel - */ -class TextLabel extends \Google\Protobuf\Internal\Message -{ - /** - * Background color of the label in RGB format. This string must match the - * regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - * Note: The background color may not be visible for manager accounts. - * - * Generated from protobuf field optional string background_color = 3; - */ - protected $background_color = null; - /** - * A short description of the label. The length must be no more than 200 - * characters. - * - * Generated from protobuf field optional string description = 4; - */ - protected $description = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $background_color - * Background color of the label in RGB format. This string must match the - * regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - * Note: The background color may not be visible for manager accounts. - * @type string $description - * A short description of the label. The length must be no more than 200 - * characters. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\TextLabel::initOnce(); - parent::__construct($data); - } - - /** - * Background color of the label in RGB format. This string must match the - * regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - * Note: The background color may not be visible for manager accounts. - * - * Generated from protobuf field optional string background_color = 3; - * @return string - */ - public function getBackgroundColor() - { - return isset($this->background_color) ? $this->background_color : ''; - } - - public function hasBackgroundColor() - { - return isset($this->background_color); - } - - public function clearBackgroundColor() - { - unset($this->background_color); - } - - /** - * Background color of the label in RGB format. This string must match the - * regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - * Note: The background color may not be visible for manager accounts. - * - * Generated from protobuf field optional string background_color = 3; - * @param string $var - * @return $this - */ - public function setBackgroundColor($var) - { - GPBUtil::checkString($var, True); - $this->background_color = $var; - - return $this; - } - - /** - * A short description of the label. The length must be no more than 200 - * characters. - * - * Generated from protobuf field optional string description = 4; - * @return string - */ - public function getDescription() - { - return isset($this->description) ? $this->description : ''; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * A short description of the label. The length must be no more than 200 - * characters. - * - * Generated from protobuf field optional string description = 4; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TextMessageFeedItem.php b/src/Google/Ads/GoogleAds/V15/Common/TextMessageFeedItem.php deleted file mode 100644 index 86cfc942f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TextMessageFeedItem.php +++ /dev/null @@ -1,266 +0,0 @@ -google.ads.googleads.v15.common.TextMessageFeedItem - */ -class TextMessageFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The business name to prepend to the message text. - * This field is required. - * - * Generated from protobuf field optional string business_name = 6; - */ - protected $business_name = null; - /** - * Uppercase two-letter country code of the advertiser's phone number. - * This field is required. - * - * Generated from protobuf field optional string country_code = 7; - */ - protected $country_code = null; - /** - * The advertiser's phone number the message will be sent to. Required. - * - * Generated from protobuf field optional string phone_number = 8; - */ - protected $phone_number = null; - /** - * The text to show in the ad. - * This field is required. - * - * Generated from protobuf field optional string text = 9; - */ - protected $text = null; - /** - * The message extension_text populated in the messaging app. - * - * Generated from protobuf field optional string extension_text = 10; - */ - protected $extension_text = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $business_name - * The business name to prepend to the message text. - * This field is required. - * @type string $country_code - * Uppercase two-letter country code of the advertiser's phone number. - * This field is required. - * @type string $phone_number - * The advertiser's phone number the message will be sent to. Required. - * @type string $text - * The text to show in the ad. - * This field is required. - * @type string $extension_text - * The message extension_text populated in the messaging app. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Extensions::initOnce(); - parent::__construct($data); - } - - /** - * The business name to prepend to the message text. - * This field is required. - * - * Generated from protobuf field optional string business_name = 6; - * @return string - */ - public function getBusinessName() - { - return isset($this->business_name) ? $this->business_name : ''; - } - - public function hasBusinessName() - { - return isset($this->business_name); - } - - public function clearBusinessName() - { - unset($this->business_name); - } - - /** - * The business name to prepend to the message text. - * This field is required. - * - * Generated from protobuf field optional string business_name = 6; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - - /** - * Uppercase two-letter country code of the advertiser's phone number. - * This field is required. - * - * Generated from protobuf field optional string country_code = 7; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Uppercase two-letter country code of the advertiser's phone number. - * This field is required. - * - * Generated from protobuf field optional string country_code = 7; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * The advertiser's phone number the message will be sent to. Required. - * - * Generated from protobuf field optional string phone_number = 8; - * @return string - */ - public function getPhoneNumber() - { - return isset($this->phone_number) ? $this->phone_number : ''; - } - - public function hasPhoneNumber() - { - return isset($this->phone_number); - } - - public function clearPhoneNumber() - { - unset($this->phone_number); - } - - /** - * The advertiser's phone number the message will be sent to. Required. - * - * Generated from protobuf field optional string phone_number = 8; - * @param string $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->phone_number = $var; - - return $this; - } - - /** - * The text to show in the ad. - * This field is required. - * - * Generated from protobuf field optional string text = 9; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * The text to show in the ad. - * This field is required. - * - * Generated from protobuf field optional string text = 9; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The message extension_text populated in the messaging app. - * - * Generated from protobuf field optional string extension_text = 10; - * @return string - */ - public function getExtensionText() - { - return isset($this->extension_text) ? $this->extension_text : ''; - } - - public function hasExtensionText() - { - return isset($this->extension_text); - } - - public function clearExtensionText() - { - unset($this->extension_text); - } - - /** - * The message extension_text populated in the messaging app. - * - * Generated from protobuf field optional string extension_text = 10; - * @param string $var - * @return $this - */ - public function setExtensionText($var) - { - GPBUtil::checkString($var, True); - $this->extension_text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TopicInfo.php b/src/Google/Ads/GoogleAds/V15/Common/TopicInfo.php deleted file mode 100644 index 372bc74b3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TopicInfo.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.common.TopicInfo - */ -class TopicInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The Topic Constant resource name. - * - * Generated from protobuf field optional string topic_constant = 3 [(.google.api.resource_reference) = { - */ - protected $topic_constant = null; - /** - * The category to target or exclude. Each subsequent element in the array - * describes a more specific sub-category. For example, - * "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - * category. - * - * Generated from protobuf field repeated string path = 4; - */ - private $path; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $topic_constant - * The Topic Constant resource name. - * @type array|\Google\Protobuf\Internal\RepeatedField $path - * The category to target or exclude. Each subsequent element in the array - * describes a more specific sub-category. For example, - * "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - * category. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The Topic Constant resource name. - * - * Generated from protobuf field optional string topic_constant = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getTopicConstant() - { - return isset($this->topic_constant) ? $this->topic_constant : ''; - } - - public function hasTopicConstant() - { - return isset($this->topic_constant); - } - - public function clearTopicConstant() - { - unset($this->topic_constant); - } - - /** - * The Topic Constant resource name. - * - * Generated from protobuf field optional string topic_constant = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTopicConstant($var) - { - GPBUtil::checkString($var, True); - $this->topic_constant = $var; - - return $this; - } - - /** - * The category to target or exclude. Each subsequent element in the array - * describes a more specific sub-category. For example, - * "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - * category. - * - * Generated from protobuf field repeated string path = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPath() - { - return $this->path; - } - - /** - * The category to target or exclude. Each subsequent element in the array - * describes a more specific sub-category. For example, - * "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - * category. - * - * Generated from protobuf field repeated string path = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPath($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->path = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TransactionAttribute.php b/src/Google/Ads/GoogleAds/V15/Common/TransactionAttribute.php deleted file mode 100644 index 29c5584ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TransactionAttribute.php +++ /dev/null @@ -1,433 +0,0 @@ -google.ads.googleads.v15.common.TransactionAttribute - */ -class TransactionAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * Timestamp when transaction occurred. Required. - * The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" - * - * Generated from protobuf field optional string transaction_date_time = 8; - */ - protected $transaction_date_time = null; - /** - * Transaction amount in micros. Required. - * Transaction amount in micros needs to be greater than 1000. - * If item Attributes are provided, it represents the total value of the - * items, after multiplying the unit price per item by the quantity provided - * in the ItemAttributes. - * - * Generated from protobuf field optional double transaction_amount_micros = 9; - */ - protected $transaction_amount_micros = null; - /** - * Transaction currency code. ISO 4217 three-letter code is used. Required. - * - * Generated from protobuf field optional string currency_code = 10; - */ - protected $currency_code = null; - /** - * The resource name of conversion action to report conversions to. - * Required. - * - * Generated from protobuf field optional string conversion_action = 11; - */ - protected $conversion_action = null; - /** - * Transaction order id. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string order_id = 12; - */ - protected $order_id = null; - /** - * Store attributes of the transaction. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StoreAttribute store_attribute = 6; - */ - protected $store_attribute = null; - /** - * Value of the custom variable for each transaction. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string custom_value = 13; - */ - protected $custom_value = null; - /** - * Item attributes of the transaction. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ItemAttribute item_attribute = 14; - */ - protected $item_attribute = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $transaction_date_time - * Timestamp when transaction occurred. Required. - * The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" - * @type float $transaction_amount_micros - * Transaction amount in micros. Required. - * Transaction amount in micros needs to be greater than 1000. - * If item Attributes are provided, it represents the total value of the - * items, after multiplying the unit price per item by the quantity provided - * in the ItemAttributes. - * @type string $currency_code - * Transaction currency code. ISO 4217 three-letter code is used. Required. - * @type string $conversion_action - * The resource name of conversion action to report conversions to. - * Required. - * @type string $order_id - * Transaction order id. - * Accessible only to customers on the allow-list. - * @type \Google\Ads\GoogleAds\V15\Common\StoreAttribute $store_attribute - * Store attributes of the transaction. - * Accessible only to customers on the allow-list. - * @type string $custom_value - * Value of the custom variable for each transaction. - * Accessible only to customers on the allow-list. - * @type \Google\Ads\GoogleAds\V15\Common\ItemAttribute $item_attribute - * Item attributes of the transaction. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * Timestamp when transaction occurred. Required. - * The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" - * - * Generated from protobuf field optional string transaction_date_time = 8; - * @return string - */ - public function getTransactionDateTime() - { - return isset($this->transaction_date_time) ? $this->transaction_date_time : ''; - } - - public function hasTransactionDateTime() - { - return isset($this->transaction_date_time); - } - - public function clearTransactionDateTime() - { - unset($this->transaction_date_time); - } - - /** - * Timestamp when transaction occurred. Required. - * The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" - * - * Generated from protobuf field optional string transaction_date_time = 8; - * @param string $var - * @return $this - */ - public function setTransactionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->transaction_date_time = $var; - - return $this; - } - - /** - * Transaction amount in micros. Required. - * Transaction amount in micros needs to be greater than 1000. - * If item Attributes are provided, it represents the total value of the - * items, after multiplying the unit price per item by the quantity provided - * in the ItemAttributes. - * - * Generated from protobuf field optional double transaction_amount_micros = 9; - * @return float - */ - public function getTransactionAmountMicros() - { - return isset($this->transaction_amount_micros) ? $this->transaction_amount_micros : 0.0; - } - - public function hasTransactionAmountMicros() - { - return isset($this->transaction_amount_micros); - } - - public function clearTransactionAmountMicros() - { - unset($this->transaction_amount_micros); - } - - /** - * Transaction amount in micros. Required. - * Transaction amount in micros needs to be greater than 1000. - * If item Attributes are provided, it represents the total value of the - * items, after multiplying the unit price per item by the quantity provided - * in the ItemAttributes. - * - * Generated from protobuf field optional double transaction_amount_micros = 9; - * @param float $var - * @return $this - */ - public function setTransactionAmountMicros($var) - { - GPBUtil::checkDouble($var); - $this->transaction_amount_micros = $var; - - return $this; - } - - /** - * Transaction currency code. ISO 4217 three-letter code is used. Required. - * - * Generated from protobuf field optional string currency_code = 10; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * Transaction currency code. ISO 4217 three-letter code is used. Required. - * - * Generated from protobuf field optional string currency_code = 10; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * The resource name of conversion action to report conversions to. - * Required. - * - * Generated from protobuf field optional string conversion_action = 11; - * @return string - */ - public function getConversionAction() - { - return isset($this->conversion_action) ? $this->conversion_action : ''; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * The resource name of conversion action to report conversions to. - * Required. - * - * Generated from protobuf field optional string conversion_action = 11; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * Transaction order id. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string order_id = 12; - * @return string - */ - public function getOrderId() - { - return isset($this->order_id) ? $this->order_id : ''; - } - - public function hasOrderId() - { - return isset($this->order_id); - } - - public function clearOrderId() - { - unset($this->order_id); - } - - /** - * Transaction order id. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string order_id = 12; - * @param string $var - * @return $this - */ - public function setOrderId($var) - { - GPBUtil::checkString($var, True); - $this->order_id = $var; - - return $this; - } - - /** - * Store attributes of the transaction. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StoreAttribute store_attribute = 6; - * @return \Google\Ads\GoogleAds\V15\Common\StoreAttribute|null - */ - public function getStoreAttribute() - { - return $this->store_attribute; - } - - public function hasStoreAttribute() - { - return isset($this->store_attribute); - } - - public function clearStoreAttribute() - { - unset($this->store_attribute); - } - - /** - * Store attributes of the transaction. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StoreAttribute store_attribute = 6; - * @param \Google\Ads\GoogleAds\V15\Common\StoreAttribute $var - * @return $this - */ - public function setStoreAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\StoreAttribute::class); - $this->store_attribute = $var; - - return $this; - } - - /** - * Value of the custom variable for each transaction. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string custom_value = 13; - * @return string - */ - public function getCustomValue() - { - return isset($this->custom_value) ? $this->custom_value : ''; - } - - public function hasCustomValue() - { - return isset($this->custom_value); - } - - public function clearCustomValue() - { - unset($this->custom_value); - } - - /** - * Value of the custom variable for each transaction. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string custom_value = 13; - * @param string $var - * @return $this - */ - public function setCustomValue($var) - { - GPBUtil::checkString($var, True); - $this->custom_value = $var; - - return $this; - } - - /** - * Item attributes of the transaction. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ItemAttribute item_attribute = 14; - * @return \Google\Ads\GoogleAds\V15\Common\ItemAttribute|null - */ - public function getItemAttribute() - { - return $this->item_attribute; - } - - public function hasItemAttribute() - { - return isset($this->item_attribute); - } - - public function clearItemAttribute() - { - unset($this->item_attribute); - } - - /** - * Item attributes of the transaction. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ItemAttribute item_attribute = 14; - * @param \Google\Ads\GoogleAds\V15\Common\ItemAttribute $var - * @return $this - */ - public function setItemAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ItemAttribute::class); - $this->item_attribute = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/TravelAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/TravelAdInfo.php deleted file mode 100644 index 1489c4ea0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/TravelAdInfo.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.common.TravelAdInfo - */ -class TravelAdInfo extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UnknownListingDimensionInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UnknownListingDimensionInfo.php deleted file mode 100644 index 8f5d8fd02..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UnknownListingDimensionInfo.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.common.UnknownListingDimensionInfo - */ -class UnknownListingDimensionInfo extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UrlCollection.php b/src/Google/Ads/GoogleAds/V15/Common/UrlCollection.php deleted file mode 100644 index 48f3488a5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UrlCollection.php +++ /dev/null @@ -1,189 +0,0 @@ -google.ads.googleads.v15.common.UrlCollection - */ -class UrlCollection extends \Google\Protobuf\Internal\Message -{ - /** - * Unique identifier for this UrlCollection instance. - * - * Generated from protobuf field optional string url_collection_id = 5; - */ - protected $url_collection_id = null; - /** - * A list of possible final URLs. - * - * Generated from protobuf field repeated string final_urls = 6; - */ - private $final_urls; - /** - * A list of possible final mobile URLs. - * - * Generated from protobuf field repeated string final_mobile_urls = 7; - */ - private $final_mobile_urls; - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 8; - */ - protected $tracking_url_template = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $url_collection_id - * Unique identifier for this UrlCollection instance. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * A list of possible final URLs. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * A list of possible final mobile URLs. - * @type string $tracking_url_template - * URL template for constructing a tracking URL. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UrlCollection::initOnce(); - parent::__construct($data); - } - - /** - * Unique identifier for this UrlCollection instance. - * - * Generated from protobuf field optional string url_collection_id = 5; - * @return string - */ - public function getUrlCollectionId() - { - return isset($this->url_collection_id) ? $this->url_collection_id : ''; - } - - public function hasUrlCollectionId() - { - return isset($this->url_collection_id); - } - - public function clearUrlCollectionId() - { - unset($this->url_collection_id); - } - - /** - * Unique identifier for this UrlCollection instance. - * - * Generated from protobuf field optional string url_collection_id = 5; - * @param string $var - * @return $this - */ - public function setUrlCollectionId($var) - { - GPBUtil::checkString($var, True); - $this->url_collection_id = $var; - - return $this; - } - - /** - * A list of possible final URLs. - * - * Generated from protobuf field repeated string final_urls = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * A list of possible final URLs. - * - * Generated from protobuf field repeated string final_urls = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * A list of possible final mobile URLs. - * - * Generated from protobuf field repeated string final_mobile_urls = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * A list of possible final mobile URLs. - * - * Generated from protobuf field repeated string final_mobile_urls = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 8; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 8; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserAttribute.php b/src/Google/Ads/GoogleAds/V15/Common/UserAttribute.php deleted file mode 100644 index 7c3ca7408..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserAttribute.php +++ /dev/null @@ -1,468 +0,0 @@ -google.ads.googleads.v15.common.UserAttribute - */ -class UserAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * Advertiser defined lifetime value for the user. - * - * Generated from protobuf field optional int64 lifetime_value_micros = 1; - */ - protected $lifetime_value_micros = null; - /** - * Advertiser defined lifetime value bucket for the user. The valid range for - * a lifetime value bucket is from 1 (low) to 10 (high), except for remove - * operation where 0 will also be accepted. - * - * Generated from protobuf field optional int32 lifetime_value_bucket = 2; - */ - protected $lifetime_value_bucket = null; - /** - * Timestamp of the last purchase made by the user. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string last_purchase_date_time = 3; - */ - protected $last_purchase_date_time = ''; - /** - * Advertiser defined average number of purchases that are made by the user in - * a 30 day period. - * - * Generated from protobuf field int32 average_purchase_count = 4; - */ - protected $average_purchase_count = 0; - /** - * Advertiser defined average purchase value in micros for the user. - * - * Generated from protobuf field int64 average_purchase_value_micros = 5; - */ - protected $average_purchase_value_micros = 0; - /** - * Timestamp when the user was acquired. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string acquisition_date_time = 6; - */ - protected $acquisition_date_time = ''; - /** - * The shopping loyalty related data. Shopping utilizes this data to provide - * users with a better experience. Accessible only to merchants on the - * allow-list with the user's consent. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.ShoppingLoyalty shopping_loyalty = 7; - */ - protected $shopping_loyalty = null; - /** - * Optional. Advertiser defined lifecycle stage for the user. The accepted - * values are "Lead", "Active" and "Churned". - * - * Generated from protobuf field string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $lifecycle_stage = ''; - /** - * Optional. Timestamp of the first purchase made by the user. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $first_purchase_date_time = ''; - /** - * Optional. Advertiser defined events and their attributes. All the values in - * the nested fields are required. Currently this field is in beta. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $event_attribute; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $lifetime_value_micros - * Advertiser defined lifetime value for the user. - * @type int $lifetime_value_bucket - * Advertiser defined lifetime value bucket for the user. The valid range for - * a lifetime value bucket is from 1 (low) to 10 (high), except for remove - * operation where 0 will also be accepted. - * @type string $last_purchase_date_time - * Timestamp of the last purchase made by the user. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * @type int $average_purchase_count - * Advertiser defined average number of purchases that are made by the user in - * a 30 day period. - * @type int|string $average_purchase_value_micros - * Advertiser defined average purchase value in micros for the user. - * @type string $acquisition_date_time - * Timestamp when the user was acquired. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * @type \Google\Ads\GoogleAds\V15\Common\ShoppingLoyalty $shopping_loyalty - * The shopping loyalty related data. Shopping utilizes this data to provide - * users with a better experience. Accessible only to merchants on the - * allow-list with the user's consent. - * @type string $lifecycle_stage - * Optional. Advertiser defined lifecycle stage for the user. The accepted - * values are "Lead", "Active" and "Churned". - * @type string $first_purchase_date_time - * Optional. Timestamp of the first purchase made by the user. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * @type array<\Google\Ads\GoogleAds\V15\Common\EventAttribute>|\Google\Protobuf\Internal\RepeatedField $event_attribute - * Optional. Advertiser defined events and their attributes. All the values in - * the nested fields are required. Currently this field is in beta. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * Advertiser defined lifetime value for the user. - * - * Generated from protobuf field optional int64 lifetime_value_micros = 1; - * @return int|string - */ - public function getLifetimeValueMicros() - { - return isset($this->lifetime_value_micros) ? $this->lifetime_value_micros : 0; - } - - public function hasLifetimeValueMicros() - { - return isset($this->lifetime_value_micros); - } - - public function clearLifetimeValueMicros() - { - unset($this->lifetime_value_micros); - } - - /** - * Advertiser defined lifetime value for the user. - * - * Generated from protobuf field optional int64 lifetime_value_micros = 1; - * @param int|string $var - * @return $this - */ - public function setLifetimeValueMicros($var) - { - GPBUtil::checkInt64($var); - $this->lifetime_value_micros = $var; - - return $this; - } - - /** - * Advertiser defined lifetime value bucket for the user. The valid range for - * a lifetime value bucket is from 1 (low) to 10 (high), except for remove - * operation where 0 will also be accepted. - * - * Generated from protobuf field optional int32 lifetime_value_bucket = 2; - * @return int - */ - public function getLifetimeValueBucket() - { - return isset($this->lifetime_value_bucket) ? $this->lifetime_value_bucket : 0; - } - - public function hasLifetimeValueBucket() - { - return isset($this->lifetime_value_bucket); - } - - public function clearLifetimeValueBucket() - { - unset($this->lifetime_value_bucket); - } - - /** - * Advertiser defined lifetime value bucket for the user. The valid range for - * a lifetime value bucket is from 1 (low) to 10 (high), except for remove - * operation where 0 will also be accepted. - * - * Generated from protobuf field optional int32 lifetime_value_bucket = 2; - * @param int $var - * @return $this - */ - public function setLifetimeValueBucket($var) - { - GPBUtil::checkInt32($var); - $this->lifetime_value_bucket = $var; - - return $this; - } - - /** - * Timestamp of the last purchase made by the user. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string last_purchase_date_time = 3; - * @return string - */ - public function getLastPurchaseDateTime() - { - return $this->last_purchase_date_time; - } - - /** - * Timestamp of the last purchase made by the user. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string last_purchase_date_time = 3; - * @param string $var - * @return $this - */ - public function setLastPurchaseDateTime($var) - { - GPBUtil::checkString($var, True); - $this->last_purchase_date_time = $var; - - return $this; - } - - /** - * Advertiser defined average number of purchases that are made by the user in - * a 30 day period. - * - * Generated from protobuf field int32 average_purchase_count = 4; - * @return int - */ - public function getAveragePurchaseCount() - { - return $this->average_purchase_count; - } - - /** - * Advertiser defined average number of purchases that are made by the user in - * a 30 day period. - * - * Generated from protobuf field int32 average_purchase_count = 4; - * @param int $var - * @return $this - */ - public function setAveragePurchaseCount($var) - { - GPBUtil::checkInt32($var); - $this->average_purchase_count = $var; - - return $this; - } - - /** - * Advertiser defined average purchase value in micros for the user. - * - * Generated from protobuf field int64 average_purchase_value_micros = 5; - * @return int|string - */ - public function getAveragePurchaseValueMicros() - { - return $this->average_purchase_value_micros; - } - - /** - * Advertiser defined average purchase value in micros for the user. - * - * Generated from protobuf field int64 average_purchase_value_micros = 5; - * @param int|string $var - * @return $this - */ - public function setAveragePurchaseValueMicros($var) - { - GPBUtil::checkInt64($var); - $this->average_purchase_value_micros = $var; - - return $this; - } - - /** - * Timestamp when the user was acquired. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string acquisition_date_time = 6; - * @return string - */ - public function getAcquisitionDateTime() - { - return $this->acquisition_date_time; - } - - /** - * Timestamp when the user was acquired. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string acquisition_date_time = 6; - * @param string $var - * @return $this - */ - public function setAcquisitionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->acquisition_date_time = $var; - - return $this; - } - - /** - * The shopping loyalty related data. Shopping utilizes this data to provide - * users with a better experience. Accessible only to merchants on the - * allow-list with the user's consent. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.ShoppingLoyalty shopping_loyalty = 7; - * @return \Google\Ads\GoogleAds\V15\Common\ShoppingLoyalty|null - */ - public function getShoppingLoyalty() - { - return $this->shopping_loyalty; - } - - public function hasShoppingLoyalty() - { - return isset($this->shopping_loyalty); - } - - public function clearShoppingLoyalty() - { - unset($this->shopping_loyalty); - } - - /** - * The shopping loyalty related data. Shopping utilizes this data to provide - * users with a better experience. Accessible only to merchants on the - * allow-list with the user's consent. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.ShoppingLoyalty shopping_loyalty = 7; - * @param \Google\Ads\GoogleAds\V15\Common\ShoppingLoyalty $var - * @return $this - */ - public function setShoppingLoyalty($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ShoppingLoyalty::class); - $this->shopping_loyalty = $var; - - return $this; - } - - /** - * Optional. Advertiser defined lifecycle stage for the user. The accepted - * values are "Lead", "Active" and "Churned". - * - * Generated from protobuf field string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getLifecycleStage() - { - return $this->lifecycle_stage; - } - - /** - * Optional. Advertiser defined lifecycle stage for the user. The accepted - * values are "Lead", "Active" and "Churned". - * - * Generated from protobuf field string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setLifecycleStage($var) - { - GPBUtil::checkString($var, True); - $this->lifecycle_stage = $var; - - return $this; - } - - /** - * Optional. Timestamp of the first purchase made by the user. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getFirstPurchaseDateTime() - { - return $this->first_purchase_date_time; - } - - /** - * Optional. Timestamp of the first purchase made by the user. - * The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - * optional timezone offset from UTC. If the offset is absent, the API will - * use the account's timezone as default. - * - * Generated from protobuf field string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setFirstPurchaseDateTime($var) - { - GPBUtil::checkString($var, True); - $this->first_purchase_date_time = $var; - - return $this; - } - - /** - * Optional. Advertiser defined events and their attributes. All the values in - * the nested fields are required. Currently this field is in beta. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEventAttribute() - { - return $this->event_attribute; - } - - /** - * Optional. Advertiser defined events and their attributes. All the values in - * the nested fields are required. Currently this field is in beta. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Ads\GoogleAds\V15\Common\EventAttribute>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEventAttribute($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\EventAttribute::class); - $this->event_attribute = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserData.php b/src/Google/Ads/GoogleAds/V15/Common/UserData.php deleted file mode 100644 index b7d4a66de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserData.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.common.UserData - */ -class UserData extends \Google\Protobuf\Internal\Message -{ - /** - * User identification info. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 1; - */ - private $user_identifiers; - /** - * Additional transactions/attributes associated with the user. - * Required when updating store sales data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TransactionAttribute transaction_attribute = 2; - */ - protected $transaction_attribute = null; - /** - * Additional attributes associated with the user. Required when updating - * customer match attributes. These have an expiration of 540 days. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserAttribute user_attribute = 3; - */ - protected $user_attribute = null; - /** - * The consent setting for the user. Customer match will ignore this field - * and return a warning. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.Consent consent = 4; - */ - protected $consent = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\UserIdentifier>|\Google\Protobuf\Internal\RepeatedField $user_identifiers - * User identification info. Required. - * @type \Google\Ads\GoogleAds\V15\Common\TransactionAttribute $transaction_attribute - * Additional transactions/attributes associated with the user. - * Required when updating store sales data. - * @type \Google\Ads\GoogleAds\V15\Common\UserAttribute $user_attribute - * Additional attributes associated with the user. Required when updating - * customer match attributes. These have an expiration of 540 days. - * @type \Google\Ads\GoogleAds\V15\Common\Consent $consent - * The consent setting for the user. Customer match will ignore this field - * and return a warning. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * User identification info. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserIdentifiers() - { - return $this->user_identifiers; - } - - /** - * User identification info. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserIdentifier>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserIdentifiers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserIdentifier::class); - $this->user_identifiers = $arr; - - return $this; - } - - /** - * Additional transactions/attributes associated with the user. - * Required when updating store sales data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TransactionAttribute transaction_attribute = 2; - * @return \Google\Ads\GoogleAds\V15\Common\TransactionAttribute|null - */ - public function getTransactionAttribute() - { - return $this->transaction_attribute; - } - - public function hasTransactionAttribute() - { - return isset($this->transaction_attribute); - } - - public function clearTransactionAttribute() - { - unset($this->transaction_attribute); - } - - /** - * Additional transactions/attributes associated with the user. - * Required when updating store sales data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TransactionAttribute transaction_attribute = 2; - * @param \Google\Ads\GoogleAds\V15\Common\TransactionAttribute $var - * @return $this - */ - public function setTransactionAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TransactionAttribute::class); - $this->transaction_attribute = $var; - - return $this; - } - - /** - * Additional attributes associated with the user. Required when updating - * customer match attributes. These have an expiration of 540 days. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserAttribute user_attribute = 3; - * @return \Google\Ads\GoogleAds\V15\Common\UserAttribute|null - */ - public function getUserAttribute() - { - return $this->user_attribute; - } - - public function hasUserAttribute() - { - return isset($this->user_attribute); - } - - public function clearUserAttribute() - { - unset($this->user_attribute); - } - - /** - * Additional attributes associated with the user. Required when updating - * customer match attributes. These have an expiration of 540 days. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserAttribute user_attribute = 3; - * @param \Google\Ads\GoogleAds\V15\Common\UserAttribute $var - * @return $this - */ - public function setUserAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserAttribute::class); - $this->user_attribute = $var; - - return $this; - } - - /** - * The consent setting for the user. Customer match will ignore this field - * and return a warning. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.Consent consent = 4; - * @return \Google\Ads\GoogleAds\V15\Common\Consent|null - */ - public function getConsent() - { - return $this->consent; - } - - public function hasConsent() - { - return isset($this->consent); - } - - public function clearConsent() - { - unset($this->consent); - } - - /** - * The consent setting for the user. Customer match will ignore this field - * and return a warning. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.Consent consent = 4; - * @param \Google\Ads\GoogleAds\V15\Common\Consent $var - * @return $this - */ - public function setConsent($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Consent::class); - $this->consent = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserIdentifier.php b/src/Google/Ads/GoogleAds/V15/Common/UserIdentifier.php deleted file mode 100644 index 6f89b0b64..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserIdentifier.php +++ /dev/null @@ -1,266 +0,0 @@ -google.ads.googleads.v15.common.UserIdentifier - */ -class UserIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Source of the user identifier when the upload is from Store Sales, - * ConversionUploadService, or ConversionAdjustmentUploadService. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; - */ - protected $user_identifier_source = 0; - protected $identifier; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $user_identifier_source - * Source of the user identifier when the upload is from Store Sales, - * ConversionUploadService, or ConversionAdjustmentUploadService. - * @type string $hashed_email - * Hashed email address using SHA-256 hash function after normalization. - * Accepted for Customer Match, Store Sales, ConversionUploadService, and - * ConversionAdjustmentUploadService. - * @type string $hashed_phone_number - * Hashed phone number using SHA-256 hash function after normalization - * (E164 standard). Accepted for Customer Match, Store Sales, - * ConversionUploadService, and ConversionAdjustmentUploadService. - * @type string $mobile_id - * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. - * @type string $third_party_user_id - * Advertiser-assigned user ID for Customer Match upload, or - * third-party-assigned user ID for Store Sales. Accepted only for Customer - * Match and Store Sales. - * @type \Google\Ads\GoogleAds\V15\Common\OfflineUserAddressInfo $address_info - * Address information. Accepted only for Customer Match, Store Sales, and - * ConversionAdjustmentUploadService. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\OfflineUserData::initOnce(); - parent::__construct($data); - } - - /** - * Source of the user identifier when the upload is from Store Sales, - * ConversionUploadService, or ConversionAdjustmentUploadService. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; - * @return int - */ - public function getUserIdentifierSource() - { - return $this->user_identifier_source; - } - - /** - * Source of the user identifier when the upload is from Store Sales, - * ConversionUploadService, or ConversionAdjustmentUploadService. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; - * @param int $var - * @return $this - */ - public function setUserIdentifierSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserIdentifierSourceEnum\UserIdentifierSource::class); - $this->user_identifier_source = $var; - - return $this; - } - - /** - * Hashed email address using SHA-256 hash function after normalization. - * Accepted for Customer Match, Store Sales, ConversionUploadService, and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field string hashed_email = 7; - * @return string - */ - public function getHashedEmail() - { - return $this->readOneof(7); - } - - public function hasHashedEmail() - { - return $this->hasOneof(7); - } - - /** - * Hashed email address using SHA-256 hash function after normalization. - * Accepted for Customer Match, Store Sales, ConversionUploadService, and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field string hashed_email = 7; - * @param string $var - * @return $this - */ - public function setHashedEmail($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Hashed phone number using SHA-256 hash function after normalization - * (E164 standard). Accepted for Customer Match, Store Sales, - * ConversionUploadService, and ConversionAdjustmentUploadService. - * - * Generated from protobuf field string hashed_phone_number = 8; - * @return string - */ - public function getHashedPhoneNumber() - { - return $this->readOneof(8); - } - - public function hasHashedPhoneNumber() - { - return $this->hasOneof(8); - } - - /** - * Hashed phone number using SHA-256 hash function after normalization - * (E164 standard). Accepted for Customer Match, Store Sales, - * ConversionUploadService, and ConversionAdjustmentUploadService. - * - * Generated from protobuf field string hashed_phone_number = 8; - * @param string $var - * @return $this - */ - public function setHashedPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. - * - * Generated from protobuf field string mobile_id = 9; - * @return string - */ - public function getMobileId() - { - return $this->readOneof(9); - } - - public function hasMobileId() - { - return $this->hasOneof(9); - } - - /** - * Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. - * - * Generated from protobuf field string mobile_id = 9; - * @param string $var - * @return $this - */ - public function setMobileId($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Advertiser-assigned user ID for Customer Match upload, or - * third-party-assigned user ID for Store Sales. Accepted only for Customer - * Match and Store Sales. - * - * Generated from protobuf field string third_party_user_id = 10; - * @return string - */ - public function getThirdPartyUserId() - { - return $this->readOneof(10); - } - - public function hasThirdPartyUserId() - { - return $this->hasOneof(10); - } - - /** - * Advertiser-assigned user ID for Customer Match upload, or - * third-party-assigned user ID for Store Sales. Accepted only for Customer - * Match and Store Sales. - * - * Generated from protobuf field string third_party_user_id = 10; - * @param string $var - * @return $this - */ - public function setThirdPartyUserId($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Address information. Accepted only for Customer Match, Store Sales, and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field .google.ads.googleads.v15.common.OfflineUserAddressInfo address_info = 5; - * @return \Google\Ads\GoogleAds\V15\Common\OfflineUserAddressInfo|null - */ - public function getAddressInfo() - { - return $this->readOneof(5); - } - - public function hasAddressInfo() - { - return $this->hasOneof(5); - } - - /** - * Address information. Accepted only for Customer Match, Store Sales, and - * ConversionAdjustmentUploadService. - * - * Generated from protobuf field .google.ads.googleads.v15.common.OfflineUserAddressInfo address_info = 5; - * @param \Google\Ads\GoogleAds\V15\Common\OfflineUserAddressInfo $var - * @return $this - */ - public function setAddressInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\OfflineUserAddressInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getIdentifier() - { - return $this->whichOneof("identifier"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserInterestInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserInterestInfo.php deleted file mode 100644 index b3e934f83..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserInterestInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.UserInterestInfo - */ -class UserInterestInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The UserInterest resource name. - * - * Generated from protobuf field optional string user_interest_category = 2; - */ - protected $user_interest_category = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $user_interest_category - * The UserInterest resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The UserInterest resource name. - * - * Generated from protobuf field optional string user_interest_category = 2; - * @return string - */ - public function getUserInterestCategory() - { - return isset($this->user_interest_category) ? $this->user_interest_category : ''; - } - - public function hasUserInterestCategory() - { - return isset($this->user_interest_category); - } - - public function clearUserInterestCategory() - { - unset($this->user_interest_category); - } - - /** - * The UserInterest resource name. - * - * Generated from protobuf field optional string user_interest_category = 2; - * @param string $var - * @return $this - */ - public function setUserInterestCategory($var) - { - GPBUtil::checkString($var, True); - $this->user_interest_category = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserInterestSegment.php b/src/Google/Ads/GoogleAds/V15/Common/UserInterestSegment.php deleted file mode 100644 index 9a8397427..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserInterestSegment.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.UserInterestSegment - */ -class UserInterestSegment extends \Google\Protobuf\Internal\Message -{ - /** - * The user interest resource. - * - * Generated from protobuf field optional string user_interest_category = 1; - */ - protected $user_interest_category = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $user_interest_category - * The user interest resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * The user interest resource. - * - * Generated from protobuf field optional string user_interest_category = 1; - * @return string - */ - public function getUserInterestCategory() - { - return isset($this->user_interest_category) ? $this->user_interest_category : ''; - } - - public function hasUserInterestCategory() - { - return isset($this->user_interest_category); - } - - public function clearUserInterestCategory() - { - unset($this->user_interest_category); - } - - /** - * The user interest resource. - * - * Generated from protobuf field optional string user_interest_category = 1; - * @param string $var - * @return $this - */ - public function setUserInterestCategory($var) - { - GPBUtil::checkString($var, True); - $this->user_interest_category = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListActionInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListActionInfo.php deleted file mode 100644 index a2ad43586..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListActionInfo.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.common.UserListActionInfo - */ -class UserListActionInfo extends \Google\Protobuf\Internal\Message -{ - protected $user_list_action; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $conversion_action - * A conversion action that's not generated from remarketing. - * @type string $remarketing_action - * A remarketing action. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * A conversion action that's not generated from remarketing. - * - * Generated from protobuf field string conversion_action = 3; - * @return string - */ - public function getConversionAction() - { - return $this->readOneof(3); - } - - public function hasConversionAction() - { - return $this->hasOneof(3); - } - - /** - * A conversion action that's not generated from remarketing. - * - * Generated from protobuf field string conversion_action = 3; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A remarketing action. - * - * Generated from protobuf field string remarketing_action = 4; - * @return string - */ - public function getRemarketingAction() - { - return $this->readOneof(4); - } - - public function hasRemarketingAction() - { - return $this->hasOneof(4); - } - - /** - * A remarketing action. - * - * Generated from protobuf field string remarketing_action = 4; - * @param string $var - * @return $this - */ - public function setRemarketingAction($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getUserListAction() - { - return $this->whichOneof("user_list_action"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListDateRuleItemInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListDateRuleItemInfo.php deleted file mode 100644 index f3c306d61..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListDateRuleItemInfo.php +++ /dev/null @@ -1,179 +0,0 @@ -google.ads.googleads.v15.common.UserListDateRuleItemInfo - */ -class UserListDateRuleItemInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Date comparison operator. - * This field is required and must be populated when creating new date - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1; - */ - protected $operator = 0; - /** - * String representing date value to be compared with the rule variable. - * Supported date format is YYYY-MM-DD. - * Times are reported in the customer's time zone. - * - * Generated from protobuf field optional string value = 4; - */ - protected $value = null; - /** - * The relative date value of the right hand side denoted by number of days - * offset from now. The value field will override this field when both are - * present. - * - * Generated from protobuf field optional int64 offset_in_days = 5; - */ - protected $offset_in_days = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operator - * Date comparison operator. - * This field is required and must be populated when creating new date - * rule item. - * @type string $value - * String representing date value to be compared with the rule variable. - * Supported date format is YYYY-MM-DD. - * Times are reported in the customer's time zone. - * @type int|string $offset_in_days - * The relative date value of the right hand side denoted by number of days - * offset from now. The value field will override this field when both are - * present. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Date comparison operator. - * This field is required and must be populated when creating new date - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1; - * @return int - */ - public function getOperator() - { - return $this->operator; - } - - /** - * Date comparison operator. - * This field is required and must be populated when creating new date - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1; - * @param int $var - * @return $this - */ - public function setOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListDateRuleItemOperatorEnum\UserListDateRuleItemOperator::class); - $this->operator = $var; - - return $this; - } - - /** - * String representing date value to be compared with the rule variable. - * Supported date format is YYYY-MM-DD. - * Times are reported in the customer's time zone. - * - * Generated from protobuf field optional string value = 4; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String representing date value to be compared with the rule variable. - * Supported date format is YYYY-MM-DD. - * Times are reported in the customer's time zone. - * - * Generated from protobuf field optional string value = 4; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - - /** - * The relative date value of the right hand side denoted by number of days - * offset from now. The value field will override this field when both are - * present. - * - * Generated from protobuf field optional int64 offset_in_days = 5; - * @return int|string - */ - public function getOffsetInDays() - { - return isset($this->offset_in_days) ? $this->offset_in_days : 0; - } - - public function hasOffsetInDays() - { - return isset($this->offset_in_days); - } - - public function clearOffsetInDays() - { - unset($this->offset_in_days); - } - - /** - * The relative date value of the right hand side denoted by number of days - * offset from now. The value field will override this field when both are - * present. - * - * Generated from protobuf field optional int64 offset_in_days = 5; - * @param int|string $var - * @return $this - */ - public function setOffsetInDays($var) - { - GPBUtil::checkInt64($var); - $this->offset_in_days = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListInfo.php deleted file mode 100644 index 82e55fa62..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListInfo.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.common.UserListInfo - */ -class UserListInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The User List resource name. - * - * Generated from protobuf field optional string user_list = 2; - */ - protected $user_list = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $user_list - * The User List resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The User List resource name. - * - * Generated from protobuf field optional string user_list = 2; - * @return string - */ - public function getUserList() - { - return isset($this->user_list) ? $this->user_list : ''; - } - - public function hasUserList() - { - return isset($this->user_list); - } - - public function clearUserList() - { - unset($this->user_list); - } - - /** - * The User List resource name. - * - * Generated from protobuf field optional string user_list = 2; - * @param string $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkString($var, True); - $this->user_list = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListLogicalRuleInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListLogicalRuleInfo.php deleted file mode 100644 index a515b2280..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListLogicalRuleInfo.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.common.UserListLogicalRuleInfo - */ -class UserListLogicalRuleInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The logical operator of the rule. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator operator = 1; - */ - protected $operator = 0; - /** - * The list of operands of the rule. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LogicalUserListOperandInfo rule_operands = 2; - */ - private $rule_operands; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operator - * The logical operator of the rule. - * @type array<\Google\Ads\GoogleAds\V15\Common\LogicalUserListOperandInfo>|\Google\Protobuf\Internal\RepeatedField $rule_operands - * The list of operands of the rule. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * The logical operator of the rule. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator operator = 1; - * @return int - */ - public function getOperator() - { - return $this->operator; - } - - /** - * The logical operator of the rule. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator operator = 1; - * @param int $var - * @return $this - */ - public function setOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListLogicalRuleOperatorEnum\UserListLogicalRuleOperator::class); - $this->operator = $var; - - return $this; - } - - /** - * The list of operands of the rule. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LogicalUserListOperandInfo rule_operands = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRuleOperands() - { - return $this->rule_operands; - } - - /** - * The list of operands of the rule. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LogicalUserListOperandInfo rule_operands = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\LogicalUserListOperandInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRuleOperands($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LogicalUserListOperandInfo::class); - $this->rule_operands = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListNumberRuleItemInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListNumberRuleItemInfo.php deleted file mode 100644 index 68df5b65b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListNumberRuleItemInfo.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.common.UserListNumberRuleItemInfo - */ -class UserListNumberRuleItemInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Number comparison operator. - * This field is required and must be populated when creating a new number - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator operator = 1; - */ - protected $operator = 0; - /** - * Number value to be compared with the variable. - * This field is required and must be populated when creating a new number - * rule item. - * - * Generated from protobuf field optional double value = 3; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operator - * Number comparison operator. - * This field is required and must be populated when creating a new number - * rule item. - * @type float $value - * Number value to be compared with the variable. - * This field is required and must be populated when creating a new number - * rule item. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Number comparison operator. - * This field is required and must be populated when creating a new number - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator operator = 1; - * @return int - */ - public function getOperator() - { - return $this->operator; - } - - /** - * Number comparison operator. - * This field is required and must be populated when creating a new number - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator operator = 1; - * @param int $var - * @return $this - */ - public function setOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListNumberRuleItemOperatorEnum\UserListNumberRuleItemOperator::class); - $this->operator = $var; - - return $this; - } - - /** - * Number value to be compared with the variable. - * This field is required and must be populated when creating a new number - * rule item. - * - * Generated from protobuf field optional double value = 3; - * @return float - */ - public function getValue() - { - return isset($this->value) ? $this->value : 0.0; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Number value to be compared with the variable. - * This field is required and must be populated when creating a new number - * rule item. - * - * Generated from protobuf field optional double value = 3; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkDouble($var); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListRuleInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListRuleInfo.php deleted file mode 100644 index a0dea352c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListRuleInfo.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.common.UserListRuleInfo - */ -class UserListRuleInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Rule type is used to determine how to group rule items. - * The default is OR of ANDs (disjunctive normal form). - * That is, rule items will be ANDed together within rule item groups and the - * groups themselves will be ORed together. - * OR of ANDs is the only supported type for FlexibleRuleUserList. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1; - */ - protected $rule_type = 0; - /** - * List of rule item groups that defines this rule. - * Rule item groups are grouped together based on rule_type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListRuleItemGroupInfo rule_item_groups = 2; - */ - private $rule_item_groups; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $rule_type - * Rule type is used to determine how to group rule items. - * The default is OR of ANDs (disjunctive normal form). - * That is, rule items will be ANDed together within rule item groups and the - * groups themselves will be ORed together. - * OR of ANDs is the only supported type for FlexibleRuleUserList. - * @type array<\Google\Ads\GoogleAds\V15\Common\UserListRuleItemGroupInfo>|\Google\Protobuf\Internal\RepeatedField $rule_item_groups - * List of rule item groups that defines this rule. - * Rule item groups are grouped together based on rule_type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Rule type is used to determine how to group rule items. - * The default is OR of ANDs (disjunctive normal form). - * That is, rule items will be ANDed together within rule item groups and the - * groups themselves will be ORed together. - * OR of ANDs is the only supported type for FlexibleRuleUserList. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1; - * @return int - */ - public function getRuleType() - { - return $this->rule_type; - } - - /** - * Rule type is used to determine how to group rule items. - * The default is OR of ANDs (disjunctive normal form). - * That is, rule items will be ANDed together within rule item groups and the - * groups themselves will be ORed together. - * OR of ANDs is the only supported type for FlexibleRuleUserList. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1; - * @param int $var - * @return $this - */ - public function setRuleType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListRuleTypeEnum\UserListRuleType::class); - $this->rule_type = $var; - - return $this; - } - - /** - * List of rule item groups that defines this rule. - * Rule item groups are grouped together based on rule_type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListRuleItemGroupInfo rule_item_groups = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRuleItemGroups() - { - return $this->rule_item_groups; - } - - /** - * List of rule item groups that defines this rule. - * Rule item groups are grouped together based on rule_type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListRuleItemGroupInfo rule_item_groups = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserListRuleItemGroupInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRuleItemGroups($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserListRuleItemGroupInfo::class); - $this->rule_item_groups = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListRuleItemGroupInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListRuleItemGroupInfo.php deleted file mode 100644 index c464f20e4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListRuleItemGroupInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.UserListRuleItemGroupInfo - */ -class UserListRuleItemGroupInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Rule items that will be grouped together based on rule_type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListRuleItemInfo rule_items = 1; - */ - private $rule_items; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\UserListRuleItemInfo>|\Google\Protobuf\Internal\RepeatedField $rule_items - * Rule items that will be grouped together based on rule_type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Rule items that will be grouped together based on rule_type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListRuleItemInfo rule_items = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRuleItems() - { - return $this->rule_items; - } - - /** - * Rule items that will be grouped together based on rule_type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserListRuleItemInfo rule_items = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserListRuleItemInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRuleItems($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserListRuleItemInfo::class); - $this->rule_items = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListRuleItemInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListRuleItemInfo.php deleted file mode 100644 index 9da19f4e7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListRuleItemInfo.php +++ /dev/null @@ -1,213 +0,0 @@ -google.ads.googleads.v15.common.UserListRuleItemInfo - */ -class UserListRuleItemInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Rule variable name. It should match the corresponding key name fired - * by the pixel. - * A name must begin with US-ascii letters or underscore or UTF8 code that is - * greater than 127 and consist of US-ascii letters or digits or underscore or - * UTF8 code that is greater than 127. - * For websites, there are two built-in variable URL (name = 'url__') and - * referrer URL (name = 'ref_url__'). - * This field must be populated when creating a new rule item. - * - * Generated from protobuf field optional string name = 5; - */ - protected $name = null; - protected $rule_item; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Rule variable name. It should match the corresponding key name fired - * by the pixel. - * A name must begin with US-ascii letters or underscore or UTF8 code that is - * greater than 127 and consist of US-ascii letters or digits or underscore or - * UTF8 code that is greater than 127. - * For websites, there are two built-in variable URL (name = 'url__') and - * referrer URL (name = 'ref_url__'). - * This field must be populated when creating a new rule item. - * @type \Google\Ads\GoogleAds\V15\Common\UserListNumberRuleItemInfo $number_rule_item - * An atomic rule item composed of a number operation. - * @type \Google\Ads\GoogleAds\V15\Common\UserListStringRuleItemInfo $string_rule_item - * An atomic rule item composed of a string operation. - * @type \Google\Ads\GoogleAds\V15\Common\UserListDateRuleItemInfo $date_rule_item - * An atomic rule item composed of a date operation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * Rule variable name. It should match the corresponding key name fired - * by the pixel. - * A name must begin with US-ascii letters or underscore or UTF8 code that is - * greater than 127 and consist of US-ascii letters or digits or underscore or - * UTF8 code that is greater than 127. - * For websites, there are two built-in variable URL (name = 'url__') and - * referrer URL (name = 'ref_url__'). - * This field must be populated when creating a new rule item. - * - * Generated from protobuf field optional string name = 5; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Rule variable name. It should match the corresponding key name fired - * by the pixel. - * A name must begin with US-ascii letters or underscore or UTF8 code that is - * greater than 127 and consist of US-ascii letters or digits or underscore or - * UTF8 code that is greater than 127. - * For websites, there are two built-in variable URL (name = 'url__') and - * referrer URL (name = 'ref_url__'). - * This field must be populated when creating a new rule item. - * - * Generated from protobuf field optional string name = 5; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * An atomic rule item composed of a number operation. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListNumberRuleItemInfo number_rule_item = 2; - * @return \Google\Ads\GoogleAds\V15\Common\UserListNumberRuleItemInfo|null - */ - public function getNumberRuleItem() - { - return $this->readOneof(2); - } - - public function hasNumberRuleItem() - { - return $this->hasOneof(2); - } - - /** - * An atomic rule item composed of a number operation. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListNumberRuleItemInfo number_rule_item = 2; - * @param \Google\Ads\GoogleAds\V15\Common\UserListNumberRuleItemInfo $var - * @return $this - */ - public function setNumberRuleItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserListNumberRuleItemInfo::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * An atomic rule item composed of a string operation. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListStringRuleItemInfo string_rule_item = 3; - * @return \Google\Ads\GoogleAds\V15\Common\UserListStringRuleItemInfo|null - */ - public function getStringRuleItem() - { - return $this->readOneof(3); - } - - public function hasStringRuleItem() - { - return $this->hasOneof(3); - } - - /** - * An atomic rule item composed of a string operation. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListStringRuleItemInfo string_rule_item = 3; - * @param \Google\Ads\GoogleAds\V15\Common\UserListStringRuleItemInfo $var - * @return $this - */ - public function setStringRuleItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserListStringRuleItemInfo::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * An atomic rule item composed of a date operation. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListDateRuleItemInfo date_rule_item = 4; - * @return \Google\Ads\GoogleAds\V15\Common\UserListDateRuleItemInfo|null - */ - public function getDateRuleItem() - { - return $this->readOneof(4); - } - - public function hasDateRuleItem() - { - return $this->hasOneof(4); - } - - /** - * An atomic rule item composed of a date operation. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListDateRuleItemInfo date_rule_item = 4; - * @param \Google\Ads\GoogleAds\V15\Common\UserListDateRuleItemInfo $var - * @return $this - */ - public function setDateRuleItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserListDateRuleItemInfo::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getRuleItem() - { - return $this->whichOneof("rule_item"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListSegment.php b/src/Google/Ads/GoogleAds/V15/Common/UserListSegment.php deleted file mode 100644 index 86ed95809..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListSegment.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.common.UserListSegment - */ -class UserListSegment extends \Google\Protobuf\Internal\Message -{ - /** - * The user list resource. - * - * Generated from protobuf field optional string user_list = 1; - */ - protected $user_list = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $user_list - * The user list resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Audiences::initOnce(); - parent::__construct($data); - } - - /** - * The user list resource. - * - * Generated from protobuf field optional string user_list = 1; - * @return string - */ - public function getUserList() - { - return isset($this->user_list) ? $this->user_list : ''; - } - - public function hasUserList() - { - return isset($this->user_list); - } - - public function clearUserList() - { - unset($this->user_list); - } - - /** - * The user list resource. - * - * Generated from protobuf field optional string user_list = 1; - * @param string $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkString($var, True); - $this->user_list = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/UserListStringRuleItemInfo.php b/src/Google/Ads/GoogleAds/V15/Common/UserListStringRuleItemInfo.php deleted file mode 100644 index 87443323d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/UserListStringRuleItemInfo.php +++ /dev/null @@ -1,131 +0,0 @@ -google.ads.googleads.v15.common.UserListStringRuleItemInfo - */ -class UserListStringRuleItemInfo extends \Google\Protobuf\Internal\Message -{ - /** - * String comparison operator. - * This field is required and must be populated when creating a new string - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1; - */ - protected $operator = 0; - /** - * The right hand side of the string rule item. For URLs or referrer URLs, - * the value can not contain illegal URL chars such as newlines, quotes, - * tabs, or parentheses. This field is required and must be populated when - * creating a new string rule item. - * - * Generated from protobuf field optional string value = 3; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operator - * String comparison operator. - * This field is required and must be populated when creating a new string - * rule item. - * @type string $value - * The right hand side of the string rule item. For URLs or referrer URLs, - * the value can not contain illegal URL chars such as newlines, quotes, - * tabs, or parentheses. This field is required and must be populated when - * creating a new string rule item. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\UserLists::initOnce(); - parent::__construct($data); - } - - /** - * String comparison operator. - * This field is required and must be populated when creating a new string - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1; - * @return int - */ - public function getOperator() - { - return $this->operator; - } - - /** - * String comparison operator. - * This field is required and must be populated when creating a new string - * rule item. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1; - * @param int $var - * @return $this - */ - public function setOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListStringRuleItemOperatorEnum\UserListStringRuleItemOperator::class); - $this->operator = $var; - - return $this; - } - - /** - * The right hand side of the string rule item. For URLs or referrer URLs, - * the value can not contain illegal URL chars such as newlines, quotes, - * tabs, or parentheses. This field is required and must be populated when - * creating a new string rule item. - * - * Generated from protobuf field optional string value = 3; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * The right hand side of the string rule item. For URLs or referrer URLs, - * the value can not contain illegal URL chars such as newlines, quotes, - * tabs, or parentheses. This field is required and must be populated when - * creating a new string rule item. - * - * Generated from protobuf field optional string value = 3; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/Value.php b/src/Google/Ads/GoogleAds/V15/Common/Value.php deleted file mode 100644 index b0721df36..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/Value.php +++ /dev/null @@ -1,207 +0,0 @@ -google.ads.googleads.v15.common.Value - */ -class Value extends \Google\Protobuf\Internal\Message -{ - protected $value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $boolean_value - * A boolean. - * @type int|string $int64_value - * An int64. - * @type float $float_value - * A float. - * @type float $double_value - * A double. - * @type string $string_value - * A string. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Value::initOnce(); - parent::__construct($data); - } - - /** - * A boolean. - * - * Generated from protobuf field bool boolean_value = 1; - * @return bool - */ - public function getBooleanValue() - { - return $this->readOneof(1); - } - - public function hasBooleanValue() - { - return $this->hasOneof(1); - } - - /** - * A boolean. - * - * Generated from protobuf field bool boolean_value = 1; - * @param bool $var - * @return $this - */ - public function setBooleanValue($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * An int64. - * - * Generated from protobuf field int64 int64_value = 2; - * @return int|string - */ - public function getInt64Value() - { - return $this->readOneof(2); - } - - public function hasInt64Value() - { - return $this->hasOneof(2); - } - - /** - * An int64. - * - * Generated from protobuf field int64 int64_value = 2; - * @param int|string $var - * @return $this - */ - public function setInt64Value($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A float. - * - * Generated from protobuf field float float_value = 3; - * @return float - */ - public function getFloatValue() - { - return $this->readOneof(3); - } - - public function hasFloatValue() - { - return $this->hasOneof(3); - } - - /** - * A float. - * - * Generated from protobuf field float float_value = 3; - * @param float $var - * @return $this - */ - public function setFloatValue($var) - { - GPBUtil::checkFloat($var); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A double. - * - * Generated from protobuf field double double_value = 4; - * @return float - */ - public function getDoubleValue() - { - return $this->readOneof(4); - } - - public function hasDoubleValue() - { - return $this->hasOneof(4); - } - - /** - * A double. - * - * Generated from protobuf field double double_value = 4; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * A string. - * - * Generated from protobuf field string string_value = 5; - * @return string - */ - public function getStringValue() - { - return $this->readOneof(5); - } - - public function hasStringValue() - { - return $this->hasOneof(5); - } - - /** - * A string. - * - * Generated from protobuf field string string_value = 5; - * @param string $var - * @return $this - */ - public function setStringValue($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("value"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/VideoAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/VideoAdInfo.php deleted file mode 100644 index 4a684e674..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/VideoAdInfo.php +++ /dev/null @@ -1,251 +0,0 @@ -google.ads.googleads.v15.common.VideoAdInfo - */ -class VideoAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The YouTube video assets used for the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdVideoAsset video = 8; - */ - protected $video = null; - protected $format; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\AdVideoAsset $video - * The YouTube video assets used for the ad. - * @type \Google\Ads\GoogleAds\V15\Common\VideoTrueViewInStreamAdInfo $in_stream - * Video TrueView in-stream ad format. - * @type \Google\Ads\GoogleAds\V15\Common\VideoBumperInStreamAdInfo $bumper - * Video bumper in-stream ad format. - * @type \Google\Ads\GoogleAds\V15\Common\VideoOutstreamAdInfo $out_stream - * Video out-stream ad format. - * @type \Google\Ads\GoogleAds\V15\Common\VideoNonSkippableInStreamAdInfo $non_skippable - * Video non-skippable in-stream ad format. - * @type \Google\Ads\GoogleAds\V15\Common\InFeedVideoAdInfo $in_feed - * In-feed video ad format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The YouTube video assets used for the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdVideoAsset video = 8; - * @return \Google\Ads\GoogleAds\V15\Common\AdVideoAsset|null - */ - public function getVideo() - { - return $this->video; - } - - public function hasVideo() - { - return isset($this->video); - } - - public function clearVideo() - { - unset($this->video); - } - - /** - * The YouTube video assets used for the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdVideoAsset video = 8; - * @param \Google\Ads\GoogleAds\V15\Common\AdVideoAsset $var - * @return $this - */ - public function setVideo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdVideoAsset::class); - $this->video = $var; - - return $this; - } - - /** - * Video TrueView in-stream ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoTrueViewInStreamAdInfo in_stream = 2; - * @return \Google\Ads\GoogleAds\V15\Common\VideoTrueViewInStreamAdInfo|null - */ - public function getInStream() - { - return $this->readOneof(2); - } - - public function hasInStream() - { - return $this->hasOneof(2); - } - - /** - * Video TrueView in-stream ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoTrueViewInStreamAdInfo in_stream = 2; - * @param \Google\Ads\GoogleAds\V15\Common\VideoTrueViewInStreamAdInfo $var - * @return $this - */ - public function setInStream($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\VideoTrueViewInStreamAdInfo::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Video bumper in-stream ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoBumperInStreamAdInfo bumper = 3; - * @return \Google\Ads\GoogleAds\V15\Common\VideoBumperInStreamAdInfo|null - */ - public function getBumper() - { - return $this->readOneof(3); - } - - public function hasBumper() - { - return $this->hasOneof(3); - } - - /** - * Video bumper in-stream ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoBumperInStreamAdInfo bumper = 3; - * @param \Google\Ads\GoogleAds\V15\Common\VideoBumperInStreamAdInfo $var - * @return $this - */ - public function setBumper($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\VideoBumperInStreamAdInfo::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Video out-stream ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoOutstreamAdInfo out_stream = 4; - * @return \Google\Ads\GoogleAds\V15\Common\VideoOutstreamAdInfo|null - */ - public function getOutStream() - { - return $this->readOneof(4); - } - - public function hasOutStream() - { - return $this->hasOneof(4); - } - - /** - * Video out-stream ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoOutstreamAdInfo out_stream = 4; - * @param \Google\Ads\GoogleAds\V15\Common\VideoOutstreamAdInfo $var - * @return $this - */ - public function setOutStream($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\VideoOutstreamAdInfo::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Video non-skippable in-stream ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoNonSkippableInStreamAdInfo non_skippable = 5; - * @return \Google\Ads\GoogleAds\V15\Common\VideoNonSkippableInStreamAdInfo|null - */ - public function getNonSkippable() - { - return $this->readOneof(5); - } - - public function hasNonSkippable() - { - return $this->hasOneof(5); - } - - /** - * Video non-skippable in-stream ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoNonSkippableInStreamAdInfo non_skippable = 5; - * @param \Google\Ads\GoogleAds\V15\Common\VideoNonSkippableInStreamAdInfo $var - * @return $this - */ - public function setNonSkippable($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\VideoNonSkippableInStreamAdInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * In-feed video ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.InFeedVideoAdInfo in_feed = 9; - * @return \Google\Ads\GoogleAds\V15\Common\InFeedVideoAdInfo|null - */ - public function getInFeed() - { - return $this->readOneof(9); - } - - public function hasInFeed() - { - return $this->hasOneof(9); - } - - /** - * In-feed video ad format. - * - * Generated from protobuf field .google.ads.googleads.v15.common.InFeedVideoAdInfo in_feed = 9; - * @param \Google\Ads\GoogleAds\V15\Common\InFeedVideoAdInfo $var - * @return $this - */ - public function setInFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\InFeedVideoAdInfo::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * @return string - */ - public function getFormat() - { - return $this->whichOneof("format"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/VideoBumperInStreamAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/VideoBumperInStreamAdInfo.php deleted file mode 100644 index 300ab15bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/VideoBumperInStreamAdInfo.php +++ /dev/null @@ -1,154 +0,0 @@ -google.ads.googleads.v15.common.VideoBumperInStreamAdInfo - */ -class VideoBumperInStreamAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 3; - */ - protected $companion_banner = null; - /** - * Label on the "Call To Action" button taking the user to the video ad's - * final URL. - * - * Generated from protobuf field string action_button_label = 4; - */ - protected $action_button_label = ''; - /** - * Additional text displayed with the CTA (call-to-action) button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 5; - */ - protected $action_headline = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\AdImageAsset $companion_banner - * The image assets of the companion banner used with the ad. - * @type string $action_button_label - * Label on the "Call To Action" button taking the user to the video ad's - * final URL. - * @type string $action_headline - * Additional text displayed with the CTA (call-to-action) button to give - * context and encourage clicking on the button. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 3; - * @return \Google\Ads\GoogleAds\V15\Common\AdImageAsset|null - */ - public function getCompanionBanner() - { - return $this->companion_banner; - } - - public function hasCompanionBanner() - { - return isset($this->companion_banner); - } - - public function clearCompanionBanner() - { - unset($this->companion_banner); - } - - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 3; - * @param \Google\Ads\GoogleAds\V15\Common\AdImageAsset $var - * @return $this - */ - public function setCompanionBanner($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->companion_banner = $var; - - return $this; - } - - /** - * Label on the "Call To Action" button taking the user to the video ad's - * final URL. - * - * Generated from protobuf field string action_button_label = 4; - * @return string - */ - public function getActionButtonLabel() - { - return $this->action_button_label; - } - - /** - * Label on the "Call To Action" button taking the user to the video ad's - * final URL. - * - * Generated from protobuf field string action_button_label = 4; - * @param string $var - * @return $this - */ - public function setActionButtonLabel($var) - { - GPBUtil::checkString($var, True); - $this->action_button_label = $var; - - return $this; - } - - /** - * Additional text displayed with the CTA (call-to-action) button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 5; - * @return string - */ - public function getActionHeadline() - { - return $this->action_headline; - } - - /** - * Additional text displayed with the CTA (call-to-action) button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 5; - * @param string $var - * @return $this - */ - public function setActionHeadline($var) - { - GPBUtil::checkString($var, True); - $this->action_headline = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/VideoNonSkippableInStreamAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/VideoNonSkippableInStreamAdInfo.php deleted file mode 100644 index 61fb63865..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/VideoNonSkippableInStreamAdInfo.php +++ /dev/null @@ -1,154 +0,0 @@ -google.ads.googleads.v15.common.VideoNonSkippableInStreamAdInfo - */ -class VideoNonSkippableInStreamAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 5; - */ - protected $companion_banner = null; - /** - * Label on the "Call To Action" button taking the user to the video ad's - * final URL. - * - * Generated from protobuf field string action_button_label = 3; - */ - protected $action_button_label = ''; - /** - * Additional text displayed with the "Call To Action" button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 4; - */ - protected $action_headline = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\AdImageAsset $companion_banner - * The image assets of the companion banner used with the ad. - * @type string $action_button_label - * Label on the "Call To Action" button taking the user to the video ad's - * final URL. - * @type string $action_headline - * Additional text displayed with the "Call To Action" button to give - * context and encourage clicking on the button. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 5; - * @return \Google\Ads\GoogleAds\V15\Common\AdImageAsset|null - */ - public function getCompanionBanner() - { - return $this->companion_banner; - } - - public function hasCompanionBanner() - { - return isset($this->companion_banner); - } - - public function clearCompanionBanner() - { - unset($this->companion_banner); - } - - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 5; - * @param \Google\Ads\GoogleAds\V15\Common\AdImageAsset $var - * @return $this - */ - public function setCompanionBanner($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->companion_banner = $var; - - return $this; - } - - /** - * Label on the "Call To Action" button taking the user to the video ad's - * final URL. - * - * Generated from protobuf field string action_button_label = 3; - * @return string - */ - public function getActionButtonLabel() - { - return $this->action_button_label; - } - - /** - * Label on the "Call To Action" button taking the user to the video ad's - * final URL. - * - * Generated from protobuf field string action_button_label = 3; - * @param string $var - * @return $this - */ - public function setActionButtonLabel($var) - { - GPBUtil::checkString($var, True); - $this->action_button_label = $var; - - return $this; - } - - /** - * Additional text displayed with the "Call To Action" button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 4; - * @return string - */ - public function getActionHeadline() - { - return $this->action_headline; - } - - /** - * Additional text displayed with the "Call To Action" button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 4; - * @param string $var - * @return $this - */ - public function setActionHeadline($var) - { - GPBUtil::checkString($var, True); - $this->action_headline = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/VideoOutstreamAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/VideoOutstreamAdInfo.php deleted file mode 100644 index f71bf5665..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/VideoOutstreamAdInfo.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.common.VideoOutstreamAdInfo - */ -class VideoOutstreamAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The headline of the ad. - * - * Generated from protobuf field string headline = 3; - */ - protected $headline = ''; - /** - * The description line. - * - * Generated from protobuf field string description = 4; - */ - protected $description = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $headline - * The headline of the ad. - * @type string $description - * The description line. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * The headline of the ad. - * - * Generated from protobuf field string headline = 3; - * @return string - */ - public function getHeadline() - { - return $this->headline; - } - - /** - * The headline of the ad. - * - * Generated from protobuf field string headline = 3; - * @param string $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkString($var, True); - $this->headline = $var; - - return $this; - } - - /** - * The description line. - * - * Generated from protobuf field string description = 4; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description line. - * - * Generated from protobuf field string description = 4; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/VideoResponsiveAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/VideoResponsiveAdInfo.php deleted file mode 100644 index ac5ac882b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/VideoResponsiveAdInfo.php +++ /dev/null @@ -1,333 +0,0 @@ -google.ads.googleads.v15.common.VideoResponsiveAdInfo - */ -class VideoResponsiveAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * List of text assets used for the short headline, for example, the "Call To - * Action" banner. Currently, only a single value for the short headline is - * supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - */ - private $headlines; - /** - * List of text assets used for the long headline. - * Currently, only a single value for the long headline is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset long_headlines = 2; - */ - private $long_headlines; - /** - * List of text assets used for the description. - * Currently, only a single value for the description is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - */ - private $descriptions; - /** - * List of text assets used for the button, for example, the "Call To Action" - * button. Currently, only a single value for the button is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset call_to_actions = 4; - */ - private $call_to_actions; - /** - * List of YouTube video assets used for the ad. - * Currently, only a single value for the YouTube video asset is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 5; - */ - private $videos; - /** - * List of image assets used for the companion banner. - * Currently, only a single value for the companion banner asset is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset companion_banners = 6; - */ - private $companion_banners; - /** - * First part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb1 = 7; - */ - protected $breadcrumb1 = ''; - /** - * Second part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb2 = 8; - */ - protected $breadcrumb2 = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $headlines - * List of text assets used for the short headline, for example, the "Call To - * Action" banner. Currently, only a single value for the short headline is - * supported. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $long_headlines - * List of text assets used for the long headline. - * Currently, only a single value for the long headline is supported. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $descriptions - * List of text assets used for the description. - * Currently, only a single value for the description is supported. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $call_to_actions - * List of text assets used for the button, for example, the "Call To Action" - * button. Currently, only a single value for the button is supported. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $videos - * List of YouTube video assets used for the ad. - * Currently, only a single value for the YouTube video asset is supported. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $companion_banners - * List of image assets used for the companion banner. - * Currently, only a single value for the companion banner asset is supported. - * @type string $breadcrumb1 - * First part of text that appears in the ad with the displayed URL. - * @type string $breadcrumb2 - * Second part of text that appears in the ad with the displayed URL. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * List of text assets used for the short headline, for example, the "Call To - * Action" banner. Currently, only a single value for the short headline is - * supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHeadlines() - { - return $this->headlines; - } - - /** - * List of text assets used for the short headline, for example, the "Call To - * Action" banner. Currently, only a single value for the short headline is - * supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset headlines = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->headlines = $arr; - - return $this; - } - - /** - * List of text assets used for the long headline. - * Currently, only a single value for the long headline is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset long_headlines = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLongHeadlines() - { - return $this->long_headlines; - } - - /** - * List of text assets used for the long headline. - * Currently, only a single value for the long headline is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset long_headlines = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLongHeadlines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->long_headlines = $arr; - - return $this; - } - - /** - * List of text assets used for the description. - * Currently, only a single value for the description is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDescriptions() - { - return $this->descriptions; - } - - /** - * List of text assets used for the description. - * Currently, only a single value for the description is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset descriptions = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDescriptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->descriptions = $arr; - - return $this; - } - - /** - * List of text assets used for the button, for example, the "Call To Action" - * button. Currently, only a single value for the button is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset call_to_actions = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCallToActions() - { - return $this->call_to_actions; - } - - /** - * List of text assets used for the button, for example, the "Call To Action" - * button. Currently, only a single value for the button is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdTextAsset call_to_actions = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCallToActions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdTextAsset::class); - $this->call_to_actions = $arr; - - return $this; - } - - /** - * List of YouTube video assets used for the ad. - * Currently, only a single value for the YouTube video asset is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getVideos() - { - return $this->videos; - } - - /** - * List of YouTube video assets used for the ad. - * Currently, only a single value for the YouTube video asset is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdVideoAsset videos = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdVideoAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setVideos($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdVideoAsset::class); - $this->videos = $arr; - - return $this; - } - - /** - * List of image assets used for the companion banner. - * Currently, only a single value for the companion banner asset is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset companion_banners = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCompanionBanners() - { - return $this->companion_banners; - } - - /** - * List of image assets used for the companion banner. - * Currently, only a single value for the companion banner asset is supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdImageAsset companion_banners = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCompanionBanners($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->companion_banners = $arr; - - return $this; - } - - /** - * First part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb1 = 7; - * @return string - */ - public function getBreadcrumb1() - { - return $this->breadcrumb1; - } - - /** - * First part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb1 = 7; - * @param string $var - * @return $this - */ - public function setBreadcrumb1($var) - { - GPBUtil::checkString($var, True); - $this->breadcrumb1 = $var; - - return $this; - } - - /** - * Second part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb2 = 8; - * @return string - */ - public function getBreadcrumb2() - { - return $this->breadcrumb2; - } - - /** - * Second part of text that appears in the ad with the displayed URL. - * - * Generated from protobuf field string breadcrumb2 = 8; - * @param string $var - * @return $this - */ - public function setBreadcrumb2($var) - { - GPBUtil::checkString($var, True); - $this->breadcrumb2 = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/VideoTrueViewInStreamAdInfo.php b/src/Google/Ads/GoogleAds/V15/Common/VideoTrueViewInStreamAdInfo.php deleted file mode 100644 index bab2f41b2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/VideoTrueViewInStreamAdInfo.php +++ /dev/null @@ -1,159 +0,0 @@ -google.ads.googleads.v15.common.VideoTrueViewInStreamAdInfo - */ -class VideoTrueViewInStreamAdInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Label on the CTA (call-to-action) button taking the user to the video ad's - * final URL. - * Required for TrueView for action campaigns, optional otherwise. - * - * Generated from protobuf field string action_button_label = 4; - */ - protected $action_button_label = ''; - /** - * Additional text displayed with the CTA (call-to-action) button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 5; - */ - protected $action_headline = ''; - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 7; - */ - protected $companion_banner = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $action_button_label - * Label on the CTA (call-to-action) button taking the user to the video ad's - * final URL. - * Required for TrueView for action campaigns, optional otherwise. - * @type string $action_headline - * Additional text displayed with the CTA (call-to-action) button to give - * context and encourage clicking on the button. - * @type \Google\Ads\GoogleAds\V15\Common\AdImageAsset $companion_banner - * The image assets of the companion banner used with the ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AdTypeInfos::initOnce(); - parent::__construct($data); - } - - /** - * Label on the CTA (call-to-action) button taking the user to the video ad's - * final URL. - * Required for TrueView for action campaigns, optional otherwise. - * - * Generated from protobuf field string action_button_label = 4; - * @return string - */ - public function getActionButtonLabel() - { - return $this->action_button_label; - } - - /** - * Label on the CTA (call-to-action) button taking the user to the video ad's - * final URL. - * Required for TrueView for action campaigns, optional otherwise. - * - * Generated from protobuf field string action_button_label = 4; - * @param string $var - * @return $this - */ - public function setActionButtonLabel($var) - { - GPBUtil::checkString($var, True); - $this->action_button_label = $var; - - return $this; - } - - /** - * Additional text displayed with the CTA (call-to-action) button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 5; - * @return string - */ - public function getActionHeadline() - { - return $this->action_headline; - } - - /** - * Additional text displayed with the CTA (call-to-action) button to give - * context and encourage clicking on the button. - * - * Generated from protobuf field string action_headline = 5; - * @param string $var - * @return $this - */ - public function setActionHeadline($var) - { - GPBUtil::checkString($var, True); - $this->action_headline = $var; - - return $this; - } - - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 7; - * @return \Google\Ads\GoogleAds\V15\Common\AdImageAsset|null - */ - public function getCompanionBanner() - { - return $this->companion_banner; - } - - public function hasCompanionBanner() - { - return isset($this->companion_banner); - } - - public function clearCompanionBanner() - { - unset($this->companion_banner); - } - - /** - * The image assets of the companion banner used with the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdImageAsset companion_banner = 7; - * @param \Google\Ads\GoogleAds\V15\Common\AdImageAsset $var - * @return $this - */ - public function setCompanionBanner($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdImageAsset::class); - $this->companion_banner = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/WebhookDelivery.php b/src/Google/Ads/GoogleAds/V15/Common/WebhookDelivery.php deleted file mode 100644 index e6b1acbc2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/WebhookDelivery.php +++ /dev/null @@ -1,167 +0,0 @@ -google.ads.googleads.v15.common.WebhookDelivery - */ -class WebhookDelivery extends \Google\Protobuf\Internal\Message -{ - /** - * Webhook url specified by advertiser to send the lead. - * - * Generated from protobuf field optional string advertiser_webhook_url = 4; - */ - protected $advertiser_webhook_url = null; - /** - * Anti-spoofing secret set by the advertiser as part of the webhook payload. - * - * Generated from protobuf field optional string google_secret = 5; - */ - protected $google_secret = null; - /** - * The schema version that this delivery instance will use. - * - * Generated from protobuf field optional int64 payload_schema_version = 6; - */ - protected $payload_schema_version = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $advertiser_webhook_url - * Webhook url specified by advertiser to send the lead. - * @type string $google_secret - * Anti-spoofing secret set by the advertiser as part of the webhook payload. - * @type int|string $payload_schema_version - * The schema version that this delivery instance will use. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * Webhook url specified by advertiser to send the lead. - * - * Generated from protobuf field optional string advertiser_webhook_url = 4; - * @return string - */ - public function getAdvertiserWebhookUrl() - { - return isset($this->advertiser_webhook_url) ? $this->advertiser_webhook_url : ''; - } - - public function hasAdvertiserWebhookUrl() - { - return isset($this->advertiser_webhook_url); - } - - public function clearAdvertiserWebhookUrl() - { - unset($this->advertiser_webhook_url); - } - - /** - * Webhook url specified by advertiser to send the lead. - * - * Generated from protobuf field optional string advertiser_webhook_url = 4; - * @param string $var - * @return $this - */ - public function setAdvertiserWebhookUrl($var) - { - GPBUtil::checkString($var, True); - $this->advertiser_webhook_url = $var; - - return $this; - } - - /** - * Anti-spoofing secret set by the advertiser as part of the webhook payload. - * - * Generated from protobuf field optional string google_secret = 5; - * @return string - */ - public function getGoogleSecret() - { - return isset($this->google_secret) ? $this->google_secret : ''; - } - - public function hasGoogleSecret() - { - return isset($this->google_secret); - } - - public function clearGoogleSecret() - { - unset($this->google_secret); - } - - /** - * Anti-spoofing secret set by the advertiser as part of the webhook payload. - * - * Generated from protobuf field optional string google_secret = 5; - * @param string $var - * @return $this - */ - public function setGoogleSecret($var) - { - GPBUtil::checkString($var, True); - $this->google_secret = $var; - - return $this; - } - - /** - * The schema version that this delivery instance will use. - * - * Generated from protobuf field optional int64 payload_schema_version = 6; - * @return int|string - */ - public function getPayloadSchemaVersion() - { - return isset($this->payload_schema_version) ? $this->payload_schema_version : 0; - } - - public function hasPayloadSchemaVersion() - { - return isset($this->payload_schema_version); - } - - public function clearPayloadSchemaVersion() - { - unset($this->payload_schema_version); - } - - /** - * The schema version that this delivery instance will use. - * - * Generated from protobuf field optional int64 payload_schema_version = 6; - * @param int|string $var - * @return $this - */ - public function setPayloadSchemaVersion($var) - { - GPBUtil::checkInt64($var); - $this->payload_schema_version = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/WebpageConditionInfo.php b/src/Google/Ads/GoogleAds/V15/Common/WebpageConditionInfo.php deleted file mode 100644 index b12ba74f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/WebpageConditionInfo.php +++ /dev/null @@ -1,145 +0,0 @@ -google.ads.googleads.v15.common.WebpageConditionInfo - */ -class WebpageConditionInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Operand of webpage targeting condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.WebpageConditionOperandEnum.WebpageConditionOperand operand = 1; - */ - protected $operand = 0; - /** - * Operator of webpage targeting condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.WebpageConditionOperatorEnum.WebpageConditionOperator operator = 2; - */ - protected $operator = 0; - /** - * Argument of webpage targeting condition. - * - * Generated from protobuf field optional string argument = 4; - */ - protected $argument = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operand - * Operand of webpage targeting condition. - * @type int $operator - * Operator of webpage targeting condition. - * @type string $argument - * Argument of webpage targeting condition. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Operand of webpage targeting condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.WebpageConditionOperandEnum.WebpageConditionOperand operand = 1; - * @return int - */ - public function getOperand() - { - return $this->operand; - } - - /** - * Operand of webpage targeting condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.WebpageConditionOperandEnum.WebpageConditionOperand operand = 1; - * @param int $var - * @return $this - */ - public function setOperand($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\WebpageConditionOperandEnum\WebpageConditionOperand::class); - $this->operand = $var; - - return $this; - } - - /** - * Operator of webpage targeting condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.WebpageConditionOperatorEnum.WebpageConditionOperator operator = 2; - * @return int - */ - public function getOperator() - { - return $this->operator; - } - - /** - * Operator of webpage targeting condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.WebpageConditionOperatorEnum.WebpageConditionOperator operator = 2; - * @param int $var - * @return $this - */ - public function setOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\WebpageConditionOperatorEnum\WebpageConditionOperator::class); - $this->operator = $var; - - return $this; - } - - /** - * Argument of webpage targeting condition. - * - * Generated from protobuf field optional string argument = 4; - * @return string - */ - public function getArgument() - { - return isset($this->argument) ? $this->argument : ''; - } - - public function hasArgument() - { - return isset($this->argument); - } - - public function clearArgument() - { - unset($this->argument); - } - - /** - * Argument of webpage targeting condition. - * - * Generated from protobuf field optional string argument = 4; - * @param string $var - * @return $this - */ - public function setArgument($var) - { - GPBUtil::checkString($var, True); - $this->argument = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/WebpageInfo.php b/src/Google/Ads/GoogleAds/V15/Common/WebpageInfo.php deleted file mode 100644 index 82e8767e0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/WebpageInfo.php +++ /dev/null @@ -1,241 +0,0 @@ -google.ads.googleads.v15.common.WebpageInfo - */ -class WebpageInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The name of the criterion that is defined by this parameter. The name value - * will be used for identifying, sorting and filtering criteria with this type - * of parameters. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional string criterion_name = 3; - */ - protected $criterion_name = null; - /** - * Conditions, or logical expressions, for webpage targeting. The list of - * webpage targeting conditions are and-ed together when evaluated - * for targeting. An empty list of conditions indicates all pages of the - * campaign's website are targeted. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.WebpageConditionInfo conditions = 2; - */ - private $conditions; - /** - * Website criteria coverage percentage. This is the computed percentage - * of website coverage based on the website target, negative website target - * and negative keywords in the ad group and campaign. For instance, when - * coverage returns as 1, it indicates it has 100% coverage. This field is - * read-only. - * - * Generated from protobuf field double coverage_percentage = 4; - */ - protected $coverage_percentage = 0.0; - /** - * List of sample urls that match the website target. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebpageSampleInfo sample = 5; - */ - protected $sample = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $criterion_name - * The name of the criterion that is defined by this parameter. The name value - * will be used for identifying, sorting and filtering criteria with this type - * of parameters. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * @type array<\Google\Ads\GoogleAds\V15\Common\WebpageConditionInfo>|\Google\Protobuf\Internal\RepeatedField $conditions - * Conditions, or logical expressions, for webpage targeting. The list of - * webpage targeting conditions are and-ed together when evaluated - * for targeting. An empty list of conditions indicates all pages of the - * campaign's website are targeted. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * @type float $coverage_percentage - * Website criteria coverage percentage. This is the computed percentage - * of website coverage based on the website target, negative website target - * and negative keywords in the ad group and campaign. For instance, when - * coverage returns as 1, it indicates it has 100% coverage. This field is - * read-only. - * @type \Google\Ads\GoogleAds\V15\Common\WebpageSampleInfo $sample - * List of sample urls that match the website target. This field is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The name of the criterion that is defined by this parameter. The name value - * will be used for identifying, sorting and filtering criteria with this type - * of parameters. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional string criterion_name = 3; - * @return string - */ - public function getCriterionName() - { - return isset($this->criterion_name) ? $this->criterion_name : ''; - } - - public function hasCriterionName() - { - return isset($this->criterion_name); - } - - public function clearCriterionName() - { - unset($this->criterion_name); - } - - /** - * The name of the criterion that is defined by this parameter. The name value - * will be used for identifying, sorting and filtering criteria with this type - * of parameters. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field optional string criterion_name = 3; - * @param string $var - * @return $this - */ - public function setCriterionName($var) - { - GPBUtil::checkString($var, True); - $this->criterion_name = $var; - - return $this; - } - - /** - * Conditions, or logical expressions, for webpage targeting. The list of - * webpage targeting conditions are and-ed together when evaluated - * for targeting. An empty list of conditions indicates all pages of the - * campaign's website are targeted. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.WebpageConditionInfo conditions = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConditions() - { - return $this->conditions; - } - - /** - * Conditions, or logical expressions, for webpage targeting. The list of - * webpage targeting conditions are and-ed together when evaluated - * for targeting. An empty list of conditions indicates all pages of the - * campaign's website are targeted. - * This field is required for CREATE operations and is prohibited on UPDATE - * operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.WebpageConditionInfo conditions = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\WebpageConditionInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConditions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\WebpageConditionInfo::class); - $this->conditions = $arr; - - return $this; - } - - /** - * Website criteria coverage percentage. This is the computed percentage - * of website coverage based on the website target, negative website target - * and negative keywords in the ad group and campaign. For instance, when - * coverage returns as 1, it indicates it has 100% coverage. This field is - * read-only. - * - * Generated from protobuf field double coverage_percentage = 4; - * @return float - */ - public function getCoveragePercentage() - { - return $this->coverage_percentage; - } - - /** - * Website criteria coverage percentage. This is the computed percentage - * of website coverage based on the website target, negative website target - * and negative keywords in the ad group and campaign. For instance, when - * coverage returns as 1, it indicates it has 100% coverage. This field is - * read-only. - * - * Generated from protobuf field double coverage_percentage = 4; - * @param float $var - * @return $this - */ - public function setCoveragePercentage($var) - { - GPBUtil::checkDouble($var); - $this->coverage_percentage = $var; - - return $this; - } - - /** - * List of sample urls that match the website target. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebpageSampleInfo sample = 5; - * @return \Google\Ads\GoogleAds\V15\Common\WebpageSampleInfo|null - */ - public function getSample() - { - return $this->sample; - } - - public function hasSample() - { - return isset($this->sample); - } - - public function clearSample() - { - unset($this->sample); - } - - /** - * List of sample urls that match the website target. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebpageSampleInfo sample = 5; - * @param \Google\Ads\GoogleAds\V15\Common\WebpageSampleInfo $var - * @return $this - */ - public function setSample($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\WebpageSampleInfo::class); - $this->sample = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/WebpageSampleInfo.php b/src/Google/Ads/GoogleAds/V15/Common/WebpageSampleInfo.php deleted file mode 100644 index 967661bc8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/WebpageSampleInfo.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.common.WebpageSampleInfo - */ -class WebpageSampleInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Webpage sample urls - * - * Generated from protobuf field repeated string sample_urls = 1; - */ - private $sample_urls; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $sample_urls - * Webpage sample urls - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * Webpage sample urls - * - * Generated from protobuf field repeated string sample_urls = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSampleUrls() - { - return $this->sample_urls; - } - - /** - * Webpage sample urls - * - * Generated from protobuf field repeated string sample_urls = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSampleUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->sample_urls = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/YearMonth.php b/src/Google/Ads/GoogleAds/V15/Common/YearMonth.php deleted file mode 100644 index fd6e4aea6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/YearMonth.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.common.YearMonth - */ -class YearMonth extends \Google\Protobuf\Internal\Message -{ - /** - * The year (for example, 2020). - * - * Generated from protobuf field int64 year = 1; - */ - protected $year = 0; - /** - * The month of the year. (for example, FEBRUARY). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month = 2; - */ - protected $month = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $year - * The year (for example, 2020). - * @type int $month - * The month of the year. (for example, FEBRUARY). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Dates::initOnce(); - parent::__construct($data); - } - - /** - * The year (for example, 2020). - * - * Generated from protobuf field int64 year = 1; - * @return int|string - */ - public function getYear() - { - return $this->year; - } - - /** - * The year (for example, 2020). - * - * Generated from protobuf field int64 year = 1; - * @param int|string $var - * @return $this - */ - public function setYear($var) - { - GPBUtil::checkInt64($var); - $this->year = $var; - - return $this; - } - - /** - * The month of the year. (for example, FEBRUARY). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month = 2; - * @return int - */ - public function getMonth() - { - return $this->month; - } - - /** - * The month of the year. (for example, FEBRUARY). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month = 2; - * @param int $var - * @return $this - */ - public function setMonth($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MonthOfYearEnum\MonthOfYear::class); - $this->month = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/YearMonthRange.php b/src/Google/Ads/GoogleAds/V15/Common/YearMonthRange.php deleted file mode 100644 index e2e210e07..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/YearMonthRange.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.common.YearMonthRange - */ -class YearMonthRange extends \Google\Protobuf\Internal\Message -{ - /** - * The inclusive start year month. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YearMonth start = 1; - */ - protected $start = null; - /** - * The inclusive end year month. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YearMonth end = 2; - */ - protected $end = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\YearMonth $start - * The inclusive start year month. - * @type \Google\Ads\GoogleAds\V15\Common\YearMonth $end - * The inclusive end year month. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Dates::initOnce(); - parent::__construct($data); - } - - /** - * The inclusive start year month. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YearMonth start = 1; - * @return \Google\Ads\GoogleAds\V15\Common\YearMonth|null - */ - public function getStart() - { - return $this->start; - } - - public function hasStart() - { - return isset($this->start); - } - - public function clearStart() - { - unset($this->start); - } - - /** - * The inclusive start year month. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YearMonth start = 1; - * @param \Google\Ads\GoogleAds\V15\Common\YearMonth $var - * @return $this - */ - public function setStart($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YearMonth::class); - $this->start = $var; - - return $this; - } - - /** - * The inclusive end year month. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YearMonth end = 2; - * @return \Google\Ads\GoogleAds\V15\Common\YearMonth|null - */ - public function getEnd() - { - return $this->end; - } - - public function hasEnd() - { - return isset($this->end); - } - - public function clearEnd() - { - unset($this->end); - } - - /** - * The inclusive end year month. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YearMonth end = 2; - * @param \Google\Ads\GoogleAds\V15\Common\YearMonth $var - * @return $this - */ - public function setEnd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YearMonth::class); - $this->end = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/YouTubeChannelInfo.php b/src/Google/Ads/GoogleAds/V15/Common/YouTubeChannelInfo.php deleted file mode 100644 index e6d9b2e11..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/YouTubeChannelInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.YouTubeChannelInfo - */ -class YouTubeChannelInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The YouTube uploader channel id or the channel code of a YouTube channel. - * - * Generated from protobuf field optional string channel_id = 2; - */ - protected $channel_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $channel_id - * The YouTube uploader channel id or the channel code of a YouTube channel. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * The YouTube uploader channel id or the channel code of a YouTube channel. - * - * Generated from protobuf field optional string channel_id = 2; - * @return string - */ - public function getChannelId() - { - return isset($this->channel_id) ? $this->channel_id : ''; - } - - public function hasChannelId() - { - return isset($this->channel_id); - } - - public function clearChannelId() - { - unset($this->channel_id); - } - - /** - * The YouTube uploader channel id or the channel code of a YouTube channel. - * - * Generated from protobuf field optional string channel_id = 2; - * @param string $var - * @return $this - */ - public function setChannelId($var) - { - GPBUtil::checkString($var, True); - $this->channel_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/YouTubeVideoInfo.php b/src/Google/Ads/GoogleAds/V15/Common/YouTubeVideoInfo.php deleted file mode 100644 index a14a74442..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/YouTubeVideoInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.common.YouTubeVideoInfo - */ -class YouTubeVideoInfo extends \Google\Protobuf\Internal\Message -{ - /** - * YouTube video id as it appears on the YouTube watch page. - * - * Generated from protobuf field optional string video_id = 2; - */ - protected $video_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $video_id - * YouTube video id as it appears on the YouTube watch page. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Criteria::initOnce(); - parent::__construct($data); - } - - /** - * YouTube video id as it appears on the YouTube watch page. - * - * Generated from protobuf field optional string video_id = 2; - * @return string - */ - public function getVideoId() - { - return isset($this->video_id) ? $this->video_id : ''; - } - - public function hasVideoId() - { - return isset($this->video_id); - } - - public function clearVideoId() - { - unset($this->video_id); - } - - /** - * YouTube video id as it appears on the YouTube watch page. - * - * Generated from protobuf field optional string video_id = 2; - * @param string $var - * @return $this - */ - public function setVideoId($var) - { - GPBUtil::checkString($var, True); - $this->video_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Common/YoutubeVideoAsset.php b/src/Google/Ads/GoogleAds/V15/Common/YoutubeVideoAsset.php deleted file mode 100644 index 8e5aaab97..000000000 --- a/src/Google/Ads/GoogleAds/V15/Common/YoutubeVideoAsset.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.common.YoutubeVideoAsset - */ -class YoutubeVideoAsset extends \Google\Protobuf\Internal\Message -{ - /** - * YouTube video id. This is the 11 character string value used in the - * YouTube video URL. - * - * Generated from protobuf field optional string youtube_video_id = 2; - */ - protected $youtube_video_id = null; - /** - * YouTube video title. - * - * Generated from protobuf field string youtube_video_title = 3; - */ - protected $youtube_video_title = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $youtube_video_id - * YouTube video id. This is the 11 character string value used in the - * YouTube video URL. - * @type string $youtube_video_title - * YouTube video title. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\AssetTypes::initOnce(); - parent::__construct($data); - } - - /** - * YouTube video id. This is the 11 character string value used in the - * YouTube video URL. - * - * Generated from protobuf field optional string youtube_video_id = 2; - * @return string - */ - public function getYoutubeVideoId() - { - return isset($this->youtube_video_id) ? $this->youtube_video_id : ''; - } - - public function hasYoutubeVideoId() - { - return isset($this->youtube_video_id); - } - - public function clearYoutubeVideoId() - { - unset($this->youtube_video_id); - } - - /** - * YouTube video id. This is the 11 character string value used in the - * YouTube video URL. - * - * Generated from protobuf field optional string youtube_video_id = 2; - * @param string $var - * @return $this - */ - public function setYoutubeVideoId($var) - { - GPBUtil::checkString($var, True); - $this->youtube_video_id = $var; - - return $this; - } - - /** - * YouTube video title. - * - * Generated from protobuf field string youtube_video_title = 3; - * @return string - */ - public function getYoutubeVideoTitle() - { - return $this->youtube_video_title; - } - - /** - * YouTube video title. - * - * Generated from protobuf field string youtube_video_title = 3; - * @param string $var - * @return $this - */ - public function setYoutubeVideoTitle($var) - { - GPBUtil::checkString($var, True); - $this->youtube_video_title = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatusEnum.php deleted file mode 100644 index 277365cee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AccessInvitationStatusEnum - */ -class AccessInvitationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AccessInvitationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatusEnum/AccessInvitationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatusEnum/AccessInvitationStatus.php deleted file mode 100644 index aeaea22c2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccessInvitationStatusEnum/AccessInvitationStatus.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.enums.AccessInvitationStatusEnum.AccessInvitationStatus - */ -class AccessInvitationStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The initial state of an invitation, before being acted upon by anyone. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * Invitation process was terminated by the email recipient. No new user was - * created. - * - * Generated from protobuf enum DECLINED = 3; - */ - const DECLINED = 3; - /** - * Invitation URLs expired without being acted upon. No new user can be - * created. Invitations expire 20 days after creation. - * - * Generated from protobuf enum EXPIRED = 4; - */ - const EXPIRED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::DECLINED => 'DECLINED', - self::EXPIRED => 'EXPIRED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccessInvitationStatus::class, \Google\Ads\GoogleAds\V15\Enums\AccessInvitationStatusEnum_AccessInvitationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccessReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AccessReasonEnum.php deleted file mode 100644 index 147dff981..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccessReasonEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AccessReasonEnum - */ -class AccessReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AccessReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccessReasonEnum/AccessReason.php b/src/Google/Ads/GoogleAds/V15/Enums/AccessReasonEnum/AccessReason.php deleted file mode 100644 index badaa8004..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccessReasonEnum/AccessReason.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.AccessReasonEnum.AccessReason - */ -class AccessReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The resource is owned by the user. - * - * Generated from protobuf enum OWNED = 2; - */ - const OWNED = 2; - /** - * The resource is shared to the user. - * - * Generated from protobuf enum SHARED = 3; - */ - const SHARED = 3; - /** - * The resource is licensed to the user. - * - * Generated from protobuf enum LICENSED = 4; - */ - const LICENSED = 4; - /** - * The user subscribed to the resource. - * - * Generated from protobuf enum SUBSCRIBED = 5; - */ - const SUBSCRIBED = 5; - /** - * The resource is accessible to the user. - * - * Generated from protobuf enum AFFILIATED = 6; - */ - const AFFILIATED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OWNED => 'OWNED', - self::SHARED => 'SHARED', - self::LICENSED => 'LICENSED', - self::SUBSCRIBED => 'SUBSCRIBED', - self::AFFILIATED => 'AFFILIATED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccessReason::class, \Google\Ads\GoogleAds\V15\Enums\AccessReasonEnum_AccessReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccessRoleEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AccessRoleEnum.php deleted file mode 100644 index 92f5a2d42..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccessRoleEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AccessRoleEnum - */ -class AccessRoleEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AccessRole::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccessRoleEnum/AccessRole.php b/src/Google/Ads/GoogleAds/V15/Enums/AccessRoleEnum/AccessRole.php deleted file mode 100644 index 1b9882652..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccessRoleEnum/AccessRole.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole - */ -class AccessRole -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Owns its account and can control the addition of other users. - * - * Generated from protobuf enum ADMIN = 2; - */ - const ADMIN = 2; - /** - * Can modify campaigns, but can't affect other users. - * - * Generated from protobuf enum STANDARD = 3; - */ - const STANDARD = 3; - /** - * Can view campaigns and account changes, but cannot make edits. - * - * Generated from protobuf enum READ_ONLY = 4; - */ - const READ_ONLY = 4; - /** - * Role for \"email only\" access. Represents an email recipient rather than - * a true User entity. - * - * Generated from protobuf enum EMAIL_ONLY = 5; - */ - const EMAIL_ONLY = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADMIN => 'ADMIN', - self::STANDARD => 'STANDARD', - self::READ_ONLY => 'READ_ONLY', - self::EMAIL_ONLY => 'EMAIL_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccessRole::class, \Google\Ads\GoogleAds\V15\Enums\AccessRoleEnum_AccessRole::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatusEnum.php deleted file mode 100644 index 461751ab7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AccountBudgetProposalStatusEnum - */ -class AccountBudgetProposalStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AccountBudgetProposalStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatusEnum/AccountBudgetProposalStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatusEnum/AccountBudgetProposalStatus.php deleted file mode 100644 index 9fd3d5385..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalStatusEnum/AccountBudgetProposalStatus.php +++ /dev/null @@ -1,96 +0,0 @@ -google.ads.googleads.v15.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus - */ -class AccountBudgetProposalStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The proposal is pending approval. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * The proposal has been approved but the corresponding billing setup - * has not. This can occur for proposals that set up the first budget - * when signing up for billing or when performing a change of bill-to - * operation. - * - * Generated from protobuf enum APPROVED_HELD = 3; - */ - const APPROVED_HELD = 3; - /** - * The proposal has been approved. - * - * Generated from protobuf enum APPROVED = 4; - */ - const APPROVED = 4; - /** - * The proposal has been cancelled by the user. - * - * Generated from protobuf enum CANCELLED = 5; - */ - const CANCELLED = 5; - /** - * The proposal has been rejected by the user, for example, by rejecting an - * acceptance email. - * - * Generated from protobuf enum REJECTED = 6; - */ - const REJECTED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::APPROVED_HELD => 'APPROVED_HELD', - self::APPROVED => 'APPROVED', - self::CANCELLED => 'CANCELLED', - self::REJECTED => 'REJECTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccountBudgetProposalStatus::class, \Google\Ads\GoogleAds\V15\Enums\AccountBudgetProposalStatusEnum_AccountBudgetProposalStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalTypeEnum.php deleted file mode 100644 index 3b6ab969a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum - */ -class AccountBudgetProposalTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AccountBudgetProposalType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalTypeEnum/AccountBudgetProposalType.php b/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalTypeEnum/AccountBudgetProposalType.php deleted file mode 100644 index 6ab7fe697..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetProposalTypeEnum/AccountBudgetProposalType.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType - */ -class AccountBudgetProposalType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Identifies a request to create a new budget. - * - * Generated from protobuf enum CREATE = 2; - */ - const CREATE = 2; - /** - * Identifies a request to edit an existing budget. - * - * Generated from protobuf enum UPDATE = 3; - */ - const UPDATE = 3; - /** - * Identifies a request to end a budget that has already started. - * - * Generated from protobuf enum END = 4; - */ - const END = 4; - /** - * Identifies a request to remove a budget that hasn't started yet. - * - * Generated from protobuf enum REMOVE = 5; - */ - const REMOVE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CREATE => 'CREATE', - self::UPDATE => 'UPDATE', - self::END => 'END', - self::REMOVE => 'REMOVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccountBudgetProposalType::class, \Google\Ads\GoogleAds\V15\Enums\AccountBudgetProposalTypeEnum_AccountBudgetProposalType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatusEnum.php deleted file mode 100644 index def294009..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AccountBudgetStatusEnum - */ -class AccountBudgetStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AccountBudgetStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatusEnum/AccountBudgetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatusEnum/AccountBudgetStatus.php deleted file mode 100644 index 216ef4a05..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccountBudgetStatusEnum/AccountBudgetStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.AccountBudgetStatusEnum.AccountBudgetStatus - */ -class AccountBudgetStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The account budget is pending approval. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * The account budget has been approved. - * - * Generated from protobuf enum APPROVED = 3; - */ - const APPROVED = 3; - /** - * The account budget has been cancelled by the user. - * - * Generated from protobuf enum CANCELLED = 4; - */ - const CANCELLED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::APPROVED => 'APPROVED', - self::CANCELLED => 'CANCELLED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccountBudgetStatus::class, \Google\Ads\GoogleAds\V15\Enums\AccountBudgetStatusEnum_AccountBudgetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatusEnum.php deleted file mode 100644 index e0556ff06..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AccountLinkStatusEnum - */ -class AccountLinkStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AccountLinkStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatusEnum/AccountLinkStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatusEnum/AccountLinkStatus.php deleted file mode 100644 index ecef8181e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AccountLinkStatusEnum/AccountLinkStatus.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.enums.AccountLinkStatusEnum.AccountLinkStatus - */ -class AccountLinkStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The link is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The link is removed/disabled. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - /** - * The link to the other account has been requested. A user on the other - * account may now approve the link by setting the status to ENABLED. - * - * Generated from protobuf enum REQUESTED = 4; - */ - const REQUESTED = 4; - /** - * This link has been requested by a user on the other account. It may be - * approved by a user on this account by setting the status to ENABLED. - * - * Generated from protobuf enum PENDING_APPROVAL = 5; - */ - const PENDING_APPROVAL = 5; - /** - * The link is rejected by the approver. - * - * Generated from protobuf enum REJECTED = 6; - */ - const REJECTED = 6; - /** - * The link is revoked by the user who requested the link. - * - * Generated from protobuf enum REVOKED = 7; - */ - const REVOKED = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - self::REQUESTED => 'REQUESTED', - self::PENDING_APPROVAL => 'PENDING_APPROVAL', - self::REJECTED => 'REJECTED', - self::REVOKED => 'REVOKED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccountLinkStatus::class, \Google\Ads\GoogleAds\V15\Enums\AccountLinkStatusEnum_AccountLinkStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderFieldEnum.php deleted file mode 100644 index c701f43ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdCustomizerPlaceholderFieldEnum - */ -class AdCustomizerPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdCustomizerPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderFieldEnum/AdCustomizerPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderFieldEnum/AdCustomizerPlaceholderField.php deleted file mode 100644 index 12c39f5a0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdCustomizerPlaceholderFieldEnum/AdCustomizerPlaceholderField.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField - */ -class AdCustomizerPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: INT64. Integer value to be inserted. - * - * Generated from protobuf enum INTEGER = 2; - */ - const INTEGER = 2; - /** - * Data Type: STRING. Price value to be inserted. - * - * Generated from protobuf enum PRICE = 3; - */ - const PRICE = 3; - /** - * Data Type: DATE_TIME. Date value to be inserted. - * - * Generated from protobuf enum DATE = 4; - */ - const DATE = 4; - /** - * Data Type: STRING. String value to be inserted. - * - * Generated from protobuf enum STRING = 5; - */ - const STRING = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INTEGER => 'INTEGER', - self::PRICE => 'PRICE', - self::DATE => 'DATE', - self::STRING => 'STRING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdCustomizerPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\AdCustomizerPlaceholderFieldEnum_AdCustomizerPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdDestinationTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdDestinationTypeEnum.php deleted file mode 100644 index 319f75f50..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdDestinationTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdDestinationTypeEnum - */ -class AdDestinationTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdDestinationType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdDestinationTypeEnum/AdDestinationType.php b/src/Google/Ads/GoogleAds/V15/Enums/AdDestinationTypeEnum/AdDestinationType.php deleted file mode 100644 index 7a313520e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdDestinationTypeEnum/AdDestinationType.php +++ /dev/null @@ -1,134 +0,0 @@ -google.ads.googleads.v15.enums.AdDestinationTypeEnum.AdDestinationType - */ -class AdDestinationType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Ads that don't intend to drive users off from ads to other destinations - * - * Generated from protobuf enum NOT_APPLICABLE = 2; - */ - const NOT_APPLICABLE = 2; - /** - * Website - * - * Generated from protobuf enum WEBSITE = 3; - */ - const WEBSITE = 3; - /** - * App Deep Link - * - * Generated from protobuf enum APP_DEEP_LINK = 4; - */ - const APP_DEEP_LINK = 4; - /** - * iOS App Store or Play Store - * - * Generated from protobuf enum APP_STORE = 5; - */ - const APP_STORE = 5; - /** - * Call Dialer - * - * Generated from protobuf enum PHONE_CALL = 6; - */ - const PHONE_CALL = 6; - /** - * Map App - * - * Generated from protobuf enum MAP_DIRECTIONS = 7; - */ - const MAP_DIRECTIONS = 7; - /** - * Location Dedicated Page - * - * Generated from protobuf enum LOCATION_LISTING = 8; - */ - const LOCATION_LISTING = 8; - /** - * Text Message - * - * Generated from protobuf enum MESSAGE = 9; - */ - const MESSAGE = 9; - /** - * Lead Generation Form - * - * Generated from protobuf enum LEAD_FORM = 10; - */ - const LEAD_FORM = 10; - /** - * YouTube - * - * Generated from protobuf enum YOUTUBE = 11; - */ - const YOUTUBE = 11; - /** - * Ad Destination for Conversions with keys unknown - * - * Generated from protobuf enum UNMODELED_FOR_CONVERSIONS = 12; - */ - const UNMODELED_FOR_CONVERSIONS = 12; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NOT_APPLICABLE => 'NOT_APPLICABLE', - self::WEBSITE => 'WEBSITE', - self::APP_DEEP_LINK => 'APP_DEEP_LINK', - self::APP_STORE => 'APP_STORE', - self::PHONE_CALL => 'PHONE_CALL', - self::MAP_DIRECTIONS => 'MAP_DIRECTIONS', - self::LOCATION_LISTING => 'LOCATION_LISTING', - self::MESSAGE => 'MESSAGE', - self::LEAD_FORM => 'LEAD_FORM', - self::YOUTUBE => 'YOUTUBE', - self::UNMODELED_FOR_CONVERSIONS => 'UNMODELED_FOR_CONVERSIONS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdDestinationType::class, \Google\Ads\GoogleAds\V15\Enums\AdDestinationTypeEnum_AdDestinationType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationModeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationModeEnum.php deleted file mode 100644 index 613efd3e2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationModeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupAdRotationModeEnum - */ -class AdGroupAdRotationModeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdGroupAdRotationMode::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationModeEnum/AdGroupAdRotationMode.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationModeEnum/AdGroupAdRotationMode.php deleted file mode 100644 index 973924722..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdRotationModeEnum/AdGroupAdRotationMode.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode - */ -class AdGroupAdRotationMode -{ - /** - * The ad rotation mode has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Optimize ad group ads based on clicks or conversions. - * - * Generated from protobuf enum OPTIMIZE = 2; - */ - const OPTIMIZE = 2; - /** - * Rotate evenly forever. - * - * Generated from protobuf enum ROTATE_FOREVER = 3; - */ - const ROTATE_FOREVER = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPTIMIZE => 'OPTIMIZE', - self::ROTATE_FOREVER => 'ROTATE_FOREVER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupAdRotationMode::class, \Google\Ads\GoogleAds\V15\Enums\AdGroupAdRotationModeEnum_AdGroupAdRotationMode::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatusEnum.php deleted file mode 100644 index 762d45b8a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupAdStatusEnum - */ -class AdGroupAdStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdGroupAdStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatusEnum/AdGroupAdStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatusEnum/AdGroupAdStatus.php deleted file mode 100644 index 2073ff33c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupAdStatusEnum/AdGroupAdStatus.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupAdStatusEnum.AdGroupAdStatus - */ -class AdGroupAdStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The ad group ad is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The ad group ad is paused. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * The ad group ad is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupAdStatus::class, \Google\Ads\GoogleAds\V15\Enums\AdGroupAdStatusEnum_AdGroupAdStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatusEnum.php deleted file mode 100644 index a82ee7320..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupCriterionApprovalStatusEnum - */ -class AdGroupCriterionApprovalStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdGroupCriterionApprovalStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatusEnum/AdGroupCriterionApprovalStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatusEnum/AdGroupCriterionApprovalStatus.php deleted file mode 100644 index 8249913d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionApprovalStatusEnum/AdGroupCriterionApprovalStatus.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus - */ -class AdGroupCriterionApprovalStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Approved. - * - * Generated from protobuf enum APPROVED = 2; - */ - const APPROVED = 2; - /** - * Disapproved. - * - * Generated from protobuf enum DISAPPROVED = 3; - */ - const DISAPPROVED = 3; - /** - * Pending Review. - * - * Generated from protobuf enum PENDING_REVIEW = 4; - */ - const PENDING_REVIEW = 4; - /** - * Under review. - * - * Generated from protobuf enum UNDER_REVIEW = 5; - */ - const UNDER_REVIEW = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::APPROVED => 'APPROVED', - self::DISAPPROVED => 'DISAPPROVED', - self::PENDING_REVIEW => 'PENDING_REVIEW', - self::UNDER_REVIEW => 'UNDER_REVIEW', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupCriterionApprovalStatus::class, \Google\Ads\GoogleAds\V15\Enums\AdGroupCriterionApprovalStatusEnum_AdGroupCriterionApprovalStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatusEnum.php deleted file mode 100644 index 2550d3053..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupCriterionStatusEnum - */ -class AdGroupCriterionStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdGroupCriterionStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatusEnum/AdGroupCriterionStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatusEnum/AdGroupCriterionStatus.php deleted file mode 100644 index c0c38e8d4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupCriterionStatusEnum/AdGroupCriterionStatus.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus - */ -class AdGroupCriterionStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The ad group criterion is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The ad group criterion is paused. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * The ad group criterion is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupCriterionStatus::class, \Google\Ads\GoogleAds\V15\Enums\AdGroupCriterionStatusEnum_AdGroupCriterionStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupStatusEnum.php deleted file mode 100644 index 6d574b713..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupStatusEnum - */ -class AdGroupStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdGroupStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupStatusEnum/AdGroupStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupStatusEnum/AdGroupStatus.php deleted file mode 100644 index 378902f4d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupStatusEnum/AdGroupStatus.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupStatusEnum.AdGroupStatus - */ -class AdGroupStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The ad group is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The ad group is paused. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * The ad group is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupStatus::class, \Google\Ads\GoogleAds\V15\Enums\AdGroupStatusEnum_AdGroupStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupTypeEnum.php deleted file mode 100644 index e62d77533..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupTypeEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupTypeEnum - */ -class AdGroupTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdGroupType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupTypeEnum/AdGroupType.php b/src/Google/Ads/GoogleAds/V15/Enums/AdGroupTypeEnum/AdGroupType.php deleted file mode 100644 index 582ee6c32..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdGroupTypeEnum/AdGroupType.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.enums.AdGroupTypeEnum.AdGroupType - */ -class AdGroupType -{ - /** - * The type has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The default ad group type for Search campaigns. - * - * Generated from protobuf enum SEARCH_STANDARD = 2; - */ - const SEARCH_STANDARD = 2; - /** - * The default ad group type for Display campaigns. - * - * Generated from protobuf enum DISPLAY_STANDARD = 3; - */ - const DISPLAY_STANDARD = 3; - /** - * The ad group type for Shopping campaigns serving standard product ads. - * - * Generated from protobuf enum SHOPPING_PRODUCT_ADS = 4; - */ - const SHOPPING_PRODUCT_ADS = 4; - /** - * The default ad group type for Hotel campaigns. - * - * Generated from protobuf enum HOTEL_ADS = 6; - */ - const HOTEL_ADS = 6; - /** - * The type for ad groups in Smart Shopping campaigns. - * - * Generated from protobuf enum SHOPPING_SMART_ADS = 7; - */ - const SHOPPING_SMART_ADS = 7; - /** - * Short unskippable in-stream video ads. - * - * Generated from protobuf enum VIDEO_BUMPER = 8; - */ - const VIDEO_BUMPER = 8; - /** - * TrueView (skippable) in-stream video ads. - * - * Generated from protobuf enum VIDEO_TRUE_VIEW_IN_STREAM = 9; - */ - const VIDEO_TRUE_VIEW_IN_STREAM = 9; - /** - * TrueView in-display video ads. - * - * Generated from protobuf enum VIDEO_TRUE_VIEW_IN_DISPLAY = 10; - */ - const VIDEO_TRUE_VIEW_IN_DISPLAY = 10; - /** - * Unskippable in-stream video ads. - * - * Generated from protobuf enum VIDEO_NON_SKIPPABLE_IN_STREAM = 11; - */ - const VIDEO_NON_SKIPPABLE_IN_STREAM = 11; - /** - * Outstream video ads. - * - * Generated from protobuf enum VIDEO_OUTSTREAM = 12; - */ - const VIDEO_OUTSTREAM = 12; - /** - * Ad group type for Dynamic Search Ads ad groups. - * - * Generated from protobuf enum SEARCH_DYNAMIC_ADS = 13; - */ - const SEARCH_DYNAMIC_ADS = 13; - /** - * The type for ad groups in Shopping Comparison Listing campaigns. - * - * Generated from protobuf enum SHOPPING_COMPARISON_LISTING_ADS = 14; - */ - const SHOPPING_COMPARISON_LISTING_ADS = 14; - /** - * The ad group type for Promoted Hotel ad groups. - * - * Generated from protobuf enum PROMOTED_HOTEL_ADS = 15; - */ - const PROMOTED_HOTEL_ADS = 15; - /** - * Video responsive ad groups. - * - * Generated from protobuf enum VIDEO_RESPONSIVE = 16; - */ - const VIDEO_RESPONSIVE = 16; - /** - * Video efficient reach ad groups. - * - * Generated from protobuf enum VIDEO_EFFICIENT_REACH = 17; - */ - const VIDEO_EFFICIENT_REACH = 17; - /** - * Ad group type for Smart campaigns. - * - * Generated from protobuf enum SMART_CAMPAIGN_ADS = 18; - */ - const SMART_CAMPAIGN_ADS = 18; - /** - * Ad group type for Travel campaigns. - * - * Generated from protobuf enum TRAVEL_ADS = 19; - */ - const TRAVEL_ADS = 19; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SEARCH_STANDARD => 'SEARCH_STANDARD', - self::DISPLAY_STANDARD => 'DISPLAY_STANDARD', - self::SHOPPING_PRODUCT_ADS => 'SHOPPING_PRODUCT_ADS', - self::HOTEL_ADS => 'HOTEL_ADS', - self::SHOPPING_SMART_ADS => 'SHOPPING_SMART_ADS', - self::VIDEO_BUMPER => 'VIDEO_BUMPER', - self::VIDEO_TRUE_VIEW_IN_STREAM => 'VIDEO_TRUE_VIEW_IN_STREAM', - self::VIDEO_TRUE_VIEW_IN_DISPLAY => 'VIDEO_TRUE_VIEW_IN_DISPLAY', - self::VIDEO_NON_SKIPPABLE_IN_STREAM => 'VIDEO_NON_SKIPPABLE_IN_STREAM', - self::VIDEO_OUTSTREAM => 'VIDEO_OUTSTREAM', - self::SEARCH_DYNAMIC_ADS => 'SEARCH_DYNAMIC_ADS', - self::SHOPPING_COMPARISON_LISTING_ADS => 'SHOPPING_COMPARISON_LISTING_ADS', - self::PROMOTED_HOTEL_ADS => 'PROMOTED_HOTEL_ADS', - self::VIDEO_RESPONSIVE => 'VIDEO_RESPONSIVE', - self::VIDEO_EFFICIENT_REACH => 'VIDEO_EFFICIENT_REACH', - self::SMART_CAMPAIGN_ADS => 'SMART_CAMPAIGN_ADS', - self::TRAVEL_ADS => 'TRAVEL_ADS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupType::class, \Google\Ads\GoogleAds\V15\Enums\AdGroupTypeEnum_AdGroupType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdNetworkTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdNetworkTypeEnum.php deleted file mode 100644 index fdfaca93c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdNetworkTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdNetworkTypeEnum - */ -class AdNetworkTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdNetworkType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdNetworkTypeEnum/AdNetworkType.php b/src/Google/Ads/GoogleAds/V15/Enums/AdNetworkTypeEnum/AdNetworkType.php deleted file mode 100644 index 8d59adfe5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdNetworkTypeEnum/AdNetworkType.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.enums.AdNetworkTypeEnum.AdNetworkType - */ -class AdNetworkType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Google search. - * - * Generated from protobuf enum SEARCH = 2; - */ - const SEARCH = 2; - /** - * Search partners. - * - * Generated from protobuf enum SEARCH_PARTNERS = 3; - */ - const SEARCH_PARTNERS = 3; - /** - * Display Network. - * - * Generated from protobuf enum CONTENT = 4; - */ - const CONTENT = 4; - /** - * Cross-network. - * - * Generated from protobuf enum MIXED = 7; - */ - const MIXED = 7; - /** - * YouTube - * - * Generated from protobuf enum YOUTUBE = 8; - */ - const YOUTUBE = 8; - /** - * Google TV - * - * Generated from protobuf enum GOOGLE_TV = 9; - */ - const GOOGLE_TV = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SEARCH => 'SEARCH', - self::SEARCH_PARTNERS => 'SEARCH_PARTNERS', - self::CONTENT => 'CONTENT', - self::MIXED => 'MIXED', - self::YOUTUBE => 'YOUTUBE', - self::GOOGLE_TV => 'GOOGLE_TV', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdNetworkType::class, \Google\Ads\GoogleAds\V15\Enums\AdNetworkTypeEnum_AdNetworkType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatusEnum.php deleted file mode 100644 index 2d3e1d33b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdServingOptimizationStatusEnum - */ -class AdServingOptimizationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdServingOptimizationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatusEnum/AdServingOptimizationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatusEnum/AdServingOptimizationStatus.php deleted file mode 100644 index b19717e44..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdServingOptimizationStatusEnum/AdServingOptimizationStatus.php +++ /dev/null @@ -1,96 +0,0 @@ -google.ads.googleads.v15.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus - */ -class AdServingOptimizationStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Ad serving is optimized based on CTR for the campaign. - * - * Generated from protobuf enum OPTIMIZE = 2; - */ - const OPTIMIZE = 2; - /** - * Ad serving is optimized based on CTR * Conversion for the campaign. If - * the campaign is not in the conversion optimizer bidding strategy, it will - * default to OPTIMIZED. - * - * Generated from protobuf enum CONVERSION_OPTIMIZE = 3; - */ - const CONVERSION_OPTIMIZE = 3; - /** - * Ads are rotated evenly for 90 days, then optimized for clicks. - * - * Generated from protobuf enum ROTATE = 4; - */ - const ROTATE = 4; - /** - * Show lower performing ads more evenly with higher performing ads, and do - * not optimize. - * - * Generated from protobuf enum ROTATE_INDEFINITELY = 5; - */ - const ROTATE_INDEFINITELY = 5; - /** - * Ad serving optimization status is not available. - * - * Generated from protobuf enum UNAVAILABLE = 6; - */ - const UNAVAILABLE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPTIMIZE => 'OPTIMIZE', - self::CONVERSION_OPTIMIZE => 'CONVERSION_OPTIMIZE', - self::ROTATE => 'ROTATE', - self::ROTATE_INDEFINITELY => 'ROTATE_INDEFINITELY', - self::UNAVAILABLE => 'UNAVAILABLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdServingOptimizationStatus::class, \Google\Ads\GoogleAds\V15\Enums\AdServingOptimizationStatusEnum_AdServingOptimizationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdStrengthEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdStrengthEnum.php deleted file mode 100644 index d01159443..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdStrengthEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdStrengthEnum - */ -class AdStrengthEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdStrength::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdStrengthEnum/AdStrength.php b/src/Google/Ads/GoogleAds/V15/Enums/AdStrengthEnum/AdStrength.php deleted file mode 100644 index 299de6899..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdStrengthEnum/AdStrength.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength - */ -class AdStrength -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The ad strength is currently pending. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * No ads could be generated. - * - * Generated from protobuf enum NO_ADS = 3; - */ - const NO_ADS = 3; - /** - * Poor strength. - * - * Generated from protobuf enum POOR = 4; - */ - const POOR = 4; - /** - * Average strength. - * - * Generated from protobuf enum AVERAGE = 5; - */ - const AVERAGE = 5; - /** - * Good strength. - * - * Generated from protobuf enum GOOD = 6; - */ - const GOOD = 6; - /** - * Excellent strength. - * - * Generated from protobuf enum EXCELLENT = 7; - */ - const EXCELLENT = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::NO_ADS => 'NO_ADS', - self::POOR => 'POOR', - self::AVERAGE => 'AVERAGE', - self::GOOD => 'GOOD', - self::EXCELLENT => 'EXCELLENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdStrength::class, \Google\Ads\GoogleAds\V15\Enums\AdStrengthEnum_AdStrength::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdTypeEnum.php deleted file mode 100644 index 46c8bb6bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdTypeEnum - */ -class AdTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdTypeEnum/AdType.php b/src/Google/Ads/GoogleAds/V15/Enums/AdTypeEnum/AdType.php deleted file mode 100644 index 74855088e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdTypeEnum/AdType.php +++ /dev/null @@ -1,276 +0,0 @@ -google.ads.googleads.v15.enums.AdTypeEnum.AdType - */ -class AdType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The ad is a text ad. - * - * Generated from protobuf enum TEXT_AD = 2; - */ - const TEXT_AD = 2; - /** - * The ad is an expanded text ad. - * - * Generated from protobuf enum EXPANDED_TEXT_AD = 3; - */ - const EXPANDED_TEXT_AD = 3; - /** - * The ad is an expanded dynamic search ad. - * - * Generated from protobuf enum EXPANDED_DYNAMIC_SEARCH_AD = 7; - */ - const EXPANDED_DYNAMIC_SEARCH_AD = 7; - /** - * The ad is a hotel ad. - * - * Generated from protobuf enum HOTEL_AD = 8; - */ - const HOTEL_AD = 8; - /** - * The ad is a Smart Shopping ad. - * - * Generated from protobuf enum SHOPPING_SMART_AD = 9; - */ - const SHOPPING_SMART_AD = 9; - /** - * The ad is a standard Shopping ad. - * - * Generated from protobuf enum SHOPPING_PRODUCT_AD = 10; - */ - const SHOPPING_PRODUCT_AD = 10; - /** - * The ad is a video ad. - * - * Generated from protobuf enum VIDEO_AD = 12; - */ - const VIDEO_AD = 12; - /** - * This ad is an Image ad. - * - * Generated from protobuf enum IMAGE_AD = 14; - */ - const IMAGE_AD = 14; - /** - * The ad is a responsive search ad. - * - * Generated from protobuf enum RESPONSIVE_SEARCH_AD = 15; - */ - const RESPONSIVE_SEARCH_AD = 15; - /** - * The ad is a legacy responsive display ad. - * - * Generated from protobuf enum LEGACY_RESPONSIVE_DISPLAY_AD = 16; - */ - const LEGACY_RESPONSIVE_DISPLAY_AD = 16; - /** - * The ad is an app ad. - * - * Generated from protobuf enum APP_AD = 17; - */ - const APP_AD = 17; - /** - * The ad is a legacy app install ad. - * - * Generated from protobuf enum LEGACY_APP_INSTALL_AD = 18; - */ - const LEGACY_APP_INSTALL_AD = 18; - /** - * The ad is a responsive display ad. - * - * Generated from protobuf enum RESPONSIVE_DISPLAY_AD = 19; - */ - const RESPONSIVE_DISPLAY_AD = 19; - /** - * The ad is a local ad. - * - * Generated from protobuf enum LOCAL_AD = 20; - */ - const LOCAL_AD = 20; - /** - * The ad is a display upload ad with the HTML5_UPLOAD_AD product type. - * - * Generated from protobuf enum HTML5_UPLOAD_AD = 21; - */ - const HTML5_UPLOAD_AD = 21; - /** - * The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - * types. - * - * Generated from protobuf enum DYNAMIC_HTML5_AD = 22; - */ - const DYNAMIC_HTML5_AD = 22; - /** - * The ad is an app engagement ad. - * - * Generated from protobuf enum APP_ENGAGEMENT_AD = 23; - */ - const APP_ENGAGEMENT_AD = 23; - /** - * The ad is a Shopping Comparison Listing ad. - * - * Generated from protobuf enum SHOPPING_COMPARISON_LISTING_AD = 24; - */ - const SHOPPING_COMPARISON_LISTING_AD = 24; - /** - * Video bumper ad. - * - * Generated from protobuf enum VIDEO_BUMPER_AD = 25; - */ - const VIDEO_BUMPER_AD = 25; - /** - * Video non-skippable in-stream ad. - * - * Generated from protobuf enum VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26; - */ - const VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26; - /** - * Video outstream ad. - * - * Generated from protobuf enum VIDEO_OUTSTREAM_AD = 27; - */ - const VIDEO_OUTSTREAM_AD = 27; - /** - * Video TrueView in-stream ad. - * - * Generated from protobuf enum VIDEO_TRUEVIEW_IN_STREAM_AD = 29; - */ - const VIDEO_TRUEVIEW_IN_STREAM_AD = 29; - /** - * Video responsive ad. - * - * Generated from protobuf enum VIDEO_RESPONSIVE_AD = 30; - */ - const VIDEO_RESPONSIVE_AD = 30; - /** - * Smart campaign ad. - * - * Generated from protobuf enum SMART_CAMPAIGN_AD = 31; - */ - const SMART_CAMPAIGN_AD = 31; - /** - * Call ad. - * - * Generated from protobuf enum CALL_AD = 32; - */ - const CALL_AD = 32; - /** - * Universal app pre-registration ad. - * - * Generated from protobuf enum APP_PRE_REGISTRATION_AD = 33; - */ - const APP_PRE_REGISTRATION_AD = 33; - /** - * In-feed video ad. - * - * Generated from protobuf enum IN_FEED_VIDEO_AD = 34; - */ - const IN_FEED_VIDEO_AD = 34; - /** - * Discovery multi asset ad. - * - * Generated from protobuf enum DISCOVERY_MULTI_ASSET_AD = 35; - */ - const DISCOVERY_MULTI_ASSET_AD = 35; - /** - * Discovery carousel ad. - * - * Generated from protobuf enum DISCOVERY_CAROUSEL_AD = 36; - */ - const DISCOVERY_CAROUSEL_AD = 36; - /** - * Travel ad. - * - * Generated from protobuf enum TRAVEL_AD = 37; - */ - const TRAVEL_AD = 37; - /** - * Discovery video responsive ad. - * - * Generated from protobuf enum DISCOVERY_VIDEO_RESPONSIVE_AD = 38; - */ - const DISCOVERY_VIDEO_RESPONSIVE_AD = 38; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TEXT_AD => 'TEXT_AD', - self::EXPANDED_TEXT_AD => 'EXPANDED_TEXT_AD', - self::EXPANDED_DYNAMIC_SEARCH_AD => 'EXPANDED_DYNAMIC_SEARCH_AD', - self::HOTEL_AD => 'HOTEL_AD', - self::SHOPPING_SMART_AD => 'SHOPPING_SMART_AD', - self::SHOPPING_PRODUCT_AD => 'SHOPPING_PRODUCT_AD', - self::VIDEO_AD => 'VIDEO_AD', - self::IMAGE_AD => 'IMAGE_AD', - self::RESPONSIVE_SEARCH_AD => 'RESPONSIVE_SEARCH_AD', - self::LEGACY_RESPONSIVE_DISPLAY_AD => 'LEGACY_RESPONSIVE_DISPLAY_AD', - self::APP_AD => 'APP_AD', - self::LEGACY_APP_INSTALL_AD => 'LEGACY_APP_INSTALL_AD', - self::RESPONSIVE_DISPLAY_AD => 'RESPONSIVE_DISPLAY_AD', - self::LOCAL_AD => 'LOCAL_AD', - self::HTML5_UPLOAD_AD => 'HTML5_UPLOAD_AD', - self::DYNAMIC_HTML5_AD => 'DYNAMIC_HTML5_AD', - self::APP_ENGAGEMENT_AD => 'APP_ENGAGEMENT_AD', - self::SHOPPING_COMPARISON_LISTING_AD => 'SHOPPING_COMPARISON_LISTING_AD', - self::VIDEO_BUMPER_AD => 'VIDEO_BUMPER_AD', - self::VIDEO_NON_SKIPPABLE_IN_STREAM_AD => 'VIDEO_NON_SKIPPABLE_IN_STREAM_AD', - self::VIDEO_OUTSTREAM_AD => 'VIDEO_OUTSTREAM_AD', - self::VIDEO_TRUEVIEW_IN_STREAM_AD => 'VIDEO_TRUEVIEW_IN_STREAM_AD', - self::VIDEO_RESPONSIVE_AD => 'VIDEO_RESPONSIVE_AD', - self::SMART_CAMPAIGN_AD => 'SMART_CAMPAIGN_AD', - self::CALL_AD => 'CALL_AD', - self::APP_PRE_REGISTRATION_AD => 'APP_PRE_REGISTRATION_AD', - self::IN_FEED_VIDEO_AD => 'IN_FEED_VIDEO_AD', - self::DISCOVERY_MULTI_ASSET_AD => 'DISCOVERY_MULTI_ASSET_AD', - self::DISCOVERY_CAROUSEL_AD => 'DISCOVERY_CAROUSEL_AD', - self::TRAVEL_AD => 'TRAVEL_AD', - self::DISCOVERY_VIDEO_RESPONSIVE_AD => 'DISCOVERY_VIDEO_RESPONSIVE_AD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdType::class, \Google\Ads\GoogleAds\V15\Enums\AdTypeEnum_AdType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubTypeEnum.php deleted file mode 100644 index 8d6701cc9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum - */ -class AdvertisingChannelSubTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelSubType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubTypeEnum/AdvertisingChannelSubType.php b/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubTypeEnum/AdvertisingChannelSubType.php deleted file mode 100644 index 60fb12f77..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelSubTypeEnum/AdvertisingChannelSubType.php +++ /dev/null @@ -1,198 +0,0 @@ -google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType - */ -class AdvertisingChannelSubType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used as a return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Mobile app campaigns for Search. - * - * Generated from protobuf enum SEARCH_MOBILE_APP = 2; - */ - const SEARCH_MOBILE_APP = 2; - /** - * Mobile app campaigns for Display. - * - * Generated from protobuf enum DISPLAY_MOBILE_APP = 3; - */ - const DISPLAY_MOBILE_APP = 3; - /** - * AdWords express campaigns for search. - * - * Generated from protobuf enum SEARCH_EXPRESS = 4; - */ - const SEARCH_EXPRESS = 4; - /** - * AdWords Express campaigns for display. - * - * Generated from protobuf enum DISPLAY_EXPRESS = 5; - */ - const DISPLAY_EXPRESS = 5; - /** - * Smart Shopping campaigns. - * - * Generated from protobuf enum SHOPPING_SMART_ADS = 6; - */ - const SHOPPING_SMART_ADS = 6; - /** - * Gmail Ad campaigns. - * - * Generated from protobuf enum DISPLAY_GMAIL_AD = 7; - */ - const DISPLAY_GMAIL_AD = 7; - /** - * Smart display campaigns. New campaigns of this sub type cannot be - * created. - * - * Generated from protobuf enum DISPLAY_SMART_CAMPAIGN = 8; - */ - const DISPLAY_SMART_CAMPAIGN = 8; - /** - * Video Outstream campaigns. - * - * Generated from protobuf enum VIDEO_OUTSTREAM = 9; - */ - const VIDEO_OUTSTREAM = 9; - /** - * Video TrueView for Action campaigns. - * - * Generated from protobuf enum VIDEO_ACTION = 10; - */ - const VIDEO_ACTION = 10; - /** - * Video campaigns with non-skippable video ads. - * - * Generated from protobuf enum VIDEO_NON_SKIPPABLE = 11; - */ - const VIDEO_NON_SKIPPABLE = 11; - /** - * App Campaign that lets you easily promote your Android or iOS app - * across Google's top properties including Search, Play, YouTube, and the - * Google Display Network. - * - * Generated from protobuf enum APP_CAMPAIGN = 12; - */ - const APP_CAMPAIGN = 12; - /** - * App Campaign for engagement, focused on driving re-engagement with the - * app across several of Google's top properties including Search, YouTube, - * and the Google Display Network. - * - * Generated from protobuf enum APP_CAMPAIGN_FOR_ENGAGEMENT = 13; - */ - const APP_CAMPAIGN_FOR_ENGAGEMENT = 13; - /** - * Campaigns specialized for local advertising. - * - * Generated from protobuf enum LOCAL_CAMPAIGN = 14; - */ - const LOCAL_CAMPAIGN = 14; - /** - * Shopping Comparison Listing campaigns. - * - * Generated from protobuf enum SHOPPING_COMPARISON_LISTING_ADS = 15; - */ - const SHOPPING_COMPARISON_LISTING_ADS = 15; - /** - * Standard Smart campaigns. - * - * Generated from protobuf enum SMART_CAMPAIGN = 16; - */ - const SMART_CAMPAIGN = 16; - /** - * Video campaigns with sequence video ads. - * - * Generated from protobuf enum VIDEO_SEQUENCE = 17; - */ - const VIDEO_SEQUENCE = 17; - /** - * App Campaign for pre registration, specialized for advertising mobile - * app pre-registration, that targets multiple advertising channels across - * Google Play, YouTube and Display Network. See - * https://support.google.com/google-ads/answer/9441344 to learn more. - * - * Generated from protobuf enum APP_CAMPAIGN_FOR_PRE_REGISTRATION = 18; - */ - const APP_CAMPAIGN_FOR_PRE_REGISTRATION = 18; - /** - * Video reach campaign with Target Frequency bidding strategy. - * - * Generated from protobuf enum VIDEO_REACH_TARGET_FREQUENCY = 19; - */ - const VIDEO_REACH_TARGET_FREQUENCY = 19; - /** - * Travel Activities campaigns. - * - * Generated from protobuf enum TRAVEL_ACTIVITIES = 20; - */ - const TRAVEL_ACTIVITIES = 20; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SEARCH_MOBILE_APP => 'SEARCH_MOBILE_APP', - self::DISPLAY_MOBILE_APP => 'DISPLAY_MOBILE_APP', - self::SEARCH_EXPRESS => 'SEARCH_EXPRESS', - self::DISPLAY_EXPRESS => 'DISPLAY_EXPRESS', - self::SHOPPING_SMART_ADS => 'SHOPPING_SMART_ADS', - self::DISPLAY_GMAIL_AD => 'DISPLAY_GMAIL_AD', - self::DISPLAY_SMART_CAMPAIGN => 'DISPLAY_SMART_CAMPAIGN', - self::VIDEO_OUTSTREAM => 'VIDEO_OUTSTREAM', - self::VIDEO_ACTION => 'VIDEO_ACTION', - self::VIDEO_NON_SKIPPABLE => 'VIDEO_NON_SKIPPABLE', - self::APP_CAMPAIGN => 'APP_CAMPAIGN', - self::APP_CAMPAIGN_FOR_ENGAGEMENT => 'APP_CAMPAIGN_FOR_ENGAGEMENT', - self::LOCAL_CAMPAIGN => 'LOCAL_CAMPAIGN', - self::SHOPPING_COMPARISON_LISTING_ADS => 'SHOPPING_COMPARISON_LISTING_ADS', - self::SMART_CAMPAIGN => 'SMART_CAMPAIGN', - self::VIDEO_SEQUENCE => 'VIDEO_SEQUENCE', - self::APP_CAMPAIGN_FOR_PRE_REGISTRATION => 'APP_CAMPAIGN_FOR_PRE_REGISTRATION', - self::VIDEO_REACH_TARGET_FREQUENCY => 'VIDEO_REACH_TARGET_FREQUENCY', - self::TRAVEL_ACTIVITIES => 'TRAVEL_ACTIVITIES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdvertisingChannelSubType::class, \Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelTypeEnum.php deleted file mode 100644 index e91b2feef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum - */ -class AdvertisingChannelTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelTypeEnum/AdvertisingChannelType.php b/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelTypeEnum/AdvertisingChannelType.php deleted file mode 100644 index 69cd49455..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AdvertisingChannelTypeEnum/AdvertisingChannelType.php +++ /dev/null @@ -1,143 +0,0 @@ -google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType - */ -class AdvertisingChannelType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Search Network. Includes display bundled, and Search+ campaigns. - * - * Generated from protobuf enum SEARCH = 2; - */ - const SEARCH = 2; - /** - * Google Display Network only. - * - * Generated from protobuf enum DISPLAY = 3; - */ - const DISPLAY = 3; - /** - * Shopping campaigns serve on the shopping property - * and on google.com search results. - * - * Generated from protobuf enum SHOPPING = 4; - */ - const SHOPPING = 4; - /** - * Hotel Ads campaigns. - * - * Generated from protobuf enum HOTEL = 5; - */ - const HOTEL = 5; - /** - * Video campaigns. - * - * Generated from protobuf enum VIDEO = 6; - */ - const VIDEO = 6; - /** - * App Campaigns, and App Campaigns for Engagement, that run - * across multiple channels. - * - * Generated from protobuf enum MULTI_CHANNEL = 7; - */ - const MULTI_CHANNEL = 7; - /** - * Local ads campaigns. - * - * Generated from protobuf enum LOCAL = 8; - */ - const LOCAL = 8; - /** - * Smart campaigns. - * - * Generated from protobuf enum SMART = 9; - */ - const SMART = 9; - /** - * Performance Max campaigns. - * - * Generated from protobuf enum PERFORMANCE_MAX = 10; - */ - const PERFORMANCE_MAX = 10; - /** - * Local services campaigns. - * - * Generated from protobuf enum LOCAL_SERVICES = 11; - */ - const LOCAL_SERVICES = 11; - /** - * Discovery campaigns. - * - * Generated from protobuf enum DISCOVERY = 12; - */ - const DISCOVERY = 12; - /** - * Travel campaigns. - * - * Generated from protobuf enum TRAVEL = 13; - */ - const TRAVEL = 13; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SEARCH => 'SEARCH', - self::DISPLAY => 'DISPLAY', - self::SHOPPING => 'SHOPPING', - self::HOTEL => 'HOTEL', - self::VIDEO => 'VIDEO', - self::MULTI_CHANNEL => 'MULTI_CHANNEL', - self::LOCAL => 'LOCAL', - self::SMART => 'SMART', - self::PERFORMANCE_MAX => 'PERFORMANCE_MAX', - self::LOCAL_SERVICES => 'LOCAL_SERVICES', - self::DISCOVERY => 'DISCOVERY', - self::TRAVEL => 'TRAVEL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdvertisingChannelType::class, \Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelTypeEnum_AdvertisingChannelType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipTypeEnum.php deleted file mode 100644 index f66547651..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AffiliateLocationFeedRelationshipTypeEnum - */ -class AffiliateLocationFeedRelationshipTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AffiliateLocationFeedRelationshipType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipTypeEnum/AffiliateLocationFeedRelationshipType.php b/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipTypeEnum/AffiliateLocationFeedRelationshipType.php deleted file mode 100644 index e55cc841f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationFeedRelationshipTypeEnum/AffiliateLocationFeedRelationshipType.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType - */ -class AffiliateLocationFeedRelationshipType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * General retailer relationship. - * - * Generated from protobuf enum GENERAL_RETAILER = 2; - */ - const GENERAL_RETAILER = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::GENERAL_RETAILER => 'GENERAL_RETAILER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AffiliateLocationFeedRelationshipType::class, \Google\Ads\GoogleAds\V15\Enums\AffiliateLocationFeedRelationshipTypeEnum_AffiliateLocationFeedRelationshipType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderFieldEnum.php deleted file mode 100644 index c0b2b88af..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AffiliateLocationPlaceholderFieldEnum - */ -class AffiliateLocationPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AffiliateLocationPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderFieldEnum/AffiliateLocationPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderFieldEnum/AffiliateLocationPlaceholderField.php deleted file mode 100644 index f0b720cd8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AffiliateLocationPlaceholderFieldEnum/AffiliateLocationPlaceholderField.php +++ /dev/null @@ -1,134 +0,0 @@ -google.ads.googleads.v15.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderField - */ -class AffiliateLocationPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. The name of the business. - * - * Generated from protobuf enum BUSINESS_NAME = 2; - */ - const BUSINESS_NAME = 2; - /** - * Data Type: STRING. Line 1 of the business address. - * - * Generated from protobuf enum ADDRESS_LINE_1 = 3; - */ - const ADDRESS_LINE_1 = 3; - /** - * Data Type: STRING. Line 2 of the business address. - * - * Generated from protobuf enum ADDRESS_LINE_2 = 4; - */ - const ADDRESS_LINE_2 = 4; - /** - * Data Type: STRING. City of the business address. - * - * Generated from protobuf enum CITY = 5; - */ - const CITY = 5; - /** - * Data Type: STRING. Province of the business address. - * - * Generated from protobuf enum PROVINCE = 6; - */ - const PROVINCE = 6; - /** - * Data Type: STRING. Postal code of the business address. - * - * Generated from protobuf enum POSTAL_CODE = 7; - */ - const POSTAL_CODE = 7; - /** - * Data Type: STRING. Country code of the business address. - * - * Generated from protobuf enum COUNTRY_CODE = 8; - */ - const COUNTRY_CODE = 8; - /** - * Data Type: STRING. Phone number of the business. - * - * Generated from protobuf enum PHONE_NUMBER = 9; - */ - const PHONE_NUMBER = 9; - /** - * Data Type: STRING. Language code of the business. - * - * Generated from protobuf enum LANGUAGE_CODE = 10; - */ - const LANGUAGE_CODE = 10; - /** - * Data Type: INT64. ID of the chain. - * - * Generated from protobuf enum CHAIN_ID = 11; - */ - const CHAIN_ID = 11; - /** - * Data Type: STRING. Name of the chain. - * - * Generated from protobuf enum CHAIN_NAME = 12; - */ - const CHAIN_NAME = 12; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BUSINESS_NAME => 'BUSINESS_NAME', - self::ADDRESS_LINE_1 => 'ADDRESS_LINE_1', - self::ADDRESS_LINE_2 => 'ADDRESS_LINE_2', - self::CITY => 'CITY', - self::PROVINCE => 'PROVINCE', - self::POSTAL_CODE => 'POSTAL_CODE', - self::COUNTRY_CODE => 'COUNTRY_CODE', - self::PHONE_NUMBER => 'PHONE_NUMBER', - self::LANGUAGE_CODE => 'LANGUAGE_CODE', - self::CHAIN_ID => 'CHAIN_ID', - self::CHAIN_NAME => 'CHAIN_NAME', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AffiliateLocationPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\AffiliateLocationPlaceholderFieldEnum_AffiliateLocationPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AgeRangeTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AgeRangeTypeEnum.php deleted file mode 100644 index cda8ad852..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AgeRangeTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AgeRangeTypeEnum - */ -class AgeRangeTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AgeRangeType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AgeRangeTypeEnum/AgeRangeType.php b/src/Google/Ads/GoogleAds/V15/Enums/AgeRangeTypeEnum/AgeRangeType.php deleted file mode 100644 index f43828e05..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AgeRangeTypeEnum/AgeRangeType.php +++ /dev/null @@ -1,107 +0,0 @@ -google.ads.googleads.v15.enums.AgeRangeTypeEnum.AgeRangeType - */ -class AgeRangeType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Between 18 and 24 years old. - * - * Generated from protobuf enum AGE_RANGE_18_24 = 503001; - */ - const AGE_RANGE_18_24 = 503001; - /** - * Between 25 and 34 years old. - * - * Generated from protobuf enum AGE_RANGE_25_34 = 503002; - */ - const AGE_RANGE_25_34 = 503002; - /** - * Between 35 and 44 years old. - * - * Generated from protobuf enum AGE_RANGE_35_44 = 503003; - */ - const AGE_RANGE_35_44 = 503003; - /** - * Between 45 and 54 years old. - * - * Generated from protobuf enum AGE_RANGE_45_54 = 503004; - */ - const AGE_RANGE_45_54 = 503004; - /** - * Between 55 and 64 years old. - * - * Generated from protobuf enum AGE_RANGE_55_64 = 503005; - */ - const AGE_RANGE_55_64 = 503005; - /** - * 65 years old and beyond. - * - * Generated from protobuf enum AGE_RANGE_65_UP = 503006; - */ - const AGE_RANGE_65_UP = 503006; - /** - * Undetermined age range. - * - * Generated from protobuf enum AGE_RANGE_UNDETERMINED = 503999; - */ - const AGE_RANGE_UNDETERMINED = 503999; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AGE_RANGE_18_24 => 'AGE_RANGE_18_24', - self::AGE_RANGE_25_34 => 'AGE_RANGE_25_34', - self::AGE_RANGE_35_44 => 'AGE_RANGE_35_44', - self::AGE_RANGE_45_54 => 'AGE_RANGE_45_54', - self::AGE_RANGE_55_64 => 'AGE_RANGE_55_64', - self::AGE_RANGE_65_UP => 'AGE_RANGE_65_UP', - self::AGE_RANGE_UNDETERMINED => 'AGE_RANGE_UNDETERMINED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AgeRangeType::class, \Google\Ads\GoogleAds\V15\Enums\AgeRangeTypeEnum_AgeRangeType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionTypeEnum.php deleted file mode 100644 index b35eed0d2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum - */ -class AndroidPrivacyInteractionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyInteractionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionTypeEnum/AndroidPrivacyInteractionType.php b/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionTypeEnum/AndroidPrivacyInteractionType.php deleted file mode 100644 index 72e8dfff0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyInteractionTypeEnum/AndroidPrivacyInteractionType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType - */ -class AndroidPrivacyInteractionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The physical click interaction type. - * - * Generated from protobuf enum CLICK = 2; - */ - const CLICK = 2; - /** - * The 10 seconds engaged view interaction type. - * - * Generated from protobuf enum ENGAGED_VIEW = 3; - */ - const ENGAGED_VIEW = 3; - /** - * The view (ad impression) interaction type. - * - * Generated from protobuf enum VIEW = 4; - */ - const VIEW = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CLICK => 'CLICK', - self::ENGAGED_VIEW => 'ENGAGED_VIEW', - self::VIEW => 'VIEW', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AndroidPrivacyInteractionType::class, \Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyInteractionTypeEnum_AndroidPrivacyInteractionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkTypeEnum.php deleted file mode 100644 index fa042cb82..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum - */ -class AndroidPrivacyNetworkTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyNetworkType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkTypeEnum/AndroidPrivacyNetworkType.php b/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkTypeEnum/AndroidPrivacyNetworkType.php deleted file mode 100644 index f5de87b33..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AndroidPrivacyNetworkTypeEnum/AndroidPrivacyNetworkType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType - */ -class AndroidPrivacyNetworkType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Search Network. - * - * Generated from protobuf enum SEARCH = 2; - */ - const SEARCH = 2; - /** - * Display Network. - * - * Generated from protobuf enum DISPLAY = 3; - */ - const DISPLAY = 3; - /** - * YouTube Network. - * - * Generated from protobuf enum YOUTUBE = 4; - */ - const YOUTUBE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SEARCH => 'SEARCH', - self::DISPLAY => 'DISPLAY', - self::YOUTUBE => 'YOUTUBE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AndroidPrivacyNetworkType::class, \Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyNetworkTypeEnum_AndroidPrivacyNetworkType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoalEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoalEnum.php deleted file mode 100644 index 8f68b99be..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoalEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AppBiddingGoalEnum - */ -class AppBiddingGoalEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AppBiddingGoal::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoalEnum/AppBiddingGoal.php b/src/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoalEnum/AppBiddingGoal.php deleted file mode 100644 index bc3110b3c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppBiddingGoalEnum/AppBiddingGoal.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.enums.AppBiddingGoalEnum.AppBiddingGoal - */ -class AppBiddingGoal -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Represents value unknown in this version of the API. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The bidding strategy of the app campaign should aim to maximize - * installation of the app. - * - * Generated from protobuf enum OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME = 2; - */ - const OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME = 2; - /** - * The bidding strategy of the app campaign should aim to maximize - * the selected in-app conversions' volume. - * - * Generated from protobuf enum OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME = 3; - */ - const OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME = 3; - /** - * The bidding strategy of the app campaign should aim to maximize - * all conversions' value, that is, install and selected in-app conversions. - * - * Generated from protobuf enum OPTIMIZE_FOR_TOTAL_CONVERSION_VALUE = 4; - */ - const OPTIMIZE_FOR_TOTAL_CONVERSION_VALUE = 4; - /** - * The bidding strategy of the app campaign should aim to maximize - * just the selected in-app conversion's volume, while achieving or - * exceeding target cost per in-app conversion. - * - * Generated from protobuf enum OPTIMIZE_FOR_TARGET_IN_APP_CONVERSION = 5; - */ - const OPTIMIZE_FOR_TARGET_IN_APP_CONVERSION = 5; - /** - * The bidding strategy of the app campaign should aim to maximize - * all conversions' value, that is, install and selected in-app conversions - * while achieving or exceeding target return on advertising spend. - * - * Generated from protobuf enum OPTIMIZE_FOR_RETURN_ON_ADVERTISING_SPEND = 6; - */ - const OPTIMIZE_FOR_RETURN_ON_ADVERTISING_SPEND = 6; - /** - * This bidding strategy of the app campaign should aim to - * maximize installation of the app without advertiser-provided target - * cost-per-install. - * - * Generated from protobuf enum OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME_WITHOUT_TARGET_CPI = 7; - */ - const OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME_WITHOUT_TARGET_CPI = 7; - /** - * This bidding strategy of the app campaign should aim to - * maximize pre-registration of the app. - * - * Generated from protobuf enum OPTIMIZE_FOR_PRE_REGISTRATION_CONVERSION_VOLUME = 8; - */ - const OPTIMIZE_FOR_PRE_REGISTRATION_CONVERSION_VOLUME = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME => 'OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME', - self::OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME => 'OPTIMIZE_FOR_IN_APP_CONVERSION_VOLUME', - self::OPTIMIZE_FOR_TOTAL_CONVERSION_VALUE => 'OPTIMIZE_FOR_TOTAL_CONVERSION_VALUE', - self::OPTIMIZE_FOR_TARGET_IN_APP_CONVERSION => 'OPTIMIZE_FOR_TARGET_IN_APP_CONVERSION', - self::OPTIMIZE_FOR_RETURN_ON_ADVERTISING_SPEND => 'OPTIMIZE_FOR_RETURN_ON_ADVERTISING_SPEND', - self::OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME_WITHOUT_TARGET_CPI => 'OPTIMIZE_FOR_INSTALL_CONVERSION_VOLUME_WITHOUT_TARGET_CPI', - self::OPTIMIZE_FOR_PRE_REGISTRATION_CONVERSION_VOLUME => 'OPTIMIZE_FOR_PRE_REGISTRATION_CONVERSION_VOLUME', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppBiddingGoal::class, \Google\Ads\GoogleAds\V15\Enums\AppBiddingGoalEnum_AppBiddingGoal::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStoreEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStoreEnum.php deleted file mode 100644 index 9fcff7416..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStoreEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AppCampaignAppStoreEnum - */ -class AppCampaignAppStoreEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AppCampaignAppStore::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStoreEnum/AppCampaignAppStore.php b/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStoreEnum/AppCampaignAppStore.php deleted file mode 100644 index 1ece4fb3a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignAppStoreEnum/AppCampaignAppStore.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.AppCampaignAppStoreEnum.AppCampaignAppStore - */ -class AppCampaignAppStore -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Apple app store. - * - * Generated from protobuf enum APPLE_APP_STORE = 2; - */ - const APPLE_APP_STORE = 2; - /** - * Google play. - * - * Generated from protobuf enum GOOGLE_APP_STORE = 3; - */ - const GOOGLE_APP_STORE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::APPLE_APP_STORE => 'APPLE_APP_STORE', - self::GOOGLE_APP_STORE => 'GOOGLE_APP_STORE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppCampaignAppStore::class, \Google\Ads\GoogleAds\V15\Enums\AppCampaignAppStoreEnum_AppCampaignAppStore::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalTypeEnum.php deleted file mode 100644 index 4dc26c9b5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AppCampaignBiddingStrategyGoalTypeEnum - */ -class AppCampaignBiddingStrategyGoalTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AppCampaignBiddingStrategyGoalType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalTypeEnum/AppCampaignBiddingStrategyGoalType.php b/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalTypeEnum/AppCampaignBiddingStrategyGoalType.php deleted file mode 100644 index 2379989ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppCampaignBiddingStrategyGoalTypeEnum/AppCampaignBiddingStrategyGoalType.php +++ /dev/null @@ -1,106 +0,0 @@ -google.ads.googleads.v15.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType - */ -class AppCampaignBiddingStrategyGoalType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Aim to maximize the number of app installs. The cpa bid is the - * target cost per install. - * - * Generated from protobuf enum OPTIMIZE_INSTALLS_TARGET_INSTALL_COST = 2; - */ - const OPTIMIZE_INSTALLS_TARGET_INSTALL_COST = 2; - /** - * Aim to maximize the long term number of selected in-app conversions from - * app installs. The cpa bid is the target cost per install. - * - * Generated from protobuf enum OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST = 3; - */ - const OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST = 3; - /** - * Aim to maximize the long term number of selected in-app conversions from - * app installs. The cpa bid is the target cost per in-app conversion. Note - * that the actual cpa may seem higher than the target cpa at first, since - * the long term conversions haven't happened yet. - * - * Generated from protobuf enum OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST = 4; - */ - const OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST = 4; - /** - * Aim to maximize all conversions' value, for example, install + selected - * in-app conversions while achieving or exceeding target return on - * advertising spend. - * - * Generated from protobuf enum OPTIMIZE_RETURN_ON_ADVERTISING_SPEND = 5; - */ - const OPTIMIZE_RETURN_ON_ADVERTISING_SPEND = 5; - /** - * Aim to maximize the pre-registration of the app. - * - * Generated from protobuf enum OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME = 6; - */ - const OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME = 6; - /** - * Aim to maximize installation of the app without target cost-per-install. - * - * Generated from protobuf enum OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST = 7; - */ - const OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPTIMIZE_INSTALLS_TARGET_INSTALL_COST => 'OPTIMIZE_INSTALLS_TARGET_INSTALL_COST', - self::OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST => 'OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST', - self::OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST => 'OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST', - self::OPTIMIZE_RETURN_ON_ADVERTISING_SPEND => 'OPTIMIZE_RETURN_ON_ADVERTISING_SPEND', - self::OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME => 'OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME', - self::OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST => 'OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppCampaignBiddingStrategyGoalType::class, \Google\Ads\GoogleAds\V15\Enums\AppCampaignBiddingStrategyGoalTypeEnum_AppCampaignBiddingStrategyGoalType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelTypeEnum.php deleted file mode 100644 index efd1841d6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AppPaymentModelTypeEnum - */ -class AppPaymentModelTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AppPaymentModelType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelTypeEnum/AppPaymentModelType.php b/src/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelTypeEnum/AppPaymentModelType.php deleted file mode 100644 index 9dbdf60b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppPaymentModelTypeEnum/AppPaymentModelType.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.AppPaymentModelTypeEnum.AppPaymentModelType - */ -class AppPaymentModelType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Represents paid-for apps. - * - * Generated from protobuf enum PAID = 30; - */ - const PAID = 30; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PAID => 'PAID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppPaymentModelType::class, \Google\Ads\GoogleAds\V15\Enums\AppPaymentModelTypeEnum_AppPaymentModelType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderFieldEnum.php deleted file mode 100644 index efdb1c1ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AppPlaceholderFieldEnum - */ -class AppPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AppPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderFieldEnum/AppPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderFieldEnum/AppPlaceholderField.php deleted file mode 100644 index ccf284db0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppPlaceholderFieldEnum/AppPlaceholderField.php +++ /dev/null @@ -1,120 +0,0 @@ -google.ads.googleads.v15.enums.AppPlaceholderFieldEnum.AppPlaceholderField - */ -class AppPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: INT64. The application store that the target application - * belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play - * Store. - * - * Generated from protobuf enum STORE = 2; - */ - const STORE = 2; - /** - * Data Type: STRING. The store-specific ID for the target application. - * - * Generated from protobuf enum ID = 3; - */ - const ID = 3; - /** - * Data Type: STRING. The visible text displayed when the link is rendered - * in an ad. - * - * Generated from protobuf enum LINK_TEXT = 4; - */ - const LINK_TEXT = 4; - /** - * Data Type: STRING. The destination URL of the in-app link. - * - * Generated from protobuf enum URL = 5; - */ - const URL = 5; - /** - * Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_URLS = 6; - */ - const FINAL_URLS = 6; - /** - * Data Type: URL_LIST. Final Mobile URLs for the in-app link when using - * Upgraded URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 7; - */ - const FINAL_MOBILE_URLS = 7; - /** - * Data Type: URL. Tracking template for the in-app link when using Upgraded - * URLs. - * - * Generated from protobuf enum TRACKING_URL = 8; - */ - const TRACKING_URL = 8; - /** - * Data Type: STRING. Final URL suffix for the in-app link when using - * parallel tracking. - * - * Generated from protobuf enum FINAL_URL_SUFFIX = 9; - */ - const FINAL_URL_SUFFIX = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::STORE => 'STORE', - self::ID => 'ID', - self::LINK_TEXT => 'LINK_TEXT', - self::URL => 'URL', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::FINAL_URL_SUFFIX => 'FINAL_URL_SUFFIX', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\AppPlaceholderFieldEnum_AppPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppStoreEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AppStoreEnum.php deleted file mode 100644 index 2e221daeb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppStoreEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AppStoreEnum - */ -class AppStoreEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AppStore::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppStoreEnum/AppStore.php b/src/Google/Ads/GoogleAds/V15/Enums/AppStoreEnum/AppStore.php deleted file mode 100644 index 772c83bfc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppStoreEnum/AppStore.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.AppStoreEnum.AppStore - */ -class AppStore -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Apple iTunes. - * - * Generated from protobuf enum APPLE_ITUNES = 2; - */ - const APPLE_ITUNES = 2; - /** - * Google Play. - * - * Generated from protobuf enum GOOGLE_PLAY = 3; - */ - const GOOGLE_PLAY = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::APPLE_ITUNES => 'APPLE_ITUNES', - self::GOOGLE_PLAY => 'GOOGLE_PLAY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppStore::class, \Google\Ads\GoogleAds\V15\Enums\AppStoreEnum_AppStore::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemTypeEnum.php deleted file mode 100644 index 112fb5cd2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AppUrlOperatingSystemTypeEnum - */ -class AppUrlOperatingSystemTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AppUrlOperatingSystemType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemTypeEnum/AppUrlOperatingSystemType.php b/src/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemTypeEnum/AppUrlOperatingSystemType.php deleted file mode 100644 index dc5285f97..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AppUrlOperatingSystemTypeEnum/AppUrlOperatingSystemType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType - */ -class AppUrlOperatingSystemType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The Apple IOS operating system. - * - * Generated from protobuf enum IOS = 2; - */ - const IOS = 2; - /** - * The Android operating system. - * - * Generated from protobuf enum ANDROID = 3; - */ - const ANDROID = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::IOS => 'IOS', - self::ANDROID => 'ANDROID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppUrlOperatingSystemType::class, \Google\Ads\GoogleAds\V15\Enums\AppUrlOperatingSystemTypeEnum_AppUrlOperatingSystemType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatusEnum.php deleted file mode 100644 index 5fc8d8e9d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetAutomationStatusEnum - */ -class AssetAutomationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetAutomationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatusEnum/AssetAutomationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatusEnum/AssetAutomationStatus.php deleted file mode 100644 index df1fa596b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationStatusEnum/AssetAutomationStatus.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.enums.AssetAutomationStatusEnum.AssetAutomationStatus - */ -class AssetAutomationStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used as a return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Opted-in will enable generating and serving an asset - * automation type. - * - * Generated from protobuf enum OPTED_IN = 2; - */ - const OPTED_IN = 2; - /** - * Opted-out will stop generating and serving an asset - * automation type. - * - * Generated from protobuf enum OPTED_OUT = 3; - */ - const OPTED_OUT = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPTED_IN => 'OPTED_IN', - self::OPTED_OUT => 'OPTED_OUT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetAutomationStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetAutomationStatusEnum_AssetAutomationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationTypeEnum.php deleted file mode 100644 index 18cf64946..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetAutomationTypeEnum - */ -class AssetAutomationTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetAutomationType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationTypeEnum/AssetAutomationType.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationTypeEnum/AssetAutomationType.php deleted file mode 100644 index de31fe863..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetAutomationTypeEnum/AssetAutomationType.php +++ /dev/null @@ -1,66 +0,0 @@ -google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType - */ -class AssetAutomationType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used as a return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Text asset automation includes headlines and descriptions. - * By default, advertisers are opted-in for Performance Max and - * opted-out for Search. - * - * Generated from protobuf enum TEXT_ASSET_AUTOMATION = 2; - */ - const TEXT_ASSET_AUTOMATION = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TEXT_ASSET_AUTOMATION => 'TEXT_ASSET_AUTOMATION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetAutomationType::class, \Google\Ads\GoogleAds\V15\Enums\AssetAutomationTypeEnum_AssetAutomationType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetFieldTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetFieldTypeEnum.php deleted file mode 100644 index bbe0a740a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetFieldTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetFieldTypeEnum - */ -class AssetFieldTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetFieldType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetFieldTypeEnum/AssetFieldType.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetFieldTypeEnum/AssetFieldType.php deleted file mode 100644 index 208986f25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetFieldTypeEnum/AssetFieldType.php +++ /dev/null @@ -1,248 +0,0 @@ -google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType - */ -class AssetFieldType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset is linked for use as a headline. - * - * Generated from protobuf enum HEADLINE = 2; - */ - const HEADLINE = 2; - /** - * The asset is linked for use as a description. - * - * Generated from protobuf enum DESCRIPTION = 3; - */ - const DESCRIPTION = 3; - /** - * The asset is linked for use as mandatory ad text. - * - * Generated from protobuf enum MANDATORY_AD_TEXT = 4; - */ - const MANDATORY_AD_TEXT = 4; - /** - * The asset is linked for use as a marketing image. - * - * Generated from protobuf enum MARKETING_IMAGE = 5; - */ - const MARKETING_IMAGE = 5; - /** - * The asset is linked for use as a media bundle. - * - * Generated from protobuf enum MEDIA_BUNDLE = 6; - */ - const MEDIA_BUNDLE = 6; - /** - * The asset is linked for use as a YouTube video. - * - * Generated from protobuf enum YOUTUBE_VIDEO = 7; - */ - const YOUTUBE_VIDEO = 7; - /** - * The asset is linked to indicate that a hotels campaign is "Book on - * Google" enabled. - * - * Generated from protobuf enum BOOK_ON_GOOGLE = 8; - */ - const BOOK_ON_GOOGLE = 8; - /** - * The asset is linked for use as a Lead Form extension. - * - * Generated from protobuf enum LEAD_FORM = 9; - */ - const LEAD_FORM = 9; - /** - * The asset is linked for use as a Promotion extension. - * - * Generated from protobuf enum PROMOTION = 10; - */ - const PROMOTION = 10; - /** - * The asset is linked for use as a Callout extension. - * - * Generated from protobuf enum CALLOUT = 11; - */ - const CALLOUT = 11; - /** - * The asset is linked for use as a Structured Snippet extension. - * - * Generated from protobuf enum STRUCTURED_SNIPPET = 12; - */ - const STRUCTURED_SNIPPET = 12; - /** - * The asset is linked for use as a Sitelink. - * - * Generated from protobuf enum SITELINK = 13; - */ - const SITELINK = 13; - /** - * The asset is linked for use as a Mobile App extension. - * - * Generated from protobuf enum MOBILE_APP = 14; - */ - const MOBILE_APP = 14; - /** - * The asset is linked for use as a Hotel Callout extension. - * - * Generated from protobuf enum HOTEL_CALLOUT = 15; - */ - const HOTEL_CALLOUT = 15; - /** - * The asset is linked for use as a Call extension. - * - * Generated from protobuf enum CALL = 16; - */ - const CALL = 16; - /** - * The asset is linked for use as a Price extension. - * - * Generated from protobuf enum PRICE = 24; - */ - const PRICE = 24; - /** - * The asset is linked for use as a long headline. - * - * Generated from protobuf enum LONG_HEADLINE = 17; - */ - const LONG_HEADLINE = 17; - /** - * The asset is linked for use as a business name. - * - * Generated from protobuf enum BUSINESS_NAME = 18; - */ - const BUSINESS_NAME = 18; - /** - * The asset is linked for use as a square marketing image. - * - * Generated from protobuf enum SQUARE_MARKETING_IMAGE = 19; - */ - const SQUARE_MARKETING_IMAGE = 19; - /** - * The asset is linked for use as a portrait marketing image. - * - * Generated from protobuf enum PORTRAIT_MARKETING_IMAGE = 20; - */ - const PORTRAIT_MARKETING_IMAGE = 20; - /** - * The asset is linked for use as a logo. - * - * Generated from protobuf enum LOGO = 21; - */ - const LOGO = 21; - /** - * The asset is linked for use as a landscape logo. - * - * Generated from protobuf enum LANDSCAPE_LOGO = 22; - */ - const LANDSCAPE_LOGO = 22; - /** - * The asset is linked for use as a non YouTube logo. - * - * Generated from protobuf enum VIDEO = 23; - */ - const VIDEO = 23; - /** - * The asset is linked for use to select a call-to-action. - * - * Generated from protobuf enum CALL_TO_ACTION_SELECTION = 25; - */ - const CALL_TO_ACTION_SELECTION = 25; - /** - * The asset is linked for use to select an ad image. - * - * Generated from protobuf enum AD_IMAGE = 26; - */ - const AD_IMAGE = 26; - /** - * The asset is linked for use as a business logo. - * - * Generated from protobuf enum BUSINESS_LOGO = 27; - */ - const BUSINESS_LOGO = 27; - /** - * The asset is linked for use as a hotel property in a Performance Max for - * travel goals campaign. - * - * Generated from protobuf enum HOTEL_PROPERTY = 28; - */ - const HOTEL_PROPERTY = 28; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::HEADLINE => 'HEADLINE', - self::DESCRIPTION => 'DESCRIPTION', - self::MANDATORY_AD_TEXT => 'MANDATORY_AD_TEXT', - self::MARKETING_IMAGE => 'MARKETING_IMAGE', - self::MEDIA_BUNDLE => 'MEDIA_BUNDLE', - self::YOUTUBE_VIDEO => 'YOUTUBE_VIDEO', - self::BOOK_ON_GOOGLE => 'BOOK_ON_GOOGLE', - self::LEAD_FORM => 'LEAD_FORM', - self::PROMOTION => 'PROMOTION', - self::CALLOUT => 'CALLOUT', - self::STRUCTURED_SNIPPET => 'STRUCTURED_SNIPPET', - self::SITELINK => 'SITELINK', - self::MOBILE_APP => 'MOBILE_APP', - self::HOTEL_CALLOUT => 'HOTEL_CALLOUT', - self::CALL => 'CALL', - self::PRICE => 'PRICE', - self::LONG_HEADLINE => 'LONG_HEADLINE', - self::BUSINESS_NAME => 'BUSINESS_NAME', - self::SQUARE_MARKETING_IMAGE => 'SQUARE_MARKETING_IMAGE', - self::PORTRAIT_MARKETING_IMAGE => 'PORTRAIT_MARKETING_IMAGE', - self::LOGO => 'LOGO', - self::LANDSCAPE_LOGO => 'LANDSCAPE_LOGO', - self::VIDEO => 'VIDEO', - self::CALL_TO_ACTION_SELECTION => 'CALL_TO_ACTION_SELECTION', - self::AD_IMAGE => 'AD_IMAGE', - self::BUSINESS_LOGO => 'BUSINESS_LOGO', - self::HOTEL_PROPERTY => 'HOTEL_PROPERTY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetFieldType::class, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum_AssetFieldType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusEnum.php deleted file mode 100644 index 26d1c7da4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetGroupPrimaryStatusEnum - */ -class AssetGroupPrimaryStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetGroupPrimaryStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusEnum/AssetGroupPrimaryStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusEnum/AssetGroupPrimaryStatus.php deleted file mode 100644 index 9377f80f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusEnum/AssetGroupPrimaryStatus.php +++ /dev/null @@ -1,100 +0,0 @@ -google.ads.googleads.v15.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus - */ -class AssetGroupPrimaryStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset group is eligible to serve. - * - * Generated from protobuf enum ELIGIBLE = 2; - */ - const ELIGIBLE = 2; - /** - * The asset group is paused. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * The asset group is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - /** - * The asset group is not eligible to serve. - * - * Generated from protobuf enum NOT_ELIGIBLE = 5; - */ - const NOT_ELIGIBLE = 5; - /** - * The asset group has limited servability. - * - * Generated from protobuf enum LIMITED = 6; - */ - const LIMITED = 6; - /** - * The asset group is pending approval and may serve in the future. - * - * Generated from protobuf enum PENDING = 7; - */ - const PENDING = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ELIGIBLE => 'ELIGIBLE', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - self::NOT_ELIGIBLE => 'NOT_ELIGIBLE', - self::LIMITED => 'LIMITED', - self::PENDING => 'PENDING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetGroupPrimaryStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetGroupPrimaryStatusEnum_AssetGroupPrimaryStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReasonEnum.php deleted file mode 100644 index b04144e20..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReasonEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetGroupPrimaryStatusReasonEnum - */ -class AssetGroupPrimaryStatusReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetGroupPrimaryStatusReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReasonEnum/AssetGroupPrimaryStatusReason.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReasonEnum/AssetGroupPrimaryStatusReason.php deleted file mode 100644 index 8ab9da12a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupPrimaryStatusReasonEnum/AssetGroupPrimaryStatusReason.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason - */ -class AssetGroupPrimaryStatusReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The user-specified asset group status is paused. - * - * Generated from protobuf enum ASSET_GROUP_PAUSED = 2; - */ - const ASSET_GROUP_PAUSED = 2; - /** - * The user-specified asset group status is removed. - * - * Generated from protobuf enum ASSET_GROUP_REMOVED = 3; - */ - const ASSET_GROUP_REMOVED = 3; - /** - * The user-specified campaign status is removed. - * - * Generated from protobuf enum CAMPAIGN_REMOVED = 4; - */ - const CAMPAIGN_REMOVED = 4; - /** - * The user-specified campaign status is paused. - * - * Generated from protobuf enum CAMPAIGN_PAUSED = 5; - */ - const CAMPAIGN_PAUSED = 5; - /** - * The user-specified time for this campaign to start is in the future. - * - * Generated from protobuf enum CAMPAIGN_PENDING = 6; - */ - const CAMPAIGN_PENDING = 6; - /** - * The user-specified time for this campaign to end has passed. - * - * Generated from protobuf enum CAMPAIGN_ENDED = 7; - */ - const CAMPAIGN_ENDED = 7; - /** - * The asset group is approved but only serves in limited capacity due to - * policies. - * - * Generated from protobuf enum ASSET_GROUP_LIMITED = 8; - */ - const ASSET_GROUP_LIMITED = 8; - /** - * The asset group has been marked as disapproved. - * - * Generated from protobuf enum ASSET_GROUP_DISAPPROVED = 9; - */ - const ASSET_GROUP_DISAPPROVED = 9; - /** - * The asset group has not completed policy review. - * - * Generated from protobuf enum ASSET_GROUP_UNDER_REVIEW = 10; - */ - const ASSET_GROUP_UNDER_REVIEW = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ASSET_GROUP_PAUSED => 'ASSET_GROUP_PAUSED', - self::ASSET_GROUP_REMOVED => 'ASSET_GROUP_REMOVED', - self::CAMPAIGN_REMOVED => 'CAMPAIGN_REMOVED', - self::CAMPAIGN_PAUSED => 'CAMPAIGN_PAUSED', - self::CAMPAIGN_PENDING => 'CAMPAIGN_PENDING', - self::CAMPAIGN_ENDED => 'CAMPAIGN_ENDED', - self::ASSET_GROUP_LIMITED => 'ASSET_GROUP_LIMITED', - self::ASSET_GROUP_DISAPPROVED => 'ASSET_GROUP_DISAPPROVED', - self::ASSET_GROUP_UNDER_REVIEW => 'ASSET_GROUP_UNDER_REVIEW', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetGroupPrimaryStatusReason::class, \Google\Ads\GoogleAds\V15\Enums\AssetGroupPrimaryStatusReasonEnum_AssetGroupPrimaryStatusReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatusEnum.php deleted file mode 100644 index cc4d5c582..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AssetGroupSignalApprovalStatusEnum - */ -class AssetGroupSignalApprovalStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetGroupSignalApprovalStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatusEnum/AssetGroupSignalApprovalStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatusEnum/AssetGroupSignalApprovalStatus.php deleted file mode 100644 index 108ce420e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupSignalApprovalStatusEnum/AssetGroupSignalApprovalStatus.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.enums.AssetGroupSignalApprovalStatusEnum.AssetGroupSignalApprovalStatus - */ -class AssetGroupSignalApprovalStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Search Theme is eligible to show ads. - * - * Generated from protobuf enum APPROVED = 2; - */ - const APPROVED = 2; - /** - * Low search volume; Below first page bid estimate. - * - * Generated from protobuf enum LIMITED = 3; - */ - const LIMITED = 3; - /** - * Search Theme is inactive and isn't showing ads. A disapproved Search - * Theme usually means there's an issue with one or more of our advertising - * policies. - * - * Generated from protobuf enum DISAPPROVED = 4; - */ - const DISAPPROVED = 4; - /** - * Search Theme is under review. It won’t be able to trigger ads until - * it's been reviewed. - * - * Generated from protobuf enum UNDER_REVIEW = 5; - */ - const UNDER_REVIEW = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::APPROVED => 'APPROVED', - self::LIMITED => 'LIMITED', - self::DISAPPROVED => 'DISAPPROVED', - self::UNDER_REVIEW => 'UNDER_REVIEW', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetGroupSignalApprovalStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetGroupSignalApprovalStatusEnum_AssetGroupSignalApprovalStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatusEnum.php deleted file mode 100644 index 27beb9924..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetGroupStatusEnum - */ -class AssetGroupStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetGroupStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatusEnum/AssetGroupStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatusEnum/AssetGroupStatus.php deleted file mode 100644 index 202677cff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetGroupStatusEnum/AssetGroupStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.AssetGroupStatusEnum.AssetGroupStatus - */ -class AssetGroupStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset group is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The asset group is paused. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * The asset group is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetGroupStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetGroupStatusEnum_AssetGroupStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusEnum.php deleted file mode 100644 index 277499303..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum - */ -class AssetLinkPrimaryStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusEnum/AssetLinkPrimaryStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusEnum/AssetLinkPrimaryStatus.php deleted file mode 100644 index eca13b27d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusEnum/AssetLinkPrimaryStatus.php +++ /dev/null @@ -1,104 +0,0 @@ -google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus - */ -class AssetLinkPrimaryStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset is eligible to serve. - * - * Generated from protobuf enum ELIGIBLE = 2; - */ - const ELIGIBLE = 2; - /** - * The user-specified asset link status is paused. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * The user-specified asset link status is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - /** - * The asset may serve in the future. - * - * Generated from protobuf enum PENDING = 5; - */ - const PENDING = 5; - /** - * The asset is serving in a partial capacity. - * - * Generated from protobuf enum LIMITED = 6; - */ - const LIMITED = 6; - /** - * The asset is not eligible to serve. - * - * Generated from protobuf enum NOT_ELIGIBLE = 7; - */ - const NOT_ELIGIBLE = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ELIGIBLE => 'ELIGIBLE', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - self::PENDING => 'PENDING', - self::LIMITED => 'LIMITED', - self::NOT_ELIGIBLE => 'NOT_ELIGIBLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetLinkPrimaryStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusEnum_AssetLinkPrimaryStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReasonEnum.php deleted file mode 100644 index b4448b46a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReasonEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum - */ -class AssetLinkPrimaryStatusReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReasonEnum/AssetLinkPrimaryStatusReason.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReasonEnum/AssetLinkPrimaryStatusReason.php deleted file mode 100644 index 1b2a94fdf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkPrimaryStatusReasonEnum/AssetLinkPrimaryStatusReason.php +++ /dev/null @@ -1,103 +0,0 @@ -google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason - */ -class AssetLinkPrimaryStatusReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset is paused for its linked rollup level. Contributes to a - * PrimaryStatus of PAUSED. - * - * Generated from protobuf enum ASSET_LINK_PAUSED = 2; - */ - const ASSET_LINK_PAUSED = 2; - /** - * The asset is removed for its linked rollup level. Contributes to a - * PrimaryStatus of REMOVED. - * - * Generated from protobuf enum ASSET_LINK_REMOVED = 3; - */ - const ASSET_LINK_REMOVED = 3; - /** - * The asset has been marked as disapproved. Contributes to a PrimaryStatus - * of NOT_ELIGIBLE - * - * Generated from protobuf enum ASSET_DISAPPROVED = 4; - */ - const ASSET_DISAPPROVED = 4; - /** - * The asset has not completed policy review. Contributes to a PrimaryStatus - * of PENDING. - * - * Generated from protobuf enum ASSET_UNDER_REVIEW = 5; - */ - const ASSET_UNDER_REVIEW = 5; - /** - * The asset is approved with policies applied. Contributes to a - * PrimaryStatus of LIMITED. - * - * Generated from protobuf enum ASSET_APPROVED_LABELED = 6; - */ - const ASSET_APPROVED_LABELED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ASSET_LINK_PAUSED => 'ASSET_LINK_PAUSED', - self::ASSET_LINK_REMOVED => 'ASSET_LINK_REMOVED', - self::ASSET_DISAPPROVED => 'ASSET_DISAPPROVED', - self::ASSET_UNDER_REVIEW => 'ASSET_UNDER_REVIEW', - self::ASSET_APPROVED_LABELED => 'ASSET_APPROVED_LABELED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetLinkPrimaryStatusReason::class, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusReasonEnum_AssetLinkPrimaryStatusReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatusEnum.php deleted file mode 100644 index 27036416c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetLinkStatusEnum - */ -class AssetLinkStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetLinkStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatusEnum/AssetLinkStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatusEnum/AssetLinkStatus.php deleted file mode 100644 index 50b9e867a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetLinkStatusEnum/AssetLinkStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus - */ -class AssetLinkStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Asset link is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Asset link has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - /** - * Asset link is paused. - * - * Generated from protobuf enum PAUSED = 4; - */ - const PAUSED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - self::PAUSED => 'PAUSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetLinkStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetLinkStatusEnum_AssetLinkStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasonsEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasonsEnum.php deleted file mode 100644 index 3e1c45067..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasonsEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetOfflineEvaluationErrorReasonsEnum - */ -class AssetOfflineEvaluationErrorReasonsEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetOfflineEvaluationErrorReasons::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasonsEnum/AssetOfflineEvaluationErrorReasons.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasonsEnum/AssetOfflineEvaluationErrorReasons.php deleted file mode 100644 index c2d0d3cd6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetOfflineEvaluationErrorReasonsEnum/AssetOfflineEvaluationErrorReasons.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.enums.AssetOfflineEvaluationErrorReasonsEnum.AssetOfflineEvaluationErrorReasons - */ -class AssetOfflineEvaluationErrorReasons -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * One or more descriptions repeats its corresponding row header. - * - * Generated from protobuf enum PRICE_ASSET_DESCRIPTION_REPEATS_ROW_HEADER = 2; - */ - const PRICE_ASSET_DESCRIPTION_REPEATS_ROW_HEADER = 2; - /** - * Price asset contains repetitive headers. - * - * Generated from protobuf enum PRICE_ASSET_REPETITIVE_HEADERS = 3; - */ - const PRICE_ASSET_REPETITIVE_HEADERS = 3; - /** - * Price item header is not relevant to the price type. - * - * Generated from protobuf enum PRICE_ASSET_HEADER_INCOMPATIBLE_WITH_PRICE_TYPE = 4; - */ - const PRICE_ASSET_HEADER_INCOMPATIBLE_WITH_PRICE_TYPE = 4; - /** - * Price item description is not relevant to the item header. - * - * Generated from protobuf enum PRICE_ASSET_DESCRIPTION_INCOMPATIBLE_WITH_ITEM_HEADER = 5; - */ - const PRICE_ASSET_DESCRIPTION_INCOMPATIBLE_WITH_ITEM_HEADER = 5; - /** - * Price asset has a price qualifier in a description. - * - * Generated from protobuf enum PRICE_ASSET_DESCRIPTION_HAS_PRICE_QUALIFIER = 6; - */ - const PRICE_ASSET_DESCRIPTION_HAS_PRICE_QUALIFIER = 6; - /** - * Unsupported language for price assets - * - * Generated from protobuf enum PRICE_ASSET_UNSUPPORTED_LANGUAGE = 7; - */ - const PRICE_ASSET_UNSUPPORTED_LANGUAGE = 7; - /** - * Human raters identified an issue with the price asset that isn't captured - * by other error reasons. The primary purpose of this value is to represent - * legacy FeedItem disapprovals that are no longer produced. - * - * Generated from protobuf enum PRICE_ASSET_OTHER_ERROR = 8; - */ - const PRICE_ASSET_OTHER_ERROR = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PRICE_ASSET_DESCRIPTION_REPEATS_ROW_HEADER => 'PRICE_ASSET_DESCRIPTION_REPEATS_ROW_HEADER', - self::PRICE_ASSET_REPETITIVE_HEADERS => 'PRICE_ASSET_REPETITIVE_HEADERS', - self::PRICE_ASSET_HEADER_INCOMPATIBLE_WITH_PRICE_TYPE => 'PRICE_ASSET_HEADER_INCOMPATIBLE_WITH_PRICE_TYPE', - self::PRICE_ASSET_DESCRIPTION_INCOMPATIBLE_WITH_ITEM_HEADER => 'PRICE_ASSET_DESCRIPTION_INCOMPATIBLE_WITH_ITEM_HEADER', - self::PRICE_ASSET_DESCRIPTION_HAS_PRICE_QUALIFIER => 'PRICE_ASSET_DESCRIPTION_HAS_PRICE_QUALIFIER', - self::PRICE_ASSET_UNSUPPORTED_LANGUAGE => 'PRICE_ASSET_UNSUPPORTED_LANGUAGE', - self::PRICE_ASSET_OTHER_ERROR => 'PRICE_ASSET_OTHER_ERROR', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetOfflineEvaluationErrorReasons::class, \Google\Ads\GoogleAds\V15\Enums\AssetOfflineEvaluationErrorReasonsEnum_AssetOfflineEvaluationErrorReasons::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabelEnum.php deleted file mode 100644 index 8583eb5c1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetPerformanceLabelEnum - */ -class AssetPerformanceLabelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetPerformanceLabel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabelEnum/AssetPerformanceLabel.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabelEnum/AssetPerformanceLabel.php deleted file mode 100644 index 90c784eee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetPerformanceLabelEnum/AssetPerformanceLabel.php +++ /dev/null @@ -1,95 +0,0 @@ -google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel - */ -class AssetPerformanceLabel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * This asset does not yet have any performance informantion. This may be - * because it is still under review. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * The asset has started getting impressions but the stats are not - * statistically significant enough to get an asset performance label. - * - * Generated from protobuf enum LEARNING = 3; - */ - const LEARNING = 3; - /** - * Worst performing assets. - * - * Generated from protobuf enum LOW = 4; - */ - const LOW = 4; - /** - * Good performing assets. - * - * Generated from protobuf enum GOOD = 5; - */ - const GOOD = 5; - /** - * Best performing assets. - * - * Generated from protobuf enum BEST = 6; - */ - const BEST = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::LEARNING => 'LEARNING', - self::LOW => 'LOW', - self::GOOD => 'GOOD', - self::BEST => 'BEST', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetPerformanceLabel::class, \Google\Ads\GoogleAds\V15\Enums\AssetPerformanceLabelEnum_AssetPerformanceLabel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatusEnum.php deleted file mode 100644 index 8d3b95ce1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetSetAssetStatusEnum - */ -class AssetSetAssetStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetSetAssetStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatusEnum/AssetSetAssetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatusEnum/AssetSetAssetStatus.php deleted file mode 100644 index eaf5da688..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetAssetStatusEnum/AssetSetAssetStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus - */ -class AssetSetAssetStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset set asset is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The asset set asset is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetSetAssetStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetSetAssetStatusEnum_AssetSetAssetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatusEnum.php deleted file mode 100644 index b380423fa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AssetSetLinkStatusEnum - */ -class AssetSetLinkStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetSetLinkStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatusEnum/AssetSetLinkStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatusEnum/AssetSetLinkStatus.php deleted file mode 100644 index 605df76f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetLinkStatusEnum/AssetSetLinkStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus - */ -class AssetSetLinkStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The linkage between asset set and its container is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The linkage between asset set and its container is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetSetLinkStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetSetLinkStatusEnum_AssetSetLinkStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSetStatusEnum.php deleted file mode 100644 index a764f7028..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetSetStatusEnum - */ -class AssetSetStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetSetStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetStatusEnum/AssetSetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSetStatusEnum/AssetSetStatus.php deleted file mode 100644 index b30a2d467..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetStatusEnum/AssetSetStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.AssetSetStatusEnum.AssetSetStatus - */ -class AssetSetStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset set is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The asset set is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetSetStatus::class, \Google\Ads\GoogleAds\V15\Enums\AssetSetStatusEnum_AssetSetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSetTypeEnum.php deleted file mode 100644 index c1f0de285..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetSetTypeEnum - */ -class AssetSetTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetSetType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetTypeEnum/AssetSetType.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSetTypeEnum/AssetSetType.php deleted file mode 100644 index acc8ee801..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSetTypeEnum/AssetSetType.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType - */ -class AssetSetType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Page asset set. - * - * Generated from protobuf enum PAGE_FEED = 2; - */ - const PAGE_FEED = 2; - /** - * Dynamic education asset set. - * - * Generated from protobuf enum DYNAMIC_EDUCATION = 3; - */ - const DYNAMIC_EDUCATION = 3; - /** - * Google Merchant Center asset set. - * - * Generated from protobuf enum MERCHANT_CENTER_FEED = 4; - */ - const MERCHANT_CENTER_FEED = 4; - /** - * Dynamic real estate asset set. - * - * Generated from protobuf enum DYNAMIC_REAL_ESTATE = 5; - */ - const DYNAMIC_REAL_ESTATE = 5; - /** - * Dynamic custom asset set. - * - * Generated from protobuf enum DYNAMIC_CUSTOM = 6; - */ - const DYNAMIC_CUSTOM = 6; - /** - * Dynamic hotels and rentals asset set. - * - * Generated from protobuf enum DYNAMIC_HOTELS_AND_RENTALS = 7; - */ - const DYNAMIC_HOTELS_AND_RENTALS = 7; - /** - * Dynamic flights asset set. - * - * Generated from protobuf enum DYNAMIC_FLIGHTS = 8; - */ - const DYNAMIC_FLIGHTS = 8; - /** - * Dynamic travel asset set. - * - * Generated from protobuf enum DYNAMIC_TRAVEL = 9; - */ - const DYNAMIC_TRAVEL = 9; - /** - * Dynamic local asset set. - * - * Generated from protobuf enum DYNAMIC_LOCAL = 10; - */ - const DYNAMIC_LOCAL = 10; - /** - * Dynamic jobs asset set. - * - * Generated from protobuf enum DYNAMIC_JOBS = 11; - */ - const DYNAMIC_JOBS = 11; - /** - * Location sync level asset set. - * - * Generated from protobuf enum LOCATION_SYNC = 12; - */ - const LOCATION_SYNC = 12; - /** - * Business Profile location group asset set. - * - * Generated from protobuf enum BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP = 13; - */ - const BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP = 13; - /** - * Chain location group asset set which can be used for both owned - * locations and affiliate locations. - * - * Generated from protobuf enum CHAIN_DYNAMIC_LOCATION_GROUP = 14; - */ - const CHAIN_DYNAMIC_LOCATION_GROUP = 14; - /** - * Static location group asset set which can be used for both owned - * locations and affiliate locations. - * - * Generated from protobuf enum STATIC_LOCATION_GROUP = 15; - */ - const STATIC_LOCATION_GROUP = 15; - /** - * Hotel Property asset set which is used to link a hotel property feed to - * Performance Max for travel goals campaigns. - * - * Generated from protobuf enum HOTEL_PROPERTY = 16; - */ - const HOTEL_PROPERTY = 16; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PAGE_FEED => 'PAGE_FEED', - self::DYNAMIC_EDUCATION => 'DYNAMIC_EDUCATION', - self::MERCHANT_CENTER_FEED => 'MERCHANT_CENTER_FEED', - self::DYNAMIC_REAL_ESTATE => 'DYNAMIC_REAL_ESTATE', - self::DYNAMIC_CUSTOM => 'DYNAMIC_CUSTOM', - self::DYNAMIC_HOTELS_AND_RENTALS => 'DYNAMIC_HOTELS_AND_RENTALS', - self::DYNAMIC_FLIGHTS => 'DYNAMIC_FLIGHTS', - self::DYNAMIC_TRAVEL => 'DYNAMIC_TRAVEL', - self::DYNAMIC_LOCAL => 'DYNAMIC_LOCAL', - self::DYNAMIC_JOBS => 'DYNAMIC_JOBS', - self::LOCATION_SYNC => 'LOCATION_SYNC', - self::BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP => 'BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP', - self::CHAIN_DYNAMIC_LOCATION_GROUP => 'CHAIN_DYNAMIC_LOCATION_GROUP', - self::STATIC_LOCATION_GROUP => 'STATIC_LOCATION_GROUP', - self::HOTEL_PROPERTY => 'HOTEL_PROPERTY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetSetType::class, \Google\Ads\GoogleAds\V15\Enums\AssetSetTypeEnum_AssetSetType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSourceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetSourceEnum.php deleted file mode 100644 index 57a4de551..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSourceEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.AssetSourceEnum - */ -class AssetSourceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetSource::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetTypeEnum.php deleted file mode 100644 index ca8acd46a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AssetTypeEnum - */ -class AssetTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AssetType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetTypeEnum/AssetType.php b/src/Google/Ads/GoogleAds/V15/Enums/AssetTypeEnum/AssetType.php deleted file mode 100644 index 431f7dff0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetTypeEnum/AssetType.php +++ /dev/null @@ -1,246 +0,0 @@ -google.ads.googleads.v15.enums.AssetTypeEnum.AssetType - */ -class AssetType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * YouTube video asset. - * - * Generated from protobuf enum YOUTUBE_VIDEO = 2; - */ - const YOUTUBE_VIDEO = 2; - /** - * Media bundle asset. - * - * Generated from protobuf enum MEDIA_BUNDLE = 3; - */ - const MEDIA_BUNDLE = 3; - /** - * Image asset. - * - * Generated from protobuf enum IMAGE = 4; - */ - const IMAGE = 4; - /** - * Text asset. - * - * Generated from protobuf enum TEXT = 5; - */ - const TEXT = 5; - /** - * Lead form asset. - * - * Generated from protobuf enum LEAD_FORM = 6; - */ - const LEAD_FORM = 6; - /** - * Book on Google asset. - * - * Generated from protobuf enum BOOK_ON_GOOGLE = 7; - */ - const BOOK_ON_GOOGLE = 7; - /** - * Promotion asset. - * - * Generated from protobuf enum PROMOTION = 8; - */ - const PROMOTION = 8; - /** - * Callout asset. - * - * Generated from protobuf enum CALLOUT = 9; - */ - const CALLOUT = 9; - /** - * Structured Snippet asset. - * - * Generated from protobuf enum STRUCTURED_SNIPPET = 10; - */ - const STRUCTURED_SNIPPET = 10; - /** - * Sitelink asset. - * - * Generated from protobuf enum SITELINK = 11; - */ - const SITELINK = 11; - /** - * Page Feed asset. - * - * Generated from protobuf enum PAGE_FEED = 12; - */ - const PAGE_FEED = 12; - /** - * Dynamic Education asset. - * - * Generated from protobuf enum DYNAMIC_EDUCATION = 13; - */ - const DYNAMIC_EDUCATION = 13; - /** - * Mobile app asset. - * - * Generated from protobuf enum MOBILE_APP = 14; - */ - const MOBILE_APP = 14; - /** - * Hotel callout asset. - * - * Generated from protobuf enum HOTEL_CALLOUT = 15; - */ - const HOTEL_CALLOUT = 15; - /** - * Call asset. - * - * Generated from protobuf enum CALL = 16; - */ - const CALL = 16; - /** - * Price asset. - * - * Generated from protobuf enum PRICE = 17; - */ - const PRICE = 17; - /** - * Call to action asset. - * - * Generated from protobuf enum CALL_TO_ACTION = 18; - */ - const CALL_TO_ACTION = 18; - /** - * Dynamic real estate asset. - * - * Generated from protobuf enum DYNAMIC_REAL_ESTATE = 19; - */ - const DYNAMIC_REAL_ESTATE = 19; - /** - * Dynamic custom asset. - * - * Generated from protobuf enum DYNAMIC_CUSTOM = 20; - */ - const DYNAMIC_CUSTOM = 20; - /** - * Dynamic hotels and rentals asset. - * - * Generated from protobuf enum DYNAMIC_HOTELS_AND_RENTALS = 21; - */ - const DYNAMIC_HOTELS_AND_RENTALS = 21; - /** - * Dynamic flights asset. - * - * Generated from protobuf enum DYNAMIC_FLIGHTS = 22; - */ - const DYNAMIC_FLIGHTS = 22; - /** - * Discovery Carousel Card asset. - * - * Generated from protobuf enum DISCOVERY_CAROUSEL_CARD = 23; - */ - const DISCOVERY_CAROUSEL_CARD = 23; - /** - * Dynamic travel asset. - * - * Generated from protobuf enum DYNAMIC_TRAVEL = 24; - */ - const DYNAMIC_TRAVEL = 24; - /** - * Dynamic local asset. - * - * Generated from protobuf enum DYNAMIC_LOCAL = 25; - */ - const DYNAMIC_LOCAL = 25; - /** - * Dynamic jobs asset. - * - * Generated from protobuf enum DYNAMIC_JOBS = 26; - */ - const DYNAMIC_JOBS = 26; - /** - * Location asset. - * - * Generated from protobuf enum LOCATION = 27; - */ - const LOCATION = 27; - /** - * Hotel property asset. - * - * Generated from protobuf enum HOTEL_PROPERTY = 28; - */ - const HOTEL_PROPERTY = 28; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::YOUTUBE_VIDEO => 'YOUTUBE_VIDEO', - self::MEDIA_BUNDLE => 'MEDIA_BUNDLE', - self::IMAGE => 'IMAGE', - self::TEXT => 'TEXT', - self::LEAD_FORM => 'LEAD_FORM', - self::BOOK_ON_GOOGLE => 'BOOK_ON_GOOGLE', - self::PROMOTION => 'PROMOTION', - self::CALLOUT => 'CALLOUT', - self::STRUCTURED_SNIPPET => 'STRUCTURED_SNIPPET', - self::SITELINK => 'SITELINK', - self::PAGE_FEED => 'PAGE_FEED', - self::DYNAMIC_EDUCATION => 'DYNAMIC_EDUCATION', - self::MOBILE_APP => 'MOBILE_APP', - self::HOTEL_CALLOUT => 'HOTEL_CALLOUT', - self::CALL => 'CALL', - self::PRICE => 'PRICE', - self::CALL_TO_ACTION => 'CALL_TO_ACTION', - self::DYNAMIC_REAL_ESTATE => 'DYNAMIC_REAL_ESTATE', - self::DYNAMIC_CUSTOM => 'DYNAMIC_CUSTOM', - self::DYNAMIC_HOTELS_AND_RENTALS => 'DYNAMIC_HOTELS_AND_RENTALS', - self::DYNAMIC_FLIGHTS => 'DYNAMIC_FLIGHTS', - self::DISCOVERY_CAROUSEL_CARD => 'DISCOVERY_CAROUSEL_CARD', - self::DYNAMIC_TRAVEL => 'DYNAMIC_TRAVEL', - self::DYNAMIC_LOCAL => 'DYNAMIC_LOCAL', - self::DYNAMIC_JOBS => 'DYNAMIC_JOBS', - self::LOCATION => 'LOCATION', - self::HOTEL_PROPERTY => 'HOTEL_PROPERTY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetType::class, \Google\Ads\GoogleAds\V15\Enums\AssetTypeEnum_AssetType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatusEnum.php deleted file mode 100644 index e25d88cfe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AsyncActionStatusEnum - */ -class AsyncActionStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AsyncActionStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatusEnum/AsyncActionStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatusEnum/AsyncActionStatus.php deleted file mode 100644 index 344b8e3a6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AsyncActionStatusEnum/AsyncActionStatus.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.AsyncActionStatusEnum.AsyncActionStatus - */ -class AsyncActionStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Action has not started. - * - * Generated from protobuf enum NOT_STARTED = 2; - */ - const NOT_STARTED = 2; - /** - * Action is in progress. - * - * Generated from protobuf enum IN_PROGRESS = 3; - */ - const IN_PROGRESS = 3; - /** - * Action has completed successfully. - * - * Generated from protobuf enum COMPLETED = 4; - */ - const COMPLETED = 4; - /** - * Action has failed. - * - * Generated from protobuf enum FAILED = 5; - */ - const FAILED = 5; - /** - * Action has completed successfully with warnings. - * - * Generated from protobuf enum COMPLETED_WITH_WARNING = 6; - */ - const COMPLETED_WITH_WARNING = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NOT_STARTED => 'NOT_STARTED', - self::IN_PROGRESS => 'IN_PROGRESS', - self::COMPLETED => 'COMPLETED', - self::FAILED => 'FAILED', - self::COMPLETED_WITH_WARNING => 'COMPLETED_WITH_WARNING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AsyncActionStatus::class, \Google\Ads\GoogleAds\V15\Enums\AsyncActionStatusEnum_AsyncActionStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AttributionModelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AttributionModelEnum.php deleted file mode 100644 index 7c56f5860..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AttributionModelEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.AttributionModelEnum - */ -class AttributionModelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AttributionModel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AttributionModelEnum/AttributionModel.php b/src/Google/Ads/GoogleAds/V15/Enums/AttributionModelEnum/AttributionModel.php deleted file mode 100644 index a46d0e8bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AttributionModelEnum/AttributionModel.php +++ /dev/null @@ -1,113 +0,0 @@ -google.ads.googleads.v15.enums.AttributionModelEnum.AttributionModel - */ -class AttributionModel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Uses external attribution. - * - * Generated from protobuf enum EXTERNAL = 100; - */ - const EXTERNAL = 100; - /** - * Attributes all credit for a conversion to its last click. - * - * Generated from protobuf enum GOOGLE_ADS_LAST_CLICK = 101; - */ - const GOOGLE_ADS_LAST_CLICK = 101; - /** - * Attributes all credit for a conversion to its first click using Google - * Search attribution. - * - * Generated from protobuf enum GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102; - */ - const GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102; - /** - * Attributes credit for a conversion equally across all of its clicks using - * Google Search attribution. - * - * Generated from protobuf enum GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103; - */ - const GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103; - /** - * Attributes exponentially more credit for a conversion to its more recent - * clicks using Google Search attribution (half-life is 1 week). - * - * Generated from protobuf enum GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104; - */ - const GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104; - /** - * Attributes 40% of the credit for a conversion to its first and last - * clicks. Remaining 20% is evenly distributed across all other clicks. This - * uses Google Search attribution. - * - * Generated from protobuf enum GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105; - */ - const GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105; - /** - * Flexible model that uses machine learning to determine the appropriate - * distribution of credit among clicks using Google Search attribution. - * - * Generated from protobuf enum GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106; - */ - const GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXTERNAL => 'EXTERNAL', - self::GOOGLE_ADS_LAST_CLICK => 'GOOGLE_ADS_LAST_CLICK', - self::GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK => 'GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK', - self::GOOGLE_SEARCH_ATTRIBUTION_LINEAR => 'GOOGLE_SEARCH_ATTRIBUTION_LINEAR', - self::GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY => 'GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY', - self::GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED => 'GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED', - self::GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN => 'GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AttributionModel::class, \Google\Ads\GoogleAds\V15\Enums\AttributionModelEnum_AttributionModel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimensionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimensionEnum.php deleted file mode 100644 index 11c7569d2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimensionEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum - */ -class AudienceInsightsDimensionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimension::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimensionEnum/AudienceInsightsDimension.php b/src/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimensionEnum/AudienceInsightsDimension.php deleted file mode 100644 index a47ec828e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AudienceInsightsDimensionEnum/AudienceInsightsDimension.php +++ /dev/null @@ -1,141 +0,0 @@ -google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension - */ -class AudienceInsightsDimension -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A Product & Service category. - * - * Generated from protobuf enum CATEGORY = 2; - */ - const CATEGORY = 2; - /** - * A Knowledge Graph entity. - * - * Generated from protobuf enum KNOWLEDGE_GRAPH = 3; - */ - const KNOWLEDGE_GRAPH = 3; - /** - * A country, represented by a geo target. - * - * Generated from protobuf enum GEO_TARGET_COUNTRY = 4; - */ - const GEO_TARGET_COUNTRY = 4; - /** - * A geographic location within a country. - * - * Generated from protobuf enum SUB_COUNTRY_LOCATION = 5; - */ - const SUB_COUNTRY_LOCATION = 5; - /** - * A YouTube channel. - * - * Generated from protobuf enum YOUTUBE_CHANNEL = 6; - */ - const YOUTUBE_CHANNEL = 6; - /** - * A YouTube Dynamic Lineup. - * - * Generated from protobuf enum YOUTUBE_DYNAMIC_LINEUP = 7; - */ - const YOUTUBE_DYNAMIC_LINEUP = 7; - /** - * An Affinity UserInterest. - * - * Generated from protobuf enum AFFINITY_USER_INTEREST = 8; - */ - const AFFINITY_USER_INTEREST = 8; - /** - * An In-Market UserInterest. - * - * Generated from protobuf enum IN_MARKET_USER_INTEREST = 9; - */ - const IN_MARKET_USER_INTEREST = 9; - /** - * A Parental Status value (parent, or not a parent). - * - * Generated from protobuf enum PARENTAL_STATUS = 10; - */ - const PARENTAL_STATUS = 10; - /** - * A household income percentile range. - * - * Generated from protobuf enum INCOME_RANGE = 11; - */ - const INCOME_RANGE = 11; - /** - * An age range. - * - * Generated from protobuf enum AGE_RANGE = 12; - */ - const AGE_RANGE = 12; - /** - * A gender. - * - * Generated from protobuf enum GENDER = 13; - */ - const GENDER = 13; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CATEGORY => 'CATEGORY', - self::KNOWLEDGE_GRAPH => 'KNOWLEDGE_GRAPH', - self::GEO_TARGET_COUNTRY => 'GEO_TARGET_COUNTRY', - self::SUB_COUNTRY_LOCATION => 'SUB_COUNTRY_LOCATION', - self::YOUTUBE_CHANNEL => 'YOUTUBE_CHANNEL', - self::YOUTUBE_DYNAMIC_LINEUP => 'YOUTUBE_DYNAMIC_LINEUP', - self::AFFINITY_USER_INTEREST => 'AFFINITY_USER_INTEREST', - self::IN_MARKET_USER_INTEREST => 'IN_MARKET_USER_INTEREST', - self::PARENTAL_STATUS => 'PARENTAL_STATUS', - self::INCOME_RANGE => 'INCOME_RANGE', - self::AGE_RANGE => 'AGE_RANGE', - self::GENDER => 'GENDER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AudienceInsightsDimension::class, \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum_AudienceInsightsDimension::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AudienceScopeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AudienceScopeEnum.php deleted file mode 100644 index 549d34d69..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AudienceScopeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AudienceScopeEnum - */ -class AudienceScopeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AudienceScope::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AudienceScopeEnum/AudienceScope.php b/src/Google/Ads/GoogleAds/V15/Enums/AudienceScopeEnum/AudienceScope.php deleted file mode 100644 index a9ad0659b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AudienceScopeEnum/AudienceScope.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.AudienceScopeEnum.AudienceScope - */ -class AudienceScope -{ - /** - * The scope has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The audience is scoped at the customer level. - * - * Generated from protobuf enum CUSTOMER = 2; - */ - const CUSTOMER = 2; - /** - * The audience is scoped under a specific AssetGroup. - * - * Generated from protobuf enum ASSET_GROUP = 3; - */ - const ASSET_GROUP = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER => 'CUSTOMER', - self::ASSET_GROUP => 'ASSET_GROUP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AudienceScope::class, \Google\Ads\GoogleAds\V15\Enums\AudienceScopeEnum_AudienceScope::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AudienceStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/AudienceStatusEnum.php deleted file mode 100644 index 2fdd452a1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AudienceStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.AudienceStatusEnum - */ -class AudienceStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\AudienceStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AudienceStatusEnum/AudienceStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/AudienceStatusEnum/AudienceStatus.php deleted file mode 100644 index 1f55d257a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/AudienceStatusEnum/AudienceStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.AudienceStatusEnum.AudienceStatus - */ -class AudienceStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Enabled status - audience is enabled and can be targeted. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Removed status - audience is removed and cannot be used for - * targeting. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AudienceStatus::class, \Google\Ads\GoogleAds\V15\Enums\AudienceStatusEnum_AudienceStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BatchJobStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BatchJobStatusEnum.php deleted file mode 100644 index 59b4d9cba..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BatchJobStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BatchJobStatusEnum - */ -class BatchJobStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BatchJobStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BatchJobStatusEnum/BatchJobStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/BatchJobStatusEnum/BatchJobStatus.php deleted file mode 100644 index 9bd706f6f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BatchJobStatusEnum/BatchJobStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.BatchJobStatusEnum.BatchJobStatus - */ -class BatchJobStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The job is not currently running. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * The job is running. - * - * Generated from protobuf enum RUNNING = 3; - */ - const RUNNING = 3; - /** - * The job is done. - * - * Generated from protobuf enum DONE = 4; - */ - const DONE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::RUNNING => 'RUNNING', - self::DONE => 'DONE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BatchJobStatus::class, \Google\Ads\GoogleAds\V15\Enums\BatchJobStatusEnum_BatchJobStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BidModifierSourceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BidModifierSourceEnum.php deleted file mode 100644 index fbf573662..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BidModifierSourceEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BidModifierSourceEnum - */ -class BidModifierSourceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BidModifierSource::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BidModifierSourceEnum/BidModifierSource.php b/src/Google/Ads/GoogleAds/V15/Enums/BidModifierSourceEnum/BidModifierSource.php deleted file mode 100644 index c008926b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BidModifierSourceEnum/BidModifierSource.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.BidModifierSourceEnum.BidModifierSource - */ -class BidModifierSource -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The bid modifier is specified at the campaign level, on the campaign - * level criterion. - * - * Generated from protobuf enum CAMPAIGN = 2; - */ - const CAMPAIGN = 2; - /** - * The bid modifier is specified (overridden) at the ad group level. - * - * Generated from protobuf enum AD_GROUP = 3; - */ - const AD_GROUP = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGN => 'CAMPAIGN', - self::AD_GROUP => 'AD_GROUP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BidModifierSource::class, \Google\Ads\GoogleAds\V15\Enums\BidModifierSourceEnum_BidModifierSource::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BiddingSourceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BiddingSourceEnum.php deleted file mode 100644 index 918a7c1a0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BiddingSourceEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BiddingSourceEnum - */ -class BiddingSourceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BiddingSource::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BiddingSourceEnum/BiddingSource.php b/src/Google/Ads/GoogleAds/V15/Enums/BiddingSourceEnum/BiddingSource.php deleted file mode 100644 index f2e6a8151..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BiddingSourceEnum/BiddingSource.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource - */ -class BiddingSource -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Effective bid or target is inherited from campaign bidding strategy. - * - * Generated from protobuf enum CAMPAIGN_BIDDING_STRATEGY = 5; - */ - const CAMPAIGN_BIDDING_STRATEGY = 5; - /** - * The bid or target is defined on the ad group. - * - * Generated from protobuf enum AD_GROUP = 6; - */ - const AD_GROUP = 6; - /** - * The bid or target is defined on the ad group criterion. - * - * Generated from protobuf enum AD_GROUP_CRITERION = 7; - */ - const AD_GROUP_CRITERION = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGN_BIDDING_STRATEGY => 'CAMPAIGN_BIDDING_STRATEGY', - self::AD_GROUP => 'AD_GROUP', - self::AD_GROUP_CRITERION => 'AD_GROUP_CRITERION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BiddingSource::class, \Google\Ads\GoogleAds\V15\Enums\BiddingSourceEnum_BiddingSource::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatusEnum.php deleted file mode 100644 index e26956620..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BiddingStrategyStatusEnum - */ -class BiddingStrategyStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BiddingStrategyStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatusEnum/BiddingStrategyStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatusEnum/BiddingStrategyStatus.php deleted file mode 100644 index 9d584c46f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyStatusEnum/BiddingStrategyStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus - */ -class BiddingStrategyStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The bidding strategy is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The bidding strategy is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BiddingStrategyStatus::class, \Google\Ads\GoogleAds\V15\Enums\BiddingStrategyStatusEnum_BiddingStrategyStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatusEnum.php deleted file mode 100644 index 768691c72..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BiddingStrategySystemStatusEnum - */ -class BiddingStrategySystemStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BiddingStrategySystemStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatusEnum/BiddingStrategySystemStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatusEnum/BiddingStrategySystemStatus.php deleted file mode 100644 index 4b7df1e1b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategySystemStatusEnum/BiddingStrategySystemStatus.php +++ /dev/null @@ -1,254 +0,0 @@ -google.ads.googleads.v15.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus - */ -class BiddingStrategySystemStatus -{ - /** - * Signals that an unexpected error occurred, for example, no bidding - * strategy type was found, or no status information was found. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The bid strategy is active, and AdWords cannot find any specific issues - * with the strategy. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The bid strategy is learning because it has been recently created or - * recently reactivated. - * - * Generated from protobuf enum LEARNING_NEW = 3; - */ - const LEARNING_NEW = 3; - /** - * The bid strategy is learning because of a recent setting change. - * - * Generated from protobuf enum LEARNING_SETTING_CHANGE = 4; - */ - const LEARNING_SETTING_CHANGE = 4; - /** - * The bid strategy is learning because of a recent budget change. - * - * Generated from protobuf enum LEARNING_BUDGET_CHANGE = 5; - */ - const LEARNING_BUDGET_CHANGE = 5; - /** - * The bid strategy is learning because of recent change in number of - * campaigns, ad groups or keywords attached to it. - * - * Generated from protobuf enum LEARNING_COMPOSITION_CHANGE = 6; - */ - const LEARNING_COMPOSITION_CHANGE = 6; - /** - * The bid strategy depends on conversion reporting and the customer - * recently modified conversion types that were relevant to the - * bid strategy. - * - * Generated from protobuf enum LEARNING_CONVERSION_TYPE_CHANGE = 7; - */ - const LEARNING_CONVERSION_TYPE_CHANGE = 7; - /** - * The bid strategy depends on conversion reporting and the customer - * recently changed their conversion settings. - * - * Generated from protobuf enum LEARNING_CONVERSION_SETTING_CHANGE = 8; - */ - const LEARNING_CONVERSION_SETTING_CHANGE = 8; - /** - * The bid strategy is limited by its bid ceiling. - * - * Generated from protobuf enum LIMITED_BY_CPC_BID_CEILING = 9; - */ - const LIMITED_BY_CPC_BID_CEILING = 9; - /** - * The bid strategy is limited by its bid floor. - * - * Generated from protobuf enum LIMITED_BY_CPC_BID_FLOOR = 10; - */ - const LIMITED_BY_CPC_BID_FLOOR = 10; - /** - * The bid strategy is limited because there was not enough conversion - * traffic over the past weeks. - * - * Generated from protobuf enum LIMITED_BY_DATA = 11; - */ - const LIMITED_BY_DATA = 11; - /** - * A significant fraction of keywords in this bid strategy are limited by - * budget. - * - * Generated from protobuf enum LIMITED_BY_BUDGET = 12; - */ - const LIMITED_BY_BUDGET = 12; - /** - * The bid strategy cannot reach its target spend because its spend has - * been de-prioritized. - * - * Generated from protobuf enum LIMITED_BY_LOW_PRIORITY_SPEND = 13; - */ - const LIMITED_BY_LOW_PRIORITY_SPEND = 13; - /** - * A significant fraction of keywords in this bid strategy have a low - * Quality Score. - * - * Generated from protobuf enum LIMITED_BY_LOW_QUALITY = 14; - */ - const LIMITED_BY_LOW_QUALITY = 14; - /** - * The bid strategy cannot fully spend its budget because of narrow - * targeting. - * - * Generated from protobuf enum LIMITED_BY_INVENTORY = 15; - */ - const LIMITED_BY_INVENTORY = 15; - /** - * Missing conversion tracking (no pings present) and/or remarketing lists - * for SSC. - * - * Generated from protobuf enum MISCONFIGURED_ZERO_ELIGIBILITY = 16; - */ - const MISCONFIGURED_ZERO_ELIGIBILITY = 16; - /** - * The bid strategy depends on conversion reporting and the customer is - * lacking conversion types that might be reported against this strategy. - * - * Generated from protobuf enum MISCONFIGURED_CONVERSION_TYPES = 17; - */ - const MISCONFIGURED_CONVERSION_TYPES = 17; - /** - * The bid strategy depends on conversion reporting and the customer's - * conversion settings are misconfigured. - * - * Generated from protobuf enum MISCONFIGURED_CONVERSION_SETTINGS = 18; - */ - const MISCONFIGURED_CONVERSION_SETTINGS = 18; - /** - * There are campaigns outside the bid strategy that share budgets with - * campaigns included in the strategy. - * - * Generated from protobuf enum MISCONFIGURED_SHARED_BUDGET = 19; - */ - const MISCONFIGURED_SHARED_BUDGET = 19; - /** - * The campaign has an invalid strategy type and is not serving. - * - * Generated from protobuf enum MISCONFIGURED_STRATEGY_TYPE = 20; - */ - const MISCONFIGURED_STRATEGY_TYPE = 20; - /** - * The bid strategy is not active. Either there are no active campaigns, - * ad groups or keywords attached to the bid strategy. Or there are no - * active budgets connected to the bid strategy. - * - * Generated from protobuf enum PAUSED = 21; - */ - const PAUSED = 21; - /** - * This bid strategy currently does not support status reporting. - * - * Generated from protobuf enum UNAVAILABLE = 22; - */ - const UNAVAILABLE = 22; - /** - * There were multiple LEARNING_* system statuses for this bid strategy - * during the time in question. - * - * Generated from protobuf enum MULTIPLE_LEARNING = 23; - */ - const MULTIPLE_LEARNING = 23; - /** - * There were multiple LIMITED_* system statuses for this bid strategy - * during the time in question. - * - * Generated from protobuf enum MULTIPLE_LIMITED = 24; - */ - const MULTIPLE_LIMITED = 24; - /** - * There were multiple MISCONFIGURED_* system statuses for this bid strategy - * during the time in question. - * - * Generated from protobuf enum MULTIPLE_MISCONFIGURED = 25; - */ - const MULTIPLE_MISCONFIGURED = 25; - /** - * There were multiple system statuses for this bid strategy during the - * time in question. - * - * Generated from protobuf enum MULTIPLE = 26; - */ - const MULTIPLE = 26; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::LEARNING_NEW => 'LEARNING_NEW', - self::LEARNING_SETTING_CHANGE => 'LEARNING_SETTING_CHANGE', - self::LEARNING_BUDGET_CHANGE => 'LEARNING_BUDGET_CHANGE', - self::LEARNING_COMPOSITION_CHANGE => 'LEARNING_COMPOSITION_CHANGE', - self::LEARNING_CONVERSION_TYPE_CHANGE => 'LEARNING_CONVERSION_TYPE_CHANGE', - self::LEARNING_CONVERSION_SETTING_CHANGE => 'LEARNING_CONVERSION_SETTING_CHANGE', - self::LIMITED_BY_CPC_BID_CEILING => 'LIMITED_BY_CPC_BID_CEILING', - self::LIMITED_BY_CPC_BID_FLOOR => 'LIMITED_BY_CPC_BID_FLOOR', - self::LIMITED_BY_DATA => 'LIMITED_BY_DATA', - self::LIMITED_BY_BUDGET => 'LIMITED_BY_BUDGET', - self::LIMITED_BY_LOW_PRIORITY_SPEND => 'LIMITED_BY_LOW_PRIORITY_SPEND', - self::LIMITED_BY_LOW_QUALITY => 'LIMITED_BY_LOW_QUALITY', - self::LIMITED_BY_INVENTORY => 'LIMITED_BY_INVENTORY', - self::MISCONFIGURED_ZERO_ELIGIBILITY => 'MISCONFIGURED_ZERO_ELIGIBILITY', - self::MISCONFIGURED_CONVERSION_TYPES => 'MISCONFIGURED_CONVERSION_TYPES', - self::MISCONFIGURED_CONVERSION_SETTINGS => 'MISCONFIGURED_CONVERSION_SETTINGS', - self::MISCONFIGURED_SHARED_BUDGET => 'MISCONFIGURED_SHARED_BUDGET', - self::MISCONFIGURED_STRATEGY_TYPE => 'MISCONFIGURED_STRATEGY_TYPE', - self::PAUSED => 'PAUSED', - self::UNAVAILABLE => 'UNAVAILABLE', - self::MULTIPLE_LEARNING => 'MULTIPLE_LEARNING', - self::MULTIPLE_LIMITED => 'MULTIPLE_LIMITED', - self::MULTIPLE_MISCONFIGURED => 'MULTIPLE_MISCONFIGURED', - self::MULTIPLE => 'MULTIPLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BiddingStrategySystemStatus::class, \Google\Ads\GoogleAds\V15\Enums\BiddingStrategySystemStatusEnum_BiddingStrategySystemStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyTypeEnum.php deleted file mode 100644 index 1ed59df60..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BiddingStrategyTypeEnum - */ -class BiddingStrategyTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BiddingStrategyType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyTypeEnum/BiddingStrategyType.php b/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyTypeEnum/BiddingStrategyType.php deleted file mode 100644 index 4dd59d629..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BiddingStrategyTypeEnum/BiddingStrategyType.php +++ /dev/null @@ -1,204 +0,0 @@ -google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType - */ -class BiddingStrategyType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Commission is an automatic bidding strategy in which the advertiser pays - * a certain portion of the conversion value. - * - * Generated from protobuf enum COMMISSION = 16; - */ - const COMMISSION = 16; - /** - * Enhanced CPC is a bidding strategy that raises bids for clicks - * that seem more likely to lead to a conversion and lowers - * them for clicks where they seem less likely. - * - * Generated from protobuf enum ENHANCED_CPC = 2; - */ - const ENHANCED_CPC = 2; - /** - * Used for return value only. Indicates that a campaign does not have a - * bidding strategy. This prevents the campaign from serving. For example, - * a campaign may be attached to a manager bidding strategy and the serving - * account is subsequently unlinked from the manager account. In this case - * the campaign will automatically be detached from the now inaccessible - * manager bidding strategy and transition to the INVALID bidding strategy - * type. - * - * Generated from protobuf enum INVALID = 17; - */ - const INVALID = 17; - /** - * Manual bidding strategy that allows advertiser to set the bid per - * advertiser-specified action. - * - * Generated from protobuf enum MANUAL_CPA = 18; - */ - const MANUAL_CPA = 18; - /** - * Manual click based bidding where user pays per click. - * - * Generated from protobuf enum MANUAL_CPC = 3; - */ - const MANUAL_CPC = 3; - /** - * Manual impression based bidding - * where user pays per thousand impressions. - * - * Generated from protobuf enum MANUAL_CPM = 4; - */ - const MANUAL_CPM = 4; - /** - * A bidding strategy that pays a configurable amount per video view. - * - * Generated from protobuf enum MANUAL_CPV = 13; - */ - const MANUAL_CPV = 13; - /** - * A bidding strategy that automatically maximizes number of conversions - * given a daily budget. - * - * Generated from protobuf enum MAXIMIZE_CONVERSIONS = 10; - */ - const MAXIMIZE_CONVERSIONS = 10; - /** - * An automated bidding strategy that automatically sets bids to maximize - * revenue while spending your budget. - * - * Generated from protobuf enum MAXIMIZE_CONVERSION_VALUE = 11; - */ - const MAXIMIZE_CONVERSION_VALUE = 11; - /** - * Page-One Promoted bidding scheme, which sets max cpc bids to - * target impressions on page one or page one promoted slots on google.com. - * This enum value is deprecated. - * - * Generated from protobuf enum PAGE_ONE_PROMOTED = 5; - */ - const PAGE_ONE_PROMOTED = 5; - /** - * Percent Cpc is bidding strategy where bids are a fraction of the - * advertised price for some good or service. - * - * Generated from protobuf enum PERCENT_CPC = 12; - */ - const PERCENT_CPC = 12; - /** - * Target CPA is an automated bid strategy that sets bids - * to help get as many conversions as possible - * at the target cost-per-acquisition (CPA) you set. - * - * Generated from protobuf enum TARGET_CPA = 6; - */ - const TARGET_CPA = 6; - /** - * Target CPM is an automated bid strategy that sets bids to help get - * as many impressions as possible at the target cost per one thousand - * impressions (CPM) you set. - * - * Generated from protobuf enum TARGET_CPM = 14; - */ - const TARGET_CPM = 14; - /** - * An automated bidding strategy that sets bids so that a certain percentage - * of search ads are shown at the top of the first page (or other targeted - * location). - * - * Generated from protobuf enum TARGET_IMPRESSION_SHARE = 15; - */ - const TARGET_IMPRESSION_SHARE = 15; - /** - * Target Outrank Share is an automated bidding strategy that sets bids - * based on the target fraction of auctions where the advertiser - * should outrank a specific competitor. - * This enum value is deprecated. - * - * Generated from protobuf enum TARGET_OUTRANK_SHARE = 7; - */ - const TARGET_OUTRANK_SHARE = 7; - /** - * Target ROAS is an automated bidding strategy - * that helps you maximize revenue while averaging - * a specific target Return On Average Spend (ROAS). - * - * Generated from protobuf enum TARGET_ROAS = 8; - */ - const TARGET_ROAS = 8; - /** - * Target Spend is an automated bid strategy that sets your bids - * to help get as many clicks as possible within your budget. - * - * Generated from protobuf enum TARGET_SPEND = 9; - */ - const TARGET_SPEND = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::COMMISSION => 'COMMISSION', - self::ENHANCED_CPC => 'ENHANCED_CPC', - self::INVALID => 'INVALID', - self::MANUAL_CPA => 'MANUAL_CPA', - self::MANUAL_CPC => 'MANUAL_CPC', - self::MANUAL_CPM => 'MANUAL_CPM', - self::MANUAL_CPV => 'MANUAL_CPV', - self::MAXIMIZE_CONVERSIONS => 'MAXIMIZE_CONVERSIONS', - self::MAXIMIZE_CONVERSION_VALUE => 'MAXIMIZE_CONVERSION_VALUE', - self::PAGE_ONE_PROMOTED => 'PAGE_ONE_PROMOTED', - self::PERCENT_CPC => 'PERCENT_CPC', - self::TARGET_CPA => 'TARGET_CPA', - self::TARGET_CPM => 'TARGET_CPM', - self::TARGET_IMPRESSION_SHARE => 'TARGET_IMPRESSION_SHARE', - self::TARGET_OUTRANK_SHARE => 'TARGET_OUTRANK_SHARE', - self::TARGET_ROAS => 'TARGET_ROAS', - self::TARGET_SPEND => 'TARGET_SPEND', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BiddingStrategyType::class, \Google\Ads\GoogleAds\V15\Enums\BiddingStrategyTypeEnum_BiddingStrategyType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatusEnum.php deleted file mode 100644 index 3659bf02a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BillingSetupStatusEnum - */ -class BillingSetupStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BillingSetupStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatusEnum/BillingSetupStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatusEnum/BillingSetupStatus.php deleted file mode 100644 index 71fef189d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BillingSetupStatusEnum/BillingSetupStatus.php +++ /dev/null @@ -1,87 +0,0 @@ -google.ads.googleads.v15.enums.BillingSetupStatusEnum.BillingSetupStatus - */ -class BillingSetupStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The billing setup is pending approval. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * The billing setup has been approved but the corresponding first budget - * has not. This can only occur for billing setups configured for monthly - * invoicing. - * - * Generated from protobuf enum APPROVED_HELD = 3; - */ - const APPROVED_HELD = 3; - /** - * The billing setup has been approved. - * - * Generated from protobuf enum APPROVED = 4; - */ - const APPROVED = 4; - /** - * The billing setup was cancelled by the user prior to approval. - * - * Generated from protobuf enum CANCELLED = 5; - */ - const CANCELLED = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::APPROVED_HELD => 'APPROVED_HELD', - self::APPROVED => 'APPROVED', - self::CANCELLED => 'CANCELLED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BillingSetupStatus::class, \Google\Ads\GoogleAds\V15\Enums\BillingSetupStatusEnum_BillingSetupStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitabilityEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitabilityEnum.php deleted file mode 100644 index c8aa03de8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitabilityEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BrandSafetySuitabilityEnum - */ -class BrandSafetySuitabilityEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BrandSafetySuitability::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitabilityEnum/BrandSafetySuitability.php b/src/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitabilityEnum/BrandSafetySuitability.php deleted file mode 100644 index 6c67fe850..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BrandSafetySuitabilityEnum/BrandSafetySuitability.php +++ /dev/null @@ -1,98 +0,0 @@ -google.ads.googleads.v15.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability - */ -class BrandSafetySuitability -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * This option lets you show ads across all inventory on YouTube and video - * partners that meet our standards for monetization. This option may be an - * appropriate choice for brands that want maximum access to the full - * breadth of videos eligible for ads, including, for example, videos that - * have strong profanity in the context of comedy or a documentary, or - * excessive violence as featured in video games. - * - * Generated from protobuf enum EXPANDED_INVENTORY = 2; - */ - const EXPANDED_INVENTORY = 2; - /** - * This option lets you show ads across a wide range of content that's - * appropriate for most brands, such as popular music videos, documentaries, - * and movie trailers. The content you can show ads on is based on YouTube's - * advertiser-friendly content guidelines that take into account, for - * example, the strength or frequency of profanity, or the appropriateness - * of subject matter like sensitive events. Ads won't show, for example, on - * content with repeated strong profanity, strong sexual content, or graphic - * violence. - * - * Generated from protobuf enum STANDARD_INVENTORY = 3; - */ - const STANDARD_INVENTORY = 3; - /** - * This option lets you show ads on a reduced range of content that's - * appropriate for brands with particularly strict guidelines around - * inappropriate language and sexual suggestiveness; above and beyond what - * YouTube's advertiser-friendly content guidelines address. The videos - * accessible in this sensitive category meet heightened requirements, - * especially for inappropriate language and sexual suggestiveness. For - * example, your ads will be excluded from showing on some of YouTube's most - * popular music videos and other pop culture content across YouTube and - * Google video partners. - * - * Generated from protobuf enum LIMITED_INVENTORY = 4; - */ - const LIMITED_INVENTORY = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXPANDED_INVENTORY => 'EXPANDED_INVENTORY', - self::STANDARD_INVENTORY => 'STANDARD_INVENTORY', - self::LIMITED_INVENTORY => 'LIMITED_INVENTORY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BrandSafetySuitability::class, \Google\Ads\GoogleAds\V15\Enums\BrandSafetySuitabilityEnum_BrandSafetySuitability::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BrandStateEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BrandStateEnum.php deleted file mode 100644 index 122f774e2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BrandStateEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BrandStateEnum - */ -class BrandStateEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BrandState::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BrandStateEnum/BrandState.php b/src/Google/Ads/GoogleAds/V15/Enums/BrandStateEnum/BrandState.php deleted file mode 100644 index cfcf51a6c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BrandStateEnum/BrandState.php +++ /dev/null @@ -1,105 +0,0 @@ -google.ads.googleads.v15.enums.BrandStateEnum.BrandState - */ -class BrandState -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Brand is verified and globally available for selection - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Brand was globally available in past but is no longer a valid brand - * (based on business criteria) - * - * Generated from protobuf enum DEPRECATED = 3; - */ - const DEPRECATED = 3; - /** - * Brand is unverified and customer scoped, but can be selected by customer - * (only who requested for same) for targeting - * - * Generated from protobuf enum UNVERIFIED = 4; - */ - const UNVERIFIED = 4; - /** - * Was a customer-scoped (unverified) brand, which got approved by business - * and added to the global list. Its assigned CKG MID should be used instead - * of this - * - * Generated from protobuf enum APPROVED = 5; - */ - const APPROVED = 5; - /** - * Was a customer-scoped (unverified) brand, but the request was canceled by - * customer and this brand id is no longer valid - * - * Generated from protobuf enum CANCELLED = 6; - */ - const CANCELLED = 6; - /** - * Was a customer-scoped (unverified) brand, but the request was rejected by - * internal business team and this brand id is no longer valid - * - * Generated from protobuf enum REJECTED = 7; - */ - const REJECTED = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::DEPRECATED => 'DEPRECATED', - self::UNVERIFIED => 'UNVERIFIED', - self::APPROVED => 'APPROVED', - self::CANCELLED => 'CANCELLED', - self::REJECTED => 'REJECTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BrandState::class, \Google\Ads\GoogleAds\V15\Enums\BrandStateEnum_BrandState::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatusEnum.php deleted file mode 100644 index bc0b2e260..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.BudgetCampaignAssociationStatusEnum - */ -class BudgetCampaignAssociationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BudgetCampaignAssociationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatusEnum/BudgetCampaignAssociationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatusEnum/BudgetCampaignAssociationStatus.php deleted file mode 100644 index 3eefaf673..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetCampaignAssociationStatusEnum/BudgetCampaignAssociationStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus - */ -class BudgetCampaignAssociationStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign is currently using the budget. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The campaign is no longer using the budget. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BudgetCampaignAssociationStatus::class, \Google\Ads\GoogleAds\V15\Enums\BudgetCampaignAssociationStatusEnum_BudgetCampaignAssociationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethodEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethodEnum.php deleted file mode 100644 index 4c36113c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethodEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.BudgetDeliveryMethodEnum - */ -class BudgetDeliveryMethodEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BudgetDeliveryMethod::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethodEnum/BudgetDeliveryMethod.php b/src/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethodEnum/BudgetDeliveryMethod.php deleted file mode 100644 index a05300eac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetDeliveryMethodEnum/BudgetDeliveryMethod.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod - */ -class BudgetDeliveryMethod -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The budget server will throttle serving evenly across - * the entire time period. - * - * Generated from protobuf enum STANDARD = 2; - */ - const STANDARD = 2; - /** - * The budget server will not throttle serving, - * and ads will serve as fast as possible. - * - * Generated from protobuf enum ACCELERATED = 3; - */ - const ACCELERATED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::STANDARD => 'STANDARD', - self::ACCELERATED => 'ACCELERATED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BudgetDeliveryMethod::class, \Google\Ads\GoogleAds\V15\Enums\BudgetDeliveryMethodEnum_BudgetDeliveryMethod::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetPeriodEnum/BudgetPeriod.php b/src/Google/Ads/GoogleAds/V15/Enums/BudgetPeriodEnum/BudgetPeriod.php deleted file mode 100644 index e9a26766b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetPeriodEnum/BudgetPeriod.php +++ /dev/null @@ -1,74 +0,0 @@ -google.ads.googleads.v15.enums.BudgetPeriodEnum.BudgetPeriod - */ -class BudgetPeriod -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Daily budget. - * - * Generated from protobuf enum DAILY = 2; - */ - const DAILY = 2; - /** - * Custom budget, added back in V5. - * Custom budget can be used with total_amount to specify lifetime budget - * limit. See: https://support.google.com/google-ads/answer/6385083 for more - * info. - * - * Generated from protobuf enum CUSTOM_PERIOD = 5; - */ - const CUSTOM_PERIOD = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DAILY => 'DAILY', - self::CUSTOM_PERIOD => 'CUSTOM_PERIOD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BudgetPeriod::class, \Google\Ads\GoogleAds\V15\Enums\BudgetPeriodEnum_BudgetPeriod::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetStatusEnum/BudgetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/BudgetStatusEnum/BudgetStatus.php deleted file mode 100644 index fa779bcce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetStatusEnum/BudgetStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.BudgetStatusEnum.BudgetStatus - */ -class BudgetStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Budget is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Budget is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BudgetStatus::class, \Google\Ads\GoogleAds\V15\Enums\BudgetStatusEnum_BudgetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/BudgetTypeEnum.php deleted file mode 100644 index 6db04e31d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.BudgetTypeEnum - */ -class BudgetTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BudgetType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetTypeEnum/BudgetType.php b/src/Google/Ads/GoogleAds/V15/Enums/BudgetTypeEnum/BudgetType.php deleted file mode 100644 index c8507b4bd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetTypeEnum/BudgetType.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.enums.BudgetTypeEnum.BudgetType - */ -class BudgetType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Budget type for standard Google Ads usage. - * Caps daily spend at two times the specified budget amount. - * Full details: https://support.google.com/google-ads/answer/6385083 - * - * Generated from protobuf enum STANDARD = 2; - */ - const STANDARD = 2; - /** - * Budget type with a fixed cost-per-acquisition (conversion). - * Full details: https://support.google.com/google-ads/answer/7528254 - * This type is only supported by campaigns with - * AdvertisingChannelType.DISPLAY (excluding - * AdvertisingChannelSubType.DISPLAY_GMAIL), - * BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. - * - * Generated from protobuf enum FIXED_CPA = 4; - */ - const FIXED_CPA = 4; - /** - * Budget type for Smart Campaign. - * Full details: https://support.google.com/google-ads/answer/7653509 - * This type is only supported by campaigns with - * AdvertisingChannelType.SMART and - * AdvertisingChannelSubType.SMART_CAMPAIGN. - * - * Generated from protobuf enum SMART_CAMPAIGN = 5; - */ - const SMART_CAMPAIGN = 5; - /** - * Budget type for Local Services Campaign. - * Full details: https://support.google.com/localservices/answer/7434558 - * This type is only supported by campaigns with - * AdvertisingChannelType.LOCAL_SERVICES. - * - * Generated from protobuf enum LOCAL_SERVICES = 6; - */ - const LOCAL_SERVICES = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::STANDARD => 'STANDARD', - self::FIXED_CPA => 'FIXED_CPA', - self::SMART_CAMPAIGN => 'SMART_CAMPAIGN', - self::LOCAL_SERVICES => 'LOCAL_SERVICES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BudgetType::class, \Google\Ads\GoogleAds\V15\Enums\BudgetTypeEnum_BudgetType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingStateEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingStateEnum.php deleted file mode 100644 index 8373e1932..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingStateEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.CallConversionReportingStateEnum - */ -class CallConversionReportingStateEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CallConversionReportingState::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingStateEnum/CallConversionReportingState.php b/src/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingStateEnum/CallConversionReportingState.php deleted file mode 100644 index e4d3ce52f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallConversionReportingStateEnum/CallConversionReportingState.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.enums.CallConversionReportingStateEnum.CallConversionReportingState - */ -class CallConversionReportingState -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Call conversion action is disabled. - * - * Generated from protobuf enum DISABLED = 2; - */ - const DISABLED = 2; - /** - * Call conversion action will use call conversion type set at the - * account level. - * - * Generated from protobuf enum USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3; - */ - const USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3; - /** - * Call conversion action will use call conversion type set at the resource - * (call only ads/call extensions) level. - * - * Generated from protobuf enum USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4; - */ - const USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DISABLED => 'DISABLED', - self::USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION => 'USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION', - self::USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION => 'USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CallConversionReportingState::class, \Google\Ads\GoogleAds\V15\Enums\CallConversionReportingStateEnum_CallConversionReportingState::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderFieldEnum.php deleted file mode 100644 index cc3440a7e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CallPlaceholderFieldEnum - */ -class CallPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CallPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderFieldEnum/CallPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderFieldEnum/CallPlaceholderField.php deleted file mode 100644 index 19a4059fd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallPlaceholderFieldEnum/CallPlaceholderField.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.enums.CallPlaceholderFieldEnum.CallPlaceholderField - */ -class CallPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. The advertiser's phone number to append to the ad. - * - * Generated from protobuf enum PHONE_NUMBER = 2; - */ - const PHONE_NUMBER = 2; - /** - * Data Type: STRING. Uppercase two-letter country code of the advertiser's - * phone number. - * - * Generated from protobuf enum COUNTRY_CODE = 3; - */ - const COUNTRY_CODE = 3; - /** - * Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: - * true. - * - * Generated from protobuf enum TRACKED = 4; - */ - const TRACKED = 4; - /** - * Data Type: INT64. The ID of an AdCallMetricsConversion object. This - * object contains the phoneCallDurationfield which is the minimum duration - * (in seconds) of a call to be considered a conversion. - * - * Generated from protobuf enum CONVERSION_TYPE_ID = 5; - */ - const CONVERSION_TYPE_ID = 5; - /** - * Data Type: STRING. Indicates whether this call extension uses its own - * call conversion setting or follows the account level setting. - * Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and - * USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - * - * Generated from protobuf enum CONVERSION_REPORTING_STATE = 6; - */ - const CONVERSION_REPORTING_STATE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PHONE_NUMBER => 'PHONE_NUMBER', - self::COUNTRY_CODE => 'COUNTRY_CODE', - self::TRACKED => 'TRACKED', - self::CONVERSION_TYPE_ID => 'CONVERSION_TYPE_ID', - self::CONVERSION_REPORTING_STATE => 'CONVERSION_REPORTING_STATE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CallPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\CallPlaceholderFieldEnum_CallPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallToActionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CallToActionTypeEnum.php deleted file mode 100644 index 4a881c7f3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallToActionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CallToActionTypeEnum - */ -class CallToActionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CallToActionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallToActionTypeEnum/CallToActionType.php b/src/Google/Ads/GoogleAds/V15/Enums/CallToActionTypeEnum/CallToActionType.php deleted file mode 100644 index 27767de1d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallToActionTypeEnum/CallToActionType.php +++ /dev/null @@ -1,176 +0,0 @@ -google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType - */ -class CallToActionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The call to action type is learn more. - * - * Generated from protobuf enum LEARN_MORE = 2; - */ - const LEARN_MORE = 2; - /** - * The call to action type is get quote. - * - * Generated from protobuf enum GET_QUOTE = 3; - */ - const GET_QUOTE = 3; - /** - * The call to action type is apply now. - * - * Generated from protobuf enum APPLY_NOW = 4; - */ - const APPLY_NOW = 4; - /** - * The call to action type is sign up. - * - * Generated from protobuf enum SIGN_UP = 5; - */ - const SIGN_UP = 5; - /** - * The call to action type is contact us. - * - * Generated from protobuf enum CONTACT_US = 6; - */ - const CONTACT_US = 6; - /** - * The call to action type is subscribe. - * - * Generated from protobuf enum SUBSCRIBE = 7; - */ - const SUBSCRIBE = 7; - /** - * The call to action type is download. - * - * Generated from protobuf enum DOWNLOAD = 8; - */ - const DOWNLOAD = 8; - /** - * The call to action type is book now. - * - * Generated from protobuf enum BOOK_NOW = 9; - */ - const BOOK_NOW = 9; - /** - * The call to action type is shop now. - * - * Generated from protobuf enum SHOP_NOW = 10; - */ - const SHOP_NOW = 10; - /** - * The call to action type is buy now. - * - * Generated from protobuf enum BUY_NOW = 11; - */ - const BUY_NOW = 11; - /** - * The call to action type is donate now. - * - * Generated from protobuf enum DONATE_NOW = 12; - */ - const DONATE_NOW = 12; - /** - * The call to action type is order now. - * - * Generated from protobuf enum ORDER_NOW = 13; - */ - const ORDER_NOW = 13; - /** - * The call to action type is play now. - * - * Generated from protobuf enum PLAY_NOW = 14; - */ - const PLAY_NOW = 14; - /** - * The call to action type is see more. - * - * Generated from protobuf enum SEE_MORE = 15; - */ - const SEE_MORE = 15; - /** - * The call to action type is start now. - * - * Generated from protobuf enum START_NOW = 16; - */ - const START_NOW = 16; - /** - * The call to action type is visit site. - * - * Generated from protobuf enum VISIT_SITE = 17; - */ - const VISIT_SITE = 17; - /** - * The call to action type is watch now. - * - * Generated from protobuf enum WATCH_NOW = 18; - */ - const WATCH_NOW = 18; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LEARN_MORE => 'LEARN_MORE', - self::GET_QUOTE => 'GET_QUOTE', - self::APPLY_NOW => 'APPLY_NOW', - self::SIGN_UP => 'SIGN_UP', - self::CONTACT_US => 'CONTACT_US', - self::SUBSCRIBE => 'SUBSCRIBE', - self::DOWNLOAD => 'DOWNLOAD', - self::BOOK_NOW => 'BOOK_NOW', - self::SHOP_NOW => 'SHOP_NOW', - self::BUY_NOW => 'BUY_NOW', - self::DONATE_NOW => 'DONATE_NOW', - self::ORDER_NOW => 'ORDER_NOW', - self::PLAY_NOW => 'PLAY_NOW', - self::SEE_MORE => 'SEE_MORE', - self::START_NOW => 'START_NOW', - self::VISIT_SITE => 'VISIT_SITE', - self::WATCH_NOW => 'WATCH_NOW', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CallToActionType::class, \Google\Ads\GoogleAds\V15\Enums\CallToActionTypeEnum_CallToActionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocationEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocationEnum.php deleted file mode 100644 index 271c31172..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocationEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CallTrackingDisplayLocationEnum - */ -class CallTrackingDisplayLocationEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CallTrackingDisplayLocation::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocationEnum/CallTrackingDisplayLocation.php b/src/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocationEnum/CallTrackingDisplayLocation.php deleted file mode 100644 index 8b9ceef4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallTrackingDisplayLocationEnum/CallTrackingDisplayLocation.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation - */ -class CallTrackingDisplayLocation -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The phone call placed from the ad. - * - * Generated from protobuf enum AD = 2; - */ - const AD = 2; - /** - * The phone call placed from the landing page ad points to. - * - * Generated from protobuf enum LANDING_PAGE = 3; - */ - const LANDING_PAGE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD => 'AD', - self::LANDING_PAGE => 'LANDING_PAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CallTrackingDisplayLocation::class, \Google\Ads\GoogleAds\V15\Enums\CallTrackingDisplayLocationEnum_CallTrackingDisplayLocation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CallTypeEnum.php deleted file mode 100644 index 9127ca03b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.CallTypeEnum - */ -class CallTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CallType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CallTypeEnum/CallType.php b/src/Google/Ads/GoogleAds/V15/Enums/CallTypeEnum/CallType.php deleted file mode 100644 index 460694617..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CallTypeEnum/CallType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CallTypeEnum.CallType - */ -class CallType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The phone call was manually dialed. - * - * Generated from protobuf enum MANUALLY_DIALED = 2; - */ - const MANUALLY_DIALED = 2; - /** - * The phone call was a mobile click-to-call. - * - * Generated from protobuf enum HIGH_END_MOBILE_SEARCH = 3; - */ - const HIGH_END_MOBILE_SEARCH = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MANUALLY_DIALED => 'MANUALLY_DIALED', - self::HIGH_END_MOBILE_SEARCH => 'HIGH_END_MOBILE_SEARCH', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CallType::class, \Google\Ads\GoogleAds\V15\Enums\CallTypeEnum_CallType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderFieldEnum.php deleted file mode 100644 index e460087c3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CalloutPlaceholderFieldEnum - */ -class CalloutPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CalloutPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderFieldEnum/CalloutPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderFieldEnum/CalloutPlaceholderField.php deleted file mode 100644 index 3b00921c2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CalloutPlaceholderFieldEnum/CalloutPlaceholderField.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField - */ -class CalloutPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Callout text. - * - * Generated from protobuf enum CALLOUT_TEXT = 2; - */ - const CALLOUT_TEXT = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CALLOUT_TEXT => 'CALLOUT_TEXT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CalloutPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\CalloutPlaceholderFieldEnum_CalloutPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatusEnum.php deleted file mode 100644 index a81fd59dd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignCriterionStatusEnum - */ -class CampaignCriterionStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignCriterionStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatusEnum/CampaignCriterionStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatusEnum/CampaignCriterionStatus.php deleted file mode 100644 index d6dfd7655..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignCriterionStatusEnum/CampaignCriterionStatus.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus - */ -class CampaignCriterionStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign criterion is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The campaign criterion is paused. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * The campaign criterion is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignCriterionStatus::class, \Google\Ads\GoogleAds\V15\Enums\CampaignCriterionStatusEnum_CampaignCriterionStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatusEnum.php deleted file mode 100644 index b20da65cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignDraftStatusEnum - */ -class CampaignDraftStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignDraftStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatusEnum/CampaignDraftStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatusEnum/CampaignDraftStatus.php deleted file mode 100644 index 267d92ba5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignDraftStatusEnum/CampaignDraftStatus.php +++ /dev/null @@ -1,98 +0,0 @@ -google.ads.googleads.v15.enums.CampaignDraftStatusEnum.CampaignDraftStatus - */ -class CampaignDraftStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Initial state of the draft, the advertiser can start adding changes with - * no effect on serving. - * - * Generated from protobuf enum PROPOSED = 2; - */ - const PROPOSED = 2; - /** - * The campaign draft is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - /** - * Advertiser requested to promote draft's changes back into the original - * campaign. Advertiser can poll the long running operation returned by - * the promote action to see the status of the promotion. - * - * Generated from protobuf enum PROMOTING = 5; - */ - const PROMOTING = 5; - /** - * The process to merge changes in the draft back to the original campaign - * has completed successfully. - * - * Generated from protobuf enum PROMOTED = 4; - */ - const PROMOTED = 4; - /** - * The promotion failed after it was partially applied. Promote cannot be - * attempted again safely, so the issue must be corrected in the original - * campaign. - * - * Generated from protobuf enum PROMOTE_FAILED = 6; - */ - const PROMOTE_FAILED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PROPOSED => 'PROPOSED', - self::REMOVED => 'REMOVED', - self::PROMOTING => 'PROMOTING', - self::PROMOTED => 'PROMOTED', - self::PROMOTE_FAILED => 'PROMOTE_FAILED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignDraftStatus::class, \Google\Ads\GoogleAds\V15\Enums\CampaignDraftStatusEnum_CampaignDraftStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentTypeEnum.php deleted file mode 100644 index 7dadd1cf3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignExperimentTypeEnum - */ -class CampaignExperimentTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignExperimentType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentTypeEnum/CampaignExperimentType.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentTypeEnum/CampaignExperimentType.php deleted file mode 100644 index b7f00847b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignExperimentTypeEnum/CampaignExperimentType.php +++ /dev/null @@ -1,84 +0,0 @@ -google.ads.googleads.v15.enums.CampaignExperimentTypeEnum.CampaignExperimentType - */ -class CampaignExperimentType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * This is a regular campaign. - * - * Generated from protobuf enum BASE = 2; - */ - const BASE = 2; - /** - * This is a draft version of a campaign. - * It has some modifications from a base campaign, - * but it does not serve or accrue metrics. - * - * Generated from protobuf enum DRAFT = 3; - */ - const DRAFT = 3; - /** - * This is an experiment version of a campaign. - * It has some modifications from a base campaign, - * and a percentage of traffic is being diverted - * from the BASE campaign to this experiment campaign. - * - * Generated from protobuf enum EXPERIMENT = 4; - */ - const EXPERIMENT = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BASE => 'BASE', - self::DRAFT => 'DRAFT', - self::EXPERIMENT => 'EXPERIMENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignExperimentType::class, \Google\Ads\GoogleAds\V15\Enums\CampaignExperimentTypeEnum_CampaignExperimentType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatusEnum.php deleted file mode 100644 index 0540f0ec0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignGroupStatusEnum - */ -class CampaignGroupStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignGroupStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatusEnum/CampaignGroupStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatusEnum/CampaignGroupStatus.php deleted file mode 100644 index ff0e1cf43..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignGroupStatusEnum/CampaignGroupStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CampaignGroupStatusEnum.CampaignGroupStatus - */ -class CampaignGroupStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign group is active. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The campaign group has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignGroupStatus::class, \Google\Ads\GoogleAds\V15\Enums\CampaignGroupStatusEnum_CampaignGroupStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusEnum.php deleted file mode 100644 index 244f91c0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignPrimaryStatusEnum - */ -class CampaignPrimaryStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignPrimaryStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusEnum/CampaignPrimaryStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusEnum/CampaignPrimaryStatus.php deleted file mode 100644 index 5f77ee4e8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusEnum/CampaignPrimaryStatus.php +++ /dev/null @@ -1,126 +0,0 @@ -google.ads.googleads.v15.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus - */ -class CampaignPrimaryStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign is eligible to serve. - * - * Generated from protobuf enum ELIGIBLE = 2; - */ - const ELIGIBLE = 2; - /** - * The user-specified campaign status is paused. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * The user-specified campaign status is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - /** - * The user-specified time for this campaign to end has passed. - * - * Generated from protobuf enum ENDED = 5; - */ - const ENDED = 5; - /** - * The campaign may serve in the future. - * - * Generated from protobuf enum PENDING = 6; - */ - const PENDING = 6; - /** - * The campaign or its associated entities have incorrect user-specified - * settings. - * - * Generated from protobuf enum MISCONFIGURED = 7; - */ - const MISCONFIGURED = 7; - /** - * The campaign or its associated entities are limited by user-specified - * settings. - * - * Generated from protobuf enum LIMITED = 8; - */ - const LIMITED = 8; - /** - * The automated bidding system is adjusting to user-specified changes to - * the campaign or associated entities. - * - * Generated from protobuf enum LEARNING = 9; - */ - const LEARNING = 9; - /** - * The campaign is not eligible to serve. - * - * Generated from protobuf enum NOT_ELIGIBLE = 10; - */ - const NOT_ELIGIBLE = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ELIGIBLE => 'ELIGIBLE', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - self::ENDED => 'ENDED', - self::PENDING => 'PENDING', - self::MISCONFIGURED => 'MISCONFIGURED', - self::LIMITED => 'LIMITED', - self::LEARNING => 'LEARNING', - self::NOT_ELIGIBLE => 'NOT_ELIGIBLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignPrimaryStatus::class, \Google\Ads\GoogleAds\V15\Enums\CampaignPrimaryStatusEnum_CampaignPrimaryStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReasonEnum.php deleted file mode 100644 index f7027a52a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReasonEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignPrimaryStatusReasonEnum - */ -class CampaignPrimaryStatusReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignPrimaryStatusReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReasonEnum/CampaignPrimaryStatusReason.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReasonEnum/CampaignPrimaryStatusReason.php deleted file mode 100644 index 5e735a368..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignPrimaryStatusReasonEnum/CampaignPrimaryStatusReason.php +++ /dev/null @@ -1,325 +0,0 @@ -google.ads.googleads.v15.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason - */ -class CampaignPrimaryStatusReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The user-specified campaign status is removed. - * - * Generated from protobuf enum CAMPAIGN_REMOVED = 2; - */ - const CAMPAIGN_REMOVED = 2; - /** - * The user-specified campaign status is paused. - * - * Generated from protobuf enum CAMPAIGN_PAUSED = 3; - */ - const CAMPAIGN_PAUSED = 3; - /** - * The user-specified time for this campaign to start is in the future. - * - * Generated from protobuf enum CAMPAIGN_PENDING = 4; - */ - const CAMPAIGN_PENDING = 4; - /** - * The user-specified time for this campaign to end has passed. - * - * Generated from protobuf enum CAMPAIGN_ENDED = 5; - */ - const CAMPAIGN_ENDED = 5; - /** - * The campaign is a draft. - * - * Generated from protobuf enum CAMPAIGN_DRAFT = 6; - */ - const CAMPAIGN_DRAFT = 6; - /** - * The bidding strategy has incorrect user-specified settings. - * - * Generated from protobuf enum BIDDING_STRATEGY_MISCONFIGURED = 7; - */ - const BIDDING_STRATEGY_MISCONFIGURED = 7; - /** - * The bidding strategy is limited by user-specified settings such as lack - * of data or similar. - * - * Generated from protobuf enum BIDDING_STRATEGY_LIMITED = 8; - */ - const BIDDING_STRATEGY_LIMITED = 8; - /** - * The automated bidding system is adjusting to user-specified changes to - * the bidding strategy. - * - * Generated from protobuf enum BIDDING_STRATEGY_LEARNING = 9; - */ - const BIDDING_STRATEGY_LEARNING = 9; - /** - * Campaign could capture more conversion value by adjusting CPA/ROAS - * targets. - * - * Generated from protobuf enum BIDDING_STRATEGY_CONSTRAINED = 10; - */ - const BIDDING_STRATEGY_CONSTRAINED = 10; - /** - * The budget is limiting the campaign's ability to serve. - * - * Generated from protobuf enum BUDGET_CONSTRAINED = 11; - */ - const BUDGET_CONSTRAINED = 11; - /** - * The budget has incorrect user-specified settings. - * - * Generated from protobuf enum BUDGET_MISCONFIGURED = 12; - */ - const BUDGET_MISCONFIGURED = 12; - /** - * Campaign is not targeting all relevant queries. - * - * Generated from protobuf enum SEARCH_VOLUME_LIMITED = 13; - */ - const SEARCH_VOLUME_LIMITED = 13; - /** - * The user-specified ad group statuses are all paused. - * - * Generated from protobuf enum AD_GROUPS_PAUSED = 14; - */ - const AD_GROUPS_PAUSED = 14; - /** - * No eligible ad groups exist in this campaign. - * - * Generated from protobuf enum NO_AD_GROUPS = 15; - */ - const NO_AD_GROUPS = 15; - /** - * The user-specified keyword statuses are all paused. - * - * Generated from protobuf enum KEYWORDS_PAUSED = 16; - */ - const KEYWORDS_PAUSED = 16; - /** - * No eligible keywords exist in this campaign. - * - * Generated from protobuf enum NO_KEYWORDS = 17; - */ - const NO_KEYWORDS = 17; - /** - * The user-specified ad group ad statuses are all paused. - * - * Generated from protobuf enum AD_GROUP_ADS_PAUSED = 18; - */ - const AD_GROUP_ADS_PAUSED = 18; - /** - * No eligible ad group ads exist in this campaign. - * - * Generated from protobuf enum NO_AD_GROUP_ADS = 19; - */ - const NO_AD_GROUP_ADS = 19; - /** - * At least one ad in this campaign is limited by policy. - * - * Generated from protobuf enum HAS_ADS_LIMITED_BY_POLICY = 20; - */ - const HAS_ADS_LIMITED_BY_POLICY = 20; - /** - * At least one ad in this campaign is disapproved. - * - * Generated from protobuf enum HAS_ADS_DISAPPROVED = 21; - */ - const HAS_ADS_DISAPPROVED = 21; - /** - * Most ads in this campaign are pending review. - * - * Generated from protobuf enum MOST_ADS_UNDER_REVIEW = 22; - */ - const MOST_ADS_UNDER_REVIEW = 22; - /** - * The campaign has a lead form goal, and the lead form extension is - * missing. - * - * Generated from protobuf enum MISSING_LEAD_FORM_EXTENSION = 23; - */ - const MISSING_LEAD_FORM_EXTENSION = 23; - /** - * The campaign has a call goal, and the call extension is missing. - * - * Generated from protobuf enum MISSING_CALL_EXTENSION = 24; - */ - const MISSING_CALL_EXTENSION = 24; - /** - * The lead form extension is under review. - * - * Generated from protobuf enum LEAD_FORM_EXTENSION_UNDER_REVIEW = 25; - */ - const LEAD_FORM_EXTENSION_UNDER_REVIEW = 25; - /** - * The lead extension is disapproved. - * - * Generated from protobuf enum LEAD_FORM_EXTENSION_DISAPPROVED = 26; - */ - const LEAD_FORM_EXTENSION_DISAPPROVED = 26; - /** - * The call extension is under review. - * - * Generated from protobuf enum CALL_EXTENSION_UNDER_REVIEW = 27; - */ - const CALL_EXTENSION_UNDER_REVIEW = 27; - /** - * The call extension is disapproved. - * - * Generated from protobuf enum CALL_EXTENSION_DISAPPROVED = 28; - */ - const CALL_EXTENSION_DISAPPROVED = 28; - /** - * No eligible mobile application ad group criteria exist in this campaign. - * - * Generated from protobuf enum NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA = 29; - */ - const NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA = 29; - /** - * The user-specified campaign group status is paused. - * - * Generated from protobuf enum CAMPAIGN_GROUP_PAUSED = 30; - */ - const CAMPAIGN_GROUP_PAUSED = 30; - /** - * The user-specified times of all group budgets associated with the parent - * campaign group has passed. - * - * Generated from protobuf enum CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED = 31; - */ - const CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED = 31; - /** - * The app associated with this ACi campaign is not released in the target - * countries of the campaign. - * - * Generated from protobuf enum APP_NOT_RELEASED = 32; - */ - const APP_NOT_RELEASED = 32; - /** - * The app associated with this ACi campaign is partially released in the - * target countries of the campaign. - * - * Generated from protobuf enum APP_PARTIALLY_RELEASED = 33; - */ - const APP_PARTIALLY_RELEASED = 33; - /** - * At least one asset group in this campaign is disapproved. - * - * Generated from protobuf enum HAS_ASSET_GROUPS_DISAPPROVED = 34; - */ - const HAS_ASSET_GROUPS_DISAPPROVED = 34; - /** - * At least one asset group in this campaign is limited by policy. - * - * Generated from protobuf enum HAS_ASSET_GROUPS_LIMITED_BY_POLICY = 35; - */ - const HAS_ASSET_GROUPS_LIMITED_BY_POLICY = 35; - /** - * Most asset groups in this campaign are pending review. - * - * Generated from protobuf enum MOST_ASSET_GROUPS_UNDER_REVIEW = 36; - */ - const MOST_ASSET_GROUPS_UNDER_REVIEW = 36; - /** - * No eligible asset groups exist in this campaign. - * - * Generated from protobuf enum NO_ASSET_GROUPS = 37; - */ - const NO_ASSET_GROUPS = 37; - /** - * All asset groups in this campaign are paused. - * - * Generated from protobuf enum ASSET_GROUPS_PAUSED = 38; - */ - const ASSET_GROUPS_PAUSED = 38; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGN_REMOVED => 'CAMPAIGN_REMOVED', - self::CAMPAIGN_PAUSED => 'CAMPAIGN_PAUSED', - self::CAMPAIGN_PENDING => 'CAMPAIGN_PENDING', - self::CAMPAIGN_ENDED => 'CAMPAIGN_ENDED', - self::CAMPAIGN_DRAFT => 'CAMPAIGN_DRAFT', - self::BIDDING_STRATEGY_MISCONFIGURED => 'BIDDING_STRATEGY_MISCONFIGURED', - self::BIDDING_STRATEGY_LIMITED => 'BIDDING_STRATEGY_LIMITED', - self::BIDDING_STRATEGY_LEARNING => 'BIDDING_STRATEGY_LEARNING', - self::BIDDING_STRATEGY_CONSTRAINED => 'BIDDING_STRATEGY_CONSTRAINED', - self::BUDGET_CONSTRAINED => 'BUDGET_CONSTRAINED', - self::BUDGET_MISCONFIGURED => 'BUDGET_MISCONFIGURED', - self::SEARCH_VOLUME_LIMITED => 'SEARCH_VOLUME_LIMITED', - self::AD_GROUPS_PAUSED => 'AD_GROUPS_PAUSED', - self::NO_AD_GROUPS => 'NO_AD_GROUPS', - self::KEYWORDS_PAUSED => 'KEYWORDS_PAUSED', - self::NO_KEYWORDS => 'NO_KEYWORDS', - self::AD_GROUP_ADS_PAUSED => 'AD_GROUP_ADS_PAUSED', - self::NO_AD_GROUP_ADS => 'NO_AD_GROUP_ADS', - self::HAS_ADS_LIMITED_BY_POLICY => 'HAS_ADS_LIMITED_BY_POLICY', - self::HAS_ADS_DISAPPROVED => 'HAS_ADS_DISAPPROVED', - self::MOST_ADS_UNDER_REVIEW => 'MOST_ADS_UNDER_REVIEW', - self::MISSING_LEAD_FORM_EXTENSION => 'MISSING_LEAD_FORM_EXTENSION', - self::MISSING_CALL_EXTENSION => 'MISSING_CALL_EXTENSION', - self::LEAD_FORM_EXTENSION_UNDER_REVIEW => 'LEAD_FORM_EXTENSION_UNDER_REVIEW', - self::LEAD_FORM_EXTENSION_DISAPPROVED => 'LEAD_FORM_EXTENSION_DISAPPROVED', - self::CALL_EXTENSION_UNDER_REVIEW => 'CALL_EXTENSION_UNDER_REVIEW', - self::CALL_EXTENSION_DISAPPROVED => 'CALL_EXTENSION_DISAPPROVED', - self::NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA => 'NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA', - self::CAMPAIGN_GROUP_PAUSED => 'CAMPAIGN_GROUP_PAUSED', - self::CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED => 'CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED', - self::APP_NOT_RELEASED => 'APP_NOT_RELEASED', - self::APP_PARTIALLY_RELEASED => 'APP_PARTIALLY_RELEASED', - self::HAS_ASSET_GROUPS_DISAPPROVED => 'HAS_ASSET_GROUPS_DISAPPROVED', - self::HAS_ASSET_GROUPS_LIMITED_BY_POLICY => 'HAS_ASSET_GROUPS_LIMITED_BY_POLICY', - self::MOST_ASSET_GROUPS_UNDER_REVIEW => 'MOST_ASSET_GROUPS_UNDER_REVIEW', - self::NO_ASSET_GROUPS => 'NO_ASSET_GROUPS', - self::ASSET_GROUPS_PAUSED => 'ASSET_GROUPS_PAUSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignPrimaryStatusReason::class, \Google\Ads\GoogleAds\V15\Enums\CampaignPrimaryStatusReasonEnum_CampaignPrimaryStatusReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatusEnum.php deleted file mode 100644 index a8c151196..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignServingStatusEnum - */ -class CampaignServingStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignServingStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatusEnum/CampaignServingStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatusEnum/CampaignServingStatus.php deleted file mode 100644 index 186295a6f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignServingStatusEnum/CampaignServingStatus.php +++ /dev/null @@ -1,93 +0,0 @@ -google.ads.googleads.v15.enums.CampaignServingStatusEnum.CampaignServingStatus - */ -class CampaignServingStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Serving. - * - * Generated from protobuf enum SERVING = 2; - */ - const SERVING = 2; - /** - * None. - * - * Generated from protobuf enum NONE = 3; - */ - const NONE = 3; - /** - * Ended. - * - * Generated from protobuf enum ENDED = 4; - */ - const ENDED = 4; - /** - * Pending. - * - * Generated from protobuf enum PENDING = 5; - */ - const PENDING = 5; - /** - * Suspended. - * - * Generated from protobuf enum SUSPENDED = 6; - */ - const SUSPENDED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SERVING => 'SERVING', - self::NONE => 'NONE', - self::ENDED => 'ENDED', - self::PENDING => 'PENDING', - self::SUSPENDED => 'SUSPENDED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignServingStatus::class, \Google\Ads\GoogleAds\V15\Enums\CampaignServingStatusEnum_CampaignServingStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatusEnum.php deleted file mode 100644 index 5c7c9ccd9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignSharedSetStatusEnum - */ -class CampaignSharedSetStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignSharedSetStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatusEnum/CampaignSharedSetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatusEnum/CampaignSharedSetStatus.php deleted file mode 100644 index cfce5872b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignSharedSetStatusEnum/CampaignSharedSetStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus - */ -class CampaignSharedSetStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign shared set is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The campaign shared set is removed and can no longer be used. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignSharedSetStatus::class, \Google\Ads\GoogleAds\V15\Enums\CampaignSharedSetStatusEnum_CampaignSharedSetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignStatusEnum.php deleted file mode 100644 index 2ff34ec9f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CampaignStatusEnum - */ -class CampaignStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CampaignStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CampaignStatusEnum/CampaignStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CampaignStatusEnum/CampaignStatus.php deleted file mode 100644 index cd7b51647..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CampaignStatusEnum/CampaignStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.CampaignStatusEnum.CampaignStatus - */ -class CampaignStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Campaign is active and can show ads. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Campaign has been paused by the user. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - /** - * Campaign has been removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::PAUSED => 'PAUSED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignStatus::class, \Google\Ads\GoogleAds\V15\Enums\CampaignStatusEnum_CampaignStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipTypeEnum.php deleted file mode 100644 index 730d32008..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ChainRelationshipTypeEnum - */ -class ChainRelationshipTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ChainRelationshipType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipTypeEnum/ChainRelationshipType.php b/src/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipTypeEnum/ChainRelationshipType.php deleted file mode 100644 index 77b84b205..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChainRelationshipTypeEnum/ChainRelationshipType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ChainRelationshipTypeEnum.ChainRelationshipType - */ -class ChainRelationshipType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Auto dealer relationship. - * - * Generated from protobuf enum AUTO_DEALERS = 2; - */ - const AUTO_DEALERS = 2; - /** - * General retailer relationship. - * - * Generated from protobuf enum GENERAL_RETAILERS = 3; - */ - const GENERAL_RETAILERS = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AUTO_DEALERS => 'AUTO_DEALERS', - self::GENERAL_RETAILERS => 'GENERAL_RETAILERS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChainRelationshipType::class, \Google\Ads\GoogleAds\V15\Enums\ChainRelationshipTypeEnum_ChainRelationshipType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChangeClientTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ChangeClientTypeEnum.php deleted file mode 100644 index 712900aa6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChangeClientTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ChangeClientTypeEnum - */ -class ChangeClientTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ChangeClientType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChangeClientTypeEnum/ChangeClientType.php b/src/Google/Ads/GoogleAds/V15/Enums/ChangeClientTypeEnum/ChangeClientType.php deleted file mode 100644 index 86e4c3b86..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChangeClientTypeEnum/ChangeClientType.php +++ /dev/null @@ -1,154 +0,0 @@ -google.ads.googleads.v15.enums.ChangeClientTypeEnum.ChangeClientType - */ -class ChangeClientType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents an unclassified client type - * unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Changes made through the "ads.google.com". - * For example, changes made through campaign management. - * - * Generated from protobuf enum GOOGLE_ADS_WEB_CLIENT = 2; - */ - const GOOGLE_ADS_WEB_CLIENT = 2; - /** - * Changes made through Google Ads automated rules. - * - * Generated from protobuf enum GOOGLE_ADS_AUTOMATED_RULE = 3; - */ - const GOOGLE_ADS_AUTOMATED_RULE = 3; - /** - * Changes made through Google Ads scripts. - * - * Generated from protobuf enum GOOGLE_ADS_SCRIPTS = 4; - */ - const GOOGLE_ADS_SCRIPTS = 4; - /** - * Changes made by Google Ads bulk upload. - * - * Generated from protobuf enum GOOGLE_ADS_BULK_UPLOAD = 5; - */ - const GOOGLE_ADS_BULK_UPLOAD = 5; - /** - * Changes made by Google Ads API. - * - * Generated from protobuf enum GOOGLE_ADS_API = 6; - */ - const GOOGLE_ADS_API = 6; - /** - * Changes made by Google Ads Editor. This value is a placeholder. - * The API does not return these changes. - * - * Generated from protobuf enum GOOGLE_ADS_EDITOR = 7; - */ - const GOOGLE_ADS_EDITOR = 7; - /** - * Changes made by Google Ads mobile app. - * - * Generated from protobuf enum GOOGLE_ADS_MOBILE_APP = 8; - */ - const GOOGLE_ADS_MOBILE_APP = 8; - /** - * Changes made through Google Ads recommendations. - * - * Generated from protobuf enum GOOGLE_ADS_RECOMMENDATIONS = 9; - */ - const GOOGLE_ADS_RECOMMENDATIONS = 9; - /** - * Changes made through Search Ads 360 Sync. - * - * Generated from protobuf enum SEARCH_ADS_360_SYNC = 10; - */ - const SEARCH_ADS_360_SYNC = 10; - /** - * Changes made through Search Ads 360 Post. - * - * Generated from protobuf enum SEARCH_ADS_360_POST = 11; - */ - const SEARCH_ADS_360_POST = 11; - /** - * Changes made through internal tools. - * For example, when a user sets a URL template on an entity like a - * Campaign, it's automatically wrapped with the SA360 Clickserver URL. - * - * Generated from protobuf enum INTERNAL_TOOL = 12; - */ - const INTERNAL_TOOL = 12; - /** - * Types of changes that are not categorized, for example, - * changes made by coupon redemption through Google Ads. - * - * Generated from protobuf enum OTHER = 13; - */ - const OTHER = 13; - /** - * Changes made by subscribing to Google Ads recommendations. - * - * Generated from protobuf enum GOOGLE_ADS_RECOMMENDATIONS_SUBSCRIPTION = 14; - */ - const GOOGLE_ADS_RECOMMENDATIONS_SUBSCRIPTION = 14; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::GOOGLE_ADS_WEB_CLIENT => 'GOOGLE_ADS_WEB_CLIENT', - self::GOOGLE_ADS_AUTOMATED_RULE => 'GOOGLE_ADS_AUTOMATED_RULE', - self::GOOGLE_ADS_SCRIPTS => 'GOOGLE_ADS_SCRIPTS', - self::GOOGLE_ADS_BULK_UPLOAD => 'GOOGLE_ADS_BULK_UPLOAD', - self::GOOGLE_ADS_API => 'GOOGLE_ADS_API', - self::GOOGLE_ADS_EDITOR => 'GOOGLE_ADS_EDITOR', - self::GOOGLE_ADS_MOBILE_APP => 'GOOGLE_ADS_MOBILE_APP', - self::GOOGLE_ADS_RECOMMENDATIONS => 'GOOGLE_ADS_RECOMMENDATIONS', - self::SEARCH_ADS_360_SYNC => 'SEARCH_ADS_360_SYNC', - self::SEARCH_ADS_360_POST => 'SEARCH_ADS_360_POST', - self::INTERNAL_TOOL => 'INTERNAL_TOOL', - self::OTHER => 'OTHER', - self::GOOGLE_ADS_RECOMMENDATIONS_SUBSCRIPTION => 'GOOGLE_ADS_RECOMMENDATIONS_SUBSCRIPTION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangeClientType::class, \Google\Ads\GoogleAds\V15\Enums\ChangeClientTypeEnum_ChangeClientType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceTypeEnum.php deleted file mode 100644 index 0ebd5163f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ChangeEventResourceTypeEnum - */ -class ChangeEventResourceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ChangeEventResourceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceTypeEnum/ChangeEventResourceType.php b/src/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceTypeEnum/ChangeEventResourceType.php deleted file mode 100644 index 4eecf6ff5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChangeEventResourceTypeEnum/ChangeEventResourceType.php +++ /dev/null @@ -1,191 +0,0 @@ -google.ads.googleads.v15.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType - */ -class ChangeEventResourceType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents an unclassified resource unknown - * in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An Ad resource change. - * - * Generated from protobuf enum AD = 2; - */ - const AD = 2; - /** - * An AdGroup resource change. - * - * Generated from protobuf enum AD_GROUP = 3; - */ - const AD_GROUP = 3; - /** - * An AdGroupCriterion resource change. - * - * Generated from protobuf enum AD_GROUP_CRITERION = 4; - */ - const AD_GROUP_CRITERION = 4; - /** - * A Campaign resource change. - * - * Generated from protobuf enum CAMPAIGN = 5; - */ - const CAMPAIGN = 5; - /** - * A CampaignBudget resource change. - * - * Generated from protobuf enum CAMPAIGN_BUDGET = 6; - */ - const CAMPAIGN_BUDGET = 6; - /** - * An AdGroupBidModifier resource change. - * - * Generated from protobuf enum AD_GROUP_BID_MODIFIER = 7; - */ - const AD_GROUP_BID_MODIFIER = 7; - /** - * A CampaignCriterion resource change. - * - * Generated from protobuf enum CAMPAIGN_CRITERION = 8; - */ - const CAMPAIGN_CRITERION = 8; - /** - * A Feed resource change. - * - * Generated from protobuf enum FEED = 9; - */ - const FEED = 9; - /** - * A FeedItem resource change. - * - * Generated from protobuf enum FEED_ITEM = 10; - */ - const FEED_ITEM = 10; - /** - * A CampaignFeed resource change. - * - * Generated from protobuf enum CAMPAIGN_FEED = 11; - */ - const CAMPAIGN_FEED = 11; - /** - * An AdGroupFeed resource change. - * - * Generated from protobuf enum AD_GROUP_FEED = 12; - */ - const AD_GROUP_FEED = 12; - /** - * An AdGroupAd resource change. - * - * Generated from protobuf enum AD_GROUP_AD = 13; - */ - const AD_GROUP_AD = 13; - /** - * An Asset resource change. - * - * Generated from protobuf enum ASSET = 14; - */ - const ASSET = 14; - /** - * A CustomerAsset resource change. - * - * Generated from protobuf enum CUSTOMER_ASSET = 15; - */ - const CUSTOMER_ASSET = 15; - /** - * A CampaignAsset resource change. - * - * Generated from protobuf enum CAMPAIGN_ASSET = 16; - */ - const CAMPAIGN_ASSET = 16; - /** - * An AdGroupAsset resource change. - * - * Generated from protobuf enum AD_GROUP_ASSET = 17; - */ - const AD_GROUP_ASSET = 17; - /** - * An AssetSet resource change. - * - * Generated from protobuf enum ASSET_SET = 18; - */ - const ASSET_SET = 18; - /** - * An AssetSetAsset resource change. - * - * Generated from protobuf enum ASSET_SET_ASSET = 19; - */ - const ASSET_SET_ASSET = 19; - /** - * A CampaignAssetSet resource change. - * - * Generated from protobuf enum CAMPAIGN_ASSET_SET = 20; - */ - const CAMPAIGN_ASSET_SET = 20; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD => 'AD', - self::AD_GROUP => 'AD_GROUP', - self::AD_GROUP_CRITERION => 'AD_GROUP_CRITERION', - self::CAMPAIGN => 'CAMPAIGN', - self::CAMPAIGN_BUDGET => 'CAMPAIGN_BUDGET', - self::AD_GROUP_BID_MODIFIER => 'AD_GROUP_BID_MODIFIER', - self::CAMPAIGN_CRITERION => 'CAMPAIGN_CRITERION', - self::FEED => 'FEED', - self::FEED_ITEM => 'FEED_ITEM', - self::CAMPAIGN_FEED => 'CAMPAIGN_FEED', - self::AD_GROUP_FEED => 'AD_GROUP_FEED', - self::AD_GROUP_AD => 'AD_GROUP_AD', - self::ASSET => 'ASSET', - self::CUSTOMER_ASSET => 'CUSTOMER_ASSET', - self::CAMPAIGN_ASSET => 'CAMPAIGN_ASSET', - self::AD_GROUP_ASSET => 'AD_GROUP_ASSET', - self::ASSET_SET => 'ASSET_SET', - self::ASSET_SET_ASSET => 'ASSET_SET_ASSET', - self::CAMPAIGN_ASSET_SET => 'CAMPAIGN_ASSET_SET', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangeEventResourceType::class, \Google\Ads\GoogleAds\V15\Enums\ChangeEventResourceTypeEnum_ChangeEventResourceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperationEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperationEnum.php deleted file mode 100644 index e2d438863..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperationEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ChangeStatusOperationEnum - */ -class ChangeStatusOperationEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ChangeStatusOperation::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperationEnum/ChangeStatusOperation.php b/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperationEnum/ChangeStatusOperation.php deleted file mode 100644 index 2c36ab1ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusOperationEnum/ChangeStatusOperation.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.ChangeStatusOperationEnum.ChangeStatusOperation - */ -class ChangeStatusOperation -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents an unclassified resource unknown - * in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The resource was created. - * - * Generated from protobuf enum ADDED = 2; - */ - const ADDED = 2; - /** - * The resource was modified. - * - * Generated from protobuf enum CHANGED = 3; - */ - const CHANGED = 3; - /** - * The resource was removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADDED => 'ADDED', - self::CHANGED => 'CHANGED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangeStatusOperation::class, \Google\Ads\GoogleAds\V15\Enums\ChangeStatusOperationEnum_ChangeStatusOperation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceTypeEnum.php deleted file mode 100644 index 974d8ded1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ChangeStatusResourceTypeEnum - */ -class ChangeStatusResourceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ChangeStatusResourceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceTypeEnum/ChangeStatusResourceType.php b/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceTypeEnum/ChangeStatusResourceType.php deleted file mode 100644 index e6771352c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ChangeStatusResourceTypeEnum/ChangeStatusResourceType.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType - */ -class ChangeStatusResourceType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents an unclassified resource unknown - * in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An AdGroup resource change. - * - * Generated from protobuf enum AD_GROUP = 3; - */ - const AD_GROUP = 3; - /** - * An AdGroupAd resource change. - * - * Generated from protobuf enum AD_GROUP_AD = 4; - */ - const AD_GROUP_AD = 4; - /** - * An AdGroupCriterion resource change. - * - * Generated from protobuf enum AD_GROUP_CRITERION = 5; - */ - const AD_GROUP_CRITERION = 5; - /** - * A Campaign resource change. - * - * Generated from protobuf enum CAMPAIGN = 6; - */ - const CAMPAIGN = 6; - /** - * A CampaignCriterion resource change. - * - * Generated from protobuf enum CAMPAIGN_CRITERION = 7; - */ - const CAMPAIGN_CRITERION = 7; - /** - * A Feed resource change. - * - * Generated from protobuf enum FEED = 9; - */ - const FEED = 9; - /** - * A FeedItem resource change. - * - * Generated from protobuf enum FEED_ITEM = 10; - */ - const FEED_ITEM = 10; - /** - * An AdGroupFeed resource change. - * - * Generated from protobuf enum AD_GROUP_FEED = 11; - */ - const AD_GROUP_FEED = 11; - /** - * A CampaignFeed resource change. - * - * Generated from protobuf enum CAMPAIGN_FEED = 12; - */ - const CAMPAIGN_FEED = 12; - /** - * An AdGroupBidModifier resource change. - * - * Generated from protobuf enum AD_GROUP_BID_MODIFIER = 13; - */ - const AD_GROUP_BID_MODIFIER = 13; - /** - * A SharedSet resource change. - * - * Generated from protobuf enum SHARED_SET = 14; - */ - const SHARED_SET = 14; - /** - * A CampaignSharedSet resource change. - * - * Generated from protobuf enum CAMPAIGN_SHARED_SET = 15; - */ - const CAMPAIGN_SHARED_SET = 15; - /** - * An Asset resource change. - * - * Generated from protobuf enum ASSET = 16; - */ - const ASSET = 16; - /** - * A CustomerAsset resource change. - * - * Generated from protobuf enum CUSTOMER_ASSET = 17; - */ - const CUSTOMER_ASSET = 17; - /** - * A CampaignAsset resource change. - * - * Generated from protobuf enum CAMPAIGN_ASSET = 18; - */ - const CAMPAIGN_ASSET = 18; - /** - * An AdGroupAsset resource change. - * - * Generated from protobuf enum AD_GROUP_ASSET = 19; - */ - const AD_GROUP_ASSET = 19; - /** - * A CombinedAudience resource change. - * - * Generated from protobuf enum COMBINED_AUDIENCE = 20; - */ - const COMBINED_AUDIENCE = 20; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_GROUP => 'AD_GROUP', - self::AD_GROUP_AD => 'AD_GROUP_AD', - self::AD_GROUP_CRITERION => 'AD_GROUP_CRITERION', - self::CAMPAIGN => 'CAMPAIGN', - self::CAMPAIGN_CRITERION => 'CAMPAIGN_CRITERION', - self::FEED => 'FEED', - self::FEED_ITEM => 'FEED_ITEM', - self::AD_GROUP_FEED => 'AD_GROUP_FEED', - self::CAMPAIGN_FEED => 'CAMPAIGN_FEED', - self::AD_GROUP_BID_MODIFIER => 'AD_GROUP_BID_MODIFIER', - self::SHARED_SET => 'SHARED_SET', - self::CAMPAIGN_SHARED_SET => 'CAMPAIGN_SHARED_SET', - self::ASSET => 'ASSET', - self::CUSTOMER_ASSET => 'CUSTOMER_ASSET', - self::CAMPAIGN_ASSET => 'CAMPAIGN_ASSET', - self::AD_GROUP_ASSET => 'AD_GROUP_ASSET', - self::COMBINED_AUDIENCE => 'COMBINED_AUDIENCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangeStatusResourceType::class, \Google\Ads\GoogleAds\V15\Enums\ChangeStatusResourceTypeEnum_ChangeStatusResourceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ClickTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ClickTypeEnum.php deleted file mode 100644 index 6b6265fcc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ClickTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ClickTypeEnum - */ -class ClickTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ClickType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ClickTypeEnum/ClickType.php b/src/Google/Ads/GoogleAds/V15/Enums/ClickTypeEnum/ClickType.php deleted file mode 100644 index 4d27f92df..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ClickTypeEnum/ClickType.php +++ /dev/null @@ -1,435 +0,0 @@ -google.ads.googleads.v15.enums.ClickTypeEnum.ClickType - */ -class ClickType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * App engagement ad deep link. - * - * Generated from protobuf enum APP_DEEPLINK = 2; - */ - const APP_DEEPLINK = 2; - /** - * Breadcrumbs. - * - * Generated from protobuf enum BREADCRUMBS = 3; - */ - const BREADCRUMBS = 3; - /** - * Broadband Plan. - * - * Generated from protobuf enum BROADBAND_PLAN = 4; - */ - const BROADBAND_PLAN = 4; - /** - * Manually dialed phone calls. - * - * Generated from protobuf enum CALL_TRACKING = 5; - */ - const CALL_TRACKING = 5; - /** - * Phone calls. - * - * Generated from protobuf enum CALLS = 6; - */ - const CALLS = 6; - /** - * Click on engagement ad. - * - * Generated from protobuf enum CLICK_ON_ENGAGEMENT_AD = 7; - */ - const CLICK_ON_ENGAGEMENT_AD = 7; - /** - * Driving direction. - * - * Generated from protobuf enum GET_DIRECTIONS = 8; - */ - const GET_DIRECTIONS = 8; - /** - * Get location details. - * - * Generated from protobuf enum LOCATION_EXPANSION = 9; - */ - const LOCATION_EXPANSION = 9; - /** - * Call. - * - * Generated from protobuf enum LOCATION_FORMAT_CALL = 10; - */ - const LOCATION_FORMAT_CALL = 10; - /** - * Directions. - * - * Generated from protobuf enum LOCATION_FORMAT_DIRECTIONS = 11; - */ - const LOCATION_FORMAT_DIRECTIONS = 11; - /** - * Image(s). - * - * Generated from protobuf enum LOCATION_FORMAT_IMAGE = 12; - */ - const LOCATION_FORMAT_IMAGE = 12; - /** - * Go to landing page. - * - * Generated from protobuf enum LOCATION_FORMAT_LANDING_PAGE = 13; - */ - const LOCATION_FORMAT_LANDING_PAGE = 13; - /** - * Map. - * - * Generated from protobuf enum LOCATION_FORMAT_MAP = 14; - */ - const LOCATION_FORMAT_MAP = 14; - /** - * Go to store info. - * - * Generated from protobuf enum LOCATION_FORMAT_STORE_INFO = 15; - */ - const LOCATION_FORMAT_STORE_INFO = 15; - /** - * Text. - * - * Generated from protobuf enum LOCATION_FORMAT_TEXT = 16; - */ - const LOCATION_FORMAT_TEXT = 16; - /** - * Mobile phone calls. - * - * Generated from protobuf enum MOBILE_CALL_TRACKING = 17; - */ - const MOBILE_CALL_TRACKING = 17; - /** - * Print offer. - * - * Generated from protobuf enum OFFER_PRINTS = 18; - */ - const OFFER_PRINTS = 18; - /** - * Other. - * - * Generated from protobuf enum OTHER = 19; - */ - const OTHER = 19; - /** - * Product plusbox offer. - * - * Generated from protobuf enum PRODUCT_EXTENSION_CLICKS = 20; - */ - const PRODUCT_EXTENSION_CLICKS = 20; - /** - * Shopping - Product - Online. - * - * Generated from protobuf enum PRODUCT_LISTING_AD_CLICKS = 21; - */ - const PRODUCT_LISTING_AD_CLICKS = 21; - /** - * Sitelink. - * - * Generated from protobuf enum SITELINKS = 22; - */ - const SITELINKS = 22; - /** - * Show nearby locations. - * - * Generated from protobuf enum STORE_LOCATOR = 23; - */ - const STORE_LOCATOR = 23; - /** - * Headline. - * - * Generated from protobuf enum URL_CLICKS = 25; - */ - const URL_CLICKS = 25; - /** - * App store. - * - * Generated from protobuf enum VIDEO_APP_STORE_CLICKS = 26; - */ - const VIDEO_APP_STORE_CLICKS = 26; - /** - * Call-to-Action overlay. - * - * Generated from protobuf enum VIDEO_CALL_TO_ACTION_CLICKS = 27; - */ - const VIDEO_CALL_TO_ACTION_CLICKS = 27; - /** - * Cards. - * - * Generated from protobuf enum VIDEO_CARD_ACTION_HEADLINE_CLICKS = 28; - */ - const VIDEO_CARD_ACTION_HEADLINE_CLICKS = 28; - /** - * End cap. - * - * Generated from protobuf enum VIDEO_END_CAP_CLICKS = 29; - */ - const VIDEO_END_CAP_CLICKS = 29; - /** - * Website. - * - * Generated from protobuf enum VIDEO_WEBSITE_CLICKS = 30; - */ - const VIDEO_WEBSITE_CLICKS = 30; - /** - * Visual Sitelinks. - * - * Generated from protobuf enum VISUAL_SITELINKS = 31; - */ - const VISUAL_SITELINKS = 31; - /** - * Wireless Plan. - * - * Generated from protobuf enum WIRELESS_PLAN = 32; - */ - const WIRELESS_PLAN = 32; - /** - * Shopping - Product - Local. - * - * Generated from protobuf enum PRODUCT_LISTING_AD_LOCAL = 33; - */ - const PRODUCT_LISTING_AD_LOCAL = 33; - /** - * Shopping - Product - MultiChannel Local. - * - * Generated from protobuf enum PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL = 34; - */ - const PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL = 34; - /** - * Shopping - Product - MultiChannel Online. - * - * Generated from protobuf enum PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE = 35; - */ - const PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE = 35; - /** - * Shopping - Product - Coupon. - * - * Generated from protobuf enum PRODUCT_LISTING_ADS_COUPON = 36; - */ - const PRODUCT_LISTING_ADS_COUPON = 36; - /** - * Shopping - Product - Sell on Google. - * - * Generated from protobuf enum PRODUCT_LISTING_AD_TRANSACTABLE = 37; - */ - const PRODUCT_LISTING_AD_TRANSACTABLE = 37; - /** - * Shopping - Product - App engagement ad deep link. - * - * Generated from protobuf enum PRODUCT_AD_APP_DEEPLINK = 38; - */ - const PRODUCT_AD_APP_DEEPLINK = 38; - /** - * Shopping - Showcase - Category. - * - * Generated from protobuf enum SHOWCASE_AD_CATEGORY_LINK = 39; - */ - const SHOWCASE_AD_CATEGORY_LINK = 39; - /** - * Shopping - Showcase - Local storefront. - * - * Generated from protobuf enum SHOWCASE_AD_LOCAL_STOREFRONT_LINK = 40; - */ - const SHOWCASE_AD_LOCAL_STOREFRONT_LINK = 40; - /** - * Shopping - Showcase - Online product. - * - * Generated from protobuf enum SHOWCASE_AD_ONLINE_PRODUCT_LINK = 42; - */ - const SHOWCASE_AD_ONLINE_PRODUCT_LINK = 42; - /** - * Shopping - Showcase - Local product. - * - * Generated from protobuf enum SHOWCASE_AD_LOCAL_PRODUCT_LINK = 43; - */ - const SHOWCASE_AD_LOCAL_PRODUCT_LINK = 43; - /** - * Promotion Extension. - * - * Generated from protobuf enum PROMOTION_EXTENSION = 44; - */ - const PROMOTION_EXTENSION = 44; - /** - * Ad Headline. - * - * Generated from protobuf enum SWIPEABLE_GALLERY_AD_HEADLINE = 45; - */ - const SWIPEABLE_GALLERY_AD_HEADLINE = 45; - /** - * Swipes. - * - * Generated from protobuf enum SWIPEABLE_GALLERY_AD_SWIPES = 46; - */ - const SWIPEABLE_GALLERY_AD_SWIPES = 46; - /** - * See More. - * - * Generated from protobuf enum SWIPEABLE_GALLERY_AD_SEE_MORE = 47; - */ - const SWIPEABLE_GALLERY_AD_SEE_MORE = 47; - /** - * Sitelink 1. - * - * Generated from protobuf enum SWIPEABLE_GALLERY_AD_SITELINK_ONE = 48; - */ - const SWIPEABLE_GALLERY_AD_SITELINK_ONE = 48; - /** - * Sitelink 2. - * - * Generated from protobuf enum SWIPEABLE_GALLERY_AD_SITELINK_TWO = 49; - */ - const SWIPEABLE_GALLERY_AD_SITELINK_TWO = 49; - /** - * Sitelink 3. - * - * Generated from protobuf enum SWIPEABLE_GALLERY_AD_SITELINK_THREE = 50; - */ - const SWIPEABLE_GALLERY_AD_SITELINK_THREE = 50; - /** - * Sitelink 4. - * - * Generated from protobuf enum SWIPEABLE_GALLERY_AD_SITELINK_FOUR = 51; - */ - const SWIPEABLE_GALLERY_AD_SITELINK_FOUR = 51; - /** - * Sitelink 5. - * - * Generated from protobuf enum SWIPEABLE_GALLERY_AD_SITELINK_FIVE = 52; - */ - const SWIPEABLE_GALLERY_AD_SITELINK_FIVE = 52; - /** - * Hotel price. - * - * Generated from protobuf enum HOTEL_PRICE = 53; - */ - const HOTEL_PRICE = 53; - /** - * Price Extension. - * - * Generated from protobuf enum PRICE_EXTENSION = 54; - */ - const PRICE_EXTENSION = 54; - /** - * Book on Google hotel room selection. - * - * Generated from protobuf enum HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION = 55; - */ - const HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION = 55; - /** - * Shopping - Comparison Listing. - * - * Generated from protobuf enum SHOPPING_COMPARISON_LISTING = 56; - */ - const SHOPPING_COMPARISON_LISTING = 56; - /** - * Cross-network. From Performance Max and Discovery Campaigns. - * - * Generated from protobuf enum CROSS_NETWORK = 57; - */ - const CROSS_NETWORK = 57; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::APP_DEEPLINK => 'APP_DEEPLINK', - self::BREADCRUMBS => 'BREADCRUMBS', - self::BROADBAND_PLAN => 'BROADBAND_PLAN', - self::CALL_TRACKING => 'CALL_TRACKING', - self::CALLS => 'CALLS', - self::CLICK_ON_ENGAGEMENT_AD => 'CLICK_ON_ENGAGEMENT_AD', - self::GET_DIRECTIONS => 'GET_DIRECTIONS', - self::LOCATION_EXPANSION => 'LOCATION_EXPANSION', - self::LOCATION_FORMAT_CALL => 'LOCATION_FORMAT_CALL', - self::LOCATION_FORMAT_DIRECTIONS => 'LOCATION_FORMAT_DIRECTIONS', - self::LOCATION_FORMAT_IMAGE => 'LOCATION_FORMAT_IMAGE', - self::LOCATION_FORMAT_LANDING_PAGE => 'LOCATION_FORMAT_LANDING_PAGE', - self::LOCATION_FORMAT_MAP => 'LOCATION_FORMAT_MAP', - self::LOCATION_FORMAT_STORE_INFO => 'LOCATION_FORMAT_STORE_INFO', - self::LOCATION_FORMAT_TEXT => 'LOCATION_FORMAT_TEXT', - self::MOBILE_CALL_TRACKING => 'MOBILE_CALL_TRACKING', - self::OFFER_PRINTS => 'OFFER_PRINTS', - self::OTHER => 'OTHER', - self::PRODUCT_EXTENSION_CLICKS => 'PRODUCT_EXTENSION_CLICKS', - self::PRODUCT_LISTING_AD_CLICKS => 'PRODUCT_LISTING_AD_CLICKS', - self::SITELINKS => 'SITELINKS', - self::STORE_LOCATOR => 'STORE_LOCATOR', - self::URL_CLICKS => 'URL_CLICKS', - self::VIDEO_APP_STORE_CLICKS => 'VIDEO_APP_STORE_CLICKS', - self::VIDEO_CALL_TO_ACTION_CLICKS => 'VIDEO_CALL_TO_ACTION_CLICKS', - self::VIDEO_CARD_ACTION_HEADLINE_CLICKS => 'VIDEO_CARD_ACTION_HEADLINE_CLICKS', - self::VIDEO_END_CAP_CLICKS => 'VIDEO_END_CAP_CLICKS', - self::VIDEO_WEBSITE_CLICKS => 'VIDEO_WEBSITE_CLICKS', - self::VISUAL_SITELINKS => 'VISUAL_SITELINKS', - self::WIRELESS_PLAN => 'WIRELESS_PLAN', - self::PRODUCT_LISTING_AD_LOCAL => 'PRODUCT_LISTING_AD_LOCAL', - self::PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL => 'PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL', - self::PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE => 'PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE', - self::PRODUCT_LISTING_ADS_COUPON => 'PRODUCT_LISTING_ADS_COUPON', - self::PRODUCT_LISTING_AD_TRANSACTABLE => 'PRODUCT_LISTING_AD_TRANSACTABLE', - self::PRODUCT_AD_APP_DEEPLINK => 'PRODUCT_AD_APP_DEEPLINK', - self::SHOWCASE_AD_CATEGORY_LINK => 'SHOWCASE_AD_CATEGORY_LINK', - self::SHOWCASE_AD_LOCAL_STOREFRONT_LINK => 'SHOWCASE_AD_LOCAL_STOREFRONT_LINK', - self::SHOWCASE_AD_ONLINE_PRODUCT_LINK => 'SHOWCASE_AD_ONLINE_PRODUCT_LINK', - self::SHOWCASE_AD_LOCAL_PRODUCT_LINK => 'SHOWCASE_AD_LOCAL_PRODUCT_LINK', - self::PROMOTION_EXTENSION => 'PROMOTION_EXTENSION', - self::SWIPEABLE_GALLERY_AD_HEADLINE => 'SWIPEABLE_GALLERY_AD_HEADLINE', - self::SWIPEABLE_GALLERY_AD_SWIPES => 'SWIPEABLE_GALLERY_AD_SWIPES', - self::SWIPEABLE_GALLERY_AD_SEE_MORE => 'SWIPEABLE_GALLERY_AD_SEE_MORE', - self::SWIPEABLE_GALLERY_AD_SITELINK_ONE => 'SWIPEABLE_GALLERY_AD_SITELINK_ONE', - self::SWIPEABLE_GALLERY_AD_SITELINK_TWO => 'SWIPEABLE_GALLERY_AD_SITELINK_TWO', - self::SWIPEABLE_GALLERY_AD_SITELINK_THREE => 'SWIPEABLE_GALLERY_AD_SITELINK_THREE', - self::SWIPEABLE_GALLERY_AD_SITELINK_FOUR => 'SWIPEABLE_GALLERY_AD_SITELINK_FOUR', - self::SWIPEABLE_GALLERY_AD_SITELINK_FIVE => 'SWIPEABLE_GALLERY_AD_SITELINK_FIVE', - self::HOTEL_PRICE => 'HOTEL_PRICE', - self::PRICE_EXTENSION => 'PRICE_EXTENSION', - self::HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION => 'HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION', - self::SHOPPING_COMPARISON_LISTING => 'SHOPPING_COMPARISON_LISTING', - self::CROSS_NETWORK => 'CROSS_NETWORK', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ClickType::class, \Google\Ads\GoogleAds\V15\Enums\ClickTypeEnum_ClickType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatusEnum.php deleted file mode 100644 index 748e3be82..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CombinedAudienceStatusEnum - */ -class CombinedAudienceStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CombinedAudienceStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConsentStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConsentStatusEnum.php deleted file mode 100644 index 5ceafbb0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConsentStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ConsentStatusEnum - */ -class ConsentStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConsentStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConsentStatusEnum/ConsentStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ConsentStatusEnum/ConsentStatus.php deleted file mode 100644 index 314fbda9b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConsentStatusEnum/ConsentStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ConsentStatusEnum.ConsentStatus - */ -class ConsentStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Output-only. Represents a format not yet defined in this enum. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Granted. - * - * Generated from protobuf enum GRANTED = 2; - */ - const GRANTED = 2; - /** - * Denied. - * - * Generated from protobuf enum DENIED = 3; - */ - const DENIED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::GRANTED => 'GRANTED', - self::DENIED => 'DENIED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConsentStatus::class, \Google\Ads\GoogleAds\V15\Enums\ConsentStatusEnum_ConsentStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ContentLabelTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ContentLabelTypeEnum.php deleted file mode 100644 index 18e1f0788..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ContentLabelTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ContentLabelTypeEnum - */ -class ContentLabelTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ContentLabelType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ContentLabelTypeEnum/ContentLabelType.php b/src/Google/Ads/GoogleAds/V15/Enums/ContentLabelTypeEnum/ContentLabelType.php deleted file mode 100644 index cbeb5b9e2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ContentLabelTypeEnum/ContentLabelType.php +++ /dev/null @@ -1,162 +0,0 @@ -google.ads.googleads.v15.enums.ContentLabelTypeEnum.ContentLabelType - */ -class ContentLabelType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Sexually suggestive content. - * - * Generated from protobuf enum SEXUALLY_SUGGESTIVE = 2; - */ - const SEXUALLY_SUGGESTIVE = 2; - /** - * Below the fold placement. - * - * Generated from protobuf enum BELOW_THE_FOLD = 3; - */ - const BELOW_THE_FOLD = 3; - /** - * Parked domain. - * - * Generated from protobuf enum PARKED_DOMAIN = 4; - */ - const PARKED_DOMAIN = 4; - /** - * Juvenile, gross & bizarre content. - * - * Generated from protobuf enum JUVENILE = 6; - */ - const JUVENILE = 6; - /** - * Profanity & rough language. - * - * Generated from protobuf enum PROFANITY = 7; - */ - const PROFANITY = 7; - /** - * Death & tragedy. - * - * Generated from protobuf enum TRAGEDY = 8; - */ - const TRAGEDY = 8; - /** - * Video. - * - * Generated from protobuf enum VIDEO = 9; - */ - const VIDEO = 9; - /** - * Content rating: G. - * - * Generated from protobuf enum VIDEO_RATING_DV_G = 10; - */ - const VIDEO_RATING_DV_G = 10; - /** - * Content rating: PG. - * - * Generated from protobuf enum VIDEO_RATING_DV_PG = 11; - */ - const VIDEO_RATING_DV_PG = 11; - /** - * Content rating: T. - * - * Generated from protobuf enum VIDEO_RATING_DV_T = 12; - */ - const VIDEO_RATING_DV_T = 12; - /** - * Content rating: MA. - * - * Generated from protobuf enum VIDEO_RATING_DV_MA = 13; - */ - const VIDEO_RATING_DV_MA = 13; - /** - * Content rating: not yet rated. - * - * Generated from protobuf enum VIDEO_NOT_YET_RATED = 14; - */ - const VIDEO_NOT_YET_RATED = 14; - /** - * Embedded video. - * - * Generated from protobuf enum EMBEDDED_VIDEO = 15; - */ - const EMBEDDED_VIDEO = 15; - /** - * Live streaming video. - * - * Generated from protobuf enum LIVE_STREAMING_VIDEO = 16; - */ - const LIVE_STREAMING_VIDEO = 16; - /** - * Sensitive social issues. - * - * Generated from protobuf enum SOCIAL_ISSUES = 17; - */ - const SOCIAL_ISSUES = 17; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SEXUALLY_SUGGESTIVE => 'SEXUALLY_SUGGESTIVE', - self::BELOW_THE_FOLD => 'BELOW_THE_FOLD', - self::PARKED_DOMAIN => 'PARKED_DOMAIN', - self::JUVENILE => 'JUVENILE', - self::PROFANITY => 'PROFANITY', - self::TRAGEDY => 'TRAGEDY', - self::VIDEO => 'VIDEO', - self::VIDEO_RATING_DV_G => 'VIDEO_RATING_DV_G', - self::VIDEO_RATING_DV_PG => 'VIDEO_RATING_DV_PG', - self::VIDEO_RATING_DV_T => 'VIDEO_RATING_DV_T', - self::VIDEO_RATING_DV_MA => 'VIDEO_RATING_DV_MA', - self::VIDEO_NOT_YET_RATED => 'VIDEO_NOT_YET_RATED', - self::EMBEDDED_VIDEO => 'EMBEDDED_VIDEO', - self::LIVE_STREAMING_VIDEO => 'LIVE_STREAMING_VIDEO', - self::SOCIAL_ISSUES => 'SOCIAL_ISSUES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ContentLabelType::class, \Google\Ads\GoogleAds\V15\Enums\ContentLabelTypeEnum_ContentLabelType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategoryEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategoryEnum.php deleted file mode 100644 index 9259cc6a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategoryEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConversionActionCategoryEnum - */ -class ConversionActionCategoryEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionActionCategory::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategoryEnum/ConversionActionCategory.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategoryEnum/ConversionActionCategory.php deleted file mode 100644 index 42cb9c667..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCategoryEnum/ConversionActionCategory.php +++ /dev/null @@ -1,218 +0,0 @@ -google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory - */ -class ConversionActionCategory -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Default category. - * - * Generated from protobuf enum DEFAULT = 2; - */ - const PBDEFAULT = 2; - /** - * User visiting a page. - * - * Generated from protobuf enum PAGE_VIEW = 3; - */ - const PAGE_VIEW = 3; - /** - * Purchase, sales, or "order placed" event. - * - * Generated from protobuf enum PURCHASE = 4; - */ - const PURCHASE = 4; - /** - * Signup user action. - * - * Generated from protobuf enum SIGNUP = 5; - */ - const SIGNUP = 5; - /** - * Software download action (as for an app). - * - * Generated from protobuf enum DOWNLOAD = 7; - */ - const DOWNLOAD = 7; - /** - * The addition of items to a shopping cart or bag on an advertiser site. - * - * Generated from protobuf enum ADD_TO_CART = 8; - */ - const ADD_TO_CART = 8; - /** - * When someone enters the checkout flow on an advertiser site. - * - * Generated from protobuf enum BEGIN_CHECKOUT = 9; - */ - const BEGIN_CHECKOUT = 9; - /** - * The start of a paid subscription for a product or service. - * - * Generated from protobuf enum SUBSCRIBE_PAID = 10; - */ - const SUBSCRIBE_PAID = 10; - /** - * A call to indicate interest in an advertiser's offering. - * - * Generated from protobuf enum PHONE_CALL_LEAD = 11; - */ - const PHONE_CALL_LEAD = 11; - /** - * A lead conversion imported from an external source into Google Ads. - * - * Generated from protobuf enum IMPORTED_LEAD = 12; - */ - const IMPORTED_LEAD = 12; - /** - * A submission of a form on an advertiser site indicating business - * interest. - * - * Generated from protobuf enum SUBMIT_LEAD_FORM = 13; - */ - const SUBMIT_LEAD_FORM = 13; - /** - * A booking of an appointment with an advertiser's business. - * - * Generated from protobuf enum BOOK_APPOINTMENT = 14; - */ - const BOOK_APPOINTMENT = 14; - /** - * A quote or price estimate request. - * - * Generated from protobuf enum REQUEST_QUOTE = 15; - */ - const REQUEST_QUOTE = 15; - /** - * A search for an advertiser's business location with intention to visit. - * - * Generated from protobuf enum GET_DIRECTIONS = 16; - */ - const GET_DIRECTIONS = 16; - /** - * A click to an advertiser's partner's site. - * - * Generated from protobuf enum OUTBOUND_CLICK = 17; - */ - const OUTBOUND_CLICK = 17; - /** - * A call, SMS, email, chat or other type of contact to an advertiser. - * - * Generated from protobuf enum CONTACT = 18; - */ - const CONTACT = 18; - /** - * A website engagement event such as long site time or a Google Analytics - * (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal - * imports. - * - * Generated from protobuf enum ENGAGEMENT = 19; - */ - const ENGAGEMENT = 19; - /** - * A visit to a physical store location. - * - * Generated from protobuf enum STORE_VISIT = 20; - */ - const STORE_VISIT = 20; - /** - * A sale occurring in a physical store. - * - * Generated from protobuf enum STORE_SALE = 21; - */ - const STORE_SALE = 21; - /** - * A lead conversion imported from an external source into Google Ads, - * that has been further qualified by the advertiser (marketing/sales team). - * In the lead-to-sale journey, advertisers get leads, then act on them - * by reaching out to the consumer. If the consumer is interested and - * may end up buying their product, the advertiser marks such leads as - * "qualified leads". - * - * Generated from protobuf enum QUALIFIED_LEAD = 22; - */ - const QUALIFIED_LEAD = 22; - /** - * A lead conversion imported from an external source into Google Ads, that - * has further completed a chosen stage as defined by the lead gen - * advertiser. - * - * Generated from protobuf enum CONVERTED_LEAD = 23; - */ - const CONVERTED_LEAD = 23; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PBDEFAULT => 'DEFAULT', - self::PAGE_VIEW => 'PAGE_VIEW', - self::PURCHASE => 'PURCHASE', - self::SIGNUP => 'SIGNUP', - self::DOWNLOAD => 'DOWNLOAD', - self::ADD_TO_CART => 'ADD_TO_CART', - self::BEGIN_CHECKOUT => 'BEGIN_CHECKOUT', - self::SUBSCRIBE_PAID => 'SUBSCRIBE_PAID', - self::PHONE_CALL_LEAD => 'PHONE_CALL_LEAD', - self::IMPORTED_LEAD => 'IMPORTED_LEAD', - self::SUBMIT_LEAD_FORM => 'SUBMIT_LEAD_FORM', - self::BOOK_APPOINTMENT => 'BOOK_APPOINTMENT', - self::REQUEST_QUOTE => 'REQUEST_QUOTE', - self::GET_DIRECTIONS => 'GET_DIRECTIONS', - self::OUTBOUND_CLICK => 'OUTBOUND_CLICK', - self::CONTACT => 'CONTACT', - self::ENGAGEMENT => 'ENGAGEMENT', - self::STORE_VISIT => 'STORE_VISIT', - self::STORE_SALE => 'STORE_SALE', - self::QUALIFIED_LEAD => 'QUALIFIED_LEAD', - self::CONVERTED_LEAD => 'CONVERTED_LEAD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionActionCategory::class, \Google\Ads\GoogleAds\V15\Enums\ConversionActionCategoryEnum_ConversionActionCategory::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingTypeEnum.php deleted file mode 100644 index ab14851ac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConversionActionCountingTypeEnum - */ -class ConversionActionCountingTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionActionCountingType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingTypeEnum/ConversionActionCountingType.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingTypeEnum/ConversionActionCountingType.php deleted file mode 100644 index c01a453d6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionCountingTypeEnum/ConversionActionCountingType.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType - */ -class ConversionActionCountingType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Count only one conversion per click. - * - * Generated from protobuf enum ONE_PER_CLICK = 2; - */ - const ONE_PER_CLICK = 2; - /** - * Count all conversions per click. - * - * Generated from protobuf enum MANY_PER_CLICK = 3; - */ - const MANY_PER_CLICK = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ONE_PER_CLICK => 'ONE_PER_CLICK', - self::MANY_PER_CLICK => 'MANY_PER_CLICK', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionActionCountingType::class, \Google\Ads\GoogleAds\V15\Enums\ConversionActionCountingTypeEnum_ConversionActionCountingType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatusEnum.php deleted file mode 100644 index c2adad5c8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ConversionActionStatusEnum - */ -class ConversionActionStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionActionStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatusEnum/ConversionActionStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatusEnum/ConversionActionStatus.php deleted file mode 100644 index c6b3b5944..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionStatusEnum/ConversionActionStatus.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.ConversionActionStatusEnum.ConversionActionStatus - */ -class ConversionActionStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conversions will be recorded. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Conversions will not be recorded. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - /** - * Conversions will not be recorded and the conversion action will not - * appear in the UI. - * - * Generated from protobuf enum HIDDEN = 4; - */ - const HIDDEN = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - self::HIDDEN => 'HIDDEN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionActionStatus::class, \Google\Ads\GoogleAds\V15\Enums\ConversionActionStatusEnum_ConversionActionStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionTypeEnum.php deleted file mode 100644 index cf917a1c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ConversionActionTypeEnum - */ -class ConversionActionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionActionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionTypeEnum/ConversionActionType.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionTypeEnum/ConversionActionType.php deleted file mode 100644 index 8c3b9f758..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionActionTypeEnum/ConversionActionType.php +++ /dev/null @@ -1,366 +0,0 @@ -google.ads.googleads.v15.enums.ConversionActionTypeEnum.ConversionActionType - */ -class ConversionActionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conversions that occur when a user clicks on an ad's call extension. - * - * Generated from protobuf enum AD_CALL = 2; - */ - const AD_CALL = 2; - /** - * Conversions that occur when a user on a mobile device clicks a phone - * number. - * - * Generated from protobuf enum CLICK_TO_CALL = 3; - */ - const CLICK_TO_CALL = 3; - /** - * Conversions that occur when a user downloads a mobile app from the Google - * Play Store. - * - * Generated from protobuf enum GOOGLE_PLAY_DOWNLOAD = 4; - */ - const GOOGLE_PLAY_DOWNLOAD = 4; - /** - * Conversions that occur when a user makes a purchase in an app through - * Android billing. - * - * Generated from protobuf enum GOOGLE_PLAY_IN_APP_PURCHASE = 5; - */ - const GOOGLE_PLAY_IN_APP_PURCHASE = 5; - /** - * Call conversions that are tracked by the advertiser and uploaded. - * - * Generated from protobuf enum UPLOAD_CALLS = 6; - */ - const UPLOAD_CALLS = 6; - /** - * Conversions that are tracked by the advertiser and uploaded with - * attributed clicks. - * - * Generated from protobuf enum UPLOAD_CLICKS = 7; - */ - const UPLOAD_CLICKS = 7; - /** - * Conversions that occur on a webpage. - * - * Generated from protobuf enum WEBPAGE = 8; - */ - const WEBPAGE = 8; - /** - * Conversions that occur when a user calls a dynamically-generated phone - * number from an advertiser's website. - * - * Generated from protobuf enum WEBSITE_CALL = 9; - */ - const WEBSITE_CALL = 9; - /** - * Store Sales conversion based on first-party or third-party merchant - * data uploads. - * Only customers on the allowlist can use store sales direct upload types. - * - * Generated from protobuf enum STORE_SALES_DIRECT_UPLOAD = 10; - */ - const STORE_SALES_DIRECT_UPLOAD = 10; - /** - * Store Sales conversion based on first-party or third-party merchant - * data uploads and/or from in-store purchases using cards from payment - * networks. - * Only customers on the allowlist can use store sales types. - * Read only. - * - * Generated from protobuf enum STORE_SALES = 11; - */ - const STORE_SALES = 11; - /** - * Android app first open conversions tracked through Firebase. - * - * Generated from protobuf enum FIREBASE_ANDROID_FIRST_OPEN = 12; - */ - const FIREBASE_ANDROID_FIRST_OPEN = 12; - /** - * Android app in app purchase conversions tracked through Firebase. - * - * Generated from protobuf enum FIREBASE_ANDROID_IN_APP_PURCHASE = 13; - */ - const FIREBASE_ANDROID_IN_APP_PURCHASE = 13; - /** - * Android app custom conversions tracked through Firebase. - * - * Generated from protobuf enum FIREBASE_ANDROID_CUSTOM = 14; - */ - const FIREBASE_ANDROID_CUSTOM = 14; - /** - * iOS app first open conversions tracked through Firebase. - * - * Generated from protobuf enum FIREBASE_IOS_FIRST_OPEN = 15; - */ - const FIREBASE_IOS_FIRST_OPEN = 15; - /** - * iOS app in app purchase conversions tracked through Firebase. - * - * Generated from protobuf enum FIREBASE_IOS_IN_APP_PURCHASE = 16; - */ - const FIREBASE_IOS_IN_APP_PURCHASE = 16; - /** - * iOS app custom conversions tracked through Firebase. - * - * Generated from protobuf enum FIREBASE_IOS_CUSTOM = 17; - */ - const FIREBASE_IOS_CUSTOM = 17; - /** - * Android app first open conversions tracked through Third Party App - * Analytics. - * - * Generated from protobuf enum THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN = 18; - */ - const THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN = 18; - /** - * Android app in app purchase conversions tracked through Third Party App - * Analytics. - * - * Generated from protobuf enum THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE = 19; - */ - const THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE = 19; - /** - * Android app custom conversions tracked through Third Party App Analytics. - * - * Generated from protobuf enum THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM = 20; - */ - const THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM = 20; - /** - * iOS app first open conversions tracked through Third Party App Analytics. - * - * Generated from protobuf enum THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN = 21; - */ - const THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN = 21; - /** - * iOS app in app purchase conversions tracked through Third Party App - * Analytics. - * - * Generated from protobuf enum THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE = 22; - */ - const THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE = 22; - /** - * iOS app custom conversions tracked through Third Party App Analytics. - * - * Generated from protobuf enum THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM = 23; - */ - const THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM = 23; - /** - * Conversions that occur when a user pre-registers a mobile app from the - * Google Play Store. Read only. - * - * Generated from protobuf enum ANDROID_APP_PRE_REGISTRATION = 24; - */ - const ANDROID_APP_PRE_REGISTRATION = 24; - /** - * Conversions that track all Google Play downloads which aren't tracked - * by an app-specific type. Read only. - * - * Generated from protobuf enum ANDROID_INSTALLS_ALL_OTHER_APPS = 25; - */ - const ANDROID_INSTALLS_ALL_OTHER_APPS = 25; - /** - * Floodlight activity that counts the number of times that users have - * visited a particular webpage after seeing or clicking on one of - * an advertiser's ads. Read only. - * - * Generated from protobuf enum FLOODLIGHT_ACTION = 26; - */ - const FLOODLIGHT_ACTION = 26; - /** - * Floodlight activity that tracks the number of sales made or the number - * of items purchased. Can also capture the total value of each sale. - * Read only. - * - * Generated from protobuf enum FLOODLIGHT_TRANSACTION = 27; - */ - const FLOODLIGHT_TRANSACTION = 27; - /** - * Conversions that track local actions from Google's products and - * services after interacting with an ad. Read only. - * - * Generated from protobuf enum GOOGLE_HOSTED = 28; - */ - const GOOGLE_HOSTED = 28; - /** - * Conversions reported when a user submits a lead form. Read only. - * - * Generated from protobuf enum LEAD_FORM_SUBMIT = 29; - */ - const LEAD_FORM_SUBMIT = 29; - /** - * Conversions that come from Salesforce. Read only. - * - * Generated from protobuf enum SALESFORCE = 30; - */ - const SALESFORCE = 30; - /** - * Conversions imported from Search Ads 360 Floodlight data. Read only. - * - * Generated from protobuf enum SEARCH_ADS_360 = 31; - */ - const SEARCH_ADS_360 = 31; - /** - * Call conversions that occur on Smart campaign Ads without call tracking - * setup, using Smart campaign custom criteria. Read only. - * - * Generated from protobuf enum SMART_CAMPAIGN_AD_CLICKS_TO_CALL = 32; - */ - const SMART_CAMPAIGN_AD_CLICKS_TO_CALL = 32; - /** - * The user clicks on a call element within Google Maps. Smart campaign - * only. Read only. - * - * Generated from protobuf enum SMART_CAMPAIGN_MAP_CLICKS_TO_CALL = 33; - */ - const SMART_CAMPAIGN_MAP_CLICKS_TO_CALL = 33; - /** - * The user requests directions to a business location within Google Maps. - * Smart campaign only. Read only. - * - * Generated from protobuf enum SMART_CAMPAIGN_MAP_DIRECTIONS = 34; - */ - const SMART_CAMPAIGN_MAP_DIRECTIONS = 34; - /** - * Call conversions that occur on Smart campaign Ads with call tracking - * setup, using Smart campaign custom criteria. Read only. - * - * Generated from protobuf enum SMART_CAMPAIGN_TRACKED_CALLS = 35; - */ - const SMART_CAMPAIGN_TRACKED_CALLS = 35; - /** - * Conversions that occur when a user visits an advertiser's retail store. - * Read only. - * - * Generated from protobuf enum STORE_VISITS = 36; - */ - const STORE_VISITS = 36; - /** - * Conversions created from website events (such as form submissions or page - * loads), that don't use individually coded event snippets. Read only. - * - * Generated from protobuf enum WEBPAGE_CODELESS = 37; - */ - const WEBPAGE_CODELESS = 37; - /** - * Conversions that come from linked Universal Analytics goals. - * - * Generated from protobuf enum UNIVERSAL_ANALYTICS_GOAL = 38; - */ - const UNIVERSAL_ANALYTICS_GOAL = 38; - /** - * Conversions that come from linked Universal Analytics transactions. - * - * Generated from protobuf enum UNIVERSAL_ANALYTICS_TRANSACTION = 39; - */ - const UNIVERSAL_ANALYTICS_TRANSACTION = 39; - /** - * Conversions that come from linked Google Analytics 4 custom event - * conversions. - * - * Generated from protobuf enum GOOGLE_ANALYTICS_4_CUSTOM = 40; - */ - const GOOGLE_ANALYTICS_4_CUSTOM = 40; - /** - * Conversions that come from linked Google Analytics 4 purchase - * conversions. - * - * Generated from protobuf enum GOOGLE_ANALYTICS_4_PURCHASE = 41; - */ - const GOOGLE_ANALYTICS_4_PURCHASE = 41; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_CALL => 'AD_CALL', - self::CLICK_TO_CALL => 'CLICK_TO_CALL', - self::GOOGLE_PLAY_DOWNLOAD => 'GOOGLE_PLAY_DOWNLOAD', - self::GOOGLE_PLAY_IN_APP_PURCHASE => 'GOOGLE_PLAY_IN_APP_PURCHASE', - self::UPLOAD_CALLS => 'UPLOAD_CALLS', - self::UPLOAD_CLICKS => 'UPLOAD_CLICKS', - self::WEBPAGE => 'WEBPAGE', - self::WEBSITE_CALL => 'WEBSITE_CALL', - self::STORE_SALES_DIRECT_UPLOAD => 'STORE_SALES_DIRECT_UPLOAD', - self::STORE_SALES => 'STORE_SALES', - self::FIREBASE_ANDROID_FIRST_OPEN => 'FIREBASE_ANDROID_FIRST_OPEN', - self::FIREBASE_ANDROID_IN_APP_PURCHASE => 'FIREBASE_ANDROID_IN_APP_PURCHASE', - self::FIREBASE_ANDROID_CUSTOM => 'FIREBASE_ANDROID_CUSTOM', - self::FIREBASE_IOS_FIRST_OPEN => 'FIREBASE_IOS_FIRST_OPEN', - self::FIREBASE_IOS_IN_APP_PURCHASE => 'FIREBASE_IOS_IN_APP_PURCHASE', - self::FIREBASE_IOS_CUSTOM => 'FIREBASE_IOS_CUSTOM', - self::THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN => 'THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN', - self::THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE => 'THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE', - self::THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM => 'THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM', - self::THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN => 'THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN', - self::THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE => 'THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE', - self::THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM => 'THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM', - self::ANDROID_APP_PRE_REGISTRATION => 'ANDROID_APP_PRE_REGISTRATION', - self::ANDROID_INSTALLS_ALL_OTHER_APPS => 'ANDROID_INSTALLS_ALL_OTHER_APPS', - self::FLOODLIGHT_ACTION => 'FLOODLIGHT_ACTION', - self::FLOODLIGHT_TRANSACTION => 'FLOODLIGHT_TRANSACTION', - self::GOOGLE_HOSTED => 'GOOGLE_HOSTED', - self::LEAD_FORM_SUBMIT => 'LEAD_FORM_SUBMIT', - self::SALESFORCE => 'SALESFORCE', - self::SEARCH_ADS_360 => 'SEARCH_ADS_360', - self::SMART_CAMPAIGN_AD_CLICKS_TO_CALL => 'SMART_CAMPAIGN_AD_CLICKS_TO_CALL', - self::SMART_CAMPAIGN_MAP_CLICKS_TO_CALL => 'SMART_CAMPAIGN_MAP_CLICKS_TO_CALL', - self::SMART_CAMPAIGN_MAP_DIRECTIONS => 'SMART_CAMPAIGN_MAP_DIRECTIONS', - self::SMART_CAMPAIGN_TRACKED_CALLS => 'SMART_CAMPAIGN_TRACKED_CALLS', - self::STORE_VISITS => 'STORE_VISITS', - self::WEBPAGE_CODELESS => 'WEBPAGE_CODELESS', - self::UNIVERSAL_ANALYTICS_GOAL => 'UNIVERSAL_ANALYTICS_GOAL', - self::UNIVERSAL_ANALYTICS_TRANSACTION => 'UNIVERSAL_ANALYTICS_TRANSACTION', - self::GOOGLE_ANALYTICS_4_CUSTOM => 'GOOGLE_ANALYTICS_4_CUSTOM', - self::GOOGLE_ANALYTICS_4_PURCHASE => 'GOOGLE_ANALYTICS_4_PURCHASE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionActionType::class, \Google\Ads\GoogleAds\V15\Enums\ConversionActionTypeEnum_ConversionActionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentTypeEnum.php deleted file mode 100644 index 3d1b118bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum - */ -class ConversionAdjustmentTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionAdjustmentType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentTypeEnum/ConversionAdjustmentType.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentTypeEnum/ConversionAdjustmentType.php deleted file mode 100644 index d46edca67..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionAdjustmentTypeEnum/ConversionAdjustmentType.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType - */ -class ConversionAdjustmentType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Negates a conversion so that its total value and count are both zero. - * - * Generated from protobuf enum RETRACTION = 2; - */ - const RETRACTION = 2; - /** - * Changes the value of a conversion. - * - * Generated from protobuf enum RESTATEMENT = 3; - */ - const RESTATEMENT = 3; - /** - * Supplements an existing conversion with provided user identifiers and - * user agent, which can be used by Google to enhance the conversion count. - * - * Generated from protobuf enum ENHANCEMENT = 4; - */ - const ENHANCEMENT = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::RETRACTION => 'RETRACTION', - self::RESTATEMENT => 'RESTATEMENT', - self::ENHANCEMENT => 'ENHANCEMENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionAdjustmentType::class, \Google\Ads\GoogleAds\V15\Enums\ConversionAdjustmentTypeEnum_ConversionAdjustmentType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventTypeEnum.php deleted file mode 100644 index 96c3cfa3e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ConversionAttributionEventTypeEnum - */ -class ConversionAttributionEventTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionAttributionEventType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventTypeEnum/ConversionAttributionEventType.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventTypeEnum/ConversionAttributionEventType.php deleted file mode 100644 index f71098ab1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionAttributionEventTypeEnum/ConversionAttributionEventType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType - */ -class ConversionAttributionEventType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The conversion is attributed to an impression. - * - * Generated from protobuf enum IMPRESSION = 2; - */ - const IMPRESSION = 2; - /** - * The conversion is attributed to an interaction. - * - * Generated from protobuf enum INTERACTION = 3; - */ - const INTERACTION = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::IMPRESSION => 'IMPRESSION', - self::INTERACTION => 'INTERACTION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionAttributionEventType::class, \Google\Ads\GoogleAds\V15\Enums\ConversionAttributionEventTypeEnum_ConversionAttributionEventType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatusEnum.php deleted file mode 100644 index a0ceb7166..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConversionCustomVariableStatusEnum - */ -class ConversionCustomVariableStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionCustomVariableStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatusEnum/ConversionCustomVariableStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatusEnum/ConversionCustomVariableStatus.php deleted file mode 100644 index 2b2167d71..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionCustomVariableStatusEnum/ConversionCustomVariableStatus.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus - */ -class ConversionCustomVariableStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The conversion custom variable is pending activation and will not - * accrue stats until set to ENABLED. - * This status can't be used in CREATE and UPDATE requests. - * - * Generated from protobuf enum ACTIVATION_NEEDED = 2; - */ - const ACTIVATION_NEEDED = 2; - /** - * The conversion custom variable is enabled and will accrue stats. - * - * Generated from protobuf enum ENABLED = 3; - */ - const ENABLED = 3; - /** - * The conversion custom variable is paused and will not accrue stats - * until set to ENABLED again. - * - * Generated from protobuf enum PAUSED = 4; - */ - const PAUSED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ACTIVATION_NEEDED => 'ACTIVATION_NEEDED', - self::ENABLED => 'ENABLED', - self::PAUSED => 'PAUSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionCustomVariableStatus::class, \Google\Ads\GoogleAds\V15\Enums\ConversionCustomVariableStatusEnum_ConversionCustomVariableStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum.php deleted file mode 100644 index 26d11080e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConversionEnvironmentEnum - */ -class ConversionEnvironmentEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionEnvironmentEnum::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum/ConversionEnvironment.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum/ConversionEnvironment.php deleted file mode 100644 index d4ce69b38..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionEnvironmentEnum/ConversionEnvironment.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ConversionEnvironmentEnum.ConversionEnvironment - */ -class ConversionEnvironment -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The conversion was recorded on an app. - * - * Generated from protobuf enum APP = 2; - */ - const APP = 2; - /** - * The conversion was recorded on a website. - * - * Generated from protobuf enum WEB = 3; - */ - const WEB = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::APP => 'APP', - self::WEB => 'WEB', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionEnvironment::class, \Google\Ads\GoogleAds\V15\Enums\ConversionEnvironmentEnum_ConversionEnvironment::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucketEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucketEnum.php deleted file mode 100644 index 7c1017977..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucketEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConversionLagBucketEnum - */ -class ConversionLagBucketEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionLagBucket::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucketEnum/ConversionLagBucket.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucketEnum/ConversionLagBucket.php deleted file mode 100644 index 6af1a4e79..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionLagBucketEnum/ConversionLagBucket.php +++ /dev/null @@ -1,207 +0,0 @@ -google.ads.googleads.v15.enums.ConversionLagBucketEnum.ConversionLagBucket - */ -class ConversionLagBucket -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - * - * Generated from protobuf enum LESS_THAN_ONE_DAY = 2; - */ - const LESS_THAN_ONE_DAY = 2; - /** - * Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - * - * Generated from protobuf enum ONE_TO_TWO_DAYS = 3; - */ - const ONE_TO_TWO_DAYS = 3; - /** - * Conversion lag bucket from 2 to 3 days. 2 days is included, - * 3 days is not. - * - * Generated from protobuf enum TWO_TO_THREE_DAYS = 4; - */ - const TWO_TO_THREE_DAYS = 4; - /** - * Conversion lag bucket from 3 to 4 days. 3 days is included, - * 4 days is not. - * - * Generated from protobuf enum THREE_TO_FOUR_DAYS = 5; - */ - const THREE_TO_FOUR_DAYS = 5; - /** - * Conversion lag bucket from 4 to 5 days. 4 days is included, - * 5 days is not. - * - * Generated from protobuf enum FOUR_TO_FIVE_DAYS = 6; - */ - const FOUR_TO_FIVE_DAYS = 6; - /** - * Conversion lag bucket from 5 to 6 days. 5 days is included, - * 6 days is not. - * - * Generated from protobuf enum FIVE_TO_SIX_DAYS = 7; - */ - const FIVE_TO_SIX_DAYS = 7; - /** - * Conversion lag bucket from 6 to 7 days. 6 days is included, - * 7 days is not. - * - * Generated from protobuf enum SIX_TO_SEVEN_DAYS = 8; - */ - const SIX_TO_SEVEN_DAYS = 8; - /** - * Conversion lag bucket from 7 to 8 days. 7 days is included, - * 8 days is not. - * - * Generated from protobuf enum SEVEN_TO_EIGHT_DAYS = 9; - */ - const SEVEN_TO_EIGHT_DAYS = 9; - /** - * Conversion lag bucket from 8 to 9 days. 8 days is included, - * 9 days is not. - * - * Generated from protobuf enum EIGHT_TO_NINE_DAYS = 10; - */ - const EIGHT_TO_NINE_DAYS = 10; - /** - * Conversion lag bucket from 9 to 10 days. 9 days is included, - * 10 days is not. - * - * Generated from protobuf enum NINE_TO_TEN_DAYS = 11; - */ - const NINE_TO_TEN_DAYS = 11; - /** - * Conversion lag bucket from 10 to 11 days. 10 days is included, - * 11 days is not. - * - * Generated from protobuf enum TEN_TO_ELEVEN_DAYS = 12; - */ - const TEN_TO_ELEVEN_DAYS = 12; - /** - * Conversion lag bucket from 11 to 12 days. 11 days is included, - * 12 days is not. - * - * Generated from protobuf enum ELEVEN_TO_TWELVE_DAYS = 13; - */ - const ELEVEN_TO_TWELVE_DAYS = 13; - /** - * Conversion lag bucket from 12 to 13 days. 12 days is included, - * 13 days is not. - * - * Generated from protobuf enum TWELVE_TO_THIRTEEN_DAYS = 14; - */ - const TWELVE_TO_THIRTEEN_DAYS = 14; - /** - * Conversion lag bucket from 13 to 14 days. 13 days is included, - * 14 days is not. - * - * Generated from protobuf enum THIRTEEN_TO_FOURTEEN_DAYS = 15; - */ - const THIRTEEN_TO_FOURTEEN_DAYS = 15; - /** - * Conversion lag bucket from 14 to 21 days. 14 days is included, - * 21 days is not. - * - * Generated from protobuf enum FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - */ - const FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - /** - * Conversion lag bucket from 21 to 30 days. 21 days is included, - * 30 days is not. - * - * Generated from protobuf enum TWENTY_ONE_TO_THIRTY_DAYS = 17; - */ - const TWENTY_ONE_TO_THIRTY_DAYS = 17; - /** - * Conversion lag bucket from 30 to 45 days. 30 days is included, - * 45 days is not. - * - * Generated from protobuf enum THIRTY_TO_FORTY_FIVE_DAYS = 18; - */ - const THIRTY_TO_FORTY_FIVE_DAYS = 18; - /** - * Conversion lag bucket from 45 to 60 days. 45 days is included, - * 60 days is not. - * - * Generated from protobuf enum FORTY_FIVE_TO_SIXTY_DAYS = 19; - */ - const FORTY_FIVE_TO_SIXTY_DAYS = 19; - /** - * Conversion lag bucket from 60 to 90 days. 60 days is included, - * 90 days is not. - * - * Generated from protobuf enum SIXTY_TO_NINETY_DAYS = 20; - */ - const SIXTY_TO_NINETY_DAYS = 20; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LESS_THAN_ONE_DAY => 'LESS_THAN_ONE_DAY', - self::ONE_TO_TWO_DAYS => 'ONE_TO_TWO_DAYS', - self::TWO_TO_THREE_DAYS => 'TWO_TO_THREE_DAYS', - self::THREE_TO_FOUR_DAYS => 'THREE_TO_FOUR_DAYS', - self::FOUR_TO_FIVE_DAYS => 'FOUR_TO_FIVE_DAYS', - self::FIVE_TO_SIX_DAYS => 'FIVE_TO_SIX_DAYS', - self::SIX_TO_SEVEN_DAYS => 'SIX_TO_SEVEN_DAYS', - self::SEVEN_TO_EIGHT_DAYS => 'SEVEN_TO_EIGHT_DAYS', - self::EIGHT_TO_NINE_DAYS => 'EIGHT_TO_NINE_DAYS', - self::NINE_TO_TEN_DAYS => 'NINE_TO_TEN_DAYS', - self::TEN_TO_ELEVEN_DAYS => 'TEN_TO_ELEVEN_DAYS', - self::ELEVEN_TO_TWELVE_DAYS => 'ELEVEN_TO_TWELVE_DAYS', - self::TWELVE_TO_THIRTEEN_DAYS => 'TWELVE_TO_THIRTEEN_DAYS', - self::THIRTEEN_TO_FOURTEEN_DAYS => 'THIRTEEN_TO_FOURTEEN_DAYS', - self::FOURTEEN_TO_TWENTY_ONE_DAYS => 'FOURTEEN_TO_TWENTY_ONE_DAYS', - self::TWENTY_ONE_TO_THIRTY_DAYS => 'TWENTY_ONE_TO_THIRTY_DAYS', - self::THIRTY_TO_FORTY_FIVE_DAYS => 'THIRTY_TO_FORTY_FIVE_DAYS', - self::FORTY_FIVE_TO_SIXTY_DAYS => 'FORTY_FIVE_TO_SIXTY_DAYS', - self::SIXTY_TO_NINETY_DAYS => 'SIXTY_TO_NINETY_DAYS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionLagBucket::class, \Google\Ads\GoogleAds\V15\Enums\ConversionLagBucketEnum_ConversionLagBucket::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucketEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucketEnum.php deleted file mode 100644 index 9e87726f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucketEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConversionOrAdjustmentLagBucketEnum - */ -class ConversionOrAdjustmentLagBucketEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionOrAdjustmentLagBucket::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucketEnum/ConversionOrAdjustmentLagBucket.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucketEnum/ConversionOrAdjustmentLagBucket.php deleted file mode 100644 index 0c135e40b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionOrAdjustmentLagBucketEnum/ConversionOrAdjustmentLagBucket.php +++ /dev/null @@ -1,384 +0,0 @@ -google.ads.googleads.v15.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket - */ -class ConversionOrAdjustmentLagBucket -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - * - * Generated from protobuf enum CONVERSION_LESS_THAN_ONE_DAY = 2; - */ - const CONVERSION_LESS_THAN_ONE_DAY = 2; - /** - * Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - * - * Generated from protobuf enum CONVERSION_ONE_TO_TWO_DAYS = 3; - */ - const CONVERSION_ONE_TO_TWO_DAYS = 3; - /** - * Conversion lag bucket from 2 to 3 days. 2 days is included, - * 3 days is not. - * - * Generated from protobuf enum CONVERSION_TWO_TO_THREE_DAYS = 4; - */ - const CONVERSION_TWO_TO_THREE_DAYS = 4; - /** - * Conversion lag bucket from 3 to 4 days. 3 days is included, - * 4 days is not. - * - * Generated from protobuf enum CONVERSION_THREE_TO_FOUR_DAYS = 5; - */ - const CONVERSION_THREE_TO_FOUR_DAYS = 5; - /** - * Conversion lag bucket from 4 to 5 days. 4 days is included, - * 5 days is not. - * - * Generated from protobuf enum CONVERSION_FOUR_TO_FIVE_DAYS = 6; - */ - const CONVERSION_FOUR_TO_FIVE_DAYS = 6; - /** - * Conversion lag bucket from 5 to 6 days. 5 days is included, - * 6 days is not. - * - * Generated from protobuf enum CONVERSION_FIVE_TO_SIX_DAYS = 7; - */ - const CONVERSION_FIVE_TO_SIX_DAYS = 7; - /** - * Conversion lag bucket from 6 to 7 days. 6 days is included, - * 7 days is not. - * - * Generated from protobuf enum CONVERSION_SIX_TO_SEVEN_DAYS = 8; - */ - const CONVERSION_SIX_TO_SEVEN_DAYS = 8; - /** - * Conversion lag bucket from 7 to 8 days. 7 days is included, - * 8 days is not. - * - * Generated from protobuf enum CONVERSION_SEVEN_TO_EIGHT_DAYS = 9; - */ - const CONVERSION_SEVEN_TO_EIGHT_DAYS = 9; - /** - * Conversion lag bucket from 8 to 9 days. 8 days is included, - * 9 days is not. - * - * Generated from protobuf enum CONVERSION_EIGHT_TO_NINE_DAYS = 10; - */ - const CONVERSION_EIGHT_TO_NINE_DAYS = 10; - /** - * Conversion lag bucket from 9 to 10 days. 9 days is included, - * 10 days is not. - * - * Generated from protobuf enum CONVERSION_NINE_TO_TEN_DAYS = 11; - */ - const CONVERSION_NINE_TO_TEN_DAYS = 11; - /** - * Conversion lag bucket from 10 to 11 days. 10 days is included, - * 11 days is not. - * - * Generated from protobuf enum CONVERSION_TEN_TO_ELEVEN_DAYS = 12; - */ - const CONVERSION_TEN_TO_ELEVEN_DAYS = 12; - /** - * Conversion lag bucket from 11 to 12 days. 11 days is included, - * 12 days is not. - * - * Generated from protobuf enum CONVERSION_ELEVEN_TO_TWELVE_DAYS = 13; - */ - const CONVERSION_ELEVEN_TO_TWELVE_DAYS = 13; - /** - * Conversion lag bucket from 12 to 13 days. 12 days is included, - * 13 days is not. - * - * Generated from protobuf enum CONVERSION_TWELVE_TO_THIRTEEN_DAYS = 14; - */ - const CONVERSION_TWELVE_TO_THIRTEEN_DAYS = 14; - /** - * Conversion lag bucket from 13 to 14 days. 13 days is included, - * 14 days is not. - * - * Generated from protobuf enum CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS = 15; - */ - const CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS = 15; - /** - * Conversion lag bucket from 14 to 21 days. 14 days is included, - * 21 days is not. - * - * Generated from protobuf enum CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - */ - const CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - /** - * Conversion lag bucket from 21 to 30 days. 21 days is included, - * 30 days is not. - * - * Generated from protobuf enum CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS = 17; - */ - const CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS = 17; - /** - * Conversion lag bucket from 30 to 45 days. 30 days is included, - * 45 days is not. - * - * Generated from protobuf enum CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS = 18; - */ - const CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS = 18; - /** - * Conversion lag bucket from 45 to 60 days. 45 days is included, - * 60 days is not. - * - * Generated from protobuf enum CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS = 19; - */ - const CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS = 19; - /** - * Conversion lag bucket from 60 to 90 days. 60 days is included, - * 90 days is not. - * - * Generated from protobuf enum CONVERSION_SIXTY_TO_NINETY_DAYS = 20; - */ - const CONVERSION_SIXTY_TO_NINETY_DAYS = 20; - /** - * Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - * 1 day is not. - * - * Generated from protobuf enum ADJUSTMENT_LESS_THAN_ONE_DAY = 21; - */ - const ADJUSTMENT_LESS_THAN_ONE_DAY = 21; - /** - * Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - * 2 days is not. - * - * Generated from protobuf enum ADJUSTMENT_ONE_TO_TWO_DAYS = 22; - */ - const ADJUSTMENT_ONE_TO_TWO_DAYS = 22; - /** - * Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - * 3 days is not. - * - * Generated from protobuf enum ADJUSTMENT_TWO_TO_THREE_DAYS = 23; - */ - const ADJUSTMENT_TWO_TO_THREE_DAYS = 23; - /** - * Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - * 4 days is not. - * - * Generated from protobuf enum ADJUSTMENT_THREE_TO_FOUR_DAYS = 24; - */ - const ADJUSTMENT_THREE_TO_FOUR_DAYS = 24; - /** - * Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - * 5 days is not. - * - * Generated from protobuf enum ADJUSTMENT_FOUR_TO_FIVE_DAYS = 25; - */ - const ADJUSTMENT_FOUR_TO_FIVE_DAYS = 25; - /** - * Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - * 6 days is not. - * - * Generated from protobuf enum ADJUSTMENT_FIVE_TO_SIX_DAYS = 26; - */ - const ADJUSTMENT_FIVE_TO_SIX_DAYS = 26; - /** - * Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - * 7 days is not. - * - * Generated from protobuf enum ADJUSTMENT_SIX_TO_SEVEN_DAYS = 27; - */ - const ADJUSTMENT_SIX_TO_SEVEN_DAYS = 27; - /** - * Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - * 8 days is not. - * - * Generated from protobuf enum ADJUSTMENT_SEVEN_TO_EIGHT_DAYS = 28; - */ - const ADJUSTMENT_SEVEN_TO_EIGHT_DAYS = 28; - /** - * Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - * 9 days is not. - * - * Generated from protobuf enum ADJUSTMENT_EIGHT_TO_NINE_DAYS = 29; - */ - const ADJUSTMENT_EIGHT_TO_NINE_DAYS = 29; - /** - * Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - * 10 days is not. - * - * Generated from protobuf enum ADJUSTMENT_NINE_TO_TEN_DAYS = 30; - */ - const ADJUSTMENT_NINE_TO_TEN_DAYS = 30; - /** - * Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - * 11 days is not. - * - * Generated from protobuf enum ADJUSTMENT_TEN_TO_ELEVEN_DAYS = 31; - */ - const ADJUSTMENT_TEN_TO_ELEVEN_DAYS = 31; - /** - * Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - * 12 days is not. - * - * Generated from protobuf enum ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS = 32; - */ - const ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS = 32; - /** - * Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - * 13 days is not. - * - * Generated from protobuf enum ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS = 33; - */ - const ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS = 33; - /** - * Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - * 14 days is not. - * - * Generated from protobuf enum ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS = 34; - */ - const ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS = 34; - /** - * Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - * 21 days is not. - * - * Generated from protobuf enum ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS = 35; - */ - const ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS = 35; - /** - * Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - * 30 days is not. - * - * Generated from protobuf enum ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS = 36; - */ - const ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS = 36; - /** - * Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - * 45 days is not. - * - * Generated from protobuf enum ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS = 37; - */ - const ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS = 37; - /** - * Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - * 60 days is not. - * - * Generated from protobuf enum ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS = 38; - */ - const ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS = 38; - /** - * Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - * 90 days is not. - * - * Generated from protobuf enum ADJUSTMENT_SIXTY_TO_NINETY_DAYS = 39; - */ - const ADJUSTMENT_SIXTY_TO_NINETY_DAYS = 39; - /** - * Conversion adjustment lag bucket from 90 to 145 days. 90 days is - * included, 145 days is not. - * - * Generated from protobuf enum ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS = 40; - */ - const ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS = 40; - /** - * Conversion lag bucket UNKNOWN. This is for dates before conversion lag - * bucket was available in Google Ads. - * - * Generated from protobuf enum CONVERSION_UNKNOWN = 41; - */ - const CONVERSION_UNKNOWN = 41; - /** - * Conversion adjustment lag bucket UNKNOWN. This is for dates before - * conversion adjustment lag bucket was available in Google Ads. - * - * Generated from protobuf enum ADJUSTMENT_UNKNOWN = 42; - */ - const ADJUSTMENT_UNKNOWN = 42; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CONVERSION_LESS_THAN_ONE_DAY => 'CONVERSION_LESS_THAN_ONE_DAY', - self::CONVERSION_ONE_TO_TWO_DAYS => 'CONVERSION_ONE_TO_TWO_DAYS', - self::CONVERSION_TWO_TO_THREE_DAYS => 'CONVERSION_TWO_TO_THREE_DAYS', - self::CONVERSION_THREE_TO_FOUR_DAYS => 'CONVERSION_THREE_TO_FOUR_DAYS', - self::CONVERSION_FOUR_TO_FIVE_DAYS => 'CONVERSION_FOUR_TO_FIVE_DAYS', - self::CONVERSION_FIVE_TO_SIX_DAYS => 'CONVERSION_FIVE_TO_SIX_DAYS', - self::CONVERSION_SIX_TO_SEVEN_DAYS => 'CONVERSION_SIX_TO_SEVEN_DAYS', - self::CONVERSION_SEVEN_TO_EIGHT_DAYS => 'CONVERSION_SEVEN_TO_EIGHT_DAYS', - self::CONVERSION_EIGHT_TO_NINE_DAYS => 'CONVERSION_EIGHT_TO_NINE_DAYS', - self::CONVERSION_NINE_TO_TEN_DAYS => 'CONVERSION_NINE_TO_TEN_DAYS', - self::CONVERSION_TEN_TO_ELEVEN_DAYS => 'CONVERSION_TEN_TO_ELEVEN_DAYS', - self::CONVERSION_ELEVEN_TO_TWELVE_DAYS => 'CONVERSION_ELEVEN_TO_TWELVE_DAYS', - self::CONVERSION_TWELVE_TO_THIRTEEN_DAYS => 'CONVERSION_TWELVE_TO_THIRTEEN_DAYS', - self::CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS => 'CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS', - self::CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS => 'CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS', - self::CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS => 'CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS', - self::CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS => 'CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS', - self::CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS => 'CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS', - self::CONVERSION_SIXTY_TO_NINETY_DAYS => 'CONVERSION_SIXTY_TO_NINETY_DAYS', - self::ADJUSTMENT_LESS_THAN_ONE_DAY => 'ADJUSTMENT_LESS_THAN_ONE_DAY', - self::ADJUSTMENT_ONE_TO_TWO_DAYS => 'ADJUSTMENT_ONE_TO_TWO_DAYS', - self::ADJUSTMENT_TWO_TO_THREE_DAYS => 'ADJUSTMENT_TWO_TO_THREE_DAYS', - self::ADJUSTMENT_THREE_TO_FOUR_DAYS => 'ADJUSTMENT_THREE_TO_FOUR_DAYS', - self::ADJUSTMENT_FOUR_TO_FIVE_DAYS => 'ADJUSTMENT_FOUR_TO_FIVE_DAYS', - self::ADJUSTMENT_FIVE_TO_SIX_DAYS => 'ADJUSTMENT_FIVE_TO_SIX_DAYS', - self::ADJUSTMENT_SIX_TO_SEVEN_DAYS => 'ADJUSTMENT_SIX_TO_SEVEN_DAYS', - self::ADJUSTMENT_SEVEN_TO_EIGHT_DAYS => 'ADJUSTMENT_SEVEN_TO_EIGHT_DAYS', - self::ADJUSTMENT_EIGHT_TO_NINE_DAYS => 'ADJUSTMENT_EIGHT_TO_NINE_DAYS', - self::ADJUSTMENT_NINE_TO_TEN_DAYS => 'ADJUSTMENT_NINE_TO_TEN_DAYS', - self::ADJUSTMENT_TEN_TO_ELEVEN_DAYS => 'ADJUSTMENT_TEN_TO_ELEVEN_DAYS', - self::ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS => 'ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS', - self::ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS => 'ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS', - self::ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS => 'ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS', - self::ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS => 'ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS', - self::ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS => 'ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS', - self::ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS => 'ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS', - self::ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS => 'ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS', - self::ADJUSTMENT_SIXTY_TO_NINETY_DAYS => 'ADJUSTMENT_SIXTY_TO_NINETY_DAYS', - self::ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS => 'ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS', - self::CONVERSION_UNKNOWN => 'CONVERSION_UNKNOWN', - self::ADJUSTMENT_UNKNOWN => 'ADJUSTMENT_UNKNOWN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionOrAdjustmentLagBucket::class, \Google\Ads\GoogleAds\V15\Enums\ConversionOrAdjustmentLagBucketEnum_ConversionOrAdjustmentLagBucket::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionOriginEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionOriginEnum.php deleted file mode 100644 index 009ffce27..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionOriginEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ConversionOriginEnum - */ -class ConversionOriginEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionOrigin::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionOriginEnum/ConversionOrigin.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionOriginEnum/ConversionOrigin.php deleted file mode 100644 index 7f2bb0d18..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionOriginEnum/ConversionOrigin.php +++ /dev/null @@ -1,104 +0,0 @@ -google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin - */ -class ConversionOrigin -{ - /** - * The conversion origin has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The conversion origin is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conversion that occurs when a user visits a website or takes an action - * there after viewing an ad. - * - * Generated from protobuf enum WEBSITE = 2; - */ - const WEBSITE = 2; - /** - * Conversions reported by an offline pipeline which collects local actions - * from Google-hosted pages (for example, Google Maps, Google Place Page, - * etc) and attributes them to relevant ad events. - * - * Generated from protobuf enum GOOGLE_HOSTED = 3; - */ - const GOOGLE_HOSTED = 3; - /** - * Conversion that occurs when a user performs an action through any app - * platforms. - * - * Generated from protobuf enum APP = 4; - */ - const APP = 4; - /** - * Conversion that occurs when a user makes a call from ads. - * - * Generated from protobuf enum CALL_FROM_ADS = 5; - */ - const CALL_FROM_ADS = 5; - /** - * Conversion that occurs when a user visits or makes a purchase at a - * physical store. - * - * Generated from protobuf enum STORE = 6; - */ - const STORE = 6; - /** - * Conversion that occurs on YouTube. - * - * Generated from protobuf enum YOUTUBE_HOSTED = 7; - */ - const YOUTUBE_HOSTED = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::WEBSITE => 'WEBSITE', - self::GOOGLE_HOSTED => 'GOOGLE_HOSTED', - self::APP => 'APP', - self::CALL_FROM_ADS => 'CALL_FROM_ADS', - self::STORE => 'STORE', - self::YOUTUBE_HOSTED => 'YOUTUBE_HOSTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionOrigin::class, \Google\Ads\GoogleAds\V15\Enums\ConversionOriginEnum_ConversionOrigin::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum.php deleted file mode 100644 index 157a11f5c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConversionTrackingStatusEnum - */ -class ConversionTrackingStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionTrackingStatusEnum::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum/ConversionTrackingStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum/ConversionTrackingStatus.php deleted file mode 100644 index 4ad1a3367..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionTrackingStatusEnum/ConversionTrackingStatus.php +++ /dev/null @@ -1,88 +0,0 @@ -google.ads.googleads.v15.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus - */ -class ConversionTrackingStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Customer does not use any conversion tracking. - * - * Generated from protobuf enum NOT_CONVERSION_TRACKED = 2; - */ - const NOT_CONVERSION_TRACKED = 2; - /** - * The conversion actions are created and managed by this customer. - * - * Generated from protobuf enum CONVERSION_TRACKING_MANAGED_BY_SELF = 3; - */ - const CONVERSION_TRACKING_MANAGED_BY_SELF = 3; - /** - * The conversion actions are created and managed by the manager specified - * in the request's `login-customer-id`. - * - * Generated from protobuf enum CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER = 4; - */ - const CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER = 4; - /** - * The conversion actions are created and managed by a manager different - * from the customer or manager specified in the request's - * `login-customer-id`. - * - * Generated from protobuf enum CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5; - */ - const CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NOT_CONVERSION_TRACKED => 'NOT_CONVERSION_TRACKED', - self::CONVERSION_TRACKING_MANAGED_BY_SELF => 'CONVERSION_TRACKING_MANAGED_BY_SELF', - self::CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER => 'CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER', - self::CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER => 'CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionTrackingStatus::class, \Google\Ads\GoogleAds\V15\Enums\ConversionTrackingStatusEnum_ConversionTrackingStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimensionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimensionEnum.php deleted file mode 100644 index e66fb4f00..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimensionEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ConversionValueRulePrimaryDimensionEnum - */ -class ConversionValueRulePrimaryDimensionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionValueRulePrimaryDimension::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimensionEnum/ConversionValueRulePrimaryDimension.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimensionEnum/ConversionValueRulePrimaryDimension.php deleted file mode 100644 index 301b748b9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRulePrimaryDimensionEnum/ConversionValueRulePrimaryDimension.php +++ /dev/null @@ -1,107 +0,0 @@ -google.ads.googleads.v15.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension - */ -class ConversionValueRulePrimaryDimension -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * For no-value-rule-applied conversions after value rule is enabled. - * - * Generated from protobuf enum NO_RULE_APPLIED = 2; - */ - const NO_RULE_APPLIED = 2; - /** - * Below are for value-rule-applied conversions: - * The original stats. - * - * Generated from protobuf enum ORIGINAL = 3; - */ - const ORIGINAL = 3; - /** - * When a new or returning customer condition is satisfied. - * - * Generated from protobuf enum NEW_VS_RETURNING_USER = 4; - */ - const NEW_VS_RETURNING_USER = 4; - /** - * When a query-time Geo location condition is satisfied. - * - * Generated from protobuf enum GEO_LOCATION = 5; - */ - const GEO_LOCATION = 5; - /** - * When a query-time browsing device condition is satisfied. - * - * Generated from protobuf enum DEVICE = 6; - */ - const DEVICE = 6; - /** - * When a query-time audience condition is satisfied. - * - * Generated from protobuf enum AUDIENCE = 7; - */ - const AUDIENCE = 7; - /** - * When multiple rules are applied. - * - * Generated from protobuf enum MULTIPLE = 8; - */ - const MULTIPLE = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NO_RULE_APPLIED => 'NO_RULE_APPLIED', - self::ORIGINAL => 'ORIGINAL', - self::NEW_VS_RETURNING_USER => 'NEW_VS_RETURNING_USER', - self::GEO_LOCATION => 'GEO_LOCATION', - self::DEVICE => 'DEVICE', - self::AUDIENCE => 'AUDIENCE', - self::MULTIPLE => 'MULTIPLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionValueRulePrimaryDimension::class, \Google\Ads\GoogleAds\V15\Enums\ConversionValueRulePrimaryDimensionEnum_ConversionValueRulePrimaryDimension::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatusEnum.php deleted file mode 100644 index a1d6b94ac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConversionValueRuleSetStatusEnum - */ -class ConversionValueRuleSetStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionValueRuleSetStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatusEnum/ConversionValueRuleSetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatusEnum/ConversionValueRuleSetStatus.php deleted file mode 100644 index ce0be13aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleSetStatusEnum/ConversionValueRuleSetStatus.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus - */ -class ConversionValueRuleSetStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conversion Value Rule Set is enabled and can be applied. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Conversion Value Rule Set is permanently deleted and can't be applied. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - /** - * Conversion Value Rule Set is paused and won't be applied. It can be - * enabled again. - * - * Generated from protobuf enum PAUSED = 4; - */ - const PAUSED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - self::PAUSED => 'PAUSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionValueRuleSetStatus::class, \Google\Ads\GoogleAds\V15\Enums\ConversionValueRuleSetStatusEnum_ConversionValueRuleSetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatusEnum.php deleted file mode 100644 index 3496cd77e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ConversionValueRuleStatusEnum - */ -class ConversionValueRuleStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConversionValueRuleStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatusEnum/ConversionValueRuleStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatusEnum/ConversionValueRuleStatus.php deleted file mode 100644 index 860ca0960..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConversionValueRuleStatusEnum/ConversionValueRuleStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.ConversionValueRuleStatusEnum.ConversionValueRuleStatus - */ -class ConversionValueRuleStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conversion Value Rule is enabled and can be applied. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Conversion Value Rule is permanently deleted and can't be applied. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - /** - * Conversion Value Rule is paused, but can be re-enabled. - * - * Generated from protobuf enum PAUSED = 4; - */ - const PAUSED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - self::PAUSED => 'PAUSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionValueRuleStatus::class, \Google\Ads\GoogleAds\V15\Enums\ConversionValueRuleStatusEnum_ConversionValueRuleStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucketEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucketEnum.php deleted file mode 100644 index b64a41d88..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucketEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum - */ -class ConvertingUserPriorEngagementTypeAndLtvBucketEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ConvertingUserPriorEngagementTypeAndLtvBucket::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucketEnum/ConvertingUserPriorEngagementTypeAndLtvBucket.php b/src/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucketEnum/ConvertingUserPriorEngagementTypeAndLtvBucket.php deleted file mode 100644 index e9cf11446..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ConvertingUserPriorEngagementTypeAndLtvBucketEnum/ConvertingUserPriorEngagementTypeAndLtvBucket.php +++ /dev/null @@ -1,84 +0,0 @@ -google.ads.googleads.v15.enums.ConvertingUserPriorEngagementTypeAndLtvBucketEnum.ConvertingUserPriorEngagementTypeAndLtvBucket - */ -class ConvertingUserPriorEngagementTypeAndLtvBucket -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Converting user is new to the advertiser. - * - * Generated from protobuf enum NEW = 2; - */ - const PBNEW = 2; - /** - * Converting user is returning to the advertiser. Definition of returning - * differs among conversion types, such as a second store visit versus a - * second online purchase. - * - * Generated from protobuf enum RETURNING = 3; - */ - const RETURNING = 3; - /** - * Converting user is new to the advertiser and has high lifetime value. - * - * Generated from protobuf enum NEW_AND_HIGH_LTV = 4; - */ - const NEW_AND_HIGH_LTV = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PBNEW => 'NEW', - self::RETURNING => 'RETURNING', - self::NEW_AND_HIGH_LTV => 'NEW_AND_HIGH_LTV', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConvertingUserPriorEngagementTypeAndLtvBucket::class, \Google\Ads\GoogleAds\V15\Enums\ConvertingUserPriorEngagementTypeAndLtvBucketEnum_ConvertingUserPriorEngagementTypeAndLtvBucket::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityModeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityModeEnum.php deleted file mode 100644 index cb406b44b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityModeEnum.php +++ /dev/null @@ -1,36 +0,0 @@ -google.ads.googleads.v15.enums.CriterionCategoryChannelAvailabilityModeEnum - */ -class CriterionCategoryChannelAvailabilityModeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CriterionCategoryChannelAvailabilityMode::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityModeEnum/CriterionCategoryChannelAvailabilityMode.php b/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityModeEnum/CriterionCategoryChannelAvailabilityMode.php deleted file mode 100644 index 595ed93f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryChannelAvailabilityModeEnum/CriterionCategoryChannelAvailabilityMode.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode - */ -class CriterionCategoryChannelAvailabilityMode -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The category is available to campaigns of all channel types and subtypes. - * - * Generated from protobuf enum ALL_CHANNELS = 2; - */ - const ALL_CHANNELS = 2; - /** - * The category is available to campaigns of a specific channel type, - * including all subtypes under it. - * - * Generated from protobuf enum CHANNEL_TYPE_AND_ALL_SUBTYPES = 3; - */ - const CHANNEL_TYPE_AND_ALL_SUBTYPES = 3; - /** - * The category is available to campaigns of a specific channel type and - * subtype(s). - * - * Generated from protobuf enum CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4; - */ - const CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ALL_CHANNELS => 'ALL_CHANNELS', - self::CHANNEL_TYPE_AND_ALL_SUBTYPES => 'CHANNEL_TYPE_AND_ALL_SUBTYPES', - self::CHANNEL_TYPE_AND_SUBSET_SUBTYPES => 'CHANNEL_TYPE_AND_SUBSET_SUBTYPES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CriterionCategoryChannelAvailabilityMode::class, \Google\Ads\GoogleAds\V15\Enums\CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityModeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityModeEnum.php deleted file mode 100644 index 6f384ea25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityModeEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.CriterionCategoryLocaleAvailabilityModeEnum - */ -class CriterionCategoryLocaleAvailabilityModeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CriterionCategoryLocaleAvailabilityMode::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityModeEnum/CriterionCategoryLocaleAvailabilityMode.php b/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityModeEnum/CriterionCategoryLocaleAvailabilityMode.php deleted file mode 100644 index fef6b64bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CriterionCategoryLocaleAvailabilityModeEnum/CriterionCategoryLocaleAvailabilityMode.php +++ /dev/null @@ -1,88 +0,0 @@ -google.ads.googleads.v15.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode - */ -class CriterionCategoryLocaleAvailabilityMode -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The category is available to campaigns of all locales. - * - * Generated from protobuf enum ALL_LOCALES = 2; - */ - const ALL_LOCALES = 2; - /** - * The category is available to campaigns within a list of countries, - * regardless of language. - * - * Generated from protobuf enum COUNTRY_AND_ALL_LANGUAGES = 3; - */ - const COUNTRY_AND_ALL_LANGUAGES = 3; - /** - * The category is available to campaigns within a list of languages, - * regardless of country. - * - * Generated from protobuf enum LANGUAGE_AND_ALL_COUNTRIES = 4; - */ - const LANGUAGE_AND_ALL_COUNTRIES = 4; - /** - * The category is available to campaigns within a list of country, language - * pairs. - * - * Generated from protobuf enum COUNTRY_AND_LANGUAGE = 5; - */ - const COUNTRY_AND_LANGUAGE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ALL_LOCALES => 'ALL_LOCALES', - self::COUNTRY_AND_ALL_LANGUAGES => 'COUNTRY_AND_ALL_LANGUAGES', - self::LANGUAGE_AND_ALL_COUNTRIES => 'LANGUAGE_AND_ALL_COUNTRIES', - self::COUNTRY_AND_LANGUAGE => 'COUNTRY_AND_LANGUAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CriterionCategoryLocaleAvailabilityMode::class, \Google\Ads\GoogleAds\V15\Enums\CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatusEnum.php deleted file mode 100644 index da9d03c26..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CriterionSystemServingStatusEnum - */ -class CriterionSystemServingStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CriterionSystemServingStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatusEnum/CriterionSystemServingStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatusEnum/CriterionSystemServingStatus.php deleted file mode 100644 index f43dbc286..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CriterionSystemServingStatusEnum/CriterionSystemServingStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus - */ -class CriterionSystemServingStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Eligible. - * - * Generated from protobuf enum ELIGIBLE = 2; - */ - const ELIGIBLE = 2; - /** - * Low search volume. - * - * Generated from protobuf enum RARELY_SERVED = 3; - */ - const RARELY_SERVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ELIGIBLE => 'ELIGIBLE', - self::RARELY_SERVED => 'RARELY_SERVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CriterionSystemServingStatus::class, \Google\Ads\GoogleAds\V15\Enums\CriterionSystemServingStatusEnum_CriterionSystemServingStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CriterionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CriterionTypeEnum.php deleted file mode 100644 index d15369c50..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CriterionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CriterionTypeEnum - */ -class CriterionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CriterionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CriterionTypeEnum/CriterionType.php b/src/Google/Ads/GoogleAds/V15/Enums/CriterionTypeEnum/CriterionType.php deleted file mode 100644 index cd1eabf78..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CriterionTypeEnum/CriterionType.php +++ /dev/null @@ -1,330 +0,0 @@ -google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType - */ -class CriterionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Keyword, for example, 'mars cruise'. - * - * Generated from protobuf enum KEYWORD = 2; - */ - const KEYWORD = 2; - /** - * Placement, also known as Website, for example, 'www.flowers4sale.com' - * - * Generated from protobuf enum PLACEMENT = 3; - */ - const PLACEMENT = 3; - /** - * Mobile application categories to target. - * - * Generated from protobuf enum MOBILE_APP_CATEGORY = 4; - */ - const MOBILE_APP_CATEGORY = 4; - /** - * Mobile applications to target. - * - * Generated from protobuf enum MOBILE_APPLICATION = 5; - */ - const MOBILE_APPLICATION = 5; - /** - * Devices to target. - * - * Generated from protobuf enum DEVICE = 6; - */ - const DEVICE = 6; - /** - * Locations to target. - * - * Generated from protobuf enum LOCATION = 7; - */ - const LOCATION = 7; - /** - * Listing groups to target. - * - * Generated from protobuf enum LISTING_GROUP = 8; - */ - const LISTING_GROUP = 8; - /** - * Ad Schedule. - * - * Generated from protobuf enum AD_SCHEDULE = 9; - */ - const AD_SCHEDULE = 9; - /** - * Age range. - * - * Generated from protobuf enum AGE_RANGE = 10; - */ - const AGE_RANGE = 10; - /** - * Gender. - * - * Generated from protobuf enum GENDER = 11; - */ - const GENDER = 11; - /** - * Income Range. - * - * Generated from protobuf enum INCOME_RANGE = 12; - */ - const INCOME_RANGE = 12; - /** - * Parental status. - * - * Generated from protobuf enum PARENTAL_STATUS = 13; - */ - const PARENTAL_STATUS = 13; - /** - * YouTube Video. - * - * Generated from protobuf enum YOUTUBE_VIDEO = 14; - */ - const YOUTUBE_VIDEO = 14; - /** - * YouTube Channel. - * - * Generated from protobuf enum YOUTUBE_CHANNEL = 15; - */ - const YOUTUBE_CHANNEL = 15; - /** - * User list. - * - * Generated from protobuf enum USER_LIST = 16; - */ - const USER_LIST = 16; - /** - * Proximity. - * - * Generated from protobuf enum PROXIMITY = 17; - */ - const PROXIMITY = 17; - /** - * A topic target on the display network (for example, "Pets & Animals"). - * - * Generated from protobuf enum TOPIC = 18; - */ - const TOPIC = 18; - /** - * Listing scope to target. - * - * Generated from protobuf enum LISTING_SCOPE = 19; - */ - const LISTING_SCOPE = 19; - /** - * Language. - * - * Generated from protobuf enum LANGUAGE = 20; - */ - const LANGUAGE = 20; - /** - * IpBlock. - * - * Generated from protobuf enum IP_BLOCK = 21; - */ - const IP_BLOCK = 21; - /** - * Content Label for category exclusion. - * - * Generated from protobuf enum CONTENT_LABEL = 22; - */ - const CONTENT_LABEL = 22; - /** - * Carrier. - * - * Generated from protobuf enum CARRIER = 23; - */ - const CARRIER = 23; - /** - * A category the user is interested in. - * - * Generated from protobuf enum USER_INTEREST = 24; - */ - const USER_INTEREST = 24; - /** - * Webpage criterion for dynamic search ads. - * - * Generated from protobuf enum WEBPAGE = 25; - */ - const WEBPAGE = 25; - /** - * Operating system version. - * - * Generated from protobuf enum OPERATING_SYSTEM_VERSION = 26; - */ - const OPERATING_SYSTEM_VERSION = 26; - /** - * App payment model. - * - * Generated from protobuf enum APP_PAYMENT_MODEL = 27; - */ - const APP_PAYMENT_MODEL = 27; - /** - * Mobile device. - * - * Generated from protobuf enum MOBILE_DEVICE = 28; - */ - const MOBILE_DEVICE = 28; - /** - * Custom affinity. - * - * Generated from protobuf enum CUSTOM_AFFINITY = 29; - */ - const CUSTOM_AFFINITY = 29; - /** - * Custom intent. - * - * Generated from protobuf enum CUSTOM_INTENT = 30; - */ - const CUSTOM_INTENT = 30; - /** - * Location group. - * - * Generated from protobuf enum LOCATION_GROUP = 31; - */ - const LOCATION_GROUP = 31; - /** - * Custom audience - * - * Generated from protobuf enum CUSTOM_AUDIENCE = 32; - */ - const CUSTOM_AUDIENCE = 32; - /** - * Combined audience - * - * Generated from protobuf enum COMBINED_AUDIENCE = 33; - */ - const COMBINED_AUDIENCE = 33; - /** - * Smart Campaign keyword theme - * - * Generated from protobuf enum KEYWORD_THEME = 34; - */ - const KEYWORD_THEME = 34; - /** - * Audience - * - * Generated from protobuf enum AUDIENCE = 35; - */ - const AUDIENCE = 35; - /** - * Negative Keyword List - * - * Generated from protobuf enum NEGATIVE_KEYWORD_LIST = 36; - */ - const NEGATIVE_KEYWORD_LIST = 36; - /** - * Local Services Ads Service ID. - * - * Generated from protobuf enum LOCAL_SERVICE_ID = 37; - */ - const LOCAL_SERVICE_ID = 37; - /** - * Search Theme. - * - * Generated from protobuf enum SEARCH_THEME = 38; - */ - const SEARCH_THEME = 38; - /** - * Brand - * - * Generated from protobuf enum BRAND = 39; - */ - const BRAND = 39; - /** - * Brand List - * - * Generated from protobuf enum BRAND_LIST = 40; - */ - const BRAND_LIST = 40; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::KEYWORD => 'KEYWORD', - self::PLACEMENT => 'PLACEMENT', - self::MOBILE_APP_CATEGORY => 'MOBILE_APP_CATEGORY', - self::MOBILE_APPLICATION => 'MOBILE_APPLICATION', - self::DEVICE => 'DEVICE', - self::LOCATION => 'LOCATION', - self::LISTING_GROUP => 'LISTING_GROUP', - self::AD_SCHEDULE => 'AD_SCHEDULE', - self::AGE_RANGE => 'AGE_RANGE', - self::GENDER => 'GENDER', - self::INCOME_RANGE => 'INCOME_RANGE', - self::PARENTAL_STATUS => 'PARENTAL_STATUS', - self::YOUTUBE_VIDEO => 'YOUTUBE_VIDEO', - self::YOUTUBE_CHANNEL => 'YOUTUBE_CHANNEL', - self::USER_LIST => 'USER_LIST', - self::PROXIMITY => 'PROXIMITY', - self::TOPIC => 'TOPIC', - self::LISTING_SCOPE => 'LISTING_SCOPE', - self::LANGUAGE => 'LANGUAGE', - self::IP_BLOCK => 'IP_BLOCK', - self::CONTENT_LABEL => 'CONTENT_LABEL', - self::CARRIER => 'CARRIER', - self::USER_INTEREST => 'USER_INTEREST', - self::WEBPAGE => 'WEBPAGE', - self::OPERATING_SYSTEM_VERSION => 'OPERATING_SYSTEM_VERSION', - self::APP_PAYMENT_MODEL => 'APP_PAYMENT_MODEL', - self::MOBILE_DEVICE => 'MOBILE_DEVICE', - self::CUSTOM_AFFINITY => 'CUSTOM_AFFINITY', - self::CUSTOM_INTENT => 'CUSTOM_INTENT', - self::LOCATION_GROUP => 'LOCATION_GROUP', - self::CUSTOM_AUDIENCE => 'CUSTOM_AUDIENCE', - self::COMBINED_AUDIENCE => 'COMBINED_AUDIENCE', - self::KEYWORD_THEME => 'KEYWORD_THEME', - self::AUDIENCE => 'AUDIENCE', - self::NEGATIVE_KEYWORD_LIST => 'NEGATIVE_KEYWORD_LIST', - self::LOCAL_SERVICE_ID => 'LOCAL_SERVICE_ID', - self::SEARCH_THEME => 'SEARCH_THEME', - self::BRAND => 'BRAND', - self::BRAND_LIST => 'BRAND_LIST', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CriterionType::class, \Google\Ads\GoogleAds\V15\Enums\CriterionTypeEnum_CriterionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberTypeEnum.php deleted file mode 100644 index 3f77a122d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomAudienceMemberTypeEnum - */ -class CustomAudienceMemberTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomAudienceMemberType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberTypeEnum/CustomAudienceMemberType.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberTypeEnum/CustomAudienceMemberType.php deleted file mode 100644 index e68791874..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceMemberTypeEnum/CustomAudienceMemberType.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.CustomAudienceMemberTypeEnum.CustomAudienceMemberType - */ -class CustomAudienceMemberType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Users whose interests or actions are described by a keyword. - * - * Generated from protobuf enum KEYWORD = 2; - */ - const KEYWORD = 2; - /** - * Users who have interests related to the website's content. - * - * Generated from protobuf enum URL = 3; - */ - const URL = 3; - /** - * Users who visit place types described by a place category. - * - * Generated from protobuf enum PLACE_CATEGORY = 4; - */ - const PLACE_CATEGORY = 4; - /** - * Users who have installed a mobile app. - * - * Generated from protobuf enum APP = 5; - */ - const APP = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::KEYWORD => 'KEYWORD', - self::URL => 'URL', - self::PLACE_CATEGORY => 'PLACE_CATEGORY', - self::APP => 'APP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomAudienceMemberType::class, \Google\Ads\GoogleAds\V15\Enums\CustomAudienceMemberTypeEnum_CustomAudienceMemberType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatusEnum.php deleted file mode 100644 index 0d8ce07a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomAudienceStatusEnum - */ -class CustomAudienceStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomAudienceStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatusEnum/CustomAudienceStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatusEnum/CustomAudienceStatus.php deleted file mode 100644 index 4312defc4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceStatusEnum/CustomAudienceStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.CustomAudienceStatusEnum.CustomAudienceStatus - */ -class CustomAudienceStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Enabled status - custom audience is enabled and can be targeted. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Removed status - custom audience is removed and cannot be used for - * targeting. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomAudienceStatus::class, \Google\Ads\GoogleAds\V15\Enums\CustomAudienceStatusEnum_CustomAudienceStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceTypeEnum.php deleted file mode 100644 index 36b23df1b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomAudienceTypeEnum - */ -class CustomAudienceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomAudienceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceTypeEnum/CustomAudienceType.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceTypeEnum/CustomAudienceType.php deleted file mode 100644 index 72d0bb7ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomAudienceTypeEnum/CustomAudienceType.php +++ /dev/null @@ -1,87 +0,0 @@ -google.ads.googleads.v15.enums.CustomAudienceTypeEnum.CustomAudienceType - */ -class CustomAudienceType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Google Ads will auto-select the best interpretation at serving - * time. - * - * Generated from protobuf enum AUTO = 2; - */ - const AUTO = 2; - /** - * Matches users by their interests. - * - * Generated from protobuf enum INTEREST = 3; - */ - const INTEREST = 3; - /** - * Matches users by topics they are researching or products they are - * considering for purchase. - * - * Generated from protobuf enum PURCHASE_INTENT = 4; - */ - const PURCHASE_INTENT = 4; - /** - * Matches users by what they searched on Google Search. - * - * Generated from protobuf enum SEARCH = 5; - */ - const SEARCH = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AUTO => 'AUTO', - self::INTEREST => 'INTEREST', - self::PURCHASE_INTENT => 'PURCHASE_INTENT', - self::SEARCH => 'SEARCH', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomAudienceType::class, \Google\Ads\GoogleAds\V15\Enums\CustomAudienceTypeEnum_CustomAudienceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatusEnum.php deleted file mode 100644 index 31aa611df..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomConversionGoalStatusEnum - */ -class CustomConversionGoalStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomConversionGoalStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatusEnum/CustomConversionGoalStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatusEnum/CustomConversionGoalStatus.php deleted file mode 100644 index 24d3820f9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomConversionGoalStatusEnum/CustomConversionGoalStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CustomConversionGoalStatusEnum.CustomConversionGoalStatus - */ -class CustomConversionGoalStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The custom conversion goal is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The custom conversion goal is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomConversionGoalStatus::class, \Google\Ads\GoogleAds\V15\Enums\CustomConversionGoalStatusEnum_CustomConversionGoalStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberTypeEnum.php deleted file mode 100644 index 04a6a91e3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomInterestMemberTypeEnum - */ -class CustomInterestMemberTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomInterestMemberType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberTypeEnum/CustomInterestMemberType.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberTypeEnum/CustomInterestMemberType.php deleted file mode 100644 index bcb7ecf72..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestMemberTypeEnum/CustomInterestMemberType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType - */ -class CustomInterestMemberType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Custom interest member type KEYWORD. - * - * Generated from protobuf enum KEYWORD = 2; - */ - const KEYWORD = 2; - /** - * Custom interest member type URL. - * - * Generated from protobuf enum URL = 3; - */ - const URL = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::KEYWORD => 'KEYWORD', - self::URL => 'URL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomInterestMemberType::class, \Google\Ads\GoogleAds\V15\Enums\CustomInterestMemberTypeEnum_CustomInterestMemberType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatusEnum.php deleted file mode 100644 index f00c5b8cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomInterestStatusEnum - */ -class CustomInterestStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomInterestStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatusEnum/CustomInterestStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatusEnum/CustomInterestStatus.php deleted file mode 100644 index e4a38ad53..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestStatusEnum/CustomInterestStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.CustomInterestStatusEnum.CustomInterestStatus - */ -class CustomInterestStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Enabled status - custom interest is enabled and can be targeted to. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Removed status - custom interest is removed and cannot be used for - * targeting. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomInterestStatus::class, \Google\Ads\GoogleAds\V15\Enums\CustomInterestStatusEnum_CustomInterestStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestTypeEnum.php deleted file mode 100644 index 3b7ecbc2a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomInterestTypeEnum - */ -class CustomInterestTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomInterestType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestTypeEnum/CustomInterestType.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestTypeEnum/CustomInterestType.php deleted file mode 100644 index a2120a3b1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomInterestTypeEnum/CustomInterestType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CustomInterestTypeEnum.CustomInterestType - */ -class CustomInterestType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Allows brand advertisers to define custom affinity audience lists. - * - * Generated from protobuf enum CUSTOM_AFFINITY = 2; - */ - const CUSTOM_AFFINITY = 2; - /** - * Allows advertisers to define custom intent audience lists. - * - * Generated from protobuf enum CUSTOM_INTENT = 3; - */ - const CUSTOM_INTENT = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOM_AFFINITY => 'CUSTOM_AFFINITY', - self::CUSTOM_INTENT => 'CUSTOM_INTENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomInterestType::class, \Google\Ads\GoogleAds\V15\Enums\CustomInterestTypeEnum_CustomInterestType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderFieldEnum.php deleted file mode 100644 index 62a1fd573..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderFieldEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.CustomPlaceholderFieldEnum - */ -class CustomPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderFieldEnum/CustomPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderFieldEnum/CustomPlaceholderField.php deleted file mode 100644 index 92f237d5c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomPlaceholderFieldEnum/CustomPlaceholderField.php +++ /dev/null @@ -1,220 +0,0 @@ -google.ads.googleads.v15.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField - */ -class CustomPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Required. Combination ID and ID2 must be unique per - * offer. - * - * Generated from protobuf enum ID = 2; - */ - const ID = 2; - /** - * Data Type: STRING. Combination ID and ID2 must be unique per offer. - * - * Generated from protobuf enum ID2 = 3; - */ - const ID2 = 3; - /** - * Data Type: STRING. Required. Main headline with product name to be shown - * in dynamic ad. - * - * Generated from protobuf enum ITEM_TITLE = 4; - */ - const ITEM_TITLE = 4; - /** - * Data Type: STRING. Optional text to be shown in the image ad. - * - * Generated from protobuf enum ITEM_SUBTITLE = 5; - */ - const ITEM_SUBTITLE = 5; - /** - * Data Type: STRING. Optional description of the product to be shown in the - * ad. - * - * Generated from protobuf enum ITEM_DESCRIPTION = 6; - */ - const ITEM_DESCRIPTION = 6; - /** - * Data Type: STRING. Full address of your offer or service, including - * postal code. This will be used to identify the closest product to the - * user when there are multiple offers in the feed that are relevant to the - * user. - * - * Generated from protobuf enum ITEM_ADDRESS = 7; - */ - const ITEM_ADDRESS = 7; - /** - * Data Type: STRING. Price to be shown in the ad. - * Example: "100.00 USD" - * - * Generated from protobuf enum PRICE = 8; - */ - const PRICE = 8; - /** - * Data Type: STRING. Formatted price to be shown in the ad. - * Example: "Starting at $100.00 USD", "$80 - $100" - * - * Generated from protobuf enum FORMATTED_PRICE = 9; - */ - const FORMATTED_PRICE = 9; - /** - * Data Type: STRING. Sale price to be shown in the ad. - * Example: "80.00 USD" - * - * Generated from protobuf enum SALE_PRICE = 10; - */ - const SALE_PRICE = 10; - /** - * Data Type: STRING. Formatted sale price to be shown in the ad. - * Example: "On sale for $80.00", "$60 - $80" - * - * Generated from protobuf enum FORMATTED_SALE_PRICE = 11; - */ - const FORMATTED_SALE_PRICE = 11; - /** - * Data Type: URL. Image to be displayed in the ad. Highly recommended for - * image ads. - * - * Generated from protobuf enum IMAGE_URL = 12; - */ - const IMAGE_URL = 12; - /** - * Data Type: STRING. Used as a recommendation engine signal to serve items - * in the same category. - * - * Generated from protobuf enum ITEM_CATEGORY = 13; - */ - const ITEM_CATEGORY = 13; - /** - * Data Type: URL_LIST. Final URLs for the ad when using Upgraded - * URLs. User will be redirected to these URLs when they click on an ad, or - * when they click on a specific product for ads that have multiple - * products. - * - * Generated from protobuf enum FINAL_URLS = 14; - */ - const FINAL_URLS = 14; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 15; - */ - const FINAL_MOBILE_URLS = 15; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 16; - */ - const TRACKING_URL = 16; - /** - * Data Type: STRING_LIST. Keywords used for product retrieval. - * - * Generated from protobuf enum CONTEXTUAL_KEYWORDS = 17; - */ - const CONTEXTUAL_KEYWORDS = 17; - /** - * Data Type: STRING. Android app link. Must be formatted as: - * android-app://{package_id}/{scheme}/{host_path}. - * The components are defined as follows: - * package_id: app ID as specified in Google Play. - * scheme: the scheme to pass to the application. Can be HTTP, or a custom - * scheme. - * host_path: identifies the specific content within your application. - * - * Generated from protobuf enum ANDROID_APP_LINK = 18; - */ - const ANDROID_APP_LINK = 18; - /** - * Data Type: STRING_LIST. List of recommended IDs to show together with - * this item. - * - * Generated from protobuf enum SIMILAR_IDS = 19; - */ - const SIMILAR_IDS = 19; - /** - * Data Type: STRING. iOS app link. - * - * Generated from protobuf enum IOS_APP_LINK = 20; - */ - const IOS_APP_LINK = 20; - /** - * Data Type: INT64. iOS app store ID. - * - * Generated from protobuf enum IOS_APP_STORE_ID = 21; - */ - const IOS_APP_STORE_ID = 21; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ID => 'ID', - self::ID2 => 'ID2', - self::ITEM_TITLE => 'ITEM_TITLE', - self::ITEM_SUBTITLE => 'ITEM_SUBTITLE', - self::ITEM_DESCRIPTION => 'ITEM_DESCRIPTION', - self::ITEM_ADDRESS => 'ITEM_ADDRESS', - self::PRICE => 'PRICE', - self::FORMATTED_PRICE => 'FORMATTED_PRICE', - self::SALE_PRICE => 'SALE_PRICE', - self::FORMATTED_SALE_PRICE => 'FORMATTED_SALE_PRICE', - self::IMAGE_URL => 'IMAGE_URL', - self::ITEM_CATEGORY => 'ITEM_CATEGORY', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::CONTEXTUAL_KEYWORDS => 'CONTEXTUAL_KEYWORDS', - self::ANDROID_APP_LINK => 'ANDROID_APP_LINK', - self::SIMILAR_IDS => 'SIMILAR_IDS', - self::IOS_APP_LINK => 'IOS_APP_LINK', - self::IOS_APP_STORE_ID => 'IOS_APP_STORE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\CustomPlaceholderFieldEnum_CustomPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationModeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationModeEnum.php deleted file mode 100644 index 3d3e6c450..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationModeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.CustomerAcquisitionOptimizationModeEnum - */ -class CustomerAcquisitionOptimizationModeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomerAcquisitionOptimizationMode::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationModeEnum/CustomerAcquisitionOptimizationMode.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationModeEnum/CustomerAcquisitionOptimizationMode.php deleted file mode 100644 index 89455b6d4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomerAcquisitionOptimizationModeEnum/CustomerAcquisitionOptimizationMode.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.enums.CustomerAcquisitionOptimizationModeEnum.CustomerAcquisitionOptimizationMode - */ -class CustomerAcquisitionOptimizationMode -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The mode is used when campaign is optimizing equally for existing and new - * customers, which is the default value. - * - * Generated from protobuf enum TARGET_ALL_EQUALLY = 2; - */ - const TARGET_ALL_EQUALLY = 2; - /** - * The mode is used when campaign is bidding higher for new customers than - * existing customer. - * - * Generated from protobuf enum BID_HIGHER_FOR_NEW_CUSTOMER = 3; - */ - const BID_HIGHER_FOR_NEW_CUSTOMER = 3; - /** - * The mode is used when campaign is only optimizing for new customers. - * - * Generated from protobuf enum TARGET_NEW_CUSTOMER = 4; - */ - const TARGET_NEW_CUSTOMER = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TARGET_ALL_EQUALLY => 'TARGET_ALL_EQUALLY', - self::BID_HIGHER_FOR_NEW_CUSTOMER => 'BID_HIGHER_FOR_NEW_CUSTOMER', - self::TARGET_NEW_CUSTOMER => 'TARGET_NEW_CUSTOMER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerAcquisitionOptimizationMode::class, \Google\Ads\GoogleAds\V15\Enums\CustomerAcquisitionOptimizationModeEnum_CustomerAcquisitionOptimizationMode::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyTypeEnum.php deleted file mode 100644 index faa7cedbd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomerMatchUploadKeyTypeEnum - */ -class CustomerMatchUploadKeyTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomerMatchUploadKeyType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyTypeEnum/CustomerMatchUploadKeyType.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyTypeEnum/CustomerMatchUploadKeyType.php deleted file mode 100644 index 453004118..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomerMatchUploadKeyTypeEnum/CustomerMatchUploadKeyType.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType - */ -class CustomerMatchUploadKeyType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Members are matched from customer info such as email address, phone - * number or physical address. - * - * Generated from protobuf enum CONTACT_INFO = 2; - */ - const CONTACT_INFO = 2; - /** - * Members are matched from a user id generated and assigned by the - * advertiser. - * - * Generated from protobuf enum CRM_ID = 3; - */ - const CRM_ID = 3; - /** - * Members are matched from mobile advertising ids. - * - * Generated from protobuf enum MOBILE_ADVERTISING_ID = 4; - */ - const MOBILE_ADVERTISING_ID = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CONTACT_INFO => 'CONTACT_INFO', - self::CRM_ID => 'CRM_ID', - self::MOBILE_ADVERTISING_ID => 'MOBILE_ADVERTISING_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerMatchUploadKeyType::class, \Google\Ads\GoogleAds\V15\Enums\CustomerMatchUploadKeyTypeEnum_CustomerMatchUploadKeyType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReasonEnum.php deleted file mode 100644 index b05551d35..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReasonEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.CustomerPayPerConversionEligibilityFailureReasonEnum - */ -class CustomerPayPerConversionEligibilityFailureReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomerPayPerConversionEligibilityFailureReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReasonEnum/CustomerPayPerConversionEligibilityFailureReason.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReasonEnum/CustomerPayPerConversionEligibilityFailureReason.php deleted file mode 100644 index 70862403d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomerPayPerConversionEligibilityFailureReasonEnum/CustomerPayPerConversionEligibilityFailureReason.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason - */ -class CustomerPayPerConversionEligibilityFailureReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Customer does not have enough conversions. - * - * Generated from protobuf enum NOT_ENOUGH_CONVERSIONS = 2; - */ - const NOT_ENOUGH_CONVERSIONS = 2; - /** - * Customer's conversion lag is too high. - * - * Generated from protobuf enum CONVERSION_LAG_TOO_HIGH = 3; - */ - const CONVERSION_LAG_TOO_HIGH = 3; - /** - * Customer uses shared budgets. - * - * Generated from protobuf enum HAS_CAMPAIGN_WITH_SHARED_BUDGET = 4; - */ - const HAS_CAMPAIGN_WITH_SHARED_BUDGET = 4; - /** - * Customer has conversions with ConversionActionType.UPLOAD_CLICKS. - * - * Generated from protobuf enum HAS_UPLOAD_CLICKS_CONVERSION = 5; - */ - const HAS_UPLOAD_CLICKS_CONVERSION = 5; - /** - * Customer's average daily spend is too high. - * - * Generated from protobuf enum AVERAGE_DAILY_SPEND_TOO_HIGH = 6; - */ - const AVERAGE_DAILY_SPEND_TOO_HIGH = 6; - /** - * Customer's eligibility has not yet been calculated by the Google Ads - * backend. Check back soon. - * - * Generated from protobuf enum ANALYSIS_NOT_COMPLETE = 7; - */ - const ANALYSIS_NOT_COMPLETE = 7; - /** - * Customer is not eligible due to other reasons. - * - * Generated from protobuf enum OTHER = 8; - */ - const OTHER = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NOT_ENOUGH_CONVERSIONS => 'NOT_ENOUGH_CONVERSIONS', - self::CONVERSION_LAG_TOO_HIGH => 'CONVERSION_LAG_TOO_HIGH', - self::HAS_CAMPAIGN_WITH_SHARED_BUDGET => 'HAS_CAMPAIGN_WITH_SHARED_BUDGET', - self::HAS_UPLOAD_CLICKS_CONVERSION => 'HAS_UPLOAD_CLICKS_CONVERSION', - self::AVERAGE_DAILY_SPEND_TOO_HIGH => 'AVERAGE_DAILY_SPEND_TOO_HIGH', - self::ANALYSIS_NOT_COMPLETE => 'ANALYSIS_NOT_COMPLETE', - self::OTHER => 'OTHER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerPayPerConversionEligibilityFailureReason::class, \Google\Ads\GoogleAds\V15\Enums\CustomerPayPerConversionEligibilityFailureReasonEnum_CustomerPayPerConversionEligibilityFailureReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomerStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomerStatusEnum.php deleted file mode 100644 index 766815766..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomerStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomerStatusEnum - */ -class CustomerStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomerStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomerStatusEnum/CustomerStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomerStatusEnum/CustomerStatus.php deleted file mode 100644 index 7dfae1895..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomerStatusEnum/CustomerStatus.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.enums.CustomerStatusEnum.CustomerStatus - */ -class CustomerStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Indicates an active account able to serve ads. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Indicates a canceled account unable to serve ads. - * Can be reactivated by an admin user. - * - * Generated from protobuf enum CANCELED = 3; - */ - const CANCELED = 3; - /** - * Indicates a suspended account unable to serve ads. - * May only be activated by Google support. - * - * Generated from protobuf enum SUSPENDED = 4; - */ - const SUSPENDED = 4; - /** - * Indicates a closed account unable to serve ads. - * Test account will also have CLOSED status. - * Status is permanent and may not be reopened. - * - * Generated from protobuf enum CLOSED = 5; - */ - const CLOSED = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::CANCELED => 'CANCELED', - self::SUSPENDED => 'SUSPENDED', - self::CLOSED => 'CLOSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerStatus::class, \Google\Ads\GoogleAds\V15\Enums\CustomerStatusEnum_CustomerStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatusEnum.php deleted file mode 100644 index a306c19e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomizerAttributeStatusEnum - */ -class CustomizerAttributeStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomizerAttributeStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatusEnum/CustomizerAttributeStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatusEnum/CustomizerAttributeStatus.php deleted file mode 100644 index 917929011..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeStatusEnum/CustomizerAttributeStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CustomizerAttributeStatusEnum.CustomizerAttributeStatus - */ -class CustomizerAttributeStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The customizer attribute is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The customizer attribute is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomizerAttributeStatus::class, \Google\Ads\GoogleAds\V15\Enums\CustomizerAttributeStatusEnum_CustomizerAttributeStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeTypeEnum.php deleted file mode 100644 index 5b5fe23e9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum - */ -class CustomizerAttributeTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomizerAttributeType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeTypeEnum/CustomizerAttributeType.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeTypeEnum/CustomizerAttributeType.php deleted file mode 100644 index 8f468eb34..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerAttributeTypeEnum/CustomizerAttributeType.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType - */ -class CustomizerAttributeType -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Text customizer. - * - * Generated from protobuf enum TEXT = 2; - */ - const TEXT = 2; - /** - * Number customizer. - * - * Generated from protobuf enum NUMBER = 3; - */ - const NUMBER = 3; - /** - * Price customizer consisting of a number and a currency. - * - * Generated from protobuf enum PRICE = 4; - */ - const PRICE = 4; - /** - * Percentage customizer consisting of a number and a '%'. - * - * Generated from protobuf enum PERCENT = 5; - */ - const PERCENT = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TEXT => 'TEXT', - self::NUMBER => 'NUMBER', - self::PRICE => 'PRICE', - self::PERCENT => 'PERCENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomizerAttributeType::class, \Google\Ads\GoogleAds\V15\Enums\CustomizerAttributeTypeEnum_CustomizerAttributeType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatusEnum.php deleted file mode 100644 index 7d9f53bb8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.CustomizerValueStatusEnum - */ -class CustomizerValueStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\CustomizerValueStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatusEnum/CustomizerValueStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatusEnum/CustomizerValueStatus.php deleted file mode 100644 index 1604701a1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/CustomizerValueStatusEnum/CustomizerValueStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus - */ -class CustomizerValueStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The customizer value is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The customizer value is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomizerValueStatus::class, \Google\Ads\GoogleAds\V15\Enums\CustomizerValueStatusEnum_CustomizerValueStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatusEnum.php deleted file mode 100644 index a600900cf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.DataDrivenModelStatusEnum - */ -class DataDrivenModelStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\DataDrivenModelStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatusEnum/DataDrivenModelStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatusEnum/DataDrivenModelStatus.php deleted file mode 100644 index 62e128536..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DataDrivenModelStatusEnum/DataDrivenModelStatus.php +++ /dev/null @@ -1,91 +0,0 @@ -google.ads.googleads.v15.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus - */ -class DataDrivenModelStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The data driven model is available. - * - * Generated from protobuf enum AVAILABLE = 2; - */ - const AVAILABLE = 2; - /** - * The data driven model is stale. It hasn't been updated for at least 7 - * days. It is still being used, but will become expired if it does not get - * updated for 30 days. - * - * Generated from protobuf enum STALE = 3; - */ - const STALE = 3; - /** - * The data driven model expired. It hasn't been updated for at least 30 - * days and cannot be used. Most commonly this is because there hasn't been - * the required number of events in a recent 30-day period. - * - * Generated from protobuf enum EXPIRED = 4; - */ - const EXPIRED = 4; - /** - * The data driven model has never been generated. Most commonly this is - * because there has never been the required number of events in any 30-day - * period. - * - * Generated from protobuf enum NEVER_GENERATED = 5; - */ - const NEVER_GENERATED = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AVAILABLE => 'AVAILABLE', - self::STALE => 'STALE', - self::EXPIRED => 'EXPIRED', - self::NEVER_GENERATED => 'NEVER_GENERATED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DataDrivenModelStatus::class, \Google\Ads\GoogleAds\V15\Enums\DataDrivenModelStatusEnum_DataDrivenModelStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DayOfWeekEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/DayOfWeekEnum.php deleted file mode 100644 index 9bed679de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DayOfWeekEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.DayOfWeekEnum - */ -class DayOfWeekEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\DayOfWeek::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DayOfWeekEnum/DayOfWeek.php b/src/Google/Ads/GoogleAds/V15/Enums/DayOfWeekEnum/DayOfWeek.php deleted file mode 100644 index 20537abb2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DayOfWeekEnum/DayOfWeek.php +++ /dev/null @@ -1,106 +0,0 @@ -google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek - */ -class DayOfWeek -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Monday. - * - * Generated from protobuf enum MONDAY = 2; - */ - const MONDAY = 2; - /** - * Tuesday. - * - * Generated from protobuf enum TUESDAY = 3; - */ - const TUESDAY = 3; - /** - * Wednesday. - * - * Generated from protobuf enum WEDNESDAY = 4; - */ - const WEDNESDAY = 4; - /** - * Thursday. - * - * Generated from protobuf enum THURSDAY = 5; - */ - const THURSDAY = 5; - /** - * Friday. - * - * Generated from protobuf enum FRIDAY = 6; - */ - const FRIDAY = 6; - /** - * Saturday. - * - * Generated from protobuf enum SATURDAY = 7; - */ - const SATURDAY = 7; - /** - * Sunday. - * - * Generated from protobuf enum SUNDAY = 8; - */ - const SUNDAY = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MONDAY => 'MONDAY', - self::TUESDAY => 'TUESDAY', - self::WEDNESDAY => 'WEDNESDAY', - self::THURSDAY => 'THURSDAY', - self::FRIDAY => 'FRIDAY', - self::SATURDAY => 'SATURDAY', - self::SUNDAY => 'SUNDAY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DayOfWeek::class, \Google\Ads\GoogleAds\V15\Enums\DayOfWeekEnum_DayOfWeek::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DeviceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/DeviceEnum.php deleted file mode 100644 index 0610ad3af..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DeviceEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.DeviceEnum - */ -class DeviceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\Device::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DeviceEnum/Device.php b/src/Google/Ads/GoogleAds/V15/Enums/DeviceEnum/Device.php deleted file mode 100644 index 712b84de0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DeviceEnum/Device.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.DeviceEnum.Device - */ -class Device -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Mobile devices with full browsers. - * - * Generated from protobuf enum MOBILE = 2; - */ - const MOBILE = 2; - /** - * Tablets with full browsers. - * - * Generated from protobuf enum TABLET = 3; - */ - const TABLET = 3; - /** - * Computers. - * - * Generated from protobuf enum DESKTOP = 4; - */ - const DESKTOP = 4; - /** - * Smart TVs and game consoles. - * - * Generated from protobuf enum CONNECTED_TV = 6; - */ - const CONNECTED_TV = 6; - /** - * Other device types. - * - * Generated from protobuf enum OTHER = 5; - */ - const OTHER = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MOBILE => 'MOBILE', - self::TABLET => 'TABLET', - self::DESKTOP => 'DESKTOP', - self::CONNECTED_TV => 'CONNECTED_TV', - self::OTHER => 'OTHER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Device::class, \Google\Ads\GoogleAds\V15\Enums\DeviceEnum_Device::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSettingEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSettingEnum.php deleted file mode 100644 index b060f52c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSettingEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum - */ -class DisplayAdFormatSettingEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\DisplayAdFormatSetting::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSettingEnum/DisplayAdFormatSetting.php b/src/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSettingEnum/DisplayAdFormatSetting.php deleted file mode 100644 index ef4a61b25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DisplayAdFormatSettingEnum/DisplayAdFormatSetting.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting - */ -class DisplayAdFormatSetting -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Text, image and native formats. - * - * Generated from protobuf enum ALL_FORMATS = 2; - */ - const ALL_FORMATS = 2; - /** - * Text and image formats. - * - * Generated from protobuf enum NON_NATIVE = 3; - */ - const NON_NATIVE = 3; - /** - * Native format, for example, the format rendering is controlled by the - * publisher and not by Google. - * - * Generated from protobuf enum NATIVE = 4; - */ - const NATIVE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ALL_FORMATS => 'ALL_FORMATS', - self::NON_NATIVE => 'NON_NATIVE', - self::NATIVE => 'NATIVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DisplayAdFormatSetting::class, \Google\Ads\GoogleAds\V15\Enums\DisplayAdFormatSettingEnum_DisplayAdFormatSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductTypeEnum.php deleted file mode 100644 index 596fbe95a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductTypeEnum.php +++ /dev/null @@ -1,37 +0,0 @@ -google.ads.googleads.v15.enums.DisplayUploadProductTypeEnum - */ -class DisplayUploadProductTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\DisplayUploadProductType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductTypeEnum/DisplayUploadProductType.php b/src/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductTypeEnum/DisplayUploadProductType.php deleted file mode 100644 index 52b13a255..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DisplayUploadProductTypeEnum/DisplayUploadProductType.php +++ /dev/null @@ -1,146 +0,0 @@ -google.ads.googleads.v15.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType - */ -class DisplayUploadProductType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * HTML5 upload ad. This product type requires the upload_media_bundle - * field in DisplayUploadAdInfo to be set. - * - * Generated from protobuf enum HTML5_UPLOAD_AD = 2; - */ - const HTML5_UPLOAD_AD = 2; - /** - * Dynamic HTML5 education ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in an education campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_EDUCATION_AD = 3; - */ - const DYNAMIC_HTML5_EDUCATION_AD = 3; - /** - * Dynamic HTML5 flight ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in a flight campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_FLIGHT_AD = 4; - */ - const DYNAMIC_HTML5_FLIGHT_AD = 4; - /** - * Dynamic HTML5 hotel and rental ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in a hotel campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_HOTEL_RENTAL_AD = 5; - */ - const DYNAMIC_HTML5_HOTEL_RENTAL_AD = 5; - /** - * Dynamic HTML5 job ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in a job campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_JOB_AD = 6; - */ - const DYNAMIC_HTML5_JOB_AD = 6; - /** - * Dynamic HTML5 local ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in a local campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_LOCAL_AD = 7; - */ - const DYNAMIC_HTML5_LOCAL_AD = 7; - /** - * Dynamic HTML5 real estate ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in a real estate campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_REAL_ESTATE_AD = 8; - */ - const DYNAMIC_HTML5_REAL_ESTATE_AD = 8; - /** - * Dynamic HTML5 custom ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in a custom campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_CUSTOM_AD = 9; - */ - const DYNAMIC_HTML5_CUSTOM_AD = 9; - /** - * Dynamic HTML5 travel ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in a travel campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_TRAVEL_AD = 10; - */ - const DYNAMIC_HTML5_TRAVEL_AD = 10; - /** - * Dynamic HTML5 hotel ad. This product type requires the - * upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - * used in a hotel campaign. - * - * Generated from protobuf enum DYNAMIC_HTML5_HOTEL_AD = 11; - */ - const DYNAMIC_HTML5_HOTEL_AD = 11; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::HTML5_UPLOAD_AD => 'HTML5_UPLOAD_AD', - self::DYNAMIC_HTML5_EDUCATION_AD => 'DYNAMIC_HTML5_EDUCATION_AD', - self::DYNAMIC_HTML5_FLIGHT_AD => 'DYNAMIC_HTML5_FLIGHT_AD', - self::DYNAMIC_HTML5_HOTEL_RENTAL_AD => 'DYNAMIC_HTML5_HOTEL_RENTAL_AD', - self::DYNAMIC_HTML5_JOB_AD => 'DYNAMIC_HTML5_JOB_AD', - self::DYNAMIC_HTML5_LOCAL_AD => 'DYNAMIC_HTML5_LOCAL_AD', - self::DYNAMIC_HTML5_REAL_ESTATE_AD => 'DYNAMIC_HTML5_REAL_ESTATE_AD', - self::DYNAMIC_HTML5_CUSTOM_AD => 'DYNAMIC_HTML5_CUSTOM_AD', - self::DYNAMIC_HTML5_TRAVEL_AD => 'DYNAMIC_HTML5_TRAVEL_AD', - self::DYNAMIC_HTML5_HOTEL_AD => 'DYNAMIC_HTML5_HOTEL_AD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DisplayUploadProductType::class, \Google\Ads\GoogleAds\V15\Enums\DisplayUploadProductTypeEnum_DisplayUploadProductType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DistanceBucketEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/DistanceBucketEnum.php deleted file mode 100644 index c715792bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DistanceBucketEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.DistanceBucketEnum - */ -class DistanceBucketEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\DistanceBucket::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DistanceBucketEnum/DistanceBucket.php b/src/Google/Ads/GoogleAds/V15/Enums/DistanceBucketEnum/DistanceBucket.php deleted file mode 100644 index 897c04a1f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DistanceBucketEnum/DistanceBucket.php +++ /dev/null @@ -1,247 +0,0 @@ -google.ads.googleads.v15.enums.DistanceBucketEnum.DistanceBucket - */ -class DistanceBucket -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * User was within 700m of the location. - * - * Generated from protobuf enum WITHIN_700M = 2; - */ - const WITHIN_700M = 2; - /** - * User was within 1KM of the location. - * - * Generated from protobuf enum WITHIN_1KM = 3; - */ - const WITHIN_1KM = 3; - /** - * User was within 5KM of the location. - * - * Generated from protobuf enum WITHIN_5KM = 4; - */ - const WITHIN_5KM = 4; - /** - * User was within 10KM of the location. - * - * Generated from protobuf enum WITHIN_10KM = 5; - */ - const WITHIN_10KM = 5; - /** - * User was within 15KM of the location. - * - * Generated from protobuf enum WITHIN_15KM = 6; - */ - const WITHIN_15KM = 6; - /** - * User was within 20KM of the location. - * - * Generated from protobuf enum WITHIN_20KM = 7; - */ - const WITHIN_20KM = 7; - /** - * User was within 25KM of the location. - * - * Generated from protobuf enum WITHIN_25KM = 8; - */ - const WITHIN_25KM = 8; - /** - * User was within 30KM of the location. - * - * Generated from protobuf enum WITHIN_30KM = 9; - */ - const WITHIN_30KM = 9; - /** - * User was within 35KM of the location. - * - * Generated from protobuf enum WITHIN_35KM = 10; - */ - const WITHIN_35KM = 10; - /** - * User was within 40KM of the location. - * - * Generated from protobuf enum WITHIN_40KM = 11; - */ - const WITHIN_40KM = 11; - /** - * User was within 45KM of the location. - * - * Generated from protobuf enum WITHIN_45KM = 12; - */ - const WITHIN_45KM = 12; - /** - * User was within 50KM of the location. - * - * Generated from protobuf enum WITHIN_50KM = 13; - */ - const WITHIN_50KM = 13; - /** - * User was within 55KM of the location. - * - * Generated from protobuf enum WITHIN_55KM = 14; - */ - const WITHIN_55KM = 14; - /** - * User was within 60KM of the location. - * - * Generated from protobuf enum WITHIN_60KM = 15; - */ - const WITHIN_60KM = 15; - /** - * User was within 65KM of the location. - * - * Generated from protobuf enum WITHIN_65KM = 16; - */ - const WITHIN_65KM = 16; - /** - * User was beyond 65KM of the location. - * - * Generated from protobuf enum BEYOND_65KM = 17; - */ - const BEYOND_65KM = 17; - /** - * User was within 0.7 miles of the location. - * - * Generated from protobuf enum WITHIN_0_7MILES = 18; - */ - const WITHIN_0_7MILES = 18; - /** - * User was within 1 mile of the location. - * - * Generated from protobuf enum WITHIN_1MILE = 19; - */ - const WITHIN_1MILE = 19; - /** - * User was within 5 miles of the location. - * - * Generated from protobuf enum WITHIN_5MILES = 20; - */ - const WITHIN_5MILES = 20; - /** - * User was within 10 miles of the location. - * - * Generated from protobuf enum WITHIN_10MILES = 21; - */ - const WITHIN_10MILES = 21; - /** - * User was within 15 miles of the location. - * - * Generated from protobuf enum WITHIN_15MILES = 22; - */ - const WITHIN_15MILES = 22; - /** - * User was within 20 miles of the location. - * - * Generated from protobuf enum WITHIN_20MILES = 23; - */ - const WITHIN_20MILES = 23; - /** - * User was within 25 miles of the location. - * - * Generated from protobuf enum WITHIN_25MILES = 24; - */ - const WITHIN_25MILES = 24; - /** - * User was within 30 miles of the location. - * - * Generated from protobuf enum WITHIN_30MILES = 25; - */ - const WITHIN_30MILES = 25; - /** - * User was within 35 miles of the location. - * - * Generated from protobuf enum WITHIN_35MILES = 26; - */ - const WITHIN_35MILES = 26; - /** - * User was within 40 miles of the location. - * - * Generated from protobuf enum WITHIN_40MILES = 27; - */ - const WITHIN_40MILES = 27; - /** - * User was beyond 40 miles of the location. - * - * Generated from protobuf enum BEYOND_40MILES = 28; - */ - const BEYOND_40MILES = 28; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::WITHIN_700M => 'WITHIN_700M', - self::WITHIN_1KM => 'WITHIN_1KM', - self::WITHIN_5KM => 'WITHIN_5KM', - self::WITHIN_10KM => 'WITHIN_10KM', - self::WITHIN_15KM => 'WITHIN_15KM', - self::WITHIN_20KM => 'WITHIN_20KM', - self::WITHIN_25KM => 'WITHIN_25KM', - self::WITHIN_30KM => 'WITHIN_30KM', - self::WITHIN_35KM => 'WITHIN_35KM', - self::WITHIN_40KM => 'WITHIN_40KM', - self::WITHIN_45KM => 'WITHIN_45KM', - self::WITHIN_50KM => 'WITHIN_50KM', - self::WITHIN_55KM => 'WITHIN_55KM', - self::WITHIN_60KM => 'WITHIN_60KM', - self::WITHIN_65KM => 'WITHIN_65KM', - self::BEYOND_65KM => 'BEYOND_65KM', - self::WITHIN_0_7MILES => 'WITHIN_0_7MILES', - self::WITHIN_1MILE => 'WITHIN_1MILE', - self::WITHIN_5MILES => 'WITHIN_5MILES', - self::WITHIN_10MILES => 'WITHIN_10MILES', - self::WITHIN_15MILES => 'WITHIN_15MILES', - self::WITHIN_20MILES => 'WITHIN_20MILES', - self::WITHIN_25MILES => 'WITHIN_25MILES', - self::WITHIN_30MILES => 'WITHIN_30MILES', - self::WITHIN_35MILES => 'WITHIN_35MILES', - self::WITHIN_40MILES => 'WITHIN_40MILES', - self::BEYOND_40MILES => 'BEYOND_40MILES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DistanceBucket::class, \Google\Ads\GoogleAds\V15\Enums\DistanceBucketEnum_DistanceBucket::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionFieldEnum.php deleted file mode 100644 index 587281087..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.DsaPageFeedCriterionFieldEnum - */ -class DsaPageFeedCriterionFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\DsaPageFeedCriterionField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionFieldEnum/DsaPageFeedCriterionField.php b/src/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionFieldEnum/DsaPageFeedCriterionField.php deleted file mode 100644 index 6613a725a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/DsaPageFeedCriterionFieldEnum/DsaPageFeedCriterionField.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField - */ -class DsaPageFeedCriterionField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: URL or URL_LIST. URL of the web page you want to target. - * - * Generated from protobuf enum PAGE_URL = 2; - */ - const PAGE_URL = 2; - /** - * Data Type: STRING_LIST. The labels that will help you target ads within - * your page feed. - * - * Generated from protobuf enum LABEL = 3; - */ - const LABEL = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PAGE_URL => 'PAGE_URL', - self::LABEL => 'LABEL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DsaPageFeedCriterionField::class, \Google\Ads\GoogleAds\V15\Enums\DsaPageFeedCriterionFieldEnum_DsaPageFeedCriterionField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderFieldEnum.php deleted file mode 100644 index 5c7735871..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderFieldEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.EducationPlaceholderFieldEnum - */ -class EducationPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\EducationPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderFieldEnum/EducationPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderFieldEnum/EducationPlaceholderField.php deleted file mode 100644 index b923692d0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/EducationPlaceholderFieldEnum/EducationPlaceholderField.php +++ /dev/null @@ -1,190 +0,0 @@ -google.ads.googleads.v15.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField - */ -class EducationPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID - * must be unique per offer. - * - * Generated from protobuf enum PROGRAM_ID = 2; - */ - const PROGRAM_ID = 2; - /** - * Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be - * unique per offer. - * - * Generated from protobuf enum LOCATION_ID = 3; - */ - const LOCATION_ID = 3; - /** - * Data Type: STRING. Required. Main headline with program name to be shown - * in dynamic ad. - * - * Generated from protobuf enum PROGRAM_NAME = 4; - */ - const PROGRAM_NAME = 4; - /** - * Data Type: STRING. Area of study that can be shown in dynamic ad. - * - * Generated from protobuf enum AREA_OF_STUDY = 5; - */ - const AREA_OF_STUDY = 5; - /** - * Data Type: STRING. Description of program that can be shown in dynamic - * ad. - * - * Generated from protobuf enum PROGRAM_DESCRIPTION = 6; - */ - const PROGRAM_DESCRIPTION = 6; - /** - * Data Type: STRING. Name of school that can be shown in dynamic ad. - * - * Generated from protobuf enum SCHOOL_NAME = 7; - */ - const SCHOOL_NAME = 7; - /** - * Data Type: STRING. Complete school address, including postal code. - * - * Generated from protobuf enum ADDRESS = 8; - */ - const ADDRESS = 8; - /** - * Data Type: URL. Image to be displayed in ads. - * - * Generated from protobuf enum THUMBNAIL_IMAGE_URL = 9; - */ - const THUMBNAIL_IMAGE_URL = 9; - /** - * Data Type: URL. Alternative hosted file of image to be used in the ad. - * - * Generated from protobuf enum ALTERNATIVE_THUMBNAIL_IMAGE_URL = 10; - */ - const ALTERNATIVE_THUMBNAIL_IMAGE_URL = 10; - /** - * Data Type: URL_LIST. Required. Final URLs to be used in ad when using - * Upgraded URLs; the more specific the better (for example, the individual - * URL of a specific program and its location). - * - * Generated from protobuf enum FINAL_URLS = 11; - */ - const FINAL_URLS = 11; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 12; - */ - const FINAL_MOBILE_URLS = 12; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 13; - */ - const TRACKING_URL = 13; - /** - * Data Type: STRING_LIST. Keywords used for product retrieval. - * - * Generated from protobuf enum CONTEXTUAL_KEYWORDS = 14; - */ - const CONTEXTUAL_KEYWORDS = 14; - /** - * Data Type: STRING. Android app link. Must be formatted as: - * android-app://{package_id}/{scheme}/{host_path}. - * The components are defined as follows: - * package_id: app ID as specified in Google Play. - * scheme: the scheme to pass to the application. Can be HTTP, or a custom - * scheme. - * host_path: identifies the specific content within your application. - * - * Generated from protobuf enum ANDROID_APP_LINK = 15; - */ - const ANDROID_APP_LINK = 15; - /** - * Data Type: STRING_LIST. List of recommended program IDs to show together - * with this item. - * - * Generated from protobuf enum SIMILAR_PROGRAM_IDS = 16; - */ - const SIMILAR_PROGRAM_IDS = 16; - /** - * Data Type: STRING. iOS app link. - * - * Generated from protobuf enum IOS_APP_LINK = 17; - */ - const IOS_APP_LINK = 17; - /** - * Data Type: INT64. iOS app store ID. - * - * Generated from protobuf enum IOS_APP_STORE_ID = 18; - */ - const IOS_APP_STORE_ID = 18; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PROGRAM_ID => 'PROGRAM_ID', - self::LOCATION_ID => 'LOCATION_ID', - self::PROGRAM_NAME => 'PROGRAM_NAME', - self::AREA_OF_STUDY => 'AREA_OF_STUDY', - self::PROGRAM_DESCRIPTION => 'PROGRAM_DESCRIPTION', - self::SCHOOL_NAME => 'SCHOOL_NAME', - self::ADDRESS => 'ADDRESS', - self::THUMBNAIL_IMAGE_URL => 'THUMBNAIL_IMAGE_URL', - self::ALTERNATIVE_THUMBNAIL_IMAGE_URL => 'ALTERNATIVE_THUMBNAIL_IMAGE_URL', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::CONTEXTUAL_KEYWORDS => 'CONTEXTUAL_KEYWORDS', - self::ANDROID_APP_LINK => 'ANDROID_APP_LINK', - self::SIMILAR_PROGRAM_IDS => 'SIMILAR_PROGRAM_IDS', - self::IOS_APP_LINK => 'IOS_APP_LINK', - self::IOS_APP_STORE_ID => 'IOS_APP_STORE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EducationPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\EducationPlaceholderFieldEnum_EducationPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirectionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirectionEnum.php deleted file mode 100644 index 955208854..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirectionEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ExperimentMetricDirectionEnum - */ -class ExperimentMetricDirectionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ExperimentMetricDirection::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirectionEnum/ExperimentMetricDirection.php b/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirectionEnum/ExperimentMetricDirection.php deleted file mode 100644 index 55df2c937..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricDirectionEnum/ExperimentMetricDirection.php +++ /dev/null @@ -1,94 +0,0 @@ -google.ads.googleads.v15.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection - */ -class ExperimentMetricDirection -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The goal of the experiment is to not change the metric. - * - * Generated from protobuf enum NO_CHANGE = 2; - */ - const NO_CHANGE = 2; - /** - * The goal of the experiment is to increate the metric. - * - * Generated from protobuf enum INCREASE = 3; - */ - const INCREASE = 3; - /** - * The goal of the experiment is to decrease the metric. - * - * Generated from protobuf enum DECREASE = 4; - */ - const DECREASE = 4; - /** - * The goal of the experiment is to either not change or increase the - * metric. - * - * Generated from protobuf enum NO_CHANGE_OR_INCREASE = 5; - */ - const NO_CHANGE_OR_INCREASE = 5; - /** - * The goal of the experiment is to either not change or decrease the - * metric. - * - * Generated from protobuf enum NO_CHANGE_OR_DECREASE = 6; - */ - const NO_CHANGE_OR_DECREASE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NO_CHANGE => 'NO_CHANGE', - self::INCREASE => 'INCREASE', - self::DECREASE => 'DECREASE', - self::NO_CHANGE_OR_INCREASE => 'NO_CHANGE_OR_INCREASE', - self::NO_CHANGE_OR_DECREASE => 'NO_CHANGE_OR_DECREASE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExperimentMetricDirection::class, \Google\Ads\GoogleAds\V15\Enums\ExperimentMetricDirectionEnum_ExperimentMetricDirection::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricEnum.php deleted file mode 100644 index 997635c9c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ExperimentMetricEnum - */ -class ExperimentMetricEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ExperimentMetric::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricEnum/ExperimentMetric.php b/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricEnum/ExperimentMetric.php deleted file mode 100644 index 3292caa1c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentMetricEnum/ExperimentMetric.php +++ /dev/null @@ -1,148 +0,0 @@ -google.ads.googleads.v15.enums.ExperimentMetricEnum.ExperimentMetric - */ -class ExperimentMetric -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The goal of the experiment is clicks. - * - * Generated from protobuf enum CLICKS = 2; - */ - const CLICKS = 2; - /** - * The goal of the experiment is impressions. - * - * Generated from protobuf enum IMPRESSIONS = 3; - */ - const IMPRESSIONS = 3; - /** - * The goal of the experiment is cost. - * - * Generated from protobuf enum COST = 4; - */ - const COST = 4; - /** - * The goal of the experiment is conversion rate. - * - * Generated from protobuf enum CONVERSIONS_PER_INTERACTION_RATE = 5; - */ - const CONVERSIONS_PER_INTERACTION_RATE = 5; - /** - * The goal of the experiment is cost per conversion. - * - * Generated from protobuf enum COST_PER_CONVERSION = 6; - */ - const COST_PER_CONVERSION = 6; - /** - * The goal of the experiment is conversion value per cost. - * - * Generated from protobuf enum CONVERSIONS_VALUE_PER_COST = 7; - */ - const CONVERSIONS_VALUE_PER_COST = 7; - /** - * The goal of the experiment is avg cpc. - * - * Generated from protobuf enum AVERAGE_CPC = 8; - */ - const AVERAGE_CPC = 8; - /** - * The goal of the experiment is ctr. - * - * Generated from protobuf enum CTR = 9; - */ - const CTR = 9; - /** - * The goal of the experiment is incremental conversions. - * - * Generated from protobuf enum INCREMENTAL_CONVERSIONS = 10; - */ - const INCREMENTAL_CONVERSIONS = 10; - /** - * The goal of the experiment is completed video views. - * - * Generated from protobuf enum COMPLETED_VIDEO_VIEWS = 11; - */ - const COMPLETED_VIDEO_VIEWS = 11; - /** - * The goal of the experiment is custom algorithms. - * - * Generated from protobuf enum CUSTOM_ALGORITHMS = 12; - */ - const CUSTOM_ALGORITHMS = 12; - /** - * The goal of the experiment is conversions. - * - * Generated from protobuf enum CONVERSIONS = 13; - */ - const CONVERSIONS = 13; - /** - * The goal of the experiment is conversion value. - * - * Generated from protobuf enum CONVERSION_VALUE = 14; - */ - const CONVERSION_VALUE = 14; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CLICKS => 'CLICKS', - self::IMPRESSIONS => 'IMPRESSIONS', - self::COST => 'COST', - self::CONVERSIONS_PER_INTERACTION_RATE => 'CONVERSIONS_PER_INTERACTION_RATE', - self::COST_PER_CONVERSION => 'COST_PER_CONVERSION', - self::CONVERSIONS_VALUE_PER_COST => 'CONVERSIONS_VALUE_PER_COST', - self::AVERAGE_CPC => 'AVERAGE_CPC', - self::CTR => 'CTR', - self::INCREMENTAL_CONVERSIONS => 'INCREMENTAL_CONVERSIONS', - self::COMPLETED_VIDEO_VIEWS => 'COMPLETED_VIDEO_VIEWS', - self::CUSTOM_ALGORITHMS => 'CUSTOM_ALGORITHMS', - self::CONVERSIONS => 'CONVERSIONS', - self::CONVERSION_VALUE => 'CONVERSION_VALUE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExperimentMetric::class, \Google\Ads\GoogleAds\V15\Enums\ExperimentMetricEnum_ExperimentMetric::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ExperimentStatusEnum.php deleted file mode 100644 index 4ab56fbfb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ExperimentStatusEnum - */ -class ExperimentStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ExperimentStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentStatusEnum/ExperimentStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ExperimentStatusEnum/ExperimentStatus.php deleted file mode 100644 index a047dfd4e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentStatusEnum/ExperimentStatus.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.enums.ExperimentStatusEnum.ExperimentStatus - */ -class ExperimentStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The experiment is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The experiment has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - /** - * The experiment has been halted. - * This status can be set from ENABLED status through API. - * - * Generated from protobuf enum HALTED = 4; - */ - const HALTED = 4; - /** - * The experiment will be promoted out of experimental status. - * - * Generated from protobuf enum PROMOTED = 5; - */ - const PROMOTED = 5; - /** - * Initial status of the experiment. - * - * Generated from protobuf enum SETUP = 6; - */ - const SETUP = 6; - /** - * The experiment's campaigns are pending materialization. - * This status can be set from SETUP status through API. - * - * Generated from protobuf enum INITIATED = 7; - */ - const INITIATED = 7; - /** - * The experiment has been graduated. - * - * Generated from protobuf enum GRADUATED = 8; - */ - const GRADUATED = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - self::HALTED => 'HALTED', - self::PROMOTED => 'PROMOTED', - self::SETUP => 'SETUP', - self::INITIATED => 'INITIATED', - self::GRADUATED => 'GRADUATED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExperimentStatus::class, \Google\Ads\GoogleAds\V15\Enums\ExperimentStatusEnum_ExperimentStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ExperimentTypeEnum.php deleted file mode 100644 index b6ae1b927..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ExperimentTypeEnum - */ -class ExperimentTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ExperimentType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentTypeEnum/ExperimentType.php b/src/Google/Ads/GoogleAds/V15/Enums/ExperimentTypeEnum/ExperimentType.php deleted file mode 100644 index d19ec1853..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExperimentTypeEnum/ExperimentType.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.enums.ExperimentTypeEnum.ExperimentType - */ -class ExperimentType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * This is a DISPLAY_AND_VIDEO_360 experiment. - * - * Generated from protobuf enum DISPLAY_AND_VIDEO_360 = 2; - */ - const DISPLAY_AND_VIDEO_360 = 2; - /** - * This is an ad variation experiment. - * - * Generated from protobuf enum AD_VARIATION = 3; - */ - const AD_VARIATION = 3; - /** - * A custom experiment consisting of Video campaigns. - * - * Generated from protobuf enum YOUTUBE_CUSTOM = 5; - */ - const YOUTUBE_CUSTOM = 5; - /** - * A custom experiment consisting of display campaigns. - * - * Generated from protobuf enum DISPLAY_CUSTOM = 6; - */ - const DISPLAY_CUSTOM = 6; - /** - * A custom experiment consisting of search campaigns. - * - * Generated from protobuf enum SEARCH_CUSTOM = 7; - */ - const SEARCH_CUSTOM = 7; - /** - * An experiment that compares bidding strategies for display campaigns. - * - * Generated from protobuf enum DISPLAY_AUTOMATED_BIDDING_STRATEGY = 8; - */ - const DISPLAY_AUTOMATED_BIDDING_STRATEGY = 8; - /** - * An experiment that compares bidding strategies for search campaigns." - * - * Generated from protobuf enum SEARCH_AUTOMATED_BIDDING_STRATEGY = 9; - */ - const SEARCH_AUTOMATED_BIDDING_STRATEGY = 9; - /** - * An experiment that compares bidding strategies for shopping campaigns. - * - * Generated from protobuf enum SHOPPING_AUTOMATED_BIDDING_STRATEGY = 10; - */ - const SHOPPING_AUTOMATED_BIDDING_STRATEGY = 10; - /** - * DEPRECATED. A smart matching experiment with search campaigns. - * - * Generated from protobuf enum SMART_MATCHING = 11; - */ - const SMART_MATCHING = 11; - /** - * A custom experiment consisting of hotel campaigns. - * - * Generated from protobuf enum HOTEL_CUSTOM = 12; - */ - const HOTEL_CUSTOM = 12; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DISPLAY_AND_VIDEO_360 => 'DISPLAY_AND_VIDEO_360', - self::AD_VARIATION => 'AD_VARIATION', - self::YOUTUBE_CUSTOM => 'YOUTUBE_CUSTOM', - self::DISPLAY_CUSTOM => 'DISPLAY_CUSTOM', - self::SEARCH_CUSTOM => 'SEARCH_CUSTOM', - self::DISPLAY_AUTOMATED_BIDDING_STRATEGY => 'DISPLAY_AUTOMATED_BIDDING_STRATEGY', - self::SEARCH_AUTOMATED_BIDDING_STRATEGY => 'SEARCH_AUTOMATED_BIDDING_STRATEGY', - self::SHOPPING_AUTOMATED_BIDDING_STRATEGY => 'SHOPPING_AUTOMATED_BIDDING_STRATEGY', - self::SMART_MATCHING => 'SMART_MATCHING', - self::HOTEL_CUSTOM => 'HOTEL_CUSTOM', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExperimentType::class, \Google\Ads\GoogleAds\V15\Enums\ExperimentTypeEnum_ExperimentType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDeviceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDeviceEnum.php deleted file mode 100644 index 8149e97b4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDeviceEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum - */ -class ExtensionSettingDeviceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ExtensionSettingDevice::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDeviceEnum/ExtensionSettingDevice.php b/src/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDeviceEnum/ExtensionSettingDevice.php deleted file mode 100644 index 9aeac7ff3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExtensionSettingDeviceEnum/ExtensionSettingDevice.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice - */ -class ExtensionSettingDevice -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Mobile. The extensions in the extension setting will only serve on - * mobile devices. - * - * Generated from protobuf enum MOBILE = 2; - */ - const MOBILE = 2; - /** - * Desktop. The extensions in the extension setting will only serve on - * desktop devices. - * - * Generated from protobuf enum DESKTOP = 3; - */ - const DESKTOP = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MOBILE => 'MOBILE', - self::DESKTOP => 'DESKTOP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExtensionSettingDevice::class, \Google\Ads\GoogleAds\V15\Enums\ExtensionSettingDeviceEnum_ExtensionSettingDevice::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExtensionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ExtensionTypeEnum.php deleted file mode 100644 index 554571be8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExtensionTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ExtensionTypeEnum - */ -class ExtensionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ExtensionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExtensionTypeEnum/ExtensionType.php b/src/Google/Ads/GoogleAds/V15/Enums/ExtensionTypeEnum/ExtensionType.php deleted file mode 100644 index 9e74c42c8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExtensionTypeEnum/ExtensionType.php +++ /dev/null @@ -1,148 +0,0 @@ -google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType - */ -class ExtensionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * None. - * - * Generated from protobuf enum NONE = 2; - */ - const NONE = 2; - /** - * App. - * - * Generated from protobuf enum APP = 3; - */ - const APP = 3; - /** - * Call. - * - * Generated from protobuf enum CALL = 4; - */ - const CALL = 4; - /** - * Callout. - * - * Generated from protobuf enum CALLOUT = 5; - */ - const CALLOUT = 5; - /** - * Message. - * - * Generated from protobuf enum MESSAGE = 6; - */ - const MESSAGE = 6; - /** - * Price. - * - * Generated from protobuf enum PRICE = 7; - */ - const PRICE = 7; - /** - * Promotion. - * - * Generated from protobuf enum PROMOTION = 8; - */ - const PROMOTION = 8; - /** - * Sitelink. - * - * Generated from protobuf enum SITELINK = 10; - */ - const SITELINK = 10; - /** - * Structured snippet. - * - * Generated from protobuf enum STRUCTURED_SNIPPET = 11; - */ - const STRUCTURED_SNIPPET = 11; - /** - * Location. - * - * Generated from protobuf enum LOCATION = 12; - */ - const LOCATION = 12; - /** - * Affiliate location. - * - * Generated from protobuf enum AFFILIATE_LOCATION = 13; - */ - const AFFILIATE_LOCATION = 13; - /** - * Hotel callout - * - * Generated from protobuf enum HOTEL_CALLOUT = 15; - */ - const HOTEL_CALLOUT = 15; - /** - * Image. - * - * Generated from protobuf enum IMAGE = 16; - */ - const IMAGE = 16; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NONE => 'NONE', - self::APP => 'APP', - self::CALL => 'CALL', - self::CALLOUT => 'CALLOUT', - self::MESSAGE => 'MESSAGE', - self::PRICE => 'PRICE', - self::PROMOTION => 'PROMOTION', - self::SITELINK => 'SITELINK', - self::STRUCTURED_SNIPPET => 'STRUCTURED_SNIPPET', - self::LOCATION => 'LOCATION', - self::AFFILIATE_LOCATION => 'AFFILIATE_LOCATION', - self::HOTEL_CALLOUT => 'HOTEL_CALLOUT', - self::IMAGE => 'IMAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExtensionType::class, \Google\Ads\GoogleAds\V15\Enums\ExtensionTypeEnum_ExtensionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSourceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSourceEnum.php deleted file mode 100644 index b92394f36..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSourceEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ExternalConversionSourceEnum - */ -class ExternalConversionSourceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ExternalConversionSource::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSourceEnum/ExternalConversionSource.php b/src/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSourceEnum/ExternalConversionSource.php deleted file mode 100644 index fc2f36b04..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ExternalConversionSourceEnum/ExternalConversionSource.php +++ /dev/null @@ -1,281 +0,0 @@ -google.ads.googleads.v15.enums.ExternalConversionSourceEnum.ExternalConversionSource - */ -class ExternalConversionSource -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conversion that occurs when a user navigates to a particular webpage - * after viewing an ad; Displayed in Google Ads UI as 'Website'. - * - * Generated from protobuf enum WEBPAGE = 2; - */ - const WEBPAGE = 2; - /** - * Conversion that comes from linked Google Analytics goal or transaction; - * Displayed in Google Ads UI as 'Analytics'. - * - * Generated from protobuf enum ANALYTICS = 3; - */ - const ANALYTICS = 3; - /** - * Website conversion that is uploaded through ConversionUploadService; - * Displayed in Google Ads UI as 'Import from clicks'. - * - * Generated from protobuf enum UPLOAD = 4; - */ - const UPLOAD = 4; - /** - * Conversion that occurs when a user clicks on a call extension directly on - * an ad; Displayed in Google Ads UI as 'Calls from ads'. - * - * Generated from protobuf enum AD_CALL_METRICS = 5; - */ - const AD_CALL_METRICS = 5; - /** - * Conversion that occurs when a user calls a dynamically-generated phone - * number (by installed javascript) from an advertiser's website after - * clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. - * - * Generated from protobuf enum WEBSITE_CALL_METRICS = 6; - */ - const WEBSITE_CALL_METRICS = 6; - /** - * Conversion that occurs when a user visits an advertiser's retail store - * after clicking on a Google ad; - * Displayed in Google Ads UI as 'Store visits'. - * - * Generated from protobuf enum STORE_VISITS = 7; - */ - const STORE_VISITS = 7; - /** - * Conversion that occurs when a user takes an in-app action such as a - * purchase in an Android app; - * Displayed in Google Ads UI as 'Android in-app action'. - * - * Generated from protobuf enum ANDROID_IN_APP = 8; - */ - const ANDROID_IN_APP = 8; - /** - * Conversion that occurs when a user takes an in-app action such as a - * purchase in an iOS app; - * Displayed in Google Ads UI as 'iOS in-app action'. - * - * Generated from protobuf enum IOS_IN_APP = 9; - */ - const IOS_IN_APP = 9; - /** - * Conversion that occurs when a user opens an iOS app for the first time; - * Displayed in Google Ads UI as 'iOS app install (first open)'. - * - * Generated from protobuf enum IOS_FIRST_OPEN = 10; - */ - const IOS_FIRST_OPEN = 10; - /** - * Legacy app conversions that do not have an AppPlatform provided; - * Displayed in Google Ads UI as 'Mobile app'. - * - * Generated from protobuf enum APP_UNSPECIFIED = 11; - */ - const APP_UNSPECIFIED = 11; - /** - * Conversion that occurs when a user opens an Android app for the first - * time; Displayed in Google Ads UI as 'Android app install (first open)'. - * - * Generated from protobuf enum ANDROID_FIRST_OPEN = 12; - */ - const ANDROID_FIRST_OPEN = 12; - /** - * Call conversion that is uploaded through ConversionUploadService; - * Displayed in Google Ads UI as 'Import from calls'. - * - * Generated from protobuf enum UPLOAD_CALLS = 13; - */ - const UPLOAD_CALLS = 13; - /** - * Conversion that comes from a linked Firebase event; - * Displayed in Google Ads UI as 'Firebase'. - * - * Generated from protobuf enum FIREBASE = 14; - */ - const FIREBASE = 14; - /** - * Conversion that occurs when a user clicks on a mobile phone number; - * Displayed in Google Ads UI as 'Phone number clicks'. - * - * Generated from protobuf enum CLICK_TO_CALL = 15; - */ - const CLICK_TO_CALL = 15; - /** - * Conversion that comes from Salesforce; - * Displayed in Google Ads UI as 'Salesforce.com'. - * - * Generated from protobuf enum SALESFORCE = 16; - */ - const SALESFORCE = 16; - /** - * Conversion that comes from in-store purchases recorded by CRM; - * Displayed in Google Ads UI as 'Store sales (data partner)'. - * - * Generated from protobuf enum STORE_SALES_CRM = 17; - */ - const STORE_SALES_CRM = 17; - /** - * Conversion that comes from in-store purchases from payment network; - * Displayed in Google Ads UI as 'Store sales (payment network)'. - * - * Generated from protobuf enum STORE_SALES_PAYMENT_NETWORK = 18; - */ - const STORE_SALES_PAYMENT_NETWORK = 18; - /** - * Codeless Google Play conversion; - * Displayed in Google Ads UI as 'Google Play'. - * - * Generated from protobuf enum GOOGLE_PLAY = 19; - */ - const GOOGLE_PLAY = 19; - /** - * Conversion that comes from a linked third-party app analytics event; - * Displayed in Google Ads UI as 'Third-party app analytics'. - * - * Generated from protobuf enum THIRD_PARTY_APP_ANALYTICS = 20; - */ - const THIRD_PARTY_APP_ANALYTICS = 20; - /** - * Conversion that is controlled by Google Attribution. - * - * Generated from protobuf enum GOOGLE_ATTRIBUTION = 21; - */ - const GOOGLE_ATTRIBUTION = 21; - /** - * Store Sales conversion based on first-party or third-party merchant data - * uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. - * - * Generated from protobuf enum STORE_SALES_DIRECT_UPLOAD = 23; - */ - const STORE_SALES_DIRECT_UPLOAD = 23; - /** - * Store Sales conversion based on first-party or third-party merchant - * data uploads and/or from in-store purchases using cards from payment - * networks. Displayed in Google Ads UI as 'Store sales'. - * - * Generated from protobuf enum STORE_SALES = 24; - */ - const STORE_SALES = 24; - /** - * Conversions imported from Search Ads 360 Floodlight data. - * - * Generated from protobuf enum SEARCH_ADS_360 = 25; - */ - const SEARCH_ADS_360 = 25; - /** - * Conversions that track local actions from Google's products and services - * after interacting with an ad. - * - * Generated from protobuf enum GOOGLE_HOSTED = 27; - */ - const GOOGLE_HOSTED = 27; - /** - * Conversions reported by Floodlight tags. - * - * Generated from protobuf enum FLOODLIGHT = 29; - */ - const FLOODLIGHT = 29; - /** - * Conversions that come from Google Analytics specifically for Search Ads - * 360. Displayed in Google Ads UI as Analytics (SA360). - * - * Generated from protobuf enum ANALYTICS_SEARCH_ADS_360 = 31; - */ - const ANALYTICS_SEARCH_ADS_360 = 31; - /** - * Conversion that comes from a linked Firebase event for Search Ads 360. - * - * Generated from protobuf enum FIREBASE_SEARCH_ADS_360 = 33; - */ - const FIREBASE_SEARCH_ADS_360 = 33; - /** - * Conversion that is reported by Floodlight for DV360. - * - * Generated from protobuf enum DISPLAY_AND_VIDEO_360_FLOODLIGHT = 34; - */ - const DISPLAY_AND_VIDEO_360_FLOODLIGHT = 34; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::WEBPAGE => 'WEBPAGE', - self::ANALYTICS => 'ANALYTICS', - self::UPLOAD => 'UPLOAD', - self::AD_CALL_METRICS => 'AD_CALL_METRICS', - self::WEBSITE_CALL_METRICS => 'WEBSITE_CALL_METRICS', - self::STORE_VISITS => 'STORE_VISITS', - self::ANDROID_IN_APP => 'ANDROID_IN_APP', - self::IOS_IN_APP => 'IOS_IN_APP', - self::IOS_FIRST_OPEN => 'IOS_FIRST_OPEN', - self::APP_UNSPECIFIED => 'APP_UNSPECIFIED', - self::ANDROID_FIRST_OPEN => 'ANDROID_FIRST_OPEN', - self::UPLOAD_CALLS => 'UPLOAD_CALLS', - self::FIREBASE => 'FIREBASE', - self::CLICK_TO_CALL => 'CLICK_TO_CALL', - self::SALESFORCE => 'SALESFORCE', - self::STORE_SALES_CRM => 'STORE_SALES_CRM', - self::STORE_SALES_PAYMENT_NETWORK => 'STORE_SALES_PAYMENT_NETWORK', - self::GOOGLE_PLAY => 'GOOGLE_PLAY', - self::THIRD_PARTY_APP_ANALYTICS => 'THIRD_PARTY_APP_ANALYTICS', - self::GOOGLE_ATTRIBUTION => 'GOOGLE_ATTRIBUTION', - self::STORE_SALES_DIRECT_UPLOAD => 'STORE_SALES_DIRECT_UPLOAD', - self::STORE_SALES => 'STORE_SALES', - self::SEARCH_ADS_360 => 'SEARCH_ADS_360', - self::GOOGLE_HOSTED => 'GOOGLE_HOSTED', - self::FLOODLIGHT => 'FLOODLIGHT', - self::ANALYTICS_SEARCH_ADS_360 => 'ANALYTICS_SEARCH_ADS_360', - self::FIREBASE_SEARCH_ADS_360 => 'FIREBASE_SEARCH_ADS_360', - self::DISPLAY_AND_VIDEO_360_FLOODLIGHT => 'DISPLAY_AND_VIDEO_360_FLOODLIGHT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExternalConversionSource::class, \Google\Ads\GoogleAds\V15\Enums\ExternalConversionSourceEnum_ExternalConversionSource::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedAttributeTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedAttributeTypeEnum.php deleted file mode 100644 index af78107c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedAttributeTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedAttributeTypeEnum - */ -class FeedAttributeTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedAttributeType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedAttributeTypeEnum/FeedAttributeType.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedAttributeTypeEnum/FeedAttributeType.php deleted file mode 100644 index 9a18b7362..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedAttributeTypeEnum/FeedAttributeType.php +++ /dev/null @@ -1,148 +0,0 @@ -google.ads.googleads.v15.enums.FeedAttributeTypeEnum.FeedAttributeType - */ -class FeedAttributeType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Int64. - * - * Generated from protobuf enum INT64 = 2; - */ - const INT64 = 2; - /** - * Double. - * - * Generated from protobuf enum DOUBLE = 3; - */ - const DOUBLE = 3; - /** - * String. - * - * Generated from protobuf enum STRING = 4; - */ - const STRING = 4; - /** - * Boolean. - * - * Generated from protobuf enum BOOLEAN = 5; - */ - const BOOLEAN = 5; - /** - * Url. - * - * Generated from protobuf enum URL = 6; - */ - const URL = 6; - /** - * Datetime. - * - * Generated from protobuf enum DATE_TIME = 7; - */ - const DATE_TIME = 7; - /** - * Int64 list. - * - * Generated from protobuf enum INT64_LIST = 8; - */ - const INT64_LIST = 8; - /** - * Double (8 bytes) list. - * - * Generated from protobuf enum DOUBLE_LIST = 9; - */ - const DOUBLE_LIST = 9; - /** - * String list. - * - * Generated from protobuf enum STRING_LIST = 10; - */ - const STRING_LIST = 10; - /** - * Boolean list. - * - * Generated from protobuf enum BOOLEAN_LIST = 11; - */ - const BOOLEAN_LIST = 11; - /** - * Url list. - * - * Generated from protobuf enum URL_LIST = 12; - */ - const URL_LIST = 12; - /** - * Datetime list. - * - * Generated from protobuf enum DATE_TIME_LIST = 13; - */ - const DATE_TIME_LIST = 13; - /** - * Price. - * - * Generated from protobuf enum PRICE = 14; - */ - const PRICE = 14; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INT64 => 'INT64', - self::DOUBLE => 'DOUBLE', - self::STRING => 'STRING', - self::BOOLEAN => 'BOOLEAN', - self::URL => 'URL', - self::DATE_TIME => 'DATE_TIME', - self::INT64_LIST => 'INT64_LIST', - self::DOUBLE_LIST => 'DOUBLE_LIST', - self::STRING_LIST => 'STRING_LIST', - self::BOOLEAN_LIST => 'BOOLEAN_LIST', - self::URL_LIST => 'URL_LIST', - self::DATE_TIME_LIST => 'DATE_TIME_LIST', - self::PRICE => 'PRICE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedAttributeType::class, \Google\Ads\GoogleAds\V15\Enums\FeedAttributeTypeEnum_FeedAttributeType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatusEnum.php deleted file mode 100644 index 192feac14..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemQualityApprovalStatusEnum - */ -class FeedItemQualityApprovalStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemQualityApprovalStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatusEnum/FeedItemQualityApprovalStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatusEnum/FeedItemQualityApprovalStatus.php deleted file mode 100644 index 7552ebaa9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityApprovalStatusEnum/FeedItemQualityApprovalStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus - */ -class FeedItemQualityApprovalStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Meets all quality expectations. - * - * Generated from protobuf enum APPROVED = 2; - */ - const APPROVED = 2; - /** - * Does not meet some quality expectations. The specific reason is found in - * the quality_disapproval_reasons field. - * - * Generated from protobuf enum DISAPPROVED = 3; - */ - const DISAPPROVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::APPROVED => 'APPROVED', - self::DISAPPROVED => 'DISAPPROVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemQualityApprovalStatus::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemQualityApprovalStatusEnum_FeedItemQualityApprovalStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReasonEnum.php deleted file mode 100644 index 6153c6dd9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReasonEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemQualityDisapprovalReasonEnum - */ -class FeedItemQualityDisapprovalReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemQualityDisapprovalReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReasonEnum/FeedItemQualityDisapprovalReason.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReasonEnum/FeedItemQualityDisapprovalReason.php deleted file mode 100644 index 0dc850df0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemQualityDisapprovalReasonEnum/FeedItemQualityDisapprovalReason.php +++ /dev/null @@ -1,183 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason - */ -class FeedItemQualityDisapprovalReason -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Price contains repetitive headers. - * - * Generated from protobuf enum PRICE_TABLE_REPETITIVE_HEADERS = 2; - */ - const PRICE_TABLE_REPETITIVE_HEADERS = 2; - /** - * Price contains repetitive description. - * - * Generated from protobuf enum PRICE_TABLE_REPETITIVE_DESCRIPTION = 3; - */ - const PRICE_TABLE_REPETITIVE_DESCRIPTION = 3; - /** - * Price contains inconsistent items. - * - * Generated from protobuf enum PRICE_TABLE_INCONSISTENT_ROWS = 4; - */ - const PRICE_TABLE_INCONSISTENT_ROWS = 4; - /** - * Price contains qualifiers in description. - * - * Generated from protobuf enum PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS = 5; - */ - const PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS = 5; - /** - * Price contains an unsupported language. - * - * Generated from protobuf enum PRICE_UNSUPPORTED_LANGUAGE = 6; - */ - const PRICE_UNSUPPORTED_LANGUAGE = 6; - /** - * Price item header is not relevant to the price type. - * - * Generated from protobuf enum PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH = 7; - */ - const PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH = 7; - /** - * Price item header has promotional text. - * - * Generated from protobuf enum PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT = 8; - */ - const PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT = 8; - /** - * Price item description is not relevant to the item header. - * - * Generated from protobuf enum PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT = 9; - */ - const PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT = 9; - /** - * Price item description contains promotional text. - * - * Generated from protobuf enum PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT = 10; - */ - const PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT = 10; - /** - * Price item header and description are repetitive. - * - * Generated from protobuf enum PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE = 11; - */ - const PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE = 11; - /** - * Price item is in a foreign language, nonsense, or can't be rated. - * - * Generated from protobuf enum PRICE_TABLE_ROW_UNRATEABLE = 12; - */ - const PRICE_TABLE_ROW_UNRATEABLE = 12; - /** - * Price item price is invalid or inaccurate. - * - * Generated from protobuf enum PRICE_TABLE_ROW_PRICE_INVALID = 13; - */ - const PRICE_TABLE_ROW_PRICE_INVALID = 13; - /** - * Price item URL is invalid or irrelevant. - * - * Generated from protobuf enum PRICE_TABLE_ROW_URL_INVALID = 14; - */ - const PRICE_TABLE_ROW_URL_INVALID = 14; - /** - * Price item header or description has price. - * - * Generated from protobuf enum PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE = 15; - */ - const PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE = 15; - /** - * Structured snippet values do not match the header. - * - * Generated from protobuf enum STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED = 16; - */ - const STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED = 16; - /** - * Structured snippet values are repeated. - * - * Generated from protobuf enum STRUCTURED_SNIPPETS_REPEATED_VALUES = 17; - */ - const STRUCTURED_SNIPPETS_REPEATED_VALUES = 17; - /** - * Structured snippet values violate editorial guidelines like punctuation. - * - * Generated from protobuf enum STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18; - */ - const STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18; - /** - * Structured snippet contain promotional text. - * - * Generated from protobuf enum STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19; - */ - const STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PRICE_TABLE_REPETITIVE_HEADERS => 'PRICE_TABLE_REPETITIVE_HEADERS', - self::PRICE_TABLE_REPETITIVE_DESCRIPTION => 'PRICE_TABLE_REPETITIVE_DESCRIPTION', - self::PRICE_TABLE_INCONSISTENT_ROWS => 'PRICE_TABLE_INCONSISTENT_ROWS', - self::PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS => 'PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS', - self::PRICE_UNSUPPORTED_LANGUAGE => 'PRICE_UNSUPPORTED_LANGUAGE', - self::PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH => 'PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH', - self::PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT => 'PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT', - self::PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT => 'PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT', - self::PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT => 'PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT', - self::PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE => 'PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE', - self::PRICE_TABLE_ROW_UNRATEABLE => 'PRICE_TABLE_ROW_UNRATEABLE', - self::PRICE_TABLE_ROW_PRICE_INVALID => 'PRICE_TABLE_ROW_PRICE_INVALID', - self::PRICE_TABLE_ROW_URL_INVALID => 'PRICE_TABLE_ROW_URL_INVALID', - self::PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE => 'PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE', - self::STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED => 'STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED', - self::STRUCTURED_SNIPPETS_REPEATED_VALUES => 'STRUCTURED_SNIPPETS_REPEATED_VALUES', - self::STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES => 'STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES', - self::STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT => 'STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemQualityDisapprovalReason::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemQualityDisapprovalReasonEnum_FeedItemQualityDisapprovalReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatusEnum.php deleted file mode 100644 index 1cdcf745f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemSetStatusEnum - */ -class FeedItemSetStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemSetStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatusEnum/FeedItemSetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatusEnum/FeedItemSetStatus.php deleted file mode 100644 index 16ca433ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStatusEnum/FeedItemSetStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemSetStatusEnum.FeedItemSetStatus - */ -class FeedItemSetStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Feed item set is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Feed item set has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemSetStatus::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemSetStatusEnum_FeedItemSetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterTypeEnum.php deleted file mode 100644 index c82010b14..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemSetStringFilterTypeEnum - */ -class FeedItemSetStringFilterTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemSetStringFilterType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterTypeEnum/FeedItemSetStringFilterType.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterTypeEnum/FeedItemSetStringFilterType.php deleted file mode 100644 index cdc8282aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemSetStringFilterTypeEnum/FeedItemSetStringFilterType.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType - */ -class FeedItemSetStringFilterType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The dynamic set filter will use exact string matching. - * - * Generated from protobuf enum EXACT = 2; - */ - const EXACT = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXACT => 'EXACT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemSetStringFilterType::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemSetStringFilterTypeEnum_FeedItemSetStringFilterType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemStatusEnum.php deleted file mode 100644 index 95793fc82..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemStatusEnum - */ -class FeedItemStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemStatusEnum/FeedItemStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemStatusEnum/FeedItemStatus.php deleted file mode 100644 index d70ec0332..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemStatusEnum/FeedItemStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemStatusEnum.FeedItemStatus - */ -class FeedItemStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Feed item is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Feed item has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemStatus::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemStatusEnum_FeedItemStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDeviceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDeviceEnum.php deleted file mode 100644 index fc83d9184..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDeviceEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum - */ -class FeedItemTargetDeviceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemTargetDevice::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDeviceEnum/FeedItemTargetDevice.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDeviceEnum/FeedItemTargetDevice.php deleted file mode 100644 index b361e11d4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetDeviceEnum/FeedItemTargetDevice.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice - */ -class FeedItemTargetDevice -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Mobile. - * - * Generated from protobuf enum MOBILE = 2; - */ - const MOBILE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MOBILE => 'MOBILE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemTargetDevice::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemTargetDeviceEnum_FeedItemTargetDevice::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatusEnum.php deleted file mode 100644 index bb391c711..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemTargetStatusEnum - */ -class FeedItemTargetStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemTargetStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatusEnum/FeedItemTargetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatusEnum/FeedItemTargetStatus.php deleted file mode 100644 index 1400895ba..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetStatusEnum/FeedItemTargetStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus - */ -class FeedItemTargetStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Feed item target is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Feed item target has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemTargetStatus::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemTargetStatusEnum_FeedItemTargetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetTypeEnum.php deleted file mode 100644 index b299ad472..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemTargetTypeEnum - */ -class FeedItemTargetTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemTargetType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetTypeEnum/FeedItemTargetType.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetTypeEnum/FeedItemTargetType.php deleted file mode 100644 index da71ccf4d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemTargetTypeEnum/FeedItemTargetType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemTargetTypeEnum.FeedItemTargetType - */ -class FeedItemTargetType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Feed item targets a campaign. - * - * Generated from protobuf enum CAMPAIGN = 2; - */ - const CAMPAIGN = 2; - /** - * Feed item targets an ad group. - * - * Generated from protobuf enum AD_GROUP = 3; - */ - const AD_GROUP = 3; - /** - * Feed item targets a criterion. - * - * Generated from protobuf enum CRITERION = 4; - */ - const CRITERION = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGN => 'CAMPAIGN', - self::AD_GROUP => 'AD_GROUP', - self::CRITERION => 'CRITERION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemTargetType::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemTargetTypeEnum_FeedItemTargetType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatusEnum.php deleted file mode 100644 index e3a19bdcf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemValidationStatusEnum - */ -class FeedItemValidationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedItemValidationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatusEnum/FeedItemValidationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatusEnum/FeedItemValidationStatus.php deleted file mode 100644 index 27a2cf923..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedItemValidationStatusEnum/FeedItemValidationStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus - */ -class FeedItemValidationStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Validation pending. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * An error was found. - * - * Generated from protobuf enum INVALID = 3; - */ - const INVALID = 3; - /** - * Feed item is semantically well-formed. - * - * Generated from protobuf enum VALID = 4; - */ - const VALID = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::INVALID => 'INVALID', - self::VALID => 'VALID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemValidationStatus::class, \Google\Ads\GoogleAds\V15\Enums\FeedItemValidationStatusEnum_FeedItemValidationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatusEnum.php deleted file mode 100644 index 469d63a96..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedLinkStatusEnum - */ -class FeedLinkStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedLinkStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatusEnum/FeedLinkStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatusEnum/FeedLinkStatus.php deleted file mode 100644 index ef35e168c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedLinkStatusEnum/FeedLinkStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus - */ -class FeedLinkStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Feed link is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Feed link has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedLinkStatus::class, \Google\Ads\GoogleAds\V15\Enums\FeedLinkStatusEnum_FeedLinkStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionTypeEnum.php deleted file mode 100644 index 7d69859f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedMappingCriterionTypeEnum - */ -class FeedMappingCriterionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedMappingCriterionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionTypeEnum/FeedMappingCriterionType.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionTypeEnum/FeedMappingCriterionType.php deleted file mode 100644 index 72549fa0b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingCriterionTypeEnum/FeedMappingCriterionType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType - */ -class FeedMappingCriterionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Allows campaign targeting at locations within a location feed. - * - * Generated from protobuf enum LOCATION_EXTENSION_TARGETING = 4; - */ - const LOCATION_EXTENSION_TARGETING = 4; - /** - * Allows url targeting for your dynamic search ads within a page feed. - * - * Generated from protobuf enum DSA_PAGE_FEED = 3; - */ - const DSA_PAGE_FEED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LOCATION_EXTENSION_TARGETING => 'LOCATION_EXTENSION_TARGETING', - self::DSA_PAGE_FEED => 'DSA_PAGE_FEED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedMappingCriterionType::class, \Google\Ads\GoogleAds\V15\Enums\FeedMappingCriterionTypeEnum_FeedMappingCriterionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatusEnum.php deleted file mode 100644 index 8fb29a079..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedMappingStatusEnum - */ -class FeedMappingStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedMappingStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatusEnum/FeedMappingStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatusEnum/FeedMappingStatus.php deleted file mode 100644 index 2a28f35c1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedMappingStatusEnum/FeedMappingStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.FeedMappingStatusEnum.FeedMappingStatus - */ -class FeedMappingStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Feed mapping is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Feed mapping has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedMappingStatus::class, \Google\Ads\GoogleAds\V15\Enums\FeedMappingStatusEnum_FeedMappingStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedOriginEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedOriginEnum.php deleted file mode 100644 index ba1cbf55d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedOriginEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedOriginEnum - */ -class FeedOriginEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedOrigin::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedOriginEnum/FeedOrigin.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedOriginEnum/FeedOrigin.php deleted file mode 100644 index f03b5d3dc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedOriginEnum/FeedOrigin.php +++ /dev/null @@ -1,74 +0,0 @@ -google.ads.googleads.v15.enums.FeedOriginEnum.FeedOrigin - */ -class FeedOrigin -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The FeedAttributes for this Feed are managed by the - * user. Users can add FeedAttributes to this Feed. - * - * Generated from protobuf enum USER = 2; - */ - const USER = 2; - /** - * The FeedAttributes for a GOOGLE Feed are created by Google. A feed of - * this type is maintained by Google and will have the correct attributes - * for the placeholder type of the feed. - * - * Generated from protobuf enum GOOGLE = 3; - */ - const GOOGLE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::USER => 'USER', - self::GOOGLE => 'GOOGLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedOrigin::class, \Google\Ads\GoogleAds\V15\Enums\FeedOriginEnum_FeedOrigin::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedStatusEnum.php deleted file mode 100644 index 5a161a5bd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FeedStatusEnum - */ -class FeedStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FeedStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FeedStatusEnum/FeedStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/FeedStatusEnum/FeedStatus.php deleted file mode 100644 index c3cf31d4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FeedStatusEnum/FeedStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.FeedStatusEnum.FeedStatus - */ -class FeedStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Feed is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Feed has been removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedStatus::class, \Google\Ads\GoogleAds\V15\Enums\FeedStatusEnum_FeedStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderFieldEnum.php deleted file mode 100644 index c280aebfc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderFieldEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.FlightPlaceholderFieldEnum - */ -class FlightPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FlightPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderFieldEnum/FlightPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderFieldEnum/FlightPlaceholderField.php deleted file mode 100644 index 7a77a61a5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FlightPlaceholderFieldEnum/FlightPlaceholderField.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField - */ -class FlightPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Required. Destination id. Example: PAR, LON. - * For feed items that only have destination id, destination id must be a - * unique key. For feed items that have both destination id and origin id, - * then the combination must be a unique key. - * - * Generated from protobuf enum DESTINATION_ID = 2; - */ - const DESTINATION_ID = 2; - /** - * Data Type: STRING. Origin id. Example: PAR, LON. - * Optional. Combination of destination id and origin id must be unique per - * offer. - * - * Generated from protobuf enum ORIGIN_ID = 3; - */ - const ORIGIN_ID = 3; - /** - * Data Type: STRING. Required. Main headline with product name to be shown - * in dynamic ad. - * - * Generated from protobuf enum FLIGHT_DESCRIPTION = 4; - */ - const FLIGHT_DESCRIPTION = 4; - /** - * Data Type: STRING. Shorter names are recommended. - * - * Generated from protobuf enum ORIGIN_NAME = 5; - */ - const ORIGIN_NAME = 5; - /** - * Data Type: STRING. Shorter names are recommended. - * - * Generated from protobuf enum DESTINATION_NAME = 6; - */ - const DESTINATION_NAME = 6; - /** - * Data Type: STRING. Price to be shown in the ad. - * Example: "100.00 USD" - * - * Generated from protobuf enum FLIGHT_PRICE = 7; - */ - const FLIGHT_PRICE = 7; - /** - * Data Type: STRING. Formatted price to be shown in the ad. - * Example: "Starting at $100.00 USD", "$80 - $100" - * - * Generated from protobuf enum FORMATTED_PRICE = 8; - */ - const FORMATTED_PRICE = 8; - /** - * Data Type: STRING. Sale price to be shown in the ad. - * Example: "80.00 USD" - * - * Generated from protobuf enum FLIGHT_SALE_PRICE = 9; - */ - const FLIGHT_SALE_PRICE = 9; - /** - * Data Type: STRING. Formatted sale price to be shown in the ad. - * Example: "On sale for $80.00", "$60 - $80" - * - * Generated from protobuf enum FORMATTED_SALE_PRICE = 10; - */ - const FORMATTED_SALE_PRICE = 10; - /** - * Data Type: URL. Image to be displayed in the ad. - * - * Generated from protobuf enum IMAGE_URL = 11; - */ - const IMAGE_URL = 11; - /** - * Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - * URLs. User will be redirected to these URLs when they click on an ad, or - * when they click on a specific flight for ads that show multiple - * flights. - * - * Generated from protobuf enum FINAL_URLS = 12; - */ - const FINAL_URLS = 12; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 13; - */ - const FINAL_MOBILE_URLS = 13; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 14; - */ - const TRACKING_URL = 14; - /** - * Data Type: STRING. Android app link. Must be formatted as: - * android-app://{package_id}/{scheme}/{host_path}. - * The components are defined as follows: - * package_id: app ID as specified in Google Play. - * scheme: the scheme to pass to the application. Can be HTTP, or a custom - * scheme. - * host_path: identifies the specific content within your application. - * - * Generated from protobuf enum ANDROID_APP_LINK = 15; - */ - const ANDROID_APP_LINK = 15; - /** - * Data Type: STRING_LIST. List of recommended destination IDs to show - * together with this item. - * - * Generated from protobuf enum SIMILAR_DESTINATION_IDS = 16; - */ - const SIMILAR_DESTINATION_IDS = 16; - /** - * Data Type: STRING. iOS app link. - * - * Generated from protobuf enum IOS_APP_LINK = 17; - */ - const IOS_APP_LINK = 17; - /** - * Data Type: INT64. iOS app store ID. - * - * Generated from protobuf enum IOS_APP_STORE_ID = 18; - */ - const IOS_APP_STORE_ID = 18; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DESTINATION_ID => 'DESTINATION_ID', - self::ORIGIN_ID => 'ORIGIN_ID', - self::FLIGHT_DESCRIPTION => 'FLIGHT_DESCRIPTION', - self::ORIGIN_NAME => 'ORIGIN_NAME', - self::DESTINATION_NAME => 'DESTINATION_NAME', - self::FLIGHT_PRICE => 'FLIGHT_PRICE', - self::FORMATTED_PRICE => 'FORMATTED_PRICE', - self::FLIGHT_SALE_PRICE => 'FLIGHT_SALE_PRICE', - self::FORMATTED_SALE_PRICE => 'FORMATTED_SALE_PRICE', - self::IMAGE_URL => 'IMAGE_URL', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::ANDROID_APP_LINK => 'ANDROID_APP_LINK', - self::SIMILAR_DESTINATION_IDS => 'SIMILAR_DESTINATION_IDS', - self::IOS_APP_LINK => 'IOS_APP_LINK', - self::IOS_APP_STORE_ID => 'IOS_APP_STORE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FlightPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\FlightPlaceholderFieldEnum_FlightPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventTypeEnum.php deleted file mode 100644 index b1172c57c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FrequencyCapEventTypeEnum - */ -class FrequencyCapEventTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FrequencyCapEventType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventTypeEnum/FrequencyCapEventType.php b/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventTypeEnum/FrequencyCapEventType.php deleted file mode 100644 index 19b71aad4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapEventTypeEnum/FrequencyCapEventType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType - */ -class FrequencyCapEventType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The cap applies on ad impressions. - * - * Generated from protobuf enum IMPRESSION = 2; - */ - const IMPRESSION = 2; - /** - * The cap applies on video ad views. - * - * Generated from protobuf enum VIDEO_VIEW = 3; - */ - const VIDEO_VIEW = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::IMPRESSION => 'IMPRESSION', - self::VIDEO_VIEW => 'VIDEO_VIEW', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FrequencyCapEventType::class, \Google\Ads\GoogleAds\V15\Enums\FrequencyCapEventTypeEnum_FrequencyCapEventType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevelEnum.php deleted file mode 100644 index d813646ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FrequencyCapLevelEnum - */ -class FrequencyCapLevelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FrequencyCapLevel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevelEnum/FrequencyCapLevel.php b/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevelEnum/FrequencyCapLevel.php deleted file mode 100644 index 743f3e3ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapLevelEnum/FrequencyCapLevel.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.FrequencyCapLevelEnum.FrequencyCapLevel - */ -class FrequencyCapLevel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The cap is applied at the ad group ad level. - * - * Generated from protobuf enum AD_GROUP_AD = 2; - */ - const AD_GROUP_AD = 2; - /** - * The cap is applied at the ad group level. - * - * Generated from protobuf enum AD_GROUP = 3; - */ - const AD_GROUP = 3; - /** - * The cap is applied at the campaign level. - * - * Generated from protobuf enum CAMPAIGN = 4; - */ - const CAMPAIGN = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_GROUP_AD => 'AD_GROUP_AD', - self::AD_GROUP => 'AD_GROUP', - self::CAMPAIGN => 'CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FrequencyCapLevel::class, \Google\Ads\GoogleAds\V15\Enums\FrequencyCapLevelEnum_FrequencyCapLevel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnitEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnitEnum.php deleted file mode 100644 index 9e832a7da..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnitEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum - */ -class FrequencyCapTimeUnitEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\FrequencyCapTimeUnit::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnitEnum/FrequencyCapTimeUnit.php b/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnitEnum/FrequencyCapTimeUnit.php deleted file mode 100644 index 7cd032ba4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/FrequencyCapTimeUnitEnum/FrequencyCapTimeUnit.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit - */ -class FrequencyCapTimeUnit -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The cap would define limit per one day. - * - * Generated from protobuf enum DAY = 2; - */ - const DAY = 2; - /** - * The cap would define limit per one week. - * - * Generated from protobuf enum WEEK = 3; - */ - const WEEK = 3; - /** - * The cap would define limit per one month. - * - * Generated from protobuf enum MONTH = 4; - */ - const MONTH = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DAY => 'DAY', - self::WEEK => 'WEEK', - self::MONTH => 'MONTH', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FrequencyCapTimeUnit::class, \Google\Ads\GoogleAds\V15\Enums\FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GenderTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/GenderTypeEnum.php deleted file mode 100644 index 094b1fefe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GenderTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.GenderTypeEnum - */ -class GenderTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\GenderType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GenderTypeEnum/GenderType.php b/src/Google/Ads/GoogleAds/V15/Enums/GenderTypeEnum/GenderType.php deleted file mode 100644 index ea91fcc13..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GenderTypeEnum/GenderType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.GenderTypeEnum.GenderType - */ -class GenderType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Male. - * - * Generated from protobuf enum MALE = 10; - */ - const MALE = 10; - /** - * Female. - * - * Generated from protobuf enum FEMALE = 11; - */ - const FEMALE = 11; - /** - * Undetermined gender. - * - * Generated from protobuf enum UNDETERMINED = 20; - */ - const UNDETERMINED = 20; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MALE => 'MALE', - self::FEMALE => 'FEMALE', - self::UNDETERMINED => 'UNDETERMINED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GenderType::class, \Google\Ads\GoogleAds\V15\Enums\GenderTypeEnum_GenderType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatusEnum.php deleted file mode 100644 index 459405c21..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.GeoTargetConstantStatusEnum - */ -class GeoTargetConstantStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\GeoTargetConstantStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatusEnum/GeoTargetConstantStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatusEnum/GeoTargetConstantStatus.php deleted file mode 100644 index 4de895a10..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetConstantStatusEnum/GeoTargetConstantStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus - */ -class GeoTargetConstantStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The geo target constant is valid. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The geo target constant is obsolete and will be removed. - * - * Generated from protobuf enum REMOVAL_PLANNED = 3; - */ - const REMOVAL_PLANNED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVAL_PLANNED => 'REMOVAL_PLANNED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GeoTargetConstantStatus::class, \Google\Ads\GoogleAds\V15\Enums\GeoTargetConstantStatusEnum_GeoTargetConstantStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestrictionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestrictionEnum.php deleted file mode 100644 index 071c01d12..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestrictionEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.GeoTargetingRestrictionEnum - */ -class GeoTargetingRestrictionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\GeoTargetingRestriction::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestrictionEnum/GeoTargetingRestriction.php b/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestrictionEnum/GeoTargetingRestriction.php deleted file mode 100644 index 45ffed191..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingRestrictionEnum/GeoTargetingRestriction.php +++ /dev/null @@ -1,66 +0,0 @@ -google.ads.googleads.v15.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction - */ -class GeoTargetingRestriction -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Indicates that request context should match the physical location of - * the user. - * - * Generated from protobuf enum LOCATION_OF_PRESENCE = 2; - */ - const LOCATION_OF_PRESENCE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LOCATION_OF_PRESENCE => 'LOCATION_OF_PRESENCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GeoTargetingRestriction::class, \Google\Ads\GoogleAds\V15\Enums\GeoTargetingRestrictionEnum_GeoTargetingRestriction::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingTypeEnum.php deleted file mode 100644 index 9c85d64b3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.GeoTargetingTypeEnum - */ -class GeoTargetingTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\GeoTargetingType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingTypeEnum/GeoTargetingType.php b/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingTypeEnum/GeoTargetingType.php deleted file mode 100644 index 823c280d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GeoTargetingTypeEnum/GeoTargetingType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.GeoTargetingTypeEnum.GeoTargetingType - */ -class GeoTargetingType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Location the user is interested in while making the query. - * - * Generated from protobuf enum AREA_OF_INTEREST = 2; - */ - const AREA_OF_INTEREST = 2; - /** - * Location of the user issuing the query. - * - * Generated from protobuf enum LOCATION_OF_PRESENCE = 3; - */ - const LOCATION_OF_PRESENCE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AREA_OF_INTEREST => 'AREA_OF_INTEREST', - self::LOCATION_OF_PRESENCE => 'LOCATION_OF_PRESENCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GeoTargetingType::class, \Google\Ads\GoogleAds\V15\Enums\GeoTargetingTypeEnum_GeoTargetingType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevelEnum.php deleted file mode 100644 index 02332279e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.GoalConfigLevelEnum - */ -class GoalConfigLevelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\GoalConfigLevel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevelEnum/GoalConfigLevel.php b/src/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevelEnum/GoalConfigLevel.php deleted file mode 100644 index 3226ef1e6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GoalConfigLevelEnum/GoalConfigLevel.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.enums.GoalConfigLevelEnum.GoalConfigLevel - */ -class GoalConfigLevel -{ - /** - * The goal config level has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The goal config level is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The goal config is defined at the customer level. - * - * Generated from protobuf enum CUSTOMER = 2; - */ - const CUSTOMER = 2; - /** - * The goal config is defined at the campaign level. - * - * Generated from protobuf enum CAMPAIGN = 3; - */ - const CAMPAIGN = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER => 'CUSTOMER', - self::CAMPAIGN => 'CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GoalConfigLevel::class, \Google\Ads\GoogleAds\V15\Enums\GoalConfigLevelEnum_GoalConfigLevel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategoryEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategoryEnum.php deleted file mode 100644 index 8a8ff80b4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategoryEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.GoogleAdsFieldCategoryEnum - */ -class GoogleAdsFieldCategoryEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\GoogleAdsFieldCategory::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategoryEnum/GoogleAdsFieldCategory.php b/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategoryEnum/GoogleAdsFieldCategory.php deleted file mode 100644 index 38ee7c391..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldCategoryEnum/GoogleAdsFieldCategory.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory - */ -class GoogleAdsFieldCategory -{ - /** - * Unspecified - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Unknown - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The described artifact is a resource. - * - * Generated from protobuf enum RESOURCE = 2; - */ - const RESOURCE = 2; - /** - * The described artifact is a field and is an attribute of a resource. - * Including a resource attribute field in a query may segment the query if - * the resource to which it is attributed segments the resource found in - * the FROM clause. - * - * Generated from protobuf enum ATTRIBUTE = 3; - */ - const ATTRIBUTE = 3; - /** - * The described artifact is a field and always segments search queries. - * - * Generated from protobuf enum SEGMENT = 5; - */ - const SEGMENT = 5; - /** - * The described artifact is a field and is a metric. It never segments - * search queries. - * - * Generated from protobuf enum METRIC = 6; - */ - const METRIC = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::RESOURCE => 'RESOURCE', - self::ATTRIBUTE => 'ATTRIBUTE', - self::SEGMENT => 'SEGMENT', - self::METRIC => 'METRIC', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GoogleAdsFieldCategory::class, \Google\Ads\GoogleAds\V15\Enums\GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataTypeEnum.php deleted file mode 100644 index 6e4ec3d75..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.GoogleAdsFieldDataTypeEnum - */ -class GoogleAdsFieldDataTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\GoogleAdsFieldDataType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataTypeEnum/GoogleAdsFieldDataType.php b/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataTypeEnum/GoogleAdsFieldDataType.php deleted file mode 100644 index aac820f81..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GoogleAdsFieldDataTypeEnum/GoogleAdsFieldDataType.php +++ /dev/null @@ -1,148 +0,0 @@ -google.ads.googleads.v15.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType - */ -class GoogleAdsFieldDataType -{ - /** - * Unspecified - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Unknown - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Maps to google.protobuf.BoolValue - * Applicable operators: =, != - * - * Generated from protobuf enum BOOLEAN = 2; - */ - const BOOLEAN = 2; - /** - * Maps to google.protobuf.StringValue. It can be compared using the set of - * operators specific to dates however. - * Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN - * - * Generated from protobuf enum DATE = 3; - */ - const DATE = 3; - /** - * Maps to google.protobuf.DoubleValue - * Applicable operators: =, !=, <, >, IN, NOT IN - * - * Generated from protobuf enum DOUBLE = 4; - */ - const DOUBLE = 4; - /** - * Maps to an enum. It's specific definition can be found at type_url. - * Applicable operators: =, !=, IN, NOT IN - * - * Generated from protobuf enum ENUM = 5; - */ - const ENUM = 5; - /** - * Maps to google.protobuf.FloatValue - * Applicable operators: =, !=, <, >, IN, NOT IN - * - * Generated from protobuf enum FLOAT = 6; - */ - const FLOAT = 6; - /** - * Maps to google.protobuf.Int32Value - * Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - * - * Generated from protobuf enum INT32 = 7; - */ - const INT32 = 7; - /** - * Maps to google.protobuf.Int64Value - * Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - * - * Generated from protobuf enum INT64 = 8; - */ - const INT64 = 8; - /** - * Maps to a protocol buffer message type. The data type's details can be - * found in type_url. - * No operators work with MESSAGE fields. - * - * Generated from protobuf enum MESSAGE = 9; - */ - const MESSAGE = 9; - /** - * Maps to google.protobuf.StringValue. Represents the resource name - * (unique id) of a resource or one of its foreign keys. - * No operators work with RESOURCE_NAME fields. - * - * Generated from protobuf enum RESOURCE_NAME = 10; - */ - const RESOURCE_NAME = 10; - /** - * Maps to google.protobuf.StringValue. - * Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN - * - * Generated from protobuf enum STRING = 11; - */ - const STRING = 11; - /** - * Maps to google.protobuf.UInt64Value - * Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - * - * Generated from protobuf enum UINT64 = 12; - */ - const UINT64 = 12; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BOOLEAN => 'BOOLEAN', - self::DATE => 'DATE', - self::DOUBLE => 'DOUBLE', - self::ENUM => 'ENUM', - self::FLOAT => 'FLOAT', - self::INT32 => 'INT32', - self::INT64 => 'INT64', - self::MESSAGE => 'MESSAGE', - self::RESOURCE_NAME => 'RESOURCE_NAME', - self::STRING => 'STRING', - self::UINT64 => 'UINT64', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GoogleAdsFieldDataType::class, \Google\Ads\GoogleAds\V15\Enums\GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatusEnum.php deleted file mode 100644 index d4193190b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.GoogleVoiceCallStatusEnum - */ -class GoogleVoiceCallStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\GoogleVoiceCallStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatusEnum/GoogleVoiceCallStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatusEnum/GoogleVoiceCallStatus.php deleted file mode 100644 index 761c22cf6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/GoogleVoiceCallStatusEnum/GoogleVoiceCallStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus - */ -class GoogleVoiceCallStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The call was missed. - * - * Generated from protobuf enum MISSED = 2; - */ - const MISSED = 2; - /** - * The call was received. - * - * Generated from protobuf enum RECEIVED = 3; - */ - const RECEIVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MISSED => 'MISSED', - self::RECEIVED => 'RECEIVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GoogleVoiceCallStatus::class, \Google\Ads\GoogleAds\V15\Enums\GoogleVoiceCallStatusEnum_GoogleVoiceCallStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatusEnum.php deleted file mode 100644 index 5afb6865a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.HotelAssetSuggestionStatusEnum - */ -class HotelAssetSuggestionStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\HotelAssetSuggestionStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatusEnum/HotelAssetSuggestionStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatusEnum/HotelAssetSuggestionStatus.php deleted file mode 100644 index 368e9252b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelAssetSuggestionStatusEnum/HotelAssetSuggestionStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus - */ -class HotelAssetSuggestionStatus -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The hotel asset suggestion was successfully retrieved. - * - * Generated from protobuf enum SUCCESS = 2; - */ - const SUCCESS = 2; - /** - * A hotel look up returns nothing. - * - * Generated from protobuf enum HOTEL_NOT_FOUND = 3; - */ - const HOTEL_NOT_FOUND = 3; - /** - * A Google Places ID is invalid and cannot be decoded. - * - * Generated from protobuf enum INVALID_PLACE_ID = 4; - */ - const INVALID_PLACE_ID = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SUCCESS => 'SUCCESS', - self::HOTEL_NOT_FOUND => 'HOTEL_NOT_FOUND', - self::INVALID_PLACE_ID => 'INVALID_PLACE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HotelAssetSuggestionStatus::class, \Google\Ads\GoogleAds\V15\Enums\HotelAssetSuggestionStatusEnum_HotelAssetSuggestionStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionTypeEnum.php deleted file mode 100644 index eefbf4aba..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum - */ -class HotelDateSelectionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\HotelDateSelectionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionTypeEnum/HotelDateSelectionType.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionTypeEnum/HotelDateSelectionType.php deleted file mode 100644 index 8b532a19a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelDateSelectionTypeEnum/HotelDateSelectionType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType - */ -class HotelDateSelectionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Dates selected by default. - * - * Generated from protobuf enum DEFAULT_SELECTION = 50; - */ - const DEFAULT_SELECTION = 50; - /** - * Dates selected by the user. - * - * Generated from protobuf enum USER_SELECTED = 51; - */ - const USER_SELECTED = 51; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DEFAULT_SELECTION => 'DEFAULT_SELECTION', - self::USER_SELECTED => 'USER_SELECTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HotelDateSelectionType::class, \Google\Ads\GoogleAds\V15\Enums\HotelDateSelectionTypeEnum_HotelDateSelectionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderFieldEnum.php deleted file mode 100644 index 8d871b86c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderFieldEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.HotelPlaceholderFieldEnum - */ -class HotelPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\HotelPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderFieldEnum/HotelPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderFieldEnum/HotelPlaceholderField.php deleted file mode 100644 index d781877f4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelPlaceholderFieldEnum/HotelPlaceholderField.php +++ /dev/null @@ -1,215 +0,0 @@ -google.ads.googleads.v15.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField - */ -class HotelPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Required. Unique ID. - * - * Generated from protobuf enum PROPERTY_ID = 2; - */ - const PROPERTY_ID = 2; - /** - * Data Type: STRING. Required. Main headline with property name to be shown - * in dynamic ad. - * - * Generated from protobuf enum PROPERTY_NAME = 3; - */ - const PROPERTY_NAME = 3; - /** - * Data Type: STRING. Name of destination to be shown in dynamic ad. - * - * Generated from protobuf enum DESTINATION_NAME = 4; - */ - const DESTINATION_NAME = 4; - /** - * Data Type: STRING. Description of destination to be shown in dynamic ad. - * - * Generated from protobuf enum DESCRIPTION = 5; - */ - const DESCRIPTION = 5; - /** - * Data Type: STRING. Complete property address, including postal code. - * - * Generated from protobuf enum ADDRESS = 6; - */ - const ADDRESS = 6; - /** - * Data Type: STRING. Price to be shown in the ad. - * Example: "100.00 USD" - * - * Generated from protobuf enum PRICE = 7; - */ - const PRICE = 7; - /** - * Data Type: STRING. Formatted price to be shown in the ad. - * Example: "Starting at $100.00 USD", "$80 - $100" - * - * Generated from protobuf enum FORMATTED_PRICE = 8; - */ - const FORMATTED_PRICE = 8; - /** - * Data Type: STRING. Sale price to be shown in the ad. - * Example: "80.00 USD" - * - * Generated from protobuf enum SALE_PRICE = 9; - */ - const SALE_PRICE = 9; - /** - * Data Type: STRING. Formatted sale price to be shown in the ad. - * Example: "On sale for $80.00", "$60 - $80" - * - * Generated from protobuf enum FORMATTED_SALE_PRICE = 10; - */ - const FORMATTED_SALE_PRICE = 10; - /** - * Data Type: URL. Image to be displayed in the ad. - * - * Generated from protobuf enum IMAGE_URL = 11; - */ - const IMAGE_URL = 11; - /** - * Data Type: STRING. Category of property used to group like items together - * for recommendation engine. - * - * Generated from protobuf enum CATEGORY = 12; - */ - const CATEGORY = 12; - /** - * Data Type: INT64. Star rating (1 to 5) used to group like items - * together for recommendation engine. - * - * Generated from protobuf enum STAR_RATING = 13; - */ - const STAR_RATING = 13; - /** - * Data Type: STRING_LIST. Keywords used for product retrieval. - * - * Generated from protobuf enum CONTEXTUAL_KEYWORDS = 14; - */ - const CONTEXTUAL_KEYWORDS = 14; - /** - * Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - * URLs. User will be redirected to these URLs when they click on an ad, or - * when they click on a specific flight for ads that show multiple - * flights. - * - * Generated from protobuf enum FINAL_URLS = 15; - */ - const FINAL_URLS = 15; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 16; - */ - const FINAL_MOBILE_URLS = 16; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 17; - */ - const TRACKING_URL = 17; - /** - * Data Type: STRING. Android app link. Must be formatted as: - * android-app://{package_id}/{scheme}/{host_path}. - * The components are defined as follows: - * package_id: app ID as specified in Google Play. - * scheme: the scheme to pass to the application. Can be HTTP, or a custom - * scheme. - * host_path: identifies the specific content within your application. - * - * Generated from protobuf enum ANDROID_APP_LINK = 18; - */ - const ANDROID_APP_LINK = 18; - /** - * Data Type: STRING_LIST. List of recommended property IDs to show together - * with this item. - * - * Generated from protobuf enum SIMILAR_PROPERTY_IDS = 19; - */ - const SIMILAR_PROPERTY_IDS = 19; - /** - * Data Type: STRING. iOS app link. - * - * Generated from protobuf enum IOS_APP_LINK = 20; - */ - const IOS_APP_LINK = 20; - /** - * Data Type: INT64. iOS app store ID. - * - * Generated from protobuf enum IOS_APP_STORE_ID = 21; - */ - const IOS_APP_STORE_ID = 21; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PROPERTY_ID => 'PROPERTY_ID', - self::PROPERTY_NAME => 'PROPERTY_NAME', - self::DESTINATION_NAME => 'DESTINATION_NAME', - self::DESCRIPTION => 'DESCRIPTION', - self::ADDRESS => 'ADDRESS', - self::PRICE => 'PRICE', - self::FORMATTED_PRICE => 'FORMATTED_PRICE', - self::SALE_PRICE => 'SALE_PRICE', - self::FORMATTED_SALE_PRICE => 'FORMATTED_SALE_PRICE', - self::IMAGE_URL => 'IMAGE_URL', - self::CATEGORY => 'CATEGORY', - self::STAR_RATING => 'STAR_RATING', - self::CONTEXTUAL_KEYWORDS => 'CONTEXTUAL_KEYWORDS', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::ANDROID_APP_LINK => 'ANDROID_APP_LINK', - self::SIMILAR_PROPERTY_IDS => 'SIMILAR_PROPERTY_IDS', - self::IOS_APP_LINK => 'IOS_APP_LINK', - self::IOS_APP_STORE_ID => 'IOS_APP_STORE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HotelPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\HotelPlaceholderFieldEnum_HotelPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucketEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucketEnum.php deleted file mode 100644 index b8c77fe6b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucketEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.HotelPriceBucketEnum - */ -class HotelPriceBucketEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\HotelPriceBucket::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucketEnum/HotelPriceBucket.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucketEnum/HotelPriceBucket.php deleted file mode 100644 index 2e1f65e3a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelPriceBucketEnum/HotelPriceBucket.php +++ /dev/null @@ -1,88 +0,0 @@ -google.ads.googleads.v15.enums.HotelPriceBucketEnum.HotelPriceBucket - */ -class HotelPriceBucket -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Uniquely lowest price. Partner has the lowest price, and no other - * partners are within a small variance of that price. - * - * Generated from protobuf enum LOWEST_UNIQUE = 2; - */ - const LOWEST_UNIQUE = 2; - /** - * Tied for lowest price. Partner is within a small variance of the lowest - * price. - * - * Generated from protobuf enum LOWEST_TIED = 3; - */ - const LOWEST_TIED = 3; - /** - * Not lowest price. Partner is not within a small variance of the lowest - * price. - * - * Generated from protobuf enum NOT_LOWEST = 4; - */ - const NOT_LOWEST = 4; - /** - * Partner was the only one shown. - * - * Generated from protobuf enum ONLY_PARTNER_SHOWN = 5; - */ - const ONLY_PARTNER_SHOWN = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LOWEST_UNIQUE => 'LOWEST_UNIQUE', - self::LOWEST_TIED => 'LOWEST_TIED', - self::NOT_LOWEST => 'NOT_LOWEST', - self::ONLY_PARTNER_SHOWN => 'ONLY_PARTNER_SHOWN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HotelPriceBucket::class, \Google\Ads\GoogleAds\V15\Enums\HotelPriceBucketEnum_HotelPriceBucket::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelRateTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelRateTypeEnum.php deleted file mode 100644 index b3428be15..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelRateTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.HotelRateTypeEnum - */ -class HotelRateTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\HotelRateType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelRateTypeEnum/HotelRateType.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelRateTypeEnum/HotelRateType.php deleted file mode 100644 index 10b961900..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelRateTypeEnum/HotelRateType.php +++ /dev/null @@ -1,91 +0,0 @@ -google.ads.googleads.v15.enums.HotelRateTypeEnum.HotelRateType - */ -class HotelRateType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Rate type information is unavailable. - * - * Generated from protobuf enum UNAVAILABLE = 2; - */ - const UNAVAILABLE = 2; - /** - * Rates available to everyone. - * - * Generated from protobuf enum PUBLIC_RATE = 3; - */ - const PUBLIC_RATE = 3; - /** - * A membership program rate is available and satisfies basic requirements - * like having a public rate available. UI treatment will strikethrough the - * public rate and indicate that a discount is available to the user. For - * more on Qualified Rates, visit - * https://developers.google.com/hotels/hotel-ads/dev-guide/qualified-rates - * - * Generated from protobuf enum QUALIFIED_RATE = 4; - */ - const QUALIFIED_RATE = 4; - /** - * Rates available to users that satisfy some eligibility criteria, for - * example, all signed-in users, 20% of mobile users, all mobile users in - * Canada, etc. - * - * Generated from protobuf enum PRIVATE_RATE = 5; - */ - const PRIVATE_RATE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNAVAILABLE => 'UNAVAILABLE', - self::PUBLIC_RATE => 'PUBLIC_RATE', - self::QUALIFIED_RATE => 'QUALIFIED_RATE', - self::PRIVATE_RATE => 'PRIVATE_RATE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HotelRateType::class, \Google\Ads\GoogleAds\V15\Enums\HotelRateTypeEnum_HotelRateType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatusEnum.php deleted file mode 100644 index 61f81b49e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.HotelReconciliationStatusEnum - */ -class HotelReconciliationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\HotelReconciliationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatusEnum/HotelReconciliationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatusEnum/HotelReconciliationStatus.php deleted file mode 100644 index f32e18cd5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/HotelReconciliationStatusEnum/HotelReconciliationStatus.php +++ /dev/null @@ -1,91 +0,0 @@ -google.ads.googleads.v15.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus - */ -class HotelReconciliationStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Bookings are for a future date, or a stay is underway but the check-out - * date hasn't passed. An active reservation can't be reconciled. - * - * Generated from protobuf enum RESERVATION_ENABLED = 2; - */ - const RESERVATION_ENABLED = 2; - /** - * Check-out has already taken place, or the booked dates have passed - * without cancellation. Bookings that are not reconciled within 45 days of - * the check-out date are billed based on the original booking price. - * - * Generated from protobuf enum RECONCILIATION_NEEDED = 3; - */ - const RECONCILIATION_NEEDED = 3; - /** - * These bookings have been reconciled. Reconciled bookings are billed 45 - * days after the check-out date. - * - * Generated from protobuf enum RECONCILED = 4; - */ - const RECONCILED = 4; - /** - * This booking was marked as canceled. Canceled stays with a value greater - * than zero (due to minimum stay rules or cancellation fees) are billed 45 - * days after the check-out date. - * - * Generated from protobuf enum CANCELED = 5; - */ - const CANCELED = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::RESERVATION_ENABLED => 'RESERVATION_ENABLED', - self::RECONCILIATION_NEEDED => 'RECONCILIATION_NEEDED', - self::RECONCILED => 'RECONCILED', - self::CANCELED => 'CANCELED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HotelReconciliationStatus::class, \Google\Ads\GoogleAds\V15\Enums\HotelReconciliationStatusEnum_HotelReconciliationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderFieldEnum.php deleted file mode 100644 index 3c53c5b1e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ImagePlaceholderFieldEnum - */ -class ImagePlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ImagePlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderFieldEnum/ImagePlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderFieldEnum/ImagePlaceholderField.php deleted file mode 100644 index f88324b17..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ImagePlaceholderFieldEnum/ImagePlaceholderField.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.ImagePlaceholderFieldEnum.ImagePlaceholderField - */ -class ImagePlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: INT64. The asset ID of the image. - * - * Generated from protobuf enum ASSET_ID = 2; - */ - const ASSET_ID = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ASSET_ID => 'ASSET_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ImagePlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\ImagePlaceholderFieldEnum_ImagePlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/IncomeRangeTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/IncomeRangeTypeEnum.php deleted file mode 100644 index 66f03d70a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/IncomeRangeTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.IncomeRangeTypeEnum - */ -class IncomeRangeTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\IncomeRangeType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/IncomeRangeTypeEnum/IncomeRangeType.php b/src/Google/Ads/GoogleAds/V15/Enums/IncomeRangeTypeEnum/IncomeRangeType.php deleted file mode 100644 index d2d204461..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/IncomeRangeTypeEnum/IncomeRangeType.php +++ /dev/null @@ -1,106 +0,0 @@ -google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType - */ -class IncomeRangeType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * 0%-50%. - * - * Generated from protobuf enum INCOME_RANGE_0_50 = 510001; - */ - const INCOME_RANGE_0_50 = 510001; - /** - * 50% to 60%. - * - * Generated from protobuf enum INCOME_RANGE_50_60 = 510002; - */ - const INCOME_RANGE_50_60 = 510002; - /** - * 60% to 70%. - * - * Generated from protobuf enum INCOME_RANGE_60_70 = 510003; - */ - const INCOME_RANGE_60_70 = 510003; - /** - * 70% to 80%. - * - * Generated from protobuf enum INCOME_RANGE_70_80 = 510004; - */ - const INCOME_RANGE_70_80 = 510004; - /** - * 80% to 90%. - * - * Generated from protobuf enum INCOME_RANGE_80_90 = 510005; - */ - const INCOME_RANGE_80_90 = 510005; - /** - * Greater than 90%. - * - * Generated from protobuf enum INCOME_RANGE_90_UP = 510006; - */ - const INCOME_RANGE_90_UP = 510006; - /** - * Undetermined income range. - * - * Generated from protobuf enum INCOME_RANGE_UNDETERMINED = 510000; - */ - const INCOME_RANGE_UNDETERMINED = 510000; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INCOME_RANGE_0_50 => 'INCOME_RANGE_0_50', - self::INCOME_RANGE_50_60 => 'INCOME_RANGE_50_60', - self::INCOME_RANGE_60_70 => 'INCOME_RANGE_60_70', - self::INCOME_RANGE_70_80 => 'INCOME_RANGE_70_80', - self::INCOME_RANGE_80_90 => 'INCOME_RANGE_80_90', - self::INCOME_RANGE_90_UP => 'INCOME_RANGE_90_UP', - self::INCOME_RANGE_UNDETERMINED => 'INCOME_RANGE_UNDETERMINED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(IncomeRangeType::class, \Google\Ads\GoogleAds\V15\Enums\IncomeRangeTypeEnum_IncomeRangeType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/InteractionEventTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/InteractionEventTypeEnum.php deleted file mode 100644 index 4870c6475..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/InteractionEventTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.InteractionEventTypeEnum - */ -class InteractionEventTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\InteractionEventType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/InteractionEventTypeEnum/InteractionEventType.php b/src/Google/Ads/GoogleAds/V15/Enums/InteractionEventTypeEnum/InteractionEventType.php deleted file mode 100644 index 7f6899dd3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/InteractionEventTypeEnum/InteractionEventType.php +++ /dev/null @@ -1,91 +0,0 @@ -google.ads.googleads.v15.enums.InteractionEventTypeEnum.InteractionEventType - */ -class InteractionEventType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Click to site. In most cases, this interaction navigates to an external - * location, usually the advertiser's landing page. This is also the default - * InteractionEventType for click events. - * - * Generated from protobuf enum CLICK = 2; - */ - const CLICK = 2; - /** - * The user's expressed intent to engage with the ad in-place. - * - * Generated from protobuf enum ENGAGEMENT = 3; - */ - const ENGAGEMENT = 3; - /** - * User viewed a video ad. - * - * Generated from protobuf enum VIDEO_VIEW = 4; - */ - const VIDEO_VIEW = 4; - /** - * The default InteractionEventType for ad conversion events. - * This is used when an ad conversion row does NOT indicate - * that the free interactions (for example, the ad conversions) - * should be 'promoted' and reported as part of the core metrics. - * These are simply other (ad) conversions. - * - * Generated from protobuf enum NONE = 5; - */ - const NONE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CLICK => 'CLICK', - self::ENGAGEMENT => 'ENGAGEMENT', - self::VIDEO_VIEW => 'VIDEO_VIEW', - self::NONE => 'NONE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InteractionEventType::class, \Google\Ads\GoogleAds\V15\Enums\InteractionEventTypeEnum_InteractionEventType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/InteractionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/InteractionTypeEnum.php deleted file mode 100644 index d40ffe1ba..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/InteractionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.InteractionTypeEnum - */ -class InteractionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\InteractionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/InteractionTypeEnum/InteractionType.php b/src/Google/Ads/GoogleAds/V15/Enums/InteractionTypeEnum/InteractionType.php deleted file mode 100644 index 6eb7ffdbc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/InteractionTypeEnum/InteractionType.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.InteractionTypeEnum.InteractionType - */ -class InteractionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Calls. - * - * Generated from protobuf enum CALLS = 8000; - */ - const CALLS = 8000; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CALLS => 'CALLS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InteractionType::class, \Google\Ads\GoogleAds\V15\Enums\InteractionTypeEnum_InteractionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/InvoiceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/InvoiceTypeEnum.php deleted file mode 100644 index c0b899955..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/InvoiceTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.InvoiceTypeEnum - */ -class InvoiceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\InvoiceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/InvoiceTypeEnum/InvoiceType.php b/src/Google/Ads/GoogleAds/V15/Enums/InvoiceTypeEnum/InvoiceType.php deleted file mode 100644 index 3dadf2ba1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/InvoiceTypeEnum/InvoiceType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.InvoiceTypeEnum.InvoiceType - */ -class InvoiceType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An invoice with a negative amount. The account receives a credit. - * - * Generated from protobuf enum CREDIT_MEMO = 2; - */ - const CREDIT_MEMO = 2; - /** - * An invoice with a positive amount. The account owes a balance. - * - * Generated from protobuf enum INVOICE = 3; - */ - const INVOICE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CREDIT_MEMO => 'CREDIT_MEMO', - self::INVOICE => 'INVOICE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InvoiceType::class, \Google\Ads\GoogleAds\V15\Enums\InvoiceTypeEnum_InvoiceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderFieldEnum.php deleted file mode 100644 index df6841bc6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderFieldEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.JobPlaceholderFieldEnum - */ -class JobPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\JobPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderFieldEnum/JobPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderFieldEnum/JobPlaceholderField.php deleted file mode 100644 index 411a7c258..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/JobPlaceholderFieldEnum/JobPlaceholderField.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.enums.JobPlaceholderFieldEnum.JobPlaceholderField - */ -class JobPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Required. If only JOB_ID is specified, then it must be - * unique. If both JOB_ID and LOCATION_ID are specified, then the - * pair must be unique. - * ID) pair must be unique. - * - * Generated from protobuf enum JOB_ID = 2; - */ - const JOB_ID = 2; - /** - * Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique - * per offer. - * - * Generated from protobuf enum LOCATION_ID = 3; - */ - const LOCATION_ID = 3; - /** - * Data Type: STRING. Required. Main headline with job title to be shown in - * dynamic ad. - * - * Generated from protobuf enum TITLE = 4; - */ - const TITLE = 4; - /** - * Data Type: STRING. Job subtitle to be shown in dynamic ad. - * - * Generated from protobuf enum SUBTITLE = 5; - */ - const SUBTITLE = 5; - /** - * Data Type: STRING. Description of job to be shown in dynamic ad. - * - * Generated from protobuf enum DESCRIPTION = 6; - */ - const DESCRIPTION = 6; - /** - * Data Type: URL. Image to be displayed in the ad. Highly recommended for - * image ads. - * - * Generated from protobuf enum IMAGE_URL = 7; - */ - const IMAGE_URL = 7; - /** - * Data Type: STRING. Category of property used to group like items together - * for recommendation engine. - * - * Generated from protobuf enum CATEGORY = 8; - */ - const CATEGORY = 8; - /** - * Data Type: STRING_LIST. Keywords used for product retrieval. - * - * Generated from protobuf enum CONTEXTUAL_KEYWORDS = 9; - */ - const CONTEXTUAL_KEYWORDS = 9; - /** - * Data Type: STRING. Complete property address, including postal code. - * - * Generated from protobuf enum ADDRESS = 10; - */ - const ADDRESS = 10; - /** - * Data Type: STRING. Salary or salary range of job to be shown in dynamic - * ad. - * - * Generated from protobuf enum SALARY = 11; - */ - const SALARY = 11; - /** - * Data Type: URL_LIST. Required. Final URLs to be used in ad when using - * Upgraded URLs; the more specific the better (for example, the individual - * URL of a specific job and its location). - * - * Generated from protobuf enum FINAL_URLS = 12; - */ - const FINAL_URLS = 12; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 14; - */ - const FINAL_MOBILE_URLS = 14; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 15; - */ - const TRACKING_URL = 15; - /** - * Data Type: STRING. Android app link. Must be formatted as: - * android-app://{package_id}/{scheme}/{host_path}. - * The components are defined as follows: - * package_id: app ID as specified in Google Play. - * scheme: the scheme to pass to the application. Can be HTTP, or a custom - * scheme. - * host_path: identifies the specific content within your application. - * - * Generated from protobuf enum ANDROID_APP_LINK = 16; - */ - const ANDROID_APP_LINK = 16; - /** - * Data Type: STRING_LIST. List of recommended job IDs to show together with - * this item. - * - * Generated from protobuf enum SIMILAR_JOB_IDS = 17; - */ - const SIMILAR_JOB_IDS = 17; - /** - * Data Type: STRING. iOS app link. - * - * Generated from protobuf enum IOS_APP_LINK = 18; - */ - const IOS_APP_LINK = 18; - /** - * Data Type: INT64. iOS app store ID. - * - * Generated from protobuf enum IOS_APP_STORE_ID = 19; - */ - const IOS_APP_STORE_ID = 19; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::JOB_ID => 'JOB_ID', - self::LOCATION_ID => 'LOCATION_ID', - self::TITLE => 'TITLE', - self::SUBTITLE => 'SUBTITLE', - self::DESCRIPTION => 'DESCRIPTION', - self::IMAGE_URL => 'IMAGE_URL', - self::CATEGORY => 'CATEGORY', - self::CONTEXTUAL_KEYWORDS => 'CONTEXTUAL_KEYWORDS', - self::ADDRESS => 'ADDRESS', - self::SALARY => 'SALARY', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::ANDROID_APP_LINK => 'ANDROID_APP_LINK', - self::SIMILAR_JOB_IDS => 'SIMILAR_JOB_IDS', - self::IOS_APP_LINK => 'IOS_APP_LINK', - self::IOS_APP_STORE_ID => 'IOS_APP_STORE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(JobPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\JobPlaceholderFieldEnum_JobPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordMatchTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordMatchTypeEnum.php deleted file mode 100644 index ebea1f523..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordMatchTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.KeywordMatchTypeEnum - */ -class KeywordMatchTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\KeywordMatchType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordMatchTypeEnum/KeywordMatchType.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordMatchTypeEnum/KeywordMatchType.php deleted file mode 100644 index 611b96346..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordMatchTypeEnum/KeywordMatchType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType - */ -class KeywordMatchType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Exact match. - * - * Generated from protobuf enum EXACT = 2; - */ - const EXACT = 2; - /** - * Phrase match. - * - * Generated from protobuf enum PHRASE = 3; - */ - const PHRASE = 3; - /** - * Broad match. - * - * Generated from protobuf enum BROAD = 4; - */ - const BROAD = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXACT => 'EXACT', - self::PHRASE => 'PHRASE', - self::BROAD => 'BROAD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordMatchType::class, \Google\Ads\GoogleAds\V15\Enums\KeywordMatchTypeEnum_KeywordMatchType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricTypeEnum.php deleted file mode 100644 index 87aa0cdec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanAggregateMetricTypeEnum - */ -class KeywordPlanAggregateMetricTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\KeywordPlanAggregateMetricType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricTypeEnum/KeywordPlanAggregateMetricType.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricTypeEnum/KeywordPlanAggregateMetricType.php deleted file mode 100644 index ddeed8de5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanAggregateMetricTypeEnum/KeywordPlanAggregateMetricType.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType - */ -class KeywordPlanAggregateMetricType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The device breakdown of aggregate search volume. - * - * Generated from protobuf enum DEVICE = 2; - */ - const DEVICE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DEVICE => 'DEVICE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanAggregateMetricType::class, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanAggregateMetricTypeEnum_KeywordPlanAggregateMetricType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevelEnum.php deleted file mode 100644 index 44cbab917..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevelEnum.php +++ /dev/null @@ -1,37 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanCompetitionLevelEnum - */ -class KeywordPlanCompetitionLevelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\KeywordPlanCompetitionLevel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevelEnum/KeywordPlanCompetitionLevel.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevelEnum/KeywordPlanCompetitionLevel.php deleted file mode 100644 index faa19cf8d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanCompetitionLevelEnum/KeywordPlanCompetitionLevel.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel - */ -class KeywordPlanCompetitionLevel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Low competition. The Competition Index range for this is [0, 33]. - * - * Generated from protobuf enum LOW = 2; - */ - const LOW = 2; - /** - * Medium competition. The Competition Index range for this is [34, 66]. - * - * Generated from protobuf enum MEDIUM = 3; - */ - const MEDIUM = 3; - /** - * High competition. The Competition Index range for this is [67, 100]. - * - * Generated from protobuf enum HIGH = 4; - */ - const HIGH = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LOW => 'LOW', - self::MEDIUM => 'MEDIUM', - self::HIGH => 'HIGH', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanCompetitionLevel::class, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanCompetitionLevelEnum_KeywordPlanCompetitionLevel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupTypeEnum.php deleted file mode 100644 index 6478d82c9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanConceptGroupTypeEnum - */ -class KeywordPlanConceptGroupTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\KeywordPlanConceptGroupType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupTypeEnum/KeywordPlanConceptGroupType.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupTypeEnum/KeywordPlanConceptGroupType.php deleted file mode 100644 index cc49ddcf8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanConceptGroupTypeEnum/KeywordPlanConceptGroupType.php +++ /dev/null @@ -1,83 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType - */ -class KeywordPlanConceptGroupType -{ - /** - * The concept group classification different from brand/non-brand. - * This is a catch all bucket for all classifications that are none of the - * below. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The concept group classification is based on BRAND. - * - * Generated from protobuf enum BRAND = 2; - */ - const BRAND = 2; - /** - * The concept group classification based on BRAND, that didn't fit well - * with the BRAND classifications. These are generally outliers and can have - * very few keywords in this type of classification. - * - * Generated from protobuf enum OTHER_BRANDS = 3; - */ - const OTHER_BRANDS = 3; - /** - * These concept group classification is not based on BRAND. This is - * returned for generic keywords that don't have a brand association. - * - * Generated from protobuf enum NON_BRAND = 4; - */ - const NON_BRAND = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BRAND => 'BRAND', - self::OTHER_BRANDS => 'OTHER_BRANDS', - self::NON_BRAND => 'NON_BRAND', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanConceptGroupType::class, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanConceptGroupTypeEnum_KeywordPlanConceptGroupType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastIntervalEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastIntervalEnum.php deleted file mode 100644 index ca45e75c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastIntervalEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanForecastIntervalEnum - */ -class KeywordPlanForecastIntervalEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\KeywordPlanForecastInterval::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastIntervalEnum/KeywordPlanForecastInterval.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastIntervalEnum/KeywordPlanForecastInterval.php deleted file mode 100644 index 89bd7d011..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanForecastIntervalEnum/KeywordPlanForecastInterval.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval - */ -class KeywordPlanForecastInterval -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The next week date range for keyword plan. The next week is based - * on the default locale of the user's account and is mostly SUN-SAT or - * MON-SUN. - * This can be different from next-7 days. - * - * Generated from protobuf enum NEXT_WEEK = 3; - */ - const NEXT_WEEK = 3; - /** - * The next month date range for keyword plan. - * - * Generated from protobuf enum NEXT_MONTH = 4; - */ - const NEXT_MONTH = 4; - /** - * The next quarter date range for keyword plan. - * - * Generated from protobuf enum NEXT_QUARTER = 5; - */ - const NEXT_QUARTER = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NEXT_WEEK => 'NEXT_WEEK', - self::NEXT_MONTH => 'NEXT_MONTH', - self::NEXT_QUARTER => 'NEXT_QUARTER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanForecastInterval::class, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanForecastIntervalEnum_KeywordPlanForecastInterval::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotationEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotationEnum.php deleted file mode 100644 index b70794568..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotationEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanKeywordAnnotationEnum - */ -class KeywordPlanKeywordAnnotationEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\KeywordPlanKeywordAnnotation::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotationEnum/KeywordPlanKeywordAnnotation.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotationEnum/KeywordPlanKeywordAnnotation.php deleted file mode 100644 index cf8c5bb17..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanKeywordAnnotationEnum/KeywordPlanKeywordAnnotation.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation - */ -class KeywordPlanKeywordAnnotation -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Return the keyword concept and concept group data. - * - * Generated from protobuf enum KEYWORD_CONCEPT = 2; - */ - const KEYWORD_CONCEPT = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::KEYWORD_CONCEPT => 'KEYWORD_CONCEPT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanKeywordAnnotation::class, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanKeywordAnnotationEnum_KeywordPlanKeywordAnnotation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetworkEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetworkEnum.php deleted file mode 100644 index e20529add..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetworkEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanNetworkEnum - */ -class KeywordPlanNetworkEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\KeywordPlanNetwork::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetworkEnum/KeywordPlanNetwork.php b/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetworkEnum/KeywordPlanNetwork.php deleted file mode 100644 index 3a304564f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/KeywordPlanNetworkEnum/KeywordPlanNetwork.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork - */ -class KeywordPlanNetwork -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Google Search. - * - * Generated from protobuf enum GOOGLE_SEARCH = 2; - */ - const GOOGLE_SEARCH = 2; - /** - * Google Search + Search partners. - * - * Generated from protobuf enum GOOGLE_SEARCH_AND_PARTNERS = 3; - */ - const GOOGLE_SEARCH_AND_PARTNERS = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::GOOGLE_SEARCH => 'GOOGLE_SEARCH', - self::GOOGLE_SEARCH_AND_PARTNERS => 'GOOGLE_SEARCH_AND_PARTNERS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanNetwork::class, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanNetworkEnum_KeywordPlanNetwork::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LabelStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LabelStatusEnum.php deleted file mode 100644 index 013c41095..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LabelStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LabelStatusEnum - */ -class LabelStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LabelStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LabelStatusEnum/LabelStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/LabelStatusEnum/LabelStatus.php deleted file mode 100644 index ab294eb56..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LabelStatusEnum/LabelStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.LabelStatusEnum.LabelStatus - */ -class LabelStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Label is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Label is removed. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LabelStatus::class, \Google\Ads\GoogleAds\V15\Enums\LabelStatusEnum_LabelStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionTypeEnum.php deleted file mode 100644 index 59efc7625..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LeadFormCallToActionTypeEnum - */ -class LeadFormCallToActionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LeadFormCallToActionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionTypeEnum/LeadFormCallToActionType.php b/src/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionTypeEnum/LeadFormCallToActionType.php deleted file mode 100644 index a04d2c394..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormCallToActionTypeEnum/LeadFormCallToActionType.php +++ /dev/null @@ -1,155 +0,0 @@ -google.ads.googleads.v15.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType - */ -class LeadFormCallToActionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Learn more. - * - * Generated from protobuf enum LEARN_MORE = 2; - */ - const LEARN_MORE = 2; - /** - * Get quote. - * - * Generated from protobuf enum GET_QUOTE = 3; - */ - const GET_QUOTE = 3; - /** - * Apply now. - * - * Generated from protobuf enum APPLY_NOW = 4; - */ - const APPLY_NOW = 4; - /** - * Sign Up. - * - * Generated from protobuf enum SIGN_UP = 5; - */ - const SIGN_UP = 5; - /** - * Contact us. - * - * Generated from protobuf enum CONTACT_US = 6; - */ - const CONTACT_US = 6; - /** - * Subscribe. - * - * Generated from protobuf enum SUBSCRIBE = 7; - */ - const SUBSCRIBE = 7; - /** - * Download. - * - * Generated from protobuf enum DOWNLOAD = 8; - */ - const DOWNLOAD = 8; - /** - * Book now. - * - * Generated from protobuf enum BOOK_NOW = 9; - */ - const BOOK_NOW = 9; - /** - * Get offer. - * - * Generated from protobuf enum GET_OFFER = 10; - */ - const GET_OFFER = 10; - /** - * Register. - * - * Generated from protobuf enum REGISTER = 11; - */ - const REGISTER = 11; - /** - * Get info. - * - * Generated from protobuf enum GET_INFO = 12; - */ - const GET_INFO = 12; - /** - * Request a demo. - * - * Generated from protobuf enum REQUEST_DEMO = 13; - */ - const REQUEST_DEMO = 13; - /** - * Join now. - * - * Generated from protobuf enum JOIN_NOW = 14; - */ - const JOIN_NOW = 14; - /** - * Get started. - * - * Generated from protobuf enum GET_STARTED = 15; - */ - const GET_STARTED = 15; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LEARN_MORE => 'LEARN_MORE', - self::GET_QUOTE => 'GET_QUOTE', - self::APPLY_NOW => 'APPLY_NOW', - self::SIGN_UP => 'SIGN_UP', - self::CONTACT_US => 'CONTACT_US', - self::SUBSCRIBE => 'SUBSCRIBE', - self::DOWNLOAD => 'DOWNLOAD', - self::BOOK_NOW => 'BOOK_NOW', - self::GET_OFFER => 'GET_OFFER', - self::REGISTER => 'REGISTER', - self::GET_INFO => 'GET_INFO', - self::REQUEST_DEMO => 'REQUEST_DEMO', - self::JOIN_NOW => 'JOIN_NOW', - self::GET_STARTED => 'GET_STARTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LeadFormCallToActionType::class, \Google\Ads\GoogleAds\V15\Enums\LeadFormCallToActionTypeEnum_LeadFormCallToActionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntentEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntentEnum.php deleted file mode 100644 index 0111b417a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntentEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LeadFormDesiredIntentEnum - */ -class LeadFormDesiredIntentEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LeadFormDesiredIntent::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntentEnum/LeadFormDesiredIntent.php b/src/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntentEnum/LeadFormDesiredIntent.php deleted file mode 100644 index 134ed5065..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormDesiredIntentEnum/LeadFormDesiredIntent.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent - */ -class LeadFormDesiredIntent -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Deliver more leads at a potentially lower quality. - * - * Generated from protobuf enum LOW_INTENT = 2; - */ - const LOW_INTENT = 2; - /** - * Deliver leads that are more qualified. - * - * Generated from protobuf enum HIGH_INTENT = 3; - */ - const HIGH_INTENT = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LOW_INTENT => 'LOW_INTENT', - self::HIGH_INTENT => 'HIGH_INTENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LeadFormDesiredIntent::class, \Google\Ads\GoogleAds\V15\Enums\LeadFormDesiredIntentEnum_LeadFormDesiredIntent::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputTypeEnum.php deleted file mode 100644 index f5e19e233..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum - */ -class LeadFormFieldUserInputTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LeadFormFieldUserInputType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputTypeEnum/LeadFormFieldUserInputType.php b/src/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputTypeEnum/LeadFormFieldUserInputType.php deleted file mode 100644 index cd8554a05..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormFieldUserInputTypeEnum/LeadFormFieldUserInputType.php +++ /dev/null @@ -1,1158 +0,0 @@ -google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType - */ -class LeadFormFieldUserInputType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The user will be asked to fill in their given and family name. This field - * cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. - * - * Generated from protobuf enum FULL_NAME = 2; - */ - const FULL_NAME = 2; - /** - * The user will be asked to fill in their email address. - * - * Generated from protobuf enum EMAIL = 3; - */ - const EMAIL = 3; - /** - * The user will be asked to fill in their phone number. - * - * Generated from protobuf enum PHONE_NUMBER = 4; - */ - const PHONE_NUMBER = 4; - /** - * The user will be asked to fill in their zip code. - * - * Generated from protobuf enum POSTAL_CODE = 5; - */ - const POSTAL_CODE = 5; - /** - * The user will be asked to fill in their street address. - * - * Generated from protobuf enum STREET_ADDRESS = 8; - */ - const STREET_ADDRESS = 8; - /** - * The user will be asked to fill in their city. - * - * Generated from protobuf enum CITY = 9; - */ - const CITY = 9; - /** - * The user will be asked to fill in their region part of the address (for - * example, state for US, province for Canada). - * - * Generated from protobuf enum REGION = 10; - */ - const REGION = 10; - /** - * The user will be asked to fill in their country. - * - * Generated from protobuf enum COUNTRY = 11; - */ - const COUNTRY = 11; - /** - * The user will be asked to fill in their work email address. - * - * Generated from protobuf enum WORK_EMAIL = 12; - */ - const WORK_EMAIL = 12; - /** - * The user will be asked to fill in their company name. - * - * Generated from protobuf enum COMPANY_NAME = 13; - */ - const COMPANY_NAME = 13; - /** - * The user will be asked to fill in their work phone. - * - * Generated from protobuf enum WORK_PHONE = 14; - */ - const WORK_PHONE = 14; - /** - * The user will be asked to fill in their job title. - * - * Generated from protobuf enum JOB_TITLE = 15; - */ - const JOB_TITLE = 15; - /** - * The user will be asked to fill in their CPF for Brazil users. - * - * Generated from protobuf enum GOVERNMENT_ISSUED_ID_CPF_BR = 16; - */ - const GOVERNMENT_ISSUED_ID_CPF_BR = 16; - /** - * The user will be asked to fill in their DNI for Argentina users. - * - * Generated from protobuf enum GOVERNMENT_ISSUED_ID_DNI_AR = 17; - */ - const GOVERNMENT_ISSUED_ID_DNI_AR = 17; - /** - * The user will be asked to fill in their DNI for Peru users. - * - * Generated from protobuf enum GOVERNMENT_ISSUED_ID_DNI_PE = 18; - */ - const GOVERNMENT_ISSUED_ID_DNI_PE = 18; - /** - * The user will be asked to fill in their RUT for Chile users. - * - * Generated from protobuf enum GOVERNMENT_ISSUED_ID_RUT_CL = 19; - */ - const GOVERNMENT_ISSUED_ID_RUT_CL = 19; - /** - * The user will be asked to fill in their CC for Colombia users. - * - * Generated from protobuf enum GOVERNMENT_ISSUED_ID_CC_CO = 20; - */ - const GOVERNMENT_ISSUED_ID_CC_CO = 20; - /** - * The user will be asked to fill in their CI for Ecuador users. - * - * Generated from protobuf enum GOVERNMENT_ISSUED_ID_CI_EC = 21; - */ - const GOVERNMENT_ISSUED_ID_CI_EC = 21; - /** - * The user will be asked to fill in their RFC for Mexico users. - * - * Generated from protobuf enum GOVERNMENT_ISSUED_ID_RFC_MX = 22; - */ - const GOVERNMENT_ISSUED_ID_RFC_MX = 22; - /** - * The user will be asked to fill in their first name. This - * field can not be set at the same time as FULL_NAME. - * - * Generated from protobuf enum FIRST_NAME = 23; - */ - const FIRST_NAME = 23; - /** - * The user will be asked to fill in their last name. This - * field can not be set at the same time as FULL_NAME. - * - * Generated from protobuf enum LAST_NAME = 24; - */ - const LAST_NAME = 24; - /** - * Question: "Which model are you interested in?" - * Category: "Auto" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum VEHICLE_MODEL = 1001; - */ - const VEHICLE_MODEL = 1001; - /** - * Question: "Which type of vehicle are you interested in?" - * Category: "Auto" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum VEHICLE_TYPE = 1002; - */ - const VEHICLE_TYPE = 1002; - /** - * Question: "What is your preferred dealership?" - * Category: "Auto" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PREFERRED_DEALERSHIP = 1003; - */ - const PREFERRED_DEALERSHIP = 1003; - /** - * Question: "When do you plan on purchasing a vehicle?" - * Category: "Auto" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum VEHICLE_PURCHASE_TIMELINE = 1004; - */ - const VEHICLE_PURCHASE_TIMELINE = 1004; - /** - * Question: "Do you own a vehicle?" - * Category: "Auto" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum VEHICLE_OWNERSHIP = 1005; - */ - const VEHICLE_OWNERSHIP = 1005; - /** - * Question: "What vehicle ownership option are you interested in?" - * Category: "Auto" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum VEHICLE_PAYMENT_TYPE = 1009; - */ - const VEHICLE_PAYMENT_TYPE = 1009; - /** - * Question: "What type of vehicle condition are you interested in?" - * Category: "Auto" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum VEHICLE_CONDITION = 1010; - */ - const VEHICLE_CONDITION = 1010; - /** - * Question: "What size is your company?" - * Category: "Business" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum COMPANY_SIZE = 1006; - */ - const COMPANY_SIZE = 1006; - /** - * Question: "What is your annual sales volume?" - * Category: "Business" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum ANNUAL_SALES = 1007; - */ - const ANNUAL_SALES = 1007; - /** - * Question: "How many years have you been in business?" - * Category: "Business" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum YEARS_IN_BUSINESS = 1008; - */ - const YEARS_IN_BUSINESS = 1008; - /** - * Question: "What is your job department?" - * Category: "Business" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum JOB_DEPARTMENT = 1011; - */ - const JOB_DEPARTMENT = 1011; - /** - * Question: "What is your job role?" - * Category: "Business" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum JOB_ROLE = 1012; - */ - const JOB_ROLE = 1012; - /** - * Question: "Are you over 18 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_18_AGE = 1078; - */ - const OVER_18_AGE = 1078; - /** - * Question: "Are you over 19 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_19_AGE = 1079; - */ - const OVER_19_AGE = 1079; - /** - * Question: "Are you over 20 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_20_AGE = 1080; - */ - const OVER_20_AGE = 1080; - /** - * Question: "Are you over 21 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_21_AGE = 1081; - */ - const OVER_21_AGE = 1081; - /** - * Question: "Are you over 22 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_22_AGE = 1082; - */ - const OVER_22_AGE = 1082; - /** - * Question: "Are you over 23 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_23_AGE = 1083; - */ - const OVER_23_AGE = 1083; - /** - * Question: "Are you over 24 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_24_AGE = 1084; - */ - const OVER_24_AGE = 1084; - /** - * Question: "Are you over 25 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_25_AGE = 1085; - */ - const OVER_25_AGE = 1085; - /** - * Question: "Are you over 26 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_26_AGE = 1086; - */ - const OVER_26_AGE = 1086; - /** - * Question: "Are you over 27 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_27_AGE = 1087; - */ - const OVER_27_AGE = 1087; - /** - * Question: "Are you over 28 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_28_AGE = 1088; - */ - const OVER_28_AGE = 1088; - /** - * Question: "Are you over 29 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_29_AGE = 1089; - */ - const OVER_29_AGE = 1089; - /** - * Question: "Are you over 30 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_30_AGE = 1090; - */ - const OVER_30_AGE = 1090; - /** - * Question: "Are you over 31 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_31_AGE = 1091; - */ - const OVER_31_AGE = 1091; - /** - * Question: "Are you over 32 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_32_AGE = 1092; - */ - const OVER_32_AGE = 1092; - /** - * Question: "Are you over 33 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_33_AGE = 1093; - */ - const OVER_33_AGE = 1093; - /** - * Question: "Are you over 34 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_34_AGE = 1094; - */ - const OVER_34_AGE = 1094; - /** - * Question: "Are you over 35 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_35_AGE = 1095; - */ - const OVER_35_AGE = 1095; - /** - * Question: "Are you over 36 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_36_AGE = 1096; - */ - const OVER_36_AGE = 1096; - /** - * Question: "Are you over 37 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_37_AGE = 1097; - */ - const OVER_37_AGE = 1097; - /** - * Question: "Are you over 38 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_38_AGE = 1098; - */ - const OVER_38_AGE = 1098; - /** - * Question: "Are you over 39 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_39_AGE = 1099; - */ - const OVER_39_AGE = 1099; - /** - * Question: "Are you over 40 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_40_AGE = 1100; - */ - const OVER_40_AGE = 1100; - /** - * Question: "Are you over 41 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_41_AGE = 1101; - */ - const OVER_41_AGE = 1101; - /** - * Question: "Are you over 42 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_42_AGE = 1102; - */ - const OVER_42_AGE = 1102; - /** - * Question: "Are you over 43 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_43_AGE = 1103; - */ - const OVER_43_AGE = 1103; - /** - * Question: "Are you over 44 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_44_AGE = 1104; - */ - const OVER_44_AGE = 1104; - /** - * Question: "Are you over 45 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_45_AGE = 1105; - */ - const OVER_45_AGE = 1105; - /** - * Question: "Are you over 46 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_46_AGE = 1106; - */ - const OVER_46_AGE = 1106; - /** - * Question: "Are you over 47 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_47_AGE = 1107; - */ - const OVER_47_AGE = 1107; - /** - * Question: "Are you over 48 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_48_AGE = 1108; - */ - const OVER_48_AGE = 1108; - /** - * Question: "Are you over 49 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_49_AGE = 1109; - */ - const OVER_49_AGE = 1109; - /** - * Question: "Are you over 50 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_50_AGE = 1110; - */ - const OVER_50_AGE = 1110; - /** - * Question: "Are you over 51 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_51_AGE = 1111; - */ - const OVER_51_AGE = 1111; - /** - * Question: "Are you over 52 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_52_AGE = 1112; - */ - const OVER_52_AGE = 1112; - /** - * Question: "Are you over 53 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_53_AGE = 1113; - */ - const OVER_53_AGE = 1113; - /** - * Question: "Are you over 54 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_54_AGE = 1114; - */ - const OVER_54_AGE = 1114; - /** - * Question: "Are you over 55 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_55_AGE = 1115; - */ - const OVER_55_AGE = 1115; - /** - * Question: "Are you over 56 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_56_AGE = 1116; - */ - const OVER_56_AGE = 1116; - /** - * Question: "Are you over 57 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_57_AGE = 1117; - */ - const OVER_57_AGE = 1117; - /** - * Question: "Are you over 58 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_58_AGE = 1118; - */ - const OVER_58_AGE = 1118; - /** - * Question: "Are you over 59 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_59_AGE = 1119; - */ - const OVER_59_AGE = 1119; - /** - * Question: "Are you over 60 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_60_AGE = 1120; - */ - const OVER_60_AGE = 1120; - /** - * Question: "Are you over 61 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_61_AGE = 1121; - */ - const OVER_61_AGE = 1121; - /** - * Question: "Are you over 62 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_62_AGE = 1122; - */ - const OVER_62_AGE = 1122; - /** - * Question: "Are you over 63 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_63_AGE = 1123; - */ - const OVER_63_AGE = 1123; - /** - * Question: "Are you over 64 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_64_AGE = 1124; - */ - const OVER_64_AGE = 1124; - /** - * Question: "Are you over 65 years of age?" - * Category: "Demographics" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OVER_65_AGE = 1125; - */ - const OVER_65_AGE = 1125; - /** - * Question: "Which program are you interested in?" - * Category: "Education" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum EDUCATION_PROGRAM = 1013; - */ - const EDUCATION_PROGRAM = 1013; - /** - * Question: "Which course are you interested in?" - * Category: "Education" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum EDUCATION_COURSE = 1014; - */ - const EDUCATION_COURSE = 1014; - /** - * Question: "Which product are you interested in?" - * Category: "General" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PRODUCT = 1016; - */ - const PRODUCT = 1016; - /** - * Question: "Which service are you interested in?" - * Category: "General" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum SERVICE = 1017; - */ - const SERVICE = 1017; - /** - * Question: "Which offer are you interested in?" - * Category: "General" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum OFFER = 1018; - */ - const OFFER = 1018; - /** - * Question: "Which category are you interested in?" - * Category: "General" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum CATEGORY = 1019; - */ - const CATEGORY = 1019; - /** - * Question: "What is your preferred method of contact?" - * Category: "General" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PREFERRED_CONTACT_METHOD = 1020; - */ - const PREFERRED_CONTACT_METHOD = 1020; - /** - * Question: "What is your preferred location?" - * Category: "General" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PREFERRED_LOCATION = 1021; - */ - const PREFERRED_LOCATION = 1021; - /** - * Question: "What is the best time to contact you?" - * Category: "General" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PREFERRED_CONTACT_TIME = 1022; - */ - const PREFERRED_CONTACT_TIME = 1022; - /** - * Question: "When are you looking to make a purchase?" - * Category: "General" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PURCHASE_TIMELINE = 1023; - */ - const PURCHASE_TIMELINE = 1023; - /** - * Question: "How many years of work experience do you have?" - * Category: "Jobs" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum YEARS_OF_EXPERIENCE = 1048; - */ - const YEARS_OF_EXPERIENCE = 1048; - /** - * Question: "What industry do you work in?" - * Category: "Jobs" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum JOB_INDUSTRY = 1049; - */ - const JOB_INDUSTRY = 1049; - /** - * Question: "What is your highest level of education?" - * Category: "Jobs" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum LEVEL_OF_EDUCATION = 1050; - */ - const LEVEL_OF_EDUCATION = 1050; - /** - * Question: "What type of property are you looking for?" - * Category: "Real Estate" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PROPERTY_TYPE = 1024; - */ - const PROPERTY_TYPE = 1024; - /** - * Question: "What do you need a realtor's help with?" - * Category: "Real Estate" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum REALTOR_HELP_GOAL = 1025; - */ - const REALTOR_HELP_GOAL = 1025; - /** - * Question: "What neighborhood are you interested in?" - * Category: "Real Estate" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PROPERTY_COMMUNITY = 1026; - */ - const PROPERTY_COMMUNITY = 1026; - /** - * Question: "What price range are you looking for?" - * Category: "Real Estate" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PRICE_RANGE = 1027; - */ - const PRICE_RANGE = 1027; - /** - * Question: "How many bedrooms are you looking for?" - * Category: "Real Estate" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum NUMBER_OF_BEDROOMS = 1028; - */ - const NUMBER_OF_BEDROOMS = 1028; - /** - * Question: "Are you looking for a fully furnished property?" - * Category: "Real Estate" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum FURNISHED_PROPERTY = 1029; - */ - const FURNISHED_PROPERTY = 1029; - /** - * Question: "Are you looking for properties that allow pets?" - * Category: "Real Estate" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PETS_ALLOWED_PROPERTY = 1030; - */ - const PETS_ALLOWED_PROPERTY = 1030; - /** - * Question: "What is the next product you plan to purchase?" - * Category: "Retail" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum NEXT_PLANNED_PURCHASE = 1031; - */ - const NEXT_PLANNED_PURCHASE = 1031; - /** - * Question: "Would you like to sign up for an event?" - * Category: "Retail" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum EVENT_SIGNUP_INTEREST = 1033; - */ - const EVENT_SIGNUP_INTEREST = 1033; - /** - * Question: "Where are you interested in shopping?" - * Category: "Retail" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum PREFERRED_SHOPPING_PLACES = 1034; - */ - const PREFERRED_SHOPPING_PLACES = 1034; - /** - * Question: "What is your favorite brand?" - * Category: "Retail" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum FAVORITE_BRAND = 1035; - */ - const FAVORITE_BRAND = 1035; - /** - * Question: "Which type of valid commercial license do you have?" - * Category: "Transportation" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum TRANSPORTATION_COMMERCIAL_LICENSE_TYPE = 1036; - */ - const TRANSPORTATION_COMMERCIAL_LICENSE_TYPE = 1036; - /** - * Question: "Interested in booking an event?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum EVENT_BOOKING_INTEREST = 1038; - */ - const EVENT_BOOKING_INTEREST = 1038; - /** - * Question: "What is your destination country?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum DESTINATION_COUNTRY = 1039; - */ - const DESTINATION_COUNTRY = 1039; - /** - * Question: "What is your destination city?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum DESTINATION_CITY = 1040; - */ - const DESTINATION_CITY = 1040; - /** - * Question: "What is your departure country?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum DEPARTURE_COUNTRY = 1041; - */ - const DEPARTURE_COUNTRY = 1041; - /** - * Question: "What is your departure city?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum DEPARTURE_CITY = 1042; - */ - const DEPARTURE_CITY = 1042; - /** - * Question: "What is your departure date?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum DEPARTURE_DATE = 1043; - */ - const DEPARTURE_DATE = 1043; - /** - * Question: "What is your return date?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum RETURN_DATE = 1044; - */ - const RETURN_DATE = 1044; - /** - * Question: "How many people are you traveling with?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum NUMBER_OF_TRAVELERS = 1045; - */ - const NUMBER_OF_TRAVELERS = 1045; - /** - * Question: "What is your travel budget?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum TRAVEL_BUDGET = 1046; - */ - const TRAVEL_BUDGET = 1046; - /** - * Question: "Where do you want to stay during your travel?" - * Category: "Travel" - * This field is subject to a limit of 5 qualifying questions per form and - * cannot be used if values are set using custom_question_fields. - * - * Generated from protobuf enum TRAVEL_ACCOMMODATION = 1047; - */ - const TRAVEL_ACCOMMODATION = 1047; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FULL_NAME => 'FULL_NAME', - self::EMAIL => 'EMAIL', - self::PHONE_NUMBER => 'PHONE_NUMBER', - self::POSTAL_CODE => 'POSTAL_CODE', - self::STREET_ADDRESS => 'STREET_ADDRESS', - self::CITY => 'CITY', - self::REGION => 'REGION', - self::COUNTRY => 'COUNTRY', - self::WORK_EMAIL => 'WORK_EMAIL', - self::COMPANY_NAME => 'COMPANY_NAME', - self::WORK_PHONE => 'WORK_PHONE', - self::JOB_TITLE => 'JOB_TITLE', - self::GOVERNMENT_ISSUED_ID_CPF_BR => 'GOVERNMENT_ISSUED_ID_CPF_BR', - self::GOVERNMENT_ISSUED_ID_DNI_AR => 'GOVERNMENT_ISSUED_ID_DNI_AR', - self::GOVERNMENT_ISSUED_ID_DNI_PE => 'GOVERNMENT_ISSUED_ID_DNI_PE', - self::GOVERNMENT_ISSUED_ID_RUT_CL => 'GOVERNMENT_ISSUED_ID_RUT_CL', - self::GOVERNMENT_ISSUED_ID_CC_CO => 'GOVERNMENT_ISSUED_ID_CC_CO', - self::GOVERNMENT_ISSUED_ID_CI_EC => 'GOVERNMENT_ISSUED_ID_CI_EC', - self::GOVERNMENT_ISSUED_ID_RFC_MX => 'GOVERNMENT_ISSUED_ID_RFC_MX', - self::FIRST_NAME => 'FIRST_NAME', - self::LAST_NAME => 'LAST_NAME', - self::VEHICLE_MODEL => 'VEHICLE_MODEL', - self::VEHICLE_TYPE => 'VEHICLE_TYPE', - self::PREFERRED_DEALERSHIP => 'PREFERRED_DEALERSHIP', - self::VEHICLE_PURCHASE_TIMELINE => 'VEHICLE_PURCHASE_TIMELINE', - self::VEHICLE_OWNERSHIP => 'VEHICLE_OWNERSHIP', - self::VEHICLE_PAYMENT_TYPE => 'VEHICLE_PAYMENT_TYPE', - self::VEHICLE_CONDITION => 'VEHICLE_CONDITION', - self::COMPANY_SIZE => 'COMPANY_SIZE', - self::ANNUAL_SALES => 'ANNUAL_SALES', - self::YEARS_IN_BUSINESS => 'YEARS_IN_BUSINESS', - self::JOB_DEPARTMENT => 'JOB_DEPARTMENT', - self::JOB_ROLE => 'JOB_ROLE', - self::OVER_18_AGE => 'OVER_18_AGE', - self::OVER_19_AGE => 'OVER_19_AGE', - self::OVER_20_AGE => 'OVER_20_AGE', - self::OVER_21_AGE => 'OVER_21_AGE', - self::OVER_22_AGE => 'OVER_22_AGE', - self::OVER_23_AGE => 'OVER_23_AGE', - self::OVER_24_AGE => 'OVER_24_AGE', - self::OVER_25_AGE => 'OVER_25_AGE', - self::OVER_26_AGE => 'OVER_26_AGE', - self::OVER_27_AGE => 'OVER_27_AGE', - self::OVER_28_AGE => 'OVER_28_AGE', - self::OVER_29_AGE => 'OVER_29_AGE', - self::OVER_30_AGE => 'OVER_30_AGE', - self::OVER_31_AGE => 'OVER_31_AGE', - self::OVER_32_AGE => 'OVER_32_AGE', - self::OVER_33_AGE => 'OVER_33_AGE', - self::OVER_34_AGE => 'OVER_34_AGE', - self::OVER_35_AGE => 'OVER_35_AGE', - self::OVER_36_AGE => 'OVER_36_AGE', - self::OVER_37_AGE => 'OVER_37_AGE', - self::OVER_38_AGE => 'OVER_38_AGE', - self::OVER_39_AGE => 'OVER_39_AGE', - self::OVER_40_AGE => 'OVER_40_AGE', - self::OVER_41_AGE => 'OVER_41_AGE', - self::OVER_42_AGE => 'OVER_42_AGE', - self::OVER_43_AGE => 'OVER_43_AGE', - self::OVER_44_AGE => 'OVER_44_AGE', - self::OVER_45_AGE => 'OVER_45_AGE', - self::OVER_46_AGE => 'OVER_46_AGE', - self::OVER_47_AGE => 'OVER_47_AGE', - self::OVER_48_AGE => 'OVER_48_AGE', - self::OVER_49_AGE => 'OVER_49_AGE', - self::OVER_50_AGE => 'OVER_50_AGE', - self::OVER_51_AGE => 'OVER_51_AGE', - self::OVER_52_AGE => 'OVER_52_AGE', - self::OVER_53_AGE => 'OVER_53_AGE', - self::OVER_54_AGE => 'OVER_54_AGE', - self::OVER_55_AGE => 'OVER_55_AGE', - self::OVER_56_AGE => 'OVER_56_AGE', - self::OVER_57_AGE => 'OVER_57_AGE', - self::OVER_58_AGE => 'OVER_58_AGE', - self::OVER_59_AGE => 'OVER_59_AGE', - self::OVER_60_AGE => 'OVER_60_AGE', - self::OVER_61_AGE => 'OVER_61_AGE', - self::OVER_62_AGE => 'OVER_62_AGE', - self::OVER_63_AGE => 'OVER_63_AGE', - self::OVER_64_AGE => 'OVER_64_AGE', - self::OVER_65_AGE => 'OVER_65_AGE', - self::EDUCATION_PROGRAM => 'EDUCATION_PROGRAM', - self::EDUCATION_COURSE => 'EDUCATION_COURSE', - self::PRODUCT => 'PRODUCT', - self::SERVICE => 'SERVICE', - self::OFFER => 'OFFER', - self::CATEGORY => 'CATEGORY', - self::PREFERRED_CONTACT_METHOD => 'PREFERRED_CONTACT_METHOD', - self::PREFERRED_LOCATION => 'PREFERRED_LOCATION', - self::PREFERRED_CONTACT_TIME => 'PREFERRED_CONTACT_TIME', - self::PURCHASE_TIMELINE => 'PURCHASE_TIMELINE', - self::YEARS_OF_EXPERIENCE => 'YEARS_OF_EXPERIENCE', - self::JOB_INDUSTRY => 'JOB_INDUSTRY', - self::LEVEL_OF_EDUCATION => 'LEVEL_OF_EDUCATION', - self::PROPERTY_TYPE => 'PROPERTY_TYPE', - self::REALTOR_HELP_GOAL => 'REALTOR_HELP_GOAL', - self::PROPERTY_COMMUNITY => 'PROPERTY_COMMUNITY', - self::PRICE_RANGE => 'PRICE_RANGE', - self::NUMBER_OF_BEDROOMS => 'NUMBER_OF_BEDROOMS', - self::FURNISHED_PROPERTY => 'FURNISHED_PROPERTY', - self::PETS_ALLOWED_PROPERTY => 'PETS_ALLOWED_PROPERTY', - self::NEXT_PLANNED_PURCHASE => 'NEXT_PLANNED_PURCHASE', - self::EVENT_SIGNUP_INTEREST => 'EVENT_SIGNUP_INTEREST', - self::PREFERRED_SHOPPING_PLACES => 'PREFERRED_SHOPPING_PLACES', - self::FAVORITE_BRAND => 'FAVORITE_BRAND', - self::TRANSPORTATION_COMMERCIAL_LICENSE_TYPE => 'TRANSPORTATION_COMMERCIAL_LICENSE_TYPE', - self::EVENT_BOOKING_INTEREST => 'EVENT_BOOKING_INTEREST', - self::DESTINATION_COUNTRY => 'DESTINATION_COUNTRY', - self::DESTINATION_CITY => 'DESTINATION_CITY', - self::DEPARTURE_COUNTRY => 'DEPARTURE_COUNTRY', - self::DEPARTURE_CITY => 'DEPARTURE_CITY', - self::DEPARTURE_DATE => 'DEPARTURE_DATE', - self::RETURN_DATE => 'RETURN_DATE', - self::NUMBER_OF_TRAVELERS => 'NUMBER_OF_TRAVELERS', - self::TRAVEL_BUDGET => 'TRAVEL_BUDGET', - self::TRAVEL_ACCOMMODATION => 'TRAVEL_ACCOMMODATION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LeadFormFieldUserInputType::class, \Google\Ads\GoogleAds\V15\Enums\LeadFormFieldUserInputTypeEnum_LeadFormFieldUserInputType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionTypeEnum.php deleted file mode 100644 index 8f62c2f44..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LeadFormPostSubmitCallToActionTypeEnum - */ -class LeadFormPostSubmitCallToActionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LeadFormPostSubmitCallToActionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionTypeEnum/LeadFormPostSubmitCallToActionType.php b/src/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionTypeEnum/LeadFormPostSubmitCallToActionType.php deleted file mode 100644 index cb4fb79cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LeadFormPostSubmitCallToActionTypeEnum/LeadFormPostSubmitCallToActionType.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType - */ -class LeadFormPostSubmitCallToActionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Visit site. - * - * Generated from protobuf enum VISIT_SITE = 2; - */ - const VISIT_SITE = 2; - /** - * Download. - * - * Generated from protobuf enum DOWNLOAD = 3; - */ - const DOWNLOAD = 3; - /** - * Learn more. - * - * Generated from protobuf enum LEARN_MORE = 4; - */ - const LEARN_MORE = 4; - /** - * Shop now. - * - * Generated from protobuf enum SHOP_NOW = 5; - */ - const SHOP_NOW = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::VISIT_SITE => 'VISIT_SITE', - self::DOWNLOAD => 'DOWNLOAD', - self::LEARN_MORE => 'LEARN_MORE', - self::SHOP_NOW => 'SHOP_NOW', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LeadFormPostSubmitCallToActionType::class, \Google\Ads\GoogleAds\V15\Enums\LeadFormPostSubmitCallToActionTypeEnum_LeadFormPostSubmitCallToActionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStoreEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStoreEnum.php deleted file mode 100644 index 6672157c2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStoreEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LegacyAppInstallAdAppStoreEnum - */ -class LegacyAppInstallAdAppStoreEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LegacyAppInstallAdAppStore::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStoreEnum/LegacyAppInstallAdAppStore.php b/src/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStoreEnum/LegacyAppInstallAdAppStore.php deleted file mode 100644 index b9cdee7d1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LegacyAppInstallAdAppStoreEnum/LegacyAppInstallAdAppStore.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore - */ -class LegacyAppInstallAdAppStore -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Apple iTunes. - * - * Generated from protobuf enum APPLE_APP_STORE = 2; - */ - const APPLE_APP_STORE = 2; - /** - * Google Play. - * - * Generated from protobuf enum GOOGLE_PLAY = 3; - */ - const GOOGLE_PLAY = 3; - /** - * Windows Store. - * - * Generated from protobuf enum WINDOWS_STORE = 4; - */ - const WINDOWS_STORE = 4; - /** - * Windows Phone Store. - * - * Generated from protobuf enum WINDOWS_PHONE_STORE = 5; - */ - const WINDOWS_PHONE_STORE = 5; - /** - * The app is hosted in a Chinese app store. - * - * Generated from protobuf enum CN_APP_STORE = 6; - */ - const CN_APP_STORE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::APPLE_APP_STORE => 'APPLE_APP_STORE', - self::GOOGLE_PLAY => 'GOOGLE_PLAY', - self::WINDOWS_STORE => 'WINDOWS_STORE', - self::WINDOWS_PHONE_STORE => 'WINDOWS_PHONE_STORE', - self::CN_APP_STORE => 'CN_APP_STORE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LegacyAppInstallAdAppStore::class, \Google\Ads\GoogleAds\V15\Enums\LegacyAppInstallAdAppStoreEnum_LegacyAppInstallAdAppStore::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LinkedAccountTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LinkedAccountTypeEnum.php deleted file mode 100644 index 241386743..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LinkedAccountTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LinkedAccountTypeEnum - */ -class LinkedAccountTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LinkedAccountType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LinkedAccountTypeEnum/LinkedAccountType.php b/src/Google/Ads/GoogleAds/V15/Enums/LinkedAccountTypeEnum/LinkedAccountType.php deleted file mode 100644 index e9c4eeb7d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LinkedAccountTypeEnum/LinkedAccountType.php +++ /dev/null @@ -1,88 +0,0 @@ -google.ads.googleads.v15.enums.LinkedAccountTypeEnum.LinkedAccountType - */ -class LinkedAccountType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A link to provide third party app analytics data. - * - * Generated from protobuf enum THIRD_PARTY_APP_ANALYTICS = 2; - */ - const THIRD_PARTY_APP_ANALYTICS = 2; - /** - * A link to Data partner. - * - * Generated from protobuf enum DATA_PARTNER = 3; - */ - const DATA_PARTNER = 3; - /** - * A link to Google Ads. - * - * Generated from protobuf enum GOOGLE_ADS = 4; - */ - const GOOGLE_ADS = 4; - /** - * A link to Google Ads account of the partner advertiser. - * Increase performance and share data by partnering with businesses that - * advertise the same items. - * - * Generated from protobuf enum ADVERTISING_PARTNER = 6; - */ - const ADVERTISING_PARTNER = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::THIRD_PARTY_APP_ANALYTICS => 'THIRD_PARTY_APP_ANALYTICS', - self::DATA_PARTNER => 'DATA_PARTNER', - self::GOOGLE_ADS => 'GOOGLE_ADS', - self::ADVERTISING_PARTNER => 'ADVERTISING_PARTNER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LinkedAccountType::class, \Google\Ads\GoogleAds\V15\Enums\LinkedAccountTypeEnum_LinkedAccountType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LinkedProductTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LinkedProductTypeEnum.php deleted file mode 100644 index 5226ee222..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LinkedProductTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LinkedProductTypeEnum - */ -class LinkedProductTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LinkedProductType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LinkedProductTypeEnum/LinkedProductType.php b/src/Google/Ads/GoogleAds/V15/Enums/LinkedProductTypeEnum/LinkedProductType.php deleted file mode 100644 index 43973ee66..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LinkedProductTypeEnum/LinkedProductType.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType - */ -class LinkedProductType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A link to Data partner. - * - * Generated from protobuf enum DATA_PARTNER = 2; - */ - const DATA_PARTNER = 2; - /** - * A link to Google Ads. - * - * Generated from protobuf enum GOOGLE_ADS = 3; - */ - const GOOGLE_ADS = 3; - /** - * A link to Hotel Center. - * - * Generated from protobuf enum HOTEL_CENTER = 7; - */ - const HOTEL_CENTER = 7; - /** - * A link to Google Merchant Center. - * - * Generated from protobuf enum MERCHANT_CENTER = 8; - */ - const MERCHANT_CENTER = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DATA_PARTNER => 'DATA_PARTNER', - self::GOOGLE_ADS => 'GOOGLE_ADS', - self::HOTEL_CENTER => 'HOTEL_CENTER', - self::MERCHANT_CENTER => 'MERCHANT_CENTER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LinkedProductType::class, \Google\Ads\GoogleAds\V15\Enums\LinkedProductTypeEnum_LinkedProductType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndexEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndexEnum.php deleted file mode 100644 index dae331d7d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndexEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterCustomAttributeIndexEnum - */ -class ListingGroupFilterCustomAttributeIndexEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterCustomAttributeIndex::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndexEnum/ListingGroupFilterCustomAttributeIndex.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndexEnum/ListingGroupFilterCustomAttributeIndex.php deleted file mode 100644 index 93fc5e50c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterCustomAttributeIndexEnum/ListingGroupFilterCustomAttributeIndex.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex - */ -class ListingGroupFilterCustomAttributeIndex -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * First listing group filter custom attribute. - * - * Generated from protobuf enum INDEX0 = 2; - */ - const INDEX0 = 2; - /** - * Second listing group filter custom attribute. - * - * Generated from protobuf enum INDEX1 = 3; - */ - const INDEX1 = 3; - /** - * Third listing group filter custom attribute. - * - * Generated from protobuf enum INDEX2 = 4; - */ - const INDEX2 = 4; - /** - * Fourth listing group filter custom attribute. - * - * Generated from protobuf enum INDEX3 = 5; - */ - const INDEX3 = 5; - /** - * Fifth listing group filter custom attribute. - * - * Generated from protobuf enum INDEX4 = 6; - */ - const INDEX4 = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INDEX0 => 'INDEX0', - self::INDEX1 => 'INDEX1', - self::INDEX2 => 'INDEX2', - self::INDEX3 => 'INDEX3', - self::INDEX4 => 'INDEX4', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingGroupFilterCustomAttributeIndex::class, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterCustomAttributeIndexEnum_ListingGroupFilterCustomAttributeIndex::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSourceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSourceEnum.php deleted file mode 100644 index f42549449..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSourceEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterListingSourceEnum - */ -class ListingGroupFilterListingSourceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterListingSource::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSourceEnum/ListingGroupFilterListingSource.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSourceEnum/ListingGroupFilterListingSource.php deleted file mode 100644 index a7602103e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterListingSourceEnum/ListingGroupFilterListingSource.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource - */ -class ListingGroupFilterListingSource -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Listings from a Shopping source, like products from Google Merchant - * Center. - * - * Generated from protobuf enum SHOPPING = 2; - */ - const SHOPPING = 2; - /** - * Listings from a webpage source, like URLs from a page feed or from the - * advertiser web domain. - * - * Generated from protobuf enum WEBPAGE = 3; - */ - const WEBPAGE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SHOPPING => 'SHOPPING', - self::WEBPAGE => 'WEBPAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingGroupFilterListingSource::class, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterListingSourceEnum_ListingGroupFilterListingSource::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevelEnum.php deleted file mode 100644 index 175835bf3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevelEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterProductCategoryLevelEnum - */ -class ListingGroupFilterProductCategoryLevelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductCategoryLevel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevelEnum/ListingGroupFilterProductCategoryLevel.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevelEnum/ListingGroupFilterProductCategoryLevel.php deleted file mode 100644 index 37ead6866..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductCategoryLevelEnum/ListingGroupFilterProductCategoryLevel.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterProductCategoryLevelEnum.ListingGroupFilterProductCategoryLevel - */ -class ListingGroupFilterProductCategoryLevel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Level 1. - * - * Generated from protobuf enum LEVEL1 = 2; - */ - const LEVEL1 = 2; - /** - * Level 2. - * - * Generated from protobuf enum LEVEL2 = 3; - */ - const LEVEL2 = 3; - /** - * Level 3. - * - * Generated from protobuf enum LEVEL3 = 4; - */ - const LEVEL3 = 4; - /** - * Level 4. - * - * Generated from protobuf enum LEVEL4 = 5; - */ - const LEVEL4 = 5; - /** - * Level 5. - * - * Generated from protobuf enum LEVEL5 = 6; - */ - const LEVEL5 = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LEVEL1 => 'LEVEL1', - self::LEVEL2 => 'LEVEL2', - self::LEVEL3 => 'LEVEL3', - self::LEVEL4 => 'LEVEL4', - self::LEVEL5 => 'LEVEL5', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingGroupFilterProductCategoryLevel::class, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductCategoryLevelEnum_ListingGroupFilterProductCategoryLevel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannelEnum.php deleted file mode 100644 index 697021f0b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterProductChannelEnum - */ -class ListingGroupFilterProductChannelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductChannel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannelEnum/ListingGroupFilterProductChannel.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannelEnum/ListingGroupFilterProductChannel.php deleted file mode 100644 index 3808458c3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductChannelEnum/ListingGroupFilterProductChannel.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel - */ -class ListingGroupFilterProductChannel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The item is sold online. - * - * Generated from protobuf enum ONLINE = 2; - */ - const ONLINE = 2; - /** - * The item is sold in local stores. - * - * Generated from protobuf enum LOCAL = 3; - */ - const LOCAL = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ONLINE => 'ONLINE', - self::LOCAL => 'LOCAL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingGroupFilterProductChannel::class, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductChannelEnum_ListingGroupFilterProductChannel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductConditionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductConditionEnum.php deleted file mode 100644 index 3dd26b4cd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductConditionEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterProductConditionEnum - */ -class ListingGroupFilterProductConditionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductCondition::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductConditionEnum/ListingGroupFilterProductCondition.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductConditionEnum/ListingGroupFilterProductCondition.php deleted file mode 100644 index b04758e11..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductConditionEnum/ListingGroupFilterProductCondition.php +++ /dev/null @@ -1,82 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition - */ -class ListingGroupFilterProductCondition -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The product condition is new. - * - * Generated from protobuf enum NEW = 2; - */ - const PBNEW = 2; - /** - * The product condition is refurbished. - * - * Generated from protobuf enum REFURBISHED = 3; - */ - const REFURBISHED = 3; - /** - * The product condition is used. - * - * Generated from protobuf enum USED = 4; - */ - const USED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PBNEW => 'NEW', - self::REFURBISHED => 'REFURBISHED', - self::USED => 'USED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingGroupFilterProductCondition::class, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductConditionEnum_ListingGroupFilterProductCondition::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevelEnum.php deleted file mode 100644 index 7c253ce7a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterProductTypeLevelEnum - */ -class ListingGroupFilterProductTypeLevelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductTypeLevel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevelEnum/ListingGroupFilterProductTypeLevel.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevelEnum/ListingGroupFilterProductTypeLevel.php deleted file mode 100644 index 9f036bf12..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterProductTypeLevelEnum/ListingGroupFilterProductTypeLevel.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel - */ -class ListingGroupFilterProductTypeLevel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Level 1. - * - * Generated from protobuf enum LEVEL1 = 2; - */ - const LEVEL1 = 2; - /** - * Level 2. - * - * Generated from protobuf enum LEVEL2 = 3; - */ - const LEVEL2 = 3; - /** - * Level 3. - * - * Generated from protobuf enum LEVEL3 = 4; - */ - const LEVEL3 = 4; - /** - * Level 4. - * - * Generated from protobuf enum LEVEL4 = 5; - */ - const LEVEL4 = 5; - /** - * Level 5. - * - * Generated from protobuf enum LEVEL5 = 6; - */ - const LEVEL5 = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LEVEL1 => 'LEVEL1', - self::LEVEL2 => 'LEVEL2', - self::LEVEL3 => 'LEVEL3', - self::LEVEL4 => 'LEVEL4', - self::LEVEL5 => 'LEVEL5', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingGroupFilterProductTypeLevel::class, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductTypeLevelEnum_ListingGroupFilterProductTypeLevel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum.php deleted file mode 100644 index d5460b69e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterTypeEnum - */ -class ListingGroupFilterTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterTypeEnum::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum/ListingGroupFilterType.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum/ListingGroupFilterType.php deleted file mode 100644 index f9589a986..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupFilterTypeEnum/ListingGroupFilterType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType - */ -class ListingGroupFilterType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Subdivision of products along some listing dimensions. - * - * Generated from protobuf enum SUBDIVISION = 2; - */ - const SUBDIVISION = 2; - /** - * An included listing group filter leaf node. - * - * Generated from protobuf enum UNIT_INCLUDED = 3; - */ - const UNIT_INCLUDED = 3; - /** - * An excluded listing group filter leaf node. - * - * Generated from protobuf enum UNIT_EXCLUDED = 4; - */ - const UNIT_EXCLUDED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SUBDIVISION => 'SUBDIVISION', - self::UNIT_INCLUDED => 'UNIT_INCLUDED', - self::UNIT_EXCLUDED => 'UNIT_EXCLUDED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingGroupFilterType::class, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterTypeEnum_ListingGroupFilterType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupTypeEnum.php deleted file mode 100644 index ef08e423a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupTypeEnum - */ -class ListingGroupTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingGroupType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupTypeEnum/ListingGroupType.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupTypeEnum/ListingGroupType.php deleted file mode 100644 index 81fd04a53..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingGroupTypeEnum/ListingGroupType.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.enums.ListingGroupTypeEnum.ListingGroupType - */ -class ListingGroupType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Subdivision of products along some listing dimension. These nodes - * are not used by serving to target listing entries, but is purely - * to define the structure of the tree. - * - * Generated from protobuf enum SUBDIVISION = 2; - */ - const SUBDIVISION = 2; - /** - * Listing group unit that defines a bid. - * - * Generated from protobuf enum UNIT = 3; - */ - const UNIT = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SUBDIVISION => 'SUBDIVISION', - self::UNIT => 'UNIT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingGroupType::class, \Google\Ads\GoogleAds\V15\Enums\ListingGroupTypeEnum_ListingGroupType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingTypeEnum.php deleted file mode 100644 index 1e3d1c67d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ListingTypeEnum - */ -class ListingTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ListingType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ListingTypeEnum/ListingType.php b/src/Google/Ads/GoogleAds/V15/Enums/ListingTypeEnum/ListingType.php deleted file mode 100644 index ef9b51520..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ListingTypeEnum/ListingType.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.ListingTypeEnum.ListingType - */ -class ListingType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * This campaign serves vehicle ads. - * - * Generated from protobuf enum VEHICLES = 2; - */ - const VEHICLES = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::VEHICLES => 'VEHICLES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListingType::class, \Google\Ads\GoogleAds\V15\Enums\ListingTypeEnum_ListingType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderFieldEnum.php deleted file mode 100644 index f833c425a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderFieldEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.LocalPlaceholderFieldEnum - */ -class LocalPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderFieldEnum/LocalPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderFieldEnum/LocalPlaceholderField.php deleted file mode 100644 index c2fc1e573..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalPlaceholderFieldEnum/LocalPlaceholderField.php +++ /dev/null @@ -1,206 +0,0 @@ -google.ads.googleads.v15.enums.LocalPlaceholderFieldEnum.LocalPlaceholderField - */ -class LocalPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Required. Unique ID. - * - * Generated from protobuf enum DEAL_ID = 2; - */ - const DEAL_ID = 2; - /** - * Data Type: STRING. Required. Main headline with local deal title to be - * shown in dynamic ad. - * - * Generated from protobuf enum DEAL_NAME = 3; - */ - const DEAL_NAME = 3; - /** - * Data Type: STRING. Local deal subtitle to be shown in dynamic ad. - * - * Generated from protobuf enum SUBTITLE = 4; - */ - const SUBTITLE = 4; - /** - * Data Type: STRING. Description of local deal to be shown in dynamic ad. - * - * Generated from protobuf enum DESCRIPTION = 5; - */ - const DESCRIPTION = 5; - /** - * Data Type: STRING. Price to be shown in the ad. Highly recommended for - * dynamic ads. Example: "100.00 USD" - * - * Generated from protobuf enum PRICE = 6; - */ - const PRICE = 6; - /** - * Data Type: STRING. Formatted price to be shown in the ad. - * Example: "Starting at $100.00 USD", "$80 - $100" - * - * Generated from protobuf enum FORMATTED_PRICE = 7; - */ - const FORMATTED_PRICE = 7; - /** - * Data Type: STRING. Sale price to be shown in the ad. - * Example: "80.00 USD" - * - * Generated from protobuf enum SALE_PRICE = 8; - */ - const SALE_PRICE = 8; - /** - * Data Type: STRING. Formatted sale price to be shown in the ad. - * Example: "On sale for $80.00", "$60 - $80" - * - * Generated from protobuf enum FORMATTED_SALE_PRICE = 9; - */ - const FORMATTED_SALE_PRICE = 9; - /** - * Data Type: URL. Image to be displayed in the ad. - * - * Generated from protobuf enum IMAGE_URL = 10; - */ - const IMAGE_URL = 10; - /** - * Data Type: STRING. Complete property address, including postal code. - * - * Generated from protobuf enum ADDRESS = 11; - */ - const ADDRESS = 11; - /** - * Data Type: STRING. Category of local deal used to group like items - * together for recommendation engine. - * - * Generated from protobuf enum CATEGORY = 12; - */ - const CATEGORY = 12; - /** - * Data Type: STRING_LIST. Keywords used for product retrieval. - * - * Generated from protobuf enum CONTEXTUAL_KEYWORDS = 13; - */ - const CONTEXTUAL_KEYWORDS = 13; - /** - * Data Type: URL_LIST. Required. Final URLs to be used in ad when using - * Upgraded URLs; the more specific the better (for example, the individual - * URL of a specific local deal and its location). - * - * Generated from protobuf enum FINAL_URLS = 14; - */ - const FINAL_URLS = 14; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 15; - */ - const FINAL_MOBILE_URLS = 15; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 16; - */ - const TRACKING_URL = 16; - /** - * Data Type: STRING. Android app link. Must be formatted as: - * android-app://{package_id}/{scheme}/{host_path}. - * The components are defined as follows: - * package_id: app ID as specified in Google Play. - * scheme: the scheme to pass to the application. Can be HTTP, or a custom - * scheme. - * host_path: identifies the specific content within your application. - * - * Generated from protobuf enum ANDROID_APP_LINK = 17; - */ - const ANDROID_APP_LINK = 17; - /** - * Data Type: STRING_LIST. List of recommended local deal IDs to show - * together with this item. - * - * Generated from protobuf enum SIMILAR_DEAL_IDS = 18; - */ - const SIMILAR_DEAL_IDS = 18; - /** - * Data Type: STRING. iOS app link. - * - * Generated from protobuf enum IOS_APP_LINK = 19; - */ - const IOS_APP_LINK = 19; - /** - * Data Type: INT64. iOS app store ID. - * - * Generated from protobuf enum IOS_APP_STORE_ID = 20; - */ - const IOS_APP_STORE_ID = 20; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DEAL_ID => 'DEAL_ID', - self::DEAL_NAME => 'DEAL_NAME', - self::SUBTITLE => 'SUBTITLE', - self::DESCRIPTION => 'DESCRIPTION', - self::PRICE => 'PRICE', - self::FORMATTED_PRICE => 'FORMATTED_PRICE', - self::SALE_PRICE => 'SALE_PRICE', - self::FORMATTED_SALE_PRICE => 'FORMATTED_SALE_PRICE', - self::IMAGE_URL => 'IMAGE_URL', - self::ADDRESS => 'ADDRESS', - self::CATEGORY => 'CATEGORY', - self::CONTEXTUAL_KEYWORDS => 'CONTEXTUAL_KEYWORDS', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::ANDROID_APP_LINK => 'ANDROID_APP_LINK', - self::SIMILAR_DEAL_IDS => 'SIMILAR_DEAL_IDS', - self::IOS_APP_LINK => 'IOS_APP_LINK', - self::IOS_APP_STORE_ID => 'IOS_APP_STORE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocalPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\LocalPlaceholderFieldEnum_LocalPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReasonEnum.php deleted file mode 100644 index e95db06e1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReasonEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesInsuranceRejectionReasonEnum - */ -class LocalServicesInsuranceRejectionReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesInsuranceRejectionReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReasonEnum/LocalServicesInsuranceRejectionReason.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReasonEnum/LocalServicesInsuranceRejectionReason.php deleted file mode 100644 index ae137d4c6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesInsuranceRejectionReasonEnum/LocalServicesInsuranceRejectionReason.php +++ /dev/null @@ -1,159 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason - */ -class LocalServicesInsuranceRejectionReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Business name doesn't match business name for the Local Services Ad. - * - * Generated from protobuf enum BUSINESS_NAME_MISMATCH = 2; - */ - const BUSINESS_NAME_MISMATCH = 2; - /** - * Insurance amount doesn't meet requirement listed in the legal summaries - * documentation for that geographic + category ID combination. - * - * Generated from protobuf enum INSURANCE_AMOUNT_INSUFFICIENT = 3; - */ - const INSURANCE_AMOUNT_INSUFFICIENT = 3; - /** - * Insurance document is expired. - * - * Generated from protobuf enum EXPIRED = 4; - */ - const EXPIRED = 4; - /** - * Insurance document is missing a signature. - * - * Generated from protobuf enum NO_SIGNATURE = 5; - */ - const NO_SIGNATURE = 5; - /** - * Insurance document is missing a policy number. - * - * Generated from protobuf enum NO_POLICY_NUMBER = 6; - */ - const NO_POLICY_NUMBER = 6; - /** - * Commercial General Liability(CGL) box is not marked in the insurance - * document. - * - * Generated from protobuf enum NO_COMMERCIAL_GENERAL_LIABILITY = 7; - */ - const NO_COMMERCIAL_GENERAL_LIABILITY = 7; - /** - * Insurance document is in an editable format. - * - * Generated from protobuf enum EDITABLE_FORMAT = 8; - */ - const EDITABLE_FORMAT = 8; - /** - * Insurance document does not cover insurance for a particular category. - * - * Generated from protobuf enum CATEGORY_MISMATCH = 9; - */ - const CATEGORY_MISMATCH = 9; - /** - * Insurance document is missing an expiration date. - * - * Generated from protobuf enum MISSING_EXPIRATION_DATE = 10; - */ - const MISSING_EXPIRATION_DATE = 10; - /** - * Insurance document is poor quality - blurry images, illegible, etc... - * - * Generated from protobuf enum POOR_QUALITY = 11; - */ - const POOR_QUALITY = 11; - /** - * Insurance document is suspected of being edited. - * - * Generated from protobuf enum POTENTIALLY_EDITED = 12; - */ - const POTENTIALLY_EDITED = 12; - /** - * Insurance document not accepted. For example, documents of insurance - * proposals, but missing coverages are not accepted. - * - * Generated from protobuf enum WRONG_DOCUMENT_TYPE = 13; - */ - const WRONG_DOCUMENT_TYPE = 13; - /** - * Insurance document is not final. - * - * Generated from protobuf enum NON_FINAL = 14; - */ - const NON_FINAL = 14; - /** - * Insurance document has another flaw not listed explicitly. - * - * Generated from protobuf enum OTHER = 15; - */ - const OTHER = 15; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BUSINESS_NAME_MISMATCH => 'BUSINESS_NAME_MISMATCH', - self::INSURANCE_AMOUNT_INSUFFICIENT => 'INSURANCE_AMOUNT_INSUFFICIENT', - self::EXPIRED => 'EXPIRED', - self::NO_SIGNATURE => 'NO_SIGNATURE', - self::NO_POLICY_NUMBER => 'NO_POLICY_NUMBER', - self::NO_COMMERCIAL_GENERAL_LIABILITY => 'NO_COMMERCIAL_GENERAL_LIABILITY', - self::EDITABLE_FORMAT => 'EDITABLE_FORMAT', - self::CATEGORY_MISMATCH => 'CATEGORY_MISMATCH', - self::MISSING_EXPIRATION_DATE => 'MISSING_EXPIRATION_DATE', - self::POOR_QUALITY => 'POOR_QUALITY', - self::POTENTIALLY_EDITED => 'POTENTIALLY_EDITED', - self::WRONG_DOCUMENT_TYPE => 'WRONG_DOCUMENT_TYPE', - self::NON_FINAL => 'NON_FINAL', - self::OTHER => 'OTHER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocalServicesInsuranceRejectionReason::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesInsuranceRejectionReasonEnum_LocalServicesInsuranceRejectionReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadConversationTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadConversationTypeEnum.php deleted file mode 100644 index c220f320b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadConversationTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesLeadConversationTypeEnum - */ -class LocalServicesLeadConversationTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesConversationType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadConversationTypeEnum/ConversationType.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadConversationTypeEnum/ConversationType.php deleted file mode 100644 index ff5aa0314..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadConversationTypeEnum/ConversationType.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesLeadConversationTypeEnum.ConversationType - */ -class ConversationType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Email lead conversation. - * - * Generated from protobuf enum EMAIL = 2; - */ - const EMAIL = 2; - /** - * Message lead conversation. - * - * Generated from protobuf enum MESSAGE = 3; - */ - const MESSAGE = 3; - /** - * Phone call lead conversation. - * - * Generated from protobuf enum PHONE_CALL = 4; - */ - const PHONE_CALL = 4; - /** - * SMS lead conversation. - * - * Generated from protobuf enum SMS = 5; - */ - const SMS = 5; - /** - * Booking lead conversation. - * - * Generated from protobuf enum BOOKING = 6; - */ - const BOOKING = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EMAIL => 'EMAIL', - self::MESSAGE => 'MESSAGE', - self::PHONE_CALL => 'PHONE_CALL', - self::SMS => 'SMS', - self::BOOKING => 'BOOKING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversationType::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesLeadConversationTypeEnum_ConversationType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatusEnum.php deleted file mode 100644 index 75facbe5c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum - */ -class LocalServicesLeadStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesLeadStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatusEnum/LeadStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatusEnum/LeadStatus.php deleted file mode 100644 index 3252b2781..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadStatusEnum/LeadStatus.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum.LeadStatus - */ -class LeadStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * New lead which hasn't yet been seen by advertiser. - * - * Generated from protobuf enum NEW = 2; - */ - const PBNEW = 2; - /** - * Lead that thas been interacted by advertiser. - * - * Generated from protobuf enum ACTIVE = 3; - */ - const ACTIVE = 3; - /** - * Lead has been booked. - * - * Generated from protobuf enum BOOKED = 4; - */ - const BOOKED = 4; - /** - * Lead was declined by advertiser. - * - * Generated from protobuf enum DECLINED = 5; - */ - const DECLINED = 5; - /** - * Lead has expired due to inactivity. - * - * Generated from protobuf enum EXPIRED = 6; - */ - const EXPIRED = 6; - /** - * Disabled due to spam or dispute. - * - * Generated from protobuf enum DISABLED = 7; - */ - const DISABLED = 7; - /** - * Consumer declined the lead. - * - * Generated from protobuf enum CONSUMER_DECLINED = 8; - */ - const CONSUMER_DECLINED = 8; - /** - * Personally Identifiable Information of the lead is wiped out. - * - * Generated from protobuf enum WIPED_OUT = 9; - */ - const WIPED_OUT = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PBNEW => 'NEW', - self::ACTIVE => 'ACTIVE', - self::BOOKED => 'BOOKED', - self::DECLINED => 'DECLINED', - self::EXPIRED => 'EXPIRED', - self::DISABLED => 'DISABLED', - self::CONSUMER_DECLINED => 'CONSUMER_DECLINED', - self::WIPED_OUT => 'WIPED_OUT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LeadStatus::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesLeadStatusEnum_LeadStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadTypeEnum.php deleted file mode 100644 index c42e1792e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum - */ -class LocalServicesLeadTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesLeadType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadTypeEnum/LeadType.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadTypeEnum/LeadType.php deleted file mode 100644 index 5ed1d01ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLeadTypeEnum/LeadType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType - */ -class LeadType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Message lead. - * - * Generated from protobuf enum MESSAGE = 2; - */ - const MESSAGE = 2; - /** - * Lead created by phone call. - * - * Generated from protobuf enum PHONE_CALL = 3; - */ - const PHONE_CALL = 3; - /** - * Booking lead. - * - * Generated from protobuf enum BOOKING = 4; - */ - const BOOKING = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MESSAGE => 'MESSAGE', - self::PHONE_CALL => 'PHONE_CALL', - self::BOOKING => 'BOOKING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LeadType::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesLeadTypeEnum_LeadType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReasonEnum.php deleted file mode 100644 index ee2f95cca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReasonEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum - */ -class LocalServicesLicenseRejectionReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesLicenseRejectionReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReasonEnum/LocalServicesLicenseRejectionReason.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReasonEnum/LocalServicesLicenseRejectionReason.php deleted file mode 100644 index c103133a1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesLicenseRejectionReasonEnum/LocalServicesLicenseRejectionReason.php +++ /dev/null @@ -1,107 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason - */ -class LocalServicesLicenseRejectionReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Business name doesn't match business name for the Local Services Ad. - * - * Generated from protobuf enum BUSINESS_NAME_MISMATCH = 2; - */ - const BUSINESS_NAME_MISMATCH = 2; - /** - * License is unauthorized or been revoked. - * - * Generated from protobuf enum UNAUTHORIZED = 3; - */ - const UNAUTHORIZED = 3; - /** - * License is expired. - * - * Generated from protobuf enum EXPIRED = 4; - */ - const EXPIRED = 4; - /** - * License is poor quality - blurry images, illegible, etc... - * - * Generated from protobuf enum POOR_QUALITY = 5; - */ - const POOR_QUALITY = 5; - /** - * License cannot be verified due to a not legitimate image. - * - * Generated from protobuf enum UNVERIFIABLE = 6; - */ - const UNVERIFIABLE = 6; - /** - * License is not the requested document type or contains an invalid ID. - * - * Generated from protobuf enum WRONG_DOCUMENT_OR_ID = 7; - */ - const WRONG_DOCUMENT_OR_ID = 7; - /** - * License has another flaw not listed explicitly. - * - * Generated from protobuf enum OTHER = 8; - */ - const OTHER = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BUSINESS_NAME_MISMATCH => 'BUSINESS_NAME_MISMATCH', - self::UNAUTHORIZED => 'UNAUTHORIZED', - self::EXPIRED => 'EXPIRED', - self::POOR_QUALITY => 'POOR_QUALITY', - self::UNVERIFIABLE => 'UNVERIFIABLE', - self::WRONG_DOCUMENT_OR_ID => 'WRONG_DOCUMENT_OR_ID', - self::OTHER => 'OTHER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocalServicesLicenseRejectionReason::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesLicenseRejectionReasonEnum_LocalServicesLicenseRejectionReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantTypeEnum.php deleted file mode 100644 index ef03c53aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesParticipantTypeEnum - */ -class LocalServicesParticipantTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesParticipantType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantTypeEnum/ParticipantType.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantTypeEnum/ParticipantType.php deleted file mode 100644 index da9bc046c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesParticipantTypeEnum/ParticipantType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesParticipantTypeEnum.ParticipantType - */ -class ParticipantType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Local Services Ads Provider participant. - * - * Generated from protobuf enum ADVERTISER = 2; - */ - const ADVERTISER = 2; - /** - * Local Services Ads Consumer participant. - * - * Generated from protobuf enum CONSUMER = 3; - */ - const CONSUMER = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADVERTISER => 'ADVERTISER', - self::CONSUMER => 'CONSUMER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ParticipantType::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesParticipantTypeEnum_ParticipantType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatusEnum.php deleted file mode 100644 index 25e95008f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesVerificationArtifactStatusEnum - */ -class LocalServicesVerificationArtifactStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationArtifactStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatusEnum/LocalServicesVerificationArtifactStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatusEnum/LocalServicesVerificationArtifactStatus.php deleted file mode 100644 index 84dcd3c57..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactStatusEnum/LocalServicesVerificationArtifactStatus.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus - */ -class LocalServicesVerificationArtifactStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Artifact has passed verification. - * - * Generated from protobuf enum PASSED = 2; - */ - const PASSED = 2; - /** - * Artifact has failed verification. - * - * Generated from protobuf enum FAILED = 3; - */ - const FAILED = 3; - /** - * Artifact is in the process of verification. - * - * Generated from protobuf enum PENDING = 4; - */ - const PENDING = 4; - /** - * Artifact needs user to upload information before it is verified. - * - * Generated from protobuf enum NO_SUBMISSION = 5; - */ - const NO_SUBMISSION = 5; - /** - * Artifact has been cancelled by the user. - * - * Generated from protobuf enum CANCELLED = 6; - */ - const CANCELLED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PASSED => 'PASSED', - self::FAILED => 'FAILED', - self::PENDING => 'PENDING', - self::NO_SUBMISSION => 'NO_SUBMISSION', - self::CANCELLED => 'CANCELLED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocalServicesVerificationArtifactStatus::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationArtifactStatusEnum_LocalServicesVerificationArtifactStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactTypeEnum/LocalServicesVerificationArtifactType.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactTypeEnum/LocalServicesVerificationArtifactType.php deleted file mode 100644 index f04f5f6e6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactTypeEnum/LocalServicesVerificationArtifactType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType - */ -class LocalServicesVerificationArtifactType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Background check verification artifact. - * - * Generated from protobuf enum BACKGROUND_CHECK = 2; - */ - const BACKGROUND_CHECK = 2; - /** - * Insurance verification artifact. - * - * Generated from protobuf enum INSURANCE = 3; - */ - const INSURANCE = 3; - /** - * License verification artifact. - * - * Generated from protobuf enum LICENSE = 4; - */ - const LICENSE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BACKGROUND_CHECK => 'BACKGROUND_CHECK', - self::INSURANCE => 'INSURANCE', - self::LICENSE => 'LICENSE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocalServicesVerificationArtifactType::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationArtifactTypeEnum_LocalServicesVerificationArtifactType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatusEnum.php deleted file mode 100644 index 54468b395..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesVerificationStatusEnum - */ -class LocalServicesVerificationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatusEnum/LocalServicesVerificationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatusEnum/LocalServicesVerificationStatus.php deleted file mode 100644 index 52b708a6b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationStatusEnum/LocalServicesVerificationStatus.php +++ /dev/null @@ -1,107 +0,0 @@ -google.ads.googleads.v15.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus - */ -class LocalServicesVerificationStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Unknown verification status. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Verification has started, but has not finished. - * - * Generated from protobuf enum NEEDS_REVIEW = 2; - */ - const NEEDS_REVIEW = 2; - /** - * Verification has failed. - * - * Generated from protobuf enum FAILED = 3; - */ - const FAILED = 3; - /** - * Verification has passed. - * - * Generated from protobuf enum PASSED = 4; - */ - const PASSED = 4; - /** - * Verification is not applicable. - * - * Generated from protobuf enum NOT_APPLICABLE = 5; - */ - const NOT_APPLICABLE = 5; - /** - * Verification is required but pending submission. - * - * Generated from protobuf enum NO_SUBMISSION = 6; - */ - const NO_SUBMISSION = 6; - /** - * Not all required verification has been submitted. - * - * Generated from protobuf enum PARTIAL_SUBMISSION = 7; - */ - const PARTIAL_SUBMISSION = 7; - /** - * Verification needs review by Local Services Ads Ops Specialist. - * - * Generated from protobuf enum PENDING_ESCALATION = 8; - */ - const PENDING_ESCALATION = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NEEDS_REVIEW => 'NEEDS_REVIEW', - self::FAILED => 'FAILED', - self::PASSED => 'PASSED', - self::NOT_APPLICABLE => 'NOT_APPLICABLE', - self::NO_SUBMISSION => 'NO_SUBMISSION', - self::PARTIAL_SUBMISSION => 'PARTIAL_SUBMISSION', - self::PENDING_ESCALATION => 'PENDING_ESCALATION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocalServicesVerificationStatus::class, \Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationStatusEnum_LocalServicesVerificationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionFieldEnum.php deleted file mode 100644 index bce70056e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocationExtensionTargetingCriterionFieldEnum - */ -class LocationExtensionTargetingCriterionFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocationExtensionTargetingCriterionField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionFieldEnum/LocationExtensionTargetingCriterionField.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionFieldEnum/LocationExtensionTargetingCriterionField.php deleted file mode 100644 index 5257350a9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationExtensionTargetingCriterionFieldEnum/LocationExtensionTargetingCriterionField.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionField - */ -class LocationExtensionTargetingCriterionField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Line 1 of the business address. - * - * Generated from protobuf enum ADDRESS_LINE_1 = 2; - */ - const ADDRESS_LINE_1 = 2; - /** - * Data Type: STRING. Line 2 of the business address. - * - * Generated from protobuf enum ADDRESS_LINE_2 = 3; - */ - const ADDRESS_LINE_2 = 3; - /** - * Data Type: STRING. City of the business address. - * - * Generated from protobuf enum CITY = 4; - */ - const CITY = 4; - /** - * Data Type: STRING. Province of the business address. - * - * Generated from protobuf enum PROVINCE = 5; - */ - const PROVINCE = 5; - /** - * Data Type: STRING. Postal code of the business address. - * - * Generated from protobuf enum POSTAL_CODE = 6; - */ - const POSTAL_CODE = 6; - /** - * Data Type: STRING. Country code of the business address. - * - * Generated from protobuf enum COUNTRY_CODE = 7; - */ - const COUNTRY_CODE = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADDRESS_LINE_1 => 'ADDRESS_LINE_1', - self::ADDRESS_LINE_2 => 'ADDRESS_LINE_2', - self::CITY => 'CITY', - self::PROVINCE => 'PROVINCE', - self::POSTAL_CODE => 'POSTAL_CODE', - self::COUNTRY_CODE => 'COUNTRY_CODE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocationExtensionTargetingCriterionField::class, \Google\Ads\GoogleAds\V15\Enums\LocationExtensionTargetingCriterionFieldEnum_LocationExtensionTargetingCriterionField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnitsEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnitsEnum.php deleted file mode 100644 index 2007c20a8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnitsEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocationGroupRadiusUnitsEnum - */ -class LocationGroupRadiusUnitsEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocationGroupRadiusUnits::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnitsEnum/LocationGroupRadiusUnits.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnitsEnum/LocationGroupRadiusUnits.php deleted file mode 100644 index a4d311d4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationGroupRadiusUnitsEnum/LocationGroupRadiusUnits.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits - */ -class LocationGroupRadiusUnits -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Meters - * - * Generated from protobuf enum METERS = 2; - */ - const METERS = 2; - /** - * Miles - * - * Generated from protobuf enum MILES = 3; - */ - const MILES = 3; - /** - * Milli Miles - * - * Generated from protobuf enum MILLI_MILES = 4; - */ - const MILLI_MILES = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::METERS => 'METERS', - self::MILES => 'MILES', - self::MILLI_MILES => 'MILLI_MILES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocationGroupRadiusUnits::class, \Google\Ads\GoogleAds\V15\Enums\LocationGroupRadiusUnitsEnum_LocationGroupRadiusUnits::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipTypeEnum.php deleted file mode 100644 index 8bda2e2a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocationOwnershipTypeEnum - */ -class LocationOwnershipTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocationOwnershipType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipTypeEnum/LocationOwnershipType.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipTypeEnum/LocationOwnershipType.php deleted file mode 100644 index 7ceaab123..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationOwnershipTypeEnum/LocationOwnershipType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType - */ -class LocationOwnershipType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Business Owner of location(legacy location extension - LE). - * - * Generated from protobuf enum BUSINESS_OWNER = 2; - */ - const BUSINESS_OWNER = 2; - /** - * Affiliate location(Third party location extension - ALE). - * - * Generated from protobuf enum AFFILIATE = 3; - */ - const AFFILIATE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BUSINESS_OWNER => 'BUSINESS_OWNER', - self::AFFILIATE => 'AFFILIATE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocationOwnershipType::class, \Google\Ads\GoogleAds\V15\Enums\LocationOwnershipTypeEnum_LocationOwnershipType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderFieldEnum.php deleted file mode 100644 index 0d13d875a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocationPlaceholderFieldEnum - */ -class LocationPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocationPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderFieldEnum/LocationPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderFieldEnum/LocationPlaceholderField.php deleted file mode 100644 index 3d27360bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationPlaceholderFieldEnum/LocationPlaceholderField.php +++ /dev/null @@ -1,113 +0,0 @@ -google.ads.googleads.v15.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField - */ -class LocationPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. The name of the business. - * - * Generated from protobuf enum BUSINESS_NAME = 2; - */ - const BUSINESS_NAME = 2; - /** - * Data Type: STRING. Line 1 of the business address. - * - * Generated from protobuf enum ADDRESS_LINE_1 = 3; - */ - const ADDRESS_LINE_1 = 3; - /** - * Data Type: STRING. Line 2 of the business address. - * - * Generated from protobuf enum ADDRESS_LINE_2 = 4; - */ - const ADDRESS_LINE_2 = 4; - /** - * Data Type: STRING. City of the business address. - * - * Generated from protobuf enum CITY = 5; - */ - const CITY = 5; - /** - * Data Type: STRING. Province of the business address. - * - * Generated from protobuf enum PROVINCE = 6; - */ - const PROVINCE = 6; - /** - * Data Type: STRING. Postal code of the business address. - * - * Generated from protobuf enum POSTAL_CODE = 7; - */ - const POSTAL_CODE = 7; - /** - * Data Type: STRING. Country code of the business address. - * - * Generated from protobuf enum COUNTRY_CODE = 8; - */ - const COUNTRY_CODE = 8; - /** - * Data Type: STRING. Phone number of the business. - * - * Generated from protobuf enum PHONE_NUMBER = 9; - */ - const PHONE_NUMBER = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BUSINESS_NAME => 'BUSINESS_NAME', - self::ADDRESS_LINE_1 => 'ADDRESS_LINE_1', - self::ADDRESS_LINE_2 => 'ADDRESS_LINE_2', - self::CITY => 'CITY', - self::PROVINCE => 'PROVINCE', - self::POSTAL_CODE => 'POSTAL_CODE', - self::COUNTRY_CODE => 'COUNTRY_CODE', - self::PHONE_NUMBER => 'PHONE_NUMBER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocationPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\LocationPlaceholderFieldEnum_LocationPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationSourceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationSourceTypeEnum.php deleted file mode 100644 index 9bbffe1cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationSourceTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocationSourceTypeEnum - */ -class LocationSourceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocationSourceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationSourceTypeEnum/LocationSourceType.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationSourceTypeEnum/LocationSourceType.php deleted file mode 100644 index 8f8a2c4b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationSourceTypeEnum/LocationSourceType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.LocationSourceTypeEnum.LocationSourceType - */ -class LocationSourceType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Locations associated with the customer's linked Business Profile. - * - * Generated from protobuf enum GOOGLE_MY_BUSINESS = 2; - */ - const GOOGLE_MY_BUSINESS = 2; - /** - * Affiliate (chain) store locations. For example, Best Buy store locations. - * - * Generated from protobuf enum AFFILIATE = 3; - */ - const AFFILIATE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::GOOGLE_MY_BUSINESS => 'GOOGLE_MY_BUSINESS', - self::AFFILIATE => 'AFFILIATE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocationSourceType::class, \Google\Ads\GoogleAds\V15\Enums\LocationSourceTypeEnum_LocationSourceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterTypeEnum.php deleted file mode 100644 index 7f1300a3a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LocationStringFilterTypeEnum - */ -class LocationStringFilterTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocationStringFilterType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterTypeEnum/LocationStringFilterType.php b/src/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterTypeEnum/LocationStringFilterType.php deleted file mode 100644 index 3c05d83bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocationStringFilterTypeEnum/LocationStringFilterType.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.LocationStringFilterTypeEnum.LocationStringFilterType - */ -class LocationStringFilterType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The filter will use exact string matching. - * - * Generated from protobuf enum EXACT = 2; - */ - const EXACT = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXACT => 'EXACT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocationStringFilterType::class, \Google\Ads\GoogleAds\V15\Enums\LocationStringFilterTypeEnum_LocationStringFilterType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevelEnum.php deleted file mode 100644 index 54f4ac5ef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.LookalikeExpansionLevelEnum - */ -class LookalikeExpansionLevelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LookalikeExpansionLevel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevelEnum/LookalikeExpansionLevel.php b/src/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevelEnum/LookalikeExpansionLevel.php deleted file mode 100644 index b271dcd7e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/LookalikeExpansionLevelEnum/LookalikeExpansionLevel.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.enums.LookalikeExpansionLevelEnum.LookalikeExpansionLevel - */ -class LookalikeExpansionLevel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Invalid expansion level. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Expansion to a small set of users that are similar to the seed lists - * - * Generated from protobuf enum NARROW = 2; - */ - const NARROW = 2; - /** - * Expansion to a medium set of users that are similar to the seed lists. - * Includes all users of EXPANSION_LEVEL_NARROW, and more. - * - * Generated from protobuf enum BALANCED = 3; - */ - const BALANCED = 3; - /** - * Expansion to a large set of users that are similar to the seed lists. - * Includes all users of EXPANSION_LEVEL_BALANCED, and more. - * - * Generated from protobuf enum BROAD = 4; - */ - const BROAD = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NARROW => 'NARROW', - self::BALANCED => 'BALANCED', - self::BROAD => 'BROAD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LookalikeExpansionLevel::class, \Google\Ads\GoogleAds\V15\Enums\LookalikeExpansionLevelEnum_LookalikeExpansionLevel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatusEnum.php deleted file mode 100644 index d15e0e23b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ManagerLinkStatusEnum - */ -class ManagerLinkStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ManagerLinkStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatusEnum/ManagerLinkStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatusEnum/ManagerLinkStatus.php deleted file mode 100644 index 2ff8212b9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ManagerLinkStatusEnum/ManagerLinkStatus.php +++ /dev/null @@ -1,94 +0,0 @@ -google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus - */ -class ManagerLinkStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Indicates current in-effect relationship - * - * Generated from protobuf enum ACTIVE = 2; - */ - const ACTIVE = 2; - /** - * Indicates terminated relationship - * - * Generated from protobuf enum INACTIVE = 3; - */ - const INACTIVE = 3; - /** - * Indicates relationship has been requested by manager, but the client - * hasn't accepted yet. - * - * Generated from protobuf enum PENDING = 4; - */ - const PENDING = 4; - /** - * Relationship was requested by the manager, but the client has refused. - * - * Generated from protobuf enum REFUSED = 5; - */ - const REFUSED = 5; - /** - * Indicates relationship has been requested by manager, but manager - * canceled it. - * - * Generated from protobuf enum CANCELED = 6; - */ - const CANCELED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ACTIVE => 'ACTIVE', - self::INACTIVE => 'INACTIVE', - self::PENDING => 'PENDING', - self::REFUSED => 'REFUSED', - self::CANCELED => 'CANCELED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ManagerLinkStatus::class, \Google\Ads\GoogleAds\V15\Enums\ManagerLinkStatusEnum_ManagerLinkStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextTypeEnum.php deleted file mode 100644 index 41879769f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.MatchingFunctionContextTypeEnum - */ -class MatchingFunctionContextTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MatchingFunctionContextType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextTypeEnum/MatchingFunctionContextType.php b/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextTypeEnum/MatchingFunctionContextType.php deleted file mode 100644 index 038604dcb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionContextTypeEnum/MatchingFunctionContextType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType - */ -class MatchingFunctionContextType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Feed item id in the request context. - * - * Generated from protobuf enum FEED_ITEM_ID = 2; - */ - const FEED_ITEM_ID = 2; - /** - * The device being used (possible values are 'Desktop' or 'Mobile'). - * - * Generated from protobuf enum DEVICE_NAME = 3; - */ - const DEVICE_NAME = 3; - /** - * Feed item set id in the request context. - * - * Generated from protobuf enum FEED_ITEM_SET_ID = 4; - */ - const FEED_ITEM_SET_ID = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FEED_ITEM_ID => 'FEED_ITEM_ID', - self::DEVICE_NAME => 'DEVICE_NAME', - self::FEED_ITEM_SET_ID => 'FEED_ITEM_SET_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MatchingFunctionContextType::class, \Google\Ads\GoogleAds\V15\Enums\MatchingFunctionContextTypeEnum_MatchingFunctionContextType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperatorEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperatorEnum.php deleted file mode 100644 index 8c4e57abd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperatorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.MatchingFunctionOperatorEnum - */ -class MatchingFunctionOperatorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MatchingFunctionOperator::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperatorEnum/MatchingFunctionOperator.php b/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperatorEnum/MatchingFunctionOperator.php deleted file mode 100644 index 408e3c50b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MatchingFunctionOperatorEnum/MatchingFunctionOperator.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator - */ -class MatchingFunctionOperator -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The IN operator. - * - * Generated from protobuf enum IN = 2; - */ - const IN = 2; - /** - * The IDENTITY operator. - * - * Generated from protobuf enum IDENTITY = 3; - */ - const IDENTITY = 3; - /** - * The EQUALS operator - * - * Generated from protobuf enum EQUALS = 4; - */ - const EQUALS = 4; - /** - * Operator that takes two or more operands that are of type - * FunctionOperand and checks that all the operands evaluate to true. - * For functions related to ad formats, all the operands must be in - * left_operands. - * - * Generated from protobuf enum AND = 5; - */ - const PBAND = 5; - /** - * Operator that returns true if the elements in left_operands contain any - * of the elements in right_operands. Otherwise, return false. The - * right_operands must contain at least 1 and no more than 3 - * ConstantOperands. - * - * Generated from protobuf enum CONTAINS_ANY = 6; - */ - const CONTAINS_ANY = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::IN => 'IN', - self::IDENTITY => 'IDENTITY', - self::EQUALS => 'EQUALS', - self::PBAND => 'AND', - self::CONTAINS_ANY => 'CONTAINS_ANY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MatchingFunctionOperator::class, \Google\Ads\GoogleAds\V15\Enums\MatchingFunctionOperatorEnum_MatchingFunctionOperator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MediaTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/MediaTypeEnum.php deleted file mode 100644 index d0eb4af6f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MediaTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.MediaTypeEnum - */ -class MediaTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MediaType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MediaTypeEnum/MediaType.php b/src/Google/Ads/GoogleAds/V15/Enums/MediaTypeEnum/MediaType.php deleted file mode 100644 index b01b57b10..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MediaTypeEnum/MediaType.php +++ /dev/null @@ -1,100 +0,0 @@ -google.ads.googleads.v15.enums.MediaTypeEnum.MediaType - */ -class MediaType -{ - /** - * The media type has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Static image, used for image ad. - * - * Generated from protobuf enum IMAGE = 2; - */ - const IMAGE = 2; - /** - * Small image, used for map ad. - * - * Generated from protobuf enum ICON = 3; - */ - const ICON = 3; - /** - * ZIP file, used in fields of template ads. - * - * Generated from protobuf enum MEDIA_BUNDLE = 4; - */ - const MEDIA_BUNDLE = 4; - /** - * Audio file. - * - * Generated from protobuf enum AUDIO = 5; - */ - const AUDIO = 5; - /** - * Video file. - * - * Generated from protobuf enum VIDEO = 6; - */ - const VIDEO = 6; - /** - * Animated image, such as animated GIF. - * - * Generated from protobuf enum DYNAMIC_IMAGE = 7; - */ - const DYNAMIC_IMAGE = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::IMAGE => 'IMAGE', - self::ICON => 'ICON', - self::MEDIA_BUNDLE => 'MEDIA_BUNDLE', - self::AUDIO => 'AUDIO', - self::VIDEO => 'VIDEO', - self::DYNAMIC_IMAGE => 'DYNAMIC_IMAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MediaType::class, \Google\Ads\GoogleAds\V15\Enums\MediaTypeEnum_MediaType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderFieldEnum.php deleted file mode 100644 index 37b9eb766..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.MessagePlaceholderFieldEnum - */ -class MessagePlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MessagePlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderFieldEnum/MessagePlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderFieldEnum/MessagePlaceholderField.php deleted file mode 100644 index 29c24208b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MessagePlaceholderFieldEnum/MessagePlaceholderField.php +++ /dev/null @@ -1,94 +0,0 @@ -google.ads.googleads.v15.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField - */ -class MessagePlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. The name of your business. - * - * Generated from protobuf enum BUSINESS_NAME = 2; - */ - const BUSINESS_NAME = 2; - /** - * Data Type: STRING. Country code of phone number. - * - * Generated from protobuf enum COUNTRY_CODE = 3; - */ - const COUNTRY_CODE = 3; - /** - * Data Type: STRING. A phone number that's capable of sending and receiving - * text messages. - * - * Generated from protobuf enum PHONE_NUMBER = 4; - */ - const PHONE_NUMBER = 4; - /** - * Data Type: STRING. The text that will go in your click-to-message ad. - * - * Generated from protobuf enum MESSAGE_EXTENSION_TEXT = 5; - */ - const MESSAGE_EXTENSION_TEXT = 5; - /** - * Data Type: STRING. The message text automatically shows in people's - * messaging apps when they tap to send you a message. - * - * Generated from protobuf enum MESSAGE_TEXT = 6; - */ - const MESSAGE_TEXT = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BUSINESS_NAME => 'BUSINESS_NAME', - self::COUNTRY_CODE => 'COUNTRY_CODE', - self::PHONE_NUMBER => 'PHONE_NUMBER', - self::MESSAGE_EXTENSION_TEXT => 'MESSAGE_EXTENSION_TEXT', - self::MESSAGE_TEXT => 'MESSAGE_TEXT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MessagePlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\MessagePlaceholderFieldEnum_MessagePlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MimeTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/MimeTypeEnum.php deleted file mode 100644 index fd79c77fa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MimeTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.MimeTypeEnum - */ -class MimeTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MimeType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MimeTypeEnum/MimeType.php b/src/Google/Ads/GoogleAds/V15/Enums/MimeTypeEnum/MimeType.php deleted file mode 100644 index 67482b8c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MimeTypeEnum/MimeType.php +++ /dev/null @@ -1,142 +0,0 @@ -google.ads.googleads.v15.enums.MimeTypeEnum.MimeType - */ -class MimeType -{ - /** - * The mime type has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * MIME type of image/jpeg. - * - * Generated from protobuf enum IMAGE_JPEG = 2; - */ - const IMAGE_JPEG = 2; - /** - * MIME type of image/gif. - * - * Generated from protobuf enum IMAGE_GIF = 3; - */ - const IMAGE_GIF = 3; - /** - * MIME type of image/png. - * - * Generated from protobuf enum IMAGE_PNG = 4; - */ - const IMAGE_PNG = 4; - /** - * MIME type of application/x-shockwave-flash. - * - * Generated from protobuf enum FLASH = 5; - */ - const FLASH = 5; - /** - * MIME type of text/html. - * - * Generated from protobuf enum TEXT_HTML = 6; - */ - const TEXT_HTML = 6; - /** - * MIME type of application/pdf. - * - * Generated from protobuf enum PDF = 7; - */ - const PDF = 7; - /** - * MIME type of application/msword. - * - * Generated from protobuf enum MSWORD = 8; - */ - const MSWORD = 8; - /** - * MIME type of application/vnd.ms-excel. - * - * Generated from protobuf enum MSEXCEL = 9; - */ - const MSEXCEL = 9; - /** - * MIME type of application/rtf. - * - * Generated from protobuf enum RTF = 10; - */ - const RTF = 10; - /** - * MIME type of audio/wav. - * - * Generated from protobuf enum AUDIO_WAV = 11; - */ - const AUDIO_WAV = 11; - /** - * MIME type of audio/mp3. - * - * Generated from protobuf enum AUDIO_MP3 = 12; - */ - const AUDIO_MP3 = 12; - /** - * MIME type of application/x-html5-ad-zip. - * - * Generated from protobuf enum HTML5_AD_ZIP = 13; - */ - const HTML5_AD_ZIP = 13; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::IMAGE_JPEG => 'IMAGE_JPEG', - self::IMAGE_GIF => 'IMAGE_GIF', - self::IMAGE_PNG => 'IMAGE_PNG', - self::FLASH => 'FLASH', - self::TEXT_HTML => 'TEXT_HTML', - self::PDF => 'PDF', - self::MSWORD => 'MSWORD', - self::MSEXCEL => 'MSEXCEL', - self::RTF => 'RTF', - self::AUDIO_WAV => 'AUDIO_WAV', - self::AUDIO_MP3 => 'AUDIO_MP3', - self::HTML5_AD_ZIP => 'HTML5_AD_ZIP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MimeType::class, \Google\Ads\GoogleAds\V15\Enums\MimeTypeEnum_MimeType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MinuteOfHourEnum/MinuteOfHour.php b/src/Google/Ads/GoogleAds/V15/Enums/MinuteOfHourEnum/MinuteOfHour.php deleted file mode 100644 index b7d56c222..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MinuteOfHourEnum/MinuteOfHour.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour - */ -class MinuteOfHour -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Zero minutes past the hour. - * - * Generated from protobuf enum ZERO = 2; - */ - const ZERO = 2; - /** - * Fifteen minutes past the hour. - * - * Generated from protobuf enum FIFTEEN = 3; - */ - const FIFTEEN = 3; - /** - * Thirty minutes past the hour. - * - * Generated from protobuf enum THIRTY = 4; - */ - const THIRTY = 4; - /** - * Forty-five minutes past the hour. - * - * Generated from protobuf enum FORTY_FIVE = 5; - */ - const FORTY_FIVE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ZERO => 'ZERO', - self::FIFTEEN => 'FIFTEEN', - self::THIRTY => 'THIRTY', - self::FORTY_FIVE => 'FORTY_FIVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MinuteOfHour::class, \Google\Ads\GoogleAds\V15\Enums\MinuteOfHourEnum_MinuteOfHour::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MobileAppVendorEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/MobileAppVendorEnum.php deleted file mode 100644 index 2e070e835..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MobileAppVendorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.MobileAppVendorEnum - */ -class MobileAppVendorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MobileAppVendor::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MobileDeviceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/MobileDeviceTypeEnum.php deleted file mode 100644 index f5458f804..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MobileDeviceTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.MobileDeviceTypeEnum - */ -class MobileDeviceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MobileDeviceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MobileDeviceTypeEnum/MobileDeviceType.php b/src/Google/Ads/GoogleAds/V15/Enums/MobileDeviceTypeEnum/MobileDeviceType.php deleted file mode 100644 index cafe8e583..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MobileDeviceTypeEnum/MobileDeviceType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.MobileDeviceTypeEnum.MobileDeviceType - */ -class MobileDeviceType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Mobile phones. - * - * Generated from protobuf enum MOBILE = 2; - */ - const MOBILE = 2; - /** - * Tablets. - * - * Generated from protobuf enum TABLET = 3; - */ - const TABLET = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MOBILE => 'MOBILE', - self::TABLET => 'TABLET', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MobileDeviceType::class, \Google\Ads\GoogleAds\V15\Enums\MobileDeviceTypeEnum_MobileDeviceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MonthOfYearEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/MonthOfYearEnum.php deleted file mode 100644 index 3ee3ce472..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MonthOfYearEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.MonthOfYearEnum - */ -class MonthOfYearEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MonthOfYear::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MonthOfYearEnum/MonthOfYear.php b/src/Google/Ads/GoogleAds/V15/Enums/MonthOfYearEnum/MonthOfYear.php deleted file mode 100644 index c7fe047ac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/MonthOfYearEnum/MonthOfYear.php +++ /dev/null @@ -1,141 +0,0 @@ -google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear - */ -class MonthOfYear -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * January. - * - * Generated from protobuf enum JANUARY = 2; - */ - const JANUARY = 2; - /** - * February. - * - * Generated from protobuf enum FEBRUARY = 3; - */ - const FEBRUARY = 3; - /** - * March. - * - * Generated from protobuf enum MARCH = 4; - */ - const MARCH = 4; - /** - * April. - * - * Generated from protobuf enum APRIL = 5; - */ - const APRIL = 5; - /** - * May. - * - * Generated from protobuf enum MAY = 6; - */ - const MAY = 6; - /** - * June. - * - * Generated from protobuf enum JUNE = 7; - */ - const JUNE = 7; - /** - * July. - * - * Generated from protobuf enum JULY = 8; - */ - const JULY = 8; - /** - * August. - * - * Generated from protobuf enum AUGUST = 9; - */ - const AUGUST = 9; - /** - * September. - * - * Generated from protobuf enum SEPTEMBER = 10; - */ - const SEPTEMBER = 10; - /** - * October. - * - * Generated from protobuf enum OCTOBER = 11; - */ - const OCTOBER = 11; - /** - * November. - * - * Generated from protobuf enum NOVEMBER = 12; - */ - const NOVEMBER = 12; - /** - * December. - * - * Generated from protobuf enum DECEMBER = 13; - */ - const DECEMBER = 13; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::JANUARY => 'JANUARY', - self::FEBRUARY => 'FEBRUARY', - self::MARCH => 'MARCH', - self::APRIL => 'APRIL', - self::MAY => 'MAY', - self::JUNE => 'JUNE', - self::JULY => 'JULY', - self::AUGUST => 'AUGUST', - self::SEPTEMBER => 'SEPTEMBER', - self::OCTOBER => 'OCTOBER', - self::NOVEMBER => 'NOVEMBER', - self::DECEMBER => 'DECEMBER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MonthOfYear::class, \Google\Ads\GoogleAds\V15\Enums\MonthOfYearEnum_MonthOfYear::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetTypeEnum.php deleted file mode 100644 index 959e5cc28..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.NegativeGeoTargetTypeEnum - */ -class NegativeGeoTargetTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\NegativeGeoTargetType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetTypeEnum/NegativeGeoTargetType.php b/src/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetTypeEnum/NegativeGeoTargetType.php deleted file mode 100644 index 636924844..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/NegativeGeoTargetTypeEnum/NegativeGeoTargetType.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType - */ -class NegativeGeoTargetType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Specifies that a user is excluded from seeing the ad if they - * are in, or show interest in, advertiser's excluded locations. - * - * Generated from protobuf enum PRESENCE_OR_INTEREST = 4; - */ - const PRESENCE_OR_INTEREST = 4; - /** - * Specifies that a user is excluded from seeing the ad if they - * are in advertiser's excluded locations. - * - * Generated from protobuf enum PRESENCE = 5; - */ - const PRESENCE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PRESENCE_OR_INTEREST => 'PRESENCE_OR_INTEREST', - self::PRESENCE => 'PRESENCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NegativeGeoTargetType::class, \Google\Ads\GoogleAds\V15\Enums\NegativeGeoTargetTypeEnum_NegativeGeoTargetType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum.php deleted file mode 100644 index aed12503f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.OfflineConversionDiagnosticStatusEnum - */ -class OfflineConversionDiagnosticStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\OfflineConversionDiagnosticStatusEnum::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum/OfflineConversionDiagnosticStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum/OfflineConversionDiagnosticStatus.php deleted file mode 100644 index 2d617630a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineConversionDiagnosticStatusEnum/OfflineConversionDiagnosticStatus.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus - */ -class OfflineConversionDiagnosticStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Your offline data ingestion setup is active and optimal for downstream - * processing. - * - * Generated from protobuf enum EXCELLENT = 2; - */ - const EXCELLENT = 2; - /** - * Your offline ingestion setup is active, but there are further - * improvements you could make. See alerts. - * - * Generated from protobuf enum GOOD = 3; - */ - const GOOD = 3; - /** - * Your offline ingestion setup is active, but there are errors that require - * your attention. See alerts. - * - * Generated from protobuf enum NEEDS_ATTENTION = 4; - */ - const NEEDS_ATTENTION = 4; - /** - * Your offline ingestion setup has not received data in the last 28 days, - * there may be something wrong. - * - * Generated from protobuf enum NO_RECENT_UPLOAD = 6; - */ - const NO_RECENT_UPLOAD = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXCELLENT => 'EXCELLENT', - self::GOOD => 'GOOD', - self::NEEDS_ATTENTION => 'NEEDS_ATTENTION', - self::NO_RECENT_UPLOAD => 'NO_RECENT_UPLOAD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OfflineConversionDiagnosticStatus::class, \Google\Ads\GoogleAds\V15\Enums\OfflineConversionDiagnosticStatusEnum_OfflineConversionDiagnosticStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum.php deleted file mode 100644 index bb32ec305..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.OfflineEventUploadClientEnum - */ -class OfflineEventUploadClientEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\OfflineEventUploadClientEnum::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum/OfflineEventUploadClient.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum/OfflineEventUploadClient.php deleted file mode 100644 index ea1a1f297..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineEventUploadClientEnum/OfflineEventUploadClient.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient - */ -class OfflineEventUploadClient -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Google Ads API. - * - * Generated from protobuf enum GOOGLE_ADS_API = 2; - */ - const GOOGLE_ADS_API = 2; - /** - * Google Ads web client, which could include multiple sources like Ads UI, - * SFTP, etc. - * - * Generated from protobuf enum GOOGLE_ADS_WEB_CLIENT = 3; - */ - const GOOGLE_ADS_WEB_CLIENT = 3; - /** - * Connection platform. - * - * Generated from protobuf enum ADS_DATA_CONNECTOR = 4; - */ - const ADS_DATA_CONNECTOR = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::GOOGLE_ADS_API => 'GOOGLE_ADS_API', - self::GOOGLE_ADS_WEB_CLIENT => 'GOOGLE_ADS_WEB_CLIENT', - self::ADS_DATA_CONNECTOR => 'ADS_DATA_CONNECTOR', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OfflineEventUploadClient::class, \Google\Ads\GoogleAds\V15\Enums\OfflineEventUploadClientEnum_OfflineEventUploadClient::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReasonEnum.php deleted file mode 100644 index a26e01b87..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReasonEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.OfflineUserDataJobFailureReasonEnum - */ -class OfflineUserDataJobFailureReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobFailureReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReasonEnum/OfflineUserDataJobFailureReason.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReasonEnum/OfflineUserDataJobFailureReason.php deleted file mode 100644 index b971434c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobFailureReasonEnum/OfflineUserDataJobFailureReason.php +++ /dev/null @@ -1,98 +0,0 @@ -google.ads.googleads.v15.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReason - */ -class OfflineUserDataJobFailureReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The matched transactions are insufficient. - * - * Generated from protobuf enum INSUFFICIENT_MATCHED_TRANSACTIONS = 2; - */ - const INSUFFICIENT_MATCHED_TRANSACTIONS = 2; - /** - * The uploaded transactions are insufficient. - * - * Generated from protobuf enum INSUFFICIENT_TRANSACTIONS = 3; - */ - const INSUFFICIENT_TRANSACTIONS = 3; - /** - * The average transaction value is unusually high for your account. If this - * is intended, contact support to request an exception. Learn more at - * https://support.google.com/google-ads/answer/10018944#transaction_value - * - * Generated from protobuf enum HIGH_AVERAGE_TRANSACTION_VALUE = 4; - */ - const HIGH_AVERAGE_TRANSACTION_VALUE = 4; - /** - * The average transaction value is unusually low for your account. If this - * is intended, contact support to request an exception. Learn more at - * https://support.google.com/google-ads/answer/10018944#transaction_value - * - * Generated from protobuf enum LOW_AVERAGE_TRANSACTION_VALUE = 5; - */ - const LOW_AVERAGE_TRANSACTION_VALUE = 5; - /** - * There's a currency code that you haven't used before in your uploads. If - * this is intended, contact support to request an exception. Learn more at - * https://support.google.com/google-ads/answer/10018944#Unrecognized_currency - * - * Generated from protobuf enum NEWLY_OBSERVED_CURRENCY_CODE = 6; - */ - const NEWLY_OBSERVED_CURRENCY_CODE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INSUFFICIENT_MATCHED_TRANSACTIONS => 'INSUFFICIENT_MATCHED_TRANSACTIONS', - self::INSUFFICIENT_TRANSACTIONS => 'INSUFFICIENT_TRANSACTIONS', - self::HIGH_AVERAGE_TRANSACTION_VALUE => 'HIGH_AVERAGE_TRANSACTION_VALUE', - self::LOW_AVERAGE_TRANSACTION_VALUE => 'LOW_AVERAGE_TRANSACTION_VALUE', - self::NEWLY_OBSERVED_CURRENCY_CODE => 'NEWLY_OBSERVED_CURRENCY_CODE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OfflineUserDataJobFailureReason::class, \Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobFailureReasonEnum_OfflineUserDataJobFailureReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRangeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRangeEnum.php deleted file mode 100644 index ae96f43b1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRangeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.OfflineUserDataJobMatchRateRangeEnum - */ -class OfflineUserDataJobMatchRateRangeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobMatchRateRange::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRangeEnum/OfflineUserDataJobMatchRateRange.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRangeEnum/OfflineUserDataJobMatchRateRange.php deleted file mode 100644 index 2fefff96c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobMatchRateRangeEnum/OfflineUserDataJobMatchRateRange.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.enums.OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange - */ -class OfflineUserDataJobMatchRateRange -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Default value for match rate range. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Match rate range for offline data upload entity is between 0% and 19%. - * - * Generated from protobuf enum MATCH_RANGE_LESS_THAN_20 = 2; - */ - const MATCH_RANGE_LESS_THAN_20 = 2; - /** - * Match rate range for offline data upload entity is between 20% and 30%. - * - * Generated from protobuf enum MATCH_RANGE_20_TO_30 = 3; - */ - const MATCH_RANGE_20_TO_30 = 3; - /** - * Match rate range for offline data upload entity is between 31% and 40%. - * - * Generated from protobuf enum MATCH_RANGE_31_TO_40 = 4; - */ - const MATCH_RANGE_31_TO_40 = 4; - /** - * Match rate range for offline data upload entity is between 41% and 50%. - * - * Generated from protobuf enum MATCH_RANGE_41_TO_50 = 5; - */ - const MATCH_RANGE_41_TO_50 = 5; - /** - * Match rate range for offline data upload entity is between 51% and 60%. - * - * Generated from protobuf enum MATCH_RANGE_51_TO_60 = 6; - */ - const MATCH_RANGE_51_TO_60 = 6; - /** - * Match rate range for offline data upload entity is between 61% and 70%. - * - * Generated from protobuf enum MATCH_RANGE_61_TO_70 = 7; - */ - const MATCH_RANGE_61_TO_70 = 7; - /** - * Match rate range for offline data upload entity is between 71% and 80%. - * - * Generated from protobuf enum MATCH_RANGE_71_TO_80 = 8; - */ - const MATCH_RANGE_71_TO_80 = 8; - /** - * Match rate range for offline data upload entity is between 81% and 90%. - * - * Generated from protobuf enum MATCH_RANGE_81_TO_90 = 9; - */ - const MATCH_RANGE_81_TO_90 = 9; - /** - * Match rate range for offline data upload entity is more than or equal to - * 91%. - * - * Generated from protobuf enum MATCH_RANGE_91_TO_100 = 10; - */ - const MATCH_RANGE_91_TO_100 = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MATCH_RANGE_LESS_THAN_20 => 'MATCH_RANGE_LESS_THAN_20', - self::MATCH_RANGE_20_TO_30 => 'MATCH_RANGE_20_TO_30', - self::MATCH_RANGE_31_TO_40 => 'MATCH_RANGE_31_TO_40', - self::MATCH_RANGE_41_TO_50 => 'MATCH_RANGE_41_TO_50', - self::MATCH_RANGE_51_TO_60 => 'MATCH_RANGE_51_TO_60', - self::MATCH_RANGE_61_TO_70 => 'MATCH_RANGE_61_TO_70', - self::MATCH_RANGE_71_TO_80 => 'MATCH_RANGE_71_TO_80', - self::MATCH_RANGE_81_TO_90 => 'MATCH_RANGE_81_TO_90', - self::MATCH_RANGE_91_TO_100 => 'MATCH_RANGE_91_TO_100', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OfflineUserDataJobMatchRateRange::class, \Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobMatchRateRangeEnum_OfflineUserDataJobMatchRateRange::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatusEnum.php deleted file mode 100644 index 0c5566460..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.OfflineUserDataJobStatusEnum - */ -class OfflineUserDataJobStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatusEnum/OfflineUserDataJobStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatusEnum/OfflineUserDataJobStatus.php deleted file mode 100644 index 079be902e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobStatusEnum/OfflineUserDataJobStatus.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.OfflineUserDataJobStatusEnum.OfflineUserDataJobStatus - */ -class OfflineUserDataJobStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The job has been successfully created and pending for uploading. - * - * Generated from protobuf enum PENDING = 2; - */ - const PENDING = 2; - /** - * Upload(s) have been accepted and data is being processed. - * - * Generated from protobuf enum RUNNING = 3; - */ - const RUNNING = 3; - /** - * Uploaded data has been successfully processed. - * - * Generated from protobuf enum SUCCESS = 4; - */ - const SUCCESS = 4; - /** - * Uploaded data has failed to be processed. - * - * Generated from protobuf enum FAILED = 5; - */ - const FAILED = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PENDING => 'PENDING', - self::RUNNING => 'RUNNING', - self::SUCCESS => 'SUCCESS', - self::FAILED => 'FAILED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OfflineUserDataJobStatus::class, \Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobStatusEnum_OfflineUserDataJobStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobTypeEnum.php deleted file mode 100644 index 2309f1985..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.OfflineUserDataJobTypeEnum - */ -class OfflineUserDataJobTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobTypeEnum/OfflineUserDataJobType.php b/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobTypeEnum/OfflineUserDataJobType.php deleted file mode 100644 index bf09147c4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OfflineUserDataJobTypeEnum/OfflineUserDataJobType.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobType - */ -class OfflineUserDataJobType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Store Sales Direct data for self service. - * - * Generated from protobuf enum STORE_SALES_UPLOAD_FIRST_PARTY = 2; - */ - const STORE_SALES_UPLOAD_FIRST_PARTY = 2; - /** - * Store Sales Direct data for third party. - * - * Generated from protobuf enum STORE_SALES_UPLOAD_THIRD_PARTY = 3; - */ - const STORE_SALES_UPLOAD_THIRD_PARTY = 3; - /** - * Customer Match user list data. - * - * Generated from protobuf enum CUSTOMER_MATCH_USER_LIST = 4; - */ - const CUSTOMER_MATCH_USER_LIST = 4; - /** - * Customer Match with attribute data. - * - * Generated from protobuf enum CUSTOMER_MATCH_WITH_ATTRIBUTES = 5; - */ - const CUSTOMER_MATCH_WITH_ATTRIBUTES = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::STORE_SALES_UPLOAD_FIRST_PARTY => 'STORE_SALES_UPLOAD_FIRST_PARTY', - self::STORE_SALES_UPLOAD_THIRD_PARTY => 'STORE_SALES_UPLOAD_THIRD_PARTY', - self::CUSTOMER_MATCH_USER_LIST => 'CUSTOMER_MATCH_USER_LIST', - self::CUSTOMER_MATCH_WITH_ATTRIBUTES => 'CUSTOMER_MATCH_WITH_ATTRIBUTES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OfflineUserDataJobType::class, \Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobTypeEnum_OfflineUserDataJobType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorTypeEnum.php deleted file mode 100644 index dcc903afc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.OperatingSystemVersionOperatorTypeEnum - */ -class OperatingSystemVersionOperatorTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\OperatingSystemVersionOperatorType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorTypeEnum/OperatingSystemVersionOperatorType.php b/src/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorTypeEnum/OperatingSystemVersionOperatorType.php deleted file mode 100644 index 6170bbfec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OperatingSystemVersionOperatorTypeEnum/OperatingSystemVersionOperatorType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType - */ -class OperatingSystemVersionOperatorType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Equals to the specified version. - * - * Generated from protobuf enum EQUALS_TO = 2; - */ - const EQUALS_TO = 2; - /** - * Greater than or equals to the specified version. - * - * Generated from protobuf enum GREATER_THAN_EQUALS_TO = 4; - */ - const GREATER_THAN_EQUALS_TO = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EQUALS_TO => 'EQUALS_TO', - self::GREATER_THAN_EQUALS_TO => 'GREATER_THAN_EQUALS_TO', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OperatingSystemVersionOperatorType::class, \Google\Ads\GoogleAds\V15\Enums\OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalTypeEnum.php deleted file mode 100644 index 1045af36c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.OptimizationGoalTypeEnum - */ -class OptimizationGoalTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\OptimizationGoalType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalTypeEnum/OptimizationGoalType.php b/src/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalTypeEnum/OptimizationGoalType.php deleted file mode 100644 index 1c18947c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/OptimizationGoalTypeEnum/OptimizationGoalType.php +++ /dev/null @@ -1,83 +0,0 @@ -google.ads.googleads.v15.enums.OptimizationGoalTypeEnum.OptimizationGoalType - */ -class OptimizationGoalType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used as a return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Optimize for call clicks. Call click conversions are times people - * selected 'Call' to contact a store after viewing an ad. - * - * Generated from protobuf enum CALL_CLICKS = 2; - */ - const CALL_CLICKS = 2; - /** - * Optimize for driving directions. Driving directions conversions are - * times people selected 'Get directions' to navigate to a store after - * viewing an ad. - * - * Generated from protobuf enum DRIVING_DIRECTIONS = 3; - */ - const DRIVING_DIRECTIONS = 3; - /** - * Optimize for pre-registration. Pre-registration conversions are the - * number of pre-registration signups to receive a notification when the app - * is released. - * - * Generated from protobuf enum APP_PRE_REGISTRATION = 4; - */ - const APP_PRE_REGISTRATION = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CALL_CLICKS => 'CALL_CLICKS', - self::DRIVING_DIRECTIONS => 'DRIVING_DIRECTIONS', - self::APP_PRE_REGISTRATION => 'APP_PRE_REGISTRATION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OptimizationGoalType::class, \Google\Ads\GoogleAds\V15\Enums\OptimizationGoalTypeEnum_OptimizationGoalType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ParentalStatusTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ParentalStatusTypeEnum.php deleted file mode 100644 index fb70e39ea..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ParentalStatusTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ParentalStatusTypeEnum - */ -class ParentalStatusTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ParentalStatusType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ParentalStatusTypeEnum/ParentalStatusType.php b/src/Google/Ads/GoogleAds/V15/Enums/ParentalStatusTypeEnum/ParentalStatusType.php deleted file mode 100644 index 21d234e20..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ParentalStatusTypeEnum/ParentalStatusType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType - */ -class ParentalStatusType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Parent. - * - * Generated from protobuf enum PARENT = 300; - */ - const PARENT = 300; - /** - * Not a parent. - * - * Generated from protobuf enum NOT_A_PARENT = 301; - */ - const NOT_A_PARENT = 301; - /** - * Undetermined parental status. - * - * Generated from protobuf enum UNDETERMINED = 302; - */ - const UNDETERMINED = 302; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PARENT => 'PARENT', - self::NOT_A_PARENT => 'NOT_A_PARENT', - self::UNDETERMINED => 'UNDETERMINED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ParentalStatusType::class, \Google\Ads\GoogleAds\V15\Enums\ParentalStatusTypeEnum_ParentalStatusType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PaymentModeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PaymentModeEnum.php deleted file mode 100644 index 0abe8a981..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PaymentModeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PaymentModeEnum - */ -class PaymentModeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PaymentMode::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PaymentModeEnum/PaymentMode.php b/src/Google/Ads/GoogleAds/V15/Enums/PaymentModeEnum/PaymentMode.php deleted file mode 100644 index 956d8bb13..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PaymentModeEnum/PaymentMode.php +++ /dev/null @@ -1,93 +0,0 @@ -google.ads.googleads.v15.enums.PaymentModeEnum.PaymentMode - */ -class PaymentMode -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Pay per interaction. - * - * Generated from protobuf enum CLICKS = 4; - */ - const CLICKS = 4; - /** - * Pay per conversion value. This mode is only supported by campaigns with - * AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - * BudgetType.STANDARD. - * - * Generated from protobuf enum CONVERSION_VALUE = 5; - */ - const CONVERSION_VALUE = 5; - /** - * Pay per conversion. This mode is only supported by campaigns with - * AdvertisingChannelType.DISPLAY (excluding - * AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - * and BudgetType.FIXED_CPA. The customer must also be eligible for this - * mode. See Customer.eligibility_failure_reasons for details. - * - * Generated from protobuf enum CONVERSIONS = 6; - */ - const CONVERSIONS = 6; - /** - * Pay per guest stay value. This mode is only supported by campaigns with - * AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - * BudgetType.STANDARD. - * - * Generated from protobuf enum GUEST_STAY = 7; - */ - const GUEST_STAY = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CLICKS => 'CLICKS', - self::CONVERSION_VALUE => 'CONVERSION_VALUE', - self::CONVERSIONS => 'CONVERSIONS', - self::GUEST_STAY => 'GUEST_STAY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PaymentMode::class, \Google\Ads\GoogleAds\V15\Enums\PaymentModeEnum_PaymentMode::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatusEnum.php deleted file mode 100644 index 9c48d61cf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PerformanceMaxUpgradeStatusEnum - */ -class PerformanceMaxUpgradeStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PerformanceMaxUpgradeStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatusEnum/PerformanceMaxUpgradeStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatusEnum/PerformanceMaxUpgradeStatus.php deleted file mode 100644 index 5e86902d1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PerformanceMaxUpgradeStatusEnum/PerformanceMaxUpgradeStatus.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.enums.PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus - */ -class PerformanceMaxUpgradeStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The upgrade to a Performance Max campaign is in progress. - * - * Generated from protobuf enum UPGRADE_IN_PROGRESS = 3; - */ - const UPGRADE_IN_PROGRESS = 3; - /** - * The upgrade to a Performance Max campaign is complete. - * - * Generated from protobuf enum UPGRADE_COMPLETE = 4; - */ - const UPGRADE_COMPLETE = 4; - /** - * The upgrade to a Performance Max campaign failed. - * The campaign will still serve as it was before upgrade was attempted. - * - * Generated from protobuf enum UPGRADE_FAILED = 5; - */ - const UPGRADE_FAILED = 5; - /** - * The campaign is eligible for upgrade to a Performance Max campaign. - * - * Generated from protobuf enum UPGRADE_ELIGIBLE = 6; - */ - const UPGRADE_ELIGIBLE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UPGRADE_IN_PROGRESS => 'UPGRADE_IN_PROGRESS', - self::UPGRADE_COMPLETE => 'UPGRADE_COMPLETE', - self::UPGRADE_FAILED => 'UPGRADE_FAILED', - self::UPGRADE_ELIGIBLE => 'UPGRADE_ELIGIBLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PerformanceMaxUpgradeStatus::class, \Google\Ads\GoogleAds\V15\Enums\PerformanceMaxUpgradeStatusEnum_PerformanceMaxUpgradeStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PlaceholderTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PlaceholderTypeEnum.php deleted file mode 100644 index 3fd997d7e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PlaceholderTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PlaceholderTypeEnum - */ -class PlaceholderTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PlaceholderType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PlaceholderTypeEnum/PlaceholderType.php b/src/Google/Ads/GoogleAds/V15/Enums/PlaceholderTypeEnum/PlaceholderType.php deleted file mode 100644 index a25c074f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PlaceholderTypeEnum/PlaceholderType.php +++ /dev/null @@ -1,217 +0,0 @@ -google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType - */ -class PlaceholderType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Lets you show links in your ad to pages from your website, including the - * main landing page. - * - * Generated from protobuf enum SITELINK = 2; - */ - const SITELINK = 2; - /** - * Lets you attach a phone number to an ad, allowing customers to call - * directly from the ad. - * - * Generated from protobuf enum CALL = 3; - */ - const CALL = 3; - /** - * Lets you provide users with a link that points to a mobile app in - * addition to a website. - * - * Generated from protobuf enum APP = 4; - */ - const APP = 4; - /** - * Lets you show locations of businesses from your Business Profile - * in your ad. This helps people find your locations by showing your - * ads with your address, a map to your location, or the distance to your - * business. This extension type is useful to draw customers to your - * brick-and-mortar location. - * - * Generated from protobuf enum LOCATION = 5; - */ - const LOCATION = 5; - /** - * If you sell your product through retail chains, affiliate location - * extensions let you show nearby stores that carry your products. - * - * Generated from protobuf enum AFFILIATE_LOCATION = 6; - */ - const AFFILIATE_LOCATION = 6; - /** - * Lets you include additional text with your search ads that provide - * detailed information about your business, including products and services - * you offer. Callouts appear in ads at the top and bottom of Google search - * results. - * - * Generated from protobuf enum CALLOUT = 7; - */ - const CALLOUT = 7; - /** - * Lets you add more info to your ad, specific to some predefined categories - * such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - * are required. - * - * Generated from protobuf enum STRUCTURED_SNIPPET = 8; - */ - const STRUCTURED_SNIPPET = 8; - /** - * Allows users to see your ad, click an icon, and contact you directly by - * text message. With one tap on your ad, people can contact you to book an - * appointment, get a quote, ask for information, or request a service. - * - * Generated from protobuf enum MESSAGE = 9; - */ - const MESSAGE = 9; - /** - * Lets you display prices for a list of items along with your ads. A price - * feed is composed of three to eight price table rows. - * - * Generated from protobuf enum PRICE = 10; - */ - const PRICE = 10; - /** - * Lets you highlight sales and other promotions that let users see how - * they can save by buying now. - * - * Generated from protobuf enum PROMOTION = 11; - */ - const PROMOTION = 11; - /** - * Lets you dynamically inject custom data into the title and description - * of your ads. - * - * Generated from protobuf enum AD_CUSTOMIZER = 12; - */ - const AD_CUSTOMIZER = 12; - /** - * Indicates that this feed is for education dynamic remarketing. - * - * Generated from protobuf enum DYNAMIC_EDUCATION = 13; - */ - const DYNAMIC_EDUCATION = 13; - /** - * Indicates that this feed is for flight dynamic remarketing. - * - * Generated from protobuf enum DYNAMIC_FLIGHT = 14; - */ - const DYNAMIC_FLIGHT = 14; - /** - * Indicates that this feed is for a custom dynamic remarketing type. Use - * this only if the other business types don't apply to your products or - * services. - * - * Generated from protobuf enum DYNAMIC_CUSTOM = 15; - */ - const DYNAMIC_CUSTOM = 15; - /** - * Indicates that this feed is for hotels and rentals dynamic remarketing. - * - * Generated from protobuf enum DYNAMIC_HOTEL = 16; - */ - const DYNAMIC_HOTEL = 16; - /** - * Indicates that this feed is for real estate dynamic remarketing. - * - * Generated from protobuf enum DYNAMIC_REAL_ESTATE = 17; - */ - const DYNAMIC_REAL_ESTATE = 17; - /** - * Indicates that this feed is for travel dynamic remarketing. - * - * Generated from protobuf enum DYNAMIC_TRAVEL = 18; - */ - const DYNAMIC_TRAVEL = 18; - /** - * Indicates that this feed is for local deals dynamic remarketing. - * - * Generated from protobuf enum DYNAMIC_LOCAL = 19; - */ - const DYNAMIC_LOCAL = 19; - /** - * Indicates that this feed is for job dynamic remarketing. - * - * Generated from protobuf enum DYNAMIC_JOB = 20; - */ - const DYNAMIC_JOB = 20; - /** - * Lets you attach an image to an ad. - * - * Generated from protobuf enum IMAGE = 21; - */ - const IMAGE = 21; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SITELINK => 'SITELINK', - self::CALL => 'CALL', - self::APP => 'APP', - self::LOCATION => 'LOCATION', - self::AFFILIATE_LOCATION => 'AFFILIATE_LOCATION', - self::CALLOUT => 'CALLOUT', - self::STRUCTURED_SNIPPET => 'STRUCTURED_SNIPPET', - self::MESSAGE => 'MESSAGE', - self::PRICE => 'PRICE', - self::PROMOTION => 'PROMOTION', - self::AD_CUSTOMIZER => 'AD_CUSTOMIZER', - self::DYNAMIC_EDUCATION => 'DYNAMIC_EDUCATION', - self::DYNAMIC_FLIGHT => 'DYNAMIC_FLIGHT', - self::DYNAMIC_CUSTOM => 'DYNAMIC_CUSTOM', - self::DYNAMIC_HOTEL => 'DYNAMIC_HOTEL', - self::DYNAMIC_REAL_ESTATE => 'DYNAMIC_REAL_ESTATE', - self::DYNAMIC_TRAVEL => 'DYNAMIC_TRAVEL', - self::DYNAMIC_LOCAL => 'DYNAMIC_LOCAL', - self::DYNAMIC_JOB => 'DYNAMIC_JOB', - self::IMAGE => 'IMAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PlaceholderType::class, \Google\Ads\GoogleAds\V15\Enums\PlaceholderTypeEnum_PlaceholderType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PlacementTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PlacementTypeEnum.php deleted file mode 100644 index 6d9c1b844..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PlacementTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PlacementTypeEnum - */ -class PlacementTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PlacementType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PlacementTypeEnum/PlacementType.php b/src/Google/Ads/GoogleAds/V15/Enums/PlacementTypeEnum/PlacementType.php deleted file mode 100644 index e7f5542b2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PlacementTypeEnum/PlacementType.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType - */ -class PlacementType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Websites(for example, 'www.flowers4sale.com'). - * - * Generated from protobuf enum WEBSITE = 2; - */ - const WEBSITE = 2; - /** - * Mobile application categories(for example, 'Games'). - * - * Generated from protobuf enum MOBILE_APP_CATEGORY = 3; - */ - const MOBILE_APP_CATEGORY = 3; - /** - * mobile applications(for example, 'mobileapp::2-com.whatsthewordanswers'). - * - * Generated from protobuf enum MOBILE_APPLICATION = 4; - */ - const MOBILE_APPLICATION = 4; - /** - * YouTube videos(for example, 'youtube.com/video/wtLJPvx7-ys'). - * - * Generated from protobuf enum YOUTUBE_VIDEO = 5; - */ - const YOUTUBE_VIDEO = 5; - /** - * YouTube channels(for example, 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). - * - * Generated from protobuf enum YOUTUBE_CHANNEL = 6; - */ - const YOUTUBE_CHANNEL = 6; - /** - * Surfaces owned and operated by Google(for example, 'tv.google.com'). - * - * Generated from protobuf enum GOOGLE_PRODUCTS = 7; - */ - const GOOGLE_PRODUCTS = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::WEBSITE => 'WEBSITE', - self::MOBILE_APP_CATEGORY => 'MOBILE_APP_CATEGORY', - self::MOBILE_APPLICATION => 'MOBILE_APPLICATION', - self::YOUTUBE_VIDEO => 'YOUTUBE_VIDEO', - self::YOUTUBE_CHANNEL => 'YOUTUBE_CHANNEL', - self::GOOGLE_PRODUCTS => 'GOOGLE_PRODUCTS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PlacementType::class, \Google\Ads\GoogleAds\V15\Enums\PlacementTypeEnum_PlacementType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatusEnum.php deleted file mode 100644 index 470ee233e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PolicyApprovalStatusEnum - */ -class PolicyApprovalStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PolicyApprovalStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatusEnum/PolicyApprovalStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatusEnum/PolicyApprovalStatus.php deleted file mode 100644 index 49b34dab6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyApprovalStatusEnum/PolicyApprovalStatus.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus - */ -class PolicyApprovalStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Will not serve. - * - * Generated from protobuf enum DISAPPROVED = 2; - */ - const DISAPPROVED = 2; - /** - * Serves with restrictions. - * - * Generated from protobuf enum APPROVED_LIMITED = 3; - */ - const APPROVED_LIMITED = 3; - /** - * Serves without restrictions. - * - * Generated from protobuf enum APPROVED = 4; - */ - const APPROVED = 4; - /** - * Will not serve in targeted countries, but may serve for users who are - * searching for information about the targeted countries. - * - * Generated from protobuf enum AREA_OF_INTEREST_ONLY = 5; - */ - const AREA_OF_INTEREST_ONLY = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DISAPPROVED => 'DISAPPROVED', - self::APPROVED_LIMITED => 'APPROVED_LIMITED', - self::APPROVED => 'APPROVED', - self::AREA_OF_INTEREST_ONLY => 'AREA_OF_INTEREST_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyApprovalStatus::class, \Google\Ads\GoogleAds\V15\Enums\PolicyApprovalStatusEnum_PolicyApprovalStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatusEnum.php deleted file mode 100644 index 893868b08..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PolicyReviewStatusEnum - */ -class PolicyReviewStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PolicyReviewStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatusEnum/PolicyReviewStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatusEnum/PolicyReviewStatus.php deleted file mode 100644 index 2877091b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyReviewStatusEnum/PolicyReviewStatus.php +++ /dev/null @@ -1,88 +0,0 @@ -google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus - */ -class PolicyReviewStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Currently under review. - * - * Generated from protobuf enum REVIEW_IN_PROGRESS = 2; - */ - const REVIEW_IN_PROGRESS = 2; - /** - * Primary review complete. Other reviews may be continuing. - * - * Generated from protobuf enum REVIEWED = 3; - */ - const REVIEWED = 3; - /** - * The resource has been resubmitted for approval or its policy decision has - * been appealed. - * - * Generated from protobuf enum UNDER_APPEAL = 4; - */ - const UNDER_APPEAL = 4; - /** - * The resource is eligible and may be serving but could still undergo - * further review. - * - * Generated from protobuf enum ELIGIBLE_MAY_SERVE = 5; - */ - const ELIGIBLE_MAY_SERVE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::REVIEW_IN_PROGRESS => 'REVIEW_IN_PROGRESS', - self::REVIEWED => 'REVIEWED', - self::UNDER_APPEAL => 'UNDER_APPEAL', - self::ELIGIBLE_MAY_SERVE => 'ELIGIBLE_MAY_SERVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyReviewStatus::class, \Google\Ads\GoogleAds\V15\Enums\PolicyReviewStatusEnum_PolicyReviewStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryTypeEnum.php deleted file mode 100644 index 4061bc0a7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PolicyTopicEntryTypeEnum - */ -class PolicyTopicEntryTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PolicyTopicEntryType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryTypeEnum/PolicyTopicEntryType.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryTypeEnum/PolicyTopicEntryType.php deleted file mode 100644 index d0b886b04..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEntryTypeEnum/PolicyTopicEntryType.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType - */ -class PolicyTopicEntryType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The resource will not be served. - * - * Generated from protobuf enum PROHIBITED = 2; - */ - const PROHIBITED = 2; - /** - * The resource will not be served under some circumstances. - * - * Generated from protobuf enum LIMITED = 4; - */ - const LIMITED = 4; - /** - * The resource cannot serve at all because of the current targeting - * criteria. - * - * Generated from protobuf enum FULLY_LIMITED = 8; - */ - const FULLY_LIMITED = 8; - /** - * May be of interest, but does not limit how the resource is served. - * - * Generated from protobuf enum DESCRIPTIVE = 5; - */ - const DESCRIPTIVE = 5; - /** - * Could increase coverage beyond normal. - * - * Generated from protobuf enum BROADENING = 6; - */ - const BROADENING = 6; - /** - * Constrained for all targeted countries, but may serve in other countries - * through area of interest. - * - * Generated from protobuf enum AREA_OF_INTEREST_ONLY = 7; - */ - const AREA_OF_INTEREST_ONLY = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PROHIBITED => 'PROHIBITED', - self::LIMITED => 'LIMITED', - self::FULLY_LIMITED => 'FULLY_LIMITED', - self::DESCRIPTIVE => 'DESCRIPTIVE', - self::BROADENING => 'BROADENING', - self::AREA_OF_INTEREST_ONLY => 'AREA_OF_INTEREST_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyTopicEntryType::class, \Google\Ads\GoogleAds\V15\Enums\PolicyTopicEntryTypeEnum_PolicyTopicEntryType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.php deleted file mode 100644 index 69d95a609..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum - */ -class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationMismatchUrlType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum/PolicyTopicEvidenceDestinationMismatchUrlType.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum/PolicyTopicEvidenceDestinationMismatchUrlType.php deleted file mode 100644 index bb5dd6f13..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationMismatchUrlTypeEnum/PolicyTopicEvidenceDestinationMismatchUrlType.php +++ /dev/null @@ -1,93 +0,0 @@ -google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType - */ -class PolicyTopicEvidenceDestinationMismatchUrlType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The display url. - * - * Generated from protobuf enum DISPLAY_URL = 2; - */ - const DISPLAY_URL = 2; - /** - * The final url. - * - * Generated from protobuf enum FINAL_URL = 3; - */ - const FINAL_URL = 3; - /** - * The final mobile url. - * - * Generated from protobuf enum FINAL_MOBILE_URL = 4; - */ - const FINAL_MOBILE_URL = 4; - /** - * The tracking url template, with substituted desktop url. - * - * Generated from protobuf enum TRACKING_URL = 5; - */ - const TRACKING_URL = 5; - /** - * The tracking url template, with substituted mobile url. - * - * Generated from protobuf enum MOBILE_TRACKING_URL = 6; - */ - const MOBILE_TRACKING_URL = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DISPLAY_URL => 'DISPLAY_URL', - self::FINAL_URL => 'FINAL_URL', - self::FINAL_MOBILE_URL => 'FINAL_MOBILE_URL', - self::TRACKING_URL => 'TRACKING_URL', - self::MOBILE_TRACKING_URL => 'MOBILE_TRACKING_URL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyTopicEvidenceDestinationMismatchUrlType::class, \Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationMismatchUrlTypeEnum_PolicyTopicEvidenceDestinationMismatchUrlType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.php deleted file mode 100644 index 8b97a7821..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum - */ -class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationNotWorkingDevice::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDeviceEnum/PolicyTopicEvidenceDestinationNotWorkingDevice.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDeviceEnum/PolicyTopicEvidenceDestinationNotWorkingDevice.php deleted file mode 100644 index 6baf0cf84..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDeviceEnum/PolicyTopicEvidenceDestinationNotWorkingDevice.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice - */ -class PolicyTopicEvidenceDestinationNotWorkingDevice -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Landing page doesn't work on desktop device. - * - * Generated from protobuf enum DESKTOP = 2; - */ - const DESKTOP = 2; - /** - * Landing page doesn't work on Android device. - * - * Generated from protobuf enum ANDROID = 3; - */ - const ANDROID = 3; - /** - * Landing page doesn't work on iOS device. - * - * Generated from protobuf enum IOS = 4; - */ - const IOS = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DESKTOP => 'DESKTOP', - self::ANDROID => 'ANDROID', - self::IOS => 'IOS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyTopicEvidenceDestinationNotWorkingDevice::class, \Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationNotWorkingDeviceEnum_PolicyTopicEvidenceDestinationNotWorkingDevice::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.php deleted file mode 100644 index b15f5a056..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum - */ -class PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationNotWorkingDnsErrorType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum/PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.php b/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum/PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.php deleted file mode 100644 index 2a3571689..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum/PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.php +++ /dev/null @@ -1,74 +0,0 @@ -google.ads.googleads.v15.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType - */ -class PolicyTopicEvidenceDestinationNotWorkingDnsErrorType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Host name not found in DNS when fetching landing page. - * - * Generated from protobuf enum HOSTNAME_NOT_FOUND = 2; - */ - const HOSTNAME_NOT_FOUND = 2; - /** - * Google internal crawler issue when communicating with DNS. This error - * doesn't mean the landing page doesn't work. Google will recrawl the - * landing page. - * - * Generated from protobuf enum GOOGLE_CRAWLER_DNS_ISSUE = 3; - */ - const GOOGLE_CRAWLER_DNS_ISSUE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::HOSTNAME_NOT_FOUND => 'HOSTNAME_NOT_FOUND', - self::GOOGLE_CRAWLER_DNS_ISSUE => 'GOOGLE_CRAWLER_DNS_ISSUE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyTopicEvidenceDestinationNotWorkingDnsErrorType::class, \Google\Ads\GoogleAds\V15\Enums\PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum_PolicyTopicEvidenceDestinationNotWorkingDnsErrorType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetTypeEnum.php deleted file mode 100644 index 5510d6d94..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PositiveGeoTargetTypeEnum - */ -class PositiveGeoTargetTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PositiveGeoTargetType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetTypeEnum/PositiveGeoTargetType.php b/src/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetTypeEnum/PositiveGeoTargetType.php deleted file mode 100644 index e0391dc3d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PositiveGeoTargetTypeEnum/PositiveGeoTargetType.php +++ /dev/null @@ -1,83 +0,0 @@ -google.ads.googleads.v15.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType - */ -class PositiveGeoTargetType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Specifies that an ad is triggered if the user is in, - * or shows interest in, advertiser's targeted locations. - * - * Generated from protobuf enum PRESENCE_OR_INTEREST = 5; - */ - const PRESENCE_OR_INTEREST = 5; - /** - * Specifies that an ad is triggered if the user - * searches for advertiser's targeted locations. - * This can only be used with Search and standard - * Shopping campaigns. - * - * Generated from protobuf enum SEARCH_INTEREST = 6; - */ - const SEARCH_INTEREST = 6; - /** - * Specifies that an ad is triggered if the user is in - * or regularly in advertiser's targeted locations. - * - * Generated from protobuf enum PRESENCE = 7; - */ - const PRESENCE = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PRESENCE_OR_INTEREST => 'PRESENCE_OR_INTEREST', - self::SEARCH_INTEREST => 'SEARCH_INTEREST', - self::PRESENCE => 'PRESENCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PositiveGeoTargetType::class, \Google\Ads\GoogleAds\V15\Enums\PositiveGeoTargetTypeEnum_PositiveGeoTargetType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifierEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifierEnum.php deleted file mode 100644 index 3265ae10a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifierEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum - */ -class PriceExtensionPriceQualifierEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PriceExtensionPriceQualifier::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifierEnum/PriceExtensionPriceQualifier.php b/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifierEnum/PriceExtensionPriceQualifier.php deleted file mode 100644 index d56369da3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceQualifierEnum/PriceExtensionPriceQualifier.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier - */ -class PriceExtensionPriceQualifier -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * 'From' qualifier for the price. - * - * Generated from protobuf enum FROM = 2; - */ - const FROM = 2; - /** - * 'Up to' qualifier for the price. - * - * Generated from protobuf enum UP_TO = 3; - */ - const UP_TO = 3; - /** - * 'Average' qualifier for the price. - * - * Generated from protobuf enum AVERAGE = 4; - */ - const AVERAGE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FROM => 'FROM', - self::UP_TO => 'UP_TO', - self::AVERAGE => 'AVERAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PriceExtensionPriceQualifier::class, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionPriceQualifierEnum_PriceExtensionPriceQualifier::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnitEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnitEnum.php deleted file mode 100644 index b7a7aaf35..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnitEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum - */ -class PriceExtensionPriceUnitEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PriceExtensionPriceUnit::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnitEnum/PriceExtensionPriceUnit.php b/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnitEnum/PriceExtensionPriceUnit.php deleted file mode 100644 index d6e78279f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionPriceUnitEnum/PriceExtensionPriceUnit.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit - */ -class PriceExtensionPriceUnit -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Per hour. - * - * Generated from protobuf enum PER_HOUR = 2; - */ - const PER_HOUR = 2; - /** - * Per day. - * - * Generated from protobuf enum PER_DAY = 3; - */ - const PER_DAY = 3; - /** - * Per week. - * - * Generated from protobuf enum PER_WEEK = 4; - */ - const PER_WEEK = 4; - /** - * Per month. - * - * Generated from protobuf enum PER_MONTH = 5; - */ - const PER_MONTH = 5; - /** - * Per year. - * - * Generated from protobuf enum PER_YEAR = 6; - */ - const PER_YEAR = 6; - /** - * Per night. - * - * Generated from protobuf enum PER_NIGHT = 7; - */ - const PER_NIGHT = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PER_HOUR => 'PER_HOUR', - self::PER_DAY => 'PER_DAY', - self::PER_WEEK => 'PER_WEEK', - self::PER_MONTH => 'PER_MONTH', - self::PER_YEAR => 'PER_YEAR', - self::PER_NIGHT => 'PER_NIGHT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PriceExtensionPriceUnit::class, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionPriceUnitEnum_PriceExtensionPriceUnit::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionTypeEnum.php deleted file mode 100644 index 78ddc88ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PriceExtensionTypeEnum - */ -class PriceExtensionTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PriceExtensionType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionTypeEnum/PriceExtensionType.php b/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionTypeEnum/PriceExtensionType.php deleted file mode 100644 index eff620898..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PriceExtensionTypeEnum/PriceExtensionType.php +++ /dev/null @@ -1,120 +0,0 @@ -google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType - */ -class PriceExtensionType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The type for showing a list of brands. - * - * Generated from protobuf enum BRANDS = 2; - */ - const BRANDS = 2; - /** - * The type for showing a list of events. - * - * Generated from protobuf enum EVENTS = 3; - */ - const EVENTS = 3; - /** - * The type for showing locations relevant to your business. - * - * Generated from protobuf enum LOCATIONS = 4; - */ - const LOCATIONS = 4; - /** - * The type for showing sub-regions or districts within a city or region. - * - * Generated from protobuf enum NEIGHBORHOODS = 5; - */ - const NEIGHBORHOODS = 5; - /** - * The type for showing a collection of product categories. - * - * Generated from protobuf enum PRODUCT_CATEGORIES = 6; - */ - const PRODUCT_CATEGORIES = 6; - /** - * The type for showing a collection of related product tiers. - * - * Generated from protobuf enum PRODUCT_TIERS = 7; - */ - const PRODUCT_TIERS = 7; - /** - * The type for showing a collection of services offered by your business. - * - * Generated from protobuf enum SERVICES = 8; - */ - const SERVICES = 8; - /** - * The type for showing a collection of service categories. - * - * Generated from protobuf enum SERVICE_CATEGORIES = 9; - */ - const SERVICE_CATEGORIES = 9; - /** - * The type for showing a collection of related service tiers. - * - * Generated from protobuf enum SERVICE_TIERS = 10; - */ - const SERVICE_TIERS = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BRANDS => 'BRANDS', - self::EVENTS => 'EVENTS', - self::LOCATIONS => 'LOCATIONS', - self::NEIGHBORHOODS => 'NEIGHBORHOODS', - self::PRODUCT_CATEGORIES => 'PRODUCT_CATEGORIES', - self::PRODUCT_TIERS => 'PRODUCT_TIERS', - self::SERVICES => 'SERVICES', - self::SERVICE_CATEGORIES => 'SERVICE_CATEGORIES', - self::SERVICE_TIERS => 'SERVICE_TIERS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PriceExtensionType::class, \Google\Ads\GoogleAds\V15\Enums\PriceExtensionTypeEnum_PriceExtensionType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderFieldEnum.php deleted file mode 100644 index 26d8980a6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PricePlaceholderFieldEnum - */ -class PricePlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PricePlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderFieldEnum/PricePlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderFieldEnum/PricePlaceholderField.php deleted file mode 100644 index f2144f81b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PricePlaceholderFieldEnum/PricePlaceholderField.php +++ /dev/null @@ -1,473 +0,0 @@ -google.ads.googleads.v15.enums.PricePlaceholderFieldEnum.PricePlaceholderField - */ -class PricePlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. The type of your price feed. Must match one of the - * predefined price feed type exactly. - * - * Generated from protobuf enum TYPE = 2; - */ - const TYPE = 2; - /** - * Data Type: STRING. The qualifier of each price. Must match one of the - * predefined price qualifiers exactly. - * - * Generated from protobuf enum PRICE_QUALIFIER = 3; - */ - const PRICE_QUALIFIER = 3; - /** - * Data Type: URL. Tracking template for the price feed when using Upgraded - * URLs. - * - * Generated from protobuf enum TRACKING_TEMPLATE = 4; - */ - const TRACKING_TEMPLATE = 4; - /** - * Data Type: STRING. Language of the price feed. Must match one of the - * available available locale codes exactly. - * - * Generated from protobuf enum LANGUAGE = 5; - */ - const LANGUAGE = 5; - /** - * Data Type: STRING. Final URL suffix for the price feed when using - * parallel tracking. - * - * Generated from protobuf enum FINAL_URL_SUFFIX = 6; - */ - const FINAL_URL_SUFFIX = 6; - /** - * Data Type: STRING. The header of item 1 of the table. - * - * Generated from protobuf enum ITEM_1_HEADER = 100; - */ - const ITEM_1_HEADER = 100; - /** - * Data Type: STRING. The description of item 1 of the table. - * - * Generated from protobuf enum ITEM_1_DESCRIPTION = 101; - */ - const ITEM_1_DESCRIPTION = 101; - /** - * Data Type: MONEY. The price (money with currency) of item 1 of the table, - * for example, 30 USD. The currency must match one of the available - * currencies. - * - * Generated from protobuf enum ITEM_1_PRICE = 102; - */ - const ITEM_1_PRICE = 102; - /** - * Data Type: STRING. The price unit of item 1 of the table. Must match one - * of the predefined price units. - * - * Generated from protobuf enum ITEM_1_UNIT = 103; - */ - const ITEM_1_UNIT = 103; - /** - * Data Type: URL_LIST. The final URLs of item 1 of the table when using - * Upgraded URLs. - * - * Generated from protobuf enum ITEM_1_FINAL_URLS = 104; - */ - const ITEM_1_FINAL_URLS = 104; - /** - * Data Type: URL_LIST. The final mobile URLs of item 1 of the table when - * using Upgraded URLs. - * - * Generated from protobuf enum ITEM_1_FINAL_MOBILE_URLS = 105; - */ - const ITEM_1_FINAL_MOBILE_URLS = 105; - /** - * Data Type: STRING. The header of item 2 of the table. - * - * Generated from protobuf enum ITEM_2_HEADER = 200; - */ - const ITEM_2_HEADER = 200; - /** - * Data Type: STRING. The description of item 2 of the table. - * - * Generated from protobuf enum ITEM_2_DESCRIPTION = 201; - */ - const ITEM_2_DESCRIPTION = 201; - /** - * Data Type: MONEY. The price (money with currency) of item 2 of the table, - * for example, 30 USD. The currency must match one of the available - * currencies. - * - * Generated from protobuf enum ITEM_2_PRICE = 202; - */ - const ITEM_2_PRICE = 202; - /** - * Data Type: STRING. The price unit of item 2 of the table. Must match one - * of the predefined price units. - * - * Generated from protobuf enum ITEM_2_UNIT = 203; - */ - const ITEM_2_UNIT = 203; - /** - * Data Type: URL_LIST. The final URLs of item 2 of the table when using - * Upgraded URLs. - * - * Generated from protobuf enum ITEM_2_FINAL_URLS = 204; - */ - const ITEM_2_FINAL_URLS = 204; - /** - * Data Type: URL_LIST. The final mobile URLs of item 2 of the table when - * using Upgraded URLs. - * - * Generated from protobuf enum ITEM_2_FINAL_MOBILE_URLS = 205; - */ - const ITEM_2_FINAL_MOBILE_URLS = 205; - /** - * Data Type: STRING. The header of item 3 of the table. - * - * Generated from protobuf enum ITEM_3_HEADER = 300; - */ - const ITEM_3_HEADER = 300; - /** - * Data Type: STRING. The description of item 3 of the table. - * - * Generated from protobuf enum ITEM_3_DESCRIPTION = 301; - */ - const ITEM_3_DESCRIPTION = 301; - /** - * Data Type: MONEY. The price (money with currency) of item 3 of the table, - * for example, 30 USD. The currency must match one of the available - * currencies. - * - * Generated from protobuf enum ITEM_3_PRICE = 302; - */ - const ITEM_3_PRICE = 302; - /** - * Data Type: STRING. The price unit of item 3 of the table. Must match one - * of the predefined price units. - * - * Generated from protobuf enum ITEM_3_UNIT = 303; - */ - const ITEM_3_UNIT = 303; - /** - * Data Type: URL_LIST. The final URLs of item 3 of the table when using - * Upgraded URLs. - * - * Generated from protobuf enum ITEM_3_FINAL_URLS = 304; - */ - const ITEM_3_FINAL_URLS = 304; - /** - * Data Type: URL_LIST. The final mobile URLs of item 3 of the table when - * using Upgraded URLs. - * - * Generated from protobuf enum ITEM_3_FINAL_MOBILE_URLS = 305; - */ - const ITEM_3_FINAL_MOBILE_URLS = 305; - /** - * Data Type: STRING. The header of item 4 of the table. - * - * Generated from protobuf enum ITEM_4_HEADER = 400; - */ - const ITEM_4_HEADER = 400; - /** - * Data Type: STRING. The description of item 4 of the table. - * - * Generated from protobuf enum ITEM_4_DESCRIPTION = 401; - */ - const ITEM_4_DESCRIPTION = 401; - /** - * Data Type: MONEY. The price (money with currency) of item 4 of the table, - * for example, 30 USD. The currency must match one of the available - * currencies. - * - * Generated from protobuf enum ITEM_4_PRICE = 402; - */ - const ITEM_4_PRICE = 402; - /** - * Data Type: STRING. The price unit of item 4 of the table. Must match one - * of the predefined price units. - * - * Generated from protobuf enum ITEM_4_UNIT = 403; - */ - const ITEM_4_UNIT = 403; - /** - * Data Type: URL_LIST. The final URLs of item 4 of the table when using - * Upgraded URLs. - * - * Generated from protobuf enum ITEM_4_FINAL_URLS = 404; - */ - const ITEM_4_FINAL_URLS = 404; - /** - * Data Type: URL_LIST. The final mobile URLs of item 4 of the table when - * using Upgraded URLs. - * - * Generated from protobuf enum ITEM_4_FINAL_MOBILE_URLS = 405; - */ - const ITEM_4_FINAL_MOBILE_URLS = 405; - /** - * Data Type: STRING. The header of item 5 of the table. - * - * Generated from protobuf enum ITEM_5_HEADER = 500; - */ - const ITEM_5_HEADER = 500; - /** - * Data Type: STRING. The description of item 5 of the table. - * - * Generated from protobuf enum ITEM_5_DESCRIPTION = 501; - */ - const ITEM_5_DESCRIPTION = 501; - /** - * Data Type: MONEY. The price (money with currency) of item 5 of the table, - * for example, 30 USD. The currency must match one of the available - * currencies. - * - * Generated from protobuf enum ITEM_5_PRICE = 502; - */ - const ITEM_5_PRICE = 502; - /** - * Data Type: STRING. The price unit of item 5 of the table. Must match one - * of the predefined price units. - * - * Generated from protobuf enum ITEM_5_UNIT = 503; - */ - const ITEM_5_UNIT = 503; - /** - * Data Type: URL_LIST. The final URLs of item 5 of the table when using - * Upgraded URLs. - * - * Generated from protobuf enum ITEM_5_FINAL_URLS = 504; - */ - const ITEM_5_FINAL_URLS = 504; - /** - * Data Type: URL_LIST. The final mobile URLs of item 5 of the table when - * using Upgraded URLs. - * - * Generated from protobuf enum ITEM_5_FINAL_MOBILE_URLS = 505; - */ - const ITEM_5_FINAL_MOBILE_URLS = 505; - /** - * Data Type: STRING. The header of item 6 of the table. - * - * Generated from protobuf enum ITEM_6_HEADER = 600; - */ - const ITEM_6_HEADER = 600; - /** - * Data Type: STRING. The description of item 6 of the table. - * - * Generated from protobuf enum ITEM_6_DESCRIPTION = 601; - */ - const ITEM_6_DESCRIPTION = 601; - /** - * Data Type: MONEY. The price (money with currency) of item 6 of the table, - * for example, 30 USD. The currency must match one of the available - * currencies. - * - * Generated from protobuf enum ITEM_6_PRICE = 602; - */ - const ITEM_6_PRICE = 602; - /** - * Data Type: STRING. The price unit of item 6 of the table. Must match one - * of the predefined price units. - * - * Generated from protobuf enum ITEM_6_UNIT = 603; - */ - const ITEM_6_UNIT = 603; - /** - * Data Type: URL_LIST. The final URLs of item 6 of the table when using - * Upgraded URLs. - * - * Generated from protobuf enum ITEM_6_FINAL_URLS = 604; - */ - const ITEM_6_FINAL_URLS = 604; - /** - * Data Type: URL_LIST. The final mobile URLs of item 6 of the table when - * using Upgraded URLs. - * - * Generated from protobuf enum ITEM_6_FINAL_MOBILE_URLS = 605; - */ - const ITEM_6_FINAL_MOBILE_URLS = 605; - /** - * Data Type: STRING. The header of item 7 of the table. - * - * Generated from protobuf enum ITEM_7_HEADER = 700; - */ - const ITEM_7_HEADER = 700; - /** - * Data Type: STRING. The description of item 7 of the table. - * - * Generated from protobuf enum ITEM_7_DESCRIPTION = 701; - */ - const ITEM_7_DESCRIPTION = 701; - /** - * Data Type: MONEY. The price (money with currency) of item 7 of the table, - * for example, 30 USD. The currency must match one of the available - * currencies. - * - * Generated from protobuf enum ITEM_7_PRICE = 702; - */ - const ITEM_7_PRICE = 702; - /** - * Data Type: STRING. The price unit of item 7 of the table. Must match one - * of the predefined price units. - * - * Generated from protobuf enum ITEM_7_UNIT = 703; - */ - const ITEM_7_UNIT = 703; - /** - * Data Type: URL_LIST. The final URLs of item 7 of the table when using - * Upgraded URLs. - * - * Generated from protobuf enum ITEM_7_FINAL_URLS = 704; - */ - const ITEM_7_FINAL_URLS = 704; - /** - * Data Type: URL_LIST. The final mobile URLs of item 7 of the table when - * using Upgraded URLs. - * - * Generated from protobuf enum ITEM_7_FINAL_MOBILE_URLS = 705; - */ - const ITEM_7_FINAL_MOBILE_URLS = 705; - /** - * Data Type: STRING. The header of item 8 of the table. - * - * Generated from protobuf enum ITEM_8_HEADER = 800; - */ - const ITEM_8_HEADER = 800; - /** - * Data Type: STRING. The description of item 8 of the table. - * - * Generated from protobuf enum ITEM_8_DESCRIPTION = 801; - */ - const ITEM_8_DESCRIPTION = 801; - /** - * Data Type: MONEY. The price (money with currency) of item 8 of the table, - * for example, 30 USD. The currency must match one of the available - * currencies. - * - * Generated from protobuf enum ITEM_8_PRICE = 802; - */ - const ITEM_8_PRICE = 802; - /** - * Data Type: STRING. The price unit of item 8 of the table. Must match one - * of the predefined price units. - * - * Generated from protobuf enum ITEM_8_UNIT = 803; - */ - const ITEM_8_UNIT = 803; - /** - * Data Type: URL_LIST. The final URLs of item 8 of the table when using - * Upgraded URLs. - * - * Generated from protobuf enum ITEM_8_FINAL_URLS = 804; - */ - const ITEM_8_FINAL_URLS = 804; - /** - * Data Type: URL_LIST. The final mobile URLs of item 8 of the table when - * using Upgraded URLs. - * - * Generated from protobuf enum ITEM_8_FINAL_MOBILE_URLS = 805; - */ - const ITEM_8_FINAL_MOBILE_URLS = 805; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TYPE => 'TYPE', - self::PRICE_QUALIFIER => 'PRICE_QUALIFIER', - self::TRACKING_TEMPLATE => 'TRACKING_TEMPLATE', - self::LANGUAGE => 'LANGUAGE', - self::FINAL_URL_SUFFIX => 'FINAL_URL_SUFFIX', - self::ITEM_1_HEADER => 'ITEM_1_HEADER', - self::ITEM_1_DESCRIPTION => 'ITEM_1_DESCRIPTION', - self::ITEM_1_PRICE => 'ITEM_1_PRICE', - self::ITEM_1_UNIT => 'ITEM_1_UNIT', - self::ITEM_1_FINAL_URLS => 'ITEM_1_FINAL_URLS', - self::ITEM_1_FINAL_MOBILE_URLS => 'ITEM_1_FINAL_MOBILE_URLS', - self::ITEM_2_HEADER => 'ITEM_2_HEADER', - self::ITEM_2_DESCRIPTION => 'ITEM_2_DESCRIPTION', - self::ITEM_2_PRICE => 'ITEM_2_PRICE', - self::ITEM_2_UNIT => 'ITEM_2_UNIT', - self::ITEM_2_FINAL_URLS => 'ITEM_2_FINAL_URLS', - self::ITEM_2_FINAL_MOBILE_URLS => 'ITEM_2_FINAL_MOBILE_URLS', - self::ITEM_3_HEADER => 'ITEM_3_HEADER', - self::ITEM_3_DESCRIPTION => 'ITEM_3_DESCRIPTION', - self::ITEM_3_PRICE => 'ITEM_3_PRICE', - self::ITEM_3_UNIT => 'ITEM_3_UNIT', - self::ITEM_3_FINAL_URLS => 'ITEM_3_FINAL_URLS', - self::ITEM_3_FINAL_MOBILE_URLS => 'ITEM_3_FINAL_MOBILE_URLS', - self::ITEM_4_HEADER => 'ITEM_4_HEADER', - self::ITEM_4_DESCRIPTION => 'ITEM_4_DESCRIPTION', - self::ITEM_4_PRICE => 'ITEM_4_PRICE', - self::ITEM_4_UNIT => 'ITEM_4_UNIT', - self::ITEM_4_FINAL_URLS => 'ITEM_4_FINAL_URLS', - self::ITEM_4_FINAL_MOBILE_URLS => 'ITEM_4_FINAL_MOBILE_URLS', - self::ITEM_5_HEADER => 'ITEM_5_HEADER', - self::ITEM_5_DESCRIPTION => 'ITEM_5_DESCRIPTION', - self::ITEM_5_PRICE => 'ITEM_5_PRICE', - self::ITEM_5_UNIT => 'ITEM_5_UNIT', - self::ITEM_5_FINAL_URLS => 'ITEM_5_FINAL_URLS', - self::ITEM_5_FINAL_MOBILE_URLS => 'ITEM_5_FINAL_MOBILE_URLS', - self::ITEM_6_HEADER => 'ITEM_6_HEADER', - self::ITEM_6_DESCRIPTION => 'ITEM_6_DESCRIPTION', - self::ITEM_6_PRICE => 'ITEM_6_PRICE', - self::ITEM_6_UNIT => 'ITEM_6_UNIT', - self::ITEM_6_FINAL_URLS => 'ITEM_6_FINAL_URLS', - self::ITEM_6_FINAL_MOBILE_URLS => 'ITEM_6_FINAL_MOBILE_URLS', - self::ITEM_7_HEADER => 'ITEM_7_HEADER', - self::ITEM_7_DESCRIPTION => 'ITEM_7_DESCRIPTION', - self::ITEM_7_PRICE => 'ITEM_7_PRICE', - self::ITEM_7_UNIT => 'ITEM_7_UNIT', - self::ITEM_7_FINAL_URLS => 'ITEM_7_FINAL_URLS', - self::ITEM_7_FINAL_MOBILE_URLS => 'ITEM_7_FINAL_MOBILE_URLS', - self::ITEM_8_HEADER => 'ITEM_8_HEADER', - self::ITEM_8_DESCRIPTION => 'ITEM_8_DESCRIPTION', - self::ITEM_8_PRICE => 'ITEM_8_PRICE', - self::ITEM_8_UNIT => 'ITEM_8_UNIT', - self::ITEM_8_FINAL_URLS => 'ITEM_8_FINAL_URLS', - self::ITEM_8_FINAL_MOBILE_URLS => 'ITEM_8_FINAL_MOBILE_URLS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PricePlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\PricePlaceholderFieldEnum_PricePlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevelEnum.php deleted file mode 100644 index edf926077..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ProductCategoryLevelEnum - */ -class ProductCategoryLevelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProductCategoryLevel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevelEnum/ProductCategoryLevel.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevelEnum/ProductCategoryLevel.php deleted file mode 100644 index ed82cf261..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryLevelEnum/ProductCategoryLevel.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel - */ -class ProductCategoryLevel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Level 1. - * - * Generated from protobuf enum LEVEL1 = 2; - */ - const LEVEL1 = 2; - /** - * Level 2. - * - * Generated from protobuf enum LEVEL2 = 3; - */ - const LEVEL2 = 3; - /** - * Level 3. - * - * Generated from protobuf enum LEVEL3 = 4; - */ - const LEVEL3 = 4; - /** - * Level 4. - * - * Generated from protobuf enum LEVEL4 = 5; - */ - const LEVEL4 = 5; - /** - * Level 5. - * - * Generated from protobuf enum LEVEL5 = 6; - */ - const LEVEL5 = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LEVEL1 => 'LEVEL1', - self::LEVEL2 => 'LEVEL2', - self::LEVEL3 => 'LEVEL3', - self::LEVEL4 => 'LEVEL4', - self::LEVEL5 => 'LEVEL5', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductCategoryLevel::class, \Google\Ads\GoogleAds\V15\Enums\ProductCategoryLevelEnum_ProductCategoryLevel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryStateEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryStateEnum.php deleted file mode 100644 index a1f8ef122..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryStateEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ProductCategoryStateEnum - */ -class ProductCategoryStateEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProductCategoryState::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryStateEnum/ProductCategoryState.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryStateEnum/ProductCategoryState.php deleted file mode 100644 index 4e935dbeb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductCategoryStateEnum/ProductCategoryState.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ProductCategoryStateEnum.ProductCategoryState - */ -class ProductCategoryState -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The category is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The category is obsolete. Used only for reporting purposes. - * - * Generated from protobuf enum OBSOLETE = 3; - */ - const OBSOLETE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::OBSOLETE => 'OBSOLETE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductCategoryState::class, \Google\Ads\GoogleAds\V15\Enums\ProductCategoryStateEnum_ProductCategoryState::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelEnum.php deleted file mode 100644 index f6aafeaa5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ProductChannelEnum - */ -class ProductChannelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProductChannel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelEnum/ProductChannel.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelEnum/ProductChannel.php deleted file mode 100644 index 2cef89986..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelEnum/ProductChannel.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ProductChannelEnum.ProductChannel - */ -class ProductChannel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The item is sold online. - * - * Generated from protobuf enum ONLINE = 2; - */ - const ONLINE = 2; - /** - * The item is sold in local stores. - * - * Generated from protobuf enum LOCAL = 3; - */ - const LOCAL = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ONLINE => 'ONLINE', - self::LOCAL => 'LOCAL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductChannel::class, \Google\Ads\GoogleAds\V15\Enums\ProductChannelEnum_ProductChannel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivityEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivityEnum.php deleted file mode 100644 index 062f73d72..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivityEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ProductChannelExclusivityEnum - */ -class ProductChannelExclusivityEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProductChannelExclusivity::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivityEnum/ProductChannelExclusivity.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivityEnum/ProductChannelExclusivity.php deleted file mode 100644 index e532de599..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductChannelExclusivityEnum/ProductChannelExclusivity.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity - */ -class ProductChannelExclusivity -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The item is sold through one channel only, either local stores or online - * as indicated by its ProductChannel. - * - * Generated from protobuf enum SINGLE_CHANNEL = 2; - */ - const SINGLE_CHANNEL = 2; - /** - * The item is matched to its online or local stores counterpart, indicating - * it is available for purchase in both ShoppingProductChannels. - * - * Generated from protobuf enum MULTI_CHANNEL = 3; - */ - const MULTI_CHANNEL = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SINGLE_CHANNEL => 'SINGLE_CHANNEL', - self::MULTI_CHANNEL => 'MULTI_CHANNEL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductChannelExclusivity::class, \Google\Ads\GoogleAds\V15\Enums\ProductChannelExclusivityEnum_ProductChannelExclusivity::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductConditionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductConditionEnum.php deleted file mode 100644 index d8c303bac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductConditionEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ProductConditionEnum - */ -class ProductConditionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProductCondition::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductConditionEnum/ProductCondition.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductConditionEnum/ProductCondition.php deleted file mode 100644 index f8fcb5306..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductConditionEnum/ProductCondition.php +++ /dev/null @@ -1,82 +0,0 @@ -google.ads.googleads.v15.enums.ProductConditionEnum.ProductCondition - */ -class ProductCondition -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The product condition is new. - * - * Generated from protobuf enum NEW = 3; - */ - const PBNEW = 3; - /** - * The product condition is refurbished. - * - * Generated from protobuf enum REFURBISHED = 4; - */ - const REFURBISHED = 4; - /** - * The product condition is used. - * - * Generated from protobuf enum USED = 5; - */ - const USED = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PBNEW => 'NEW', - self::REFURBISHED => 'REFURBISHED', - self::USED => 'USED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductCondition::class, \Google\Ads\GoogleAds\V15\Enums\ProductConditionEnum_ProductCondition::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndexEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndexEnum.php deleted file mode 100644 index 948c095f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndexEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ProductCustomAttributeIndexEnum - */ -class ProductCustomAttributeIndexEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProductCustomAttributeIndex::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndexEnum/ProductCustomAttributeIndex.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndexEnum/ProductCustomAttributeIndex.php deleted file mode 100644 index a437e444c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductCustomAttributeIndexEnum/ProductCustomAttributeIndex.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex - */ -class ProductCustomAttributeIndex -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * First product custom attribute. - * - * Generated from protobuf enum INDEX0 = 7; - */ - const INDEX0 = 7; - /** - * Second product custom attribute. - * - * Generated from protobuf enum INDEX1 = 8; - */ - const INDEX1 = 8; - /** - * Third product custom attribute. - * - * Generated from protobuf enum INDEX2 = 9; - */ - const INDEX2 = 9; - /** - * Fourth product custom attribute. - * - * Generated from protobuf enum INDEX3 = 10; - */ - const INDEX3 = 10; - /** - * Fifth product custom attribute. - * - * Generated from protobuf enum INDEX4 = 11; - */ - const INDEX4 = 11; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INDEX0 => 'INDEX0', - self::INDEX1 => 'INDEX1', - self::INDEX2 => 'INDEX2', - self::INDEX3 => 'INDEX3', - self::INDEX4 => 'INDEX4', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductCustomAttributeIndex::class, \Google\Ads\GoogleAds\V15\Enums\ProductCustomAttributeIndexEnum_ProductCustomAttributeIndex::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatusEnum.php deleted file mode 100644 index cf2195bfd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum - */ -class ProductLinkInvitationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProductLinkInvitationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatusEnum/ProductLinkInvitationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatusEnum/ProductLinkInvitationStatus.php deleted file mode 100644 index 559fb5e68..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductLinkInvitationStatusEnum/ProductLinkInvitationStatus.php +++ /dev/null @@ -1,103 +0,0 @@ -google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus - */ -class ProductLinkInvitationStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The invitation is accepted. - * - * Generated from protobuf enum ACCEPTED = 2; - */ - const ACCEPTED = 2; - /** - * An invitation has been sent to the other account. A user on the other - * account may now accept the invitation by setting the status to ACCEPTED. - * - * Generated from protobuf enum REQUESTED = 3; - */ - const REQUESTED = 3; - /** - * This invitation has been sent by a user on the other account. It may be - * accepted by a user on this account by setting the status to ACCEPTED. - * - * Generated from protobuf enum PENDING_APPROVAL = 4; - */ - const PENDING_APPROVAL = 4; - /** - * The invitation is revoked by the user who sent the invitation. - * - * Generated from protobuf enum REVOKED = 5; - */ - const REVOKED = 5; - /** - * The invitation has been rejected by the invitee. - * - * Generated from protobuf enum REJECTED = 6; - */ - const REJECTED = 6; - /** - * The invitation has timed out before being accepted by the - * invitee. - * - * Generated from protobuf enum EXPIRED = 7; - */ - const EXPIRED = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ACCEPTED => 'ACCEPTED', - self::REQUESTED => 'REQUESTED', - self::PENDING_APPROVAL => 'PENDING_APPROVAL', - self::REVOKED => 'REVOKED', - self::REJECTED => 'REJECTED', - self::EXPIRED => 'EXPIRED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductLinkInvitationStatus::class, \Google\Ads\GoogleAds\V15\Enums\ProductLinkInvitationStatusEnum_ProductLinkInvitationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevelEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevelEnum.php deleted file mode 100644 index 8989d7363..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevelEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ProductTypeLevelEnum - */ -class ProductTypeLevelEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProductTypeLevel::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevelEnum/ProductTypeLevel.php b/src/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevelEnum/ProductTypeLevel.php deleted file mode 100644 index 8f41669c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProductTypeLevelEnum/ProductTypeLevel.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.ProductTypeLevelEnum.ProductTypeLevel - */ -class ProductTypeLevel -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Level 1. - * - * Generated from protobuf enum LEVEL1 = 7; - */ - const LEVEL1 = 7; - /** - * Level 2. - * - * Generated from protobuf enum LEVEL2 = 8; - */ - const LEVEL2 = 8; - /** - * Level 3. - * - * Generated from protobuf enum LEVEL3 = 9; - */ - const LEVEL3 = 9; - /** - * Level 4. - * - * Generated from protobuf enum LEVEL4 = 10; - */ - const LEVEL4 = 10; - /** - * Level 5. - * - * Generated from protobuf enum LEVEL5 = 11; - */ - const LEVEL5 = 11; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LEVEL1 => 'LEVEL1', - self::LEVEL2 => 'LEVEL2', - self::LEVEL3 => 'LEVEL3', - self::LEVEL4 => 'LEVEL4', - self::LEVEL5 => 'LEVEL5', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductTypeLevel::class, \Google\Ads\GoogleAds\V15\Enums\ProductTypeLevelEnum_ProductTypeLevel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifierEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifierEnum.php deleted file mode 100644 index 68b696a13..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifierEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum - */ -class PromotionExtensionDiscountModifierEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PromotionExtensionDiscountModifier::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifierEnum/PromotionExtensionDiscountModifier.php b/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifierEnum/PromotionExtensionDiscountModifier.php deleted file mode 100644 index b9dd8a606..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionDiscountModifierEnum/PromotionExtensionDiscountModifier.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier - */ -class PromotionExtensionDiscountModifier -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * 'Up to'. - * - * Generated from protobuf enum UP_TO = 2; - */ - const UP_TO = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UP_TO => 'UP_TO', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PromotionExtensionDiscountModifier::class, \Google\Ads\GoogleAds\V15\Enums\PromotionExtensionDiscountModifierEnum_PromotionExtensionDiscountModifier::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasionEnum.php deleted file mode 100644 index b3a94910c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasionEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum - */ -class PromotionExtensionOccasionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PromotionExtensionOccasion::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasionEnum/PromotionExtensionOccasion.php b/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasionEnum/PromotionExtensionOccasion.php deleted file mode 100644 index fcf5e4ba2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PromotionExtensionOccasionEnum/PromotionExtensionOccasion.php +++ /dev/null @@ -1,316 +0,0 @@ -google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion - */ -class PromotionExtensionOccasion -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * New Year's. - * - * Generated from protobuf enum NEW_YEARS = 2; - */ - const NEW_YEARS = 2; - /** - * Chinese New Year. - * - * Generated from protobuf enum CHINESE_NEW_YEAR = 3; - */ - const CHINESE_NEW_YEAR = 3; - /** - * Valentine's Day. - * - * Generated from protobuf enum VALENTINES_DAY = 4; - */ - const VALENTINES_DAY = 4; - /** - * Easter. - * - * Generated from protobuf enum EASTER = 5; - */ - const EASTER = 5; - /** - * Mother's Day. - * - * Generated from protobuf enum MOTHERS_DAY = 6; - */ - const MOTHERS_DAY = 6; - /** - * Father's Day. - * - * Generated from protobuf enum FATHERS_DAY = 7; - */ - const FATHERS_DAY = 7; - /** - * Labor Day. - * - * Generated from protobuf enum LABOR_DAY = 8; - */ - const LABOR_DAY = 8; - /** - * Back To School. - * - * Generated from protobuf enum BACK_TO_SCHOOL = 9; - */ - const BACK_TO_SCHOOL = 9; - /** - * Halloween. - * - * Generated from protobuf enum HALLOWEEN = 10; - */ - const HALLOWEEN = 10; - /** - * Black Friday. - * - * Generated from protobuf enum BLACK_FRIDAY = 11; - */ - const BLACK_FRIDAY = 11; - /** - * Cyber Monday. - * - * Generated from protobuf enum CYBER_MONDAY = 12; - */ - const CYBER_MONDAY = 12; - /** - * Christmas. - * - * Generated from protobuf enum CHRISTMAS = 13; - */ - const CHRISTMAS = 13; - /** - * Boxing Day. - * - * Generated from protobuf enum BOXING_DAY = 14; - */ - const BOXING_DAY = 14; - /** - * Independence Day in any country. - * - * Generated from protobuf enum INDEPENDENCE_DAY = 15; - */ - const INDEPENDENCE_DAY = 15; - /** - * National Day in any country. - * - * Generated from protobuf enum NATIONAL_DAY = 16; - */ - const NATIONAL_DAY = 16; - /** - * End of any season. - * - * Generated from protobuf enum END_OF_SEASON = 17; - */ - const END_OF_SEASON = 17; - /** - * Winter Sale. - * - * Generated from protobuf enum WINTER_SALE = 18; - */ - const WINTER_SALE = 18; - /** - * Summer sale. - * - * Generated from protobuf enum SUMMER_SALE = 19; - */ - const SUMMER_SALE = 19; - /** - * Fall Sale. - * - * Generated from protobuf enum FALL_SALE = 20; - */ - const FALL_SALE = 20; - /** - * Spring Sale. - * - * Generated from protobuf enum SPRING_SALE = 21; - */ - const SPRING_SALE = 21; - /** - * Ramadan. - * - * Generated from protobuf enum RAMADAN = 22; - */ - const RAMADAN = 22; - /** - * Eid al-Fitr. - * - * Generated from protobuf enum EID_AL_FITR = 23; - */ - const EID_AL_FITR = 23; - /** - * Eid al-Adha. - * - * Generated from protobuf enum EID_AL_ADHA = 24; - */ - const EID_AL_ADHA = 24; - /** - * Singles Day. - * - * Generated from protobuf enum SINGLES_DAY = 25; - */ - const SINGLES_DAY = 25; - /** - * Women's Day. - * - * Generated from protobuf enum WOMENS_DAY = 26; - */ - const WOMENS_DAY = 26; - /** - * Holi. - * - * Generated from protobuf enum HOLI = 27; - */ - const HOLI = 27; - /** - * Parent's Day. - * - * Generated from protobuf enum PARENTS_DAY = 28; - */ - const PARENTS_DAY = 28; - /** - * St. Nicholas Day. - * - * Generated from protobuf enum ST_NICHOLAS_DAY = 29; - */ - const ST_NICHOLAS_DAY = 29; - /** - * Carnival. - * - * Generated from protobuf enum CARNIVAL = 30; - */ - const CARNIVAL = 30; - /** - * Epiphany, also known as Three Kings' Day. - * - * Generated from protobuf enum EPIPHANY = 31; - */ - const EPIPHANY = 31; - /** - * Rosh Hashanah. - * - * Generated from protobuf enum ROSH_HASHANAH = 32; - */ - const ROSH_HASHANAH = 32; - /** - * Passover. - * - * Generated from protobuf enum PASSOVER = 33; - */ - const PASSOVER = 33; - /** - * Hanukkah. - * - * Generated from protobuf enum HANUKKAH = 34; - */ - const HANUKKAH = 34; - /** - * Diwali. - * - * Generated from protobuf enum DIWALI = 35; - */ - const DIWALI = 35; - /** - * Navratri. - * - * Generated from protobuf enum NAVRATRI = 36; - */ - const NAVRATRI = 36; - /** - * Available in Thai: Songkran. - * - * Generated from protobuf enum SONGKRAN = 37; - */ - const SONGKRAN = 37; - /** - * Available in Japanese: Year-end Gift. - * - * Generated from protobuf enum YEAR_END_GIFT = 38; - */ - const YEAR_END_GIFT = 38; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NEW_YEARS => 'NEW_YEARS', - self::CHINESE_NEW_YEAR => 'CHINESE_NEW_YEAR', - self::VALENTINES_DAY => 'VALENTINES_DAY', - self::EASTER => 'EASTER', - self::MOTHERS_DAY => 'MOTHERS_DAY', - self::FATHERS_DAY => 'FATHERS_DAY', - self::LABOR_DAY => 'LABOR_DAY', - self::BACK_TO_SCHOOL => 'BACK_TO_SCHOOL', - self::HALLOWEEN => 'HALLOWEEN', - self::BLACK_FRIDAY => 'BLACK_FRIDAY', - self::CYBER_MONDAY => 'CYBER_MONDAY', - self::CHRISTMAS => 'CHRISTMAS', - self::BOXING_DAY => 'BOXING_DAY', - self::INDEPENDENCE_DAY => 'INDEPENDENCE_DAY', - self::NATIONAL_DAY => 'NATIONAL_DAY', - self::END_OF_SEASON => 'END_OF_SEASON', - self::WINTER_SALE => 'WINTER_SALE', - self::SUMMER_SALE => 'SUMMER_SALE', - self::FALL_SALE => 'FALL_SALE', - self::SPRING_SALE => 'SPRING_SALE', - self::RAMADAN => 'RAMADAN', - self::EID_AL_FITR => 'EID_AL_FITR', - self::EID_AL_ADHA => 'EID_AL_ADHA', - self::SINGLES_DAY => 'SINGLES_DAY', - self::WOMENS_DAY => 'WOMENS_DAY', - self::HOLI => 'HOLI', - self::PARENTS_DAY => 'PARENTS_DAY', - self::ST_NICHOLAS_DAY => 'ST_NICHOLAS_DAY', - self::CARNIVAL => 'CARNIVAL', - self::EPIPHANY => 'EPIPHANY', - self::ROSH_HASHANAH => 'ROSH_HASHANAH', - self::PASSOVER => 'PASSOVER', - self::HANUKKAH => 'HANUKKAH', - self::DIWALI => 'DIWALI', - self::NAVRATRI => 'NAVRATRI', - self::SONGKRAN => 'SONGKRAN', - self::YEAR_END_GIFT => 'YEAR_END_GIFT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PromotionExtensionOccasion::class, \Google\Ads\GoogleAds\V15\Enums\PromotionExtensionOccasionEnum_PromotionExtensionOccasion::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderFieldEnum.php deleted file mode 100644 index 6250366a0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.PromotionPlaceholderFieldEnum - */ -class PromotionPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\PromotionPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderFieldEnum/PromotionPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderFieldEnum/PromotionPlaceholderField.php deleted file mode 100644 index 5670be2bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/PromotionPlaceholderFieldEnum/PromotionPlaceholderField.php +++ /dev/null @@ -1,164 +0,0 @@ -google.ads.googleads.v15.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField - */ -class PromotionPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. The text that appears on the ad when the extension is - * shown. - * - * Generated from protobuf enum PROMOTION_TARGET = 2; - */ - const PROMOTION_TARGET = 2; - /** - * Data Type: STRING. Lets you add "up to" phrase to the promotion, - * in case you have variable promotion rates. - * - * Generated from protobuf enum DISCOUNT_MODIFIER = 3; - */ - const DISCOUNT_MODIFIER = 3; - /** - * Data Type: INT64. Takes a value in micros, where 1 million micros - * represents 1%, and is shown as a percentage when rendered. - * - * Generated from protobuf enum PERCENT_OFF = 4; - */ - const PERCENT_OFF = 4; - /** - * Data Type: MONEY. Requires a currency and an amount of money. - * - * Generated from protobuf enum MONEY_AMOUNT_OFF = 5; - */ - const MONEY_AMOUNT_OFF = 5; - /** - * Data Type: STRING. A string that the user enters to get the discount. - * - * Generated from protobuf enum PROMOTION_CODE = 6; - */ - const PROMOTION_CODE = 6; - /** - * Data Type: MONEY. A minimum spend before the user qualifies for the - * promotion. - * - * Generated from protobuf enum ORDERS_OVER_AMOUNT = 7; - */ - const ORDERS_OVER_AMOUNT = 7; - /** - * Data Type: DATE. The start date of the promotion. - * - * Generated from protobuf enum PROMOTION_START = 8; - */ - const PROMOTION_START = 8; - /** - * Data Type: DATE. The end date of the promotion. - * - * Generated from protobuf enum PROMOTION_END = 9; - */ - const PROMOTION_END = 9; - /** - * Data Type: STRING. Describes the associated event for the promotion using - * one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. - * - * Generated from protobuf enum OCCASION = 10; - */ - const OCCASION = 10; - /** - * Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_URLS = 11; - */ - const FINAL_URLS = 11; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 12; - */ - const FINAL_MOBILE_URLS = 12; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 13; - */ - const TRACKING_URL = 13; - /** - * Data Type: STRING. A string represented by a language code for the - * promotion. - * - * Generated from protobuf enum LANGUAGE = 14; - */ - const LANGUAGE = 14; - /** - * Data Type: STRING. Final URL suffix for the ad when using parallel - * tracking. - * - * Generated from protobuf enum FINAL_URL_SUFFIX = 15; - */ - const FINAL_URL_SUFFIX = 15; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PROMOTION_TARGET => 'PROMOTION_TARGET', - self::DISCOUNT_MODIFIER => 'DISCOUNT_MODIFIER', - self::PERCENT_OFF => 'PERCENT_OFF', - self::MONEY_AMOUNT_OFF => 'MONEY_AMOUNT_OFF', - self::PROMOTION_CODE => 'PROMOTION_CODE', - self::ORDERS_OVER_AMOUNT => 'ORDERS_OVER_AMOUNT', - self::PROMOTION_START => 'PROMOTION_START', - self::PROMOTION_END => 'PROMOTION_END', - self::OCCASION => 'OCCASION', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::LANGUAGE => 'LANGUAGE', - self::FINAL_URL_SUFFIX => 'FINAL_URL_SUFFIX', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PromotionPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\PromotionPlaceholderFieldEnum_PromotionPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnitsEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnitsEnum.php deleted file mode 100644 index 5d570fde2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnitsEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ProximityRadiusUnitsEnum - */ -class ProximityRadiusUnitsEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ProximityRadiusUnits::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnitsEnum/ProximityRadiusUnits.php b/src/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnitsEnum/ProximityRadiusUnits.php deleted file mode 100644 index d6ff59e30..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ProximityRadiusUnitsEnum/ProximityRadiusUnits.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits - */ -class ProximityRadiusUnits -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Miles - * - * Generated from protobuf enum MILES = 2; - */ - const MILES = 2; - /** - * Kilometers - * - * Generated from protobuf enum KILOMETERS = 3; - */ - const KILOMETERS = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MILES => 'MILES', - self::KILOMETERS => 'KILOMETERS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProximityRadiusUnits::class, \Google\Ads\GoogleAds\V15\Enums\ProximityRadiusUnitsEnum_ProximityRadiusUnits::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucketEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucketEnum.php deleted file mode 100644 index c45dc82a0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucketEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.QualityScoreBucketEnum - */ -class QualityScoreBucketEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\QualityScoreBucket::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucketEnum/QualityScoreBucket.php b/src/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucketEnum/QualityScoreBucket.php deleted file mode 100644 index 8d3181fdc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/QualityScoreBucketEnum/QualityScoreBucket.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket - */ -class QualityScoreBucket -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Quality of the creative is below average. - * - * Generated from protobuf enum BELOW_AVERAGE = 2; - */ - const BELOW_AVERAGE = 2; - /** - * Quality of the creative is average. - * - * Generated from protobuf enum AVERAGE = 3; - */ - const AVERAGE = 3; - /** - * Quality of the creative is above average. - * - * Generated from protobuf enum ABOVE_AVERAGE = 4; - */ - const ABOVE_AVERAGE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BELOW_AVERAGE => 'BELOW_AVERAGE', - self::AVERAGE => 'AVERAGE', - self::ABOVE_AVERAGE => 'ABOVE_AVERAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(QualityScoreBucket::class, \Google\Ads\GoogleAds\V15\Enums\QualityScoreBucketEnum_QualityScoreBucket::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRangeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRangeEnum.php deleted file mode 100644 index 795f8f3d2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRangeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum - */ -class ReachPlanAgeRangeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ReachPlanAgeRange::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRangeEnum/ReachPlanAgeRange.php b/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRangeEnum/ReachPlanAgeRange.php deleted file mode 100644 index 184178104..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanAgeRangeEnum/ReachPlanAgeRange.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange - */ -class ReachPlanAgeRange -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Between 18 and 24 years old. - * - * Generated from protobuf enum AGE_RANGE_18_24 = 503001; - */ - const AGE_RANGE_18_24 = 503001; - /** - * Between 18 and 34 years old. - * - * Generated from protobuf enum AGE_RANGE_18_34 = 2; - */ - const AGE_RANGE_18_34 = 2; - /** - * Between 18 and 44 years old. - * - * Generated from protobuf enum AGE_RANGE_18_44 = 3; - */ - const AGE_RANGE_18_44 = 3; - /** - * Between 18 and 49 years old. - * - * Generated from protobuf enum AGE_RANGE_18_49 = 4; - */ - const AGE_RANGE_18_49 = 4; - /** - * Between 18 and 54 years old. - * - * Generated from protobuf enum AGE_RANGE_18_54 = 5; - */ - const AGE_RANGE_18_54 = 5; - /** - * Between 18 and 64 years old. - * - * Generated from protobuf enum AGE_RANGE_18_64 = 6; - */ - const AGE_RANGE_18_64 = 6; - /** - * Between 18 and 65+ years old. - * - * Generated from protobuf enum AGE_RANGE_18_65_UP = 7; - */ - const AGE_RANGE_18_65_UP = 7; - /** - * Between 21 and 34 years old. - * - * Generated from protobuf enum AGE_RANGE_21_34 = 8; - */ - const AGE_RANGE_21_34 = 8; - /** - * Between 25 and 34 years old. - * - * Generated from protobuf enum AGE_RANGE_25_34 = 503002; - */ - const AGE_RANGE_25_34 = 503002; - /** - * Between 25 and 44 years old. - * - * Generated from protobuf enum AGE_RANGE_25_44 = 9; - */ - const AGE_RANGE_25_44 = 9; - /** - * Between 25 and 49 years old. - * - * Generated from protobuf enum AGE_RANGE_25_49 = 10; - */ - const AGE_RANGE_25_49 = 10; - /** - * Between 25 and 54 years old. - * - * Generated from protobuf enum AGE_RANGE_25_54 = 11; - */ - const AGE_RANGE_25_54 = 11; - /** - * Between 25 and 64 years old. - * - * Generated from protobuf enum AGE_RANGE_25_64 = 12; - */ - const AGE_RANGE_25_64 = 12; - /** - * Between 25 and 65+ years old. - * - * Generated from protobuf enum AGE_RANGE_25_65_UP = 13; - */ - const AGE_RANGE_25_65_UP = 13; - /** - * Between 35 and 44 years old. - * - * Generated from protobuf enum AGE_RANGE_35_44 = 503003; - */ - const AGE_RANGE_35_44 = 503003; - /** - * Between 35 and 49 years old. - * - * Generated from protobuf enum AGE_RANGE_35_49 = 14; - */ - const AGE_RANGE_35_49 = 14; - /** - * Between 35 and 54 years old. - * - * Generated from protobuf enum AGE_RANGE_35_54 = 15; - */ - const AGE_RANGE_35_54 = 15; - /** - * Between 35 and 64 years old. - * - * Generated from protobuf enum AGE_RANGE_35_64 = 16; - */ - const AGE_RANGE_35_64 = 16; - /** - * Between 35 and 65+ years old. - * - * Generated from protobuf enum AGE_RANGE_35_65_UP = 17; - */ - const AGE_RANGE_35_65_UP = 17; - /** - * Between 45 and 54 years old. - * - * Generated from protobuf enum AGE_RANGE_45_54 = 503004; - */ - const AGE_RANGE_45_54 = 503004; - /** - * Between 45 and 64 years old. - * - * Generated from protobuf enum AGE_RANGE_45_64 = 18; - */ - const AGE_RANGE_45_64 = 18; - /** - * Between 45 and 65+ years old. - * - * Generated from protobuf enum AGE_RANGE_45_65_UP = 19; - */ - const AGE_RANGE_45_65_UP = 19; - /** - * Between 50 and 65+ years old. - * - * Generated from protobuf enum AGE_RANGE_50_65_UP = 20; - */ - const AGE_RANGE_50_65_UP = 20; - /** - * Between 55 and 64 years old. - * - * Generated from protobuf enum AGE_RANGE_55_64 = 503005; - */ - const AGE_RANGE_55_64 = 503005; - /** - * Between 55 and 65+ years old. - * - * Generated from protobuf enum AGE_RANGE_55_65_UP = 21; - */ - const AGE_RANGE_55_65_UP = 21; - /** - * 65 years old and beyond. - * - * Generated from protobuf enum AGE_RANGE_65_UP = 503006; - */ - const AGE_RANGE_65_UP = 503006; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AGE_RANGE_18_24 => 'AGE_RANGE_18_24', - self::AGE_RANGE_18_34 => 'AGE_RANGE_18_34', - self::AGE_RANGE_18_44 => 'AGE_RANGE_18_44', - self::AGE_RANGE_18_49 => 'AGE_RANGE_18_49', - self::AGE_RANGE_18_54 => 'AGE_RANGE_18_54', - self::AGE_RANGE_18_64 => 'AGE_RANGE_18_64', - self::AGE_RANGE_18_65_UP => 'AGE_RANGE_18_65_UP', - self::AGE_RANGE_21_34 => 'AGE_RANGE_21_34', - self::AGE_RANGE_25_34 => 'AGE_RANGE_25_34', - self::AGE_RANGE_25_44 => 'AGE_RANGE_25_44', - self::AGE_RANGE_25_49 => 'AGE_RANGE_25_49', - self::AGE_RANGE_25_54 => 'AGE_RANGE_25_54', - self::AGE_RANGE_25_64 => 'AGE_RANGE_25_64', - self::AGE_RANGE_25_65_UP => 'AGE_RANGE_25_65_UP', - self::AGE_RANGE_35_44 => 'AGE_RANGE_35_44', - self::AGE_RANGE_35_49 => 'AGE_RANGE_35_49', - self::AGE_RANGE_35_54 => 'AGE_RANGE_35_54', - self::AGE_RANGE_35_64 => 'AGE_RANGE_35_64', - self::AGE_RANGE_35_65_UP => 'AGE_RANGE_35_65_UP', - self::AGE_RANGE_45_54 => 'AGE_RANGE_45_54', - self::AGE_RANGE_45_64 => 'AGE_RANGE_45_64', - self::AGE_RANGE_45_65_UP => 'AGE_RANGE_45_65_UP', - self::AGE_RANGE_50_65_UP => 'AGE_RANGE_50_65_UP', - self::AGE_RANGE_55_64 => 'AGE_RANGE_55_64', - self::AGE_RANGE_55_65_UP => 'AGE_RANGE_55_65_UP', - self::AGE_RANGE_65_UP => 'AGE_RANGE_65_UP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ReachPlanAgeRange::class, \Google\Ads\GoogleAds\V15\Enums\ReachPlanAgeRangeEnum_ReachPlanAgeRange::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetworkEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetworkEnum.php deleted file mode 100644 index 7c7f3a355..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetworkEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ReachPlanNetworkEnum - */ -class ReachPlanNetworkEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ReachPlanNetwork::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetworkEnum/ReachPlanNetwork.php b/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetworkEnum/ReachPlanNetwork.php deleted file mode 100644 index f4b5047c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanNetworkEnum/ReachPlanNetwork.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork - */ -class ReachPlanNetwork -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used as a return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * YouTube network. - * - * Generated from protobuf enum YOUTUBE = 2; - */ - const YOUTUBE = 2; - /** - * Google Video Partners (GVP) network. - * - * Generated from protobuf enum GOOGLE_VIDEO_PARTNERS = 3; - */ - const GOOGLE_VIDEO_PARTNERS = 3; - /** - * A combination of the YouTube network and the Google Video Partners - * network. - * - * Generated from protobuf enum YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4; - */ - const YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::YOUTUBE => 'YOUTUBE', - self::GOOGLE_VIDEO_PARTNERS => 'GOOGLE_VIDEO_PARTNERS', - self::YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS => 'YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ReachPlanNetwork::class, \Google\Ads\GoogleAds\V15\Enums\ReachPlanNetworkEnum_ReachPlanNetwork::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurfaceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurfaceEnum.php deleted file mode 100644 index 3a2f928eb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurfaceEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.ReachPlanSurfaceEnum - */ -class ReachPlanSurfaceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ReachPlanSurface::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurfaceEnum/ReachPlanSurface.php b/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurfaceEnum/ReachPlanSurface.php deleted file mode 100644 index ce25e11bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ReachPlanSurfaceEnum/ReachPlanSurface.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.ReachPlanSurfaceEnum.ReachPlanSurface - */ -class ReachPlanSurface -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * In-Feed ad surface. - * - * Generated from protobuf enum IN_FEED = 2; - */ - const IN_FEED = 2; - /** - * In-Stream bumper ad surface. - * - * Generated from protobuf enum IN_STREAM_BUMPER = 3; - */ - const IN_STREAM_BUMPER = 3; - /** - * In-Stream non-skippable ad surface. - * - * Generated from protobuf enum IN_STREAM_NON_SKIPPABLE = 4; - */ - const IN_STREAM_NON_SKIPPABLE = 4; - /** - * In-Stream skippable ad surface. - * - * Generated from protobuf enum IN_STREAM_SKIPPABLE = 5; - */ - const IN_STREAM_SKIPPABLE = 5; - /** - * Shorts ad surface. - * - * Generated from protobuf enum SHORTS = 6; - */ - const SHORTS = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::IN_FEED => 'IN_FEED', - self::IN_STREAM_BUMPER => 'IN_STREAM_BUMPER', - self::IN_STREAM_NON_SKIPPABLE => 'IN_STREAM_NON_SKIPPABLE', - self::IN_STREAM_SKIPPABLE => 'IN_STREAM_SKIPPABLE', - self::SHORTS => 'SHORTS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ReachPlanSurface::class, \Google\Ads\GoogleAds\V15\Enums\ReachPlanSurfaceEnum_ReachPlanSurface::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderFieldEnum.php deleted file mode 100644 index 9b41a3f62..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderFieldEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.RealEstatePlaceholderFieldEnum - */ -class RealEstatePlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\RealEstatePlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderFieldEnum/RealEstatePlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderFieldEnum/RealEstatePlaceholderField.php deleted file mode 100644 index 32c3f7755..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/RealEstatePlaceholderFieldEnum/RealEstatePlaceholderField.php +++ /dev/null @@ -1,198 +0,0 @@ -google.ads.googleads.v15.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderField - */ -class RealEstatePlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Unique ID. - * - * Generated from protobuf enum LISTING_ID = 2; - */ - const LISTING_ID = 2; - /** - * Data Type: STRING. Main headline with listing name to be shown in dynamic - * ad. - * - * Generated from protobuf enum LISTING_NAME = 3; - */ - const LISTING_NAME = 3; - /** - * Data Type: STRING. City name to be shown in dynamic ad. - * - * Generated from protobuf enum CITY_NAME = 4; - */ - const CITY_NAME = 4; - /** - * Data Type: STRING. Description of listing to be shown in dynamic ad. - * - * Generated from protobuf enum DESCRIPTION = 5; - */ - const DESCRIPTION = 5; - /** - * Data Type: STRING. Complete listing address, including postal code. - * - * Generated from protobuf enum ADDRESS = 6; - */ - const ADDRESS = 6; - /** - * Data Type: STRING. Price to be shown in the ad. - * Example: "100.00 USD" - * - * Generated from protobuf enum PRICE = 7; - */ - const PRICE = 7; - /** - * Data Type: STRING. Formatted price to be shown in the ad. - * Example: "Starting at $100.00 USD", "$80 - $100" - * - * Generated from protobuf enum FORMATTED_PRICE = 8; - */ - const FORMATTED_PRICE = 8; - /** - * Data Type: URL. Image to be displayed in the ad. - * - * Generated from protobuf enum IMAGE_URL = 9; - */ - const IMAGE_URL = 9; - /** - * Data Type: STRING. Type of property (house, condo, apartment, etc.) used - * to group like items together for recommendation engine. - * - * Generated from protobuf enum PROPERTY_TYPE = 10; - */ - const PROPERTY_TYPE = 10; - /** - * Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) - * used to group like items together for recommendation engine. - * - * Generated from protobuf enum LISTING_TYPE = 11; - */ - const LISTING_TYPE = 11; - /** - * Data Type: STRING_LIST. Keywords used for product retrieval. - * - * Generated from protobuf enum CONTEXTUAL_KEYWORDS = 12; - */ - const CONTEXTUAL_KEYWORDS = 12; - /** - * Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded - * URLs; the more specific the better (for example, the individual URL of a - * specific listing and its location). - * - * Generated from protobuf enum FINAL_URLS = 13; - */ - const FINAL_URLS = 13; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 14; - */ - const FINAL_MOBILE_URLS = 14; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 15; - */ - const TRACKING_URL = 15; - /** - * Data Type: STRING. Android app link. Must be formatted as: - * android-app://{package_id}/{scheme}/{host_path}. - * The components are defined as follows: - * package_id: app ID as specified in Google Play. - * scheme: the scheme to pass to the application. Can be HTTP, or a custom - * scheme. - * host_path: identifies the specific content within your application. - * - * Generated from protobuf enum ANDROID_APP_LINK = 16; - */ - const ANDROID_APP_LINK = 16; - /** - * Data Type: STRING_LIST. List of recommended listing IDs to show together - * with this item. - * - * Generated from protobuf enum SIMILAR_LISTING_IDS = 17; - */ - const SIMILAR_LISTING_IDS = 17; - /** - * Data Type: STRING. iOS app link. - * - * Generated from protobuf enum IOS_APP_LINK = 18; - */ - const IOS_APP_LINK = 18; - /** - * Data Type: INT64. iOS app store ID. - * - * Generated from protobuf enum IOS_APP_STORE_ID = 19; - */ - const IOS_APP_STORE_ID = 19; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LISTING_ID => 'LISTING_ID', - self::LISTING_NAME => 'LISTING_NAME', - self::CITY_NAME => 'CITY_NAME', - self::DESCRIPTION => 'DESCRIPTION', - self::ADDRESS => 'ADDRESS', - self::PRICE => 'PRICE', - self::FORMATTED_PRICE => 'FORMATTED_PRICE', - self::IMAGE_URL => 'IMAGE_URL', - self::PROPERTY_TYPE => 'PROPERTY_TYPE', - self::LISTING_TYPE => 'LISTING_TYPE', - self::CONTEXTUAL_KEYWORDS => 'CONTEXTUAL_KEYWORDS', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::ANDROID_APP_LINK => 'ANDROID_APP_LINK', - self::SIMILAR_LISTING_IDS => 'SIMILAR_LISTING_IDS', - self::IOS_APP_LINK => 'IOS_APP_LINK', - self::IOS_APP_STORE_ID => 'IOS_APP_STORE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RealEstatePlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\RealEstatePlaceholderFieldEnum_RealEstatePlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatusEnum.php deleted file mode 100644 index 55d5e7108..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.RecommendationSubscriptionStatusEnum - */ -class RecommendationSubscriptionStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\RecommendationSubscriptionStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatusEnum/RecommendationSubscriptionStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatusEnum/RecommendationSubscriptionStatus.php deleted file mode 100644 index e60200bd4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/RecommendationSubscriptionStatusEnum/RecommendationSubscriptionStatus.php +++ /dev/null @@ -1,74 +0,0 @@ -google.ads.googleads.v15.enums.RecommendationSubscriptionStatusEnum.RecommendationSubscriptionStatus - */ -class RecommendationSubscriptionStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Output-only. Represents a format not yet defined in this enum. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A subscription in the enabled state will automatically - * apply any recommendations of that type. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Recommendations of the relevant type will not be - * automatically applied. Subscriptions cannot be deleted. Once - * created, they can only move between enabled and paused states. - * - * Generated from protobuf enum PAUSED = 3; - */ - const PAUSED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::PAUSED => 'PAUSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RecommendationSubscriptionStatus::class, \Google\Ads\GoogleAds\V15\Enums\RecommendationSubscriptionStatusEnum_RecommendationSubscriptionStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/RecommendationTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/RecommendationTypeEnum.php deleted file mode 100644 index 4adecf231..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/RecommendationTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.RecommendationTypeEnum - */ -class RecommendationTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\RecommendationType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/RecommendationTypeEnum/RecommendationType.php b/src/Google/Ads/GoogleAds/V15/Enums/RecommendationTypeEnum/RecommendationType.php deleted file mode 100644 index dfded55ae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/RecommendationTypeEnum/RecommendationType.php +++ /dev/null @@ -1,427 +0,0 @@ -google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType - */ -class RecommendationType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Budget recommendation for campaigns that are currently budget-constrained - * (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which - * applies to campaigns that are expected to become budget-constrained in - * the future). - * - * Generated from protobuf enum CAMPAIGN_BUDGET = 2; - */ - const CAMPAIGN_BUDGET = 2; - /** - * Keyword recommendation. - * - * Generated from protobuf enum KEYWORD = 3; - */ - const KEYWORD = 3; - /** - * Recommendation to add a new text ad. - * - * Generated from protobuf enum TEXT_AD = 4; - */ - const TEXT_AD = 4; - /** - * Recommendation to update a campaign to use a Target CPA bidding strategy. - * - * Generated from protobuf enum TARGET_CPA_OPT_IN = 5; - */ - const TARGET_CPA_OPT_IN = 5; - /** - * Recommendation to update a campaign to use the Maximize Conversions - * bidding strategy. - * - * Generated from protobuf enum MAXIMIZE_CONVERSIONS_OPT_IN = 6; - */ - const MAXIMIZE_CONVERSIONS_OPT_IN = 6; - /** - * Recommendation to enable Enhanced Cost Per Click for a campaign. - * - * Generated from protobuf enum ENHANCED_CPC_OPT_IN = 7; - */ - const ENHANCED_CPC_OPT_IN = 7; - /** - * Recommendation to start showing your campaign's ads on Google Search - * Partners Websites. - * - * Generated from protobuf enum SEARCH_PARTNERS_OPT_IN = 8; - */ - const SEARCH_PARTNERS_OPT_IN = 8; - /** - * Recommendation to update a campaign to use a Maximize Clicks bidding - * strategy. - * - * Generated from protobuf enum MAXIMIZE_CLICKS_OPT_IN = 9; - */ - const MAXIMIZE_CLICKS_OPT_IN = 9; - /** - * Recommendation to start using the "Optimize" ad rotation setting for the - * given ad group. - * - * Generated from protobuf enum OPTIMIZE_AD_ROTATION = 10; - */ - const OPTIMIZE_AD_ROTATION = 10; - /** - * Recommendation to change an existing keyword from one match type to a - * broader match type. - * - * Generated from protobuf enum KEYWORD_MATCH_TYPE = 14; - */ - const KEYWORD_MATCH_TYPE = 14; - /** - * Recommendation to move unused budget from one budget to a constrained - * budget. - * - * Generated from protobuf enum MOVE_UNUSED_BUDGET = 15; - */ - const MOVE_UNUSED_BUDGET = 15; - /** - * Budget recommendation for campaigns that are expected to become - * budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET - * recommendation, which applies to campaigns that are currently - * budget-constrained). - * - * Generated from protobuf enum FORECASTING_CAMPAIGN_BUDGET = 16; - */ - const FORECASTING_CAMPAIGN_BUDGET = 16; - /** - * Recommendation to update a campaign to use a Target ROAS bidding - * strategy. - * - * Generated from protobuf enum TARGET_ROAS_OPT_IN = 17; - */ - const TARGET_ROAS_OPT_IN = 17; - /** - * Recommendation to add a new responsive search ad. - * - * Generated from protobuf enum RESPONSIVE_SEARCH_AD = 18; - */ - const RESPONSIVE_SEARCH_AD = 18; - /** - * Budget recommendation for campaigns whose ROI is predicted to increase - * with a budget adjustment. - * - * Generated from protobuf enum MARGINAL_ROI_CAMPAIGN_BUDGET = 19; - */ - const MARGINAL_ROI_CAMPAIGN_BUDGET = 19; - /** - * Recommendation to add broad match versions of keywords for fully - * automated conversion-based bidding campaigns. - * - * Generated from protobuf enum USE_BROAD_MATCH_KEYWORD = 20; - */ - const USE_BROAD_MATCH_KEYWORD = 20; - /** - * Recommendation to add new responsive search ad assets. - * - * Generated from protobuf enum RESPONSIVE_SEARCH_AD_ASSET = 21; - */ - const RESPONSIVE_SEARCH_AD_ASSET = 21; - /** - * Recommendation to upgrade a Smart Shopping campaign to a Performance Max - * campaign. - * - * Generated from protobuf enum UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX = 22; - */ - const UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX = 22; - /** - * Recommendation to improve strength of responsive search ad. - * - * Generated from protobuf enum RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH = 23; - */ - const RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH = 23; - /** - * Recommendation to update a campaign to use Display Expansion. - * - * Generated from protobuf enum DISPLAY_EXPANSION_OPT_IN = 24; - */ - const DISPLAY_EXPANSION_OPT_IN = 24; - /** - * Recommendation to upgrade a Local campaign to a Performance Max - * campaign. - * - * Generated from protobuf enum UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX = 25; - */ - const UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX = 25; - /** - * Recommendation to raise target CPA when it is too low and there are very - * few or no conversions. - * It is applied asynchronously and can take minutes - * depending on the number of ad groups there are in the related campaign. - * - * Generated from protobuf enum RAISE_TARGET_CPA_BID_TOO_LOW = 26; - */ - const RAISE_TARGET_CPA_BID_TOO_LOW = 26; - /** - * Recommendation to raise the budget in advance of a seasonal event that is - * forecasted to increase traffic, and change bidding strategy from maximize - * conversion value to target ROAS. - * - * Generated from protobuf enum FORECASTING_SET_TARGET_ROAS = 27; - */ - const FORECASTING_SET_TARGET_ROAS = 27; - /** - * Recommendation to add callout assets to campaign or customer level. - * - * Generated from protobuf enum CALLOUT_ASSET = 28; - */ - const CALLOUT_ASSET = 28; - /** - * Recommendation to add sitelink assets to campaign or customer level. - * - * Generated from protobuf enum SITELINK_ASSET = 29; - */ - const SITELINK_ASSET = 29; - /** - * Recommendation to add call assets to campaign or customer level. - * - * Generated from protobuf enum CALL_ASSET = 30; - */ - const CALL_ASSET = 30; - /** - * Recommendation to add the age group attribute to offers that are - * demoted because of a missing age group. - * - * Generated from protobuf enum SHOPPING_ADD_AGE_GROUP = 31; - */ - const SHOPPING_ADD_AGE_GROUP = 31; - /** - * Recommendation to add a color to offers that are demoted - * because of a missing color. - * - * Generated from protobuf enum SHOPPING_ADD_COLOR = 32; - */ - const SHOPPING_ADD_COLOR = 32; - /** - * Recommendation to add a gender to offers that are demoted - * because of a missing gender. - * - * Generated from protobuf enum SHOPPING_ADD_GENDER = 33; - */ - const SHOPPING_ADD_GENDER = 33; - /** - * Recommendation to add a GTIN (Global Trade Item Number) to offers - * that are demoted because of a missing GTIN. - * - * Generated from protobuf enum SHOPPING_ADD_GTIN = 34; - */ - const SHOPPING_ADD_GTIN = 34; - /** - * Recommendation to add more identifiers to offers that are demoted because - * of missing identifiers. - * - * Generated from protobuf enum SHOPPING_ADD_MORE_IDENTIFIERS = 35; - */ - const SHOPPING_ADD_MORE_IDENTIFIERS = 35; - /** - * Recommendation to add the size to offers that are demoted - * because of a missing size. - * - * Generated from protobuf enum SHOPPING_ADD_SIZE = 36; - */ - const SHOPPING_ADD_SIZE = 36; - /** - * Recommendation informing a customer about a campaign that cannot serve - * because no products are being targeted. - * - * Generated from protobuf enum SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN = 37; - */ - const SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN = 37; - /** - * The shopping recommendation informing a customer about campaign with a - * high percentage of disapproved products. - * - * Generated from protobuf enum SHOPPING_FIX_DISAPPROVED_PRODUCTS = 38; - */ - const SHOPPING_FIX_DISAPPROVED_PRODUCTS = 38; - /** - * Recommendation to create a catch-all campaign that targets all offers. - * - * Generated from protobuf enum SHOPPING_TARGET_ALL_OFFERS = 39; - */ - const SHOPPING_TARGET_ALL_OFFERS = 39; - /** - * Recommendation to fix Merchant Center account suspension issues. - * - * Generated from protobuf enum SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT = 40; - */ - const SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT = 40; - /** - * Recommendation to fix Merchant Center account suspension warning issues. - * - * Generated from protobuf enum SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING = 41; - */ - const SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING = 41; - /** - * Recommendation to migrate offers targeted by Regular Shopping Campaigns - * to existing Performance Max campaigns. - * - * Generated from protobuf enum SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX = 42; - */ - const SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX = 42; - /** - * Recommendation to enable dynamic image extensions on the account, - * allowing Google to find the best images from ad landing pages and - * complement text ads. - * - * Generated from protobuf enum DYNAMIC_IMAGE_EXTENSION_OPT_IN = 43; - */ - const DYNAMIC_IMAGE_EXTENSION_OPT_IN = 43; - /** - * Recommendation to raise Target CPA based on Google predictions modeled - * from past conversions. It is applied asynchronously and can take minutes - * depending on the number of ad groups there are in the related campaign. - * - * Generated from protobuf enum RAISE_TARGET_CPA = 44; - */ - const RAISE_TARGET_CPA = 44; - /** - * Recommendation to lower Target ROAS. - * - * Generated from protobuf enum LOWER_TARGET_ROAS = 45; - */ - const LOWER_TARGET_ROAS = 45; - /** - * Recommendation to opt into Performance Max campaigns. - * - * Generated from protobuf enum PERFORMANCE_MAX_OPT_IN = 46; - */ - const PERFORMANCE_MAX_OPT_IN = 46; - /** - * Recommendation to improve the asset group strength of a Performance Max - * campaign to an "Excellent" rating. - * - * Generated from protobuf enum IMPROVE_PERFORMANCE_MAX_AD_STRENGTH = 47; - */ - const IMPROVE_PERFORMANCE_MAX_AD_STRENGTH = 47; - /** - * Recommendation to migrate Dynamic Search Ads to Performance Max - * campaigns. - * - * Generated from protobuf enum MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX = 48; - */ - const MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX = 48; - /** - * Recommendation to set a target CPA for campaigns that do not have one - * specified, in advance of a seasonal event that is forecasted to increase - * traffic. - * - * Generated from protobuf enum FORECASTING_SET_TARGET_CPA = 49; - */ - const FORECASTING_SET_TARGET_CPA = 49; - /** - * Recommendation to set a target CPA for campaigns that do not have one - * specified. - * - * Generated from protobuf enum SET_TARGET_CPA = 50; - */ - const SET_TARGET_CPA = 50; - /** - * Recommendation to set a target ROAS for campaigns that do not have one - * specified. - * - * Generated from protobuf enum SET_TARGET_ROAS = 51; - */ - const SET_TARGET_ROAS = 51; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGN_BUDGET => 'CAMPAIGN_BUDGET', - self::KEYWORD => 'KEYWORD', - self::TEXT_AD => 'TEXT_AD', - self::TARGET_CPA_OPT_IN => 'TARGET_CPA_OPT_IN', - self::MAXIMIZE_CONVERSIONS_OPT_IN => 'MAXIMIZE_CONVERSIONS_OPT_IN', - self::ENHANCED_CPC_OPT_IN => 'ENHANCED_CPC_OPT_IN', - self::SEARCH_PARTNERS_OPT_IN => 'SEARCH_PARTNERS_OPT_IN', - self::MAXIMIZE_CLICKS_OPT_IN => 'MAXIMIZE_CLICKS_OPT_IN', - self::OPTIMIZE_AD_ROTATION => 'OPTIMIZE_AD_ROTATION', - self::KEYWORD_MATCH_TYPE => 'KEYWORD_MATCH_TYPE', - self::MOVE_UNUSED_BUDGET => 'MOVE_UNUSED_BUDGET', - self::FORECASTING_CAMPAIGN_BUDGET => 'FORECASTING_CAMPAIGN_BUDGET', - self::TARGET_ROAS_OPT_IN => 'TARGET_ROAS_OPT_IN', - self::RESPONSIVE_SEARCH_AD => 'RESPONSIVE_SEARCH_AD', - self::MARGINAL_ROI_CAMPAIGN_BUDGET => 'MARGINAL_ROI_CAMPAIGN_BUDGET', - self::USE_BROAD_MATCH_KEYWORD => 'USE_BROAD_MATCH_KEYWORD', - self::RESPONSIVE_SEARCH_AD_ASSET => 'RESPONSIVE_SEARCH_AD_ASSET', - self::UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX => 'UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX', - self::RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH => 'RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH', - self::DISPLAY_EXPANSION_OPT_IN => 'DISPLAY_EXPANSION_OPT_IN', - self::UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX => 'UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX', - self::RAISE_TARGET_CPA_BID_TOO_LOW => 'RAISE_TARGET_CPA_BID_TOO_LOW', - self::FORECASTING_SET_TARGET_ROAS => 'FORECASTING_SET_TARGET_ROAS', - self::CALLOUT_ASSET => 'CALLOUT_ASSET', - self::SITELINK_ASSET => 'SITELINK_ASSET', - self::CALL_ASSET => 'CALL_ASSET', - self::SHOPPING_ADD_AGE_GROUP => 'SHOPPING_ADD_AGE_GROUP', - self::SHOPPING_ADD_COLOR => 'SHOPPING_ADD_COLOR', - self::SHOPPING_ADD_GENDER => 'SHOPPING_ADD_GENDER', - self::SHOPPING_ADD_GTIN => 'SHOPPING_ADD_GTIN', - self::SHOPPING_ADD_MORE_IDENTIFIERS => 'SHOPPING_ADD_MORE_IDENTIFIERS', - self::SHOPPING_ADD_SIZE => 'SHOPPING_ADD_SIZE', - self::SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN => 'SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN', - self::SHOPPING_FIX_DISAPPROVED_PRODUCTS => 'SHOPPING_FIX_DISAPPROVED_PRODUCTS', - self::SHOPPING_TARGET_ALL_OFFERS => 'SHOPPING_TARGET_ALL_OFFERS', - self::SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT => 'SHOPPING_FIX_SUSPENDED_MERCHANT_CENTER_ACCOUNT', - self::SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING => 'SHOPPING_FIX_MERCHANT_CENTER_ACCOUNT_SUSPENSION_WARNING', - self::SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX => 'SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX', - self::DYNAMIC_IMAGE_EXTENSION_OPT_IN => 'DYNAMIC_IMAGE_EXTENSION_OPT_IN', - self::RAISE_TARGET_CPA => 'RAISE_TARGET_CPA', - self::LOWER_TARGET_ROAS => 'LOWER_TARGET_ROAS', - self::PERFORMANCE_MAX_OPT_IN => 'PERFORMANCE_MAX_OPT_IN', - self::IMPROVE_PERFORMANCE_MAX_AD_STRENGTH => 'IMPROVE_PERFORMANCE_MAX_AD_STRENGTH', - self::MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX => 'MIGRATE_DYNAMIC_SEARCH_ADS_CAMPAIGN_TO_PERFORMANCE_MAX', - self::FORECASTING_SET_TARGET_CPA => 'FORECASTING_SET_TARGET_CPA', - self::SET_TARGET_CPA => 'SET_TARGET_CPA', - self::SET_TARGET_ROAS => 'SET_TARGET_ROAS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RecommendationType::class, \Google\Ads\GoogleAds\V15\Enums\RecommendationTypeEnum_RecommendationType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperationEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperationEnum.php deleted file mode 100644 index f749864e6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperationEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ResourceChangeOperationEnum - */ -class ResourceChangeOperationEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ResourceChangeOperation::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperationEnum/ResourceChangeOperation.php b/src/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperationEnum/ResourceChangeOperation.php deleted file mode 100644 index 8296e775f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ResourceChangeOperationEnum/ResourceChangeOperation.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.ResourceChangeOperationEnum.ResourceChangeOperation - */ -class ResourceChangeOperation -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents an unclassified operation unknown - * in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The resource was created. - * - * Generated from protobuf enum CREATE = 2; - */ - const CREATE = 2; - /** - * The resource was modified. - * - * Generated from protobuf enum UPDATE = 3; - */ - const UPDATE = 3; - /** - * The resource was removed. - * - * Generated from protobuf enum REMOVE = 4; - */ - const REMOVE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CREATE => 'CREATE', - self::UPDATE => 'UPDATE', - self::REMOVE => 'REMOVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResourceChangeOperation::class, \Google\Ads\GoogleAds\V15\Enums\ResourceChangeOperationEnum_ResourceChangeOperation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ResourceLimitTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ResourceLimitTypeEnum.php deleted file mode 100644 index df2fb7bca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ResourceLimitTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ResourceLimitTypeEnum - */ -class ResourceLimitTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ResourceLimitType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ResourceLimitTypeEnum/ResourceLimitType.php b/src/Google/Ads/GoogleAds/V15/Enums/ResourceLimitTypeEnum/ResourceLimitType.php deleted file mode 100644 index dc0ff7a10..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ResourceLimitTypeEnum/ResourceLimitType.php +++ /dev/null @@ -1,1076 +0,0 @@ -google.ads.googleads.v15.enums.ResourceLimitTypeEnum.ResourceLimitType - */ -class ResourceLimitType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents an unclassified operation unknown - * in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Number of ENABLED and PAUSED campaigns per customer. - * - * Generated from protobuf enum CAMPAIGNS_PER_CUSTOMER = 2; - */ - const CAMPAIGNS_PER_CUSTOMER = 2; - /** - * Number of ENABLED and PAUSED base campaigns per customer. - * - * Generated from protobuf enum BASE_CAMPAIGNS_PER_CUSTOMER = 3; - */ - const BASE_CAMPAIGNS_PER_CUSTOMER = 3; - /** - * Number of ENABLED and PAUSED experiment campaigns per customer. - * - * Generated from protobuf enum EXPERIMENT_CAMPAIGNS_PER_CUSTOMER = 105; - */ - const EXPERIMENT_CAMPAIGNS_PER_CUSTOMER = 105; - /** - * Number of ENABLED and PAUSED Hotel campaigns per customer. - * - * Generated from protobuf enum HOTEL_CAMPAIGNS_PER_CUSTOMER = 4; - */ - const HOTEL_CAMPAIGNS_PER_CUSTOMER = 4; - /** - * Number of ENABLED and PAUSED Smart Shopping campaigns per customer. - * - * Generated from protobuf enum SMART_SHOPPING_CAMPAIGNS_PER_CUSTOMER = 5; - */ - const SMART_SHOPPING_CAMPAIGNS_PER_CUSTOMER = 5; - /** - * Number of ENABLED ad groups per campaign. - * - * Generated from protobuf enum AD_GROUPS_PER_CAMPAIGN = 6; - */ - const AD_GROUPS_PER_CAMPAIGN = 6; - /** - * Number of ENABLED ad groups per Shopping campaign. - * - * Generated from protobuf enum AD_GROUPS_PER_SHOPPING_CAMPAIGN = 8; - */ - const AD_GROUPS_PER_SHOPPING_CAMPAIGN = 8; - /** - * Number of ENABLED ad groups per Hotel campaign. - * - * Generated from protobuf enum AD_GROUPS_PER_HOTEL_CAMPAIGN = 9; - */ - const AD_GROUPS_PER_HOTEL_CAMPAIGN = 9; - /** - * Number of ENABLED reporting ad groups per local campaign. - * - * Generated from protobuf enum REPORTING_AD_GROUPS_PER_LOCAL_CAMPAIGN = 10; - */ - const REPORTING_AD_GROUPS_PER_LOCAL_CAMPAIGN = 10; - /** - * Number of ENABLED reporting ad groups per App campaign. It includes app - * campaign and app campaign for engagement. - * - * Generated from protobuf enum REPORTING_AD_GROUPS_PER_APP_CAMPAIGN = 11; - */ - const REPORTING_AD_GROUPS_PER_APP_CAMPAIGN = 11; - /** - * Number of ENABLED managed ad groups per smart campaign. - * - * Generated from protobuf enum MANAGED_AD_GROUPS_PER_SMART_CAMPAIGN = 52; - */ - const MANAGED_AD_GROUPS_PER_SMART_CAMPAIGN = 52; - /** - * Number of ENABLED ad group criteria per customer. - * An ad group criterion is considered as ENABLED if: - * 1. it's not REMOVED - * 2. its ad group is not REMOVED - * 3. its campaign is not REMOVED. - * - * Generated from protobuf enum AD_GROUP_CRITERIA_PER_CUSTOMER = 12; - */ - const AD_GROUP_CRITERIA_PER_CUSTOMER = 12; - /** - * Number of ad group criteria across all base campaigns for a customer. - * - * Generated from protobuf enum BASE_AD_GROUP_CRITERIA_PER_CUSTOMER = 13; - */ - const BASE_AD_GROUP_CRITERIA_PER_CUSTOMER = 13; - /** - * Number of ad group criteria across all experiment campaigns for a - * customer. - * - * Generated from protobuf enum EXPERIMENT_AD_GROUP_CRITERIA_PER_CUSTOMER = 107; - */ - const EXPERIMENT_AD_GROUP_CRITERIA_PER_CUSTOMER = 107; - /** - * Number of ENABLED ad group criteria per campaign. - * An ad group criterion is considered as ENABLED if: - * 1. it's not REMOVED - * 2. its ad group is not REMOVED. - * - * Generated from protobuf enum AD_GROUP_CRITERIA_PER_CAMPAIGN = 14; - */ - const AD_GROUP_CRITERIA_PER_CAMPAIGN = 14; - /** - * Number of ENABLED campaign criteria per customer. - * - * Generated from protobuf enum CAMPAIGN_CRITERIA_PER_CUSTOMER = 15; - */ - const CAMPAIGN_CRITERIA_PER_CUSTOMER = 15; - /** - * Number of ENABLED campaign criteria across all base campaigns for a - * customer. - * - * Generated from protobuf enum BASE_CAMPAIGN_CRITERIA_PER_CUSTOMER = 16; - */ - const BASE_CAMPAIGN_CRITERIA_PER_CUSTOMER = 16; - /** - * Number of ENABLED campaign criteria across all experiment campaigns for a - * customer. - * - * Generated from protobuf enum EXPERIMENT_CAMPAIGN_CRITERIA_PER_CUSTOMER = 108; - */ - const EXPERIMENT_CAMPAIGN_CRITERIA_PER_CUSTOMER = 108; - /** - * Number of ENABLED webpage criteria per customer, including - * campaign level and ad group level. - * - * Generated from protobuf enum WEBPAGE_CRITERIA_PER_CUSTOMER = 17; - */ - const WEBPAGE_CRITERIA_PER_CUSTOMER = 17; - /** - * Number of ENABLED webpage criteria across all base campaigns for - * a customer. - * - * Generated from protobuf enum BASE_WEBPAGE_CRITERIA_PER_CUSTOMER = 18; - */ - const BASE_WEBPAGE_CRITERIA_PER_CUSTOMER = 18; - /** - * Meximum number of ENABLED webpage criteria across all experiment - * campaigns for a customer. - * - * Generated from protobuf enum EXPERIMENT_WEBPAGE_CRITERIA_PER_CUSTOMER = 19; - */ - const EXPERIMENT_WEBPAGE_CRITERIA_PER_CUSTOMER = 19; - /** - * Number of combined audience criteria per ad group. - * - * Generated from protobuf enum COMBINED_AUDIENCE_CRITERIA_PER_AD_GROUP = 20; - */ - const COMBINED_AUDIENCE_CRITERIA_PER_AD_GROUP = 20; - /** - * Limit for placement criterion type group in customer negative criterion. - * - * Generated from protobuf enum CUSTOMER_NEGATIVE_PLACEMENT_CRITERIA_PER_CUSTOMER = 21; - */ - const CUSTOMER_NEGATIVE_PLACEMENT_CRITERIA_PER_CUSTOMER = 21; - /** - * Limit for YouTube TV channels in customer negative criterion. - * - * Generated from protobuf enum CUSTOMER_NEGATIVE_YOUTUBE_CHANNEL_CRITERIA_PER_CUSTOMER = 22; - */ - const CUSTOMER_NEGATIVE_YOUTUBE_CHANNEL_CRITERIA_PER_CUSTOMER = 22; - /** - * Number of ENABLED criteria per ad group. - * - * Generated from protobuf enum CRITERIA_PER_AD_GROUP = 23; - */ - const CRITERIA_PER_AD_GROUP = 23; - /** - * Number of listing group criteria per ad group. - * - * Generated from protobuf enum LISTING_GROUPS_PER_AD_GROUP = 24; - */ - const LISTING_GROUPS_PER_AD_GROUP = 24; - /** - * Number of ENABLED explicitly shared budgets per customer. - * - * Generated from protobuf enum EXPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 25; - */ - const EXPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 25; - /** - * Number of ENABLED implicitly shared budgets per customer. - * - * Generated from protobuf enum IMPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 26; - */ - const IMPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 26; - /** - * Number of combined audience criteria per campaign. - * - * Generated from protobuf enum COMBINED_AUDIENCE_CRITERIA_PER_CAMPAIGN = 27; - */ - const COMBINED_AUDIENCE_CRITERIA_PER_CAMPAIGN = 27; - /** - * Number of negative keywords per campaign. - * - * Generated from protobuf enum NEGATIVE_KEYWORDS_PER_CAMPAIGN = 28; - */ - const NEGATIVE_KEYWORDS_PER_CAMPAIGN = 28; - /** - * Number of excluded campaign criteria in placement dimension, for example, - * placement, mobile application, YouTube channel, etc. The API criterion - * type is NOT limited to placement only, and this does not include - * exclusions at the ad group or other levels. - * - * Generated from protobuf enum NEGATIVE_PLACEMENTS_PER_CAMPAIGN = 29; - */ - const NEGATIVE_PLACEMENTS_PER_CAMPAIGN = 29; - /** - * Number of geo targets per campaign. - * - * Generated from protobuf enum GEO_TARGETS_PER_CAMPAIGN = 30; - */ - const GEO_TARGETS_PER_CAMPAIGN = 30; - /** - * Number of negative IP blocks per campaign. - * - * Generated from protobuf enum NEGATIVE_IP_BLOCKS_PER_CAMPAIGN = 32; - */ - const NEGATIVE_IP_BLOCKS_PER_CAMPAIGN = 32; - /** - * Number of proximity targets per campaign. - * - * Generated from protobuf enum PROXIMITIES_PER_CAMPAIGN = 33; - */ - const PROXIMITIES_PER_CAMPAIGN = 33; - /** - * Number of listing scopes per Shopping campaign. - * - * Generated from protobuf enum LISTING_SCOPES_PER_SHOPPING_CAMPAIGN = 34; - */ - const LISTING_SCOPES_PER_SHOPPING_CAMPAIGN = 34; - /** - * Number of listing scopes per non-Shopping campaign. - * - * Generated from protobuf enum LISTING_SCOPES_PER_NON_SHOPPING_CAMPAIGN = 35; - */ - const LISTING_SCOPES_PER_NON_SHOPPING_CAMPAIGN = 35; - /** - * Number of criteria per negative keyword shared set. - * - * Generated from protobuf enum NEGATIVE_KEYWORDS_PER_SHARED_SET = 36; - */ - const NEGATIVE_KEYWORDS_PER_SHARED_SET = 36; - /** - * Number of criteria per negative placement shared set. - * - * Generated from protobuf enum NEGATIVE_PLACEMENTS_PER_SHARED_SET = 37; - */ - const NEGATIVE_PLACEMENTS_PER_SHARED_SET = 37; - /** - * Default number of shared sets allowed per type per customer. - * - * Generated from protobuf enum SHARED_SETS_PER_CUSTOMER_FOR_TYPE_DEFAULT = 40; - */ - const SHARED_SETS_PER_CUSTOMER_FOR_TYPE_DEFAULT = 40; - /** - * Number of shared sets of negative placement list type for a - * manager customer. - * - * Generated from protobuf enum SHARED_SETS_PER_CUSTOMER_FOR_NEGATIVE_PLACEMENT_LIST_LOWER = 41; - */ - const SHARED_SETS_PER_CUSTOMER_FOR_NEGATIVE_PLACEMENT_LIST_LOWER = 41; - /** - * Number of hotel_advance_booking_window bid modifiers per ad group. - * - * Generated from protobuf enum HOTEL_ADVANCE_BOOKING_WINDOW_BID_MODIFIERS_PER_AD_GROUP = 44; - */ - const HOTEL_ADVANCE_BOOKING_WINDOW_BID_MODIFIERS_PER_AD_GROUP = 44; - /** - * Number of ENABLED shared bidding strategies per customer. - * - * Generated from protobuf enum BIDDING_STRATEGIES_PER_CUSTOMER = 45; - */ - const BIDDING_STRATEGIES_PER_CUSTOMER = 45; - /** - * Number of open basic user lists per customer. - * - * Generated from protobuf enum BASIC_USER_LISTS_PER_CUSTOMER = 47; - */ - const BASIC_USER_LISTS_PER_CUSTOMER = 47; - /** - * Number of open logical user lists per customer. - * - * Generated from protobuf enum LOGICAL_USER_LISTS_PER_CUSTOMER = 48; - */ - const LOGICAL_USER_LISTS_PER_CUSTOMER = 48; - /** - * Number of open rule based user lists per customer. - * - * Generated from protobuf enum RULE_BASED_USER_LISTS_PER_CUSTOMER = 153; - */ - const RULE_BASED_USER_LISTS_PER_CUSTOMER = 153; - /** - * Number of ENABLED and PAUSED ad group ads across all base campaigns for a - * customer. - * - * Generated from protobuf enum BASE_AD_GROUP_ADS_PER_CUSTOMER = 53; - */ - const BASE_AD_GROUP_ADS_PER_CUSTOMER = 53; - /** - * Number of ENABLED and PAUSED ad group ads across all experiment campaigns - * for a customer. - * - * Generated from protobuf enum EXPERIMENT_AD_GROUP_ADS_PER_CUSTOMER = 54; - */ - const EXPERIMENT_AD_GROUP_ADS_PER_CUSTOMER = 54; - /** - * Number of ENABLED and PAUSED ad group ads per campaign. - * - * Generated from protobuf enum AD_GROUP_ADS_PER_CAMPAIGN = 55; - */ - const AD_GROUP_ADS_PER_CAMPAIGN = 55; - /** - * Number of ENABLED ads per ad group that do not fall in to other buckets. - * Includes text and many other types. - * - * Generated from protobuf enum TEXT_AND_OTHER_ADS_PER_AD_GROUP = 56; - */ - const TEXT_AND_OTHER_ADS_PER_AD_GROUP = 56; - /** - * Number of ENABLED image ads per ad group. - * - * Generated from protobuf enum IMAGE_ADS_PER_AD_GROUP = 57; - */ - const IMAGE_ADS_PER_AD_GROUP = 57; - /** - * Number of ENABLED shopping smart ads per ad group. - * - * Generated from protobuf enum SHOPPING_SMART_ADS_PER_AD_GROUP = 58; - */ - const SHOPPING_SMART_ADS_PER_AD_GROUP = 58; - /** - * Number of ENABLED responsive search ads per ad group. - * - * Generated from protobuf enum RESPONSIVE_SEARCH_ADS_PER_AD_GROUP = 59; - */ - const RESPONSIVE_SEARCH_ADS_PER_AD_GROUP = 59; - /** - * Number of ENABLED app ads per ad group. - * - * Generated from protobuf enum APP_ADS_PER_AD_GROUP = 60; - */ - const APP_ADS_PER_AD_GROUP = 60; - /** - * Number of ENABLED app engagement ads per ad group. - * - * Generated from protobuf enum APP_ENGAGEMENT_ADS_PER_AD_GROUP = 61; - */ - const APP_ENGAGEMENT_ADS_PER_AD_GROUP = 61; - /** - * Number of ENABLED local ads per ad group. - * - * Generated from protobuf enum LOCAL_ADS_PER_AD_GROUP = 62; - */ - const LOCAL_ADS_PER_AD_GROUP = 62; - /** - * Number of ENABLED video ads per ad group. - * - * Generated from protobuf enum VIDEO_ADS_PER_AD_GROUP = 63; - */ - const VIDEO_ADS_PER_AD_GROUP = 63; - /** - * Number of ENABLED lead form CampaignAssets per campaign. - * - * Generated from protobuf enum LEAD_FORM_CAMPAIGN_ASSETS_PER_CAMPAIGN = 143; - */ - const LEAD_FORM_CAMPAIGN_ASSETS_PER_CAMPAIGN = 143; - /** - * Number of ENABLED promotion CustomerAssets per customer. - * - * Generated from protobuf enum PROMOTION_CUSTOMER_ASSETS_PER_CUSTOMER = 79; - */ - const PROMOTION_CUSTOMER_ASSETS_PER_CUSTOMER = 79; - /** - * Number of ENABLED promotion CampaignAssets per campaign. - * - * Generated from protobuf enum PROMOTION_CAMPAIGN_ASSETS_PER_CAMPAIGN = 80; - */ - const PROMOTION_CAMPAIGN_ASSETS_PER_CAMPAIGN = 80; - /** - * Number of ENABLED promotion AdGroupAssets per ad group. - * - * Generated from protobuf enum PROMOTION_AD_GROUP_ASSETS_PER_AD_GROUP = 81; - */ - const PROMOTION_AD_GROUP_ASSETS_PER_AD_GROUP = 81; - /** - * Number of ENABLED callout CustomerAssets per customer. - * - * Generated from protobuf enum CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 134; - */ - const CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 134; - /** - * Number of ENABLED callout CampaignAssets per campaign. - * - * Generated from protobuf enum CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 135; - */ - const CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 135; - /** - * Number of ENABLED callout AdGroupAssets per ad group. - * - * Generated from protobuf enum CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 136; - */ - const CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 136; - /** - * Number of ENABLED sitelink CustomerAssets per customer. - * - * Generated from protobuf enum SITELINK_CUSTOMER_ASSETS_PER_CUSTOMER = 137; - */ - const SITELINK_CUSTOMER_ASSETS_PER_CUSTOMER = 137; - /** - * Number of ENABLED sitelink CampaignAssets per campaign. - * - * Generated from protobuf enum SITELINK_CAMPAIGN_ASSETS_PER_CAMPAIGN = 138; - */ - const SITELINK_CAMPAIGN_ASSETS_PER_CAMPAIGN = 138; - /** - * Number of ENABLED sitelink AdGroupAssets per ad group. - * - * Generated from protobuf enum SITELINK_AD_GROUP_ASSETS_PER_AD_GROUP = 139; - */ - const SITELINK_AD_GROUP_ASSETS_PER_AD_GROUP = 139; - /** - * Number of ENABLED structured snippet CustomerAssets per customer. - * - * Generated from protobuf enum STRUCTURED_SNIPPET_CUSTOMER_ASSETS_PER_CUSTOMER = 140; - */ - const STRUCTURED_SNIPPET_CUSTOMER_ASSETS_PER_CUSTOMER = 140; - /** - * Number of ENABLED structured snippet CampaignAssets per campaign. - * - * Generated from protobuf enum STRUCTURED_SNIPPET_CAMPAIGN_ASSETS_PER_CAMPAIGN = 141; - */ - const STRUCTURED_SNIPPET_CAMPAIGN_ASSETS_PER_CAMPAIGN = 141; - /** - * Number of ENABLED structured snippet AdGroupAssets per ad group. - * - * Generated from protobuf enum STRUCTURED_SNIPPET_AD_GROUP_ASSETS_PER_AD_GROUP = 142; - */ - const STRUCTURED_SNIPPET_AD_GROUP_ASSETS_PER_AD_GROUP = 142; - /** - * Number of ENABLED mobile app CustomerAssets per customer. - * - * Generated from protobuf enum MOBILE_APP_CUSTOMER_ASSETS_PER_CUSTOMER = 144; - */ - const MOBILE_APP_CUSTOMER_ASSETS_PER_CUSTOMER = 144; - /** - * Number of ENABLED mobile app CampaignAssets per campaign. - * - * Generated from protobuf enum MOBILE_APP_CAMPAIGN_ASSETS_PER_CAMPAIGN = 145; - */ - const MOBILE_APP_CAMPAIGN_ASSETS_PER_CAMPAIGN = 145; - /** - * Number of ENABLED mobile app AdGroupAssets per ad group. - * - * Generated from protobuf enum MOBILE_APP_AD_GROUP_ASSETS_PER_AD_GROUP = 146; - */ - const MOBILE_APP_AD_GROUP_ASSETS_PER_AD_GROUP = 146; - /** - * Number of ENABLED hotel callout CustomerAssets per customer. - * - * Generated from protobuf enum HOTEL_CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 147; - */ - const HOTEL_CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 147; - /** - * Number of ENABLED hotel callout CampaignAssets per campaign. - * - * Generated from protobuf enum HOTEL_CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 148; - */ - const HOTEL_CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 148; - /** - * Number of ENABLED hotel callout AdGroupAssets per ad group. - * - * Generated from protobuf enum HOTEL_CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 149; - */ - const HOTEL_CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 149; - /** - * Number of ENABLED call CustomerAssets per customer. - * - * Generated from protobuf enum CALL_CUSTOMER_ASSETS_PER_CUSTOMER = 150; - */ - const CALL_CUSTOMER_ASSETS_PER_CUSTOMER = 150; - /** - * Number of ENABLED call CampaignAssets per campaign. - * - * Generated from protobuf enum CALL_CAMPAIGN_ASSETS_PER_CAMPAIGN = 151; - */ - const CALL_CAMPAIGN_ASSETS_PER_CAMPAIGN = 151; - /** - * Number of ENABLED call AdGroupAssets per ad group. - * - * Generated from protobuf enum CALL_AD_GROUP_ASSETS_PER_AD_GROUP = 152; - */ - const CALL_AD_GROUP_ASSETS_PER_AD_GROUP = 152; - /** - * Number of ENABLED price CustomerAssets per customer. - * - * Generated from protobuf enum PRICE_CUSTOMER_ASSETS_PER_CUSTOMER = 154; - */ - const PRICE_CUSTOMER_ASSETS_PER_CUSTOMER = 154; - /** - * Number of ENABLED price CampaignAssets per campaign. - * - * Generated from protobuf enum PRICE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 155; - */ - const PRICE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 155; - /** - * Number of ENABLED price AdGroupAssets per ad group. - * - * Generated from protobuf enum PRICE_AD_GROUP_ASSETS_PER_AD_GROUP = 156; - */ - const PRICE_AD_GROUP_ASSETS_PER_AD_GROUP = 156; - /** - * Number of ENABLED ad image CampaignAssets per campaign. - * - * Generated from protobuf enum AD_IMAGE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 175; - */ - const AD_IMAGE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 175; - /** - * Number of ENABLED ad image AdGroupAssets per ad group. - * - * Generated from protobuf enum AD_IMAGE_AD_GROUP_ASSETS_PER_AD_GROUP = 176; - */ - const AD_IMAGE_AD_GROUP_ASSETS_PER_AD_GROUP = 176; - /** - * Number of ENABLED page feed asset sets per customer. - * - * Generated from protobuf enum PAGE_FEED_ASSET_SETS_PER_CUSTOMER = 157; - */ - const PAGE_FEED_ASSET_SETS_PER_CUSTOMER = 157; - /** - * Number of ENABLED dynamic education feed asset sets per customer. - * - * Generated from protobuf enum DYNAMIC_EDUCATION_FEED_ASSET_SETS_PER_CUSTOMER = 158; - */ - const DYNAMIC_EDUCATION_FEED_ASSET_SETS_PER_CUSTOMER = 158; - /** - * Number of ENABLED assets per page feed asset set. - * - * Generated from protobuf enum ASSETS_PER_PAGE_FEED_ASSET_SET = 159; - */ - const ASSETS_PER_PAGE_FEED_ASSET_SET = 159; - /** - * Number of ENABLED assets per dynamic education asset set. - * - * Generated from protobuf enum ASSETS_PER_DYNAMIC_EDUCATION_FEED_ASSET_SET = 160; - */ - const ASSETS_PER_DYNAMIC_EDUCATION_FEED_ASSET_SET = 160; - /** - * Number of ENABLED dynamic real estate asset sets per customer. - * - * Generated from protobuf enum DYNAMIC_REAL_ESTATE_ASSET_SETS_PER_CUSTOMER = 161; - */ - const DYNAMIC_REAL_ESTATE_ASSET_SETS_PER_CUSTOMER = 161; - /** - * Number of ENABLED assets per dynamic real estate asset set. - * - * Generated from protobuf enum ASSETS_PER_DYNAMIC_REAL_ESTATE_ASSET_SET = 162; - */ - const ASSETS_PER_DYNAMIC_REAL_ESTATE_ASSET_SET = 162; - /** - * Number of ENABLED dynamic custom asset sets per customer. - * - * Generated from protobuf enum DYNAMIC_CUSTOM_ASSET_SETS_PER_CUSTOMER = 163; - */ - const DYNAMIC_CUSTOM_ASSET_SETS_PER_CUSTOMER = 163; - /** - * Number of ENABLED assets per dynamic custom asset set. - * - * Generated from protobuf enum ASSETS_PER_DYNAMIC_CUSTOM_ASSET_SET = 164; - */ - const ASSETS_PER_DYNAMIC_CUSTOM_ASSET_SET = 164; - /** - * Number of ENABLED dynamic hotels and rentals asset sets per - * customer. - * - * Generated from protobuf enum DYNAMIC_HOTELS_AND_RENTALS_ASSET_SETS_PER_CUSTOMER = 165; - */ - const DYNAMIC_HOTELS_AND_RENTALS_ASSET_SETS_PER_CUSTOMER = 165; - /** - * Number of ENABLED assets per dynamic hotels and rentals asset set. - * - * Generated from protobuf enum ASSETS_PER_DYNAMIC_HOTELS_AND_RENTALS_ASSET_SET = 166; - */ - const ASSETS_PER_DYNAMIC_HOTELS_AND_RENTALS_ASSET_SET = 166; - /** - * Number of ENABLED dynamic local asset sets per customer. - * - * Generated from protobuf enum DYNAMIC_LOCAL_ASSET_SETS_PER_CUSTOMER = 167; - */ - const DYNAMIC_LOCAL_ASSET_SETS_PER_CUSTOMER = 167; - /** - * Number of ENABLED assets per dynamic local asset set. - * - * Generated from protobuf enum ASSETS_PER_DYNAMIC_LOCAL_ASSET_SET = 168; - */ - const ASSETS_PER_DYNAMIC_LOCAL_ASSET_SET = 168; - /** - * Number of ENABLED dynamic flights asset sets per customer. - * - * Generated from protobuf enum DYNAMIC_FLIGHTS_ASSET_SETS_PER_CUSTOMER = 169; - */ - const DYNAMIC_FLIGHTS_ASSET_SETS_PER_CUSTOMER = 169; - /** - * Number of ENABLED assets per dynamic flights asset set. - * - * Generated from protobuf enum ASSETS_PER_DYNAMIC_FLIGHTS_ASSET_SET = 170; - */ - const ASSETS_PER_DYNAMIC_FLIGHTS_ASSET_SET = 170; - /** - * Number of ENABLED dynamic travel asset sets per customer. - * - * Generated from protobuf enum DYNAMIC_TRAVEL_ASSET_SETS_PER_CUSTOMER = 171; - */ - const DYNAMIC_TRAVEL_ASSET_SETS_PER_CUSTOMER = 171; - /** - * Number of ENABLED assets per dynamic travel asset set. - * - * Generated from protobuf enum ASSETS_PER_DYNAMIC_TRAVEL_ASSET_SET = 172; - */ - const ASSETS_PER_DYNAMIC_TRAVEL_ASSET_SET = 172; - /** - * Number of ENABLED dynamic jobs asset sets per customer. - * - * Generated from protobuf enum DYNAMIC_JOBS_ASSET_SETS_PER_CUSTOMER = 173; - */ - const DYNAMIC_JOBS_ASSET_SETS_PER_CUSTOMER = 173; - /** - * Number of ENABLED assets per dynamic jobs asset set. - * - * Generated from protobuf enum ASSETS_PER_DYNAMIC_JOBS_ASSET_SET = 174; - */ - const ASSETS_PER_DYNAMIC_JOBS_ASSET_SET = 174; - /** - * Number of ENABLED business name CampaignAssets per campaign. - * - * Generated from protobuf enum BUSINESS_NAME_CAMPAIGN_ASSETS_PER_CAMPAIGN = 179; - */ - const BUSINESS_NAME_CAMPAIGN_ASSETS_PER_CAMPAIGN = 179; - /** - * Number of ENABLED business logo CampaignAssets per campaign. - * - * Generated from protobuf enum BUSINESS_LOGO_CAMPAIGN_ASSETS_PER_CAMPAIGN = 180; - */ - const BUSINESS_LOGO_CAMPAIGN_ASSETS_PER_CAMPAIGN = 180; - /** - * Number of versions per ad. - * - * Generated from protobuf enum VERSIONS_PER_AD = 82; - */ - const VERSIONS_PER_AD = 82; - /** - * Number of ENABLED user feeds per customer. - * - * Generated from protobuf enum USER_FEEDS_PER_CUSTOMER = 90; - */ - const USER_FEEDS_PER_CUSTOMER = 90; - /** - * Number of ENABLED system feeds per customer. - * - * Generated from protobuf enum SYSTEM_FEEDS_PER_CUSTOMER = 91; - */ - const SYSTEM_FEEDS_PER_CUSTOMER = 91; - /** - * Number of feed attributes per feed. - * - * Generated from protobuf enum FEED_ATTRIBUTES_PER_FEED = 92; - */ - const FEED_ATTRIBUTES_PER_FEED = 92; - /** - * Number of ENABLED feed items per customer. - * - * Generated from protobuf enum FEED_ITEMS_PER_CUSTOMER = 94; - */ - const FEED_ITEMS_PER_CUSTOMER = 94; - /** - * Number of ENABLED campaign feeds per customer. - * - * Generated from protobuf enum CAMPAIGN_FEEDS_PER_CUSTOMER = 95; - */ - const CAMPAIGN_FEEDS_PER_CUSTOMER = 95; - /** - * Number of ENABLED campaign feeds across all base campaigns for a - * customer. - * - * Generated from protobuf enum BASE_CAMPAIGN_FEEDS_PER_CUSTOMER = 96; - */ - const BASE_CAMPAIGN_FEEDS_PER_CUSTOMER = 96; - /** - * Number of ENABLED campaign feeds across all experiment campaigns for a - * customer. - * - * Generated from protobuf enum EXPERIMENT_CAMPAIGN_FEEDS_PER_CUSTOMER = 109; - */ - const EXPERIMENT_CAMPAIGN_FEEDS_PER_CUSTOMER = 109; - /** - * Number of ENABLED ad group feeds per customer. - * - * Generated from protobuf enum AD_GROUP_FEEDS_PER_CUSTOMER = 97; - */ - const AD_GROUP_FEEDS_PER_CUSTOMER = 97; - /** - * Number of ENABLED ad group feeds across all base campaigns for a - * customer. - * - * Generated from protobuf enum BASE_AD_GROUP_FEEDS_PER_CUSTOMER = 98; - */ - const BASE_AD_GROUP_FEEDS_PER_CUSTOMER = 98; - /** - * Number of ENABLED ad group feeds across all experiment campaigns for a - * customer. - * - * Generated from protobuf enum EXPERIMENT_AD_GROUP_FEEDS_PER_CUSTOMER = 110; - */ - const EXPERIMENT_AD_GROUP_FEEDS_PER_CUSTOMER = 110; - /** - * Number of ENABLED ad group feeds per campaign. - * - * Generated from protobuf enum AD_GROUP_FEEDS_PER_CAMPAIGN = 99; - */ - const AD_GROUP_FEEDS_PER_CAMPAIGN = 99; - /** - * Number of ENABLED feed items per customer. - * - * Generated from protobuf enum FEED_ITEM_SETS_PER_CUSTOMER = 100; - */ - const FEED_ITEM_SETS_PER_CUSTOMER = 100; - /** - * Number of feed items per feed item set. - * - * Generated from protobuf enum FEED_ITEMS_PER_FEED_ITEM_SET = 101; - */ - const FEED_ITEMS_PER_FEED_ITEM_SET = 101; - /** - * Number of ENABLED campaign experiments per customer. - * - * Generated from protobuf enum CAMPAIGN_EXPERIMENTS_PER_CUSTOMER = 112; - */ - const CAMPAIGN_EXPERIMENTS_PER_CUSTOMER = 112; - /** - * Number of video experiment arms per experiment. - * - * Generated from protobuf enum EXPERIMENT_ARMS_PER_VIDEO_EXPERIMENT = 113; - */ - const EXPERIMENT_ARMS_PER_VIDEO_EXPERIMENT = 113; - /** - * Number of owned labels per customer. - * - * Generated from protobuf enum OWNED_LABELS_PER_CUSTOMER = 115; - */ - const OWNED_LABELS_PER_CUSTOMER = 115; - /** - * Number of applied labels per campaign. - * - * Generated from protobuf enum LABELS_PER_CAMPAIGN = 117; - */ - const LABELS_PER_CAMPAIGN = 117; - /** - * Number of applied labels per ad group. - * - * Generated from protobuf enum LABELS_PER_AD_GROUP = 118; - */ - const LABELS_PER_AD_GROUP = 118; - /** - * Number of applied labels per ad group ad. - * - * Generated from protobuf enum LABELS_PER_AD_GROUP_AD = 119; - */ - const LABELS_PER_AD_GROUP_AD = 119; - /** - * Number of applied labels per ad group criterion. - * - * Generated from protobuf enum LABELS_PER_AD_GROUP_CRITERION = 120; - */ - const LABELS_PER_AD_GROUP_CRITERION = 120; - /** - * Number of customers with a single label applied. - * - * Generated from protobuf enum TARGET_CUSTOMERS_PER_LABEL = 121; - */ - const TARGET_CUSTOMERS_PER_LABEL = 121; - /** - * Number of ENABLED keyword plans per user per customer. - * The limit is applied per pair because by default a plan - * is private to a user of a customer. Each user of a customer has their own - * independent limit. - * - * Generated from protobuf enum KEYWORD_PLANS_PER_USER_PER_CUSTOMER = 122; - */ - const KEYWORD_PLANS_PER_USER_PER_CUSTOMER = 122; - /** - * Number of keyword plan ad group keywords per keyword plan. - * - * Generated from protobuf enum KEYWORD_PLAN_AD_GROUP_KEYWORDS_PER_KEYWORD_PLAN = 123; - */ - const KEYWORD_PLAN_AD_GROUP_KEYWORDS_PER_KEYWORD_PLAN = 123; - /** - * Number of keyword plan ad groups per keyword plan. - * - * Generated from protobuf enum KEYWORD_PLAN_AD_GROUPS_PER_KEYWORD_PLAN = 124; - */ - const KEYWORD_PLAN_AD_GROUPS_PER_KEYWORD_PLAN = 124; - /** - * Number of keyword plan negative keywords (both campaign and ad group) per - * keyword plan. - * - * Generated from protobuf enum KEYWORD_PLAN_NEGATIVE_KEYWORDS_PER_KEYWORD_PLAN = 125; - */ - const KEYWORD_PLAN_NEGATIVE_KEYWORDS_PER_KEYWORD_PLAN = 125; - /** - * Number of keyword plan campaigns per keyword plan. - * - * Generated from protobuf enum KEYWORD_PLAN_CAMPAIGNS_PER_KEYWORD_PLAN = 126; - */ - const KEYWORD_PLAN_CAMPAIGNS_PER_KEYWORD_PLAN = 126; - /** - * Number of ENABLED conversion actions per customer. - * - * Generated from protobuf enum CONVERSION_ACTIONS_PER_CUSTOMER = 128; - */ - const CONVERSION_ACTIONS_PER_CUSTOMER = 128; - /** - * Number of operations in a single batch job. - * - * Generated from protobuf enum BATCH_JOB_OPERATIONS_PER_JOB = 130; - */ - const BATCH_JOB_OPERATIONS_PER_JOB = 130; - /** - * Number of PENDING or ENABLED batch jobs per customer. - * - * Generated from protobuf enum BATCH_JOBS_PER_CUSTOMER = 131; - */ - const BATCH_JOBS_PER_CUSTOMER = 131; - /** - * Number of hotel check-in date range bid modifiers per ad agroup. - * - * Generated from protobuf enum HOTEL_CHECK_IN_DATE_RANGE_BID_MODIFIERS_PER_AD_GROUP = 132; - */ - const HOTEL_CHECK_IN_DATE_RANGE_BID_MODIFIERS_PER_AD_GROUP = 132; - /** - * Number of shared sets of type ACCOUNT_LEVEL_NEGATIVE_KEYWORDS per - * account. - * - * Generated from protobuf enum SHARED_SETS_PER_ACCOUNT_FOR_ACCOUNT_LEVEL_NEGATIVE_KEYWORDS = 177; - */ - const SHARED_SETS_PER_ACCOUNT_FOR_ACCOUNT_LEVEL_NEGATIVE_KEYWORDS = 177; - /** - * Number of keywords per ACCOUNT_LEVEL_NEGATIVE_KEYWORDS shared set. - * - * Generated from protobuf enum ACCOUNT_LEVEL_NEGATIVE_KEYWORDS_PER_SHARED_SET = 178; - */ - const ACCOUNT_LEVEL_NEGATIVE_KEYWORDS_PER_SHARED_SET = 178; - /** - * Maximum number of asset per hotel property asset set. - * - * Generated from protobuf enum ENABLED_ASSET_PER_HOTEL_PROPERTY_ASSET_SET = 181; - */ - const ENABLED_ASSET_PER_HOTEL_PROPERTY_ASSET_SET = 181; - /** - * Maximum number of enabled hotel property assets per asset group. - * - * Generated from protobuf enum ENABLED_HOTEL_PROPERTY_ASSET_LINKS_PER_ASSET_GROUP = 182; - */ - const ENABLED_HOTEL_PROPERTY_ASSET_LINKS_PER_ASSET_GROUP = 182; - /** - * Number of criteria per brand shared set. - * - * Generated from protobuf enum BRANDS_PER_SHARED_SET = 183; - */ - const BRANDS_PER_SHARED_SET = 183; - /** - * Number of active brand list criteria per campaign. - * - * Generated from protobuf enum ENABLED_BRAND_LIST_CRITERIA_PER_CAMPAIGN = 184; - */ - const ENABLED_BRAND_LIST_CRITERIA_PER_CAMPAIGN = 184; - /** - * Maximum number of shared sets of brand type for an account. - * - * Generated from protobuf enum SHARED_SETS_PER_ACCOUNT_FOR_BRAND = 185; - */ - const SHARED_SETS_PER_ACCOUNT_FOR_BRAND = 185; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGNS_PER_CUSTOMER => 'CAMPAIGNS_PER_CUSTOMER', - self::BASE_CAMPAIGNS_PER_CUSTOMER => 'BASE_CAMPAIGNS_PER_CUSTOMER', - self::EXPERIMENT_CAMPAIGNS_PER_CUSTOMER => 'EXPERIMENT_CAMPAIGNS_PER_CUSTOMER', - self::HOTEL_CAMPAIGNS_PER_CUSTOMER => 'HOTEL_CAMPAIGNS_PER_CUSTOMER', - self::SMART_SHOPPING_CAMPAIGNS_PER_CUSTOMER => 'SMART_SHOPPING_CAMPAIGNS_PER_CUSTOMER', - self::AD_GROUPS_PER_CAMPAIGN => 'AD_GROUPS_PER_CAMPAIGN', - self::AD_GROUPS_PER_SHOPPING_CAMPAIGN => 'AD_GROUPS_PER_SHOPPING_CAMPAIGN', - self::AD_GROUPS_PER_HOTEL_CAMPAIGN => 'AD_GROUPS_PER_HOTEL_CAMPAIGN', - self::REPORTING_AD_GROUPS_PER_LOCAL_CAMPAIGN => 'REPORTING_AD_GROUPS_PER_LOCAL_CAMPAIGN', - self::REPORTING_AD_GROUPS_PER_APP_CAMPAIGN => 'REPORTING_AD_GROUPS_PER_APP_CAMPAIGN', - self::MANAGED_AD_GROUPS_PER_SMART_CAMPAIGN => 'MANAGED_AD_GROUPS_PER_SMART_CAMPAIGN', - self::AD_GROUP_CRITERIA_PER_CUSTOMER => 'AD_GROUP_CRITERIA_PER_CUSTOMER', - self::BASE_AD_GROUP_CRITERIA_PER_CUSTOMER => 'BASE_AD_GROUP_CRITERIA_PER_CUSTOMER', - self::EXPERIMENT_AD_GROUP_CRITERIA_PER_CUSTOMER => 'EXPERIMENT_AD_GROUP_CRITERIA_PER_CUSTOMER', - self::AD_GROUP_CRITERIA_PER_CAMPAIGN => 'AD_GROUP_CRITERIA_PER_CAMPAIGN', - self::CAMPAIGN_CRITERIA_PER_CUSTOMER => 'CAMPAIGN_CRITERIA_PER_CUSTOMER', - self::BASE_CAMPAIGN_CRITERIA_PER_CUSTOMER => 'BASE_CAMPAIGN_CRITERIA_PER_CUSTOMER', - self::EXPERIMENT_CAMPAIGN_CRITERIA_PER_CUSTOMER => 'EXPERIMENT_CAMPAIGN_CRITERIA_PER_CUSTOMER', - self::WEBPAGE_CRITERIA_PER_CUSTOMER => 'WEBPAGE_CRITERIA_PER_CUSTOMER', - self::BASE_WEBPAGE_CRITERIA_PER_CUSTOMER => 'BASE_WEBPAGE_CRITERIA_PER_CUSTOMER', - self::EXPERIMENT_WEBPAGE_CRITERIA_PER_CUSTOMER => 'EXPERIMENT_WEBPAGE_CRITERIA_PER_CUSTOMER', - self::COMBINED_AUDIENCE_CRITERIA_PER_AD_GROUP => 'COMBINED_AUDIENCE_CRITERIA_PER_AD_GROUP', - self::CUSTOMER_NEGATIVE_PLACEMENT_CRITERIA_PER_CUSTOMER => 'CUSTOMER_NEGATIVE_PLACEMENT_CRITERIA_PER_CUSTOMER', - self::CUSTOMER_NEGATIVE_YOUTUBE_CHANNEL_CRITERIA_PER_CUSTOMER => 'CUSTOMER_NEGATIVE_YOUTUBE_CHANNEL_CRITERIA_PER_CUSTOMER', - self::CRITERIA_PER_AD_GROUP => 'CRITERIA_PER_AD_GROUP', - self::LISTING_GROUPS_PER_AD_GROUP => 'LISTING_GROUPS_PER_AD_GROUP', - self::EXPLICITLY_SHARED_BUDGETS_PER_CUSTOMER => 'EXPLICITLY_SHARED_BUDGETS_PER_CUSTOMER', - self::IMPLICITLY_SHARED_BUDGETS_PER_CUSTOMER => 'IMPLICITLY_SHARED_BUDGETS_PER_CUSTOMER', - self::COMBINED_AUDIENCE_CRITERIA_PER_CAMPAIGN => 'COMBINED_AUDIENCE_CRITERIA_PER_CAMPAIGN', - self::NEGATIVE_KEYWORDS_PER_CAMPAIGN => 'NEGATIVE_KEYWORDS_PER_CAMPAIGN', - self::NEGATIVE_PLACEMENTS_PER_CAMPAIGN => 'NEGATIVE_PLACEMENTS_PER_CAMPAIGN', - self::GEO_TARGETS_PER_CAMPAIGN => 'GEO_TARGETS_PER_CAMPAIGN', - self::NEGATIVE_IP_BLOCKS_PER_CAMPAIGN => 'NEGATIVE_IP_BLOCKS_PER_CAMPAIGN', - self::PROXIMITIES_PER_CAMPAIGN => 'PROXIMITIES_PER_CAMPAIGN', - self::LISTING_SCOPES_PER_SHOPPING_CAMPAIGN => 'LISTING_SCOPES_PER_SHOPPING_CAMPAIGN', - self::LISTING_SCOPES_PER_NON_SHOPPING_CAMPAIGN => 'LISTING_SCOPES_PER_NON_SHOPPING_CAMPAIGN', - self::NEGATIVE_KEYWORDS_PER_SHARED_SET => 'NEGATIVE_KEYWORDS_PER_SHARED_SET', - self::NEGATIVE_PLACEMENTS_PER_SHARED_SET => 'NEGATIVE_PLACEMENTS_PER_SHARED_SET', - self::SHARED_SETS_PER_CUSTOMER_FOR_TYPE_DEFAULT => 'SHARED_SETS_PER_CUSTOMER_FOR_TYPE_DEFAULT', - self::SHARED_SETS_PER_CUSTOMER_FOR_NEGATIVE_PLACEMENT_LIST_LOWER => 'SHARED_SETS_PER_CUSTOMER_FOR_NEGATIVE_PLACEMENT_LIST_LOWER', - self::HOTEL_ADVANCE_BOOKING_WINDOW_BID_MODIFIERS_PER_AD_GROUP => 'HOTEL_ADVANCE_BOOKING_WINDOW_BID_MODIFIERS_PER_AD_GROUP', - self::BIDDING_STRATEGIES_PER_CUSTOMER => 'BIDDING_STRATEGIES_PER_CUSTOMER', - self::BASIC_USER_LISTS_PER_CUSTOMER => 'BASIC_USER_LISTS_PER_CUSTOMER', - self::LOGICAL_USER_LISTS_PER_CUSTOMER => 'LOGICAL_USER_LISTS_PER_CUSTOMER', - self::RULE_BASED_USER_LISTS_PER_CUSTOMER => 'RULE_BASED_USER_LISTS_PER_CUSTOMER', - self::BASE_AD_GROUP_ADS_PER_CUSTOMER => 'BASE_AD_GROUP_ADS_PER_CUSTOMER', - self::EXPERIMENT_AD_GROUP_ADS_PER_CUSTOMER => 'EXPERIMENT_AD_GROUP_ADS_PER_CUSTOMER', - self::AD_GROUP_ADS_PER_CAMPAIGN => 'AD_GROUP_ADS_PER_CAMPAIGN', - self::TEXT_AND_OTHER_ADS_PER_AD_GROUP => 'TEXT_AND_OTHER_ADS_PER_AD_GROUP', - self::IMAGE_ADS_PER_AD_GROUP => 'IMAGE_ADS_PER_AD_GROUP', - self::SHOPPING_SMART_ADS_PER_AD_GROUP => 'SHOPPING_SMART_ADS_PER_AD_GROUP', - self::RESPONSIVE_SEARCH_ADS_PER_AD_GROUP => 'RESPONSIVE_SEARCH_ADS_PER_AD_GROUP', - self::APP_ADS_PER_AD_GROUP => 'APP_ADS_PER_AD_GROUP', - self::APP_ENGAGEMENT_ADS_PER_AD_GROUP => 'APP_ENGAGEMENT_ADS_PER_AD_GROUP', - self::LOCAL_ADS_PER_AD_GROUP => 'LOCAL_ADS_PER_AD_GROUP', - self::VIDEO_ADS_PER_AD_GROUP => 'VIDEO_ADS_PER_AD_GROUP', - self::LEAD_FORM_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'LEAD_FORM_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::PROMOTION_CUSTOMER_ASSETS_PER_CUSTOMER => 'PROMOTION_CUSTOMER_ASSETS_PER_CUSTOMER', - self::PROMOTION_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'PROMOTION_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::PROMOTION_AD_GROUP_ASSETS_PER_AD_GROUP => 'PROMOTION_AD_GROUP_ASSETS_PER_AD_GROUP', - self::CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER => 'CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER', - self::CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP => 'CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP', - self::SITELINK_CUSTOMER_ASSETS_PER_CUSTOMER => 'SITELINK_CUSTOMER_ASSETS_PER_CUSTOMER', - self::SITELINK_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'SITELINK_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::SITELINK_AD_GROUP_ASSETS_PER_AD_GROUP => 'SITELINK_AD_GROUP_ASSETS_PER_AD_GROUP', - self::STRUCTURED_SNIPPET_CUSTOMER_ASSETS_PER_CUSTOMER => 'STRUCTURED_SNIPPET_CUSTOMER_ASSETS_PER_CUSTOMER', - self::STRUCTURED_SNIPPET_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'STRUCTURED_SNIPPET_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::STRUCTURED_SNIPPET_AD_GROUP_ASSETS_PER_AD_GROUP => 'STRUCTURED_SNIPPET_AD_GROUP_ASSETS_PER_AD_GROUP', - self::MOBILE_APP_CUSTOMER_ASSETS_PER_CUSTOMER => 'MOBILE_APP_CUSTOMER_ASSETS_PER_CUSTOMER', - self::MOBILE_APP_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'MOBILE_APP_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::MOBILE_APP_AD_GROUP_ASSETS_PER_AD_GROUP => 'MOBILE_APP_AD_GROUP_ASSETS_PER_AD_GROUP', - self::HOTEL_CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER => 'HOTEL_CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER', - self::HOTEL_CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'HOTEL_CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::HOTEL_CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP => 'HOTEL_CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP', - self::CALL_CUSTOMER_ASSETS_PER_CUSTOMER => 'CALL_CUSTOMER_ASSETS_PER_CUSTOMER', - self::CALL_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'CALL_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::CALL_AD_GROUP_ASSETS_PER_AD_GROUP => 'CALL_AD_GROUP_ASSETS_PER_AD_GROUP', - self::PRICE_CUSTOMER_ASSETS_PER_CUSTOMER => 'PRICE_CUSTOMER_ASSETS_PER_CUSTOMER', - self::PRICE_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'PRICE_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::PRICE_AD_GROUP_ASSETS_PER_AD_GROUP => 'PRICE_AD_GROUP_ASSETS_PER_AD_GROUP', - self::AD_IMAGE_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'AD_IMAGE_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::AD_IMAGE_AD_GROUP_ASSETS_PER_AD_GROUP => 'AD_IMAGE_AD_GROUP_ASSETS_PER_AD_GROUP', - self::PAGE_FEED_ASSET_SETS_PER_CUSTOMER => 'PAGE_FEED_ASSET_SETS_PER_CUSTOMER', - self::DYNAMIC_EDUCATION_FEED_ASSET_SETS_PER_CUSTOMER => 'DYNAMIC_EDUCATION_FEED_ASSET_SETS_PER_CUSTOMER', - self::ASSETS_PER_PAGE_FEED_ASSET_SET => 'ASSETS_PER_PAGE_FEED_ASSET_SET', - self::ASSETS_PER_DYNAMIC_EDUCATION_FEED_ASSET_SET => 'ASSETS_PER_DYNAMIC_EDUCATION_FEED_ASSET_SET', - self::DYNAMIC_REAL_ESTATE_ASSET_SETS_PER_CUSTOMER => 'DYNAMIC_REAL_ESTATE_ASSET_SETS_PER_CUSTOMER', - self::ASSETS_PER_DYNAMIC_REAL_ESTATE_ASSET_SET => 'ASSETS_PER_DYNAMIC_REAL_ESTATE_ASSET_SET', - self::DYNAMIC_CUSTOM_ASSET_SETS_PER_CUSTOMER => 'DYNAMIC_CUSTOM_ASSET_SETS_PER_CUSTOMER', - self::ASSETS_PER_DYNAMIC_CUSTOM_ASSET_SET => 'ASSETS_PER_DYNAMIC_CUSTOM_ASSET_SET', - self::DYNAMIC_HOTELS_AND_RENTALS_ASSET_SETS_PER_CUSTOMER => 'DYNAMIC_HOTELS_AND_RENTALS_ASSET_SETS_PER_CUSTOMER', - self::ASSETS_PER_DYNAMIC_HOTELS_AND_RENTALS_ASSET_SET => 'ASSETS_PER_DYNAMIC_HOTELS_AND_RENTALS_ASSET_SET', - self::DYNAMIC_LOCAL_ASSET_SETS_PER_CUSTOMER => 'DYNAMIC_LOCAL_ASSET_SETS_PER_CUSTOMER', - self::ASSETS_PER_DYNAMIC_LOCAL_ASSET_SET => 'ASSETS_PER_DYNAMIC_LOCAL_ASSET_SET', - self::DYNAMIC_FLIGHTS_ASSET_SETS_PER_CUSTOMER => 'DYNAMIC_FLIGHTS_ASSET_SETS_PER_CUSTOMER', - self::ASSETS_PER_DYNAMIC_FLIGHTS_ASSET_SET => 'ASSETS_PER_DYNAMIC_FLIGHTS_ASSET_SET', - self::DYNAMIC_TRAVEL_ASSET_SETS_PER_CUSTOMER => 'DYNAMIC_TRAVEL_ASSET_SETS_PER_CUSTOMER', - self::ASSETS_PER_DYNAMIC_TRAVEL_ASSET_SET => 'ASSETS_PER_DYNAMIC_TRAVEL_ASSET_SET', - self::DYNAMIC_JOBS_ASSET_SETS_PER_CUSTOMER => 'DYNAMIC_JOBS_ASSET_SETS_PER_CUSTOMER', - self::ASSETS_PER_DYNAMIC_JOBS_ASSET_SET => 'ASSETS_PER_DYNAMIC_JOBS_ASSET_SET', - self::BUSINESS_NAME_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'BUSINESS_NAME_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::BUSINESS_LOGO_CAMPAIGN_ASSETS_PER_CAMPAIGN => 'BUSINESS_LOGO_CAMPAIGN_ASSETS_PER_CAMPAIGN', - self::VERSIONS_PER_AD => 'VERSIONS_PER_AD', - self::USER_FEEDS_PER_CUSTOMER => 'USER_FEEDS_PER_CUSTOMER', - self::SYSTEM_FEEDS_PER_CUSTOMER => 'SYSTEM_FEEDS_PER_CUSTOMER', - self::FEED_ATTRIBUTES_PER_FEED => 'FEED_ATTRIBUTES_PER_FEED', - self::FEED_ITEMS_PER_CUSTOMER => 'FEED_ITEMS_PER_CUSTOMER', - self::CAMPAIGN_FEEDS_PER_CUSTOMER => 'CAMPAIGN_FEEDS_PER_CUSTOMER', - self::BASE_CAMPAIGN_FEEDS_PER_CUSTOMER => 'BASE_CAMPAIGN_FEEDS_PER_CUSTOMER', - self::EXPERIMENT_CAMPAIGN_FEEDS_PER_CUSTOMER => 'EXPERIMENT_CAMPAIGN_FEEDS_PER_CUSTOMER', - self::AD_GROUP_FEEDS_PER_CUSTOMER => 'AD_GROUP_FEEDS_PER_CUSTOMER', - self::BASE_AD_GROUP_FEEDS_PER_CUSTOMER => 'BASE_AD_GROUP_FEEDS_PER_CUSTOMER', - self::EXPERIMENT_AD_GROUP_FEEDS_PER_CUSTOMER => 'EXPERIMENT_AD_GROUP_FEEDS_PER_CUSTOMER', - self::AD_GROUP_FEEDS_PER_CAMPAIGN => 'AD_GROUP_FEEDS_PER_CAMPAIGN', - self::FEED_ITEM_SETS_PER_CUSTOMER => 'FEED_ITEM_SETS_PER_CUSTOMER', - self::FEED_ITEMS_PER_FEED_ITEM_SET => 'FEED_ITEMS_PER_FEED_ITEM_SET', - self::CAMPAIGN_EXPERIMENTS_PER_CUSTOMER => 'CAMPAIGN_EXPERIMENTS_PER_CUSTOMER', - self::EXPERIMENT_ARMS_PER_VIDEO_EXPERIMENT => 'EXPERIMENT_ARMS_PER_VIDEO_EXPERIMENT', - self::OWNED_LABELS_PER_CUSTOMER => 'OWNED_LABELS_PER_CUSTOMER', - self::LABELS_PER_CAMPAIGN => 'LABELS_PER_CAMPAIGN', - self::LABELS_PER_AD_GROUP => 'LABELS_PER_AD_GROUP', - self::LABELS_PER_AD_GROUP_AD => 'LABELS_PER_AD_GROUP_AD', - self::LABELS_PER_AD_GROUP_CRITERION => 'LABELS_PER_AD_GROUP_CRITERION', - self::TARGET_CUSTOMERS_PER_LABEL => 'TARGET_CUSTOMERS_PER_LABEL', - self::KEYWORD_PLANS_PER_USER_PER_CUSTOMER => 'KEYWORD_PLANS_PER_USER_PER_CUSTOMER', - self::KEYWORD_PLAN_AD_GROUP_KEYWORDS_PER_KEYWORD_PLAN => 'KEYWORD_PLAN_AD_GROUP_KEYWORDS_PER_KEYWORD_PLAN', - self::KEYWORD_PLAN_AD_GROUPS_PER_KEYWORD_PLAN => 'KEYWORD_PLAN_AD_GROUPS_PER_KEYWORD_PLAN', - self::KEYWORD_PLAN_NEGATIVE_KEYWORDS_PER_KEYWORD_PLAN => 'KEYWORD_PLAN_NEGATIVE_KEYWORDS_PER_KEYWORD_PLAN', - self::KEYWORD_PLAN_CAMPAIGNS_PER_KEYWORD_PLAN => 'KEYWORD_PLAN_CAMPAIGNS_PER_KEYWORD_PLAN', - self::CONVERSION_ACTIONS_PER_CUSTOMER => 'CONVERSION_ACTIONS_PER_CUSTOMER', - self::BATCH_JOB_OPERATIONS_PER_JOB => 'BATCH_JOB_OPERATIONS_PER_JOB', - self::BATCH_JOBS_PER_CUSTOMER => 'BATCH_JOBS_PER_CUSTOMER', - self::HOTEL_CHECK_IN_DATE_RANGE_BID_MODIFIERS_PER_AD_GROUP => 'HOTEL_CHECK_IN_DATE_RANGE_BID_MODIFIERS_PER_AD_GROUP', - self::SHARED_SETS_PER_ACCOUNT_FOR_ACCOUNT_LEVEL_NEGATIVE_KEYWORDS => 'SHARED_SETS_PER_ACCOUNT_FOR_ACCOUNT_LEVEL_NEGATIVE_KEYWORDS', - self::ACCOUNT_LEVEL_NEGATIVE_KEYWORDS_PER_SHARED_SET => 'ACCOUNT_LEVEL_NEGATIVE_KEYWORDS_PER_SHARED_SET', - self::ENABLED_ASSET_PER_HOTEL_PROPERTY_ASSET_SET => 'ENABLED_ASSET_PER_HOTEL_PROPERTY_ASSET_SET', - self::ENABLED_HOTEL_PROPERTY_ASSET_LINKS_PER_ASSET_GROUP => 'ENABLED_HOTEL_PROPERTY_ASSET_LINKS_PER_ASSET_GROUP', - self::BRANDS_PER_SHARED_SET => 'BRANDS_PER_SHARED_SET', - self::ENABLED_BRAND_LIST_CRITERIA_PER_CAMPAIGN => 'ENABLED_BRAND_LIST_CRITERIA_PER_CAMPAIGN', - self::SHARED_SETS_PER_ACCOUNT_FOR_BRAND => 'SHARED_SETS_PER_ACCOUNT_FOR_BRAND', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResourceLimitType::class, \Google\Ads\GoogleAds\V15\Enums\ResourceLimitTypeEnum_ResourceLimitType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ResponseContentTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ResponseContentTypeEnum.php deleted file mode 100644 index 9ae29bc7a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ResponseContentTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ResponseContentTypeEnum - */ -class ResponseContentTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ResponseContentType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ResponseContentTypeEnum/ResponseContentType.php b/src/Google/Ads/GoogleAds/V15/Enums/ResponseContentTypeEnum/ResponseContentType.php deleted file mode 100644 index 72d19adfc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ResponseContentTypeEnum/ResponseContentType.php +++ /dev/null @@ -1,65 +0,0 @@ -google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType - */ -class ResponseContentType -{ - /** - * Not specified. Will return the resource name only in the response. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The mutate response will be the resource name. - * - * Generated from protobuf enum RESOURCE_NAME_ONLY = 1; - */ - const RESOURCE_NAME_ONLY = 1; - /** - * The mutate response will be the resource name and the resource with - * all mutable fields. - * - * Generated from protobuf enum MUTABLE_RESOURCE = 2; - */ - const MUTABLE_RESOURCE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::RESOURCE_NAME_ONLY => 'RESOURCE_NAME_ONLY', - self::MUTABLE_RESOURCE => 'MUTABLE_RESOURCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResponseContentType::class, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum_ResponseContentType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageTypeEnum.php deleted file mode 100644 index 942aafef6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SearchEngineResultsPageTypeEnum - */ -class SearchEngineResultsPageTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SearchEngineResultsPageType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageTypeEnum/SearchEngineResultsPageType.php b/src/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageTypeEnum/SearchEngineResultsPageType.php deleted file mode 100644 index 1166f2181..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SearchEngineResultsPageTypeEnum/SearchEngineResultsPageType.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType - */ -class SearchEngineResultsPageType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Only ads were contained in the search engine results page. - * - * Generated from protobuf enum ADS_ONLY = 2; - */ - const ADS_ONLY = 2; - /** - * Only organic results were contained in the search engine results page. - * - * Generated from protobuf enum ORGANIC_ONLY = 3; - */ - const ORGANIC_ONLY = 3; - /** - * Both ads and organic results were contained in the search engine results - * page. - * - * Generated from protobuf enum ADS_AND_ORGANIC = 4; - */ - const ADS_AND_ORGANIC = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADS_ONLY => 'ADS_ONLY', - self::ORGANIC_ONLY => 'ORGANIC_ONLY', - self::ADS_AND_ORGANIC => 'ADS_AND_ORGANIC', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SearchEngineResultsPageType::class, \Google\Ads\GoogleAds\V15\Enums\SearchEngineResultsPageTypeEnum_SearchEngineResultsPageType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchTypeEnum.php deleted file mode 100644 index e82d60089..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SearchTermMatchTypeEnum - */ -class SearchTermMatchTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SearchTermMatchType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchTypeEnum/SearchTermMatchType.php b/src/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchTypeEnum/SearchTermMatchType.php deleted file mode 100644 index adaa2ab63..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SearchTermMatchTypeEnum/SearchTermMatchType.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.SearchTermMatchTypeEnum.SearchTermMatchType - */ -class SearchTermMatchType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Broad match. - * - * Generated from protobuf enum BROAD = 2; - */ - const BROAD = 2; - /** - * Exact match. - * - * Generated from protobuf enum EXACT = 3; - */ - const EXACT = 3; - /** - * Phrase match. - * - * Generated from protobuf enum PHRASE = 4; - */ - const PHRASE = 4; - /** - * Exact match (close variant). - * - * Generated from protobuf enum NEAR_EXACT = 5; - */ - const NEAR_EXACT = 5; - /** - * Phrase match (close variant). - * - * Generated from protobuf enum NEAR_PHRASE = 6; - */ - const NEAR_PHRASE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BROAD => 'BROAD', - self::EXACT => 'EXACT', - self::PHRASE => 'PHRASE', - self::NEAR_EXACT => 'NEAR_EXACT', - self::NEAR_PHRASE => 'NEAR_PHRASE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SearchTermMatchType::class, \Google\Ads\GoogleAds\V15\Enums\SearchTermMatchTypeEnum_SearchTermMatchType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatusEnum.php deleted file mode 100644 index 65bf575de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.SearchTermTargetingStatusEnum - */ -class SearchTermTargetingStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SearchTermTargetingStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatusEnum/SearchTermTargetingStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatusEnum/SearchTermTargetingStatus.php deleted file mode 100644 index 87c496b47..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SearchTermTargetingStatusEnum/SearchTermTargetingStatus.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus - */ -class SearchTermTargetingStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Search term is added to targeted keywords. - * - * Generated from protobuf enum ADDED = 2; - */ - const ADDED = 2; - /** - * Search term matches a negative keyword. - * - * Generated from protobuf enum EXCLUDED = 3; - */ - const EXCLUDED = 3; - /** - * Search term has been both added and excluded. - * - * Generated from protobuf enum ADDED_EXCLUDED = 4; - */ - const ADDED_EXCLUDED = 4; - /** - * Search term is neither targeted nor excluded. - * - * Generated from protobuf enum NONE = 5; - */ - const NONE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADDED => 'ADDED', - self::EXCLUDED => 'EXCLUDED', - self::ADDED_EXCLUDED => 'ADDED_EXCLUDED', - self::NONE => 'NONE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SearchTermTargetingStatus::class, \Google\Ads\GoogleAds\V15\Enums\SearchTermTargetingStatusEnum_SearchTermTargetingStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScopeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScopeEnum.php deleted file mode 100644 index 904f8d4e0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScopeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.SeasonalityEventScopeEnum - */ -class SeasonalityEventScopeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SeasonalityEventScope::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScopeEnum/SeasonalityEventScope.php b/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScopeEnum/SeasonalityEventScope.php deleted file mode 100644 index de59312c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventScopeEnum/SeasonalityEventScope.php +++ /dev/null @@ -1,82 +0,0 @@ -google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope - */ -class SeasonalityEventScope -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The seasonality event is applied to all the customer's traffic for - * supported advertising channel types and device types. The CUSTOMER scope - * cannot be used in mutates. - * - * Generated from protobuf enum CUSTOMER = 2; - */ - const CUSTOMER = 2; - /** - * The seasonality event is applied to all specified campaigns. - * - * Generated from protobuf enum CAMPAIGN = 4; - */ - const CAMPAIGN = 4; - /** - * The seasonality event is applied to all campaigns that belong to - * specified channel types. - * - * Generated from protobuf enum CHANNEL = 5; - */ - const CHANNEL = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER => 'CUSTOMER', - self::CAMPAIGN => 'CAMPAIGN', - self::CHANNEL => 'CHANNEL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SeasonalityEventScope::class, \Google\Ads\GoogleAds\V15\Enums\SeasonalityEventScopeEnum_SeasonalityEventScope::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatusEnum.php deleted file mode 100644 index bd1efba2c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatusEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.SeasonalityEventStatusEnum - */ -class SeasonalityEventStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SeasonalityEventStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatusEnum/SeasonalityEventStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatusEnum/SeasonalityEventStatus.php deleted file mode 100644 index 7ff35fa24..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SeasonalityEventStatusEnum/SeasonalityEventStatus.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus - */ -class SeasonalityEventStatus -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The seasonality event is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The seasonality event is removed. - * - * Generated from protobuf enum REMOVED = 4; - */ - const REMOVED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SeasonalityEventStatus::class, \Google\Ads\GoogleAds\V15\Enums\SeasonalityEventStatusEnum_SeasonalityEventStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldTypeEnum.php deleted file mode 100644 index 017ba8807..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum - */ -class ServedAssetFieldTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ServedAssetFieldType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldTypeEnum/ServedAssetFieldType.php b/src/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldTypeEnum/ServedAssetFieldType.php deleted file mode 100644 index 25b76aa6e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ServedAssetFieldTypeEnum/ServedAssetFieldType.php +++ /dev/null @@ -1,272 +0,0 @@ -google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType - */ -class ServedAssetFieldType -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset is used in headline 1. - * - * Generated from protobuf enum HEADLINE_1 = 2; - */ - const HEADLINE_1 = 2; - /** - * The asset is used in headline 2. - * - * Generated from protobuf enum HEADLINE_2 = 3; - */ - const HEADLINE_2 = 3; - /** - * The asset is used in headline 3. - * - * Generated from protobuf enum HEADLINE_3 = 4; - */ - const HEADLINE_3 = 4; - /** - * The asset is used in description 1. - * - * Generated from protobuf enum DESCRIPTION_1 = 5; - */ - const DESCRIPTION_1 = 5; - /** - * The asset is used in description 2. - * - * Generated from protobuf enum DESCRIPTION_2 = 6; - */ - const DESCRIPTION_2 = 6; - /** - * The asset was used in a headline. Use this only if there is only one - * headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or - * HEADLINE_3 enums - * - * Generated from protobuf enum HEADLINE = 7; - */ - const HEADLINE = 7; - /** - * The asset was used as a headline in portrait image. - * - * Generated from protobuf enum HEADLINE_IN_PORTRAIT = 8; - */ - const HEADLINE_IN_PORTRAIT = 8; - /** - * The asset was used in a long headline (used in MultiAssetResponsiveAd). - * - * Generated from protobuf enum LONG_HEADLINE = 9; - */ - const LONG_HEADLINE = 9; - /** - * The asset was used in a description. Use this only if there is only one - * description in the ad. Otherwise, use the DESCRIPTION_1 or DESCRIPTION_@ - * enums - * - * Generated from protobuf enum DESCRIPTION = 10; - */ - const DESCRIPTION = 10; - /** - * The asset was used as description in portrait image. - * - * Generated from protobuf enum DESCRIPTION_IN_PORTRAIT = 11; - */ - const DESCRIPTION_IN_PORTRAIT = 11; - /** - * The asset was used as business name in portrait image. - * - * Generated from protobuf enum BUSINESS_NAME_IN_PORTRAIT = 12; - */ - const BUSINESS_NAME_IN_PORTRAIT = 12; - /** - * The asset was used as business name. - * - * Generated from protobuf enum BUSINESS_NAME = 13; - */ - const BUSINESS_NAME = 13; - /** - * The asset was used as a marketing image. - * - * Generated from protobuf enum MARKETING_IMAGE = 14; - */ - const MARKETING_IMAGE = 14; - /** - * The asset was used as a marketing image in portrait image. - * - * Generated from protobuf enum MARKETING_IMAGE_IN_PORTRAIT = 15; - */ - const MARKETING_IMAGE_IN_PORTRAIT = 15; - /** - * The asset was used as a square marketing image. - * - * Generated from protobuf enum SQUARE_MARKETING_IMAGE = 16; - */ - const SQUARE_MARKETING_IMAGE = 16; - /** - * The asset was used as a portrait marketing image. - * - * Generated from protobuf enum PORTRAIT_MARKETING_IMAGE = 17; - */ - const PORTRAIT_MARKETING_IMAGE = 17; - /** - * The asset was used as a logo. - * - * Generated from protobuf enum LOGO = 18; - */ - const LOGO = 18; - /** - * The asset was used as a landscape logo. - * - * Generated from protobuf enum LANDSCAPE_LOGO = 19; - */ - const LANDSCAPE_LOGO = 19; - /** - * The asset was used as a call-to-action. - * - * Generated from protobuf enum CALL_TO_ACTION = 20; - */ - const CALL_TO_ACTION = 20; - /** - * The asset was used as a YouTube video. - * - * Generated from protobuf enum YOU_TUBE_VIDEO = 21; - */ - const YOU_TUBE_VIDEO = 21; - /** - * This asset is used as a sitelink. - * - * Generated from protobuf enum SITELINK = 22; - */ - const SITELINK = 22; - /** - * This asset is used as a call. - * - * Generated from protobuf enum CALL = 23; - */ - const CALL = 23; - /** - * This asset is used as a mobile app. - * - * Generated from protobuf enum MOBILE_APP = 24; - */ - const MOBILE_APP = 24; - /** - * This asset is used as a callout. - * - * Generated from protobuf enum CALLOUT = 25; - */ - const CALLOUT = 25; - /** - * This asset is used as a structured snippet. - * - * Generated from protobuf enum STRUCTURED_SNIPPET = 26; - */ - const STRUCTURED_SNIPPET = 26; - /** - * This asset is used as a price. - * - * Generated from protobuf enum PRICE = 27; - */ - const PRICE = 27; - /** - * This asset is used as a promotion. - * - * Generated from protobuf enum PROMOTION = 28; - */ - const PROMOTION = 28; - /** - * This asset is used as an image. - * - * Generated from protobuf enum AD_IMAGE = 29; - */ - const AD_IMAGE = 29; - /** - * The asset is used as a lead form. - * - * Generated from protobuf enum LEAD_FORM = 30; - */ - const LEAD_FORM = 30; - /** - * The asset is used as a business logo. - * - * Generated from protobuf enum BUSINESS_LOGO = 31; - */ - const BUSINESS_LOGO = 31; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::HEADLINE_1 => 'HEADLINE_1', - self::HEADLINE_2 => 'HEADLINE_2', - self::HEADLINE_3 => 'HEADLINE_3', - self::DESCRIPTION_1 => 'DESCRIPTION_1', - self::DESCRIPTION_2 => 'DESCRIPTION_2', - self::HEADLINE => 'HEADLINE', - self::HEADLINE_IN_PORTRAIT => 'HEADLINE_IN_PORTRAIT', - self::LONG_HEADLINE => 'LONG_HEADLINE', - self::DESCRIPTION => 'DESCRIPTION', - self::DESCRIPTION_IN_PORTRAIT => 'DESCRIPTION_IN_PORTRAIT', - self::BUSINESS_NAME_IN_PORTRAIT => 'BUSINESS_NAME_IN_PORTRAIT', - self::BUSINESS_NAME => 'BUSINESS_NAME', - self::MARKETING_IMAGE => 'MARKETING_IMAGE', - self::MARKETING_IMAGE_IN_PORTRAIT => 'MARKETING_IMAGE_IN_PORTRAIT', - self::SQUARE_MARKETING_IMAGE => 'SQUARE_MARKETING_IMAGE', - self::PORTRAIT_MARKETING_IMAGE => 'PORTRAIT_MARKETING_IMAGE', - self::LOGO => 'LOGO', - self::LANDSCAPE_LOGO => 'LANDSCAPE_LOGO', - self::CALL_TO_ACTION => 'CALL_TO_ACTION', - self::YOU_TUBE_VIDEO => 'YOU_TUBE_VIDEO', - self::SITELINK => 'SITELINK', - self::CALL => 'CALL', - self::MOBILE_APP => 'MOBILE_APP', - self::CALLOUT => 'CALLOUT', - self::STRUCTURED_SNIPPET => 'STRUCTURED_SNIPPET', - self::PRICE => 'PRICE', - self::PROMOTION => 'PROMOTION', - self::AD_IMAGE => 'AD_IMAGE', - self::LEAD_FORM => 'LEAD_FORM', - self::BUSINESS_LOGO => 'BUSINESS_LOGO', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ServedAssetFieldType::class, \Google\Ads\GoogleAds\V15\Enums\ServedAssetFieldTypeEnum_ServedAssetFieldType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SharedSetStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SharedSetStatusEnum.php deleted file mode 100644 index 58582b192..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SharedSetStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SharedSetStatusEnum - */ -class SharedSetStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SharedSetStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SharedSetStatusEnum/SharedSetStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/SharedSetStatusEnum/SharedSetStatus.php deleted file mode 100644 index 0b3af7fc0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SharedSetStatusEnum/SharedSetStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.SharedSetStatusEnum.SharedSetStatus - */ -class SharedSetStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The shared set is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The shared set is removed and can no longer be used. - * - * Generated from protobuf enum REMOVED = 3; - */ - const REMOVED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SharedSetStatus::class, \Google\Ads\GoogleAds\V15\Enums\SharedSetStatusEnum_SharedSetStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SharedSetTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SharedSetTypeEnum.php deleted file mode 100644 index aab8b33a6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SharedSetTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SharedSetTypeEnum - */ -class SharedSetTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SharedSetType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SharedSetTypeEnum/SharedSetType.php b/src/Google/Ads/GoogleAds/V15/Enums/SharedSetTypeEnum/SharedSetType.php deleted file mode 100644 index 802dd4b4d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SharedSetTypeEnum/SharedSetType.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.SharedSetTypeEnum.SharedSetType - */ -class SharedSetType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A set of keywords that can be excluded from targeting. - * - * Generated from protobuf enum NEGATIVE_KEYWORDS = 2; - */ - const NEGATIVE_KEYWORDS = 2; - /** - * A set of placements that can be excluded from targeting. - * - * Generated from protobuf enum NEGATIVE_PLACEMENTS = 3; - */ - const NEGATIVE_PLACEMENTS = 3; - /** - * An account-level set of keywords that can be excluded from targeting. - * - * Generated from protobuf enum ACCOUNT_LEVEL_NEGATIVE_KEYWORDS = 4; - */ - const ACCOUNT_LEVEL_NEGATIVE_KEYWORDS = 4; - /** - * A set of brands can be included or excluded from targeting. - * - * Generated from protobuf enum BRANDS = 5; - */ - const BRANDS = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NEGATIVE_KEYWORDS => 'NEGATIVE_KEYWORDS', - self::NEGATIVE_PLACEMENTS => 'NEGATIVE_PLACEMENTS', - self::ACCOUNT_LEVEL_NEGATIVE_KEYWORDS => 'ACCOUNT_LEVEL_NEGATIVE_KEYWORDS', - self::BRANDS => 'BRANDS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SharedSetType::class, \Google\Ads\GoogleAds\V15\Enums\SharedSetTypeEnum_SharedSetType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum.php deleted file mode 100644 index 03eccc0fb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ShoppingAddProductsToCampaignRecommendationEnum - */ -class ShoppingAddProductsToCampaignRecommendationEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ShoppingAddProductsToCampaignRecommendationEnum::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum/Reason.php b/src/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum/Reason.php deleted file mode 100644 index b315c757a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ShoppingAddProductsToCampaignRecommendationEnum/Reason.php +++ /dev/null @@ -1,88 +0,0 @@ -google.ads.googleads.v15.enums.ShoppingAddProductsToCampaignRecommendationEnum.Reason - */ -class Reason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The Merchant Center account does not have any submitted products. - * - * Generated from protobuf enum MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS = 2; - */ - const MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS = 2; - /** - * The Merchant Center account does not have any submitted products in the - * feed. - * - * Generated from protobuf enum MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS_IN_FEED = 3; - */ - const MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS_IN_FEED = 3; - /** - * The Google Ads account has active campaign filters that prevents - * inclusion of offers in the campaign. - * - * Generated from protobuf enum ADS_ACCOUNT_EXCLUDES_OFFERS_FROM_CAMPAIGN = 4; - */ - const ADS_ACCOUNT_EXCLUDES_OFFERS_FROM_CAMPAIGN = 4; - /** - * All products available have been explicitly excluded from - * being targeted by the campaign. - * - * Generated from protobuf enum ALL_PRODUCTS_ARE_EXCLUDED_FROM_CAMPAIGN = 5; - */ - const ALL_PRODUCTS_ARE_EXCLUDED_FROM_CAMPAIGN = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS => 'MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS', - self::MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS_IN_FEED => 'MERCHANT_CENTER_ACCOUNT_HAS_NO_SUBMITTED_PRODUCTS_IN_FEED', - self::ADS_ACCOUNT_EXCLUDES_OFFERS_FROM_CAMPAIGN => 'ADS_ACCOUNT_EXCLUDES_OFFERS_FROM_CAMPAIGN', - self::ALL_PRODUCTS_ARE_EXCLUDED_FROM_CAMPAIGN => 'ALL_PRODUCTS_ARE_EXCLUDED_FROM_CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Reason::class, \Google\Ads\GoogleAds\V15\Enums\ShoppingAddProductsToCampaignRecommendationEnum_Reason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethodEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethodEnum.php deleted file mode 100644 index db3bc483e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethodEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.SimulationModificationMethodEnum - */ -class SimulationModificationMethodEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SimulationModificationMethod::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethodEnum/SimulationModificationMethod.php b/src/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethodEnum/SimulationModificationMethod.php deleted file mode 100644 index 0863ce966..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SimulationModificationMethodEnum/SimulationModificationMethod.php +++ /dev/null @@ -1,87 +0,0 @@ -google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod - */ -class SimulationModificationMethod -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The values in a simulation were applied to all children of a given - * resource uniformly. Overrides on child resources were not respected. - * - * Generated from protobuf enum UNIFORM = 2; - */ - const UNIFORM = 2; - /** - * The values in a simulation were applied to the given resource. - * Overrides on child resources were respected, and traffic estimates - * do not include these resources. - * - * Generated from protobuf enum DEFAULT = 3; - */ - const PBDEFAULT = 3; - /** - * The values in a simulation were all scaled by the same factor. - * For example, in a simulated TargetCpa campaign, the campaign target and - * all ad group targets were scaled by a factor of X. - * - * Generated from protobuf enum SCALING = 4; - */ - const SCALING = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNIFORM => 'UNIFORM', - self::PBDEFAULT => 'DEFAULT', - self::SCALING => 'SCALING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SimulationModificationMethod::class, \Google\Ads\GoogleAds\V15\Enums\SimulationModificationMethodEnum_SimulationModificationMethod::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SimulationTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SimulationTypeEnum.php deleted file mode 100644 index 344c92b64..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SimulationTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SimulationTypeEnum - */ -class SimulationTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SimulationType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SimulationTypeEnum/SimulationType.php b/src/Google/Ads/GoogleAds/V15/Enums/SimulationTypeEnum/SimulationType.php deleted file mode 100644 index 991808bc7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SimulationTypeEnum/SimulationType.php +++ /dev/null @@ -1,113 +0,0 @@ -google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType - */ -class SimulationType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The simulation is for a CPC bid. - * - * Generated from protobuf enum CPC_BID = 2; - */ - const CPC_BID = 2; - /** - * The simulation is for a CPV bid. - * - * Generated from protobuf enum CPV_BID = 3; - */ - const CPV_BID = 3; - /** - * The simulation is for a CPA target. - * - * Generated from protobuf enum TARGET_CPA = 4; - */ - const TARGET_CPA = 4; - /** - * The simulation is for a bid modifier. - * - * Generated from protobuf enum BID_MODIFIER = 5; - */ - const BID_MODIFIER = 5; - /** - * The simulation is for a ROAS target. - * - * Generated from protobuf enum TARGET_ROAS = 6; - */ - const TARGET_ROAS = 6; - /** - * The simulation is for a percent CPC bid. - * - * Generated from protobuf enum PERCENT_CPC_BID = 7; - */ - const PERCENT_CPC_BID = 7; - /** - * The simulation is for an impression share target. - * - * Generated from protobuf enum TARGET_IMPRESSION_SHARE = 8; - */ - const TARGET_IMPRESSION_SHARE = 8; - /** - * The simulation is for a budget. - * - * Generated from protobuf enum BUDGET = 9; - */ - const BUDGET = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CPC_BID => 'CPC_BID', - self::CPV_BID => 'CPV_BID', - self::TARGET_CPA => 'TARGET_CPA', - self::BID_MODIFIER => 'BID_MODIFIER', - self::TARGET_ROAS => 'TARGET_ROAS', - self::PERCENT_CPC_BID => 'PERCENT_CPC_BID', - self::TARGET_IMPRESSION_SHARE => 'TARGET_IMPRESSION_SHARE', - self::BUDGET => 'BUDGET', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SimulationType::class, \Google\Ads\GoogleAds\V15\Enums\SimulationTypeEnum_SimulationType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderFieldEnum.php deleted file mode 100644 index 07a56128f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SitelinkPlaceholderFieldEnum - */ -class SitelinkPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SitelinkPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderFieldEnum/SitelinkPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderFieldEnum/SitelinkPlaceholderField.php deleted file mode 100644 index 7f5015ca7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SitelinkPlaceholderFieldEnum/SitelinkPlaceholderField.php +++ /dev/null @@ -1,110 +0,0 @@ -google.ads.googleads.v15.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderField - */ -class SitelinkPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. The link text for your sitelink. - * - * Generated from protobuf enum TEXT = 2; - */ - const TEXT = 2; - /** - * Data Type: STRING. First line of the sitelink description. - * - * Generated from protobuf enum LINE_1 = 3; - */ - const LINE_1 = 3; - /** - * Data Type: STRING. Second line of the sitelink description. - * - * Generated from protobuf enum LINE_2 = 4; - */ - const LINE_2 = 4; - /** - * Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_URLS = 5; - */ - const FINAL_URLS = 5; - /** - * Data Type: URL_LIST. Final Mobile URLs for the sitelink when using - * Upgraded URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 6; - */ - const FINAL_MOBILE_URLS = 6; - /** - * Data Type: URL. Tracking template for the sitelink when using Upgraded - * URLs. - * - * Generated from protobuf enum TRACKING_URL = 7; - */ - const TRACKING_URL = 7; - /** - * Data Type: STRING. Final URL suffix for sitelink when using parallel - * tracking. - * - * Generated from protobuf enum FINAL_URL_SUFFIX = 8; - */ - const FINAL_URL_SUFFIX = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TEXT => 'TEXT', - self::LINE_1 => 'LINE_1', - self::LINE_2 => 'LINE_2', - self::FINAL_URLS => 'FINAL_URLS', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::FINAL_URL_SUFFIX => 'FINAL_URL_SUFFIX', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SitelinkPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\SitelinkPlaceholderFieldEnum_SitelinkPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventTypeEnum.php deleted file mode 100644 index b5df6d733..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkAdEventTypeEnum - */ -class SkAdNetworkAdEventTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SkAdNetworkAdEventType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventTypeEnum/SkAdNetworkAdEventType.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventTypeEnum/SkAdNetworkAdEventType.php deleted file mode 100644 index 0ba81aefd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAdEventTypeEnum/SkAdNetworkAdEventType.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType - */ -class SkAdNetworkAdEventType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The value was not present in the postback or we do not have this data for - * other reasons. - * - * Generated from protobuf enum UNAVAILABLE = 2; - */ - const UNAVAILABLE = 2; - /** - * The user interacted with the ad. - * - * Generated from protobuf enum INTERACTION = 3; - */ - const INTERACTION = 3; - /** - * The user viewed the ad. - * - * Generated from protobuf enum VIEW = 4; - */ - const VIEW = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNAVAILABLE => 'UNAVAILABLE', - self::INTERACTION => 'INTERACTION', - self::VIEW => 'VIEW', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SkAdNetworkAdEventType::class, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkAdEventTypeEnum_SkAdNetworkAdEventType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCreditEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCreditEnum.php deleted file mode 100644 index 5d2b3cc0c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCreditEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkAttributionCreditEnum - */ -class SkAdNetworkAttributionCreditEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SkAdNetworkAttributionCredit::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCreditEnum/SkAdNetworkAttributionCredit.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCreditEnum/SkAdNetworkAttributionCredit.php deleted file mode 100644 index 6b4e82d7f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkAttributionCreditEnum/SkAdNetworkAttributionCredit.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit - */ -class SkAdNetworkAttributionCredit -{ - /** - * Default value. This value is equivalent to null. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this API version. The true enum value cannot be - * returned in this API version or is not supported yet. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The value was not present in the postback or we do not have this data for - * other reasons. - * - * Generated from protobuf enum UNAVAILABLE = 2; - */ - const UNAVAILABLE = 2; - /** - * Google was the ad network that won ad attribution. - * - * Generated from protobuf enum WON = 3; - */ - const WON = 3; - /** - * Google qualified for attribution, but didn't win. - * - * Generated from protobuf enum CONTRIBUTED = 4; - */ - const CONTRIBUTED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNAVAILABLE => 'UNAVAILABLE', - self::WON => 'WON', - self::CONTRIBUTED => 'CONTRIBUTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SkAdNetworkAttributionCredit::class, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkAttributionCreditEnum_SkAdNetworkAttributionCredit::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValueEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValueEnum.php deleted file mode 100644 index e540beadc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValueEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkCoarseConversionValueEnum - */ -class SkAdNetworkCoarseConversionValueEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SkAdNetworkCoarseConversionValue::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValueEnum/SkAdNetworkCoarseConversionValue.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValueEnum/SkAdNetworkCoarseConversionValue.php deleted file mode 100644 index e58841871..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkCoarseConversionValueEnum/SkAdNetworkCoarseConversionValue.php +++ /dev/null @@ -1,93 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkCoarseConversionValueEnum.SkAdNetworkCoarseConversionValue - */ -class SkAdNetworkCoarseConversionValue -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The value was not present in the postback or we do not have this data for - * other reasons. - * - * Generated from protobuf enum UNAVAILABLE = 2; - */ - const UNAVAILABLE = 2; - /** - * A low coarse conversion value. - * - * Generated from protobuf enum LOW = 3; - */ - const LOW = 3; - /** - * A medium coarse conversion value. - * - * Generated from protobuf enum MEDIUM = 4; - */ - const MEDIUM = 4; - /** - * A high coarse conversion value. - * - * Generated from protobuf enum HIGH = 5; - */ - const HIGH = 5; - /** - * A coarse conversion value was not configured. - * - * Generated from protobuf enum NONE = 6; - */ - const NONE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNAVAILABLE => 'UNAVAILABLE', - self::LOW => 'LOW', - self::MEDIUM => 'MEDIUM', - self::HIGH => 'HIGH', - self::NONE => 'NONE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SkAdNetworkCoarseConversionValue::class, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkCoarseConversionValueEnum_SkAdNetworkCoarseConversionValue::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceTypeEnum.php deleted file mode 100644 index 67b1c6688..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkSourceTypeEnum - */ -class SkAdNetworkSourceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SkAdNetworkSourceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceTypeEnum/SkAdNetworkSourceType.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceTypeEnum/SkAdNetworkSourceType.php deleted file mode 100644 index c93b84cb7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkSourceTypeEnum/SkAdNetworkSourceType.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkSourceTypeEnum.SkAdNetworkSourceType - */ -class SkAdNetworkSourceType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The source app ID or source domain was not present in the postback or we - * do not have this data for other reasons. - * - * Generated from protobuf enum UNAVAILABLE = 2; - */ - const UNAVAILABLE = 2; - /** - * The ad was shown on a webpage. - * - * Generated from protobuf enum WEBSITE = 3; - */ - const WEBSITE = 3; - /** - * The ad was shown on an app. - * - * Generated from protobuf enum MOBILE_APPLICATION = 4; - */ - const MOBILE_APPLICATION = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNAVAILABLE => 'UNAVAILABLE', - self::WEBSITE => 'WEBSITE', - self::MOBILE_APPLICATION => 'MOBILE_APPLICATION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SkAdNetworkSourceType::class, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkSourceTypeEnum_SkAdNetworkSourceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserTypeEnum.php deleted file mode 100644 index e8a06d48f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkUserTypeEnum - */ -class SkAdNetworkUserTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SkAdNetworkUserType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserTypeEnum/SkAdNetworkUserType.php b/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserTypeEnum/SkAdNetworkUserType.php deleted file mode 100644 index 6fa240039..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SkAdNetworkUserTypeEnum/SkAdNetworkUserType.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType - */ -class SkAdNetworkUserType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The value was not present in the postback or we do not have this data for - * other reasons. - * - * Generated from protobuf enum UNAVAILABLE = 2; - */ - const UNAVAILABLE = 2; - /** - * The user installed the app for the first time. - * - * Generated from protobuf enum NEW_INSTALLER = 3; - */ - const NEW_INSTALLER = 3; - /** - * The user has previously installed the app. - * - * Generated from protobuf enum REINSTALLER = 4; - */ - const REINSTALLER = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNAVAILABLE => 'UNAVAILABLE', - self::NEW_INSTALLER => 'NEW_INSTALLER', - self::REINSTALLER => 'REINSTALLER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SkAdNetworkUserType::class, \Google\Ads\GoogleAds\V15\Enums\SkAdNetworkUserTypeEnum_SkAdNetworkUserType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SlotEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SlotEnum.php deleted file mode 100644 index ad5b475f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SlotEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SlotEnum - */ -class SlotEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\Slot::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SlotEnum/Slot.php b/src/Google/Ads/GoogleAds/V15/Enums/SlotEnum/Slot.php deleted file mode 100644 index 1f172fe5b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SlotEnum/Slot.php +++ /dev/null @@ -1,106 +0,0 @@ -google.ads.googleads.v15.enums.SlotEnum.Slot - */ -class Slot -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The value is unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Google search: Side. - * - * Generated from protobuf enum SEARCH_SIDE = 2; - */ - const SEARCH_SIDE = 2; - /** - * Google search: Top. - * - * Generated from protobuf enum SEARCH_TOP = 3; - */ - const SEARCH_TOP = 3; - /** - * Google search: Other. - * - * Generated from protobuf enum SEARCH_OTHER = 4; - */ - const SEARCH_OTHER = 4; - /** - * Google Display Network. - * - * Generated from protobuf enum CONTENT = 5; - */ - const CONTENT = 5; - /** - * Search partners: Top. - * - * Generated from protobuf enum SEARCH_PARTNER_TOP = 6; - */ - const SEARCH_PARTNER_TOP = 6; - /** - * Search partners: Other. - * - * Generated from protobuf enum SEARCH_PARTNER_OTHER = 7; - */ - const SEARCH_PARTNER_OTHER = 7; - /** - * Cross-network. - * - * Generated from protobuf enum MIXED = 8; - */ - const MIXED = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SEARCH_SIDE => 'SEARCH_SIDE', - self::SEARCH_TOP => 'SEARCH_TOP', - self::SEARCH_OTHER => 'SEARCH_OTHER', - self::CONTENT => 'CONTENT', - self::SEARCH_PARTNER_TOP => 'SEARCH_PARTNER_TOP', - self::SEARCH_PARTNER_OTHER => 'SEARCH_PARTNER_OTHER', - self::MIXED => 'MIXED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Slot::class, \Google\Ads\GoogleAds\V15\Enums\SlotEnum_Slot::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReasonEnum.php deleted file mode 100644 index e4e090dbe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReasonEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.SmartCampaignNotEligibleReasonEnum - */ -class SmartCampaignNotEligibleReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SmartCampaignNotEligibleReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReasonEnum/SmartCampaignNotEligibleReason.php b/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReasonEnum/SmartCampaignNotEligibleReason.php deleted file mode 100644 index 760251696..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignNotEligibleReasonEnum/SmartCampaignNotEligibleReason.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.enums.SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason - */ -class SmartCampaignNotEligibleReason -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign is not eligible to serve because of an issue with the - * account. - * - * Generated from protobuf enum ACCOUNT_ISSUE = 2; - */ - const ACCOUNT_ISSUE = 2; - /** - * The campaign is not eligible to serve because of a payment issue. - * - * Generated from protobuf enum BILLING_ISSUE = 3; - */ - const BILLING_ISSUE = 3; - /** - * The business profile location associated with the campaign has been - * removed. - * - * Generated from protobuf enum BUSINESS_PROFILE_LOCATION_REMOVED = 4; - */ - const BUSINESS_PROFILE_LOCATION_REMOVED = 4; - /** - * All system-generated ads have been disapproved. Consult the - * policy_summary field in the AdGroupAd resource for more details. - * - * Generated from protobuf enum ALL_ADS_DISAPPROVED = 5; - */ - const ALL_ADS_DISAPPROVED = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ACCOUNT_ISSUE => 'ACCOUNT_ISSUE', - self::BILLING_ISSUE => 'BILLING_ISSUE', - self::BUSINESS_PROFILE_LOCATION_REMOVED => 'BUSINESS_PROFILE_LOCATION_REMOVED', - self::ALL_ADS_DISAPPROVED => 'ALL_ADS_DISAPPROVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SmartCampaignNotEligibleReason::class, \Google\Ads\GoogleAds\V15\Enums\SmartCampaignNotEligibleReasonEnum_SmartCampaignNotEligibleReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatusEnum.php deleted file mode 100644 index 4a9a177eb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SmartCampaignStatusEnum - */ -class SmartCampaignStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SmartCampaignStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatusEnum/SmartCampaignStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatusEnum/SmartCampaignStatus.php deleted file mode 100644 index 4f434686b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SmartCampaignStatusEnum/SmartCampaignStatus.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.enums.SmartCampaignStatusEnum.SmartCampaignStatus - */ -class SmartCampaignStatus -{ - /** - * The status has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign was paused. - * - * Generated from protobuf enum PAUSED = 2; - */ - const PAUSED = 2; - /** - * The campaign is not eligible to serve and has issues that may require - * intervention. - * - * Generated from protobuf enum NOT_ELIGIBLE = 3; - */ - const NOT_ELIGIBLE = 3; - /** - * The campaign is pending the approval of at least one ad. - * - * Generated from protobuf enum PENDING = 4; - */ - const PENDING = 4; - /** - * The campaign is eligible to serve. - * - * Generated from protobuf enum ELIGIBLE = 5; - */ - const ELIGIBLE = 5; - /** - * The campaign has been removed. - * - * Generated from protobuf enum REMOVED = 6; - */ - const REMOVED = 6; - /** - * The campaign has ended. - * - * Generated from protobuf enum ENDED = 7; - */ - const ENDED = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PAUSED => 'PAUSED', - self::NOT_ELIGIBLE => 'NOT_ELIGIBLE', - self::PENDING => 'PENDING', - self::ELIGIBLE => 'ELIGIBLE', - self::REMOVED => 'REMOVED', - self::ENDED => 'ENDED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SmartCampaignStatus::class, \Google\Ads\GoogleAds\V15\Enums\SmartCampaignStatusEnum_SmartCampaignStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SpendingLimitTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SpendingLimitTypeEnum.php deleted file mode 100644 index 911efceb1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SpendingLimitTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SpendingLimitTypeEnum - */ -class SpendingLimitTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SpendingLimitType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SpendingLimitTypeEnum/SpendingLimitType.php b/src/Google/Ads/GoogleAds/V15/Enums/SpendingLimitTypeEnum/SpendingLimitType.php deleted file mode 100644 index beb52a86b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SpendingLimitTypeEnum/SpendingLimitType.php +++ /dev/null @@ -1,65 +0,0 @@ -google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType - */ -class SpendingLimitType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Infinite, indicates unlimited spending power. - * - * Generated from protobuf enum INFINITE = 2; - */ - const INFINITE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INFINITE => 'INFINITE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SpendingLimitType::class, \Google\Ads\GoogleAds\V15\Enums\SpendingLimitTypeEnum_SpendingLimitType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderFieldEnum.php deleted file mode 100644 index 750811074..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderFieldEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.StructuredSnippetPlaceholderFieldEnum - */ -class StructuredSnippetPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\StructuredSnippetPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderFieldEnum/StructuredSnippetPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderFieldEnum/StructuredSnippetPlaceholderField.php deleted file mode 100644 index c3f9e6dc5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/StructuredSnippetPlaceholderFieldEnum/StructuredSnippetPlaceholderField.php +++ /dev/null @@ -1,76 +0,0 @@ -google.ads.googleads.v15.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderField - */ -class StructuredSnippetPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. The category of snippet of your products/services. - * Must match exactly one of the predefined structured snippets headers. - * For a list, visit - * https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - * - * Generated from protobuf enum HEADER = 2; - */ - const HEADER = 2; - /** - * Data Type: STRING_LIST. Text values that describe your products/services. - * All text must be family safe. Special or non-ASCII characters are not - * permitted. A snippet can be at most 25 characters. - * - * Generated from protobuf enum SNIPPETS = 3; - */ - const SNIPPETS = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::HEADER => 'HEADER', - self::SNIPPETS => 'SNIPPETS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(StructuredSnippetPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\StructuredSnippetPlaceholderFieldEnum_StructuredSnippetPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SummaryRowSettingEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SummaryRowSettingEnum.php deleted file mode 100644 index dfc09276a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SummaryRowSettingEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SummaryRowSettingEnum - */ -class SummaryRowSettingEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SummaryRowSetting::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SummaryRowSettingEnum/SummaryRowSetting.php b/src/Google/Ads/GoogleAds/V15/Enums/SummaryRowSettingEnum/SummaryRowSetting.php deleted file mode 100644 index af5295d9d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SummaryRowSettingEnum/SummaryRowSetting.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.enums.SummaryRowSettingEnum.SummaryRowSetting - */ -class SummaryRowSetting -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Represent unknown values of return summary row. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Do not return summary row. - * - * Generated from protobuf enum NO_SUMMARY_ROW = 2; - */ - const NO_SUMMARY_ROW = 2; - /** - * Return summary row along with results. The summary row will be returned - * in the last batch alone (last batch will contain no results). - * - * Generated from protobuf enum SUMMARY_ROW_WITH_RESULTS = 3; - */ - const SUMMARY_ROW_WITH_RESULTS = 3; - /** - * Return summary row only and return no results. - * - * Generated from protobuf enum SUMMARY_ROW_ONLY = 4; - */ - const SUMMARY_ROW_ONLY = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NO_SUMMARY_ROW => 'NO_SUMMARY_ROW', - self::SUMMARY_ROW_WITH_RESULTS => 'SUMMARY_ROW_WITH_RESULTS', - self::SUMMARY_ROW_ONLY => 'SUMMARY_ROW_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SummaryRowSetting::class, \Google\Ads\GoogleAds\V15\Enums\SummaryRowSettingEnum_SummaryRowSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SystemManagedResourceSourceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/SystemManagedResourceSourceEnum.php deleted file mode 100644 index 3e5aeefdf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SystemManagedResourceSourceEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.SystemManagedResourceSourceEnum - */ -class SystemManagedResourceSourceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\SystemManagedEntitySource::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/SystemManagedResourceSourceEnum/SystemManagedResourceSource.php b/src/Google/Ads/GoogleAds/V15/Enums/SystemManagedResourceSourceEnum/SystemManagedResourceSource.php deleted file mode 100644 index 3c66ad02f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/SystemManagedResourceSourceEnum/SystemManagedResourceSource.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource - */ -class SystemManagedResourceSource -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Generated ad variations experiment ad. - * - * Generated from protobuf enum AD_VARIATIONS = 2; - */ - const AD_VARIATIONS = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_VARIATIONS => 'AD_VARIATIONS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SystemManagedResourceSource::class, \Google\Ads\GoogleAds\V15\Enums\SystemManagedResourceSourceEnum_SystemManagedResourceSource::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoalEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoalEnum.php deleted file mode 100644 index fffe1e08f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoalEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.TargetCpaOptInRecommendationGoalEnum - */ -class TargetCpaOptInRecommendationGoalEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\TargetCpaOptInRecommendationGoal::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoalEnum/TargetCpaOptInRecommendationGoal.php b/src/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoalEnum/TargetCpaOptInRecommendationGoal.php deleted file mode 100644 index de5d690d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TargetCpaOptInRecommendationGoalEnum/TargetCpaOptInRecommendationGoal.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal - */ -class TargetCpaOptInRecommendationGoal -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Recommendation to set Target CPA to maintain the same cost. - * - * Generated from protobuf enum SAME_COST = 2; - */ - const SAME_COST = 2; - /** - * Recommendation to set Target CPA to maintain the same conversions. - * - * Generated from protobuf enum SAME_CONVERSIONS = 3; - */ - const SAME_CONVERSIONS = 3; - /** - * Recommendation to set Target CPA to maintain the same CPA. - * - * Generated from protobuf enum SAME_CPA = 4; - */ - const SAME_CPA = 4; - /** - * Recommendation to set Target CPA to a value that is as close as possible - * to, yet lower than, the actual CPA (computed for past 28 days). - * - * Generated from protobuf enum CLOSEST_CPA = 5; - */ - const CLOSEST_CPA = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SAME_COST => 'SAME_COST', - self::SAME_CONVERSIONS => 'SAME_CONVERSIONS', - self::SAME_CPA => 'SAME_CPA', - self::CLOSEST_CPA => 'CLOSEST_CPA', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetCpaOptInRecommendationGoal::class, \Google\Ads\GoogleAds\V15\Enums\TargetCpaOptInRecommendationGoalEnum_TargetCpaOptInRecommendationGoal::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnitEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnitEnum.php deleted file mode 100644 index d2764e2ab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnitEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.TargetFrequencyTimeUnitEnum - */ -class TargetFrequencyTimeUnitEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\TargetFrequencyTimeUnit::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnitEnum/TargetFrequencyTimeUnit.php b/src/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnitEnum/TargetFrequencyTimeUnit.php deleted file mode 100644 index 48475855e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TargetFrequencyTimeUnitEnum/TargetFrequencyTimeUnit.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit - */ -class TargetFrequencyTimeUnit -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Optimize bidding to reach Target Frequency in a week. - * - * Generated from protobuf enum WEEKLY = 2; - */ - const WEEKLY = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::WEEKLY => 'WEEKLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetFrequencyTimeUnit::class, \Google\Ads\GoogleAds\V15\Enums\TargetFrequencyTimeUnitEnum_TargetFrequencyTimeUnit::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocationEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocationEnum.php deleted file mode 100644 index e75c6b284..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocationEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum - */ -class TargetImpressionShareLocationEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\TargetImpressionShareLocation::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocationEnum/TargetImpressionShareLocation.php b/src/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocationEnum/TargetImpressionShareLocation.php deleted file mode 100644 index 1b3337943..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TargetImpressionShareLocationEnum/TargetImpressionShareLocation.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation - */ -class TargetImpressionShareLocation -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Any location on the web page. - * - * Generated from protobuf enum ANYWHERE_ON_PAGE = 2; - */ - const ANYWHERE_ON_PAGE = 2; - /** - * Top box of ads. - * - * Generated from protobuf enum TOP_OF_PAGE = 3; - */ - const TOP_OF_PAGE = 3; - /** - * Top slot in the top box of ads. - * - * Generated from protobuf enum ABSOLUTE_TOP_OF_PAGE = 4; - */ - const ABSOLUTE_TOP_OF_PAGE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ANYWHERE_ON_PAGE => 'ANYWHERE_ON_PAGE', - self::TOP_OF_PAGE => 'TOP_OF_PAGE', - self::ABSOLUTE_TOP_OF_PAGE => 'ABSOLUTE_TOP_OF_PAGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetImpressionShareLocation::class, \Google\Ads\GoogleAds\V15\Enums\TargetImpressionShareLocationEnum_TargetImpressionShareLocation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TargetingDimensionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/TargetingDimensionEnum.php deleted file mode 100644 index ae5aa2060..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TargetingDimensionEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.TargetingDimensionEnum - */ -class TargetingDimensionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\TargetingDimension::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TargetingDimensionEnum/TargetingDimension.php b/src/Google/Ads/GoogleAds/V15/Enums/TargetingDimensionEnum/TargetingDimension.php deleted file mode 100644 index 06794c932..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TargetingDimensionEnum/TargetingDimension.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension - */ -class TargetingDimension -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a - * custom bid dimension. Keywords are always a targeting dimension, so may - * not be set as a target "ALL" dimension with TargetRestriction. - * - * Generated from protobuf enum KEYWORD = 2; - */ - const KEYWORD = 2; - /** - * Audience criteria, which include user list, user interest, custom - * affinity, and custom in market. - * - * Generated from protobuf enum AUDIENCE = 3; - */ - const AUDIENCE = 3; - /** - * Topic criteria for targeting categories of content, for example, - * 'category::Animals>Pets' Used for Display and Video targeting. - * - * Generated from protobuf enum TOPIC = 4; - */ - const TOPIC = 4; - /** - * Criteria for targeting gender. - * - * Generated from protobuf enum GENDER = 5; - */ - const GENDER = 5; - /** - * Criteria for targeting age ranges. - * - * Generated from protobuf enum AGE_RANGE = 6; - */ - const AGE_RANGE = 6; - /** - * Placement criteria, which include websites like 'www.flowers4sale.com', - * as well as mobile applications, mobile app categories, YouTube videos, - * and YouTube channels. - * - * Generated from protobuf enum PLACEMENT = 7; - */ - const PLACEMENT = 7; - /** - * Criteria for parental status targeting. - * - * Generated from protobuf enum PARENTAL_STATUS = 8; - */ - const PARENTAL_STATUS = 8; - /** - * Criteria for income range targeting. - * - * Generated from protobuf enum INCOME_RANGE = 9; - */ - const INCOME_RANGE = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::KEYWORD => 'KEYWORD', - self::AUDIENCE => 'AUDIENCE', - self::TOPIC => 'TOPIC', - self::GENDER => 'GENDER', - self::AGE_RANGE => 'AGE_RANGE', - self::PLACEMENT => 'PLACEMENT', - self::PARENTAL_STATUS => 'PARENTAL_STATUS', - self::INCOME_RANGE => 'INCOME_RANGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetingDimension::class, \Google\Ads\GoogleAds\V15\Enums\TargetingDimensionEnum_TargetingDimension::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TimeTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/TimeTypeEnum.php deleted file mode 100644 index 1cc1b33fc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TimeTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.TimeTypeEnum - */ -class TimeTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\TimeType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TimeTypeEnum/TimeType.php b/src/Google/Ads/GoogleAds/V15/Enums/TimeTypeEnum/TimeType.php deleted file mode 100644 index be83a7931..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TimeTypeEnum/TimeType.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.TimeTypeEnum.TimeType - */ -class TimeType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * As soon as possible. - * - * Generated from protobuf enum NOW = 2; - */ - const NOW = 2; - /** - * An infinite point in the future. - * - * Generated from protobuf enum FOREVER = 3; - */ - const FOREVER = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NOW => 'NOW', - self::FOREVER => 'FOREVER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TimeType::class, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum_TimeType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormatEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormatEnum.php deleted file mode 100644 index 19a8a4706..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormatEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.TrackingCodePageFormatEnum - */ -class TrackingCodePageFormatEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\TrackingCodePageFormat::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormatEnum/TrackingCodePageFormat.php b/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormatEnum/TrackingCodePageFormat.php deleted file mode 100644 index 3321cac7b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodePageFormatEnum/TrackingCodePageFormat.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat - */ -class TrackingCodePageFormat -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Standard HTML page format. - * - * Generated from protobuf enum HTML = 2; - */ - const HTML = 2; - /** - * Google AMP page format. - * - * Generated from protobuf enum AMP = 3; - */ - const AMP = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::HTML => 'HTML', - self::AMP => 'AMP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TrackingCodePageFormat::class, \Google\Ads\GoogleAds\V15\Enums\TrackingCodePageFormatEnum_TrackingCodePageFormat::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodeTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodeTypeEnum.php deleted file mode 100644 index 2546d13bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodeTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.TrackingCodeTypeEnum - */ -class TrackingCodeTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\TrackingCodeType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodeTypeEnum/TrackingCodeType.php b/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodeTypeEnum/TrackingCodeType.php deleted file mode 100644 index be90b449b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TrackingCodeTypeEnum/TrackingCodeType.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.enums.TrackingCodeTypeEnum.TrackingCodeType - */ -class TrackingCodeType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The snippet that is fired as a result of a website page loading. - * - * Generated from protobuf enum WEBPAGE = 2; - */ - const WEBPAGE = 2; - /** - * The snippet contains a JavaScript function which fires the tag. This - * function is typically called from an onClick handler added to a link or - * button element on the page. - * - * Generated from protobuf enum WEBPAGE_ONCLICK = 3; - */ - const WEBPAGE_ONCLICK = 3; - /** - * For embedding on a mobile webpage. The snippet contains a JavaScript - * function which fires the tag. - * - * Generated from protobuf enum CLICK_TO_CALL = 4; - */ - const CLICK_TO_CALL = 4; - /** - * The snippet that is used to replace the phone number on your website with - * a Google forwarding number for call tracking purposes. - * - * Generated from protobuf enum WEBSITE_CALL = 5; - */ - const WEBSITE_CALL = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::WEBPAGE => 'WEBPAGE', - self::WEBPAGE_ONCLICK => 'WEBPAGE_ONCLICK', - self::CLICK_TO_CALL => 'CLICK_TO_CALL', - self::WEBSITE_CALL => 'WEBSITE_CALL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TrackingCodeType::class, \Google\Ads\GoogleAds\V15\Enums\TrackingCodeTypeEnum_TrackingCodeType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderFieldEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderFieldEnum.php deleted file mode 100644 index 79aef289e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderFieldEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.TravelPlaceholderFieldEnum - */ -class TravelPlaceholderFieldEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\TravelPlaceholderField::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderFieldEnum/TravelPlaceholderField.php b/src/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderFieldEnum/TravelPlaceholderField.php deleted file mode 100644 index dfdec5e6b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/TravelPlaceholderFieldEnum/TravelPlaceholderField.php +++ /dev/null @@ -1,219 +0,0 @@ -google.ads.googleads.v15.enums.TravelPlaceholderFieldEnum.TravelPlaceholderField - */ -class TravelPlaceholderField -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Data Type: STRING. Required. Destination id. Example: PAR, LON. - * For feed items that only have destination id, destination id must be a - * unique key. For feed items that have both destination id and origin id, - * then the combination must be a unique key. - * - * Generated from protobuf enum DESTINATION_ID = 2; - */ - const DESTINATION_ID = 2; - /** - * Data Type: STRING. Origin id. Example: PAR, LON. - * Combination of DESTINATION_ID and ORIGIN_ID must be - * unique per offer. - * - * Generated from protobuf enum ORIGIN_ID = 3; - */ - const ORIGIN_ID = 3; - /** - * Data Type: STRING. Required. Main headline with name to be shown in - * dynamic ad. - * - * Generated from protobuf enum TITLE = 4; - */ - const TITLE = 4; - /** - * Data Type: STRING. The destination name. Shorter names are recommended. - * - * Generated from protobuf enum DESTINATION_NAME = 5; - */ - const DESTINATION_NAME = 5; - /** - * Data Type: STRING. Origin name. Shorter names are recommended. - * - * Generated from protobuf enum ORIGIN_NAME = 6; - */ - const ORIGIN_NAME = 6; - /** - * Data Type: STRING. Price to be shown in the ad. Highly recommended for - * dynamic ads. - * Example: "100.00 USD" - * - * Generated from protobuf enum PRICE = 7; - */ - const PRICE = 7; - /** - * Data Type: STRING. Formatted price to be shown in the ad. - * Example: "Starting at $100.00 USD", "$80 - $100" - * - * Generated from protobuf enum FORMATTED_PRICE = 8; - */ - const FORMATTED_PRICE = 8; - /** - * Data Type: STRING. Sale price to be shown in the ad. - * Example: "80.00 USD" - * - * Generated from protobuf enum SALE_PRICE = 9; - */ - const SALE_PRICE = 9; - /** - * Data Type: STRING. Formatted sale price to be shown in the ad. - * Example: "On sale for $80.00", "$60 - $80" - * - * Generated from protobuf enum FORMATTED_SALE_PRICE = 10; - */ - const FORMATTED_SALE_PRICE = 10; - /** - * Data Type: URL. Image to be displayed in the ad. - * - * Generated from protobuf enum IMAGE_URL = 11; - */ - const IMAGE_URL = 11; - /** - * Data Type: STRING. Category of travel offer used to group like items - * together for recommendation engine. - * - * Generated from protobuf enum CATEGORY = 12; - */ - const CATEGORY = 12; - /** - * Data Type: STRING_LIST. Keywords used for product retrieval. - * - * Generated from protobuf enum CONTEXTUAL_KEYWORDS = 13; - */ - const CONTEXTUAL_KEYWORDS = 13; - /** - * Data Type: STRING. Address of travel offer, including postal code. - * - * Generated from protobuf enum DESTINATION_ADDRESS = 14; - */ - const DESTINATION_ADDRESS = 14; - /** - * Data Type: URL_LIST. Required. Final URLs to be used in ad, when using - * Upgraded URLs; the more specific the better (for example, the individual - * URL of a specific travel offer and its location). - * - * Generated from protobuf enum FINAL_URL = 15; - */ - const FINAL_URL = 15; - /** - * Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - * URLs. - * - * Generated from protobuf enum FINAL_MOBILE_URLS = 16; - */ - const FINAL_MOBILE_URLS = 16; - /** - * Data Type: URL. Tracking template for the ad when using Upgraded URLs. - * - * Generated from protobuf enum TRACKING_URL = 17; - */ - const TRACKING_URL = 17; - /** - * Data Type: STRING. Android app link. Must be formatted as: - * android-app://{package_id}/{scheme}/{host_path}. - * The components are defined as follows: - * package_id: app ID as specified in Google Play. - * scheme: the scheme to pass to the application. Can be HTTP, or a custom - * scheme. - * host_path: identifies the specific content within your application. - * - * Generated from protobuf enum ANDROID_APP_LINK = 18; - */ - const ANDROID_APP_LINK = 18; - /** - * Data Type: STRING_LIST. List of recommended destination IDs to show - * together with this item. - * - * Generated from protobuf enum SIMILAR_DESTINATION_IDS = 19; - */ - const SIMILAR_DESTINATION_IDS = 19; - /** - * Data Type: STRING. iOS app link. - * - * Generated from protobuf enum IOS_APP_LINK = 20; - */ - const IOS_APP_LINK = 20; - /** - * Data Type: INT64. iOS app store ID. - * - * Generated from protobuf enum IOS_APP_STORE_ID = 21; - */ - const IOS_APP_STORE_ID = 21; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DESTINATION_ID => 'DESTINATION_ID', - self::ORIGIN_ID => 'ORIGIN_ID', - self::TITLE => 'TITLE', - self::DESTINATION_NAME => 'DESTINATION_NAME', - self::ORIGIN_NAME => 'ORIGIN_NAME', - self::PRICE => 'PRICE', - self::FORMATTED_PRICE => 'FORMATTED_PRICE', - self::SALE_PRICE => 'SALE_PRICE', - self::FORMATTED_SALE_PRICE => 'FORMATTED_SALE_PRICE', - self::IMAGE_URL => 'IMAGE_URL', - self::CATEGORY => 'CATEGORY', - self::CONTEXTUAL_KEYWORDS => 'CONTEXTUAL_KEYWORDS', - self::DESTINATION_ADDRESS => 'DESTINATION_ADDRESS', - self::FINAL_URL => 'FINAL_URL', - self::FINAL_MOBILE_URLS => 'FINAL_MOBILE_URLS', - self::TRACKING_URL => 'TRACKING_URL', - self::ANDROID_APP_LINK => 'ANDROID_APP_LINK', - self::SIMILAR_DESTINATION_IDS => 'SIMILAR_DESTINATION_IDS', - self::IOS_APP_LINK => 'IOS_APP_LINK', - self::IOS_APP_STORE_ID => 'IOS_APP_STORE_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TravelPlaceholderField::class, \Google\Ads\GoogleAds\V15\Enums\TravelPlaceholderFieldEnum_TravelPlaceholderField::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSourceEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSourceEnum.php deleted file mode 100644 index 75b57cc5a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSourceEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.UserIdentifierSourceEnum - */ -class UserIdentifierSourceEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserIdentifierSource::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSourceEnum/UserIdentifierSource.php b/src/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSourceEnum/UserIdentifierSource.php deleted file mode 100644 index 593c6cfac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserIdentifierSourceEnum/UserIdentifierSource.php +++ /dev/null @@ -1,74 +0,0 @@ -google.ads.googleads.v15.enums.UserIdentifierSourceEnum.UserIdentifierSource - */ -class UserIdentifierSource -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Indicates that the user identifier was provided by the first party - * (advertiser). - * - * Generated from protobuf enum FIRST_PARTY = 2; - */ - const FIRST_PARTY = 2; - /** - * Indicates that the user identifier was provided by the third party - * (partner). - * - * Generated from protobuf enum THIRD_PARTY = 3; - */ - const THIRD_PARTY = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FIRST_PARTY => 'FIRST_PARTY', - self::THIRD_PARTY => 'THIRD_PARTY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserIdentifierSource::class, \Google\Ads\GoogleAds\V15\Enums\UserIdentifierSourceEnum_UserIdentifierSource::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyTypeEnum.php deleted file mode 100644 index bc7088fa2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserInterestTaxonomyTypeEnum - */ -class UserInterestTaxonomyTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserInterestTaxonomyType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyTypeEnum/UserInterestTaxonomyType.php b/src/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyTypeEnum/UserInterestTaxonomyType.php deleted file mode 100644 index 383079de5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserInterestTaxonomyTypeEnum/UserInterestTaxonomyType.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType - */ -class UserInterestTaxonomyType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The affinity for this user interest. - * - * Generated from protobuf enum AFFINITY = 2; - */ - const AFFINITY = 2; - /** - * The market for this user interest. - * - * Generated from protobuf enum IN_MARKET = 3; - */ - const IN_MARKET = 3; - /** - * Users known to have installed applications in the specified categories. - * - * Generated from protobuf enum MOBILE_APP_INSTALL_USER = 4; - */ - const MOBILE_APP_INSTALL_USER = 4; - /** - * The geographical location of the interest-based vertical. - * - * Generated from protobuf enum VERTICAL_GEO = 5; - */ - const VERTICAL_GEO = 5; - /** - * User interest criteria for new smart phone users. - * - * Generated from protobuf enum NEW_SMART_PHONE_USER = 6; - */ - const NEW_SMART_PHONE_USER = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AFFINITY => 'AFFINITY', - self::IN_MARKET => 'IN_MARKET', - self::MOBILE_APP_INSTALL_USER => 'MOBILE_APP_INSTALL_USER', - self::VERTICAL_GEO => 'VERTICAL_GEO', - self::NEW_SMART_PHONE_USER => 'NEW_SMART_PHONE_USER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserInterestTaxonomyType::class, \Google\Ads\GoogleAds\V15\Enums\UserInterestTaxonomyTypeEnum_UserInterestTaxonomyType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatusEnum.php deleted file mode 100644 index 249dd9e12..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListAccessStatusEnum - */ -class UserListAccessStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListAccessStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatusEnum/UserListAccessStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatusEnum/UserListAccessStatus.php deleted file mode 100644 index 8868c03a7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListAccessStatusEnum/UserListAccessStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.UserListAccessStatusEnum.UserListAccessStatus - */ -class UserListAccessStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The access is enabled. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * The access is disabled. - * - * Generated from protobuf enum DISABLED = 3; - */ - const DISABLED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::DISABLED => 'DISABLED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListAccessStatus::class, \Google\Ads\GoogleAds\V15\Enums\UserListAccessStatusEnum_UserListAccessStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListClosingReasonEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListClosingReasonEnum.php deleted file mode 100644 index 8f8d29c4e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListClosingReasonEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.UserListClosingReasonEnum - */ -class UserListClosingReasonEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListClosingReason::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListClosingReasonEnum/UserListClosingReason.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListClosingReasonEnum/UserListClosingReason.php deleted file mode 100644 index 617eb3fe1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListClosingReasonEnum/UserListClosingReason.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.enums.UserListClosingReasonEnum.UserListClosingReason - */ -class UserListClosingReason -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The userlist was closed because of not being used for over one year. - * - * Generated from protobuf enum UNUSED = 2; - */ - const UNUSED = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNUSED => 'UNUSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListClosingReason::class, \Google\Ads\GoogleAds\V15\Enums\UserListClosingReasonEnum_UserListClosingReason::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceTypeEnum.php deleted file mode 100644 index 95bd66710..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListCrmDataSourceTypeEnum - */ -class UserListCrmDataSourceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListCrmDataSourceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceTypeEnum/UserListCrmDataSourceType.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceTypeEnum/UserListCrmDataSourceType.php deleted file mode 100644 index 39dcd99ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListCrmDataSourceTypeEnum/UserListCrmDataSourceType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType - */ -class UserListCrmDataSourceType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The uploaded data is first-party data. - * - * Generated from protobuf enum FIRST_PARTY = 2; - */ - const FIRST_PARTY = 2; - /** - * The uploaded data is from a third-party credit bureau. - * - * Generated from protobuf enum THIRD_PARTY_CREDIT_BUREAU = 3; - */ - const THIRD_PARTY_CREDIT_BUREAU = 3; - /** - * The uploaded data is from a third-party voter file. - * - * Generated from protobuf enum THIRD_PARTY_VOTER_FILE = 4; - */ - const THIRD_PARTY_VOTER_FILE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FIRST_PARTY => 'FIRST_PARTY', - self::THIRD_PARTY_CREDIT_BUREAU => 'THIRD_PARTY_CREDIT_BUREAU', - self::THIRD_PARTY_VOTER_FILE => 'THIRD_PARTY_VOTER_FILE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListCrmDataSourceType::class, \Google\Ads\GoogleAds\V15\Enums\UserListCrmDataSourceTypeEnum_UserListCrmDataSourceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperatorEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperatorEnum.php deleted file mode 100644 index 921f497a4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperatorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListDateRuleItemOperatorEnum - */ -class UserListDateRuleItemOperatorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListDateRuleItemOperator::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperatorEnum/UserListDateRuleItemOperator.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperatorEnum/UserListDateRuleItemOperator.php deleted file mode 100644 index 879f109f7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListDateRuleItemOperatorEnum/UserListDateRuleItemOperator.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator - */ -class UserListDateRuleItemOperator -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Equals. - * - * Generated from protobuf enum EQUALS = 2; - */ - const EQUALS = 2; - /** - * Not Equals. - * - * Generated from protobuf enum NOT_EQUALS = 3; - */ - const NOT_EQUALS = 3; - /** - * Before. - * - * Generated from protobuf enum BEFORE = 4; - */ - const BEFORE = 4; - /** - * After. - * - * Generated from protobuf enum AFTER = 5; - */ - const AFTER = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EQUALS => 'EQUALS', - self::NOT_EQUALS => 'NOT_EQUALS', - self::BEFORE => 'BEFORE', - self::AFTER => 'AFTER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListDateRuleItemOperator::class, \Google\Ads\GoogleAds\V15\Enums\UserListDateRuleItemOperatorEnum_UserListDateRuleItemOperator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperatorEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperatorEnum.php deleted file mode 100644 index efd27886d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperatorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListFlexibleRuleOperatorEnum - */ -class UserListFlexibleRuleOperatorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListFlexibleRuleOperator::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperatorEnum/UserListFlexibleRuleOperator.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperatorEnum/UserListFlexibleRuleOperator.php deleted file mode 100644 index ead42b090..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListFlexibleRuleOperatorEnum/UserListFlexibleRuleOperator.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator - */ -class UserListFlexibleRuleOperator -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A AND B. - * - * Generated from protobuf enum AND = 2; - */ - const PBAND = 2; - /** - * A OR B. - * - * Generated from protobuf enum OR = 3; - */ - const PBOR = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PBAND => 'AND', - self::PBOR => 'OR', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListFlexibleRuleOperator::class, \Google\Ads\GoogleAds\V15\Enums\UserListFlexibleRuleOperatorEnum_UserListFlexibleRuleOperator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperatorEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperatorEnum.php deleted file mode 100644 index 77e6cfca8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperatorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListLogicalRuleOperatorEnum - */ -class UserListLogicalRuleOperatorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListLogicalRuleOperator::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperatorEnum/UserListLogicalRuleOperator.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperatorEnum/UserListLogicalRuleOperator.php deleted file mode 100644 index 6dbeb3e40..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListLogicalRuleOperatorEnum/UserListLogicalRuleOperator.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator - */ -class UserListLogicalRuleOperator -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * And - all of the operands. - * - * Generated from protobuf enum ALL = 2; - */ - const ALL = 2; - /** - * Or - at least one of the operands. - * - * Generated from protobuf enum ANY = 3; - */ - const ANY = 3; - /** - * Not - none of the operands. - * - * Generated from protobuf enum NONE = 4; - */ - const NONE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ALL => 'ALL', - self::ANY => 'ANY', - self::NONE => 'NONE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListLogicalRuleOperator::class, \Google\Ads\GoogleAds\V15\Enums\UserListLogicalRuleOperatorEnum_UserListLogicalRuleOperator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatusEnum.php deleted file mode 100644 index 70b0298de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatusEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.UserListMembershipStatusEnum - */ -class UserListMembershipStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListMembershipStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatusEnum/UserListMembershipStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatusEnum/UserListMembershipStatus.php deleted file mode 100644 index c1ffb9925..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListMembershipStatusEnum/UserListMembershipStatus.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.UserListMembershipStatusEnum.UserListMembershipStatus - */ -class UserListMembershipStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Open status - List is accruing members and can be targeted to. - * - * Generated from protobuf enum OPEN = 2; - */ - const OPEN = 2; - /** - * Closed status - No new members being added. Cannot be used for targeting. - * - * Generated from protobuf enum CLOSED = 3; - */ - const CLOSED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPEN => 'OPEN', - self::CLOSED => 'CLOSED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListMembershipStatus::class, \Google\Ads\GoogleAds\V15\Enums\UserListMembershipStatusEnum_UserListMembershipStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperatorEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperatorEnum.php deleted file mode 100644 index 326411c79..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperatorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListNumberRuleItemOperatorEnum - */ -class UserListNumberRuleItemOperatorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListNumberRuleItemOperator::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperatorEnum/UserListNumberRuleItemOperator.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperatorEnum/UserListNumberRuleItemOperator.php deleted file mode 100644 index c7c948a46..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListNumberRuleItemOperatorEnum/UserListNumberRuleItemOperator.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator - */ -class UserListNumberRuleItemOperator -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Greater than. - * - * Generated from protobuf enum GREATER_THAN = 2; - */ - const GREATER_THAN = 2; - /** - * Greater than or equal. - * - * Generated from protobuf enum GREATER_THAN_OR_EQUAL = 3; - */ - const GREATER_THAN_OR_EQUAL = 3; - /** - * Equals. - * - * Generated from protobuf enum EQUALS = 4; - */ - const EQUALS = 4; - /** - * Not equals. - * - * Generated from protobuf enum NOT_EQUALS = 5; - */ - const NOT_EQUALS = 5; - /** - * Less than. - * - * Generated from protobuf enum LESS_THAN = 6; - */ - const LESS_THAN = 6; - /** - * Less than or equal. - * - * Generated from protobuf enum LESS_THAN_OR_EQUAL = 7; - */ - const LESS_THAN_OR_EQUAL = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::GREATER_THAN => 'GREATER_THAN', - self::GREATER_THAN_OR_EQUAL => 'GREATER_THAN_OR_EQUAL', - self::EQUALS => 'EQUALS', - self::NOT_EQUALS => 'NOT_EQUALS', - self::LESS_THAN => 'LESS_THAN', - self::LESS_THAN_OR_EQUAL => 'LESS_THAN_OR_EQUAL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListNumberRuleItemOperator::class, \Google\Ads\GoogleAds\V15\Enums\UserListNumberRuleItemOperatorEnum_UserListNumberRuleItemOperator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatusEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatusEnum.php deleted file mode 100644 index 7b9d4e852..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatusEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListPrepopulationStatusEnum - */ -class UserListPrepopulationStatusEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListPrepopulationStatus::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatusEnum/UserListPrepopulationStatus.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatusEnum/UserListPrepopulationStatus.php deleted file mode 100644 index 41a209665..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListPrepopulationStatusEnum/UserListPrepopulationStatus.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus - */ -class UserListPrepopulationStatus -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Prepopoulation is being requested. - * - * Generated from protobuf enum REQUESTED = 2; - */ - const REQUESTED = 2; - /** - * Prepopulation is finished. - * - * Generated from protobuf enum FINISHED = 3; - */ - const FINISHED = 3; - /** - * Prepopulation failed. - * - * Generated from protobuf enum FAILED = 4; - */ - const FAILED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::REQUESTED => 'REQUESTED', - self::FINISHED => 'FINISHED', - self::FAILED => 'FAILED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListPrepopulationStatus::class, \Google\Ads\GoogleAds\V15\Enums\UserListPrepopulationStatusEnum_UserListPrepopulationStatus::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListRuleTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListRuleTypeEnum.php deleted file mode 100644 index 4852cff33..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListRuleTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListRuleTypeEnum - */ -class UserListRuleTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListRuleType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListRuleTypeEnum/UserListRuleType.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListRuleTypeEnum/UserListRuleType.php deleted file mode 100644 index 4bfd8d21e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListRuleTypeEnum/UserListRuleType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.UserListRuleTypeEnum.UserListRuleType - */ -class UserListRuleType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Conjunctive normal form. - * - * Generated from protobuf enum AND_OF_ORS = 2; - */ - const AND_OF_ORS = 2; - /** - * Disjunctive normal form. - * - * Generated from protobuf enum OR_OF_ANDS = 3; - */ - const OR_OF_ANDS = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AND_OF_ORS => 'AND_OF_ORS', - self::OR_OF_ANDS => 'OR_OF_ANDS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListRuleType::class, \Google\Ads\GoogleAds\V15\Enums\UserListRuleTypeEnum_UserListRuleType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListSizeRangeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListSizeRangeEnum.php deleted file mode 100644 index 64b5070a1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListSizeRangeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListSizeRangeEnum - */ -class UserListSizeRangeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListSizeRange::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListSizeRangeEnum/UserListSizeRange.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListSizeRangeEnum/UserListSizeRange.php deleted file mode 100644 index b8a882ac4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListSizeRangeEnum/UserListSizeRange.php +++ /dev/null @@ -1,169 +0,0 @@ -google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange - */ -class UserListSizeRange -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * User list has less than 500 users. - * - * Generated from protobuf enum LESS_THAN_FIVE_HUNDRED = 2; - */ - const LESS_THAN_FIVE_HUNDRED = 2; - /** - * User list has number of users in range of 500 to 1000. - * - * Generated from protobuf enum LESS_THAN_ONE_THOUSAND = 3; - */ - const LESS_THAN_ONE_THOUSAND = 3; - /** - * User list has number of users in range of 1000 to 10000. - * - * Generated from protobuf enum ONE_THOUSAND_TO_TEN_THOUSAND = 4; - */ - const ONE_THOUSAND_TO_TEN_THOUSAND = 4; - /** - * User list has number of users in range of 10000 to 50000. - * - * Generated from protobuf enum TEN_THOUSAND_TO_FIFTY_THOUSAND = 5; - */ - const TEN_THOUSAND_TO_FIFTY_THOUSAND = 5; - /** - * User list has number of users in range of 50000 to 100000. - * - * Generated from protobuf enum FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND = 6; - */ - const FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND = 6; - /** - * User list has number of users in range of 100000 to 300000. - * - * Generated from protobuf enum ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND = 7; - */ - const ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND = 7; - /** - * User list has number of users in range of 300000 to 500000. - * - * Generated from protobuf enum THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND = 8; - */ - const THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND = 8; - /** - * User list has number of users in range of 500000 to 1 million. - * - * Generated from protobuf enum FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION = 9; - */ - const FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION = 9; - /** - * User list has number of users in range of 1 to 2 millions. - * - * Generated from protobuf enum ONE_MILLION_TO_TWO_MILLION = 10; - */ - const ONE_MILLION_TO_TWO_MILLION = 10; - /** - * User list has number of users in range of 2 to 3 millions. - * - * Generated from protobuf enum TWO_MILLION_TO_THREE_MILLION = 11; - */ - const TWO_MILLION_TO_THREE_MILLION = 11; - /** - * User list has number of users in range of 3 to 5 millions. - * - * Generated from protobuf enum THREE_MILLION_TO_FIVE_MILLION = 12; - */ - const THREE_MILLION_TO_FIVE_MILLION = 12; - /** - * User list has number of users in range of 5 to 10 millions. - * - * Generated from protobuf enum FIVE_MILLION_TO_TEN_MILLION = 13; - */ - const FIVE_MILLION_TO_TEN_MILLION = 13; - /** - * User list has number of users in range of 10 to 20 millions. - * - * Generated from protobuf enum TEN_MILLION_TO_TWENTY_MILLION = 14; - */ - const TEN_MILLION_TO_TWENTY_MILLION = 14; - /** - * User list has number of users in range of 20 to 30 millions. - * - * Generated from protobuf enum TWENTY_MILLION_TO_THIRTY_MILLION = 15; - */ - const TWENTY_MILLION_TO_THIRTY_MILLION = 15; - /** - * User list has number of users in range of 30 to 50 millions. - * - * Generated from protobuf enum THIRTY_MILLION_TO_FIFTY_MILLION = 16; - */ - const THIRTY_MILLION_TO_FIFTY_MILLION = 16; - /** - * User list has over 50 million users. - * - * Generated from protobuf enum OVER_FIFTY_MILLION = 17; - */ - const OVER_FIFTY_MILLION = 17; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LESS_THAN_FIVE_HUNDRED => 'LESS_THAN_FIVE_HUNDRED', - self::LESS_THAN_ONE_THOUSAND => 'LESS_THAN_ONE_THOUSAND', - self::ONE_THOUSAND_TO_TEN_THOUSAND => 'ONE_THOUSAND_TO_TEN_THOUSAND', - self::TEN_THOUSAND_TO_FIFTY_THOUSAND => 'TEN_THOUSAND_TO_FIFTY_THOUSAND', - self::FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND => 'FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND', - self::ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND => 'ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND', - self::THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND => 'THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND', - self::FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION => 'FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION', - self::ONE_MILLION_TO_TWO_MILLION => 'ONE_MILLION_TO_TWO_MILLION', - self::TWO_MILLION_TO_THREE_MILLION => 'TWO_MILLION_TO_THREE_MILLION', - self::THREE_MILLION_TO_FIVE_MILLION => 'THREE_MILLION_TO_FIVE_MILLION', - self::FIVE_MILLION_TO_TEN_MILLION => 'FIVE_MILLION_TO_TEN_MILLION', - self::TEN_MILLION_TO_TWENTY_MILLION => 'TEN_MILLION_TO_TWENTY_MILLION', - self::TWENTY_MILLION_TO_THIRTY_MILLION => 'TWENTY_MILLION_TO_THIRTY_MILLION', - self::THIRTY_MILLION_TO_FIFTY_MILLION => 'THIRTY_MILLION_TO_FIFTY_MILLION', - self::OVER_FIFTY_MILLION => 'OVER_FIFTY_MILLION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListSizeRange::class, \Google\Ads\GoogleAds\V15\Enums\UserListSizeRangeEnum_UserListSizeRange::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperatorEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperatorEnum.php deleted file mode 100644 index d58e60af7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperatorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListStringRuleItemOperatorEnum - */ -class UserListStringRuleItemOperatorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListStringRuleItemOperator::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperatorEnum/UserListStringRuleItemOperator.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperatorEnum/UserListStringRuleItemOperator.php deleted file mode 100644 index 8735a0854..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListStringRuleItemOperatorEnum/UserListStringRuleItemOperator.php +++ /dev/null @@ -1,113 +0,0 @@ -google.ads.googleads.v15.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator - */ -class UserListStringRuleItemOperator -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Contains. - * - * Generated from protobuf enum CONTAINS = 2; - */ - const CONTAINS = 2; - /** - * Equals. - * - * Generated from protobuf enum EQUALS = 3; - */ - const EQUALS = 3; - /** - * Starts with. - * - * Generated from protobuf enum STARTS_WITH = 4; - */ - const STARTS_WITH = 4; - /** - * Ends with. - * - * Generated from protobuf enum ENDS_WITH = 5; - */ - const ENDS_WITH = 5; - /** - * Not equals. - * - * Generated from protobuf enum NOT_EQUALS = 6; - */ - const NOT_EQUALS = 6; - /** - * Not contains. - * - * Generated from protobuf enum NOT_CONTAINS = 7; - */ - const NOT_CONTAINS = 7; - /** - * Not starts with. - * - * Generated from protobuf enum NOT_STARTS_WITH = 8; - */ - const NOT_STARTS_WITH = 8; - /** - * Not ends with. - * - * Generated from protobuf enum NOT_ENDS_WITH = 9; - */ - const NOT_ENDS_WITH = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CONTAINS => 'CONTAINS', - self::EQUALS => 'EQUALS', - self::STARTS_WITH => 'STARTS_WITH', - self::ENDS_WITH => 'ENDS_WITH', - self::NOT_EQUALS => 'NOT_EQUALS', - self::NOT_CONTAINS => 'NOT_CONTAINS', - self::NOT_STARTS_WITH => 'NOT_STARTS_WITH', - self::NOT_ENDS_WITH => 'NOT_ENDS_WITH', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListStringRuleItemOperator::class, \Google\Ads\GoogleAds\V15\Enums\UserListStringRuleItemOperatorEnum_UserListStringRuleItemOperator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListTypeEnum.php deleted file mode 100644 index a6b6ebf8b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.UserListTypeEnum - */ -class UserListTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\UserListType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/UserListTypeEnum/UserListType.php b/src/Google/Ads/GoogleAds/V15/Enums/UserListTypeEnum/UserListType.php deleted file mode 100644 index c2b094d9f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/UserListTypeEnum/UserListType.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.enums.UserListTypeEnum.UserListType - */ -class UserListType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * UserList represented as a collection of conversion types. - * - * Generated from protobuf enum REMARKETING = 2; - */ - const REMARKETING = 2; - /** - * UserList represented as a combination of other user lists/interests. - * - * Generated from protobuf enum LOGICAL = 3; - */ - const LOGICAL = 3; - /** - * UserList created in the Google Ad Manager platform. - * - * Generated from protobuf enum EXTERNAL_REMARKETING = 4; - */ - const EXTERNAL_REMARKETING = 4; - /** - * UserList associated with a rule. - * - * Generated from protobuf enum RULE_BASED = 5; - */ - const RULE_BASED = 5; - /** - * UserList with users similar to users of another UserList. - * - * Generated from protobuf enum SIMILAR = 6; - */ - const SIMILAR = 6; - /** - * UserList of first-party CRM data provided by advertiser in the form of - * emails or other formats. - * - * Generated from protobuf enum CRM_BASED = 7; - */ - const CRM_BASED = 7; - /** - * LookalikeUserlist, composed of users similar to those - * of a configurable seed (set of UserLists) - * - * Generated from protobuf enum LOOKALIKE = 9; - */ - const LOOKALIKE = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::REMARKETING => 'REMARKETING', - self::LOGICAL => 'LOGICAL', - self::EXTERNAL_REMARKETING => 'EXTERNAL_REMARKETING', - self::RULE_BASED => 'RULE_BASED', - self::SIMILAR => 'SIMILAR', - self::CRM_BASED => 'CRM_BASED', - self::LOOKALIKE => 'LOOKALIKE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListType::class, \Google\Ads\GoogleAds\V15\Enums\UserListTypeEnum_UserListType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceTypeEnum.php deleted file mode 100644 index 59665feeb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleDeviceTypeEnum - */ -class ValueRuleDeviceTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ValueRuleDeviceType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceTypeEnum/ValueRuleDeviceType.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceTypeEnum/ValueRuleDeviceType.php deleted file mode 100644 index 257364368..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleDeviceTypeEnum/ValueRuleDeviceType.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleDeviceTypeEnum.ValueRuleDeviceType - */ -class ValueRuleDeviceType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Mobile device. - * - * Generated from protobuf enum MOBILE = 2; - */ - const MOBILE = 2; - /** - * Desktop device. - * - * Generated from protobuf enum DESKTOP = 3; - */ - const DESKTOP = 3; - /** - * Tablet device. - * - * Generated from protobuf enum TABLET = 4; - */ - const TABLET = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MOBILE => 'MOBILE', - self::DESKTOP => 'DESKTOP', - self::TABLET => 'TABLET', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleDeviceType::class, \Google\Ads\GoogleAds\V15\Enums\ValueRuleDeviceTypeEnum_ValueRuleDeviceType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchTypeEnum.php deleted file mode 100644 index 7cf9887af..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchTypeEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum - */ -class ValueRuleGeoLocationMatchTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ValueRuleGeoLocationMatchType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchTypeEnum/ValueRuleGeoLocationMatchType.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchTypeEnum/ValueRuleGeoLocationMatchType.php deleted file mode 100644 index e2bfdaffa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleGeoLocationMatchTypeEnum/ValueRuleGeoLocationMatchType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType - */ -class ValueRuleGeoLocationMatchType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Either Area of Interest or Location of Presence can be used to match. - * - * Generated from protobuf enum ANY = 2; - */ - const ANY = 2; - /** - * Only Location of Presence can be used to match. - * - * Generated from protobuf enum LOCATION_OF_PRESENCE = 3; - */ - const LOCATION_OF_PRESENCE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ANY => 'ANY', - self::LOCATION_OF_PRESENCE => 'LOCATION_OF_PRESENCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleGeoLocationMatchType::class, \Google\Ads\GoogleAds\V15\Enums\ValueRuleGeoLocationMatchTypeEnum_ValueRuleGeoLocationMatchType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperationEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperationEnum.php deleted file mode 100644 index 91caf977f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperationEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleOperationEnum - */ -class ValueRuleOperationEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ValueRuleOperation::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperationEnum/ValueRuleOperation.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperationEnum/ValueRuleOperation.php deleted file mode 100644 index 315b8db59..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleOperationEnum/ValueRuleOperation.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleOperationEnum.ValueRuleOperation - */ -class ValueRuleOperation -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Add provided value to conversion value. - * - * Generated from protobuf enum ADD = 2; - */ - const ADD = 2; - /** - * Multiply conversion value by provided value. - * - * Generated from protobuf enum MULTIPLY = 3; - */ - const MULTIPLY = 3; - /** - * Set conversion value to provided value. - * - * Generated from protobuf enum SET = 4; - */ - const SET = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADD => 'ADD', - self::MULTIPLY => 'MULTIPLY', - self::SET => 'SET', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleOperation::class, \Google\Ads\GoogleAds\V15\Enums\ValueRuleOperationEnum_ValueRuleOperation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentTypeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentTypeEnum.php deleted file mode 100644 index 4db13764e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentTypeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleSetAttachmentTypeEnum - */ -class ValueRuleSetAttachmentTypeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ValueRuleSetAttachmentType::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentTypeEnum/ValueRuleSetAttachmentType.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentTypeEnum/ValueRuleSetAttachmentType.php deleted file mode 100644 index acec3a32c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetAttachmentTypeEnum/ValueRuleSetAttachmentType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType - */ -class ValueRuleSetAttachmentType -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Attached to the customer. - * - * Generated from protobuf enum CUSTOMER = 2; - */ - const CUSTOMER = 2; - /** - * Attached to a campaign. - * - * Generated from protobuf enum CAMPAIGN = 3; - */ - const CAMPAIGN = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER => 'CUSTOMER', - self::CAMPAIGN => 'CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleSetAttachmentType::class, \Google\Ads\GoogleAds\V15\Enums\ValueRuleSetAttachmentTypeEnum_ValueRuleSetAttachmentType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimensionEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimensionEnum.php deleted file mode 100644 index 10312993f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimensionEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleSetDimensionEnum - */ -class ValueRuleSetDimensionEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\ValueRuleSetDimension::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimensionEnum/ValueRuleSetDimension.php b/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimensionEnum/ValueRuleSetDimension.php deleted file mode 100644 index b66a0e99b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/ValueRuleSetDimensionEnum/ValueRuleSetDimension.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension - */ -class ValueRuleSetDimension -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Dimension for geo location. - * - * Generated from protobuf enum GEO_LOCATION = 2; - */ - const GEO_LOCATION = 2; - /** - * Dimension for device type. - * - * Generated from protobuf enum DEVICE = 3; - */ - const DEVICE = 3; - /** - * Dimension for audience. - * - * Generated from protobuf enum AUDIENCE = 4; - */ - const AUDIENCE = 4; - /** - * This dimension implies the rule will always apply. - * - * Generated from protobuf enum NO_CONDITION = 5; - */ - const NO_CONDITION = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::GEO_LOCATION => 'GEO_LOCATION', - self::DEVICE => 'DEVICE', - self::AUDIENCE => 'AUDIENCE', - self::NO_CONDITION => 'NO_CONDITION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleSetDimension::class, \Google\Ads\GoogleAds\V15\Enums\ValueRuleSetDimensionEnum_ValueRuleSetDimension::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlModeEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlModeEnum.php deleted file mode 100644 index e11c2845d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlModeEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.VanityPharmaDisplayUrlModeEnum - */ -class VanityPharmaDisplayUrlModeEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\VanityPharmaDisplayUrlMode::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlModeEnum/VanityPharmaDisplayUrlMode.php b/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlModeEnum/VanityPharmaDisplayUrlMode.php deleted file mode 100644 index 19029595c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaDisplayUrlModeEnum/VanityPharmaDisplayUrlMode.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode - */ -class VanityPharmaDisplayUrlMode -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Replace vanity pharma URL with manufacturer website url. - * - * Generated from protobuf enum MANUFACTURER_WEBSITE_URL = 2; - */ - const MANUFACTURER_WEBSITE_URL = 2; - /** - * Replace vanity pharma URL with description of the website. - * - * Generated from protobuf enum WEBSITE_DESCRIPTION = 3; - */ - const WEBSITE_DESCRIPTION = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MANUFACTURER_WEBSITE_URL => 'MANUFACTURER_WEBSITE_URL', - self::WEBSITE_DESCRIPTION => 'WEBSITE_DESCRIPTION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(VanityPharmaDisplayUrlMode::class, \Google\Ads\GoogleAds\V15\Enums\VanityPharmaDisplayUrlModeEnum_VanityPharmaDisplayUrlMode::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaTextEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaTextEnum.php deleted file mode 100644 index 0c0fc2fe0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaTextEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.VanityPharmaTextEnum - */ -class VanityPharmaTextEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\VanityPharmaText::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaTextEnum/VanityPharmaText.php b/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaTextEnum/VanityPharmaText.php deleted file mode 100644 index 3812314da..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/VanityPharmaTextEnum/VanityPharmaText.php +++ /dev/null @@ -1,147 +0,0 @@ -google.ads.googleads.v15.enums.VanityPharmaTextEnum.VanityPharmaText - */ -class VanityPharmaText -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Prescription treatment website with website content in English. - * - * Generated from protobuf enum PRESCRIPTION_TREATMENT_WEBSITE_EN = 2; - */ - const PRESCRIPTION_TREATMENT_WEBSITE_EN = 2; - /** - * Prescription treatment website with website content in Spanish - * (Sitio de tratamientos con receta). - * - * Generated from protobuf enum PRESCRIPTION_TREATMENT_WEBSITE_ES = 3; - */ - const PRESCRIPTION_TREATMENT_WEBSITE_ES = 3; - /** - * Prescription device website with website content in English. - * - * Generated from protobuf enum PRESCRIPTION_DEVICE_WEBSITE_EN = 4; - */ - const PRESCRIPTION_DEVICE_WEBSITE_EN = 4; - /** - * Prescription device website with website content in Spanish (Sitio de - * dispositivos con receta). - * - * Generated from protobuf enum PRESCRIPTION_DEVICE_WEBSITE_ES = 5; - */ - const PRESCRIPTION_DEVICE_WEBSITE_ES = 5; - /** - * Medical device website with website content in English. - * - * Generated from protobuf enum MEDICAL_DEVICE_WEBSITE_EN = 6; - */ - const MEDICAL_DEVICE_WEBSITE_EN = 6; - /** - * Medical device website with website content in Spanish (Sitio de - * dispositivos médicos). - * - * Generated from protobuf enum MEDICAL_DEVICE_WEBSITE_ES = 7; - */ - const MEDICAL_DEVICE_WEBSITE_ES = 7; - /** - * Preventative treatment website with website content in English. - * - * Generated from protobuf enum PREVENTATIVE_TREATMENT_WEBSITE_EN = 8; - */ - const PREVENTATIVE_TREATMENT_WEBSITE_EN = 8; - /** - * Preventative treatment website with website content in Spanish (Sitio de - * tratamientos preventivos). - * - * Generated from protobuf enum PREVENTATIVE_TREATMENT_WEBSITE_ES = 9; - */ - const PREVENTATIVE_TREATMENT_WEBSITE_ES = 9; - /** - * Prescription contraception website with website content in English. - * - * Generated from protobuf enum PRESCRIPTION_CONTRACEPTION_WEBSITE_EN = 10; - */ - const PRESCRIPTION_CONTRACEPTION_WEBSITE_EN = 10; - /** - * Prescription contraception website with website content in Spanish (Sitio - * de anticonceptivos con receta). - * - * Generated from protobuf enum PRESCRIPTION_CONTRACEPTION_WEBSITE_ES = 11; - */ - const PRESCRIPTION_CONTRACEPTION_WEBSITE_ES = 11; - /** - * Prescription vaccine website with website content in English. - * - * Generated from protobuf enum PRESCRIPTION_VACCINE_WEBSITE_EN = 12; - */ - const PRESCRIPTION_VACCINE_WEBSITE_EN = 12; - /** - * Prescription vaccine website with website content in Spanish (Sitio de - * vacunas con receta). - * - * Generated from protobuf enum PRESCRIPTION_VACCINE_WEBSITE_ES = 13; - */ - const PRESCRIPTION_VACCINE_WEBSITE_ES = 13; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PRESCRIPTION_TREATMENT_WEBSITE_EN => 'PRESCRIPTION_TREATMENT_WEBSITE_EN', - self::PRESCRIPTION_TREATMENT_WEBSITE_ES => 'PRESCRIPTION_TREATMENT_WEBSITE_ES', - self::PRESCRIPTION_DEVICE_WEBSITE_EN => 'PRESCRIPTION_DEVICE_WEBSITE_EN', - self::PRESCRIPTION_DEVICE_WEBSITE_ES => 'PRESCRIPTION_DEVICE_WEBSITE_ES', - self::MEDICAL_DEVICE_WEBSITE_EN => 'MEDICAL_DEVICE_WEBSITE_EN', - self::MEDICAL_DEVICE_WEBSITE_ES => 'MEDICAL_DEVICE_WEBSITE_ES', - self::PREVENTATIVE_TREATMENT_WEBSITE_EN => 'PREVENTATIVE_TREATMENT_WEBSITE_EN', - self::PREVENTATIVE_TREATMENT_WEBSITE_ES => 'PREVENTATIVE_TREATMENT_WEBSITE_ES', - self::PRESCRIPTION_CONTRACEPTION_WEBSITE_EN => 'PRESCRIPTION_CONTRACEPTION_WEBSITE_EN', - self::PRESCRIPTION_CONTRACEPTION_WEBSITE_ES => 'PRESCRIPTION_CONTRACEPTION_WEBSITE_ES', - self::PRESCRIPTION_VACCINE_WEBSITE_EN => 'PRESCRIPTION_VACCINE_WEBSITE_EN', - self::PRESCRIPTION_VACCINE_WEBSITE_ES => 'PRESCRIPTION_VACCINE_WEBSITE_ES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(VanityPharmaText::class, \Google\Ads\GoogleAds\V15\Enums\VanityPharmaTextEnum_VanityPharmaText::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/VideoThumbnailEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/VideoThumbnailEnum.php deleted file mode 100644 index 2d5620e25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/VideoThumbnailEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.enums.VideoThumbnailEnum - */ -class VideoThumbnailEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\VideoThumbnail::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/VideoThumbnailEnum/VideoThumbnail.php b/src/Google/Ads/GoogleAds/V15/Enums/VideoThumbnailEnum/VideoThumbnail.php deleted file mode 100644 index ea9925048..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/VideoThumbnailEnum/VideoThumbnail.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.enums.VideoThumbnailEnum.VideoThumbnail - */ -class VideoThumbnail -{ - /** - * The type has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received value is not known in this version. - * This is a response-only value. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The default thumbnail. Can be auto-generated or user-uploaded. - * - * Generated from protobuf enum DEFAULT_THUMBNAIL = 2; - */ - const DEFAULT_THUMBNAIL = 2; - /** - * Thumbnail 1, generated from the video. - * - * Generated from protobuf enum THUMBNAIL_1 = 3; - */ - const THUMBNAIL_1 = 3; - /** - * Thumbnail 2, generated from the video. - * - * Generated from protobuf enum THUMBNAIL_2 = 4; - */ - const THUMBNAIL_2 = 4; - /** - * Thumbnail 3, generated from the video. - * - * Generated from protobuf enum THUMBNAIL_3 = 5; - */ - const THUMBNAIL_3 = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DEFAULT_THUMBNAIL => 'DEFAULT_THUMBNAIL', - self::THUMBNAIL_1 => 'THUMBNAIL_1', - self::THUMBNAIL_2 => 'THUMBNAIL_2', - self::THUMBNAIL_3 => 'THUMBNAIL_3', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(VideoThumbnail::class, \Google\Ads\GoogleAds\V15\Enums\VideoThumbnailEnum_VideoThumbnail::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperandEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperandEnum.php deleted file mode 100644 index 2599f95c3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperandEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.enums.WebpageConditionOperandEnum - */ -class WebpageConditionOperandEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\WebpageConditionOperand::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperandEnum/WebpageConditionOperand.php b/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperandEnum/WebpageConditionOperand.php deleted file mode 100644 index e35c45700..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperandEnum/WebpageConditionOperand.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.enums.WebpageConditionOperandEnum.WebpageConditionOperand - */ -class WebpageConditionOperand -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Operand denoting a webpage URL targeting condition. - * - * Generated from protobuf enum URL = 2; - */ - const URL = 2; - /** - * Operand denoting a webpage category targeting condition. - * - * Generated from protobuf enum CATEGORY = 3; - */ - const CATEGORY = 3; - /** - * Operand denoting a webpage title targeting condition. - * - * Generated from protobuf enum PAGE_TITLE = 4; - */ - const PAGE_TITLE = 4; - /** - * Operand denoting a webpage content targeting condition. - * - * Generated from protobuf enum PAGE_CONTENT = 5; - */ - const PAGE_CONTENT = 5; - /** - * Operand denoting a webpage custom label targeting condition. - * - * Generated from protobuf enum CUSTOM_LABEL = 6; - */ - const CUSTOM_LABEL = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::URL => 'URL', - self::CATEGORY => 'CATEGORY', - self::PAGE_TITLE => 'PAGE_TITLE', - self::PAGE_CONTENT => 'PAGE_CONTENT', - self::CUSTOM_LABEL => 'CUSTOM_LABEL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(WebpageConditionOperand::class, \Google\Ads\GoogleAds\V15\Enums\WebpageConditionOperandEnum_WebpageConditionOperand::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperatorEnum.php b/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperatorEnum.php deleted file mode 100644 index 4e9e78662..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperatorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.enums.WebpageConditionOperatorEnum - */ -class WebpageConditionOperatorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\WebpageConditionOperator::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperatorEnum/WebpageConditionOperator.php b/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperatorEnum/WebpageConditionOperator.php deleted file mode 100644 index ad441f631..000000000 --- a/src/Google/Ads/GoogleAds/V15/Enums/WebpageConditionOperatorEnum/WebpageConditionOperator.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.enums.WebpageConditionOperatorEnum.WebpageConditionOperator - */ -class WebpageConditionOperator -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The argument web condition is equal to the compared web condition. - * - * Generated from protobuf enum EQUALS = 2; - */ - const EQUALS = 2; - /** - * The argument web condition is part of the compared web condition. - * - * Generated from protobuf enum CONTAINS = 3; - */ - const CONTAINS = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EQUALS => 'EQUALS', - self::CONTAINS => 'CONTAINS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(WebpageConditionOperator::class, \Google\Ads\GoogleAds\V15\Enums\WebpageConditionOperatorEnum_WebpageConditionOperator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AccessInvitationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AccessInvitationErrorEnum.php deleted file mode 100644 index 976a2610f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AccessInvitationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AccessInvitationErrorEnum - */ -class AccessInvitationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AccessInvitationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AccessInvitationErrorEnum/AccessInvitationError.php b/src/Google/Ads/GoogleAds/V15/Errors/AccessInvitationErrorEnum/AccessInvitationError.php deleted file mode 100644 index ba38410fe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AccessInvitationErrorEnum/AccessInvitationError.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.errors.AccessInvitationErrorEnum.AccessInvitationError - */ -class AccessInvitationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The email address is invalid for sending an invitation. - * - * Generated from protobuf enum INVALID_EMAIL_ADDRESS = 2; - */ - const INVALID_EMAIL_ADDRESS = 2; - /** - * Email address already has access to this customer. - * - * Generated from protobuf enum EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3; - */ - const EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3; - /** - * Invalid invitation status for the operation. - * - * Generated from protobuf enum INVALID_INVITATION_STATUS = 4; - */ - const INVALID_INVITATION_STATUS = 4; - /** - * Email address cannot be like abc+foo@google.com. - * - * Generated from protobuf enum GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5; - */ - const GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5; - /** - * Invalid invitation ID. - * - * Generated from protobuf enum INVALID_INVITATION_ID = 6; - */ - const INVALID_INVITATION_ID = 6; - /** - * Email address already has a pending invitation. - * - * Generated from protobuf enum EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION = 7; - */ - const EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION = 7; - /** - * Pending invitation limit exceeded for the customer. - * - * Generated from protobuf enum PENDING_INVITATIONS_LIMIT_EXCEEDED = 8; - */ - const PENDING_INVITATIONS_LIMIT_EXCEEDED = 8; - /** - * Email address doesn't conform to the email domain policy. See - * https://support.google.com/google-ads/answer/2375456 - * - * Generated from protobuf enum EMAIL_DOMAIN_POLICY_VIOLATED = 9; - */ - const EMAIL_DOMAIN_POLICY_VIOLATED = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_EMAIL_ADDRESS => 'INVALID_EMAIL_ADDRESS', - self::EMAIL_ADDRESS_ALREADY_HAS_ACCESS => 'EMAIL_ADDRESS_ALREADY_HAS_ACCESS', - self::INVALID_INVITATION_STATUS => 'INVALID_INVITATION_STATUS', - self::GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED => 'GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED', - self::INVALID_INVITATION_ID => 'INVALID_INVITATION_ID', - self::EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION => 'EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION', - self::PENDING_INVITATIONS_LIMIT_EXCEEDED => 'PENDING_INVITATIONS_LIMIT_EXCEEDED', - self::EMAIL_DOMAIN_POLICY_VIOLATED => 'EMAIL_DOMAIN_POLICY_VIOLATED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccessInvitationError::class, \Google\Ads\GoogleAds\V15\Errors\AccessInvitationErrorEnum_AccessInvitationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalErrorEnum.php deleted file mode 100644 index 01e3b7863..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AccountBudgetProposalErrorEnum - */ -class AccountBudgetProposalErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AccountBudgetProposalError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalErrorEnum/AccountBudgetProposalError.php b/src/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalErrorEnum/AccountBudgetProposalError.php deleted file mode 100644 index 3c8adb1ef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AccountBudgetProposalErrorEnum/AccountBudgetProposalError.php +++ /dev/null @@ -1,247 +0,0 @@ -google.ads.googleads.v15.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalError - */ -class AccountBudgetProposalError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The field mask must be empty for create/end/remove proposals. - * - * Generated from protobuf enum FIELD_MASK_NOT_ALLOWED = 2; - */ - const FIELD_MASK_NOT_ALLOWED = 2; - /** - * The field cannot be set because of the proposal type. - * - * Generated from protobuf enum IMMUTABLE_FIELD = 3; - */ - const IMMUTABLE_FIELD = 3; - /** - * The field is required because of the proposal type. - * - * Generated from protobuf enum REQUIRED_FIELD_MISSING = 4; - */ - const REQUIRED_FIELD_MISSING = 4; - /** - * Proposals that have been approved cannot be cancelled. - * - * Generated from protobuf enum CANNOT_CANCEL_APPROVED_PROPOSAL = 5; - */ - const CANNOT_CANCEL_APPROVED_PROPOSAL = 5; - /** - * Budgets that haven't been approved cannot be removed. - * - * Generated from protobuf enum CANNOT_REMOVE_UNAPPROVED_BUDGET = 6; - */ - const CANNOT_REMOVE_UNAPPROVED_BUDGET = 6; - /** - * Budgets that are currently running cannot be removed. - * - * Generated from protobuf enum CANNOT_REMOVE_RUNNING_BUDGET = 7; - */ - const CANNOT_REMOVE_RUNNING_BUDGET = 7; - /** - * Budgets that haven't been approved cannot be truncated. - * - * Generated from protobuf enum CANNOT_END_UNAPPROVED_BUDGET = 8; - */ - const CANNOT_END_UNAPPROVED_BUDGET = 8; - /** - * Only budgets that are currently running can be truncated. - * - * Generated from protobuf enum CANNOT_END_INACTIVE_BUDGET = 9; - */ - const CANNOT_END_INACTIVE_BUDGET = 9; - /** - * All budgets must have names. - * - * Generated from protobuf enum BUDGET_NAME_REQUIRED = 10; - */ - const BUDGET_NAME_REQUIRED = 10; - /** - * Expired budgets cannot be edited after a sufficient amount of time has - * passed. - * - * Generated from protobuf enum CANNOT_UPDATE_OLD_BUDGET = 11; - */ - const CANNOT_UPDATE_OLD_BUDGET = 11; - /** - * It is not permissible a propose a new budget that ends in the past. - * - * Generated from protobuf enum CANNOT_END_IN_PAST = 12; - */ - const CANNOT_END_IN_PAST = 12; - /** - * An expired budget cannot be extended to overlap with the running budget. - * - * Generated from protobuf enum CANNOT_EXTEND_END_TIME = 13; - */ - const CANNOT_EXTEND_END_TIME = 13; - /** - * A purchase order number is required. - * - * Generated from protobuf enum PURCHASE_ORDER_NUMBER_REQUIRED = 14; - */ - const PURCHASE_ORDER_NUMBER_REQUIRED = 14; - /** - * Budgets that have a pending update cannot be updated. - * - * Generated from protobuf enum PENDING_UPDATE_PROPOSAL_EXISTS = 15; - */ - const PENDING_UPDATE_PROPOSAL_EXISTS = 15; - /** - * Cannot propose more than one budget when the corresponding billing setup - * hasn't been approved. - * - * Generated from protobuf enum MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16; - */ - const MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16; - /** - * Cannot update the start time of a budget that has already started. - * - * Generated from protobuf enum CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17; - */ - const CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17; - /** - * Cannot update the spending limit of a budget with an amount lower than - * what has already been spent. - * - * Generated from protobuf enum SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED = 18; - */ - const SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED = 18; - /** - * Cannot propose a budget update without actually changing any fields. - * - * Generated from protobuf enum UPDATE_IS_NO_OP = 19; - */ - const UPDATE_IS_NO_OP = 19; - /** - * The end time must come after the start time. - * - * Generated from protobuf enum END_TIME_MUST_FOLLOW_START_TIME = 20; - */ - const END_TIME_MUST_FOLLOW_START_TIME = 20; - /** - * The budget's date range must fall within the date range of its billing - * setup. - * - * Generated from protobuf enum BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21; - */ - const BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21; - /** - * The user is not authorized to mutate budgets for the given billing setup. - * - * Generated from protobuf enum NOT_AUTHORIZED = 22; - */ - const NOT_AUTHORIZED = 22; - /** - * Mutates are not allowed for the given billing setup. - * - * Generated from protobuf enum INVALID_BILLING_SETUP = 23; - */ - const INVALID_BILLING_SETUP = 23; - /** - * Budget creation failed as it overlaps with a pending budget proposal - * or an approved budget. - * - * Generated from protobuf enum OVERLAPS_EXISTING_BUDGET = 24; - */ - const OVERLAPS_EXISTING_BUDGET = 24; - /** - * The control setting in user's payments profile doesn't allow budget - * creation through API. Log in to Google Ads to create budget. - * - * Generated from protobuf enum CANNOT_CREATE_BUDGET_THROUGH_API = 25; - */ - const CANNOT_CREATE_BUDGET_THROUGH_API = 25; - /** - * Master service agreement has not been signed yet for the Payments - * Profile. - * - * Generated from protobuf enum INVALID_MASTER_SERVICE_AGREEMENT = 26; - */ - const INVALID_MASTER_SERVICE_AGREEMENT = 26; - /** - * Budget mutates are not allowed because the given billing setup is - * canceled. - * - * Generated from protobuf enum CANCELED_BILLING_SETUP = 27; - */ - const CANCELED_BILLING_SETUP = 27; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FIELD_MASK_NOT_ALLOWED => 'FIELD_MASK_NOT_ALLOWED', - self::IMMUTABLE_FIELD => 'IMMUTABLE_FIELD', - self::REQUIRED_FIELD_MISSING => 'REQUIRED_FIELD_MISSING', - self::CANNOT_CANCEL_APPROVED_PROPOSAL => 'CANNOT_CANCEL_APPROVED_PROPOSAL', - self::CANNOT_REMOVE_UNAPPROVED_BUDGET => 'CANNOT_REMOVE_UNAPPROVED_BUDGET', - self::CANNOT_REMOVE_RUNNING_BUDGET => 'CANNOT_REMOVE_RUNNING_BUDGET', - self::CANNOT_END_UNAPPROVED_BUDGET => 'CANNOT_END_UNAPPROVED_BUDGET', - self::CANNOT_END_INACTIVE_BUDGET => 'CANNOT_END_INACTIVE_BUDGET', - self::BUDGET_NAME_REQUIRED => 'BUDGET_NAME_REQUIRED', - self::CANNOT_UPDATE_OLD_BUDGET => 'CANNOT_UPDATE_OLD_BUDGET', - self::CANNOT_END_IN_PAST => 'CANNOT_END_IN_PAST', - self::CANNOT_EXTEND_END_TIME => 'CANNOT_EXTEND_END_TIME', - self::PURCHASE_ORDER_NUMBER_REQUIRED => 'PURCHASE_ORDER_NUMBER_REQUIRED', - self::PENDING_UPDATE_PROPOSAL_EXISTS => 'PENDING_UPDATE_PROPOSAL_EXISTS', - self::MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP => 'MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP', - self::CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET => 'CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET', - self::SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED => 'SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED', - self::UPDATE_IS_NO_OP => 'UPDATE_IS_NO_OP', - self::END_TIME_MUST_FOLLOW_START_TIME => 'END_TIME_MUST_FOLLOW_START_TIME', - self::BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP => 'BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP', - self::NOT_AUTHORIZED => 'NOT_AUTHORIZED', - self::INVALID_BILLING_SETUP => 'INVALID_BILLING_SETUP', - self::OVERLAPS_EXISTING_BUDGET => 'OVERLAPS_EXISTING_BUDGET', - self::CANNOT_CREATE_BUDGET_THROUGH_API => 'CANNOT_CREATE_BUDGET_THROUGH_API', - self::INVALID_MASTER_SERVICE_AGREEMENT => 'INVALID_MASTER_SERVICE_AGREEMENT', - self::CANCELED_BILLING_SETUP => 'CANCELED_BILLING_SETUP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccountBudgetProposalError::class, \Google\Ads\GoogleAds\V15\Errors\AccountBudgetProposalErrorEnum_AccountBudgetProposalError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AccountLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AccountLinkErrorEnum.php deleted file mode 100644 index 69ef5efd2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AccountLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AccountLinkErrorEnum - */ -class AccountLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AccountLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AccountLinkErrorEnum/AccountLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/AccountLinkErrorEnum/AccountLinkError.php deleted file mode 100644 index fb72ae4cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AccountLinkErrorEnum/AccountLinkError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.AccountLinkErrorEnum.AccountLinkError - */ -class AccountLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The new link status is invalid. - * - * Generated from protobuf enum INVALID_STATUS = 2; - */ - const INVALID_STATUS = 2; - /** - * The authenticated user doesn't have the permission to do the change. - * - * Generated from protobuf enum PERMISSION_DENIED = 3; - */ - const PERMISSION_DENIED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_STATUS => 'INVALID_STATUS', - self::PERMISSION_DENIED => 'PERMISSION_DENIED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccountLinkError::class, \Google\Ads\GoogleAds\V15\Errors\AccountLinkErrorEnum_AccountLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdCustomizerErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdCustomizerErrorEnum.php deleted file mode 100644 index 9c1231685..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdCustomizerErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdCustomizerErrorEnum - */ -class AdCustomizerErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdCustomizerError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdCustomizerErrorEnum/AdCustomizerError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdCustomizerErrorEnum/AdCustomizerError.php deleted file mode 100644 index e715d0a6e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdCustomizerErrorEnum/AdCustomizerError.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.errors.AdCustomizerErrorEnum.AdCustomizerError - */ -class AdCustomizerError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Invalid date argument in countdown function. - * - * Generated from protobuf enum COUNTDOWN_INVALID_DATE_FORMAT = 2; - */ - const COUNTDOWN_INVALID_DATE_FORMAT = 2; - /** - * Countdown end date is in the past. - * - * Generated from protobuf enum COUNTDOWN_DATE_IN_PAST = 3; - */ - const COUNTDOWN_DATE_IN_PAST = 3; - /** - * Invalid locale string in countdown function. - * - * Generated from protobuf enum COUNTDOWN_INVALID_LOCALE = 4; - */ - const COUNTDOWN_INVALID_LOCALE = 4; - /** - * Days-before argument to countdown function is not positive. - * - * Generated from protobuf enum COUNTDOWN_INVALID_START_DAYS_BEFORE = 5; - */ - const COUNTDOWN_INVALID_START_DAYS_BEFORE = 5; - /** - * A user list referenced in an IF function does not exist. - * - * Generated from protobuf enum UNKNOWN_USER_LIST = 6; - */ - const UNKNOWN_USER_LIST = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::COUNTDOWN_INVALID_DATE_FORMAT => 'COUNTDOWN_INVALID_DATE_FORMAT', - self::COUNTDOWN_DATE_IN_PAST => 'COUNTDOWN_DATE_IN_PAST', - self::COUNTDOWN_INVALID_LOCALE => 'COUNTDOWN_INVALID_LOCALE', - self::COUNTDOWN_INVALID_START_DAYS_BEFORE => 'COUNTDOWN_INVALID_START_DAYS_BEFORE', - self::UNKNOWN_USER_LIST => 'UNKNOWN_USER_LIST', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdCustomizerError::class, \Google\Ads\GoogleAds\V15\Errors\AdCustomizerErrorEnum_AdCustomizerError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdErrorEnum.php deleted file mode 100644 index 449457759..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdErrorEnum - */ -class AdErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdErrorEnum/AdError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdErrorEnum/AdError.php deleted file mode 100644 index 96ce2508f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdErrorEnum/AdError.php +++ /dev/null @@ -1,1151 +0,0 @@ -google.ads.googleads.v15.errors.AdErrorEnum.AdError - */ -class AdError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Ad customizers are not supported for ad type. - * - * Generated from protobuf enum AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2; - */ - const AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2; - /** - * Estimating character sizes the string is too long. - * - * Generated from protobuf enum APPROXIMATELY_TOO_LONG = 3; - */ - const APPROXIMATELY_TOO_LONG = 3; - /** - * Estimating character sizes the string is too short. - * - * Generated from protobuf enum APPROXIMATELY_TOO_SHORT = 4; - */ - const APPROXIMATELY_TOO_SHORT = 4; - /** - * There is a problem with the snippet. - * - * Generated from protobuf enum BAD_SNIPPET = 5; - */ - const BAD_SNIPPET = 5; - /** - * Cannot modify an ad. - * - * Generated from protobuf enum CANNOT_MODIFY_AD = 6; - */ - const CANNOT_MODIFY_AD = 6; - /** - * business name and url cannot be set at the same time - * - * Generated from protobuf enum CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7; - */ - const CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7; - /** - * The specified field is incompatible with this ad's type or settings. - * - * Generated from protobuf enum CANNOT_SET_FIELD = 8; - */ - const CANNOT_SET_FIELD = 8; - /** - * Cannot set field when originAdId is set. - * - * Generated from protobuf enum CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9; - */ - const CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9; - /** - * Cannot set field when an existing ad id is set for sharing. - * - * Generated from protobuf enum CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10; - */ - const CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10; - /** - * Cannot set allowFlexibleColor false if no color is provided by user. - * - * Generated from protobuf enum CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11; - */ - const CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11; - /** - * When user select native, no color control is allowed because we will - * always respect publisher color for native format serving. - * - * Generated from protobuf enum CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12; - */ - const CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12; - /** - * Cannot specify a url for the ad type - * - * Generated from protobuf enum CANNOT_SET_URL = 13; - */ - const CANNOT_SET_URL = 13; - /** - * Cannot specify a tracking or mobile url without also setting final urls - * - * Generated from protobuf enum CANNOT_SET_WITHOUT_FINAL_URLS = 14; - */ - const CANNOT_SET_WITHOUT_FINAL_URLS = 14; - /** - * Cannot specify a legacy url and a final url simultaneously - * - * Generated from protobuf enum CANNOT_SET_WITH_FINAL_URLS = 15; - */ - const CANNOT_SET_WITH_FINAL_URLS = 15; - /** - * Cannot specify a urls in UrlData and in template fields simultaneously. - * - * Generated from protobuf enum CANNOT_SET_WITH_URL_DATA = 17; - */ - const CANNOT_SET_WITH_URL_DATA = 17; - /** - * This operator cannot be used with a subclass of Ad. - * - * Generated from protobuf enum CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18; - */ - const CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18; - /** - * Customer is not approved for mobile ads. - * - * Generated from protobuf enum CUSTOMER_NOT_APPROVED_MOBILEADS = 19; - */ - const CUSTOMER_NOT_APPROVED_MOBILEADS = 19; - /** - * Customer is not approved for 3PAS richmedia ads. - * - * Generated from protobuf enum CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20; - */ - const CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20; - /** - * Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. - * - * Generated from protobuf enum CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21; - */ - const CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21; - /** - * Not an eligible customer - * - * Generated from protobuf enum CUSTOMER_NOT_ELIGIBLE = 22; - */ - const CUSTOMER_NOT_ELIGIBLE = 22; - /** - * Customer is not eligible for updating beacon url - * - * Generated from protobuf enum CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23; - */ - const CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23; - /** - * There already exists an ad with the same dimensions in the union. - * - * Generated from protobuf enum DIMENSION_ALREADY_IN_UNION = 24; - */ - const DIMENSION_ALREADY_IN_UNION = 24; - /** - * Ad's dimension must be set before setting union dimension. - * - * Generated from protobuf enum DIMENSION_MUST_BE_SET = 25; - */ - const DIMENSION_MUST_BE_SET = 25; - /** - * Ad's dimension must be included in the union dimensions. - * - * Generated from protobuf enum DIMENSION_NOT_IN_UNION = 26; - */ - const DIMENSION_NOT_IN_UNION = 26; - /** - * Display Url cannot be specified (applies to Ad Exchange Ads) - * - * Generated from protobuf enum DISPLAY_URL_CANNOT_BE_SPECIFIED = 27; - */ - const DISPLAY_URL_CANNOT_BE_SPECIFIED = 27; - /** - * Telephone number contains invalid characters or invalid format. - * Re-enter your number using digits (0-9), dashes (-), and parentheses - * only. - * - * Generated from protobuf enum DOMESTIC_PHONE_NUMBER_FORMAT = 28; - */ - const DOMESTIC_PHONE_NUMBER_FORMAT = 28; - /** - * Emergency telephone numbers are not allowed. Enter a valid - * domestic phone number to connect customers to your business. - * - * Generated from protobuf enum EMERGENCY_PHONE_NUMBER = 29; - */ - const EMERGENCY_PHONE_NUMBER = 29; - /** - * A required field was not specified or is an empty string. - * - * Generated from protobuf enum EMPTY_FIELD = 30; - */ - const EMPTY_FIELD = 30; - /** - * A feed attribute referenced in an ad customizer tag is not in the ad - * customizer mapping for the feed. - * - * Generated from protobuf enum FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31; - */ - const FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31; - /** - * The ad customizer field mapping for the feed attribute does not match the - * expected field type. - * - * Generated from protobuf enum FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32; - */ - const FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32; - /** - * The use of ad customizer tags in the ad text is disallowed. Details in - * trigger. - * - * Generated from protobuf enum ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33; - */ - const ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33; - /** - * Tags of the form {PH_x}, where x is a number, are disallowed in ad text. - * - * Generated from protobuf enum ILLEGAL_TAG_USE = 34; - */ - const ILLEGAL_TAG_USE = 34; - /** - * The dimensions of the ad are specified or derived in multiple ways and - * are not consistent. - * - * Generated from protobuf enum INCONSISTENT_DIMENSIONS = 35; - */ - const INCONSISTENT_DIMENSIONS = 35; - /** - * The status cannot differ among template ads of the same union. - * - * Generated from protobuf enum INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36; - */ - const INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36; - /** - * The length of the string is not valid. - * - * Generated from protobuf enum INCORRECT_LENGTH = 37; - */ - const INCORRECT_LENGTH = 37; - /** - * The ad is ineligible for upgrade. - * - * Generated from protobuf enum INELIGIBLE_FOR_UPGRADE = 38; - */ - const INELIGIBLE_FOR_UPGRADE = 38; - /** - * User cannot create mobile ad for countries targeted in specified - * campaign. - * - * Generated from protobuf enum INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39; - */ - const INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39; - /** - * Invalid Ad type. A specific type of Ad is required. - * - * Generated from protobuf enum INVALID_AD_TYPE = 40; - */ - const INVALID_AD_TYPE = 40; - /** - * Headline, description or phone cannot be present when creating mobile - * image ad. - * - * Generated from protobuf enum INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41; - */ - const INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41; - /** - * Image cannot be present when creating mobile text ad. - * - * Generated from protobuf enum INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42; - */ - const INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42; - /** - * Invalid call to action text. - * - * Generated from protobuf enum INVALID_CALL_TO_ACTION_TEXT = 43; - */ - const INVALID_CALL_TO_ACTION_TEXT = 43; - /** - * Invalid character in URL. - * - * Generated from protobuf enum INVALID_CHARACTER_FOR_URL = 44; - */ - const INVALID_CHARACTER_FOR_URL = 44; - /** - * Creative's country code is not valid. - * - * Generated from protobuf enum INVALID_COUNTRY_CODE = 45; - */ - const INVALID_COUNTRY_CODE = 45; - /** - * Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) - * - * Generated from protobuf enum INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47; - */ - const INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47; - /** - * An input error whose real reason was not properly mapped (should not - * happen). - * - * Generated from protobuf enum INVALID_INPUT = 48; - */ - const INVALID_INPUT = 48; - /** - * An invalid markup language was entered. - * - * Generated from protobuf enum INVALID_MARKUP_LANGUAGE = 49; - */ - const INVALID_MARKUP_LANGUAGE = 49; - /** - * An invalid mobile carrier was entered. - * - * Generated from protobuf enum INVALID_MOBILE_CARRIER = 50; - */ - const INVALID_MOBILE_CARRIER = 50; - /** - * Specified mobile carriers target a country not targeted by the campaign. - * - * Generated from protobuf enum INVALID_MOBILE_CARRIER_TARGET = 51; - */ - const INVALID_MOBILE_CARRIER_TARGET = 51; - /** - * Wrong number of elements for given element type - * - * Generated from protobuf enum INVALID_NUMBER_OF_ELEMENTS = 52; - */ - const INVALID_NUMBER_OF_ELEMENTS = 52; - /** - * The format of the telephone number is incorrect. Re-enter the - * number using the correct format. - * - * Generated from protobuf enum INVALID_PHONE_NUMBER_FORMAT = 53; - */ - const INVALID_PHONE_NUMBER_FORMAT = 53; - /** - * The certified vendor format id is incorrect. - * - * Generated from protobuf enum INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54; - */ - const INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54; - /** - * The template ad data contains validation errors. - * - * Generated from protobuf enum INVALID_TEMPLATE_DATA = 55; - */ - const INVALID_TEMPLATE_DATA = 55; - /** - * The template field doesn't have have the correct type. - * - * Generated from protobuf enum INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56; - */ - const INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56; - /** - * Invalid template id. - * - * Generated from protobuf enum INVALID_TEMPLATE_ID = 57; - */ - const INVALID_TEMPLATE_ID = 57; - /** - * After substituting replacement strings, the line is too wide. - * - * Generated from protobuf enum LINE_TOO_WIDE = 58; - */ - const LINE_TOO_WIDE = 58; - /** - * The feed referenced must have ad customizer mapping to be used in a - * customizer tag. - * - * Generated from protobuf enum MISSING_AD_CUSTOMIZER_MAPPING = 59; - */ - const MISSING_AD_CUSTOMIZER_MAPPING = 59; - /** - * Missing address component in template element address field. - * - * Generated from protobuf enum MISSING_ADDRESS_COMPONENT = 60; - */ - const MISSING_ADDRESS_COMPONENT = 60; - /** - * An ad name must be entered. - * - * Generated from protobuf enum MISSING_ADVERTISEMENT_NAME = 61; - */ - const MISSING_ADVERTISEMENT_NAME = 61; - /** - * Business name must be entered. - * - * Generated from protobuf enum MISSING_BUSINESS_NAME = 62; - */ - const MISSING_BUSINESS_NAME = 62; - /** - * Description (line 2) must be entered. - * - * Generated from protobuf enum MISSING_DESCRIPTION1 = 63; - */ - const MISSING_DESCRIPTION1 = 63; - /** - * Description (line 3) must be entered. - * - * Generated from protobuf enum MISSING_DESCRIPTION2 = 64; - */ - const MISSING_DESCRIPTION2 = 64; - /** - * The destination url must contain at least one tag (for example, {lpurl}) - * - * Generated from protobuf enum MISSING_DESTINATION_URL_TAG = 65; - */ - const MISSING_DESTINATION_URL_TAG = 65; - /** - * The tracking url template of ExpandedDynamicSearchAd must contain at - * least one tag. (for example, {lpurl}) - * - * Generated from protobuf enum MISSING_LANDING_PAGE_URL_TAG = 66; - */ - const MISSING_LANDING_PAGE_URL_TAG = 66; - /** - * A valid dimension must be specified for this ad. - * - * Generated from protobuf enum MISSING_DIMENSION = 67; - */ - const MISSING_DIMENSION = 67; - /** - * A display URL must be entered. - * - * Generated from protobuf enum MISSING_DISPLAY_URL = 68; - */ - const MISSING_DISPLAY_URL = 68; - /** - * Headline must be entered. - * - * Generated from protobuf enum MISSING_HEADLINE = 69; - */ - const MISSING_HEADLINE = 69; - /** - * A height must be entered. - * - * Generated from protobuf enum MISSING_HEIGHT = 70; - */ - const MISSING_HEIGHT = 70; - /** - * An image must be entered. - * - * Generated from protobuf enum MISSING_IMAGE = 71; - */ - const MISSING_IMAGE = 71; - /** - * Marketing image or product videos are required. - * - * Generated from protobuf enum MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72; - */ - const MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72; - /** - * The markup language in which your site is written must be entered. - * - * Generated from protobuf enum MISSING_MARKUP_LANGUAGES = 73; - */ - const MISSING_MARKUP_LANGUAGES = 73; - /** - * A mobile carrier must be entered. - * - * Generated from protobuf enum MISSING_MOBILE_CARRIER = 74; - */ - const MISSING_MOBILE_CARRIER = 74; - /** - * Phone number must be entered. - * - * Generated from protobuf enum MISSING_PHONE = 75; - */ - const MISSING_PHONE = 75; - /** - * Missing required template fields - * - * Generated from protobuf enum MISSING_REQUIRED_TEMPLATE_FIELDS = 76; - */ - const MISSING_REQUIRED_TEMPLATE_FIELDS = 76; - /** - * Missing a required field value - * - * Generated from protobuf enum MISSING_TEMPLATE_FIELD_VALUE = 77; - */ - const MISSING_TEMPLATE_FIELD_VALUE = 77; - /** - * The ad must have text. - * - * Generated from protobuf enum MISSING_TEXT = 78; - */ - const MISSING_TEXT = 78; - /** - * A visible URL must be entered. - * - * Generated from protobuf enum MISSING_VISIBLE_URL = 79; - */ - const MISSING_VISIBLE_URL = 79; - /** - * A width must be entered. - * - * Generated from protobuf enum MISSING_WIDTH = 80; - */ - const MISSING_WIDTH = 80; - /** - * Only 1 feed can be used as the source of ad customizer substitutions in a - * single ad. - * - * Generated from protobuf enum MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81; - */ - const MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81; - /** - * TempAdUnionId must be use when adding template ads. - * - * Generated from protobuf enum MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82; - */ - const MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82; - /** - * The string has too many characters. - * - * Generated from protobuf enum TOO_LONG = 83; - */ - const TOO_LONG = 83; - /** - * The string has too few characters. - * - * Generated from protobuf enum TOO_SHORT = 84; - */ - const TOO_SHORT = 84; - /** - * Ad union dimensions cannot change for saved ads. - * - * Generated from protobuf enum UNION_DIMENSIONS_CANNOT_CHANGE = 85; - */ - const UNION_DIMENSIONS_CANNOT_CHANGE = 85; - /** - * Address component is not {country, lat, lng}. - * - * Generated from protobuf enum UNKNOWN_ADDRESS_COMPONENT = 86; - */ - const UNKNOWN_ADDRESS_COMPONENT = 86; - /** - * Unknown unique field name - * - * Generated from protobuf enum UNKNOWN_FIELD_NAME = 87; - */ - const UNKNOWN_FIELD_NAME = 87; - /** - * Unknown unique name (template element type specifier) - * - * Generated from protobuf enum UNKNOWN_UNIQUE_NAME = 88; - */ - const UNKNOWN_UNIQUE_NAME = 88; - /** - * Unsupported ad dimension - * - * Generated from protobuf enum UNSUPPORTED_DIMENSIONS = 89; - */ - const UNSUPPORTED_DIMENSIONS = 89; - /** - * URL starts with an invalid scheme. - * - * Generated from protobuf enum URL_INVALID_SCHEME = 90; - */ - const URL_INVALID_SCHEME = 90; - /** - * URL ends with an invalid top-level domain name. - * - * Generated from protobuf enum URL_INVALID_TOP_LEVEL_DOMAIN = 91; - */ - const URL_INVALID_TOP_LEVEL_DOMAIN = 91; - /** - * URL contains illegal characters. - * - * Generated from protobuf enum URL_MALFORMED = 92; - */ - const URL_MALFORMED = 92; - /** - * URL must contain a host name. - * - * Generated from protobuf enum URL_NO_HOST = 93; - */ - const URL_NO_HOST = 93; - /** - * URL not equivalent during upgrade. - * - * Generated from protobuf enum URL_NOT_EQUIVALENT = 94; - */ - const URL_NOT_EQUIVALENT = 94; - /** - * URL host name too long to be stored as visible URL (applies to Ad - * Exchange ads) - * - * Generated from protobuf enum URL_HOST_NAME_TOO_LONG = 95; - */ - const URL_HOST_NAME_TOO_LONG = 95; - /** - * URL must start with a scheme. - * - * Generated from protobuf enum URL_NO_SCHEME = 96; - */ - const URL_NO_SCHEME = 96; - /** - * URL should end in a valid domain extension, such as .com or .net. - * - * Generated from protobuf enum URL_NO_TOP_LEVEL_DOMAIN = 97; - */ - const URL_NO_TOP_LEVEL_DOMAIN = 97; - /** - * URL must not end with a path. - * - * Generated from protobuf enum URL_PATH_NOT_ALLOWED = 98; - */ - const URL_PATH_NOT_ALLOWED = 98; - /** - * URL must not specify a port. - * - * Generated from protobuf enum URL_PORT_NOT_ALLOWED = 99; - */ - const URL_PORT_NOT_ALLOWED = 99; - /** - * URL must not contain a query. - * - * Generated from protobuf enum URL_QUERY_NOT_ALLOWED = 100; - */ - const URL_QUERY_NOT_ALLOWED = 100; - /** - * A url scheme is not allowed in front of tag in tracking url template - * (for example, http://{lpurl}) - * - * Generated from protobuf enum URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102; - */ - const URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102; - /** - * The user does not have permissions to create a template ad for the given - * template. - * - * Generated from protobuf enum USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103; - */ - const USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103; - /** - * Expandable setting is inconsistent/wrong. For example, an AdX ad is - * invalid if it has a expandable vendor format but no expanding directions - * specified, or expanding directions is specified, but the vendor format is - * not expandable. - * - * Generated from protobuf enum INCONSISTENT_EXPANDABLE_SETTINGS = 104; - */ - const INCONSISTENT_EXPANDABLE_SETTINGS = 104; - /** - * Format is invalid - * - * Generated from protobuf enum INVALID_FORMAT = 105; - */ - const INVALID_FORMAT = 105; - /** - * The text of this field did not match a pattern of allowed values. - * - * Generated from protobuf enum INVALID_FIELD_TEXT = 106; - */ - const INVALID_FIELD_TEXT = 106; - /** - * Template element is mising - * - * Generated from protobuf enum ELEMENT_NOT_PRESENT = 107; - */ - const ELEMENT_NOT_PRESENT = 107; - /** - * Error occurred during image processing - * - * Generated from protobuf enum IMAGE_ERROR = 108; - */ - const IMAGE_ERROR = 108; - /** - * The value is not within the valid range - * - * Generated from protobuf enum VALUE_NOT_IN_RANGE = 109; - */ - const VALUE_NOT_IN_RANGE = 109; - /** - * Template element field is not present - * - * Generated from protobuf enum FIELD_NOT_PRESENT = 110; - */ - const FIELD_NOT_PRESENT = 110; - /** - * Address is incomplete - * - * Generated from protobuf enum ADDRESS_NOT_COMPLETE = 111; - */ - const ADDRESS_NOT_COMPLETE = 111; - /** - * Invalid address - * - * Generated from protobuf enum ADDRESS_INVALID = 112; - */ - const ADDRESS_INVALID = 112; - /** - * Error retrieving specified video - * - * Generated from protobuf enum VIDEO_RETRIEVAL_ERROR = 113; - */ - const VIDEO_RETRIEVAL_ERROR = 113; - /** - * Error processing audio - * - * Generated from protobuf enum AUDIO_ERROR = 114; - */ - const AUDIO_ERROR = 114; - /** - * Display URL is incorrect for YouTube PYV ads - * - * Generated from protobuf enum INVALID_YOUTUBE_DISPLAY_URL = 115; - */ - const INVALID_YOUTUBE_DISPLAY_URL = 115; - /** - * Too many product Images in GmailAd - * - * Generated from protobuf enum TOO_MANY_PRODUCT_IMAGES = 116; - */ - const TOO_MANY_PRODUCT_IMAGES = 116; - /** - * Too many product Videos in GmailAd - * - * Generated from protobuf enum TOO_MANY_PRODUCT_VIDEOS = 117; - */ - const TOO_MANY_PRODUCT_VIDEOS = 117; - /** - * The device preference is not compatible with the ad type - * - * Generated from protobuf enum INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118; - */ - const INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118; - /** - * Call tracking is not supported for specified country. - * - * Generated from protobuf enum CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119; - */ - const CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119; - /** - * Carrier specific short number is not allowed. - * - * Generated from protobuf enum CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120; - */ - const CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120; - /** - * Specified phone number type is disallowed. - * - * Generated from protobuf enum DISALLOWED_NUMBER_TYPE = 121; - */ - const DISALLOWED_NUMBER_TYPE = 121; - /** - * Phone number not supported for country. - * - * Generated from protobuf enum PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122; - */ - const PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122; - /** - * Phone number not supported with call tracking enabled for country. - * - * Generated from protobuf enum PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123; - */ - const PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123; - /** - * Premium rate phone number is not allowed. - * - * Generated from protobuf enum PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124; - */ - const PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124; - /** - * Vanity phone number is not allowed. - * - * Generated from protobuf enum VANITY_PHONE_NUMBER_NOT_ALLOWED = 125; - */ - const VANITY_PHONE_NUMBER_NOT_ALLOWED = 125; - /** - * Invalid call conversion type id. - * - * Generated from protobuf enum INVALID_CALL_CONVERSION_TYPE_ID = 126; - */ - const INVALID_CALL_CONVERSION_TYPE_ID = 126; - /** - * Cannot disable call conversion and set conversion type id. - * - * Generated from protobuf enum CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127; - */ - const CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127; - /** - * Cannot set path2 without path1. - * - * Generated from protobuf enum CANNOT_SET_PATH2_WITHOUT_PATH1 = 128; - */ - const CANNOT_SET_PATH2_WITHOUT_PATH1 = 128; - /** - * Missing domain name in campaign setting when adding expanded dynamic - * search ad. - * - * Generated from protobuf enum MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129; - */ - const MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129; - /** - * The associated ad is not compatible with restriction type. - * - * Generated from protobuf enum INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130; - */ - const INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130; - /** - * Consent for call recording is required for creating/updating call only - * ads. See https://support.google.com/google-ads/answer/7412639. - * - * Generated from protobuf enum CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 131; - */ - const CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 131; - /** - * Either an image or a media bundle is required in a display upload ad. - * - * Generated from protobuf enum MISSING_IMAGE_OR_MEDIA_BUNDLE = 132; - */ - const MISSING_IMAGE_OR_MEDIA_BUNDLE = 132; - /** - * The display upload product type is not supported in this campaign. - * - * Generated from protobuf enum PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = 133; - */ - const PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = 133; - /** - * The default value of an ad placeholder can not be the empty string. - * - * Generated from protobuf enum PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE = 134; - */ - const PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE = 134; - /** - * Ad placeholders with countdown functions must not have a default value. - * - * Generated from protobuf enum PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE = 135; - */ - const PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE = 135; - /** - * A previous ad placeholder that had a default value was found which means - * that all (non-countdown) placeholders must have a default value. This - * ad placeholder does not have a default value. - * - * Generated from protobuf enum PLACEHOLDER_DEFAULT_VALUE_MISSING = 136; - */ - const PLACEHOLDER_DEFAULT_VALUE_MISSING = 136; - /** - * A previous ad placeholder that did not have a default value was found - * which means that no placeholders may have a default value. This - * ad placeholder does have a default value. - * - * Generated from protobuf enum UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE = 137; - */ - const UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE = 137; - /** - * Two ad customizers may not be directly adjacent in an ad text. They must - * be separated by at least one character. - * - * Generated from protobuf enum AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT = 138; - */ - const AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT = 138; - /** - * The ad is not associated with any enabled AdGroupAd, and cannot be - * updated. - * - * Generated from protobuf enum UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION = 139; - */ - const UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION = 139; - /** - * Call Ad verification url and final url don't have same domain. - * - * Generated from protobuf enum CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN = 140; - */ - const CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN = 140; - /** - * Final url and verification url cannot both be empty for call ads. - * - * Generated from protobuf enum CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY = 154; - */ - const CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY = 154; - /** - * Too many ad customizers in one asset. - * - * Generated from protobuf enum TOO_MANY_AD_CUSTOMIZERS = 141; - */ - const TOO_MANY_AD_CUSTOMIZERS = 141; - /** - * The ad customizer tag is recognized, but the format is invalid. - * - * Generated from protobuf enum INVALID_AD_CUSTOMIZER_FORMAT = 142; - */ - const INVALID_AD_CUSTOMIZER_FORMAT = 142; - /** - * Customizer tags cannot be nested. - * - * Generated from protobuf enum NESTED_AD_CUSTOMIZER_SYNTAX = 143; - */ - const NESTED_AD_CUSTOMIZER_SYNTAX = 143; - /** - * The ad customizer syntax used in the ad is not supported. - * - * Generated from protobuf enum UNSUPPORTED_AD_CUSTOMIZER_SYNTAX = 144; - */ - const UNSUPPORTED_AD_CUSTOMIZER_SYNTAX = 144; - /** - * There exists unpaired brace in the ad customizer tag. - * - * Generated from protobuf enum UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG = 145; - */ - const UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG = 145; - /** - * More than one type of countdown tag exists among all text lines. - * - * Generated from protobuf enum MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS = 146; - */ - const MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS = 146; - /** - * Date time in the countdown tag is invalid. - * - * Generated from protobuf enum DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID = 147; - */ - const DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID = 147; - /** - * Date time in the countdown tag is in the past. - * - * Generated from protobuf enum DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST = 148; - */ - const DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST = 148; - /** - * Cannot recognize the ad customizer tag. - * - * Generated from protobuf enum UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND = 149; - */ - const UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND = 149; - /** - * Customizer type forbidden for this field. - * - * Generated from protobuf enum CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD = 150; - */ - const CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD = 150; - /** - * Customizer attribute name is invalid. - * - * Generated from protobuf enum INVALID_CUSTOMIZER_ATTRIBUTE_NAME = 151; - */ - const INVALID_CUSTOMIZER_ATTRIBUTE_NAME = 151; - /** - * App store value does not match the value of the app store in the app - * specified in the campaign. - * - * Generated from protobuf enum STORE_MISMATCH = 152; - */ - const STORE_MISMATCH = 152; - /** - * Missing required image aspect ratio. - * - * Generated from protobuf enum MISSING_REQUIRED_IMAGE_ASPECT_RATIO = 153; - */ - const MISSING_REQUIRED_IMAGE_ASPECT_RATIO = 153; - /** - * Aspect ratios mismatch between different assets. - * - * Generated from protobuf enum MISMATCHED_ASPECT_RATIOS = 155; - */ - const MISMATCHED_ASPECT_RATIOS = 155; - /** - * Images must be unique between different carousel card assets. - * - * Generated from protobuf enum DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156; - */ - const DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE => 'AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE', - self::APPROXIMATELY_TOO_LONG => 'APPROXIMATELY_TOO_LONG', - self::APPROXIMATELY_TOO_SHORT => 'APPROXIMATELY_TOO_SHORT', - self::BAD_SNIPPET => 'BAD_SNIPPET', - self::CANNOT_MODIFY_AD => 'CANNOT_MODIFY_AD', - self::CANNOT_SET_BUSINESS_NAME_IF_URL_SET => 'CANNOT_SET_BUSINESS_NAME_IF_URL_SET', - self::CANNOT_SET_FIELD => 'CANNOT_SET_FIELD', - self::CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET => 'CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET', - self::CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING => 'CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING', - self::CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE => 'CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE', - self::CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING => 'CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING', - self::CANNOT_SET_URL => 'CANNOT_SET_URL', - self::CANNOT_SET_WITHOUT_FINAL_URLS => 'CANNOT_SET_WITHOUT_FINAL_URLS', - self::CANNOT_SET_WITH_FINAL_URLS => 'CANNOT_SET_WITH_FINAL_URLS', - self::CANNOT_SET_WITH_URL_DATA => 'CANNOT_SET_WITH_URL_DATA', - self::CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR => 'CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR', - self::CUSTOMER_NOT_APPROVED_MOBILEADS => 'CUSTOMER_NOT_APPROVED_MOBILEADS', - self::CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS => 'CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS', - self::CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS => 'CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS', - self::CUSTOMER_NOT_ELIGIBLE => 'CUSTOMER_NOT_ELIGIBLE', - self::CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL => 'CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL', - self::DIMENSION_ALREADY_IN_UNION => 'DIMENSION_ALREADY_IN_UNION', - self::DIMENSION_MUST_BE_SET => 'DIMENSION_MUST_BE_SET', - self::DIMENSION_NOT_IN_UNION => 'DIMENSION_NOT_IN_UNION', - self::DISPLAY_URL_CANNOT_BE_SPECIFIED => 'DISPLAY_URL_CANNOT_BE_SPECIFIED', - self::DOMESTIC_PHONE_NUMBER_FORMAT => 'DOMESTIC_PHONE_NUMBER_FORMAT', - self::EMERGENCY_PHONE_NUMBER => 'EMERGENCY_PHONE_NUMBER', - self::EMPTY_FIELD => 'EMPTY_FIELD', - self::FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID => 'FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID', - self::FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH => 'FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH', - self::ILLEGAL_AD_CUSTOMIZER_TAG_USE => 'ILLEGAL_AD_CUSTOMIZER_TAG_USE', - self::ILLEGAL_TAG_USE => 'ILLEGAL_TAG_USE', - self::INCONSISTENT_DIMENSIONS => 'INCONSISTENT_DIMENSIONS', - self::INCONSISTENT_STATUS_IN_TEMPLATE_UNION => 'INCONSISTENT_STATUS_IN_TEMPLATE_UNION', - self::INCORRECT_LENGTH => 'INCORRECT_LENGTH', - self::INELIGIBLE_FOR_UPGRADE => 'INELIGIBLE_FOR_UPGRADE', - self::INVALID_AD_ADDRESS_CAMPAIGN_TARGET => 'INVALID_AD_ADDRESS_CAMPAIGN_TARGET', - self::INVALID_AD_TYPE => 'INVALID_AD_TYPE', - self::INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE => 'INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE', - self::INVALID_ATTRIBUTES_FOR_MOBILE_TEXT => 'INVALID_ATTRIBUTES_FOR_MOBILE_TEXT', - self::INVALID_CALL_TO_ACTION_TEXT => 'INVALID_CALL_TO_ACTION_TEXT', - self::INVALID_CHARACTER_FOR_URL => 'INVALID_CHARACTER_FOR_URL', - self::INVALID_COUNTRY_CODE => 'INVALID_COUNTRY_CODE', - self::INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG => 'INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG', - self::INVALID_INPUT => 'INVALID_INPUT', - self::INVALID_MARKUP_LANGUAGE => 'INVALID_MARKUP_LANGUAGE', - self::INVALID_MOBILE_CARRIER => 'INVALID_MOBILE_CARRIER', - self::INVALID_MOBILE_CARRIER_TARGET => 'INVALID_MOBILE_CARRIER_TARGET', - self::INVALID_NUMBER_OF_ELEMENTS => 'INVALID_NUMBER_OF_ELEMENTS', - self::INVALID_PHONE_NUMBER_FORMAT => 'INVALID_PHONE_NUMBER_FORMAT', - self::INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID => 'INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID', - self::INVALID_TEMPLATE_DATA => 'INVALID_TEMPLATE_DATA', - self::INVALID_TEMPLATE_ELEMENT_FIELD_TYPE => 'INVALID_TEMPLATE_ELEMENT_FIELD_TYPE', - self::INVALID_TEMPLATE_ID => 'INVALID_TEMPLATE_ID', - self::LINE_TOO_WIDE => 'LINE_TOO_WIDE', - self::MISSING_AD_CUSTOMIZER_MAPPING => 'MISSING_AD_CUSTOMIZER_MAPPING', - self::MISSING_ADDRESS_COMPONENT => 'MISSING_ADDRESS_COMPONENT', - self::MISSING_ADVERTISEMENT_NAME => 'MISSING_ADVERTISEMENT_NAME', - self::MISSING_BUSINESS_NAME => 'MISSING_BUSINESS_NAME', - self::MISSING_DESCRIPTION1 => 'MISSING_DESCRIPTION1', - self::MISSING_DESCRIPTION2 => 'MISSING_DESCRIPTION2', - self::MISSING_DESTINATION_URL_TAG => 'MISSING_DESTINATION_URL_TAG', - self::MISSING_LANDING_PAGE_URL_TAG => 'MISSING_LANDING_PAGE_URL_TAG', - self::MISSING_DIMENSION => 'MISSING_DIMENSION', - self::MISSING_DISPLAY_URL => 'MISSING_DISPLAY_URL', - self::MISSING_HEADLINE => 'MISSING_HEADLINE', - self::MISSING_HEIGHT => 'MISSING_HEIGHT', - self::MISSING_IMAGE => 'MISSING_IMAGE', - self::MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS => 'MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS', - self::MISSING_MARKUP_LANGUAGES => 'MISSING_MARKUP_LANGUAGES', - self::MISSING_MOBILE_CARRIER => 'MISSING_MOBILE_CARRIER', - self::MISSING_PHONE => 'MISSING_PHONE', - self::MISSING_REQUIRED_TEMPLATE_FIELDS => 'MISSING_REQUIRED_TEMPLATE_FIELDS', - self::MISSING_TEMPLATE_FIELD_VALUE => 'MISSING_TEMPLATE_FIELD_VALUE', - self::MISSING_TEXT => 'MISSING_TEXT', - self::MISSING_VISIBLE_URL => 'MISSING_VISIBLE_URL', - self::MISSING_WIDTH => 'MISSING_WIDTH', - self::MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED => 'MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED', - self::MUST_USE_TEMP_AD_UNION_ID_ON_ADD => 'MUST_USE_TEMP_AD_UNION_ID_ON_ADD', - self::TOO_LONG => 'TOO_LONG', - self::TOO_SHORT => 'TOO_SHORT', - self::UNION_DIMENSIONS_CANNOT_CHANGE => 'UNION_DIMENSIONS_CANNOT_CHANGE', - self::UNKNOWN_ADDRESS_COMPONENT => 'UNKNOWN_ADDRESS_COMPONENT', - self::UNKNOWN_FIELD_NAME => 'UNKNOWN_FIELD_NAME', - self::UNKNOWN_UNIQUE_NAME => 'UNKNOWN_UNIQUE_NAME', - self::UNSUPPORTED_DIMENSIONS => 'UNSUPPORTED_DIMENSIONS', - self::URL_INVALID_SCHEME => 'URL_INVALID_SCHEME', - self::URL_INVALID_TOP_LEVEL_DOMAIN => 'URL_INVALID_TOP_LEVEL_DOMAIN', - self::URL_MALFORMED => 'URL_MALFORMED', - self::URL_NO_HOST => 'URL_NO_HOST', - self::URL_NOT_EQUIVALENT => 'URL_NOT_EQUIVALENT', - self::URL_HOST_NAME_TOO_LONG => 'URL_HOST_NAME_TOO_LONG', - self::URL_NO_SCHEME => 'URL_NO_SCHEME', - self::URL_NO_TOP_LEVEL_DOMAIN => 'URL_NO_TOP_LEVEL_DOMAIN', - self::URL_PATH_NOT_ALLOWED => 'URL_PATH_NOT_ALLOWED', - self::URL_PORT_NOT_ALLOWED => 'URL_PORT_NOT_ALLOWED', - self::URL_QUERY_NOT_ALLOWED => 'URL_QUERY_NOT_ALLOWED', - self::URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG => 'URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG', - self::USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE => 'USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE', - self::INCONSISTENT_EXPANDABLE_SETTINGS => 'INCONSISTENT_EXPANDABLE_SETTINGS', - self::INVALID_FORMAT => 'INVALID_FORMAT', - self::INVALID_FIELD_TEXT => 'INVALID_FIELD_TEXT', - self::ELEMENT_NOT_PRESENT => 'ELEMENT_NOT_PRESENT', - self::IMAGE_ERROR => 'IMAGE_ERROR', - self::VALUE_NOT_IN_RANGE => 'VALUE_NOT_IN_RANGE', - self::FIELD_NOT_PRESENT => 'FIELD_NOT_PRESENT', - self::ADDRESS_NOT_COMPLETE => 'ADDRESS_NOT_COMPLETE', - self::ADDRESS_INVALID => 'ADDRESS_INVALID', - self::VIDEO_RETRIEVAL_ERROR => 'VIDEO_RETRIEVAL_ERROR', - self::AUDIO_ERROR => 'AUDIO_ERROR', - self::INVALID_YOUTUBE_DISPLAY_URL => 'INVALID_YOUTUBE_DISPLAY_URL', - self::TOO_MANY_PRODUCT_IMAGES => 'TOO_MANY_PRODUCT_IMAGES', - self::TOO_MANY_PRODUCT_VIDEOS => 'TOO_MANY_PRODUCT_VIDEOS', - self::INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE => 'INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE', - self::CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY => 'CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', - self::CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED => 'CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', - self::DISALLOWED_NUMBER_TYPE => 'DISALLOWED_NUMBER_TYPE', - self::PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY => 'PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', - self::PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY => 'PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', - self::PREMIUM_RATE_NUMBER_NOT_ALLOWED => 'PREMIUM_RATE_NUMBER_NOT_ALLOWED', - self::VANITY_PHONE_NUMBER_NOT_ALLOWED => 'VANITY_PHONE_NUMBER_NOT_ALLOWED', - self::INVALID_CALL_CONVERSION_TYPE_ID => 'INVALID_CALL_CONVERSION_TYPE_ID', - self::CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID => 'CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID', - self::CANNOT_SET_PATH2_WITHOUT_PATH1 => 'CANNOT_SET_PATH2_WITHOUT_PATH1', - self::MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME => 'MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME', - self::INCOMPATIBLE_WITH_RESTRICTION_TYPE => 'INCOMPATIBLE_WITH_RESTRICTION_TYPE', - self::CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED => 'CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', - self::MISSING_IMAGE_OR_MEDIA_BUNDLE => 'MISSING_IMAGE_OR_MEDIA_BUNDLE', - self::PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN => 'PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN', - self::PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE => 'PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE', - self::PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE => 'PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE', - self::PLACEHOLDER_DEFAULT_VALUE_MISSING => 'PLACEHOLDER_DEFAULT_VALUE_MISSING', - self::UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE => 'UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE', - self::AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT => 'AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT', - self::UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION => 'UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION', - self::CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN => 'CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN', - self::CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY => 'CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY', - self::TOO_MANY_AD_CUSTOMIZERS => 'TOO_MANY_AD_CUSTOMIZERS', - self::INVALID_AD_CUSTOMIZER_FORMAT => 'INVALID_AD_CUSTOMIZER_FORMAT', - self::NESTED_AD_CUSTOMIZER_SYNTAX => 'NESTED_AD_CUSTOMIZER_SYNTAX', - self::UNSUPPORTED_AD_CUSTOMIZER_SYNTAX => 'UNSUPPORTED_AD_CUSTOMIZER_SYNTAX', - self::UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG => 'UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG', - self::MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS => 'MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS', - self::DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID => 'DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID', - self::DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST => 'DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST', - self::UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND => 'UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND', - self::CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD => 'CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD', - self::INVALID_CUSTOMIZER_ATTRIBUTE_NAME => 'INVALID_CUSTOMIZER_ATTRIBUTE_NAME', - self::STORE_MISMATCH => 'STORE_MISMATCH', - self::MISSING_REQUIRED_IMAGE_ASPECT_RATIO => 'MISSING_REQUIRED_IMAGE_ASPECT_RATIO', - self::MISMATCHED_ASPECT_RATIOS => 'MISMATCHED_ASPECT_RATIOS', - self::DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS => 'DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdError::class, \Google\Ads\GoogleAds\V15\Errors\AdErrorEnum_AdError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupAdErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupAdErrorEnum.php deleted file mode 100644 index f0dad55e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupAdErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupAdErrorEnum - */ -class AdGroupAdErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdGroupAdError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupAdErrorEnum/AdGroupAdError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupAdErrorEnum/AdGroupAdError.php deleted file mode 100644 index 03e698114..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupAdErrorEnum/AdGroupAdError.php +++ /dev/null @@ -1,137 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupAdErrorEnum.AdGroupAdError - */ -class AdGroupAdError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * No link found between the adgroup ad and the label. - * - * Generated from protobuf enum AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2; - */ - const AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2; - /** - * The label has already been attached to the adgroup ad. - * - * Generated from protobuf enum AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3; - */ - const AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3; - /** - * The specified ad was not found in the adgroup - * - * Generated from protobuf enum AD_NOT_UNDER_ADGROUP = 4; - */ - const AD_NOT_UNDER_ADGROUP = 4; - /** - * Removed ads may not be modified - * - * Generated from protobuf enum CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5; - */ - const CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5; - /** - * An ad of this type is deprecated and cannot be created. Only deletions - * are permitted. - * - * Generated from protobuf enum CANNOT_CREATE_DEPRECATED_ADS = 6; - */ - const CANNOT_CREATE_DEPRECATED_ADS = 6; - /** - * Text ads are deprecated and cannot be created. Use expanded text ads - * instead. - * - * Generated from protobuf enum CANNOT_CREATE_TEXT_ADS = 7; - */ - const CANNOT_CREATE_TEXT_ADS = 7; - /** - * A required field was not specified or is an empty string. - * - * Generated from protobuf enum EMPTY_FIELD = 8; - */ - const EMPTY_FIELD = 8; - /** - * An ad may only be modified once per call - * - * Generated from protobuf enum RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9; - */ - const RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9; - /** - * AdGroupAds with the given ad type cannot be paused. - * - * Generated from protobuf enum AD_TYPE_CANNOT_BE_PAUSED = 10; - */ - const AD_TYPE_CANNOT_BE_PAUSED = 10; - /** - * AdGroupAds with the given ad type cannot be removed. - * - * Generated from protobuf enum AD_TYPE_CANNOT_BE_REMOVED = 11; - */ - const AD_TYPE_CANNOT_BE_REMOVED = 11; - /** - * An ad of this type is deprecated and cannot be updated. Only removals - * are permitted. - * - * Generated from protobuf enum CANNOT_UPDATE_DEPRECATED_ADS = 12; - */ - const CANNOT_UPDATE_DEPRECATED_ADS = 12; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_GROUP_AD_LABEL_DOES_NOT_EXIST => 'AD_GROUP_AD_LABEL_DOES_NOT_EXIST', - self::AD_GROUP_AD_LABEL_ALREADY_EXISTS => 'AD_GROUP_AD_LABEL_ALREADY_EXISTS', - self::AD_NOT_UNDER_ADGROUP => 'AD_NOT_UNDER_ADGROUP', - self::CANNOT_OPERATE_ON_REMOVED_ADGROUPAD => 'CANNOT_OPERATE_ON_REMOVED_ADGROUPAD', - self::CANNOT_CREATE_DEPRECATED_ADS => 'CANNOT_CREATE_DEPRECATED_ADS', - self::CANNOT_CREATE_TEXT_ADS => 'CANNOT_CREATE_TEXT_ADS', - self::EMPTY_FIELD => 'EMPTY_FIELD', - self::RESOURCE_REFERENCED_IN_MULTIPLE_OPS => 'RESOURCE_REFERENCED_IN_MULTIPLE_OPS', - self::AD_TYPE_CANNOT_BE_PAUSED => 'AD_TYPE_CANNOT_BE_PAUSED', - self::AD_TYPE_CANNOT_BE_REMOVED => 'AD_TYPE_CANNOT_BE_REMOVED', - self::CANNOT_UPDATE_DEPRECATED_ADS => 'CANNOT_UPDATE_DEPRECATED_ADS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupAdError::class, \Google\Ads\GoogleAds\V15\Errors\AdGroupAdErrorEnum_AdGroupAdError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierErrorEnum.php deleted file mode 100644 index dc233cd32..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupBidModifierErrorEnum - */ -class AdGroupBidModifierErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdGroupBidModifierError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierErrorEnum/AdGroupBidModifierError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierErrorEnum/AdGroupBidModifierError.php deleted file mode 100644 index 4a7d24d48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupBidModifierErrorEnum/AdGroupBidModifierError.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierError - */ -class AdGroupBidModifierError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The criterion ID does not support bid modification. - * - * Generated from protobuf enum CRITERION_ID_NOT_SUPPORTED = 2; - */ - const CRITERION_ID_NOT_SUPPORTED = 2; - /** - * Cannot override the bid modifier for the given criterion ID if the parent - * campaign is opted out of the same criterion. - * - * Generated from protobuf enum CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3; - */ - const CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CRITERION_ID_NOT_SUPPORTED => 'CRITERION_ID_NOT_SUPPORTED', - self::CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER => 'CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupBidModifierError::class, \Google\Ads\GoogleAds\V15\Errors\AdGroupBidModifierErrorEnum_AdGroupBidModifierError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerErrorEnum.php deleted file mode 100644 index 3644dbd46..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupCriterionCustomizerErrorEnum - */ -class AdGroupCriterionCustomizerErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdGroupCriterionCustomizerError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerErrorEnum/AdGroupCriterionCustomizerError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerErrorEnum/AdGroupCriterionCustomizerError.php deleted file mode 100644 index 0e2d91cf3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionCustomizerErrorEnum/AdGroupCriterionCustomizerError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupCriterionCustomizerErrorEnum.AdGroupCriterionCustomizerError - */ -class AdGroupCriterionCustomizerError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Only keyword type criterion is allowed to link customizer attribute. - * - * Generated from protobuf enum CRITERION_IS_NOT_KEYWORD = 2; - */ - const CRITERION_IS_NOT_KEYWORD = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CRITERION_IS_NOT_KEYWORD => 'CRITERION_IS_NOT_KEYWORD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupCriterionCustomizerError::class, \Google\Ads\GoogleAds\V15\Errors\AdGroupCriterionCustomizerErrorEnum_AdGroupCriterionCustomizerError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionErrorEnum.php deleted file mode 100644 index 4a7e7261f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupCriterionErrorEnum - */ -class AdGroupCriterionErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdGroupCriterionError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionErrorEnum/AdGroupCriterionError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionErrorEnum/AdGroupCriterionError.php deleted file mode 100644 index 828d73790..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCriterionErrorEnum/AdGroupCriterionError.php +++ /dev/null @@ -1,262 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError - */ -class AdGroupCriterionError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * No link found between the AdGroupCriterion and the label. - * - * Generated from protobuf enum AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2; - */ - const AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2; - /** - * The label has already been attached to the AdGroupCriterion. - * - * Generated from protobuf enum AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3; - */ - const AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3; - /** - * Negative AdGroupCriterion cannot have labels. - * - * Generated from protobuf enum CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4; - */ - const CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4; - /** - * Too many operations for a single call. - * - * Generated from protobuf enum TOO_MANY_OPERATIONS = 5; - */ - const TOO_MANY_OPERATIONS = 5; - /** - * Negative ad group criteria are not updateable. - * - * Generated from protobuf enum CANT_UPDATE_NEGATIVE = 6; - */ - const CANT_UPDATE_NEGATIVE = 6; - /** - * Concrete type of criterion (keyword v.s. placement) is required for ADD - * and SET operations. - * - * Generated from protobuf enum CONCRETE_TYPE_REQUIRED = 7; - */ - const CONCRETE_TYPE_REQUIRED = 7; - /** - * Bid is incompatible with ad group's bidding settings. - * - * Generated from protobuf enum BID_INCOMPATIBLE_WITH_ADGROUP = 8; - */ - const BID_INCOMPATIBLE_WITH_ADGROUP = 8; - /** - * Cannot target and exclude the same criterion at once. - * - * Generated from protobuf enum CANNOT_TARGET_AND_EXCLUDE = 9; - */ - const CANNOT_TARGET_AND_EXCLUDE = 9; - /** - * The URL of a placement is invalid. - * - * Generated from protobuf enum ILLEGAL_URL = 10; - */ - const ILLEGAL_URL = 10; - /** - * Keyword text was invalid. - * - * Generated from protobuf enum INVALID_KEYWORD_TEXT = 11; - */ - const INVALID_KEYWORD_TEXT = 11; - /** - * Destination URL was invalid. - * - * Generated from protobuf enum INVALID_DESTINATION_URL = 12; - */ - const INVALID_DESTINATION_URL = 12; - /** - * The destination url must contain at least one tag (for example, {lpurl}) - * - * Generated from protobuf enum MISSING_DESTINATION_URL_TAG = 13; - */ - const MISSING_DESTINATION_URL_TAG = 13; - /** - * Keyword-level cpm bid is not supported - * - * Generated from protobuf enum KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14; - */ - const KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14; - /** - * For example, cannot add a biddable ad group criterion that had been - * removed. - * - * Generated from protobuf enum INVALID_USER_STATUS = 15; - */ - const INVALID_USER_STATUS = 15; - /** - * Criteria type cannot be targeted for the ad group. Either the account is - * restricted to keywords only, the criteria type is incompatible with the - * campaign's bidding strategy, or the criteria type can only be applied to - * campaigns. - * - * Generated from protobuf enum CANNOT_ADD_CRITERIA_TYPE = 16; - */ - const CANNOT_ADD_CRITERIA_TYPE = 16; - /** - * Criteria type cannot be excluded for the ad group. Refer to the - * documentation for a specific criterion to check if it is excludable. - * - * Generated from protobuf enum CANNOT_EXCLUDE_CRITERIA_TYPE = 17; - */ - const CANNOT_EXCLUDE_CRITERIA_TYPE = 17; - /** - * Partial failure is not supported for shopping campaign mutate operations. - * - * Generated from protobuf enum CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27; - */ - const CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27; - /** - * Operations in the mutate request changes too many shopping ad groups. - * Split requests for multiple shopping ad groups across multiple - * requests. - * - * Generated from protobuf enum OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28; - */ - const OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28; - /** - * Not allowed to modify url fields of an ad group criterion if there are - * duplicate elements for that ad group criterion in the request. - * - * Generated from protobuf enum CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29; - */ - const CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29; - /** - * Cannot set url fields without also setting final urls. - * - * Generated from protobuf enum CANNOT_SET_WITHOUT_FINAL_URLS = 30; - */ - const CANNOT_SET_WITHOUT_FINAL_URLS = 30; - /** - * Cannot clear final urls if final mobile urls exist. - * - * Generated from protobuf enum CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31; - */ - const CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31; - /** - * Cannot clear final urls if final app urls exist. - * - * Generated from protobuf enum CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32; - */ - const CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32; - /** - * Cannot clear final urls if tracking url template exists. - * - * Generated from protobuf enum CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33; - */ - const CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33; - /** - * Cannot clear final urls if url custom parameters exist. - * - * Generated from protobuf enum CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34; - */ - const CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34; - /** - * Cannot set both destination url and final urls. - * - * Generated from protobuf enum CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35; - */ - const CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35; - /** - * Cannot set both destination url and tracking url template. - * - * Generated from protobuf enum CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36; - */ - const CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36; - /** - * Final urls are not supported for this criterion type. - * - * Generated from protobuf enum FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37; - */ - const FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37; - /** - * Final mobile urls are not supported for this criterion type. - * - * Generated from protobuf enum FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38; - */ - const FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST => 'AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST', - self::AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS => 'AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS', - self::CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION => 'CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION', - self::TOO_MANY_OPERATIONS => 'TOO_MANY_OPERATIONS', - self::CANT_UPDATE_NEGATIVE => 'CANT_UPDATE_NEGATIVE', - self::CONCRETE_TYPE_REQUIRED => 'CONCRETE_TYPE_REQUIRED', - self::BID_INCOMPATIBLE_WITH_ADGROUP => 'BID_INCOMPATIBLE_WITH_ADGROUP', - self::CANNOT_TARGET_AND_EXCLUDE => 'CANNOT_TARGET_AND_EXCLUDE', - self::ILLEGAL_URL => 'ILLEGAL_URL', - self::INVALID_KEYWORD_TEXT => 'INVALID_KEYWORD_TEXT', - self::INVALID_DESTINATION_URL => 'INVALID_DESTINATION_URL', - self::MISSING_DESTINATION_URL_TAG => 'MISSING_DESTINATION_URL_TAG', - self::KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM => 'KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM', - self::INVALID_USER_STATUS => 'INVALID_USER_STATUS', - self::CANNOT_ADD_CRITERIA_TYPE => 'CANNOT_ADD_CRITERIA_TYPE', - self::CANNOT_EXCLUDE_CRITERIA_TYPE => 'CANNOT_EXCLUDE_CRITERIA_TYPE', - self::CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE => 'CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE', - self::OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS => 'OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS', - self::CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS => 'CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS', - self::CANNOT_SET_WITHOUT_FINAL_URLS => 'CANNOT_SET_WITHOUT_FINAL_URLS', - self::CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST => 'CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST', - self::CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST => 'CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST', - self::CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS => 'CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS', - self::CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST => 'CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST', - self::CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS => 'CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS', - self::CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE => 'CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE', - self::FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE => 'FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE', - self::FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE => 'FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupCriterionError::class, \Google\Ads\GoogleAds\V15\Errors\AdGroupCriterionErrorEnum_AdGroupCriterionError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerErrorEnum.php deleted file mode 100644 index f7830f225..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupCustomizerErrorEnum - */ -class AdGroupCustomizerErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdGroupCustomizerError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerErrorEnum/AdGroupCustomizerError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerErrorEnum/AdGroupCustomizerError.php deleted file mode 100644 index 89b9fc03d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupCustomizerErrorEnum/AdGroupCustomizerError.php +++ /dev/null @@ -1,57 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupCustomizerErrorEnum.AdGroupCustomizerError - */ -class AdGroupCustomizerError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupCustomizerError::class, \Google\Ads\GoogleAds\V15\Errors\AdGroupCustomizerErrorEnum_AdGroupCustomizerError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupErrorEnum.php deleted file mode 100644 index 4bb2e80f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupErrorEnum - */ -class AdGroupErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdGroupError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupErrorEnum/AdGroupError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupErrorEnum/AdGroupError.php deleted file mode 100644 index 76e29b8f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupErrorEnum/AdGroupError.php +++ /dev/null @@ -1,168 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupErrorEnum.AdGroupError - */ -class AdGroupError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * AdGroup with the same name already exists for the campaign. - * - * Generated from protobuf enum DUPLICATE_ADGROUP_NAME = 2; - */ - const DUPLICATE_ADGROUP_NAME = 2; - /** - * AdGroup name is not valid. - * - * Generated from protobuf enum INVALID_ADGROUP_NAME = 3; - */ - const INVALID_ADGROUP_NAME = 3; - /** - * Advertiser is not allowed to target sites or set site bids that are not - * on the Google Search Network. - * - * Generated from protobuf enum ADVERTISER_NOT_ON_CONTENT_NETWORK = 5; - */ - const ADVERTISER_NOT_ON_CONTENT_NETWORK = 5; - /** - * Bid amount is too big. - * - * Generated from protobuf enum BID_TOO_BIG = 6; - */ - const BID_TOO_BIG = 6; - /** - * AdGroup bid does not match the campaign's bidding strategy. - * - * Generated from protobuf enum BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7; - */ - const BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7; - /** - * AdGroup name is required for Add. - * - * Generated from protobuf enum MISSING_ADGROUP_NAME = 8; - */ - const MISSING_ADGROUP_NAME = 8; - /** - * No link found between the ad group and the label. - * - * Generated from protobuf enum ADGROUP_LABEL_DOES_NOT_EXIST = 9; - */ - const ADGROUP_LABEL_DOES_NOT_EXIST = 9; - /** - * The label has already been attached to the ad group. - * - * Generated from protobuf enum ADGROUP_LABEL_ALREADY_EXISTS = 10; - */ - const ADGROUP_LABEL_ALREADY_EXISTS = 10; - /** - * The CriterionTypeGroup is not supported for the content bid dimension. - * - * Generated from protobuf enum INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11; - */ - const INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11; - /** - * The ad group type is not compatible with the campaign channel type. - * - * Generated from protobuf enum AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12; - */ - const AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12; - /** - * The ad group type is not supported in the country of sale of the - * campaign. - * - * Generated from protobuf enum ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13; - */ - const ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13; - /** - * Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to - * campaigns that have DynamicSearchAdsSetting attached. - * - * Generated from protobuf enum CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14; - */ - const CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14; - /** - * Promoted hotels ad groups are only available to customers on the - * allow-list. - * - * Generated from protobuf enum PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15; - */ - const PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15; - /** - * The field type cannot be excluded because an active ad group-asset link - * of this type exists. - * - * Generated from protobuf enum INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16; - */ - const INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16; - /** - * The asset set type is invalid for setting the - * excluded_parent_asset_set_types field. - * - * Generated from protobuf enum INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17; - */ - const INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_ADGROUP_NAME => 'DUPLICATE_ADGROUP_NAME', - self::INVALID_ADGROUP_NAME => 'INVALID_ADGROUP_NAME', - self::ADVERTISER_NOT_ON_CONTENT_NETWORK => 'ADVERTISER_NOT_ON_CONTENT_NETWORK', - self::BID_TOO_BIG => 'BID_TOO_BIG', - self::BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH => 'BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH', - self::MISSING_ADGROUP_NAME => 'MISSING_ADGROUP_NAME', - self::ADGROUP_LABEL_DOES_NOT_EXIST => 'ADGROUP_LABEL_DOES_NOT_EXIST', - self::ADGROUP_LABEL_ALREADY_EXISTS => 'ADGROUP_LABEL_ALREADY_EXISTS', - self::INVALID_CONTENT_BID_CRITERION_TYPE_GROUP => 'INVALID_CONTENT_BID_CRITERION_TYPE_GROUP', - self::AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE => 'AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE', - self::ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY => 'ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY', - self::CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING => 'CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING', - self::PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER => 'PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER', - self::INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE => 'INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE', - self::INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE => 'INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupError::class, \Google\Ads\GoogleAds\V15\Errors\AdGroupErrorEnum_AdGroupError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedErrorEnum.php deleted file mode 100644 index f0aa1c8a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupFeedErrorEnum - */ -class AdGroupFeedErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdGroupFeedError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedErrorEnum/AdGroupFeedError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedErrorEnum/AdGroupFeedError.php deleted file mode 100644 index c53bc4044..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdGroupFeedErrorEnum/AdGroupFeedError.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.errors.AdGroupFeedErrorEnum.AdGroupFeedError - */ -class AdGroupFeedError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An active feed already exists for this ad group and place holder type. - * - * Generated from protobuf enum FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - */ - const FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - /** - * The specified feed is removed. - * - * Generated from protobuf enum CANNOT_CREATE_FOR_REMOVED_FEED = 3; - */ - const CANNOT_CREATE_FOR_REMOVED_FEED = 3; - /** - * The AdGroupFeed already exists. UPDATE operation should be used to modify - * the existing AdGroupFeed. - * - * Generated from protobuf enum ADGROUP_FEED_ALREADY_EXISTS = 4; - */ - const ADGROUP_FEED_ALREADY_EXISTS = 4; - /** - * Cannot operate on removed AdGroupFeed. - * - * Generated from protobuf enum CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED = 5; - */ - const CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED = 5; - /** - * Invalid placeholder type. - * - * Generated from protobuf enum INVALID_PLACEHOLDER_TYPE = 6; - */ - const INVALID_PLACEHOLDER_TYPE = 6; - /** - * Feed mapping for this placeholder type does not exist. - * - * Generated from protobuf enum MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - */ - const MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - /** - * Location AdGroupFeeds cannot be created unless there is a location - * CustomerFeed for the specified feed. - * - * Generated from protobuf enum NO_EXISTING_LOCATION_CUSTOMER_FEED = 8; - */ - const NO_EXISTING_LOCATION_CUSTOMER_FEED = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE => 'FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', - self::CANNOT_CREATE_FOR_REMOVED_FEED => 'CANNOT_CREATE_FOR_REMOVED_FEED', - self::ADGROUP_FEED_ALREADY_EXISTS => 'ADGROUP_FEED_ALREADY_EXISTS', - self::CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED => 'CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED', - self::INVALID_PLACEHOLDER_TYPE => 'INVALID_PLACEHOLDER_TYPE', - self::MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE => 'MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', - self::NO_EXISTING_LOCATION_CUSTOMER_FEED => 'NO_EXISTING_LOCATION_CUSTOMER_FEED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdGroupFeedError::class, \Google\Ads\GoogleAds\V15\Errors\AdGroupFeedErrorEnum_AdGroupFeedError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdParameterErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdParameterErrorEnum.php deleted file mode 100644 index 430e434b1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdParameterErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdParameterErrorEnum - */ -class AdParameterErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdParameterError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdParameterErrorEnum/AdParameterError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdParameterErrorEnum/AdParameterError.php deleted file mode 100644 index b7a249772..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdParameterErrorEnum/AdParameterError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.AdParameterErrorEnum.AdParameterError - */ -class AdParameterError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The ad group criterion must be a keyword criterion. - * - * Generated from protobuf enum AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2; - */ - const AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2; - /** - * The insertion text is invalid. - * - * Generated from protobuf enum INVALID_INSERTION_TEXT_FORMAT = 3; - */ - const INVALID_INSERTION_TEXT_FORMAT = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_GROUP_CRITERION_MUST_BE_KEYWORD => 'AD_GROUP_CRITERION_MUST_BE_KEYWORD', - self::INVALID_INSERTION_TEXT_FORMAT => 'INVALID_INSERTION_TEXT_FORMAT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdParameterError::class, \Google\Ads\GoogleAds\V15\Errors\AdParameterErrorEnum_AdParameterError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdSharingErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdSharingErrorEnum.php deleted file mode 100644 index 873cbb2e3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdSharingErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdSharingErrorEnum - */ -class AdSharingErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdSharingError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdSharingErrorEnum/AdSharingError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdSharingErrorEnum/AdSharingError.php deleted file mode 100644 index 25148d1e1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdSharingErrorEnum/AdSharingError.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.errors.AdSharingErrorEnum.AdSharingError - */ -class AdSharingError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Error resulting in attempting to add an Ad to an AdGroup that already - * contains the Ad. - * - * Generated from protobuf enum AD_GROUP_ALREADY_CONTAINS_AD = 2; - */ - const AD_GROUP_ALREADY_CONTAINS_AD = 2; - /** - * Ad is not compatible with the AdGroup it is being shared with. - * - * Generated from protobuf enum INCOMPATIBLE_AD_UNDER_AD_GROUP = 3; - */ - const INCOMPATIBLE_AD_UNDER_AD_GROUP = 3; - /** - * Cannot add AdGroupAd on inactive Ad. - * - * Generated from protobuf enum CANNOT_SHARE_INACTIVE_AD = 4; - */ - const CANNOT_SHARE_INACTIVE_AD = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AD_GROUP_ALREADY_CONTAINS_AD => 'AD_GROUP_ALREADY_CONTAINS_AD', - self::INCOMPATIBLE_AD_UNDER_AD_GROUP => 'INCOMPATIBLE_AD_UNDER_AD_GROUP', - self::CANNOT_SHARE_INACTIVE_AD => 'CANNOT_SHARE_INACTIVE_AD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdSharingError::class, \Google\Ads\GoogleAds\V15\Errors\AdSharingErrorEnum_AdSharingError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdxErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AdxErrorEnum.php deleted file mode 100644 index 6db6edfc9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdxErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AdxErrorEnum - */ -class AdxErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AdxError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AdxErrorEnum/AdxError.php b/src/Google/Ads/GoogleAds/V15/Errors/AdxErrorEnum/AdxError.php deleted file mode 100644 index 9d6e7b9be..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AdxErrorEnum/AdxError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.AdxErrorEnum.AdxError - */ -class AdxError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Attempt to use non-AdX feature by AdX customer. - * - * Generated from protobuf enum UNSUPPORTED_FEATURE = 2; - */ - const UNSUPPORTED_FEATURE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNSUPPORTED_FEATURE => 'UNSUPPORTED_FEATURE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdxError::class, \Google\Ads\GoogleAds\V15\Errors\AdxErrorEnum_AdxError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetErrorEnum.php deleted file mode 100644 index 581c4fdb6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AssetErrorEnum - */ -class AssetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetErrorEnum/AssetError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetErrorEnum/AssetError.php deleted file mode 100644 index 8da293bc9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetErrorEnum/AssetError.php +++ /dev/null @@ -1,319 +0,0 @@ -google.ads.googleads.v15.errors.AssetErrorEnum.AssetError - */ -class AssetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The customer is not is not on the allow-list for this asset type. - * - * Generated from protobuf enum CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13; - */ - const CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13; - /** - * Assets are duplicated across operations. - * - * Generated from protobuf enum DUPLICATE_ASSET = 3; - */ - const DUPLICATE_ASSET = 3; - /** - * The asset name is duplicated, either across operations or with an - * existing asset. - * - * Generated from protobuf enum DUPLICATE_ASSET_NAME = 4; - */ - const DUPLICATE_ASSET_NAME = 4; - /** - * The Asset.asset_data oneof is empty. - * - * Generated from protobuf enum ASSET_DATA_IS_MISSING = 5; - */ - const ASSET_DATA_IS_MISSING = 5; - /** - * The asset has a name which is different from an existing duplicate that - * represents the same content. - * - * Generated from protobuf enum CANNOT_MODIFY_ASSET_NAME = 6; - */ - const CANNOT_MODIFY_ASSET_NAME = 6; - /** - * The field cannot be set for this asset type. - * - * Generated from protobuf enum FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7; - */ - const FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7; - /** - * Call to action must come from the list of supported values. - * - * Generated from protobuf enum INVALID_CALL_TO_ACTION_TEXT = 8; - */ - const INVALID_CALL_TO_ACTION_TEXT = 8; - /** - * A lead form asset is created with an invalid combination of input fields. - * - * Generated from protobuf enum LEAD_FORM_INVALID_FIELDS_COMBINATION = 9; - */ - const LEAD_FORM_INVALID_FIELDS_COMBINATION = 9; - /** - * Lead forms require that the Terms of Service have been agreed to before - * mutates can be executed. - * - * Generated from protobuf enum LEAD_FORM_MISSING_AGREEMENT = 10; - */ - const LEAD_FORM_MISSING_AGREEMENT = 10; - /** - * Asset status is invalid in this operation. - * - * Generated from protobuf enum INVALID_ASSET_STATUS = 11; - */ - const INVALID_ASSET_STATUS = 11; - /** - * The field cannot be modified by this asset type. - * - * Generated from protobuf enum FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12; - */ - const FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12; - /** - * Ad schedules for the same asset cannot overlap. - * - * Generated from protobuf enum SCHEDULES_CANNOT_OVERLAP = 14; - */ - const SCHEDULES_CANNOT_OVERLAP = 14; - /** - * Cannot set both percent off and money amount off fields of promotion - * asset. - * - * Generated from protobuf enum PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15; - */ - const PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15; - /** - * Cannot set both promotion code and orders over amount fields of promotion - * asset. - * - * Generated from protobuf enum PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16; - */ - const PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16; - /** - * The field has too many decimal places specified. - * - * Generated from protobuf enum TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17; - */ - const TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17; - /** - * Duplicate assets across operations, which have identical Asset.asset_data - * oneof, cannot have different asset level fields for asset types which are - * deduped. - * - * Generated from protobuf enum DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18; - */ - const DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18; - /** - * Carrier specific short number is not allowed. - * - * Generated from protobuf enum CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19; - */ - const CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19; - /** - * Customer consent required for call recording Terms of Service. - * - * Generated from protobuf enum CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20; - */ - const CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20; - /** - * The type of the specified phone number is not allowed. - * - * Generated from protobuf enum CALL_DISALLOWED_NUMBER_TYPE = 21; - */ - const CALL_DISALLOWED_NUMBER_TYPE = 21; - /** - * If the default call_conversion_action is not used, the customer must have - * a ConversionAction with the same id and the ConversionAction must be call - * conversion type. - * - * Generated from protobuf enum CALL_INVALID_CONVERSION_ACTION = 22; - */ - const CALL_INVALID_CONVERSION_ACTION = 22; - /** - * The country code of the phone number is invalid. - * - * Generated from protobuf enum CALL_INVALID_COUNTRY_CODE = 23; - */ - const CALL_INVALID_COUNTRY_CODE = 23; - /** - * The format of the phone number is incorrect. - * - * Generated from protobuf enum CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24; - */ - const CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24; - /** - * The input phone number is not a valid phone number. - * - * Generated from protobuf enum CALL_INVALID_PHONE_NUMBER = 25; - */ - const CALL_INVALID_PHONE_NUMBER = 25; - /** - * The phone number is not supported for country. - * - * Generated from protobuf enum CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26; - */ - const CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26; - /** - * Premium rate phone number is not allowed. - * - * Generated from protobuf enum CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27; - */ - const CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27; - /** - * Vanity phone number is not allowed. - * - * Generated from protobuf enum CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28; - */ - const CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28; - /** - * PriceOffering cannot have the same value for header and description. - * - * Generated from protobuf enum PRICE_HEADER_SAME_AS_DESCRIPTION = 29; - */ - const PRICE_HEADER_SAME_AS_DESCRIPTION = 29; - /** - * AppId is invalid. - * - * Generated from protobuf enum MOBILE_APP_INVALID_APP_ID = 30; - */ - const MOBILE_APP_INVALID_APP_ID = 30; - /** - * Invalid App download URL in final URLs. - * - * Generated from protobuf enum MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31; - */ - const MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31; - /** - * Asset name is required for the asset type. - * - * Generated from protobuf enum NAME_REQUIRED_FOR_ASSET_TYPE = 32; - */ - const NAME_REQUIRED_FOR_ASSET_TYPE = 32; - /** - * Legacy qualifying questions cannot be in the same Lead Form as - * custom questions. - * - * Generated from protobuf enum LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33; - */ - const LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33; - /** - * Unique name is required for this asset type. - * - * Generated from protobuf enum NAME_CONFLICT_FOR_ASSET_TYPE = 34; - */ - const NAME_CONFLICT_FOR_ASSET_TYPE = 34; - /** - * Cannot modify asset source. - * - * Generated from protobuf enum CANNOT_MODIFY_ASSET_SOURCE = 35; - */ - const CANNOT_MODIFY_ASSET_SOURCE = 35; - /** - * User can not modify the automatically created asset. - * - * Generated from protobuf enum CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; - */ - const CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; - /** - * Lead Form is disallowed to use "LOCATION" answer type. - * - * Generated from protobuf enum LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37; - */ - const LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37; - /** - * Page Feed label text contains invalid characters. - * - * Generated from protobuf enum PAGE_FEED_INVALID_LABEL_TEXT = 38; - */ - const PAGE_FEED_INVALID_LABEL_TEXT = 38; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE => 'CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE', - self::DUPLICATE_ASSET => 'DUPLICATE_ASSET', - self::DUPLICATE_ASSET_NAME => 'DUPLICATE_ASSET_NAME', - self::ASSET_DATA_IS_MISSING => 'ASSET_DATA_IS_MISSING', - self::CANNOT_MODIFY_ASSET_NAME => 'CANNOT_MODIFY_ASSET_NAME', - self::FIELD_INCOMPATIBLE_WITH_ASSET_TYPE => 'FIELD_INCOMPATIBLE_WITH_ASSET_TYPE', - self::INVALID_CALL_TO_ACTION_TEXT => 'INVALID_CALL_TO_ACTION_TEXT', - self::LEAD_FORM_INVALID_FIELDS_COMBINATION => 'LEAD_FORM_INVALID_FIELDS_COMBINATION', - self::LEAD_FORM_MISSING_AGREEMENT => 'LEAD_FORM_MISSING_AGREEMENT', - self::INVALID_ASSET_STATUS => 'INVALID_ASSET_STATUS', - self::FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE => 'FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE', - self::SCHEDULES_CANNOT_OVERLAP => 'SCHEDULES_CANNOT_OVERLAP', - self::PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF => 'PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF', - self::PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT => 'PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT', - self::TOO_MANY_DECIMAL_PLACES_SPECIFIED => 'TOO_MANY_DECIMAL_PLACES_SPECIFIED', - self::DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE => 'DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE', - self::CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED => 'CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', - self::CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED => 'CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', - self::CALL_DISALLOWED_NUMBER_TYPE => 'CALL_DISALLOWED_NUMBER_TYPE', - self::CALL_INVALID_CONVERSION_ACTION => 'CALL_INVALID_CONVERSION_ACTION', - self::CALL_INVALID_COUNTRY_CODE => 'CALL_INVALID_COUNTRY_CODE', - self::CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT => 'CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', - self::CALL_INVALID_PHONE_NUMBER => 'CALL_INVALID_PHONE_NUMBER', - self::CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY => 'CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', - self::CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED => 'CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED', - self::CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED => 'CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED', - self::PRICE_HEADER_SAME_AS_DESCRIPTION => 'PRICE_HEADER_SAME_AS_DESCRIPTION', - self::MOBILE_APP_INVALID_APP_ID => 'MOBILE_APP_INVALID_APP_ID', - self::MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL => 'MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL', - self::NAME_REQUIRED_FOR_ASSET_TYPE => 'NAME_REQUIRED_FOR_ASSET_TYPE', - self::LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED => 'LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED', - self::NAME_CONFLICT_FOR_ASSET_TYPE => 'NAME_CONFLICT_FOR_ASSET_TYPE', - self::CANNOT_MODIFY_ASSET_SOURCE => 'CANNOT_MODIFY_ASSET_SOURCE', - self::CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET => 'CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET', - self::LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED => 'LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED', - self::PAGE_FEED_INVALID_LABEL_TEXT => 'PAGE_FEED_INVALID_LABEL_TEXT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetError::class, \Google\Ads\GoogleAds\V15\Errors\AssetErrorEnum_AssetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetErrorEnum.php deleted file mode 100644 index 7f44e76d6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AssetGroupAssetErrorEnum - */ -class AssetGroupAssetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetGroupAssetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetErrorEnum/AssetGroupAssetError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetErrorEnum/AssetGroupAssetError.php deleted file mode 100644 index 02aee760e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupAssetErrorEnum/AssetGroupAssetError.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.errors.AssetGroupAssetErrorEnum.AssetGroupAssetError - */ -class AssetGroupAssetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Cannot add duplicated asset group asset. - * - * Generated from protobuf enum DUPLICATE_RESOURCE = 2; - */ - const DUPLICATE_RESOURCE = 2; - /** - * Expandable tags are not allowed in description assets. - * - * Generated from protobuf enum EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION = 3; - */ - const EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION = 3; - /** - * Ad customizers are not supported in assetgroup's text assets. - * - * Generated from protobuf enum AD_CUSTOMIZER_NOT_SUPPORTED = 4; - */ - const AD_CUSTOMIZER_NOT_SUPPORTED = 4; - /** - * Cannot add a HotelPropertyAsset to an AssetGroup that isn't linked - * to the parent campaign's hotel_property_asset_set field. - * - * Generated from protobuf enum HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN = 5; - */ - const HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_RESOURCE => 'DUPLICATE_RESOURCE', - self::EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION => 'EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION', - self::AD_CUSTOMIZER_NOT_SUPPORTED => 'AD_CUSTOMIZER_NOT_SUPPORTED', - self::HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN => 'HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetGroupAssetError::class, \Google\Ads\GoogleAds\V15\Errors\AssetGroupAssetErrorEnum_AssetGroupAssetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupErrorEnum.php deleted file mode 100644 index 3e99588ec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AssetGroupErrorEnum - */ -class AssetGroupErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetGroupError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupErrorEnum/AssetGroupError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupErrorEnum/AssetGroupError.php deleted file mode 100644 index 1f8706fae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupErrorEnum/AssetGroupError.php +++ /dev/null @@ -1,169 +0,0 @@ -google.ads.googleads.v15.errors.AssetGroupErrorEnum.AssetGroupError - */ -class AssetGroupError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Each asset group in a single campaign must have a unique name. - * - * Generated from protobuf enum DUPLICATE_NAME = 2; - */ - const DUPLICATE_NAME = 2; - /** - * Cannot add asset group for the campaign type. - * - * Generated from protobuf enum CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE = 3; - */ - const CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE = 3; - /** - * Not enough headline asset for a valid asset group. - * - * Generated from protobuf enum NOT_ENOUGH_HEADLINE_ASSET = 4; - */ - const NOT_ENOUGH_HEADLINE_ASSET = 4; - /** - * Not enough long headline asset for a valid asset group. - * - * Generated from protobuf enum NOT_ENOUGH_LONG_HEADLINE_ASSET = 5; - */ - const NOT_ENOUGH_LONG_HEADLINE_ASSET = 5; - /** - * Not enough description headline asset for a valid asset group. - * - * Generated from protobuf enum NOT_ENOUGH_DESCRIPTION_ASSET = 6; - */ - const NOT_ENOUGH_DESCRIPTION_ASSET = 6; - /** - * Not enough business name asset for a valid asset group. - * - * Generated from protobuf enum NOT_ENOUGH_BUSINESS_NAME_ASSET = 7; - */ - const NOT_ENOUGH_BUSINESS_NAME_ASSET = 7; - /** - * Not enough marketing image asset for a valid asset group. - * - * Generated from protobuf enum NOT_ENOUGH_MARKETING_IMAGE_ASSET = 8; - */ - const NOT_ENOUGH_MARKETING_IMAGE_ASSET = 8; - /** - * Not enough square marketing image asset for a valid asset group. - * - * Generated from protobuf enum NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET = 9; - */ - const NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET = 9; - /** - * Not enough logo asset for a valid asset group. - * - * Generated from protobuf enum NOT_ENOUGH_LOGO_ASSET = 10; - */ - const NOT_ENOUGH_LOGO_ASSET = 10; - /** - * Final url and shopping merchant url does not have the same domain. - * - * Generated from protobuf enum FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11; - */ - const FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11; - /** - * Path1 required when path2 is set. - * - * Generated from protobuf enum PATH1_REQUIRED_WHEN_PATH2_IS_SET = 12; - */ - const PATH1_REQUIRED_WHEN_PATH2_IS_SET = 12; - /** - * At least one short description asset is required for a valid asset group. - * - * Generated from protobuf enum SHORT_DESCRIPTION_REQUIRED = 13; - */ - const SHORT_DESCRIPTION_REQUIRED = 13; - /** - * Final url field is required for asset group. - * - * Generated from protobuf enum FINAL_URL_REQUIRED = 14; - */ - const FINAL_URL_REQUIRED = 14; - /** - * Final url contains invalid domain name. - * - * Generated from protobuf enum FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME = 15; - */ - const FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME = 15; - /** - * Ad customizers are not supported in asset group's text field. - * - * Generated from protobuf enum AD_CUSTOMIZER_NOT_SUPPORTED = 16; - */ - const AD_CUSTOMIZER_NOT_SUPPORTED = 16; - /** - * Cannot mutate asset group for campaign with removed status. - * - * Generated from protobuf enum CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17; - */ - const CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN = 17; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE => 'CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE', - self::NOT_ENOUGH_HEADLINE_ASSET => 'NOT_ENOUGH_HEADLINE_ASSET', - self::NOT_ENOUGH_LONG_HEADLINE_ASSET => 'NOT_ENOUGH_LONG_HEADLINE_ASSET', - self::NOT_ENOUGH_DESCRIPTION_ASSET => 'NOT_ENOUGH_DESCRIPTION_ASSET', - self::NOT_ENOUGH_BUSINESS_NAME_ASSET => 'NOT_ENOUGH_BUSINESS_NAME_ASSET', - self::NOT_ENOUGH_MARKETING_IMAGE_ASSET => 'NOT_ENOUGH_MARKETING_IMAGE_ASSET', - self::NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET => 'NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET', - self::NOT_ENOUGH_LOGO_ASSET => 'NOT_ENOUGH_LOGO_ASSET', - self::FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER => 'FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER', - self::PATH1_REQUIRED_WHEN_PATH2_IS_SET => 'PATH1_REQUIRED_WHEN_PATH2_IS_SET', - self::SHORT_DESCRIPTION_REQUIRED => 'SHORT_DESCRIPTION_REQUIRED', - self::FINAL_URL_REQUIRED => 'FINAL_URL_REQUIRED', - self::FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME => 'FINAL_URL_CONTAINS_INVALID_DOMAIN_NAME', - self::AD_CUSTOMIZER_NOT_SUPPORTED => 'AD_CUSTOMIZER_NOT_SUPPORTED', - self::CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN => 'CANNOT_MUTATE_ASSET_GROUP_FOR_REMOVED_CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetGroupError::class, \Google\Ads\GoogleAds\V15\Errors\AssetGroupErrorEnum_AssetGroupError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterErrorEnum.php deleted file mode 100644 index 817aa2467..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.AssetGroupListingGroupFilterErrorEnum - */ -class AssetGroupListingGroupFilterErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetGroupListingGroupFilterError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterErrorEnum/AssetGroupListingGroupFilterError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterErrorEnum/AssetGroupListingGroupFilterError.php deleted file mode 100644 index d54fd780d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupListingGroupFilterErrorEnum/AssetGroupListingGroupFilterError.php +++ /dev/null @@ -1,157 +0,0 @@ -google.ads.googleads.v15.errors.AssetGroupListingGroupFilterErrorEnum.AssetGroupListingGroupFilterError - */ -class AssetGroupListingGroupFilterError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Listing group tree is too deep. - * - * Generated from protobuf enum TREE_TOO_DEEP = 2; - */ - const TREE_TOO_DEEP = 2; - /** - * Listing Group UNIT node cannot have children. - * - * Generated from protobuf enum UNIT_CANNOT_HAVE_CHILDREN = 3; - */ - const UNIT_CANNOT_HAVE_CHILDREN = 3; - /** - * Listing Group SUBDIVISION node must have everything else child. - * - * Generated from protobuf enum SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD = 4; - */ - const SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD = 4; - /** - * Dimension type of Listing Group must be the same as that of its siblings. - * - * Generated from protobuf enum DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS = 5; - */ - const DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS = 5; - /** - * The sibling Listing Groups target exactly the same dimension value. - * - * Generated from protobuf enum SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS = 6; - */ - const SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS = 6; - /** - * The dimension type is the same as one of the ancestor Listing Groups. - * - * Generated from protobuf enum SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS = 7; - */ - const SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS = 7; - /** - * Each Listing Group tree must have a single root. - * - * Generated from protobuf enum MULTIPLE_ROOTS = 8; - */ - const MULTIPLE_ROOTS = 8; - /** - * Invalid Listing Group dimension value. - * - * Generated from protobuf enum INVALID_DIMENSION_VALUE = 9; - */ - const INVALID_DIMENSION_VALUE = 9; - /** - * Hierarchical dimension must refine a dimension of the same type. - * - * Generated from protobuf enum MUST_REFINE_HIERARCHICAL_PARENT_TYPE = 10; - */ - const MUST_REFINE_HIERARCHICAL_PARENT_TYPE = 10; - /** - * Invalid Product Bidding Category. - * - * Generated from protobuf enum INVALID_PRODUCT_BIDDING_CATEGORY = 11; - */ - const INVALID_PRODUCT_BIDDING_CATEGORY = 11; - /** - * Modifying case value is allowed only while updating the entire subtree at - * the same time. - * - * Generated from protobuf enum CHANGING_CASE_VALUE_WITH_CHILDREN = 12; - */ - const CHANGING_CASE_VALUE_WITH_CHILDREN = 12; - /** - * Subdivision node has children which must be removed first. - * - * Generated from protobuf enum SUBDIVISION_HAS_CHILDREN = 13; - */ - const SUBDIVISION_HAS_CHILDREN = 13; - /** - * Dimension can't subdivide everything-else node in its own hierarchy. - * - * Generated from protobuf enum CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE = 14; - */ - const CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE = 14; - /** - * There cannot be more than one mutate operation per request that targets a - * single asset group listing group filter. - * - * Generated from protobuf enum MULTIPLE_OPERATIONS_ON_ONE_NODE = 23; - */ - const MULTIPLE_OPERATIONS_ON_ONE_NODE = 23; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TREE_TOO_DEEP => 'TREE_TOO_DEEP', - self::UNIT_CANNOT_HAVE_CHILDREN => 'UNIT_CANNOT_HAVE_CHILDREN', - self::SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD => 'SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD', - self::DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS => 'DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS', - self::SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS => 'SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS', - self::SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS => 'SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS', - self::MULTIPLE_ROOTS => 'MULTIPLE_ROOTS', - self::INVALID_DIMENSION_VALUE => 'INVALID_DIMENSION_VALUE', - self::MUST_REFINE_HIERARCHICAL_PARENT_TYPE => 'MUST_REFINE_HIERARCHICAL_PARENT_TYPE', - self::INVALID_PRODUCT_BIDDING_CATEGORY => 'INVALID_PRODUCT_BIDDING_CATEGORY', - self::CHANGING_CASE_VALUE_WITH_CHILDREN => 'CHANGING_CASE_VALUE_WITH_CHILDREN', - self::SUBDIVISION_HAS_CHILDREN => 'SUBDIVISION_HAS_CHILDREN', - self::CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE => 'CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE', - self::MULTIPLE_OPERATIONS_ON_ONE_NODE => 'MULTIPLE_OPERATIONS_ON_ONE_NODE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetGroupListingGroupFilterError::class, \Google\Ads\GoogleAds\V15\Errors\AssetGroupListingGroupFilterErrorEnum_AssetGroupListingGroupFilterError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalErrorEnum.php deleted file mode 100644 index 02e7f5cdb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AssetGroupSignalErrorEnum - */ -class AssetGroupSignalErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetGroupSignalError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalErrorEnum/AssetGroupSignalError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalErrorEnum/AssetGroupSignalError.php deleted file mode 100644 index 8f91106b8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetGroupSignalErrorEnum/AssetGroupSignalError.php +++ /dev/null @@ -1,83 +0,0 @@ -google.ads.googleads.v15.errors.AssetGroupSignalErrorEnum.AssetGroupSignalError - */ -class AssetGroupSignalError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The number of words in the Search Theme signal exceed the allowed - * maximum. You can add up to 10 words in a keyword. See - * https://support.google.com/google-ads/answer/7476658 for details. - * - * Generated from protobuf enum TOO_MANY_WORDS = 2; - */ - const TOO_MANY_WORDS = 2; - /** - * The search theme requested to be added violates certain policy. - * See https://support.google.com/adspolicy/answer/6008942. - * - * Generated from protobuf enum SEARCH_THEME_POLICY_VIOLATION = 3; - */ - const SEARCH_THEME_POLICY_VIOLATION = 3; - /** - * The asset group referenced by the asset group signal does not match the - * asset group referenced by the audience being used in the asset group - * signal. - * - * Generated from protobuf enum AUDIENCE_WITH_WRONG_ASSET_GROUP_ID = 4; - */ - const AUDIENCE_WITH_WRONG_ASSET_GROUP_ID = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TOO_MANY_WORDS => 'TOO_MANY_WORDS', - self::SEARCH_THEME_POLICY_VIOLATION => 'SEARCH_THEME_POLICY_VIOLATION', - self::AUDIENCE_WITH_WRONG_ASSET_GROUP_ID => 'AUDIENCE_WITH_WRONG_ASSET_GROUP_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetGroupSignalError::class, \Google\Ads\GoogleAds\V15\Errors\AssetGroupSignalErrorEnum_AssetGroupSignalError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetLinkErrorEnum.php deleted file mode 100644 index aaf4c04ac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AssetLinkErrorEnum - */ -class AssetLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetLinkErrorEnum/AssetLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetLinkErrorEnum/AssetLinkError.php deleted file mode 100644 index ace624c39..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetLinkErrorEnum/AssetLinkError.php +++ /dev/null @@ -1,236 +0,0 @@ -google.ads.googleads.v15.errors.AssetLinkErrorEnum.AssetLinkError - */ -class AssetLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Pinning is not supported for the given asset link field. - * - * Generated from protobuf enum PINNING_UNSUPPORTED = 2; - */ - const PINNING_UNSUPPORTED = 2; - /** - * The given field type is not supported to be added directly through asset - * links. - * - * Generated from protobuf enum UNSUPPORTED_FIELD_TYPE = 3; - */ - const UNSUPPORTED_FIELD_TYPE = 3; - /** - * The given asset's type and the specified field type are incompatible. - * - * Generated from protobuf enum FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4; - */ - const FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4; - /** - * The specified field type is incompatible with the given campaign type. - * - * Generated from protobuf enum FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5; - */ - const FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5; - /** - * The campaign advertising channel type cannot be associated with the given - * asset due to channel-based restrictions on the asset's fields. - * - * Generated from protobuf enum INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6; - */ - const INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6; - /** - * The image asset provided is not within the dimension constraints - * specified for the submitted asset field. - * - * Generated from protobuf enum IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7; - */ - const IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7; - /** - * The pinned field is not valid for the submitted asset field. - * - * Generated from protobuf enum INVALID_PINNED_FIELD = 8; - */ - const INVALID_PINNED_FIELD = 8; - /** - * The media bundle asset provided is too large for the submitted asset - * field. - * - * Generated from protobuf enum MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9; - */ - const MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9; - /** - * Not enough assets are available for use with other fields since other - * assets are pinned to specific fields. - * - * Generated from protobuf enum NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10; - */ - const NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10; - /** - * Not enough assets with fallback are available. When validating the - * minimum number of assets, assets without fallback (for example, assets - * that contain location tag without default value "{LOCATION(City)}") will - * not be counted. - * - * Generated from protobuf enum NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK = 11; - */ - const NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK = 11; - /** - * This is a combination of the - * NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and - * NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets - * with fallback are available since some assets are pinned. - * - * Generated from protobuf enum NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12; - */ - const NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12; - /** - * The YouTube video referenced in the provided asset has been removed. - * - * Generated from protobuf enum YOUTUBE_VIDEO_REMOVED = 13; - */ - const YOUTUBE_VIDEO_REMOVED = 13; - /** - * The YouTube video referenced in the provided asset is too long for the - * field submitted. - * - * Generated from protobuf enum YOUTUBE_VIDEO_TOO_LONG = 14; - */ - const YOUTUBE_VIDEO_TOO_LONG = 14; - /** - * The YouTube video referenced in the provided asset is too short for the - * field submitted. - * - * Generated from protobuf enum YOUTUBE_VIDEO_TOO_SHORT = 15; - */ - const YOUTUBE_VIDEO_TOO_SHORT = 15; - /** - * The specified field type is excluded for given campaign or ad group. - * - * Generated from protobuf enum EXCLUDED_PARENT_FIELD_TYPE = 16; - */ - const EXCLUDED_PARENT_FIELD_TYPE = 16; - /** - * The status is invalid for the operation specified. - * - * Generated from protobuf enum INVALID_STATUS = 17; - */ - const INVALID_STATUS = 17; - /** - * The YouTube video referenced in the provided asset has unknown duration. - * This might be the case for a livestream video or a video being currently - * uploaded to YouTube. In both cases, the video duration should eventually - * get resolved. - * - * Generated from protobuf enum YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18; - */ - const YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18; - /** - * User cannot create automatically created links. - * - * Generated from protobuf enum CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19; - */ - const CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19; - /** - * Advertiser links cannot link to automatically created asset. - * - * Generated from protobuf enum CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20; - */ - const CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20; - /** - * Automatically created links cannot be changed into advertiser links or - * the reverse. - * - * Generated from protobuf enum CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; - */ - const CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; - /** - * Lead Form asset with Location answer type can't be linked to the - * Customer/Campaign because there are no Location assets. - * - * Generated from protobuf enum CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET = 22; - */ - const CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET = 22; - /** - * Customer is not verified. - * - * Generated from protobuf enum CUSTOMER_NOT_VERIFIED = 23; - */ - const CUSTOMER_NOT_VERIFIED = 23; - /** - * Call to action value is not supported. - * - * Generated from protobuf enum UNSUPPORTED_CALL_TO_ACTION = 24; - */ - const UNSUPPORTED_CALL_TO_ACTION = 24; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PINNING_UNSUPPORTED => 'PINNING_UNSUPPORTED', - self::UNSUPPORTED_FIELD_TYPE => 'UNSUPPORTED_FIELD_TYPE', - self::FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE => 'FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE', - self::FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE => 'FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE', - self::INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE => 'INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE', - self::IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE => 'IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE', - self::INVALID_PINNED_FIELD => 'INVALID_PINNED_FIELD', - self::MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE => 'MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE', - self::NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION => 'NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION', - self::NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK => 'NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK', - self::NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION => 'NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION', - self::YOUTUBE_VIDEO_REMOVED => 'YOUTUBE_VIDEO_REMOVED', - self::YOUTUBE_VIDEO_TOO_LONG => 'YOUTUBE_VIDEO_TOO_LONG', - self::YOUTUBE_VIDEO_TOO_SHORT => 'YOUTUBE_VIDEO_TOO_SHORT', - self::EXCLUDED_PARENT_FIELD_TYPE => 'EXCLUDED_PARENT_FIELD_TYPE', - self::INVALID_STATUS => 'INVALID_STATUS', - self::YOUTUBE_VIDEO_DURATION_NOT_DEFINED => 'YOUTUBE_VIDEO_DURATION_NOT_DEFINED', - self::CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS => 'CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS', - self::CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET => 'CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET', - self::CANNOT_MODIFY_ASSET_LINK_SOURCE => 'CANNOT_MODIFY_ASSET_LINK_SOURCE', - self::CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET => 'CANNOT_LINK_LOCATION_LEAD_FORM_WITHOUT_LOCATION_ASSET', - self::CUSTOMER_NOT_VERIFIED => 'CUSTOMER_NOT_VERIFIED', - self::UNSUPPORTED_CALL_TO_ACTION => 'UNSUPPORTED_CALL_TO_ACTION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetLinkError::class, \Google\Ads\GoogleAds\V15\Errors\AssetLinkErrorEnum_AssetLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetErrorEnum.php deleted file mode 100644 index 188cd423b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AssetSetAssetErrorEnum - */ -class AssetSetAssetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetSetAssetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetErrorEnum/AssetSetAssetError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetErrorEnum/AssetSetAssetError.php deleted file mode 100644 index e43d37612..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetAssetErrorEnum/AssetSetAssetError.php +++ /dev/null @@ -1,90 +0,0 @@ -google.ads.googleads.v15.errors.AssetSetAssetErrorEnum.AssetSetAssetError - */ -class AssetSetAssetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset type is not eligible to be linked to the specific type of asset - * set. - * - * Generated from protobuf enum INVALID_ASSET_TYPE = 2; - */ - const INVALID_ASSET_TYPE = 2; - /** - * The asset set type is not eligible to contain the specified type of - * assets. - * - * Generated from protobuf enum INVALID_ASSET_SET_TYPE = 3; - */ - const INVALID_ASSET_SET_TYPE = 3; - /** - * The asset contains duplicate external key with another asset in the asset - * set. - * - * Generated from protobuf enum DUPLICATE_EXTERNAL_KEY = 4; - */ - const DUPLICATE_EXTERNAL_KEY = 4; - /** - * When attaching a Location typed Asset to a LocationGroup typed AssetSet, - * the AssetSetAsset linkage between the parent LocationSync AssetSet and - * the Asset doesn't exist. - * - * Generated from protobuf enum PARENT_LINKAGE_DOES_NOT_EXIST = 5; - */ - const PARENT_LINKAGE_DOES_NOT_EXIST = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_ASSET_TYPE => 'INVALID_ASSET_TYPE', - self::INVALID_ASSET_SET_TYPE => 'INVALID_ASSET_SET_TYPE', - self::DUPLICATE_EXTERNAL_KEY => 'DUPLICATE_EXTERNAL_KEY', - self::PARENT_LINKAGE_DOES_NOT_EXIST => 'PARENT_LINKAGE_DOES_NOT_EXIST', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetSetAssetError::class, \Google\Ads\GoogleAds\V15\Errors\AssetSetAssetErrorEnum_AssetSetAssetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetSetErrorEnum.php deleted file mode 100644 index 7b7ce1fee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AssetSetErrorEnum - */ -class AssetSetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetSetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetErrorEnum/AssetSetError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetSetErrorEnum/AssetSetError.php deleted file mode 100644 index 0c6ab5660..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetErrorEnum/AssetSetError.php +++ /dev/null @@ -1,140 +0,0 @@ -google.ads.googleads.v15.errors.AssetSetErrorEnum.AssetSetError - */ -class AssetSetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The asset set name matches that of another enabled asset set. - * - * Generated from protobuf enum DUPLICATE_ASSET_SET_NAME = 2; - */ - const DUPLICATE_ASSET_SET_NAME = 2; - /** - * The type of AssetSet.asset_set_source does not match the type of - * AssetSet.location_set.source in its parent AssetSet. - * - * Generated from protobuf enum INVALID_PARENT_ASSET_SET_TYPE = 3; - */ - const INVALID_PARENT_ASSET_SET_TYPE = 3; - /** - * The asset set source doesn't match its parent AssetSet's data. - * - * Generated from protobuf enum ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET = 4; - */ - const ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET = 4; - /** - * This AssetSet type cannot be linked to CustomerAssetSet. - * - * Generated from protobuf enum ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER = 5; - */ - const ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER = 5; - /** - * The chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid. - * - * Generated from protobuf enum INVALID_CHAIN_IDS = 6; - */ - const INVALID_CHAIN_IDS = 6; - /** - * The relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is - * not supported. - * - * Generated from protobuf enum LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE = 7; - */ - const LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE = 7; - /** - * There is more than one enabled LocationSync typed AssetSet under one - * customer. - * - * Generated from protobuf enum NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET = 8; - */ - const NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET = 8; - /** - * The place id(s) in a LocationSync typed AssetSet is invalid and can't be - * decoded. - * - * Generated from protobuf enum INVALID_PLACE_IDS = 9; - */ - const INVALID_PLACE_IDS = 9; - /** - * The Google Business Profile OAuth info is invalid. - * - * Generated from protobuf enum OAUTH_INFO_INVALID = 11; - */ - const OAUTH_INFO_INVALID = 11; - /** - * The Google Business Profile OAuth info is missing. - * - * Generated from protobuf enum OAUTH_INFO_MISSING = 12; - */ - const OAUTH_INFO_MISSING = 12; - /** - * Can't delete an AssetSet if it has any enabled linkages (e.g. - * CustomerAssetSet), or AssetSet is a parent AssetSet and has enabled child - * AssetSet associated. - * - * Generated from protobuf enum CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST = 10; - */ - const CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_ASSET_SET_NAME => 'DUPLICATE_ASSET_SET_NAME', - self::INVALID_PARENT_ASSET_SET_TYPE => 'INVALID_PARENT_ASSET_SET_TYPE', - self::ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET => 'ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET', - self::ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER => 'ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER', - self::INVALID_CHAIN_IDS => 'INVALID_CHAIN_IDS', - self::LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE => 'LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE', - self::NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET => 'NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET', - self::INVALID_PLACE_IDS => 'INVALID_PLACE_IDS', - self::OAUTH_INFO_INVALID => 'OAUTH_INFO_INVALID', - self::OAUTH_INFO_MISSING => 'OAUTH_INFO_MISSING', - self::CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST => 'CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetSetError::class, \Google\Ads\GoogleAds\V15\Errors\AssetSetErrorEnum_AssetSetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkErrorEnum.php deleted file mode 100644 index 1c7fe4776..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AssetSetLinkErrorEnum - */ -class AssetSetLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AssetSetLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkErrorEnum/AssetSetLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkErrorEnum/AssetSetLinkError.php deleted file mode 100644 index e6a321f11..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AssetSetLinkErrorEnum/AssetSetLinkError.php +++ /dev/null @@ -1,94 +0,0 @@ -google.ads.googleads.v15.errors.AssetSetLinkErrorEnum.AssetSetLinkError - */ -class AssetSetLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Advertising channel type cannot be attached to the asset set due to - * channel-based restrictions. - * - * Generated from protobuf enum INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 2; - */ - const INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 2; - /** - * For this asset set type, only one campaign to feed linkage is allowed. - * - * Generated from protobuf enum DUPLICATE_FEED_LINK = 3; - */ - const DUPLICATE_FEED_LINK = 3; - /** - * The asset set type and campaign type are incompatible. - * - * Generated from protobuf enum INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE = 4; - */ - const INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE = 4; - /** - * Cannot link duplicate asset sets to the same campaign. - * - * Generated from protobuf enum DUPLICATE_ASSET_SET_LINK = 5; - */ - const DUPLICATE_ASSET_SET_LINK = 5; - /** - * Cannot remove the asset set link. If a campaign is linked with only one - * asset set and you attempt to unlink them, this error will be triggered. - * - * Generated from protobuf enum ASSET_SET_LINK_CANNOT_BE_REMOVED = 6; - */ - const ASSET_SET_LINK_CANNOT_BE_REMOVED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE => 'INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE', - self::DUPLICATE_FEED_LINK => 'DUPLICATE_FEED_LINK', - self::INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE => 'INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE', - self::DUPLICATE_ASSET_SET_LINK => 'DUPLICATE_ASSET_SET_LINK', - self::ASSET_SET_LINK_CANNOT_BE_REMOVED => 'ASSET_SET_LINK_CANNOT_BE_REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetSetLinkError::class, \Google\Ads\GoogleAds\V15\Errors\AssetSetLinkErrorEnum_AssetSetLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AudienceErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AudienceErrorEnum.php deleted file mode 100644 index fc707bd64..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AudienceErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AudienceErrorEnum - */ -class AudienceErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AudienceError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AudienceErrorEnum/AudienceError.php b/src/Google/Ads/GoogleAds/V15/Errors/AudienceErrorEnum/AudienceError.php deleted file mode 100644 index 0838943e4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AudienceErrorEnum/AudienceError.php +++ /dev/null @@ -1,129 +0,0 @@ -google.ads.googleads.v15.errors.AudienceErrorEnum.AudienceError - */ -class AudienceError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An audience with this name already exists. - * - * Generated from protobuf enum NAME_ALREADY_IN_USE = 2; - */ - const NAME_ALREADY_IN_USE = 2; - /** - * A dimension within the audience definition is not valid. - * - * Generated from protobuf enum DIMENSION_INVALID = 3; - */ - const DIMENSION_INVALID = 3; - /** - * One of the audience segment added is not found. - * - * Generated from protobuf enum AUDIENCE_SEGMENT_NOT_FOUND = 4; - */ - const AUDIENCE_SEGMENT_NOT_FOUND = 4; - /** - * One of the audience segment type is not supported. - * - * Generated from protobuf enum AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED = 5; - */ - const AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED = 5; - /** - * The same segment already exists in this audience. - * - * Generated from protobuf enum DUPLICATE_AUDIENCE_SEGMENT = 6; - */ - const DUPLICATE_AUDIENCE_SEGMENT = 6; - /** - * Audience can't have more than allowed number segments. - * - * Generated from protobuf enum TOO_MANY_SEGMENTS = 7; - */ - const TOO_MANY_SEGMENTS = 7; - /** - * Audience can't have multiple dimensions of same type. - * - * Generated from protobuf enum TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8; - */ - const TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8; - /** - * The audience cannot be removed, because it is currently used in an - * ad group criterion or asset group signal in an (enabled or paused) - * ad group or campaign. - * - * Generated from protobuf enum IN_USE = 9; - */ - const IN_USE = 9; - /** - * Asset Group scoped audience requires an asset group ID. - * - * Generated from protobuf enum MISSING_ASSET_GROUP_ID = 10; - */ - const MISSING_ASSET_GROUP_ID = 10; - /** - * Audience scope may not be changed from Customer to AssetGroup. - * - * Generated from protobuf enum CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE = 11; - */ - const CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE = 11; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NAME_ALREADY_IN_USE => 'NAME_ALREADY_IN_USE', - self::DIMENSION_INVALID => 'DIMENSION_INVALID', - self::AUDIENCE_SEGMENT_NOT_FOUND => 'AUDIENCE_SEGMENT_NOT_FOUND', - self::AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED => 'AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED', - self::DUPLICATE_AUDIENCE_SEGMENT => 'DUPLICATE_AUDIENCE_SEGMENT', - self::TOO_MANY_SEGMENTS => 'TOO_MANY_SEGMENTS', - self::TOO_MANY_DIMENSIONS_OF_SAME_TYPE => 'TOO_MANY_DIMENSIONS_OF_SAME_TYPE', - self::IN_USE => 'IN_USE', - self::MISSING_ASSET_GROUP_ID => 'MISSING_ASSET_GROUP_ID', - self::CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE => 'CANNOT_CHANGE_FROM_CUSTOMER_TO_ASSET_GROUP_SCOPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AudienceError::class, \Google\Ads\GoogleAds\V15\Errors\AudienceErrorEnum_AudienceError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsErrorEnum.php deleted file mode 100644 index 03fc1fb68..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.AudienceInsightsErrorEnum - */ -class AudienceInsightsErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AudienceInsightsError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsErrorEnum/AudienceInsightsError.php b/src/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsErrorEnum/AudienceInsightsError.php deleted file mode 100644 index 846497e45..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AudienceInsightsErrorEnum/AudienceInsightsError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.AudienceInsightsErrorEnum.AudienceInsightsError - */ -class AudienceInsightsError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The dimensions cannot be used with topic audience combinations. - * - * Generated from protobuf enum DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS = 2; - */ - const DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS => 'DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AudienceInsightsError::class, \Google\Ads\GoogleAds\V15\Errors\AudienceInsightsErrorEnum_AudienceInsightsError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AuthenticationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AuthenticationErrorEnum.php deleted file mode 100644 index 2ac56258c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AuthenticationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AuthenticationErrorEnum - */ -class AuthenticationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AuthenticationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AuthenticationErrorEnum/AuthenticationError.php b/src/Google/Ads/GoogleAds/V15/Errors/AuthenticationErrorEnum/AuthenticationError.php deleted file mode 100644 index fac94b9b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AuthenticationErrorEnum/AuthenticationError.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.errors.AuthenticationErrorEnum.AuthenticationError - */ -class AuthenticationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Authentication of the request failed. - * - * Generated from protobuf enum AUTHENTICATION_ERROR = 2; - */ - const AUTHENTICATION_ERROR = 2; - /** - * Client customer ID is not a number. - * - * Generated from protobuf enum CLIENT_CUSTOMER_ID_INVALID = 5; - */ - const CLIENT_CUSTOMER_ID_INVALID = 5; - /** - * No customer found for the provided customer ID. - * - * Generated from protobuf enum CUSTOMER_NOT_FOUND = 8; - */ - const CUSTOMER_NOT_FOUND = 8; - /** - * Client's Google account is deleted. - * - * Generated from protobuf enum GOOGLE_ACCOUNT_DELETED = 9; - */ - const GOOGLE_ACCOUNT_DELETED = 9; - /** - * Google account login token in the cookie is invalid. - * - * Generated from protobuf enum GOOGLE_ACCOUNT_COOKIE_INVALID = 10; - */ - const GOOGLE_ACCOUNT_COOKIE_INVALID = 10; - /** - * A problem occurred during Google account authentication. - * - * Generated from protobuf enum GOOGLE_ACCOUNT_AUTHENTICATION_FAILED = 25; - */ - const GOOGLE_ACCOUNT_AUTHENTICATION_FAILED = 25; - /** - * The user in the Google account login token does not match the user ID in - * the cookie. - * - * Generated from protobuf enum GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = 12; - */ - const GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = 12; - /** - * Login cookie is required for authentication. - * - * Generated from protobuf enum LOGIN_COOKIE_REQUIRED = 13; - */ - const LOGIN_COOKIE_REQUIRED = 13; - /** - * User in the cookie is not a valid Ads user. - * - * Generated from protobuf enum NOT_ADS_USER = 14; - */ - const NOT_ADS_USER = 14; - /** - * OAuth token in the header is not valid. - * - * Generated from protobuf enum OAUTH_TOKEN_INVALID = 15; - */ - const OAUTH_TOKEN_INVALID = 15; - /** - * OAuth token in the header has expired. - * - * Generated from protobuf enum OAUTH_TOKEN_EXPIRED = 16; - */ - const OAUTH_TOKEN_EXPIRED = 16; - /** - * OAuth token in the header has been disabled. - * - * Generated from protobuf enum OAUTH_TOKEN_DISABLED = 17; - */ - const OAUTH_TOKEN_DISABLED = 17; - /** - * OAuth token in the header has been revoked. - * - * Generated from protobuf enum OAUTH_TOKEN_REVOKED = 18; - */ - const OAUTH_TOKEN_REVOKED = 18; - /** - * OAuth token HTTP header is malformed. - * - * Generated from protobuf enum OAUTH_TOKEN_HEADER_INVALID = 19; - */ - const OAUTH_TOKEN_HEADER_INVALID = 19; - /** - * Login cookie is not valid. - * - * Generated from protobuf enum LOGIN_COOKIE_INVALID = 20; - */ - const LOGIN_COOKIE_INVALID = 20; - /** - * User ID in the header is not a valid ID. - * - * Generated from protobuf enum USER_ID_INVALID = 22; - */ - const USER_ID_INVALID = 22; - /** - * An account administrator changed this account's authentication settings. - * To access this Google Ads account, enable 2-Step Verification in your - * Google account at https://www.google.com/landing/2step. - * - * Generated from protobuf enum TWO_STEP_VERIFICATION_NOT_ENROLLED = 23; - */ - const TWO_STEP_VERIFICATION_NOT_ENROLLED = 23; - /** - * An account administrator changed this account's authentication settings. - * To access this Google Ads account, enable Advanced Protection in your - * Google account at https://landing.google.com/advancedprotection. - * - * Generated from protobuf enum ADVANCED_PROTECTION_NOT_ENROLLED = 24; - */ - const ADVANCED_PROTECTION_NOT_ENROLLED = 24; - /** - * The Cloud organization associated with the project is not recognized. - * - * Generated from protobuf enum ORGANIZATION_NOT_RECOGNIZED = 26; - */ - const ORGANIZATION_NOT_RECOGNIZED = 26; - /** - * The Cloud organization associated with the project is not approved for - * prod access. - * - * Generated from protobuf enum ORGANIZATION_NOT_APPROVED = 27; - */ - const ORGANIZATION_NOT_APPROVED = 27; - /** - * The Cloud organization associated with the project is not associated with - * the developer token. - * - * Generated from protobuf enum ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN = 28; - */ - const ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN = 28; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::AUTHENTICATION_ERROR => 'AUTHENTICATION_ERROR', - self::CLIENT_CUSTOMER_ID_INVALID => 'CLIENT_CUSTOMER_ID_INVALID', - self::CUSTOMER_NOT_FOUND => 'CUSTOMER_NOT_FOUND', - self::GOOGLE_ACCOUNT_DELETED => 'GOOGLE_ACCOUNT_DELETED', - self::GOOGLE_ACCOUNT_COOKIE_INVALID => 'GOOGLE_ACCOUNT_COOKIE_INVALID', - self::GOOGLE_ACCOUNT_AUTHENTICATION_FAILED => 'GOOGLE_ACCOUNT_AUTHENTICATION_FAILED', - self::GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH => 'GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH', - self::LOGIN_COOKIE_REQUIRED => 'LOGIN_COOKIE_REQUIRED', - self::NOT_ADS_USER => 'NOT_ADS_USER', - self::OAUTH_TOKEN_INVALID => 'OAUTH_TOKEN_INVALID', - self::OAUTH_TOKEN_EXPIRED => 'OAUTH_TOKEN_EXPIRED', - self::OAUTH_TOKEN_DISABLED => 'OAUTH_TOKEN_DISABLED', - self::OAUTH_TOKEN_REVOKED => 'OAUTH_TOKEN_REVOKED', - self::OAUTH_TOKEN_HEADER_INVALID => 'OAUTH_TOKEN_HEADER_INVALID', - self::LOGIN_COOKIE_INVALID => 'LOGIN_COOKIE_INVALID', - self::USER_ID_INVALID => 'USER_ID_INVALID', - self::TWO_STEP_VERIFICATION_NOT_ENROLLED => 'TWO_STEP_VERIFICATION_NOT_ENROLLED', - self::ADVANCED_PROTECTION_NOT_ENROLLED => 'ADVANCED_PROTECTION_NOT_ENROLLED', - self::ORGANIZATION_NOT_RECOGNIZED => 'ORGANIZATION_NOT_RECOGNIZED', - self::ORGANIZATION_NOT_APPROVED => 'ORGANIZATION_NOT_APPROVED', - self::ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN => 'ORGANIZATION_NOT_ASSOCIATED_WITH_DEVELOPER_TOKEN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AuthenticationError::class, \Google\Ads\GoogleAds\V15\Errors\AuthenticationErrorEnum_AuthenticationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AuthorizationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/AuthorizationErrorEnum.php deleted file mode 100644 index 1b430c24c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AuthorizationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.AuthorizationErrorEnum - */ -class AuthorizationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\AuthorizationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/AuthorizationErrorEnum/AuthorizationError.php b/src/Google/Ads/GoogleAds/V15/Errors/AuthorizationErrorEnum/AuthorizationError.php deleted file mode 100644 index efe173c5d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/AuthorizationErrorEnum/AuthorizationError.php +++ /dev/null @@ -1,172 +0,0 @@ -google.ads.googleads.v15.errors.AuthorizationErrorEnum.AuthorizationError - */ -class AuthorizationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * User doesn't have permission to access customer. Note: If you're - * accessing a client customer, the manager's customer ID must be set in the - * `login-customer-id` header. Learn more at - * https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid - * - * Generated from protobuf enum USER_PERMISSION_DENIED = 2; - */ - const USER_PERMISSION_DENIED = 2; - /** - * The developer token is not on the allow-list. - * - * Generated from protobuf enum DEVELOPER_TOKEN_NOT_ON_ALLOWLIST = 13; - */ - const DEVELOPER_TOKEN_NOT_ON_ALLOWLIST = 13; - /** - * The developer token is not allowed with the project sent in the request. - * - * Generated from protobuf enum DEVELOPER_TOKEN_PROHIBITED = 4; - */ - const DEVELOPER_TOKEN_PROHIBITED = 4; - /** - * The Google Cloud project sent in the request does not have permission to - * access the api. - * - * Generated from protobuf enum PROJECT_DISABLED = 5; - */ - const PROJECT_DISABLED = 5; - /** - * Authorization of the client failed. - * - * Generated from protobuf enum AUTHORIZATION_ERROR = 6; - */ - const AUTHORIZATION_ERROR = 6; - /** - * The user does not have permission to perform this action - * (for example, ADD, UPDATE, REMOVE) on the resource or call a method. - * - * Generated from protobuf enum ACTION_NOT_PERMITTED = 7; - */ - const ACTION_NOT_PERMITTED = 7; - /** - * Signup not complete. - * - * Generated from protobuf enum INCOMPLETE_SIGNUP = 8; - */ - const INCOMPLETE_SIGNUP = 8; - /** - * The customer account can't be accessed because it is not yet enabled or - * has been deactivated. - * - * Generated from protobuf enum CUSTOMER_NOT_ENABLED = 24; - */ - const CUSTOMER_NOT_ENABLED = 24; - /** - * The developer must sign the terms of service. They can be found here: - * ads.google.com/aw/apicenter - * - * Generated from protobuf enum MISSING_TOS = 9; - */ - const MISSING_TOS = 9; - /** - * The developer token is only approved for use with test accounts. To - * access non-test accounts, apply for Basic or Standard access. - * - * Generated from protobuf enum DEVELOPER_TOKEN_NOT_APPROVED = 10; - */ - const DEVELOPER_TOKEN_NOT_APPROVED = 10; - /** - * The login customer specified does not have access to the account - * specified, so the request is invalid. - * - * Generated from protobuf enum INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION = 11; - */ - const INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION = 11; - /** - * The developer specified does not have access to the service. - * - * Generated from protobuf enum SERVICE_ACCESS_DENIED = 12; - */ - const SERVICE_ACCESS_DENIED = 12; - /** - * The customer (or login customer) isn't in Google Ads. It belongs to - * another ads system. - * - * Generated from protobuf enum ACCESS_DENIED_FOR_ACCOUNT_TYPE = 25; - */ - const ACCESS_DENIED_FOR_ACCOUNT_TYPE = 25; - /** - * The developer does not have access to the metrics queried. - * - * Generated from protobuf enum METRIC_ACCESS_DENIED = 26; - */ - const METRIC_ACCESS_DENIED = 26; - /** - * The Google Cloud project is not under the required organization. - * - * Generated from protobuf enum CLOUD_PROJECT_NOT_UNDER_ORGANIZATION = 27; - */ - const CLOUD_PROJECT_NOT_UNDER_ORGANIZATION = 27; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::USER_PERMISSION_DENIED => 'USER_PERMISSION_DENIED', - self::DEVELOPER_TOKEN_NOT_ON_ALLOWLIST => 'DEVELOPER_TOKEN_NOT_ON_ALLOWLIST', - self::DEVELOPER_TOKEN_PROHIBITED => 'DEVELOPER_TOKEN_PROHIBITED', - self::PROJECT_DISABLED => 'PROJECT_DISABLED', - self::AUTHORIZATION_ERROR => 'AUTHORIZATION_ERROR', - self::ACTION_NOT_PERMITTED => 'ACTION_NOT_PERMITTED', - self::INCOMPLETE_SIGNUP => 'INCOMPLETE_SIGNUP', - self::CUSTOMER_NOT_ENABLED => 'CUSTOMER_NOT_ENABLED', - self::MISSING_TOS => 'MISSING_TOS', - self::DEVELOPER_TOKEN_NOT_APPROVED => 'DEVELOPER_TOKEN_NOT_APPROVED', - self::INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION => 'INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION', - self::SERVICE_ACCESS_DENIED => 'SERVICE_ACCESS_DENIED', - self::ACCESS_DENIED_FOR_ACCOUNT_TYPE => 'ACCESS_DENIED_FOR_ACCOUNT_TYPE', - self::METRIC_ACCESS_DENIED => 'METRIC_ACCESS_DENIED', - self::CLOUD_PROJECT_NOT_UNDER_ORGANIZATION => 'CLOUD_PROJECT_NOT_UNDER_ORGANIZATION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AuthorizationError::class, \Google\Ads\GoogleAds\V15\Errors\AuthorizationErrorEnum_AuthorizationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/BatchJobErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/BatchJobErrorEnum.php deleted file mode 100644 index 397fbd150..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/BatchJobErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.BatchJobErrorEnum - */ -class BatchJobErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\BatchJobError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/BatchJobErrorEnum/BatchJobError.php b/src/Google/Ads/GoogleAds/V15/Errors/BatchJobErrorEnum/BatchJobError.php deleted file mode 100644 index 26627c061..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/BatchJobErrorEnum/BatchJobError.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.errors.BatchJobErrorEnum.BatchJobError - */ -class BatchJobError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The batch job cannot add more operations or run after it has started - * running. - * - * Generated from protobuf enum CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2; - */ - const CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2; - /** - * The operations for an AddBatchJobOperations request were empty. - * - * Generated from protobuf enum EMPTY_OPERATIONS = 3; - */ - const EMPTY_OPERATIONS = 3; - /** - * The sequence token for an AddBatchJobOperations request was invalid. - * - * Generated from protobuf enum INVALID_SEQUENCE_TOKEN = 4; - */ - const INVALID_SEQUENCE_TOKEN = 4; - /** - * Batch job results can only be retrieved once the job is finished. - * - * Generated from protobuf enum RESULTS_NOT_READY = 5; - */ - const RESULTS_NOT_READY = 5; - /** - * The page size for ListBatchJobResults was invalid. - * - * Generated from protobuf enum INVALID_PAGE_SIZE = 6; - */ - const INVALID_PAGE_SIZE = 6; - /** - * The batch job cannot be removed because it has started running. - * - * Generated from protobuf enum CAN_ONLY_REMOVE_PENDING_JOB = 7; - */ - const CAN_ONLY_REMOVE_PENDING_JOB = 7; - /** - * The batch job cannot be listed due to unexpected errors such as duplicate - * checkpoints. - * - * Generated from protobuf enum CANNOT_LIST_RESULTS = 8; - */ - const CANNOT_LIST_RESULTS = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING => 'CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING', - self::EMPTY_OPERATIONS => 'EMPTY_OPERATIONS', - self::INVALID_SEQUENCE_TOKEN => 'INVALID_SEQUENCE_TOKEN', - self::RESULTS_NOT_READY => 'RESULTS_NOT_READY', - self::INVALID_PAGE_SIZE => 'INVALID_PAGE_SIZE', - self::CAN_ONLY_REMOVE_PENDING_JOB => 'CAN_ONLY_REMOVE_PENDING_JOB', - self::CANNOT_LIST_RESULTS => 'CANNOT_LIST_RESULTS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BatchJobError::class, \Google\Ads\GoogleAds\V15\Errors\BatchJobErrorEnum_BatchJobError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/BiddingErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/BiddingErrorEnum.php deleted file mode 100644 index db3ca024b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/BiddingErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.BiddingErrorEnum - */ -class BiddingErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\BiddingError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/BiddingErrorEnum/BiddingError.php b/src/Google/Ads/GoogleAds/V15/Errors/BiddingErrorEnum/BiddingError.php deleted file mode 100644 index 0160c7ecb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/BiddingErrorEnum/BiddingError.php +++ /dev/null @@ -1,232 +0,0 @@ -google.ads.googleads.v15.errors.BiddingErrorEnum.BiddingError - */ -class BiddingError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Cannot transition to new bidding strategy. - * - * Generated from protobuf enum BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2; - */ - const BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2; - /** - * Cannot attach bidding strategy to campaign. - * - * Generated from protobuf enum CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7; - */ - const CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7; - /** - * Bidding strategy is not supported or cannot be used as anonymous. - * - * Generated from protobuf enum INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10; - */ - const INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10; - /** - * The type does not match the named strategy's type. - * - * Generated from protobuf enum INVALID_BIDDING_STRATEGY_TYPE = 14; - */ - const INVALID_BIDDING_STRATEGY_TYPE = 14; - /** - * The bid is invalid. - * - * Generated from protobuf enum INVALID_BID = 17; - */ - const INVALID_BID = 17; - /** - * Bidding strategy is not available for the account type. - * - * Generated from protobuf enum BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18; - */ - const BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18; - /** - * Campaign can not be created with given bidding strategy. It can be - * transitioned to the strategy, once eligible. - * - * Generated from protobuf enum CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21; - */ - const CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21; - /** - * Cannot target content network only as campaign uses Page One Promoted - * bidding strategy. - * - * Generated from protobuf enum CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 23; - */ - const CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 23; - /** - * Budget Optimizer and Target Spend bidding strategies are not supported - * for campaigns with AdSchedule targeting. - * - * Generated from protobuf enum BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24; - */ - const BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24; - /** - * Pay per conversion is not available to all the customer, only few - * customers on the allow-list can use this. - * - * Generated from protobuf enum PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25; - */ - const PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25; - /** - * Pay per conversion is not allowed with Target CPA. - * - * Generated from protobuf enum PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26; - */ - const PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26; - /** - * Cannot set bidding strategy to Manual CPM for search network only - * campaigns. - * - * Generated from protobuf enum BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27; - */ - const BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27; - /** - * The bidding strategy is not supported for use in drafts or experiments. - * - * Generated from protobuf enum BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28; - */ - const BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28; - /** - * Bidding strategy type does not support product type ad group criterion. - * - * Generated from protobuf enum BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29; - */ - const BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29; - /** - * Bid amount is too small. - * - * Generated from protobuf enum BID_TOO_SMALL = 30; - */ - const BID_TOO_SMALL = 30; - /** - * Bid amount is too big. - * - * Generated from protobuf enum BID_TOO_BIG = 31; - */ - const BID_TOO_BIG = 31; - /** - * Bid has too many fractional digit precision. - * - * Generated from protobuf enum BID_TOO_MANY_FRACTIONAL_DIGITS = 32; - */ - const BID_TOO_MANY_FRACTIONAL_DIGITS = 32; - /** - * Invalid domain name specified. - * - * Generated from protobuf enum INVALID_DOMAIN_NAME = 33; - */ - const INVALID_DOMAIN_NAME = 33; - /** - * The field is not compatible with the payment mode. - * - * Generated from protobuf enum NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34; - */ - const NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34; - /** - * Bidding strategy type is incompatible with shared budget. - * - * Generated from protobuf enum BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37; - */ - const BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37; - /** - * The attached bidding strategy and budget must be aligned with each other - * if alignment is specified on either entity. - * - * Generated from protobuf enum BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38; - */ - const BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38; - /** - * The attached bidding strategy and budget must be attached to the same - * campaigns to become aligned. - * - * Generated from protobuf enum BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 39; - */ - const BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 39; - /** - * The aligned bidding strategy and budget must be removed at the same time. - * - * Generated from protobuf enum BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40; - */ - const BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40; - /** - * cpc_bid_floor_micros is greater than cpc_bid_ceiling_micros. - * - * Generated from protobuf enum CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41; - */ - const CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED => 'BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED', - self::CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN => 'CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN', - self::INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE => 'INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE', - self::INVALID_BIDDING_STRATEGY_TYPE => 'INVALID_BIDDING_STRATEGY_TYPE', - self::INVALID_BID => 'INVALID_BID', - self::BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE => 'BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE', - self::CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY => 'CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY', - self::CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY => 'CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY', - self::BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE => 'BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE', - self::PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER => 'PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER', - self::PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA => 'PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA', - self::BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS => 'BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS', - self::BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS => 'BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS', - self::BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION => 'BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION', - self::BID_TOO_SMALL => 'BID_TOO_SMALL', - self::BID_TOO_BIG => 'BID_TOO_BIG', - self::BID_TOO_MANY_FRACTIONAL_DIGITS => 'BID_TOO_MANY_FRACTIONAL_DIGITS', - self::INVALID_DOMAIN_NAME => 'INVALID_DOMAIN_NAME', - self::NOT_COMPATIBLE_WITH_PAYMENT_MODE => 'NOT_COMPATIBLE_WITH_PAYMENT_MODE', - self::BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET => 'BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET', - self::BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED => 'BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED', - self::BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN => 'BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN', - self::BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER => 'BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER', - self::CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS => 'CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BiddingError::class, \Google\Ads\GoogleAds\V15\Errors\BiddingErrorEnum_BiddingError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyErrorEnum.php deleted file mode 100644 index 039682657..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.BiddingStrategyErrorEnum - */ -class BiddingStrategyErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\BiddingStrategyError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyErrorEnum/BiddingStrategyError.php b/src/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyErrorEnum/BiddingStrategyError.php deleted file mode 100644 index 51ee4678a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/BiddingStrategyErrorEnum/BiddingStrategyError.php +++ /dev/null @@ -1,94 +0,0 @@ -google.ads.googleads.v15.errors.BiddingStrategyErrorEnum.BiddingStrategyError - */ -class BiddingStrategyError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Each bidding strategy must have a unique name. - * - * Generated from protobuf enum DUPLICATE_NAME = 2; - */ - const DUPLICATE_NAME = 2; - /** - * Bidding strategy type is immutable. - * - * Generated from protobuf enum CANNOT_CHANGE_BIDDING_STRATEGY_TYPE = 3; - */ - const CANNOT_CHANGE_BIDDING_STRATEGY_TYPE = 3; - /** - * Only bidding strategies not linked to campaigns, adgroups or adgroup - * criteria can be removed. - * - * Generated from protobuf enum CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4; - */ - const CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4; - /** - * The specified bidding strategy is not supported. - * - * Generated from protobuf enum BIDDING_STRATEGY_NOT_SUPPORTED = 5; - */ - const BIDDING_STRATEGY_NOT_SUPPORTED = 5; - /** - * The bidding strategy is incompatible with the campaign's bidding - * strategy goal type. - * - * Generated from protobuf enum INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6; - */ - const INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::CANNOT_CHANGE_BIDDING_STRATEGY_TYPE => 'CANNOT_CHANGE_BIDDING_STRATEGY_TYPE', - self::CANNOT_REMOVE_ASSOCIATED_STRATEGY => 'CANNOT_REMOVE_ASSOCIATED_STRATEGY', - self::BIDDING_STRATEGY_NOT_SUPPORTED => 'BIDDING_STRATEGY_NOT_SUPPORTED', - self::INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE => 'INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BiddingStrategyError::class, \Google\Ads\GoogleAds\V15\Errors\BiddingStrategyErrorEnum_BiddingStrategyError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/BillingSetupErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/BillingSetupErrorEnum.php deleted file mode 100644 index 00e609682..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/BillingSetupErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.BillingSetupErrorEnum - */ -class BillingSetupErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\BillingSetupError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/BillingSetupErrorEnum/BillingSetupError.php b/src/Google/Ads/GoogleAds/V15/Errors/BillingSetupErrorEnum/BillingSetupError.php deleted file mode 100644 index 278300fcc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/BillingSetupErrorEnum/BillingSetupError.php +++ /dev/null @@ -1,209 +0,0 @@ -google.ads.googleads.v15.errors.BillingSetupErrorEnum.BillingSetupError - */ -class BillingSetupError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Cannot specify both an existing payments account and a new payments - * account when setting up billing. - * - * Generated from protobuf enum CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2; - */ - const CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2; - /** - * Cannot cancel an approved billing setup whose start time has passed. - * - * Generated from protobuf enum CANNOT_REMOVE_STARTED_BILLING_SETUP = 3; - */ - const CANNOT_REMOVE_STARTED_BILLING_SETUP = 3; - /** - * Cannot perform a Change of Bill-To (CBT) to the same payments account. - * - * Generated from protobuf enum CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4; - */ - const CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4; - /** - * Billing setups can only be used by customers with ENABLED or DRAFT - * status. - * - * Generated from protobuf enum BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5; - */ - const BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5; - /** - * Billing setups must either include a correctly formatted existing - * payments account id, or a non-empty new payments account name. - * - * Generated from protobuf enum INVALID_PAYMENTS_ACCOUNT = 6; - */ - const INVALID_PAYMENTS_ACCOUNT = 6; - /** - * Only billable and third-party customers can create billing setups. - * - * Generated from protobuf enum BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7; - */ - const BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7; - /** - * Billing setup creations can only use NOW for start time type. - * - * Generated from protobuf enum INVALID_START_TIME_TYPE = 8; - */ - const INVALID_START_TIME_TYPE = 8; - /** - * Billing setups can only be created for a third-party customer if they do - * not already have a setup. - * - * Generated from protobuf enum THIRD_PARTY_ALREADY_HAS_BILLING = 9; - */ - const THIRD_PARTY_ALREADY_HAS_BILLING = 9; - /** - * Billing setups cannot be created if there is already a pending billing in - * progress. - * - * Generated from protobuf enum BILLING_SETUP_IN_PROGRESS = 10; - */ - const BILLING_SETUP_IN_PROGRESS = 10; - /** - * Billing setups can only be created by customers who have permission to - * setup billings. Users can contact a representative for help setting up - * permissions. - * - * Generated from protobuf enum NO_SIGNUP_PERMISSION = 11; - */ - const NO_SIGNUP_PERMISSION = 11; - /** - * Billing setups cannot be created if there is already a future-approved - * billing. - * - * Generated from protobuf enum CHANGE_OF_BILL_TO_IN_PROGRESS = 12; - */ - const CHANGE_OF_BILL_TO_IN_PROGRESS = 12; - /** - * Requested payments profile not found. - * - * Generated from protobuf enum PAYMENTS_PROFILE_NOT_FOUND = 13; - */ - const PAYMENTS_PROFILE_NOT_FOUND = 13; - /** - * Requested payments account not found. - * - * Generated from protobuf enum PAYMENTS_ACCOUNT_NOT_FOUND = 14; - */ - const PAYMENTS_ACCOUNT_NOT_FOUND = 14; - /** - * Billing setup creation failed because the payments profile is ineligible. - * - * Generated from protobuf enum PAYMENTS_PROFILE_INELIGIBLE = 15; - */ - const PAYMENTS_PROFILE_INELIGIBLE = 15; - /** - * Billing setup creation failed because the payments account is ineligible. - * - * Generated from protobuf enum PAYMENTS_ACCOUNT_INELIGIBLE = 16; - */ - const PAYMENTS_ACCOUNT_INELIGIBLE = 16; - /** - * Billing setup creation failed because the payments profile needs internal - * approval. - * - * Generated from protobuf enum CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17; - */ - const CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17; - /** - * Billing setup creation failed because the user needs to accept master - * service agreement on the payments profile. - * - * Generated from protobuf enum PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE = 18; - */ - const PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE = 18; - /** - * Payments account has different currency code than the current customer - * and hence cannot be used to setup billing. - * - * Generated from protobuf enum PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19; - */ - const PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19; - /** - * A start time in the future cannot be used because there is currently no - * active billing setup for this customer. - * - * Generated from protobuf enum FUTURE_START_TIME_PROHIBITED = 20; - */ - const FUTURE_START_TIME_PROHIBITED = 20; - /** - * The payments account has maximum number of billing setups. - * - * Generated from protobuf enum TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21; - */ - const TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_USE_EXISTING_AND_NEW_ACCOUNT => 'CANNOT_USE_EXISTING_AND_NEW_ACCOUNT', - self::CANNOT_REMOVE_STARTED_BILLING_SETUP => 'CANNOT_REMOVE_STARTED_BILLING_SETUP', - self::CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT => 'CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT', - self::BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS => 'BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS', - self::INVALID_PAYMENTS_ACCOUNT => 'INVALID_PAYMENTS_ACCOUNT', - self::BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY => 'BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY', - self::INVALID_START_TIME_TYPE => 'INVALID_START_TIME_TYPE', - self::THIRD_PARTY_ALREADY_HAS_BILLING => 'THIRD_PARTY_ALREADY_HAS_BILLING', - self::BILLING_SETUP_IN_PROGRESS => 'BILLING_SETUP_IN_PROGRESS', - self::NO_SIGNUP_PERMISSION => 'NO_SIGNUP_PERMISSION', - self::CHANGE_OF_BILL_TO_IN_PROGRESS => 'CHANGE_OF_BILL_TO_IN_PROGRESS', - self::PAYMENTS_PROFILE_NOT_FOUND => 'PAYMENTS_PROFILE_NOT_FOUND', - self::PAYMENTS_ACCOUNT_NOT_FOUND => 'PAYMENTS_ACCOUNT_NOT_FOUND', - self::PAYMENTS_PROFILE_INELIGIBLE => 'PAYMENTS_PROFILE_INELIGIBLE', - self::PAYMENTS_ACCOUNT_INELIGIBLE => 'PAYMENTS_ACCOUNT_INELIGIBLE', - self::CUSTOMER_NEEDS_INTERNAL_APPROVAL => 'CUSTOMER_NEEDS_INTERNAL_APPROVAL', - self::PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE => 'PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE', - self::PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH => 'PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH', - self::FUTURE_START_TIME_PROHIBITED => 'FUTURE_START_TIME_PROHIBITED', - self::TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT => 'TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BillingSetupError::class, \Google\Ads\GoogleAds\V15\Errors\BillingSetupErrorEnum_BillingSetupError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetErrorEnum.php deleted file mode 100644 index 706df52f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignBudgetErrorEnum - */ -class CampaignBudgetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignBudgetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetErrorEnum/CampaignBudgetError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetErrorEnum/CampaignBudgetError.php deleted file mode 100644 index 2880f2528..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignBudgetErrorEnum/CampaignBudgetError.php +++ /dev/null @@ -1,195 +0,0 @@ -google.ads.googleads.v15.errors.CampaignBudgetErrorEnum.CampaignBudgetError - */ -class CampaignBudgetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign budget cannot be shared. - * - * Generated from protobuf enum CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17; - */ - const CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17; - /** - * The requested campaign budget no longer exists. - * - * Generated from protobuf enum CAMPAIGN_BUDGET_REMOVED = 2; - */ - const CAMPAIGN_BUDGET_REMOVED = 2; - /** - * The campaign budget is associated with at least one campaign, and so the - * campaign budget cannot be removed. - * - * Generated from protobuf enum CAMPAIGN_BUDGET_IN_USE = 3; - */ - const CAMPAIGN_BUDGET_IN_USE = 3; - /** - * Customer is not on the allow-list for this campaign budget period. - * - * Generated from protobuf enum CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4; - */ - const CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4; - /** - * This field is not mutable on implicitly shared campaign budgets - * - * Generated from protobuf enum CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6; - */ - const CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6; - /** - * Cannot change explicitly shared campaign budgets back to implicitly - * shared ones. - * - * Generated from protobuf enum CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7; - */ - const CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7; - /** - * An implicit campaign budget without a name cannot be changed to - * explicitly shared campaign budget. - * - * Generated from protobuf enum CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8; - */ - const CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8; - /** - * Cannot change an implicitly shared campaign budget to an explicitly - * shared one. - * - * Generated from protobuf enum CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9; - */ - const CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9; - /** - * Only explicitly shared campaign budgets can be used with multiple - * campaigns. - * - * Generated from protobuf enum CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10; - */ - const CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10; - /** - * A campaign budget with this name already exists. - * - * Generated from protobuf enum DUPLICATE_NAME = 11; - */ - const DUPLICATE_NAME = 11; - /** - * A money amount was not in the expected currency. - * - * Generated from protobuf enum MONEY_AMOUNT_IN_WRONG_CURRENCY = 12; - */ - const MONEY_AMOUNT_IN_WRONG_CURRENCY = 12; - /** - * A money amount was less than the minimum CPC for currency. - * - * Generated from protobuf enum MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13; - */ - const MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13; - /** - * A money amount was greater than the maximum allowed. - * - * Generated from protobuf enum MONEY_AMOUNT_TOO_LARGE = 14; - */ - const MONEY_AMOUNT_TOO_LARGE = 14; - /** - * A money amount was negative. - * - * Generated from protobuf enum NEGATIVE_MONEY_AMOUNT = 15; - */ - const NEGATIVE_MONEY_AMOUNT = 15; - /** - * A money amount was not a multiple of a minimum unit. - * - * Generated from protobuf enum NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16; - */ - const NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16; - /** - * Total budget amount must be unset when BudgetPeriod is DAILY. - * - * Generated from protobuf enum TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18; - */ - const TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18; - /** - * The period of the budget is not allowed. - * - * Generated from protobuf enum INVALID_PERIOD = 19; - */ - const INVALID_PERIOD = 19; - /** - * Cannot use accelerated delivery method on this budget. - * - * Generated from protobuf enum CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20; - */ - const CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20; - /** - * Budget amount must be unset when BudgetPeriod is CUSTOM. - * - * Generated from protobuf enum BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21; - */ - const BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGN_BUDGET_CANNOT_BE_SHARED => 'CAMPAIGN_BUDGET_CANNOT_BE_SHARED', - self::CAMPAIGN_BUDGET_REMOVED => 'CAMPAIGN_BUDGET_REMOVED', - self::CAMPAIGN_BUDGET_IN_USE => 'CAMPAIGN_BUDGET_IN_USE', - self::CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE => 'CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE', - self::CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET => 'CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET', - self::CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED => 'CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED', - self::CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME => 'CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME', - self::CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED => 'CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED', - self::CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS => 'CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::MONEY_AMOUNT_IN_WRONG_CURRENCY => 'MONEY_AMOUNT_IN_WRONG_CURRENCY', - self::MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC => 'MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC', - self::MONEY_AMOUNT_TOO_LARGE => 'MONEY_AMOUNT_TOO_LARGE', - self::NEGATIVE_MONEY_AMOUNT => 'NEGATIVE_MONEY_AMOUNT', - self::NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT => 'NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT', - self::TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY => 'TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY', - self::INVALID_PERIOD => 'INVALID_PERIOD', - self::CANNOT_USE_ACCELERATED_DELIVERY_MODE => 'CANNOT_USE_ACCELERATED_DELIVERY_MODE', - self::BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD => 'BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignBudgetError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignBudgetErrorEnum_CampaignBudgetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalErrorEnum.php deleted file mode 100644 index 97090288f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignConversionGoalErrorEnum - */ -class CampaignConversionGoalErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignConversionGoalError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalErrorEnum/CampaignConversionGoalError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalErrorEnum/CampaignConversionGoalError.php deleted file mode 100644 index cf1fa38a7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignConversionGoalErrorEnum/CampaignConversionGoalError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.CampaignConversionGoalErrorEnum.CampaignConversionGoalError - */ -class CampaignConversionGoalError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Campaign is managed by Search Ads 360 but uses Unified Goal. - * - * Generated from protobuf enum CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - */ - const CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - /** - * Performance Max campaign cannot use an included store sale campaign goal. - * - * Generated from protobuf enum CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN = 3; - */ - const CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN => 'CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN', - self::CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN => 'CANNOT_USE_STORE_SALE_GOAL_FOR_PERFORMANCE_MAX_CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignConversionGoalError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignConversionGoalErrorEnum_CampaignConversionGoalError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionErrorEnum.php deleted file mode 100644 index 8b215f168..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignCriterionErrorEnum - */ -class CampaignCriterionErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignCriterionError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionErrorEnum/CampaignCriterionError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionErrorEnum/CampaignCriterionError.php deleted file mode 100644 index e1fb38dca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignCriterionErrorEnum/CampaignCriterionError.php +++ /dev/null @@ -1,244 +0,0 @@ -google.ads.googleads.v15.errors.CampaignCriterionErrorEnum.CampaignCriterionError - */ -class CampaignCriterionError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Concrete type of criterion (keyword v.s. placement) is required for - * CREATE and UPDATE operations. - * - * Generated from protobuf enum CONCRETE_TYPE_REQUIRED = 2; - */ - const CONCRETE_TYPE_REQUIRED = 2; - /** - * Invalid placement URL. - * - * Generated from protobuf enum INVALID_PLACEMENT_URL = 3; - */ - const INVALID_PLACEMENT_URL = 3; - /** - * Criteria type can not be excluded for the campaign by the customer. like - * AOL account type cannot target site type criteria - * - * Generated from protobuf enum CANNOT_EXCLUDE_CRITERIA_TYPE = 4; - */ - const CANNOT_EXCLUDE_CRITERIA_TYPE = 4; - /** - * Cannot set the campaign criterion status for this criteria type. - * - * Generated from protobuf enum CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5; - */ - const CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5; - /** - * Cannot set the campaign criterion status for an excluded criteria. - * - * Generated from protobuf enum CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6; - */ - const CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6; - /** - * Cannot target and exclude the same criterion. - * - * Generated from protobuf enum CANNOT_TARGET_AND_EXCLUDE = 7; - */ - const CANNOT_TARGET_AND_EXCLUDE = 7; - /** - * The mutate contained too many operations. - * - * Generated from protobuf enum TOO_MANY_OPERATIONS = 8; - */ - const TOO_MANY_OPERATIONS = 8; - /** - * This operator cannot be applied to a criterion of this type. - * - * Generated from protobuf enum OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9; - */ - const OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9; - /** - * The Shopping campaign sales country is not supported for - * ProductSalesChannel targeting. - * - * Generated from protobuf enum SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10; - */ - const SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10; - /** - * The existing field can't be updated with CREATE operation. It can be - * updated with UPDATE operation only. - * - * Generated from protobuf enum CANNOT_ADD_EXISTING_FIELD = 11; - */ - const CANNOT_ADD_EXISTING_FIELD = 11; - /** - * Negative criteria are immutable, so updates are not allowed. - * - * Generated from protobuf enum CANNOT_UPDATE_NEGATIVE_CRITERION = 12; - */ - const CANNOT_UPDATE_NEGATIVE_CRITERION = 12; - /** - * Only free form names are allowed for negative Smart campaign keyword - * theme. - * - * Generated from protobuf enum CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION = 13; - */ - const CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION = 13; - /** - * Invalid Smart campaign keyword theme constant criterion. - * - * Generated from protobuf enum INVALID_KEYWORD_THEME_CONSTANT = 14; - */ - const INVALID_KEYWORD_THEME_CONSTANT = 14; - /** - * A Smart campaign keyword theme constant or free-form Smart campaign - * keyword theme is required. - * - * Generated from protobuf enum MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME = 15; - */ - const MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME = 15; - /** - * A Smart campaign may not target proximity and location criteria - * simultaneously. - * - * Generated from protobuf enum CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN = 16; - */ - const CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN = 16; - /** - * A Smart campaign may not target multiple proximity criteria. - * - * Generated from protobuf enum CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17; - */ - const CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17; - /** - * Location is not launched for Local Services Campaigns. - * - * Generated from protobuf enum LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN = 18; - */ - const LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN = 18; - /** - * A Local Services campaign may not target certain criteria types. - * - * Generated from protobuf enum LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN = 19; - */ - const LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN = 19; - /** - * Country locations are not supported for Local Services campaign. - * - * Generated from protobuf enum CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 20; - */ - const CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 20; - /** - * Location is not within the home country of Local Services campaign. - * - * Generated from protobuf enum LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 21; - */ - const LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 21; - /** - * Local Services profile does not exist for a particular Local Services - * campaign. - * - * Generated from protobuf enum CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN = 22; - */ - const CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN = 22; - /** - * Local Services campaign must have at least one target location. - * - * Generated from protobuf enum AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 23; - */ - const AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 23; - /** - * At least one positive local service ID criterion is required for a Local - * Services campaign. - * - * Generated from protobuf enum AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 24; - */ - const AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 24; - /** - * Local service ID is not found under selected categories in local - * services campaign setting. - * - * Generated from protobuf enum LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY = 25; - */ - const LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY = 25; - /** - * For search advertising channel, brand lists can only be applied to - * exclusive targeting, broad match campaigns for inclusive targeting or - * PMax generated campaigns. - * - * Generated from protobuf enum CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN = 26; - */ - const CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN = 26; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CONCRETE_TYPE_REQUIRED => 'CONCRETE_TYPE_REQUIRED', - self::INVALID_PLACEMENT_URL => 'INVALID_PLACEMENT_URL', - self::CANNOT_EXCLUDE_CRITERIA_TYPE => 'CANNOT_EXCLUDE_CRITERIA_TYPE', - self::CANNOT_SET_STATUS_FOR_CRITERIA_TYPE => 'CANNOT_SET_STATUS_FOR_CRITERIA_TYPE', - self::CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA => 'CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA', - self::CANNOT_TARGET_AND_EXCLUDE => 'CANNOT_TARGET_AND_EXCLUDE', - self::TOO_MANY_OPERATIONS => 'TOO_MANY_OPERATIONS', - self::OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE => 'OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE', - self::SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL => 'SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL', - self::CANNOT_ADD_EXISTING_FIELD => 'CANNOT_ADD_EXISTING_FIELD', - self::CANNOT_UPDATE_NEGATIVE_CRITERION => 'CANNOT_UPDATE_NEGATIVE_CRITERION', - self::CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION => 'CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION', - self::INVALID_KEYWORD_THEME_CONSTANT => 'INVALID_KEYWORD_THEME_CONSTANT', - self::MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME => 'MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME', - self::CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN => 'CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN', - self::CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN => 'CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN', - self::LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN => 'LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN', - self::LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN => 'LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN', - self::CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN => 'CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN', - self::LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN => 'LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN', - self::CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN => 'CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN', - self::AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN => 'AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN', - self::AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN => 'AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN', - self::LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY => 'LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY', - self::CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN => 'CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignCriterionError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignCriterionErrorEnum_CampaignCriterionError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerErrorEnum.php deleted file mode 100644 index d39bb37b4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignCustomizerErrorEnum - */ -class CampaignCustomizerErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignCustomizerError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerErrorEnum/CampaignCustomizerError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerErrorEnum/CampaignCustomizerError.php deleted file mode 100644 index 38829d838..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignCustomizerErrorEnum/CampaignCustomizerError.php +++ /dev/null @@ -1,57 +0,0 @@ -google.ads.googleads.v15.errors.CampaignCustomizerErrorEnum.CampaignCustomizerError - */ -class CampaignCustomizerError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignCustomizerError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignCustomizerErrorEnum_CampaignCustomizerError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignDraftErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignDraftErrorEnum.php deleted file mode 100644 index bcc2a1204..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignDraftErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignDraftErrorEnum - */ -class CampaignDraftErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignDraftError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignDraftErrorEnum/CampaignDraftError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignDraftErrorEnum/CampaignDraftError.php deleted file mode 100644 index 6d937b676..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignDraftErrorEnum/CampaignDraftError.php +++ /dev/null @@ -1,132 +0,0 @@ -google.ads.googleads.v15.errors.CampaignDraftErrorEnum.CampaignDraftError - */ -class CampaignDraftError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A draft with this name already exists for this campaign. - * - * Generated from protobuf enum DUPLICATE_DRAFT_NAME = 2; - */ - const DUPLICATE_DRAFT_NAME = 2; - /** - * The draft is removed and cannot be transitioned to another status. - * - * Generated from protobuf enum INVALID_STATUS_TRANSITION_FROM_REMOVED = 3; - */ - const INVALID_STATUS_TRANSITION_FROM_REMOVED = 3; - /** - * The draft has been promoted and cannot be transitioned to the specified - * status. - * - * Generated from protobuf enum INVALID_STATUS_TRANSITION_FROM_PROMOTED = 4; - */ - const INVALID_STATUS_TRANSITION_FROM_PROMOTED = 4; - /** - * The draft has failed to be promoted and cannot be transitioned to the - * specified status. - * - * Generated from protobuf enum INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED = 5; - */ - const INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED = 5; - /** - * This customer is not allowed to create drafts. - * - * Generated from protobuf enum CUSTOMER_CANNOT_CREATE_DRAFT = 6; - */ - const CUSTOMER_CANNOT_CREATE_DRAFT = 6; - /** - * This campaign is not allowed to create drafts. - * - * Generated from protobuf enum CAMPAIGN_CANNOT_CREATE_DRAFT = 7; - */ - const CAMPAIGN_CANNOT_CREATE_DRAFT = 7; - /** - * This modification cannot be made on a draft. - * - * Generated from protobuf enum INVALID_DRAFT_CHANGE = 8; - */ - const INVALID_DRAFT_CHANGE = 8; - /** - * The draft cannot be transitioned to the specified status from its - * current status. - * - * Generated from protobuf enum INVALID_STATUS_TRANSITION = 9; - */ - const INVALID_STATUS_TRANSITION = 9; - /** - * The campaign has reached the maximum number of drafts that can be created - * for a campaign throughout its lifetime. No additional drafts can be - * created for this campaign. Removed drafts also count towards this limit. - * - * Generated from protobuf enum MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10; - */ - const MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10; - /** - * ListAsyncErrors was called without first promoting the draft. - * - * Generated from protobuf enum LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11; - */ - const LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_DRAFT_NAME => 'DUPLICATE_DRAFT_NAME', - self::INVALID_STATUS_TRANSITION_FROM_REMOVED => 'INVALID_STATUS_TRANSITION_FROM_REMOVED', - self::INVALID_STATUS_TRANSITION_FROM_PROMOTED => 'INVALID_STATUS_TRANSITION_FROM_PROMOTED', - self::INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED => 'INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED', - self::CUSTOMER_CANNOT_CREATE_DRAFT => 'CUSTOMER_CANNOT_CREATE_DRAFT', - self::CAMPAIGN_CANNOT_CREATE_DRAFT => 'CAMPAIGN_CANNOT_CREATE_DRAFT', - self::INVALID_DRAFT_CHANGE => 'INVALID_DRAFT_CHANGE', - self::INVALID_STATUS_TRANSITION => 'INVALID_STATUS_TRANSITION', - self::MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED => 'MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED', - self::LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY => 'LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignDraftError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignDraftErrorEnum_CampaignDraftError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignErrorEnum.php deleted file mode 100644 index 61bcba1a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignErrorEnum - */ -class CampaignErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignErrorEnum/CampaignError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignErrorEnum/CampaignError.php deleted file mode 100644 index d9eb64cd5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignErrorEnum/CampaignError.php +++ /dev/null @@ -1,599 +0,0 @@ -google.ads.googleads.v15.errors.CampaignErrorEnum.CampaignError - */ -class CampaignError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Cannot target content network. - * - * Generated from protobuf enum CANNOT_TARGET_CONTENT_NETWORK = 3; - */ - const CANNOT_TARGET_CONTENT_NETWORK = 3; - /** - * Cannot target search network. - * - * Generated from protobuf enum CANNOT_TARGET_SEARCH_NETWORK = 4; - */ - const CANNOT_TARGET_SEARCH_NETWORK = 4; - /** - * Cannot cover search network without google search network. - * - * Generated from protobuf enum CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5; - */ - const CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5; - /** - * Cannot target Google Search network for a CPM campaign. - * - * Generated from protobuf enum CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6; - */ - const CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6; - /** - * Must target at least one network. - * - * Generated from protobuf enum CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7; - */ - const CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7; - /** - * Only some Google partners are allowed to target partner search network. - * - * Generated from protobuf enum CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8; - */ - const CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8; - /** - * Cannot target content network only as campaign has criteria-level bidding - * strategy. - * - * Generated from protobuf enum CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9; - */ - const CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9; - /** - * Cannot modify the start or end date such that the campaign duration would - * not contain the durations of all runnable trials. - * - * Generated from protobuf enum CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 10; - */ - const CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 10; - /** - * Cannot modify dates, budget or status of a trial campaign. - * - * Generated from protobuf enum CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11; - */ - const CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11; - /** - * Trying to modify the name of an active or paused campaign, where the name - * is already assigned to another active or paused campaign. - * - * Generated from protobuf enum DUPLICATE_CAMPAIGN_NAME = 12; - */ - const DUPLICATE_CAMPAIGN_NAME = 12; - /** - * Two fields are in conflicting modes. - * - * Generated from protobuf enum INCOMPATIBLE_CAMPAIGN_FIELD = 13; - */ - const INCOMPATIBLE_CAMPAIGN_FIELD = 13; - /** - * Campaign name cannot be used. - * - * Generated from protobuf enum INVALID_CAMPAIGN_NAME = 14; - */ - const INVALID_CAMPAIGN_NAME = 14; - /** - * Given status is invalid. - * - * Generated from protobuf enum INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15; - */ - const INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15; - /** - * Error in the campaign level tracking URL. - * - * Generated from protobuf enum INVALID_TRACKING_URL = 16; - */ - const INVALID_TRACKING_URL = 16; - /** - * Cannot set both tracking URL template and tracking setting. A user has - * to clear legacy tracking setting in order to add tracking URL template. - * - * Generated from protobuf enum CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 17; - */ - const CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 17; - /** - * The maximum number of impressions for Frequency Cap should be an integer - * greater than 0. - * - * Generated from protobuf enum MAX_IMPRESSIONS_NOT_IN_RANGE = 18; - */ - const MAX_IMPRESSIONS_NOT_IN_RANGE = 18; - /** - * Only the Day, Week and Month time units are supported. - * - * Generated from protobuf enum TIME_UNIT_NOT_SUPPORTED = 19; - */ - const TIME_UNIT_NOT_SUPPORTED = 19; - /** - * Operation not allowed on a campaign whose serving status has ended - * - * Generated from protobuf enum INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20; - */ - const INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20; - /** - * This budget is exclusively linked to a Campaign that is using experiments - * so it cannot be shared. - * - * Generated from protobuf enum BUDGET_CANNOT_BE_SHARED = 21; - */ - const BUDGET_CANNOT_BE_SHARED = 21; - /** - * Campaigns using experiments cannot use a shared budget. - * - * Generated from protobuf enum CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22; - */ - const CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22; - /** - * A different budget cannot be assigned to a campaign when there are - * running or scheduled trials. - * - * Generated from protobuf enum CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23; - */ - const CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23; - /** - * No link found between the campaign and the label. - * - * Generated from protobuf enum CAMPAIGN_LABEL_DOES_NOT_EXIST = 24; - */ - const CAMPAIGN_LABEL_DOES_NOT_EXIST = 24; - /** - * The label has already been attached to the campaign. - * - * Generated from protobuf enum CAMPAIGN_LABEL_ALREADY_EXISTS = 25; - */ - const CAMPAIGN_LABEL_ALREADY_EXISTS = 25; - /** - * A ShoppingSetting was not found when creating a shopping campaign. - * - * Generated from protobuf enum MISSING_SHOPPING_SETTING = 26; - */ - const MISSING_SHOPPING_SETTING = 26; - /** - * The country in shopping setting is not an allowed country. - * - * Generated from protobuf enum INVALID_SHOPPING_SALES_COUNTRY = 27; - */ - const INVALID_SHOPPING_SALES_COUNTRY = 27; - /** - * The requested channel type is not available according to the customer's - * account setting. - * - * Generated from protobuf enum ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31; - */ - const ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31; - /** - * The AdvertisingChannelSubType is not a valid subtype of the primary - * channel type. - * - * Generated from protobuf enum INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32; - */ - const INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32; - /** - * At least one conversion must be selected. - * - * Generated from protobuf enum AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33; - */ - const AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33; - /** - * Setting ad rotation mode for a campaign is not allowed. Ad rotation mode - * at campaign is deprecated. - * - * Generated from protobuf enum CANNOT_SET_AD_ROTATION_MODE = 34; - */ - const CANNOT_SET_AD_ROTATION_MODE = 34; - /** - * Trying to change start date on a campaign that has started. - * - * Generated from protobuf enum CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35; - */ - const CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35; - /** - * Trying to modify a date into the past. - * - * Generated from protobuf enum CANNOT_SET_DATE_TO_PAST = 36; - */ - const CANNOT_SET_DATE_TO_PAST = 36; - /** - * Hotel center id in the hotel setting does not match any customer links. - * - * Generated from protobuf enum MISSING_HOTEL_CUSTOMER_LINK = 37; - */ - const MISSING_HOTEL_CUSTOMER_LINK = 37; - /** - * Hotel center id in the hotel setting must match an active customer link. - * - * Generated from protobuf enum INVALID_HOTEL_CUSTOMER_LINK = 38; - */ - const INVALID_HOTEL_CUSTOMER_LINK = 38; - /** - * Hotel setting was not found when creating a hotel ads campaign. - * - * Generated from protobuf enum MISSING_HOTEL_SETTING = 39; - */ - const MISSING_HOTEL_SETTING = 39; - /** - * A Campaign cannot use shared campaign budgets and be part of a campaign - * group. - * - * Generated from protobuf enum CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP = 40; - */ - const CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP = 40; - /** - * The app ID was not found. - * - * Generated from protobuf enum APP_NOT_FOUND = 41; - */ - const APP_NOT_FOUND = 41; - /** - * Campaign.shopping_setting.enable_local is not supported for the specified - * campaign type. - * - * Generated from protobuf enum SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42; - */ - const SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42; - /** - * The merchant does not support the creation of campaigns for Shopping - * Comparison Listing Ads. - * - * Generated from protobuf enum MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43; - */ - const MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43; - /** - * The App campaign for engagement cannot be created because there aren't - * enough installs. - * - * Generated from protobuf enum INSUFFICIENT_APP_INSTALLS_COUNT = 44; - */ - const INSUFFICIENT_APP_INSTALLS_COUNT = 44; - /** - * The App campaign for engagement cannot be created because the app is - * sensitive. - * - * Generated from protobuf enum SENSITIVE_CATEGORY_APP = 45; - */ - const SENSITIVE_CATEGORY_APP = 45; - /** - * Customers with Housing, Employment, or Credit ads must accept updated - * personalized ads policy to continue creating campaigns. - * - * Generated from protobuf enum HEC_AGREEMENT_REQUIRED = 46; - */ - const HEC_AGREEMENT_REQUIRED = 46; - /** - * The field is not compatible with view through conversion optimization. - * - * Generated from protobuf enum NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49; - */ - const NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49; - /** - * The field type cannot be excluded because an active campaign-asset link - * of this type exists. - * - * Generated from protobuf enum INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48; - */ - const INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48; - /** - * The app pre-registration campaign cannot be created for non-Android - * applications. - * - * Generated from protobuf enum CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50; - */ - const CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50; - /** - * The campaign cannot be created since the app is not available for - * pre-registration in any country. - * - * Generated from protobuf enum APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN = 51; - */ - const APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN = 51; - /** - * The type of the Budget is not compatible with this Campaign. - * - * Generated from protobuf enum INCOMPATIBLE_BUDGET_TYPE = 52; - */ - const INCOMPATIBLE_BUDGET_TYPE = 52; - /** - * Category bid list in the local services campaign setting contains - * multiple bids for the same category ID. - * - * Generated from protobuf enum LOCAL_SERVICES_DUPLICATE_CATEGORY_BID = 53; - */ - const LOCAL_SERVICES_DUPLICATE_CATEGORY_BID = 53; - /** - * Category bid list in the local services campaign setting contains - * a bid for an invalid category ID. - * - * Generated from protobuf enum LOCAL_SERVICES_INVALID_CATEGORY_BID = 54; - */ - const LOCAL_SERVICES_INVALID_CATEGORY_BID = 54; - /** - * Category bid list in the local services campaign setting is missing a - * bid for a category ID that must be present. - * - * Generated from protobuf enum LOCAL_SERVICES_MISSING_CATEGORY_BID = 55; - */ - const LOCAL_SERVICES_MISSING_CATEGORY_BID = 55; - /** - * The requested change in status is not supported. - * - * Generated from protobuf enum INVALID_STATUS_CHANGE = 57; - */ - const INVALID_STATUS_CHANGE = 57; - /** - * Travel Campaign's travel_account_id does not match any customer links. - * - * Generated from protobuf enum MISSING_TRAVEL_CUSTOMER_LINK = 58; - */ - const MISSING_TRAVEL_CUSTOMER_LINK = 58; - /** - * Travel Campaign's travel_account_id matches an existing customer link - * but the customer link is not active. - * - * Generated from protobuf enum INVALID_TRAVEL_CUSTOMER_LINK = 59; - */ - const INVALID_TRAVEL_CUSTOMER_LINK = 59; - /** - * The asset set type is invalid to be set in - * excluded_parent_asset_set_types field. - * - * Generated from protobuf enum INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 62; - */ - const INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 62; - /** - * Campaign.hotel_property_asset_set must point to an asset set of type - * HOTEL_PROPERTY. - * - * Generated from protobuf enum ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET = 63; - */ - const ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET = 63; - /** - * The hotel property asset set can only be set on Performance Max for - * travel goals campaigns. - * - * Generated from protobuf enum HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS = 64; - */ - const HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS = 64; - /** - * Customer's average daily spend is too high to enable this feature. - * - * Generated from protobuf enum AVERAGE_DAILY_SPEND_TOO_HIGH = 65; - */ - const AVERAGE_DAILY_SPEND_TOO_HIGH = 65; - /** - * Cannot attach the campaign to a deleted campaign group. - * - * Generated from protobuf enum CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP = 66; - */ - const CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP = 66; - /** - * Cannot attach the campaign to this bidding strategy. - * - * Generated from protobuf enum CANNOT_ATTACH_TO_BIDDING_STRATEGY = 67; - */ - const CANNOT_ATTACH_TO_BIDDING_STRATEGY = 67; - /** - * A budget with a different period cannot be assigned to the campaign. - * - * Generated from protobuf enum CANNOT_CHANGE_BUDGET_PERIOD = 68; - */ - const CANNOT_CHANGE_BUDGET_PERIOD = 68; - /** - * Customer does not have enough conversions to enable this feature. - * - * Generated from protobuf enum NOT_ENOUGH_CONVERSIONS = 71; - */ - const NOT_ENOUGH_CONVERSIONS = 71; - /** - * This campaign type can only have one conversion action. - * - * Generated from protobuf enum CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION = 72; - */ - const CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION = 72; - /** - * The field is not compatible with the budget type. - * - * Generated from protobuf enum NOT_COMPATIBLE_WITH_BUDGET_TYPE = 73; - */ - const NOT_COMPATIBLE_WITH_BUDGET_TYPE = 73; - /** - * The feature is incompatible with ConversionActionType.UPLOAD_CLICKS. - * - * Generated from protobuf enum NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION = 74; - */ - const NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION = 74; - /** - * App campaign setting app ID must match selective optimization conversion - * action app ID. - * - * Generated from protobuf enum APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID = 76; - */ - const APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID = 76; - /** - * Selective optimization conversion action with Download category is not - * allowed. - * - * Generated from protobuf enum CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED = 77; - */ - const CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED = 77; - /** - * One software download for selective optimization conversion action is - * required for this campaign conversion action. - * - * Generated from protobuf enum CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED = 78; - */ - const CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED = 78; - /** - * Conversion tracking is not enabled and is required for this feature. - * - * Generated from protobuf enum CONVERSION_TRACKING_NOT_ENABLED = 79; - */ - const CONVERSION_TRACKING_NOT_ENABLED = 79; - /** - * The field is not compatible with the bidding strategy type. - * - * Generated from protobuf enum NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 80; - */ - const NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 80; - /** - * Campaign is not compatible with a conversion tracker that has Google - * attribution enabled. - * - * Generated from protobuf enum NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS = 81; - */ - const NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS = 81; - /** - * Customer level conversion lag is too high. - * - * Generated from protobuf enum CONVERSION_LAG_TOO_HIGH = 82; - */ - const CONVERSION_LAG_TOO_HIGH = 82; - /** - * The advertiser set as an advertising partner is not an actively linked - * advertiser to this customer. - * - * Generated from protobuf enum NOT_LINKED_ADVERTISING_PARTNER = 83; - */ - const NOT_LINKED_ADVERTISING_PARTNER = 83; - /** - * Invalid number of advertising partner IDs. - * - * Generated from protobuf enum INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS = 84; - */ - const INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS = 84; - /** - * Cannot target the display network without also targeting YouTube. - * - * Generated from protobuf enum CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE = 85; - */ - const CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE = 85; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_TARGET_CONTENT_NETWORK => 'CANNOT_TARGET_CONTENT_NETWORK', - self::CANNOT_TARGET_SEARCH_NETWORK => 'CANNOT_TARGET_SEARCH_NETWORK', - self::CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH => 'CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH', - self::CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN => 'CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN', - self::CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK => 'CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK', - self::CANNOT_TARGET_PARTNER_SEARCH_NETWORK => 'CANNOT_TARGET_PARTNER_SEARCH_NETWORK', - self::CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY => 'CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY', - self::CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS => 'CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS', - self::CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN => 'CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN', - self::DUPLICATE_CAMPAIGN_NAME => 'DUPLICATE_CAMPAIGN_NAME', - self::INCOMPATIBLE_CAMPAIGN_FIELD => 'INCOMPATIBLE_CAMPAIGN_FIELD', - self::INVALID_CAMPAIGN_NAME => 'INVALID_CAMPAIGN_NAME', - self::INVALID_AD_SERVING_OPTIMIZATION_STATUS => 'INVALID_AD_SERVING_OPTIMIZATION_STATUS', - self::INVALID_TRACKING_URL => 'INVALID_TRACKING_URL', - self::CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING => 'CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING', - self::MAX_IMPRESSIONS_NOT_IN_RANGE => 'MAX_IMPRESSIONS_NOT_IN_RANGE', - self::TIME_UNIT_NOT_SUPPORTED => 'TIME_UNIT_NOT_SUPPORTED', - self::INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED => 'INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED', - self::BUDGET_CANNOT_BE_SHARED => 'BUDGET_CANNOT_BE_SHARED', - self::CAMPAIGN_CANNOT_USE_SHARED_BUDGET => 'CAMPAIGN_CANNOT_USE_SHARED_BUDGET', - self::CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS => 'CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS', - self::CAMPAIGN_LABEL_DOES_NOT_EXIST => 'CAMPAIGN_LABEL_DOES_NOT_EXIST', - self::CAMPAIGN_LABEL_ALREADY_EXISTS => 'CAMPAIGN_LABEL_ALREADY_EXISTS', - self::MISSING_SHOPPING_SETTING => 'MISSING_SHOPPING_SETTING', - self::INVALID_SHOPPING_SALES_COUNTRY => 'INVALID_SHOPPING_SALES_COUNTRY', - self::ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE => 'ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE', - self::INVALID_ADVERTISING_CHANNEL_SUB_TYPE => 'INVALID_ADVERTISING_CHANNEL_SUB_TYPE', - self::AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED => 'AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED', - self::CANNOT_SET_AD_ROTATION_MODE => 'CANNOT_SET_AD_ROTATION_MODE', - self::CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED => 'CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED', - self::CANNOT_SET_DATE_TO_PAST => 'CANNOT_SET_DATE_TO_PAST', - self::MISSING_HOTEL_CUSTOMER_LINK => 'MISSING_HOTEL_CUSTOMER_LINK', - self::INVALID_HOTEL_CUSTOMER_LINK => 'INVALID_HOTEL_CUSTOMER_LINK', - self::MISSING_HOTEL_SETTING => 'MISSING_HOTEL_SETTING', - self::CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP => 'CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP', - self::APP_NOT_FOUND => 'APP_NOT_FOUND', - self::SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE => 'SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE', - self::MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS => 'MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS', - self::INSUFFICIENT_APP_INSTALLS_COUNT => 'INSUFFICIENT_APP_INSTALLS_COUNT', - self::SENSITIVE_CATEGORY_APP => 'SENSITIVE_CATEGORY_APP', - self::HEC_AGREEMENT_REQUIRED => 'HEC_AGREEMENT_REQUIRED', - self::NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION => 'NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION', - self::INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE => 'INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE', - self::CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP => 'CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP', - self::APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN => 'APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN', - self::INCOMPATIBLE_BUDGET_TYPE => 'INCOMPATIBLE_BUDGET_TYPE', - self::LOCAL_SERVICES_DUPLICATE_CATEGORY_BID => 'LOCAL_SERVICES_DUPLICATE_CATEGORY_BID', - self::LOCAL_SERVICES_INVALID_CATEGORY_BID => 'LOCAL_SERVICES_INVALID_CATEGORY_BID', - self::LOCAL_SERVICES_MISSING_CATEGORY_BID => 'LOCAL_SERVICES_MISSING_CATEGORY_BID', - self::INVALID_STATUS_CHANGE => 'INVALID_STATUS_CHANGE', - self::MISSING_TRAVEL_CUSTOMER_LINK => 'MISSING_TRAVEL_CUSTOMER_LINK', - self::INVALID_TRAVEL_CUSTOMER_LINK => 'INVALID_TRAVEL_CUSTOMER_LINK', - self::INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE => 'INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE', - self::ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET => 'ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET', - self::HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS => 'HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS', - self::AVERAGE_DAILY_SPEND_TOO_HIGH => 'AVERAGE_DAILY_SPEND_TOO_HIGH', - self::CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP => 'CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP', - self::CANNOT_ATTACH_TO_BIDDING_STRATEGY => 'CANNOT_ATTACH_TO_BIDDING_STRATEGY', - self::CANNOT_CHANGE_BUDGET_PERIOD => 'CANNOT_CHANGE_BUDGET_PERIOD', - self::NOT_ENOUGH_CONVERSIONS => 'NOT_ENOUGH_CONVERSIONS', - self::CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION => 'CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION', - self::NOT_COMPATIBLE_WITH_BUDGET_TYPE => 'NOT_COMPATIBLE_WITH_BUDGET_TYPE', - self::NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION => 'NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION', - self::APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID => 'APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID', - self::CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED => 'CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED', - self::CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED => 'CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED', - self::CONVERSION_TRACKING_NOT_ENABLED => 'CONVERSION_TRACKING_NOT_ENABLED', - self::NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE => 'NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE', - self::NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS => 'NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS', - self::CONVERSION_LAG_TOO_HIGH => 'CONVERSION_LAG_TOO_HIGH', - self::NOT_LINKED_ADVERTISING_PARTNER => 'NOT_LINKED_ADVERTISING_PARTNER', - self::INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS => 'INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS', - self::CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE => 'CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignErrorEnum_CampaignError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentErrorEnum.php deleted file mode 100644 index 576fa429a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignExperimentErrorEnum - */ -class CampaignExperimentErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignExperimentError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentErrorEnum/CampaignExperimentError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentErrorEnum/CampaignExperimentError.php deleted file mode 100644 index c11a0d500..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignExperimentErrorEnum/CampaignExperimentError.php +++ /dev/null @@ -1,134 +0,0 @@ -google.ads.googleads.v15.errors.CampaignExperimentErrorEnum.CampaignExperimentError - */ -class CampaignExperimentError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An active campaign or experiment with this name already exists. - * - * Generated from protobuf enum DUPLICATE_NAME = 2; - */ - const DUPLICATE_NAME = 2; - /** - * Experiment cannot be updated from the current state to the - * requested target state. For example, an experiment can only graduate - * if its status is ENABLED. - * - * Generated from protobuf enum INVALID_TRANSITION = 3; - */ - const INVALID_TRANSITION = 3; - /** - * Cannot create an experiment from a campaign using an explicitly shared - * budget. - * - * Generated from protobuf enum CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4; - */ - const CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4; - /** - * Cannot create an experiment for a removed base campaign. - * - * Generated from protobuf enum CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5; - */ - const CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5; - /** - * Cannot create an experiment from a draft, which has a status other than - * proposed. - * - * Generated from protobuf enum CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6; - */ - const CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6; - /** - * This customer is not allowed to create an experiment. - * - * Generated from protobuf enum CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7; - */ - const CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7; - /** - * This campaign is not allowed to create an experiment. - * - * Generated from protobuf enum CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8; - */ - const CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8; - /** - * Trying to set an experiment duration which overlaps with another - * experiment. - * - * Generated from protobuf enum EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9; - */ - const EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9; - /** - * All non-removed experiments must start and end within their campaign's - * duration. - * - * Generated from protobuf enum EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10; - */ - const EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10; - /** - * The experiment cannot be modified because its status is in a terminal - * state, such as REMOVED. - * - * Generated from protobuf enum CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11; - */ - const CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::INVALID_TRANSITION => 'INVALID_TRANSITION', - self::CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET => 'CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET', - self::CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN => 'CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN', - self::CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT => 'CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT', - self::CUSTOMER_CANNOT_CREATE_EXPERIMENT => 'CUSTOMER_CANNOT_CREATE_EXPERIMENT', - self::CAMPAIGN_CANNOT_CREATE_EXPERIMENT => 'CAMPAIGN_CANNOT_CREATE_EXPERIMENT', - self::EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP => 'EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP', - self::EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION => 'EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION', - self::CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS => 'CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignExperimentError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignExperimentErrorEnum_CampaignExperimentError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignFeedErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignFeedErrorEnum.php deleted file mode 100644 index fd9f2f375..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignFeedErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignFeedErrorEnum - */ -class CampaignFeedErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignFeedError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignFeedErrorEnum/CampaignFeedError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignFeedErrorEnum/CampaignFeedError.php deleted file mode 100644 index 6e51c4273..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignFeedErrorEnum/CampaignFeedError.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.errors.CampaignFeedErrorEnum.CampaignFeedError - */ -class CampaignFeedError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An active feed already exists for this campaign and placeholder type. - * - * Generated from protobuf enum FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - */ - const FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - /** - * The specified feed is removed. - * - * Generated from protobuf enum CANNOT_CREATE_FOR_REMOVED_FEED = 4; - */ - const CANNOT_CREATE_FOR_REMOVED_FEED = 4; - /** - * The CampaignFeed already exists. UPDATE should be used to modify the - * existing CampaignFeed. - * - * Generated from protobuf enum CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED = 5; - */ - const CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED = 5; - /** - * Cannot update removed campaign feed. - * - * Generated from protobuf enum CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED = 6; - */ - const CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED = 6; - /** - * Invalid placeholder type. - * - * Generated from protobuf enum INVALID_PLACEHOLDER_TYPE = 7; - */ - const INVALID_PLACEHOLDER_TYPE = 7; - /** - * Feed mapping for this placeholder type does not exist. - * - * Generated from protobuf enum MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 8; - */ - const MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 8; - /** - * Location CampaignFeeds cannot be created unless there is a location - * CustomerFeed for the specified feed. - * - * Generated from protobuf enum NO_EXISTING_LOCATION_CUSTOMER_FEED = 9; - */ - const NO_EXISTING_LOCATION_CUSTOMER_FEED = 9; - /** - * Feed is read only. - * - * Generated from protobuf enum LEGACY_FEED_TYPE_READ_ONLY = 10; - */ - const LEGACY_FEED_TYPE_READ_ONLY = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE => 'FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', - self::CANNOT_CREATE_FOR_REMOVED_FEED => 'CANNOT_CREATE_FOR_REMOVED_FEED', - self::CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED => 'CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED', - self::CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED => 'CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED', - self::INVALID_PLACEHOLDER_TYPE => 'INVALID_PLACEHOLDER_TYPE', - self::MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE => 'MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', - self::NO_EXISTING_LOCATION_CUSTOMER_FEED => 'NO_EXISTING_LOCATION_CUSTOMER_FEED', - self::LEGACY_FEED_TYPE_READ_ONLY => 'LEGACY_FEED_TYPE_READ_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignFeedError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignFeedErrorEnum_CampaignFeedError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalErrorEnum.php deleted file mode 100644 index d57d9c177..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignLifecycleGoalErrorEnum - */ -class CampaignLifecycleGoalErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignLifecycleGoalError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalErrorEnum/CampaignLifecycleGoalError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalErrorEnum/CampaignLifecycleGoalError.php deleted file mode 100644 index 49a102d97..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignLifecycleGoalErrorEnum/CampaignLifecycleGoalError.php +++ /dev/null @@ -1,167 +0,0 @@ -google.ads.googleads.v15.errors.CampaignLifecycleGoalErrorEnum.CampaignLifecycleGoalError - */ -class CampaignLifecycleGoalError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Campaign is not specified. - * - * Generated from protobuf enum CAMPAIGN_MISSING = 2; - */ - const CAMPAIGN_MISSING = 2; - /** - * Cannot find the specified campaign. - * - * Generated from protobuf enum INVALID_CAMPAIGN = 3; - */ - const INVALID_CAMPAIGN = 3; - /** - * Optimization mode is unspecified or invalid. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_INVALID_OPTIMIZATION_MODE = 4; - */ - const CUSTOMER_ACQUISITION_INVALID_OPTIMIZATION_MODE = 4; - /** - * The configured lifecycle goal setting is not compatible with the bidding - * strategy the campaign is using. Specifically, BID_HIGHER_FOR_NEW_CUSTOMER - * requires conversion-value based bidding strategy type such as - * MAXIMIZE_CONVERSION_VALUE. - * - * Generated from protobuf enum INCOMPATIBLE_BIDDING_STRATEGY = 5; - */ - const INCOMPATIBLE_BIDDING_STRATEGY = 5; - /** - * Lifecycle goals require the campaign to optimize towards purchase - * conversion goal. - * - * Generated from protobuf enum MISSING_PURCHASE_GOAL = 6; - */ - const MISSING_PURCHASE_GOAL = 6; - /** - * CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.high_lifetime_value - * is invalid or not allowed, such as when the specified value is smaller - * than 0.01, when the optimization mode is not BID_HIGHER_FOR_NEW_CUSTOMER, - * or when - * CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.high_lifetime_value - * is specified smaller than/without - * CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE = 7; - */ - const CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE = 7; - /** - * Customer acquisition goal is not supported on this campaign type. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_UNSUPPORTED_CAMPAIGN_TYPE = 8; - */ - const CUSTOMER_ACQUISITION_UNSUPPORTED_CAMPAIGN_TYPE = 8; - /** - * CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value - * is invalid or not allowed, such as when the specified value is smaller - * than 0.01, or when the optimization mode is not - * BID_HIGHER_FOR_NEW_CUSTOMER. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_INVALID_VALUE = 9; - */ - const CUSTOMER_ACQUISITION_INVALID_VALUE = 9; - /** - * To use BID_HIGHER_FOR_NEW_CUSTOMER mode, either - * CampaignLifecycleGoal.customer_acquisition_goal_settings.value_settings.value - * or CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value - * must have been specified. If a manager account is managing your account's - * conversion tracking, then only the CustomerLifecycleGoal of that manager - * account is used. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_VALUE_MISSING = 10; - */ - const CUSTOMER_ACQUISITION_VALUE_MISSING = 10; - /** - * In order for a campaign to adopt the customer acquisition goal, - * CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.existing_user_lists - * must include active and accessible userlist with more than 1000 members - * in the Search/Youtube network. If a manager account is managing your - * account's conversion tracking, then only the CustomerLifecycleGoal of - * that manager account is used. Also make sure that the manager account - * shares audience segments with sub-accounts with continuous audience - * sharing. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION = 11; - */ - const CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION = 11; - /** - * In order for a campaign to adopt the customer acquisition goal with high - * lifetime value optimization, - * CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.high_lifetime_value_user_lists - * must include active and accessible userlist with more than 1000 members - * in the Search/Youtube network. If a manager account is managing your - * account's conversion tracking, then only the CustomerLifecycleGoal of - * that manager account is used. Also make sure that the manager account - * shares audience segments with sub-accounts using continuous audience - * sharing. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION = 12; - */ - const CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION = 12; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGN_MISSING => 'CAMPAIGN_MISSING', - self::INVALID_CAMPAIGN => 'INVALID_CAMPAIGN', - self::CUSTOMER_ACQUISITION_INVALID_OPTIMIZATION_MODE => 'CUSTOMER_ACQUISITION_INVALID_OPTIMIZATION_MODE', - self::INCOMPATIBLE_BIDDING_STRATEGY => 'INCOMPATIBLE_BIDDING_STRATEGY', - self::MISSING_PURCHASE_GOAL => 'MISSING_PURCHASE_GOAL', - self::CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE => 'CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE', - self::CUSTOMER_ACQUISITION_UNSUPPORTED_CAMPAIGN_TYPE => 'CUSTOMER_ACQUISITION_UNSUPPORTED_CAMPAIGN_TYPE', - self::CUSTOMER_ACQUISITION_INVALID_VALUE => 'CUSTOMER_ACQUISITION_INVALID_VALUE', - self::CUSTOMER_ACQUISITION_VALUE_MISSING => 'CUSTOMER_ACQUISITION_VALUE_MISSING', - self::CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION => 'CUSTOMER_ACQUISITION_MISSING_EXISTING_CUSTOMER_DEFINITION', - self::CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION => 'CUSTOMER_ACQUISITION_MISSING_HIGH_VALUE_CUSTOMER_DEFINITION', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignLifecycleGoalError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignLifecycleGoalErrorEnum_CampaignLifecycleGoalError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetErrorEnum.php deleted file mode 100644 index ea94952d7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CampaignSharedSetErrorEnum - */ -class CampaignSharedSetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CampaignSharedSetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetErrorEnum/CampaignSharedSetError.php b/src/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetErrorEnum/CampaignSharedSetError.php deleted file mode 100644 index 8666daa95..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CampaignSharedSetErrorEnum/CampaignSharedSetError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError - */ -class CampaignSharedSetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The shared set belongs to another customer and permission isn't granted. - * - * Generated from protobuf enum SHARED_SET_ACCESS_DENIED = 2; - */ - const SHARED_SET_ACCESS_DENIED = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SHARED_SET_ACCESS_DENIED => 'SHARED_SET_ACCESS_DENIED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignSharedSetError::class, \Google\Ads\GoogleAds\V15\Errors\CampaignSharedSetErrorEnum_CampaignSharedSetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ChangeEventErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ChangeEventErrorEnum.php deleted file mode 100644 index dc0a37e78..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ChangeEventErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ChangeEventErrorEnum - */ -class ChangeEventErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ChangeEventError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ChangeEventErrorEnum/ChangeEventError.php b/src/Google/Ads/GoogleAds/V15/Errors/ChangeEventErrorEnum/ChangeEventError.php deleted file mode 100644 index 454160005..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ChangeEventErrorEnum/ChangeEventError.php +++ /dev/null @@ -1,96 +0,0 @@ -google.ads.googleads.v15.errors.ChangeEventErrorEnum.ChangeEventError - */ -class ChangeEventError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The requested start date is too old. It cannot be older than 30 days. - * - * Generated from protobuf enum START_DATE_TOO_OLD = 2; - */ - const START_DATE_TOO_OLD = 2; - /** - * The change_event search request must specify a finite range filter - * on change_date_time. - * - * Generated from protobuf enum CHANGE_DATE_RANGE_INFINITE = 3; - */ - const CHANGE_DATE_RANGE_INFINITE = 3; - /** - * The change event search request has specified invalid date time filters - * that can never logically produce any valid results (for example, start - * time after end time). - * - * Generated from protobuf enum CHANGE_DATE_RANGE_NEGATIVE = 4; - */ - const CHANGE_DATE_RANGE_NEGATIVE = 4; - /** - * The change_event search request must specify a LIMIT. - * - * Generated from protobuf enum LIMIT_NOT_SPECIFIED = 5; - */ - const LIMIT_NOT_SPECIFIED = 5; - /** - * The LIMIT specified by change_event request should be less than or equal - * to 10K. - * - * Generated from protobuf enum INVALID_LIMIT_CLAUSE = 6; - */ - const INVALID_LIMIT_CLAUSE = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::START_DATE_TOO_OLD => 'START_DATE_TOO_OLD', - self::CHANGE_DATE_RANGE_INFINITE => 'CHANGE_DATE_RANGE_INFINITE', - self::CHANGE_DATE_RANGE_NEGATIVE => 'CHANGE_DATE_RANGE_NEGATIVE', - self::LIMIT_NOT_SPECIFIED => 'LIMIT_NOT_SPECIFIED', - self::INVALID_LIMIT_CLAUSE => 'INVALID_LIMIT_CLAUSE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangeEventError::class, \Google\Ads\GoogleAds\V15\Errors\ChangeEventErrorEnum_ChangeEventError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ChangeStatusErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ChangeStatusErrorEnum.php deleted file mode 100644 index d826c9d74..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ChangeStatusErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ChangeStatusErrorEnum - */ -class ChangeStatusErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ChangeStatusError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ChangeStatusErrorEnum/ChangeStatusError.php b/src/Google/Ads/GoogleAds/V15/Errors/ChangeStatusErrorEnum/ChangeStatusError.php deleted file mode 100644 index 14a7bae48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ChangeStatusErrorEnum/ChangeStatusError.php +++ /dev/null @@ -1,96 +0,0 @@ -google.ads.googleads.v15.errors.ChangeStatusErrorEnum.ChangeStatusError - */ -class ChangeStatusError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The requested start date is too old. - * - * Generated from protobuf enum START_DATE_TOO_OLD = 3; - */ - const START_DATE_TOO_OLD = 3; - /** - * The change_status search request must specify a finite range filter - * on last_change_date_time. - * - * Generated from protobuf enum CHANGE_DATE_RANGE_INFINITE = 4; - */ - const CHANGE_DATE_RANGE_INFINITE = 4; - /** - * The change status search request has specified invalid date time filters - * that can never logically produce any valid results (for example, start - * time after end time). - * - * Generated from protobuf enum CHANGE_DATE_RANGE_NEGATIVE = 5; - */ - const CHANGE_DATE_RANGE_NEGATIVE = 5; - /** - * The change_status search request must specify a LIMIT. - * - * Generated from protobuf enum LIMIT_NOT_SPECIFIED = 6; - */ - const LIMIT_NOT_SPECIFIED = 6; - /** - * The LIMIT specified by change_status request should be less than or equal - * to 10K. - * - * Generated from protobuf enum INVALID_LIMIT_CLAUSE = 7; - */ - const INVALID_LIMIT_CLAUSE = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::START_DATE_TOO_OLD => 'START_DATE_TOO_OLD', - self::CHANGE_DATE_RANGE_INFINITE => 'CHANGE_DATE_RANGE_INFINITE', - self::CHANGE_DATE_RANGE_NEGATIVE => 'CHANGE_DATE_RANGE_NEGATIVE', - self::LIMIT_NOT_SPECIFIED => 'LIMIT_NOT_SPECIFIED', - self::INVALID_LIMIT_CLAUSE => 'INVALID_LIMIT_CLAUSE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangeStatusError::class, \Google\Ads\GoogleAds\V15\Errors\ChangeStatusErrorEnum_ChangeStatusError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CollectionSizeErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CollectionSizeErrorEnum.php deleted file mode 100644 index 717ebbec5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CollectionSizeErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CollectionSizeErrorEnum - */ -class CollectionSizeErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CollectionSizeError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CollectionSizeErrorEnum/CollectionSizeError.php b/src/Google/Ads/GoogleAds/V15/Errors/CollectionSizeErrorEnum/CollectionSizeError.php deleted file mode 100644 index a08a144ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CollectionSizeErrorEnum/CollectionSizeError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.CollectionSizeErrorEnum.CollectionSizeError - */ -class CollectionSizeError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Too few. - * - * Generated from protobuf enum TOO_FEW = 2; - */ - const TOO_FEW = 2; - /** - * Too many. - * - * Generated from protobuf enum TOO_MANY = 3; - */ - const TOO_MANY = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TOO_FEW => 'TOO_FEW', - self::TOO_MANY => 'TOO_MANY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CollectionSizeError::class, \Google\Ads\GoogleAds\V15\Errors\CollectionSizeErrorEnum_CollectionSizeError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ContextErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ContextErrorEnum.php deleted file mode 100644 index b05b5ef3a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ContextErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ContextErrorEnum - */ -class ContextErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ContextError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ContextErrorEnum/ContextError.php b/src/Google/Ads/GoogleAds/V15/Errors/ContextErrorEnum/ContextError.php deleted file mode 100644 index c4c70ce8b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ContextErrorEnum/ContextError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.ContextErrorEnum.ContextError - */ -class ContextError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The operation is not allowed for the given context. - * - * Generated from protobuf enum OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2; - */ - const OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2; - /** - * The operation is not allowed for removed resources. - * - * Generated from protobuf enum OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3; - */ - const OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPERATION_NOT_PERMITTED_FOR_CONTEXT => 'OPERATION_NOT_PERMITTED_FOR_CONTEXT', - self::OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE => 'OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ContextError::class, \Google\Ads\GoogleAds\V15\Errors\ContextErrorEnum_ContextError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionActionErrorEnum/ConversionActionError.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionActionErrorEnum/ConversionActionError.php deleted file mode 100644 index 36edb0ee4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionActionErrorEnum/ConversionActionError.php +++ /dev/null @@ -1,143 +0,0 @@ -google.ads.googleads.v15.errors.ConversionActionErrorEnum.ConversionActionError - */ -class ConversionActionError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The specified conversion action name already exists. - * - * Generated from protobuf enum DUPLICATE_NAME = 2; - */ - const DUPLICATE_NAME = 2; - /** - * Another conversion action with the specified app id already exists. - * - * Generated from protobuf enum DUPLICATE_APP_ID = 3; - */ - const DUPLICATE_APP_ID = 3; - /** - * Android first open action conflicts with Google play codeless download - * action tracking the same app. - * - * Generated from protobuf enum TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD = 4; - */ - const TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD = 4; - /** - * Android first open action conflicts with Google play codeless download - * action tracking the same app. - * - * Generated from protobuf enum BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION = 5; - */ - const BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION = 5; - /** - * The attribution model cannot be set to DATA_DRIVEN because a data-driven - * model has never been generated. - * - * Generated from protobuf enum DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED = 6; - */ - const DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED = 6; - /** - * The attribution model cannot be set to DATA_DRIVEN because the - * data-driven model is expired. - * - * Generated from protobuf enum DATA_DRIVEN_MODEL_EXPIRED = 7; - */ - const DATA_DRIVEN_MODEL_EXPIRED = 7; - /** - * The attribution model cannot be set to DATA_DRIVEN because the - * data-driven model is stale. - * - * Generated from protobuf enum DATA_DRIVEN_MODEL_STALE = 8; - */ - const DATA_DRIVEN_MODEL_STALE = 8; - /** - * The attribution model cannot be set to DATA_DRIVEN because the - * data-driven model is unavailable or the conversion action was newly - * added. - * - * Generated from protobuf enum DATA_DRIVEN_MODEL_UNKNOWN = 9; - */ - const DATA_DRIVEN_MODEL_UNKNOWN = 9; - /** - * Creation of this conversion action type isn't supported by Google - * Ads API. - * - * Generated from protobuf enum CREATION_NOT_SUPPORTED = 10; - */ - const CREATION_NOT_SUPPORTED = 10; - /** - * Update of this conversion action isn't supported by Google Ads API. - * - * Generated from protobuf enum UPDATE_NOT_SUPPORTED = 11; - */ - const UPDATE_NOT_SUPPORTED = 11; - /** - * Rule-based attribution models are deprecated and not allowed to be set - * by conversion action. - * - * Generated from protobuf enum CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS = 12; - */ - const CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS = 12; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::DUPLICATE_APP_ID => 'DUPLICATE_APP_ID', - self::TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD => 'TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD', - self::BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION => 'BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION', - self::DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED => 'DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED', - self::DATA_DRIVEN_MODEL_EXPIRED => 'DATA_DRIVEN_MODEL_EXPIRED', - self::DATA_DRIVEN_MODEL_STALE => 'DATA_DRIVEN_MODEL_STALE', - self::DATA_DRIVEN_MODEL_UNKNOWN => 'DATA_DRIVEN_MODEL_UNKNOWN', - self::CREATION_NOT_SUPPORTED => 'CREATION_NOT_SUPPORTED', - self::UPDATE_NOT_SUPPORTED => 'UPDATE_NOT_SUPPORTED', - self::CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS => 'CANNOT_SET_RULE_BASED_ATTRIBUTION_MODELS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionActionError::class, \Google\Ads\GoogleAds\V15\Errors\ConversionActionErrorEnum_ConversionActionError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadErrorEnum.php deleted file mode 100644 index 0cacba9f8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ConversionAdjustmentUploadErrorEnum - */ -class ConversionAdjustmentUploadErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ConversionAdjustmentUploadError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadErrorEnum/ConversionAdjustmentUploadError.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadErrorEnum/ConversionAdjustmentUploadError.php deleted file mode 100644 index 65857490b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionAdjustmentUploadErrorEnum/ConversionAdjustmentUploadError.php +++ /dev/null @@ -1,264 +0,0 @@ -google.ads.googleads.v15.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError - */ -class ConversionAdjustmentUploadError -{ - /** - * Not specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Can't import events to a conversion action that was just created. Try - * importing again in 6 hours. - * - * Generated from protobuf enum TOO_RECENT_CONVERSION_ACTION = 2; - */ - const TOO_RECENT_CONVERSION_ACTION = 2; - /** - * The conversion was already retracted. This adjustment was not processed. - * - * Generated from protobuf enum CONVERSION_ALREADY_RETRACTED = 4; - */ - const CONVERSION_ALREADY_RETRACTED = 4; - /** - * The conversion for this conversion action and conversion identifier can't - * be found. Make sure your conversion identifiers are associated with the - * correct conversion action and try again. - * - * Generated from protobuf enum CONVERSION_NOT_FOUND = 5; - */ - const CONVERSION_NOT_FOUND = 5; - /** - * Adjustment can't be made to a conversion that occurred more than 54 days - * ago. - * - * Generated from protobuf enum CONVERSION_EXPIRED = 6; - */ - const CONVERSION_EXPIRED = 6; - /** - * Adjustment has an `adjustment_date_time` that occurred before the - * associated conversion. Make sure your `adjustment_date_time` is correct - * and try again. - * - * Generated from protobuf enum ADJUSTMENT_PRECEDES_CONVERSION = 7; - */ - const ADJUSTMENT_PRECEDES_CONVERSION = 7; - /** - * More recent adjustment `adjustment_date_time` has already been reported - * for the associated conversion. Make sure your adjustment - * `adjustment_date_time` is correct and try again. - * - * Generated from protobuf enum MORE_RECENT_RESTATEMENT_FOUND = 8; - */ - const MORE_RECENT_RESTATEMENT_FOUND = 8; - /** - * Adjustment can't be recorded because the conversion occurred too - * recently. Try adjusting a conversion that occurred at least 24 hours ago. - * - * Generated from protobuf enum TOO_RECENT_CONVERSION = 9; - */ - const TOO_RECENT_CONVERSION = 9; - /** - * Can't make an adjustment to a conversion that is set up to use the - * default value. Check your conversion action value setting and try again. - * - * Generated from protobuf enum CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE = 10; - */ - const CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE = 10; - /** - * Try uploading fewer than 2001 adjustments in a single API request. - * - * Generated from protobuf enum TOO_MANY_ADJUSTMENTS_IN_REQUEST = 11; - */ - const TOO_MANY_ADJUSTMENTS_IN_REQUEST = 11; - /** - * The conversion has already been adjusted the maximum number of times. - * Make sure you're only making necessary adjustment to existing conversion. - * - * Generated from protobuf enum TOO_MANY_ADJUSTMENTS = 12; - */ - const TOO_MANY_ADJUSTMENTS = 12; - /** - * The conversion has prior a restatement with the same - * `adjustment_date_time`. Make sure your adjustment has the correct and - * unique `adjustment_date_time` and try again. - * - * Generated from protobuf enum RESTATEMENT_ALREADY_EXISTS = 13; - */ - const RESTATEMENT_ALREADY_EXISTS = 13; - /** - * Imported adjustment has a duplicate conversion adjustment with same - * `adjustment_date_time`. Make sure your adjustment has the correct - * `adjustment_date_time` and try again. - * - * Generated from protobuf enum DUPLICATE_ADJUSTMENT_IN_REQUEST = 14; - */ - const DUPLICATE_ADJUSTMENT_IN_REQUEST = 14; - /** - * Make sure you agree to the customer data processing terms in conversion - * settings and try again. - * - * Generated from protobuf enum CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 15; - */ - const CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 15; - /** - * Can't use enhanced conversions with the specified conversion action. - * - * Generated from protobuf enum CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT = 16; - */ - const CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT = 16; - /** - * Make sure you hash user provided data using SHA-256 and ensure you are - * normalizing according to the guidelines. - * - * Generated from protobuf enum INVALID_USER_IDENTIFIER = 17; - */ - const INVALID_USER_IDENTIFIER = 17; - /** - * Use user provided data such as emails or phone numbers hashed using - * SHA-256 and try again. - * - * Generated from protobuf enum UNSUPPORTED_USER_IDENTIFIER = 18; - */ - const UNSUPPORTED_USER_IDENTIFIER = 18; - /** - * Cannot set both gclid_date_time_pair and order_id. Use only 1 type and - * try again. - * - * Generated from protobuf enum GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET = 20; - */ - const GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET = 20; - /** - * Conversion already has enhancements with the same Order ID and conversion - * action. Make sure your data is correctly configured and try again. - * - * Generated from protobuf enum CONVERSION_ALREADY_ENHANCED = 21; - */ - const CONVERSION_ALREADY_ENHANCED = 21; - /** - * Multiple enhancements have the same conversion action and Order ID. Make - * sure your data is correctly configured and try again. - * - * Generated from protobuf enum DUPLICATE_ENHANCEMENT_IN_REQUEST = 22; - */ - const DUPLICATE_ENHANCEMENT_IN_REQUEST = 22; - /** - * Enhanced conversions can't be used for this account because of Google - * customer data policies. Contact your Google representative. - * - * Generated from protobuf enum CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT = 23; - */ - const CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT = 23; - /** - * Adjustment for website conversion requires Order ID (ie, transaction ID). - * Make sure your website tags capture Order IDs and you send the same Order - * IDs with your adjustment. - * - * Generated from protobuf enum MISSING_ORDER_ID_FOR_WEBPAGE = 24; - */ - const MISSING_ORDER_ID_FOR_WEBPAGE = 24; - /** - * Can't use adjustment with Order IDs containing personally-identifiable - * information (PII). - * - * Generated from protobuf enum ORDER_ID_CONTAINS_PII = 25; - */ - const ORDER_ID_CONTAINS_PII = 25; - /** - * The provided job id in the request is not within the allowed range. A job - * ID must be a positive integer in the range [1, 2^31). - * - * Generated from protobuf enum INVALID_JOB_ID = 26; - */ - const INVALID_JOB_ID = 26; - /** - * The conversion action specified in the adjustment request cannot be - * found. Make sure it's available in this account. - * - * Generated from protobuf enum NO_CONVERSION_ACTION_FOUND = 27; - */ - const NO_CONVERSION_ACTION_FOUND = 27; - /** - * The type of the conversion action specified in the adjustment request - * isn't supported for uploading adjustments. A conversion adjustment of - * type `RETRACTION` or `RESTATEMENT` is only permitted for conversion - * actions of type `SALESFORCE`, `UPLOAD_CLICK` or `WEBPAGE`. A conversion - * adjustment of type `ENHANCEMENT` is only permitted for conversion - * actions of type `WEBPAGE`. - * - * Generated from protobuf enum INVALID_CONVERSION_ACTION_TYPE = 28; - */ - const INVALID_CONVERSION_ACTION_TYPE = 28; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TOO_RECENT_CONVERSION_ACTION => 'TOO_RECENT_CONVERSION_ACTION', - self::CONVERSION_ALREADY_RETRACTED => 'CONVERSION_ALREADY_RETRACTED', - self::CONVERSION_NOT_FOUND => 'CONVERSION_NOT_FOUND', - self::CONVERSION_EXPIRED => 'CONVERSION_EXPIRED', - self::ADJUSTMENT_PRECEDES_CONVERSION => 'ADJUSTMENT_PRECEDES_CONVERSION', - self::MORE_RECENT_RESTATEMENT_FOUND => 'MORE_RECENT_RESTATEMENT_FOUND', - self::TOO_RECENT_CONVERSION => 'TOO_RECENT_CONVERSION', - self::CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE => 'CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE', - self::TOO_MANY_ADJUSTMENTS_IN_REQUEST => 'TOO_MANY_ADJUSTMENTS_IN_REQUEST', - self::TOO_MANY_ADJUSTMENTS => 'TOO_MANY_ADJUSTMENTS', - self::RESTATEMENT_ALREADY_EXISTS => 'RESTATEMENT_ALREADY_EXISTS', - self::DUPLICATE_ADJUSTMENT_IN_REQUEST => 'DUPLICATE_ADJUSTMENT_IN_REQUEST', - self::CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS => 'CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS', - self::CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT => 'CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT', - self::INVALID_USER_IDENTIFIER => 'INVALID_USER_IDENTIFIER', - self::UNSUPPORTED_USER_IDENTIFIER => 'UNSUPPORTED_USER_IDENTIFIER', - self::GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET => 'GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET', - self::CONVERSION_ALREADY_ENHANCED => 'CONVERSION_ALREADY_ENHANCED', - self::DUPLICATE_ENHANCEMENT_IN_REQUEST => 'DUPLICATE_ENHANCEMENT_IN_REQUEST', - self::CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT => 'CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT', - self::MISSING_ORDER_ID_FOR_WEBPAGE => 'MISSING_ORDER_ID_FOR_WEBPAGE', - self::ORDER_ID_CONTAINS_PII => 'ORDER_ID_CONTAINS_PII', - self::INVALID_JOB_ID => 'INVALID_JOB_ID', - self::NO_CONVERSION_ACTION_FOUND => 'NO_CONVERSION_ACTION_FOUND', - self::INVALID_CONVERSION_ACTION_TYPE => 'INVALID_CONVERSION_ACTION_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionAdjustmentUploadError::class, \Google\Ads\GoogleAds\V15\Errors\ConversionAdjustmentUploadErrorEnum_ConversionAdjustmentUploadError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableErrorEnum.php deleted file mode 100644 index 1cf07d4a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ConversionCustomVariableErrorEnum - */ -class ConversionCustomVariableErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ConversionCustomVariableError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableErrorEnum/ConversionCustomVariableError.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableErrorEnum/ConversionCustomVariableError.php deleted file mode 100644 index 43e8d6e42..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionCustomVariableErrorEnum/ConversionCustomVariableError.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.errors.ConversionCustomVariableErrorEnum.ConversionCustomVariableError - */ -class ConversionCustomVariableError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A conversion custom variable with the specified name already exists. - * - * Generated from protobuf enum DUPLICATE_NAME = 2; - */ - const DUPLICATE_NAME = 2; - /** - * A conversion custom variable with the specified tag already exists. - * - * Generated from protobuf enum DUPLICATE_TAG = 3; - */ - const DUPLICATE_TAG = 3; - /** - * A conversion custom variable with the specified tag is reserved for other - * uses. - * - * Generated from protobuf enum RESERVED_TAG = 4; - */ - const RESERVED_TAG = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::DUPLICATE_TAG => 'DUPLICATE_TAG', - self::RESERVED_TAG => 'RESERVED_TAG', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionCustomVariableError::class, \Google\Ads\GoogleAds\V15\Errors\ConversionCustomVariableErrorEnum_ConversionCustomVariableError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigErrorEnum.php deleted file mode 100644 index 3f0927bd8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.ConversionGoalCampaignConfigErrorEnum - */ -class ConversionGoalCampaignConfigErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ConversionGoalCampaignConfigError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigErrorEnum/ConversionGoalCampaignConfigError.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigErrorEnum/ConversionGoalCampaignConfigError.php deleted file mode 100644 index 9685997aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionGoalCampaignConfigErrorEnum/ConversionGoalCampaignConfigError.php +++ /dev/null @@ -1,103 +0,0 @@ -google.ads.googleads.v15.errors.ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError - */ -class ConversionGoalCampaignConfigError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Campaign is managed by Search Ads 360 but uses Unified Goal. - * - * Generated from protobuf enum CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - */ - const CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - /** - * The campaign is using a custom goal that does not belong to its Google - * Ads conversion customer (conversion tracking customer). - * - * Generated from protobuf enum CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3; - */ - const CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3; - /** - * The campaign is not allowed to use unified goals. - * - * Generated from protobuf enum CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4; - */ - const CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4; - /** - * The campaign is using campaign override goals but has no goals - * configured. - * - * Generated from protobuf enum EMPTY_CONVERSION_GOALS = 5; - */ - const EMPTY_CONVERSION_GOALS = 5; - /** - * STORE_SALE and STORE_VISIT conversion types cannot be both included in - * campaign level goal. - * - * Generated from protobuf enum STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED = 6; - */ - const STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED = 6; - /** - * Performance Max campaign is not allowed to use custom goal with store - * sales conversion type. - * - * Generated from protobuf enum PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES = 7; - */ - const PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN => 'CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN', - self::CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER => 'CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER', - self::CAMPAIGN_CANNOT_USE_UNIFIED_GOALS => 'CAMPAIGN_CANNOT_USE_UNIFIED_GOALS', - self::EMPTY_CONVERSION_GOALS => 'EMPTY_CONVERSION_GOALS', - self::STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED => 'STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED', - self::PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES => 'PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionGoalCampaignConfigError::class, \Google\Ads\GoogleAds\V15\Errors\ConversionGoalCampaignConfigErrorEnum_ConversionGoalCampaignConfigError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionUploadErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionUploadErrorEnum.php deleted file mode 100644 index 696a3d276..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionUploadErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ConversionUploadErrorEnum - */ -class ConversionUploadErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ConversionUploadError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionUploadErrorEnum/ConversionUploadError.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionUploadErrorEnum/ConversionUploadError.php deleted file mode 100644 index e4b250f6b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionUploadErrorEnum/ConversionUploadError.php +++ /dev/null @@ -1,423 +0,0 @@ -google.ads.googleads.v15.errors.ConversionUploadErrorEnum.ConversionUploadError - */ -class ConversionUploadError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Upload fewer than 2001 events in a single request. - * - * Generated from protobuf enum TOO_MANY_CONVERSIONS_IN_REQUEST = 2; - */ - const TOO_MANY_CONVERSIONS_IN_REQUEST = 2; - /** - * The imported gclid could not be decoded. Make sure you have not modified - * the click IDs. - * - * Generated from protobuf enum UNPARSEABLE_GCLID = 3; - */ - const UNPARSEABLE_GCLID = 3; - /** - * The imported event has a `conversion_date_time` that precedes the click. - * Make sure your `conversion_date_time` is correct and try again. - * - * Generated from protobuf enum CONVERSION_PRECEDES_EVENT = 42; - */ - const CONVERSION_PRECEDES_EVENT = 42; - /** - * The imported event can't be recorded because its click occurred before - * this conversion's click-through window. Make sure you import the most - * recent data. - * - * Generated from protobuf enum EXPIRED_EVENT = 43; - */ - const EXPIRED_EVENT = 43; - /** - * The click associated with the given identifier or iOS URL parameter - * occurred less than 6 hours ago. Retry after 6 hours have passed. - * - * Generated from protobuf enum TOO_RECENT_EVENT = 44; - */ - const TOO_RECENT_EVENT = 44; - /** - * The imported event could not be attributed to a click. This may be - * because the event did not come from a Google Ads campaign. - * - * Generated from protobuf enum EVENT_NOT_FOUND = 45; - */ - const EVENT_NOT_FOUND = 45; - /** - * The click ID or call is associated with an Ads account you don't have - * access to. Make sure you import conversions for accounts managed by your - * manager account. - * - * Generated from protobuf enum UNAUTHORIZED_CUSTOMER = 8; - */ - const UNAUTHORIZED_CUSTOMER = 8; - /** - * Can't import events to a conversion action that was just created. Try - * importing again in 6 hours. - * - * Generated from protobuf enum TOO_RECENT_CONVERSION_ACTION = 10; - */ - const TOO_RECENT_CONVERSION_ACTION = 10; - /** - * At the time of the click, conversion tracking was not enabled in the - * effective conversion account of the click's Google Ads account. - * - * Generated from protobuf enum CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME = 11; - */ - const CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME = 11; - /** - * The imported event includes external attribution data, but the conversion - * action isn't set up to use an external attribution model. Make sure the - * conversion action is correctly configured and try again. - * - * Generated from protobuf enum EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 12; - */ - const EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 12; - /** - * The conversion action is set up to use an external attribution model, but - * the imported event is missing data. Make sure imported events include the - * external attribution credit and all necessary fields. - * - * Generated from protobuf enum EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 13; - */ - const EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 13; - /** - * Order IDs can't be used for a conversion measured with an external - * attribution model. Make sure the conversion is correctly configured and - * imported events include only necessary data and try again. - * - * Generated from protobuf enum ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 14; - */ - const ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 14; - /** - * The imported event includes an order ID that was previously recorded, so - * the event was not processed. - * - * Generated from protobuf enum ORDER_ID_ALREADY_IN_USE = 15; - */ - const ORDER_ID_ALREADY_IN_USE = 15; - /** - * Imported events include multiple conversions with the same order ID and - * were not processed. Make sure order IDs are unique and try again. - * - * Generated from protobuf enum DUPLICATE_ORDER_ID = 16; - */ - const DUPLICATE_ORDER_ID = 16; - /** - * Can't import calls that occurred less than 6 hours ago. Try uploading - * again in 6 hours. - * - * Generated from protobuf enum TOO_RECENT_CALL = 17; - */ - const TOO_RECENT_CALL = 17; - /** - * The call can't be recorded because it occurred before this conversion - * action's lookback window. Make sure your import is configured to get the - * most recent data. - * - * Generated from protobuf enum EXPIRED_CALL = 18; - */ - const EXPIRED_CALL = 18; - /** - * The call or click leading to the imported event can't be found. Make sure - * your data source is set up to include correct identifiers. - * - * Generated from protobuf enum CALL_NOT_FOUND = 19; - */ - const CALL_NOT_FOUND = 19; - /** - * The call has a `conversion_date_time` that precedes the associated click. - * Make sure your `conversion_date_time` is correct. - * - * Generated from protobuf enum CONVERSION_PRECEDES_CALL = 20; - */ - const CONVERSION_PRECEDES_CALL = 20; - /** - * At the time of the imported call, conversion tracking was not enabled in - * the effective conversion account of the click's Google Ads account. - * - * Generated from protobuf enum CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME = 21; - */ - const CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME = 21; - /** - * Make sure phone numbers are formatted as E.164 (+16502531234), - * International (+64 3-331 6005), or US national number (6502531234). - * - * Generated from protobuf enum UNPARSEABLE_CALLERS_PHONE_NUMBER = 22; - */ - const UNPARSEABLE_CALLERS_PHONE_NUMBER = 22; - /** - * The imported event has the same click and `conversion_date_time` as an - * existing conversion. Use a unique `conversion_date_time` or order ID for - * each unique event and try again. - * - * Generated from protobuf enum CLICK_CONVERSION_ALREADY_EXISTS = 23; - */ - const CLICK_CONVERSION_ALREADY_EXISTS = 23; - /** - * The imported call has the same `conversion_date_time` as an existing - * conversion. Make sure your `conversion_date_time` correctly configured - * and try again. - * - * Generated from protobuf enum CALL_CONVERSION_ALREADY_EXISTS = 24; - */ - const CALL_CONVERSION_ALREADY_EXISTS = 24; - /** - * Multiple events have the same click and `conversion_date_time`. Make sure - * your `conversion_date_time` is correctly configured and try again. - * - * Generated from protobuf enum DUPLICATE_CLICK_CONVERSION_IN_REQUEST = 25; - */ - const DUPLICATE_CLICK_CONVERSION_IN_REQUEST = 25; - /** - * Multiple events have the same call and `conversion_date_time`. Make sure - * your `conversion_date_time` is correctly configured and try again. - * - * Generated from protobuf enum DUPLICATE_CALL_CONVERSION_IN_REQUEST = 26; - */ - const DUPLICATE_CALL_CONVERSION_IN_REQUEST = 26; - /** - * Enable the custom variable in your conversion settings and try again. - * - * Generated from protobuf enum CUSTOM_VARIABLE_NOT_ENABLED = 28; - */ - const CUSTOM_VARIABLE_NOT_ENABLED = 28; - /** - * Can't import events with custom variables containing - * personally-identifiable information (PII). Remove these variables and try - * again. - * - * Generated from protobuf enum CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 29; - */ - const CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 29; - /** - * The click from the imported event is associated with a different Google - * Ads account. Make sure you're importing to the correct account. - * - * Generated from protobuf enum INVALID_CUSTOMER_FOR_CLICK = 30; - */ - const INVALID_CUSTOMER_FOR_CLICK = 30; - /** - * The click from the call is associated with a different Google Ads - * account. Make sure you're importing to the correct account. Query - * conversion_tracking_setting.google_ads_conversion_customer on Customer to - * identify the correct account. - * - * Generated from protobuf enum INVALID_CUSTOMER_FOR_CALL = 31; - */ - const INVALID_CUSTOMER_FOR_CALL = 31; - /** - * The connversion can't be imported because the conversion source didn't - * comply with Apple App Transparency Tracking (ATT) policies or because the - * customer didn't consent to tracking. - * - * Generated from protobuf enum CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY = 32; - */ - const CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY = 32; - /** - * The email address or phone number for this event can't be matched to a - * click. This may be because it didn't come from a Google Ads campaign, and - * you can safely ignore this warning. If this includes more imported events - * than is expected, you may need to check your setup. - * - * Generated from protobuf enum CLICK_NOT_FOUND = 33; - */ - const CLICK_NOT_FOUND = 33; - /** - * Make sure you hash user provided data using SHA-256 and ensure you are - * normalizing according to the guidelines. - * - * Generated from protobuf enum INVALID_USER_IDENTIFIER = 34; - */ - const INVALID_USER_IDENTIFIER = 34; - /** - * User provided data can't be used with external attribution models. Use a - * different attribution model or omit user identifiers and try again. - * - * Generated from protobuf enum EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER = 35; - */ - const EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER = 35; - /** - * The provided user identifiers are not supported. Use only hashed email - * or phone number and try again. - * - * Generated from protobuf enum UNSUPPORTED_USER_IDENTIFIER = 36; - */ - const UNSUPPORTED_USER_IDENTIFIER = 36; - /** - * Can't use both gbraid and wbraid parameters. Use only 1 and try again. - * - * Generated from protobuf enum GBRAID_WBRAID_BOTH_SET = 38; - */ - const GBRAID_WBRAID_BOTH_SET = 38; - /** - * Can't parse event import data. Check if your wbraid parameter was - * not modified and try again. - * - * Generated from protobuf enum UNPARSEABLE_WBRAID = 39; - */ - const UNPARSEABLE_WBRAID = 39; - /** - * Can't parse event import data. Check if your gbraid parameter was - * not modified and try again. - * - * Generated from protobuf enum UNPARSEABLE_GBRAID = 40; - */ - const UNPARSEABLE_GBRAID = 40; - /** - * Conversion actions that use one-per-click counting can't be used with - * gbraid or wbraid parameters. - * - * Generated from protobuf enum ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID = 46; - */ - const ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID = 46; - /** - * Enhanced conversions can't be used for this account because of Google - * customer data policies. Contact your Google representative. - * - * Generated from protobuf enum CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS = 47; - */ - const CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS = 47; - /** - * Make sure you agree to the customer data processing terms in conversion - * settings and try again. You can check your setting by querying - * conversion_tracking_setting.accepted_customer_data_terms on Customer. - * - * Generated from protobuf enum CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 48; - */ - const CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 48; - /** - * Can't import events with order IDs containing personally-identifiable - * information (PII). - * - * Generated from protobuf enum ORDER_ID_CONTAINS_PII = 49; - */ - const ORDER_ID_CONTAINS_PII = 49; - /** - * Make sure you've turned on enhanced conversions for leads in conversion - * settings and try again. You can check your setting by querying - * conversion_tracking_setting.enhanced_conversions_for_leads_enabled on - * Customer. - * - * Generated from protobuf enum CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS = 50; - */ - const CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS = 50; - /** - * The provided job id in the request is not within the allowed range. A job - * ID must be a positive integer in the range [1, 2^31). - * - * Generated from protobuf enum INVALID_JOB_ID = 52; - */ - const INVALID_JOB_ID = 52; - /** - * The conversion action specified in the upload request cannot be found. - * Make sure it's available in this account. - * - * Generated from protobuf enum NO_CONVERSION_ACTION_FOUND = 53; - */ - const NO_CONVERSION_ACTION_FOUND = 53; - /** - * The conversion action specified in the upload request isn't set up for - * uploading conversions. - * - * Generated from protobuf enum INVALID_CONVERSION_ACTION_TYPE = 54; - */ - const INVALID_CONVERSION_ACTION_TYPE = 54; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TOO_MANY_CONVERSIONS_IN_REQUEST => 'TOO_MANY_CONVERSIONS_IN_REQUEST', - self::UNPARSEABLE_GCLID => 'UNPARSEABLE_GCLID', - self::CONVERSION_PRECEDES_EVENT => 'CONVERSION_PRECEDES_EVENT', - self::EXPIRED_EVENT => 'EXPIRED_EVENT', - self::TOO_RECENT_EVENT => 'TOO_RECENT_EVENT', - self::EVENT_NOT_FOUND => 'EVENT_NOT_FOUND', - self::UNAUTHORIZED_CUSTOMER => 'UNAUTHORIZED_CUSTOMER', - self::TOO_RECENT_CONVERSION_ACTION => 'TOO_RECENT_CONVERSION_ACTION', - self::CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME => 'CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME', - self::EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION => 'EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', - self::EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION => 'EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', - self::ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION => 'ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION', - self::ORDER_ID_ALREADY_IN_USE => 'ORDER_ID_ALREADY_IN_USE', - self::DUPLICATE_ORDER_ID => 'DUPLICATE_ORDER_ID', - self::TOO_RECENT_CALL => 'TOO_RECENT_CALL', - self::EXPIRED_CALL => 'EXPIRED_CALL', - self::CALL_NOT_FOUND => 'CALL_NOT_FOUND', - self::CONVERSION_PRECEDES_CALL => 'CONVERSION_PRECEDES_CALL', - self::CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME => 'CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME', - self::UNPARSEABLE_CALLERS_PHONE_NUMBER => 'UNPARSEABLE_CALLERS_PHONE_NUMBER', - self::CLICK_CONVERSION_ALREADY_EXISTS => 'CLICK_CONVERSION_ALREADY_EXISTS', - self::CALL_CONVERSION_ALREADY_EXISTS => 'CALL_CONVERSION_ALREADY_EXISTS', - self::DUPLICATE_CLICK_CONVERSION_IN_REQUEST => 'DUPLICATE_CLICK_CONVERSION_IN_REQUEST', - self::DUPLICATE_CALL_CONVERSION_IN_REQUEST => 'DUPLICATE_CALL_CONVERSION_IN_REQUEST', - self::CUSTOM_VARIABLE_NOT_ENABLED => 'CUSTOM_VARIABLE_NOT_ENABLED', - self::CUSTOM_VARIABLE_VALUE_CONTAINS_PII => 'CUSTOM_VARIABLE_VALUE_CONTAINS_PII', - self::INVALID_CUSTOMER_FOR_CLICK => 'INVALID_CUSTOMER_FOR_CLICK', - self::INVALID_CUSTOMER_FOR_CALL => 'INVALID_CUSTOMER_FOR_CALL', - self::CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY => 'CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY', - self::CLICK_NOT_FOUND => 'CLICK_NOT_FOUND', - self::INVALID_USER_IDENTIFIER => 'INVALID_USER_IDENTIFIER', - self::EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER => 'EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER', - self::UNSUPPORTED_USER_IDENTIFIER => 'UNSUPPORTED_USER_IDENTIFIER', - self::GBRAID_WBRAID_BOTH_SET => 'GBRAID_WBRAID_BOTH_SET', - self::UNPARSEABLE_WBRAID => 'UNPARSEABLE_WBRAID', - self::UNPARSEABLE_GBRAID => 'UNPARSEABLE_GBRAID', - self::ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID => 'ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID', - self::CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS => 'CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS', - self::CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS => 'CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS', - self::ORDER_ID_CONTAINS_PII => 'ORDER_ID_CONTAINS_PII', - self::CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS => 'CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS', - self::INVALID_JOB_ID => 'INVALID_JOB_ID', - self::NO_CONVERSION_ACTION_FOUND => 'NO_CONVERSION_ACTION_FOUND', - self::INVALID_CONVERSION_ACTION_TYPE => 'INVALID_CONVERSION_ACTION_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionUploadError::class, \Google\Ads\GoogleAds\V15\Errors\ConversionUploadErrorEnum_ConversionUploadError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleErrorEnum.php deleted file mode 100644 index c3defc859..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ConversionValueRuleErrorEnum - */ -class ConversionValueRuleErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ConversionValueRuleError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleErrorEnum/ConversionValueRuleError.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleErrorEnum/ConversionValueRuleError.php deleted file mode 100644 index 91a77b9f8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleErrorEnum/ConversionValueRuleError.php +++ /dev/null @@ -1,153 +0,0 @@ -google.ads.googleads.v15.errors.ConversionValueRuleErrorEnum.ConversionValueRuleError - */ -class ConversionValueRuleError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The value rule's geo location condition contains invalid geo target - * constant(s), for example, there's no matching geo target. - * - * Generated from protobuf enum INVALID_GEO_TARGET_CONSTANT = 2; - */ - const INVALID_GEO_TARGET_CONSTANT = 2; - /** - * The value rule's geo location condition contains conflicting included and - * excluded geo targets. Specifically, some of the excluded geo target(s) - * are the same as or contain some of the included geo target(s). For - * example, the geo location condition includes California but excludes U.S. - * - * Generated from protobuf enum CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET = 3; - */ - const CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET = 3; - /** - * User specified conflicting conditions for two value rules in the same - * value rule set. - * - * Generated from protobuf enum CONFLICTING_CONDITIONS = 4; - */ - const CONFLICTING_CONDITIONS = 4; - /** - * The value rule cannot be removed because it's still included in some - * value rule set. - * - * Generated from protobuf enum CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET = 5; - */ - const CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET = 5; - /** - * The value rule contains a condition that's not allowed by the value rule - * set including this value rule. - * - * Generated from protobuf enum CONDITION_NOT_ALLOWED = 6; - */ - const CONDITION_NOT_ALLOWED = 6; - /** - * The value rule contains a field that should be unset. - * - * Generated from protobuf enum FIELD_MUST_BE_UNSET = 7; - */ - const FIELD_MUST_BE_UNSET = 7; - /** - * Pausing the value rule requires pausing the value rule set because the - * value rule is (one of) the last enabled in the value rule set. - * - * Generated from protobuf enum CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED = 8; - */ - const CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED = 8; - /** - * The value rule's geo location condition contains untargetable geo target - * constant(s). - * - * Generated from protobuf enum UNTARGETABLE_GEO_TARGET = 9; - */ - const UNTARGETABLE_GEO_TARGET = 9; - /** - * The value rule's audience condition contains invalid user list(s). In - * another word, there's no matching user list. - * - * Generated from protobuf enum INVALID_AUDIENCE_USER_LIST = 10; - */ - const INVALID_AUDIENCE_USER_LIST = 10; - /** - * The value rule's audience condition contains inaccessible user list(s). - * - * Generated from protobuf enum INACCESSIBLE_USER_LIST = 11; - */ - const INACCESSIBLE_USER_LIST = 11; - /** - * The value rule's audience condition contains invalid user_interest(s). - * This might be because there is no matching user interest, or the user - * interest is not visible. - * - * Generated from protobuf enum INVALID_AUDIENCE_USER_INTEREST = 12; - */ - const INVALID_AUDIENCE_USER_INTEREST = 12; - /** - * When a value rule is created, it shouldn't have REMOVED status. - * - * Generated from protobuf enum CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13; - */ - const CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_GEO_TARGET_CONSTANT => 'INVALID_GEO_TARGET_CONSTANT', - self::CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET => 'CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET', - self::CONFLICTING_CONDITIONS => 'CONFLICTING_CONDITIONS', - self::CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET => 'CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET', - self::CONDITION_NOT_ALLOWED => 'CONDITION_NOT_ALLOWED', - self::FIELD_MUST_BE_UNSET => 'FIELD_MUST_BE_UNSET', - self::CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED => 'CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED', - self::UNTARGETABLE_GEO_TARGET => 'UNTARGETABLE_GEO_TARGET', - self::INVALID_AUDIENCE_USER_LIST => 'INVALID_AUDIENCE_USER_LIST', - self::INACCESSIBLE_USER_LIST => 'INACCESSIBLE_USER_LIST', - self::INVALID_AUDIENCE_USER_INTEREST => 'INVALID_AUDIENCE_USER_INTEREST', - self::CANNOT_ADD_RULE_WITH_STATUS_REMOVED => 'CANNOT_ADD_RULE_WITH_STATUS_REMOVED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionValueRuleError::class, \Google\Ads\GoogleAds\V15\Errors\ConversionValueRuleErrorEnum_ConversionValueRuleError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetErrorEnum.php deleted file mode 100644 index f8f7aa296..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ConversionValueRuleSetErrorEnum - */ -class ConversionValueRuleSetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ConversionValueRuleSetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetErrorEnum/ConversionValueRuleSetError.php b/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetErrorEnum/ConversionValueRuleSetError.php deleted file mode 100644 index 2182013df..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionValueRuleSetErrorEnum/ConversionValueRuleSetError.php +++ /dev/null @@ -1,167 +0,0 @@ -google.ads.googleads.v15.errors.ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError - */ -class ConversionValueRuleSetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Two value rules in this value rule set contain conflicting conditions. - * - * Generated from protobuf enum CONFLICTING_VALUE_RULE_CONDITIONS = 2; - */ - const CONFLICTING_VALUE_RULE_CONDITIONS = 2; - /** - * This value rule set includes a value rule that cannot be found, has been - * permanently removed or belongs to a different customer. - * - * Generated from protobuf enum INVALID_VALUE_RULE = 3; - */ - const INVALID_VALUE_RULE = 3; - /** - * An error that's thrown when a mutate operation is trying to - * replace/remove some existing elements in the dimensions field. In other - * words, ADD op is always fine and UPDATE op is fine if it's only appending - * new elements into dimensions list. - * - * Generated from protobuf enum DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND = 4; - */ - const DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND = 4; - /** - * An error that's thrown when a mutate is adding new value rule(s) into a - * value rule set and the added value rule(s) include conditions that are - * not specified in the dimensions of the value rule set. - * - * Generated from protobuf enum CONDITION_TYPE_NOT_ALLOWED = 5; - */ - const CONDITION_TYPE_NOT_ALLOWED = 5; - /** - * The dimensions field contains duplicate elements. - * - * Generated from protobuf enum DUPLICATE_DIMENSIONS = 6; - */ - const DUPLICATE_DIMENSIONS = 6; - /** - * This value rule set is attached to an invalid campaign id. Either a - * campaign with this campaign id doesn't exist or it belongs to a different - * customer. - * - * Generated from protobuf enum INVALID_CAMPAIGN_ID = 7; - */ - const INVALID_CAMPAIGN_ID = 7; - /** - * When a mutate request tries to pause a value rule set, the enabled - * value rules in this set must be paused in the same command, or this error - * will be thrown. - * - * Generated from protobuf enum CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED = 8; - */ - const CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED = 8; - /** - * When a mutate request tries to pause all the value rules in a value rule - * set, the value rule set must be paused, or this error will be thrown. - * - * Generated from protobuf enum SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED = 9; - */ - const SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED = 9; - /** - * This value rule set is attached to a campaign that does not support value - * rules. Currently, campaign level value rule sets can only be created on - * Search, or Display campaigns. - * - * Generated from protobuf enum VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 10; - */ - const VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 10; - /** - * To add a value rule set that applies on Store Visits/Store Sales - * conversion action categories, the customer must have valid Store Visits/ - * Store Sales conversion actions. - * - * Generated from protobuf enum INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11; - */ - const INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11; - /** - * If NO_CONDITION is used as a dimension of a value rule set, it must be - * the only dimension. - * - * Generated from protobuf enum DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS = 12; - */ - const DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS = 12; - /** - * Dimension NO_CONDITION can only be used by Store Visits/Store Sales value - * rule set. - * - * Generated from protobuf enum DIMENSION_NO_CONDITION_NOT_ALLOWED = 13; - */ - const DIMENSION_NO_CONDITION_NOT_ALLOWED = 13; - /** - * Value rule sets defined on the specified conversion action categories are - * not supported. The list of conversion action categories must be an empty - * list, only STORE_VISIT, or only STORE_SALE. - * - * Generated from protobuf enum UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14; - */ - const UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CONFLICTING_VALUE_RULE_CONDITIONS => 'CONFLICTING_VALUE_RULE_CONDITIONS', - self::INVALID_VALUE_RULE => 'INVALID_VALUE_RULE', - self::DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND => 'DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND', - self::CONDITION_TYPE_NOT_ALLOWED => 'CONDITION_TYPE_NOT_ALLOWED', - self::DUPLICATE_DIMENSIONS => 'DUPLICATE_DIMENSIONS', - self::INVALID_CAMPAIGN_ID => 'INVALID_CAMPAIGN_ID', - self::CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED => 'CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED', - self::SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED => 'SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED', - self::VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE => 'VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE', - self::INELIGIBLE_CONVERSION_ACTION_CATEGORIES => 'INELIGIBLE_CONVERSION_ACTION_CATEGORIES', - self::DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS => 'DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS', - self::DIMENSION_NO_CONDITION_NOT_ALLOWED => 'DIMENSION_NO_CONDITION_NOT_ALLOWED', - self::UNSUPPORTED_CONVERSION_ACTION_CATEGORIES => 'UNSUPPORTED_CONVERSION_ACTION_CATEGORIES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionValueRuleSetError::class, \Google\Ads\GoogleAds\V15\Errors\ConversionValueRuleSetErrorEnum_ConversionValueRuleSetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CountryCodeErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CountryCodeErrorEnum.php deleted file mode 100644 index ad2a29f0b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CountryCodeErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CountryCodeErrorEnum - */ -class CountryCodeErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CountryCodeError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CountryCodeErrorEnum/CountryCodeError.php b/src/Google/Ads/GoogleAds/V15/Errors/CountryCodeErrorEnum/CountryCodeError.php deleted file mode 100644 index 8e116b421..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CountryCodeErrorEnum/CountryCodeError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.CountryCodeErrorEnum.CountryCodeError - */ -class CountryCodeError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The country code is invalid. - * - * Generated from protobuf enum INVALID_COUNTRY_CODE = 2; - */ - const INVALID_COUNTRY_CODE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_COUNTRY_CODE => 'INVALID_COUNTRY_CODE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CountryCodeError::class, \Google\Ads\GoogleAds\V15\Errors\CountryCodeErrorEnum_CountryCodeError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CriterionErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CriterionErrorEnum.php deleted file mode 100644 index 5ec18b921..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CriterionErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CriterionErrorEnum - */ -class CriterionErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CriterionError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CriterionErrorEnum/CriterionError.php b/src/Google/Ads/GoogleAds/V15/Errors/CriterionErrorEnum/CriterionError.php deleted file mode 100644 index 6d30a773e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CriterionErrorEnum/CriterionError.php +++ /dev/null @@ -1,1137 +0,0 @@ -google.ads.googleads.v15.errors.CriterionErrorEnum.CriterionError - */ -class CriterionError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Concrete type of criterion is required for CREATE and UPDATE operations. - * - * Generated from protobuf enum CONCRETE_TYPE_REQUIRED = 2; - */ - const CONCRETE_TYPE_REQUIRED = 2; - /** - * The category requested for exclusion is invalid. - * - * Generated from protobuf enum INVALID_EXCLUDED_CATEGORY = 3; - */ - const INVALID_EXCLUDED_CATEGORY = 3; - /** - * Invalid keyword criteria text. - * - * Generated from protobuf enum INVALID_KEYWORD_TEXT = 4; - */ - const INVALID_KEYWORD_TEXT = 4; - /** - * Keyword text should be less than 80 chars. - * - * Generated from protobuf enum KEYWORD_TEXT_TOO_LONG = 5; - */ - const KEYWORD_TEXT_TOO_LONG = 5; - /** - * Keyword text has too many words. - * - * Generated from protobuf enum KEYWORD_HAS_TOO_MANY_WORDS = 6; - */ - const KEYWORD_HAS_TOO_MANY_WORDS = 6; - /** - * Keyword text has invalid characters or symbols. - * - * Generated from protobuf enum KEYWORD_HAS_INVALID_CHARS = 7; - */ - const KEYWORD_HAS_INVALID_CHARS = 7; - /** - * Invalid placement URL. - * - * Generated from protobuf enum INVALID_PLACEMENT_URL = 8; - */ - const INVALID_PLACEMENT_URL = 8; - /** - * Invalid user list criterion. - * - * Generated from protobuf enum INVALID_USER_LIST = 9; - */ - const INVALID_USER_LIST = 9; - /** - * Invalid user interest criterion. - * - * Generated from protobuf enum INVALID_USER_INTEREST = 10; - */ - const INVALID_USER_INTEREST = 10; - /** - * Placement URL has wrong format. - * - * Generated from protobuf enum INVALID_FORMAT_FOR_PLACEMENT_URL = 11; - */ - const INVALID_FORMAT_FOR_PLACEMENT_URL = 11; - /** - * Placement URL is too long. - * - * Generated from protobuf enum PLACEMENT_URL_IS_TOO_LONG = 12; - */ - const PLACEMENT_URL_IS_TOO_LONG = 12; - /** - * Indicates the URL contains an illegal character. - * - * Generated from protobuf enum PLACEMENT_URL_HAS_ILLEGAL_CHAR = 13; - */ - const PLACEMENT_URL_HAS_ILLEGAL_CHAR = 13; - /** - * Indicates the URL contains multiple comma separated URLs. - * - * Generated from protobuf enum PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE = 14; - */ - const PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE = 14; - /** - * Indicates the domain is blocked. - * - * Generated from protobuf enum PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION = 15; - */ - const PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION = 15; - /** - * Invalid topic path. - * - * Generated from protobuf enum INVALID_TOPIC_PATH = 16; - */ - const INVALID_TOPIC_PATH = 16; - /** - * The YouTube Channel Id is invalid. - * - * Generated from protobuf enum INVALID_YOUTUBE_CHANNEL_ID = 17; - */ - const INVALID_YOUTUBE_CHANNEL_ID = 17; - /** - * The YouTube Video Id is invalid. - * - * Generated from protobuf enum INVALID_YOUTUBE_VIDEO_ID = 18; - */ - const INVALID_YOUTUBE_VIDEO_ID = 18; - /** - * Indicates the placement is a YouTube vertical channel, which is no longer - * supported. - * - * Generated from protobuf enum YOUTUBE_VERTICAL_CHANNEL_DEPRECATED = 19; - */ - const YOUTUBE_VERTICAL_CHANNEL_DEPRECATED = 19; - /** - * Indicates the placement is a YouTube demographic channel, which is no - * longer supported. - * - * Generated from protobuf enum YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED = 20; - */ - const YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED = 20; - /** - * YouTube urls are not supported in Placement criterion. Use YouTubeChannel - * and YouTubeVideo criterion instead. - * - * Generated from protobuf enum YOUTUBE_URL_UNSUPPORTED = 21; - */ - const YOUTUBE_URL_UNSUPPORTED = 21; - /** - * Criteria type can not be excluded by the customer, like AOL account type - * cannot target site type criteria. - * - * Generated from protobuf enum CANNOT_EXCLUDE_CRITERIA_TYPE = 22; - */ - const CANNOT_EXCLUDE_CRITERIA_TYPE = 22; - /** - * Criteria type can not be targeted. - * - * Generated from protobuf enum CANNOT_ADD_CRITERIA_TYPE = 23; - */ - const CANNOT_ADD_CRITERIA_TYPE = 23; - /** - * Not allowed to exclude similar user list. - * - * Generated from protobuf enum CANNOT_EXCLUDE_SIMILAR_USER_LIST = 26; - */ - const CANNOT_EXCLUDE_SIMILAR_USER_LIST = 26; - /** - * Not allowed to target a closed user list. - * - * Generated from protobuf enum CANNOT_ADD_CLOSED_USER_LIST = 27; - */ - const CANNOT_ADD_CLOSED_USER_LIST = 27; - /** - * Not allowed to add display only UserLists to search only campaigns. - * - * Generated from protobuf enum CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 28; - */ - const CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 28; - /** - * Not allowed to add display only UserLists to search plus campaigns. - * - * Generated from protobuf enum CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS = 29; - */ - const CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS = 29; - /** - * Not allowed to add display only UserLists to shopping campaigns. - * - * Generated from protobuf enum CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS = 30; - */ - const CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS = 30; - /** - * Not allowed to add User interests to search only campaigns. - * - * Generated from protobuf enum CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS = 31; - */ - const CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS = 31; - /** - * Not allowed to set bids for this criterion type in search campaigns - * - * Generated from protobuf enum CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS = 32; - */ - const CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS = 32; - /** - * Final URLs, URL Templates and CustomParameters cannot be set for the - * criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and - * MobileAppCategory in search campaigns and shopping campaigns. - * - * Generated from protobuf enum CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE = 33; - */ - const CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE = 33; - /** - * Invalid combined audience criterion. - * - * Generated from protobuf enum INVALID_COMBINED_AUDIENCE = 122; - */ - const INVALID_COMBINED_AUDIENCE = 122; - /** - * Invalid custom affinity criterion. - * - * Generated from protobuf enum INVALID_CUSTOM_AFFINITY = 96; - */ - const INVALID_CUSTOM_AFFINITY = 96; - /** - * Invalid custom intent criterion. - * - * Generated from protobuf enum INVALID_CUSTOM_INTENT = 97; - */ - const INVALID_CUSTOM_INTENT = 97; - /** - * Invalid custom audience criterion. - * - * Generated from protobuf enum INVALID_CUSTOM_AUDIENCE = 121; - */ - const INVALID_CUSTOM_AUDIENCE = 121; - /** - * IP address is not valid. - * - * Generated from protobuf enum INVALID_IP_ADDRESS = 34; - */ - const INVALID_IP_ADDRESS = 34; - /** - * IP format is not valid. - * - * Generated from protobuf enum INVALID_IP_FORMAT = 35; - */ - const INVALID_IP_FORMAT = 35; - /** - * Mobile application is not valid. - * - * Generated from protobuf enum INVALID_MOBILE_APP = 36; - */ - const INVALID_MOBILE_APP = 36; - /** - * Mobile application category is not valid. - * - * Generated from protobuf enum INVALID_MOBILE_APP_CATEGORY = 37; - */ - const INVALID_MOBILE_APP_CATEGORY = 37; - /** - * The CriterionId does not exist or is of the incorrect type. - * - * Generated from protobuf enum INVALID_CRITERION_ID = 38; - */ - const INVALID_CRITERION_ID = 38; - /** - * The Criterion is not allowed to be targeted. - * - * Generated from protobuf enum CANNOT_TARGET_CRITERION = 39; - */ - const CANNOT_TARGET_CRITERION = 39; - /** - * The criterion is not allowed to be targeted as it is deprecated. - * - * Generated from protobuf enum CANNOT_TARGET_OBSOLETE_CRITERION = 40; - */ - const CANNOT_TARGET_OBSOLETE_CRITERION = 40; - /** - * The CriterionId is not valid for the type. - * - * Generated from protobuf enum CRITERION_ID_AND_TYPE_MISMATCH = 41; - */ - const CRITERION_ID_AND_TYPE_MISMATCH = 41; - /** - * Distance for the radius for the proximity criterion is invalid. - * - * Generated from protobuf enum INVALID_PROXIMITY_RADIUS = 42; - */ - const INVALID_PROXIMITY_RADIUS = 42; - /** - * Units for the distance for the radius for the proximity criterion is - * invalid. - * - * Generated from protobuf enum INVALID_PROXIMITY_RADIUS_UNITS = 43; - */ - const INVALID_PROXIMITY_RADIUS_UNITS = 43; - /** - * Street address in the address is not valid. - * - * Generated from protobuf enum INVALID_STREETADDRESS_LENGTH = 44; - */ - const INVALID_STREETADDRESS_LENGTH = 44; - /** - * City name in the address is not valid. - * - * Generated from protobuf enum INVALID_CITYNAME_LENGTH = 45; - */ - const INVALID_CITYNAME_LENGTH = 45; - /** - * Region code in the address is not valid. - * - * Generated from protobuf enum INVALID_REGIONCODE_LENGTH = 46; - */ - const INVALID_REGIONCODE_LENGTH = 46; - /** - * Region name in the address is not valid. - * - * Generated from protobuf enum INVALID_REGIONNAME_LENGTH = 47; - */ - const INVALID_REGIONNAME_LENGTH = 47; - /** - * Postal code in the address is not valid. - * - * Generated from protobuf enum INVALID_POSTALCODE_LENGTH = 48; - */ - const INVALID_POSTALCODE_LENGTH = 48; - /** - * Country code in the address is not valid. - * - * Generated from protobuf enum INVALID_COUNTRY_CODE = 49; - */ - const INVALID_COUNTRY_CODE = 49; - /** - * Latitude for the GeoPoint is not valid. - * - * Generated from protobuf enum INVALID_LATITUDE = 50; - */ - const INVALID_LATITUDE = 50; - /** - * Longitude for the GeoPoint is not valid. - * - * Generated from protobuf enum INVALID_LONGITUDE = 51; - */ - const INVALID_LONGITUDE = 51; - /** - * The Proximity input is not valid. Both address and geoPoint cannot be - * null. - * - * Generated from protobuf enum PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL = 52; - */ - const PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL = 52; - /** - * The Proximity address cannot be geocoded to a valid lat/long. - * - * Generated from protobuf enum INVALID_PROXIMITY_ADDRESS = 53; - */ - const INVALID_PROXIMITY_ADDRESS = 53; - /** - * User domain name is not valid. - * - * Generated from protobuf enum INVALID_USER_DOMAIN_NAME = 54; - */ - const INVALID_USER_DOMAIN_NAME = 54; - /** - * Length of serialized criterion parameter exceeded size limit. - * - * Generated from protobuf enum CRITERION_PARAMETER_TOO_LONG = 55; - */ - const CRITERION_PARAMETER_TOO_LONG = 55; - /** - * Time interval in the AdSchedule overlaps with another AdSchedule. - * - * Generated from protobuf enum AD_SCHEDULE_TIME_INTERVALS_OVERLAP = 56; - */ - const AD_SCHEDULE_TIME_INTERVALS_OVERLAP = 56; - /** - * AdSchedule time interval cannot span multiple days. - * - * Generated from protobuf enum AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = 57; - */ - const AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = 57; - /** - * AdSchedule time interval specified is invalid, endTime cannot be earlier - * than startTime. - * - * Generated from protobuf enum AD_SCHEDULE_INVALID_TIME_INTERVAL = 58; - */ - const AD_SCHEDULE_INVALID_TIME_INTERVAL = 58; - /** - * The number of AdSchedule entries in a day exceeds the limit. - * - * Generated from protobuf enum AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = 59; - */ - const AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = 59; - /** - * CriteriaId does not match the interval of the AdSchedule specified. - * - * Generated from protobuf enum AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS = 60; - */ - const AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS = 60; - /** - * Cannot set bid modifier for this criterion type. - * - * Generated from protobuf enum CANNOT_BID_MODIFY_CRITERION_TYPE = 61; - */ - const CANNOT_BID_MODIFY_CRITERION_TYPE = 61; - /** - * Cannot bid modify criterion, since it is opted out of the campaign. - * - * Generated from protobuf enum CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT = 62; - */ - const CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT = 62; - /** - * Cannot set bid modifier for a negative criterion. - * - * Generated from protobuf enum CANNOT_BID_MODIFY_NEGATIVE_CRITERION = 63; - */ - const CANNOT_BID_MODIFY_NEGATIVE_CRITERION = 63; - /** - * Bid Modifier already exists. Use SET operation to update. - * - * Generated from protobuf enum BID_MODIFIER_ALREADY_EXISTS = 64; - */ - const BID_MODIFIER_ALREADY_EXISTS = 64; - /** - * Feed Id is not allowed in these Location Groups. - * - * Generated from protobuf enum FEED_ID_NOT_ALLOWED = 65; - */ - const FEED_ID_NOT_ALLOWED = 65; - /** - * The account may not use the requested criteria type. For example, some - * accounts are restricted to keywords only. - * - * Generated from protobuf enum ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE = 66; - */ - const ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE = 66; - /** - * The requested criteria type cannot be used with campaign or ad group - * bidding strategy. - * - * Generated from protobuf enum CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 67; - */ - const CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 67; - /** - * The Criterion is not allowed to be excluded. - * - * Generated from protobuf enum CANNOT_EXCLUDE_CRITERION = 68; - */ - const CANNOT_EXCLUDE_CRITERION = 68; - /** - * The criterion is not allowed to be removed. For example, we cannot remove - * any of the device criterion. - * - * Generated from protobuf enum CANNOT_REMOVE_CRITERION = 69; - */ - const CANNOT_REMOVE_CRITERION = 69; - /** - * Bidding categories do not form a valid path in the Shopping bidding - * category taxonomy. - * - * Generated from protobuf enum INVALID_PRODUCT_BIDDING_CATEGORY = 76; - */ - const INVALID_PRODUCT_BIDDING_CATEGORY = 76; - /** - * ShoppingSetting must be added to the campaign before ProductScope - * criteria can be added. - * - * Generated from protobuf enum MISSING_SHOPPING_SETTING = 77; - */ - const MISSING_SHOPPING_SETTING = 77; - /** - * Matching function is invalid. - * - * Generated from protobuf enum INVALID_MATCHING_FUNCTION = 78; - */ - const INVALID_MATCHING_FUNCTION = 78; - /** - * Filter parameters not allowed for location groups targeting. - * - * Generated from protobuf enum LOCATION_FILTER_NOT_ALLOWED = 79; - */ - const LOCATION_FILTER_NOT_ALLOWED = 79; - /** - * Feed not found, or the feed is not an enabled location feed. - * - * Generated from protobuf enum INVALID_FEED_FOR_LOCATION_FILTER = 98; - */ - const INVALID_FEED_FOR_LOCATION_FILTER = 98; - /** - * Given location filter parameter is invalid for location groups targeting. - * - * Generated from protobuf enum LOCATION_FILTER_INVALID = 80; - */ - const LOCATION_FILTER_INVALID = 80; - /** - * Cannot set geo target constants and feed item sets at the same time. - * - * Generated from protobuf enum CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS = 123; - */ - const CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS = 123; - /** - * Cannot set both assetset and feed at the same time. - * - * Generated from protobuf enum CANNOT_SET_BOTH_ASSET_SET_AND_FEED = 140; - */ - const CANNOT_SET_BOTH_ASSET_SET_AND_FEED = 140; - /** - * Cannot set feed or feed item sets for Customer. - * - * Generated from protobuf enum CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER = 142; - */ - const CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER = 142; - /** - * Cannot set AssetSet criteria for customer. - * - * Generated from protobuf enum CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER = 150; - */ - const CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER = 150; - /** - * Cannot set geo target constants and asset sets at the same time. - * - * Generated from protobuf enum CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS = 143; - */ - const CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS = 143; - /** - * Cannot set asset sets and feed item sets at the same time. - * - * Generated from protobuf enum CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS = 144; - */ - const CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS = 144; - /** - * The location group asset set id is invalid - * - * Generated from protobuf enum INVALID_LOCATION_GROUP_ASSET_SET = 141; - */ - const INVALID_LOCATION_GROUP_ASSET_SET = 141; - /** - * The location group radius is in the range but not at the valid increment. - * - * Generated from protobuf enum INVALID_LOCATION_GROUP_RADIUS = 124; - */ - const INVALID_LOCATION_GROUP_RADIUS = 124; - /** - * The location group radius unit is invalid. - * - * Generated from protobuf enum INVALID_LOCATION_GROUP_RADIUS_UNIT = 125; - */ - const INVALID_LOCATION_GROUP_RADIUS_UNIT = 125; - /** - * Criteria type cannot be associated with a campaign and its ad group(s) - * simultaneously. - * - * Generated from protobuf enum CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP = 81; - */ - const CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP = 81; - /** - * Range represented by hotel length of stay's min nights and max nights - * overlaps with an existing criterion. - * - * Generated from protobuf enum HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION = 82; - */ - const HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION = 82; - /** - * Range represented by hotel advance booking window's min days and max days - * overlaps with an existing criterion. - * - * Generated from protobuf enum HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION = 83; - */ - const HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION = 83; - /** - * The field is not allowed to be set when the negative field is set to - * true, for example, we don't allow bids in negative ad group or campaign - * criteria. - * - * Generated from protobuf enum FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING = 84; - */ - const FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING = 84; - /** - * The combination of operand and operator in webpage condition is invalid. - * - * Generated from protobuf enum INVALID_WEBPAGE_CONDITION = 85; - */ - const INVALID_WEBPAGE_CONDITION = 85; - /** - * The URL of webpage condition is invalid. - * - * Generated from protobuf enum INVALID_WEBPAGE_CONDITION_URL = 86; - */ - const INVALID_WEBPAGE_CONDITION_URL = 86; - /** - * The URL of webpage condition cannot be empty or contain white space. - * - * Generated from protobuf enum WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY = 87; - */ - const WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY = 87; - /** - * The URL of webpage condition contains an unsupported protocol. - * - * Generated from protobuf enum WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL = 88; - */ - const WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL = 88; - /** - * The URL of webpage condition cannot be an IP address. - * - * Generated from protobuf enum WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS = 89; - */ - const WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS = 89; - /** - * The domain of the URL is not consistent with the domain in campaign - * setting. - * - * Generated from protobuf enum WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING = 90; - */ - const WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING = 90; - /** - * The URL of webpage condition cannot be a public suffix itself. - * - * Generated from protobuf enum WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX = 91; - */ - const WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX = 91; - /** - * The URL of webpage condition has an invalid public suffix. - * - * Generated from protobuf enum WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX = 92; - */ - const WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX = 92; - /** - * Value track parameter is not supported in webpage condition URL. - * - * Generated from protobuf enum WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 93; - */ - const WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 93; - /** - * Only one URL-EQUALS webpage condition is allowed in a webpage - * criterion and it cannot be combined with other conditions. - * - * Generated from protobuf enum WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 94; - */ - const WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 94; - /** - * A webpage criterion cannot be added to a non-DSA ad group. - * - * Generated from protobuf enum WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP = 95; - */ - const WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP = 95; - /** - * Cannot add positive user list criteria in Smart Display campaigns. - * - * Generated from protobuf enum CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS = 99; - */ - const CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS = 99; - /** - * Cannot add positive placement criterion types in search campaigns. - * - * Generated from protobuf enum CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS = 126; - */ - const CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS = 126; - /** - * Listing scope contains too many dimension types. - * - * Generated from protobuf enum LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES = 100; - */ - const LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES = 100; - /** - * Listing scope has too many IN operators. - * - * Generated from protobuf enum LISTING_SCOPE_TOO_MANY_IN_OPERATORS = 101; - */ - const LISTING_SCOPE_TOO_MANY_IN_OPERATORS = 101; - /** - * Listing scope contains IN operator on an unsupported dimension type. - * - * Generated from protobuf enum LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED = 102; - */ - const LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED = 102; - /** - * There are dimensions with duplicate dimension type. - * - * Generated from protobuf enum DUPLICATE_LISTING_DIMENSION_TYPE = 103; - */ - const DUPLICATE_LISTING_DIMENSION_TYPE = 103; - /** - * There are dimensions with duplicate dimension value. - * - * Generated from protobuf enum DUPLICATE_LISTING_DIMENSION_VALUE = 104; - */ - const DUPLICATE_LISTING_DIMENSION_VALUE = 104; - /** - * Listing group SUBDIVISION nodes cannot have bids. - * - * Generated from protobuf enum CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION = 105; - */ - const CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION = 105; - /** - * Ad group is invalid due to the listing groups it contains. - * - * Generated from protobuf enum INVALID_LISTING_GROUP_HIERARCHY = 106; - */ - const INVALID_LISTING_GROUP_HIERARCHY = 106; - /** - * Listing group unit cannot have children. - * - * Generated from protobuf enum LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 107; - */ - const LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 107; - /** - * Subdivided listing groups must have an "others" case. - * - * Generated from protobuf enum LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 108; - */ - const LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 108; - /** - * Dimension type of listing group must be the same as that of its siblings. - * - * Generated from protobuf enum LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 109; - */ - const LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 109; - /** - * Listing group cannot be added to the ad group because it already exists. - * - * Generated from protobuf enum LISTING_GROUP_ALREADY_EXISTS = 110; - */ - const LISTING_GROUP_ALREADY_EXISTS = 110; - /** - * Listing group referenced in the operation was not found in the ad group. - * - * Generated from protobuf enum LISTING_GROUP_DOES_NOT_EXIST = 111; - */ - const LISTING_GROUP_DOES_NOT_EXIST = 111; - /** - * Recursive removal failed because listing group subdivision is being - * created or modified in this request. - * - * Generated from protobuf enum LISTING_GROUP_CANNOT_BE_REMOVED = 112; - */ - const LISTING_GROUP_CANNOT_BE_REMOVED = 112; - /** - * Listing group type is not allowed for specified ad group criterion type. - * - * Generated from protobuf enum INVALID_LISTING_GROUP_TYPE = 113; - */ - const INVALID_LISTING_GROUP_TYPE = 113; - /** - * Listing group in an ADD operation specifies a non temporary criterion id. - * - * Generated from protobuf enum LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 114; - */ - const LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 114; - /** - * The combined length of dimension values of the Listing scope criterion - * is too long. - * - * Generated from protobuf enum LISTING_SCOPE_TOO_LONG = 115; - */ - const LISTING_SCOPE_TOO_LONG = 115; - /** - * Listing scope contains too many dimensions. - * - * Generated from protobuf enum LISTING_SCOPE_TOO_MANY_DIMENSIONS = 116; - */ - const LISTING_SCOPE_TOO_MANY_DIMENSIONS = 116; - /** - * The combined length of dimension values of the Listing group criterion is - * too long. - * - * Generated from protobuf enum LISTING_GROUP_TOO_LONG = 117; - */ - const LISTING_GROUP_TOO_LONG = 117; - /** - * Listing group tree is too deep. - * - * Generated from protobuf enum LISTING_GROUP_TREE_TOO_DEEP = 118; - */ - const LISTING_GROUP_TREE_TOO_DEEP = 118; - /** - * Listing dimension is invalid (for example, dimension contains illegal - * value, dimension type is represented with wrong class, etc). Listing - * dimension value can not contain "==" or "&+". - * - * Generated from protobuf enum INVALID_LISTING_DIMENSION = 119; - */ - const INVALID_LISTING_DIMENSION = 119; - /** - * Listing dimension type is either invalid for campaigns of this type or - * cannot be used in the current context. BIDDING_CATEGORY_Lx and - * PRODUCT_TYPE_Lx dimensions must be used in ascending order of their - * levels: L1, L2, L3, L4, L5... The levels must be specified sequentially - * and start from L1. Furthermore, an "others" Listing group cannot be - * subdivided with a dimension of the same type but of a higher level - * ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with - * BIDDING_CATEGORY_L4). - * - * Generated from protobuf enum INVALID_LISTING_DIMENSION_TYPE = 120; - */ - const INVALID_LISTING_DIMENSION_TYPE = 120; - /** - * Customer is not on allowlist for composite audience in display campaigns. - * - * Generated from protobuf enum ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY = 127; - */ - const ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY = 127; - /** - * Cannot target on a removed combined audience. - * - * Generated from protobuf enum CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE = 128; - */ - const CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE = 128; - /** - * Combined audience ID is invalid. - * - * Generated from protobuf enum INVALID_COMBINED_AUDIENCE_ID = 129; - */ - const INVALID_COMBINED_AUDIENCE_ID = 129; - /** - * Can not target removed combined audience. - * - * Generated from protobuf enum CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE = 130; - */ - const CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE = 130; - /** - * Range represented by hotel check-in date's start date and end date - * overlaps with an existing criterion. - * - * Generated from protobuf enum HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION = 131; - */ - const HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION = 131; - /** - * Start date is earlier than earliest allowed value of yesterday UTC. - * - * Generated from protobuf enum HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY = 132; - */ - const HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY = 132; - /** - * End date later is than latest allowed day of 330 days in the future UTC. - * - * Generated from protobuf enum HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE = 133; - */ - const HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE = 133; - /** - * Start date is after end date. - * - * Generated from protobuf enum HOTEL_CHECK_IN_DATE_RANGE_REVERSED = 134; - */ - const HOTEL_CHECK_IN_DATE_RANGE_REVERSED = 134; - /** - * Broad match modifier (BMM) keywords can no longer be created. See - * https://ads-developers.googleblog.com/2021/06/broad-match-modifier-upcoming-changes.html. - * - * Generated from protobuf enum BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED = 135; - */ - const BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED = 135; - /** - * Only one audience is allowed in an asset group. - * - * Generated from protobuf enum ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP = 136; - */ - const ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP = 136; - /** - * Audience is not supported for the specified campaign type. - * - * Generated from protobuf enum AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE = 137; - */ - const AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE = 137; - /** - * Audience is not allowed to attach when use_audience_grouped bit is set to - * false. - * - * Generated from protobuf enum AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE = 138; - */ - const AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE = 138; - /** - * Targeting is not allowed for Customer Match lists as per Customer Match - * policy. See - * https://support.google.com/google-ads/answer/6299717. - * - * Generated from protobuf enum CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139; - */ - const CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139; - /** - * Cannot create a negative keyword list criterion with a shared set that - * does not exist. - * - * Generated from protobuf enum NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST = 145; - */ - const NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST = 145; - /** - * Cannot create a negative keyword list with deleted shared set. - * - * Generated from protobuf enum CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET = 146; - */ - const CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET = 146; - /** - * Can only have one Negative Keyword List per account. - * - * Generated from protobuf enum CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT = 147; - */ - const CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT = 147; - /** - * Only allowlisted customers can add criteria of this type. - * - * Generated from protobuf enum CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE = 149; - */ - const CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE = 149; - /** - * Targeting for Similar audiences is not supported, since this feature has - * been deprecated. See - * https://support.google.com/google-ads/answer/12463119 to learn more. - * - * Generated from protobuf enum CANNOT_TARGET_SIMILAR_USER_LIST = 151; - */ - const CANNOT_TARGET_SIMILAR_USER_LIST = 151; - /** - * Audience segment criteria cannot be added when use_audience_grouped bit - * is set. - * - * Generated from protobuf enum CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET = 152; - */ - const CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET = 152; - /** - * Only one audience is allowed in an ad group. - * - * Generated from protobuf enum ONE_AUDIENCE_ALLOWED_PER_AD_GROUP = 153; - */ - const ONE_AUDIENCE_ALLOWED_PER_AD_GROUP = 153; - /** - * Invalid detailed demographics criterion. - * - * Generated from protobuf enum INVALID_DETAILED_DEMOGRAPHIC = 154; - */ - const INVALID_DETAILED_DEMOGRAPHIC = 154; - /** - * The brand criteria has a brand input that is not recognized as a - * valid brand. - * - * Generated from protobuf enum CANNOT_RECOGNIZE_BRAND = 155; - */ - const CANNOT_RECOGNIZE_BRAND = 155; - /** - * The brand_list.shared_set_id references a shared set that does not - * exist. - * - * Generated from protobuf enum BRAND_SHARED_SET_DOES_NOT_EXIST = 156; - */ - const BRAND_SHARED_SET_DOES_NOT_EXIST = 156; - /** - * Cannot create a brand list with deleted shared set. - * - * Generated from protobuf enum CANNOT_ADD_REMOVED_BRAND_SHARED_SET = 157; - */ - const CANNOT_ADD_REMOVED_BRAND_SHARED_SET = 157; - /** - * Brand list can only be negatively targeted for the campaign type. - * - * Generated from protobuf enum ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE = 158; - */ - const ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE = 158; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CONCRETE_TYPE_REQUIRED => 'CONCRETE_TYPE_REQUIRED', - self::INVALID_EXCLUDED_CATEGORY => 'INVALID_EXCLUDED_CATEGORY', - self::INVALID_KEYWORD_TEXT => 'INVALID_KEYWORD_TEXT', - self::KEYWORD_TEXT_TOO_LONG => 'KEYWORD_TEXT_TOO_LONG', - self::KEYWORD_HAS_TOO_MANY_WORDS => 'KEYWORD_HAS_TOO_MANY_WORDS', - self::KEYWORD_HAS_INVALID_CHARS => 'KEYWORD_HAS_INVALID_CHARS', - self::INVALID_PLACEMENT_URL => 'INVALID_PLACEMENT_URL', - self::INVALID_USER_LIST => 'INVALID_USER_LIST', - self::INVALID_USER_INTEREST => 'INVALID_USER_INTEREST', - self::INVALID_FORMAT_FOR_PLACEMENT_URL => 'INVALID_FORMAT_FOR_PLACEMENT_URL', - self::PLACEMENT_URL_IS_TOO_LONG => 'PLACEMENT_URL_IS_TOO_LONG', - self::PLACEMENT_URL_HAS_ILLEGAL_CHAR => 'PLACEMENT_URL_HAS_ILLEGAL_CHAR', - self::PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE => 'PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE', - self::PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION => 'PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION', - self::INVALID_TOPIC_PATH => 'INVALID_TOPIC_PATH', - self::INVALID_YOUTUBE_CHANNEL_ID => 'INVALID_YOUTUBE_CHANNEL_ID', - self::INVALID_YOUTUBE_VIDEO_ID => 'INVALID_YOUTUBE_VIDEO_ID', - self::YOUTUBE_VERTICAL_CHANNEL_DEPRECATED => 'YOUTUBE_VERTICAL_CHANNEL_DEPRECATED', - self::YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED => 'YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED', - self::YOUTUBE_URL_UNSUPPORTED => 'YOUTUBE_URL_UNSUPPORTED', - self::CANNOT_EXCLUDE_CRITERIA_TYPE => 'CANNOT_EXCLUDE_CRITERIA_TYPE', - self::CANNOT_ADD_CRITERIA_TYPE => 'CANNOT_ADD_CRITERIA_TYPE', - self::CANNOT_EXCLUDE_SIMILAR_USER_LIST => 'CANNOT_EXCLUDE_SIMILAR_USER_LIST', - self::CANNOT_ADD_CLOSED_USER_LIST => 'CANNOT_ADD_CLOSED_USER_LIST', - self::CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS => 'CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS', - self::CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS => 'CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS', - self::CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS => 'CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS', - self::CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS => 'CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS', - self::CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS => 'CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS', - self::CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE => 'CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE', - self::INVALID_COMBINED_AUDIENCE => 'INVALID_COMBINED_AUDIENCE', - self::INVALID_CUSTOM_AFFINITY => 'INVALID_CUSTOM_AFFINITY', - self::INVALID_CUSTOM_INTENT => 'INVALID_CUSTOM_INTENT', - self::INVALID_CUSTOM_AUDIENCE => 'INVALID_CUSTOM_AUDIENCE', - self::INVALID_IP_ADDRESS => 'INVALID_IP_ADDRESS', - self::INVALID_IP_FORMAT => 'INVALID_IP_FORMAT', - self::INVALID_MOBILE_APP => 'INVALID_MOBILE_APP', - self::INVALID_MOBILE_APP_CATEGORY => 'INVALID_MOBILE_APP_CATEGORY', - self::INVALID_CRITERION_ID => 'INVALID_CRITERION_ID', - self::CANNOT_TARGET_CRITERION => 'CANNOT_TARGET_CRITERION', - self::CANNOT_TARGET_OBSOLETE_CRITERION => 'CANNOT_TARGET_OBSOLETE_CRITERION', - self::CRITERION_ID_AND_TYPE_MISMATCH => 'CRITERION_ID_AND_TYPE_MISMATCH', - self::INVALID_PROXIMITY_RADIUS => 'INVALID_PROXIMITY_RADIUS', - self::INVALID_PROXIMITY_RADIUS_UNITS => 'INVALID_PROXIMITY_RADIUS_UNITS', - self::INVALID_STREETADDRESS_LENGTH => 'INVALID_STREETADDRESS_LENGTH', - self::INVALID_CITYNAME_LENGTH => 'INVALID_CITYNAME_LENGTH', - self::INVALID_REGIONCODE_LENGTH => 'INVALID_REGIONCODE_LENGTH', - self::INVALID_REGIONNAME_LENGTH => 'INVALID_REGIONNAME_LENGTH', - self::INVALID_POSTALCODE_LENGTH => 'INVALID_POSTALCODE_LENGTH', - self::INVALID_COUNTRY_CODE => 'INVALID_COUNTRY_CODE', - self::INVALID_LATITUDE => 'INVALID_LATITUDE', - self::INVALID_LONGITUDE => 'INVALID_LONGITUDE', - self::PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL => 'PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL', - self::INVALID_PROXIMITY_ADDRESS => 'INVALID_PROXIMITY_ADDRESS', - self::INVALID_USER_DOMAIN_NAME => 'INVALID_USER_DOMAIN_NAME', - self::CRITERION_PARAMETER_TOO_LONG => 'CRITERION_PARAMETER_TOO_LONG', - self::AD_SCHEDULE_TIME_INTERVALS_OVERLAP => 'AD_SCHEDULE_TIME_INTERVALS_OVERLAP', - self::AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS => 'AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS', - self::AD_SCHEDULE_INVALID_TIME_INTERVAL => 'AD_SCHEDULE_INVALID_TIME_INTERVAL', - self::AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT => 'AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT', - self::AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS => 'AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS', - self::CANNOT_BID_MODIFY_CRITERION_TYPE => 'CANNOT_BID_MODIFY_CRITERION_TYPE', - self::CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT => 'CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT', - self::CANNOT_BID_MODIFY_NEGATIVE_CRITERION => 'CANNOT_BID_MODIFY_NEGATIVE_CRITERION', - self::BID_MODIFIER_ALREADY_EXISTS => 'BID_MODIFIER_ALREADY_EXISTS', - self::FEED_ID_NOT_ALLOWED => 'FEED_ID_NOT_ALLOWED', - self::ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE => 'ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE', - self::CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY => 'CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY', - self::CANNOT_EXCLUDE_CRITERION => 'CANNOT_EXCLUDE_CRITERION', - self::CANNOT_REMOVE_CRITERION => 'CANNOT_REMOVE_CRITERION', - self::INVALID_PRODUCT_BIDDING_CATEGORY => 'INVALID_PRODUCT_BIDDING_CATEGORY', - self::MISSING_SHOPPING_SETTING => 'MISSING_SHOPPING_SETTING', - self::INVALID_MATCHING_FUNCTION => 'INVALID_MATCHING_FUNCTION', - self::LOCATION_FILTER_NOT_ALLOWED => 'LOCATION_FILTER_NOT_ALLOWED', - self::INVALID_FEED_FOR_LOCATION_FILTER => 'INVALID_FEED_FOR_LOCATION_FILTER', - self::LOCATION_FILTER_INVALID => 'LOCATION_FILTER_INVALID', - self::CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS => 'CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS', - self::CANNOT_SET_BOTH_ASSET_SET_AND_FEED => 'CANNOT_SET_BOTH_ASSET_SET_AND_FEED', - self::CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER => 'CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER', - self::CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER => 'CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER', - self::CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS => 'CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS', - self::CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS => 'CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS', - self::INVALID_LOCATION_GROUP_ASSET_SET => 'INVALID_LOCATION_GROUP_ASSET_SET', - self::INVALID_LOCATION_GROUP_RADIUS => 'INVALID_LOCATION_GROUP_RADIUS', - self::INVALID_LOCATION_GROUP_RADIUS_UNIT => 'INVALID_LOCATION_GROUP_RADIUS_UNIT', - self::CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP => 'CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP', - self::HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION => 'HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION', - self::HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION => 'HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION', - self::FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING => 'FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING', - self::INVALID_WEBPAGE_CONDITION => 'INVALID_WEBPAGE_CONDITION', - self::INVALID_WEBPAGE_CONDITION_URL => 'INVALID_WEBPAGE_CONDITION_URL', - self::WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY => 'WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY', - self::WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL => 'WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL', - self::WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS => 'WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS', - self::WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING => 'WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING', - self::WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX => 'WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX', - self::WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX => 'WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX', - self::WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED => 'WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED', - self::WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION => 'WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION', - self::WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP => 'WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP', - self::CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS => 'CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS', - self::CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS => 'CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS', - self::LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES => 'LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES', - self::LISTING_SCOPE_TOO_MANY_IN_OPERATORS => 'LISTING_SCOPE_TOO_MANY_IN_OPERATORS', - self::LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED => 'LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED', - self::DUPLICATE_LISTING_DIMENSION_TYPE => 'DUPLICATE_LISTING_DIMENSION_TYPE', - self::DUPLICATE_LISTING_DIMENSION_VALUE => 'DUPLICATE_LISTING_DIMENSION_VALUE', - self::CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION => 'CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION', - self::INVALID_LISTING_GROUP_HIERARCHY => 'INVALID_LISTING_GROUP_HIERARCHY', - self::LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN => 'LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN', - self::LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE => 'LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE', - self::LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS => 'LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS', - self::LISTING_GROUP_ALREADY_EXISTS => 'LISTING_GROUP_ALREADY_EXISTS', - self::LISTING_GROUP_DOES_NOT_EXIST => 'LISTING_GROUP_DOES_NOT_EXIST', - self::LISTING_GROUP_CANNOT_BE_REMOVED => 'LISTING_GROUP_CANNOT_BE_REMOVED', - self::INVALID_LISTING_GROUP_TYPE => 'INVALID_LISTING_GROUP_TYPE', - self::LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID => 'LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID', - self::LISTING_SCOPE_TOO_LONG => 'LISTING_SCOPE_TOO_LONG', - self::LISTING_SCOPE_TOO_MANY_DIMENSIONS => 'LISTING_SCOPE_TOO_MANY_DIMENSIONS', - self::LISTING_GROUP_TOO_LONG => 'LISTING_GROUP_TOO_LONG', - self::LISTING_GROUP_TREE_TOO_DEEP => 'LISTING_GROUP_TREE_TOO_DEEP', - self::INVALID_LISTING_DIMENSION => 'INVALID_LISTING_DIMENSION', - self::INVALID_LISTING_DIMENSION_TYPE => 'INVALID_LISTING_DIMENSION_TYPE', - self::ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY => 'ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY', - self::CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE => 'CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE', - self::INVALID_COMBINED_AUDIENCE_ID => 'INVALID_COMBINED_AUDIENCE_ID', - self::CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE => 'CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE', - self::HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION => 'HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION', - self::HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY => 'HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY', - self::HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE => 'HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE', - self::HOTEL_CHECK_IN_DATE_RANGE_REVERSED => 'HOTEL_CHECK_IN_DATE_RANGE_REVERSED', - self::BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED => 'BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED', - self::ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP => 'ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP', - self::AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE => 'AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE', - self::AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE => 'AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE', - self::CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST => 'CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST', - self::NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST => 'NEGATIVE_KEYWORD_SHARED_SET_DOES_NOT_EXIST', - self::CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET => 'CANNOT_ADD_REMOVED_NEGATIVE_KEYWORD_SHARED_SET', - self::CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT => 'CANNOT_HAVE_MULTIPLE_NEGATIVE_KEYWORD_LIST_PER_ACCOUNT', - self::CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE => 'CUSTOMER_CANNOT_ADD_CRITERION_OF_THIS_TYPE', - self::CANNOT_TARGET_SIMILAR_USER_LIST => 'CANNOT_TARGET_SIMILAR_USER_LIST', - self::CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET => 'CANNOT_ADD_AUDIENCE_SEGMENT_CRITERION_WHEN_AUDIENCE_GROUPED_IS_SET', - self::ONE_AUDIENCE_ALLOWED_PER_AD_GROUP => 'ONE_AUDIENCE_ALLOWED_PER_AD_GROUP', - self::INVALID_DETAILED_DEMOGRAPHIC => 'INVALID_DETAILED_DEMOGRAPHIC', - self::CANNOT_RECOGNIZE_BRAND => 'CANNOT_RECOGNIZE_BRAND', - self::BRAND_SHARED_SET_DOES_NOT_EXIST => 'BRAND_SHARED_SET_DOES_NOT_EXIST', - self::CANNOT_ADD_REMOVED_BRAND_SHARED_SET => 'CANNOT_ADD_REMOVED_BRAND_SHARED_SET', - self::ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE => 'ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CriterionError::class, \Google\Ads\GoogleAds\V15\Errors\CriterionErrorEnum_CriterionError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeErrorEnum.php deleted file mode 100644 index ffabd06d8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CurrencyCodeErrorEnum - */ -class CurrencyCodeErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CurrencyCodeError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeErrorEnum/CurrencyCodeError.php b/src/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeErrorEnum/CurrencyCodeError.php deleted file mode 100644 index 113507d73..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CurrencyCodeErrorEnum/CurrencyCodeError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.CurrencyCodeErrorEnum.CurrencyCodeError - */ -class CurrencyCodeError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The currency code is not supported. - * - * Generated from protobuf enum UNSUPPORTED = 2; - */ - const UNSUPPORTED = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNSUPPORTED => 'UNSUPPORTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CurrencyCodeError::class, \Google\Ads\GoogleAds\V15\Errors\CurrencyCodeErrorEnum_CurrencyCodeError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CurrencyErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CurrencyErrorEnum.php deleted file mode 100644 index e84d18dfb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CurrencyErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CurrencyErrorEnum - */ -class CurrencyErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CurrencyError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CurrencyErrorEnum/CurrencyError.php b/src/Google/Ads/GoogleAds/V15/Errors/CurrencyErrorEnum/CurrencyError.php deleted file mode 100644 index e6093c14b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CurrencyErrorEnum/CurrencyError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.CurrencyErrorEnum.CurrencyError - */ -class CurrencyError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Bid must be a multiple of billable unit. - * - * Generated from protobuf enum VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT = 2; - */ - const VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT => 'VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CurrencyError::class, \Google\Ads\GoogleAds\V15\Errors\CurrencyErrorEnum_CurrencyError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomAudienceErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomAudienceErrorEnum.php deleted file mode 100644 index a95f37b6b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomAudienceErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomAudienceErrorEnum - */ -class CustomAudienceErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomAudienceError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomAudienceErrorEnum/CustomAudienceError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomAudienceErrorEnum/CustomAudienceError.php deleted file mode 100644 index bc6f2cf07..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomAudienceErrorEnum/CustomAudienceError.php +++ /dev/null @@ -1,113 +0,0 @@ -google.ads.googleads.v15.errors.CustomAudienceErrorEnum.CustomAudienceError - */ -class CustomAudienceError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * New name in the custom audience is duplicated ignoring cases. - * - * Generated from protobuf enum NAME_ALREADY_USED = 2; - */ - const NAME_ALREADY_USED = 2; - /** - * Cannot remove a custom audience while it's still being used as targeting. - * - * Generated from protobuf enum CANNOT_REMOVE_WHILE_IN_USE = 3; - */ - const CANNOT_REMOVE_WHILE_IN_USE = 3; - /** - * Cannot update or remove a custom audience that is already removed. - * - * Generated from protobuf enum RESOURCE_ALREADY_REMOVED = 4; - */ - const RESOURCE_ALREADY_REMOVED = 4; - /** - * The pair of [type, value] already exists in members. - * - * Generated from protobuf enum MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - */ - const MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - /** - * Member type is invalid. - * - * Generated from protobuf enum INVALID_MEMBER_TYPE = 6; - */ - const INVALID_MEMBER_TYPE = 6; - /** - * Member type does not have associated value. - * - * Generated from protobuf enum MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH = 7; - */ - const MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH = 7; - /** - * Custom audience contains a member that violates policy. - * - * Generated from protobuf enum POLICY_VIOLATION = 8; - */ - const POLICY_VIOLATION = 8; - /** - * Change in custom audience type is not allowed. - * - * Generated from protobuf enum INVALID_TYPE_CHANGE = 9; - */ - const INVALID_TYPE_CHANGE = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NAME_ALREADY_USED => 'NAME_ALREADY_USED', - self::CANNOT_REMOVE_WHILE_IN_USE => 'CANNOT_REMOVE_WHILE_IN_USE', - self::RESOURCE_ALREADY_REMOVED => 'RESOURCE_ALREADY_REMOVED', - self::MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED => 'MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED', - self::INVALID_MEMBER_TYPE => 'INVALID_MEMBER_TYPE', - self::MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH => 'MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH', - self::POLICY_VIOLATION => 'POLICY_VIOLATION', - self::INVALID_TYPE_CHANGE => 'INVALID_TYPE_CHANGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomAudienceError::class, \Google\Ads\GoogleAds\V15\Errors\CustomAudienceErrorEnum_CustomAudienceError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalErrorEnum.php deleted file mode 100644 index 12d671d47..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomConversionGoalErrorEnum - */ -class CustomConversionGoalErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomConversionGoalError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalErrorEnum/CustomConversionGoalError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalErrorEnum/CustomConversionGoalError.php deleted file mode 100644 index 33aee8c41..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomConversionGoalErrorEnum/CustomConversionGoalError.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.errors.CustomConversionGoalErrorEnum.CustomConversionGoalError - */ -class CustomConversionGoalError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Cannot find a conversion action with the specified id. - * - * Generated from protobuf enum INVALID_CONVERSION_ACTION = 2; - */ - const INVALID_CONVERSION_ACTION = 2; - /** - * The conversion action is not enabled so it cannot be included in a custom - * conversion goal. - * - * Generated from protobuf enum CONVERSION_ACTION_NOT_ENABLED = 3; - */ - const CONVERSION_ACTION_NOT_ENABLED = 3; - /** - * The custom conversion goal cannot be removed because it's linked to a - * campaign. - * - * Generated from protobuf enum CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL = 4; - */ - const CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL = 4; - /** - * Custom goal with the same name already exists. - * - * Generated from protobuf enum CUSTOM_GOAL_DUPLICATE_NAME = 5; - */ - const CUSTOM_GOAL_DUPLICATE_NAME = 5; - /** - * Custom goal with the same conversion action list already exists. - * - * Generated from protobuf enum DUPLICATE_CONVERSION_ACTION_LIST = 6; - */ - const DUPLICATE_CONVERSION_ACTION_LIST = 6; - /** - * Conversion types that cannot be biddable should not be included in custom - * goal. - * - * Generated from protobuf enum NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL = 7; - */ - const NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_CONVERSION_ACTION => 'INVALID_CONVERSION_ACTION', - self::CONVERSION_ACTION_NOT_ENABLED => 'CONVERSION_ACTION_NOT_ENABLED', - self::CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL => 'CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL', - self::CUSTOM_GOAL_DUPLICATE_NAME => 'CUSTOM_GOAL_DUPLICATE_NAME', - self::DUPLICATE_CONVERSION_ACTION_LIST => 'DUPLICATE_CONVERSION_ACTION_LIST', - self::NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL => 'NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomConversionGoalError::class, \Google\Ads\GoogleAds\V15\Errors\CustomConversionGoalErrorEnum_CustomConversionGoalError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomInterestErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomInterestErrorEnum.php deleted file mode 100644 index e3a7caf88..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomInterestErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomInterestErrorEnum - */ -class CustomInterestErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomInterestError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomInterestErrorEnum/CustomInterestError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomInterestErrorEnum/CustomInterestError.php deleted file mode 100644 index 23e28b8a5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomInterestErrorEnum/CustomInterestError.php +++ /dev/null @@ -1,107 +0,0 @@ -google.ads.googleads.v15.errors.CustomInterestErrorEnum.CustomInterestError - */ -class CustomInterestError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Duplicate custom interest name ignoring case. - * - * Generated from protobuf enum NAME_ALREADY_USED = 2; - */ - const NAME_ALREADY_USED = 2; - /** - * In the remove custom interest member operation, both member ID and - * pair [type, parameter] are not present. - * - * Generated from protobuf enum CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE = 3; - */ - const CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE = 3; - /** - * The pair of [type, parameter] does not exist. - * - * Generated from protobuf enum TYPE_AND_PARAMETER_NOT_FOUND = 4; - */ - const TYPE_AND_PARAMETER_NOT_FOUND = 4; - /** - * The pair of [type, parameter] already exists. - * - * Generated from protobuf enum TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - */ - const TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - /** - * Unsupported custom interest member type. - * - * Generated from protobuf enum INVALID_CUSTOM_INTEREST_MEMBER_TYPE = 6; - */ - const INVALID_CUSTOM_INTEREST_MEMBER_TYPE = 6; - /** - * Cannot remove a custom interest while it's still being targeted. - * - * Generated from protobuf enum CANNOT_REMOVE_WHILE_IN_USE = 7; - */ - const CANNOT_REMOVE_WHILE_IN_USE = 7; - /** - * Cannot mutate custom interest type. - * - * Generated from protobuf enum CANNOT_CHANGE_TYPE = 8; - */ - const CANNOT_CHANGE_TYPE = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NAME_ALREADY_USED => 'NAME_ALREADY_USED', - self::CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE => 'CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE', - self::TYPE_AND_PARAMETER_NOT_FOUND => 'TYPE_AND_PARAMETER_NOT_FOUND', - self::TYPE_AND_PARAMETER_ALREADY_EXISTED => 'TYPE_AND_PARAMETER_ALREADY_EXISTED', - self::INVALID_CUSTOM_INTEREST_MEMBER_TYPE => 'INVALID_CUSTOM_INTEREST_MEMBER_TYPE', - self::CANNOT_REMOVE_WHILE_IN_USE => 'CANNOT_REMOVE_WHILE_IN_USE', - self::CANNOT_CHANGE_TYPE => 'CANNOT_CHANGE_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomInterestError::class, \Google\Ads\GoogleAds\V15\Errors\CustomInterestErrorEnum_CustomInterestError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkErrorEnum.php deleted file mode 100644 index de81ff3d1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomerClientLinkErrorEnum - */ -class CustomerClientLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomerClientLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkErrorEnum/CustomerClientLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkErrorEnum/CustomerClientLinkError.php deleted file mode 100644 index 533e7b571..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerClientLinkErrorEnum/CustomerClientLinkError.php +++ /dev/null @@ -1,113 +0,0 @@ -google.ads.googleads.v15.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError - */ -class CustomerClientLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Trying to manage a client that already in being managed by customer. - * - * Generated from protobuf enum CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = 2; - */ - const CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = 2; - /** - * Already managed by some other manager in the hierarchy. - * - * Generated from protobuf enum CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3; - */ - const CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3; - /** - * Attempt to create a cycle in the hierarchy. - * - * Generated from protobuf enum CYCLIC_LINK_NOT_ALLOWED = 4; - */ - const CYCLIC_LINK_NOT_ALLOWED = 4; - /** - * Managed accounts has the maximum number of linked accounts. - * - * Generated from protobuf enum CUSTOMER_HAS_TOO_MANY_ACCOUNTS = 5; - */ - const CUSTOMER_HAS_TOO_MANY_ACCOUNTS = 5; - /** - * Invitor has the maximum pending invitations. - * - * Generated from protobuf enum CLIENT_HAS_TOO_MANY_INVITATIONS = 6; - */ - const CLIENT_HAS_TOO_MANY_INVITATIONS = 6; - /** - * Attempt to change hidden status of a link that is not active. - * - * Generated from protobuf enum CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7; - */ - const CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7; - /** - * Parent manager account has the maximum number of linked accounts. - * - * Generated from protobuf enum CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8; - */ - const CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8; - /** - * Client has too many managers. - * - * Generated from protobuf enum CLIENT_HAS_TOO_MANY_MANAGERS = 9; - */ - const CLIENT_HAS_TOO_MANY_MANAGERS = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CLIENT_ALREADY_INVITED_BY_THIS_MANAGER => 'CLIENT_ALREADY_INVITED_BY_THIS_MANAGER', - self::CLIENT_ALREADY_MANAGED_IN_HIERARCHY => 'CLIENT_ALREADY_MANAGED_IN_HIERARCHY', - self::CYCLIC_LINK_NOT_ALLOWED => 'CYCLIC_LINK_NOT_ALLOWED', - self::CUSTOMER_HAS_TOO_MANY_ACCOUNTS => 'CUSTOMER_HAS_TOO_MANY_ACCOUNTS', - self::CLIENT_HAS_TOO_MANY_INVITATIONS => 'CLIENT_HAS_TOO_MANY_INVITATIONS', - self::CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS => 'CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS', - self::CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER => 'CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER', - self::CLIENT_HAS_TOO_MANY_MANAGERS => 'CLIENT_HAS_TOO_MANY_MANAGERS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerClientLinkError::class, \Google\Ads\GoogleAds\V15\Errors\CustomerClientLinkErrorEnum_CustomerClientLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerErrorEnum.php deleted file mode 100644 index e86fbef63..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomerCustomizerErrorEnum - */ -class CustomerCustomizerErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomerCustomizerError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerErrorEnum/CustomerCustomizerError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerErrorEnum/CustomerCustomizerError.php deleted file mode 100644 index 7e3cd5893..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerCustomizerErrorEnum/CustomerCustomizerError.php +++ /dev/null @@ -1,57 +0,0 @@ -google.ads.googleads.v15.errors.CustomerCustomizerErrorEnum.CustomerCustomizerError - */ -class CustomerCustomizerError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerCustomizerError::class, \Google\Ads\GoogleAds\V15\Errors\CustomerCustomizerErrorEnum_CustomerCustomizerError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerErrorEnum.php deleted file mode 100644 index 6e3d46083..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomerErrorEnum - */ -class CustomerErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomerError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerErrorEnum/CustomerError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerErrorEnum/CustomerError.php deleted file mode 100644 index 84454236a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerErrorEnum/CustomerError.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.errors.CustomerErrorEnum.CustomerError - */ -class CustomerError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Customer status is not allowed to be changed from DRAFT and CLOSED. - * Currency code and at least one of country code and time zone needs to be - * set when status is changed to ENABLED. - * - * Generated from protobuf enum STATUS_CHANGE_DISALLOWED = 2; - */ - const STATUS_CHANGE_DISALLOWED = 2; - /** - * CustomerService cannot get a customer that has not been fully set up. - * - * Generated from protobuf enum ACCOUNT_NOT_SET_UP = 3; - */ - const ACCOUNT_NOT_SET_UP = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::STATUS_CHANGE_DISALLOWED => 'STATUS_CHANGE_DISALLOWED', - self::ACCOUNT_NOT_SET_UP => 'ACCOUNT_NOT_SET_UP', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerError::class, \Google\Ads\GoogleAds\V15\Errors\CustomerErrorEnum_CustomerError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerFeedErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerFeedErrorEnum.php deleted file mode 100644 index b42636c77..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerFeedErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomerFeedErrorEnum - */ -class CustomerFeedErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomerFeedError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerFeedErrorEnum/CustomerFeedError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerFeedErrorEnum/CustomerFeedError.php deleted file mode 100644 index 57c50ee52..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerFeedErrorEnum/CustomerFeedError.php +++ /dev/null @@ -1,107 +0,0 @@ -google.ads.googleads.v15.errors.CustomerFeedErrorEnum.CustomerFeedError - */ -class CustomerFeedError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An active feed already exists for this customer and place holder type. - * - * Generated from protobuf enum FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - */ - const FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - /** - * The specified feed is removed. - * - * Generated from protobuf enum CANNOT_CREATE_FOR_REMOVED_FEED = 3; - */ - const CANNOT_CREATE_FOR_REMOVED_FEED = 3; - /** - * The CustomerFeed already exists. Update should be used to modify the - * existing CustomerFeed. - * - * Generated from protobuf enum CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED = 4; - */ - const CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED = 4; - /** - * Cannot update removed customer feed. - * - * Generated from protobuf enum CANNOT_MODIFY_REMOVED_CUSTOMER_FEED = 5; - */ - const CANNOT_MODIFY_REMOVED_CUSTOMER_FEED = 5; - /** - * Invalid placeholder type. - * - * Generated from protobuf enum INVALID_PLACEHOLDER_TYPE = 6; - */ - const INVALID_PLACEHOLDER_TYPE = 6; - /** - * Feed mapping for this placeholder type does not exist. - * - * Generated from protobuf enum MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - */ - const MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - /** - * Placeholder not allowed at the account level. - * - * Generated from protobuf enum PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8; - */ - const PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE => 'FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', - self::CANNOT_CREATE_FOR_REMOVED_FEED => 'CANNOT_CREATE_FOR_REMOVED_FEED', - self::CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED => 'CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED', - self::CANNOT_MODIFY_REMOVED_CUSTOMER_FEED => 'CANNOT_MODIFY_REMOVED_CUSTOMER_FEED', - self::INVALID_PLACEHOLDER_TYPE => 'INVALID_PLACEHOLDER_TYPE', - self::MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE => 'MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', - self::PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED => 'PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerFeedError::class, \Google\Ads\GoogleAds\V15\Errors\CustomerFeedErrorEnum_CustomerFeedError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalErrorEnum.php deleted file mode 100644 index 47b164ec1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomerLifecycleGoalErrorEnum - */ -class CustomerLifecycleGoalErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomerLifecycleGoalError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalErrorEnum/CustomerLifecycleGoalError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalErrorEnum/CustomerLifecycleGoalError.php deleted file mode 100644 index d6d13cd6d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerLifecycleGoalErrorEnum/CustomerLifecycleGoalError.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.errors.CustomerLifecycleGoalErrorEnum.CustomerLifecycleGoalError - */ -class CustomerLifecycleGoalError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value must - * be set. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_VALUE_MISSING = 2; - */ - const CUSTOMER_ACQUISITION_VALUE_MISSING = 2; - /** - * CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value must - * be no less than 0.01. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_INVALID_VALUE = 3; - */ - const CUSTOMER_ACQUISITION_INVALID_VALUE = 3; - /** - * CustomerLifecycleGoal.customer_acquisition_goal_value_settings.high_lifetime_value - * must be no less than 0.01. Also, to set this field, - * CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value must - * also be present, and high_lifetime_value must be greater than value. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE = 4; - */ - const CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE = 4; - /** - * CustomerLifecycleGoal.customer_acquisition_goal_value_settings.value - * cannot be cleared. This value would have no effect as long as none of - * your campaigns adopt the customer acquisitiong goal. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_VALUE_CANNOT_BE_CLEARED = 5; - */ - const CUSTOMER_ACQUISITION_VALUE_CANNOT_BE_CLEARED = 5; - /** - * CustomerLifecycleGoal.customer_acquisition_goal_value_settings.high_lifetime_value - * cannot be cleared. This value would have no effect as long as none of - * your campaigns adopt the high value optimization of customer acquisitiong - * goal. - * - * Generated from protobuf enum CUSTOMER_ACQUISITION_HIGH_LIFETIME_VALUE_CANNOT_BE_CLEARED = 6; - */ - const CUSTOMER_ACQUISITION_HIGH_LIFETIME_VALUE_CANNOT_BE_CLEARED = 6; - /** - * Found invalid value in - * CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.existing_user_lists. - * The userlist must be accessible, active and belong to one of the - * following types: CRM_BASED, RULE_BASED, REMARKETING. - * - * Generated from protobuf enum INVALID_EXISTING_USER_LIST = 7; - */ - const INVALID_EXISTING_USER_LIST = 7; - /** - * Found invalid value in - * CustomerLifecycleGoal.lifecycle_goal_customer_definition_settings.high_lifetime_value_user_lists. - * The userlist must be accessible, active and belong to one of the - * following types: CRM_BASED, RULE_BASED, REMARKETING. - * - * Generated from protobuf enum INVALID_HIGH_LIFETIME_VALUE_USER_LIST = 8; - */ - const INVALID_HIGH_LIFETIME_VALUE_USER_LIST = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER_ACQUISITION_VALUE_MISSING => 'CUSTOMER_ACQUISITION_VALUE_MISSING', - self::CUSTOMER_ACQUISITION_INVALID_VALUE => 'CUSTOMER_ACQUISITION_INVALID_VALUE', - self::CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE => 'CUSTOMER_ACQUISITION_INVALID_HIGH_LIFETIME_VALUE', - self::CUSTOMER_ACQUISITION_VALUE_CANNOT_BE_CLEARED => 'CUSTOMER_ACQUISITION_VALUE_CANNOT_BE_CLEARED', - self::CUSTOMER_ACQUISITION_HIGH_LIFETIME_VALUE_CANNOT_BE_CLEARED => 'CUSTOMER_ACQUISITION_HIGH_LIFETIME_VALUE_CANNOT_BE_CLEARED', - self::INVALID_EXISTING_USER_LIST => 'INVALID_EXISTING_USER_LIST', - self::INVALID_HIGH_LIFETIME_VALUE_USER_LIST => 'INVALID_HIGH_LIFETIME_VALUE_USER_LIST', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerLifecycleGoalError::class, \Google\Ads\GoogleAds\V15\Errors\CustomerLifecycleGoalErrorEnum_CustomerLifecycleGoalError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkErrorEnum.php deleted file mode 100644 index 6c1f3fca6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomerManagerLinkErrorEnum - */ -class CustomerManagerLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomerManagerLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkErrorEnum/CustomerManagerLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkErrorEnum/CustomerManagerLinkError.php deleted file mode 100644 index eabd4e09f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerManagerLinkErrorEnum/CustomerManagerLinkError.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError - */ -class CustomerManagerLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * No pending invitation. - * - * Generated from protobuf enum NO_PENDING_INVITE = 2; - */ - const NO_PENDING_INVITE = 2; - /** - * Attempt to operate on the same client more than once in the same call. - * - * Generated from protobuf enum SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3; - */ - const SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3; - /** - * Manager account has the maximum number of linked accounts. - * - * Generated from protobuf enum MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4; - */ - const MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4; - /** - * If no active user on account it cannot be unlinked from its manager. - * - * Generated from protobuf enum CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5; - */ - const CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5; - /** - * Account should have at least one active owner on it before being - * unlinked. - * - * Generated from protobuf enum CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6; - */ - const CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6; - /** - * Only account owners may change their permission role. - * - * Generated from protobuf enum CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7; - */ - const CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7; - /** - * When a client's link to its manager is not active, the link role cannot - * be changed. - * - * Generated from protobuf enum CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8; - */ - const CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8; - /** - * Attempt to link a child to a parent that contains or will contain - * duplicate children. - * - * Generated from protobuf enum DUPLICATE_CHILD_FOUND = 9; - */ - const DUPLICATE_CHILD_FOUND = 9; - /** - * The authorized customer is a test account. It can add no more than the - * allowed number of accounts - * - * Generated from protobuf enum TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10; - */ - const TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NO_PENDING_INVITE => 'NO_PENDING_INVITE', - self::SAME_CLIENT_MORE_THAN_ONCE_PER_CALL => 'SAME_CLIENT_MORE_THAN_ONCE_PER_CALL', - self::MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS => 'MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS', - self::CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER => 'CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER', - self::CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER => 'CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER', - self::CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER => 'CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER', - self::CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT => 'CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT', - self::DUPLICATE_CHILD_FOUND => 'DUPLICATE_CHILD_FOUND', - self::TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS => 'TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerManagerLinkError::class, \Google\Ads\GoogleAds\V15\Errors\CustomerManagerLinkErrorEnum_CustomerManagerLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaErrorEnum.php deleted file mode 100644 index ee4940854..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.CustomerSkAdNetworkConversionValueSchemaErrorEnum - */ -class CustomerSkAdNetworkConversionValueSchemaErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomerSkAdNetworkConversionValueSchemaError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaErrorEnum/CustomerSkAdNetworkConversionValueSchemaError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaErrorEnum/CustomerSkAdNetworkConversionValueSchemaError.php deleted file mode 100644 index 8bc7280c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerSkAdNetworkConversionValueSchemaErrorEnum/CustomerSkAdNetworkConversionValueSchemaError.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.errors.CustomerSkAdNetworkConversionValueSchemaErrorEnum.CustomerSkAdNetworkConversionValueSchemaError - */ -class CustomerSkAdNetworkConversionValueSchemaError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The customer link ID provided is invalid. - * - * Generated from protobuf enum INVALID_LINK_ID = 2; - */ - const INVALID_LINK_ID = 2; - /** - * The app ID provided is invalid. - * - * Generated from protobuf enum INVALID_APP_ID = 3; - */ - const INVALID_APP_ID = 3; - /** - * The conversion value schema provided is invalid. - * - * Generated from protobuf enum INVALID_SCHEMA = 4; - */ - const INVALID_SCHEMA = 4; - /** - * The customer link id provided could not be found. - * - * Generated from protobuf enum LINK_CODE_NOT_FOUND = 5; - */ - const LINK_CODE_NOT_FOUND = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_LINK_ID => 'INVALID_LINK_ID', - self::INVALID_APP_ID => 'INVALID_APP_ID', - self::INVALID_SCHEMA => 'INVALID_SCHEMA', - self::LINK_CODE_NOT_FOUND => 'LINK_CODE_NOT_FOUND', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerSkAdNetworkConversionValueSchemaError::class, \Google\Ads\GoogleAds\V15\Errors\CustomerSkAdNetworkConversionValueSchemaErrorEnum_CustomerSkAdNetworkConversionValueSchemaError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessErrorEnum.php deleted file mode 100644 index bbb7e52a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomerUserAccessErrorEnum - */ -class CustomerUserAccessErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomerUserAccessError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessErrorEnum/CustomerUserAccessError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessErrorEnum/CustomerUserAccessError.php deleted file mode 100644 index 992e7a029..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomerUserAccessErrorEnum/CustomerUserAccessError.php +++ /dev/null @@ -1,93 +0,0 @@ -google.ads.googleads.v15.errors.CustomerUserAccessErrorEnum.CustomerUserAccessError - */ -class CustomerUserAccessError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * There is no user associated with the user id specified. - * - * Generated from protobuf enum INVALID_USER_ID = 2; - */ - const INVALID_USER_ID = 2; - /** - * Unable to remove the access between the user and customer. - * - * Generated from protobuf enum REMOVAL_DISALLOWED = 3; - */ - const REMOVAL_DISALLOWED = 3; - /** - * Unable to add or update the access role as specified. - * - * Generated from protobuf enum DISALLOWED_ACCESS_ROLE = 4; - */ - const DISALLOWED_ACCESS_ROLE = 4; - /** - * The user can't remove itself from an active serving customer if it's the - * last admin user and the customer doesn't have any owner manager - * - * Generated from protobuf enum LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5; - */ - const LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5; - /** - * Last admin user cannot be removed from a manager. - * - * Generated from protobuf enum LAST_ADMIN_USER_OF_MANAGER = 6; - */ - const LAST_ADMIN_USER_OF_MANAGER = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_USER_ID => 'INVALID_USER_ID', - self::REMOVAL_DISALLOWED => 'REMOVAL_DISALLOWED', - self::DISALLOWED_ACCESS_ROLE => 'DISALLOWED_ACCESS_ROLE', - self::LAST_ADMIN_USER_OF_SERVING_CUSTOMER => 'LAST_ADMIN_USER_OF_SERVING_CUSTOMER', - self::LAST_ADMIN_USER_OF_MANAGER => 'LAST_ADMIN_USER_OF_MANAGER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomerUserAccessError::class, \Google\Ads\GoogleAds\V15\Errors\CustomerUserAccessErrorEnum_CustomerUserAccessError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeErrorEnum.php deleted file mode 100644 index ed36e8d34..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.CustomizerAttributeErrorEnum - */ -class CustomizerAttributeErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\CustomizerAttributeError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeErrorEnum/CustomizerAttributeError.php b/src/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeErrorEnum/CustomizerAttributeError.php deleted file mode 100644 index bdee41ed0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/CustomizerAttributeErrorEnum/CustomizerAttributeError.php +++ /dev/null @@ -1,65 +0,0 @@ -google.ads.googleads.v15.errors.CustomizerAttributeErrorEnum.CustomizerAttributeError - */ -class CustomizerAttributeError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * CustomizerAttribute name matches that of another active - * CustomizerAttribute. - * - * Generated from protobuf enum DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME = 2; - */ - const DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME => 'DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CustomizerAttributeError::class, \Google\Ads\GoogleAds\V15\Errors\CustomizerAttributeErrorEnum_CustomizerAttributeError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/DatabaseErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/DatabaseErrorEnum.php deleted file mode 100644 index a1ea6ce4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/DatabaseErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.DatabaseErrorEnum - */ -class DatabaseErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\DatabaseError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/DatabaseErrorEnum/DatabaseError.php b/src/Google/Ads/GoogleAds/V15/Errors/DatabaseErrorEnum/DatabaseError.php deleted file mode 100644 index b13c8d6b0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/DatabaseErrorEnum/DatabaseError.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.errors.DatabaseErrorEnum.DatabaseError - */ -class DatabaseError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Multiple requests were attempting to modify the same resource at once. - * Retry the request. - * - * Generated from protobuf enum CONCURRENT_MODIFICATION = 2; - */ - const CONCURRENT_MODIFICATION = 2; - /** - * The request conflicted with existing data. This error will usually be - * replaced with a more specific error if the request is retried. - * - * Generated from protobuf enum DATA_CONSTRAINT_VIOLATION = 3; - */ - const DATA_CONSTRAINT_VIOLATION = 3; - /** - * The data written is too large. Split the request into smaller - * requests. - * - * Generated from protobuf enum REQUEST_TOO_LARGE = 4; - */ - const REQUEST_TOO_LARGE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CONCURRENT_MODIFICATION => 'CONCURRENT_MODIFICATION', - self::DATA_CONSTRAINT_VIOLATION => 'DATA_CONSTRAINT_VIOLATION', - self::REQUEST_TOO_LARGE => 'REQUEST_TOO_LARGE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DatabaseError::class, \Google\Ads\GoogleAds\V15\Errors\DatabaseErrorEnum_DatabaseError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/DateErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/DateErrorEnum.php deleted file mode 100644 index 1a924a30b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/DateErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.DateErrorEnum - */ -class DateErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\DateError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/DateErrorEnum/DateError.php b/src/Google/Ads/GoogleAds/V15/Errors/DateErrorEnum/DateError.php deleted file mode 100644 index d26ade7c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/DateErrorEnum/DateError.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.errors.DateErrorEnum.DateError - */ -class DateError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Given field values do not correspond to a valid date. - * - * Generated from protobuf enum INVALID_FIELD_VALUES_IN_DATE = 2; - */ - const INVALID_FIELD_VALUES_IN_DATE = 2; - /** - * Given field values do not correspond to a valid date time. - * - * Generated from protobuf enum INVALID_FIELD_VALUES_IN_DATE_TIME = 3; - */ - const INVALID_FIELD_VALUES_IN_DATE_TIME = 3; - /** - * The string date's format should be yyyy-mm-dd. - * - * Generated from protobuf enum INVALID_STRING_DATE = 4; - */ - const INVALID_STRING_DATE = 4; - /** - * The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. - * - * Generated from protobuf enum INVALID_STRING_DATE_TIME_MICROS = 6; - */ - const INVALID_STRING_DATE_TIME_MICROS = 6; - /** - * The string date time's format should be yyyy-mm-dd hh:mm:ss. - * - * Generated from protobuf enum INVALID_STRING_DATE_TIME_SECONDS = 11; - */ - const INVALID_STRING_DATE_TIME_SECONDS = 11; - /** - * The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. - * - * Generated from protobuf enum INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET = 12; - */ - const INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET = 12; - /** - * Date is before allowed minimum. - * - * Generated from protobuf enum EARLIER_THAN_MINIMUM_DATE = 7; - */ - const EARLIER_THAN_MINIMUM_DATE = 7; - /** - * Date is after allowed maximum. - * - * Generated from protobuf enum LATER_THAN_MAXIMUM_DATE = 8; - */ - const LATER_THAN_MAXIMUM_DATE = 8; - /** - * Date range bounds are not in order. - * - * Generated from protobuf enum DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9; - */ - const DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9; - /** - * Both dates in range are null. - * - * Generated from protobuf enum DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10; - */ - const DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_FIELD_VALUES_IN_DATE => 'INVALID_FIELD_VALUES_IN_DATE', - self::INVALID_FIELD_VALUES_IN_DATE_TIME => 'INVALID_FIELD_VALUES_IN_DATE_TIME', - self::INVALID_STRING_DATE => 'INVALID_STRING_DATE', - self::INVALID_STRING_DATE_TIME_MICROS => 'INVALID_STRING_DATE_TIME_MICROS', - self::INVALID_STRING_DATE_TIME_SECONDS => 'INVALID_STRING_DATE_TIME_SECONDS', - self::INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET => 'INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET', - self::EARLIER_THAN_MINIMUM_DATE => 'EARLIER_THAN_MINIMUM_DATE', - self::LATER_THAN_MAXIMUM_DATE => 'LATER_THAN_MAXIMUM_DATE', - self::DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE => 'DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE', - self::DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL => 'DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DateError::class, \Google\Ads\GoogleAds\V15\Errors\DateErrorEnum_DateError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/DateRangeErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/DateRangeErrorEnum.php deleted file mode 100644 index e84c6602c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/DateRangeErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.DateRangeErrorEnum - */ -class DateRangeErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\DateRangeError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/DateRangeErrorEnum/DateRangeError.php b/src/Google/Ads/GoogleAds/V15/Errors/DateRangeErrorEnum/DateRangeError.php deleted file mode 100644 index 0bd9c9253..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/DateRangeErrorEnum/DateRangeError.php +++ /dev/null @@ -1,92 +0,0 @@ -google.ads.googleads.v15.errors.DateRangeErrorEnum.DateRangeError - */ -class DateRangeError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Invalid date. - * - * Generated from protobuf enum INVALID_DATE = 2; - */ - const INVALID_DATE = 2; - /** - * The start date was after the end date. - * - * Generated from protobuf enum START_DATE_AFTER_END_DATE = 3; - */ - const START_DATE_AFTER_END_DATE = 3; - /** - * Cannot set date to past time - * - * Generated from protobuf enum CANNOT_SET_DATE_TO_PAST = 4; - */ - const CANNOT_SET_DATE_TO_PAST = 4; - /** - * A date was used that is past the system "last" date. - * - * Generated from protobuf enum AFTER_MAXIMUM_ALLOWABLE_DATE = 5; - */ - const AFTER_MAXIMUM_ALLOWABLE_DATE = 5; - /** - * Trying to change start date on a resource that has started. - * - * Generated from protobuf enum CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6; - */ - const CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_DATE => 'INVALID_DATE', - self::START_DATE_AFTER_END_DATE => 'START_DATE_AFTER_END_DATE', - self::CANNOT_SET_DATE_TO_PAST => 'CANNOT_SET_DATE_TO_PAST', - self::AFTER_MAXIMUM_ALLOWABLE_DATE => 'AFTER_MAXIMUM_ALLOWABLE_DATE', - self::CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED => 'CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DateRangeError::class, \Google\Ads\GoogleAds\V15\Errors\DateRangeErrorEnum_DateRangeError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/DistinctErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/DistinctErrorEnum.php deleted file mode 100644 index 65bc6836f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/DistinctErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.DistinctErrorEnum - */ -class DistinctErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\DistinctError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/DistinctErrorEnum/DistinctError.php b/src/Google/Ads/GoogleAds/V15/Errors/DistinctErrorEnum/DistinctError.php deleted file mode 100644 index 4e7023482..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/DistinctErrorEnum/DistinctError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.DistinctErrorEnum.DistinctError - */ -class DistinctError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Duplicate element. - * - * Generated from protobuf enum DUPLICATE_ELEMENT = 2; - */ - const DUPLICATE_ELEMENT = 2; - /** - * Duplicate type. - * - * Generated from protobuf enum DUPLICATE_TYPE = 3; - */ - const DUPLICATE_TYPE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::DUPLICATE_ELEMENT => 'DUPLICATE_ELEMENT', - self::DUPLICATE_TYPE => 'DUPLICATE_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DistinctError::class, \Google\Ads\GoogleAds\V15\Errors\DistinctErrorEnum_DistinctError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/EnumErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/EnumErrorEnum.php deleted file mode 100644 index 37779a251..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/EnumErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.EnumErrorEnum - */ -class EnumErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\EnumError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/EnumErrorEnum/EnumError.php b/src/Google/Ads/GoogleAds/V15/Errors/EnumErrorEnum/EnumError.php deleted file mode 100644 index 7f5a757f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/EnumErrorEnum/EnumError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.EnumErrorEnum.EnumError - */ -class EnumError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The enum value is not permitted. - * - * Generated from protobuf enum ENUM_VALUE_NOT_PERMITTED = 3; - */ - const ENUM_VALUE_NOT_PERMITTED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ENUM_VALUE_NOT_PERMITTED => 'ENUM_VALUE_NOT_PERMITTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EnumError::class, \Google\Ads\GoogleAds\V15\Errors\EnumErrorEnum_EnumError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ErrorCode.php b/src/Google/Ads/GoogleAds/V15/Errors/ErrorCode.php deleted file mode 100644 index 0bb1550bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ErrorCode.php +++ /dev/null @@ -1,4992 +0,0 @@ -google.ads.googleads.v15.errors.ErrorCode - */ -class ErrorCode extends \Google\Protobuf\Internal\Message -{ - protected $error_code; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $request_error - * An error caused by the request - * @type int $bidding_strategy_error - * An error with a Bidding Strategy mutate. - * @type int $url_field_error - * An error with a URL field mutate. - * @type int $list_operation_error - * An error with a list operation. - * @type int $query_error - * An error with an AWQL query - * @type int $mutate_error - * An error with a mutate - * @type int $field_mask_error - * An error with a field mask - * @type int $authorization_error - * An error encountered when trying to authorize a user. - * @type int $internal_error - * An unexpected server-side error. - * @type int $quota_error - * An error with the amount of quota remaining. - * @type int $ad_error - * An error with an Ad Group Ad mutate. - * @type int $ad_group_error - * An error with an Ad Group mutate. - * @type int $campaign_budget_error - * An error with a Campaign Budget mutate. - * @type int $campaign_error - * An error with a Campaign mutate. - * @type int $authentication_error - * Indicates failure to properly authenticate user. - * @type int $ad_group_criterion_customizer_error - * The reasons for the ad group criterion customizer error. - * @type int $ad_group_criterion_error - * Indicates failure to properly authenticate user. - * @type int $ad_group_customizer_error - * The reasons for the ad group customizer error. - * @type int $ad_customizer_error - * The reasons for the ad customizer error - * @type int $ad_group_ad_error - * The reasons for the ad group ad error - * @type int $ad_sharing_error - * The reasons for the ad sharing error - * @type int $adx_error - * The reasons for the adx error - * @type int $asset_error - * The reasons for the asset error - * @type int $asset_group_asset_error - * The reasons for the asset group asset error - * @type int $asset_group_listing_group_filter_error - * The reasons for the asset group listing group filter error - * @type int $asset_group_error - * The reasons for the asset group error - * @type int $asset_set_asset_error - * The reasons for the asset set asset error - * @type int $asset_set_link_error - * The reasons for the asset set link error - * @type int $asset_set_error - * The reasons for the asset set error - * @type int $bidding_error - * The reasons for the bidding errors - * @type int $campaign_criterion_error - * The reasons for the campaign criterion error - * @type int $campaign_conversion_goal_error - * The reasons for the campaign conversion goal error - * @type int $campaign_customizer_error - * The reasons for the campaign customizer error. - * @type int $collection_size_error - * The reasons for the collection size error - * @type int $conversion_goal_campaign_config_error - * The reasons for the conversion goal campaign config error - * @type int $country_code_error - * The reasons for the country code error - * @type int $criterion_error - * The reasons for the criterion error - * @type int $custom_conversion_goal_error - * The reasons for the custom conversion goal error - * @type int $customer_customizer_error - * The reasons for the customer customizer error. - * @type int $customer_error - * The reasons for the customer error - * @type int $customizer_attribute_error - * The reasons for the customizer attribute error. - * @type int $date_error - * The reasons for the date error - * @type int $date_range_error - * The reasons for the date range error - * @type int $distinct_error - * The reasons for the distinct error - * @type int $feed_attribute_reference_error - * The reasons for the feed attribute reference error - * @type int $function_error - * The reasons for the function error - * @type int $function_parsing_error - * The reasons for the function parsing error - * @type int $id_error - * The reasons for the id error - * @type int $image_error - * The reasons for the image error - * @type int $language_code_error - * The reasons for the language code error - * @type int $media_bundle_error - * The reasons for the media bundle error - * @type int $media_upload_error - * The reasons for media uploading errors. - * @type int $media_file_error - * The reasons for the media file error - * @type int $merchant_center_error - * Container for enum describing possible merchant center errors. - * @type int $multiplier_error - * The reasons for the multiplier error - * @type int $new_resource_creation_error - * The reasons for the new resource creation error - * @type int $not_empty_error - * The reasons for the not empty error - * @type int $null_error - * The reasons for the null error - * @type int $operator_error - * The reasons for the operator error - * @type int $range_error - * The reasons for the range error - * @type int $recommendation_error - * The reasons for error in applying a recommendation - * @type int $recommendation_subscription_error - * The reasons for the recommendation subscription error. - * @type int $region_code_error - * The reasons for the region code error - * @type int $setting_error - * The reasons for the setting error - * @type int $string_format_error - * The reasons for the string format error - * @type int $string_length_error - * The reasons for the string length error - * @type int $operation_access_denied_error - * The reasons for the operation access denied error - * @type int $resource_access_denied_error - * The reasons for the resource access denied error - * @type int $resource_count_limit_exceeded_error - * The reasons for the resource count limit exceeded error - * @type int $youtube_video_registration_error - * The reasons for YouTube video registration errors. - * @type int $ad_group_bid_modifier_error - * The reasons for the ad group bid modifier error - * @type int $context_error - * The reasons for the context error - * @type int $field_error - * The reasons for the field error - * @type int $shared_set_error - * The reasons for the shared set error - * @type int $shared_criterion_error - * The reasons for the shared criterion error - * @type int $campaign_shared_set_error - * The reasons for the campaign shared set error - * @type int $conversion_action_error - * The reasons for the conversion action error - * @type int $conversion_adjustment_upload_error - * The reasons for the conversion adjustment upload error - * @type int $conversion_custom_variable_error - * The reasons for the conversion custom variable error - * @type int $conversion_upload_error - * The reasons for the conversion upload error - * @type int $conversion_value_rule_error - * The reasons for the conversion value rule error - * @type int $conversion_value_rule_set_error - * The reasons for the conversion value rule set error - * @type int $header_error - * The reasons for the header error. - * @type int $database_error - * The reasons for the database error. - * @type int $policy_finding_error - * The reasons for the policy finding error. - * @type int $enum_error - * The reason for enum error. - * @type int $keyword_plan_error - * The reason for keyword plan error. - * @type int $keyword_plan_campaign_error - * The reason for keyword plan campaign error. - * @type int $keyword_plan_campaign_keyword_error - * The reason for keyword plan campaign keyword error. - * @type int $keyword_plan_ad_group_error - * The reason for keyword plan ad group error. - * @type int $keyword_plan_ad_group_keyword_error - * The reason for keyword plan ad group keyword error. - * @type int $keyword_plan_idea_error - * The reason for keyword idea error. - * @type int $account_budget_proposal_error - * The reasons for account budget proposal errors. - * @type int $user_list_error - * The reasons for the user list error - * @type int $change_event_error - * The reasons for the change event error - * @type int $change_status_error - * The reasons for the change status error - * @type int $feed_error - * The reasons for the feed error - * @type int $geo_target_constant_suggestion_error - * The reasons for the geo target constant suggestion error. - * @type int $campaign_draft_error - * The reasons for the campaign draft error - * @type int $feed_item_error - * The reasons for the feed item error - * @type int $label_error - * The reason for the label error. - * @type int $billing_setup_error - * The reasons for the billing setup error - * @type int $customer_client_link_error - * The reasons for the customer client link error - * @type int $customer_manager_link_error - * The reasons for the customer manager link error - * @type int $feed_mapping_error - * The reasons for the feed mapping error - * @type int $customer_feed_error - * The reasons for the customer feed error - * @type int $ad_group_feed_error - * The reasons for the ad group feed error - * @type int $campaign_feed_error - * The reasons for the campaign feed error - * @type int $custom_interest_error - * The reasons for the custom interest error - * @type int $campaign_experiment_error - * The reasons for the campaign experiment error - * @type int $extension_feed_item_error - * The reasons for the extension feed item error - * @type int $ad_parameter_error - * The reasons for the ad parameter error - * @type int $feed_item_validation_error - * The reasons for the feed item validation error - * @type int $extension_setting_error - * The reasons for the extension setting error - * @type int $feed_item_set_error - * The reasons for the feed item set error - * @type int $feed_item_set_link_error - * The reasons for the feed item set link error - * @type int $feed_item_target_error - * The reasons for the feed item target error - * @type int $policy_violation_error - * The reasons for the policy violation error - * @type int $partial_failure_error - * The reasons for the mutate job error - * @type int $policy_validation_parameter_error - * The reasons for the policy validation parameter error - * @type int $size_limit_error - * The reasons for the size limit error - * @type int $offline_user_data_job_error - * The reasons for the offline user data job error. - * @type int $not_allowlisted_error - * The reasons for the not allowlisted error - * @type int $manager_link_error - * The reasons for the manager link error - * @type int $currency_code_error - * The reasons for the currency code error - * @type int $experiment_error - * The reasons for the experiment error - * @type int $access_invitation_error - * The reasons for the access invitation error - * @type int $reach_plan_error - * The reasons for the reach plan error - * @type int $invoice_error - * The reasons for the invoice error - * @type int $payments_account_error - * The reasons for errors in payments accounts service - * @type int $time_zone_error - * The reasons for the time zone error - * @type int $asset_link_error - * The reasons for the asset link error - * @type int $user_data_error - * The reasons for the user data error. - * @type int $batch_job_error - * The reasons for the batch job error - * @type int $account_link_error - * The reasons for the account link status change error - * @type int $third_party_app_analytics_link_error - * The reasons for the third party app analytics link mutate error - * @type int $customer_user_access_error - * The reasons for the customer user access mutate error - * @type int $custom_audience_error - * The reasons for the custom audience error - * @type int $audience_error - * The reasons for the audience error - * @type int $search_term_insight_error - * The reasons for the Search term insight error - * @type int $smart_campaign_error - * The reasons for the Smart campaign error - * @type int $experiment_arm_error - * The reasons for the experiment arm error - * @type int $audience_insights_error - * The reasons for the Audience Insights error - * @type int $product_link_error - * The reasons for the product link error - * @type int $customer_sk_ad_network_conversion_value_schema_error - * The reasons for the customer SK Ad network conversion value schema error - * @type int $currency_error - * The reasons for the currency errors. - * @type int $asset_group_signal_error - * The reasons for the asset group hint error - * @type int $product_link_invitation_error - * The reasons for the product link invitation error - * @type int $customer_lifecycle_goal_error - * The reasons for the customer lifecycle goal error - * @type int $campaign_lifecycle_goal_error - * The reasons for the campaign lifecycle goal error - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * An error caused by the request - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RequestErrorEnum.RequestError request_error = 1; - * @return int - */ - public function getRequestError() - { - return $this->readOneof(1); - } - - public function hasRequestError() - { - return $this->hasOneof(1); - } - - /** - * An error caused by the request - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RequestErrorEnum.RequestError request_error = 1; - * @param int $var - * @return $this - */ - public function setRequestError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\RequestErrorEnum\RequestError::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * An error with a Bidding Strategy mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.BiddingStrategyErrorEnum.BiddingStrategyError bidding_strategy_error = 2; - * @return int - */ - public function getBiddingStrategyError() - { - return $this->readOneof(2); - } - - public function hasBiddingStrategyError() - { - return $this->hasOneof(2); - } - - /** - * An error with a Bidding Strategy mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.BiddingStrategyErrorEnum.BiddingStrategyError bidding_strategy_error = 2; - * @param int $var - * @return $this - */ - public function setBiddingStrategyError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\BiddingStrategyErrorEnum\BiddingStrategyError::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * An error with a URL field mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.UrlFieldErrorEnum.UrlFieldError url_field_error = 3; - * @return int - */ - public function getUrlFieldError() - { - return $this->readOneof(3); - } - - public function hasUrlFieldError() - { - return $this->hasOneof(3); - } - - /** - * An error with a URL field mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.UrlFieldErrorEnum.UrlFieldError url_field_error = 3; - * @param int $var - * @return $this - */ - public function setUrlFieldError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\UrlFieldErrorEnum\UrlFieldError::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * An error with a list operation. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ListOperationErrorEnum.ListOperationError list_operation_error = 4; - * @return int - */ - public function getListOperationError() - { - return $this->readOneof(4); - } - - public function hasListOperationError() - { - return $this->hasOneof(4); - } - - /** - * An error with a list operation. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ListOperationErrorEnum.ListOperationError list_operation_error = 4; - * @param int $var - * @return $this - */ - public function setListOperationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ListOperationErrorEnum\ListOperationError::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * An error with an AWQL query - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QueryErrorEnum.QueryError query_error = 5; - * @return int - */ - public function getQueryError() - { - return $this->readOneof(5); - } - - public function hasQueryError() - { - return $this->hasOneof(5); - } - - /** - * An error with an AWQL query - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QueryErrorEnum.QueryError query_error = 5; - * @param int $var - * @return $this - */ - public function setQueryError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\QueryErrorEnum\QueryError::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * An error with a mutate - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MutateErrorEnum.MutateError mutate_error = 7; - * @return int - */ - public function getMutateError() - { - return $this->readOneof(7); - } - - public function hasMutateError() - { - return $this->hasOneof(7); - } - - /** - * An error with a mutate - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MutateErrorEnum.MutateError mutate_error = 7; - * @param int $var - * @return $this - */ - public function setMutateError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\MutateErrorEnum\MutateError::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * An error with a field mask - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FieldMaskErrorEnum.FieldMaskError field_mask_error = 8; - * @return int - */ - public function getFieldMaskError() - { - return $this->readOneof(8); - } - - public function hasFieldMaskError() - { - return $this->hasOneof(8); - } - - /** - * An error with a field mask - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FieldMaskErrorEnum.FieldMaskError field_mask_error = 8; - * @param int $var - * @return $this - */ - public function setFieldMaskError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FieldMaskErrorEnum\FieldMaskError::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * An error encountered when trying to authorize a user. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AuthorizationErrorEnum.AuthorizationError authorization_error = 9; - * @return int - */ - public function getAuthorizationError() - { - return $this->readOneof(9); - } - - public function hasAuthorizationError() - { - return $this->hasOneof(9); - } - - /** - * An error encountered when trying to authorize a user. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AuthorizationErrorEnum.AuthorizationError authorization_error = 9; - * @param int $var - * @return $this - */ - public function setAuthorizationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AuthorizationErrorEnum\AuthorizationError::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * An unexpected server-side error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.InternalErrorEnum.InternalError internal_error = 10; - * @return int - */ - public function getInternalError() - { - return $this->readOneof(10); - } - - public function hasInternalError() - { - return $this->hasOneof(10); - } - - /** - * An unexpected server-side error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.InternalErrorEnum.InternalError internal_error = 10; - * @param int $var - * @return $this - */ - public function setInternalError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\InternalErrorEnum\InternalError::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * An error with the amount of quota remaining. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QuotaErrorEnum.QuotaError quota_error = 11; - * @return int - */ - public function getQuotaError() - { - return $this->readOneof(11); - } - - public function hasQuotaError() - { - return $this->hasOneof(11); - } - - /** - * An error with the amount of quota remaining. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QuotaErrorEnum.QuotaError quota_error = 11; - * @param int $var - * @return $this - */ - public function setQuotaError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\QuotaErrorEnum\QuotaError::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * An error with an Ad Group Ad mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdErrorEnum.AdError ad_error = 12; - * @return int - */ - public function getAdError() - { - return $this->readOneof(12); - } - - public function hasAdError() - { - return $this->hasOneof(12); - } - - /** - * An error with an Ad Group Ad mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdErrorEnum.AdError ad_error = 12; - * @param int $var - * @return $this - */ - public function setAdError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdErrorEnum\AdError::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * An error with an Ad Group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupErrorEnum.AdGroupError ad_group_error = 13; - * @return int - */ - public function getAdGroupError() - { - return $this->readOneof(13); - } - - public function hasAdGroupError() - { - return $this->hasOneof(13); - } - - /** - * An error with an Ad Group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupErrorEnum.AdGroupError ad_group_error = 13; - * @param int $var - * @return $this - */ - public function setAdGroupError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdGroupErrorEnum\AdGroupError::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * An error with a Campaign Budget mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignBudgetErrorEnum.CampaignBudgetError campaign_budget_error = 14; - * @return int - */ - public function getCampaignBudgetError() - { - return $this->readOneof(14); - } - - public function hasCampaignBudgetError() - { - return $this->hasOneof(14); - } - - /** - * An error with a Campaign Budget mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignBudgetErrorEnum.CampaignBudgetError campaign_budget_error = 14; - * @param int $var - * @return $this - */ - public function setCampaignBudgetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignBudgetErrorEnum\CampaignBudgetError::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * An error with a Campaign mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignErrorEnum.CampaignError campaign_error = 15; - * @return int - */ - public function getCampaignError() - { - return $this->readOneof(15); - } - - public function hasCampaignError() - { - return $this->hasOneof(15); - } - - /** - * An error with a Campaign mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignErrorEnum.CampaignError campaign_error = 15; - * @param int $var - * @return $this - */ - public function setCampaignError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignErrorEnum\CampaignError::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Indicates failure to properly authenticate user. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AuthenticationErrorEnum.AuthenticationError authentication_error = 17; - * @return int - */ - public function getAuthenticationError() - { - return $this->readOneof(17); - } - - public function hasAuthenticationError() - { - return $this->hasOneof(17); - } - - /** - * Indicates failure to properly authenticate user. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AuthenticationErrorEnum.AuthenticationError authentication_error = 17; - * @param int $var - * @return $this - */ - public function setAuthenticationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AuthenticationErrorEnum\AuthenticationError::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * The reasons for the ad group criterion customizer error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupCriterionCustomizerErrorEnum.AdGroupCriterionCustomizerError ad_group_criterion_customizer_error = 161; - * @return int - */ - public function getAdGroupCriterionCustomizerError() - { - return $this->readOneof(161); - } - - public function hasAdGroupCriterionCustomizerError() - { - return $this->hasOneof(161); - } - - /** - * The reasons for the ad group criterion customizer error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupCriterionCustomizerErrorEnum.AdGroupCriterionCustomizerError ad_group_criterion_customizer_error = 161; - * @param int $var - * @return $this - */ - public function setAdGroupCriterionCustomizerError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdGroupCriterionCustomizerErrorEnum\AdGroupCriterionCustomizerError::class); - $this->writeOneof(161, $var); - - return $this; - } - - /** - * Indicates failure to properly authenticate user. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError ad_group_criterion_error = 18; - * @return int - */ - public function getAdGroupCriterionError() - { - return $this->readOneof(18); - } - - public function hasAdGroupCriterionError() - { - return $this->hasOneof(18); - } - - /** - * Indicates failure to properly authenticate user. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupCriterionErrorEnum.AdGroupCriterionError ad_group_criterion_error = 18; - * @param int $var - * @return $this - */ - public function setAdGroupCriterionError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdGroupCriterionErrorEnum\AdGroupCriterionError::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * The reasons for the ad group customizer error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupCustomizerErrorEnum.AdGroupCustomizerError ad_group_customizer_error = 159; - * @return int - */ - public function getAdGroupCustomizerError() - { - return $this->readOneof(159); - } - - public function hasAdGroupCustomizerError() - { - return $this->hasOneof(159); - } - - /** - * The reasons for the ad group customizer error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupCustomizerErrorEnum.AdGroupCustomizerError ad_group_customizer_error = 159; - * @param int $var - * @return $this - */ - public function setAdGroupCustomizerError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdGroupCustomizerErrorEnum\AdGroupCustomizerError::class); - $this->writeOneof(159, $var); - - return $this; - } - - /** - * The reasons for the ad customizer error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdCustomizerErrorEnum.AdCustomizerError ad_customizer_error = 19; - * @return int - */ - public function getAdCustomizerError() - { - return $this->readOneof(19); - } - - public function hasAdCustomizerError() - { - return $this->hasOneof(19); - } - - /** - * The reasons for the ad customizer error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdCustomizerErrorEnum.AdCustomizerError ad_customizer_error = 19; - * @param int $var - * @return $this - */ - public function setAdCustomizerError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdCustomizerErrorEnum\AdCustomizerError::class); - $this->writeOneof(19, $var); - - return $this; - } - - /** - * The reasons for the ad group ad error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupAdErrorEnum.AdGroupAdError ad_group_ad_error = 21; - * @return int - */ - public function getAdGroupAdError() - { - return $this->readOneof(21); - } - - public function hasAdGroupAdError() - { - return $this->hasOneof(21); - } - - /** - * The reasons for the ad group ad error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupAdErrorEnum.AdGroupAdError ad_group_ad_error = 21; - * @param int $var - * @return $this - */ - public function setAdGroupAdError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdGroupAdErrorEnum\AdGroupAdError::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * The reasons for the ad sharing error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdSharingErrorEnum.AdSharingError ad_sharing_error = 24; - * @return int - */ - public function getAdSharingError() - { - return $this->readOneof(24); - } - - public function hasAdSharingError() - { - return $this->hasOneof(24); - } - - /** - * The reasons for the ad sharing error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdSharingErrorEnum.AdSharingError ad_sharing_error = 24; - * @param int $var - * @return $this - */ - public function setAdSharingError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdSharingErrorEnum\AdSharingError::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * The reasons for the adx error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdxErrorEnum.AdxError adx_error = 25; - * @return int - */ - public function getAdxError() - { - return $this->readOneof(25); - } - - public function hasAdxError() - { - return $this->hasOneof(25); - } - - /** - * The reasons for the adx error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdxErrorEnum.AdxError adx_error = 25; - * @param int $var - * @return $this - */ - public function setAdxError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdxErrorEnum\AdxError::class); - $this->writeOneof(25, $var); - - return $this; - } - - /** - * The reasons for the asset error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetErrorEnum.AssetError asset_error = 107; - * @return int - */ - public function getAssetError() - { - return $this->readOneof(107); - } - - public function hasAssetError() - { - return $this->hasOneof(107); - } - - /** - * The reasons for the asset error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetErrorEnum.AssetError asset_error = 107; - * @param int $var - * @return $this - */ - public function setAssetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetErrorEnum\AssetError::class); - $this->writeOneof(107, $var); - - return $this; - } - - /** - * The reasons for the asset group asset error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetGroupAssetErrorEnum.AssetGroupAssetError asset_group_asset_error = 149; - * @return int - */ - public function getAssetGroupAssetError() - { - return $this->readOneof(149); - } - - public function hasAssetGroupAssetError() - { - return $this->hasOneof(149); - } - - /** - * The reasons for the asset group asset error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetGroupAssetErrorEnum.AssetGroupAssetError asset_group_asset_error = 149; - * @param int $var - * @return $this - */ - public function setAssetGroupAssetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetGroupAssetErrorEnum\AssetGroupAssetError::class); - $this->writeOneof(149, $var); - - return $this; - } - - /** - * The reasons for the asset group listing group filter error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetGroupListingGroupFilterErrorEnum.AssetGroupListingGroupFilterError asset_group_listing_group_filter_error = 155; - * @return int - */ - public function getAssetGroupListingGroupFilterError() - { - return $this->readOneof(155); - } - - public function hasAssetGroupListingGroupFilterError() - { - return $this->hasOneof(155); - } - - /** - * The reasons for the asset group listing group filter error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetGroupListingGroupFilterErrorEnum.AssetGroupListingGroupFilterError asset_group_listing_group_filter_error = 155; - * @param int $var - * @return $this - */ - public function setAssetGroupListingGroupFilterError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetGroupListingGroupFilterErrorEnum\AssetGroupListingGroupFilterError::class); - $this->writeOneof(155, $var); - - return $this; - } - - /** - * The reasons for the asset group error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetGroupErrorEnum.AssetGroupError asset_group_error = 148; - * @return int - */ - public function getAssetGroupError() - { - return $this->readOneof(148); - } - - public function hasAssetGroupError() - { - return $this->hasOneof(148); - } - - /** - * The reasons for the asset group error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetGroupErrorEnum.AssetGroupError asset_group_error = 148; - * @param int $var - * @return $this - */ - public function setAssetGroupError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetGroupErrorEnum\AssetGroupError::class); - $this->writeOneof(148, $var); - - return $this; - } - - /** - * The reasons for the asset set asset error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetSetAssetErrorEnum.AssetSetAssetError asset_set_asset_error = 153; - * @return int - */ - public function getAssetSetAssetError() - { - return $this->readOneof(153); - } - - public function hasAssetSetAssetError() - { - return $this->hasOneof(153); - } - - /** - * The reasons for the asset set asset error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetSetAssetErrorEnum.AssetSetAssetError asset_set_asset_error = 153; - * @param int $var - * @return $this - */ - public function setAssetSetAssetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetSetAssetErrorEnum\AssetSetAssetError::class); - $this->writeOneof(153, $var); - - return $this; - } - - /** - * The reasons for the asset set link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetSetLinkErrorEnum.AssetSetLinkError asset_set_link_error = 154; - * @return int - */ - public function getAssetSetLinkError() - { - return $this->readOneof(154); - } - - public function hasAssetSetLinkError() - { - return $this->hasOneof(154); - } - - /** - * The reasons for the asset set link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetSetLinkErrorEnum.AssetSetLinkError asset_set_link_error = 154; - * @param int $var - * @return $this - */ - public function setAssetSetLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetSetLinkErrorEnum\AssetSetLinkError::class); - $this->writeOneof(154, $var); - - return $this; - } - - /** - * The reasons for the asset set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetSetErrorEnum.AssetSetError asset_set_error = 152; - * @return int - */ - public function getAssetSetError() - { - return $this->readOneof(152); - } - - public function hasAssetSetError() - { - return $this->hasOneof(152); - } - - /** - * The reasons for the asset set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetSetErrorEnum.AssetSetError asset_set_error = 152; - * @param int $var - * @return $this - */ - public function setAssetSetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetSetErrorEnum\AssetSetError::class); - $this->writeOneof(152, $var); - - return $this; - } - - /** - * The reasons for the bidding errors - * - * Generated from protobuf field .google.ads.googleads.v15.errors.BiddingErrorEnum.BiddingError bidding_error = 26; - * @return int - */ - public function getBiddingError() - { - return $this->readOneof(26); - } - - public function hasBiddingError() - { - return $this->hasOneof(26); - } - - /** - * The reasons for the bidding errors - * - * Generated from protobuf field .google.ads.googleads.v15.errors.BiddingErrorEnum.BiddingError bidding_error = 26; - * @param int $var - * @return $this - */ - public function setBiddingError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\BiddingErrorEnum\BiddingError::class); - $this->writeOneof(26, $var); - - return $this; - } - - /** - * The reasons for the campaign criterion error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignCriterionErrorEnum.CampaignCriterionError campaign_criterion_error = 29; - * @return int - */ - public function getCampaignCriterionError() - { - return $this->readOneof(29); - } - - public function hasCampaignCriterionError() - { - return $this->hasOneof(29); - } - - /** - * The reasons for the campaign criterion error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignCriterionErrorEnum.CampaignCriterionError campaign_criterion_error = 29; - * @param int $var - * @return $this - */ - public function setCampaignCriterionError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignCriterionErrorEnum\CampaignCriterionError::class); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * The reasons for the campaign conversion goal error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignConversionGoalErrorEnum.CampaignConversionGoalError campaign_conversion_goal_error = 166; - * @return int - */ - public function getCampaignConversionGoalError() - { - return $this->readOneof(166); - } - - public function hasCampaignConversionGoalError() - { - return $this->hasOneof(166); - } - - /** - * The reasons for the campaign conversion goal error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignConversionGoalErrorEnum.CampaignConversionGoalError campaign_conversion_goal_error = 166; - * @param int $var - * @return $this - */ - public function setCampaignConversionGoalError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignConversionGoalErrorEnum\CampaignConversionGoalError::class); - $this->writeOneof(166, $var); - - return $this; - } - - /** - * The reasons for the campaign customizer error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignCustomizerErrorEnum.CampaignCustomizerError campaign_customizer_error = 160; - * @return int - */ - public function getCampaignCustomizerError() - { - return $this->readOneof(160); - } - - public function hasCampaignCustomizerError() - { - return $this->hasOneof(160); - } - - /** - * The reasons for the campaign customizer error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignCustomizerErrorEnum.CampaignCustomizerError campaign_customizer_error = 160; - * @param int $var - * @return $this - */ - public function setCampaignCustomizerError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignCustomizerErrorEnum\CampaignCustomizerError::class); - $this->writeOneof(160, $var); - - return $this; - } - - /** - * The reasons for the collection size error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 31; - * @return int - */ - public function getCollectionSizeError() - { - return $this->readOneof(31); - } - - public function hasCollectionSizeError() - { - return $this->hasOneof(31); - } - - /** - * The reasons for the collection size error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 31; - * @param int $var - * @return $this - */ - public function setCollectionSizeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CollectionSizeErrorEnum\CollectionSizeError::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * The reasons for the conversion goal campaign config error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError conversion_goal_campaign_config_error = 165; - * @return int - */ - public function getConversionGoalCampaignConfigError() - { - return $this->readOneof(165); - } - - public function hasConversionGoalCampaignConfigError() - { - return $this->hasOneof(165); - } - - /** - * The reasons for the conversion goal campaign config error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError conversion_goal_campaign_config_error = 165; - * @param int $var - * @return $this - */ - public function setConversionGoalCampaignConfigError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionGoalCampaignConfigErrorEnum\ConversionGoalCampaignConfigError::class); - $this->writeOneof(165, $var); - - return $this; - } - - /** - * The reasons for the country code error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CountryCodeErrorEnum.CountryCodeError country_code_error = 109; - * @return int - */ - public function getCountryCodeError() - { - return $this->readOneof(109); - } - - public function hasCountryCodeError() - { - return $this->hasOneof(109); - } - - /** - * The reasons for the country code error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CountryCodeErrorEnum.CountryCodeError country_code_error = 109; - * @param int $var - * @return $this - */ - public function setCountryCodeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CountryCodeErrorEnum\CountryCodeError::class); - $this->writeOneof(109, $var); - - return $this; - } - - /** - * The reasons for the criterion error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CriterionErrorEnum.CriterionError criterion_error = 32; - * @return int - */ - public function getCriterionError() - { - return $this->readOneof(32); - } - - public function hasCriterionError() - { - return $this->hasOneof(32); - } - - /** - * The reasons for the criterion error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CriterionErrorEnum.CriterionError criterion_error = 32; - * @param int $var - * @return $this - */ - public function setCriterionError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CriterionErrorEnum\CriterionError::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * The reasons for the custom conversion goal error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomConversionGoalErrorEnum.CustomConversionGoalError custom_conversion_goal_error = 150; - * @return int - */ - public function getCustomConversionGoalError() - { - return $this->readOneof(150); - } - - public function hasCustomConversionGoalError() - { - return $this->hasOneof(150); - } - - /** - * The reasons for the custom conversion goal error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomConversionGoalErrorEnum.CustomConversionGoalError custom_conversion_goal_error = 150; - * @param int $var - * @return $this - */ - public function setCustomConversionGoalError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomConversionGoalErrorEnum\CustomConversionGoalError::class); - $this->writeOneof(150, $var); - - return $this; - } - - /** - * The reasons for the customer customizer error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerCustomizerErrorEnum.CustomerCustomizerError customer_customizer_error = 158; - * @return int - */ - public function getCustomerCustomizerError() - { - return $this->readOneof(158); - } - - public function hasCustomerCustomizerError() - { - return $this->hasOneof(158); - } - - /** - * The reasons for the customer customizer error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerCustomizerErrorEnum.CustomerCustomizerError customer_customizer_error = 158; - * @param int $var - * @return $this - */ - public function setCustomerCustomizerError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomerCustomizerErrorEnum\CustomerCustomizerError::class); - $this->writeOneof(158, $var); - - return $this; - } - - /** - * The reasons for the customer error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerErrorEnum.CustomerError customer_error = 90; - * @return int - */ - public function getCustomerError() - { - return $this->readOneof(90); - } - - public function hasCustomerError() - { - return $this->hasOneof(90); - } - - /** - * The reasons for the customer error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerErrorEnum.CustomerError customer_error = 90; - * @param int $var - * @return $this - */ - public function setCustomerError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomerErrorEnum\CustomerError::class); - $this->writeOneof(90, $var); - - return $this; - } - - /** - * The reasons for the customizer attribute error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomizerAttributeErrorEnum.CustomizerAttributeError customizer_attribute_error = 151; - * @return int - */ - public function getCustomizerAttributeError() - { - return $this->readOneof(151); - } - - public function hasCustomizerAttributeError() - { - return $this->hasOneof(151); - } - - /** - * The reasons for the customizer attribute error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomizerAttributeErrorEnum.CustomizerAttributeError customizer_attribute_error = 151; - * @param int $var - * @return $this - */ - public function setCustomizerAttributeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomizerAttributeErrorEnum\CustomizerAttributeError::class); - $this->writeOneof(151, $var); - - return $this; - } - - /** - * The reasons for the date error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DateErrorEnum.DateError date_error = 33; - * @return int - */ - public function getDateError() - { - return $this->readOneof(33); - } - - public function hasDateError() - { - return $this->hasOneof(33); - } - - /** - * The reasons for the date error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DateErrorEnum.DateError date_error = 33; - * @param int $var - * @return $this - */ - public function setDateError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\DateErrorEnum\DateError::class); - $this->writeOneof(33, $var); - - return $this; - } - - /** - * The reasons for the date range error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DateRangeErrorEnum.DateRangeError date_range_error = 34; - * @return int - */ - public function getDateRangeError() - { - return $this->readOneof(34); - } - - public function hasDateRangeError() - { - return $this->hasOneof(34); - } - - /** - * The reasons for the date range error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DateRangeErrorEnum.DateRangeError date_range_error = 34; - * @param int $var - * @return $this - */ - public function setDateRangeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\DateRangeErrorEnum\DateRangeError::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * The reasons for the distinct error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DistinctErrorEnum.DistinctError distinct_error = 35; - * @return int - */ - public function getDistinctError() - { - return $this->readOneof(35); - } - - public function hasDistinctError() - { - return $this->hasOneof(35); - } - - /** - * The reasons for the distinct error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DistinctErrorEnum.DistinctError distinct_error = 35; - * @param int $var - * @return $this - */ - public function setDistinctError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\DistinctErrorEnum\DistinctError::class); - $this->writeOneof(35, $var); - - return $this; - } - - /** - * The reasons for the feed attribute reference error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError feed_attribute_reference_error = 36; - * @return int - */ - public function getFeedAttributeReferenceError() - { - return $this->readOneof(36); - } - - public function hasFeedAttributeReferenceError() - { - return $this->hasOneof(36); - } - - /** - * The reasons for the feed attribute reference error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError feed_attribute_reference_error = 36; - * @param int $var - * @return $this - */ - public function setFeedAttributeReferenceError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedAttributeReferenceErrorEnum\FeedAttributeReferenceError::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * The reasons for the function error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FunctionErrorEnum.FunctionError function_error = 37; - * @return int - */ - public function getFunctionError() - { - return $this->readOneof(37); - } - - public function hasFunctionError() - { - return $this->hasOneof(37); - } - - /** - * The reasons for the function error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FunctionErrorEnum.FunctionError function_error = 37; - * @param int $var - * @return $this - */ - public function setFunctionError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FunctionErrorEnum\FunctionError::class); - $this->writeOneof(37, $var); - - return $this; - } - - /** - * The reasons for the function parsing error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FunctionParsingErrorEnum.FunctionParsingError function_parsing_error = 38; - * @return int - */ - public function getFunctionParsingError() - { - return $this->readOneof(38); - } - - public function hasFunctionParsingError() - { - return $this->hasOneof(38); - } - - /** - * The reasons for the function parsing error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FunctionParsingErrorEnum.FunctionParsingError function_parsing_error = 38; - * @param int $var - * @return $this - */ - public function setFunctionParsingError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FunctionParsingErrorEnum\FunctionParsingError::class); - $this->writeOneof(38, $var); - - return $this; - } - - /** - * The reasons for the id error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.IdErrorEnum.IdError id_error = 39; - * @return int - */ - public function getIdError() - { - return $this->readOneof(39); - } - - public function hasIdError() - { - return $this->hasOneof(39); - } - - /** - * The reasons for the id error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.IdErrorEnum.IdError id_error = 39; - * @param int $var - * @return $this - */ - public function setIdError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\IdErrorEnum\IdError::class); - $this->writeOneof(39, $var); - - return $this; - } - - /** - * The reasons for the image error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ImageErrorEnum.ImageError image_error = 40; - * @return int - */ - public function getImageError() - { - return $this->readOneof(40); - } - - public function hasImageError() - { - return $this->hasOneof(40); - } - - /** - * The reasons for the image error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ImageErrorEnum.ImageError image_error = 40; - * @param int $var - * @return $this - */ - public function setImageError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ImageErrorEnum\ImageError::class); - $this->writeOneof(40, $var); - - return $this; - } - - /** - * The reasons for the language code error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.LanguageCodeErrorEnum.LanguageCodeError language_code_error = 110; - * @return int - */ - public function getLanguageCodeError() - { - return $this->readOneof(110); - } - - public function hasLanguageCodeError() - { - return $this->hasOneof(110); - } - - /** - * The reasons for the language code error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.LanguageCodeErrorEnum.LanguageCodeError language_code_error = 110; - * @param int $var - * @return $this - */ - public function setLanguageCodeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\LanguageCodeErrorEnum\LanguageCodeError::class); - $this->writeOneof(110, $var); - - return $this; - } - - /** - * The reasons for the media bundle error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MediaBundleErrorEnum.MediaBundleError media_bundle_error = 42; - * @return int - */ - public function getMediaBundleError() - { - return $this->readOneof(42); - } - - public function hasMediaBundleError() - { - return $this->hasOneof(42); - } - - /** - * The reasons for the media bundle error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MediaBundleErrorEnum.MediaBundleError media_bundle_error = 42; - * @param int $var - * @return $this - */ - public function setMediaBundleError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\MediaBundleErrorEnum\MediaBundleError::class); - $this->writeOneof(42, $var); - - return $this; - } - - /** - * The reasons for media uploading errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MediaUploadErrorEnum.MediaUploadError media_upload_error = 116; - * @return int - */ - public function getMediaUploadError() - { - return $this->readOneof(116); - } - - public function hasMediaUploadError() - { - return $this->hasOneof(116); - } - - /** - * The reasons for media uploading errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MediaUploadErrorEnum.MediaUploadError media_upload_error = 116; - * @param int $var - * @return $this - */ - public function setMediaUploadError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\MediaUploadErrorEnum\MediaUploadError::class); - $this->writeOneof(116, $var); - - return $this; - } - - /** - * The reasons for the media file error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MediaFileErrorEnum.MediaFileError media_file_error = 86; - * @return int - */ - public function getMediaFileError() - { - return $this->readOneof(86); - } - - public function hasMediaFileError() - { - return $this->hasOneof(86); - } - - /** - * The reasons for the media file error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MediaFileErrorEnum.MediaFileError media_file_error = 86; - * @param int $var - * @return $this - */ - public function setMediaFileError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\MediaFileErrorEnum\MediaFileError::class); - $this->writeOneof(86, $var); - - return $this; - } - - /** - * Container for enum describing possible merchant center errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MerchantCenterErrorEnum.MerchantCenterError merchant_center_error = 162; - * @return int - */ - public function getMerchantCenterError() - { - return $this->readOneof(162); - } - - public function hasMerchantCenterError() - { - return $this->hasOneof(162); - } - - /** - * Container for enum describing possible merchant center errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MerchantCenterErrorEnum.MerchantCenterError merchant_center_error = 162; - * @param int $var - * @return $this - */ - public function setMerchantCenterError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\MerchantCenterErrorEnum\MerchantCenterError::class); - $this->writeOneof(162, $var); - - return $this; - } - - /** - * The reasons for the multiplier error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MultiplierErrorEnum.MultiplierError multiplier_error = 44; - * @return int - */ - public function getMultiplierError() - { - return $this->readOneof(44); - } - - public function hasMultiplierError() - { - return $this->hasOneof(44); - } - - /** - * The reasons for the multiplier error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MultiplierErrorEnum.MultiplierError multiplier_error = 44; - * @param int $var - * @return $this - */ - public function setMultiplierError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\MultiplierErrorEnum\MultiplierError::class); - $this->writeOneof(44, $var); - - return $this; - } - - /** - * The reasons for the new resource creation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NewResourceCreationErrorEnum.NewResourceCreationError new_resource_creation_error = 45; - * @return int - */ - public function getNewResourceCreationError() - { - return $this->readOneof(45); - } - - public function hasNewResourceCreationError() - { - return $this->hasOneof(45); - } - - /** - * The reasons for the new resource creation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NewResourceCreationErrorEnum.NewResourceCreationError new_resource_creation_error = 45; - * @param int $var - * @return $this - */ - public function setNewResourceCreationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\NewResourceCreationErrorEnum\NewResourceCreationError::class); - $this->writeOneof(45, $var); - - return $this; - } - - /** - * The reasons for the not empty error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NotEmptyErrorEnum.NotEmptyError not_empty_error = 46; - * @return int - */ - public function getNotEmptyError() - { - return $this->readOneof(46); - } - - public function hasNotEmptyError() - { - return $this->hasOneof(46); - } - - /** - * The reasons for the not empty error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NotEmptyErrorEnum.NotEmptyError not_empty_error = 46; - * @param int $var - * @return $this - */ - public function setNotEmptyError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\NotEmptyErrorEnum\NotEmptyError::class); - $this->writeOneof(46, $var); - - return $this; - } - - /** - * The reasons for the null error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NullErrorEnum.NullError null_error = 47; - * @return int - */ - public function getNullError() - { - return $this->readOneof(47); - } - - public function hasNullError() - { - return $this->hasOneof(47); - } - - /** - * The reasons for the null error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NullErrorEnum.NullError null_error = 47; - * @param int $var - * @return $this - */ - public function setNullError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\NullErrorEnum\NullError::class); - $this->writeOneof(47, $var); - - return $this; - } - - /** - * The reasons for the operator error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.OperatorErrorEnum.OperatorError operator_error = 48; - * @return int - */ - public function getOperatorError() - { - return $this->readOneof(48); - } - - public function hasOperatorError() - { - return $this->hasOneof(48); - } - - /** - * The reasons for the operator error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.OperatorErrorEnum.OperatorError operator_error = 48; - * @param int $var - * @return $this - */ - public function setOperatorError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\OperatorErrorEnum\OperatorError::class); - $this->writeOneof(48, $var); - - return $this; - } - - /** - * The reasons for the range error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RangeErrorEnum.RangeError range_error = 49; - * @return int - */ - public function getRangeError() - { - return $this->readOneof(49); - } - - public function hasRangeError() - { - return $this->hasOneof(49); - } - - /** - * The reasons for the range error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RangeErrorEnum.RangeError range_error = 49; - * @param int $var - * @return $this - */ - public function setRangeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\RangeErrorEnum\RangeError::class); - $this->writeOneof(49, $var); - - return $this; - } - - /** - * The reasons for error in applying a recommendation - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RecommendationErrorEnum.RecommendationError recommendation_error = 58; - * @return int - */ - public function getRecommendationError() - { - return $this->readOneof(58); - } - - public function hasRecommendationError() - { - return $this->hasOneof(58); - } - - /** - * The reasons for error in applying a recommendation - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RecommendationErrorEnum.RecommendationError recommendation_error = 58; - * @param int $var - * @return $this - */ - public function setRecommendationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\RecommendationErrorEnum\RecommendationError::class); - $this->writeOneof(58, $var); - - return $this; - } - - /** - * The reasons for the recommendation subscription error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RecommendationSubscriptionErrorEnum.RecommendationSubscriptionError recommendation_subscription_error = 180; - * @return int - */ - public function getRecommendationSubscriptionError() - { - return $this->readOneof(180); - } - - public function hasRecommendationSubscriptionError() - { - return $this->hasOneof(180); - } - - /** - * The reasons for the recommendation subscription error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RecommendationSubscriptionErrorEnum.RecommendationSubscriptionError recommendation_subscription_error = 180; - * @param int $var - * @return $this - */ - public function setRecommendationSubscriptionError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\RecommendationSubscriptionErrorEnum\RecommendationSubscriptionError::class); - $this->writeOneof(180, $var); - - return $this; - } - - /** - * The reasons for the region code error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RegionCodeErrorEnum.RegionCodeError region_code_error = 51; - * @return int - */ - public function getRegionCodeError() - { - return $this->readOneof(51); - } - - public function hasRegionCodeError() - { - return $this->hasOneof(51); - } - - /** - * The reasons for the region code error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.RegionCodeErrorEnum.RegionCodeError region_code_error = 51; - * @param int $var - * @return $this - */ - public function setRegionCodeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\RegionCodeErrorEnum\RegionCodeError::class); - $this->writeOneof(51, $var); - - return $this; - } - - /** - * The reasons for the setting error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SettingErrorEnum.SettingError setting_error = 52; - * @return int - */ - public function getSettingError() - { - return $this->readOneof(52); - } - - public function hasSettingError() - { - return $this->hasOneof(52); - } - - /** - * The reasons for the setting error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SettingErrorEnum.SettingError setting_error = 52; - * @param int $var - * @return $this - */ - public function setSettingError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\SettingErrorEnum\SettingError::class); - $this->writeOneof(52, $var); - - return $this; - } - - /** - * The reasons for the string format error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.StringFormatErrorEnum.StringFormatError string_format_error = 53; - * @return int - */ - public function getStringFormatError() - { - return $this->readOneof(53); - } - - public function hasStringFormatError() - { - return $this->hasOneof(53); - } - - /** - * The reasons for the string format error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.StringFormatErrorEnum.StringFormatError string_format_error = 53; - * @param int $var - * @return $this - */ - public function setStringFormatError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\StringFormatErrorEnum\StringFormatError::class); - $this->writeOneof(53, $var); - - return $this; - } - - /** - * The reasons for the string length error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.StringLengthErrorEnum.StringLengthError string_length_error = 54; - * @return int - */ - public function getStringLengthError() - { - return $this->readOneof(54); - } - - public function hasStringLengthError() - { - return $this->hasOneof(54); - } - - /** - * The reasons for the string length error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.StringLengthErrorEnum.StringLengthError string_length_error = 54; - * @param int $var - * @return $this - */ - public function setStringLengthError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\StringLengthErrorEnum\StringLengthError::class); - $this->writeOneof(54, $var); - - return $this; - } - - /** - * The reasons for the operation access denied error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError operation_access_denied_error = 55; - * @return int - */ - public function getOperationAccessDeniedError() - { - return $this->readOneof(55); - } - - public function hasOperationAccessDeniedError() - { - return $this->hasOneof(55); - } - - /** - * The reasons for the operation access denied error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError operation_access_denied_error = 55; - * @param int $var - * @return $this - */ - public function setOperationAccessDeniedError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\OperationAccessDeniedErrorEnum\OperationAccessDeniedError::class); - $this->writeOneof(55, $var); - - return $this; - } - - /** - * The reasons for the resource access denied error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedError resource_access_denied_error = 56; - * @return int - */ - public function getResourceAccessDeniedError() - { - return $this->readOneof(56); - } - - public function hasResourceAccessDeniedError() - { - return $this->hasOneof(56); - } - - /** - * The reasons for the resource access denied error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedError resource_access_denied_error = 56; - * @param int $var - * @return $this - */ - public function setResourceAccessDeniedError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ResourceAccessDeniedErrorEnum\ResourceAccessDeniedError::class); - $this->writeOneof(56, $var); - - return $this; - } - - /** - * The reasons for the resource count limit exceeded error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError resource_count_limit_exceeded_error = 57; - * @return int - */ - public function getResourceCountLimitExceededError() - { - return $this->readOneof(57); - } - - public function hasResourceCountLimitExceededError() - { - return $this->hasOneof(57); - } - - /** - * The reasons for the resource count limit exceeded error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError resource_count_limit_exceeded_error = 57; - * @param int $var - * @return $this - */ - public function setResourceCountLimitExceededError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ResourceCountLimitExceededErrorEnum\ResourceCountLimitExceededError::class); - $this->writeOneof(57, $var); - - return $this; - } - - /** - * The reasons for YouTube video registration errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError youtube_video_registration_error = 117; - * @return int - */ - public function getYoutubeVideoRegistrationError() - { - return $this->readOneof(117); - } - - public function hasYoutubeVideoRegistrationError() - { - return $this->hasOneof(117); - } - - /** - * The reasons for YouTube video registration errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError youtube_video_registration_error = 117; - * @param int $var - * @return $this - */ - public function setYoutubeVideoRegistrationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\YoutubeVideoRegistrationErrorEnum\YoutubeVideoRegistrationError::class); - $this->writeOneof(117, $var); - - return $this; - } - - /** - * The reasons for the ad group bid modifier error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierError ad_group_bid_modifier_error = 59; - * @return int - */ - public function getAdGroupBidModifierError() - { - return $this->readOneof(59); - } - - public function hasAdGroupBidModifierError() - { - return $this->hasOneof(59); - } - - /** - * The reasons for the ad group bid modifier error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierError ad_group_bid_modifier_error = 59; - * @param int $var - * @return $this - */ - public function setAdGroupBidModifierError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdGroupBidModifierErrorEnum\AdGroupBidModifierError::class); - $this->writeOneof(59, $var); - - return $this; - } - - /** - * The reasons for the context error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ContextErrorEnum.ContextError context_error = 60; - * @return int - */ - public function getContextError() - { - return $this->readOneof(60); - } - - public function hasContextError() - { - return $this->hasOneof(60); - } - - /** - * The reasons for the context error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ContextErrorEnum.ContextError context_error = 60; - * @param int $var - * @return $this - */ - public function setContextError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ContextErrorEnum\ContextError::class); - $this->writeOneof(60, $var); - - return $this; - } - - /** - * The reasons for the field error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FieldErrorEnum.FieldError field_error = 61; - * @return int - */ - public function getFieldError() - { - return $this->readOneof(61); - } - - public function hasFieldError() - { - return $this->hasOneof(61); - } - - /** - * The reasons for the field error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FieldErrorEnum.FieldError field_error = 61; - * @param int $var - * @return $this - */ - public function setFieldError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FieldErrorEnum\FieldError::class); - $this->writeOneof(61, $var); - - return $this; - } - - /** - * The reasons for the shared set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SharedSetErrorEnum.SharedSetError shared_set_error = 62; - * @return int - */ - public function getSharedSetError() - { - return $this->readOneof(62); - } - - public function hasSharedSetError() - { - return $this->hasOneof(62); - } - - /** - * The reasons for the shared set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SharedSetErrorEnum.SharedSetError shared_set_error = 62; - * @param int $var - * @return $this - */ - public function setSharedSetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\SharedSetErrorEnum\SharedSetError::class); - $this->writeOneof(62, $var); - - return $this; - } - - /** - * The reasons for the shared criterion error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SharedCriterionErrorEnum.SharedCriterionError shared_criterion_error = 63; - * @return int - */ - public function getSharedCriterionError() - { - return $this->readOneof(63); - } - - public function hasSharedCriterionError() - { - return $this->hasOneof(63); - } - - /** - * The reasons for the shared criterion error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SharedCriterionErrorEnum.SharedCriterionError shared_criterion_error = 63; - * @param int $var - * @return $this - */ - public function setSharedCriterionError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\SharedCriterionErrorEnum\SharedCriterionError::class); - $this->writeOneof(63, $var); - - return $this; - } - - /** - * The reasons for the campaign shared set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError campaign_shared_set_error = 64; - * @return int - */ - public function getCampaignSharedSetError() - { - return $this->readOneof(64); - } - - public function hasCampaignSharedSetError() - { - return $this->hasOneof(64); - } - - /** - * The reasons for the campaign shared set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError campaign_shared_set_error = 64; - * @param int $var - * @return $this - */ - public function setCampaignSharedSetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignSharedSetErrorEnum\CampaignSharedSetError::class); - $this->writeOneof(64, $var); - - return $this; - } - - /** - * The reasons for the conversion action error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionActionErrorEnum.ConversionActionError conversion_action_error = 65; - * @return int - */ - public function getConversionActionError() - { - return $this->readOneof(65); - } - - public function hasConversionActionError() - { - return $this->hasOneof(65); - } - - /** - * The reasons for the conversion action error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionActionErrorEnum.ConversionActionError conversion_action_error = 65; - * @param int $var - * @return $this - */ - public function setConversionActionError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionActionErrorEnum\ConversionActionError::class); - $this->writeOneof(65, $var); - - return $this; - } - - /** - * The reasons for the conversion adjustment upload error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 115; - * @return int - */ - public function getConversionAdjustmentUploadError() - { - return $this->readOneof(115); - } - - public function hasConversionAdjustmentUploadError() - { - return $this->hasOneof(115); - } - - /** - * The reasons for the conversion adjustment upload error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 115; - * @param int $var - * @return $this - */ - public function setConversionAdjustmentUploadError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionAdjustmentUploadErrorEnum\ConversionAdjustmentUploadError::class); - $this->writeOneof(115, $var); - - return $this; - } - - /** - * The reasons for the conversion custom variable error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionCustomVariableErrorEnum.ConversionCustomVariableError conversion_custom_variable_error = 143; - * @return int - */ - public function getConversionCustomVariableError() - { - return $this->readOneof(143); - } - - public function hasConversionCustomVariableError() - { - return $this->hasOneof(143); - } - - /** - * The reasons for the conversion custom variable error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionCustomVariableErrorEnum.ConversionCustomVariableError conversion_custom_variable_error = 143; - * @param int $var - * @return $this - */ - public function setConversionCustomVariableError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionCustomVariableErrorEnum\ConversionCustomVariableError::class); - $this->writeOneof(143, $var); - - return $this; - } - - /** - * The reasons for the conversion upload error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 111; - * @return int - */ - public function getConversionUploadError() - { - return $this->readOneof(111); - } - - public function hasConversionUploadError() - { - return $this->hasOneof(111); - } - - /** - * The reasons for the conversion upload error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 111; - * @param int $var - * @return $this - */ - public function setConversionUploadError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionUploadErrorEnum\ConversionUploadError::class); - $this->writeOneof(111, $var); - - return $this; - } - - /** - * The reasons for the conversion value rule error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionValueRuleErrorEnum.ConversionValueRuleError conversion_value_rule_error = 145; - * @return int - */ - public function getConversionValueRuleError() - { - return $this->readOneof(145); - } - - public function hasConversionValueRuleError() - { - return $this->hasOneof(145); - } - - /** - * The reasons for the conversion value rule error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionValueRuleErrorEnum.ConversionValueRuleError conversion_value_rule_error = 145; - * @param int $var - * @return $this - */ - public function setConversionValueRuleError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionValueRuleErrorEnum\ConversionValueRuleError::class); - $this->writeOneof(145, $var); - - return $this; - } - - /** - * The reasons for the conversion value rule set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError conversion_value_rule_set_error = 146; - * @return int - */ - public function getConversionValueRuleSetError() - { - return $this->readOneof(146); - } - - public function hasConversionValueRuleSetError() - { - return $this->hasOneof(146); - } - - /** - * The reasons for the conversion value rule set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError conversion_value_rule_set_error = 146; - * @param int $var - * @return $this - */ - public function setConversionValueRuleSetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionValueRuleSetErrorEnum\ConversionValueRuleSetError::class); - $this->writeOneof(146, $var); - - return $this; - } - - /** - * The reasons for the header error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.HeaderErrorEnum.HeaderError header_error = 66; - * @return int - */ - public function getHeaderError() - { - return $this->readOneof(66); - } - - public function hasHeaderError() - { - return $this->hasOneof(66); - } - - /** - * The reasons for the header error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.HeaderErrorEnum.HeaderError header_error = 66; - * @param int $var - * @return $this - */ - public function setHeaderError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\HeaderErrorEnum\HeaderError::class); - $this->writeOneof(66, $var); - - return $this; - } - - /** - * The reasons for the database error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DatabaseErrorEnum.DatabaseError database_error = 67; - * @return int - */ - public function getDatabaseError() - { - return $this->readOneof(67); - } - - public function hasDatabaseError() - { - return $this->hasOneof(67); - } - - /** - * The reasons for the database error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DatabaseErrorEnum.DatabaseError database_error = 67; - * @param int $var - * @return $this - */ - public function setDatabaseError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\DatabaseErrorEnum\DatabaseError::class); - $this->writeOneof(67, $var); - - return $this; - } - - /** - * The reasons for the policy finding error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyFindingErrorEnum.PolicyFindingError policy_finding_error = 68; - * @return int - */ - public function getPolicyFindingError() - { - return $this->readOneof(68); - } - - public function hasPolicyFindingError() - { - return $this->hasOneof(68); - } - - /** - * The reasons for the policy finding error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyFindingErrorEnum.PolicyFindingError policy_finding_error = 68; - * @param int $var - * @return $this - */ - public function setPolicyFindingError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\PolicyFindingErrorEnum\PolicyFindingError::class); - $this->writeOneof(68, $var); - - return $this; - } - - /** - * The reason for enum error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.EnumErrorEnum.EnumError enum_error = 70; - * @return int - */ - public function getEnumError() - { - return $this->readOneof(70); - } - - public function hasEnumError() - { - return $this->hasOneof(70); - } - - /** - * The reason for enum error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.EnumErrorEnum.EnumError enum_error = 70; - * @param int $var - * @return $this - */ - public function setEnumError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\EnumErrorEnum\EnumError::class); - $this->writeOneof(70, $var); - - return $this; - } - - /** - * The reason for keyword plan error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanErrorEnum.KeywordPlanError keyword_plan_error = 71; - * @return int - */ - public function getKeywordPlanError() - { - return $this->readOneof(71); - } - - public function hasKeywordPlanError() - { - return $this->hasOneof(71); - } - - /** - * The reason for keyword plan error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanErrorEnum.KeywordPlanError keyword_plan_error = 71; - * @param int $var - * @return $this - */ - public function setKeywordPlanError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanErrorEnum\KeywordPlanError::class); - $this->writeOneof(71, $var); - - return $this; - } - - /** - * The reason for keyword plan campaign error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError keyword_plan_campaign_error = 72; - * @return int - */ - public function getKeywordPlanCampaignError() - { - return $this->readOneof(72); - } - - public function hasKeywordPlanCampaignError() - { - return $this->hasOneof(72); - } - - /** - * The reason for keyword plan campaign error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError keyword_plan_campaign_error = 72; - * @param int $var - * @return $this - */ - public function setKeywordPlanCampaignError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanCampaignErrorEnum\KeywordPlanCampaignError::class); - $this->writeOneof(72, $var); - - return $this; - } - - /** - * The reason for keyword plan campaign keyword error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError keyword_plan_campaign_keyword_error = 132; - * @return int - */ - public function getKeywordPlanCampaignKeywordError() - { - return $this->readOneof(132); - } - - public function hasKeywordPlanCampaignKeywordError() - { - return $this->hasOneof(132); - } - - /** - * The reason for keyword plan campaign keyword error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError keyword_plan_campaign_keyword_error = 132; - * @param int $var - * @return $this - */ - public function setKeywordPlanCampaignKeywordError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanCampaignKeywordErrorEnum\KeywordPlanCampaignKeywordError::class); - $this->writeOneof(132, $var); - - return $this; - } - - /** - * The reason for keyword plan ad group error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError keyword_plan_ad_group_error = 74; - * @return int - */ - public function getKeywordPlanAdGroupError() - { - return $this->readOneof(74); - } - - public function hasKeywordPlanAdGroupError() - { - return $this->hasOneof(74); - } - - /** - * The reason for keyword plan ad group error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError keyword_plan_ad_group_error = 74; - * @param int $var - * @return $this - */ - public function setKeywordPlanAdGroupError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanAdGroupErrorEnum\KeywordPlanAdGroupError::class); - $this->writeOneof(74, $var); - - return $this; - } - - /** - * The reason for keyword plan ad group keyword error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError keyword_plan_ad_group_keyword_error = 133; - * @return int - */ - public function getKeywordPlanAdGroupKeywordError() - { - return $this->readOneof(133); - } - - public function hasKeywordPlanAdGroupKeywordError() - { - return $this->hasOneof(133); - } - - /** - * The reason for keyword plan ad group keyword error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError keyword_plan_ad_group_keyword_error = 133; - * @param int $var - * @return $this - */ - public function setKeywordPlanAdGroupKeywordError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanAdGroupKeywordErrorEnum\KeywordPlanAdGroupKeywordError::class); - $this->writeOneof(133, $var); - - return $this; - } - - /** - * The reason for keyword idea error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError keyword_plan_idea_error = 76; - * @return int - */ - public function getKeywordPlanIdeaError() - { - return $this->readOneof(76); - } - - public function hasKeywordPlanIdeaError() - { - return $this->hasOneof(76); - } - - /** - * The reason for keyword idea error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError keyword_plan_idea_error = 76; - * @param int $var - * @return $this - */ - public function setKeywordPlanIdeaError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanIdeaErrorEnum\KeywordPlanIdeaError::class); - $this->writeOneof(76, $var); - - return $this; - } - - /** - * The reasons for account budget proposal errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalError account_budget_proposal_error = 77; - * @return int - */ - public function getAccountBudgetProposalError() - { - return $this->readOneof(77); - } - - public function hasAccountBudgetProposalError() - { - return $this->hasOneof(77); - } - - /** - * The reasons for account budget proposal errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalError account_budget_proposal_error = 77; - * @param int $var - * @return $this - */ - public function setAccountBudgetProposalError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AccountBudgetProposalErrorEnum\AccountBudgetProposalError::class); - $this->writeOneof(77, $var); - - return $this; - } - - /** - * The reasons for the user list error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.UserListErrorEnum.UserListError user_list_error = 78; - * @return int - */ - public function getUserListError() - { - return $this->readOneof(78); - } - - public function hasUserListError() - { - return $this->hasOneof(78); - } - - /** - * The reasons for the user list error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.UserListErrorEnum.UserListError user_list_error = 78; - * @param int $var - * @return $this - */ - public function setUserListError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\UserListErrorEnum\UserListError::class); - $this->writeOneof(78, $var); - - return $this; - } - - /** - * The reasons for the change event error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ChangeEventErrorEnum.ChangeEventError change_event_error = 136; - * @return int - */ - public function getChangeEventError() - { - return $this->readOneof(136); - } - - public function hasChangeEventError() - { - return $this->hasOneof(136); - } - - /** - * The reasons for the change event error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ChangeEventErrorEnum.ChangeEventError change_event_error = 136; - * @param int $var - * @return $this - */ - public function setChangeEventError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ChangeEventErrorEnum\ChangeEventError::class); - $this->writeOneof(136, $var); - - return $this; - } - - /** - * The reasons for the change status error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ChangeStatusErrorEnum.ChangeStatusError change_status_error = 79; - * @return int - */ - public function getChangeStatusError() - { - return $this->readOneof(79); - } - - public function hasChangeStatusError() - { - return $this->hasOneof(79); - } - - /** - * The reasons for the change status error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ChangeStatusErrorEnum.ChangeStatusError change_status_error = 79; - * @param int $var - * @return $this - */ - public function setChangeStatusError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ChangeStatusErrorEnum\ChangeStatusError::class); - $this->writeOneof(79, $var); - - return $this; - } - - /** - * The reasons for the feed error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedErrorEnum.FeedError feed_error = 80; - * @return int - */ - public function getFeedError() - { - return $this->readOneof(80); - } - - public function hasFeedError() - { - return $this->hasOneof(80); - } - - /** - * The reasons for the feed error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedErrorEnum.FeedError feed_error = 80; - * @param int $var - * @return $this - */ - public function setFeedError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedErrorEnum\FeedError::class); - $this->writeOneof(80, $var); - - return $this; - } - - /** - * The reasons for the geo target constant suggestion error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError geo_target_constant_suggestion_error = 81; - * @return int - */ - public function getGeoTargetConstantSuggestionError() - { - return $this->readOneof(81); - } - - public function hasGeoTargetConstantSuggestionError() - { - return $this->hasOneof(81); - } - - /** - * The reasons for the geo target constant suggestion error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError geo_target_constant_suggestion_error = 81; - * @param int $var - * @return $this - */ - public function setGeoTargetConstantSuggestionError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\GeoTargetConstantSuggestionErrorEnum\GeoTargetConstantSuggestionError::class); - $this->writeOneof(81, $var); - - return $this; - } - - /** - * The reasons for the campaign draft error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignDraftErrorEnum.CampaignDraftError campaign_draft_error = 82; - * @return int - */ - public function getCampaignDraftError() - { - return $this->readOneof(82); - } - - public function hasCampaignDraftError() - { - return $this->hasOneof(82); - } - - /** - * The reasons for the campaign draft error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignDraftErrorEnum.CampaignDraftError campaign_draft_error = 82; - * @param int $var - * @return $this - */ - public function setCampaignDraftError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignDraftErrorEnum\CampaignDraftError::class); - $this->writeOneof(82, $var); - - return $this; - } - - /** - * The reasons for the feed item error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemErrorEnum.FeedItemError feed_item_error = 83; - * @return int - */ - public function getFeedItemError() - { - return $this->readOneof(83); - } - - public function hasFeedItemError() - { - return $this->hasOneof(83); - } - - /** - * The reasons for the feed item error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemErrorEnum.FeedItemError feed_item_error = 83; - * @param int $var - * @return $this - */ - public function setFeedItemError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedItemErrorEnum\FeedItemError::class); - $this->writeOneof(83, $var); - - return $this; - } - - /** - * The reason for the label error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.LabelErrorEnum.LabelError label_error = 84; - * @return int - */ - public function getLabelError() - { - return $this->readOneof(84); - } - - public function hasLabelError() - { - return $this->hasOneof(84); - } - - /** - * The reason for the label error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.LabelErrorEnum.LabelError label_error = 84; - * @param int $var - * @return $this - */ - public function setLabelError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\LabelErrorEnum\LabelError::class); - $this->writeOneof(84, $var); - - return $this; - } - - /** - * The reasons for the billing setup error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.BillingSetupErrorEnum.BillingSetupError billing_setup_error = 87; - * @return int - */ - public function getBillingSetupError() - { - return $this->readOneof(87); - } - - public function hasBillingSetupError() - { - return $this->hasOneof(87); - } - - /** - * The reasons for the billing setup error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.BillingSetupErrorEnum.BillingSetupError billing_setup_error = 87; - * @param int $var - * @return $this - */ - public function setBillingSetupError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\BillingSetupErrorEnum\BillingSetupError::class); - $this->writeOneof(87, $var); - - return $this; - } - - /** - * The reasons for the customer client link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError customer_client_link_error = 88; - * @return int - */ - public function getCustomerClientLinkError() - { - return $this->readOneof(88); - } - - public function hasCustomerClientLinkError() - { - return $this->hasOneof(88); - } - - /** - * The reasons for the customer client link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError customer_client_link_error = 88; - * @param int $var - * @return $this - */ - public function setCustomerClientLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomerClientLinkErrorEnum\CustomerClientLinkError::class); - $this->writeOneof(88, $var); - - return $this; - } - - /** - * The reasons for the customer manager link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError customer_manager_link_error = 91; - * @return int - */ - public function getCustomerManagerLinkError() - { - return $this->readOneof(91); - } - - public function hasCustomerManagerLinkError() - { - return $this->hasOneof(91); - } - - /** - * The reasons for the customer manager link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError customer_manager_link_error = 91; - * @param int $var - * @return $this - */ - public function setCustomerManagerLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomerManagerLinkErrorEnum\CustomerManagerLinkError::class); - $this->writeOneof(91, $var); - - return $this; - } - - /** - * The reasons for the feed mapping error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedMappingErrorEnum.FeedMappingError feed_mapping_error = 92; - * @return int - */ - public function getFeedMappingError() - { - return $this->readOneof(92); - } - - public function hasFeedMappingError() - { - return $this->hasOneof(92); - } - - /** - * The reasons for the feed mapping error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedMappingErrorEnum.FeedMappingError feed_mapping_error = 92; - * @param int $var - * @return $this - */ - public function setFeedMappingError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedMappingErrorEnum\FeedMappingError::class); - $this->writeOneof(92, $var); - - return $this; - } - - /** - * The reasons for the customer feed error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerFeedErrorEnum.CustomerFeedError customer_feed_error = 93; - * @return int - */ - public function getCustomerFeedError() - { - return $this->readOneof(93); - } - - public function hasCustomerFeedError() - { - return $this->hasOneof(93); - } - - /** - * The reasons for the customer feed error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerFeedErrorEnum.CustomerFeedError customer_feed_error = 93; - * @param int $var - * @return $this - */ - public function setCustomerFeedError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomerFeedErrorEnum\CustomerFeedError::class); - $this->writeOneof(93, $var); - - return $this; - } - - /** - * The reasons for the ad group feed error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupFeedErrorEnum.AdGroupFeedError ad_group_feed_error = 94; - * @return int - */ - public function getAdGroupFeedError() - { - return $this->readOneof(94); - } - - public function hasAdGroupFeedError() - { - return $this->hasOneof(94); - } - - /** - * The reasons for the ad group feed error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdGroupFeedErrorEnum.AdGroupFeedError ad_group_feed_error = 94; - * @param int $var - * @return $this - */ - public function setAdGroupFeedError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdGroupFeedErrorEnum\AdGroupFeedError::class); - $this->writeOneof(94, $var); - - return $this; - } - - /** - * The reasons for the campaign feed error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignFeedErrorEnum.CampaignFeedError campaign_feed_error = 96; - * @return int - */ - public function getCampaignFeedError() - { - return $this->readOneof(96); - } - - public function hasCampaignFeedError() - { - return $this->hasOneof(96); - } - - /** - * The reasons for the campaign feed error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignFeedErrorEnum.CampaignFeedError campaign_feed_error = 96; - * @param int $var - * @return $this - */ - public function setCampaignFeedError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignFeedErrorEnum\CampaignFeedError::class); - $this->writeOneof(96, $var); - - return $this; - } - - /** - * The reasons for the custom interest error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomInterestErrorEnum.CustomInterestError custom_interest_error = 97; - * @return int - */ - public function getCustomInterestError() - { - return $this->readOneof(97); - } - - public function hasCustomInterestError() - { - return $this->hasOneof(97); - } - - /** - * The reasons for the custom interest error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomInterestErrorEnum.CustomInterestError custom_interest_error = 97; - * @param int $var - * @return $this - */ - public function setCustomInterestError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomInterestErrorEnum\CustomInterestError::class); - $this->writeOneof(97, $var); - - return $this; - } - - /** - * The reasons for the campaign experiment error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignExperimentErrorEnum.CampaignExperimentError campaign_experiment_error = 98; - * @return int - */ - public function getCampaignExperimentError() - { - return $this->readOneof(98); - } - - public function hasCampaignExperimentError() - { - return $this->hasOneof(98); - } - - /** - * The reasons for the campaign experiment error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignExperimentErrorEnum.CampaignExperimentError campaign_experiment_error = 98; - * @param int $var - * @return $this - */ - public function setCampaignExperimentError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignExperimentErrorEnum\CampaignExperimentError::class); - $this->writeOneof(98, $var); - - return $this; - } - - /** - * The reasons for the extension feed item error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError extension_feed_item_error = 100; - * @return int - */ - public function getExtensionFeedItemError() - { - return $this->readOneof(100); - } - - public function hasExtensionFeedItemError() - { - return $this->hasOneof(100); - } - - /** - * The reasons for the extension feed item error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError extension_feed_item_error = 100; - * @param int $var - * @return $this - */ - public function setExtensionFeedItemError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ExtensionFeedItemErrorEnum\ExtensionFeedItemError::class); - $this->writeOneof(100, $var); - - return $this; - } - - /** - * The reasons for the ad parameter error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdParameterErrorEnum.AdParameterError ad_parameter_error = 101; - * @return int - */ - public function getAdParameterError() - { - return $this->readOneof(101); - } - - public function hasAdParameterError() - { - return $this->hasOneof(101); - } - - /** - * The reasons for the ad parameter error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AdParameterErrorEnum.AdParameterError ad_parameter_error = 101; - * @param int $var - * @return $this - */ - public function setAdParameterError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AdParameterErrorEnum\AdParameterError::class); - $this->writeOneof(101, $var); - - return $this; - } - - /** - * The reasons for the feed item validation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemValidationErrorEnum.FeedItemValidationError feed_item_validation_error = 102; - * @return int - */ - public function getFeedItemValidationError() - { - return $this->readOneof(102); - } - - public function hasFeedItemValidationError() - { - return $this->hasOneof(102); - } - - /** - * The reasons for the feed item validation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemValidationErrorEnum.FeedItemValidationError feed_item_validation_error = 102; - * @param int $var - * @return $this - */ - public function setFeedItemValidationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedItemValidationErrorEnum\FeedItemValidationError::class); - $this->writeOneof(102, $var); - - return $this; - } - - /** - * The reasons for the extension setting error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ExtensionSettingErrorEnum.ExtensionSettingError extension_setting_error = 103; - * @return int - */ - public function getExtensionSettingError() - { - return $this->readOneof(103); - } - - public function hasExtensionSettingError() - { - return $this->hasOneof(103); - } - - /** - * The reasons for the extension setting error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ExtensionSettingErrorEnum.ExtensionSettingError extension_setting_error = 103; - * @param int $var - * @return $this - */ - public function setExtensionSettingError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ExtensionSettingErrorEnum\ExtensionSettingError::class); - $this->writeOneof(103, $var); - - return $this; - } - - /** - * The reasons for the feed item set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemSetErrorEnum.FeedItemSetError feed_item_set_error = 140; - * @return int - */ - public function getFeedItemSetError() - { - return $this->readOneof(140); - } - - public function hasFeedItemSetError() - { - return $this->hasOneof(140); - } - - /** - * The reasons for the feed item set error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemSetErrorEnum.FeedItemSetError feed_item_set_error = 140; - * @param int $var - * @return $this - */ - public function setFeedItemSetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedItemSetErrorEnum\FeedItemSetError::class); - $this->writeOneof(140, $var); - - return $this; - } - - /** - * The reasons for the feed item set link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemSetLinkErrorEnum.FeedItemSetLinkError feed_item_set_link_error = 141; - * @return int - */ - public function getFeedItemSetLinkError() - { - return $this->readOneof(141); - } - - public function hasFeedItemSetLinkError() - { - return $this->hasOneof(141); - } - - /** - * The reasons for the feed item set link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemSetLinkErrorEnum.FeedItemSetLinkError feed_item_set_link_error = 141; - * @param int $var - * @return $this - */ - public function setFeedItemSetLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedItemSetLinkErrorEnum\FeedItemSetLinkError::class); - $this->writeOneof(141, $var); - - return $this; - } - - /** - * The reasons for the feed item target error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemTargetErrorEnum.FeedItemTargetError feed_item_target_error = 104; - * @return int - */ - public function getFeedItemTargetError() - { - return $this->readOneof(104); - } - - public function hasFeedItemTargetError() - { - return $this->hasOneof(104); - } - - /** - * The reasons for the feed item target error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemTargetErrorEnum.FeedItemTargetError feed_item_target_error = 104; - * @param int $var - * @return $this - */ - public function setFeedItemTargetError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedItemTargetErrorEnum\FeedItemTargetError::class); - $this->writeOneof(104, $var); - - return $this; - } - - /** - * The reasons for the policy violation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyViolationErrorEnum.PolicyViolationError policy_violation_error = 105; - * @return int - */ - public function getPolicyViolationError() - { - return $this->readOneof(105); - } - - public function hasPolicyViolationError() - { - return $this->hasOneof(105); - } - - /** - * The reasons for the policy violation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyViolationErrorEnum.PolicyViolationError policy_violation_error = 105; - * @param int $var - * @return $this - */ - public function setPolicyViolationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\PolicyViolationErrorEnum\PolicyViolationError::class); - $this->writeOneof(105, $var); - - return $this; - } - - /** - * The reasons for the mutate job error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PartialFailureErrorEnum.PartialFailureError partial_failure_error = 112; - * @return int - */ - public function getPartialFailureError() - { - return $this->readOneof(112); - } - - public function hasPartialFailureError() - { - return $this->hasOneof(112); - } - - /** - * The reasons for the mutate job error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PartialFailureErrorEnum.PartialFailureError partial_failure_error = 112; - * @param int $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\PartialFailureErrorEnum\PartialFailureError::class); - $this->writeOneof(112, $var); - - return $this; - } - - /** - * The reasons for the policy validation parameter error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterError policy_validation_parameter_error = 114; - * @return int - */ - public function getPolicyValidationParameterError() - { - return $this->readOneof(114); - } - - public function hasPolicyValidationParameterError() - { - return $this->hasOneof(114); - } - - /** - * The reasons for the policy validation parameter error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterError policy_validation_parameter_error = 114; - * @param int $var - * @return $this - */ - public function setPolicyValidationParameterError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\PolicyValidationParameterErrorEnum\PolicyValidationParameterError::class); - $this->writeOneof(114, $var); - - return $this; - } - - /** - * The reasons for the size limit error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SizeLimitErrorEnum.SizeLimitError size_limit_error = 118; - * @return int - */ - public function getSizeLimitError() - { - return $this->readOneof(118); - } - - public function hasSizeLimitError() - { - return $this->hasOneof(118); - } - - /** - * The reasons for the size limit error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SizeLimitErrorEnum.SizeLimitError size_limit_error = 118; - * @param int $var - * @return $this - */ - public function setSizeLimitError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\SizeLimitErrorEnum\SizeLimitError::class); - $this->writeOneof(118, $var); - - return $this; - } - - /** - * The reasons for the offline user data job error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobError offline_user_data_job_error = 119; - * @return int - */ - public function getOfflineUserDataJobError() - { - return $this->readOneof(119); - } - - public function hasOfflineUserDataJobError() - { - return $this->hasOneof(119); - } - - /** - * The reasons for the offline user data job error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobError offline_user_data_job_error = 119; - * @param int $var - * @return $this - */ - public function setOfflineUserDataJobError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\OfflineUserDataJobErrorEnum\OfflineUserDataJobError::class); - $this->writeOneof(119, $var); - - return $this; - } - - /** - * The reasons for the not allowlisted error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 137; - * @return int - */ - public function getNotAllowlistedError() - { - return $this->readOneof(137); - } - - public function hasNotAllowlistedError() - { - return $this->hasOneof(137); - } - - /** - * The reasons for the not allowlisted error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 137; - * @param int $var - * @return $this - */ - public function setNotAllowlistedError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\NotAllowlistedErrorEnum\NotAllowlistedError::class); - $this->writeOneof(137, $var); - - return $this; - } - - /** - * The reasons for the manager link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ManagerLinkErrorEnum.ManagerLinkError manager_link_error = 121; - * @return int - */ - public function getManagerLinkError() - { - return $this->readOneof(121); - } - - public function hasManagerLinkError() - { - return $this->hasOneof(121); - } - - /** - * The reasons for the manager link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ManagerLinkErrorEnum.ManagerLinkError manager_link_error = 121; - * @param int $var - * @return $this - */ - public function setManagerLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ManagerLinkErrorEnum\ManagerLinkError::class); - $this->writeOneof(121, $var); - - return $this; - } - - /** - * The reasons for the currency code error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CurrencyCodeErrorEnum.CurrencyCodeError currency_code_error = 122; - * @return int - */ - public function getCurrencyCodeError() - { - return $this->readOneof(122); - } - - public function hasCurrencyCodeError() - { - return $this->hasOneof(122); - } - - /** - * The reasons for the currency code error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CurrencyCodeErrorEnum.CurrencyCodeError currency_code_error = 122; - * @param int $var - * @return $this - */ - public function setCurrencyCodeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CurrencyCodeErrorEnum\CurrencyCodeError::class); - $this->writeOneof(122, $var); - - return $this; - } - - /** - * The reasons for the experiment error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ExperimentErrorEnum.ExperimentError experiment_error = 123; - * @return int - */ - public function getExperimentError() - { - return $this->readOneof(123); - } - - public function hasExperimentError() - { - return $this->hasOneof(123); - } - - /** - * The reasons for the experiment error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ExperimentErrorEnum.ExperimentError experiment_error = 123; - * @param int $var - * @return $this - */ - public function setExperimentError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ExperimentErrorEnum\ExperimentError::class); - $this->writeOneof(123, $var); - - return $this; - } - - /** - * The reasons for the access invitation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AccessInvitationErrorEnum.AccessInvitationError access_invitation_error = 124; - * @return int - */ - public function getAccessInvitationError() - { - return $this->readOneof(124); - } - - public function hasAccessInvitationError() - { - return $this->hasOneof(124); - } - - /** - * The reasons for the access invitation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AccessInvitationErrorEnum.AccessInvitationError access_invitation_error = 124; - * @param int $var - * @return $this - */ - public function setAccessInvitationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AccessInvitationErrorEnum\AccessInvitationError::class); - $this->writeOneof(124, $var); - - return $this; - } - - /** - * The reasons for the reach plan error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ReachPlanErrorEnum.ReachPlanError reach_plan_error = 125; - * @return int - */ - public function getReachPlanError() - { - return $this->readOneof(125); - } - - public function hasReachPlanError() - { - return $this->hasOneof(125); - } - - /** - * The reasons for the reach plan error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ReachPlanErrorEnum.ReachPlanError reach_plan_error = 125; - * @param int $var - * @return $this - */ - public function setReachPlanError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ReachPlanErrorEnum\ReachPlanError::class); - $this->writeOneof(125, $var); - - return $this; - } - - /** - * The reasons for the invoice error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.InvoiceErrorEnum.InvoiceError invoice_error = 126; - * @return int - */ - public function getInvoiceError() - { - return $this->readOneof(126); - } - - public function hasInvoiceError() - { - return $this->hasOneof(126); - } - - /** - * The reasons for the invoice error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.InvoiceErrorEnum.InvoiceError invoice_error = 126; - * @param int $var - * @return $this - */ - public function setInvoiceError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\InvoiceErrorEnum\InvoiceError::class); - $this->writeOneof(126, $var); - - return $this; - } - - /** - * The reasons for errors in payments accounts service - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PaymentsAccountErrorEnum.PaymentsAccountError payments_account_error = 127; - * @return int - */ - public function getPaymentsAccountError() - { - return $this->readOneof(127); - } - - public function hasPaymentsAccountError() - { - return $this->hasOneof(127); - } - - /** - * The reasons for errors in payments accounts service - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PaymentsAccountErrorEnum.PaymentsAccountError payments_account_error = 127; - * @param int $var - * @return $this - */ - public function setPaymentsAccountError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\PaymentsAccountErrorEnum\PaymentsAccountError::class); - $this->writeOneof(127, $var); - - return $this; - } - - /** - * The reasons for the time zone error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.TimeZoneErrorEnum.TimeZoneError time_zone_error = 128; - * @return int - */ - public function getTimeZoneError() - { - return $this->readOneof(128); - } - - public function hasTimeZoneError() - { - return $this->hasOneof(128); - } - - /** - * The reasons for the time zone error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.TimeZoneErrorEnum.TimeZoneError time_zone_error = 128; - * @param int $var - * @return $this - */ - public function setTimeZoneError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\TimeZoneErrorEnum\TimeZoneError::class); - $this->writeOneof(128, $var); - - return $this; - } - - /** - * The reasons for the asset link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetLinkErrorEnum.AssetLinkError asset_link_error = 129; - * @return int - */ - public function getAssetLinkError() - { - return $this->readOneof(129); - } - - public function hasAssetLinkError() - { - return $this->hasOneof(129); - } - - /** - * The reasons for the asset link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetLinkErrorEnum.AssetLinkError asset_link_error = 129; - * @param int $var - * @return $this - */ - public function setAssetLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetLinkErrorEnum\AssetLinkError::class); - $this->writeOneof(129, $var); - - return $this; - } - - /** - * The reasons for the user data error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.UserDataErrorEnum.UserDataError user_data_error = 130; - * @return int - */ - public function getUserDataError() - { - return $this->readOneof(130); - } - - public function hasUserDataError() - { - return $this->hasOneof(130); - } - - /** - * The reasons for the user data error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.UserDataErrorEnum.UserDataError user_data_error = 130; - * @param int $var - * @return $this - */ - public function setUserDataError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\UserDataErrorEnum\UserDataError::class); - $this->writeOneof(130, $var); - - return $this; - } - - /** - * The reasons for the batch job error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.BatchJobErrorEnum.BatchJobError batch_job_error = 131; - * @return int - */ - public function getBatchJobError() - { - return $this->readOneof(131); - } - - public function hasBatchJobError() - { - return $this->hasOneof(131); - } - - /** - * The reasons for the batch job error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.BatchJobErrorEnum.BatchJobError batch_job_error = 131; - * @param int $var - * @return $this - */ - public function setBatchJobError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\BatchJobErrorEnum\BatchJobError::class); - $this->writeOneof(131, $var); - - return $this; - } - - /** - * The reasons for the account link status change error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AccountLinkErrorEnum.AccountLinkError account_link_error = 134; - * @return int - */ - public function getAccountLinkError() - { - return $this->readOneof(134); - } - - public function hasAccountLinkError() - { - return $this->hasOneof(134); - } - - /** - * The reasons for the account link status change error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AccountLinkErrorEnum.AccountLinkError account_link_error = 134; - * @param int $var - * @return $this - */ - public function setAccountLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AccountLinkErrorEnum\AccountLinkError::class); - $this->writeOneof(134, $var); - - return $this; - } - - /** - * The reasons for the third party app analytics link mutate error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkError third_party_app_analytics_link_error = 135; - * @return int - */ - public function getThirdPartyAppAnalyticsLinkError() - { - return $this->readOneof(135); - } - - public function hasThirdPartyAppAnalyticsLinkError() - { - return $this->hasOneof(135); - } - - /** - * The reasons for the third party app analytics link mutate error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkError third_party_app_analytics_link_error = 135; - * @param int $var - * @return $this - */ - public function setThirdPartyAppAnalyticsLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ThirdPartyAppAnalyticsLinkErrorEnum\ThirdPartyAppAnalyticsLinkError::class); - $this->writeOneof(135, $var); - - return $this; - } - - /** - * The reasons for the customer user access mutate error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerUserAccessErrorEnum.CustomerUserAccessError customer_user_access_error = 138; - * @return int - */ - public function getCustomerUserAccessError() - { - return $this->readOneof(138); - } - - public function hasCustomerUserAccessError() - { - return $this->hasOneof(138); - } - - /** - * The reasons for the customer user access mutate error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerUserAccessErrorEnum.CustomerUserAccessError customer_user_access_error = 138; - * @param int $var - * @return $this - */ - public function setCustomerUserAccessError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomerUserAccessErrorEnum\CustomerUserAccessError::class); - $this->writeOneof(138, $var); - - return $this; - } - - /** - * The reasons for the custom audience error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomAudienceErrorEnum.CustomAudienceError custom_audience_error = 139; - * @return int - */ - public function getCustomAudienceError() - { - return $this->readOneof(139); - } - - public function hasCustomAudienceError() - { - return $this->hasOneof(139); - } - - /** - * The reasons for the custom audience error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomAudienceErrorEnum.CustomAudienceError custom_audience_error = 139; - * @param int $var - * @return $this - */ - public function setCustomAudienceError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomAudienceErrorEnum\CustomAudienceError::class); - $this->writeOneof(139, $var); - - return $this; - } - - /** - * The reasons for the audience error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AudienceErrorEnum.AudienceError audience_error = 164; - * @return int - */ - public function getAudienceError() - { - return $this->readOneof(164); - } - - public function hasAudienceError() - { - return $this->hasOneof(164); - } - - /** - * The reasons for the audience error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AudienceErrorEnum.AudienceError audience_error = 164; - * @param int $var - * @return $this - */ - public function setAudienceError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AudienceErrorEnum\AudienceError::class); - $this->writeOneof(164, $var); - - return $this; - } - - /** - * The reasons for the Search term insight error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SearchTermInsightErrorEnum.SearchTermInsightError search_term_insight_error = 174; - * @return int - */ - public function getSearchTermInsightError() - { - return $this->readOneof(174); - } - - public function hasSearchTermInsightError() - { - return $this->hasOneof(174); - } - - /** - * The reasons for the Search term insight error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SearchTermInsightErrorEnum.SearchTermInsightError search_term_insight_error = 174; - * @param int $var - * @return $this - */ - public function setSearchTermInsightError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\SearchTermInsightErrorEnum\SearchTermInsightError::class); - $this->writeOneof(174, $var); - - return $this; - } - - /** - * The reasons for the Smart campaign error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SmartCampaignErrorEnum.SmartCampaignError smart_campaign_error = 147; - * @return int - */ - public function getSmartCampaignError() - { - return $this->readOneof(147); - } - - public function hasSmartCampaignError() - { - return $this->hasOneof(147); - } - - /** - * The reasons for the Smart campaign error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.SmartCampaignErrorEnum.SmartCampaignError smart_campaign_error = 147; - * @param int $var - * @return $this - */ - public function setSmartCampaignError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\SmartCampaignErrorEnum\SmartCampaignError::class); - $this->writeOneof(147, $var); - - return $this; - } - - /** - * The reasons for the experiment arm error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ExperimentArmErrorEnum.ExperimentArmError experiment_arm_error = 156; - * @return int - */ - public function getExperimentArmError() - { - return $this->readOneof(156); - } - - public function hasExperimentArmError() - { - return $this->hasOneof(156); - } - - /** - * The reasons for the experiment arm error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ExperimentArmErrorEnum.ExperimentArmError experiment_arm_error = 156; - * @param int $var - * @return $this - */ - public function setExperimentArmError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ExperimentArmErrorEnum\ExperimentArmError::class); - $this->writeOneof(156, $var); - - return $this; - } - - /** - * The reasons for the Audience Insights error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AudienceInsightsErrorEnum.AudienceInsightsError audience_insights_error = 167; - * @return int - */ - public function getAudienceInsightsError() - { - return $this->readOneof(167); - } - - public function hasAudienceInsightsError() - { - return $this->hasOneof(167); - } - - /** - * The reasons for the Audience Insights error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AudienceInsightsErrorEnum.AudienceInsightsError audience_insights_error = 167; - * @param int $var - * @return $this - */ - public function setAudienceInsightsError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AudienceInsightsErrorEnum\AudienceInsightsError::class); - $this->writeOneof(167, $var); - - return $this; - } - - /** - * The reasons for the product link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ProductLinkErrorEnum.ProductLinkError product_link_error = 169; - * @return int - */ - public function getProductLinkError() - { - return $this->readOneof(169); - } - - public function hasProductLinkError() - { - return $this->hasOneof(169); - } - - /** - * The reasons for the product link error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ProductLinkErrorEnum.ProductLinkError product_link_error = 169; - * @param int $var - * @return $this - */ - public function setProductLinkError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ProductLinkErrorEnum\ProductLinkError::class); - $this->writeOneof(169, $var); - - return $this; - } - - /** - * The reasons for the customer SK Ad network conversion value schema error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerSkAdNetworkConversionValueSchemaErrorEnum.CustomerSkAdNetworkConversionValueSchemaError customer_sk_ad_network_conversion_value_schema_error = 170; - * @return int - */ - public function getCustomerSkAdNetworkConversionValueSchemaError() - { - return $this->readOneof(170); - } - - public function hasCustomerSkAdNetworkConversionValueSchemaError() - { - return $this->hasOneof(170); - } - - /** - * The reasons for the customer SK Ad network conversion value schema error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerSkAdNetworkConversionValueSchemaErrorEnum.CustomerSkAdNetworkConversionValueSchemaError customer_sk_ad_network_conversion_value_schema_error = 170; - * @param int $var - * @return $this - */ - public function setCustomerSkAdNetworkConversionValueSchemaError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomerSkAdNetworkConversionValueSchemaErrorEnum\CustomerSkAdNetworkConversionValueSchemaError::class); - $this->writeOneof(170, $var); - - return $this; - } - - /** - * The reasons for the currency errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CurrencyErrorEnum.CurrencyError currency_error = 171; - * @return int - */ - public function getCurrencyError() - { - return $this->readOneof(171); - } - - public function hasCurrencyError() - { - return $this->hasOneof(171); - } - - /** - * The reasons for the currency errors. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CurrencyErrorEnum.CurrencyError currency_error = 171; - * @param int $var - * @return $this - */ - public function setCurrencyError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CurrencyErrorEnum\CurrencyError::class); - $this->writeOneof(171, $var); - - return $this; - } - - /** - * The reasons for the asset group hint error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetGroupSignalErrorEnum.AssetGroupSignalError asset_group_signal_error = 176; - * @return int - */ - public function getAssetGroupSignalError() - { - return $this->readOneof(176); - } - - public function hasAssetGroupSignalError() - { - return $this->hasOneof(176); - } - - /** - * The reasons for the asset group hint error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.AssetGroupSignalErrorEnum.AssetGroupSignalError asset_group_signal_error = 176; - * @param int $var - * @return $this - */ - public function setAssetGroupSignalError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\AssetGroupSignalErrorEnum\AssetGroupSignalError::class); - $this->writeOneof(176, $var); - - return $this; - } - - /** - * The reasons for the product link invitation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ProductLinkInvitationErrorEnum.ProductLinkInvitationError product_link_invitation_error = 177; - * @return int - */ - public function getProductLinkInvitationError() - { - return $this->readOneof(177); - } - - public function hasProductLinkInvitationError() - { - return $this->hasOneof(177); - } - - /** - * The reasons for the product link invitation error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ProductLinkInvitationErrorEnum.ProductLinkInvitationError product_link_invitation_error = 177; - * @param int $var - * @return $this - */ - public function setProductLinkInvitationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ProductLinkInvitationErrorEnum\ProductLinkInvitationError::class); - $this->writeOneof(177, $var); - - return $this; - } - - /** - * The reasons for the customer lifecycle goal error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerLifecycleGoalErrorEnum.CustomerLifecycleGoalError customer_lifecycle_goal_error = 178; - * @return int - */ - public function getCustomerLifecycleGoalError() - { - return $this->readOneof(178); - } - - public function hasCustomerLifecycleGoalError() - { - return $this->hasOneof(178); - } - - /** - * The reasons for the customer lifecycle goal error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CustomerLifecycleGoalErrorEnum.CustomerLifecycleGoalError customer_lifecycle_goal_error = 178; - * @param int $var - * @return $this - */ - public function setCustomerLifecycleGoalError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CustomerLifecycleGoalErrorEnum\CustomerLifecycleGoalError::class); - $this->writeOneof(178, $var); - - return $this; - } - - /** - * The reasons for the campaign lifecycle goal error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignLifecycleGoalErrorEnum.CampaignLifecycleGoalError campaign_lifecycle_goal_error = 179; - * @return int - */ - public function getCampaignLifecycleGoalError() - { - return $this->readOneof(179); - } - - public function hasCampaignLifecycleGoalError() - { - return $this->hasOneof(179); - } - - /** - * The reasons for the campaign lifecycle goal error - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CampaignLifecycleGoalErrorEnum.CampaignLifecycleGoalError campaign_lifecycle_goal_error = 179; - * @param int $var - * @return $this - */ - public function setCampaignLifecycleGoalError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CampaignLifecycleGoalErrorEnum\CampaignLifecycleGoalError::class); - $this->writeOneof(179, $var); - - return $this; - } - - /** - * @return string - */ - public function getErrorCode() - { - return $this->whichOneof("error_code"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ErrorDetails.php b/src/Google/Ads/GoogleAds/V15/Errors/ErrorDetails.php deleted file mode 100644 index f9e5ebfc1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ErrorDetails.php +++ /dev/null @@ -1,251 +0,0 @@ -google.ads.googleads.v15.errors.ErrorDetails - */ -class ErrorDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The error code that should have been returned, but wasn't. This is used - * when the error code is not published in the client specified version. - * - * Generated from protobuf field string unpublished_error_code = 1; - */ - protected $unpublished_error_code = ''; - /** - * Describes an ad policy violation. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyViolationDetails policy_violation_details = 2; - */ - protected $policy_violation_details = null; - /** - * Describes policy violation findings. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyFindingDetails policy_finding_details = 3; - */ - protected $policy_finding_details = null; - /** - * Details on the quota error, including the scope (account or developer), the - * rate bucket name and the retry delay. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QuotaErrorDetails quota_error_details = 4; - */ - protected $quota_error_details = null; - /** - * Details for a resource count limit exceeded error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ResourceCountDetails resource_count_details = 5; - */ - protected $resource_count_details = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $unpublished_error_code - * The error code that should have been returned, but wasn't. This is used - * when the error code is not published in the client specified version. - * @type \Google\Ads\GoogleAds\V15\Errors\PolicyViolationDetails $policy_violation_details - * Describes an ad policy violation. - * @type \Google\Ads\GoogleAds\V15\Errors\PolicyFindingDetails $policy_finding_details - * Describes policy violation findings. - * @type \Google\Ads\GoogleAds\V15\Errors\QuotaErrorDetails $quota_error_details - * Details on the quota error, including the scope (account or developer), the - * rate bucket name and the retry delay. - * @type \Google\Ads\GoogleAds\V15\Errors\ResourceCountDetails $resource_count_details - * Details for a resource count limit exceeded error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * The error code that should have been returned, but wasn't. This is used - * when the error code is not published in the client specified version. - * - * Generated from protobuf field string unpublished_error_code = 1; - * @return string - */ - public function getUnpublishedErrorCode() - { - return $this->unpublished_error_code; - } - - /** - * The error code that should have been returned, but wasn't. This is used - * when the error code is not published in the client specified version. - * - * Generated from protobuf field string unpublished_error_code = 1; - * @param string $var - * @return $this - */ - public function setUnpublishedErrorCode($var) - { - GPBUtil::checkString($var, True); - $this->unpublished_error_code = $var; - - return $this; - } - - /** - * Describes an ad policy violation. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyViolationDetails policy_violation_details = 2; - * @return \Google\Ads\GoogleAds\V15\Errors\PolicyViolationDetails|null - */ - public function getPolicyViolationDetails() - { - return $this->policy_violation_details; - } - - public function hasPolicyViolationDetails() - { - return isset($this->policy_violation_details); - } - - public function clearPolicyViolationDetails() - { - unset($this->policy_violation_details); - } - - /** - * Describes an ad policy violation. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyViolationDetails policy_violation_details = 2; - * @param \Google\Ads\GoogleAds\V15\Errors\PolicyViolationDetails $var - * @return $this - */ - public function setPolicyViolationDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Errors\PolicyViolationDetails::class); - $this->policy_violation_details = $var; - - return $this; - } - - /** - * Describes policy violation findings. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyFindingDetails policy_finding_details = 3; - * @return \Google\Ads\GoogleAds\V15\Errors\PolicyFindingDetails|null - */ - public function getPolicyFindingDetails() - { - return $this->policy_finding_details; - } - - public function hasPolicyFindingDetails() - { - return isset($this->policy_finding_details); - } - - public function clearPolicyFindingDetails() - { - unset($this->policy_finding_details); - } - - /** - * Describes policy violation findings. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.PolicyFindingDetails policy_finding_details = 3; - * @param \Google\Ads\GoogleAds\V15\Errors\PolicyFindingDetails $var - * @return $this - */ - public function setPolicyFindingDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Errors\PolicyFindingDetails::class); - $this->policy_finding_details = $var; - - return $this; - } - - /** - * Details on the quota error, including the scope (account or developer), the - * rate bucket name and the retry delay. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QuotaErrorDetails quota_error_details = 4; - * @return \Google\Ads\GoogleAds\V15\Errors\QuotaErrorDetails|null - */ - public function getQuotaErrorDetails() - { - return $this->quota_error_details; - } - - public function hasQuotaErrorDetails() - { - return isset($this->quota_error_details); - } - - public function clearQuotaErrorDetails() - { - unset($this->quota_error_details); - } - - /** - * Details on the quota error, including the scope (account or developer), the - * rate bucket name and the retry delay. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QuotaErrorDetails quota_error_details = 4; - * @param \Google\Ads\GoogleAds\V15\Errors\QuotaErrorDetails $var - * @return $this - */ - public function setQuotaErrorDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Errors\QuotaErrorDetails::class); - $this->quota_error_details = $var; - - return $this; - } - - /** - * Details for a resource count limit exceeded error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ResourceCountDetails resource_count_details = 5; - * @return \Google\Ads\GoogleAds\V15\Errors\ResourceCountDetails|null - */ - public function getResourceCountDetails() - { - return $this->resource_count_details; - } - - public function hasResourceCountDetails() - { - return isset($this->resource_count_details); - } - - public function clearResourceCountDetails() - { - unset($this->resource_count_details); - } - - /** - * Details for a resource count limit exceeded error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ResourceCountDetails resource_count_details = 5; - * @param \Google\Ads\GoogleAds\V15\Errors\ResourceCountDetails $var - * @return $this - */ - public function setResourceCountDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Errors\ResourceCountDetails::class); - $this->resource_count_details = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ErrorLocation.php b/src/Google/Ads/GoogleAds/V15/Errors/ErrorLocation.php deleted file mode 100644 index 87d03976d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ErrorLocation.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.errors.ErrorLocation - */ -class ErrorLocation extends \Google\Protobuf\Internal\Message -{ - /** - * A field path that indicates which field was invalid in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.errors.ErrorLocation.FieldPathElement field_path_elements = 2; - */ - private $field_path_elements; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Errors\ErrorLocation\FieldPathElement>|\Google\Protobuf\Internal\RepeatedField $field_path_elements - * A field path that indicates which field was invalid in the request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * A field path that indicates which field was invalid in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.errors.ErrorLocation.FieldPathElement field_path_elements = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFieldPathElements() - { - return $this->field_path_elements; - } - - /** - * A field path that indicates which field was invalid in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.errors.ErrorLocation.FieldPathElement field_path_elements = 2; - * @param array<\Google\Ads\GoogleAds\V15\Errors\ErrorLocation\FieldPathElement>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFieldPathElements($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Errors\ErrorLocation\FieldPathElement::class); - $this->field_path_elements = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ErrorLocation/FieldPathElement.php b/src/Google/Ads/GoogleAds/V15/Errors/ErrorLocation/FieldPathElement.php deleted file mode 100644 index c280915bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ErrorLocation/FieldPathElement.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.errors.ErrorLocation.FieldPathElement - */ -class FieldPathElement extends \Google\Protobuf\Internal\Message -{ - /** - * The name of a field or a oneof - * - * Generated from protobuf field string field_name = 1; - */ - protected $field_name = ''; - /** - * If field_name is a repeated field, this is the element that failed - * - * Generated from protobuf field optional int32 index = 3; - */ - protected $index = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $field_name - * The name of a field or a oneof - * @type int $index - * If field_name is a repeated field, this is the element that failed - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * The name of a field or a oneof - * - * Generated from protobuf field string field_name = 1; - * @return string - */ - public function getFieldName() - { - return $this->field_name; - } - - /** - * The name of a field or a oneof - * - * Generated from protobuf field string field_name = 1; - * @param string $var - * @return $this - */ - public function setFieldName($var) - { - GPBUtil::checkString($var, True); - $this->field_name = $var; - - return $this; - } - - /** - * If field_name is a repeated field, this is the element that failed - * - * Generated from protobuf field optional int32 index = 3; - * @return int - */ - public function getIndex() - { - return isset($this->index) ? $this->index : 0; - } - - public function hasIndex() - { - return isset($this->index); - } - - public function clearIndex() - { - unset($this->index); - } - - /** - * If field_name is a repeated field, this is the element that failed - * - * Generated from protobuf field optional int32 index = 3; - * @param int $var - * @return $this - */ - public function setIndex($var) - { - GPBUtil::checkInt32($var); - $this->index = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FieldPathElement::class, \Google\Ads\GoogleAds\V15\Errors\ErrorLocation_FieldPathElement::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ExperimentArmErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ExperimentArmErrorEnum.php deleted file mode 100644 index 39530208d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ExperimentArmErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ExperimentArmErrorEnum - */ -class ExperimentArmErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ExperimentArmError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ExperimentArmErrorEnum/ExperimentArmError.php b/src/Google/Ads/GoogleAds/V15/Errors/ExperimentArmErrorEnum/ExperimentArmError.php deleted file mode 100644 index b94b3d445..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ExperimentArmErrorEnum/ExperimentArmError.php +++ /dev/null @@ -1,157 +0,0 @@ -google.ads.googleads.v15.errors.ExperimentArmErrorEnum.ExperimentArmError - */ -class ExperimentArmError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Number of experiment arms is above limit. - * - * Generated from protobuf enum EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED = 2; - */ - const EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED = 2; - /** - * Cannot add campaign with invalid status to the experiment arm. - * - * Generated from protobuf enum INVALID_CAMPAIGN_STATUS = 3; - */ - const INVALID_CAMPAIGN_STATUS = 3; - /** - * Cannot add duplicate experiment arm name in one experiment. - * - * Generated from protobuf enum DUPLICATE_EXPERIMENT_ARM_NAME = 4; - */ - const DUPLICATE_EXPERIMENT_ARM_NAME = 4; - /** - * Cannot set campaigns of treatment experiment arm. - * - * Generated from protobuf enum CANNOT_SET_TREATMENT_ARM_CAMPAIGN = 5; - */ - const CANNOT_SET_TREATMENT_ARM_CAMPAIGN = 5; - /** - * Cannot edit campaign ids in trial arms in non SETUP experiment. - * - * Generated from protobuf enum CANNOT_MODIFY_CAMPAIGN_IDS = 6; - */ - const CANNOT_MODIFY_CAMPAIGN_IDS = 6; - /** - * Cannot modify the campaigns in the control arm - * if there is not a suffix set in the trial. - * - * Generated from protobuf enum CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET = 7; - */ - const CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET = 7; - /** - * Traffic split related settings (like traffic share bounds) can't be - * modified after the trial has started. - * - * Generated from protobuf enum CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START = 8; - */ - const CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START = 8; - /** - * Cannot use shared budget on experiment's control campaign. - * - * Generated from protobuf enum CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET = 9; - */ - const CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET = 9; - /** - * Cannot use custom budget on experiment's control campaigns. - * - * Generated from protobuf enum CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET = 10; - */ - const CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET = 10; - /** - * Cannot have enable_dynamic_assets turned on in experiment's campaigns. - * - * Generated from protobuf enum CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED = 11; - */ - const CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED = 11; - /** - * Cannot use campaign's advertising channel sub type in experiment. - * - * Generated from protobuf enum UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE = 12; - */ - const UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE = 12; - /** - * Experiment date range must be within base campaign's date range. - * - * Generated from protobuf enum CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE = 13; - */ - const CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE = 13; - /** - * Bidding strategy is not supported in experiments. - * - * Generated from protobuf enum BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14; - */ - const BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14; - /** - * Traffic split is not supported for some channel types. - * - * Generated from protobuf enum TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15; - */ - const TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED => 'EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED', - self::INVALID_CAMPAIGN_STATUS => 'INVALID_CAMPAIGN_STATUS', - self::DUPLICATE_EXPERIMENT_ARM_NAME => 'DUPLICATE_EXPERIMENT_ARM_NAME', - self::CANNOT_SET_TREATMENT_ARM_CAMPAIGN => 'CANNOT_SET_TREATMENT_ARM_CAMPAIGN', - self::CANNOT_MODIFY_CAMPAIGN_IDS => 'CANNOT_MODIFY_CAMPAIGN_IDS', - self::CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET => 'CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET', - self::CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START => 'CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START', - self::CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET => 'CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET', - self::CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET => 'CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET', - self::CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED => 'CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED', - self::UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE => 'UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE', - self::CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE => 'CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE', - self::BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS => 'BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS', - self::TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE => 'TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExperimentArmError::class, \Google\Ads\GoogleAds\V15\Errors\ExperimentArmErrorEnum_ExperimentArmError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ExperimentErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ExperimentErrorEnum.php deleted file mode 100644 index 762488ddd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ExperimentErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ExperimentErrorEnum - */ -class ExperimentErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ExperimentError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ExperimentErrorEnum/ExperimentError.php b/src/Google/Ads/GoogleAds/V15/Errors/ExperimentErrorEnum/ExperimentError.php deleted file mode 100644 index e2b59fe0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ExperimentErrorEnum/ExperimentError.php +++ /dev/null @@ -1,253 +0,0 @@ -google.ads.googleads.v15.errors.ExperimentErrorEnum.ExperimentError - */ -class ExperimentError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The start date of an experiment cannot be set in the past. - * Use a start date in the future. - * - * Generated from protobuf enum CANNOT_SET_START_DATE_IN_PAST = 2; - */ - const CANNOT_SET_START_DATE_IN_PAST = 2; - /** - * The end date of an experiment is before its start date. - * Use an end date after the start date. - * - * Generated from protobuf enum END_DATE_BEFORE_START_DATE = 3; - */ - const END_DATE_BEFORE_START_DATE = 3; - /** - * The start date of an experiment is too far in the future. - * Use a start date no more than 1 year in the future. - * - * Generated from protobuf enum START_DATE_TOO_FAR_IN_FUTURE = 4; - */ - const START_DATE_TOO_FAR_IN_FUTURE = 4; - /** - * The experiment has the same name as an existing active experiment. - * - * Generated from protobuf enum DUPLICATE_EXPERIMENT_NAME = 5; - */ - const DUPLICATE_EXPERIMENT_NAME = 5; - /** - * Experiments can only be modified when they are ENABLED. - * - * Generated from protobuf enum CANNOT_MODIFY_REMOVED_EXPERIMENT = 6; - */ - const CANNOT_MODIFY_REMOVED_EXPERIMENT = 6; - /** - * The start date of an experiment cannot be modified if the existing start - * date has already passed. - * - * Generated from protobuf enum START_DATE_ALREADY_PASSED = 7; - */ - const START_DATE_ALREADY_PASSED = 7; - /** - * The end date of an experiment cannot be set in the past. - * - * Generated from protobuf enum CANNOT_SET_END_DATE_IN_PAST = 8; - */ - const CANNOT_SET_END_DATE_IN_PAST = 8; - /** - * The status of an experiment cannot be set to REMOVED. - * - * Generated from protobuf enum CANNOT_SET_STATUS_TO_REMOVED = 9; - */ - const CANNOT_SET_STATUS_TO_REMOVED = 9; - /** - * The end date of an expired experiment cannot be modified. - * - * Generated from protobuf enum CANNOT_MODIFY_PAST_END_DATE = 10; - */ - const CANNOT_MODIFY_PAST_END_DATE = 10; - /** - * The status is invalid. - * - * Generated from protobuf enum INVALID_STATUS = 11; - */ - const INVALID_STATUS = 11; - /** - * Experiment arm contains campaigns with invalid advertising channel type. - * - * Generated from protobuf enum INVALID_CAMPAIGN_CHANNEL_TYPE = 12; - */ - const INVALID_CAMPAIGN_CHANNEL_TYPE = 12; - /** - * A pair of trials share members and have overlapping date ranges. - * - * Generated from protobuf enum OVERLAPPING_MEMBERS_AND_DATE_RANGE = 13; - */ - const OVERLAPPING_MEMBERS_AND_DATE_RANGE = 13; - /** - * Experiment arm contains invalid traffic split. - * - * Generated from protobuf enum INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14; - */ - const INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14; - /** - * Experiment contains trial arms with overlapping traffic split. - * - * Generated from protobuf enum TRAFFIC_SPLIT_OVERLAPPING = 15; - */ - const TRAFFIC_SPLIT_OVERLAPPING = 15; - /** - * The total traffic split of trial arms is not equal to 100. - * - * Generated from protobuf enum SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR = 16; - */ - const SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR = 16; - /** - * Traffic split related settings (like traffic share bounds) can't be - * modified after the experiment has started. - * - * Generated from protobuf enum CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START = 17; - */ - const CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START = 17; - /** - * The experiment could not be found. - * - * Generated from protobuf enum EXPERIMENT_NOT_FOUND = 18; - */ - const EXPERIMENT_NOT_FOUND = 18; - /** - * Experiment has not begun. - * - * Generated from protobuf enum EXPERIMENT_NOT_YET_STARTED = 19; - */ - const EXPERIMENT_NOT_YET_STARTED = 19; - /** - * The experiment cannot have more than one control arm. - * - * Generated from protobuf enum CANNOT_HAVE_MULTIPLE_CONTROL_ARMS = 20; - */ - const CANNOT_HAVE_MULTIPLE_CONTROL_ARMS = 20; - /** - * The experiment doesn't set in-design campaigns. - * - * Generated from protobuf enum IN_DESIGN_CAMPAIGNS_NOT_SET = 21; - */ - const IN_DESIGN_CAMPAIGNS_NOT_SET = 21; - /** - * Clients must use the graduate action to graduate experiments and cannot - * set the status to GRADUATED directly. - * - * Generated from protobuf enum CANNOT_SET_STATUS_TO_GRADUATED = 22; - */ - const CANNOT_SET_STATUS_TO_GRADUATED = 22; - /** - * Cannot use shared budget on base campaign when scheduling an experiment. - * - * Generated from protobuf enum CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET = 23; - */ - const CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET = 23; - /** - * Cannot use custom budget on base campaign when scheduling an experiment. - * - * Generated from protobuf enum CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24; - */ - const CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24; - /** - * Invalid status transition. - * - * Generated from protobuf enum STATUS_TRANSITION_INVALID = 25; - */ - const STATUS_TRANSITION_INVALID = 25; - /** - * The experiment campaign name conflicts with a pre-existing campaign. - * - * Generated from protobuf enum DUPLICATE_EXPERIMENT_CAMPAIGN_NAME = 26; - */ - const DUPLICATE_EXPERIMENT_CAMPAIGN_NAME = 26; - /** - * Cannot remove in creation experiments. - * - * Generated from protobuf enum CANNOT_REMOVE_IN_CREATION_EXPERIMENT = 27; - */ - const CANNOT_REMOVE_IN_CREATION_EXPERIMENT = 27; - /** - * Cannot add campaign with deprecated ad types. Deprecated ad types: - * ENHANCED_DISPLAY, GALLERY, GMAIL, KEYWORDLESS, TEXT. - * - * Generated from protobuf enum CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES = 28; - */ - const CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES = 28; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_SET_START_DATE_IN_PAST => 'CANNOT_SET_START_DATE_IN_PAST', - self::END_DATE_BEFORE_START_DATE => 'END_DATE_BEFORE_START_DATE', - self::START_DATE_TOO_FAR_IN_FUTURE => 'START_DATE_TOO_FAR_IN_FUTURE', - self::DUPLICATE_EXPERIMENT_NAME => 'DUPLICATE_EXPERIMENT_NAME', - self::CANNOT_MODIFY_REMOVED_EXPERIMENT => 'CANNOT_MODIFY_REMOVED_EXPERIMENT', - self::START_DATE_ALREADY_PASSED => 'START_DATE_ALREADY_PASSED', - self::CANNOT_SET_END_DATE_IN_PAST => 'CANNOT_SET_END_DATE_IN_PAST', - self::CANNOT_SET_STATUS_TO_REMOVED => 'CANNOT_SET_STATUS_TO_REMOVED', - self::CANNOT_MODIFY_PAST_END_DATE => 'CANNOT_MODIFY_PAST_END_DATE', - self::INVALID_STATUS => 'INVALID_STATUS', - self::INVALID_CAMPAIGN_CHANNEL_TYPE => 'INVALID_CAMPAIGN_CHANNEL_TYPE', - self::OVERLAPPING_MEMBERS_AND_DATE_RANGE => 'OVERLAPPING_MEMBERS_AND_DATE_RANGE', - self::INVALID_TRIAL_ARM_TRAFFIC_SPLIT => 'INVALID_TRIAL_ARM_TRAFFIC_SPLIT', - self::TRAFFIC_SPLIT_OVERLAPPING => 'TRAFFIC_SPLIT_OVERLAPPING', - self::SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR => 'SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR', - self::CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START => 'CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START', - self::EXPERIMENT_NOT_FOUND => 'EXPERIMENT_NOT_FOUND', - self::EXPERIMENT_NOT_YET_STARTED => 'EXPERIMENT_NOT_YET_STARTED', - self::CANNOT_HAVE_MULTIPLE_CONTROL_ARMS => 'CANNOT_HAVE_MULTIPLE_CONTROL_ARMS', - self::IN_DESIGN_CAMPAIGNS_NOT_SET => 'IN_DESIGN_CAMPAIGNS_NOT_SET', - self::CANNOT_SET_STATUS_TO_GRADUATED => 'CANNOT_SET_STATUS_TO_GRADUATED', - self::CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET => 'CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET', - self::CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET => 'CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET', - self::STATUS_TRANSITION_INVALID => 'STATUS_TRANSITION_INVALID', - self::DUPLICATE_EXPERIMENT_CAMPAIGN_NAME => 'DUPLICATE_EXPERIMENT_CAMPAIGN_NAME', - self::CANNOT_REMOVE_IN_CREATION_EXPERIMENT => 'CANNOT_REMOVE_IN_CREATION_EXPERIMENT', - self::CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES => 'CANNOT_ADD_CAMPAIGN_WITH_DEPRECATED_AD_TYPES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExperimentError::class, \Google\Ads\GoogleAds\V15\Errors\ExperimentErrorEnum_ExperimentError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemErrorEnum.php deleted file mode 100644 index d50b8818a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ExtensionFeedItemErrorEnum - */ -class ExtensionFeedItemErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ExtensionFeedItemError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemErrorEnum/ExtensionFeedItemError.php b/src/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemErrorEnum/ExtensionFeedItemError.php deleted file mode 100644 index a927787f7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ExtensionFeedItemErrorEnum/ExtensionFeedItemError.php +++ /dev/null @@ -1,388 +0,0 @@ -google.ads.googleads.v15.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError - */ -class ExtensionFeedItemError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Value is not within the accepted range. - * - * Generated from protobuf enum VALUE_OUT_OF_RANGE = 2; - */ - const VALUE_OUT_OF_RANGE = 2; - /** - * Url list is too long. - * - * Generated from protobuf enum URL_LIST_TOO_LONG = 3; - */ - const URL_LIST_TOO_LONG = 3; - /** - * Cannot have a geo targeting restriction without having geo targeting. - * - * Generated from protobuf enum CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING = 4; - */ - const CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING = 4; - /** - * Cannot simultaneously set sitelink field with final urls. - * - * Generated from protobuf enum CANNOT_SET_WITH_FINAL_URLS = 5; - */ - const CANNOT_SET_WITH_FINAL_URLS = 5; - /** - * Must set field with final urls. - * - * Generated from protobuf enum CANNOT_SET_WITHOUT_FINAL_URLS = 6; - */ - const CANNOT_SET_WITHOUT_FINAL_URLS = 6; - /** - * Phone number for a call extension is invalid. - * - * Generated from protobuf enum INVALID_PHONE_NUMBER = 7; - */ - const INVALID_PHONE_NUMBER = 7; - /** - * Phone number for a call extension is not supported for the given country - * code. - * - * Generated from protobuf enum PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 8; - */ - const PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 8; - /** - * A carrier specific number in short format is not allowed for call - * extensions. - * - * Generated from protobuf enum CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 9; - */ - const CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 9; - /** - * Premium rate numbers are not allowed for call extensions. - * - * Generated from protobuf enum PREMIUM_RATE_NUMBER_NOT_ALLOWED = 10; - */ - const PREMIUM_RATE_NUMBER_NOT_ALLOWED = 10; - /** - * Phone number type for a call extension is not allowed. - * For example, personal number is not allowed for a call extension in - * most regions. - * - * Generated from protobuf enum DISALLOWED_NUMBER_TYPE = 11; - */ - const DISALLOWED_NUMBER_TYPE = 11; - /** - * Phone number for a call extension does not meet domestic format - * requirements. - * - * Generated from protobuf enum INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 12; - */ - const INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 12; - /** - * Vanity phone numbers (for example, those including letters) are not - * allowed for call extensions. - * - * Generated from protobuf enum VANITY_PHONE_NUMBER_NOT_ALLOWED = 13; - */ - const VANITY_PHONE_NUMBER_NOT_ALLOWED = 13; - /** - * Call conversion action provided for a call extension is invalid. - * - * Generated from protobuf enum INVALID_CALL_CONVERSION_ACTION = 14; - */ - const INVALID_CALL_CONVERSION_ACTION = 14; - /** - * For a call extension, the customer is not on the allow-list for call - * tracking. - * - * Generated from protobuf enum CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING = 47; - */ - const CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING = 47; - /** - * Call tracking is not supported for the given country for a call - * extension. - * - * Generated from protobuf enum CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 16; - */ - const CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 16; - /** - * Customer hasn't consented for call recording, which is required for - * creating/updating call feed items. See - * https://support.google.com/google-ads/answer/7412639. - * - * Generated from protobuf enum CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 17; - */ - const CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 17; - /** - * App id provided for an app extension is invalid. - * - * Generated from protobuf enum INVALID_APP_ID = 18; - */ - const INVALID_APP_ID = 18; - /** - * Quotation marks present in the review text for a review extension. - * - * Generated from protobuf enum QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 19; - */ - const QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 19; - /** - * Hyphen character present in the review text for a review extension. - * - * Generated from protobuf enum HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 20; - */ - const HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 20; - /** - * A denylisted review source name or url was provided for a review - * extension. - * - * Generated from protobuf enum REVIEW_EXTENSION_SOURCE_INELIGIBLE = 21; - */ - const REVIEW_EXTENSION_SOURCE_INELIGIBLE = 21; - /** - * Review source name should not be found in the review text. - * - * Generated from protobuf enum SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 22; - */ - const SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 22; - /** - * Inconsistent currency codes. - * - * Generated from protobuf enum INCONSISTENT_CURRENCY_CODES = 23; - */ - const INCONSISTENT_CURRENCY_CODES = 23; - /** - * Price extension cannot have duplicated headers. - * - * Generated from protobuf enum PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 24; - */ - const PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 24; - /** - * Price item cannot have duplicated header and description. - * - * Generated from protobuf enum PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 25; - */ - const PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 25; - /** - * Price extension has too few items. - * - * Generated from protobuf enum PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 26; - */ - const PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 26; - /** - * Price extension has too many items. - * - * Generated from protobuf enum PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 27; - */ - const PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 27; - /** - * The input value is not currently supported. - * - * Generated from protobuf enum UNSUPPORTED_VALUE = 28; - */ - const UNSUPPORTED_VALUE = 28; - /** - * The input value is not currently supported in the selected language of an - * extension. - * - * Generated from protobuf enum UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 29; - */ - const UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 29; - /** - * Unknown or unsupported device preference. - * - * Generated from protobuf enum INVALID_DEVICE_PREFERENCE = 30; - */ - const INVALID_DEVICE_PREFERENCE = 30; - /** - * Invalid feed item schedule end time (for example, endHour = 24 and - * endMinute != 0). - * - * Generated from protobuf enum INVALID_SCHEDULE_END = 31; - */ - const INVALID_SCHEDULE_END = 31; - /** - * Date time zone does not match the account's time zone. - * - * Generated from protobuf enum DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 32; - */ - const DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 32; - /** - * Invalid structured snippet header. - * - * Generated from protobuf enum INVALID_SNIPPETS_HEADER = 33; - */ - const INVALID_SNIPPETS_HEADER = 33; - /** - * Cannot operate on removed feed item. - * - * Generated from protobuf enum CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 34; - */ - const CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 34; - /** - * Phone number not supported when call tracking enabled for country. - * - * Generated from protobuf enum PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 35; - */ - const PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 35; - /** - * Cannot set call_conversion_action while call_conversion_tracking_enabled - * is set to true. - * - * Generated from protobuf enum CONFLICTING_CALL_CONVERSION_SETTINGS = 36; - */ - const CONFLICTING_CALL_CONVERSION_SETTINGS = 36; - /** - * The type of the input extension feed item doesn't match the existing - * extension feed item. - * - * Generated from protobuf enum EXTENSION_TYPE_MISMATCH = 37; - */ - const EXTENSION_TYPE_MISMATCH = 37; - /** - * The oneof field extension for example, subtype of extension feed item is - * required. - * - * Generated from protobuf enum EXTENSION_SUBTYPE_REQUIRED = 38; - */ - const EXTENSION_SUBTYPE_REQUIRED = 38; - /** - * The referenced feed item is not mapped to a supported extension type. - * - * Generated from protobuf enum EXTENSION_TYPE_UNSUPPORTED = 39; - */ - const EXTENSION_TYPE_UNSUPPORTED = 39; - /** - * Cannot operate on a Feed with more than one active FeedMapping. - * - * Generated from protobuf enum CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS = 40; - */ - const CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS = 40; - /** - * Cannot operate on a Feed that has key attributes. - * - * Generated from protobuf enum CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES = 41; - */ - const CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES = 41; - /** - * Input price is not in a valid format. - * - * Generated from protobuf enum INVALID_PRICE_FORMAT = 42; - */ - const INVALID_PRICE_FORMAT = 42; - /** - * The promotion time is invalid. - * - * Generated from protobuf enum PROMOTION_INVALID_TIME = 43; - */ - const PROMOTION_INVALID_TIME = 43; - /** - * This field has too many decimal places specified. - * - * Generated from protobuf enum TOO_MANY_DECIMAL_PLACES_SPECIFIED = 44; - */ - const TOO_MANY_DECIMAL_PLACES_SPECIFIED = 44; - /** - * Concrete sub type of ExtensionFeedItem is required for this operation. - * - * Generated from protobuf enum CONCRETE_EXTENSION_TYPE_REQUIRED = 45; - */ - const CONCRETE_EXTENSION_TYPE_REQUIRED = 45; - /** - * Feed item schedule end time must be after start time. - * - * Generated from protobuf enum SCHEDULE_END_NOT_AFTER_START = 46; - */ - const SCHEDULE_END_NOT_AFTER_START = 46; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::VALUE_OUT_OF_RANGE => 'VALUE_OUT_OF_RANGE', - self::URL_LIST_TOO_LONG => 'URL_LIST_TOO_LONG', - self::CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING => 'CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING', - self::CANNOT_SET_WITH_FINAL_URLS => 'CANNOT_SET_WITH_FINAL_URLS', - self::CANNOT_SET_WITHOUT_FINAL_URLS => 'CANNOT_SET_WITHOUT_FINAL_URLS', - self::INVALID_PHONE_NUMBER => 'INVALID_PHONE_NUMBER', - self::PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY => 'PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', - self::CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED => 'CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', - self::PREMIUM_RATE_NUMBER_NOT_ALLOWED => 'PREMIUM_RATE_NUMBER_NOT_ALLOWED', - self::DISALLOWED_NUMBER_TYPE => 'DISALLOWED_NUMBER_TYPE', - self::INVALID_DOMESTIC_PHONE_NUMBER_FORMAT => 'INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', - self::VANITY_PHONE_NUMBER_NOT_ALLOWED => 'VANITY_PHONE_NUMBER_NOT_ALLOWED', - self::INVALID_CALL_CONVERSION_ACTION => 'INVALID_CALL_CONVERSION_ACTION', - self::CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING => 'CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING', - self::CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY => 'CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', - self::CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED => 'CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', - self::INVALID_APP_ID => 'INVALID_APP_ID', - self::QUOTES_IN_REVIEW_EXTENSION_SNIPPET => 'QUOTES_IN_REVIEW_EXTENSION_SNIPPET', - self::HYPHENS_IN_REVIEW_EXTENSION_SNIPPET => 'HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', - self::REVIEW_EXTENSION_SOURCE_INELIGIBLE => 'REVIEW_EXTENSION_SOURCE_INELIGIBLE', - self::SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT => 'SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', - self::INCONSISTENT_CURRENCY_CODES => 'INCONSISTENT_CURRENCY_CODES', - self::PRICE_EXTENSION_HAS_DUPLICATED_HEADERS => 'PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', - self::PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION => 'PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', - self::PRICE_EXTENSION_HAS_TOO_FEW_ITEMS => 'PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', - self::PRICE_EXTENSION_HAS_TOO_MANY_ITEMS => 'PRICE_EXTENSION_HAS_TOO_MANY_ITEMS', - self::UNSUPPORTED_VALUE => 'UNSUPPORTED_VALUE', - self::UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE => 'UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE', - self::INVALID_DEVICE_PREFERENCE => 'INVALID_DEVICE_PREFERENCE', - self::INVALID_SCHEDULE_END => 'INVALID_SCHEDULE_END', - self::DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE => 'DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', - self::INVALID_SNIPPETS_HEADER => 'INVALID_SNIPPETS_HEADER', - self::CANNOT_OPERATE_ON_REMOVED_FEED_ITEM => 'CANNOT_OPERATE_ON_REMOVED_FEED_ITEM', - self::PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY => 'PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', - self::CONFLICTING_CALL_CONVERSION_SETTINGS => 'CONFLICTING_CALL_CONVERSION_SETTINGS', - self::EXTENSION_TYPE_MISMATCH => 'EXTENSION_TYPE_MISMATCH', - self::EXTENSION_SUBTYPE_REQUIRED => 'EXTENSION_SUBTYPE_REQUIRED', - self::EXTENSION_TYPE_UNSUPPORTED => 'EXTENSION_TYPE_UNSUPPORTED', - self::CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS => 'CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS', - self::CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES => 'CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES', - self::INVALID_PRICE_FORMAT => 'INVALID_PRICE_FORMAT', - self::PROMOTION_INVALID_TIME => 'PROMOTION_INVALID_TIME', - self::TOO_MANY_DECIMAL_PLACES_SPECIFIED => 'TOO_MANY_DECIMAL_PLACES_SPECIFIED', - self::CONCRETE_EXTENSION_TYPE_REQUIRED => 'CONCRETE_EXTENSION_TYPE_REQUIRED', - self::SCHEDULE_END_NOT_AFTER_START => 'SCHEDULE_END_NOT_AFTER_START', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExtensionFeedItemError::class, \Google\Ads\GoogleAds\V15\Errors\ExtensionFeedItemErrorEnum_ExtensionFeedItemError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingErrorEnum.php deleted file mode 100644 index ef7750e35..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ExtensionSettingErrorEnum - */ -class ExtensionSettingErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ExtensionSettingError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingErrorEnum/ExtensionSettingError.php b/src/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingErrorEnum/ExtensionSettingError.php deleted file mode 100644 index 1eaf27252..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ExtensionSettingErrorEnum/ExtensionSettingError.php +++ /dev/null @@ -1,534 +0,0 @@ -google.ads.googleads.v15.errors.ExtensionSettingErrorEnum.ExtensionSettingError - */ -class ExtensionSettingError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A platform restriction was provided without input extensions or existing - * extensions. - * - * Generated from protobuf enum EXTENSIONS_REQUIRED = 2; - */ - const EXTENSIONS_REQUIRED = 2; - /** - * The provided feed type does not correspond to the provided extensions. - * - * Generated from protobuf enum FEED_TYPE_EXTENSION_TYPE_MISMATCH = 3; - */ - const FEED_TYPE_EXTENSION_TYPE_MISMATCH = 3; - /** - * The provided feed type cannot be used. - * - * Generated from protobuf enum INVALID_FEED_TYPE = 4; - */ - const INVALID_FEED_TYPE = 4; - /** - * The provided feed type cannot be used at the customer level. - * - * Generated from protobuf enum INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING = 5; - */ - const INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING = 5; - /** - * Cannot change a feed item field on a CREATE operation. - * - * Generated from protobuf enum CANNOT_CHANGE_FEED_ITEM_ON_CREATE = 6; - */ - const CANNOT_CHANGE_FEED_ITEM_ON_CREATE = 6; - /** - * Cannot update an extension that is not already in this setting. - * - * Generated from protobuf enum CANNOT_UPDATE_NEWLY_CREATED_EXTENSION = 7; - */ - const CANNOT_UPDATE_NEWLY_CREATED_EXTENSION = 7; - /** - * There is no existing AdGroupExtensionSetting for this type. - * - * Generated from protobuf enum NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE = 8; - */ - const NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE = 8; - /** - * There is no existing CampaignExtensionSetting for this type. - * - * Generated from protobuf enum NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE = 9; - */ - const NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE = 9; - /** - * There is no existing CustomerExtensionSetting for this type. - * - * Generated from protobuf enum NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE = 10; - */ - const NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE = 10; - /** - * The AdGroupExtensionSetting already exists. UPDATE should be used to - * modify the existing AdGroupExtensionSetting. - * - * Generated from protobuf enum AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS = 11; - */ - const AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS = 11; - /** - * The CampaignExtensionSetting already exists. UPDATE should be used to - * modify the existing CampaignExtensionSetting. - * - * Generated from protobuf enum CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS = 12; - */ - const CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS = 12; - /** - * The CustomerExtensionSetting already exists. UPDATE should be used to - * modify the existing CustomerExtensionSetting. - * - * Generated from protobuf enum CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS = 13; - */ - const CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS = 13; - /** - * An active ad group feed already exists for this place holder type. - * - * Generated from protobuf enum AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 14; - */ - const AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 14; - /** - * An active campaign feed already exists for this place holder type. - * - * Generated from protobuf enum CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 15; - */ - const CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 15; - /** - * An active customer feed already exists for this place holder type. - * - * Generated from protobuf enum CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 16; - */ - const CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 16; - /** - * Value is not within the accepted range. - * - * Generated from protobuf enum VALUE_OUT_OF_RANGE = 17; - */ - const VALUE_OUT_OF_RANGE = 17; - /** - * Cannot simultaneously set specified field with final urls. - * - * Generated from protobuf enum CANNOT_SET_FIELD_WITH_FINAL_URLS = 18; - */ - const CANNOT_SET_FIELD_WITH_FINAL_URLS = 18; - /** - * Must set field with final urls. - * - * Generated from protobuf enum FINAL_URLS_NOT_SET = 19; - */ - const FINAL_URLS_NOT_SET = 19; - /** - * Phone number for a call extension is invalid. - * - * Generated from protobuf enum INVALID_PHONE_NUMBER = 20; - */ - const INVALID_PHONE_NUMBER = 20; - /** - * Phone number for a call extension is not supported for the given country - * code. - * - * Generated from protobuf enum PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 21; - */ - const PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 21; - /** - * A carrier specific number in short format is not allowed for call - * extensions. - * - * Generated from protobuf enum CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 22; - */ - const CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 22; - /** - * Premium rate numbers are not allowed for call extensions. - * - * Generated from protobuf enum PREMIUM_RATE_NUMBER_NOT_ALLOWED = 23; - */ - const PREMIUM_RATE_NUMBER_NOT_ALLOWED = 23; - /** - * Phone number type for a call extension is not allowed. - * - * Generated from protobuf enum DISALLOWED_NUMBER_TYPE = 24; - */ - const DISALLOWED_NUMBER_TYPE = 24; - /** - * Phone number for a call extension does not meet domestic format - * requirements. - * - * Generated from protobuf enum INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 25; - */ - const INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 25; - /** - * Vanity phone numbers (for example, those including letters) are not - * allowed for call extensions. - * - * Generated from protobuf enum VANITY_PHONE_NUMBER_NOT_ALLOWED = 26; - */ - const VANITY_PHONE_NUMBER_NOT_ALLOWED = 26; - /** - * Country code provided for a call extension is invalid. - * - * Generated from protobuf enum INVALID_COUNTRY_CODE = 27; - */ - const INVALID_COUNTRY_CODE = 27; - /** - * Call conversion type id provided for a call extension is invalid. - * - * Generated from protobuf enum INVALID_CALL_CONVERSION_TYPE_ID = 28; - */ - const INVALID_CALL_CONVERSION_TYPE_ID = 28; - /** - * For a call extension, the customer is not on the allow-list for call - * tracking. - * - * Generated from protobuf enum CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 69; - */ - const CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 69; - /** - * Call tracking is not supported for the given country for a call - * extension. - * - * Generated from protobuf enum CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 30; - */ - const CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 30; - /** - * App id provided for an app extension is invalid. - * - * Generated from protobuf enum INVALID_APP_ID = 31; - */ - const INVALID_APP_ID = 31; - /** - * Quotation marks present in the review text for a review extension. - * - * Generated from protobuf enum QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 32; - */ - const QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 32; - /** - * Hyphen character present in the review text for a review extension. - * - * Generated from protobuf enum HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 33; - */ - const HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 33; - /** - * A blocked review source name or url was provided for a review - * extension. - * - * Generated from protobuf enum REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE = 34; - */ - const REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE = 34; - /** - * Review source name should not be found in the review text. - * - * Generated from protobuf enum SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 35; - */ - const SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 35; - /** - * Field must be set. - * - * Generated from protobuf enum MISSING_FIELD = 36; - */ - const MISSING_FIELD = 36; - /** - * Inconsistent currency codes. - * - * Generated from protobuf enum INCONSISTENT_CURRENCY_CODES = 37; - */ - const INCONSISTENT_CURRENCY_CODES = 37; - /** - * Price extension cannot have duplicated headers. - * - * Generated from protobuf enum PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 38; - */ - const PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 38; - /** - * Price item cannot have duplicated header and description. - * - * Generated from protobuf enum PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 39; - */ - const PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 39; - /** - * Price extension has too few items - * - * Generated from protobuf enum PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 40; - */ - const PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 40; - /** - * Price extension has too many items - * - * Generated from protobuf enum PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 41; - */ - const PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 41; - /** - * The input value is not currently supported. - * - * Generated from protobuf enum UNSUPPORTED_VALUE = 42; - */ - const UNSUPPORTED_VALUE = 42; - /** - * Unknown or unsupported device preference. - * - * Generated from protobuf enum INVALID_DEVICE_PREFERENCE = 43; - */ - const INVALID_DEVICE_PREFERENCE = 43; - /** - * Invalid feed item schedule end time (for example, endHour = 24 and - * endMinute != 0). - * - * Generated from protobuf enum INVALID_SCHEDULE_END = 45; - */ - const INVALID_SCHEDULE_END = 45; - /** - * Date time zone does not match the account's time zone. - * - * Generated from protobuf enum DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 47; - */ - const DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 47; - /** - * Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are - * not allowed. - * - * Generated from protobuf enum OVERLAPPING_SCHEDULES_NOT_ALLOWED = 48; - */ - const OVERLAPPING_SCHEDULES_NOT_ALLOWED = 48; - /** - * Feed item schedule end time must be after start time. - * - * Generated from protobuf enum SCHEDULE_END_NOT_AFTER_START = 49; - */ - const SCHEDULE_END_NOT_AFTER_START = 49; - /** - * There are too many feed item schedules per day. - * - * Generated from protobuf enum TOO_MANY_SCHEDULES_PER_DAY = 50; - */ - const TOO_MANY_SCHEDULES_PER_DAY = 50; - /** - * Cannot edit the same extension feed item more than once in the same - * request. - * - * Generated from protobuf enum DUPLICATE_EXTENSION_FEED_ITEM_EDIT = 51; - */ - const DUPLICATE_EXTENSION_FEED_ITEM_EDIT = 51; - /** - * Invalid structured snippet header. - * - * Generated from protobuf enum INVALID_SNIPPETS_HEADER = 52; - */ - const INVALID_SNIPPETS_HEADER = 52; - /** - * Phone number with call tracking enabled is not supported for the - * specified country. - * - * Generated from protobuf enum PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 53; - */ - const PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 53; - /** - * The targeted adgroup must belong to the targeted campaign. - * - * Generated from protobuf enum CAMPAIGN_TARGETING_MISMATCH = 54; - */ - const CAMPAIGN_TARGETING_MISMATCH = 54; - /** - * The feed used by the ExtensionSetting is removed and cannot be operated - * on. Remove the ExtensionSetting to allow a new one to be created using - * an active feed. - * - * Generated from protobuf enum CANNOT_OPERATE_ON_REMOVED_FEED = 55; - */ - const CANNOT_OPERATE_ON_REMOVED_FEED = 55; - /** - * The ExtensionFeedItem type is required for this operation. - * - * Generated from protobuf enum EXTENSION_TYPE_REQUIRED = 56; - */ - const EXTENSION_TYPE_REQUIRED = 56; - /** - * The matching function that links the extension feed to the customer, - * campaign, or ad group is not compatible with the ExtensionSetting - * services. - * - * Generated from protobuf enum INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION = 57; - */ - const INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION = 57; - /** - * Start date must be before end date. - * - * Generated from protobuf enum START_DATE_AFTER_END_DATE = 58; - */ - const START_DATE_AFTER_END_DATE = 58; - /** - * Input price is not in a valid format. - * - * Generated from protobuf enum INVALID_PRICE_FORMAT = 59; - */ - const INVALID_PRICE_FORMAT = 59; - /** - * The promotion time is invalid. - * - * Generated from protobuf enum PROMOTION_INVALID_TIME = 60; - */ - const PROMOTION_INVALID_TIME = 60; - /** - * Cannot set both percent discount and money discount fields. - * - * Generated from protobuf enum PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT = 61; - */ - const PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT = 61; - /** - * Cannot set both promotion code and orders over amount fields. - * - * Generated from protobuf enum PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 62; - */ - const PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 62; - /** - * This field has too many decimal places specified. - * - * Generated from protobuf enum TOO_MANY_DECIMAL_PLACES_SPECIFIED = 63; - */ - const TOO_MANY_DECIMAL_PLACES_SPECIFIED = 63; - /** - * The language code is not valid. - * - * Generated from protobuf enum INVALID_LANGUAGE_CODE = 64; - */ - const INVALID_LANGUAGE_CODE = 64; - /** - * The language is not supported. - * - * Generated from protobuf enum UNSUPPORTED_LANGUAGE = 65; - */ - const UNSUPPORTED_LANGUAGE = 65; - /** - * Customer hasn't consented for call recording, which is required for - * adding/updating call extensions. See - * https://support.google.com/google-ads/answer/7412639. - * - * Generated from protobuf enum CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66; - */ - const CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66; - /** - * The UPDATE operation does not specify any fields other than the resource - * name in the update mask. - * - * Generated from protobuf enum EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67; - */ - const EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67; - /** - * The extension contains text which has been prohibited on policy grounds. - * - * Generated from protobuf enum DISALLOWED_TEXT = 68; - */ - const DISALLOWED_TEXT = 68; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXTENSIONS_REQUIRED => 'EXTENSIONS_REQUIRED', - self::FEED_TYPE_EXTENSION_TYPE_MISMATCH => 'FEED_TYPE_EXTENSION_TYPE_MISMATCH', - self::INVALID_FEED_TYPE => 'INVALID_FEED_TYPE', - self::INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING => 'INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING', - self::CANNOT_CHANGE_FEED_ITEM_ON_CREATE => 'CANNOT_CHANGE_FEED_ITEM_ON_CREATE', - self::CANNOT_UPDATE_NEWLY_CREATED_EXTENSION => 'CANNOT_UPDATE_NEWLY_CREATED_EXTENSION', - self::NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE => 'NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE', - self::NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE => 'NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE', - self::NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE => 'NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE', - self::AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS => 'AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS', - self::CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS => 'CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS', - self::CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS => 'CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS', - self::AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE => 'AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', - self::CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE => 'CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', - self::CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE => 'CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE', - self::VALUE_OUT_OF_RANGE => 'VALUE_OUT_OF_RANGE', - self::CANNOT_SET_FIELD_WITH_FINAL_URLS => 'CANNOT_SET_FIELD_WITH_FINAL_URLS', - self::FINAL_URLS_NOT_SET => 'FINAL_URLS_NOT_SET', - self::INVALID_PHONE_NUMBER => 'INVALID_PHONE_NUMBER', - self::PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY => 'PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', - self::CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED => 'CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', - self::PREMIUM_RATE_NUMBER_NOT_ALLOWED => 'PREMIUM_RATE_NUMBER_NOT_ALLOWED', - self::DISALLOWED_NUMBER_TYPE => 'DISALLOWED_NUMBER_TYPE', - self::INVALID_DOMESTIC_PHONE_NUMBER_FORMAT => 'INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', - self::VANITY_PHONE_NUMBER_NOT_ALLOWED => 'VANITY_PHONE_NUMBER_NOT_ALLOWED', - self::INVALID_COUNTRY_CODE => 'INVALID_COUNTRY_CODE', - self::INVALID_CALL_CONVERSION_TYPE_ID => 'INVALID_CALL_CONVERSION_TYPE_ID', - self::CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING => 'CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING', - self::CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY => 'CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', - self::INVALID_APP_ID => 'INVALID_APP_ID', - self::QUOTES_IN_REVIEW_EXTENSION_SNIPPET => 'QUOTES_IN_REVIEW_EXTENSION_SNIPPET', - self::HYPHENS_IN_REVIEW_EXTENSION_SNIPPET => 'HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', - self::REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE => 'REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE', - self::SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT => 'SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', - self::MISSING_FIELD => 'MISSING_FIELD', - self::INCONSISTENT_CURRENCY_CODES => 'INCONSISTENT_CURRENCY_CODES', - self::PRICE_EXTENSION_HAS_DUPLICATED_HEADERS => 'PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', - self::PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION => 'PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', - self::PRICE_EXTENSION_HAS_TOO_FEW_ITEMS => 'PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', - self::PRICE_EXTENSION_HAS_TOO_MANY_ITEMS => 'PRICE_EXTENSION_HAS_TOO_MANY_ITEMS', - self::UNSUPPORTED_VALUE => 'UNSUPPORTED_VALUE', - self::INVALID_DEVICE_PREFERENCE => 'INVALID_DEVICE_PREFERENCE', - self::INVALID_SCHEDULE_END => 'INVALID_SCHEDULE_END', - self::DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE => 'DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', - self::OVERLAPPING_SCHEDULES_NOT_ALLOWED => 'OVERLAPPING_SCHEDULES_NOT_ALLOWED', - self::SCHEDULE_END_NOT_AFTER_START => 'SCHEDULE_END_NOT_AFTER_START', - self::TOO_MANY_SCHEDULES_PER_DAY => 'TOO_MANY_SCHEDULES_PER_DAY', - self::DUPLICATE_EXTENSION_FEED_ITEM_EDIT => 'DUPLICATE_EXTENSION_FEED_ITEM_EDIT', - self::INVALID_SNIPPETS_HEADER => 'INVALID_SNIPPETS_HEADER', - self::PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY => 'PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY', - self::CAMPAIGN_TARGETING_MISMATCH => 'CAMPAIGN_TARGETING_MISMATCH', - self::CANNOT_OPERATE_ON_REMOVED_FEED => 'CANNOT_OPERATE_ON_REMOVED_FEED', - self::EXTENSION_TYPE_REQUIRED => 'EXTENSION_TYPE_REQUIRED', - self::INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION => 'INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION', - self::START_DATE_AFTER_END_DATE => 'START_DATE_AFTER_END_DATE', - self::INVALID_PRICE_FORMAT => 'INVALID_PRICE_FORMAT', - self::PROMOTION_INVALID_TIME => 'PROMOTION_INVALID_TIME', - self::PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT => 'PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT', - self::PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT => 'PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT', - self::TOO_MANY_DECIMAL_PLACES_SPECIFIED => 'TOO_MANY_DECIMAL_PLACES_SPECIFIED', - self::INVALID_LANGUAGE_CODE => 'INVALID_LANGUAGE_CODE', - self::UNSUPPORTED_LANGUAGE => 'UNSUPPORTED_LANGUAGE', - self::CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED => 'CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', - self::EXTENSION_SETTING_UPDATE_IS_A_NOOP => 'EXTENSION_SETTING_UPDATE_IS_A_NOOP', - self::DISALLOWED_TEXT => 'DISALLOWED_TEXT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExtensionSettingError::class, \Google\Ads\GoogleAds\V15\Errors\ExtensionSettingErrorEnum_ExtensionSettingError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceErrorEnum.php deleted file mode 100644 index 9289c181a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FeedAttributeReferenceErrorEnum - */ -class FeedAttributeReferenceErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FeedAttributeReferenceError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceErrorEnum/FeedAttributeReferenceError.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceErrorEnum/FeedAttributeReferenceError.php deleted file mode 100644 index 8a4da4b61..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedAttributeReferenceErrorEnum/FeedAttributeReferenceError.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError - */ -class FeedAttributeReferenceError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A feed referenced by ID has been removed. - * - * Generated from protobuf enum CANNOT_REFERENCE_REMOVED_FEED = 2; - */ - const CANNOT_REFERENCE_REMOVED_FEED = 2; - /** - * There is no enabled feed with the given name. - * - * Generated from protobuf enum INVALID_FEED_NAME = 3; - */ - const INVALID_FEED_NAME = 3; - /** - * There is no feed attribute in an enabled feed with the given name. - * - * Generated from protobuf enum INVALID_FEED_ATTRIBUTE_NAME = 4; - */ - const INVALID_FEED_ATTRIBUTE_NAME = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_REFERENCE_REMOVED_FEED => 'CANNOT_REFERENCE_REMOVED_FEED', - self::INVALID_FEED_NAME => 'INVALID_FEED_NAME', - self::INVALID_FEED_ATTRIBUTE_NAME => 'INVALID_FEED_ATTRIBUTE_NAME', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedAttributeReferenceError::class, \Google\Ads\GoogleAds\V15\Errors\FeedAttributeReferenceErrorEnum_FeedAttributeReferenceError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedErrorEnum.php deleted file mode 100644 index 42fabf6d4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FeedErrorEnum - */ -class FeedErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FeedError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedErrorEnum/FeedError.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedErrorEnum/FeedError.php deleted file mode 100644 index 2b483b83e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedErrorEnum/FeedError.php +++ /dev/null @@ -1,219 +0,0 @@ -google.ads.googleads.v15.errors.FeedErrorEnum.FeedError - */ -class FeedError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The names of the FeedAttributes must be unique. - * - * Generated from protobuf enum ATTRIBUTE_NAMES_NOT_UNIQUE = 2; - */ - const ATTRIBUTE_NAMES_NOT_UNIQUE = 2; - /** - * The attribute list must be an exact copy of the existing list if the - * attribute ID's are present. - * - * Generated from protobuf enum ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3; - */ - const ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3; - /** - * Cannot specify USER origin for a system generated feed. - * - * Generated from protobuf enum CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4; - */ - const CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4; - /** - * Cannot specify GOOGLE origin for a non-system generated feed. - * - * Generated from protobuf enum CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5; - */ - const CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5; - /** - * Cannot specify feed attributes for system feed. - * - * Generated from protobuf enum CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6; - */ - const CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6; - /** - * Cannot update FeedAttributes on feed with origin GOOGLE. - * - * Generated from protobuf enum CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7; - */ - const CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7; - /** - * The given ID refers to a removed Feed. Removed Feeds are immutable. - * - * Generated from protobuf enum FEED_REMOVED = 8; - */ - const FEED_REMOVED = 8; - /** - * The origin of the feed is not valid for the client. - * - * Generated from protobuf enum INVALID_ORIGIN_VALUE = 9; - */ - const INVALID_ORIGIN_VALUE = 9; - /** - * A user can only create and modify feeds with USER origin. - * - * Generated from protobuf enum FEED_ORIGIN_IS_NOT_USER = 10; - */ - const FEED_ORIGIN_IS_NOT_USER = 10; - /** - * Invalid auth token for the given email. - * - * Generated from protobuf enum INVALID_AUTH_TOKEN_FOR_EMAIL = 11; - */ - const INVALID_AUTH_TOKEN_FOR_EMAIL = 11; - /** - * Invalid email specified. - * - * Generated from protobuf enum INVALID_EMAIL = 12; - */ - const INVALID_EMAIL = 12; - /** - * Feed name matches that of another active Feed. - * - * Generated from protobuf enum DUPLICATE_FEED_NAME = 13; - */ - const DUPLICATE_FEED_NAME = 13; - /** - * Name of feed is not allowed. - * - * Generated from protobuf enum INVALID_FEED_NAME = 14; - */ - const INVALID_FEED_NAME = 14; - /** - * Missing OAuthInfo. - * - * Generated from protobuf enum MISSING_OAUTH_INFO = 15; - */ - const MISSING_OAUTH_INFO = 15; - /** - * New FeedAttributes must not affect the unique key. - * - * Generated from protobuf enum NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16; - */ - const NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16; - /** - * Too many FeedAttributes for a Feed. - * - * Generated from protobuf enum TOO_MANY_ATTRIBUTES = 17; - */ - const TOO_MANY_ATTRIBUTES = 17; - /** - * The business account is not valid. - * - * Generated from protobuf enum INVALID_BUSINESS_ACCOUNT = 18; - */ - const INVALID_BUSINESS_ACCOUNT = 18; - /** - * Business account cannot access Business Profile. - * - * Generated from protobuf enum BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19; - */ - const BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19; - /** - * Invalid chain ID provided for affiliate location feed. - * - * Generated from protobuf enum INVALID_AFFILIATE_CHAIN_ID = 20; - */ - const INVALID_AFFILIATE_CHAIN_ID = 20; - /** - * There is already a feed with the given system feed generation data. - * - * Generated from protobuf enum DUPLICATE_SYSTEM_FEED = 21; - */ - const DUPLICATE_SYSTEM_FEED = 21; - /** - * An error occurred accessing Business Profile. - * - * Generated from protobuf enum GMB_ACCESS_ERROR = 22; - */ - const GMB_ACCESS_ERROR = 22; - /** - * A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. - * - * Generated from protobuf enum CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23; - */ - const CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23; - /** - * Feed-based extension is read-only for this extension type. - * - * Generated from protobuf enum LEGACY_EXTENSION_TYPE_READ_ONLY = 24; - */ - const LEGACY_EXTENSION_TYPE_READ_ONLY = 24; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ATTRIBUTE_NAMES_NOT_UNIQUE => 'ATTRIBUTE_NAMES_NOT_UNIQUE', - self::ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES => 'ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES', - self::CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED => 'CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED', - self::CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED => 'CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED', - self::CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED => 'CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED', - self::CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE => 'CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE', - self::FEED_REMOVED => 'FEED_REMOVED', - self::INVALID_ORIGIN_VALUE => 'INVALID_ORIGIN_VALUE', - self::FEED_ORIGIN_IS_NOT_USER => 'FEED_ORIGIN_IS_NOT_USER', - self::INVALID_AUTH_TOKEN_FOR_EMAIL => 'INVALID_AUTH_TOKEN_FOR_EMAIL', - self::INVALID_EMAIL => 'INVALID_EMAIL', - self::DUPLICATE_FEED_NAME => 'DUPLICATE_FEED_NAME', - self::INVALID_FEED_NAME => 'INVALID_FEED_NAME', - self::MISSING_OAUTH_INFO => 'MISSING_OAUTH_INFO', - self::NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY => 'NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY', - self::TOO_MANY_ATTRIBUTES => 'TOO_MANY_ATTRIBUTES', - self::INVALID_BUSINESS_ACCOUNT => 'INVALID_BUSINESS_ACCOUNT', - self::BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT => 'BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT', - self::INVALID_AFFILIATE_CHAIN_ID => 'INVALID_AFFILIATE_CHAIN_ID', - self::DUPLICATE_SYSTEM_FEED => 'DUPLICATE_SYSTEM_FEED', - self::GMB_ACCESS_ERROR => 'GMB_ACCESS_ERROR', - self::CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS => 'CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS', - self::LEGACY_EXTENSION_TYPE_READ_ONLY => 'LEGACY_EXTENSION_TYPE_READ_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedError::class, \Google\Ads\GoogleAds\V15\Errors\FeedErrorEnum_FeedError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemErrorEnum.php deleted file mode 100644 index 44bf97630..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemErrorEnum - */ -class FeedItemErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FeedItemError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemErrorEnum/FeedItemError.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemErrorEnum/FeedItemError.php deleted file mode 100644 index 93a9c3307..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemErrorEnum/FeedItemError.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemErrorEnum.FeedItemError - */ -class FeedItemError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Cannot convert the feed attribute value from string to its real type. - * - * Generated from protobuf enum CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING = 2; - */ - const CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING = 2; - /** - * Cannot operate on removed feed item. - * - * Generated from protobuf enum CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 3; - */ - const CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 3; - /** - * Date time zone does not match the account's time zone. - * - * Generated from protobuf enum DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 4; - */ - const DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 4; - /** - * Feed item with the key attributes could not be found. - * - * Generated from protobuf enum KEY_ATTRIBUTES_NOT_FOUND = 5; - */ - const KEY_ATTRIBUTES_NOT_FOUND = 5; - /** - * Url feed attribute value is not valid. - * - * Generated from protobuf enum INVALID_URL = 6; - */ - const INVALID_URL = 6; - /** - * Some key attributes are missing. - * - * Generated from protobuf enum MISSING_KEY_ATTRIBUTES = 7; - */ - const MISSING_KEY_ATTRIBUTES = 7; - /** - * Feed item has same key attributes as another feed item. - * - * Generated from protobuf enum KEY_ATTRIBUTES_NOT_UNIQUE = 8; - */ - const KEY_ATTRIBUTES_NOT_UNIQUE = 8; - /** - * Cannot modify key attributes on an existing feed item. - * - * Generated from protobuf enum CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 9; - */ - const CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 9; - /** - * The feed attribute value is too large. - * - * Generated from protobuf enum SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10; - */ - const SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10; - /** - * Feed is read only. - * - * Generated from protobuf enum LEGACY_FEED_TYPE_READ_ONLY = 11; - */ - const LEGACY_FEED_TYPE_READ_ONLY = 11; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING => 'CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING', - self::CANNOT_OPERATE_ON_REMOVED_FEED_ITEM => 'CANNOT_OPERATE_ON_REMOVED_FEED_ITEM', - self::DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE => 'DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE', - self::KEY_ATTRIBUTES_NOT_FOUND => 'KEY_ATTRIBUTES_NOT_FOUND', - self::INVALID_URL => 'INVALID_URL', - self::MISSING_KEY_ATTRIBUTES => 'MISSING_KEY_ATTRIBUTES', - self::KEY_ATTRIBUTES_NOT_UNIQUE => 'KEY_ATTRIBUTES_NOT_UNIQUE', - self::CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE => 'CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE', - self::SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE => 'SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE', - self::LEGACY_FEED_TYPE_READ_ONLY => 'LEGACY_FEED_TYPE_READ_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemError::class, \Google\Ads\GoogleAds\V15\Errors\FeedItemErrorEnum_FeedItemError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetErrorEnum.php deleted file mode 100644 index b3112d939..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemSetErrorEnum - */ -class FeedItemSetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FeedItemSetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetErrorEnum/FeedItemSetError.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetErrorEnum/FeedItemSetError.php deleted file mode 100644 index 59e2af283..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetErrorEnum/FeedItemSetError.php +++ /dev/null @@ -1,112 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemSetErrorEnum.FeedItemSetError - */ -class FeedItemSetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The given ID refers to a removed FeedItemSet. - * - * Generated from protobuf enum FEED_ITEM_SET_REMOVED = 2; - */ - const FEED_ITEM_SET_REMOVED = 2; - /** - * The dynamic filter of a feed item set cannot be cleared on UPDATE if it - * exists. A set is either static or dynamic once added, and that cannot - * change. - * - * Generated from protobuf enum CANNOT_CLEAR_DYNAMIC_FILTER = 3; - */ - const CANNOT_CLEAR_DYNAMIC_FILTER = 3; - /** - * The dynamic filter of a feed item set cannot be created on UPDATE if it - * does not exist. A set is either static or dynamic once added, and that - * cannot change. - * - * Generated from protobuf enum CANNOT_CREATE_DYNAMIC_FILTER = 4; - */ - const CANNOT_CREATE_DYNAMIC_FILTER = 4; - /** - * FeedItemSets can only be made for location or affiliate location feeds. - * - * Generated from protobuf enum INVALID_FEED_TYPE = 5; - */ - const INVALID_FEED_TYPE = 5; - /** - * FeedItemSets duplicate name. Name should be unique within an account. - * - * Generated from protobuf enum DUPLICATE_NAME = 6; - */ - const DUPLICATE_NAME = 6; - /** - * The feed type of the parent Feed is not compatible with the type of - * dynamic filter being set. For example, you can only set - * dynamic_location_set_filter for LOCATION feed item sets. - * - * Generated from protobuf enum WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7; - */ - const WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7; - /** - * Chain ID specified for AffiliateLocationFeedData is invalid. - * - * Generated from protobuf enum DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8; - */ - const DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FEED_ITEM_SET_REMOVED => 'FEED_ITEM_SET_REMOVED', - self::CANNOT_CLEAR_DYNAMIC_FILTER => 'CANNOT_CLEAR_DYNAMIC_FILTER', - self::CANNOT_CREATE_DYNAMIC_FILTER => 'CANNOT_CREATE_DYNAMIC_FILTER', - self::INVALID_FEED_TYPE => 'INVALID_FEED_TYPE', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE => 'WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE', - self::DYNAMIC_FILTER_INVALID_CHAIN_IDS => 'DYNAMIC_FILTER_INVALID_CHAIN_IDS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemSetError::class, \Google\Ads\GoogleAds\V15\Errors\FeedItemSetErrorEnum_FeedItemSetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkErrorEnum.php deleted file mode 100644 index 5d9cbc07a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemSetLinkErrorEnum - */ -class FeedItemSetLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FeedItemSetLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkErrorEnum/FeedItemSetLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkErrorEnum/FeedItemSetLinkError.php deleted file mode 100644 index 2f2d3a2d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemSetLinkErrorEnum/FeedItemSetLinkError.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemSetLinkErrorEnum.FeedItemSetLinkError - */ -class FeedItemSetLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems - * in a given Feed can be linked to a FeedItemSet in that Feed. - * - * Generated from protobuf enum FEED_ID_MISMATCH = 2; - */ - const FEED_ID_MISMATCH = 2; - /** - * Cannot add or remove links to a dynamic set. - * - * Generated from protobuf enum NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET = 3; - */ - const NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FEED_ID_MISMATCH => 'FEED_ID_MISMATCH', - self::NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET => 'NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemSetLinkError::class, \Google\Ads\GoogleAds\V15\Errors\FeedItemSetLinkErrorEnum_FeedItemSetLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetErrorEnum.php deleted file mode 100644 index bfd68d15a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemTargetErrorEnum - */ -class FeedItemTargetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FeedItemTargetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetErrorEnum/FeedItemTargetError.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetErrorEnum/FeedItemTargetError.php deleted file mode 100644 index 0ee68339d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemTargetErrorEnum/FeedItemTargetError.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemTargetErrorEnum.FeedItemTargetError - */ -class FeedItemTargetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * On CREATE, the FeedItemTarget must have a populated field in the oneof - * target. - * - * Generated from protobuf enum MUST_SET_TARGET_ONEOF_ON_CREATE = 2; - */ - const MUST_SET_TARGET_ONEOF_ON_CREATE = 2; - /** - * The specified feed item target already exists, so it cannot be added. - * - * Generated from protobuf enum FEED_ITEM_TARGET_ALREADY_EXISTS = 3; - */ - const FEED_ITEM_TARGET_ALREADY_EXISTS = 3; - /** - * The schedules for a given feed item cannot overlap. - * - * Generated from protobuf enum FEED_ITEM_SCHEDULES_CANNOT_OVERLAP = 4; - */ - const FEED_ITEM_SCHEDULES_CANNOT_OVERLAP = 4; - /** - * Too many targets of a given type were added for a single feed item. - * - * Generated from protobuf enum TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE = 5; - */ - const TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE = 5; - /** - * Too many AdSchedules are enabled for the feed item for the given day. - * - * Generated from protobuf enum TOO_MANY_SCHEDULES_PER_DAY = 6; - */ - const TOO_MANY_SCHEDULES_PER_DAY = 6; - /** - * A feed item may either have an enabled campaign target or an enabled ad - * group target. - * - * Generated from protobuf enum CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS = 7; - */ - const CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS = 7; - /** - * Duplicate ad schedules aren't allowed. - * - * Generated from protobuf enum DUPLICATE_AD_SCHEDULE = 8; - */ - const DUPLICATE_AD_SCHEDULE = 8; - /** - * Duplicate keywords aren't allowed. - * - * Generated from protobuf enum DUPLICATE_KEYWORD = 9; - */ - const DUPLICATE_KEYWORD = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MUST_SET_TARGET_ONEOF_ON_CREATE => 'MUST_SET_TARGET_ONEOF_ON_CREATE', - self::FEED_ITEM_TARGET_ALREADY_EXISTS => 'FEED_ITEM_TARGET_ALREADY_EXISTS', - self::FEED_ITEM_SCHEDULES_CANNOT_OVERLAP => 'FEED_ITEM_SCHEDULES_CANNOT_OVERLAP', - self::TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE => 'TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE', - self::TOO_MANY_SCHEDULES_PER_DAY => 'TOO_MANY_SCHEDULES_PER_DAY', - self::CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS => 'CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS', - self::DUPLICATE_AD_SCHEDULE => 'DUPLICATE_AD_SCHEDULE', - self::DUPLICATE_KEYWORD => 'DUPLICATE_KEYWORD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemTargetError::class, \Google\Ads\GoogleAds\V15\Errors\FeedItemTargetErrorEnum_FeedItemTargetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationErrorEnum.php deleted file mode 100644 index 36e2f293e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemValidationErrorEnum - */ -class FeedItemValidationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FeedItemValidationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationErrorEnum/FeedItemValidationError.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationErrorEnum/FeedItemValidationError.php deleted file mode 100644 index 5e3e98d0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedItemValidationErrorEnum/FeedItemValidationError.php +++ /dev/null @@ -1,810 +0,0 @@ -google.ads.googleads.v15.errors.FeedItemValidationErrorEnum.FeedItemValidationError - */ -class FeedItemValidationError -{ - /** - * No value has been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * String is too short. - * - * Generated from protobuf enum STRING_TOO_SHORT = 2; - */ - const STRING_TOO_SHORT = 2; - /** - * String is too long. - * - * Generated from protobuf enum STRING_TOO_LONG = 3; - */ - const STRING_TOO_LONG = 3; - /** - * Value is not provided. - * - * Generated from protobuf enum VALUE_NOT_SPECIFIED = 4; - */ - const VALUE_NOT_SPECIFIED = 4; - /** - * Phone number format is invalid for region. - * - * Generated from protobuf enum INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 5; - */ - const INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 5; - /** - * String does not represent a phone number. - * - * Generated from protobuf enum INVALID_PHONE_NUMBER = 6; - */ - const INVALID_PHONE_NUMBER = 6; - /** - * Phone number format is not compatible with country code. - * - * Generated from protobuf enum PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 7; - */ - const PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 7; - /** - * Premium rate number is not allowed. - * - * Generated from protobuf enum PREMIUM_RATE_NUMBER_NOT_ALLOWED = 8; - */ - const PREMIUM_RATE_NUMBER_NOT_ALLOWED = 8; - /** - * Phone number type is not allowed. - * - * Generated from protobuf enum DISALLOWED_NUMBER_TYPE = 9; - */ - const DISALLOWED_NUMBER_TYPE = 9; - /** - * Specified value is outside of the valid range. - * - * Generated from protobuf enum VALUE_OUT_OF_RANGE = 10; - */ - const VALUE_OUT_OF_RANGE = 10; - /** - * Call tracking is not supported in the selected country. - * - * Generated from protobuf enum CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 11; - */ - const CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 11; - /** - * Customer is not on the allow-list for call tracking. - * - * Generated from protobuf enum CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 99; - */ - const CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 99; - /** - * Country code is invalid. - * - * Generated from protobuf enum INVALID_COUNTRY_CODE = 13; - */ - const INVALID_COUNTRY_CODE = 13; - /** - * The specified mobile app id is invalid. - * - * Generated from protobuf enum INVALID_APP_ID = 14; - */ - const INVALID_APP_ID = 14; - /** - * Some required field attributes are missing. - * - * Generated from protobuf enum MISSING_ATTRIBUTES_FOR_FIELDS = 15; - */ - const MISSING_ATTRIBUTES_FOR_FIELDS = 15; - /** - * Invalid email button type for email extension. - * - * Generated from protobuf enum INVALID_TYPE_ID = 16; - */ - const INVALID_TYPE_ID = 16; - /** - * Email address is invalid. - * - * Generated from protobuf enum INVALID_EMAIL_ADDRESS = 17; - */ - const INVALID_EMAIL_ADDRESS = 17; - /** - * The HTTPS URL in email extension is invalid. - * - * Generated from protobuf enum INVALID_HTTPS_URL = 18; - */ - const INVALID_HTTPS_URL = 18; - /** - * Delivery address is missing from email extension. - * - * Generated from protobuf enum MISSING_DELIVERY_ADDRESS = 19; - */ - const MISSING_DELIVERY_ADDRESS = 19; - /** - * FeedItem scheduling start date comes after end date. - * - * Generated from protobuf enum START_DATE_AFTER_END_DATE = 20; - */ - const START_DATE_AFTER_END_DATE = 20; - /** - * FeedItem scheduling start time is missing. - * - * Generated from protobuf enum MISSING_FEED_ITEM_START_TIME = 21; - */ - const MISSING_FEED_ITEM_START_TIME = 21; - /** - * FeedItem scheduling end time is missing. - * - * Generated from protobuf enum MISSING_FEED_ITEM_END_TIME = 22; - */ - const MISSING_FEED_ITEM_END_TIME = 22; - /** - * Cannot compute system attributes on a FeedItem that has no FeedItemId. - * - * Generated from protobuf enum MISSING_FEED_ITEM_ID = 23; - */ - const MISSING_FEED_ITEM_ID = 23; - /** - * Call extension vanity phone numbers are not supported. - * - * Generated from protobuf enum VANITY_PHONE_NUMBER_NOT_ALLOWED = 24; - */ - const VANITY_PHONE_NUMBER_NOT_ALLOWED = 24; - /** - * Invalid review text. - * - * Generated from protobuf enum INVALID_REVIEW_EXTENSION_SNIPPET = 25; - */ - const INVALID_REVIEW_EXTENSION_SNIPPET = 25; - /** - * Invalid format for numeric value in ad parameter. - * - * Generated from protobuf enum INVALID_NUMBER_FORMAT = 26; - */ - const INVALID_NUMBER_FORMAT = 26; - /** - * Invalid format for date value in ad parameter. - * - * Generated from protobuf enum INVALID_DATE_FORMAT = 27; - */ - const INVALID_DATE_FORMAT = 27; - /** - * Invalid format for price value in ad parameter. - * - * Generated from protobuf enum INVALID_PRICE_FORMAT = 28; - */ - const INVALID_PRICE_FORMAT = 28; - /** - * Unrecognized type given for value in ad parameter. - * - * Generated from protobuf enum UNKNOWN_PLACEHOLDER_FIELD = 29; - */ - const UNKNOWN_PLACEHOLDER_FIELD = 29; - /** - * Enhanced sitelinks must have both description lines specified. - * - * Generated from protobuf enum MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE = 30; - */ - const MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE = 30; - /** - * Review source is ineligible. - * - * Generated from protobuf enum REVIEW_EXTENSION_SOURCE_INELIGIBLE = 31; - */ - const REVIEW_EXTENSION_SOURCE_INELIGIBLE = 31; - /** - * Review text cannot contain hyphens or dashes. - * - * Generated from protobuf enum HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 32; - */ - const HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 32; - /** - * Review text cannot contain double quote characters. - * - * Generated from protobuf enum DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 33; - */ - const DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 33; - /** - * Review text cannot contain quote characters. - * - * Generated from protobuf enum QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 34; - */ - const QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 34; - /** - * Parameters are encoded in the wrong format. - * - * Generated from protobuf enum INVALID_FORM_ENCODED_PARAMS = 35; - */ - const INVALID_FORM_ENCODED_PARAMS = 35; - /** - * URL parameter name must contain only letters, numbers, underscores, and - * dashes. - * - * Generated from protobuf enum INVALID_URL_PARAMETER_NAME = 36; - */ - const INVALID_URL_PARAMETER_NAME = 36; - /** - * Cannot find address location. - * - * Generated from protobuf enum NO_GEOCODING_RESULT = 37; - */ - const NO_GEOCODING_RESULT = 37; - /** - * Review extension text has source name. - * - * Generated from protobuf enum SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 38; - */ - const SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 38; - /** - * Some phone numbers can be shorter than usual. Some of these short numbers - * are carrier-specific, and we disallow those in ad extensions because they - * will not be available to all users. - * - * Generated from protobuf enum CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 39; - */ - const CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 39; - /** - * Triggered when a request references a placeholder field id that does not - * exist. - * - * Generated from protobuf enum INVALID_PLACEHOLDER_FIELD_ID = 40; - */ - const INVALID_PLACEHOLDER_FIELD_ID = 40; - /** - * URL contains invalid ValueTrack tags or format. - * - * Generated from protobuf enum INVALID_URL_TAG = 41; - */ - const INVALID_URL_TAG = 41; - /** - * Provided list exceeds acceptable size. - * - * Generated from protobuf enum LIST_TOO_LONG = 42; - */ - const LIST_TOO_LONG = 42; - /** - * Certain combinations of attributes aren't allowed to be specified in the - * same feed item. - * - * Generated from protobuf enum INVALID_ATTRIBUTES_COMBINATION = 43; - */ - const INVALID_ATTRIBUTES_COMBINATION = 43; - /** - * An attribute has the same value repeatedly. - * - * Generated from protobuf enum DUPLICATE_VALUES = 44; - */ - const DUPLICATE_VALUES = 44; - /** - * Advertisers can link a conversion action with a phone number to indicate - * that sufficiently long calls forwarded to that phone number should be - * counted as conversions of the specified type. This is an error message - * indicating that the conversion action specified is invalid (for example, - * the conversion action does not exist within the appropriate Google Ads - * account, or it is a type of conversion not appropriate to phone call - * conversions). - * - * Generated from protobuf enum INVALID_CALL_CONVERSION_ACTION_ID = 45; - */ - const INVALID_CALL_CONVERSION_ACTION_ID = 45; - /** - * Tracking template requires final url to be set. - * - * Generated from protobuf enum CANNOT_SET_WITHOUT_FINAL_URLS = 46; - */ - const CANNOT_SET_WITHOUT_FINAL_URLS = 46; - /** - * An app id was provided that doesn't exist in the given app store. - * - * Generated from protobuf enum APP_ID_DOESNT_EXIST_IN_APP_STORE = 47; - */ - const APP_ID_DOESNT_EXIST_IN_APP_STORE = 47; - /** - * Invalid U2 final url. - * - * Generated from protobuf enum INVALID_FINAL_URL = 48; - */ - const INVALID_FINAL_URL = 48; - /** - * Invalid U2 tracking url. - * - * Generated from protobuf enum INVALID_TRACKING_URL = 49; - */ - const INVALID_TRACKING_URL = 49; - /** - * Final URL should start from App download URL. - * - * Generated from protobuf enum INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 50; - */ - const INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 50; - /** - * List provided is too short. - * - * Generated from protobuf enum LIST_TOO_SHORT = 51; - */ - const LIST_TOO_SHORT = 51; - /** - * User Action field has invalid value. - * - * Generated from protobuf enum INVALID_USER_ACTION = 52; - */ - const INVALID_USER_ACTION = 52; - /** - * Type field has invalid value. - * - * Generated from protobuf enum INVALID_TYPE_NAME = 53; - */ - const INVALID_TYPE_NAME = 53; - /** - * Change status for event is invalid. - * - * Generated from protobuf enum INVALID_EVENT_CHANGE_STATUS = 54; - */ - const INVALID_EVENT_CHANGE_STATUS = 54; - /** - * The header of a structured snippets extension is not one of the valid - * headers. - * - * Generated from protobuf enum INVALID_SNIPPETS_HEADER = 55; - */ - const INVALID_SNIPPETS_HEADER = 55; - /** - * Android app link is not formatted correctly - * - * Generated from protobuf enum INVALID_ANDROID_APP_LINK = 56; - */ - const INVALID_ANDROID_APP_LINK = 56; - /** - * Phone number incompatible with call tracking for country. - * - * Generated from protobuf enum NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 57; - */ - const NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 57; - /** - * The input is identical to a reserved keyword - * - * Generated from protobuf enum RESERVED_KEYWORD_OTHER = 58; - */ - const RESERVED_KEYWORD_OTHER = 58; - /** - * Each option label in the message extension must be unique. - * - * Generated from protobuf enum DUPLICATE_OPTION_LABELS = 59; - */ - const DUPLICATE_OPTION_LABELS = 59; - /** - * Each option prefill in the message extension must be unique. - * - * Generated from protobuf enum DUPLICATE_OPTION_PREFILLS = 60; - */ - const DUPLICATE_OPTION_PREFILLS = 60; - /** - * In message extensions, the number of optional labels and optional - * prefills must be the same. - * - * Generated from protobuf enum UNEQUAL_LIST_LENGTHS = 61; - */ - const UNEQUAL_LIST_LENGTHS = 61; - /** - * All currency codes in an ad extension must be the same. - * - * Generated from protobuf enum INCONSISTENT_CURRENCY_CODES = 62; - */ - const INCONSISTENT_CURRENCY_CODES = 62; - /** - * Headers in price extension are not unique. - * - * Generated from protobuf enum PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 63; - */ - const PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 63; - /** - * Header and description in an item are the same. - * - * Generated from protobuf enum ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 64; - */ - const ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 64; - /** - * Price extension has too few items. - * - * Generated from protobuf enum PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 65; - */ - const PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 65; - /** - * The given value is not supported. - * - * Generated from protobuf enum UNSUPPORTED_VALUE = 66; - */ - const UNSUPPORTED_VALUE = 66; - /** - * Invalid final mobile url. - * - * Generated from protobuf enum INVALID_FINAL_MOBILE_URL = 67; - */ - const INVALID_FINAL_MOBILE_URL = 67; - /** - * The given string value of Label contains invalid characters - * - * Generated from protobuf enum INVALID_KEYWORDLESS_AD_RULE_LABEL = 68; - */ - const INVALID_KEYWORDLESS_AD_RULE_LABEL = 68; - /** - * The given URL contains value track parameters. - * - * Generated from protobuf enum VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 69; - */ - const VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 69; - /** - * The given value is not supported in the selected language of an - * extension. - * - * Generated from protobuf enum UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 70; - */ - const UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 70; - /** - * The iOS app link is not formatted correctly. - * - * Generated from protobuf enum INVALID_IOS_APP_LINK = 71; - */ - const INVALID_IOS_APP_LINK = 71; - /** - * iOS app link or iOS app store id is missing. - * - * Generated from protobuf enum MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID = 72; - */ - const MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID = 72; - /** - * Promotion time is invalid. - * - * Generated from protobuf enum PROMOTION_INVALID_TIME = 73; - */ - const PROMOTION_INVALID_TIME = 73; - /** - * Both the percent off and money amount off fields are set. - * - * Generated from protobuf enum PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 74; - */ - const PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 74; - /** - * Both the promotion code and orders over amount fields are set. - * - * Generated from protobuf enum PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 75; - */ - const PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 75; - /** - * Too many decimal places are specified. - * - * Generated from protobuf enum TOO_MANY_DECIMAL_PLACES_SPECIFIED = 76; - */ - const TOO_MANY_DECIMAL_PLACES_SPECIFIED = 76; - /** - * Ad Customizers are present and not allowed. - * - * Generated from protobuf enum AD_CUSTOMIZERS_NOT_ALLOWED = 77; - */ - const AD_CUSTOMIZERS_NOT_ALLOWED = 77; - /** - * Language code is not valid. - * - * Generated from protobuf enum INVALID_LANGUAGE_CODE = 78; - */ - const INVALID_LANGUAGE_CODE = 78; - /** - * Language is not supported. - * - * Generated from protobuf enum UNSUPPORTED_LANGUAGE = 79; - */ - const UNSUPPORTED_LANGUAGE = 79; - /** - * IF Function is present and not allowed. - * - * Generated from protobuf enum IF_FUNCTION_NOT_ALLOWED = 80; - */ - const IF_FUNCTION_NOT_ALLOWED = 80; - /** - * Final url suffix is not valid. - * - * Generated from protobuf enum INVALID_FINAL_URL_SUFFIX = 81; - */ - const INVALID_FINAL_URL_SUFFIX = 81; - /** - * Final url suffix contains an invalid tag. - * - * Generated from protobuf enum INVALID_TAG_IN_FINAL_URL_SUFFIX = 82; - */ - const INVALID_TAG_IN_FINAL_URL_SUFFIX = 82; - /** - * Final url suffix is formatted incorrectly. - * - * Generated from protobuf enum INVALID_FINAL_URL_SUFFIX_FORMAT = 83; - */ - const INVALID_FINAL_URL_SUFFIX_FORMAT = 83; - /** - * Consent for call recording, which is required for the use of call - * extensions, was not provided by the advertiser. See - * https://support.google.com/google-ads/answer/7412639. - * - * Generated from protobuf enum CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 84; - */ - const CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 84; - /** - * Multiple message delivery options are set. - * - * Generated from protobuf enum ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED = 85; - */ - const ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED = 85; - /** - * No message delivery option is set. - * - * Generated from protobuf enum NO_DELIVERY_OPTION_IS_SET = 86; - */ - const NO_DELIVERY_OPTION_IS_SET = 86; - /** - * String value of conversion reporting state field is not valid. - * - * Generated from protobuf enum INVALID_CONVERSION_REPORTING_STATE = 87; - */ - const INVALID_CONVERSION_REPORTING_STATE = 87; - /** - * Image size is not right. - * - * Generated from protobuf enum IMAGE_SIZE_WRONG = 88; - */ - const IMAGE_SIZE_WRONG = 88; - /** - * Email delivery is not supported in the country specified in the country - * code field. - * - * Generated from protobuf enum EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY = 89; - */ - const EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY = 89; - /** - * Auto reply is not supported in the country specified in the country code - * field. - * - * Generated from protobuf enum AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY = 90; - */ - const AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY = 90; - /** - * Invalid value specified for latitude. - * - * Generated from protobuf enum INVALID_LATITUDE_VALUE = 91; - */ - const INVALID_LATITUDE_VALUE = 91; - /** - * Invalid value specified for longitude. - * - * Generated from protobuf enum INVALID_LONGITUDE_VALUE = 92; - */ - const INVALID_LONGITUDE_VALUE = 92; - /** - * Too many label fields provided. - * - * Generated from protobuf enum TOO_MANY_LABELS = 93; - */ - const TOO_MANY_LABELS = 93; - /** - * Invalid image url. - * - * Generated from protobuf enum INVALID_IMAGE_URL = 94; - */ - const INVALID_IMAGE_URL = 94; - /** - * Latitude value is missing. - * - * Generated from protobuf enum MISSING_LATITUDE_VALUE = 95; - */ - const MISSING_LATITUDE_VALUE = 95; - /** - * Longitude value is missing. - * - * Generated from protobuf enum MISSING_LONGITUDE_VALUE = 96; - */ - const MISSING_LONGITUDE_VALUE = 96; - /** - * Unable to find address. - * - * Generated from protobuf enum ADDRESS_NOT_FOUND = 97; - */ - const ADDRESS_NOT_FOUND = 97; - /** - * Cannot target provided address. - * - * Generated from protobuf enum ADDRESS_NOT_TARGETABLE = 98; - */ - const ADDRESS_NOT_TARGETABLE = 98; - /** - * The specified asset ID does not exist. - * - * Generated from protobuf enum INVALID_ASSET_ID = 100; - */ - const INVALID_ASSET_ID = 100; - /** - * The asset type cannot be set for the field. - * - * Generated from protobuf enum INCOMPATIBLE_ASSET_TYPE = 101; - */ - const INCOMPATIBLE_ASSET_TYPE = 101; - /** - * The image has unexpected size. - * - * Generated from protobuf enum IMAGE_ERROR_UNEXPECTED_SIZE = 102; - */ - const IMAGE_ERROR_UNEXPECTED_SIZE = 102; - /** - * The image aspect ratio is not allowed. - * - * Generated from protobuf enum IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED = 103; - */ - const IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED = 103; - /** - * The image file is too large. - * - * Generated from protobuf enum IMAGE_ERROR_FILE_TOO_LARGE = 104; - */ - const IMAGE_ERROR_FILE_TOO_LARGE = 104; - /** - * The image format is unsupported. - * - * Generated from protobuf enum IMAGE_ERROR_FORMAT_NOT_ALLOWED = 105; - */ - const IMAGE_ERROR_FORMAT_NOT_ALLOWED = 105; - /** - * Image violates constraints without more details. - * - * Generated from protobuf enum IMAGE_ERROR_CONSTRAINTS_VIOLATED = 106; - */ - const IMAGE_ERROR_CONSTRAINTS_VIOLATED = 106; - /** - * An error occurred when validating image. - * - * Generated from protobuf enum IMAGE_ERROR_SERVER_ERROR = 107; - */ - const IMAGE_ERROR_SERVER_ERROR = 107; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::STRING_TOO_SHORT => 'STRING_TOO_SHORT', - self::STRING_TOO_LONG => 'STRING_TOO_LONG', - self::VALUE_NOT_SPECIFIED => 'VALUE_NOT_SPECIFIED', - self::INVALID_DOMESTIC_PHONE_NUMBER_FORMAT => 'INVALID_DOMESTIC_PHONE_NUMBER_FORMAT', - self::INVALID_PHONE_NUMBER => 'INVALID_PHONE_NUMBER', - self::PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY => 'PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY', - self::PREMIUM_RATE_NUMBER_NOT_ALLOWED => 'PREMIUM_RATE_NUMBER_NOT_ALLOWED', - self::DISALLOWED_NUMBER_TYPE => 'DISALLOWED_NUMBER_TYPE', - self::VALUE_OUT_OF_RANGE => 'VALUE_OUT_OF_RANGE', - self::CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY => 'CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', - self::CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING => 'CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING', - self::INVALID_COUNTRY_CODE => 'INVALID_COUNTRY_CODE', - self::INVALID_APP_ID => 'INVALID_APP_ID', - self::MISSING_ATTRIBUTES_FOR_FIELDS => 'MISSING_ATTRIBUTES_FOR_FIELDS', - self::INVALID_TYPE_ID => 'INVALID_TYPE_ID', - self::INVALID_EMAIL_ADDRESS => 'INVALID_EMAIL_ADDRESS', - self::INVALID_HTTPS_URL => 'INVALID_HTTPS_URL', - self::MISSING_DELIVERY_ADDRESS => 'MISSING_DELIVERY_ADDRESS', - self::START_DATE_AFTER_END_DATE => 'START_DATE_AFTER_END_DATE', - self::MISSING_FEED_ITEM_START_TIME => 'MISSING_FEED_ITEM_START_TIME', - self::MISSING_FEED_ITEM_END_TIME => 'MISSING_FEED_ITEM_END_TIME', - self::MISSING_FEED_ITEM_ID => 'MISSING_FEED_ITEM_ID', - self::VANITY_PHONE_NUMBER_NOT_ALLOWED => 'VANITY_PHONE_NUMBER_NOT_ALLOWED', - self::INVALID_REVIEW_EXTENSION_SNIPPET => 'INVALID_REVIEW_EXTENSION_SNIPPET', - self::INVALID_NUMBER_FORMAT => 'INVALID_NUMBER_FORMAT', - self::INVALID_DATE_FORMAT => 'INVALID_DATE_FORMAT', - self::INVALID_PRICE_FORMAT => 'INVALID_PRICE_FORMAT', - self::UNKNOWN_PLACEHOLDER_FIELD => 'UNKNOWN_PLACEHOLDER_FIELD', - self::MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE => 'MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE', - self::REVIEW_EXTENSION_SOURCE_INELIGIBLE => 'REVIEW_EXTENSION_SOURCE_INELIGIBLE', - self::HYPHENS_IN_REVIEW_EXTENSION_SNIPPET => 'HYPHENS_IN_REVIEW_EXTENSION_SNIPPET', - self::DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET => 'DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET', - self::QUOTES_IN_REVIEW_EXTENSION_SNIPPET => 'QUOTES_IN_REVIEW_EXTENSION_SNIPPET', - self::INVALID_FORM_ENCODED_PARAMS => 'INVALID_FORM_ENCODED_PARAMS', - self::INVALID_URL_PARAMETER_NAME => 'INVALID_URL_PARAMETER_NAME', - self::NO_GEOCODING_RESULT => 'NO_GEOCODING_RESULT', - self::SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT => 'SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT', - self::CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED => 'CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED', - self::INVALID_PLACEHOLDER_FIELD_ID => 'INVALID_PLACEHOLDER_FIELD_ID', - self::INVALID_URL_TAG => 'INVALID_URL_TAG', - self::LIST_TOO_LONG => 'LIST_TOO_LONG', - self::INVALID_ATTRIBUTES_COMBINATION => 'INVALID_ATTRIBUTES_COMBINATION', - self::DUPLICATE_VALUES => 'DUPLICATE_VALUES', - self::INVALID_CALL_CONVERSION_ACTION_ID => 'INVALID_CALL_CONVERSION_ACTION_ID', - self::CANNOT_SET_WITHOUT_FINAL_URLS => 'CANNOT_SET_WITHOUT_FINAL_URLS', - self::APP_ID_DOESNT_EXIST_IN_APP_STORE => 'APP_ID_DOESNT_EXIST_IN_APP_STORE', - self::INVALID_FINAL_URL => 'INVALID_FINAL_URL', - self::INVALID_TRACKING_URL => 'INVALID_TRACKING_URL', - self::INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL => 'INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL', - self::LIST_TOO_SHORT => 'LIST_TOO_SHORT', - self::INVALID_USER_ACTION => 'INVALID_USER_ACTION', - self::INVALID_TYPE_NAME => 'INVALID_TYPE_NAME', - self::INVALID_EVENT_CHANGE_STATUS => 'INVALID_EVENT_CHANGE_STATUS', - self::INVALID_SNIPPETS_HEADER => 'INVALID_SNIPPETS_HEADER', - self::INVALID_ANDROID_APP_LINK => 'INVALID_ANDROID_APP_LINK', - self::NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY => 'NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY', - self::RESERVED_KEYWORD_OTHER => 'RESERVED_KEYWORD_OTHER', - self::DUPLICATE_OPTION_LABELS => 'DUPLICATE_OPTION_LABELS', - self::DUPLICATE_OPTION_PREFILLS => 'DUPLICATE_OPTION_PREFILLS', - self::UNEQUAL_LIST_LENGTHS => 'UNEQUAL_LIST_LENGTHS', - self::INCONSISTENT_CURRENCY_CODES => 'INCONSISTENT_CURRENCY_CODES', - self::PRICE_EXTENSION_HAS_DUPLICATED_HEADERS => 'PRICE_EXTENSION_HAS_DUPLICATED_HEADERS', - self::ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION => 'ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION', - self::PRICE_EXTENSION_HAS_TOO_FEW_ITEMS => 'PRICE_EXTENSION_HAS_TOO_FEW_ITEMS', - self::UNSUPPORTED_VALUE => 'UNSUPPORTED_VALUE', - self::INVALID_FINAL_MOBILE_URL => 'INVALID_FINAL_MOBILE_URL', - self::INVALID_KEYWORDLESS_AD_RULE_LABEL => 'INVALID_KEYWORDLESS_AD_RULE_LABEL', - self::VALUE_TRACK_PARAMETER_NOT_SUPPORTED => 'VALUE_TRACK_PARAMETER_NOT_SUPPORTED', - self::UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE => 'UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE', - self::INVALID_IOS_APP_LINK => 'INVALID_IOS_APP_LINK', - self::MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID => 'MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID', - self::PROMOTION_INVALID_TIME => 'PROMOTION_INVALID_TIME', - self::PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF => 'PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF', - self::PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT => 'PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT', - self::TOO_MANY_DECIMAL_PLACES_SPECIFIED => 'TOO_MANY_DECIMAL_PLACES_SPECIFIED', - self::AD_CUSTOMIZERS_NOT_ALLOWED => 'AD_CUSTOMIZERS_NOT_ALLOWED', - self::INVALID_LANGUAGE_CODE => 'INVALID_LANGUAGE_CODE', - self::UNSUPPORTED_LANGUAGE => 'UNSUPPORTED_LANGUAGE', - self::IF_FUNCTION_NOT_ALLOWED => 'IF_FUNCTION_NOT_ALLOWED', - self::INVALID_FINAL_URL_SUFFIX => 'INVALID_FINAL_URL_SUFFIX', - self::INVALID_TAG_IN_FINAL_URL_SUFFIX => 'INVALID_TAG_IN_FINAL_URL_SUFFIX', - self::INVALID_FINAL_URL_SUFFIX_FORMAT => 'INVALID_FINAL_URL_SUFFIX_FORMAT', - self::CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED => 'CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED', - self::ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED => 'ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED', - self::NO_DELIVERY_OPTION_IS_SET => 'NO_DELIVERY_OPTION_IS_SET', - self::INVALID_CONVERSION_REPORTING_STATE => 'INVALID_CONVERSION_REPORTING_STATE', - self::IMAGE_SIZE_WRONG => 'IMAGE_SIZE_WRONG', - self::EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY => 'EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY', - self::AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY => 'AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY', - self::INVALID_LATITUDE_VALUE => 'INVALID_LATITUDE_VALUE', - self::INVALID_LONGITUDE_VALUE => 'INVALID_LONGITUDE_VALUE', - self::TOO_MANY_LABELS => 'TOO_MANY_LABELS', - self::INVALID_IMAGE_URL => 'INVALID_IMAGE_URL', - self::MISSING_LATITUDE_VALUE => 'MISSING_LATITUDE_VALUE', - self::MISSING_LONGITUDE_VALUE => 'MISSING_LONGITUDE_VALUE', - self::ADDRESS_NOT_FOUND => 'ADDRESS_NOT_FOUND', - self::ADDRESS_NOT_TARGETABLE => 'ADDRESS_NOT_TARGETABLE', - self::INVALID_ASSET_ID => 'INVALID_ASSET_ID', - self::INCOMPATIBLE_ASSET_TYPE => 'INCOMPATIBLE_ASSET_TYPE', - self::IMAGE_ERROR_UNEXPECTED_SIZE => 'IMAGE_ERROR_UNEXPECTED_SIZE', - self::IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED => 'IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED', - self::IMAGE_ERROR_FILE_TOO_LARGE => 'IMAGE_ERROR_FILE_TOO_LARGE', - self::IMAGE_ERROR_FORMAT_NOT_ALLOWED => 'IMAGE_ERROR_FORMAT_NOT_ALLOWED', - self::IMAGE_ERROR_CONSTRAINTS_VIOLATED => 'IMAGE_ERROR_CONSTRAINTS_VIOLATED', - self::IMAGE_ERROR_SERVER_ERROR => 'IMAGE_ERROR_SERVER_ERROR', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedItemValidationError::class, \Google\Ads\GoogleAds\V15\Errors\FeedItemValidationErrorEnum_FeedItemValidationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedMappingErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedMappingErrorEnum.php deleted file mode 100644 index a476986dc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedMappingErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FeedMappingErrorEnum - */ -class FeedMappingErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FeedMappingError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FeedMappingErrorEnum/FeedMappingError.php b/src/Google/Ads/GoogleAds/V15/Errors/FeedMappingErrorEnum/FeedMappingError.php deleted file mode 100644 index a40d1aa86..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FeedMappingErrorEnum/FeedMappingError.php +++ /dev/null @@ -1,188 +0,0 @@ -google.ads.googleads.v15.errors.FeedMappingErrorEnum.FeedMappingError - */ -class FeedMappingError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The given placeholder field does not exist. - * - * Generated from protobuf enum INVALID_PLACEHOLDER_FIELD = 2; - */ - const INVALID_PLACEHOLDER_FIELD = 2; - /** - * The given criterion field does not exist. - * - * Generated from protobuf enum INVALID_CRITERION_FIELD = 3; - */ - const INVALID_CRITERION_FIELD = 3; - /** - * The given placeholder type does not exist. - * - * Generated from protobuf enum INVALID_PLACEHOLDER_TYPE = 4; - */ - const INVALID_PLACEHOLDER_TYPE = 4; - /** - * The given criterion type does not exist. - * - * Generated from protobuf enum INVALID_CRITERION_TYPE = 5; - */ - const INVALID_CRITERION_TYPE = 5; - /** - * A feed mapping must contain at least one attribute field mapping. - * - * Generated from protobuf enum NO_ATTRIBUTE_FIELD_MAPPINGS = 7; - */ - const NO_ATTRIBUTE_FIELD_MAPPINGS = 7; - /** - * The type of the feed attribute referenced in the attribute field mapping - * must match the type of the placeholder field. - * - * Generated from protobuf enum FEED_ATTRIBUTE_TYPE_MISMATCH = 8; - */ - const FEED_ATTRIBUTE_TYPE_MISMATCH = 8; - /** - * A feed mapping for a system generated feed cannot be operated on. - * - * Generated from protobuf enum CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9; - */ - const CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9; - /** - * Only one feed mapping for a placeholder type is allowed per feed or - * customer (depending on the placeholder type). - * - * Generated from protobuf enum MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10; - */ - const MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10; - /** - * Only one feed mapping for a criterion type is allowed per customer. - * - * Generated from protobuf enum MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11; - */ - const MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11; - /** - * Only one feed attribute mapping for a placeholder field is allowed - * (depending on the placeholder type). - * - * Generated from protobuf enum MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12; - */ - const MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12; - /** - * Only one feed attribute mapping for a criterion field is allowed - * (depending on the criterion type). - * - * Generated from protobuf enum MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13; - */ - const MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13; - /** - * This feed mapping may not contain any explicit attribute field mappings. - * - * Generated from protobuf enum UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14; - */ - const UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14; - /** - * Location placeholder feed mappings can only be created for Places feeds. - * - * Generated from protobuf enum LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15; - */ - const LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15; - /** - * Mappings for typed feeds cannot be modified. - * - * Generated from protobuf enum CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16; - */ - const CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16; - /** - * The given placeholder type can only be mapped to system generated feeds. - * - * Generated from protobuf enum INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17; - */ - const INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17; - /** - * The given placeholder type cannot be mapped to a system generated feed - * with the given type. - * - * Generated from protobuf enum INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18; - */ - const INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18; - /** - * The "field" oneof was not set in an AttributeFieldMapping. - * - * Generated from protobuf enum ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19; - */ - const ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19; - /** - * Feed is read only. - * - * Generated from protobuf enum LEGACY_FEED_TYPE_READ_ONLY = 20; - */ - const LEGACY_FEED_TYPE_READ_ONLY = 20; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_PLACEHOLDER_FIELD => 'INVALID_PLACEHOLDER_FIELD', - self::INVALID_CRITERION_FIELD => 'INVALID_CRITERION_FIELD', - self::INVALID_PLACEHOLDER_TYPE => 'INVALID_PLACEHOLDER_TYPE', - self::INVALID_CRITERION_TYPE => 'INVALID_CRITERION_TYPE', - self::NO_ATTRIBUTE_FIELD_MAPPINGS => 'NO_ATTRIBUTE_FIELD_MAPPINGS', - self::FEED_ATTRIBUTE_TYPE_MISMATCH => 'FEED_ATTRIBUTE_TYPE_MISMATCH', - self::CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED => 'CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED', - self::MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE => 'MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE', - self::MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE => 'MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE', - self::MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD => 'MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD', - self::MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD => 'MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD', - self::UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS => 'UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS', - self::LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS => 'LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS', - self::CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED => 'CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED', - self::INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED => 'INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED', - self::INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE => 'INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE', - self::ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD => 'ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD', - self::LEGACY_FEED_TYPE_READ_ONLY => 'LEGACY_FEED_TYPE_READ_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeedMappingError::class, \Google\Ads\GoogleAds\V15\Errors\FeedMappingErrorEnum_FeedMappingError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FieldErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FieldErrorEnum.php deleted file mode 100644 index 8efe08e48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FieldErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FieldErrorEnum - */ -class FieldErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FieldError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FieldErrorEnum/FieldError.php b/src/Google/Ads/GoogleAds/V15/Errors/FieldErrorEnum/FieldError.php deleted file mode 100644 index 4591a882c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FieldErrorEnum/FieldError.php +++ /dev/null @@ -1,113 +0,0 @@ -google.ads.googleads.v15.errors.FieldErrorEnum.FieldError - */ -class FieldError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The required field was not present. - * - * Generated from protobuf enum REQUIRED = 2; - */ - const REQUIRED = 2; - /** - * The field attempted to be mutated is immutable. - * - * Generated from protobuf enum IMMUTABLE_FIELD = 3; - */ - const IMMUTABLE_FIELD = 3; - /** - * The field's value is invalid. - * - * Generated from protobuf enum INVALID_VALUE = 4; - */ - const INVALID_VALUE = 4; - /** - * The field cannot be set. - * - * Generated from protobuf enum VALUE_MUST_BE_UNSET = 5; - */ - const VALUE_MUST_BE_UNSET = 5; - /** - * The required repeated field was empty. - * - * Generated from protobuf enum REQUIRED_NONEMPTY_LIST = 6; - */ - const REQUIRED_NONEMPTY_LIST = 6; - /** - * The field cannot be cleared. - * - * Generated from protobuf enum FIELD_CANNOT_BE_CLEARED = 7; - */ - const FIELD_CANNOT_BE_CLEARED = 7; - /** - * The field's value is on a deny-list for this field. - * - * Generated from protobuf enum BLOCKED_VALUE = 9; - */ - const BLOCKED_VALUE = 9; - /** - * The field's value cannot be modified, except for clearing. - * - * Generated from protobuf enum FIELD_CAN_ONLY_BE_CLEARED = 10; - */ - const FIELD_CAN_ONLY_BE_CLEARED = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::REQUIRED => 'REQUIRED', - self::IMMUTABLE_FIELD => 'IMMUTABLE_FIELD', - self::INVALID_VALUE => 'INVALID_VALUE', - self::VALUE_MUST_BE_UNSET => 'VALUE_MUST_BE_UNSET', - self::REQUIRED_NONEMPTY_LIST => 'REQUIRED_NONEMPTY_LIST', - self::FIELD_CANNOT_BE_CLEARED => 'FIELD_CANNOT_BE_CLEARED', - self::BLOCKED_VALUE => 'BLOCKED_VALUE', - self::FIELD_CAN_ONLY_BE_CLEARED => 'FIELD_CAN_ONLY_BE_CLEARED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FieldError::class, \Google\Ads\GoogleAds\V15\Errors\FieldErrorEnum_FieldError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FieldMaskErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FieldMaskErrorEnum.php deleted file mode 100644 index 78eede10d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FieldMaskErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FieldMaskErrorEnum - */ -class FieldMaskErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FieldMaskError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FieldMaskErrorEnum/FieldMaskError.php b/src/Google/Ads/GoogleAds/V15/Errors/FieldMaskErrorEnum/FieldMaskError.php deleted file mode 100644 index da5a9ed13..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FieldMaskErrorEnum/FieldMaskError.php +++ /dev/null @@ -1,87 +0,0 @@ -google.ads.googleads.v15.errors.FieldMaskErrorEnum.FieldMaskError - */ -class FieldMaskError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The field mask must be provided for update operations. - * - * Generated from protobuf enum FIELD_MASK_MISSING = 5; - */ - const FIELD_MASK_MISSING = 5; - /** - * The field mask must be empty for create and remove operations. - * - * Generated from protobuf enum FIELD_MASK_NOT_ALLOWED = 4; - */ - const FIELD_MASK_NOT_ALLOWED = 4; - /** - * The field mask contained an invalid field. - * - * Generated from protobuf enum FIELD_NOT_FOUND = 2; - */ - const FIELD_NOT_FOUND = 2; - /** - * The field mask updated a field with subfields. Fields with subfields may - * be cleared, but not updated. To fix this, the field mask should select - * all the subfields of the invalid field. - * - * Generated from protobuf enum FIELD_HAS_SUBFIELDS = 3; - */ - const FIELD_HAS_SUBFIELDS = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FIELD_MASK_MISSING => 'FIELD_MASK_MISSING', - self::FIELD_MASK_NOT_ALLOWED => 'FIELD_MASK_NOT_ALLOWED', - self::FIELD_NOT_FOUND => 'FIELD_NOT_FOUND', - self::FIELD_HAS_SUBFIELDS => 'FIELD_HAS_SUBFIELDS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FieldMaskError::class, \Google\Ads\GoogleAds\V15\Errors\FieldMaskErrorEnum_FieldMaskError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FunctionErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FunctionErrorEnum.php deleted file mode 100644 index c630f0c07..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FunctionErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FunctionErrorEnum - */ -class FunctionErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FunctionError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FunctionErrorEnum/FunctionError.php b/src/Google/Ads/GoogleAds/V15/Errors/FunctionErrorEnum/FunctionError.php deleted file mode 100644 index 16f11e33e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FunctionErrorEnum/FunctionError.php +++ /dev/null @@ -1,170 +0,0 @@ -google.ads.googleads.v15.errors.FunctionErrorEnum.FunctionError - */ -class FunctionError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The format of the function is not recognized as a supported function - * format. - * - * Generated from protobuf enum INVALID_FUNCTION_FORMAT = 2; - */ - const INVALID_FUNCTION_FORMAT = 2; - /** - * Operand data types do not match. - * - * Generated from protobuf enum DATA_TYPE_MISMATCH = 3; - */ - const DATA_TYPE_MISMATCH = 3; - /** - * The operands cannot be used together in a conjunction. - * - * Generated from protobuf enum INVALID_CONJUNCTION_OPERANDS = 4; - */ - const INVALID_CONJUNCTION_OPERANDS = 4; - /** - * Invalid numer of Operands. - * - * Generated from protobuf enum INVALID_NUMBER_OF_OPERANDS = 5; - */ - const INVALID_NUMBER_OF_OPERANDS = 5; - /** - * Operand Type not supported. - * - * Generated from protobuf enum INVALID_OPERAND_TYPE = 6; - */ - const INVALID_OPERAND_TYPE = 6; - /** - * Operator not supported. - * - * Generated from protobuf enum INVALID_OPERATOR = 7; - */ - const INVALID_OPERATOR = 7; - /** - * Request context type not supported. - * - * Generated from protobuf enum INVALID_REQUEST_CONTEXT_TYPE = 8; - */ - const INVALID_REQUEST_CONTEXT_TYPE = 8; - /** - * The matching function is not allowed for call placeholders - * - * Generated from protobuf enum INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9; - */ - const INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9; - /** - * The matching function is not allowed for the specified placeholder - * - * Generated from protobuf enum INVALID_FUNCTION_FOR_PLACEHOLDER = 10; - */ - const INVALID_FUNCTION_FOR_PLACEHOLDER = 10; - /** - * Invalid operand. - * - * Generated from protobuf enum INVALID_OPERAND = 11; - */ - const INVALID_OPERAND = 11; - /** - * Missing value for the constant operand. - * - * Generated from protobuf enum MISSING_CONSTANT_OPERAND_VALUE = 12; - */ - const MISSING_CONSTANT_OPERAND_VALUE = 12; - /** - * The value of the constant operand is invalid. - * - * Generated from protobuf enum INVALID_CONSTANT_OPERAND_VALUE = 13; - */ - const INVALID_CONSTANT_OPERAND_VALUE = 13; - /** - * Invalid function nesting. - * - * Generated from protobuf enum INVALID_NESTING = 14; - */ - const INVALID_NESTING = 14; - /** - * The Feed ID was different from another Feed ID in the same function. - * - * Generated from protobuf enum MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15; - */ - const MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15; - /** - * The matching function is invalid for use with a feed with a fixed schema. - * - * Generated from protobuf enum INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16; - */ - const INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16; - /** - * Invalid attribute name. - * - * Generated from protobuf enum INVALID_ATTRIBUTE_NAME = 17; - */ - const INVALID_ATTRIBUTE_NAME = 17; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_FUNCTION_FORMAT => 'INVALID_FUNCTION_FORMAT', - self::DATA_TYPE_MISMATCH => 'DATA_TYPE_MISMATCH', - self::INVALID_CONJUNCTION_OPERANDS => 'INVALID_CONJUNCTION_OPERANDS', - self::INVALID_NUMBER_OF_OPERANDS => 'INVALID_NUMBER_OF_OPERANDS', - self::INVALID_OPERAND_TYPE => 'INVALID_OPERAND_TYPE', - self::INVALID_OPERATOR => 'INVALID_OPERATOR', - self::INVALID_REQUEST_CONTEXT_TYPE => 'INVALID_REQUEST_CONTEXT_TYPE', - self::INVALID_FUNCTION_FOR_CALL_PLACEHOLDER => 'INVALID_FUNCTION_FOR_CALL_PLACEHOLDER', - self::INVALID_FUNCTION_FOR_PLACEHOLDER => 'INVALID_FUNCTION_FOR_PLACEHOLDER', - self::INVALID_OPERAND => 'INVALID_OPERAND', - self::MISSING_CONSTANT_OPERAND_VALUE => 'MISSING_CONSTANT_OPERAND_VALUE', - self::INVALID_CONSTANT_OPERAND_VALUE => 'INVALID_CONSTANT_OPERAND_VALUE', - self::INVALID_NESTING => 'INVALID_NESTING', - self::MULTIPLE_FEED_IDS_NOT_SUPPORTED => 'MULTIPLE_FEED_IDS_NOT_SUPPORTED', - self::INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA => 'INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA', - self::INVALID_ATTRIBUTE_NAME => 'INVALID_ATTRIBUTE_NAME', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FunctionError::class, \Google\Ads\GoogleAds\V15\Errors\FunctionErrorEnum_FunctionError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FunctionParsingErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/FunctionParsingErrorEnum.php deleted file mode 100644 index 59c21353b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FunctionParsingErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.FunctionParsingErrorEnum - */ -class FunctionParsingErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\FunctionParsingError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/FunctionParsingErrorEnum/FunctionParsingError.php b/src/Google/Ads/GoogleAds/V15/Errors/FunctionParsingErrorEnum/FunctionParsingError.php deleted file mode 100644 index a955adc62..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/FunctionParsingErrorEnum/FunctionParsingError.php +++ /dev/null @@ -1,134 +0,0 @@ -google.ads.googleads.v15.errors.FunctionParsingErrorEnum.FunctionParsingError - */ -class FunctionParsingError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Unexpected end of function string. - * - * Generated from protobuf enum NO_MORE_INPUT = 2; - */ - const NO_MORE_INPUT = 2; - /** - * Could not find an expected character. - * - * Generated from protobuf enum EXPECTED_CHARACTER = 3; - */ - const EXPECTED_CHARACTER = 3; - /** - * Unexpected separator character. - * - * Generated from protobuf enum UNEXPECTED_SEPARATOR = 4; - */ - const UNEXPECTED_SEPARATOR = 4; - /** - * Unmatched left bracket or parenthesis. - * - * Generated from protobuf enum UNMATCHED_LEFT_BRACKET = 5; - */ - const UNMATCHED_LEFT_BRACKET = 5; - /** - * Unmatched right bracket or parenthesis. - * - * Generated from protobuf enum UNMATCHED_RIGHT_BRACKET = 6; - */ - const UNMATCHED_RIGHT_BRACKET = 6; - /** - * Functions are nested too deeply. - * - * Generated from protobuf enum TOO_MANY_NESTED_FUNCTIONS = 7; - */ - const TOO_MANY_NESTED_FUNCTIONS = 7; - /** - * Missing right-hand-side operand. - * - * Generated from protobuf enum MISSING_RIGHT_HAND_OPERAND = 8; - */ - const MISSING_RIGHT_HAND_OPERAND = 8; - /** - * Invalid operator/function name. - * - * Generated from protobuf enum INVALID_OPERATOR_NAME = 9; - */ - const INVALID_OPERATOR_NAME = 9; - /** - * Feed attribute operand's argument is not an integer. - * - * Generated from protobuf enum FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 10; - */ - const FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 10; - /** - * Missing function operands. - * - * Generated from protobuf enum NO_OPERANDS = 11; - */ - const NO_OPERANDS = 11; - /** - * Function had too many operands. - * - * Generated from protobuf enum TOO_MANY_OPERANDS = 12; - */ - const TOO_MANY_OPERANDS = 12; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NO_MORE_INPUT => 'NO_MORE_INPUT', - self::EXPECTED_CHARACTER => 'EXPECTED_CHARACTER', - self::UNEXPECTED_SEPARATOR => 'UNEXPECTED_SEPARATOR', - self::UNMATCHED_LEFT_BRACKET => 'UNMATCHED_LEFT_BRACKET', - self::UNMATCHED_RIGHT_BRACKET => 'UNMATCHED_RIGHT_BRACKET', - self::TOO_MANY_NESTED_FUNCTIONS => 'TOO_MANY_NESTED_FUNCTIONS', - self::MISSING_RIGHT_HAND_OPERAND => 'MISSING_RIGHT_HAND_OPERAND', - self::INVALID_OPERATOR_NAME => 'INVALID_OPERATOR_NAME', - self::FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER => 'FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER', - self::NO_OPERANDS => 'NO_OPERANDS', - self::TOO_MANY_OPERANDS => 'TOO_MANY_OPERANDS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FunctionParsingError::class, \Google\Ads\GoogleAds\V15\Errors\FunctionParsingErrorEnum_FunctionParsingError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionErrorEnum.php deleted file mode 100644 index 0b37b8c69..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.GeoTargetConstantSuggestionErrorEnum - */ -class GeoTargetConstantSuggestionErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\GeoTargetConstantSuggestionError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionErrorEnum/GeoTargetConstantSuggestionError.php b/src/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionErrorEnum/GeoTargetConstantSuggestionError.php deleted file mode 100644 index 8c1f23323..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/GeoTargetConstantSuggestionErrorEnum/GeoTargetConstantSuggestionError.php +++ /dev/null @@ -1,87 +0,0 @@ -google.ads.googleads.v15.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError - */ -class GeoTargetConstantSuggestionError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A location name cannot be greater than 300 characters. - * - * Generated from protobuf enum LOCATION_NAME_SIZE_LIMIT = 2; - */ - const LOCATION_NAME_SIZE_LIMIT = 2; - /** - * At most 25 location names can be specified in a SuggestGeoTargetConstants - * method. - * - * Generated from protobuf enum LOCATION_NAME_LIMIT = 3; - */ - const LOCATION_NAME_LIMIT = 3; - /** - * The country code is invalid. - * - * Generated from protobuf enum INVALID_COUNTRY_CODE = 4; - */ - const INVALID_COUNTRY_CODE = 4; - /** - * Geo target constant resource names or location names must be provided in - * the request. - * - * Generated from protobuf enum REQUEST_PARAMETERS_UNSET = 5; - */ - const REQUEST_PARAMETERS_UNSET = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LOCATION_NAME_SIZE_LIMIT => 'LOCATION_NAME_SIZE_LIMIT', - self::LOCATION_NAME_LIMIT => 'LOCATION_NAME_LIMIT', - self::INVALID_COUNTRY_CODE => 'INVALID_COUNTRY_CODE', - self::REQUEST_PARAMETERS_UNSET => 'REQUEST_PARAMETERS_UNSET', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GeoTargetConstantSuggestionError::class, \Google\Ads\GoogleAds\V15\Errors\GeoTargetConstantSuggestionErrorEnum_GeoTargetConstantSuggestionError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/GoogleAdsError.php b/src/Google/Ads/GoogleAds/V15/Errors/GoogleAdsError.php deleted file mode 100644 index 9f20ab571..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/GoogleAdsError.php +++ /dev/null @@ -1,247 +0,0 @@ -google.ads.googleads.v15.errors.GoogleAdsError - */ -class GoogleAdsError extends \Google\Protobuf\Internal\Message -{ - /** - * An enum value that indicates which error occurred. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorCode error_code = 1; - */ - protected $error_code = null; - /** - * A human-readable description of the error. - * - * Generated from protobuf field string message = 2; - */ - protected $message = ''; - /** - * The value that triggered the error. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Value trigger = 3; - */ - protected $trigger = null; - /** - * Describes the part of the request proto that caused the error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorLocation location = 4; - */ - protected $location = null; - /** - * Additional error details, which are returned by certain error codes. Most - * error codes do not include details. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorDetails details = 5; - */ - protected $details = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Errors\ErrorCode $error_code - * An enum value that indicates which error occurred. - * @type string $message - * A human-readable description of the error. - * @type \Google\Ads\GoogleAds\V15\Common\Value $trigger - * The value that triggered the error. - * @type \Google\Ads\GoogleAds\V15\Errors\ErrorLocation $location - * Describes the part of the request proto that caused the error. - * @type \Google\Ads\GoogleAds\V15\Errors\ErrorDetails $details - * Additional error details, which are returned by certain error codes. Most - * error codes do not include details. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * An enum value that indicates which error occurred. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorCode error_code = 1; - * @return \Google\Ads\GoogleAds\V15\Errors\ErrorCode|null - */ - public function getErrorCode() - { - return $this->error_code; - } - - public function hasErrorCode() - { - return isset($this->error_code); - } - - public function clearErrorCode() - { - unset($this->error_code); - } - - /** - * An enum value that indicates which error occurred. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorCode error_code = 1; - * @param \Google\Ads\GoogleAds\V15\Errors\ErrorCode $var - * @return $this - */ - public function setErrorCode($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Errors\ErrorCode::class); - $this->error_code = $var; - - return $this; - } - - /** - * A human-readable description of the error. - * - * Generated from protobuf field string message = 2; - * @return string - */ - public function getMessage() - { - return $this->message; - } - - /** - * A human-readable description of the error. - * - * Generated from protobuf field string message = 2; - * @param string $var - * @return $this - */ - public function setMessage($var) - { - GPBUtil::checkString($var, True); - $this->message = $var; - - return $this; - } - - /** - * The value that triggered the error. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Value trigger = 3; - * @return \Google\Ads\GoogleAds\V15\Common\Value|null - */ - public function getTrigger() - { - return $this->trigger; - } - - public function hasTrigger() - { - return isset($this->trigger); - } - - public function clearTrigger() - { - unset($this->trigger); - } - - /** - * The value that triggered the error. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Value trigger = 3; - * @param \Google\Ads\GoogleAds\V15\Common\Value $var - * @return $this - */ - public function setTrigger($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Value::class); - $this->trigger = $var; - - return $this; - } - - /** - * Describes the part of the request proto that caused the error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorLocation location = 4; - * @return \Google\Ads\GoogleAds\V15\Errors\ErrorLocation|null - */ - public function getLocation() - { - return $this->location; - } - - public function hasLocation() - { - return isset($this->location); - } - - public function clearLocation() - { - unset($this->location); - } - - /** - * Describes the part of the request proto that caused the error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorLocation location = 4; - * @param \Google\Ads\GoogleAds\V15\Errors\ErrorLocation $var - * @return $this - */ - public function setLocation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Errors\ErrorLocation::class); - $this->location = $var; - - return $this; - } - - /** - * Additional error details, which are returned by certain error codes. Most - * error codes do not include details. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorDetails details = 5; - * @return \Google\Ads\GoogleAds\V15\Errors\ErrorDetails|null - */ - public function getDetails() - { - return $this->details; - } - - public function hasDetails() - { - return isset($this->details); - } - - public function clearDetails() - { - unset($this->details); - } - - /** - * Additional error details, which are returned by certain error codes. Most - * error codes do not include details. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ErrorDetails details = 5; - * @param \Google\Ads\GoogleAds\V15\Errors\ErrorDetails $var - * @return $this - */ - public function setDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Errors\ErrorDetails::class); - $this->details = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/GoogleAdsFailure.php b/src/Google/Ads/GoogleAds/V15/Errors/GoogleAdsFailure.php deleted file mode 100644 index 5d183e06e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/GoogleAdsFailure.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.errors.GoogleAdsFailure - */ -class GoogleAdsFailure extends \Google\Protobuf\Internal\Message -{ - /** - * The list of errors that occurred. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.errors.GoogleAdsError errors = 1; - */ - private $errors; - /** - * The unique ID of the request that is used for debugging purposes. - * - * Generated from protobuf field string request_id = 2; - */ - protected $request_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Errors\GoogleAdsError>|\Google\Protobuf\Internal\RepeatedField $errors - * The list of errors that occurred. - * @type string $request_id - * The unique ID of the request that is used for debugging purposes. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * The list of errors that occurred. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.errors.GoogleAdsError errors = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getErrors() - { - return $this->errors; - } - - /** - * The list of errors that occurred. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.errors.GoogleAdsError errors = 1; - * @param array<\Google\Ads\GoogleAds\V15\Errors\GoogleAdsError>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setErrors($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Errors\GoogleAdsError::class); - $this->errors = $arr; - - return $this; - } - - /** - * The unique ID of the request that is used for debugging purposes. - * - * Generated from protobuf field string request_id = 2; - * @return string - */ - public function getRequestId() - { - return $this->request_id; - } - - /** - * The unique ID of the request that is used for debugging purposes. - * - * Generated from protobuf field string request_id = 2; - * @param string $var - * @return $this - */ - public function setRequestId($var) - { - GPBUtil::checkString($var, True); - $this->request_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/HeaderErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/HeaderErrorEnum.php deleted file mode 100644 index 3f6a86d9a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/HeaderErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.HeaderErrorEnum - */ -class HeaderErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\HeaderError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/HeaderErrorEnum/HeaderError.php b/src/Google/Ads/GoogleAds/V15/Errors/HeaderErrorEnum/HeaderError.php deleted file mode 100644 index 61c8f818d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/HeaderErrorEnum/HeaderError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.HeaderErrorEnum.HeaderError - */ -class HeaderError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The login customer ID could not be validated. - * - * Generated from protobuf enum INVALID_LOGIN_CUSTOMER_ID = 3; - */ - const INVALID_LOGIN_CUSTOMER_ID = 3; - /** - * The linked customer ID could not be validated. - * - * Generated from protobuf enum INVALID_LINKED_CUSTOMER_ID = 7; - */ - const INVALID_LINKED_CUSTOMER_ID = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_LOGIN_CUSTOMER_ID => 'INVALID_LOGIN_CUSTOMER_ID', - self::INVALID_LINKED_CUSTOMER_ID => 'INVALID_LINKED_CUSTOMER_ID', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HeaderError::class, \Google\Ads\GoogleAds\V15\Errors\HeaderErrorEnum_HeaderError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/IdErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/IdErrorEnum.php deleted file mode 100644 index f8eacaade..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/IdErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.IdErrorEnum - */ -class IdErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\IdError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/IdErrorEnum/IdError.php b/src/Google/Ads/GoogleAds/V15/Errors/IdErrorEnum/IdError.php deleted file mode 100644 index db9aed696..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/IdErrorEnum/IdError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.IdErrorEnum.IdError - */ -class IdError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * ID not found - * - * Generated from protobuf enum NOT_FOUND = 2; - */ - const NOT_FOUND = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NOT_FOUND => 'NOT_FOUND', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(IdError::class, \Google\Ads\GoogleAds\V15\Errors\IdErrorEnum_IdError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ImageErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ImageErrorEnum.php deleted file mode 100644 index 5aa501ab0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ImageErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ImageErrorEnum - */ -class ImageErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ImageError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ImageErrorEnum/ImageError.php b/src/Google/Ads/GoogleAds/V15/Errors/ImageErrorEnum/ImageError.php deleted file mode 100644 index d65fd2276..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ImageErrorEnum/ImageError.php +++ /dev/null @@ -1,333 +0,0 @@ -google.ads.googleads.v15.errors.ImageErrorEnum.ImageError - */ -class ImageError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The image is not valid. - * - * Generated from protobuf enum INVALID_IMAGE = 2; - */ - const INVALID_IMAGE = 2; - /** - * The image could not be stored. - * - * Generated from protobuf enum STORAGE_ERROR = 3; - */ - const STORAGE_ERROR = 3; - /** - * There was a problem with the request. - * - * Generated from protobuf enum BAD_REQUEST = 4; - */ - const BAD_REQUEST = 4; - /** - * The image is not of legal dimensions. - * - * Generated from protobuf enum UNEXPECTED_SIZE = 5; - */ - const UNEXPECTED_SIZE = 5; - /** - * Animated image are not permitted. - * - * Generated from protobuf enum ANIMATED_NOT_ALLOWED = 6; - */ - const ANIMATED_NOT_ALLOWED = 6; - /** - * Animation is too long. - * - * Generated from protobuf enum ANIMATION_TOO_LONG = 7; - */ - const ANIMATION_TOO_LONG = 7; - /** - * There was an error on the server. - * - * Generated from protobuf enum SERVER_ERROR = 8; - */ - const SERVER_ERROR = 8; - /** - * Image cannot be in CMYK color format. - * - * Generated from protobuf enum CMYK_JPEG_NOT_ALLOWED = 9; - */ - const CMYK_JPEG_NOT_ALLOWED = 9; - /** - * Flash images are not permitted. - * - * Generated from protobuf enum FLASH_NOT_ALLOWED = 10; - */ - const FLASH_NOT_ALLOWED = 10; - /** - * Flash images must support clickTag. - * - * Generated from protobuf enum FLASH_WITHOUT_CLICKTAG = 11; - */ - const FLASH_WITHOUT_CLICKTAG = 11; - /** - * A flash error has occurred after fixing the click tag. - * - * Generated from protobuf enum FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12; - */ - const FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12; - /** - * Unacceptable visual effects. - * - * Generated from protobuf enum ANIMATED_VISUAL_EFFECT = 13; - */ - const ANIMATED_VISUAL_EFFECT = 13; - /** - * There was a problem with the flash image. - * - * Generated from protobuf enum FLASH_ERROR = 14; - */ - const FLASH_ERROR = 14; - /** - * Incorrect image layout. - * - * Generated from protobuf enum LAYOUT_PROBLEM = 15; - */ - const LAYOUT_PROBLEM = 15; - /** - * There was a problem reading the image file. - * - * Generated from protobuf enum PROBLEM_READING_IMAGE_FILE = 16; - */ - const PROBLEM_READING_IMAGE_FILE = 16; - /** - * There was an error storing the image. - * - * Generated from protobuf enum ERROR_STORING_IMAGE = 17; - */ - const ERROR_STORING_IMAGE = 17; - /** - * The aspect ratio of the image is not allowed. - * - * Generated from protobuf enum ASPECT_RATIO_NOT_ALLOWED = 18; - */ - const ASPECT_RATIO_NOT_ALLOWED = 18; - /** - * Flash cannot have network objects. - * - * Generated from protobuf enum FLASH_HAS_NETWORK_OBJECTS = 19; - */ - const FLASH_HAS_NETWORK_OBJECTS = 19; - /** - * Flash cannot have network methods. - * - * Generated from protobuf enum FLASH_HAS_NETWORK_METHODS = 20; - */ - const FLASH_HAS_NETWORK_METHODS = 20; - /** - * Flash cannot have a Url. - * - * Generated from protobuf enum FLASH_HAS_URL = 21; - */ - const FLASH_HAS_URL = 21; - /** - * Flash cannot use mouse tracking. - * - * Generated from protobuf enum FLASH_HAS_MOUSE_TRACKING = 22; - */ - const FLASH_HAS_MOUSE_TRACKING = 22; - /** - * Flash cannot have a random number. - * - * Generated from protobuf enum FLASH_HAS_RANDOM_NUM = 23; - */ - const FLASH_HAS_RANDOM_NUM = 23; - /** - * Ad click target cannot be '_self'. - * - * Generated from protobuf enum FLASH_SELF_TARGETS = 24; - */ - const FLASH_SELF_TARGETS = 24; - /** - * GetUrl method should only use '_blank'. - * - * Generated from protobuf enum FLASH_BAD_GETURL_TARGET = 25; - */ - const FLASH_BAD_GETURL_TARGET = 25; - /** - * Flash version is not supported. - * - * Generated from protobuf enum FLASH_VERSION_NOT_SUPPORTED = 26; - */ - const FLASH_VERSION_NOT_SUPPORTED = 26; - /** - * Flash movies need to have hard coded click URL or clickTAG - * - * Generated from protobuf enum FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27; - */ - const FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27; - /** - * Uploaded flash file is corrupted. - * - * Generated from protobuf enum INVALID_FLASH_FILE = 28; - */ - const INVALID_FLASH_FILE = 28; - /** - * Uploaded flash file can be parsed, but the click tag can not be fixed - * properly. - * - * Generated from protobuf enum FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29; - */ - const FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29; - /** - * Flash movie accesses network resources - * - * Generated from protobuf enum FLASH_ACCESSES_NETWORK_RESOURCES = 30; - */ - const FLASH_ACCESSES_NETWORK_RESOURCES = 30; - /** - * Flash movie attempts to call external javascript code - * - * Generated from protobuf enum FLASH_EXTERNAL_JS_CALL = 31; - */ - const FLASH_EXTERNAL_JS_CALL = 31; - /** - * Flash movie attempts to call flash system commands - * - * Generated from protobuf enum FLASH_EXTERNAL_FS_CALL = 32; - */ - const FLASH_EXTERNAL_FS_CALL = 32; - /** - * Image file is too large. - * - * Generated from protobuf enum FILE_TOO_LARGE = 33; - */ - const FILE_TOO_LARGE = 33; - /** - * Image data is too large. - * - * Generated from protobuf enum IMAGE_DATA_TOO_LARGE = 34; - */ - const IMAGE_DATA_TOO_LARGE = 34; - /** - * Error while processing the image. - * - * Generated from protobuf enum IMAGE_PROCESSING_ERROR = 35; - */ - const IMAGE_PROCESSING_ERROR = 35; - /** - * Image is too small. - * - * Generated from protobuf enum IMAGE_TOO_SMALL = 36; - */ - const IMAGE_TOO_SMALL = 36; - /** - * Input was invalid. - * - * Generated from protobuf enum INVALID_INPUT = 37; - */ - const INVALID_INPUT = 37; - /** - * There was a problem reading the image file. - * - * Generated from protobuf enum PROBLEM_READING_FILE = 38; - */ - const PROBLEM_READING_FILE = 38; - /** - * Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED - * can't be provided. This happens when asset spec contains more than one - * constraint and different criteria of different constraints are violated. - * - * Generated from protobuf enum IMAGE_CONSTRAINTS_VIOLATED = 39; - */ - const IMAGE_CONSTRAINTS_VIOLATED = 39; - /** - * Image format is not allowed. - * - * Generated from protobuf enum FORMAT_NOT_ALLOWED = 40; - */ - const FORMAT_NOT_ALLOWED = 40; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_IMAGE => 'INVALID_IMAGE', - self::STORAGE_ERROR => 'STORAGE_ERROR', - self::BAD_REQUEST => 'BAD_REQUEST', - self::UNEXPECTED_SIZE => 'UNEXPECTED_SIZE', - self::ANIMATED_NOT_ALLOWED => 'ANIMATED_NOT_ALLOWED', - self::ANIMATION_TOO_LONG => 'ANIMATION_TOO_LONG', - self::SERVER_ERROR => 'SERVER_ERROR', - self::CMYK_JPEG_NOT_ALLOWED => 'CMYK_JPEG_NOT_ALLOWED', - self::FLASH_NOT_ALLOWED => 'FLASH_NOT_ALLOWED', - self::FLASH_WITHOUT_CLICKTAG => 'FLASH_WITHOUT_CLICKTAG', - self::FLASH_ERROR_AFTER_FIXING_CLICK_TAG => 'FLASH_ERROR_AFTER_FIXING_CLICK_TAG', - self::ANIMATED_VISUAL_EFFECT => 'ANIMATED_VISUAL_EFFECT', - self::FLASH_ERROR => 'FLASH_ERROR', - self::LAYOUT_PROBLEM => 'LAYOUT_PROBLEM', - self::PROBLEM_READING_IMAGE_FILE => 'PROBLEM_READING_IMAGE_FILE', - self::ERROR_STORING_IMAGE => 'ERROR_STORING_IMAGE', - self::ASPECT_RATIO_NOT_ALLOWED => 'ASPECT_RATIO_NOT_ALLOWED', - self::FLASH_HAS_NETWORK_OBJECTS => 'FLASH_HAS_NETWORK_OBJECTS', - self::FLASH_HAS_NETWORK_METHODS => 'FLASH_HAS_NETWORK_METHODS', - self::FLASH_HAS_URL => 'FLASH_HAS_URL', - self::FLASH_HAS_MOUSE_TRACKING => 'FLASH_HAS_MOUSE_TRACKING', - self::FLASH_HAS_RANDOM_NUM => 'FLASH_HAS_RANDOM_NUM', - self::FLASH_SELF_TARGETS => 'FLASH_SELF_TARGETS', - self::FLASH_BAD_GETURL_TARGET => 'FLASH_BAD_GETURL_TARGET', - self::FLASH_VERSION_NOT_SUPPORTED => 'FLASH_VERSION_NOT_SUPPORTED', - self::FLASH_WITHOUT_HARD_CODED_CLICK_URL => 'FLASH_WITHOUT_HARD_CODED_CLICK_URL', - self::INVALID_FLASH_FILE => 'INVALID_FLASH_FILE', - self::FAILED_TO_FIX_CLICK_TAG_IN_FLASH => 'FAILED_TO_FIX_CLICK_TAG_IN_FLASH', - self::FLASH_ACCESSES_NETWORK_RESOURCES => 'FLASH_ACCESSES_NETWORK_RESOURCES', - self::FLASH_EXTERNAL_JS_CALL => 'FLASH_EXTERNAL_JS_CALL', - self::FLASH_EXTERNAL_FS_CALL => 'FLASH_EXTERNAL_FS_CALL', - self::FILE_TOO_LARGE => 'FILE_TOO_LARGE', - self::IMAGE_DATA_TOO_LARGE => 'IMAGE_DATA_TOO_LARGE', - self::IMAGE_PROCESSING_ERROR => 'IMAGE_PROCESSING_ERROR', - self::IMAGE_TOO_SMALL => 'IMAGE_TOO_SMALL', - self::INVALID_INPUT => 'INVALID_INPUT', - self::PROBLEM_READING_FILE => 'PROBLEM_READING_FILE', - self::IMAGE_CONSTRAINTS_VIOLATED => 'IMAGE_CONSTRAINTS_VIOLATED', - self::FORMAT_NOT_ALLOWED => 'FORMAT_NOT_ALLOWED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ImageError::class, \Google\Ads\GoogleAds\V15\Errors\ImageErrorEnum_ImageError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/InternalErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/InternalErrorEnum.php deleted file mode 100644 index a4a12b256..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/InternalErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.InternalErrorEnum - */ -class InternalErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\InternalError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/InternalErrorEnum/InternalError.php b/src/Google/Ads/GoogleAds/V15/Errors/InternalErrorEnum/InternalError.php deleted file mode 100644 index 2cb808e50..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/InternalErrorEnum/InternalError.php +++ /dev/null @@ -1,87 +0,0 @@ -google.ads.googleads.v15.errors.InternalErrorEnum.InternalError - */ -class InternalError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Google Ads API encountered unexpected internal error. - * - * Generated from protobuf enum INTERNAL_ERROR = 2; - */ - const INTERNAL_ERROR = 2; - /** - * The intended error code doesn't exist in specified API version. It will - * be released in a future API version. - * - * Generated from protobuf enum ERROR_CODE_NOT_PUBLISHED = 3; - */ - const ERROR_CODE_NOT_PUBLISHED = 3; - /** - * Google Ads API encountered an unexpected transient error. The user - * should retry their request in these cases. - * - * Generated from protobuf enum TRANSIENT_ERROR = 4; - */ - const TRANSIENT_ERROR = 4; - /** - * The request took longer than a deadline. - * - * Generated from protobuf enum DEADLINE_EXCEEDED = 5; - */ - const DEADLINE_EXCEEDED = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INTERNAL_ERROR => 'INTERNAL_ERROR', - self::ERROR_CODE_NOT_PUBLISHED => 'ERROR_CODE_NOT_PUBLISHED', - self::TRANSIENT_ERROR => 'TRANSIENT_ERROR', - self::DEADLINE_EXCEEDED => 'DEADLINE_EXCEEDED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InternalError::class, \Google\Ads\GoogleAds\V15\Errors\InternalErrorEnum_InternalError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/InvoiceErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/InvoiceErrorEnum.php deleted file mode 100644 index ebc2177cd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/InvoiceErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.InvoiceErrorEnum - */ -class InvoiceErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\InvoiceError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/InvoiceErrorEnum/InvoiceError.php b/src/Google/Ads/GoogleAds/V15/Errors/InvoiceErrorEnum/InvoiceError.php deleted file mode 100644 index 8d354e148..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/InvoiceErrorEnum/InvoiceError.php +++ /dev/null @@ -1,93 +0,0 @@ -google.ads.googleads.v15.errors.InvoiceErrorEnum.InvoiceError - */ -class InvoiceError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Cannot request invoices issued before 2019-01-01. - * - * Generated from protobuf enum YEAR_MONTH_TOO_OLD = 2; - */ - const YEAR_MONTH_TOO_OLD = 2; - /** - * Cannot request invoices for customer who doesn't receive invoices. - * - * Generated from protobuf enum NOT_INVOICED_CUSTOMER = 3; - */ - const NOT_INVOICED_CUSTOMER = 3; - /** - * Cannot request invoices for a non approved billing setup. - * - * Generated from protobuf enum BILLING_SETUP_NOT_APPROVED = 4; - */ - const BILLING_SETUP_NOT_APPROVED = 4; - /** - * Cannot request invoices for a billing setup that is not on monthly - * invoicing. - * - * Generated from protobuf enum BILLING_SETUP_NOT_ON_MONTHLY_INVOICING = 5; - */ - const BILLING_SETUP_NOT_ON_MONTHLY_INVOICING = 5; - /** - * Cannot request invoices for a non serving customer. - * - * Generated from protobuf enum NON_SERVING_CUSTOMER = 6; - */ - const NON_SERVING_CUSTOMER = 6; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::YEAR_MONTH_TOO_OLD => 'YEAR_MONTH_TOO_OLD', - self::NOT_INVOICED_CUSTOMER => 'NOT_INVOICED_CUSTOMER', - self::BILLING_SETUP_NOT_APPROVED => 'BILLING_SETUP_NOT_APPROVED', - self::BILLING_SETUP_NOT_ON_MONTHLY_INVOICING => 'BILLING_SETUP_NOT_ON_MONTHLY_INVOICING', - self::NON_SERVING_CUSTOMER => 'NON_SERVING_CUSTOMER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InvoiceError::class, \Google\Ads\GoogleAds\V15\Errors\InvoiceErrorEnum_InvoiceError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupErrorEnum.php deleted file mode 100644 index 82e521af8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanAdGroupErrorEnum - */ -class KeywordPlanAdGroupErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\KeywordPlanAdGroupError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupErrorEnum/KeywordPlanAdGroupError.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupErrorEnum/KeywordPlanAdGroupError.php deleted file mode 100644 index e7d205782..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupErrorEnum/KeywordPlanAdGroupError.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError - */ -class KeywordPlanAdGroupError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The keyword plan ad group name is missing, empty, longer than allowed - * limit or contains invalid chars. - * - * Generated from protobuf enum INVALID_NAME = 2; - */ - const INVALID_NAME = 2; - /** - * The keyword plan ad group name is duplicate to an existing keyword plan - * AdGroup name or other keyword plan AdGroup name in the request. - * - * Generated from protobuf enum DUPLICATE_NAME = 3; - */ - const DUPLICATE_NAME = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_NAME => 'INVALID_NAME', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanAdGroupError::class, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanAdGroupErrorEnum_KeywordPlanAdGroupError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordErrorEnum.php deleted file mode 100644 index 9e275910e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanAdGroupKeywordErrorEnum - */ -class KeywordPlanAdGroupKeywordErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\KeywordPlanAdGroupKeywordError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordErrorEnum/KeywordPlanAdGroupKeywordError.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordErrorEnum/KeywordPlanAdGroupKeywordError.php deleted file mode 100644 index 50093ebfd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanAdGroupKeywordErrorEnum/KeywordPlanAdGroupKeywordError.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError - */ -class KeywordPlanAdGroupKeywordError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A keyword or negative keyword has invalid match type. - * - * Generated from protobuf enum INVALID_KEYWORD_MATCH_TYPE = 2; - */ - const INVALID_KEYWORD_MATCH_TYPE = 2; - /** - * A keyword or negative keyword with same text and match type already - * exists. - * - * Generated from protobuf enum DUPLICATE_KEYWORD = 3; - */ - const DUPLICATE_KEYWORD = 3; - /** - * Keyword or negative keyword text exceeds the allowed limit. - * - * Generated from protobuf enum KEYWORD_TEXT_TOO_LONG = 4; - */ - const KEYWORD_TEXT_TOO_LONG = 4; - /** - * Keyword or negative keyword text has invalid characters or symbols. - * - * Generated from protobuf enum KEYWORD_HAS_INVALID_CHARS = 5; - */ - const KEYWORD_HAS_INVALID_CHARS = 5; - /** - * Keyword or negative keyword text has too many words. - * - * Generated from protobuf enum KEYWORD_HAS_TOO_MANY_WORDS = 6; - */ - const KEYWORD_HAS_TOO_MANY_WORDS = 6; - /** - * Keyword or negative keyword has invalid text. - * - * Generated from protobuf enum INVALID_KEYWORD_TEXT = 7; - */ - const INVALID_KEYWORD_TEXT = 7; - /** - * Cpc Bid set for negative keyword. - * - * Generated from protobuf enum NEGATIVE_KEYWORD_HAS_CPC_BID = 8; - */ - const NEGATIVE_KEYWORD_HAS_CPC_BID = 8; - /** - * New broad match modifier (BMM) KpAdGroupKeywords are not allowed. - * - * Generated from protobuf enum NEW_BMM_KEYWORDS_NOT_ALLOWED = 9; - */ - const NEW_BMM_KEYWORDS_NOT_ALLOWED = 9; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_KEYWORD_MATCH_TYPE => 'INVALID_KEYWORD_MATCH_TYPE', - self::DUPLICATE_KEYWORD => 'DUPLICATE_KEYWORD', - self::KEYWORD_TEXT_TOO_LONG => 'KEYWORD_TEXT_TOO_LONG', - self::KEYWORD_HAS_INVALID_CHARS => 'KEYWORD_HAS_INVALID_CHARS', - self::KEYWORD_HAS_TOO_MANY_WORDS => 'KEYWORD_HAS_TOO_MANY_WORDS', - self::INVALID_KEYWORD_TEXT => 'INVALID_KEYWORD_TEXT', - self::NEGATIVE_KEYWORD_HAS_CPC_BID => 'NEGATIVE_KEYWORD_HAS_CPC_BID', - self::NEW_BMM_KEYWORDS_NOT_ALLOWED => 'NEW_BMM_KEYWORDS_NOT_ALLOWED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanAdGroupKeywordError::class, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanAdGroupKeywordErrorEnum_KeywordPlanAdGroupKeywordError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignErrorEnum.php deleted file mode 100644 index ea9b6a938..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanCampaignErrorEnum - */ -class KeywordPlanCampaignErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\KeywordPlanCampaignError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignErrorEnum/KeywordPlanCampaignError.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignErrorEnum/KeywordPlanCampaignError.php deleted file mode 100644 index 48d2abbf3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignErrorEnum/KeywordPlanCampaignError.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError - */ -class KeywordPlanCampaignError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A keyword plan campaign name is missing, empty, longer than allowed limit - * or contains invalid chars. - * - * Generated from protobuf enum INVALID_NAME = 2; - */ - const INVALID_NAME = 2; - /** - * A keyword plan campaign contains one or more untargetable languages. - * - * Generated from protobuf enum INVALID_LANGUAGES = 3; - */ - const INVALID_LANGUAGES = 3; - /** - * A keyword plan campaign contains one or more invalid geo targets. - * - * Generated from protobuf enum INVALID_GEOS = 4; - */ - const INVALID_GEOS = 4; - /** - * The keyword plan campaign name is duplicate to an existing keyword plan - * campaign name or other keyword plan campaign name in the request. - * - * Generated from protobuf enum DUPLICATE_NAME = 5; - */ - const DUPLICATE_NAME = 5; - /** - * The number of geo targets in the keyword plan campaign exceeds limits. - * - * Generated from protobuf enum MAX_GEOS_EXCEEDED = 6; - */ - const MAX_GEOS_EXCEEDED = 6; - /** - * The number of languages in the keyword plan campaign exceeds limits. - * - * Generated from protobuf enum MAX_LANGUAGES_EXCEEDED = 7; - */ - const MAX_LANGUAGES_EXCEEDED = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_NAME => 'INVALID_NAME', - self::INVALID_LANGUAGES => 'INVALID_LANGUAGES', - self::INVALID_GEOS => 'INVALID_GEOS', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::MAX_GEOS_EXCEEDED => 'MAX_GEOS_EXCEEDED', - self::MAX_LANGUAGES_EXCEEDED => 'MAX_LANGUAGES_EXCEEDED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanCampaignError::class, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanCampaignErrorEnum_KeywordPlanCampaignError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordErrorEnum.php deleted file mode 100644 index cf5627b72..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanCampaignKeywordErrorEnum - */ -class KeywordPlanCampaignKeywordErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\KeywordPlanCampaignKeywordError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordErrorEnum/KeywordPlanCampaignKeywordError.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordErrorEnum/KeywordPlanCampaignKeywordError.php deleted file mode 100644 index 0a710d7c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanCampaignKeywordErrorEnum/KeywordPlanCampaignKeywordError.php +++ /dev/null @@ -1,65 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError - */ -class KeywordPlanCampaignKeywordError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Keyword plan campaign keyword is positive. - * - * Generated from protobuf enum CAMPAIGN_KEYWORD_IS_POSITIVE = 8; - */ - const CAMPAIGN_KEYWORD_IS_POSITIVE = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CAMPAIGN_KEYWORD_IS_POSITIVE => 'CAMPAIGN_KEYWORD_IS_POSITIVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanCampaignKeywordError::class, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanCampaignKeywordErrorEnum_KeywordPlanCampaignKeywordError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanErrorEnum.php deleted file mode 100644 index 73fa9275c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanErrorEnum.php +++ /dev/null @@ -1,35 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanErrorEnum - */ -class KeywordPlanErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\KeywordPlanError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanErrorEnum/KeywordPlanError.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanErrorEnum/KeywordPlanError.php deleted file mode 100644 index 495b0e860..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanErrorEnum/KeywordPlanError.php +++ /dev/null @@ -1,156 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanErrorEnum.KeywordPlanError - */ -class KeywordPlanError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The plan's bid multiplier value is outside the valid range. - * - * Generated from protobuf enum BID_MULTIPLIER_OUT_OF_RANGE = 2; - */ - const BID_MULTIPLIER_OUT_OF_RANGE = 2; - /** - * The plan's bid value is too high. - * - * Generated from protobuf enum BID_TOO_HIGH = 3; - */ - const BID_TOO_HIGH = 3; - /** - * The plan's bid value is too low. - * - * Generated from protobuf enum BID_TOO_LOW = 4; - */ - const BID_TOO_LOW = 4; - /** - * The plan's cpc bid is not a multiple of the minimum billable unit. - * - * Generated from protobuf enum BID_TOO_MANY_FRACTIONAL_DIGITS = 5; - */ - const BID_TOO_MANY_FRACTIONAL_DIGITS = 5; - /** - * The plan's daily budget value is too low. - * - * Generated from protobuf enum DAILY_BUDGET_TOO_LOW = 6; - */ - const DAILY_BUDGET_TOO_LOW = 6; - /** - * The plan's daily budget is not a multiple of the minimum billable unit. - * - * Generated from protobuf enum DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7; - */ - const DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7; - /** - * The input has an invalid value. - * - * Generated from protobuf enum INVALID_VALUE = 8; - */ - const INVALID_VALUE = 8; - /** - * The plan has no keyword. - * - * Generated from protobuf enum KEYWORD_PLAN_HAS_NO_KEYWORDS = 9; - */ - const KEYWORD_PLAN_HAS_NO_KEYWORDS = 9; - /** - * The plan is not enabled and API cannot provide mutation, forecast or - * stats. - * - * Generated from protobuf enum KEYWORD_PLAN_NOT_ENABLED = 10; - */ - const KEYWORD_PLAN_NOT_ENABLED = 10; - /** - * The requested plan cannot be found for providing forecast or stats. - * - * Generated from protobuf enum KEYWORD_PLAN_NOT_FOUND = 11; - */ - const KEYWORD_PLAN_NOT_FOUND = 11; - /** - * The plan is missing a cpc bid. - * - * Generated from protobuf enum MISSING_BID = 13; - */ - const MISSING_BID = 13; - /** - * The plan is missing required forecast_period field. - * - * Generated from protobuf enum MISSING_FORECAST_PERIOD = 14; - */ - const MISSING_FORECAST_PERIOD = 14; - /** - * The plan's forecast_period has invalid forecast date range. - * - * Generated from protobuf enum INVALID_FORECAST_DATE_RANGE = 15; - */ - const INVALID_FORECAST_DATE_RANGE = 15; - /** - * The plan's name is invalid. - * - * Generated from protobuf enum INVALID_NAME = 16; - */ - const INVALID_NAME = 16; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BID_MULTIPLIER_OUT_OF_RANGE => 'BID_MULTIPLIER_OUT_OF_RANGE', - self::BID_TOO_HIGH => 'BID_TOO_HIGH', - self::BID_TOO_LOW => 'BID_TOO_LOW', - self::BID_TOO_MANY_FRACTIONAL_DIGITS => 'BID_TOO_MANY_FRACTIONAL_DIGITS', - self::DAILY_BUDGET_TOO_LOW => 'DAILY_BUDGET_TOO_LOW', - self::DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS => 'DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS', - self::INVALID_VALUE => 'INVALID_VALUE', - self::KEYWORD_PLAN_HAS_NO_KEYWORDS => 'KEYWORD_PLAN_HAS_NO_KEYWORDS', - self::KEYWORD_PLAN_NOT_ENABLED => 'KEYWORD_PLAN_NOT_ENABLED', - self::KEYWORD_PLAN_NOT_FOUND => 'KEYWORD_PLAN_NOT_FOUND', - self::MISSING_BID => 'MISSING_BID', - self::MISSING_FORECAST_PERIOD => 'MISSING_FORECAST_PERIOD', - self::INVALID_FORECAST_DATE_RANGE => 'INVALID_FORECAST_DATE_RANGE', - self::INVALID_NAME => 'INVALID_NAME', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanError::class, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanErrorEnum_KeywordPlanError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaErrorEnum.php deleted file mode 100644 index 0c7114b71..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanIdeaErrorEnum - */ -class KeywordPlanIdeaErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\KeywordPlanIdeaError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaErrorEnum/KeywordPlanIdeaError.php b/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaErrorEnum/KeywordPlanIdeaError.php deleted file mode 100644 index f2861dd0d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/KeywordPlanIdeaErrorEnum/KeywordPlanIdeaError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError - */ -class KeywordPlanIdeaError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Error when crawling the input URL. - * - * Generated from protobuf enum URL_CRAWL_ERROR = 2; - */ - const URL_CRAWL_ERROR = 2; - /** - * The input has an invalid value. - * - * Generated from protobuf enum INVALID_VALUE = 3; - */ - const INVALID_VALUE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::URL_CRAWL_ERROR => 'URL_CRAWL_ERROR', - self::INVALID_VALUE => 'INVALID_VALUE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordPlanIdeaError::class, \Google\Ads\GoogleAds\V15\Errors\KeywordPlanIdeaErrorEnum_KeywordPlanIdeaError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/LabelErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/LabelErrorEnum.php deleted file mode 100644 index 6108b527a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/LabelErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.LabelErrorEnum - */ -class LabelErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\LabelError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/LabelErrorEnum/LabelError.php b/src/Google/Ads/GoogleAds/V15/Errors/LabelErrorEnum/LabelError.php deleted file mode 100644 index f7e0669ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/LabelErrorEnum/LabelError.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.errors.LabelErrorEnum.LabelError - */ -class LabelError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * An inactive label cannot be applied. - * - * Generated from protobuf enum CANNOT_APPLY_INACTIVE_LABEL = 2; - */ - const CANNOT_APPLY_INACTIVE_LABEL = 2; - /** - * A label cannot be applied to a disabled ad group criterion. - * - * Generated from protobuf enum CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION = 3; - */ - const CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION = 3; - /** - * A label cannot be applied to a negative ad group criterion. - * - * Generated from protobuf enum CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION = 4; - */ - const CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION = 4; - /** - * Cannot apply more than 50 labels per resource. - * - * Generated from protobuf enum EXCEEDED_LABEL_LIMIT_PER_TYPE = 5; - */ - const EXCEEDED_LABEL_LIMIT_PER_TYPE = 5; - /** - * Labels from a manager account cannot be applied to campaign, ad group, - * ad group ad, or ad group criterion resources. - * - * Generated from protobuf enum INVALID_RESOURCE_FOR_MANAGER_LABEL = 6; - */ - const INVALID_RESOURCE_FOR_MANAGER_LABEL = 6; - /** - * Label names must be unique. - * - * Generated from protobuf enum DUPLICATE_NAME = 7; - */ - const DUPLICATE_NAME = 7; - /** - * Label names cannot be empty. - * - * Generated from protobuf enum INVALID_LABEL_NAME = 8; - */ - const INVALID_LABEL_NAME = 8; - /** - * Labels cannot be applied to a draft. - * - * Generated from protobuf enum CANNOT_ATTACH_LABEL_TO_DRAFT = 9; - */ - const CANNOT_ATTACH_LABEL_TO_DRAFT = 9; - /** - * Labels not from a manager account cannot be applied to the customer - * resource. - * - * Generated from protobuf enum CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10; - */ - const CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_APPLY_INACTIVE_LABEL => 'CANNOT_APPLY_INACTIVE_LABEL', - self::CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION => 'CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION', - self::CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION => 'CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION', - self::EXCEEDED_LABEL_LIMIT_PER_TYPE => 'EXCEEDED_LABEL_LIMIT_PER_TYPE', - self::INVALID_RESOURCE_FOR_MANAGER_LABEL => 'INVALID_RESOURCE_FOR_MANAGER_LABEL', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::INVALID_LABEL_NAME => 'INVALID_LABEL_NAME', - self::CANNOT_ATTACH_LABEL_TO_DRAFT => 'CANNOT_ATTACH_LABEL_TO_DRAFT', - self::CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER => 'CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LabelError::class, \Google\Ads\GoogleAds\V15\Errors\LabelErrorEnum_LabelError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/LanguageCodeErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/LanguageCodeErrorEnum.php deleted file mode 100644 index 414955506..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/LanguageCodeErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.LanguageCodeErrorEnum - */ -class LanguageCodeErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\LanguageCodeError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/LanguageCodeErrorEnum/LanguageCodeError.php b/src/Google/Ads/GoogleAds/V15/Errors/LanguageCodeErrorEnum/LanguageCodeError.php deleted file mode 100644 index 08af79323..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/LanguageCodeErrorEnum/LanguageCodeError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.LanguageCodeErrorEnum.LanguageCodeError - */ -class LanguageCodeError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The input language code is not recognized. - * - * Generated from protobuf enum LANGUAGE_CODE_NOT_FOUND = 2; - */ - const LANGUAGE_CODE_NOT_FOUND = 2; - /** - * The language code is not supported. - * - * Generated from protobuf enum INVALID_LANGUAGE_CODE = 3; - */ - const INVALID_LANGUAGE_CODE = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::LANGUAGE_CODE_NOT_FOUND => 'LANGUAGE_CODE_NOT_FOUND', - self::INVALID_LANGUAGE_CODE => 'INVALID_LANGUAGE_CODE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LanguageCodeError::class, \Google\Ads\GoogleAds\V15\Errors\LanguageCodeErrorEnum_LanguageCodeError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ListOperationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ListOperationErrorEnum.php deleted file mode 100644 index 2cce4a5c4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ListOperationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ListOperationErrorEnum - */ -class ListOperationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ListOperationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ListOperationErrorEnum/ListOperationError.php b/src/Google/Ads/GoogleAds/V15/Errors/ListOperationErrorEnum/ListOperationError.php deleted file mode 100644 index 2319d166d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ListOperationErrorEnum/ListOperationError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.ListOperationErrorEnum.ListOperationError - */ -class ListOperationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Field required in value is missing. - * - * Generated from protobuf enum REQUIRED_FIELD_MISSING = 7; - */ - const REQUIRED_FIELD_MISSING = 7; - /** - * Duplicate or identical value is sent in multiple list operations. - * - * Generated from protobuf enum DUPLICATE_VALUES = 8; - */ - const DUPLICATE_VALUES = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::REQUIRED_FIELD_MISSING => 'REQUIRED_FIELD_MISSING', - self::DUPLICATE_VALUES => 'DUPLICATE_VALUES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ListOperationError::class, \Google\Ads\GoogleAds\V15\Errors\ListOperationErrorEnum_ListOperationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ManagerLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ManagerLinkErrorEnum.php deleted file mode 100644 index e013b2d0f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ManagerLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ManagerLinkErrorEnum - */ -class ManagerLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ManagerLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ManagerLinkErrorEnum/ManagerLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/ManagerLinkErrorEnum/ManagerLinkError.php deleted file mode 100644 index 433645254..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ManagerLinkErrorEnum/ManagerLinkError.php +++ /dev/null @@ -1,192 +0,0 @@ -google.ads.googleads.v15.errors.ManagerLinkErrorEnum.ManagerLinkError - */ -class ManagerLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The manager and client have incompatible account types. - * - * Generated from protobuf enum ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2; - */ - const ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2; - /** - * Client is already linked to too many managers. - * - * Generated from protobuf enum TOO_MANY_MANAGERS = 3; - */ - const TOO_MANY_MANAGERS = 3; - /** - * Manager has too many pending invitations. - * - * Generated from protobuf enum TOO_MANY_INVITES = 4; - */ - const TOO_MANY_INVITES = 4; - /** - * Client is already invited by this manager. - * - * Generated from protobuf enum ALREADY_INVITED_BY_THIS_MANAGER = 5; - */ - const ALREADY_INVITED_BY_THIS_MANAGER = 5; - /** - * The client is already managed by this manager. - * - * Generated from protobuf enum ALREADY_MANAGED_BY_THIS_MANAGER = 6; - */ - const ALREADY_MANAGED_BY_THIS_MANAGER = 6; - /** - * Client is already managed in hierarchy. - * - * Generated from protobuf enum ALREADY_MANAGED_IN_HIERARCHY = 7; - */ - const ALREADY_MANAGED_IN_HIERARCHY = 7; - /** - * Manager and sub-manager to be linked have duplicate client. - * - * Generated from protobuf enum DUPLICATE_CHILD_FOUND = 8; - */ - const DUPLICATE_CHILD_FOUND = 8; - /** - * Client has no active user that can access the client account. - * - * Generated from protobuf enum CLIENT_HAS_NO_ADMIN_USER = 9; - */ - const CLIENT_HAS_NO_ADMIN_USER = 9; - /** - * Adding this link would exceed the maximum hierarchy depth. - * - * Generated from protobuf enum MAX_DEPTH_EXCEEDED = 10; - */ - const MAX_DEPTH_EXCEEDED = 10; - /** - * Adding this link will create a cycle. - * - * Generated from protobuf enum CYCLE_NOT_ALLOWED = 11; - */ - const CYCLE_NOT_ALLOWED = 11; - /** - * Manager account has the maximum number of linked clients. - * - * Generated from protobuf enum TOO_MANY_ACCOUNTS = 12; - */ - const TOO_MANY_ACCOUNTS = 12; - /** - * Parent manager account has the maximum number of linked clients. - * - * Generated from protobuf enum TOO_MANY_ACCOUNTS_AT_MANAGER = 13; - */ - const TOO_MANY_ACCOUNTS_AT_MANAGER = 13; - /** - * The account is not authorized owner. - * - * Generated from protobuf enum NON_OWNER_USER_CANNOT_MODIFY_LINK = 14; - */ - const NON_OWNER_USER_CANNOT_MODIFY_LINK = 14; - /** - * Your manager account is suspended, and you are no longer allowed to link - * to clients. - * - * Generated from protobuf enum SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15; - */ - const SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15; - /** - * You are not allowed to move a client to a manager that is not under your - * current hierarchy. - * - * Generated from protobuf enum CLIENT_OUTSIDE_TREE = 16; - */ - const CLIENT_OUTSIDE_TREE = 16; - /** - * The changed status for mutate link is invalid. - * - * Generated from protobuf enum INVALID_STATUS_CHANGE = 17; - */ - const INVALID_STATUS_CHANGE = 17; - /** - * The change for mutate link is invalid. - * - * Generated from protobuf enum INVALID_CHANGE = 18; - */ - const INVALID_CHANGE = 18; - /** - * You are not allowed to link a manager account to itself. - * - * Generated from protobuf enum CUSTOMER_CANNOT_MANAGE_SELF = 19; - */ - const CUSTOMER_CANNOT_MANAGE_SELF = 19; - /** - * The link was created with status ACTIVE and not PENDING. - * - * Generated from protobuf enum CREATING_ENABLED_LINK_NOT_ALLOWED = 20; - */ - const CREATING_ENABLED_LINK_NOT_ALLOWED = 20; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING => 'ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING', - self::TOO_MANY_MANAGERS => 'TOO_MANY_MANAGERS', - self::TOO_MANY_INVITES => 'TOO_MANY_INVITES', - self::ALREADY_INVITED_BY_THIS_MANAGER => 'ALREADY_INVITED_BY_THIS_MANAGER', - self::ALREADY_MANAGED_BY_THIS_MANAGER => 'ALREADY_MANAGED_BY_THIS_MANAGER', - self::ALREADY_MANAGED_IN_HIERARCHY => 'ALREADY_MANAGED_IN_HIERARCHY', - self::DUPLICATE_CHILD_FOUND => 'DUPLICATE_CHILD_FOUND', - self::CLIENT_HAS_NO_ADMIN_USER => 'CLIENT_HAS_NO_ADMIN_USER', - self::MAX_DEPTH_EXCEEDED => 'MAX_DEPTH_EXCEEDED', - self::CYCLE_NOT_ALLOWED => 'CYCLE_NOT_ALLOWED', - self::TOO_MANY_ACCOUNTS => 'TOO_MANY_ACCOUNTS', - self::TOO_MANY_ACCOUNTS_AT_MANAGER => 'TOO_MANY_ACCOUNTS_AT_MANAGER', - self::NON_OWNER_USER_CANNOT_MODIFY_LINK => 'NON_OWNER_USER_CANNOT_MODIFY_LINK', - self::SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS => 'SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS', - self::CLIENT_OUTSIDE_TREE => 'CLIENT_OUTSIDE_TREE', - self::INVALID_STATUS_CHANGE => 'INVALID_STATUS_CHANGE', - self::INVALID_CHANGE => 'INVALID_CHANGE', - self::CUSTOMER_CANNOT_MANAGE_SELF => 'CUSTOMER_CANNOT_MANAGE_SELF', - self::CREATING_ENABLED_LINK_NOT_ALLOWED => 'CREATING_ENABLED_LINK_NOT_ALLOWED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ManagerLinkError::class, \Google\Ads\GoogleAds\V15\Errors\ManagerLinkErrorEnum_ManagerLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MediaBundleErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/MediaBundleErrorEnum.php deleted file mode 100644 index 33ed40148..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MediaBundleErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.MediaBundleErrorEnum - */ -class MediaBundleErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\MediaBundleError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MediaBundleErrorEnum/MediaBundleError.php b/src/Google/Ads/GoogleAds/V15/Errors/MediaBundleErrorEnum/MediaBundleError.php deleted file mode 100644 index aeffe643e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MediaBundleErrorEnum/MediaBundleError.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.errors.MediaBundleErrorEnum.MediaBundleError - */ -class MediaBundleError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * There was a problem with the request. - * - * Generated from protobuf enum BAD_REQUEST = 3; - */ - const BAD_REQUEST = 3; - /** - * HTML5 ads using DoubleClick Studio created ZIP files are not supported. - * - * Generated from protobuf enum DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4; - */ - const DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4; - /** - * Cannot reference URL external to the media bundle. - * - * Generated from protobuf enum EXTERNAL_URL_NOT_ALLOWED = 5; - */ - const EXTERNAL_URL_NOT_ALLOWED = 5; - /** - * Media bundle file is too large. - * - * Generated from protobuf enum FILE_TOO_LARGE = 6; - */ - const FILE_TOO_LARGE = 6; - /** - * ZIP file from Google Web Designer is not published. - * - * Generated from protobuf enum GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7; - */ - const GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7; - /** - * Input was invalid. - * - * Generated from protobuf enum INVALID_INPUT = 8; - */ - const INVALID_INPUT = 8; - /** - * There was a problem with the media bundle. - * - * Generated from protobuf enum INVALID_MEDIA_BUNDLE = 9; - */ - const INVALID_MEDIA_BUNDLE = 9; - /** - * There was a problem with one or more of the media bundle entries. - * - * Generated from protobuf enum INVALID_MEDIA_BUNDLE_ENTRY = 10; - */ - const INVALID_MEDIA_BUNDLE_ENTRY = 10; - /** - * The media bundle contains a file with an unknown mime type - * - * Generated from protobuf enum INVALID_MIME_TYPE = 11; - */ - const INVALID_MIME_TYPE = 11; - /** - * The media bundle contain an invalid asset path. - * - * Generated from protobuf enum INVALID_PATH = 12; - */ - const INVALID_PATH = 12; - /** - * HTML5 ad is trying to reference an asset not in .ZIP file - * - * Generated from protobuf enum INVALID_URL_REFERENCE = 13; - */ - const INVALID_URL_REFERENCE = 13; - /** - * Media data is too large. - * - * Generated from protobuf enum MEDIA_DATA_TOO_LARGE = 14; - */ - const MEDIA_DATA_TOO_LARGE = 14; - /** - * The media bundle contains no primary entry. - * - * Generated from protobuf enum MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15; - */ - const MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15; - /** - * There was an error on the server. - * - * Generated from protobuf enum SERVER_ERROR = 16; - */ - const SERVER_ERROR = 16; - /** - * The image could not be stored. - * - * Generated from protobuf enum STORAGE_ERROR = 17; - */ - const STORAGE_ERROR = 17; - /** - * Media bundle created with the Swiffy tool is not allowed. - * - * Generated from protobuf enum SWIFFY_BUNDLE_NOT_ALLOWED = 18; - */ - const SWIFFY_BUNDLE_NOT_ALLOWED = 18; - /** - * The media bundle contains too many files. - * - * Generated from protobuf enum TOO_MANY_FILES = 19; - */ - const TOO_MANY_FILES = 19; - /** - * The media bundle is not of legal dimensions. - * - * Generated from protobuf enum UNEXPECTED_SIZE = 20; - */ - const UNEXPECTED_SIZE = 20; - /** - * Google Web Designer not created for "Google Ads" environment. - * - * Generated from protobuf enum UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21; - */ - const UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21; - /** - * Unsupported HTML5 feature in HTML5 asset. - * - * Generated from protobuf enum UNSUPPORTED_HTML5_FEATURE = 22; - */ - const UNSUPPORTED_HTML5_FEATURE = 22; - /** - * URL in HTML5 entry is not ssl compliant. - * - * Generated from protobuf enum URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23; - */ - const URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23; - /** - * Custom exits not allowed in HTML5 entry. - * - * Generated from protobuf enum CUSTOM_EXIT_NOT_ALLOWED = 24; - */ - const CUSTOM_EXIT_NOT_ALLOWED = 24; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BAD_REQUEST => 'BAD_REQUEST', - self::DOUBLECLICK_BUNDLE_NOT_ALLOWED => 'DOUBLECLICK_BUNDLE_NOT_ALLOWED', - self::EXTERNAL_URL_NOT_ALLOWED => 'EXTERNAL_URL_NOT_ALLOWED', - self::FILE_TOO_LARGE => 'FILE_TOO_LARGE', - self::GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED => 'GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED', - self::INVALID_INPUT => 'INVALID_INPUT', - self::INVALID_MEDIA_BUNDLE => 'INVALID_MEDIA_BUNDLE', - self::INVALID_MEDIA_BUNDLE_ENTRY => 'INVALID_MEDIA_BUNDLE_ENTRY', - self::INVALID_MIME_TYPE => 'INVALID_MIME_TYPE', - self::INVALID_PATH => 'INVALID_PATH', - self::INVALID_URL_REFERENCE => 'INVALID_URL_REFERENCE', - self::MEDIA_DATA_TOO_LARGE => 'MEDIA_DATA_TOO_LARGE', - self::MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY => 'MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY', - self::SERVER_ERROR => 'SERVER_ERROR', - self::STORAGE_ERROR => 'STORAGE_ERROR', - self::SWIFFY_BUNDLE_NOT_ALLOWED => 'SWIFFY_BUNDLE_NOT_ALLOWED', - self::TOO_MANY_FILES => 'TOO_MANY_FILES', - self::UNEXPECTED_SIZE => 'UNEXPECTED_SIZE', - self::UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT => 'UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT', - self::UNSUPPORTED_HTML5_FEATURE => 'UNSUPPORTED_HTML5_FEATURE', - self::URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT => 'URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT', - self::CUSTOM_EXIT_NOT_ALLOWED => 'CUSTOM_EXIT_NOT_ALLOWED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MediaBundleError::class, \Google\Ads\GoogleAds\V15\Errors\MediaBundleErrorEnum_MediaBundleError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MediaFileErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/MediaFileErrorEnum.php deleted file mode 100644 index 87f6402d6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MediaFileErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.MediaFileErrorEnum - */ -class MediaFileErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\MediaFileError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MediaFileErrorEnum/MediaFileError.php b/src/Google/Ads/GoogleAds/V15/Errors/MediaFileErrorEnum/MediaFileError.php deleted file mode 100644 index 298a10da0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MediaFileErrorEnum/MediaFileError.php +++ /dev/null @@ -1,218 +0,0 @@ -google.ads.googleads.v15.errors.MediaFileErrorEnum.MediaFileError - */ -class MediaFileError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Cannot create a standard icon type. - * - * Generated from protobuf enum CANNOT_CREATE_STANDARD_ICON = 2; - */ - const CANNOT_CREATE_STANDARD_ICON = 2; - /** - * May only select Standard Icons alone. - * - * Generated from protobuf enum CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3; - */ - const CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3; - /** - * Image contains both a media file ID and data. - * - * Generated from protobuf enum CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4; - */ - const CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4; - /** - * A media file with given type and reference ID already exists. - * - * Generated from protobuf enum DUPLICATE_MEDIA = 5; - */ - const DUPLICATE_MEDIA = 5; - /** - * A required field was not specified or is an empty string. - * - * Generated from protobuf enum EMPTY_FIELD = 6; - */ - const EMPTY_FIELD = 6; - /** - * A media file may only be modified once per call. - * - * Generated from protobuf enum RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7; - */ - const RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7; - /** - * Field is not supported for the media sub type. - * - * Generated from protobuf enum FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8; - */ - const FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8; - /** - * The media file ID is invalid. - * - * Generated from protobuf enum INVALID_MEDIA_FILE_ID = 9; - */ - const INVALID_MEDIA_FILE_ID = 9; - /** - * The media subtype is invalid. - * - * Generated from protobuf enum INVALID_MEDIA_SUB_TYPE = 10; - */ - const INVALID_MEDIA_SUB_TYPE = 10; - /** - * The media file type is invalid. - * - * Generated from protobuf enum INVALID_MEDIA_FILE_TYPE = 11; - */ - const INVALID_MEDIA_FILE_TYPE = 11; - /** - * The mimetype is invalid. - * - * Generated from protobuf enum INVALID_MIME_TYPE = 12; - */ - const INVALID_MIME_TYPE = 12; - /** - * The media reference ID is invalid. - * - * Generated from protobuf enum INVALID_REFERENCE_ID = 13; - */ - const INVALID_REFERENCE_ID = 13; - /** - * The YouTube video ID is invalid. - * - * Generated from protobuf enum INVALID_YOU_TUBE_ID = 14; - */ - const INVALID_YOU_TUBE_ID = 14; - /** - * Media file has failed transcoding - * - * Generated from protobuf enum MEDIA_FILE_FAILED_TRANSCODING = 15; - */ - const MEDIA_FILE_FAILED_TRANSCODING = 15; - /** - * Media file has not been transcoded. - * - * Generated from protobuf enum MEDIA_NOT_TRANSCODED = 16; - */ - const MEDIA_NOT_TRANSCODED = 16; - /** - * The media type does not match the actual media file's type. - * - * Generated from protobuf enum MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17; - */ - const MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17; - /** - * None of the fields have been specified. - * - * Generated from protobuf enum NO_FIELDS_SPECIFIED = 18; - */ - const NO_FIELDS_SPECIFIED = 18; - /** - * One of reference ID or media file ID must be specified. - * - * Generated from protobuf enum NULL_REFERENCE_ID_AND_MEDIA_ID = 19; - */ - const NULL_REFERENCE_ID_AND_MEDIA_ID = 19; - /** - * The string has too many characters. - * - * Generated from protobuf enum TOO_LONG = 20; - */ - const TOO_LONG = 20; - /** - * The specified type is not supported. - * - * Generated from protobuf enum UNSUPPORTED_TYPE = 21; - */ - const UNSUPPORTED_TYPE = 21; - /** - * YouTube is unavailable for requesting video data. - * - * Generated from protobuf enum YOU_TUBE_SERVICE_UNAVAILABLE = 22; - */ - const YOU_TUBE_SERVICE_UNAVAILABLE = 22; - /** - * The YouTube video has a non positive duration. - * - * Generated from protobuf enum YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23; - */ - const YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23; - /** - * The YouTube video ID is syntactically valid but the video was not found. - * - * Generated from protobuf enum YOU_TUBE_VIDEO_NOT_FOUND = 24; - */ - const YOU_TUBE_VIDEO_NOT_FOUND = 24; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_CREATE_STANDARD_ICON => 'CANNOT_CREATE_STANDARD_ICON', - self::CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES => 'CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES', - self::CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA => 'CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA', - self::DUPLICATE_MEDIA => 'DUPLICATE_MEDIA', - self::EMPTY_FIELD => 'EMPTY_FIELD', - self::RESOURCE_REFERENCED_IN_MULTIPLE_OPS => 'RESOURCE_REFERENCED_IN_MULTIPLE_OPS', - self::FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE => 'FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE', - self::INVALID_MEDIA_FILE_ID => 'INVALID_MEDIA_FILE_ID', - self::INVALID_MEDIA_SUB_TYPE => 'INVALID_MEDIA_SUB_TYPE', - self::INVALID_MEDIA_FILE_TYPE => 'INVALID_MEDIA_FILE_TYPE', - self::INVALID_MIME_TYPE => 'INVALID_MIME_TYPE', - self::INVALID_REFERENCE_ID => 'INVALID_REFERENCE_ID', - self::INVALID_YOU_TUBE_ID => 'INVALID_YOU_TUBE_ID', - self::MEDIA_FILE_FAILED_TRANSCODING => 'MEDIA_FILE_FAILED_TRANSCODING', - self::MEDIA_NOT_TRANSCODED => 'MEDIA_NOT_TRANSCODED', - self::MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE => 'MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE', - self::NO_FIELDS_SPECIFIED => 'NO_FIELDS_SPECIFIED', - self::NULL_REFERENCE_ID_AND_MEDIA_ID => 'NULL_REFERENCE_ID_AND_MEDIA_ID', - self::TOO_LONG => 'TOO_LONG', - self::UNSUPPORTED_TYPE => 'UNSUPPORTED_TYPE', - self::YOU_TUBE_SERVICE_UNAVAILABLE => 'YOU_TUBE_SERVICE_UNAVAILABLE', - self::YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION => 'YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION', - self::YOU_TUBE_VIDEO_NOT_FOUND => 'YOU_TUBE_VIDEO_NOT_FOUND', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MediaFileError::class, \Google\Ads\GoogleAds\V15\Errors\MediaFileErrorEnum_MediaFileError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MediaUploadErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/MediaUploadErrorEnum.php deleted file mode 100644 index ba8348f9f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MediaUploadErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.MediaUploadErrorEnum - */ -class MediaUploadErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\MediaUploadError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MediaUploadErrorEnum/MediaUploadError.php b/src/Google/Ads/GoogleAds/V15/Errors/MediaUploadErrorEnum/MediaUploadError.php deleted file mode 100644 index cdb9bfed4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MediaUploadErrorEnum/MediaUploadError.php +++ /dev/null @@ -1,301 +0,0 @@ -google.ads.googleads.v15.errors.MediaUploadErrorEnum.MediaUploadError - */ -class MediaUploadError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The uploaded file is too big. - * - * Generated from protobuf enum FILE_TOO_BIG = 2; - */ - const FILE_TOO_BIG = 2; - /** - * Image data is unparseable. - * - * Generated from protobuf enum UNPARSEABLE_IMAGE = 3; - */ - const UNPARSEABLE_IMAGE = 3; - /** - * Animated images are not allowed. - * - * Generated from protobuf enum ANIMATED_IMAGE_NOT_ALLOWED = 4; - */ - const ANIMATED_IMAGE_NOT_ALLOWED = 4; - /** - * The image or media bundle format is not allowed. - * - * Generated from protobuf enum FORMAT_NOT_ALLOWED = 5; - */ - const FORMAT_NOT_ALLOWED = 5; - /** - * Cannot reference URL external to the media bundle. - * - * Generated from protobuf enum EXTERNAL_URL_NOT_ALLOWED = 6; - */ - const EXTERNAL_URL_NOT_ALLOWED = 6; - /** - * HTML5 ad is trying to reference an asset not in .ZIP file. - * - * Generated from protobuf enum INVALID_URL_REFERENCE = 7; - */ - const INVALID_URL_REFERENCE = 7; - /** - * The media bundle contains no primary entry. - * - * Generated from protobuf enum MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 8; - */ - const MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 8; - /** - * Animation has disallowed visual effects. - * - * Generated from protobuf enum ANIMATED_VISUAL_EFFECT = 9; - */ - const ANIMATED_VISUAL_EFFECT = 9; - /** - * Animation longer than the allowed 30 second limit. - * - * Generated from protobuf enum ANIMATION_TOO_LONG = 10; - */ - const ANIMATION_TOO_LONG = 10; - /** - * The aspect ratio of the image does not match the expected aspect ratios - * provided in the asset spec. - * - * Generated from protobuf enum ASPECT_RATIO_NOT_ALLOWED = 11; - */ - const ASPECT_RATIO_NOT_ALLOWED = 11; - /** - * Audio files are not allowed in bundle. - * - * Generated from protobuf enum AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 12; - */ - const AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 12; - /** - * CMYK jpegs are not supported. - * - * Generated from protobuf enum CMYK_JPEG_NOT_ALLOWED = 13; - */ - const CMYK_JPEG_NOT_ALLOWED = 13; - /** - * Flash movies are not allowed. - * - * Generated from protobuf enum FLASH_NOT_ALLOWED = 14; - */ - const FLASH_NOT_ALLOWED = 14; - /** - * The frame rate of the video is higher than the allowed 5fps. - * - * Generated from protobuf enum FRAME_RATE_TOO_HIGH = 15; - */ - const FRAME_RATE_TOO_HIGH = 15; - /** - * ZIP file from Google Web Designer is not published. - * - * Generated from protobuf enum GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 16; - */ - const GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 16; - /** - * Image constraints are violated, but more details (like - * DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. - * This happens when asset spec contains more than one constraint and - * criteria of different constraints are violated. - * - * Generated from protobuf enum IMAGE_CONSTRAINTS_VIOLATED = 17; - */ - const IMAGE_CONSTRAINTS_VIOLATED = 17; - /** - * Media bundle data is unrecognizable. - * - * Generated from protobuf enum INVALID_MEDIA_BUNDLE = 18; - */ - const INVALID_MEDIA_BUNDLE = 18; - /** - * There was a problem with one or more of the media bundle entries. - * - * Generated from protobuf enum INVALID_MEDIA_BUNDLE_ENTRY = 19; - */ - const INVALID_MEDIA_BUNDLE_ENTRY = 19; - /** - * The asset has an invalid mime type. - * - * Generated from protobuf enum INVALID_MIME_TYPE = 20; - */ - const INVALID_MIME_TYPE = 20; - /** - * The media bundle contains an invalid asset path. - * - * Generated from protobuf enum INVALID_PATH = 21; - */ - const INVALID_PATH = 21; - /** - * Image has layout problem. - * - * Generated from protobuf enum LAYOUT_PROBLEM = 22; - */ - const LAYOUT_PROBLEM = 22; - /** - * An asset had a URL reference that is malformed per RFC 1738 convention. - * - * Generated from protobuf enum MALFORMED_URL = 23; - */ - const MALFORMED_URL = 23; - /** - * The uploaded media bundle format is not allowed. - * - * Generated from protobuf enum MEDIA_BUNDLE_NOT_ALLOWED = 24; - */ - const MEDIA_BUNDLE_NOT_ALLOWED = 24; - /** - * The media bundle is not compatible with the asset spec product type. - * (For example, Gmail, dynamic remarketing, etc.) - * - * Generated from protobuf enum MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE = 25; - */ - const MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE = 25; - /** - * A bundle being uploaded that is incompatible with multiple assets for - * different reasons. - * - * Generated from protobuf enum MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS = 26; - */ - const MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS = 26; - /** - * The media bundle contains too many files. - * - * Generated from protobuf enum TOO_MANY_FILES_IN_MEDIA_BUNDLE = 27; - */ - const TOO_MANY_FILES_IN_MEDIA_BUNDLE = 27; - /** - * Google Web Designer not created for "Google Ads" environment. - * - * Generated from protobuf enum UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 28; - */ - const UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 28; - /** - * Unsupported HTML5 feature in HTML5 asset. - * - * Generated from protobuf enum UNSUPPORTED_HTML5_FEATURE = 29; - */ - const UNSUPPORTED_HTML5_FEATURE = 29; - /** - * URL in HTML5 entry is not SSL compliant. - * - * Generated from protobuf enum URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 30; - */ - const URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 30; - /** - * Video file name is longer than the 50 allowed characters. - * - * Generated from protobuf enum VIDEO_FILE_NAME_TOO_LONG = 31; - */ - const VIDEO_FILE_NAME_TOO_LONG = 31; - /** - * Multiple videos with same name in a bundle. - * - * Generated from protobuf enum VIDEO_MULTIPLE_FILES_WITH_SAME_NAME = 32; - */ - const VIDEO_MULTIPLE_FILES_WITH_SAME_NAME = 32; - /** - * Videos are not allowed in media bundle. - * - * Generated from protobuf enum VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 33; - */ - const VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 33; - /** - * This type of media cannot be uploaded through the Google Ads API. - * - * Generated from protobuf enum CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34; - */ - const CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34; - /** - * The dimensions of the image are not allowed. - * - * Generated from protobuf enum DIMENSIONS_NOT_ALLOWED = 35; - */ - const DIMENSIONS_NOT_ALLOWED = 35; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FILE_TOO_BIG => 'FILE_TOO_BIG', - self::UNPARSEABLE_IMAGE => 'UNPARSEABLE_IMAGE', - self::ANIMATED_IMAGE_NOT_ALLOWED => 'ANIMATED_IMAGE_NOT_ALLOWED', - self::FORMAT_NOT_ALLOWED => 'FORMAT_NOT_ALLOWED', - self::EXTERNAL_URL_NOT_ALLOWED => 'EXTERNAL_URL_NOT_ALLOWED', - self::INVALID_URL_REFERENCE => 'INVALID_URL_REFERENCE', - self::MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY => 'MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY', - self::ANIMATED_VISUAL_EFFECT => 'ANIMATED_VISUAL_EFFECT', - self::ANIMATION_TOO_LONG => 'ANIMATION_TOO_LONG', - self::ASPECT_RATIO_NOT_ALLOWED => 'ASPECT_RATIO_NOT_ALLOWED', - self::AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE => 'AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE', - self::CMYK_JPEG_NOT_ALLOWED => 'CMYK_JPEG_NOT_ALLOWED', - self::FLASH_NOT_ALLOWED => 'FLASH_NOT_ALLOWED', - self::FRAME_RATE_TOO_HIGH => 'FRAME_RATE_TOO_HIGH', - self::GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED => 'GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED', - self::IMAGE_CONSTRAINTS_VIOLATED => 'IMAGE_CONSTRAINTS_VIOLATED', - self::INVALID_MEDIA_BUNDLE => 'INVALID_MEDIA_BUNDLE', - self::INVALID_MEDIA_BUNDLE_ENTRY => 'INVALID_MEDIA_BUNDLE_ENTRY', - self::INVALID_MIME_TYPE => 'INVALID_MIME_TYPE', - self::INVALID_PATH => 'INVALID_PATH', - self::LAYOUT_PROBLEM => 'LAYOUT_PROBLEM', - self::MALFORMED_URL => 'MALFORMED_URL', - self::MEDIA_BUNDLE_NOT_ALLOWED => 'MEDIA_BUNDLE_NOT_ALLOWED', - self::MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE => 'MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE', - self::MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS => 'MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS', - self::TOO_MANY_FILES_IN_MEDIA_BUNDLE => 'TOO_MANY_FILES_IN_MEDIA_BUNDLE', - self::UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT => 'UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT', - self::UNSUPPORTED_HTML5_FEATURE => 'UNSUPPORTED_HTML5_FEATURE', - self::URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT => 'URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT', - self::VIDEO_FILE_NAME_TOO_LONG => 'VIDEO_FILE_NAME_TOO_LONG', - self::VIDEO_MULTIPLE_FILES_WITH_SAME_NAME => 'VIDEO_MULTIPLE_FILES_WITH_SAME_NAME', - self::VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE => 'VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE', - self::CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API => 'CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API', - self::DIMENSIONS_NOT_ALLOWED => 'DIMENSIONS_NOT_ALLOWED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MediaUploadError::class, \Google\Ads\GoogleAds\V15\Errors\MediaUploadErrorEnum_MediaUploadError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MerchantCenterErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/MerchantCenterErrorEnum.php deleted file mode 100644 index 3dc27d7ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MerchantCenterErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.MerchantCenterErrorEnum - */ -class MerchantCenterErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\MerchantCenterError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MerchantCenterErrorEnum/MerchantCenterError.php b/src/Google/Ads/GoogleAds/V15/Errors/MerchantCenterErrorEnum/MerchantCenterError.php deleted file mode 100644 index 0d10feb9f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MerchantCenterErrorEnum/MerchantCenterError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.MerchantCenterErrorEnum.MerchantCenterError - */ -class MerchantCenterError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Merchant ID is either not found or not linked to the Google Ads customer. - * - * Generated from protobuf enum MERCHANT_ID_CANNOT_BE_ACCESSED = 2; - */ - const MERCHANT_ID_CANNOT_BE_ACCESSED = 2; - /** - * Customer not allowlisted for Shopping in Performance Max Campaign. - * - * Generated from protobuf enum CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX = 3; - */ - const CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MERCHANT_ID_CANNOT_BE_ACCESSED => 'MERCHANT_ID_CANNOT_BE_ACCESSED', - self::CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX => 'CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MerchantCenterError::class, \Google\Ads\GoogleAds\V15\Errors\MerchantCenterErrorEnum_MerchantCenterError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MultiplierErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/MultiplierErrorEnum.php deleted file mode 100644 index 8f91782bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MultiplierErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.MultiplierErrorEnum - */ -class MultiplierErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\MultiplierError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MultiplierErrorEnum/MultiplierError.php b/src/Google/Ads/GoogleAds/V15/Errors/MultiplierErrorEnum/MultiplierError.php deleted file mode 100644 index 95629e4de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MultiplierErrorEnum/MultiplierError.php +++ /dev/null @@ -1,143 +0,0 @@ -google.ads.googleads.v15.errors.MultiplierErrorEnum.MultiplierError - */ -class MultiplierError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Multiplier value is too high - * - * Generated from protobuf enum MULTIPLIER_TOO_HIGH = 2; - */ - const MULTIPLIER_TOO_HIGH = 2; - /** - * Multiplier value is too low - * - * Generated from protobuf enum MULTIPLIER_TOO_LOW = 3; - */ - const MULTIPLIER_TOO_LOW = 3; - /** - * Too many fractional digits - * - * Generated from protobuf enum TOO_MANY_FRACTIONAL_DIGITS = 4; - */ - const TOO_MANY_FRACTIONAL_DIGITS = 4; - /** - * A multiplier cannot be set for this bidding strategy - * - * Generated from protobuf enum MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY = 5; - */ - const MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY = 5; - /** - * A multiplier cannot be set when there is no base bid (for example, - * content max cpc) - * - * Generated from protobuf enum MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING = 6; - */ - const MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING = 6; - /** - * A bid multiplier must be specified - * - * Generated from protobuf enum NO_MULTIPLIER_SPECIFIED = 7; - */ - const NO_MULTIPLIER_SPECIFIED = 7; - /** - * Multiplier causes bid to exceed daily budget - * - * Generated from protobuf enum MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET = 8; - */ - const MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET = 8; - /** - * Multiplier causes bid to exceed monthly budget - * - * Generated from protobuf enum MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET = 9; - */ - const MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET = 9; - /** - * Multiplier causes bid to exceed custom budget - * - * Generated from protobuf enum MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET = 10; - */ - const MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET = 10; - /** - * Multiplier causes bid to exceed maximum allowed bid - * - * Generated from protobuf enum MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID = 11; - */ - const MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID = 11; - /** - * Multiplier causes bid to become less than the minimum bid allowed - * - * Generated from protobuf enum BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12; - */ - const BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12; - /** - * Multiplier type (cpc versus cpm) needs to match campaign's bidding - * strategy - * - * Generated from protobuf enum MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13; - */ - const MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::MULTIPLIER_TOO_HIGH => 'MULTIPLIER_TOO_HIGH', - self::MULTIPLIER_TOO_LOW => 'MULTIPLIER_TOO_LOW', - self::TOO_MANY_FRACTIONAL_DIGITS => 'TOO_MANY_FRACTIONAL_DIGITS', - self::MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY => 'MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY', - self::MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING => 'MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING', - self::NO_MULTIPLIER_SPECIFIED => 'NO_MULTIPLIER_SPECIFIED', - self::MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET => 'MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET', - self::MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET => 'MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET', - self::MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET => 'MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET', - self::MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID => 'MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID', - self::BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER => 'BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER', - self::MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH => 'MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MultiplierError::class, \Google\Ads\GoogleAds\V15\Errors\MultiplierErrorEnum_MultiplierError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MutateErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/MutateErrorEnum.php deleted file mode 100644 index d13a9525a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MutateErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.MutateErrorEnum - */ -class MutateErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\MutateError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/MutateErrorEnum/MutateError.php b/src/Google/Ads/GoogleAds/V15/Errors/MutateErrorEnum/MutateError.php deleted file mode 100644 index a8a560ded..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/MutateErrorEnum/MutateError.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.errors.MutateErrorEnum.MutateError - */ -class MutateError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Requested resource was not found. - * - * Generated from protobuf enum RESOURCE_NOT_FOUND = 3; - */ - const RESOURCE_NOT_FOUND = 3; - /** - * Cannot mutate the same resource twice in one request. - * - * Generated from protobuf enum ID_EXISTS_IN_MULTIPLE_MUTATES = 7; - */ - const ID_EXISTS_IN_MULTIPLE_MUTATES = 7; - /** - * The field's contents don't match another field that represents the same - * data. - * - * Generated from protobuf enum INCONSISTENT_FIELD_VALUES = 8; - */ - const INCONSISTENT_FIELD_VALUES = 8; - /** - * Mutates are not allowed for the requested resource. - * - * Generated from protobuf enum MUTATE_NOT_ALLOWED = 9; - */ - const MUTATE_NOT_ALLOWED = 9; - /** - * The resource isn't in Google Ads. It belongs to another ads system. - * - * Generated from protobuf enum RESOURCE_NOT_IN_GOOGLE_ADS = 10; - */ - const RESOURCE_NOT_IN_GOOGLE_ADS = 10; - /** - * The resource being created already exists. - * - * Generated from protobuf enum RESOURCE_ALREADY_EXISTS = 11; - */ - const RESOURCE_ALREADY_EXISTS = 11; - /** - * This resource cannot be used with "validate_only". - * - * Generated from protobuf enum RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12; - */ - const RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12; - /** - * This operation cannot be used with "partial_failure". - * - * Generated from protobuf enum OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16; - */ - const OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16; - /** - * Attempt to write to read-only fields. - * - * Generated from protobuf enum RESOURCE_READ_ONLY = 13; - */ - const RESOURCE_READ_ONLY = 13; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::RESOURCE_NOT_FOUND => 'RESOURCE_NOT_FOUND', - self::ID_EXISTS_IN_MULTIPLE_MUTATES => 'ID_EXISTS_IN_MULTIPLE_MUTATES', - self::INCONSISTENT_FIELD_VALUES => 'INCONSISTENT_FIELD_VALUES', - self::MUTATE_NOT_ALLOWED => 'MUTATE_NOT_ALLOWED', - self::RESOURCE_NOT_IN_GOOGLE_ADS => 'RESOURCE_NOT_IN_GOOGLE_ADS', - self::RESOURCE_ALREADY_EXISTS => 'RESOURCE_ALREADY_EXISTS', - self::RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY => 'RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY', - self::OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE => 'OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE', - self::RESOURCE_READ_ONLY => 'RESOURCE_READ_ONLY', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MutateError::class, \Google\Ads\GoogleAds\V15\Errors\MutateErrorEnum_MutateError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationErrorEnum.php deleted file mode 100644 index 5b57c76a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.NewResourceCreationErrorEnum - */ -class NewResourceCreationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\NewResourceCreationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationErrorEnum/NewResourceCreationError.php b/src/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationErrorEnum/NewResourceCreationError.php deleted file mode 100644 index f698ce1ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/NewResourceCreationErrorEnum/NewResourceCreationError.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.errors.NewResourceCreationErrorEnum.NewResourceCreationError - */ -class NewResourceCreationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Do not set the id field while creating new resources. - * - * Generated from protobuf enum CANNOT_SET_ID_FOR_CREATE = 2; - */ - const CANNOT_SET_ID_FOR_CREATE = 2; - /** - * Creating more than one resource with the same temp ID is not allowed. - * - * Generated from protobuf enum DUPLICATE_TEMP_IDS = 3; - */ - const DUPLICATE_TEMP_IDS = 3; - /** - * Parent resource with specified temp ID failed validation, so no - * validation will be done for this child resource. - * - * Generated from protobuf enum TEMP_ID_RESOURCE_HAD_ERRORS = 4; - */ - const TEMP_ID_RESOURCE_HAD_ERRORS = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CANNOT_SET_ID_FOR_CREATE => 'CANNOT_SET_ID_FOR_CREATE', - self::DUPLICATE_TEMP_IDS => 'DUPLICATE_TEMP_IDS', - self::TEMP_ID_RESOURCE_HAD_ERRORS => 'TEMP_ID_RESOURCE_HAD_ERRORS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NewResourceCreationError::class, \Google\Ads\GoogleAds\V15\Errors\NewResourceCreationErrorEnum_NewResourceCreationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedErrorEnum.php deleted file mode 100644 index f1f63276d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.NotAllowlistedErrorEnum - */ -class NotAllowlistedErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\NotAllowlistedError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedErrorEnum/NotAllowlistedError.php b/src/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedErrorEnum/NotAllowlistedError.php deleted file mode 100644 index a22c81c96..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/NotAllowlistedErrorEnum/NotAllowlistedError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.NotAllowlistedErrorEnum.NotAllowlistedError - */ -class NotAllowlistedError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Customer is not allowlisted for accessing this feature. - * - * Generated from protobuf enum CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE = 2; - */ - const CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE => 'CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NotAllowlistedError::class, \Google\Ads\GoogleAds\V15\Errors\NotAllowlistedErrorEnum_NotAllowlistedError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/NotEmptyErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/NotEmptyErrorEnum.php deleted file mode 100644 index 39a119cf6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/NotEmptyErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.NotEmptyErrorEnum - */ -class NotEmptyErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\NotEmptyError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/NotEmptyErrorEnum/NotEmptyError.php b/src/Google/Ads/GoogleAds/V15/Errors/NotEmptyErrorEnum/NotEmptyError.php deleted file mode 100644 index 0f2aaae11..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/NotEmptyErrorEnum/NotEmptyError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.NotEmptyErrorEnum.NotEmptyError - */ -class NotEmptyError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Empty list. - * - * Generated from protobuf enum EMPTY_LIST = 2; - */ - const EMPTY_LIST = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EMPTY_LIST => 'EMPTY_LIST', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NotEmptyError::class, \Google\Ads\GoogleAds\V15\Errors\NotEmptyErrorEnum_NotEmptyError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/NullErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/NullErrorEnum.php deleted file mode 100644 index 0751f250a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/NullErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.NullErrorEnum - */ -class NullErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\NullError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/NullErrorEnum/NullError.php b/src/Google/Ads/GoogleAds/V15/Errors/NullErrorEnum/NullError.php deleted file mode 100644 index 260f7c339..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/NullErrorEnum/NullError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.NullErrorEnum.NullError - */ -class NullError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Specified list/container must not contain any null elements - * - * Generated from protobuf enum NULL_CONTENT = 2; - */ - const NULL_CONTENT = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NULL_CONTENT => 'NULL_CONTENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NullError::class, \Google\Ads\GoogleAds\V15\Errors\NullErrorEnum_NullError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobErrorEnum.php deleted file mode 100644 index be593bc95..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.OfflineUserDataJobErrorEnum - */ -class OfflineUserDataJobErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\OfflineUserDataJobError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobErrorEnum/OfflineUserDataJobError.php b/src/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobErrorEnum/OfflineUserDataJobError.php deleted file mode 100644 index bed342c66..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/OfflineUserDataJobErrorEnum/OfflineUserDataJobError.php +++ /dev/null @@ -1,340 +0,0 @@ -google.ads.googleads.v15.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobError - */ -class OfflineUserDataJobError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The user list ID provided for the job is invalid. - * - * Generated from protobuf enum INVALID_USER_LIST_ID = 3; - */ - const INVALID_USER_LIST_ID = 3; - /** - * Type of the user list is not applicable for the job. - * - * Generated from protobuf enum INVALID_USER_LIST_TYPE = 4; - */ - const INVALID_USER_LIST_TYPE = 4; - /** - * Customer is not allowisted for using user ID in upload data. - * - * Generated from protobuf enum NOT_ON_ALLOWLIST_FOR_USER_ID = 33; - */ - const NOT_ON_ALLOWLIST_FOR_USER_ID = 33; - /** - * Upload data is not compatible with the upload key type of the associated - * user list. - * - * Generated from protobuf enum INCOMPATIBLE_UPLOAD_KEY_TYPE = 6; - */ - const INCOMPATIBLE_UPLOAD_KEY_TYPE = 6; - /** - * The user identifier is missing valid data. - * - * Generated from protobuf enum MISSING_USER_IDENTIFIER = 7; - */ - const MISSING_USER_IDENTIFIER = 7; - /** - * The mobile ID is malformed. - * - * Generated from protobuf enum INVALID_MOBILE_ID_FORMAT = 8; - */ - const INVALID_MOBILE_ID_FORMAT = 8; - /** - * Maximum number of user identifiers allowed per request is 100,000 and per - * operation is 20. - * - * Generated from protobuf enum TOO_MANY_USER_IDENTIFIERS = 9; - */ - const TOO_MANY_USER_IDENTIFIERS = 9; - /** - * Customer is not on the allow-list for store sales direct data. - * - * Generated from protobuf enum NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT = 31; - */ - const NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT = 31; - /** - * Customer is not on the allow-list for unified store sales data. - * - * Generated from protobuf enum NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES = 32; - */ - const NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES = 32; - /** - * The partner ID in store sales direct metadata is invalid. - * - * Generated from protobuf enum INVALID_PARTNER_ID = 11; - */ - const INVALID_PARTNER_ID = 11; - /** - * The data in user identifier should not be encoded. - * - * Generated from protobuf enum INVALID_ENCODING = 12; - */ - const INVALID_ENCODING = 12; - /** - * The country code is invalid. - * - * Generated from protobuf enum INVALID_COUNTRY_CODE = 13; - */ - const INVALID_COUNTRY_CODE = 13; - /** - * Incompatible user identifier when using third_party_user_id for store - * sales direct first party data or not using third_party_user_id for store - * sales third party data. - * - * Generated from protobuf enum INCOMPATIBLE_USER_IDENTIFIER = 14; - */ - const INCOMPATIBLE_USER_IDENTIFIER = 14; - /** - * A transaction time in the future is not allowed. - * - * Generated from protobuf enum FUTURE_TRANSACTION_TIME = 15; - */ - const FUTURE_TRANSACTION_TIME = 15; - /** - * The conversion_action specified in transaction_attributes is used to - * report conversions to a conversion action configured in Google Ads. This - * error indicates there is no such conversion action in the account. - * - * Generated from protobuf enum INVALID_CONVERSION_ACTION = 16; - */ - const INVALID_CONVERSION_ACTION = 16; - /** - * Mobile ID is not supported for store sales direct data. - * - * Generated from protobuf enum MOBILE_ID_NOT_SUPPORTED = 17; - */ - const MOBILE_ID_NOT_SUPPORTED = 17; - /** - * When a remove-all operation is provided, it has to be the first operation - * of the operation list. - * - * Generated from protobuf enum INVALID_OPERATION_ORDER = 18; - */ - const INVALID_OPERATION_ORDER = 18; - /** - * Mixing creation and removal of offline data in the same job is not - * allowed. - * - * Generated from protobuf enum CONFLICTING_OPERATION = 19; - */ - const CONFLICTING_OPERATION = 19; - /** - * The external update ID already exists. - * - * Generated from protobuf enum EXTERNAL_UPDATE_ID_ALREADY_EXISTS = 21; - */ - const EXTERNAL_UPDATE_ID_ALREADY_EXISTS = 21; - /** - * Once the upload job is started, new operations cannot be added. - * - * Generated from protobuf enum JOB_ALREADY_STARTED = 22; - */ - const JOB_ALREADY_STARTED = 22; - /** - * Remove operation is not allowed for store sales direct updates. - * - * Generated from protobuf enum REMOVE_NOT_SUPPORTED = 23; - */ - const REMOVE_NOT_SUPPORTED = 23; - /** - * Remove-all is not supported for certain offline user data job types. - * - * Generated from protobuf enum REMOVE_ALL_NOT_SUPPORTED = 24; - */ - const REMOVE_ALL_NOT_SUPPORTED = 24; - /** - * The SHA256 encoded value is malformed. - * - * Generated from protobuf enum INVALID_SHA256_FORMAT = 25; - */ - const INVALID_SHA256_FORMAT = 25; - /** - * The custom key specified is not enabled for the unified store sales - * upload. - * - * Generated from protobuf enum CUSTOM_KEY_DISABLED = 26; - */ - const CUSTOM_KEY_DISABLED = 26; - /** - * The custom key specified is not predefined through the Google Ads UI. - * - * Generated from protobuf enum CUSTOM_KEY_NOT_PREDEFINED = 27; - */ - const CUSTOM_KEY_NOT_PREDEFINED = 27; - /** - * The custom key specified is not set in the upload. - * - * Generated from protobuf enum CUSTOM_KEY_NOT_SET = 29; - */ - const CUSTOM_KEY_NOT_SET = 29; - /** - * The customer has not accepted the customer data terms in the conversion - * settings page. - * - * Generated from protobuf enum CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 30; - */ - const CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 30; - /** - * User attributes cannot be uploaded into a user list. - * - * Generated from protobuf enum ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST = 34; - */ - const ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST = 34; - /** - * Lifetime bucket value must be a number from 0 to 10; 0 is only accepted - * for remove operations - * - * Generated from protobuf enum LIFETIME_VALUE_BUCKET_NOT_IN_RANGE = 35; - */ - const LIFETIME_VALUE_BUCKET_NOT_IN_RANGE = 35; - /** - * Identifiers not supported for Customer Match attributes. User attributes - * can only be provided with contact info (email, phone, address) user - * identifiers. - * - * Generated from protobuf enum INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES = 36; - */ - const INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES = 36; - /** - * A time in the future is not allowed. - * - * Generated from protobuf enum FUTURE_TIME_NOT_ALLOWED = 37; - */ - const FUTURE_TIME_NOT_ALLOWED = 37; - /** - * Last purchase date time cannot be less than acquisition date time. - * - * Generated from protobuf enum LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME = 38; - */ - const LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME = 38; - /** - * Only emails are accepted as user identifiers for shopping loyalty match. - * {-- api.dev/not-precedent: The identifier is not limited to ids, but - * also include other user info eg. phone numbers.} - * - * Generated from protobuf enum CUSTOMER_IDENTIFIER_NOT_ALLOWED = 39; - */ - const CUSTOMER_IDENTIFIER_NOT_ALLOWED = 39; - /** - * Provided item ID is invalid. - * - * Generated from protobuf enum INVALID_ITEM_ID = 40; - */ - const INVALID_ITEM_ID = 40; - /** - * First purchase date time cannot be greater than the last purchase date - * time. - * - * Generated from protobuf enum FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME = 42; - */ - const FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME = 42; - /** - * Provided lifecycle stage is invalid. - * - * Generated from protobuf enum INVALID_LIFECYCLE_STAGE = 43; - */ - const INVALID_LIFECYCLE_STAGE = 43; - /** - * The event value of the Customer Match user attribute is invalid. - * - * Generated from protobuf enum INVALID_EVENT_VALUE = 44; - */ - const INVALID_EVENT_VALUE = 44; - /** - * All the fields are not present in the EventAttribute of the Customer - * Match. - * - * Generated from protobuf enum EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45; - */ - const EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_USER_LIST_ID => 'INVALID_USER_LIST_ID', - self::INVALID_USER_LIST_TYPE => 'INVALID_USER_LIST_TYPE', - self::NOT_ON_ALLOWLIST_FOR_USER_ID => 'NOT_ON_ALLOWLIST_FOR_USER_ID', - self::INCOMPATIBLE_UPLOAD_KEY_TYPE => 'INCOMPATIBLE_UPLOAD_KEY_TYPE', - self::MISSING_USER_IDENTIFIER => 'MISSING_USER_IDENTIFIER', - self::INVALID_MOBILE_ID_FORMAT => 'INVALID_MOBILE_ID_FORMAT', - self::TOO_MANY_USER_IDENTIFIERS => 'TOO_MANY_USER_IDENTIFIERS', - self::NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT => 'NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT', - self::NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES => 'NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES', - self::INVALID_PARTNER_ID => 'INVALID_PARTNER_ID', - self::INVALID_ENCODING => 'INVALID_ENCODING', - self::INVALID_COUNTRY_CODE => 'INVALID_COUNTRY_CODE', - self::INCOMPATIBLE_USER_IDENTIFIER => 'INCOMPATIBLE_USER_IDENTIFIER', - self::FUTURE_TRANSACTION_TIME => 'FUTURE_TRANSACTION_TIME', - self::INVALID_CONVERSION_ACTION => 'INVALID_CONVERSION_ACTION', - self::MOBILE_ID_NOT_SUPPORTED => 'MOBILE_ID_NOT_SUPPORTED', - self::INVALID_OPERATION_ORDER => 'INVALID_OPERATION_ORDER', - self::CONFLICTING_OPERATION => 'CONFLICTING_OPERATION', - self::EXTERNAL_UPDATE_ID_ALREADY_EXISTS => 'EXTERNAL_UPDATE_ID_ALREADY_EXISTS', - self::JOB_ALREADY_STARTED => 'JOB_ALREADY_STARTED', - self::REMOVE_NOT_SUPPORTED => 'REMOVE_NOT_SUPPORTED', - self::REMOVE_ALL_NOT_SUPPORTED => 'REMOVE_ALL_NOT_SUPPORTED', - self::INVALID_SHA256_FORMAT => 'INVALID_SHA256_FORMAT', - self::CUSTOM_KEY_DISABLED => 'CUSTOM_KEY_DISABLED', - self::CUSTOM_KEY_NOT_PREDEFINED => 'CUSTOM_KEY_NOT_PREDEFINED', - self::CUSTOM_KEY_NOT_SET => 'CUSTOM_KEY_NOT_SET', - self::CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS => 'CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS', - self::ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST => 'ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST', - self::LIFETIME_VALUE_BUCKET_NOT_IN_RANGE => 'LIFETIME_VALUE_BUCKET_NOT_IN_RANGE', - self::INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES => 'INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES', - self::FUTURE_TIME_NOT_ALLOWED => 'FUTURE_TIME_NOT_ALLOWED', - self::LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME => 'LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME', - self::CUSTOMER_IDENTIFIER_NOT_ALLOWED => 'CUSTOMER_IDENTIFIER_NOT_ALLOWED', - self::INVALID_ITEM_ID => 'INVALID_ITEM_ID', - self::FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME => 'FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME', - self::INVALID_LIFECYCLE_STAGE => 'INVALID_LIFECYCLE_STAGE', - self::INVALID_EVENT_VALUE => 'INVALID_EVENT_VALUE', - self::EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED => 'EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OfflineUserDataJobError::class, \Google\Ads\GoogleAds\V15\Errors\OfflineUserDataJobErrorEnum_OfflineUserDataJobError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedErrorEnum.php deleted file mode 100644 index d8890b1e7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.OperationAccessDeniedErrorEnum - */ -class OperationAccessDeniedErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\OperationAccessDeniedError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedErrorEnum/OperationAccessDeniedError.php b/src/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedErrorEnum/OperationAccessDeniedError.php deleted file mode 100644 index 44f228ea6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/OperationAccessDeniedErrorEnum/OperationAccessDeniedError.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError - */ -class OperationAccessDeniedError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Unauthorized invocation of a service's method (get, mutate, etc.) - * - * Generated from protobuf enum ACTION_NOT_PERMITTED = 2; - */ - const ACTION_NOT_PERMITTED = 2; - /** - * Unauthorized CREATE operation in invoking a service's mutate method. - * - * Generated from protobuf enum CREATE_OPERATION_NOT_PERMITTED = 3; - */ - const CREATE_OPERATION_NOT_PERMITTED = 3; - /** - * Unauthorized REMOVE operation in invoking a service's mutate method. - * - * Generated from protobuf enum REMOVE_OPERATION_NOT_PERMITTED = 4; - */ - const REMOVE_OPERATION_NOT_PERMITTED = 4; - /** - * Unauthorized UPDATE operation in invoking a service's mutate method. - * - * Generated from protobuf enum UPDATE_OPERATION_NOT_PERMITTED = 5; - */ - const UPDATE_OPERATION_NOT_PERMITTED = 5; - /** - * A mutate action is not allowed on this resource, from this client. - * - * Generated from protobuf enum MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6; - */ - const MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6; - /** - * This operation is not permitted on this campaign type - * - * Generated from protobuf enum OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7; - */ - const OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7; - /** - * A CREATE operation may not set status to REMOVED. - * - * Generated from protobuf enum CREATE_AS_REMOVED_NOT_PERMITTED = 8; - */ - const CREATE_AS_REMOVED_NOT_PERMITTED = 8; - /** - * This operation is not allowed because the resource is removed. - * - * Generated from protobuf enum OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9; - */ - const OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9; - /** - * This operation is not permitted on this ad group type. - * - * Generated from protobuf enum OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10; - */ - const OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10; - /** - * The mutate is not allowed for this customer. - * - * Generated from protobuf enum MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11; - */ - const MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ACTION_NOT_PERMITTED => 'ACTION_NOT_PERMITTED', - self::CREATE_OPERATION_NOT_PERMITTED => 'CREATE_OPERATION_NOT_PERMITTED', - self::REMOVE_OPERATION_NOT_PERMITTED => 'REMOVE_OPERATION_NOT_PERMITTED', - self::UPDATE_OPERATION_NOT_PERMITTED => 'UPDATE_OPERATION_NOT_PERMITTED', - self::MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT => 'MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT', - self::OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE => 'OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE', - self::CREATE_AS_REMOVED_NOT_PERMITTED => 'CREATE_AS_REMOVED_NOT_PERMITTED', - self::OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE => 'OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE', - self::OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE => 'OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE', - self::MUTATE_NOT_PERMITTED_FOR_CUSTOMER => 'MUTATE_NOT_PERMITTED_FOR_CUSTOMER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OperationAccessDeniedError::class, \Google\Ads\GoogleAds\V15\Errors\OperationAccessDeniedErrorEnum_OperationAccessDeniedError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/OperatorErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/OperatorErrorEnum.php deleted file mode 100644 index d6c1027d2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/OperatorErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.OperatorErrorEnum - */ -class OperatorErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\OperatorError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/OperatorErrorEnum/OperatorError.php b/src/Google/Ads/GoogleAds/V15/Errors/OperatorErrorEnum/OperatorError.php deleted file mode 100644 index 4caeed74c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/OperatorErrorEnum/OperatorError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.OperatorErrorEnum.OperatorError - */ -class OperatorError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Operator not supported. - * - * Generated from protobuf enum OPERATOR_NOT_SUPPORTED = 2; - */ - const OPERATOR_NOT_SUPPORTED = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPERATOR_NOT_SUPPORTED => 'OPERATOR_NOT_SUPPORTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OperatorError::class, \Google\Ads\GoogleAds\V15\Errors\OperatorErrorEnum_OperatorError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PartialFailureErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/PartialFailureErrorEnum.php deleted file mode 100644 index 6139295d5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PartialFailureErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.PartialFailureErrorEnum - */ -class PartialFailureErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\PartialFailureError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PartialFailureErrorEnum/PartialFailureError.php b/src/Google/Ads/GoogleAds/V15/Errors/PartialFailureErrorEnum/PartialFailureError.php deleted file mode 100644 index 80eb0a4f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PartialFailureErrorEnum/PartialFailureError.php +++ /dev/null @@ -1,65 +0,0 @@ -google.ads.googleads.v15.errors.PartialFailureErrorEnum.PartialFailureError - */ -class PartialFailureError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The partial failure field was false in the request. - * This method requires this field be set to true. - * - * Generated from protobuf enum PARTIAL_FAILURE_MODE_REQUIRED = 2; - */ - const PARTIAL_FAILURE_MODE_REQUIRED = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PARTIAL_FAILURE_MODE_REQUIRED => 'PARTIAL_FAILURE_MODE_REQUIRED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PartialFailureError::class, \Google\Ads\GoogleAds\V15\Errors\PartialFailureErrorEnum_PartialFailureError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountErrorEnum.php deleted file mode 100644 index 946dade72..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.PaymentsAccountErrorEnum - */ -class PaymentsAccountErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\PaymentsAccountError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountErrorEnum/PaymentsAccountError.php b/src/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountErrorEnum/PaymentsAccountError.php deleted file mode 100644 index 62c82eade..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PaymentsAccountErrorEnum/PaymentsAccountError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.PaymentsAccountErrorEnum.PaymentsAccountError - */ -class PaymentsAccountError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Manager customers are not supported for payments account service. - * - * Generated from protobuf enum NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2; - */ - const NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NOT_SUPPORTED_FOR_MANAGER_CUSTOMER => 'NOT_SUPPORTED_FOR_MANAGER_CUSTOMER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PaymentsAccountError::class, \Google\Ads\GoogleAds\V15\Errors\PaymentsAccountErrorEnum_PaymentsAccountError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingDetails.php b/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingDetails.php deleted file mode 100644 index 7c30996ce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingDetails.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.errors.PolicyFindingDetails - */ -class PolicyFindingDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The list of policy topics for the resource. Contains the PROHIBITED or - * FULLY_LIMITED policy topic entries that prevented the resource from being - * saved (among any other entries the resource may also have). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - */ - private $policy_topic_entries; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $policy_topic_entries - * The list of policy topics for the resource. Contains the PROHIBITED or - * FULLY_LIMITED policy topic entries that prevented the resource from being - * saved (among any other entries the resource may also have). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * The list of policy topics for the resource. Contains the PROHIBITED or - * FULLY_LIMITED policy topic entries that prevented the resource from being - * saved (among any other entries the resource may also have). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPolicyTopicEntries() - { - return $this->policy_topic_entries; - } - - /** - * The list of policy topics for the resource. Contains the PROHIBITED or - * FULLY_LIMITED policy topic entries that prevented the resource from being - * saved (among any other entries the resource may also have). - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPolicyTopicEntries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry::class); - $this->policy_topic_entries = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingErrorEnum.php deleted file mode 100644 index 39f555546..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.PolicyFindingErrorEnum - */ -class PolicyFindingErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\PolicyFindingError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingErrorEnum/PolicyFindingError.php b/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingErrorEnum/PolicyFindingError.php deleted file mode 100644 index 6214eb1fb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PolicyFindingErrorEnum/PolicyFindingError.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.errors.PolicyFindingErrorEnum.PolicyFindingError - */ -class PolicyFindingError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The resource has been disapproved since the policy summary includes - * policy topics of type PROHIBITED. - * - * Generated from protobuf enum POLICY_FINDING = 2; - */ - const POLICY_FINDING = 2; - /** - * The given policy topic does not exist. - * - * Generated from protobuf enum POLICY_TOPIC_NOT_FOUND = 3; - */ - const POLICY_TOPIC_NOT_FOUND = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::POLICY_FINDING => 'POLICY_FINDING', - self::POLICY_TOPIC_NOT_FOUND => 'POLICY_TOPIC_NOT_FOUND', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyFindingError::class, \Google\Ads\GoogleAds\V15\Errors\PolicyFindingErrorEnum_PolicyFindingError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterErrorEnum.php deleted file mode 100644 index 385267757..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.PolicyValidationParameterErrorEnum - */ -class PolicyValidationParameterErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\PolicyValidationParameterError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterErrorEnum/PolicyValidationParameterError.php b/src/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterErrorEnum/PolicyValidationParameterError.php deleted file mode 100644 index e2b07c2f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PolicyValidationParameterErrorEnum/PolicyValidationParameterError.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterError - */ -class PolicyValidationParameterError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Ignorable policy topics are not supported for the ad type. - * - * Generated from protobuf enum UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS = 2; - */ - const UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS = 2; - /** - * Exempt policy violation keys are not supported for the ad type. - * - * Generated from protobuf enum UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3; - */ - const UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3; - /** - * Cannot set ignorable policy topics and exempt policy violation keys in - * the same policy violation parameter. - * - * Generated from protobuf enum CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = 4; - */ - const CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS => 'UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS', - self::UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS => 'UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS', - self::CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS => 'CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyValidationParameterError::class, \Google\Ads\GoogleAds\V15\Errors\PolicyValidationParameterErrorEnum_PolicyValidationParameterError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationDetails.php b/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationDetails.php deleted file mode 100644 index 4f7420d43..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationDetails.php +++ /dev/null @@ -1,185 +0,0 @@ -google.ads.googleads.v15.errors.PolicyViolationDetails - */ -class PolicyViolationDetails extends \Google\Protobuf\Internal\Message -{ - /** - * Human readable description of policy violation. - * - * Generated from protobuf field string external_policy_description = 2; - */ - protected $external_policy_description = ''; - /** - * Unique identifier for this violation. - * If policy is exemptible, this key may be used to request exemption. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyViolationKey key = 4; - */ - protected $key = null; - /** - * Human readable name of the policy. - * - * Generated from protobuf field string external_policy_name = 5; - */ - protected $external_policy_name = ''; - /** - * Whether user can file an exemption request for this violation. - * - * Generated from protobuf field bool is_exemptible = 6; - */ - protected $is_exemptible = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $external_policy_description - * Human readable description of policy violation. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyViolationKey $key - * Unique identifier for this violation. - * If policy is exemptible, this key may be used to request exemption. - * @type string $external_policy_name - * Human readable name of the policy. - * @type bool $is_exemptible - * Whether user can file an exemption request for this violation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * Human readable description of policy violation. - * - * Generated from protobuf field string external_policy_description = 2; - * @return string - */ - public function getExternalPolicyDescription() - { - return $this->external_policy_description; - } - - /** - * Human readable description of policy violation. - * - * Generated from protobuf field string external_policy_description = 2; - * @param string $var - * @return $this - */ - public function setExternalPolicyDescription($var) - { - GPBUtil::checkString($var, True); - $this->external_policy_description = $var; - - return $this; - } - - /** - * Unique identifier for this violation. - * If policy is exemptible, this key may be used to request exemption. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyViolationKey key = 4; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyViolationKey|null - */ - public function getKey() - { - return $this->key; - } - - public function hasKey() - { - return isset($this->key); - } - - public function clearKey() - { - unset($this->key); - } - - /** - * Unique identifier for this violation. - * If policy is exemptible, this key may be used to request exemption. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyViolationKey key = 4; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyViolationKey $var - * @return $this - */ - public function setKey($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyViolationKey::class); - $this->key = $var; - - return $this; - } - - /** - * Human readable name of the policy. - * - * Generated from protobuf field string external_policy_name = 5; - * @return string - */ - public function getExternalPolicyName() - { - return $this->external_policy_name; - } - - /** - * Human readable name of the policy. - * - * Generated from protobuf field string external_policy_name = 5; - * @param string $var - * @return $this - */ - public function setExternalPolicyName($var) - { - GPBUtil::checkString($var, True); - $this->external_policy_name = $var; - - return $this; - } - - /** - * Whether user can file an exemption request for this violation. - * - * Generated from protobuf field bool is_exemptible = 6; - * @return bool - */ - public function getIsExemptible() - { - return $this->is_exemptible; - } - - /** - * Whether user can file an exemption request for this violation. - * - * Generated from protobuf field bool is_exemptible = 6; - * @param bool $var - * @return $this - */ - public function setIsExemptible($var) - { - GPBUtil::checkBool($var); - $this->is_exemptible = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationErrorEnum.php deleted file mode 100644 index 6b2ee34a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.PolicyViolationErrorEnum - */ -class PolicyViolationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\PolicyViolationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationErrorEnum/PolicyViolationError.php b/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationErrorEnum/PolicyViolationError.php deleted file mode 100644 index dde94089f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/PolicyViolationErrorEnum/PolicyViolationError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.PolicyViolationErrorEnum.PolicyViolationError - */ -class PolicyViolationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * A policy was violated. See PolicyViolationDetails for more detail. - * - * Generated from protobuf enum POLICY_ERROR = 2; - */ - const POLICY_ERROR = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::POLICY_ERROR => 'POLICY_ERROR', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PolicyViolationError::class, \Google\Ads\GoogleAds\V15\Errors\PolicyViolationErrorEnum_PolicyViolationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkErrorEnum.php deleted file mode 100644 index 7e2e2529b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ProductLinkErrorEnum - */ -class ProductLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ProductLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkErrorEnum/ProductLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkErrorEnum/ProductLinkError.php deleted file mode 100644 index 7f404525f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkErrorEnum/ProductLinkError.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.errors.ProductLinkErrorEnum.ProductLinkError - */ -class ProductLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The requested operation is invalid. For example, you are not allowed to - * remove a link from a partner account. - * - * Generated from protobuf enum INVALID_OPERATION = 2; - */ - const INVALID_OPERATION = 2; - /** - * The creation request is not permitted. - * - * Generated from protobuf enum CREATION_NOT_PERMITTED = 3; - */ - const CREATION_NOT_PERMITTED = 3; - /** - * A link cannot be created because a pending link already exists. - * - * Generated from protobuf enum INVITATION_EXISTS = 4; - */ - const INVITATION_EXISTS = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_OPERATION => 'INVALID_OPERATION', - self::CREATION_NOT_PERMITTED => 'CREATION_NOT_PERMITTED', - self::INVITATION_EXISTS => 'INVITATION_EXISTS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductLinkError::class, \Google\Ads\GoogleAds\V15\Errors\ProductLinkErrorEnum_ProductLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationErrorEnum.php deleted file mode 100644 index 3ab0a56aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ProductLinkInvitationErrorEnum - */ -class ProductLinkInvitationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ProductLinkInvitationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationErrorEnum/ProductLinkInvitationError.php b/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationErrorEnum/ProductLinkInvitationError.php deleted file mode 100644 index bdae1b955..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ProductLinkInvitationErrorEnum/ProductLinkInvitationError.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.errors.ProductLinkInvitationErrorEnum.ProductLinkInvitationError - */ -class ProductLinkInvitationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in the version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The invitation status is invalid. - * - * Generated from protobuf enum INVALID_STATUS = 2; - */ - const INVALID_STATUS = 2; - /** - * The customer doesn't have the permission to perform this action - * - * Generated from protobuf enum PERMISSION_DENIED = 3; - */ - const PERMISSION_DENIED = 3; - /** - * An invitation could not be created, since the user already has admin - * access to the invited account. Use the ProductLinkService to directly - * create an active link. - * - * Generated from protobuf enum NO_INVITATION_REQUIRED = 4; - */ - const NO_INVITATION_REQUIRED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_STATUS => 'INVALID_STATUS', - self::PERMISSION_DENIED => 'PERMISSION_DENIED', - self::NO_INVITATION_REQUIRED => 'NO_INVITATION_REQUIRED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductLinkInvitationError::class, \Google\Ads\GoogleAds\V15\Errors\ProductLinkInvitationErrorEnum_ProductLinkInvitationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/QueryErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/QueryErrorEnum.php deleted file mode 100644 index ff8bed181..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/QueryErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.QueryErrorEnum - */ -class QueryErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\QueryError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/QueryErrorEnum/QueryError.php b/src/Google/Ads/GoogleAds/V15/Errors/QueryErrorEnum/QueryError.php deleted file mode 100644 index 81fe07be5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/QueryErrorEnum/QueryError.php +++ /dev/null @@ -1,460 +0,0 @@ -google.ads.googleads.v15.errors.QueryErrorEnum.QueryError - */ -class QueryError -{ - /** - * Name unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Returned if all other query error reasons are not applicable. - * - * Generated from protobuf enum QUERY_ERROR = 50; - */ - const QUERY_ERROR = 50; - /** - * A condition used in the query references an invalid enum constant. - * - * Generated from protobuf enum BAD_ENUM_CONSTANT = 18; - */ - const BAD_ENUM_CONSTANT = 18; - /** - * Query contains an invalid escape sequence. - * - * Generated from protobuf enum BAD_ESCAPE_SEQUENCE = 7; - */ - const BAD_ESCAPE_SEQUENCE = 7; - /** - * Field name is invalid. - * - * Generated from protobuf enum BAD_FIELD_NAME = 12; - */ - const BAD_FIELD_NAME = 12; - /** - * Limit value is invalid (for example, not a number) - * - * Generated from protobuf enum BAD_LIMIT_VALUE = 15; - */ - const BAD_LIMIT_VALUE = 15; - /** - * Encountered number can not be parsed. - * - * Generated from protobuf enum BAD_NUMBER = 5; - */ - const BAD_NUMBER = 5; - /** - * Invalid operator encountered. - * - * Generated from protobuf enum BAD_OPERATOR = 3; - */ - const BAD_OPERATOR = 3; - /** - * Parameter unknown or not supported. - * - * Generated from protobuf enum BAD_PARAMETER_NAME = 61; - */ - const BAD_PARAMETER_NAME = 61; - /** - * Parameter have invalid value. - * - * Generated from protobuf enum BAD_PARAMETER_VALUE = 62; - */ - const BAD_PARAMETER_VALUE = 62; - /** - * Invalid resource type was specified in the FROM clause. - * - * Generated from protobuf enum BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45; - */ - const BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45; - /** - * Non-ASCII symbol encountered outside of strings. - * - * Generated from protobuf enum BAD_SYMBOL = 2; - */ - const BAD_SYMBOL = 2; - /** - * Value is invalid. - * - * Generated from protobuf enum BAD_VALUE = 4; - */ - const BAD_VALUE = 4; - /** - * Date filters fail to restrict date to a range smaller than 31 days. - * Applicable if the query is segmented by date. - * - * Generated from protobuf enum DATE_RANGE_TOO_WIDE = 36; - */ - const DATE_RANGE_TOO_WIDE = 36; - /** - * Filters on date/week/month/quarter have a start date after - * end date. - * - * Generated from protobuf enum DATE_RANGE_TOO_NARROW = 60; - */ - const DATE_RANGE_TOO_NARROW = 60; - /** - * Expected AND between values with BETWEEN operator. - * - * Generated from protobuf enum EXPECTED_AND = 30; - */ - const EXPECTED_AND = 30; - /** - * Expecting ORDER BY to have BY. - * - * Generated from protobuf enum EXPECTED_BY = 14; - */ - const EXPECTED_BY = 14; - /** - * There was no dimension field selected. - * - * Generated from protobuf enum EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37; - */ - const EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37; - /** - * Missing filters on date related fields. - * - * Generated from protobuf enum EXPECTED_FILTERS_ON_DATE_RANGE = 55; - */ - const EXPECTED_FILTERS_ON_DATE_RANGE = 55; - /** - * Missing FROM clause. - * - * Generated from protobuf enum EXPECTED_FROM = 44; - */ - const EXPECTED_FROM = 44; - /** - * The operator used in the conditions requires the value to be a list. - * - * Generated from protobuf enum EXPECTED_LIST = 41; - */ - const EXPECTED_LIST = 41; - /** - * Fields used in WHERE or ORDER BY clauses are missing from the SELECT - * clause. - * - * Generated from protobuf enum EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16; - */ - const EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16; - /** - * SELECT is missing at the beginning of query. - * - * Generated from protobuf enum EXPECTED_SELECT = 13; - */ - const EXPECTED_SELECT = 13; - /** - * A list was passed as a value to a condition whose operator expects a - * single value. - * - * Generated from protobuf enum EXPECTED_SINGLE_VALUE = 42; - */ - const EXPECTED_SINGLE_VALUE = 42; - /** - * Missing one or both values with BETWEEN operator. - * - * Generated from protobuf enum EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29; - */ - const EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29; - /** - * Invalid date format. Expected 'YYYY-MM-DD'. - * - * Generated from protobuf enum INVALID_DATE_FORMAT = 38; - */ - const INVALID_DATE_FORMAT = 38; - /** - * Misaligned date value for the filter. The date should be the start of a - * week/month/quarter if the filtered field is - * segments.week/segments.month/segments.quarter. - * - * Generated from protobuf enum MISALIGNED_DATE_FOR_FILTER = 64; - */ - const MISALIGNED_DATE_FOR_FILTER = 64; - /** - * Value passed was not a string when it should have been. For example, it - * was a number or unquoted literal. - * - * Generated from protobuf enum INVALID_STRING_VALUE = 57; - */ - const INVALID_STRING_VALUE = 57; - /** - * A String value passed to the BETWEEN operator does not parse as a date. - * - * Generated from protobuf enum INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26; - */ - const INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26; - /** - * The value passed to the DURING operator is not a Date range literal - * - * Generated from protobuf enum INVALID_VALUE_WITH_DURING_OPERATOR = 22; - */ - const INVALID_VALUE_WITH_DURING_OPERATOR = 22; - /** - * An invalid value was passed to the LIKE operator. - * - * Generated from protobuf enum INVALID_VALUE_WITH_LIKE_OPERATOR = 56; - */ - const INVALID_VALUE_WITH_LIKE_OPERATOR = 56; - /** - * An operator was provided that is inapplicable to the field being - * filtered. - * - * Generated from protobuf enum OPERATOR_FIELD_MISMATCH = 35; - */ - const OPERATOR_FIELD_MISMATCH = 35; - /** - * A Condition was found with an empty list. - * - * Generated from protobuf enum PROHIBITED_EMPTY_LIST_IN_CONDITION = 28; - */ - const PROHIBITED_EMPTY_LIST_IN_CONDITION = 28; - /** - * A condition used in the query references an unsupported enum constant. - * - * Generated from protobuf enum PROHIBITED_ENUM_CONSTANT = 54; - */ - const PROHIBITED_ENUM_CONSTANT = 54; - /** - * Fields that are not allowed to be selected together were included in - * the SELECT clause. - * - * Generated from protobuf enum PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31; - */ - const PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31; - /** - * A field that is not orderable was included in the ORDER BY clause. - * - * Generated from protobuf enum PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40; - */ - const PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40; - /** - * A field that is not selectable was included in the SELECT clause. - * - * Generated from protobuf enum PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23; - */ - const PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23; - /** - * A field that is not filterable was included in the WHERE clause. - * - * Generated from protobuf enum PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24; - */ - const PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24; - /** - * Resource type specified in the FROM clause is not supported by this - * service. - * - * Generated from protobuf enum PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43; - */ - const PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43; - /** - * A field that comes from an incompatible resource was included in the - * SELECT clause. - * - * Generated from protobuf enum PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE = 48; - */ - const PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE = 48; - /** - * A field that comes from an incompatible resource was included in the - * WHERE clause. - * - * Generated from protobuf enum PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58; - */ - const PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58; - /** - * A metric incompatible with the main resource or other selected - * segmenting resources was included in the SELECT or WHERE clause. - * - * Generated from protobuf enum PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 49; - */ - const PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 49; - /** - * A segment incompatible with the main resource or other selected - * segmenting resources was included in the SELECT or WHERE clause. - * - * Generated from protobuf enum PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE = 51; - */ - const PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE = 51; - /** - * A segment in the SELECT clause is incompatible with a metric in the - * SELECT or WHERE clause. - * - * Generated from protobuf enum PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 53; - */ - const PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 53; - /** - * The value passed to the limit clause is too low. - * - * Generated from protobuf enum LIMIT_VALUE_TOO_LOW = 25; - */ - const LIMIT_VALUE_TOO_LOW = 25; - /** - * Query has a string containing a newline character. - * - * Generated from protobuf enum PROHIBITED_NEWLINE_IN_STRING = 8; - */ - const PROHIBITED_NEWLINE_IN_STRING = 8; - /** - * List contains values of different types. - * - * Generated from protobuf enum PROHIBITED_VALUE_COMBINATION_IN_LIST = 10; - */ - const PROHIBITED_VALUE_COMBINATION_IN_LIST = 10; - /** - * The values passed to the BETWEEN operator are not of the same type. - * - * Generated from protobuf enum PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21; - */ - const PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21; - /** - * Query contains unterminated string. - * - * Generated from protobuf enum STRING_NOT_TERMINATED = 6; - */ - const STRING_NOT_TERMINATED = 6; - /** - * Too many segments are specified in SELECT clause. - * - * Generated from protobuf enum TOO_MANY_SEGMENTS = 34; - */ - const TOO_MANY_SEGMENTS = 34; - /** - * Query is incomplete and cannot be parsed. - * - * Generated from protobuf enum UNEXPECTED_END_OF_QUERY = 9; - */ - const UNEXPECTED_END_OF_QUERY = 9; - /** - * FROM clause cannot be specified in this query. - * - * Generated from protobuf enum UNEXPECTED_FROM_CLAUSE = 47; - */ - const UNEXPECTED_FROM_CLAUSE = 47; - /** - * Query contains one or more unrecognized fields. - * - * Generated from protobuf enum UNRECOGNIZED_FIELD = 32; - */ - const UNRECOGNIZED_FIELD = 32; - /** - * Query has an unexpected extra part. - * - * Generated from protobuf enum UNEXPECTED_INPUT = 11; - */ - const UNEXPECTED_INPUT = 11; - /** - * Metrics cannot be requested for a manager account. To retrieve metrics, - * issue separate requests against each client account under the manager - * account. - * - * Generated from protobuf enum REQUESTED_METRICS_FOR_MANAGER = 59; - */ - const REQUESTED_METRICS_FOR_MANAGER = 59; - /** - * The number of values (right-hand-side operands) in a filter exceeds the - * limit. - * - * Generated from protobuf enum FILTER_HAS_TOO_MANY_VALUES = 63; - */ - const FILTER_HAS_TOO_MANY_VALUES = 63; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::QUERY_ERROR => 'QUERY_ERROR', - self::BAD_ENUM_CONSTANT => 'BAD_ENUM_CONSTANT', - self::BAD_ESCAPE_SEQUENCE => 'BAD_ESCAPE_SEQUENCE', - self::BAD_FIELD_NAME => 'BAD_FIELD_NAME', - self::BAD_LIMIT_VALUE => 'BAD_LIMIT_VALUE', - self::BAD_NUMBER => 'BAD_NUMBER', - self::BAD_OPERATOR => 'BAD_OPERATOR', - self::BAD_PARAMETER_NAME => 'BAD_PARAMETER_NAME', - self::BAD_PARAMETER_VALUE => 'BAD_PARAMETER_VALUE', - self::BAD_RESOURCE_TYPE_IN_FROM_CLAUSE => 'BAD_RESOURCE_TYPE_IN_FROM_CLAUSE', - self::BAD_SYMBOL => 'BAD_SYMBOL', - self::BAD_VALUE => 'BAD_VALUE', - self::DATE_RANGE_TOO_WIDE => 'DATE_RANGE_TOO_WIDE', - self::DATE_RANGE_TOO_NARROW => 'DATE_RANGE_TOO_NARROW', - self::EXPECTED_AND => 'EXPECTED_AND', - self::EXPECTED_BY => 'EXPECTED_BY', - self::EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE => 'EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE', - self::EXPECTED_FILTERS_ON_DATE_RANGE => 'EXPECTED_FILTERS_ON_DATE_RANGE', - self::EXPECTED_FROM => 'EXPECTED_FROM', - self::EXPECTED_LIST => 'EXPECTED_LIST', - self::EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE => 'EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE', - self::EXPECTED_SELECT => 'EXPECTED_SELECT', - self::EXPECTED_SINGLE_VALUE => 'EXPECTED_SINGLE_VALUE', - self::EXPECTED_VALUE_WITH_BETWEEN_OPERATOR => 'EXPECTED_VALUE_WITH_BETWEEN_OPERATOR', - self::INVALID_DATE_FORMAT => 'INVALID_DATE_FORMAT', - self::MISALIGNED_DATE_FOR_FILTER => 'MISALIGNED_DATE_FOR_FILTER', - self::INVALID_STRING_VALUE => 'INVALID_STRING_VALUE', - self::INVALID_VALUE_WITH_BETWEEN_OPERATOR => 'INVALID_VALUE_WITH_BETWEEN_OPERATOR', - self::INVALID_VALUE_WITH_DURING_OPERATOR => 'INVALID_VALUE_WITH_DURING_OPERATOR', - self::INVALID_VALUE_WITH_LIKE_OPERATOR => 'INVALID_VALUE_WITH_LIKE_OPERATOR', - self::OPERATOR_FIELD_MISMATCH => 'OPERATOR_FIELD_MISMATCH', - self::PROHIBITED_EMPTY_LIST_IN_CONDITION => 'PROHIBITED_EMPTY_LIST_IN_CONDITION', - self::PROHIBITED_ENUM_CONSTANT => 'PROHIBITED_ENUM_CONSTANT', - self::PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE => 'PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE', - self::PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE => 'PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE', - self::PROHIBITED_FIELD_IN_SELECT_CLAUSE => 'PROHIBITED_FIELD_IN_SELECT_CLAUSE', - self::PROHIBITED_FIELD_IN_WHERE_CLAUSE => 'PROHIBITED_FIELD_IN_WHERE_CLAUSE', - self::PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE => 'PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE', - self::PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE => 'PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE', - self::PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE => 'PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE', - self::PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE => 'PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE', - self::PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE => 'PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE', - self::PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE => 'PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE', - self::LIMIT_VALUE_TOO_LOW => 'LIMIT_VALUE_TOO_LOW', - self::PROHIBITED_NEWLINE_IN_STRING => 'PROHIBITED_NEWLINE_IN_STRING', - self::PROHIBITED_VALUE_COMBINATION_IN_LIST => 'PROHIBITED_VALUE_COMBINATION_IN_LIST', - self::PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR => 'PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR', - self::STRING_NOT_TERMINATED => 'STRING_NOT_TERMINATED', - self::TOO_MANY_SEGMENTS => 'TOO_MANY_SEGMENTS', - self::UNEXPECTED_END_OF_QUERY => 'UNEXPECTED_END_OF_QUERY', - self::UNEXPECTED_FROM_CLAUSE => 'UNEXPECTED_FROM_CLAUSE', - self::UNRECOGNIZED_FIELD => 'UNRECOGNIZED_FIELD', - self::UNEXPECTED_INPUT => 'UNEXPECTED_INPUT', - self::REQUESTED_METRICS_FOR_MANAGER => 'REQUESTED_METRICS_FOR_MANAGER', - self::FILTER_HAS_TOO_MANY_VALUES => 'FILTER_HAS_TOO_MANY_VALUES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(QueryError::class, \Google\Ads\GoogleAds\V15\Errors\QueryErrorEnum_QueryError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorDetails.php b/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorDetails.php deleted file mode 100644 index a81ceca3d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorDetails.php +++ /dev/null @@ -1,149 +0,0 @@ -google.ads.googleads.v15.errors.QuotaErrorDetails - */ -class QuotaErrorDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The rate scope of the quota limit. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QuotaErrorDetails.QuotaRateScope rate_scope = 1; - */ - protected $rate_scope = 0; - /** - * The high level description of the quota bucket. - * Examples are "Get requests for standard access" or "Requests per account". - * - * Generated from protobuf field string rate_name = 2; - */ - protected $rate_name = ''; - /** - * Backoff period that customers should wait before sending next request. - * - * Generated from protobuf field .google.protobuf.Duration retry_delay = 3; - */ - protected $retry_delay = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $rate_scope - * The rate scope of the quota limit. - * @type string $rate_name - * The high level description of the quota bucket. - * Examples are "Get requests for standard access" or "Requests per account". - * @type \Google\Protobuf\Duration $retry_delay - * Backoff period that customers should wait before sending next request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * The rate scope of the quota limit. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QuotaErrorDetails.QuotaRateScope rate_scope = 1; - * @return int - */ - public function getRateScope() - { - return $this->rate_scope; - } - - /** - * The rate scope of the quota limit. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.QuotaErrorDetails.QuotaRateScope rate_scope = 1; - * @param int $var - * @return $this - */ - public function setRateScope($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\QuotaErrorDetails\QuotaRateScope::class); - $this->rate_scope = $var; - - return $this; - } - - /** - * The high level description of the quota bucket. - * Examples are "Get requests for standard access" or "Requests per account". - * - * Generated from protobuf field string rate_name = 2; - * @return string - */ - public function getRateName() - { - return $this->rate_name; - } - - /** - * The high level description of the quota bucket. - * Examples are "Get requests for standard access" or "Requests per account". - * - * Generated from protobuf field string rate_name = 2; - * @param string $var - * @return $this - */ - public function setRateName($var) - { - GPBUtil::checkString($var, True); - $this->rate_name = $var; - - return $this; - } - - /** - * Backoff period that customers should wait before sending next request. - * - * Generated from protobuf field .google.protobuf.Duration retry_delay = 3; - * @return \Google\Protobuf\Duration|null - */ - public function getRetryDelay() - { - return $this->retry_delay; - } - - public function hasRetryDelay() - { - return isset($this->retry_delay); - } - - public function clearRetryDelay() - { - unset($this->retry_delay); - } - - /** - * Backoff period that customers should wait before sending next request. - * - * Generated from protobuf field .google.protobuf.Duration retry_delay = 3; - * @param \Google\Protobuf\Duration $var - * @return $this - */ - public function setRetryDelay($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); - $this->retry_delay = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorDetails/QuotaRateScope.php b/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorDetails/QuotaRateScope.php deleted file mode 100644 index 9a9712009..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorDetails/QuotaRateScope.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.QuotaErrorDetails.QuotaRateScope - */ -class QuotaRateScope -{ - /** - * Unspecified enum - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Per customer account quota - * - * Generated from protobuf enum ACCOUNT = 2; - */ - const ACCOUNT = 2; - /** - * Per project or DevToken quota - * - * Generated from protobuf enum DEVELOPER = 3; - */ - const DEVELOPER = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ACCOUNT => 'ACCOUNT', - self::DEVELOPER => 'DEVELOPER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(QuotaRateScope::class, \Google\Ads\GoogleAds\V15\Errors\QuotaErrorDetails_QuotaRateScope::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorEnum.php deleted file mode 100644 index dbe9a904e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.QuotaErrorEnum - */ -class QuotaErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\QuotaError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorEnum/QuotaError.php b/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorEnum/QuotaError.php deleted file mode 100644 index 2749e859c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/QuotaErrorEnum/QuotaError.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.errors.QuotaErrorEnum.QuotaError - */ -class QuotaError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Too many requests. - * - * Generated from protobuf enum RESOURCE_EXHAUSTED = 2; - */ - const RESOURCE_EXHAUSTED = 2; - /** - * Access is prohibited. - * - * Generated from protobuf enum ACCESS_PROHIBITED = 3; - */ - const ACCESS_PROHIBITED = 3; - /** - * Too many requests in a short amount of time. - * - * Generated from protobuf enum RESOURCE_TEMPORARILY_EXHAUSTED = 4; - */ - const RESOURCE_TEMPORARILY_EXHAUSTED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::RESOURCE_EXHAUSTED => 'RESOURCE_EXHAUSTED', - self::ACCESS_PROHIBITED => 'ACCESS_PROHIBITED', - self::RESOURCE_TEMPORARILY_EXHAUSTED => 'RESOURCE_TEMPORARILY_EXHAUSTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(QuotaError::class, \Google\Ads\GoogleAds\V15\Errors\QuotaErrorEnum_QuotaError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RangeErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/RangeErrorEnum.php deleted file mode 100644 index 13ab3c9d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RangeErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.RangeErrorEnum - */ -class RangeErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\RangeError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RangeErrorEnum/RangeError.php b/src/Google/Ads/GoogleAds/V15/Errors/RangeErrorEnum/RangeError.php deleted file mode 100644 index 19df735fd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RangeErrorEnum/RangeError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.RangeErrorEnum.RangeError - */ -class RangeError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Too low. - * - * Generated from protobuf enum TOO_LOW = 2; - */ - const TOO_LOW = 2; - /** - * Too high. - * - * Generated from protobuf enum TOO_HIGH = 3; - */ - const TOO_HIGH = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::TOO_LOW => 'TOO_LOW', - self::TOO_HIGH => 'TOO_HIGH', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RangeError::class, \Google\Ads\GoogleAds\V15\Errors\RangeErrorEnum_RangeError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ReachPlanErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ReachPlanErrorEnum.php deleted file mode 100644 index 01100c88f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ReachPlanErrorEnum.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.errors.ReachPlanErrorEnum - */ -class ReachPlanErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ReachPlanError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ReachPlanErrorEnum/ReachPlanError.php b/src/Google/Ads/GoogleAds/V15/Errors/ReachPlanErrorEnum/ReachPlanError.php deleted file mode 100644 index ba9070b0c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ReachPlanErrorEnum/ReachPlanError.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.errors.ReachPlanErrorEnum.ReachPlanError - */ -class ReachPlanError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Not forecastable due to missing rate card data. - * - * Generated from protobuf enum NOT_FORECASTABLE_MISSING_RATE = 2; - */ - const NOT_FORECASTABLE_MISSING_RATE = 2; - /** - * Not forecastable due to not enough inventory. - * - * Generated from protobuf enum NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY = 3; - */ - const NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY = 3; - /** - * Not forecastable due to account not being enabled. - * - * Generated from protobuf enum NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED = 4; - */ - const NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::NOT_FORECASTABLE_MISSING_RATE => 'NOT_FORECASTABLE_MISSING_RATE', - self::NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY => 'NOT_FORECASTABLE_NOT_ENOUGH_INVENTORY', - self::NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED => 'NOT_FORECASTABLE_ACCOUNT_NOT_ENABLED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ReachPlanError::class, \Google\Ads\GoogleAds\V15\Errors\ReachPlanErrorEnum_ReachPlanError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RecommendationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/RecommendationErrorEnum.php deleted file mode 100644 index 55a67bf8a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RecommendationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.RecommendationErrorEnum - */ -class RecommendationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\RecommendationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RecommendationErrorEnum/RecommendationError.php b/src/Google/Ads/GoogleAds/V15/Errors/RecommendationErrorEnum/RecommendationError.php deleted file mode 100644 index 1775d4c58..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RecommendationErrorEnum/RecommendationError.php +++ /dev/null @@ -1,173 +0,0 @@ -google.ads.googleads.v15.errors.RecommendationErrorEnum.RecommendationError - */ -class RecommendationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The specified budget amount is too low for example, lower than minimum - * currency unit or lower than ad group minimum cost-per-click. - * - * Generated from protobuf enum BUDGET_AMOUNT_TOO_SMALL = 2; - */ - const BUDGET_AMOUNT_TOO_SMALL = 2; - /** - * The specified budget amount is too large. - * - * Generated from protobuf enum BUDGET_AMOUNT_TOO_LARGE = 3; - */ - const BUDGET_AMOUNT_TOO_LARGE = 3; - /** - * The specified budget amount is not a valid amount, for example, not a - * multiple of minimum currency unit. - * - * Generated from protobuf enum INVALID_BUDGET_AMOUNT = 4; - */ - const INVALID_BUDGET_AMOUNT = 4; - /** - * The specified keyword or ad violates ad policy. - * - * Generated from protobuf enum POLICY_ERROR = 5; - */ - const POLICY_ERROR = 5; - /** - * The specified bid amount is not valid, for example, too many fractional - * digits, or negative amount. - * - * Generated from protobuf enum INVALID_BID_AMOUNT = 6; - */ - const INVALID_BID_AMOUNT = 6; - /** - * The number of keywords in ad group have reached the maximum allowed. - * - * Generated from protobuf enum ADGROUP_KEYWORD_LIMIT = 7; - */ - const ADGROUP_KEYWORD_LIMIT = 7; - /** - * The recommendation requested to apply has already been applied. - * - * Generated from protobuf enum RECOMMENDATION_ALREADY_APPLIED = 8; - */ - const RECOMMENDATION_ALREADY_APPLIED = 8; - /** - * The recommendation requested to apply has been invalidated. - * - * Generated from protobuf enum RECOMMENDATION_INVALIDATED = 9; - */ - const RECOMMENDATION_INVALIDATED = 9; - /** - * The number of operations in a single request exceeds the maximum allowed. - * - * Generated from protobuf enum TOO_MANY_OPERATIONS = 10; - */ - const TOO_MANY_OPERATIONS = 10; - /** - * There are no operations in the request. - * - * Generated from protobuf enum NO_OPERATIONS = 11; - */ - const NO_OPERATIONS = 11; - /** - * Operations with multiple recommendation types are not supported when - * partial failure mode is not enabled. - * - * Generated from protobuf enum DIFFERENT_TYPES_NOT_SUPPORTED = 12; - */ - const DIFFERENT_TYPES_NOT_SUPPORTED = 12; - /** - * Request contains multiple operations with the same resource_name. - * - * Generated from protobuf enum DUPLICATE_RESOURCE_NAME = 13; - */ - const DUPLICATE_RESOURCE_NAME = 13; - /** - * The recommendation requested to dismiss has already been dismissed. - * - * Generated from protobuf enum RECOMMENDATION_ALREADY_DISMISSED = 14; - */ - const RECOMMENDATION_ALREADY_DISMISSED = 14; - /** - * The recommendation apply request was malformed and invalid. - * - * Generated from protobuf enum INVALID_APPLY_REQUEST = 15; - */ - const INVALID_APPLY_REQUEST = 15; - /** - * The type of recommendation requested to apply is not supported. - * - * Generated from protobuf enum RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17; - */ - const RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED = 17; - /** - * The target multiplier specified is invalid. - * - * Generated from protobuf enum INVALID_MULTIPLIER = 18; - */ - const INVALID_MULTIPLIER = 18; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::BUDGET_AMOUNT_TOO_SMALL => 'BUDGET_AMOUNT_TOO_SMALL', - self::BUDGET_AMOUNT_TOO_LARGE => 'BUDGET_AMOUNT_TOO_LARGE', - self::INVALID_BUDGET_AMOUNT => 'INVALID_BUDGET_AMOUNT', - self::POLICY_ERROR => 'POLICY_ERROR', - self::INVALID_BID_AMOUNT => 'INVALID_BID_AMOUNT', - self::ADGROUP_KEYWORD_LIMIT => 'ADGROUP_KEYWORD_LIMIT', - self::RECOMMENDATION_ALREADY_APPLIED => 'RECOMMENDATION_ALREADY_APPLIED', - self::RECOMMENDATION_INVALIDATED => 'RECOMMENDATION_INVALIDATED', - self::TOO_MANY_OPERATIONS => 'TOO_MANY_OPERATIONS', - self::NO_OPERATIONS => 'NO_OPERATIONS', - self::DIFFERENT_TYPES_NOT_SUPPORTED => 'DIFFERENT_TYPES_NOT_SUPPORTED', - self::DUPLICATE_RESOURCE_NAME => 'DUPLICATE_RESOURCE_NAME', - self::RECOMMENDATION_ALREADY_DISMISSED => 'RECOMMENDATION_ALREADY_DISMISSED', - self::INVALID_APPLY_REQUEST => 'INVALID_APPLY_REQUEST', - self::RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED => 'RECOMMENDATION_TYPE_APPLY_NOT_SUPPORTED', - self::INVALID_MULTIPLIER => 'INVALID_MULTIPLIER', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RecommendationError::class, \Google\Ads\GoogleAds\V15\Errors\RecommendationErrorEnum_RecommendationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RecommendationSubscriptionErrorEnum/RecommendationSubscriptionError.php b/src/Google/Ads/GoogleAds/V15/Errors/RecommendationSubscriptionErrorEnum/RecommendationSubscriptionError.php deleted file mode 100644 index 9deaeb2aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RecommendationSubscriptionErrorEnum/RecommendationSubscriptionError.php +++ /dev/null @@ -1,57 +0,0 @@ -google.ads.googleads.v15.errors.RecommendationSubscriptionErrorEnum.RecommendationSubscriptionError - */ -class RecommendationSubscriptionError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RecommendationSubscriptionError::class, \Google\Ads\GoogleAds\V15\Errors\RecommendationSubscriptionErrorEnum_RecommendationSubscriptionError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RegionCodeErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/RegionCodeErrorEnum.php deleted file mode 100644 index bba4335aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RegionCodeErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.RegionCodeErrorEnum - */ -class RegionCodeErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\RegionCodeError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RegionCodeErrorEnum/RegionCodeError.php b/src/Google/Ads/GoogleAds/V15/Errors/RegionCodeErrorEnum/RegionCodeError.php deleted file mode 100644 index 186797b50..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RegionCodeErrorEnum/RegionCodeError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.RegionCodeErrorEnum.RegionCodeError - */ -class RegionCodeError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Invalid region code. - * - * Generated from protobuf enum INVALID_REGION_CODE = 2; - */ - const INVALID_REGION_CODE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_REGION_CODE => 'INVALID_REGION_CODE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RegionCodeError::class, \Google\Ads\GoogleAds\V15\Errors\RegionCodeErrorEnum_RegionCodeError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RequestErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/RequestErrorEnum.php deleted file mode 100644 index 1e2fb2a8e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RequestErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.RequestErrorEnum - */ -class RequestErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\RequestError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RequestErrorEnum/RequestError.php b/src/Google/Ads/GoogleAds/V15/Errors/RequestErrorEnum/RequestError.php deleted file mode 100644 index 70368ef8d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/RequestErrorEnum/RequestError.php +++ /dev/null @@ -1,238 +0,0 @@ -google.ads.googleads.v15.errors.RequestErrorEnum.RequestError - */ -class RequestError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Resource name is required for this request. - * - * Generated from protobuf enum RESOURCE_NAME_MISSING = 3; - */ - const RESOURCE_NAME_MISSING = 3; - /** - * Resource name provided is malformed. - * - * Generated from protobuf enum RESOURCE_NAME_MALFORMED = 4; - */ - const RESOURCE_NAME_MALFORMED = 4; - /** - * Resource name provided is malformed. - * - * Generated from protobuf enum BAD_RESOURCE_ID = 17; - */ - const BAD_RESOURCE_ID = 17; - /** - * Customer ID is invalid. - * - * Generated from protobuf enum INVALID_CUSTOMER_ID = 16; - */ - const INVALID_CUSTOMER_ID = 16; - /** - * Mutate operation should have either create, update, or remove specified. - * - * Generated from protobuf enum OPERATION_REQUIRED = 5; - */ - const OPERATION_REQUIRED = 5; - /** - * Requested resource not found. - * - * Generated from protobuf enum RESOURCE_NOT_FOUND = 6; - */ - const RESOURCE_NOT_FOUND = 6; - /** - * Next page token specified in user request is invalid. - * - * Generated from protobuf enum INVALID_PAGE_TOKEN = 7; - */ - const INVALID_PAGE_TOKEN = 7; - /** - * Next page token specified in user request has expired. - * - * Generated from protobuf enum EXPIRED_PAGE_TOKEN = 8; - */ - const EXPIRED_PAGE_TOKEN = 8; - /** - * Page size specified in user request is invalid. - * - * Generated from protobuf enum INVALID_PAGE_SIZE = 22; - */ - const INVALID_PAGE_SIZE = 22; - /** - * Required field is missing. - * - * Generated from protobuf enum REQUIRED_FIELD_MISSING = 9; - */ - const REQUIRED_FIELD_MISSING = 9; - /** - * The field cannot be modified because it's immutable. It's also possible - * that the field can be modified using 'create' operation but not 'update'. - * - * Generated from protobuf enum IMMUTABLE_FIELD = 11; - */ - const IMMUTABLE_FIELD = 11; - /** - * Received too many entries in request. - * - * Generated from protobuf enum TOO_MANY_MUTATE_OPERATIONS = 13; - */ - const TOO_MANY_MUTATE_OPERATIONS = 13; - /** - * Request cannot be executed by a manager account. - * - * Generated from protobuf enum CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT = 14; - */ - const CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT = 14; - /** - * Mutate request was attempting to modify a readonly field. - * For instance, Budget fields can be requested for Ad Group, - * but are read-only for adGroups:mutate. - * - * Generated from protobuf enum CANNOT_MODIFY_FOREIGN_FIELD = 15; - */ - const CANNOT_MODIFY_FOREIGN_FIELD = 15; - /** - * Enum value is not permitted. - * - * Generated from protobuf enum INVALID_ENUM_VALUE = 18; - */ - const INVALID_ENUM_VALUE = 18; - /** - * The developer-token parameter is required for all requests. - * - * Generated from protobuf enum DEVELOPER_TOKEN_PARAMETER_MISSING = 19; - */ - const DEVELOPER_TOKEN_PARAMETER_MISSING = 19; - /** - * The login-customer-id parameter is required for this request. - * - * Generated from protobuf enum LOGIN_CUSTOMER_ID_PARAMETER_MISSING = 20; - */ - const LOGIN_CUSTOMER_ID_PARAMETER_MISSING = 20; - /** - * page_token is set in the validate only request - * - * Generated from protobuf enum VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN = 21; - */ - const VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN = 21; - /** - * return_summary_row cannot be enabled if request did not select any - * metrics field. - * - * Generated from protobuf enum CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS = 29; - */ - const CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS = 29; - /** - * return_summary_row should not be enabled for validate only requests. - * - * Generated from protobuf enum CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS = 30; - */ - const CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS = 30; - /** - * return_summary_row parameter value should be the same between requests - * with page_token field set and their original request. - * - * Generated from protobuf enum INCONSISTENT_RETURN_SUMMARY_ROW_VALUE = 31; - */ - const INCONSISTENT_RETURN_SUMMARY_ROW_VALUE = 31; - /** - * The total results count cannot be returned if it was not requested in the - * original request. - * - * Generated from protobuf enum TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED = 32; - */ - const TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED = 32; - /** - * Deadline specified by the client was too short. - * - * Generated from protobuf enum RPC_DEADLINE_TOO_SHORT = 33; - */ - const RPC_DEADLINE_TOO_SHORT = 33; - /** - * This API version has been sunset and is no longer supported. - * - * Generated from protobuf enum UNSUPPORTED_VERSION = 38; - */ - const UNSUPPORTED_VERSION = 38; - /** - * The Google Cloud project in the request was not found. - * - * Generated from protobuf enum CLOUD_PROJECT_NOT_FOUND = 39; - */ - const CLOUD_PROJECT_NOT_FOUND = 39; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::RESOURCE_NAME_MISSING => 'RESOURCE_NAME_MISSING', - self::RESOURCE_NAME_MALFORMED => 'RESOURCE_NAME_MALFORMED', - self::BAD_RESOURCE_ID => 'BAD_RESOURCE_ID', - self::INVALID_CUSTOMER_ID => 'INVALID_CUSTOMER_ID', - self::OPERATION_REQUIRED => 'OPERATION_REQUIRED', - self::RESOURCE_NOT_FOUND => 'RESOURCE_NOT_FOUND', - self::INVALID_PAGE_TOKEN => 'INVALID_PAGE_TOKEN', - self::EXPIRED_PAGE_TOKEN => 'EXPIRED_PAGE_TOKEN', - self::INVALID_PAGE_SIZE => 'INVALID_PAGE_SIZE', - self::REQUIRED_FIELD_MISSING => 'REQUIRED_FIELD_MISSING', - self::IMMUTABLE_FIELD => 'IMMUTABLE_FIELD', - self::TOO_MANY_MUTATE_OPERATIONS => 'TOO_MANY_MUTATE_OPERATIONS', - self::CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT => 'CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT', - self::CANNOT_MODIFY_FOREIGN_FIELD => 'CANNOT_MODIFY_FOREIGN_FIELD', - self::INVALID_ENUM_VALUE => 'INVALID_ENUM_VALUE', - self::DEVELOPER_TOKEN_PARAMETER_MISSING => 'DEVELOPER_TOKEN_PARAMETER_MISSING', - self::LOGIN_CUSTOMER_ID_PARAMETER_MISSING => 'LOGIN_CUSTOMER_ID_PARAMETER_MISSING', - self::VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN => 'VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN', - self::CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS => 'CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS', - self::CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS => 'CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS', - self::INCONSISTENT_RETURN_SUMMARY_ROW_VALUE => 'INCONSISTENT_RETURN_SUMMARY_ROW_VALUE', - self::TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED => 'TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED', - self::RPC_DEADLINE_TOO_SHORT => 'RPC_DEADLINE_TOO_SHORT', - self::UNSUPPORTED_VERSION => 'UNSUPPORTED_VERSION', - self::CLOUD_PROJECT_NOT_FOUND => 'CLOUD_PROJECT_NOT_FOUND', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RequestError::class, \Google\Ads\GoogleAds\V15\Errors\RequestErrorEnum_RequestError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedErrorEnum.php deleted file mode 100644 index e9194a582..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ResourceAccessDeniedErrorEnum - */ -class ResourceAccessDeniedErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ResourceAccessDeniedError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedErrorEnum/ResourceAccessDeniedError.php b/src/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedErrorEnum/ResourceAccessDeniedError.php deleted file mode 100644 index d65e56f0c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ResourceAccessDeniedErrorEnum/ResourceAccessDeniedError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedError - */ -class ResourceAccessDeniedError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * User did not have write access. - * - * Generated from protobuf enum WRITE_ACCESS_DENIED = 3; - */ - const WRITE_ACCESS_DENIED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::WRITE_ACCESS_DENIED => 'WRITE_ACCESS_DENIED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResourceAccessDeniedError::class, \Google\Ads\GoogleAds\V15\Errors\ResourceAccessDeniedErrorEnum_ResourceAccessDeniedError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountDetails.php b/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountDetails.php deleted file mode 100644 index 8c350aa7f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountDetails.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.errors.ResourceCountDetails - */ -class ResourceCountDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the resource whose limit was exceeded. - * External customer ID if the limit is for a customer. - * - * Generated from protobuf field string enclosing_id = 1; - */ - protected $enclosing_id = ''; - /** - * The name of the resource (Customer, Campaign etc.) whose limit was - * exceeded. - * - * Generated from protobuf field string enclosing_resource = 5; - */ - protected $enclosing_resource = ''; - /** - * The limit which was exceeded. - * - * Generated from protobuf field int32 limit = 2; - */ - protected $limit = 0; - /** - * The resource limit type which was exceeded. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResourceLimitTypeEnum.ResourceLimitType limit_type = 3; - */ - protected $limit_type = 0; - /** - * The count of existing entities. - * - * Generated from protobuf field int32 existing_count = 4; - */ - protected $existing_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $enclosing_id - * The ID of the resource whose limit was exceeded. - * External customer ID if the limit is for a customer. - * @type string $enclosing_resource - * The name of the resource (Customer, Campaign etc.) whose limit was - * exceeded. - * @type int $limit - * The limit which was exceeded. - * @type int $limit_type - * The resource limit type which was exceeded. - * @type int $existing_count - * The count of existing entities. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\Errors::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the resource whose limit was exceeded. - * External customer ID if the limit is for a customer. - * - * Generated from protobuf field string enclosing_id = 1; - * @return string - */ - public function getEnclosingId() - { - return $this->enclosing_id; - } - - /** - * The ID of the resource whose limit was exceeded. - * External customer ID if the limit is for a customer. - * - * Generated from protobuf field string enclosing_id = 1; - * @param string $var - * @return $this - */ - public function setEnclosingId($var) - { - GPBUtil::checkString($var, True); - $this->enclosing_id = $var; - - return $this; - } - - /** - * The name of the resource (Customer, Campaign etc.) whose limit was - * exceeded. - * - * Generated from protobuf field string enclosing_resource = 5; - * @return string - */ - public function getEnclosingResource() - { - return $this->enclosing_resource; - } - - /** - * The name of the resource (Customer, Campaign etc.) whose limit was - * exceeded. - * - * Generated from protobuf field string enclosing_resource = 5; - * @param string $var - * @return $this - */ - public function setEnclosingResource($var) - { - GPBUtil::checkString($var, True); - $this->enclosing_resource = $var; - - return $this; - } - - /** - * The limit which was exceeded. - * - * Generated from protobuf field int32 limit = 2; - * @return int - */ - public function getLimit() - { - return $this->limit; - } - - /** - * The limit which was exceeded. - * - * Generated from protobuf field int32 limit = 2; - * @param int $var - * @return $this - */ - public function setLimit($var) - { - GPBUtil::checkInt32($var); - $this->limit = $var; - - return $this; - } - - /** - * The resource limit type which was exceeded. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResourceLimitTypeEnum.ResourceLimitType limit_type = 3; - * @return int - */ - public function getLimitType() - { - return $this->limit_type; - } - - /** - * The resource limit type which was exceeded. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResourceLimitTypeEnum.ResourceLimitType limit_type = 3; - * @param int $var - * @return $this - */ - public function setLimitType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResourceLimitTypeEnum\ResourceLimitType::class); - $this->limit_type = $var; - - return $this; - } - - /** - * The count of existing entities. - * - * Generated from protobuf field int32 existing_count = 4; - * @return int - */ - public function getExistingCount() - { - return $this->existing_count; - } - - /** - * The count of existing entities. - * - * Generated from protobuf field int32 existing_count = 4; - * @param int $var - * @return $this - */ - public function setExistingCount($var) - { - GPBUtil::checkInt32($var); - $this->existing_count = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededErrorEnum.php deleted file mode 100644 index 68f092864..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ResourceCountLimitExceededErrorEnum - */ -class ResourceCountLimitExceededErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ResourceCountLimitExceededError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededErrorEnum/ResourceCountLimitExceededError.php b/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededErrorEnum/ResourceCountLimitExceededError.php deleted file mode 100644 index fb1f58711..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ResourceCountLimitExceededErrorEnum/ResourceCountLimitExceededError.php +++ /dev/null @@ -1,142 +0,0 @@ -google.ads.googleads.v15.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError - */ -class ResourceCountLimitExceededError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Indicates that this request would exceed the number of allowed resources - * for the Google Ads account. The exact resource type and limit being - * checked can be inferred from accountLimitType. - * - * Generated from protobuf enum ACCOUNT_LIMIT = 2; - */ - const ACCOUNT_LIMIT = 2; - /** - * Indicates that this request would exceed the number of allowed resources - * in a Campaign. The exact resource type and limit being checked can be - * inferred from accountLimitType, and the numeric id of the - * Campaign involved is given by enclosingId. - * - * Generated from protobuf enum CAMPAIGN_LIMIT = 3; - */ - const CAMPAIGN_LIMIT = 3; - /** - * Indicates that this request would exceed the number of allowed resources - * in an ad group. The exact resource type and limit being checked can be - * inferred from accountLimitType, and the numeric id of the - * ad group involved is given by enclosingId. - * - * Generated from protobuf enum ADGROUP_LIMIT = 4; - */ - const ADGROUP_LIMIT = 4; - /** - * Indicates that this request would exceed the number of allowed resources - * in an ad group ad. The exact resource type and limit being checked can - * be inferred from accountLimitType, and the enclosingId - * contains the ad group id followed by the ad id, separated by a single - * comma (,). - * - * Generated from protobuf enum AD_GROUP_AD_LIMIT = 5; - */ - const AD_GROUP_AD_LIMIT = 5; - /** - * Indicates that this request would exceed the number of allowed resources - * in an ad group criterion. The exact resource type and limit being checked - * can be inferred from accountLimitType, and the - * enclosingId contains the ad group id followed by the - * criterion id, separated by a single comma (,). - * - * Generated from protobuf enum AD_GROUP_CRITERION_LIMIT = 6; - */ - const AD_GROUP_CRITERION_LIMIT = 6; - /** - * Indicates that this request would exceed the number of allowed resources - * in this shared set. The exact resource type and limit being checked can - * be inferred from accountLimitType, and the numeric id of the - * shared set involved is given by enclosingId. - * - * Generated from protobuf enum SHARED_SET_LIMIT = 7; - */ - const SHARED_SET_LIMIT = 7; - /** - * Exceeds a limit related to a matching function. - * - * Generated from protobuf enum MATCHING_FUNCTION_LIMIT = 8; - */ - const MATCHING_FUNCTION_LIMIT = 8; - /** - * The response for this request would exceed the maximum number of rows - * that can be returned. - * - * Generated from protobuf enum RESPONSE_ROW_LIMIT_EXCEEDED = 9; - */ - const RESPONSE_ROW_LIMIT_EXCEEDED = 9; - /** - * This request would exceed a limit on the number of allowed resources. - * The details of which type of limit was exceeded will eventually be - * returned in ErrorDetails. - * - * Generated from protobuf enum RESOURCE_LIMIT = 10; - */ - const RESOURCE_LIMIT = 10; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ACCOUNT_LIMIT => 'ACCOUNT_LIMIT', - self::CAMPAIGN_LIMIT => 'CAMPAIGN_LIMIT', - self::ADGROUP_LIMIT => 'ADGROUP_LIMIT', - self::AD_GROUP_AD_LIMIT => 'AD_GROUP_AD_LIMIT', - self::AD_GROUP_CRITERION_LIMIT => 'AD_GROUP_CRITERION_LIMIT', - self::SHARED_SET_LIMIT => 'SHARED_SET_LIMIT', - self::MATCHING_FUNCTION_LIMIT => 'MATCHING_FUNCTION_LIMIT', - self::RESPONSE_ROW_LIMIT_EXCEEDED => 'RESPONSE_ROW_LIMIT_EXCEEDED', - self::RESOURCE_LIMIT => 'RESOURCE_LIMIT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResourceCountLimitExceededError::class, \Google\Ads\GoogleAds\V15\Errors\ResourceCountLimitExceededErrorEnum_ResourceCountLimitExceededError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightErrorEnum.php deleted file mode 100644 index 3963507b2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.SearchTermInsightErrorEnum - */ -class SearchTermInsightErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\SearchTermInsightError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightErrorEnum/SearchTermInsightError.php b/src/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightErrorEnum/SearchTermInsightError.php deleted file mode 100644 index b61c076a5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SearchTermInsightErrorEnum/SearchTermInsightError.php +++ /dev/null @@ -1,99 +0,0 @@ -google.ads.googleads.v15.errors.SearchTermInsightErrorEnum.SearchTermInsightError - */ -class SearchTermInsightError -{ - /** - * Name unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Search term insights cannot be filtered by metrics when segmenting. - * - * Generated from protobuf enum FILTERING_NOT_ALLOWED_WITH_SEGMENTS = 2; - */ - const FILTERING_NOT_ALLOWED_WITH_SEGMENTS = 2; - /** - * Search term insights cannot have a LIMIT when segmenting. - * - * Generated from protobuf enum LIMIT_NOT_ALLOWED_WITH_SEGMENTS = 3; - */ - const LIMIT_NOT_ALLOWED_WITH_SEGMENTS = 3; - /** - * A selected field requires another field to be selected with it. - * - * Generated from protobuf enum MISSING_FIELD_IN_SELECT_CLAUSE = 4; - */ - const MISSING_FIELD_IN_SELECT_CLAUSE = 4; - /** - * A selected field/resource requires filtering by a single resource. - * - * Generated from protobuf enum REQUIRES_FILTER_BY_SINGLE_RESOURCE = 5; - */ - const REQUIRES_FILTER_BY_SINGLE_RESOURCE = 5; - /** - * Search term insights cannot be sorted when segmenting. - * - * Generated from protobuf enum SORTING_NOT_ALLOWED_WITH_SEGMENTS = 6; - */ - const SORTING_NOT_ALLOWED_WITH_SEGMENTS = 6; - /** - * Search term insights cannot have a summary row when segmenting. - * - * Generated from protobuf enum SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS = 7; - */ - const SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS = 7; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::FILTERING_NOT_ALLOWED_WITH_SEGMENTS => 'FILTERING_NOT_ALLOWED_WITH_SEGMENTS', - self::LIMIT_NOT_ALLOWED_WITH_SEGMENTS => 'LIMIT_NOT_ALLOWED_WITH_SEGMENTS', - self::MISSING_FIELD_IN_SELECT_CLAUSE => 'MISSING_FIELD_IN_SELECT_CLAUSE', - self::REQUIRES_FILTER_BY_SINGLE_RESOURCE => 'REQUIRES_FILTER_BY_SINGLE_RESOURCE', - self::SORTING_NOT_ALLOWED_WITH_SEGMENTS => 'SORTING_NOT_ALLOWED_WITH_SEGMENTS', - self::SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS => 'SUMMARY_ROW_NOT_ALLOWED_WITH_SEGMENTS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SearchTermInsightError::class, \Google\Ads\GoogleAds\V15\Errors\SearchTermInsightErrorEnum_SearchTermInsightError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SettingErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/SettingErrorEnum.php deleted file mode 100644 index 114b347a5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SettingErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.SettingErrorEnum - */ -class SettingErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\SettingError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SettingErrorEnum/SettingError.php b/src/Google/Ads/GoogleAds/V15/Errors/SettingErrorEnum/SettingError.php deleted file mode 100644 index 96e9dcb9d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SettingErrorEnum/SettingError.php +++ /dev/null @@ -1,151 +0,0 @@ -google.ads.googleads.v15.errors.SettingErrorEnum.SettingError - */ -class SettingError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The campaign setting is not available for this Google Ads account. - * - * Generated from protobuf enum SETTING_TYPE_IS_NOT_AVAILABLE = 3; - */ - const SETTING_TYPE_IS_NOT_AVAILABLE = 3; - /** - * The setting is not compatible with the campaign. - * - * Generated from protobuf enum SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4; - */ - const SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4; - /** - * The supplied TargetingSetting contains an invalid CriterionTypeGroup. See - * CriterionTypeGroup documentation for CriterionTypeGroups allowed - * in Campaign or AdGroup TargetingSettings. - * - * Generated from protobuf enum TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5; - */ - const TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5; - /** - * TargetingSetting must not explicitly - * set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, - * PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in - * which case the system will set them to true automatically). - * - * Generated from protobuf enum TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 6; - */ - const TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 6; - /** - * TargetingSetting cannot change any of - * the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, - * INCOME_RANGE) from true to false. - * - * Generated from protobuf enum TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 7; - */ - const TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 7; - /** - * At least one feed id should be present. - * - * Generated from protobuf enum DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8; - */ - const DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8; - /** - * The supplied DynamicSearchAdsSetting contains an invalid domain name. - * - * Generated from protobuf enum DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9; - */ - const DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9; - /** - * The supplied DynamicSearchAdsSetting contains a subdomain name. - * - * Generated from protobuf enum DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10; - */ - const DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10; - /** - * The supplied DynamicSearchAdsSetting contains an invalid language code. - * - * Generated from protobuf enum DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11; - */ - const DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11; - /** - * TargetingSettings in search campaigns should not have - * CriterionTypeGroup.PLACEMENT set to targetAll. - * - * Generated from protobuf enum TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12; - */ - const TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12; - /** - * The setting value is not compatible with the campaign type. - * - * Generated from protobuf enum SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20; - */ - const SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20; - /** - * Switching from observation setting to targeting setting is not allowed - * for Customer Match lists. See - * https://support.google.com/google-ads/answer/6299717. - * - * Generated from protobuf enum BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21; - */ - const BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::SETTING_TYPE_IS_NOT_AVAILABLE => 'SETTING_TYPE_IS_NOT_AVAILABLE', - self::SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN => 'SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN', - self::TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP => 'TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP', - self::TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL => 'TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL', - self::TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP => 'TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP', - self::DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT => 'DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT', - self::DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME => 'DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME', - self::DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME => 'DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME', - self::DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE => 'DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE', - self::TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN => 'TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN', - self::SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN => 'SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN', - self::BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING => 'BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SettingError::class, \Google\Ads\GoogleAds\V15\Errors\SettingErrorEnum_SettingError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SharedCriterionErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/SharedCriterionErrorEnum.php deleted file mode 100644 index 7ff77eb29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SharedCriterionErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.SharedCriterionErrorEnum - */ -class SharedCriterionErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\SharedCriterionError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SharedCriterionErrorEnum/SharedCriterionError.php b/src/Google/Ads/GoogleAds/V15/Errors/SharedCriterionErrorEnum/SharedCriterionError.php deleted file mode 100644 index ed61c6f78..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SharedCriterionErrorEnum/SharedCriterionError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.SharedCriterionErrorEnum.SharedCriterionError - */ -class SharedCriterionError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The criterion is not appropriate for the shared set type. - * - * Generated from protobuf enum CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2; - */ - const CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE => 'CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SharedCriterionError::class, \Google\Ads\GoogleAds\V15\Errors\SharedCriterionErrorEnum_SharedCriterionError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SharedSetErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/SharedSetErrorEnum.php deleted file mode 100644 index d9b28b573..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SharedSetErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.SharedSetErrorEnum - */ -class SharedSetErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\SharedSetError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SharedSetErrorEnum/SharedSetError.php b/src/Google/Ads/GoogleAds/V15/Errors/SharedSetErrorEnum/SharedSetError.php deleted file mode 100644 index e218e55cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SharedSetErrorEnum/SharedSetError.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.errors.SharedSetErrorEnum.SharedSetError - */ -class SharedSetError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The customer cannot create this type of shared set. - * - * Generated from protobuf enum CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE = 2; - */ - const CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE = 2; - /** - * A shared set with this name already exists. - * - * Generated from protobuf enum DUPLICATE_NAME = 3; - */ - const DUPLICATE_NAME = 3; - /** - * Removed shared sets cannot be mutated. - * - * Generated from protobuf enum SHARED_SET_REMOVED = 4; - */ - const SHARED_SET_REMOVED = 4; - /** - * The shared set cannot be removed because it is in use. - * - * Generated from protobuf enum SHARED_SET_IN_USE = 5; - */ - const SHARED_SET_IN_USE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE => 'CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE', - self::DUPLICATE_NAME => 'DUPLICATE_NAME', - self::SHARED_SET_REMOVED => 'SHARED_SET_REMOVED', - self::SHARED_SET_IN_USE => 'SHARED_SET_IN_USE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SharedSetError::class, \Google\Ads\GoogleAds\V15\Errors\SharedSetErrorEnum_SharedSetError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SizeLimitErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/SizeLimitErrorEnum.php deleted file mode 100644 index 9d1880a33..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SizeLimitErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.SizeLimitErrorEnum - */ -class SizeLimitErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\SizeLimitError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SizeLimitErrorEnum/SizeLimitError.php b/src/Google/Ads/GoogleAds/V15/Errors/SizeLimitErrorEnum/SizeLimitError.php deleted file mode 100644 index 1845e6ea6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SizeLimitErrorEnum/SizeLimitError.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.errors.SizeLimitErrorEnum.SizeLimitError - */ -class SizeLimitError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The number of entries in the request exceeds the system limit, or the - * contents of the operations exceed transaction limits due to their size - * or complexity. Try reducing the number of entries per request. - * - * Generated from protobuf enum REQUEST_SIZE_LIMIT_EXCEEDED = 2; - */ - const REQUEST_SIZE_LIMIT_EXCEEDED = 2; - /** - * The number of entries in the response exceeds the system limit. - * - * Generated from protobuf enum RESPONSE_SIZE_LIMIT_EXCEEDED = 3; - */ - const RESPONSE_SIZE_LIMIT_EXCEEDED = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::REQUEST_SIZE_LIMIT_EXCEEDED => 'REQUEST_SIZE_LIMIT_EXCEEDED', - self::RESPONSE_SIZE_LIMIT_EXCEEDED => 'RESPONSE_SIZE_LIMIT_EXCEEDED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SizeLimitError::class, \Google\Ads\GoogleAds\V15\Errors\SizeLimitErrorEnum_SizeLimitError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SmartCampaignErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/SmartCampaignErrorEnum.php deleted file mode 100644 index 426c45ab2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SmartCampaignErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.SmartCampaignErrorEnum - */ -class SmartCampaignErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\SmartCampaignError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/SmartCampaignErrorEnum/SmartCampaignError.php b/src/Google/Ads/GoogleAds/V15/Errors/SmartCampaignErrorEnum/SmartCampaignError.php deleted file mode 100644 index c33d54a0d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/SmartCampaignErrorEnum/SmartCampaignError.php +++ /dev/null @@ -1,107 +0,0 @@ -google.ads.googleads.v15.errors.SmartCampaignErrorEnum.SmartCampaignError - */ -class SmartCampaignError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The business location id is invalid. - * - * Generated from protobuf enum INVALID_BUSINESS_LOCATION_ID = 2; - */ - const INVALID_BUSINESS_LOCATION_ID = 2; - /** - * The SmartCampaignSetting resource is only applicable for campaigns - * with advertising channel type SMART. - * - * Generated from protobuf enum INVALID_CAMPAIGN = 3; - */ - const INVALID_CAMPAIGN = 3; - /** - * The business name or business location id is required. - * - * Generated from protobuf enum BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING = 4; - */ - const BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING = 4; - /** - * A Smart campaign suggestion request field is required. - * - * Generated from protobuf enum REQUIRED_SUGGESTION_FIELD_MISSING = 5; - */ - const REQUIRED_SUGGESTION_FIELD_MISSING = 5; - /** - * A location list or proximity is required. - * - * Generated from protobuf enum GEO_TARGETS_REQUIRED = 6; - */ - const GEO_TARGETS_REQUIRED = 6; - /** - * The locale could not be determined. - * - * Generated from protobuf enum CANNOT_DETERMINE_SUGGESTION_LOCALE = 7; - */ - const CANNOT_DETERMINE_SUGGESTION_LOCALE = 7; - /** - * The final URL could not be crawled. - * - * Generated from protobuf enum FINAL_URL_NOT_CRAWLABLE = 8; - */ - const FINAL_URL_NOT_CRAWLABLE = 8; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_BUSINESS_LOCATION_ID => 'INVALID_BUSINESS_LOCATION_ID', - self::INVALID_CAMPAIGN => 'INVALID_CAMPAIGN', - self::BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING => 'BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING', - self::REQUIRED_SUGGESTION_FIELD_MISSING => 'REQUIRED_SUGGESTION_FIELD_MISSING', - self::GEO_TARGETS_REQUIRED => 'GEO_TARGETS_REQUIRED', - self::CANNOT_DETERMINE_SUGGESTION_LOCALE => 'CANNOT_DETERMINE_SUGGESTION_LOCALE', - self::FINAL_URL_NOT_CRAWLABLE => 'FINAL_URL_NOT_CRAWLABLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SmartCampaignError::class, \Google\Ads\GoogleAds\V15\Errors\SmartCampaignErrorEnum_SmartCampaignError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/StringFormatErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/StringFormatErrorEnum.php deleted file mode 100644 index ae63e50ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/StringFormatErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.StringFormatErrorEnum - */ -class StringFormatErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\StringFormatError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/StringFormatErrorEnum/StringFormatError.php b/src/Google/Ads/GoogleAds/V15/Errors/StringFormatErrorEnum/StringFormatError.php deleted file mode 100644 index 76d8233e4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/StringFormatErrorEnum/StringFormatError.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.errors.StringFormatErrorEnum.StringFormatError - */ -class StringFormatError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The input string value contains disallowed characters. - * - * Generated from protobuf enum ILLEGAL_CHARS = 2; - */ - const ILLEGAL_CHARS = 2; - /** - * The input string value is invalid for the associated field. - * - * Generated from protobuf enum INVALID_FORMAT = 3; - */ - const INVALID_FORMAT = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ILLEGAL_CHARS => 'ILLEGAL_CHARS', - self::INVALID_FORMAT => 'INVALID_FORMAT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(StringFormatError::class, \Google\Ads\GoogleAds\V15\Errors\StringFormatErrorEnum_StringFormatError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/StringLengthErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/StringLengthErrorEnum.php deleted file mode 100644 index 64f419500..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/StringLengthErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.StringLengthErrorEnum - */ -class StringLengthErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\StringLengthError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/StringLengthErrorEnum/StringLengthError.php b/src/Google/Ads/GoogleAds/V15/Errors/StringLengthErrorEnum/StringLengthError.php deleted file mode 100644 index 7df99641c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/StringLengthErrorEnum/StringLengthError.php +++ /dev/null @@ -1,83 +0,0 @@ -google.ads.googleads.v15.errors.StringLengthErrorEnum.StringLengthError - */ -class StringLengthError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The specified field should have a least one non-whitespace character in - * it. - * - * Generated from protobuf enum EMPTY = 4; - */ - const PBEMPTY = 4; - /** - * Too short. - * - * Generated from protobuf enum TOO_SHORT = 2; - */ - const TOO_SHORT = 2; - /** - * Too long. - * - * Generated from protobuf enum TOO_LONG = 3; - */ - const TOO_LONG = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::PBEMPTY => 'EMPTY', - self::TOO_SHORT => 'TOO_SHORT', - self::TOO_LONG => 'TOO_LONG', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(StringLengthError::class, \Google\Ads\GoogleAds\V15\Errors\StringLengthErrorEnum_StringLengthError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkErrorEnum.php deleted file mode 100644 index 02c78a2d2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.ThirdPartyAppAnalyticsLinkErrorEnum - */ -class ThirdPartyAppAnalyticsLinkErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ThirdPartyAppAnalyticsLinkError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkErrorEnum/ThirdPartyAppAnalyticsLinkError.php b/src/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkErrorEnum/ThirdPartyAppAnalyticsLinkError.php deleted file mode 100644 index 55880deb2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/ThirdPartyAppAnalyticsLinkErrorEnum/ThirdPartyAppAnalyticsLinkError.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.errors.ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkError - */ -class ThirdPartyAppAnalyticsLinkError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The provided analytics provider ID is invalid. - * - * Generated from protobuf enum INVALID_ANALYTICS_PROVIDER_ID = 2; - */ - const INVALID_ANALYTICS_PROVIDER_ID = 2; - /** - * The provided mobile app ID is invalid. - * - * Generated from protobuf enum INVALID_MOBILE_APP_ID = 3; - */ - const INVALID_MOBILE_APP_ID = 3; - /** - * The mobile app corresponding to the provided app ID is not - * active/enabled. - * - * Generated from protobuf enum MOBILE_APP_IS_NOT_ENABLED = 4; - */ - const MOBILE_APP_IS_NOT_ENABLED = 4; - /** - * Regenerating shareable link ID is only allowed on active links - * - * Generated from protobuf enum CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK = 5; - */ - const CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_ANALYTICS_PROVIDER_ID => 'INVALID_ANALYTICS_PROVIDER_ID', - self::INVALID_MOBILE_APP_ID => 'INVALID_MOBILE_APP_ID', - self::MOBILE_APP_IS_NOT_ENABLED => 'MOBILE_APP_IS_NOT_ENABLED', - self::CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK => 'CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ThirdPartyAppAnalyticsLinkError::class, \Google\Ads\GoogleAds\V15\Errors\ThirdPartyAppAnalyticsLinkErrorEnum_ThirdPartyAppAnalyticsLinkError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/TimeZoneErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/TimeZoneErrorEnum.php deleted file mode 100644 index f8e6412ef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/TimeZoneErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.TimeZoneErrorEnum - */ -class TimeZoneErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\TimeZoneError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/TimeZoneErrorEnum/TimeZoneError.php b/src/Google/Ads/GoogleAds/V15/Errors/TimeZoneErrorEnum/TimeZoneError.php deleted file mode 100644 index 3174d538f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/TimeZoneErrorEnum/TimeZoneError.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.errors.TimeZoneErrorEnum.TimeZoneError - */ -class TimeZoneError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Time zone is not valid. - * - * Generated from protobuf enum INVALID_TIME_ZONE = 5; - */ - const INVALID_TIME_ZONE = 5; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_TIME_ZONE => 'INVALID_TIME_ZONE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TimeZoneError::class, \Google\Ads\GoogleAds\V15\Errors\TimeZoneErrorEnum_TimeZoneError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/UrlFieldErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/UrlFieldErrorEnum.php deleted file mode 100644 index c72e3c29a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/UrlFieldErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.UrlFieldErrorEnum - */ -class UrlFieldErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\UrlFieldError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/UrlFieldErrorEnum/UrlFieldError.php b/src/Google/Ads/GoogleAds/V15/Errors/UrlFieldErrorEnum/UrlFieldError.php deleted file mode 100644 index 32f86da07..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/UrlFieldErrorEnum/UrlFieldError.php +++ /dev/null @@ -1,443 +0,0 @@ -google.ads.googleads.v15.errors.UrlFieldErrorEnum.UrlFieldError - */ -class UrlFieldError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * The tracking url template is invalid. - * - * Generated from protobuf enum INVALID_TRACKING_URL_TEMPLATE = 2; - */ - const INVALID_TRACKING_URL_TEMPLATE = 2; - /** - * The tracking url template contains invalid tag. - * - * Generated from protobuf enum INVALID_TAG_IN_TRACKING_URL_TEMPLATE = 3; - */ - const INVALID_TAG_IN_TRACKING_URL_TEMPLATE = 3; - /** - * The tracking url template must contain at least one tag (for example, - * {lpurl}), This applies only to tracking url template associated with - * website ads or product ads. - * - * Generated from protobuf enum MISSING_TRACKING_URL_TEMPLATE_TAG = 4; - */ - const MISSING_TRACKING_URL_TEMPLATE_TAG = 4; - /** - * The tracking url template must start with a valid protocol (or lpurl - * tag). - * - * Generated from protobuf enum MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 5; - */ - const MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 5; - /** - * The tracking url template starts with an invalid protocol. - * - * Generated from protobuf enum INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 6; - */ - const INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 6; - /** - * The tracking url template contains illegal characters. - * - * Generated from protobuf enum MALFORMED_TRACKING_URL_TEMPLATE = 7; - */ - const MALFORMED_TRACKING_URL_TEMPLATE = 7; - /** - * The tracking url template must contain a host name (or lpurl tag). - * - * Generated from protobuf enum MISSING_HOST_IN_TRACKING_URL_TEMPLATE = 8; - */ - const MISSING_HOST_IN_TRACKING_URL_TEMPLATE = 8; - /** - * The tracking url template has an invalid or missing top level domain - * extension. - * - * Generated from protobuf enum INVALID_TLD_IN_TRACKING_URL_TEMPLATE = 9; - */ - const INVALID_TLD_IN_TRACKING_URL_TEMPLATE = 9; - /** - * The tracking url template contains nested occurrences of the same - * conditional tag (for example, {ifmobile:{ifmobile:x}}). - * - * Generated from protobuf enum REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG = 10; - */ - const REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG = 10; - /** - * The final url is invalid. - * - * Generated from protobuf enum INVALID_FINAL_URL = 11; - */ - const INVALID_FINAL_URL = 11; - /** - * The final url contains invalid tag. - * - * Generated from protobuf enum INVALID_TAG_IN_FINAL_URL = 12; - */ - const INVALID_TAG_IN_FINAL_URL = 12; - /** - * The final url contains nested occurrences of the same conditional tag - * (for example, {ifmobile:{ifmobile:x}}). - * - * Generated from protobuf enum REDUNDANT_NESTED_FINAL_URL_TAG = 13; - */ - const REDUNDANT_NESTED_FINAL_URL_TAG = 13; - /** - * The final url must start with a valid protocol. - * - * Generated from protobuf enum MISSING_PROTOCOL_IN_FINAL_URL = 14; - */ - const MISSING_PROTOCOL_IN_FINAL_URL = 14; - /** - * The final url starts with an invalid protocol. - * - * Generated from protobuf enum INVALID_PROTOCOL_IN_FINAL_URL = 15; - */ - const INVALID_PROTOCOL_IN_FINAL_URL = 15; - /** - * The final url contains illegal characters. - * - * Generated from protobuf enum MALFORMED_FINAL_URL = 16; - */ - const MALFORMED_FINAL_URL = 16; - /** - * The final url must contain a host name. - * - * Generated from protobuf enum MISSING_HOST_IN_FINAL_URL = 17; - */ - const MISSING_HOST_IN_FINAL_URL = 17; - /** - * The tracking url template has an invalid or missing top level domain - * extension. - * - * Generated from protobuf enum INVALID_TLD_IN_FINAL_URL = 18; - */ - const INVALID_TLD_IN_FINAL_URL = 18; - /** - * The final mobile url is invalid. - * - * Generated from protobuf enum INVALID_FINAL_MOBILE_URL = 19; - */ - const INVALID_FINAL_MOBILE_URL = 19; - /** - * The final mobile url contains invalid tag. - * - * Generated from protobuf enum INVALID_TAG_IN_FINAL_MOBILE_URL = 20; - */ - const INVALID_TAG_IN_FINAL_MOBILE_URL = 20; - /** - * The final mobile url contains nested occurrences of the same conditional - * tag (for example, {ifmobile:{ifmobile:x}}). - * - * Generated from protobuf enum REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG = 21; - */ - const REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG = 21; - /** - * The final mobile url must start with a valid protocol. - * - * Generated from protobuf enum MISSING_PROTOCOL_IN_FINAL_MOBILE_URL = 22; - */ - const MISSING_PROTOCOL_IN_FINAL_MOBILE_URL = 22; - /** - * The final mobile url starts with an invalid protocol. - * - * Generated from protobuf enum INVALID_PROTOCOL_IN_FINAL_MOBILE_URL = 23; - */ - const INVALID_PROTOCOL_IN_FINAL_MOBILE_URL = 23; - /** - * The final mobile url contains illegal characters. - * - * Generated from protobuf enum MALFORMED_FINAL_MOBILE_URL = 24; - */ - const MALFORMED_FINAL_MOBILE_URL = 24; - /** - * The final mobile url must contain a host name. - * - * Generated from protobuf enum MISSING_HOST_IN_FINAL_MOBILE_URL = 25; - */ - const MISSING_HOST_IN_FINAL_MOBILE_URL = 25; - /** - * The tracking url template has an invalid or missing top level domain - * extension. - * - * Generated from protobuf enum INVALID_TLD_IN_FINAL_MOBILE_URL = 26; - */ - const INVALID_TLD_IN_FINAL_MOBILE_URL = 26; - /** - * The final app url is invalid. - * - * Generated from protobuf enum INVALID_FINAL_APP_URL = 27; - */ - const INVALID_FINAL_APP_URL = 27; - /** - * The final app url contains invalid tag. - * - * Generated from protobuf enum INVALID_TAG_IN_FINAL_APP_URL = 28; - */ - const INVALID_TAG_IN_FINAL_APP_URL = 28; - /** - * The final app url contains nested occurrences of the same conditional tag - * (for example, {ifmobile:{ifmobile:x}}). - * - * Generated from protobuf enum REDUNDANT_NESTED_FINAL_APP_URL_TAG = 29; - */ - const REDUNDANT_NESTED_FINAL_APP_URL_TAG = 29; - /** - * More than one app url found for the same OS type. - * - * Generated from protobuf enum MULTIPLE_APP_URLS_FOR_OSTYPE = 30; - */ - const MULTIPLE_APP_URLS_FOR_OSTYPE = 30; - /** - * The OS type given for an app url is not valid. - * - * Generated from protobuf enum INVALID_OSTYPE = 31; - */ - const INVALID_OSTYPE = 31; - /** - * The protocol given for an app url is not valid. (For example, - * "android-app://") - * - * Generated from protobuf enum INVALID_PROTOCOL_FOR_APP_URL = 32; - */ - const INVALID_PROTOCOL_FOR_APP_URL = 32; - /** - * The package id (app id) given for an app url is not valid. - * - * Generated from protobuf enum INVALID_PACKAGE_ID_FOR_APP_URL = 33; - */ - const INVALID_PACKAGE_ID_FOR_APP_URL = 33; - /** - * The number of url custom parameters for an resource exceeds the maximum - * limit allowed. - * - * Generated from protobuf enum URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT = 34; - */ - const URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT = 34; - /** - * An invalid character appears in the parameter key. - * - * Generated from protobuf enum INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY = 39; - */ - const INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY = 39; - /** - * An invalid character appears in the parameter value. - * - * Generated from protobuf enum INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE = 40; - */ - const INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE = 40; - /** - * The url custom parameter value fails url tag validation. - * - * Generated from protobuf enum INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE = 41; - */ - const INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE = 41; - /** - * The custom parameter contains nested occurrences of the same conditional - * tag (for example, {ifmobile:{ifmobile:x}}). - * - * Generated from protobuf enum REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG = 42; - */ - const REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG = 42; - /** - * The protocol (http:// or https://) is missing. - * - * Generated from protobuf enum MISSING_PROTOCOL = 43; - */ - const MISSING_PROTOCOL = 43; - /** - * Unsupported protocol in URL. Only http and https are supported. - * - * Generated from protobuf enum INVALID_PROTOCOL = 52; - */ - const INVALID_PROTOCOL = 52; - /** - * The url is invalid. - * - * Generated from protobuf enum INVALID_URL = 44; - */ - const INVALID_URL = 44; - /** - * Destination Url is deprecated. - * - * Generated from protobuf enum DESTINATION_URL_DEPRECATED = 45; - */ - const DESTINATION_URL_DEPRECATED = 45; - /** - * The url contains invalid tag. - * - * Generated from protobuf enum INVALID_TAG_IN_URL = 46; - */ - const INVALID_TAG_IN_URL = 46; - /** - * The url must contain at least one tag (for example, {lpurl}). - * - * Generated from protobuf enum MISSING_URL_TAG = 47; - */ - const MISSING_URL_TAG = 47; - /** - * Duplicate url id. - * - * Generated from protobuf enum DUPLICATE_URL_ID = 48; - */ - const DUPLICATE_URL_ID = 48; - /** - * Invalid url id. - * - * Generated from protobuf enum INVALID_URL_ID = 49; - */ - const INVALID_URL_ID = 49; - /** - * The final url suffix cannot begin with '?' or '&' characters and must be - * a valid query string. - * - * Generated from protobuf enum FINAL_URL_SUFFIX_MALFORMED = 50; - */ - const FINAL_URL_SUFFIX_MALFORMED = 50; - /** - * The final url suffix cannot contain {lpurl} related or {ignore} tags. - * - * Generated from protobuf enum INVALID_TAG_IN_FINAL_URL_SUFFIX = 51; - */ - const INVALID_TAG_IN_FINAL_URL_SUFFIX = 51; - /** - * The top level domain is invalid, for example, not a public top level - * domain listed in publicsuffix.org. - * - * Generated from protobuf enum INVALID_TOP_LEVEL_DOMAIN = 53; - */ - const INVALID_TOP_LEVEL_DOMAIN = 53; - /** - * Malformed top level domain in URL. - * - * Generated from protobuf enum MALFORMED_TOP_LEVEL_DOMAIN = 54; - */ - const MALFORMED_TOP_LEVEL_DOMAIN = 54; - /** - * Malformed URL. - * - * Generated from protobuf enum MALFORMED_URL = 55; - */ - const MALFORMED_URL = 55; - /** - * No host found in URL. - * - * Generated from protobuf enum MISSING_HOST = 56; - */ - const MISSING_HOST = 56; - /** - * Custom parameter value cannot be null. - * - * Generated from protobuf enum NULL_CUSTOM_PARAMETER_VALUE = 57; - */ - const NULL_CUSTOM_PARAMETER_VALUE = 57; - /** - * Track parameter is not supported. - * - * Generated from protobuf enum VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 58; - */ - const VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 58; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::INVALID_TRACKING_URL_TEMPLATE => 'INVALID_TRACKING_URL_TEMPLATE', - self::INVALID_TAG_IN_TRACKING_URL_TEMPLATE => 'INVALID_TAG_IN_TRACKING_URL_TEMPLATE', - self::MISSING_TRACKING_URL_TEMPLATE_TAG => 'MISSING_TRACKING_URL_TEMPLATE_TAG', - self::MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE => 'MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE', - self::INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE => 'INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE', - self::MALFORMED_TRACKING_URL_TEMPLATE => 'MALFORMED_TRACKING_URL_TEMPLATE', - self::MISSING_HOST_IN_TRACKING_URL_TEMPLATE => 'MISSING_HOST_IN_TRACKING_URL_TEMPLATE', - self::INVALID_TLD_IN_TRACKING_URL_TEMPLATE => 'INVALID_TLD_IN_TRACKING_URL_TEMPLATE', - self::REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG => 'REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG', - self::INVALID_FINAL_URL => 'INVALID_FINAL_URL', - self::INVALID_TAG_IN_FINAL_URL => 'INVALID_TAG_IN_FINAL_URL', - self::REDUNDANT_NESTED_FINAL_URL_TAG => 'REDUNDANT_NESTED_FINAL_URL_TAG', - self::MISSING_PROTOCOL_IN_FINAL_URL => 'MISSING_PROTOCOL_IN_FINAL_URL', - self::INVALID_PROTOCOL_IN_FINAL_URL => 'INVALID_PROTOCOL_IN_FINAL_URL', - self::MALFORMED_FINAL_URL => 'MALFORMED_FINAL_URL', - self::MISSING_HOST_IN_FINAL_URL => 'MISSING_HOST_IN_FINAL_URL', - self::INVALID_TLD_IN_FINAL_URL => 'INVALID_TLD_IN_FINAL_URL', - self::INVALID_FINAL_MOBILE_URL => 'INVALID_FINAL_MOBILE_URL', - self::INVALID_TAG_IN_FINAL_MOBILE_URL => 'INVALID_TAG_IN_FINAL_MOBILE_URL', - self::REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG => 'REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG', - self::MISSING_PROTOCOL_IN_FINAL_MOBILE_URL => 'MISSING_PROTOCOL_IN_FINAL_MOBILE_URL', - self::INVALID_PROTOCOL_IN_FINAL_MOBILE_URL => 'INVALID_PROTOCOL_IN_FINAL_MOBILE_URL', - self::MALFORMED_FINAL_MOBILE_URL => 'MALFORMED_FINAL_MOBILE_URL', - self::MISSING_HOST_IN_FINAL_MOBILE_URL => 'MISSING_HOST_IN_FINAL_MOBILE_URL', - self::INVALID_TLD_IN_FINAL_MOBILE_URL => 'INVALID_TLD_IN_FINAL_MOBILE_URL', - self::INVALID_FINAL_APP_URL => 'INVALID_FINAL_APP_URL', - self::INVALID_TAG_IN_FINAL_APP_URL => 'INVALID_TAG_IN_FINAL_APP_URL', - self::REDUNDANT_NESTED_FINAL_APP_URL_TAG => 'REDUNDANT_NESTED_FINAL_APP_URL_TAG', - self::MULTIPLE_APP_URLS_FOR_OSTYPE => 'MULTIPLE_APP_URLS_FOR_OSTYPE', - self::INVALID_OSTYPE => 'INVALID_OSTYPE', - self::INVALID_PROTOCOL_FOR_APP_URL => 'INVALID_PROTOCOL_FOR_APP_URL', - self::INVALID_PACKAGE_ID_FOR_APP_URL => 'INVALID_PACKAGE_ID_FOR_APP_URL', - self::URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT => 'URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT', - self::INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY => 'INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY', - self::INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE => 'INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE', - self::INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE => 'INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE', - self::REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG => 'REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG', - self::MISSING_PROTOCOL => 'MISSING_PROTOCOL', - self::INVALID_PROTOCOL => 'INVALID_PROTOCOL', - self::INVALID_URL => 'INVALID_URL', - self::DESTINATION_URL_DEPRECATED => 'DESTINATION_URL_DEPRECATED', - self::INVALID_TAG_IN_URL => 'INVALID_TAG_IN_URL', - self::MISSING_URL_TAG => 'MISSING_URL_TAG', - self::DUPLICATE_URL_ID => 'DUPLICATE_URL_ID', - self::INVALID_URL_ID => 'INVALID_URL_ID', - self::FINAL_URL_SUFFIX_MALFORMED => 'FINAL_URL_SUFFIX_MALFORMED', - self::INVALID_TAG_IN_FINAL_URL_SUFFIX => 'INVALID_TAG_IN_FINAL_URL_SUFFIX', - self::INVALID_TOP_LEVEL_DOMAIN => 'INVALID_TOP_LEVEL_DOMAIN', - self::MALFORMED_TOP_LEVEL_DOMAIN => 'MALFORMED_TOP_LEVEL_DOMAIN', - self::MALFORMED_URL => 'MALFORMED_URL', - self::MISSING_HOST => 'MISSING_HOST', - self::NULL_CUSTOM_PARAMETER_VALUE => 'NULL_CUSTOM_PARAMETER_VALUE', - self::VALUE_TRACK_PARAMETER_NOT_SUPPORTED => 'VALUE_TRACK_PARAMETER_NOT_SUPPORTED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UrlFieldError::class, \Google\Ads\GoogleAds\V15\Errors\UrlFieldErrorEnum_UrlFieldError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/UserDataErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/UserDataErrorEnum.php deleted file mode 100644 index 0d93c87e0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/UserDataErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.UserDataErrorEnum - */ -class UserDataErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\UserDataError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/UserDataErrorEnum/UserDataError.php b/src/Google/Ads/GoogleAds/V15/Errors/UserDataErrorEnum/UserDataError.php deleted file mode 100644 index e29debd4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/UserDataErrorEnum/UserDataError.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.errors.UserDataErrorEnum.UserDataError - */ -class UserDataError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Customer is not allowed to perform operations related to Customer Match. - * - * Generated from protobuf enum OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED = 2; - */ - const OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED = 2; - /** - * Maximum number of user identifiers allowed for each request is 100 and - * for each operation is 20. - * - * Generated from protobuf enum TOO_MANY_USER_IDENTIFIERS = 3; - */ - const TOO_MANY_USER_IDENTIFIERS = 3; - /** - * Current user list is not applicable for the given customer. - * - * Generated from protobuf enum USER_LIST_NOT_APPLICABLE = 4; - */ - const USER_LIST_NOT_APPLICABLE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED => 'OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED', - self::TOO_MANY_USER_IDENTIFIERS => 'TOO_MANY_USER_IDENTIFIERS', - self::USER_LIST_NOT_APPLICABLE => 'USER_LIST_NOT_APPLICABLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserDataError::class, \Google\Ads\GoogleAds\V15\Errors\UserDataErrorEnum_UserDataError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/UserListErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/UserListErrorEnum.php deleted file mode 100644 index 5550e7ff3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/UserListErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.UserListErrorEnum - */ -class UserListErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\UserListError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/UserListErrorEnum/UserListError.php b/src/Google/Ads/GoogleAds/V15/Errors/UserListErrorEnum/UserListError.php deleted file mode 100644 index 4f6b81493..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/UserListErrorEnum/UserListError.php +++ /dev/null @@ -1,296 +0,0 @@ -google.ads.googleads.v15.errors.UserListErrorEnum.UserListError - */ -class UserListError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Creating and updating external remarketing user lists is not supported. - * - * Generated from protobuf enum EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2; - */ - const EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2; - /** - * Concrete type of user list is required. - * - * Generated from protobuf enum CONCRETE_TYPE_REQUIRED = 3; - */ - const CONCRETE_TYPE_REQUIRED = 3; - /** - * Creating/updating user list conversion types requires specifying the - * conversion type Id. - * - * Generated from protobuf enum CONVERSION_TYPE_ID_REQUIRED = 4; - */ - const CONVERSION_TYPE_ID_REQUIRED = 4; - /** - * Remarketing user list cannot have duplicate conversion types. - * - * Generated from protobuf enum DUPLICATE_CONVERSION_TYPES = 5; - */ - const DUPLICATE_CONVERSION_TYPES = 5; - /** - * Conversion type is invalid/unknown. - * - * Generated from protobuf enum INVALID_CONVERSION_TYPE = 6; - */ - const INVALID_CONVERSION_TYPE = 6; - /** - * User list description is empty or invalid. - * - * Generated from protobuf enum INVALID_DESCRIPTION = 7; - */ - const INVALID_DESCRIPTION = 7; - /** - * User list name is empty or invalid. - * - * Generated from protobuf enum INVALID_NAME = 8; - */ - const INVALID_NAME = 8; - /** - * Type of the UserList does not match. - * - * Generated from protobuf enum INVALID_TYPE = 9; - */ - const INVALID_TYPE = 9; - /** - * Embedded logical user lists are not allowed. - * - * Generated from protobuf enum CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10; - */ - const CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10; - /** - * User list rule operand is invalid. - * - * Generated from protobuf enum INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11; - */ - const INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11; - /** - * Name is already being used for another user list for the account. - * - * Generated from protobuf enum NAME_ALREADY_USED = 12; - */ - const NAME_ALREADY_USED = 12; - /** - * Name is required when creating a new conversion type. - * - * Generated from protobuf enum NEW_CONVERSION_TYPE_NAME_REQUIRED = 13; - */ - const NEW_CONVERSION_TYPE_NAME_REQUIRED = 13; - /** - * The given conversion type name has been used. - * - * Generated from protobuf enum CONVERSION_TYPE_NAME_ALREADY_USED = 14; - */ - const CONVERSION_TYPE_NAME_ALREADY_USED = 14; - /** - * Only an owner account may edit a user list. - * - * Generated from protobuf enum OWNERSHIP_REQUIRED_FOR_SET = 15; - */ - const OWNERSHIP_REQUIRED_FOR_SET = 15; - /** - * Creating user list without setting type in oneof user_list field, or - * creating/updating read-only user list types is not allowed. - * - * Generated from protobuf enum USER_LIST_MUTATE_NOT_SUPPORTED = 16; - */ - const USER_LIST_MUTATE_NOT_SUPPORTED = 16; - /** - * Rule is invalid. - * - * Generated from protobuf enum INVALID_RULE = 17; - */ - const INVALID_RULE = 17; - /** - * The specified date range is empty. - * - * Generated from protobuf enum INVALID_DATE_RANGE = 27; - */ - const INVALID_DATE_RANGE = 27; - /** - * A UserList which is privacy sensitive or legal rejected cannot be mutated - * by external users. - * - * Generated from protobuf enum CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28; - */ - const CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28; - /** - * Maximum number of rulebased user lists a customer can have. - * - * Generated from protobuf enum MAX_NUM_RULEBASED_USERLISTS = 29; - */ - const MAX_NUM_RULEBASED_USERLISTS = 29; - /** - * BasicUserList's billable record field cannot be modified once it is set. - * - * Generated from protobuf enum CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30; - */ - const CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30; - /** - * crm_based_user_list.app_id field must be set when upload_key_type is - * MOBILE_ADVERTISING_ID. - * - * Generated from protobuf enum APP_ID_NOT_SET = 31; - */ - const APP_ID_NOT_SET = 31; - /** - * Name of the user list is reserved for system generated lists and cannot - * be used. - * - * Generated from protobuf enum USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32; - */ - const USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32; - /** - * Advertiser needs to be on the allow-list to use remarketing lists created - * from advertiser uploaded data (for example, Customer Match lists). - * - * Generated from protobuf enum ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37; - */ - const ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37; - /** - * The provided rule_type is not supported for the user list. - * - * Generated from protobuf enum RULE_TYPE_IS_NOT_SUPPORTED = 34; - */ - const RULE_TYPE_IS_NOT_SUPPORTED = 34; - /** - * Similar user list cannot be used as a logical user list operand. - * - * Generated from protobuf enum CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35; - */ - const CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35; - /** - * Logical user list should not have a mix of CRM based user list and other - * types of lists in its rules. - * - * Generated from protobuf enum CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36; - */ - const CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36; - /** - * crm_based_user_list.app_id field can only be set when upload_key_type is - * MOBILE_ADVERTISING_ID. - * - * Generated from protobuf enum APP_ID_NOT_ALLOWED = 39; - */ - const APP_ID_NOT_ALLOWED = 39; - /** - * Google system generated user lists cannot be mutated. - * - * Generated from protobuf enum CANNOT_MUTATE_SYSTEM_LIST = 40; - */ - const CANNOT_MUTATE_SYSTEM_LIST = 40; - /** - * The mobile app associated with the remarketing list is sensitive. - * - * Generated from protobuf enum MOBILE_APP_IS_SENSITIVE = 41; - */ - const MOBILE_APP_IS_SENSITIVE = 41; - /** - * One or more given seed lists do not exist. - * - * Generated from protobuf enum SEED_LIST_DOES_NOT_EXIST = 42; - */ - const SEED_LIST_DOES_NOT_EXIST = 42; - /** - * One or more given seed lists are not accessible to the current user. - * - * Generated from protobuf enum INVALID_SEED_LIST_ACCESS_REASON = 43; - */ - const INVALID_SEED_LIST_ACCESS_REASON = 43; - /** - * One or more given seed lists have an unsupported type. - * - * Generated from protobuf enum INVALID_SEED_LIST_TYPE = 44; - */ - const INVALID_SEED_LIST_TYPE = 44; - /** - * One or more invalid country codes are added to Lookalike UserList. - * - * Generated from protobuf enum INVALID_COUNTRY_CODES = 45; - */ - const INVALID_COUNTRY_CODES = 45; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED => 'EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED', - self::CONCRETE_TYPE_REQUIRED => 'CONCRETE_TYPE_REQUIRED', - self::CONVERSION_TYPE_ID_REQUIRED => 'CONVERSION_TYPE_ID_REQUIRED', - self::DUPLICATE_CONVERSION_TYPES => 'DUPLICATE_CONVERSION_TYPES', - self::INVALID_CONVERSION_TYPE => 'INVALID_CONVERSION_TYPE', - self::INVALID_DESCRIPTION => 'INVALID_DESCRIPTION', - self::INVALID_NAME => 'INVALID_NAME', - self::INVALID_TYPE => 'INVALID_TYPE', - self::CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND => 'CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND', - self::INVALID_USER_LIST_LOGICAL_RULE_OPERAND => 'INVALID_USER_LIST_LOGICAL_RULE_OPERAND', - self::NAME_ALREADY_USED => 'NAME_ALREADY_USED', - self::NEW_CONVERSION_TYPE_NAME_REQUIRED => 'NEW_CONVERSION_TYPE_NAME_REQUIRED', - self::CONVERSION_TYPE_NAME_ALREADY_USED => 'CONVERSION_TYPE_NAME_ALREADY_USED', - self::OWNERSHIP_REQUIRED_FOR_SET => 'OWNERSHIP_REQUIRED_FOR_SET', - self::USER_LIST_MUTATE_NOT_SUPPORTED => 'USER_LIST_MUTATE_NOT_SUPPORTED', - self::INVALID_RULE => 'INVALID_RULE', - self::INVALID_DATE_RANGE => 'INVALID_DATE_RANGE', - self::CAN_NOT_MUTATE_SENSITIVE_USERLIST => 'CAN_NOT_MUTATE_SENSITIVE_USERLIST', - self::MAX_NUM_RULEBASED_USERLISTS => 'MAX_NUM_RULEBASED_USERLISTS', - self::CANNOT_MODIFY_BILLABLE_RECORD_COUNT => 'CANNOT_MODIFY_BILLABLE_RECORD_COUNT', - self::APP_ID_NOT_SET => 'APP_ID_NOT_SET', - self::USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST => 'USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST', - self::ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA => 'ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA', - self::RULE_TYPE_IS_NOT_SUPPORTED => 'RULE_TYPE_IS_NOT_SUPPORTED', - self::CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND => 'CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND', - self::CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS => 'CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS', - self::APP_ID_NOT_ALLOWED => 'APP_ID_NOT_ALLOWED', - self::CANNOT_MUTATE_SYSTEM_LIST => 'CANNOT_MUTATE_SYSTEM_LIST', - self::MOBILE_APP_IS_SENSITIVE => 'MOBILE_APP_IS_SENSITIVE', - self::SEED_LIST_DOES_NOT_EXIST => 'SEED_LIST_DOES_NOT_EXIST', - self::INVALID_SEED_LIST_ACCESS_REASON => 'INVALID_SEED_LIST_ACCESS_REASON', - self::INVALID_SEED_LIST_TYPE => 'INVALID_SEED_LIST_TYPE', - self::INVALID_COUNTRY_CODES => 'INVALID_COUNTRY_CODES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UserListError::class, \Google\Ads\GoogleAds\V15\Errors\UserListErrorEnum_UserListError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationErrorEnum.php b/src/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationErrorEnum.php deleted file mode 100644 index 2a71d46d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationErrorEnum.php +++ /dev/null @@ -1,33 +0,0 @@ -google.ads.googleads.v15.errors.YoutubeVideoRegistrationErrorEnum - */ -class YoutubeVideoRegistrationErrorEnum extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\YoutubeVideoRegistrationError::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationErrorEnum/YoutubeVideoRegistrationError.php b/src/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationErrorEnum/YoutubeVideoRegistrationError.php deleted file mode 100644 index 3dc0fd546..000000000 --- a/src/Google/Ads/GoogleAds/V15/Errors/YoutubeVideoRegistrationErrorEnum/YoutubeVideoRegistrationError.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError - */ -class YoutubeVideoRegistrationError -{ - /** - * Enum unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * The received error code is not known in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Video to be registered wasn't found. - * - * Generated from protobuf enum VIDEO_NOT_FOUND = 2; - */ - const VIDEO_NOT_FOUND = 2; - /** - * Video to be registered is not accessible (for example, private). - * - * Generated from protobuf enum VIDEO_NOT_ACCESSIBLE = 3; - */ - const VIDEO_NOT_ACCESSIBLE = 3; - /** - * Video to be registered is not eligible (for example, mature content). - * - * Generated from protobuf enum VIDEO_NOT_ELIGIBLE = 4; - */ - const VIDEO_NOT_ELIGIBLE = 4; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::VIDEO_NOT_FOUND => 'VIDEO_NOT_FOUND', - self::VIDEO_NOT_ACCESSIBLE => 'VIDEO_NOT_ACCESSIBLE', - self::VIDEO_NOT_ELIGIBLE => 'VIDEO_NOT_ELIGIBLE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(YoutubeVideoRegistrationError::class, \Google\Ads\GoogleAds\V15\Errors\YoutubeVideoRegistrationErrorEnum_YoutubeVideoRegistrationError::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy.php b/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy.php deleted file mode 100644 index db129343f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy.php +++ /dev/null @@ -1,478 +0,0 @@ -google.ads.googleads.v15.resources.AccessibleBiddingStrategy - */ -class AccessibleBiddingStrategy extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the accessible bidding strategy. - * AccessibleBiddingStrategy resource names have the form: - * `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the bidding strategy. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. The name of the bidding strategy. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. The type of the bidding strategy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. The ID of the Customer which owns the bidding strategy. - * - * Generated from protobuf field int64 owner_customer_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $owner_customer_id = 0; - /** - * Output only. descriptive_name of the Customer which owns the bidding - * strategy. - * - * Generated from protobuf field string owner_descriptive_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $owner_descriptive_name = ''; - protected $scheme; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the accessible bidding strategy. - * AccessibleBiddingStrategy resource names have the form: - * `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` - * @type int|string $id - * Output only. The ID of the bidding strategy. - * @type string $name - * Output only. The name of the bidding strategy. - * @type int $type - * Output only. The type of the bidding strategy. - * @type int|string $owner_customer_id - * Output only. The ID of the Customer which owns the bidding strategy. - * @type string $owner_descriptive_name - * Output only. descriptive_name of the Customer which owns the bidding - * strategy. - * @type \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\MaximizeConversionValue $maximize_conversion_value - * Output only. An automated bidding strategy to help get the most - * conversion value for your campaigns while spending your budget. - * @type \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\MaximizeConversions $maximize_conversions - * Output only. An automated bidding strategy to help get the most - * conversions for your campaigns while spending your budget. - * @type \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetCpa $target_cpa - * Output only. A bidding strategy that sets bids to help get as many - * conversions as possible at the target cost-per-acquisition (CPA) you set. - * @type \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetImpressionShare $target_impression_share - * Output only. A bidding strategy that automatically optimizes towards a - * chosen percentage of impressions. - * @type \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetRoas $target_roas - * Output only. A bidding strategy that helps you maximize revenue while - * averaging a specific target Return On Ad Spend (ROAS). - * @type \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetSpend $target_spend - * Output only. A bid strategy that sets your bids to help get as many - * clicks as possible within your budget. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the accessible bidding strategy. - * AccessibleBiddingStrategy resource names have the form: - * `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the accessible bidding strategy. - * AccessibleBiddingStrategy resource names have the form: - * `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the bidding strategy. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the bidding strategy. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The name of the bidding strategy. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The name of the bidding strategy. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The type of the bidding strategy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the bidding strategy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingStrategyTypeEnum\BiddingStrategyType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The ID of the Customer which owns the bidding strategy. - * - * Generated from protobuf field int64 owner_customer_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getOwnerCustomerId() - { - return $this->owner_customer_id; - } - - /** - * Output only. The ID of the Customer which owns the bidding strategy. - * - * Generated from protobuf field int64 owner_customer_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setOwnerCustomerId($var) - { - GPBUtil::checkInt64($var); - $this->owner_customer_id = $var; - - return $this; - } - - /** - * Output only. descriptive_name of the Customer which owns the bidding - * strategy. - * - * Generated from protobuf field string owner_descriptive_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOwnerDescriptiveName() - { - return $this->owner_descriptive_name; - } - - /** - * Output only. descriptive_name of the Customer which owns the bidding - * strategy. - * - * Generated from protobuf field string owner_descriptive_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOwnerDescriptiveName($var) - { - GPBUtil::checkString($var, True); - $this->owner_descriptive_name = $var; - - return $this; - } - - /** - * Output only. An automated bidding strategy to help get the most - * conversion value for your campaigns while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.MaximizeConversionValue maximize_conversion_value = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\MaximizeConversionValue|null - */ - public function getMaximizeConversionValue() - { - return $this->readOneof(7); - } - - public function hasMaximizeConversionValue() - { - return $this->hasOneof(7); - } - - /** - * Output only. An automated bidding strategy to help get the most - * conversion value for your campaigns while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.MaximizeConversionValue maximize_conversion_value = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\MaximizeConversionValue $var - * @return $this - */ - public function setMaximizeConversionValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\MaximizeConversionValue::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Output only. An automated bidding strategy to help get the most - * conversions for your campaigns while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.MaximizeConversions maximize_conversions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\MaximizeConversions|null - */ - public function getMaximizeConversions() - { - return $this->readOneof(8); - } - - public function hasMaximizeConversions() - { - return $this->hasOneof(8); - } - - /** - * Output only. An automated bidding strategy to help get the most - * conversions for your campaigns while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.MaximizeConversions maximize_conversions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\MaximizeConversions $var - * @return $this - */ - public function setMaximizeConversions($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\MaximizeConversions::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Output only. A bidding strategy that sets bids to help get as many - * conversions as possible at the target cost-per-acquisition (CPA) you set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetCpa target_cpa = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetCpa|null - */ - public function getTargetCpa() - { - return $this->readOneof(9); - } - - public function hasTargetCpa() - { - return $this->hasOneof(9); - } - - /** - * Output only. A bidding strategy that sets bids to help get as many - * conversions as possible at the target cost-per-acquisition (CPA) you set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetCpa target_cpa = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetCpa $var - * @return $this - */ - public function setTargetCpa($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetCpa::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Output only. A bidding strategy that automatically optimizes towards a - * chosen percentage of impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetImpressionShare target_impression_share = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetImpressionShare|null - */ - public function getTargetImpressionShare() - { - return $this->readOneof(10); - } - - public function hasTargetImpressionShare() - { - return $this->hasOneof(10); - } - - /** - * Output only. A bidding strategy that automatically optimizes towards a - * chosen percentage of impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetImpressionShare target_impression_share = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetImpressionShare $var - * @return $this - */ - public function setTargetImpressionShare($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetImpressionShare::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Output only. A bidding strategy that helps you maximize revenue while - * averaging a specific target Return On Ad Spend (ROAS). - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetRoas target_roas = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetRoas|null - */ - public function getTargetRoas() - { - return $this->readOneof(11); - } - - public function hasTargetRoas() - { - return $this->hasOneof(11); - } - - /** - * Output only. A bidding strategy that helps you maximize revenue while - * averaging a specific target Return On Ad Spend (ROAS). - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetRoas target_roas = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetRoas $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetRoas::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Output only. A bid strategy that sets your bids to help get as many - * clicks as possible within your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetSpend target_spend = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetSpend|null - */ - public function getTargetSpend() - { - return $this->readOneof(12); - } - - public function hasTargetSpend() - { - return $this->hasOneof(12); - } - - /** - * Output only. A bid strategy that sets your bids to help get as many - * clicks as possible within your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetSpend target_spend = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetSpend $var - * @return $this - */ - public function setTargetSpend($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy\TargetSpend::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * @return string - */ - public function getScheme() - { - return $this->whichOneof("scheme"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/MaximizeConversionValue.php b/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/MaximizeConversionValue.php deleted file mode 100644 index 18193f981..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/MaximizeConversionValue.php +++ /dev/null @@ -1,87 +0,0 @@ -google.ads.googleads.v15.resources.AccessibleBiddingStrategy.MaximizeConversionValue - */ -class MaximizeConversionValue extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The target return on ad spend (ROAS) option. If set, the bid - * strategy will maximize revenue while averaging the target return on ad - * spend. If the target ROAS is high, the bid strategy may not be able to - * spend the full budget. If the target ROAS is not set, the bid strategy - * will aim to achieve the highest possible ROAS for the budget. - * - * Generated from protobuf field double target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_roas = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_roas - * Output only. The target return on ad spend (ROAS) option. If set, the bid - * strategy will maximize revenue while averaging the target return on ad - * spend. If the target ROAS is high, the bid strategy may not be able to - * spend the full budget. If the target ROAS is not set, the bid strategy - * will aim to achieve the highest possible ROAS for the budget. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The target return on ad spend (ROAS) option. If set, the bid - * strategy will maximize revenue while averaging the target return on ad - * spend. If the target ROAS is high, the bid strategy may not be able to - * spend the full budget. If the target ROAS is not set, the bid strategy - * will aim to achieve the highest possible ROAS for the budget. - * - * Generated from protobuf field double target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getTargetRoas() - { - return $this->target_roas; - } - - /** - * Output only. The target return on ad spend (ROAS) option. If set, the bid - * strategy will maximize revenue while averaging the target return on ad - * spend. If the target ROAS is high, the bid strategy may not be able to - * spend the full budget. If the target ROAS is not set, the bid strategy - * will aim to achieve the highest possible ROAS for the budget. - * - * Generated from protobuf field double target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->target_roas = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MaximizeConversionValue::class, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy_MaximizeConversionValue::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/MaximizeConversions.php b/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/MaximizeConversions.php deleted file mode 100644 index d6e517610..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/MaximizeConversions.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.AccessibleBiddingStrategy.MaximizeConversions - */ -class MaximizeConversions extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The target cost per acquisition (CPA) option. This is the - * average amount that you would like to spend per acquisition. - * - * Generated from protobuf field int64 target_cpa_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_cpa_micros = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $target_cpa_micros - * Output only. The target cost per acquisition (CPA) option. This is the - * average amount that you would like to spend per acquisition. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The target cost per acquisition (CPA) option. This is the - * average amount that you would like to spend per acquisition. - * - * Generated from protobuf field int64 target_cpa_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTargetCpaMicros() - { - return $this->target_cpa_micros; - } - - /** - * Output only. The target cost per acquisition (CPA) option. This is the - * average amount that you would like to spend per acquisition. - * - * Generated from protobuf field int64 target_cpa_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpa_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MaximizeConversions::class, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy_MaximizeConversions::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetCpa.php b/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetCpa.php deleted file mode 100644 index b0130260f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetCpa.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetCpa - */ -class TargetCpa extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Average CPA target. - * This target should be greater than or equal to minimum billable unit - * based on the currency for the account. - * - * Generated from protobuf field optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_cpa_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $target_cpa_micros - * Output only. Average CPA target. - * This target should be greater than or equal to minimum billable unit - * based on the currency for the account. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Average CPA target. - * This target should be greater than or equal to minimum billable unit - * based on the currency for the account. - * - * Generated from protobuf field optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTargetCpaMicros() - { - return isset($this->target_cpa_micros) ? $this->target_cpa_micros : 0; - } - - public function hasTargetCpaMicros() - { - return isset($this->target_cpa_micros); - } - - public function clearTargetCpaMicros() - { - unset($this->target_cpa_micros); - } - - /** - * Output only. Average CPA target. - * This target should be greater than or equal to minimum billable unit - * based on the currency for the account. - * - * Generated from protobuf field optional int64 target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpa_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetCpa::class, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy_TargetCpa::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetImpressionShare.php b/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetImpressionShare.php deleted file mode 100644 index 52eb2b327..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetImpressionShare.php +++ /dev/null @@ -1,172 +0,0 @@ -google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetImpressionShare - */ -class TargetImpressionShare extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The targeted location on the search results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $location = 0; - /** - * The chosen fraction of ads to be shown in the targeted location in - * micros. For example, 1% equals 10,000. - * - * Generated from protobuf field optional int64 location_fraction_micros = 2; - */ - protected $location_fraction_micros = null; - /** - * Output only. The highest CPC bid the automated bidding system is - * permitted to specify. This is a required field entered by the advertiser - * that sets the ceiling and specified in local micros. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $cpc_bid_ceiling_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $location - * Output only. The targeted location on the search results page. - * @type int|string $location_fraction_micros - * The chosen fraction of ads to be shown in the targeted location in - * micros. For example, 1% equals 10,000. - * @type int|string $cpc_bid_ceiling_micros - * Output only. The highest CPC bid the automated bidding system is - * permitted to specify. This is a required field entered by the advertiser - * that sets the ceiling and specified in local micros. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The targeted location on the search results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLocation() - { - return $this->location; - } - - /** - * Output only. The targeted location on the search results page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLocation($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TargetImpressionShareLocationEnum\TargetImpressionShareLocation::class); - $this->location = $var; - - return $this; - } - - /** - * The chosen fraction of ads to be shown in the targeted location in - * micros. For example, 1% equals 10,000. - * - * Generated from protobuf field optional int64 location_fraction_micros = 2; - * @return int|string - */ - public function getLocationFractionMicros() - { - return isset($this->location_fraction_micros) ? $this->location_fraction_micros : 0; - } - - public function hasLocationFractionMicros() - { - return isset($this->location_fraction_micros); - } - - public function clearLocationFractionMicros() - { - unset($this->location_fraction_micros); - } - - /** - * The chosen fraction of ads to be shown in the targeted location in - * micros. For example, 1% equals 10,000. - * - * Generated from protobuf field optional int64 location_fraction_micros = 2; - * @param int|string $var - * @return $this - */ - public function setLocationFractionMicros($var) - { - GPBUtil::checkInt64($var); - $this->location_fraction_micros = $var; - - return $this; - } - - /** - * Output only. The highest CPC bid the automated bidding system is - * permitted to specify. This is a required field entered by the advertiser - * that sets the ceiling and specified in local micros. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros) ? $this->cpc_bid_ceiling_micros : 0; - } - - public function hasCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros); - } - - public function clearCpcBidCeilingMicros() - { - unset($this->cpc_bid_ceiling_micros); - } - - /** - * Output only. The highest CPC bid the automated bidding system is - * permitted to specify. This is a required field entered by the advertiser - * that sets the ceiling and specified in local micros. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetImpressionShare::class, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy_TargetImpressionShare::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetRoas.php b/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetRoas.php deleted file mode 100644 index 7868c2798..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetRoas.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetRoas - */ -class TargetRoas extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The chosen revenue (based on conversion data) per unit of - * spend. - * - * Generated from protobuf field optional double target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_roas = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_roas - * Output only. The chosen revenue (based on conversion data) per unit of - * spend. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The chosen revenue (based on conversion data) per unit of - * spend. - * - * Generated from protobuf field optional double target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getTargetRoas() - { - return isset($this->target_roas) ? $this->target_roas : 0.0; - } - - public function hasTargetRoas() - { - return isset($this->target_roas); - } - - public function clearTargetRoas() - { - unset($this->target_roas); - } - - /** - * Output only. The chosen revenue (based on conversion data) per unit of - * spend. - * - * Generated from protobuf field optional double target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->target_roas = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetRoas::class, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy_TargetRoas::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetSpend.php b/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetSpend.php deleted file mode 100644 index af423e33a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccessibleBiddingStrategy/TargetSpend.php +++ /dev/null @@ -1,160 +0,0 @@ -google.ads.googleads.v15.resources.AccessibleBiddingStrategy.TargetSpend - */ -class TargetSpend extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The spend target under which to maximize clicks. - * A TargetSpend bidder will attempt to spend the smaller of this value - * or the natural throttling spend amount. - * If not specified, the budget is used as the spend target. - * This field is deprecated and should no longer be used. See - * https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - * for details. - * - * Generated from protobuf field optional int64 target_spend_micros = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @deprecated - */ - protected $target_spend_micros = null; - /** - * Output only. Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $cpc_bid_ceiling_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $target_spend_micros - * Output only. The spend target under which to maximize clicks. - * A TargetSpend bidder will attempt to spend the smaller of this value - * or the natural throttling spend amount. - * If not specified, the budget is used as the spend target. - * This field is deprecated and should no longer be used. See - * https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - * for details. - * @type int|string $cpc_bid_ceiling_micros - * Output only. Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The spend target under which to maximize clicks. - * A TargetSpend bidder will attempt to spend the smaller of this value - * or the natural throttling spend amount. - * If not specified, the budget is used as the spend target. - * This field is deprecated and should no longer be used. See - * https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - * for details. - * - * Generated from protobuf field optional int64 target_spend_micros = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - * @deprecated - */ - public function getTargetSpendMicros() - { - @trigger_error('target_spend_micros is deprecated.', E_USER_DEPRECATED); - return isset($this->target_spend_micros) ? $this->target_spend_micros : 0; - } - - public function hasTargetSpendMicros() - { - @trigger_error('target_spend_micros is deprecated.', E_USER_DEPRECATED); - return isset($this->target_spend_micros); - } - - public function clearTargetSpendMicros() - { - @trigger_error('target_spend_micros is deprecated.', E_USER_DEPRECATED); - unset($this->target_spend_micros); - } - - /** - * Output only. The spend target under which to maximize clicks. - * A TargetSpend bidder will attempt to spend the smaller of this value - * or the natural throttling spend amount. - * If not specified, the budget is used as the spend target. - * This field is deprecated and should no longer be used. See - * https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - * for details. - * - * Generated from protobuf field optional int64 target_spend_micros = 1 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - * @deprecated - */ - public function setTargetSpendMicros($var) - { - @trigger_error('target_spend_micros is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkInt64($var); - $this->target_spend_micros = $var; - - return $this; - } - - /** - * Output only. Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros) ? $this->cpc_bid_ceiling_micros : 0; - } - - public function hasCpcBidCeilingMicros() - { - return isset($this->cpc_bid_ceiling_micros); - } - - public function clearCpcBidCeilingMicros() - { - unset($this->cpc_bid_ceiling_micros); - } - - /** - * Output only. Maximum bid limit that can be set by the bid strategy. - * The limit applies to all keywords managed by the strategy. - * - * Generated from protobuf field optional int64 cpc_bid_ceiling_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_ceiling_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetSpend::class, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy_TargetSpend::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccountBudget.php b/src/Google/Ads/GoogleAds/V15/Resources/AccountBudget.php deleted file mode 100644 index 2259ebd2d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccountBudget.php +++ /dev/null @@ -1,1021 +0,0 @@ -google.ads.googleads.v15.resources.AccountBudget - */ -class AccountBudget extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the account-level budget. - * AccountBudget resource names have the form: - * `customers/{customer_id}/accountBudgets/{account_budget_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the account-level budget. - * - * Generated from protobuf field optional int64 id = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The resource name of the billing setup associated with this - * account-level budget. BillingSetup resource names have the form: - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $billing_setup = null; - /** - * Output only. The status of this account-level budget. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. The name of the account-level budget. - * - * Generated from protobuf field optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The proposed start time of the account-level budget in - * yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - * this is the time of request. - * - * Generated from protobuf field optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $proposed_start_date_time = null; - /** - * Output only. The approved start time of the account-level budget in - * yyyy-MM-dd HH:mm:ss format. - * For example, if a new budget is approved after the proposed start time, - * the approved start time is the time of approval. - * - * Generated from protobuf field optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approved_start_date_time = null; - /** - * Output only. The total adjustments amount. - * An example of an adjustment is courtesy credits. - * - * Generated from protobuf field int64 total_adjustments_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $total_adjustments_micros = 0; - /** - * Output only. The value of Ads that have been served, in micros. - * This includes overdelivery costs, in which case a credit might be - * automatically applied to the budget (see total_adjustments_micros). - * - * Generated from protobuf field int64 amount_served_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $amount_served_micros = 0; - /** - * Output only. A purchase order number is a value that helps users reference - * this budget in their monthly invoices. - * - * Generated from protobuf field optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $purchase_order_number = null; - /** - * Output only. Notes associated with the budget. - * - * Generated from protobuf field optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $notes = null; - /** - * Output only. The pending proposal to modify this budget, if applicable. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $pending_proposal = null; - protected $proposed_end_time; - protected $approved_end_time; - protected $proposed_spending_limit; - protected $approved_spending_limit; - protected $adjusted_spending_limit; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the account-level budget. - * AccountBudget resource names have the form: - * `customers/{customer_id}/accountBudgets/{account_budget_id}` - * @type int|string $id - * Output only. The ID of the account-level budget. - * @type string $billing_setup - * Output only. The resource name of the billing setup associated with this - * account-level budget. BillingSetup resource names have the form: - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * @type int $status - * Output only. The status of this account-level budget. - * @type string $name - * Output only. The name of the account-level budget. - * @type string $proposed_start_date_time - * Output only. The proposed start time of the account-level budget in - * yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - * this is the time of request. - * @type string $approved_start_date_time - * Output only. The approved start time of the account-level budget in - * yyyy-MM-dd HH:mm:ss format. - * For example, if a new budget is approved after the proposed start time, - * the approved start time is the time of approval. - * @type int|string $total_adjustments_micros - * Output only. The total adjustments amount. - * An example of an adjustment is courtesy credits. - * @type int|string $amount_served_micros - * Output only. The value of Ads that have been served, in micros. - * This includes overdelivery costs, in which case a credit might be - * automatically applied to the budget (see total_adjustments_micros). - * @type string $purchase_order_number - * Output only. A purchase order number is a value that helps users reference - * this budget in their monthly invoices. - * @type string $notes - * Output only. Notes associated with the budget. - * @type \Google\Ads\GoogleAds\V15\Resources\AccountBudget\PendingAccountBudgetProposal $pending_proposal - * Output only. The pending proposal to modify this budget, if applicable. - * @type string $proposed_end_date_time - * Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. - * @type int $proposed_end_time_type - * Output only. The proposed end time as a well-defined type, for example, - * FOREVER. - * @type string $approved_end_date_time - * Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. - * @type int $approved_end_time_type - * Output only. The approved end time as a well-defined type, for example, - * FOREVER. - * @type int|string $proposed_spending_limit_micros - * Output only. The proposed spending limit in micros. One million is - * equivalent to one unit. - * @type int $proposed_spending_limit_type - * Output only. The proposed spending limit as a well-defined type, for - * example, INFINITE. - * @type int|string $approved_spending_limit_micros - * Output only. The approved spending limit in micros. One million is - * equivalent to one unit. This will only be populated if the proposed - * spending limit is finite, and will always be greater than or equal to the - * proposed spending limit. - * @type int $approved_spending_limit_type - * Output only. The approved spending limit as a well-defined type, for - * example, INFINITE. This will only be populated if the approved spending - * limit is INFINITE. - * @type int|string $adjusted_spending_limit_micros - * Output only. The adjusted spending limit in micros. One million is - * equivalent to one unit. - * If the approved spending limit is finite, the adjusted - * spending limit may vary depending on the types of adjustments applied - * to this budget, if applicable. - * The different kinds of adjustments are described here: - * https://support.google.com/google-ads/answer/1704323 - * For example, a debit adjustment reduces how much the account is - * allowed to spend. - * @type int $adjusted_spending_limit_type - * Output only. The adjusted spending limit as a well-defined type, for - * example, INFINITE. This will only be populated if the adjusted spending - * limit is INFINITE, which is guaranteed to be true if the approved - * spending limit is INFINITE. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccountBudget::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the account-level budget. - * AccountBudget resource names have the form: - * `customers/{customer_id}/accountBudgets/{account_budget_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the account-level budget. - * AccountBudget resource names have the form: - * `customers/{customer_id}/accountBudgets/{account_budget_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the account-level budget. - * - * Generated from protobuf field optional int64 id = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the account-level budget. - * - * Generated from protobuf field optional int64 id = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The resource name of the billing setup associated with this - * account-level budget. BillingSetup resource names have the form: - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getBillingSetup() - { - return isset($this->billing_setup) ? $this->billing_setup : ''; - } - - public function hasBillingSetup() - { - return isset($this->billing_setup); - } - - public function clearBillingSetup() - { - unset($this->billing_setup); - } - - /** - * Output only. The resource name of the billing setup associated with this - * account-level budget. BillingSetup resource names have the form: - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field optional string billing_setup = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setBillingSetup($var) - { - GPBUtil::checkString($var, True); - $this->billing_setup = $var; - - return $this; - } - - /** - * Output only. The status of this account-level budget. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of this account-level budget. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccountBudgetStatusEnum\AccountBudgetStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The name of the account-level budget. - * - * Generated from protobuf field optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. The name of the account-level budget. - * - * Generated from protobuf field optional string name = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The proposed start time of the account-level budget in - * yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - * this is the time of request. - * - * Generated from protobuf field optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getProposedStartDateTime() - { - return isset($this->proposed_start_date_time) ? $this->proposed_start_date_time : ''; - } - - public function hasProposedStartDateTime() - { - return isset($this->proposed_start_date_time); - } - - public function clearProposedStartDateTime() - { - unset($this->proposed_start_date_time); - } - - /** - * Output only. The proposed start time of the account-level budget in - * yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - * this is the time of request. - * - * Generated from protobuf field optional string proposed_start_date_time = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setProposedStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->proposed_start_date_time = $var; - - return $this; - } - - /** - * Output only. The approved start time of the account-level budget in - * yyyy-MM-dd HH:mm:ss format. - * For example, if a new budget is approved after the proposed start time, - * the approved start time is the time of approval. - * - * Generated from protobuf field optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getApprovedStartDateTime() - { - return isset($this->approved_start_date_time) ? $this->approved_start_date_time : ''; - } - - public function hasApprovedStartDateTime() - { - return isset($this->approved_start_date_time); - } - - public function clearApprovedStartDateTime() - { - unset($this->approved_start_date_time); - } - - /** - * Output only. The approved start time of the account-level budget in - * yyyy-MM-dd HH:mm:ss format. - * For example, if a new budget is approved after the proposed start time, - * the approved start time is the time of approval. - * - * Generated from protobuf field optional string approved_start_date_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setApprovedStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->approved_start_date_time = $var; - - return $this; - } - - /** - * Output only. The total adjustments amount. - * An example of an adjustment is courtesy credits. - * - * Generated from protobuf field int64 total_adjustments_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTotalAdjustmentsMicros() - { - return $this->total_adjustments_micros; - } - - /** - * Output only. The total adjustments amount. - * An example of an adjustment is courtesy credits. - * - * Generated from protobuf field int64 total_adjustments_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTotalAdjustmentsMicros($var) - { - GPBUtil::checkInt64($var); - $this->total_adjustments_micros = $var; - - return $this; - } - - /** - * Output only. The value of Ads that have been served, in micros. - * This includes overdelivery costs, in which case a credit might be - * automatically applied to the budget (see total_adjustments_micros). - * - * Generated from protobuf field int64 amount_served_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAmountServedMicros() - { - return $this->amount_served_micros; - } - - /** - * Output only. The value of Ads that have been served, in micros. - * This includes overdelivery costs, in which case a credit might be - * automatically applied to the budget (see total_adjustments_micros). - * - * Generated from protobuf field int64 amount_served_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAmountServedMicros($var) - { - GPBUtil::checkInt64($var); - $this->amount_served_micros = $var; - - return $this; - } - - /** - * Output only. A purchase order number is a value that helps users reference - * this budget in their monthly invoices. - * - * Generated from protobuf field optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPurchaseOrderNumber() - { - return isset($this->purchase_order_number) ? $this->purchase_order_number : ''; - } - - public function hasPurchaseOrderNumber() - { - return isset($this->purchase_order_number); - } - - public function clearPurchaseOrderNumber() - { - unset($this->purchase_order_number); - } - - /** - * Output only. A purchase order number is a value that helps users reference - * this budget in their monthly invoices. - * - * Generated from protobuf field optional string purchase_order_number = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPurchaseOrderNumber($var) - { - GPBUtil::checkString($var, True); - $this->purchase_order_number = $var; - - return $this; - } - - /** - * Output only. Notes associated with the budget. - * - * Generated from protobuf field optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getNotes() - { - return isset($this->notes) ? $this->notes : ''; - } - - public function hasNotes() - { - return isset($this->notes); - } - - public function clearNotes() - { - unset($this->notes); - } - - /** - * Output only. Notes associated with the budget. - * - * Generated from protobuf field optional string notes = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setNotes($var) - { - GPBUtil::checkString($var, True); - $this->notes = $var; - - return $this; - } - - /** - * Output only. The pending proposal to modify this budget, if applicable. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AccountBudget\PendingAccountBudgetProposal|null - */ - public function getPendingProposal() - { - return $this->pending_proposal; - } - - public function hasPendingProposal() - { - return isset($this->pending_proposal); - } - - public function clearPendingProposal() - { - unset($this->pending_proposal); - } - - /** - * Output only. The pending proposal to modify this budget, if applicable. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudget.PendingAccountBudgetProposal pending_proposal = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AccountBudget\PendingAccountBudgetProposal $var - * @return $this - */ - public function setPendingProposal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccountBudget\PendingAccountBudgetProposal::class); - $this->pending_proposal = $var; - - return $this; - } - - /** - * Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field string proposed_end_date_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getProposedEndDateTime() - { - return $this->readOneof(28); - } - - public function hasProposedEndDateTime() - { - return $this->hasOneof(28); - } - - /** - * Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field string proposed_end_date_time = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setProposedEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * Output only. The proposed end time as a well-defined type, for example, - * FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getProposedEndTimeType() - { - return $this->readOneof(9); - } - - public function hasProposedEndTimeType() - { - return $this->hasOneof(9); - } - - /** - * Output only. The proposed end time as a well-defined type, for example, - * FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setProposedEndTimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum\TimeType::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field string approved_end_date_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getApprovedEndDateTime() - { - return $this->readOneof(29); - } - - public function hasApprovedEndDateTime() - { - return $this->hasOneof(29); - } - - /** - * Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field string approved_end_date_time = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setApprovedEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * Output only. The approved end time as a well-defined type, for example, - * FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovedEndTimeType() - { - return $this->readOneof(11); - } - - public function hasApprovedEndTimeType() - { - return $this->hasOneof(11); - } - - /** - * Output only. The approved end time as a well-defined type, for example, - * FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovedEndTimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum\TimeType::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Output only. The proposed spending limit in micros. One million is - * equivalent to one unit. - * - * Generated from protobuf field int64 proposed_spending_limit_micros = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getProposedSpendingLimitMicros() - { - return $this->readOneof(30); - } - - public function hasProposedSpendingLimitMicros() - { - return $this->hasOneof(30); - } - - /** - * Output only. The proposed spending limit in micros. One million is - * equivalent to one unit. - * - * Generated from protobuf field int64 proposed_spending_limit_micros = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setProposedSpendingLimitMicros($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * Output only. The proposed spending limit as a well-defined type, for - * example, INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getProposedSpendingLimitType() - { - return $this->readOneof(13); - } - - public function hasProposedSpendingLimitType() - { - return $this->hasOneof(13); - } - - /** - * Output only. The proposed spending limit as a well-defined type, for - * example, INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setProposedSpendingLimitType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SpendingLimitTypeEnum\SpendingLimitType::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * Output only. The approved spending limit in micros. One million is - * equivalent to one unit. This will only be populated if the proposed - * spending limit is finite, and will always be greater than or equal to the - * proposed spending limit. - * - * Generated from protobuf field int64 approved_spending_limit_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getApprovedSpendingLimitMicros() - { - return $this->readOneof(31); - } - - public function hasApprovedSpendingLimitMicros() - { - return $this->hasOneof(31); - } - - /** - * Output only. The approved spending limit in micros. One million is - * equivalent to one unit. This will only be populated if the proposed - * spending limit is finite, and will always be greater than or equal to the - * proposed spending limit. - * - * Generated from protobuf field int64 approved_spending_limit_micros = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setApprovedSpendingLimitMicros($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * Output only. The approved spending limit as a well-defined type, for - * example, INFINITE. This will only be populated if the approved spending - * limit is INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovedSpendingLimitType() - { - return $this->readOneof(15); - } - - public function hasApprovedSpendingLimitType() - { - return $this->hasOneof(15); - } - - /** - * Output only. The approved spending limit as a well-defined type, for - * example, INFINITE. This will only be populated if the approved spending - * limit is INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovedSpendingLimitType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SpendingLimitTypeEnum\SpendingLimitType::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Output only. The adjusted spending limit in micros. One million is - * equivalent to one unit. - * If the approved spending limit is finite, the adjusted - * spending limit may vary depending on the types of adjustments applied - * to this budget, if applicable. - * The different kinds of adjustments are described here: - * https://support.google.com/google-ads/answer/1704323 - * For example, a debit adjustment reduces how much the account is - * allowed to spend. - * - * Generated from protobuf field int64 adjusted_spending_limit_micros = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdjustedSpendingLimitMicros() - { - return $this->readOneof(32); - } - - public function hasAdjustedSpendingLimitMicros() - { - return $this->hasOneof(32); - } - - /** - * Output only. The adjusted spending limit in micros. One million is - * equivalent to one unit. - * If the approved spending limit is finite, the adjusted - * spending limit may vary depending on the types of adjustments applied - * to this budget, if applicable. - * The different kinds of adjustments are described here: - * https://support.google.com/google-ads/answer/1704323 - * For example, a debit adjustment reduces how much the account is - * allowed to spend. - * - * Generated from protobuf field int64 adjusted_spending_limit_micros = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdjustedSpendingLimitMicros($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * Output only. The adjusted spending limit as a well-defined type, for - * example, INFINITE. This will only be populated if the adjusted spending - * limit is INFINITE, which is guaranteed to be true if the approved - * spending limit is INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAdjustedSpendingLimitType() - { - return $this->readOneof(17); - } - - public function hasAdjustedSpendingLimitType() - { - return $this->hasOneof(17); - } - - /** - * Output only. The adjusted spending limit as a well-defined type, for - * example, INFINITE. This will only be populated if the adjusted spending - * limit is INFINITE, which is guaranteed to be true if the approved - * spending limit is INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAdjustedSpendingLimitType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SpendingLimitTypeEnum\SpendingLimitType::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * @return string - */ - public function getProposedEndTime() - { - return $this->whichOneof("proposed_end_time"); - } - - /** - * @return string - */ - public function getApprovedEndTime() - { - return $this->whichOneof("approved_end_time"); - } - - /** - * @return string - */ - public function getProposedSpendingLimit() - { - return $this->whichOneof("proposed_spending_limit"); - } - - /** - * @return string - */ - public function getApprovedSpendingLimit() - { - return $this->whichOneof("approved_spending_limit"); - } - - /** - * @return string - */ - public function getAdjustedSpendingLimit() - { - return $this->whichOneof("adjusted_spending_limit"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccountBudget/PendingAccountBudgetProposal.php b/src/Google/Ads/GoogleAds/V15/Resources/AccountBudget/PendingAccountBudgetProposal.php deleted file mode 100644 index e744d4744..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccountBudget/PendingAccountBudgetProposal.php +++ /dev/null @@ -1,511 +0,0 @@ -google.ads.googleads.v15.resources.AccountBudget.PendingAccountBudgetProposal - */ -class PendingAccountBudgetProposal extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the proposal. - * AccountBudgetProposal resource names have the form: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * - * Generated from protobuf field optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $account_budget_proposal = null; - /** - * Output only. The type of this proposal, for example, END to end the - * budget associated with this proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $proposal_type = 0; - /** - * Output only. The name to assign to the account-level budget. - * - * Generated from protobuf field optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The start time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_date_time = null; - /** - * Output only. A purchase order number is a value that helps users - * reference this budget in their monthly invoices. - * - * Generated from protobuf field optional string purchase_order_number = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $purchase_order_number = null; - /** - * Output only. Notes associated with this budget. - * - * Generated from protobuf field optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $notes = null; - /** - * Output only. The time when this account-level budget proposal was - * created. Formatted as yyyy-MM-dd HH:mm:ss. - * - * Generated from protobuf field optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creation_date_time = null; - protected $end_time; - protected $spending_limit; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $account_budget_proposal - * Output only. The resource name of the proposal. - * AccountBudgetProposal resource names have the form: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * @type int $proposal_type - * Output only. The type of this proposal, for example, END to end the - * budget associated with this proposal. - * @type string $name - * Output only. The name to assign to the account-level budget. - * @type string $start_date_time - * Output only. The start time in yyyy-MM-dd HH:mm:ss format. - * @type string $purchase_order_number - * Output only. A purchase order number is a value that helps users - * reference this budget in their monthly invoices. - * @type string $notes - * Output only. Notes associated with this budget. - * @type string $creation_date_time - * Output only. The time when this account-level budget proposal was - * created. Formatted as yyyy-MM-dd HH:mm:ss. - * @type string $end_date_time - * Output only. The end time in yyyy-MM-dd HH:mm:ss format. - * @type int $end_time_type - * Output only. The end time as a well-defined type, for example, FOREVER. - * @type int|string $spending_limit_micros - * Output only. The spending limit in micros. One million is equivalent - * to one unit. - * @type int $spending_limit_type - * Output only. The spending limit as a well-defined type, for example, - * INFINITE. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccountBudget::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the proposal. - * AccountBudgetProposal resource names have the form: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * - * Generated from protobuf field optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAccountBudgetProposal() - { - return isset($this->account_budget_proposal) ? $this->account_budget_proposal : ''; - } - - public function hasAccountBudgetProposal() - { - return isset($this->account_budget_proposal); - } - - public function clearAccountBudgetProposal() - { - unset($this->account_budget_proposal); - } - - /** - * Output only. The resource name of the proposal. - * AccountBudgetProposal resource names have the form: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * - * Generated from protobuf field optional string account_budget_proposal = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccountBudgetProposal($var) - { - GPBUtil::checkString($var, True); - $this->account_budget_proposal = $var; - - return $this; - } - - /** - * Output only. The type of this proposal, for example, END to end the - * budget associated with this proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getProposalType() - { - return $this->proposal_type; - } - - /** - * Output only. The type of this proposal, for example, END to end the - * budget associated with this proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setProposalType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccountBudgetProposalTypeEnum\AccountBudgetProposalType::class); - $this->proposal_type = $var; - - return $this; - } - - /** - * Output only. The name to assign to the account-level budget. - * - * Generated from protobuf field optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. The name to assign to the account-level budget. - * - * Generated from protobuf field optional string name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The start time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getStartDateTime() - { - return isset($this->start_date_time) ? $this->start_date_time : ''; - } - - public function hasStartDateTime() - { - return isset($this->start_date_time); - } - - public function clearStartDateTime() - { - unset($this->start_date_time); - } - - /** - * Output only. The start time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string start_date_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->start_date_time = $var; - - return $this; - } - - /** - * Output only. A purchase order number is a value that helps users - * reference this budget in their monthly invoices. - * - * Generated from protobuf field optional string purchase_order_number = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPurchaseOrderNumber() - { - return isset($this->purchase_order_number) ? $this->purchase_order_number : ''; - } - - public function hasPurchaseOrderNumber() - { - return isset($this->purchase_order_number); - } - - public function clearPurchaseOrderNumber() - { - unset($this->purchase_order_number); - } - - /** - * Output only. A purchase order number is a value that helps users - * reference this budget in their monthly invoices. - * - * Generated from protobuf field optional string purchase_order_number = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPurchaseOrderNumber($var) - { - GPBUtil::checkString($var, True); - $this->purchase_order_number = $var; - - return $this; - } - - /** - * Output only. Notes associated with this budget. - * - * Generated from protobuf field optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getNotes() - { - return isset($this->notes) ? $this->notes : ''; - } - - public function hasNotes() - { - return isset($this->notes); - } - - public function clearNotes() - { - unset($this->notes); - } - - /** - * Output only. Notes associated with this budget. - * - * Generated from protobuf field optional string notes = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setNotes($var) - { - GPBUtil::checkString($var, True); - $this->notes = $var; - - return $this; - } - - /** - * Output only. The time when this account-level budget proposal was - * created. Formatted as yyyy-MM-dd HH:mm:ss. - * - * Generated from protobuf field optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreationDateTime() - { - return isset($this->creation_date_time) ? $this->creation_date_time : ''; - } - - public function hasCreationDateTime() - { - return isset($this->creation_date_time); - } - - public function clearCreationDateTime() - { - unset($this->creation_date_time); - } - - /** - * Output only. The time when this account-level budget proposal was - * created. Formatted as yyyy-MM-dd HH:mm:ss. - * - * Generated from protobuf field optional string creation_date_time = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreationDateTime($var) - { - GPBUtil::checkString($var, True); - $this->creation_date_time = $var; - - return $this; - } - - /** - * Output only. The end time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field string end_date_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEndDateTime() - { - return $this->readOneof(15); - } - - public function hasEndDateTime() - { - return $this->hasOneof(15); - } - - /** - * Output only. The end time in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field string end_date_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Output only. The end time as a well-defined type, for example, FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEndTimeType() - { - return $this->readOneof(6); - } - - public function hasEndTimeType() - { - return $this->hasOneof(6); - } - - /** - * Output only. The end time as a well-defined type, for example, FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType end_time_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEndTimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum\TimeType::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Output only. The spending limit in micros. One million is equivalent - * to one unit. - * - * Generated from protobuf field int64 spending_limit_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSpendingLimitMicros() - { - return $this->readOneof(16); - } - - public function hasSpendingLimitMicros() - { - return $this->hasOneof(16); - } - - /** - * Output only. The spending limit in micros. One million is equivalent - * to one unit. - * - * Generated from protobuf field int64 spending_limit_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSpendingLimitMicros($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * Output only. The spending limit as a well-defined type, for example, - * INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSpendingLimitType() - { - return $this->readOneof(8); - } - - public function hasSpendingLimitType() - { - return $this->hasOneof(8); - } - - /** - * Output only. The spending limit as a well-defined type, for example, - * INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSpendingLimitType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SpendingLimitTypeEnum\SpendingLimitType::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * @return string - */ - public function getEndTime() - { - return $this->whichOneof("end_time"); - } - - /** - * @return string - */ - public function getSpendingLimit() - { - return $this->whichOneof("spending_limit"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PendingAccountBudgetProposal::class, \Google\Ads\GoogleAds\V15\Resources\AccountBudget_PendingAccountBudgetProposal::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccountBudgetProposal.php b/src/Google/Ads/GoogleAds/V15/Resources/AccountBudgetProposal.php deleted file mode 100644 index 1e8842c5f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccountBudgetProposal.php +++ /dev/null @@ -1,969 +0,0 @@ -google.ads.googleads.v15.resources.AccountBudgetProposal - */ -class AccountBudgetProposal extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the proposal. - * AccountBudgetProposal resource names have the form: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the proposal. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Immutable. The resource name of the billing setup associated with this - * proposal. - * - * Generated from protobuf field optional string billing_setup = 26 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $billing_setup = null; - /** - * Immutable. The resource name of the account-level budget associated with - * this proposal. - * - * Generated from protobuf field optional string account_budget = 27 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $account_budget = null; - /** - * Immutable. The type of this proposal, for example, END to end the budget - * associated with this proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $proposal_type = 0; - /** - * Output only. The status of this proposal. - * When a new proposal is created, the status defaults to PENDING. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Immutable. The name to assign to the account-level budget. - * - * Generated from protobuf field optional string proposed_name = 28 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $proposed_name = null; - /** - * Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field optional string approved_start_date_time = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approved_start_date_time = null; - /** - * Immutable. A purchase order number is a value that enables the user to help - * them reference this budget in their monthly invoices. - * - * Generated from protobuf field optional string proposed_purchase_order_number = 35 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $proposed_purchase_order_number = null; - /** - * Immutable. Notes associated with this budget. - * - * Generated from protobuf field optional string proposed_notes = 36 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $proposed_notes = null; - /** - * Output only. The date time when this account-level budget proposal was - * created, which is not the same as its approval date time, if applicable. - * - * Generated from protobuf field optional string creation_date_time = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creation_date_time = null; - /** - * Output only. The date time when this account-level budget was approved, if - * applicable. - * - * Generated from protobuf field optional string approval_date_time = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approval_date_time = null; - protected $proposed_start_time; - protected $proposed_end_time; - protected $approved_end_time; - protected $proposed_spending_limit; - protected $approved_spending_limit; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the proposal. - * AccountBudgetProposal resource names have the form: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * @type int|string $id - * Output only. The ID of the proposal. - * @type string $billing_setup - * Immutable. The resource name of the billing setup associated with this - * proposal. - * @type string $account_budget - * Immutable. The resource name of the account-level budget associated with - * this proposal. - * @type int $proposal_type - * Immutable. The type of this proposal, for example, END to end the budget - * associated with this proposal. - * @type int $status - * Output only. The status of this proposal. - * When a new proposal is created, the status defaults to PENDING. - * @type string $proposed_name - * Immutable. The name to assign to the account-level budget. - * @type string $approved_start_date_time - * Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. - * @type string $proposed_purchase_order_number - * Immutable. A purchase order number is a value that enables the user to help - * them reference this budget in their monthly invoices. - * @type string $proposed_notes - * Immutable. Notes associated with this budget. - * @type string $creation_date_time - * Output only. The date time when this account-level budget proposal was - * created, which is not the same as its approval date time, if applicable. - * @type string $approval_date_time - * Output only. The date time when this account-level budget was approved, if - * applicable. - * @type string $proposed_start_date_time - * Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. - * @type int $proposed_start_time_type - * Immutable. The proposed start date time as a well-defined type, for - * example, NOW. - * @type string $proposed_end_date_time - * Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. - * @type int $proposed_end_time_type - * Immutable. The proposed end date time as a well-defined type, for - * example, FOREVER. - * @type string $approved_end_date_time - * Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. - * @type int $approved_end_time_type - * Output only. The approved end date time as a well-defined type, for - * example, FOREVER. - * @type int|string $proposed_spending_limit_micros - * Immutable. The proposed spending limit in micros. One million is - * equivalent to one unit. - * @type int $proposed_spending_limit_type - * Immutable. The proposed spending limit as a well-defined type, for - * example, INFINITE. - * @type int|string $approved_spending_limit_micros - * Output only. The approved spending limit in micros. One million is - * equivalent to one unit. - * @type int $approved_spending_limit_type - * Output only. The approved spending limit as a well-defined type, for - * example, INFINITE. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the proposal. - * AccountBudgetProposal resource names have the form: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the proposal. - * AccountBudgetProposal resource names have the form: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the proposal. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the proposal. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Immutable. The resource name of the billing setup associated with this - * proposal. - * - * Generated from protobuf field optional string billing_setup = 26 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getBillingSetup() - { - return isset($this->billing_setup) ? $this->billing_setup : ''; - } - - public function hasBillingSetup() - { - return isset($this->billing_setup); - } - - public function clearBillingSetup() - { - unset($this->billing_setup); - } - - /** - * Immutable. The resource name of the billing setup associated with this - * proposal. - * - * Generated from protobuf field optional string billing_setup = 26 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setBillingSetup($var) - { - GPBUtil::checkString($var, True); - $this->billing_setup = $var; - - return $this; - } - - /** - * Immutable. The resource name of the account-level budget associated with - * this proposal. - * - * Generated from protobuf field optional string account_budget = 27 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAccountBudget() - { - return isset($this->account_budget) ? $this->account_budget : ''; - } - - public function hasAccountBudget() - { - return isset($this->account_budget); - } - - public function clearAccountBudget() - { - unset($this->account_budget); - } - - /** - * Immutable. The resource name of the account-level budget associated with - * this proposal. - * - * Generated from protobuf field optional string account_budget = 27 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccountBudget($var) - { - GPBUtil::checkString($var, True); - $this->account_budget = $var; - - return $this; - } - - /** - * Immutable. The type of this proposal, for example, END to end the budget - * associated with this proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getProposalType() - { - return $this->proposal_type; - } - - /** - * Immutable. The type of this proposal, for example, END to end the budget - * associated with this proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setProposalType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccountBudgetProposalTypeEnum\AccountBudgetProposalType::class); - $this->proposal_type = $var; - - return $this; - } - - /** - * Output only. The status of this proposal. - * When a new proposal is created, the status defaults to PENDING. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of this proposal. - * When a new proposal is created, the status defaults to PENDING. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccountBudgetProposalStatusEnum\AccountBudgetProposalStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. The name to assign to the account-level budget. - * - * Generated from protobuf field optional string proposed_name = 28 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getProposedName() - { - return isset($this->proposed_name) ? $this->proposed_name : ''; - } - - public function hasProposedName() - { - return isset($this->proposed_name); - } - - public function clearProposedName() - { - unset($this->proposed_name); - } - - /** - * Immutable. The name to assign to the account-level budget. - * - * Generated from protobuf field optional string proposed_name = 28 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setProposedName($var) - { - GPBUtil::checkString($var, True); - $this->proposed_name = $var; - - return $this; - } - - /** - * Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field optional string approved_start_date_time = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getApprovedStartDateTime() - { - return isset($this->approved_start_date_time) ? $this->approved_start_date_time : ''; - } - - public function hasApprovedStartDateTime() - { - return isset($this->approved_start_date_time); - } - - public function clearApprovedStartDateTime() - { - unset($this->approved_start_date_time); - } - - /** - * Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field optional string approved_start_date_time = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setApprovedStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->approved_start_date_time = $var; - - return $this; - } - - /** - * Immutable. A purchase order number is a value that enables the user to help - * them reference this budget in their monthly invoices. - * - * Generated from protobuf field optional string proposed_purchase_order_number = 35 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getProposedPurchaseOrderNumber() - { - return isset($this->proposed_purchase_order_number) ? $this->proposed_purchase_order_number : ''; - } - - public function hasProposedPurchaseOrderNumber() - { - return isset($this->proposed_purchase_order_number); - } - - public function clearProposedPurchaseOrderNumber() - { - unset($this->proposed_purchase_order_number); - } - - /** - * Immutable. A purchase order number is a value that enables the user to help - * them reference this budget in their monthly invoices. - * - * Generated from protobuf field optional string proposed_purchase_order_number = 35 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setProposedPurchaseOrderNumber($var) - { - GPBUtil::checkString($var, True); - $this->proposed_purchase_order_number = $var; - - return $this; - } - - /** - * Immutable. Notes associated with this budget. - * - * Generated from protobuf field optional string proposed_notes = 36 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getProposedNotes() - { - return isset($this->proposed_notes) ? $this->proposed_notes : ''; - } - - public function hasProposedNotes() - { - return isset($this->proposed_notes); - } - - public function clearProposedNotes() - { - unset($this->proposed_notes); - } - - /** - * Immutable. Notes associated with this budget. - * - * Generated from protobuf field optional string proposed_notes = 36 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setProposedNotes($var) - { - GPBUtil::checkString($var, True); - $this->proposed_notes = $var; - - return $this; - } - - /** - * Output only. The date time when this account-level budget proposal was - * created, which is not the same as its approval date time, if applicable. - * - * Generated from protobuf field optional string creation_date_time = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreationDateTime() - { - return isset($this->creation_date_time) ? $this->creation_date_time : ''; - } - - public function hasCreationDateTime() - { - return isset($this->creation_date_time); - } - - public function clearCreationDateTime() - { - unset($this->creation_date_time); - } - - /** - * Output only. The date time when this account-level budget proposal was - * created, which is not the same as its approval date time, if applicable. - * - * Generated from protobuf field optional string creation_date_time = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreationDateTime($var) - { - GPBUtil::checkString($var, True); - $this->creation_date_time = $var; - - return $this; - } - - /** - * Output only. The date time when this account-level budget was approved, if - * applicable. - * - * Generated from protobuf field optional string approval_date_time = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getApprovalDateTime() - { - return isset($this->approval_date_time) ? $this->approval_date_time : ''; - } - - public function hasApprovalDateTime() - { - return isset($this->approval_date_time); - } - - public function clearApprovalDateTime() - { - unset($this->approval_date_time); - } - - /** - * Output only. The date time when this account-level budget was approved, if - * applicable. - * - * Generated from protobuf field optional string approval_date_time = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setApprovalDateTime($var) - { - GPBUtil::checkString($var, True); - $this->approval_date_time = $var; - - return $this; - } - - /** - * Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field string proposed_start_date_time = 29 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getProposedStartDateTime() - { - return $this->readOneof(29); - } - - public function hasProposedStartDateTime() - { - return $this->hasOneof(29); - } - - /** - * Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field string proposed_start_date_time = 29 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setProposedStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * Immutable. The proposed start date time as a well-defined type, for - * example, NOW. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_start_time_type = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getProposedStartTimeType() - { - return $this->readOneof(7); - } - - public function hasProposedStartTimeType() - { - return $this->hasOneof(7); - } - - /** - * Immutable. The proposed start date time as a well-defined type, for - * example, NOW. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_start_time_type = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setProposedStartTimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum\TimeType::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field string proposed_end_date_time = 31 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getProposedEndDateTime() - { - return $this->readOneof(31); - } - - public function hasProposedEndDateTime() - { - return $this->hasOneof(31); - } - - /** - * Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field string proposed_end_date_time = 31 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setProposedEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * Immutable. The proposed end date time as a well-defined type, for - * example, FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getProposedEndTimeType() - { - return $this->readOneof(9); - } - - public function hasProposedEndTimeType() - { - return $this->hasOneof(9); - } - - /** - * Immutable. The proposed end date time as a well-defined type, for - * example, FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setProposedEndTimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum\TimeType::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field string approved_end_date_time = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getApprovedEndDateTime() - { - return $this->readOneof(32); - } - - public function hasApprovedEndDateTime() - { - return $this->hasOneof(32); - } - - /** - * Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. - * - * Generated from protobuf field string approved_end_date_time = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setApprovedEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * Output only. The approved end date time as a well-defined type, for - * example, FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType approved_end_time_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovedEndTimeType() - { - return $this->readOneof(22); - } - - public function hasApprovedEndTimeType() - { - return $this->hasOneof(22); - } - - /** - * Output only. The approved end date time as a well-defined type, for - * example, FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType approved_end_time_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovedEndTimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum\TimeType::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * Immutable. The proposed spending limit in micros. One million is - * equivalent to one unit. - * - * Generated from protobuf field int64 proposed_spending_limit_micros = 33 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getProposedSpendingLimitMicros() - { - return $this->readOneof(33); - } - - public function hasProposedSpendingLimitMicros() - { - return $this->hasOneof(33); - } - - /** - * Immutable. The proposed spending limit in micros. One million is - * equivalent to one unit. - * - * Generated from protobuf field int64 proposed_spending_limit_micros = 33 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setProposedSpendingLimitMicros($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(33, $var); - - return $this; - } - - /** - * Immutable. The proposed spending limit as a well-defined type, for - * example, INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getProposedSpendingLimitType() - { - return $this->readOneof(11); - } - - public function hasProposedSpendingLimitType() - { - return $this->hasOneof(11); - } - - /** - * Immutable. The proposed spending limit as a well-defined type, for - * example, INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setProposedSpendingLimitType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SpendingLimitTypeEnum\SpendingLimitType::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Output only. The approved spending limit in micros. One million is - * equivalent to one unit. - * - * Generated from protobuf field int64 approved_spending_limit_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getApprovedSpendingLimitMicros() - { - return $this->readOneof(34); - } - - public function hasApprovedSpendingLimitMicros() - { - return $this->hasOneof(34); - } - - /** - * Output only. The approved spending limit in micros. One million is - * equivalent to one unit. - * - * Generated from protobuf field int64 approved_spending_limit_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setApprovedSpendingLimitMicros($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * Output only. The approved spending limit as a well-defined type, for - * example, INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovedSpendingLimitType() - { - return $this->readOneof(24); - } - - public function hasApprovedSpendingLimitType() - { - return $this->hasOneof(24); - } - - /** - * Output only. The approved spending limit as a well-defined type, for - * example, INFINITE. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovedSpendingLimitType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SpendingLimitTypeEnum\SpendingLimitType::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * @return string - */ - public function getProposedStartTime() - { - return $this->whichOneof("proposed_start_time"); - } - - /** - * @return string - */ - public function getProposedEndTime() - { - return $this->whichOneof("proposed_end_time"); - } - - /** - * @return string - */ - public function getApprovedEndTime() - { - return $this->whichOneof("approved_end_time"); - } - - /** - * @return string - */ - public function getProposedSpendingLimit() - { - return $this->whichOneof("proposed_spending_limit"); - } - - /** - * @return string - */ - public function getApprovedSpendingLimit() - { - return $this->whichOneof("approved_spending_limit"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AccountLink.php b/src/Google/Ads/GoogleAds/V15/Resources/AccountLink.php deleted file mode 100644 index 43ba6577c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AccountLink.php +++ /dev/null @@ -1,333 +0,0 @@ -google.ads.googleads.v15.resources.AccountLink - */ -class AccountLink extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Resource name of the account link. - * AccountLink resource names have the form: - * `customers/{customer_id}/accountLinks/{account_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the link. - * This field is read only. - * - * Generated from protobuf field optional int64 account_link_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $account_link_id = null; - /** - * The status of the link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; - */ - protected $status = 0; - /** - * Output only. The type of the linked account. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedAccountTypeEnum.LinkedAccountType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - protected $linked_account; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Resource name of the account link. - * AccountLink resource names have the form: - * `customers/{customer_id}/accountLinks/{account_link_id}` - * @type int|string $account_link_id - * Output only. The ID of the link. - * This field is read only. - * @type int $status - * The status of the link. - * @type int $type - * Output only. The type of the linked account. - * @type \Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLinkIdentifier $third_party_app_analytics - * Immutable. A third party app analytics link. - * @type \Google\Ads\GoogleAds\V15\Resources\DataPartnerLinkIdentifier $data_partner - * Output only. Data partner link. - * @type \Google\Ads\GoogleAds\V15\Resources\GoogleAdsLinkIdentifier $google_ads - * Output only. Google Ads link. - * @type \Google\Ads\GoogleAds\V15\Resources\AdvertisingPartnerLinkIdentifier $advertising_partner - * Output only. Advertising Partner link - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccountLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Resource name of the account link. - * AccountLink resource names have the form: - * `customers/{customer_id}/accountLinks/{account_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Resource name of the account link. - * AccountLink resource names have the form: - * `customers/{customer_id}/accountLinks/{account_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the link. - * This field is read only. - * - * Generated from protobuf field optional int64 account_link_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAccountLinkId() - { - return isset($this->account_link_id) ? $this->account_link_id : 0; - } - - public function hasAccountLinkId() - { - return isset($this->account_link_id); - } - - public function clearAccountLinkId() - { - unset($this->account_link_id); - } - - /** - * Output only. The ID of the link. - * This field is read only. - * - * Generated from protobuf field optional int64 account_link_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAccountLinkId($var) - { - GPBUtil::checkInt64($var); - $this->account_link_id = $var; - - return $this; - } - - /** - * The status of the link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccountLinkStatusEnum\AccountLinkStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The type of the linked account. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedAccountTypeEnum.LinkedAccountType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the linked account. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedAccountTypeEnum.LinkedAccountType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LinkedAccountTypeEnum\LinkedAccountType::class); - $this->type = $var; - - return $this; - } - - /** - * Immutable. A third party app analytics link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ThirdPartyAppAnalyticsLinkIdentifier third_party_app_analytics = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLinkIdentifier|null - */ - public function getThirdPartyAppAnalytics() - { - return $this->readOneof(5); - } - - public function hasThirdPartyAppAnalytics() - { - return $this->hasOneof(5); - } - - /** - * Immutable. A third party app analytics link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ThirdPartyAppAnalyticsLinkIdentifier third_party_app_analytics = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLinkIdentifier $var - * @return $this - */ - public function setThirdPartyAppAnalytics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLinkIdentifier::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Output only. Data partner link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DataPartnerLinkIdentifier data_partner = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\DataPartnerLinkIdentifier|null - */ - public function getDataPartner() - { - return $this->readOneof(6); - } - - public function hasDataPartner() - { - return $this->hasOneof(6); - } - - /** - * Output only. Data partner link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DataPartnerLinkIdentifier data_partner = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\DataPartnerLinkIdentifier $var - * @return $this - */ - public function setDataPartner($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\DataPartnerLinkIdentifier::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Output only. Google Ads link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GoogleAdsLinkIdentifier google_ads = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\GoogleAdsLinkIdentifier|null - */ - public function getGoogleAds() - { - return $this->readOneof(7); - } - - public function hasGoogleAds() - { - return $this->hasOneof(7); - } - - /** - * Output only. Google Ads link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GoogleAdsLinkIdentifier google_ads = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\GoogleAdsLinkIdentifier $var - * @return $this - */ - public function setGoogleAds($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\GoogleAdsLinkIdentifier::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Output only. Advertising Partner link - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdvertisingPartnerLinkIdentifier advertising_partner = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdvertisingPartnerLinkIdentifier|null - */ - public function getAdvertisingPartner() - { - return $this->readOneof(10); - } - - public function hasAdvertisingPartner() - { - return $this->hasOneof(10); - } - - /** - * Output only. Advertising Partner link - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdvertisingPartnerLinkIdentifier advertising_partner = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdvertisingPartnerLinkIdentifier $var - * @return $this - */ - public function setAdvertisingPartner($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdvertisingPartnerLinkIdentifier::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * @return string - */ - public function getLinkedAccount() - { - return $this->whichOneof("linked_account"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Ad.php b/src/Google/Ads/GoogleAds/V15/Resources/Ad.php deleted file mode 100644 index a15a5840c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Ad.php +++ /dev/null @@ -1,1529 +0,0 @@ -google.ads.googleads.v15.resources.Ad - */ -class Ad extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad. - * Ad resource names have the form: - * `customers/{customer_id}/ads/{ad_id}` - * - * Generated from protobuf field string resource_name = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the ad. - * - * Generated from protobuf field optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The list of possible final URLs after all cross-domain redirects for the - * ad. - * - * Generated from protobuf field repeated string final_urls = 41; - */ - private $final_urls; - /** - * A list of final app URLs that will be used on mobile if the user has the - * specific app installed. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FinalAppUrl final_app_urls = 35; - */ - private $final_app_urls; - /** - * The list of possible final mobile URLs after all cross-domain redirects - * for the ad. - * - * Generated from protobuf field repeated string final_mobile_urls = 42; - */ - private $final_mobile_urls; - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 43; - */ - protected $tracking_url_template = null; - /** - * The suffix to use when constructing a final URL. - * - * Generated from protobuf field optional string final_url_suffix = 44; - */ - protected $final_url_suffix = null; - /** - * The list of mappings that can be used to substitute custom parameter tags - * in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * For mutates, use url custom parameter operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 10; - */ - private $url_custom_parameters; - /** - * The URL that appears in the ad description for some ad formats. - * - * Generated from protobuf field optional string display_url = 45; - */ - protected $display_url = null; - /** - * Output only. The type of ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. Indicates if this ad was automatically added by Google Ads and - * not by a user. For example, this could happen when ads are automatically - * created as suggestions for new ads based on knowledge of how existing ads - * are performing. - * - * Generated from protobuf field optional bool added_by_google_ads = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $added_by_google_ads = null; - /** - * The device preference for the ad. You can only specify a preference for - * mobile devices. When this preference is set the ad will be preferred over - * other ads when being displayed on a mobile device. The ad can still be - * displayed on other device types, for example, if no other ads are - * available. If unspecified (no device preference), all devices are targeted. - * This is only supported by some ad types. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device_preference = 20; - */ - protected $device_preference = 0; - /** - * Additional URLs for the ad that are tagged with a unique identifier that - * can be referenced from other fields in the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UrlCollection url_collections = 26; - */ - private $url_collections; - /** - * Immutable. The name of the ad. This is only used to be able to identify the - * ad. It does not need to be unique and does not affect the served ad. The - * name field is currently only supported for DisplayUploadAd, ImageAd, - * ShoppingComparisonListingAd and VideoAd. - * - * Generated from protobuf field optional string name = 47 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $name = null; - /** - * Output only. If this ad is system managed, then this field will indicate - * the source. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $system_managed_resource_source = 0; - protected $ad_data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad. - * Ad resource names have the form: - * `customers/{customer_id}/ads/{ad_id}` - * @type int|string $id - * Output only. The ID of the ad. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * The list of possible final URLs after all cross-domain redirects for the - * ad. - * @type array<\Google\Ads\GoogleAds\V15\Common\FinalAppUrl>|\Google\Protobuf\Internal\RepeatedField $final_app_urls - * A list of final app URLs that will be used on mobile if the user has the - * specific app installed. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * The list of possible final mobile URLs after all cross-domain redirects - * for the ad. - * @type string $tracking_url_template - * The URL template for constructing a tracking URL. - * @type string $final_url_suffix - * The suffix to use when constructing a final URL. - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * The list of mappings that can be used to substitute custom parameter tags - * in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * For mutates, use url custom parameter operations. - * @type string $display_url - * The URL that appears in the ad description for some ad formats. - * @type int $type - * Output only. The type of ad. - * @type bool $added_by_google_ads - * Output only. Indicates if this ad was automatically added by Google Ads and - * not by a user. For example, this could happen when ads are automatically - * created as suggestions for new ads based on knowledge of how existing ads - * are performing. - * @type int $device_preference - * The device preference for the ad. You can only specify a preference for - * mobile devices. When this preference is set the ad will be preferred over - * other ads when being displayed on a mobile device. The ad can still be - * displayed on other device types, for example, if no other ads are - * available. If unspecified (no device preference), all devices are targeted. - * This is only supported by some ad types. - * @type array<\Google\Ads\GoogleAds\V15\Common\UrlCollection>|\Google\Protobuf\Internal\RepeatedField $url_collections - * Additional URLs for the ad that are tagged with a unique identifier that - * can be referenced from other fields in the ad. - * @type string $name - * Immutable. The name of the ad. This is only used to be able to identify the - * ad. It does not need to be unique and does not affect the served ad. The - * name field is currently only supported for DisplayUploadAd, ImageAd, - * ShoppingComparisonListingAd and VideoAd. - * @type int $system_managed_resource_source - * Output only. If this ad is system managed, then this field will indicate - * the source. This field is read-only. - * @type \Google\Ads\GoogleAds\V15\Common\TextAdInfo $text_ad - * Immutable. Details pertaining to a text ad. - * @type \Google\Ads\GoogleAds\V15\Common\ExpandedTextAdInfo $expanded_text_ad - * Details pertaining to an expanded text ad. - * @type \Google\Ads\GoogleAds\V15\Common\CallAdInfo $call_ad - * Details pertaining to a call ad. - * @type \Google\Ads\GoogleAds\V15\Common\ExpandedDynamicSearchAdInfo $expanded_dynamic_search_ad - * Immutable. Details pertaining to an Expanded Dynamic Search Ad. - * This type of ad has its headline, final URLs, and display URL - * auto-generated at serving time according to domain name specific - * information provided by `dynamic_search_ads_setting` linked at the - * campaign level. - * @type \Google\Ads\GoogleAds\V15\Common\HotelAdInfo $hotel_ad - * Details pertaining to a hotel ad. - * @type \Google\Ads\GoogleAds\V15\Common\ShoppingSmartAdInfo $shopping_smart_ad - * Details pertaining to a Smart Shopping ad. - * @type \Google\Ads\GoogleAds\V15\Common\ShoppingProductAdInfo $shopping_product_ad - * Details pertaining to a Shopping product ad. - * @type \Google\Ads\GoogleAds\V15\Common\ImageAdInfo $image_ad - * Immutable. Details pertaining to an Image ad. - * @type \Google\Ads\GoogleAds\V15\Common\VideoAdInfo $video_ad - * Details pertaining to a Video ad. - * @type \Google\Ads\GoogleAds\V15\Common\VideoResponsiveAdInfo $video_responsive_ad - * Details pertaining to a Video responsive ad. - * @type \Google\Ads\GoogleAds\V15\Common\ResponsiveSearchAdInfo $responsive_search_ad - * Details pertaining to a responsive search ad. - * @type \Google\Ads\GoogleAds\V15\Common\LegacyResponsiveDisplayAdInfo $legacy_responsive_display_ad - * Details pertaining to a legacy responsive display ad. - * @type \Google\Ads\GoogleAds\V15\Common\AppAdInfo $app_ad - * Details pertaining to an app ad. - * @type \Google\Ads\GoogleAds\V15\Common\LegacyAppInstallAdInfo $legacy_app_install_ad - * Immutable. Details pertaining to a legacy app install ad. - * @type \Google\Ads\GoogleAds\V15\Common\ResponsiveDisplayAdInfo $responsive_display_ad - * Details pertaining to a responsive display ad. - * @type \Google\Ads\GoogleAds\V15\Common\LocalAdInfo $local_ad - * Details pertaining to a local ad. - * @type \Google\Ads\GoogleAds\V15\Common\DisplayUploadAdInfo $display_upload_ad - * Details pertaining to a display upload ad. - * @type \Google\Ads\GoogleAds\V15\Common\AppEngagementAdInfo $app_engagement_ad - * Details pertaining to an app engagement ad. - * @type \Google\Ads\GoogleAds\V15\Common\ShoppingComparisonListingAdInfo $shopping_comparison_listing_ad - * Details pertaining to a Shopping Comparison Listing ad. - * @type \Google\Ads\GoogleAds\V15\Common\SmartCampaignAdInfo $smart_campaign_ad - * Details pertaining to a Smart campaign ad. - * @type \Google\Ads\GoogleAds\V15\Common\AppPreRegistrationAdInfo $app_pre_registration_ad - * Details pertaining to an app pre-registration ad. - * @type \Google\Ads\GoogleAds\V15\Common\DiscoveryMultiAssetAdInfo $discovery_multi_asset_ad - * Details pertaining to a discovery multi asset ad. - * @type \Google\Ads\GoogleAds\V15\Common\DiscoveryCarouselAdInfo $discovery_carousel_ad - * Details pertaining to a discovery carousel ad. - * @type \Google\Ads\GoogleAds\V15\Common\DiscoveryVideoResponsiveAdInfo $discovery_video_responsive_ad - * Details pertaining to a discovery video responsive ad. - * @type \Google\Ads\GoogleAds\V15\Common\TravelAdInfo $travel_ad - * Details pertaining to a travel ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Ad::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad. - * Ad resource names have the form: - * `customers/{customer_id}/ads/{ad_id}` - * - * Generated from protobuf field string resource_name = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad. - * Ad resource names have the form: - * `customers/{customer_id}/ads/{ad_id}` - * - * Generated from protobuf field string resource_name = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the ad. - * - * Generated from protobuf field optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the ad. - * - * Generated from protobuf field optional int64 id = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The list of possible final URLs after all cross-domain redirects for the - * ad. - * - * Generated from protobuf field repeated string final_urls = 41; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * The list of possible final URLs after all cross-domain redirects for the - * ad. - * - * Generated from protobuf field repeated string final_urls = 41; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * A list of final app URLs that will be used on mobile if the user has the - * specific app installed. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FinalAppUrl final_app_urls = 35; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalAppUrls() - { - return $this->final_app_urls; - } - - /** - * A list of final app URLs that will be used on mobile if the user has the - * specific app installed. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FinalAppUrl final_app_urls = 35; - * @param array<\Google\Ads\GoogleAds\V15\Common\FinalAppUrl>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalAppUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\FinalAppUrl::class); - $this->final_app_urls = $arr; - - return $this; - } - - /** - * The list of possible final mobile URLs after all cross-domain redirects - * for the ad. - * - * Generated from protobuf field repeated string final_mobile_urls = 42; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * The list of possible final mobile URLs after all cross-domain redirects - * for the ad. - * - * Generated from protobuf field repeated string final_mobile_urls = 42; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 43; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 43; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * The suffix to use when constructing a final URL. - * - * Generated from protobuf field optional string final_url_suffix = 44; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * The suffix to use when constructing a final URL. - * - * Generated from protobuf field optional string final_url_suffix = 44; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - - /** - * The list of mappings that can be used to substitute custom parameter tags - * in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * For mutates, use url custom parameter operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * The list of mappings that can be used to substitute custom parameter tags - * in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * For mutates, use url custom parameter operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 10; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * The URL that appears in the ad description for some ad formats. - * - * Generated from protobuf field optional string display_url = 45; - * @return string - */ - public function getDisplayUrl() - { - return isset($this->display_url) ? $this->display_url : ''; - } - - public function hasDisplayUrl() - { - return isset($this->display_url); - } - - public function clearDisplayUrl() - { - unset($this->display_url); - } - - /** - * The URL that appears in the ad description for some ad formats. - * - * Generated from protobuf field optional string display_url = 45; - * @param string $var - * @return $this - */ - public function setDisplayUrl($var) - { - GPBUtil::checkString($var, True); - $this->display_url = $var; - - return $this; - } - - /** - * Output only. The type of ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdTypeEnum.AdType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdTypeEnum\AdType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. Indicates if this ad was automatically added by Google Ads and - * not by a user. For example, this could happen when ads are automatically - * created as suggestions for new ads based on knowledge of how existing ads - * are performing. - * - * Generated from protobuf field optional bool added_by_google_ads = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getAddedByGoogleAds() - { - return isset($this->added_by_google_ads) ? $this->added_by_google_ads : false; - } - - public function hasAddedByGoogleAds() - { - return isset($this->added_by_google_ads); - } - - public function clearAddedByGoogleAds() - { - unset($this->added_by_google_ads); - } - - /** - * Output only. Indicates if this ad was automatically added by Google Ads and - * not by a user. For example, this could happen when ads are automatically - * created as suggestions for new ads based on knowledge of how existing ads - * are performing. - * - * Generated from protobuf field optional bool added_by_google_ads = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setAddedByGoogleAds($var) - { - GPBUtil::checkBool($var); - $this->added_by_google_ads = $var; - - return $this; - } - - /** - * The device preference for the ad. You can only specify a preference for - * mobile devices. When this preference is set the ad will be preferred over - * other ads when being displayed on a mobile device. The ad can still be - * displayed on other device types, for example, if no other ads are - * available. If unspecified (no device preference), all devices are targeted. - * This is only supported by some ad types. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device_preference = 20; - * @return int - */ - public function getDevicePreference() - { - return $this->device_preference; - } - - /** - * The device preference for the ad. You can only specify a preference for - * mobile devices. When this preference is set the ad will be preferred over - * other ads when being displayed on a mobile device. The ad can still be - * displayed on other device types, for example, if no other ads are - * available. If unspecified (no device preference), all devices are targeted. - * This is only supported by some ad types. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DeviceEnum.Device device_preference = 20; - * @param int $var - * @return $this - */ - public function setDevicePreference($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DeviceEnum\Device::class); - $this->device_preference = $var; - - return $this; - } - - /** - * Additional URLs for the ad that are tagged with a unique identifier that - * can be referenced from other fields in the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UrlCollection url_collections = 26; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCollections() - { - return $this->url_collections; - } - - /** - * Additional URLs for the ad that are tagged with a unique identifier that - * can be referenced from other fields in the ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UrlCollection url_collections = 26; - * @param array<\Google\Ads\GoogleAds\V15\Common\UrlCollection>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCollections($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UrlCollection::class); - $this->url_collections = $arr; - - return $this; - } - - /** - * Immutable. The name of the ad. This is only used to be able to identify the - * ad. It does not need to be unique and does not affect the served ad. The - * name field is currently only supported for DisplayUploadAd, ImageAd, - * ShoppingComparisonListingAd and VideoAd. - * - * Generated from protobuf field optional string name = 47 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Immutable. The name of the ad. This is only used to be able to identify the - * ad. It does not need to be unique and does not affect the served ad. The - * name field is currently only supported for DisplayUploadAd, ImageAd, - * ShoppingComparisonListingAd and VideoAd. - * - * Generated from protobuf field optional string name = 47 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. If this ad is system managed, then this field will indicate - * the source. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSystemManagedResourceSource() - { - return $this->system_managed_resource_source; - } - - /** - * Output only. If this ad is system managed, then this field will indicate - * the source. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSystemManagedResourceSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SystemManagedResourceSourceEnum\SystemManagedResourceSource::class); - $this->system_managed_resource_source = $var; - - return $this; - } - - /** - * Immutable. Details pertaining to a text ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\TextAdInfo|null - */ - public function getTextAd() - { - return $this->readOneof(6); - } - - public function hasTextAd() - { - return $this->hasOneof(6); - } - - /** - * Immutable. Details pertaining to a text ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextAdInfo text_ad = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\TextAdInfo $var - * @return $this - */ - public function setTextAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TextAdInfo::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Details pertaining to an expanded text ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ExpandedTextAdInfo expanded_text_ad = 7; - * @return \Google\Ads\GoogleAds\V15\Common\ExpandedTextAdInfo|null - */ - public function getExpandedTextAd() - { - return $this->readOneof(7); - } - - public function hasExpandedTextAd() - { - return $this->hasOneof(7); - } - - /** - * Details pertaining to an expanded text ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ExpandedTextAdInfo expanded_text_ad = 7; - * @param \Google\Ads\GoogleAds\V15\Common\ExpandedTextAdInfo $var - * @return $this - */ - public function setExpandedTextAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ExpandedTextAdInfo::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Details pertaining to a call ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CallAdInfo call_ad = 49; - * @return \Google\Ads\GoogleAds\V15\Common\CallAdInfo|null - */ - public function getCallAd() - { - return $this->readOneof(49); - } - - public function hasCallAd() - { - return $this->hasOneof(49); - } - - /** - * Details pertaining to a call ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CallAdInfo call_ad = 49; - * @param \Google\Ads\GoogleAds\V15\Common\CallAdInfo $var - * @return $this - */ - public function setCallAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CallAdInfo::class); - $this->writeOneof(49, $var); - - return $this; - } - - /** - * Immutable. Details pertaining to an Expanded Dynamic Search Ad. - * This type of ad has its headline, final URLs, and display URL - * auto-generated at serving time according to domain name specific - * information provided by `dynamic_search_ads_setting` linked at the - * campaign level. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ExpandedDynamicSearchAdInfo|null - */ - public function getExpandedDynamicSearchAd() - { - return $this->readOneof(14); - } - - public function hasExpandedDynamicSearchAd() - { - return $this->hasOneof(14); - } - - /** - * Immutable. Details pertaining to an Expanded Dynamic Search Ad. - * This type of ad has its headline, final URLs, and display URL - * auto-generated at serving time according to domain name specific - * information provided by `dynamic_search_ads_setting` linked at the - * campaign level. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ExpandedDynamicSearchAdInfo $var - * @return $this - */ - public function setExpandedDynamicSearchAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ExpandedDynamicSearchAdInfo::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * Details pertaining to a hotel ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelAdInfo hotel_ad = 15; - * @return \Google\Ads\GoogleAds\V15\Common\HotelAdInfo|null - */ - public function getHotelAd() - { - return $this->readOneof(15); - } - - public function hasHotelAd() - { - return $this->hasOneof(15); - } - - /** - * Details pertaining to a hotel ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelAdInfo hotel_ad = 15; - * @param \Google\Ads\GoogleAds\V15\Common\HotelAdInfo $var - * @return $this - */ - public function setHotelAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelAdInfo::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Details pertaining to a Smart Shopping ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ShoppingSmartAdInfo shopping_smart_ad = 17; - * @return \Google\Ads\GoogleAds\V15\Common\ShoppingSmartAdInfo|null - */ - public function getShoppingSmartAd() - { - return $this->readOneof(17); - } - - public function hasShoppingSmartAd() - { - return $this->hasOneof(17); - } - - /** - * Details pertaining to a Smart Shopping ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ShoppingSmartAdInfo shopping_smart_ad = 17; - * @param \Google\Ads\GoogleAds\V15\Common\ShoppingSmartAdInfo $var - * @return $this - */ - public function setShoppingSmartAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ShoppingSmartAdInfo::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * Details pertaining to a Shopping product ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ShoppingProductAdInfo shopping_product_ad = 18; - * @return \Google\Ads\GoogleAds\V15\Common\ShoppingProductAdInfo|null - */ - public function getShoppingProductAd() - { - return $this->readOneof(18); - } - - public function hasShoppingProductAd() - { - return $this->hasOneof(18); - } - - /** - * Details pertaining to a Shopping product ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ShoppingProductAdInfo shopping_product_ad = 18; - * @param \Google\Ads\GoogleAds\V15\Common\ShoppingProductAdInfo $var - * @return $this - */ - public function setShoppingProductAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ShoppingProductAdInfo::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * Immutable. Details pertaining to an Image ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ImageAdInfo|null - */ - public function getImageAd() - { - return $this->readOneof(22); - } - - public function hasImageAd() - { - return $this->hasOneof(22); - } - - /** - * Immutable. Details pertaining to an Image ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageAdInfo image_ad = 22 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ImageAdInfo $var - * @return $this - */ - public function setImageAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ImageAdInfo::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * Details pertaining to a Video ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoAdInfo video_ad = 24; - * @return \Google\Ads\GoogleAds\V15\Common\VideoAdInfo|null - */ - public function getVideoAd() - { - return $this->readOneof(24); - } - - public function hasVideoAd() - { - return $this->hasOneof(24); - } - - /** - * Details pertaining to a Video ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoAdInfo video_ad = 24; - * @param \Google\Ads\GoogleAds\V15\Common\VideoAdInfo $var - * @return $this - */ - public function setVideoAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\VideoAdInfo::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * Details pertaining to a Video responsive ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoResponsiveAdInfo video_responsive_ad = 39; - * @return \Google\Ads\GoogleAds\V15\Common\VideoResponsiveAdInfo|null - */ - public function getVideoResponsiveAd() - { - return $this->readOneof(39); - } - - public function hasVideoResponsiveAd() - { - return $this->hasOneof(39); - } - - /** - * Details pertaining to a Video responsive ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.VideoResponsiveAdInfo video_responsive_ad = 39; - * @param \Google\Ads\GoogleAds\V15\Common\VideoResponsiveAdInfo $var - * @return $this - */ - public function setVideoResponsiveAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\VideoResponsiveAdInfo::class); - $this->writeOneof(39, $var); - - return $this; - } - - /** - * Details pertaining to a responsive search ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ResponsiveSearchAdInfo responsive_search_ad = 25; - * @return \Google\Ads\GoogleAds\V15\Common\ResponsiveSearchAdInfo|null - */ - public function getResponsiveSearchAd() - { - return $this->readOneof(25); - } - - public function hasResponsiveSearchAd() - { - return $this->hasOneof(25); - } - - /** - * Details pertaining to a responsive search ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ResponsiveSearchAdInfo responsive_search_ad = 25; - * @param \Google\Ads\GoogleAds\V15\Common\ResponsiveSearchAdInfo $var - * @return $this - */ - public function setResponsiveSearchAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ResponsiveSearchAdInfo::class); - $this->writeOneof(25, $var); - - return $this; - } - - /** - * Details pertaining to a legacy responsive display ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28; - * @return \Google\Ads\GoogleAds\V15\Common\LegacyResponsiveDisplayAdInfo|null - */ - public function getLegacyResponsiveDisplayAd() - { - return $this->readOneof(28); - } - - public function hasLegacyResponsiveDisplayAd() - { - return $this->hasOneof(28); - } - - /** - * Details pertaining to a legacy responsive display ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28; - * @param \Google\Ads\GoogleAds\V15\Common\LegacyResponsiveDisplayAdInfo $var - * @return $this - */ - public function setLegacyResponsiveDisplayAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LegacyResponsiveDisplayAdInfo::class); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * Details pertaining to an app ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppAdInfo app_ad = 29; - * @return \Google\Ads\GoogleAds\V15\Common\AppAdInfo|null - */ - public function getAppAd() - { - return $this->readOneof(29); - } - - public function hasAppAd() - { - return $this->hasOneof(29); - } - - /** - * Details pertaining to an app ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppAdInfo app_ad = 29; - * @param \Google\Ads\GoogleAds\V15\Common\AppAdInfo $var - * @return $this - */ - public function setAppAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AppAdInfo::class); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * Immutable. Details pertaining to a legacy app install ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\LegacyAppInstallAdInfo|null - */ - public function getLegacyAppInstallAd() - { - return $this->readOneof(30); - } - - public function hasLegacyAppInstallAd() - { - return $this->hasOneof(30); - } - - /** - * Immutable. Details pertaining to a legacy app install ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\LegacyAppInstallAdInfo $var - * @return $this - */ - public function setLegacyAppInstallAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LegacyAppInstallAdInfo::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * Details pertaining to a responsive display ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ResponsiveDisplayAdInfo responsive_display_ad = 31; - * @return \Google\Ads\GoogleAds\V15\Common\ResponsiveDisplayAdInfo|null - */ - public function getResponsiveDisplayAd() - { - return $this->readOneof(31); - } - - public function hasResponsiveDisplayAd() - { - return $this->hasOneof(31); - } - - /** - * Details pertaining to a responsive display ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ResponsiveDisplayAdInfo responsive_display_ad = 31; - * @param \Google\Ads\GoogleAds\V15\Common\ResponsiveDisplayAdInfo $var - * @return $this - */ - public function setResponsiveDisplayAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ResponsiveDisplayAdInfo::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * Details pertaining to a local ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocalAdInfo local_ad = 32; - * @return \Google\Ads\GoogleAds\V15\Common\LocalAdInfo|null - */ - public function getLocalAd() - { - return $this->readOneof(32); - } - - public function hasLocalAd() - { - return $this->hasOneof(32); - } - - /** - * Details pertaining to a local ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocalAdInfo local_ad = 32; - * @param \Google\Ads\GoogleAds\V15\Common\LocalAdInfo $var - * @return $this - */ - public function setLocalAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocalAdInfo::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * Details pertaining to a display upload ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DisplayUploadAdInfo display_upload_ad = 33; - * @return \Google\Ads\GoogleAds\V15\Common\DisplayUploadAdInfo|null - */ - public function getDisplayUploadAd() - { - return $this->readOneof(33); - } - - public function hasDisplayUploadAd() - { - return $this->hasOneof(33); - } - - /** - * Details pertaining to a display upload ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DisplayUploadAdInfo display_upload_ad = 33; - * @param \Google\Ads\GoogleAds\V15\Common\DisplayUploadAdInfo $var - * @return $this - */ - public function setDisplayUploadAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DisplayUploadAdInfo::class); - $this->writeOneof(33, $var); - - return $this; - } - - /** - * Details pertaining to an app engagement ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppEngagementAdInfo app_engagement_ad = 34; - * @return \Google\Ads\GoogleAds\V15\Common\AppEngagementAdInfo|null - */ - public function getAppEngagementAd() - { - return $this->readOneof(34); - } - - public function hasAppEngagementAd() - { - return $this->hasOneof(34); - } - - /** - * Details pertaining to an app engagement ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppEngagementAdInfo app_engagement_ad = 34; - * @param \Google\Ads\GoogleAds\V15\Common\AppEngagementAdInfo $var - * @return $this - */ - public function setAppEngagementAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AppEngagementAdInfo::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * Details pertaining to a Shopping Comparison Listing ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36; - * @return \Google\Ads\GoogleAds\V15\Common\ShoppingComparisonListingAdInfo|null - */ - public function getShoppingComparisonListingAd() - { - return $this->readOneof(36); - } - - public function hasShoppingComparisonListingAd() - { - return $this->hasOneof(36); - } - - /** - * Details pertaining to a Shopping Comparison Listing ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36; - * @param \Google\Ads\GoogleAds\V15\Common\ShoppingComparisonListingAdInfo $var - * @return $this - */ - public function setShoppingComparisonListingAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ShoppingComparisonListingAdInfo::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * Details pertaining to a Smart campaign ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SmartCampaignAdInfo smart_campaign_ad = 48; - * @return \Google\Ads\GoogleAds\V15\Common\SmartCampaignAdInfo|null - */ - public function getSmartCampaignAd() - { - return $this->readOneof(48); - } - - public function hasSmartCampaignAd() - { - return $this->hasOneof(48); - } - - /** - * Details pertaining to a Smart campaign ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SmartCampaignAdInfo smart_campaign_ad = 48; - * @param \Google\Ads\GoogleAds\V15\Common\SmartCampaignAdInfo $var - * @return $this - */ - public function setSmartCampaignAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\SmartCampaignAdInfo::class); - $this->writeOneof(48, $var); - - return $this; - } - - /** - * Details pertaining to an app pre-registration ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50; - * @return \Google\Ads\GoogleAds\V15\Common\AppPreRegistrationAdInfo|null - */ - public function getAppPreRegistrationAd() - { - return $this->readOneof(50); - } - - public function hasAppPreRegistrationAd() - { - return $this->hasOneof(50); - } - - /** - * Details pertaining to an app pre-registration ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50; - * @param \Google\Ads\GoogleAds\V15\Common\AppPreRegistrationAdInfo $var - * @return $this - */ - public function setAppPreRegistrationAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AppPreRegistrationAdInfo::class); - $this->writeOneof(50, $var); - - return $this; - } - - /** - * Details pertaining to a discovery multi asset ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DiscoveryMultiAssetAdInfo discovery_multi_asset_ad = 51; - * @return \Google\Ads\GoogleAds\V15\Common\DiscoveryMultiAssetAdInfo|null - */ - public function getDiscoveryMultiAssetAd() - { - return $this->readOneof(51); - } - - public function hasDiscoveryMultiAssetAd() - { - return $this->hasOneof(51); - } - - /** - * Details pertaining to a discovery multi asset ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DiscoveryMultiAssetAdInfo discovery_multi_asset_ad = 51; - * @param \Google\Ads\GoogleAds\V15\Common\DiscoveryMultiAssetAdInfo $var - * @return $this - */ - public function setDiscoveryMultiAssetAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DiscoveryMultiAssetAdInfo::class); - $this->writeOneof(51, $var); - - return $this; - } - - /** - * Details pertaining to a discovery carousel ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DiscoveryCarouselAdInfo discovery_carousel_ad = 52; - * @return \Google\Ads\GoogleAds\V15\Common\DiscoveryCarouselAdInfo|null - */ - public function getDiscoveryCarouselAd() - { - return $this->readOneof(52); - } - - public function hasDiscoveryCarouselAd() - { - return $this->hasOneof(52); - } - - /** - * Details pertaining to a discovery carousel ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DiscoveryCarouselAdInfo discovery_carousel_ad = 52; - * @param \Google\Ads\GoogleAds\V15\Common\DiscoveryCarouselAdInfo $var - * @return $this - */ - public function setDiscoveryCarouselAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DiscoveryCarouselAdInfo::class); - $this->writeOneof(52, $var); - - return $this; - } - - /** - * Details pertaining to a discovery video responsive ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DiscoveryVideoResponsiveAdInfo discovery_video_responsive_ad = 60; - * @return \Google\Ads\GoogleAds\V15\Common\DiscoveryVideoResponsiveAdInfo|null - */ - public function getDiscoveryVideoResponsiveAd() - { - return $this->readOneof(60); - } - - public function hasDiscoveryVideoResponsiveAd() - { - return $this->hasOneof(60); - } - - /** - * Details pertaining to a discovery video responsive ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DiscoveryVideoResponsiveAdInfo discovery_video_responsive_ad = 60; - * @param \Google\Ads\GoogleAds\V15\Common\DiscoveryVideoResponsiveAdInfo $var - * @return $this - */ - public function setDiscoveryVideoResponsiveAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DiscoveryVideoResponsiveAdInfo::class); - $this->writeOneof(60, $var); - - return $this; - } - - /** - * Details pertaining to a travel ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TravelAdInfo travel_ad = 54; - * @return \Google\Ads\GoogleAds\V15\Common\TravelAdInfo|null - */ - public function getTravelAd() - { - return $this->readOneof(54); - } - - public function hasTravelAd() - { - return $this->hasOneof(54); - } - - /** - * Details pertaining to a travel ad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TravelAdInfo travel_ad = 54; - * @param \Google\Ads\GoogleAds\V15\Common\TravelAdInfo $var - * @return $this - */ - public function setTravelAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TravelAdInfo::class); - $this->writeOneof(54, $var); - - return $this; - } - - /** - * @return string - */ - public function getAdData() - { - return $this->whichOneof("ad_data"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroup.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroup.php deleted file mode 100644 index bfa1c61f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroup.php +++ /dev/null @@ -1,1409 +0,0 @@ -google.ads.googleads.v15.resources.AdGroup - */ -class AdGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group. - * Ad group resource names have the form: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the ad group. - * - * Generated from protobuf field optional int64 id = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the ad group. - * This field is required and should not be empty when creating new ad - * groups. - * It must contain fewer than 255 UTF-8 full-width characters. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 35; - */ - protected $name = null; - /** - * The status of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupStatusEnum.AdGroupStatus status = 5; - */ - protected $status = 0; - /** - * Immutable. The type of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * The ad rotation mode of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22; - */ - protected $ad_rotation_mode = 0; - /** - * Output only. For draft or experiment ad groups, this field is the resource - * name of the base ad group from which this ad group was created. If a draft - * or experiment ad group does not have a base ad group, then this field is - * null. - * For base ad groups, this field equals the ad group resource name. - * This field is read-only. - * - * Generated from protobuf field optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $base_ad_group = null; - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 37; - */ - protected $tracking_url_template = null; - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 6; - */ - private $url_custom_parameters; - /** - * Immutable. The campaign to which the ad group belongs. - * - * Generated from protobuf field optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * The maximum CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 39; - */ - protected $cpc_bid_micros = null; - /** - * Output only. Value will be same as that of the CPC (cost-per-click) bid - * value when the bidding strategy is one of manual cpc, enhanced cpc, page - * one promoted or target outrank share, otherwise the value will be null. - * - * Generated from protobuf field optional int64 effective_cpc_bid_micros = 57 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_cpc_bid_micros = null; - /** - * The maximum CPM (cost-per-thousand viewable impressions) bid. - * - * Generated from protobuf field optional int64 cpm_bid_micros = 40; - */ - protected $cpm_bid_micros = null; - /** - * The target CPA (cost-per-acquisition). If the ad group's campaign - * bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - * field set), then this field overrides the target CPA specified in the - * campaign's bidding strategy. - * Otherwise, this value is ignored. - * - * Generated from protobuf field optional int64 target_cpa_micros = 41; - */ - protected $target_cpa_micros = null; - /** - * The CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 42; - */ - protected $cpv_bid_micros = null; - /** - * Average amount in micros that the advertiser is willing to pay for every - * thousand times the ad is shown. - * - * Generated from protobuf field optional int64 target_cpm_micros = 43; - */ - protected $target_cpm_micros = null; - /** - * The target ROAS (return-on-ad-spend) override. If the ad group's campaign - * bidding strategy is TargetRoas or MaximizeConversionValue (with its - * target_roas field set), then this field overrides the target ROAS specified - * in the campaign's bidding strategy. - * Otherwise, this value is ignored. - * - * Generated from protobuf field optional double target_roas = 44; - */ - protected $target_roas = null; - /** - * The percent cpc bid amount, expressed as a fraction of the advertised price - * for some good or service. The valid range for the fraction is [0,1) and the - * value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 45; - */ - protected $percent_cpc_bid_micros = null; - /** - * True if optimized targeting is enabled. Optimized Targeting is the - * replacement for Audience Expansion. - * - * Generated from protobuf field bool optimized_targeting_enabled = 59; - */ - protected $optimized_targeting_enabled = false; - /** - * Allows advertisers to specify a targeting dimension on which to place - * absolute bids. This is only applicable for campaigns that target only the - * display network and not search. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23; - */ - protected $display_custom_bid_dimension = 0; - /** - * URL template for appending params to Final URL. - * - * Generated from protobuf field optional string final_url_suffix = 46; - */ - protected $final_url_suffix = null; - /** - * Setting for targeting related features. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetingSetting targeting_setting = 25; - */ - protected $targeting_setting = null; - /** - * Immutable. Setting for audience related features. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $audience_setting = null; - /** - * Output only. The effective target CPA (cost-per-acquisition). - * This field is read-only. - * - * Generated from protobuf field optional int64 effective_target_cpa_micros = 47 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_target_cpa_micros = null; - /** - * Output only. Source of the effective target CPA. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_target_cpa_source = 0; - /** - * Output only. The effective target ROAS (return-on-ad-spend). - * This field is read-only. - * - * Generated from protobuf field optional double effective_target_roas = 48 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_target_roas = null; - /** - * Output only. Source of the effective target ROAS. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_target_roas_source = 0; - /** - * Output only. The resource names of labels attached to this ad group. - * - * Generated from protobuf field repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $labels; - /** - * The asset field types that should be excluded from this ad group. Asset - * links with these field types will not be inherited by this ad group from - * the upper levels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54; - */ - private $excluded_parent_asset_field_types; - /** - * The asset set types that should be excluded from this ad group. Asset set - * links with these types will not be inherited by this ad group from the - * upper levels. - * Location group types (GMB_DYNAMIC_LOCATION_GROUP, - * CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - * LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - * location group asset sets are not allowed to be linked to this ad group, - * and all Location Extension (LE) and Affiliate Location Extensions (ALE) - * will not be served under this ad group. - * Only LOCATION_SYNC is currently supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58; - */ - private $excluded_parent_asset_set_types; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group. - * Ad group resource names have the form: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * @type int|string $id - * Output only. The ID of the ad group. - * @type string $name - * The name of the ad group. - * This field is required and should not be empty when creating new ad - * groups. - * It must contain fewer than 255 UTF-8 full-width characters. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * @type int $status - * The status of the ad group. - * @type int $type - * Immutable. The type of the ad group. - * @type int $ad_rotation_mode - * The ad rotation mode of the ad group. - * @type string $base_ad_group - * Output only. For draft or experiment ad groups, this field is the resource - * name of the base ad group from which this ad group was created. If a draft - * or experiment ad group does not have a base ad group, then this field is - * null. - * For base ad groups, this field equals the ad group resource name. - * This field is read-only. - * @type string $tracking_url_template - * The URL template for constructing a tracking URL. - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * @type string $campaign - * Immutable. The campaign to which the ad group belongs. - * @type int|string $cpc_bid_micros - * The maximum CPC (cost-per-click) bid. - * @type int|string $effective_cpc_bid_micros - * Output only. Value will be same as that of the CPC (cost-per-click) bid - * value when the bidding strategy is one of manual cpc, enhanced cpc, page - * one promoted or target outrank share, otherwise the value will be null. - * @type int|string $cpm_bid_micros - * The maximum CPM (cost-per-thousand viewable impressions) bid. - * @type int|string $target_cpa_micros - * The target CPA (cost-per-acquisition). If the ad group's campaign - * bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - * field set), then this field overrides the target CPA specified in the - * campaign's bidding strategy. - * Otherwise, this value is ignored. - * @type int|string $cpv_bid_micros - * The CPV (cost-per-view) bid. - * @type int|string $target_cpm_micros - * Average amount in micros that the advertiser is willing to pay for every - * thousand times the ad is shown. - * @type float $target_roas - * The target ROAS (return-on-ad-spend) override. If the ad group's campaign - * bidding strategy is TargetRoas or MaximizeConversionValue (with its - * target_roas field set), then this field overrides the target ROAS specified - * in the campaign's bidding strategy. - * Otherwise, this value is ignored. - * @type int|string $percent_cpc_bid_micros - * The percent cpc bid amount, expressed as a fraction of the advertised price - * for some good or service. The valid range for the fraction is [0,1) and the - * value stored here is 1,000,000 * [fraction]. - * @type bool $optimized_targeting_enabled - * True if optimized targeting is enabled. Optimized Targeting is the - * replacement for Audience Expansion. - * @type int $display_custom_bid_dimension - * Allows advertisers to specify a targeting dimension on which to place - * absolute bids. This is only applicable for campaigns that target only the - * display network and not search. - * @type string $final_url_suffix - * URL template for appending params to Final URL. - * @type \Google\Ads\GoogleAds\V15\Common\TargetingSetting $targeting_setting - * Setting for targeting related features. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroup\AudienceSetting $audience_setting - * Immutable. Setting for audience related features. - * @type int|string $effective_target_cpa_micros - * Output only. The effective target CPA (cost-per-acquisition). - * This field is read-only. - * @type int $effective_target_cpa_source - * Output only. Source of the effective target CPA. - * This field is read-only. - * @type float $effective_target_roas - * Output only. The effective target ROAS (return-on-ad-spend). - * This field is read-only. - * @type int $effective_target_roas_source - * Output only. Source of the effective target ROAS. - * This field is read-only. - * @type array|\Google\Protobuf\Internal\RepeatedField $labels - * Output only. The resource names of labels attached to this ad group. - * @type array|\Google\Protobuf\Internal\RepeatedField $excluded_parent_asset_field_types - * The asset field types that should be excluded from this ad group. Asset - * links with these field types will not be inherited by this ad group from - * the upper levels. - * @type array|\Google\Protobuf\Internal\RepeatedField $excluded_parent_asset_set_types - * The asset set types that should be excluded from this ad group. Asset set - * links with these types will not be inherited by this ad group from the - * upper levels. - * Location group types (GMB_DYNAMIC_LOCATION_GROUP, - * CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - * LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - * location group asset sets are not allowed to be linked to this ad group, - * and all Location Extension (LE) and Affiliate Location Extensions (ALE) - * will not be served under this ad group. - * Only LOCATION_SYNC is currently supported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroup::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group. - * Ad group resource names have the form: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group. - * Ad group resource names have the form: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the ad group. - * - * Generated from protobuf field optional int64 id = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the ad group. - * - * Generated from protobuf field optional int64 id = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the ad group. - * This field is required and should not be empty when creating new ad - * groups. - * It must contain fewer than 255 UTF-8 full-width characters. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 35; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the ad group. - * This field is required and should not be empty when creating new ad - * groups. - * It must contain fewer than 255 UTF-8 full-width characters. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 35; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The status of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupStatusEnum.AdGroupStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupStatusEnum.AdGroupStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdGroupStatusEnum\AdGroupStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. The type of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Immutable. The type of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupTypeEnum.AdGroupType type = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdGroupTypeEnum\AdGroupType::class); - $this->type = $var; - - return $this; - } - - /** - * The ad rotation mode of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22; - * @return int - */ - public function getAdRotationMode() - { - return $this->ad_rotation_mode; - } - - /** - * The ad rotation mode of the ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22; - * @param int $var - * @return $this - */ - public function setAdRotationMode($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdGroupAdRotationModeEnum\AdGroupAdRotationMode::class); - $this->ad_rotation_mode = $var; - - return $this; - } - - /** - * Output only. For draft or experiment ad groups, this field is the resource - * name of the base ad group from which this ad group was created. If a draft - * or experiment ad group does not have a base ad group, then this field is - * null. - * For base ad groups, this field equals the ad group resource name. - * This field is read-only. - * - * Generated from protobuf field optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getBaseAdGroup() - { - return isset($this->base_ad_group) ? $this->base_ad_group : ''; - } - - public function hasBaseAdGroup() - { - return isset($this->base_ad_group); - } - - public function clearBaseAdGroup() - { - unset($this->base_ad_group); - } - - /** - * Output only. For draft or experiment ad groups, this field is the resource - * name of the base ad group from which this ad group was created. If a draft - * or experiment ad group does not have a base ad group, then this field is - * null. - * For base ad groups, this field equals the ad group resource name. - * This field is read-only. - * - * Generated from protobuf field optional string base_ad_group = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setBaseAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->base_ad_group = $var; - - return $this; - } - - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 37; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 37; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * Immutable. The campaign to which the ad group belongs. - * - * Generated from protobuf field optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Immutable. The campaign to which the ad group belongs. - * - * Generated from protobuf field optional string campaign = 38 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * The maximum CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 39; - * @return int|string - */ - public function getCpcBidMicros() - { - return isset($this->cpc_bid_micros) ? $this->cpc_bid_micros : 0; - } - - public function hasCpcBidMicros() - { - return isset($this->cpc_bid_micros); - } - - public function clearCpcBidMicros() - { - unset($this->cpc_bid_micros); - } - - /** - * The maximum CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 39; - * @param int|string $var - * @return $this - */ - public function setCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_micros = $var; - - return $this; - } - - /** - * Output only. Value will be same as that of the CPC (cost-per-click) bid - * value when the bidding strategy is one of manual cpc, enhanced cpc, page - * one promoted or target outrank share, otherwise the value will be null. - * - * Generated from protobuf field optional int64 effective_cpc_bid_micros = 57 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEffectiveCpcBidMicros() - { - return isset($this->effective_cpc_bid_micros) ? $this->effective_cpc_bid_micros : 0; - } - - public function hasEffectiveCpcBidMicros() - { - return isset($this->effective_cpc_bid_micros); - } - - public function clearEffectiveCpcBidMicros() - { - unset($this->effective_cpc_bid_micros); - } - - /** - * Output only. Value will be same as that of the CPC (cost-per-click) bid - * value when the bidding strategy is one of manual cpc, enhanced cpc, page - * one promoted or target outrank share, otherwise the value will be null. - * - * Generated from protobuf field optional int64 effective_cpc_bid_micros = 57 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEffectiveCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->effective_cpc_bid_micros = $var; - - return $this; - } - - /** - * The maximum CPM (cost-per-thousand viewable impressions) bid. - * - * Generated from protobuf field optional int64 cpm_bid_micros = 40; - * @return int|string - */ - public function getCpmBidMicros() - { - return isset($this->cpm_bid_micros) ? $this->cpm_bid_micros : 0; - } - - public function hasCpmBidMicros() - { - return isset($this->cpm_bid_micros); - } - - public function clearCpmBidMicros() - { - unset($this->cpm_bid_micros); - } - - /** - * The maximum CPM (cost-per-thousand viewable impressions) bid. - * - * Generated from protobuf field optional int64 cpm_bid_micros = 40; - * @param int|string $var - * @return $this - */ - public function setCpmBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpm_bid_micros = $var; - - return $this; - } - - /** - * The target CPA (cost-per-acquisition). If the ad group's campaign - * bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - * field set), then this field overrides the target CPA specified in the - * campaign's bidding strategy. - * Otherwise, this value is ignored. - * - * Generated from protobuf field optional int64 target_cpa_micros = 41; - * @return int|string - */ - public function getTargetCpaMicros() - { - return isset($this->target_cpa_micros) ? $this->target_cpa_micros : 0; - } - - public function hasTargetCpaMicros() - { - return isset($this->target_cpa_micros); - } - - public function clearTargetCpaMicros() - { - unset($this->target_cpa_micros); - } - - /** - * The target CPA (cost-per-acquisition). If the ad group's campaign - * bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - * field set), then this field overrides the target CPA specified in the - * campaign's bidding strategy. - * Otherwise, this value is ignored. - * - * Generated from protobuf field optional int64 target_cpa_micros = 41; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpa_micros = $var; - - return $this; - } - - /** - * The CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 42; - * @return int|string - */ - public function getCpvBidMicros() - { - return isset($this->cpv_bid_micros) ? $this->cpv_bid_micros : 0; - } - - public function hasCpvBidMicros() - { - return isset($this->cpv_bid_micros); - } - - public function clearCpvBidMicros() - { - unset($this->cpv_bid_micros); - } - - /** - * The CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 42; - * @param int|string $var - * @return $this - */ - public function setCpvBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpv_bid_micros = $var; - - return $this; - } - - /** - * Average amount in micros that the advertiser is willing to pay for every - * thousand times the ad is shown. - * - * Generated from protobuf field optional int64 target_cpm_micros = 43; - * @return int|string - */ - public function getTargetCpmMicros() - { - return isset($this->target_cpm_micros) ? $this->target_cpm_micros : 0; - } - - public function hasTargetCpmMicros() - { - return isset($this->target_cpm_micros); - } - - public function clearTargetCpmMicros() - { - unset($this->target_cpm_micros); - } - - /** - * Average amount in micros that the advertiser is willing to pay for every - * thousand times the ad is shown. - * - * Generated from protobuf field optional int64 target_cpm_micros = 43; - * @param int|string $var - * @return $this - */ - public function setTargetCpmMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpm_micros = $var; - - return $this; - } - - /** - * The target ROAS (return-on-ad-spend) override. If the ad group's campaign - * bidding strategy is TargetRoas or MaximizeConversionValue (with its - * target_roas field set), then this field overrides the target ROAS specified - * in the campaign's bidding strategy. - * Otherwise, this value is ignored. - * - * Generated from protobuf field optional double target_roas = 44; - * @return float - */ - public function getTargetRoas() - { - return isset($this->target_roas) ? $this->target_roas : 0.0; - } - - public function hasTargetRoas() - { - return isset($this->target_roas); - } - - public function clearTargetRoas() - { - unset($this->target_roas); - } - - /** - * The target ROAS (return-on-ad-spend) override. If the ad group's campaign - * bidding strategy is TargetRoas or MaximizeConversionValue (with its - * target_roas field set), then this field overrides the target ROAS specified - * in the campaign's bidding strategy. - * Otherwise, this value is ignored. - * - * Generated from protobuf field optional double target_roas = 44; - * @param float $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->target_roas = $var; - - return $this; - } - - /** - * The percent cpc bid amount, expressed as a fraction of the advertised price - * for some good or service. The valid range for the fraction is [0,1) and the - * value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 45; - * @return int|string - */ - public function getPercentCpcBidMicros() - { - return isset($this->percent_cpc_bid_micros) ? $this->percent_cpc_bid_micros : 0; - } - - public function hasPercentCpcBidMicros() - { - return isset($this->percent_cpc_bid_micros); - } - - public function clearPercentCpcBidMicros() - { - unset($this->percent_cpc_bid_micros); - } - - /** - * The percent cpc bid amount, expressed as a fraction of the advertised price - * for some good or service. The valid range for the fraction is [0,1) and the - * value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 45; - * @param int|string $var - * @return $this - */ - public function setPercentCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->percent_cpc_bid_micros = $var; - - return $this; - } - - /** - * True if optimized targeting is enabled. Optimized Targeting is the - * replacement for Audience Expansion. - * - * Generated from protobuf field bool optimized_targeting_enabled = 59; - * @return bool - */ - public function getOptimizedTargetingEnabled() - { - return $this->optimized_targeting_enabled; - } - - /** - * True if optimized targeting is enabled. Optimized Targeting is the - * replacement for Audience Expansion. - * - * Generated from protobuf field bool optimized_targeting_enabled = 59; - * @param bool $var - * @return $this - */ - public function setOptimizedTargetingEnabled($var) - { - GPBUtil::checkBool($var); - $this->optimized_targeting_enabled = $var; - - return $this; - } - - /** - * Allows advertisers to specify a targeting dimension on which to place - * absolute bids. This is only applicable for campaigns that target only the - * display network and not search. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23; - * @return int - */ - public function getDisplayCustomBidDimension() - { - return $this->display_custom_bid_dimension; - } - - /** - * Allows advertisers to specify a targeting dimension on which to place - * absolute bids. This is only applicable for campaigns that target only the - * display network and not search. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23; - * @param int $var - * @return $this - */ - public function setDisplayCustomBidDimension($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TargetingDimensionEnum\TargetingDimension::class); - $this->display_custom_bid_dimension = $var; - - return $this; - } - - /** - * URL template for appending params to Final URL. - * - * Generated from protobuf field optional string final_url_suffix = 46; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * URL template for appending params to Final URL. - * - * Generated from protobuf field optional string final_url_suffix = 46; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - - /** - * Setting for targeting related features. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetingSetting targeting_setting = 25; - * @return \Google\Ads\GoogleAds\V15\Common\TargetingSetting|null - */ - public function getTargetingSetting() - { - return $this->targeting_setting; - } - - public function hasTargetingSetting() - { - return isset($this->targeting_setting); - } - - public function clearTargetingSetting() - { - unset($this->targeting_setting); - } - - /** - * Setting for targeting related features. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetingSetting targeting_setting = 25; - * @param \Google\Ads\GoogleAds\V15\Common\TargetingSetting $var - * @return $this - */ - public function setTargetingSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetingSetting::class); - $this->targeting_setting = $var; - - return $this; - } - - /** - * Immutable. Setting for audience related features. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroup\AudienceSetting|null - */ - public function getAudienceSetting() - { - return $this->audience_setting; - } - - public function hasAudienceSetting() - { - return isset($this->audience_setting); - } - - public function clearAudienceSetting() - { - unset($this->audience_setting); - } - - /** - * Immutable. Setting for audience related features. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup.AudienceSetting audience_setting = 56 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroup\AudienceSetting $var - * @return $this - */ - public function setAudienceSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroup\AudienceSetting::class); - $this->audience_setting = $var; - - return $this; - } - - /** - * Output only. The effective target CPA (cost-per-acquisition). - * This field is read-only. - * - * Generated from protobuf field optional int64 effective_target_cpa_micros = 47 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEffectiveTargetCpaMicros() - { - return isset($this->effective_target_cpa_micros) ? $this->effective_target_cpa_micros : 0; - } - - public function hasEffectiveTargetCpaMicros() - { - return isset($this->effective_target_cpa_micros); - } - - public function clearEffectiveTargetCpaMicros() - { - unset($this->effective_target_cpa_micros); - } - - /** - * Output only. The effective target CPA (cost-per-acquisition). - * This field is read-only. - * - * Generated from protobuf field optional int64 effective_target_cpa_micros = 47 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEffectiveTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->effective_target_cpa_micros = $var; - - return $this; - } - - /** - * Output only. Source of the effective target CPA. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEffectiveTargetCpaSource() - { - return $this->effective_target_cpa_source; - } - - /** - * Output only. Source of the effective target CPA. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEffectiveTargetCpaSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingSourceEnum\BiddingSource::class); - $this->effective_target_cpa_source = $var; - - return $this; - } - - /** - * Output only. The effective target ROAS (return-on-ad-spend). - * This field is read-only. - * - * Generated from protobuf field optional double effective_target_roas = 48 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getEffectiveTargetRoas() - { - return isset($this->effective_target_roas) ? $this->effective_target_roas : 0.0; - } - - public function hasEffectiveTargetRoas() - { - return isset($this->effective_target_roas); - } - - public function clearEffectiveTargetRoas() - { - unset($this->effective_target_roas); - } - - /** - * Output only. The effective target ROAS (return-on-ad-spend). - * This field is read-only. - * - * Generated from protobuf field optional double effective_target_roas = 48 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setEffectiveTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->effective_target_roas = $var; - - return $this; - } - - /** - * Output only. Source of the effective target ROAS. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEffectiveTargetRoasSource() - { - return $this->effective_target_roas_source; - } - - /** - * Output only. Source of the effective target ROAS. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEffectiveTargetRoasSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingSourceEnum\BiddingSource::class); - $this->effective_target_roas_source = $var; - - return $this; - } - - /** - * Output only. The resource names of labels attached to this ad group. - * - * Generated from protobuf field repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Output only. The resource names of labels attached to this ad group. - * - * Generated from protobuf field repeated string labels = 49 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * The asset field types that should be excluded from this ad group. Asset - * links with these field types will not be inherited by this ad group from - * the upper levels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExcludedParentAssetFieldTypes() - { - return $this->excluded_parent_asset_field_types; - } - - /** - * The asset field types that should be excluded from this ad group. Asset - * links with these field types will not be inherited by this ad group from - * the upper levels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExcludedParentAssetFieldTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->excluded_parent_asset_field_types = $arr; - - return $this; - } - - /** - * The asset set types that should be excluded from this ad group. Asset set - * links with these types will not be inherited by this ad group from the - * upper levels. - * Location group types (GMB_DYNAMIC_LOCATION_GROUP, - * CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - * LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - * location group asset sets are not allowed to be linked to this ad group, - * and all Location Extension (LE) and Affiliate Location Extensions (ALE) - * will not be served under this ad group. - * Only LOCATION_SYNC is currently supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExcludedParentAssetSetTypes() - { - return $this->excluded_parent_asset_set_types; - } - - /** - * The asset set types that should be excluded from this ad group. Asset set - * links with these types will not be inherited by this ad group from the - * upper levels. - * Location group types (GMB_DYNAMIC_LOCATION_GROUP, - * CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - * LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - * location group asset sets are not allowed to be linked to this ad group, - * and all Location Extension (LE) and Affiliate Location Extensions (ALE) - * will not be served under this ad group. - * Only LOCATION_SYNC is currently supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExcludedParentAssetSetTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetSetTypeEnum\AssetSetType::class); - $this->excluded_parent_asset_set_types = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroup/AudienceSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroup/AudienceSetting.php deleted file mode 100644 index ad5c535b0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroup/AudienceSetting.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.resources.AdGroup.AudienceSetting - */ -class AudienceSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. If true, this ad group uses an Audience resource for audience - * targeting. If false, this ad group may use audience segment criteria - * instead. - * - * Generated from protobuf field bool use_audience_grouped = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $use_audience_grouped = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $use_audience_grouped - * Immutable. If true, this ad group uses an Audience resource for audience - * targeting. If false, this ad group may use audience segment criteria - * instead. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroup::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. If true, this ad group uses an Audience resource for audience - * targeting. If false, this ad group may use audience segment criteria - * instead. - * - * Generated from protobuf field bool use_audience_grouped = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getUseAudienceGrouped() - { - return $this->use_audience_grouped; - } - - /** - * Immutable. If true, this ad group uses an Audience resource for audience - * targeting. If false, this ad group may use audience segment criteria - * instead. - * - * Generated from protobuf field bool use_audience_grouped = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setUseAudienceGrouped($var) - { - GPBUtil::checkBool($var); - $this->use_audience_grouped = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AudienceSetting::class, \Google\Ads\GoogleAds\V15\Resources\AdGroup_AudienceSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAd.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAd.php deleted file mode 100644 index 06f8da96d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAd.php +++ /dev/null @@ -1,351 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAd - */ -class AdGroupAd extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad. - * Ad group ad resource names have the form: - * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The status of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; - */ - protected $status = 0; - /** - * Immutable. The ad group to which the ad belongs. - * - * Generated from protobuf field optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * Immutable. The ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $ad = null; - /** - * Output only. Policy information for the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $policy_summary = null; - /** - * Output only. Overall ad strength for this ad group ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_strength = 0; - /** - * Output only. A list of recommendations to improve the ad strength. For - * example, a recommendation could be "Try adding a few more unique headlines - * or unpinning some assets.". - * - * Generated from protobuf field repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $action_items; - /** - * Output only. The resource names of labels attached to this ad group ad. - * - * Generated from protobuf field repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $labels; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad. - * Ad group ad resource names have the form: - * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - * @type int $status - * The status of the ad. - * @type string $ad_group - * Immutable. The ad group to which the ad belongs. - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $ad - * Immutable. The ad. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAdPolicySummary $policy_summary - * Output only. Policy information for the ad. - * @type int $ad_strength - * Output only. Overall ad strength for this ad group ad. - * @type array|\Google\Protobuf\Internal\RepeatedField $action_items - * Output only. A list of recommendations to improve the ad strength. For - * example, a recommendation could be "Try adding a few more unique headlines - * or unpinning some assets.". - * @type array|\Google\Protobuf\Internal\RepeatedField $labels - * Output only. The resource names of labels attached to this ad group ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAd::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad. - * Ad group ad resource names have the form: - * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad. - * Ad group ad resource names have the form: - * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The status of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdGroupAdStatusEnum\AdGroupAdStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. The ad group to which the ad belongs. - * - * Generated from protobuf field optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Immutable. The ad group to which the ad belongs. - * - * Generated from protobuf field optional string ad_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Immutable. The ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getAd() - { - return $this->ad; - } - - public function hasAd() - { - return isset($this->ad); - } - - public function clearAd() - { - unset($this->ad); - } - - /** - * Immutable. The ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->ad = $var; - - return $this; - } - - /** - * Output only. Policy information for the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAdPolicySummary|null - */ - public function getPolicySummary() - { - return $this->policy_summary; - } - - public function hasPolicySummary() - { - return isset($this->policy_summary); - } - - public function clearPolicySummary() - { - unset($this->policy_summary); - } - - /** - * Output only. Policy information for the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdPolicySummary policy_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAdPolicySummary $var - * @return $this - */ - public function setPolicySummary($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAdPolicySummary::class); - $this->policy_summary = $var; - - return $this; - } - - /** - * Output only. Overall ad strength for this ad group ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAdStrength() - { - return $this->ad_strength; - } - - /** - * Output only. Overall ad strength for this ad group ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAdStrength($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdStrengthEnum\AdStrength::class); - $this->ad_strength = $var; - - return $this; - } - - /** - * Output only. A list of recommendations to improve the ad strength. For - * example, a recommendation could be "Try adding a few more unique headlines - * or unpinning some assets.". - * - * Generated from protobuf field repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getActionItems() - { - return $this->action_items; - } - - /** - * Output only. A list of recommendations to improve the ad strength. For - * example, a recommendation could be "Try adding a few more unique headlines - * or unpinning some assets.". - * - * Generated from protobuf field repeated string action_items = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setActionItems($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->action_items = $arr; - - return $this; - } - - /** - * Output only. The resource names of labels attached to this ad group ad. - * - * Generated from protobuf field repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Output only. The resource names of labels attached to this ad group ad. - * - * Generated from protobuf field repeated string labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetCombinationView.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetCombinationView.php deleted file mode 100644 index 9821f4b70..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetCombinationView.php +++ /dev/null @@ -1,179 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAdAssetCombinationView - */ -class AdGroupAdAssetCombinationView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the ad group ad asset combination view. - * The combination ID is 128 bits long, where the upper 64 bits are stored in - * asset_combination_id_high, and the lower 64 bits are stored in - * asset_combination_id_low. - * AdGroupAd Asset Combination view resource names have the form: - * `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Served assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetUsage served_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $served_assets; - /** - * Output only. The status between the asset combination and the latest - * version of the ad. If true, the asset combination is linked to the latest - * version of the ad. If false, it means the link once existed but has been - * removed and is no longer present in the latest version of the ad. - * - * Generated from protobuf field optional bool enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $enabled = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the ad group ad asset combination view. - * The combination ID is 128 bits long, where the upper 64 bits are stored in - * asset_combination_id_high, and the lower 64 bits are stored in - * asset_combination_id_low. - * AdGroupAd Asset Combination view resource names have the form: - * `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` - * @type array<\Google\Ads\GoogleAds\V15\Common\AssetUsage>|\Google\Protobuf\Internal\RepeatedField $served_assets - * Output only. Served assets. - * @type bool $enabled - * Output only. The status between the asset combination and the latest - * version of the ad. If true, the asset combination is linked to the latest - * version of the ad. If false, it means the link once existed but has been - * removed and is no longer present in the latest version of the ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetCombinationView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the ad group ad asset combination view. - * The combination ID is 128 bits long, where the upper 64 bits are stored in - * asset_combination_id_high, and the lower 64 bits are stored in - * asset_combination_id_low. - * AdGroupAd Asset Combination view resource names have the form: - * `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the ad group ad asset combination view. - * The combination ID is 128 bits long, where the upper 64 bits are stored in - * asset_combination_id_high, and the lower 64 bits are stored in - * asset_combination_id_low. - * AdGroupAd Asset Combination view resource names have the form: - * `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Served assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetUsage served_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getServedAssets() - { - return $this->served_assets; - } - - /** - * Output only. Served assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetUsage served_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\AssetUsage>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setServedAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AssetUsage::class); - $this->served_assets = $arr; - - return $this; - } - - /** - * Output only. The status between the asset combination and the latest - * version of the ad. If true, the asset combination is linked to the latest - * version of the ad. If false, it means the link once existed but has been - * removed and is no longer present in the latest version of the ad. - * - * Generated from protobuf field optional bool enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getEnabled() - { - return isset($this->enabled) ? $this->enabled : false; - } - - public function hasEnabled() - { - return isset($this->enabled); - } - - public function clearEnabled() - { - unset($this->enabled); - } - - /** - * Output only. The status between the asset combination and the latest - * version of the ad. If true, the asset combination is linked to the latest - * version of the ad. If false, it means the link once existed but has been - * removed and is no longer present in the latest version of the ad. - * - * Generated from protobuf field optional bool enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setEnabled($var) - { - GPBUtil::checkBool($var); - $this->enabled = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetPolicySummary.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetPolicySummary.php deleted file mode 100644 index f73d822ae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetPolicySummary.php +++ /dev/null @@ -1,139 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAdAssetPolicySummary - */ -class AdGroupAdAssetPolicySummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The list of policy findings for the ad group ad asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $policy_topic_entries; - /** - * Output only. Where in the review process this ad group ad asset is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $review_status = 0; - /** - * Output only. The overall approval status of this ad group ad asset, - * calculated based on the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approval_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $policy_topic_entries - * Output only. The list of policy findings for the ad group ad asset. - * @type int $review_status - * Output only. Where in the review process this ad group ad asset is. - * @type int $approval_status - * Output only. The overall approval status of this ad group ad asset, - * calculated based on the status of its individual policy topic entries. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The list of policy findings for the ad group ad asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPolicyTopicEntries() - { - return $this->policy_topic_entries; - } - - /** - * Output only. The list of policy findings for the ad group ad asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPolicyTopicEntries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry::class); - $this->policy_topic_entries = $arr; - - return $this; - } - - /** - * Output only. Where in the review process this ad group ad asset is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getReviewStatus() - { - return $this->review_status; - } - - /** - * Output only. Where in the review process this ad group ad asset is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setReviewStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyReviewStatusEnum\PolicyReviewStatus::class); - $this->review_status = $var; - - return $this; - } - - /** - * Output only. The overall approval status of this ad group ad asset, - * calculated based on the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovalStatus() - { - return $this->approval_status; - } - - /** - * Output only. The overall approval status of this ad group ad asset, - * calculated based on the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyApprovalStatusEnum\PolicyApprovalStatus::class); - $this->approval_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetView.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetView.php deleted file mode 100644 index 700edafb0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdAssetView.php +++ /dev/null @@ -1,409 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAdAssetView - */ -class AdGroupAdAssetView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the ad group ad asset view. - * Ad group ad asset view resource names have the form (Before V4): - * `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - * Ad group ad asset view resource names have the form (Beginning from V4): - * `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ad group ad to which the asset is linked. - * - * Generated from protobuf field optional string ad_group_ad = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group_ad = null; - /** - * Output only. The asset which is linked to the ad group ad. - * - * Generated from protobuf field optional string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $asset = null; - /** - * Output only. Role that the asset takes in the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $field_type = 0; - /** - * Output only. The status between the asset and the latest version of the ad. - * If true, the asset is linked to the latest version of the ad. If false, it - * means the link once existed but has been removed and is no longer present - * in the latest version of the ad. - * - * Generated from protobuf field optional bool enabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $enabled = null; - /** - * Output only. Policy information for the ad group ad asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetPolicySummary policy_summary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $policy_summary = null; - /** - * Output only. Performance of an asset linkage. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $performance_label = 0; - /** - * Output only. Pinned field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $pinned_field = 0; - /** - * Output only. Source of the ad group ad asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $source = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the ad group ad asset view. - * Ad group ad asset view resource names have the form (Before V4): - * `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - * Ad group ad asset view resource names have the form (Beginning from V4): - * `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - * @type string $ad_group_ad - * Output only. The ad group ad to which the asset is linked. - * @type string $asset - * Output only. The asset which is linked to the ad group ad. - * @type int $field_type - * Output only. Role that the asset takes in the ad. - * @type bool $enabled - * Output only. The status between the asset and the latest version of the ad. - * If true, the asset is linked to the latest version of the ad. If false, it - * means the link once existed but has been removed and is no longer present - * in the latest version of the ad. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetPolicySummary $policy_summary - * Output only. Policy information for the ad group ad asset. - * @type int $performance_label - * Output only. Performance of an asset linkage. - * @type int $pinned_field - * Output only. Pinned field. - * @type int $source - * Output only. Source of the ad group ad asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the ad group ad asset view. - * Ad group ad asset view resource names have the form (Before V4): - * `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - * Ad group ad asset view resource names have the form (Beginning from V4): - * `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the ad group ad asset view. - * Ad group ad asset view resource names have the form (Before V4): - * `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - * Ad group ad asset view resource names have the form (Beginning from V4): - * `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ad group ad to which the asset is linked. - * - * Generated from protobuf field optional string ad_group_ad = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupAd() - { - return isset($this->ad_group_ad) ? $this->ad_group_ad : ''; - } - - public function hasAdGroupAd() - { - return isset($this->ad_group_ad); - } - - public function clearAdGroupAd() - { - unset($this->ad_group_ad); - } - - /** - * Output only. The ad group ad to which the asset is linked. - * - * Generated from protobuf field optional string ad_group_ad = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupAd($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_ad = $var; - - return $this; - } - - /** - * Output only. The asset which is linked to the ad group ad. - * - * Generated from protobuf field optional string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return isset($this->asset) ? $this->asset : ''; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * Output only. The asset which is linked to the ad group ad. - * - * Generated from protobuf field optional string asset = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * Output only. Role that the asset takes in the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getFieldType() - { - return $this->field_type; - } - - /** - * Output only. Role that the asset takes in the ad. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->field_type = $var; - - return $this; - } - - /** - * Output only. The status between the asset and the latest version of the ad. - * If true, the asset is linked to the latest version of the ad. If false, it - * means the link once existed but has been removed and is no longer present - * in the latest version of the ad. - * - * Generated from protobuf field optional bool enabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getEnabled() - { - return isset($this->enabled) ? $this->enabled : false; - } - - public function hasEnabled() - { - return isset($this->enabled); - } - - public function clearEnabled() - { - unset($this->enabled); - } - - /** - * Output only. The status between the asset and the latest version of the ad. - * If true, the asset is linked to the latest version of the ad. If false, it - * means the link once existed but has been removed and is no longer present - * in the latest version of the ad. - * - * Generated from protobuf field optional bool enabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setEnabled($var) - { - GPBUtil::checkBool($var); - $this->enabled = $var; - - return $this; - } - - /** - * Output only. Policy information for the ad group ad asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetPolicySummary policy_summary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetPolicySummary|null - */ - public function getPolicySummary() - { - return $this->policy_summary; - } - - public function hasPolicySummary() - { - return isset($this->policy_summary); - } - - public function clearPolicySummary() - { - unset($this->policy_summary); - } - - /** - * Output only. Policy information for the ad group ad asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetPolicySummary policy_summary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetPolicySummary $var - * @return $this - */ - public function setPolicySummary($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetPolicySummary::class); - $this->policy_summary = $var; - - return $this; - } - - /** - * Output only. Performance of an asset linkage. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPerformanceLabel() - { - return $this->performance_label; - } - - /** - * Output only. Performance of an asset linkage. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPerformanceLabel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetPerformanceLabelEnum\AssetPerformanceLabel::class); - $this->performance_label = $var; - - return $this; - } - - /** - * Output only. Pinned field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPinnedField() - { - return $this->pinned_field; - } - - /** - * Output only. Pinned field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPinnedField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ServedAssetFieldTypeEnum\ServedAssetFieldType::class); - $this->pinned_field = $var; - - return $this; - } - - /** - * Output only. Source of the ad group ad asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSource() - { - return $this->source; - } - - /** - * Output only. Source of the ad group ad asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSourceEnum\AssetSource::class); - $this->source = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdLabel.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdLabel.php deleted file mode 100644 index 66d5ae0ec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdLabel.php +++ /dev/null @@ -1,163 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAdLabel - */ -class AdGroupAdLabel extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group ad label. - * Ad group ad label resource names have the form: - * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ad group ad to which the label is attached. - * - * Generated from protobuf field optional string ad_group_ad = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group_ad = null; - /** - * Immutable. The label assigned to the ad group ad. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $label = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group ad label. - * Ad group ad label resource names have the form: - * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - * @type string $ad_group_ad - * Immutable. The ad group ad to which the label is attached. - * @type string $label - * Immutable. The label assigned to the ad group ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group ad label. - * Ad group ad label resource names have the form: - * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group ad label. - * Ad group ad label resource names have the form: - * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ad group ad to which the label is attached. - * - * Generated from protobuf field optional string ad_group_ad = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupAd() - { - return isset($this->ad_group_ad) ? $this->ad_group_ad : ''; - } - - public function hasAdGroupAd() - { - return isset($this->ad_group_ad); - } - - public function clearAdGroupAd() - { - unset($this->ad_group_ad); - } - - /** - * Immutable. The ad group ad to which the label is attached. - * - * Generated from protobuf field optional string ad_group_ad = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupAd($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_ad = $var; - - return $this; - } - - /** - * Immutable. The label assigned to the ad group ad. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getLabel() - { - return isset($this->label) ? $this->label : ''; - } - - public function hasLabel() - { - return isset($this->label); - } - - public function clearLabel() - { - unset($this->label); - } - - /** - * Immutable. The label assigned to the ad group ad. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setLabel($var) - { - GPBUtil::checkString($var, True); - $this->label = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdPolicySummary.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdPolicySummary.php deleted file mode 100644 index ed4e2b299..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAdPolicySummary.php +++ /dev/null @@ -1,139 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAdPolicySummary - */ -class AdGroupAdPolicySummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The list of policy findings for this ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $policy_topic_entries; - /** - * Output only. Where in the review process this ad is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $review_status = 0; - /** - * Output only. The overall approval status of this ad, calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approval_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $policy_topic_entries - * Output only. The list of policy findings for this ad. - * @type int $review_status - * Output only. Where in the review process this ad is. - * @type int $approval_status - * Output only. The overall approval status of this ad, calculated based on - * the status of its individual policy topic entries. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAd::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The list of policy findings for this ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPolicyTopicEntries() - { - return $this->policy_topic_entries; - } - - /** - * Output only. The list of policy findings for this ad. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPolicyTopicEntries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry::class); - $this->policy_topic_entries = $arr; - - return $this; - } - - /** - * Output only. Where in the review process this ad is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getReviewStatus() - { - return $this->review_status; - } - - /** - * Output only. Where in the review process this ad is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setReviewStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyReviewStatusEnum\PolicyReviewStatus::class); - $this->review_status = $var; - - return $this; - } - - /** - * Output only. The overall approval status of this ad, calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovalStatus() - { - return $this->approval_status; - } - - /** - * Output only. The overall approval status of this ad, calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyApprovalStatusEnum\PolicyApprovalStatus::class); - $this->approval_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAsset.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAsset.php deleted file mode 100644 index bf40c8b6a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAsset.php +++ /dev/null @@ -1,375 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAsset - */ -class AdGroupAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group asset. - * AdGroupAsset resource names have the form: - * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Required. Immutable. The ad group to which the asset is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = ''; - /** - * Required. Immutable. The asset which is linked to the ad group. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset = ''; - /** - * Required. Immutable. Role that the asset takes under the linked ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $field_type = 0; - /** - * Output only. Source of the adgroup asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $source = 0; - /** - * Status of the ad group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - */ - protected $status = 0; - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $primary_status = 0; - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_details; - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_reasons; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group asset. - * AdGroupAsset resource names have the form: - * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - * @type string $ad_group - * Required. Immutable. The ad group to which the asset is linked. - * @type string $asset - * Required. Immutable. The asset which is linked to the ad group. - * @type int $field_type - * Required. Immutable. Role that the asset takes under the linked ad group. - * @type int $source - * Output only. Source of the adgroup asset link. - * @type int $status - * Status of the ad group asset. - * @type int $primary_status - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * @type array<\Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails>|\Google\Protobuf\Internal\RepeatedField $primary_status_details - * Output only. Provides the details of the primary status and its associated - * reasons. - * @type array|\Google\Protobuf\Internal\RepeatedField $primary_status_reasons - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAsset::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group asset. - * AdGroupAsset resource names have the form: - * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group asset. - * AdGroupAsset resource names have the form: - * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Required. Immutable. The ad group to which the asset is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return $this->ad_group; - } - - /** - * Required. Immutable. The ad group to which the asset is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Required. Immutable. The asset which is linked to the ad group. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * Required. Immutable. The asset which is linked to the ad group. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * Required. Immutable. Role that the asset takes under the linked ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getFieldType() - { - return $this->field_type; - } - - /** - * Required. Immutable. Role that the asset takes under the linked ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->field_type = $var; - - return $this; - } - - /** - * Output only. Source of the adgroup asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSource() - { - return $this->source; - } - - /** - * Output only. Source of the adgroup asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSourceEnum\AssetSource::class); - $this->source = $var; - - return $this; - } - - /** - * Status of the ad group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Status of the ad group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkStatusEnum\AssetLinkStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPrimaryStatus() - { - return $this->primary_status; - } - - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPrimaryStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusEnum\AssetLinkPrimaryStatus::class); - $this->primary_status = $var; - - return $this; - } - - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusDetails() - { - return $this->primary_status_details; - } - - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusDetails($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails::class); - $this->primary_status_details = $arr; - - return $this; - } - - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusReasons() - { - return $this->primary_status_reasons; - } - - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusReasonEnum\AssetLinkPrimaryStatusReason::class); - $this->primary_status_reasons = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAssetSet.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAssetSet.php deleted file mode 100644 index 113cd9109..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAssetSet.php +++ /dev/null @@ -1,178 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAssetSet - */ -class AdGroupAssetSet extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group asset set. - * Ad group asset set resource names have the form: - * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ad group to which this asset set is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = ''; - /** - * Immutable. The asset set which is linked to the ad group. - * - * Generated from protobuf field string asset_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset_set = ''; - /** - * Output only. The status of the ad group asset set. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group asset set. - * Ad group asset set resource names have the form: - * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - * @type string $ad_group - * Immutable. The ad group to which this asset set is linked. - * @type string $asset_set - * Immutable. The asset set which is linked to the ad group. - * @type int $status - * Output only. The status of the ad group asset set. Read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group asset set. - * Ad group asset set resource names have the form: - * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group asset set. - * Ad group asset set resource names have the form: - * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ad group to which this asset set is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return $this->ad_group; - } - - /** - * Immutable. The ad group to which this asset set is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Immutable. The asset set which is linked to the ad group. - * - * Generated from protobuf field string asset_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetSet() - { - return $this->asset_set; - } - - /** - * Immutable. The asset set which is linked to the ad group. - * - * Generated from protobuf field string asset_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetSet($var) - { - GPBUtil::checkString($var, True); - $this->asset_set = $var; - - return $this; - } - - /** - * Output only. The status of the ad group asset set. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the ad group asset set. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSetLinkStatusEnum\AssetSetLinkStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAudienceView.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAudienceView.php deleted file mode 100644 index c39c93151..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupAudienceView.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupAudienceView - */ -class AdGroupAudienceView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the ad group audience view. - * Ad group audience view resource names have the form: - * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the ad group audience view. - * Ad group audience view resource names have the form: - * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupAudienceView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the ad group audience view. - * Ad group audience view resource names have the form: - * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the ad group audience view. - * Ad group audience view resource names have the form: - * `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupBidModifier.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupBidModifier.php deleted file mode 100644 index 44af21ed2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupBidModifier.php +++ /dev/null @@ -1,526 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupBidModifier - */ -class AdGroupBidModifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group bid modifier. - * Ad group bid modifier resource names have the form: - * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ad group to which this criterion belongs. - * - * Generated from protobuf field optional string ad_group = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * Output only. The ID of the criterion to bid modify. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $criterion_id = null; - /** - * The modifier for the bid when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - * Use 0 to opt out of a Device type. - * - * Generated from protobuf field optional double bid_modifier = 15; - */ - protected $bid_modifier = null; - /** - * Output only. The base ad group from which this draft/trial adgroup bid - * modifier was created. If ad_group is a base ad group then this field will - * be equal to ad_group. If the ad group was created in the draft or trial and - * has no corresponding base ad group, then this field will be null. This - * field is readonly. - * - * Generated from protobuf field optional string base_ad_group = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $base_ad_group = null; - /** - * Output only. Bid modifier source. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BidModifierSourceEnum.BidModifierSource bid_modifier_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $bid_modifier_source = 0; - protected $criterion; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group bid modifier. - * Ad group bid modifier resource names have the form: - * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - * @type string $ad_group - * Immutable. The ad group to which this criterion belongs. - * @type int|string $criterion_id - * Output only. The ID of the criterion to bid modify. - * This field is ignored for mutates. - * @type float $bid_modifier - * The modifier for the bid when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - * Use 0 to opt out of a Device type. - * @type string $base_ad_group - * Output only. The base ad group from which this draft/trial adgroup bid - * modifier was created. If ad_group is a base ad group then this field will - * be equal to ad_group. If the ad group was created in the draft or trial and - * has no corresponding base ad group, then this field will be null. This - * field is readonly. - * @type int $bid_modifier_source - * Output only. Bid modifier source. - * @type \Google\Ads\GoogleAds\V15\Common\HotelDateSelectionTypeInfo $hotel_date_selection_type - * Immutable. Criterion for hotel date selection (default dates versus user - * selected). - * @type \Google\Ads\GoogleAds\V15\Common\HotelAdvanceBookingWindowInfo $hotel_advance_booking_window - * Immutable. Criterion for number of days prior to the stay the booking is - * being made. - * @type \Google\Ads\GoogleAds\V15\Common\HotelLengthOfStayInfo $hotel_length_of_stay - * Immutable. Criterion for length of hotel stay in nights. - * @type \Google\Ads\GoogleAds\V15\Common\HotelCheckInDayInfo $hotel_check_in_day - * Immutable. Criterion for day of the week the booking is for. - * @type \Google\Ads\GoogleAds\V15\Common\DeviceInfo $device - * Immutable. A device criterion. - * @type \Google\Ads\GoogleAds\V15\Common\HotelCheckInDateRangeInfo $hotel_check_in_date_range - * Immutable. Criterion for a hotel check-in date range. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group bid modifier. - * Ad group bid modifier resource names have the form: - * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group bid modifier. - * Ad group bid modifier resource names have the form: - * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ad group to which this criterion belongs. - * - * Generated from protobuf field optional string ad_group = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Immutable. The ad group to which this criterion belongs. - * - * Generated from protobuf field optional string ad_group = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Output only. The ID of the criterion to bid modify. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCriterionId() - { - return isset($this->criterion_id) ? $this->criterion_id : 0; - } - - public function hasCriterionId() - { - return isset($this->criterion_id); - } - - public function clearCriterionId() - { - unset($this->criterion_id); - } - - /** - * Output only. The ID of the criterion to bid modify. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->criterion_id = $var; - - return $this; - } - - /** - * The modifier for the bid when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - * Use 0 to opt out of a Device type. - * - * Generated from protobuf field optional double bid_modifier = 15; - * @return float - */ - public function getBidModifier() - { - return isset($this->bid_modifier) ? $this->bid_modifier : 0.0; - } - - public function hasBidModifier() - { - return isset($this->bid_modifier); - } - - public function clearBidModifier() - { - unset($this->bid_modifier); - } - - /** - * The modifier for the bid when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - * Use 0 to opt out of a Device type. - * - * Generated from protobuf field optional double bid_modifier = 15; - * @param float $var - * @return $this - */ - public function setBidModifier($var) - { - GPBUtil::checkDouble($var); - $this->bid_modifier = $var; - - return $this; - } - - /** - * Output only. The base ad group from which this draft/trial adgroup bid - * modifier was created. If ad_group is a base ad group then this field will - * be equal to ad_group. If the ad group was created in the draft or trial and - * has no corresponding base ad group, then this field will be null. This - * field is readonly. - * - * Generated from protobuf field optional string base_ad_group = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getBaseAdGroup() - { - return isset($this->base_ad_group) ? $this->base_ad_group : ''; - } - - public function hasBaseAdGroup() - { - return isset($this->base_ad_group); - } - - public function clearBaseAdGroup() - { - unset($this->base_ad_group); - } - - /** - * Output only. The base ad group from which this draft/trial adgroup bid - * modifier was created. If ad_group is a base ad group then this field will - * be equal to ad_group. If the ad group was created in the draft or trial and - * has no corresponding base ad group, then this field will be null. This - * field is readonly. - * - * Generated from protobuf field optional string base_ad_group = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setBaseAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->base_ad_group = $var; - - return $this; - } - - /** - * Output only. Bid modifier source. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BidModifierSourceEnum.BidModifierSource bid_modifier_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getBidModifierSource() - { - return $this->bid_modifier_source; - } - - /** - * Output only. Bid modifier source. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BidModifierSourceEnum.BidModifierSource bid_modifier_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setBidModifierSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BidModifierSourceEnum\BidModifierSource::class); - $this->bid_modifier_source = $var; - - return $this; - } - - /** - * Immutable. Criterion for hotel date selection (default dates versus user - * selected). - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelDateSelectionTypeInfo hotel_date_selection_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\HotelDateSelectionTypeInfo|null - */ - public function getHotelDateSelectionType() - { - return $this->readOneof(5); - } - - public function hasHotelDateSelectionType() - { - return $this->hasOneof(5); - } - - /** - * Immutable. Criterion for hotel date selection (default dates versus user - * selected). - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelDateSelectionTypeInfo hotel_date_selection_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\HotelDateSelectionTypeInfo $var - * @return $this - */ - public function setHotelDateSelectionType($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelDateSelectionTypeInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Immutable. Criterion for number of days prior to the stay the booking is - * being made. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelAdvanceBookingWindowInfo hotel_advance_booking_window = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\HotelAdvanceBookingWindowInfo|null - */ - public function getHotelAdvanceBookingWindow() - { - return $this->readOneof(6); - } - - public function hasHotelAdvanceBookingWindow() - { - return $this->hasOneof(6); - } - - /** - * Immutable. Criterion for number of days prior to the stay the booking is - * being made. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelAdvanceBookingWindowInfo hotel_advance_booking_window = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\HotelAdvanceBookingWindowInfo $var - * @return $this - */ - public function setHotelAdvanceBookingWindow($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelAdvanceBookingWindowInfo::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Immutable. Criterion for length of hotel stay in nights. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelLengthOfStayInfo hotel_length_of_stay = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\HotelLengthOfStayInfo|null - */ - public function getHotelLengthOfStay() - { - return $this->readOneof(7); - } - - public function hasHotelLengthOfStay() - { - return $this->hasOneof(7); - } - - /** - * Immutable. Criterion for length of hotel stay in nights. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelLengthOfStayInfo hotel_length_of_stay = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\HotelLengthOfStayInfo $var - * @return $this - */ - public function setHotelLengthOfStay($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelLengthOfStayInfo::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Immutable. Criterion for day of the week the booking is for. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCheckInDayInfo hotel_check_in_day = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\HotelCheckInDayInfo|null - */ - public function getHotelCheckInDay() - { - return $this->readOneof(8); - } - - public function hasHotelCheckInDay() - { - return $this->hasOneof(8); - } - - /** - * Immutable. Criterion for day of the week the booking is for. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCheckInDayInfo hotel_check_in_day = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\HotelCheckInDayInfo $var - * @return $this - */ - public function setHotelCheckInDay($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelCheckInDayInfo::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Immutable. A device criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DeviceInfo device = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\DeviceInfo|null - */ - public function getDevice() - { - return $this->readOneof(11); - } - - public function hasDevice() - { - return $this->hasOneof(11); - } - - /** - * Immutable. A device criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DeviceInfo device = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\DeviceInfo $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DeviceInfo::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Immutable. Criterion for a hotel check-in date range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCheckInDateRangeInfo hotel_check_in_date_range = 17 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\HotelCheckInDateRangeInfo|null - */ - public function getHotelCheckInDateRange() - { - return $this->readOneof(17); - } - - public function hasHotelCheckInDateRange() - { - return $this->hasOneof(17); - } - - /** - * Immutable. Criterion for a hotel check-in date range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCheckInDateRangeInfo hotel_check_in_date_range = 17 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\HotelCheckInDateRangeInfo $var - * @return $this - */ - public function setHotelCheckInDateRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelCheckInDateRangeInfo::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * @return string - */ - public function getCriterion() - { - return $this->whichOneof("criterion"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion.php deleted file mode 100644 index c788f533f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion.php +++ /dev/null @@ -1,2120 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupCriterion - */ -class AdGroupCriterion extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group criterion. - * Ad group criterion resource names have the form: - * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 56 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $criterion_id = null; - /** - * Output only. The display name of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field string display_name = 77 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $display_name = ''; - /** - * The status of the criterion. - * This is the status of the ad group criterion entity, set by the client. - * Note: UI reports may incorporate additional information that affects - * whether a criterion is eligible to run. In some cases a criterion that's - * REMOVED in the API can still show as enabled in the UI. - * For example, campaigns by default show to users of all age ranges unless - * excluded. The UI will show each age range as "enabled", since they're - * eligible to see the ads; but AdGroupCriterion.status will show "removed", - * since no positive criterion was added. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus status = 3; - */ - protected $status = 0; - /** - * Output only. Information regarding the quality of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion.QualityInfo quality_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $quality_info = null; - /** - * Immutable. The ad group to which the criterion belongs. - * - * Generated from protobuf field optional string ad_group = 57 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * This field is immutable. To switch a criterion from positive to negative, - * remove then re-add it. - * - * Generated from protobuf field optional bool negative = 58 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $negative = null; - /** - * Output only. Serving status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus system_serving_status = 52 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $system_serving_status = 0; - /** - * Output only. Approval status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus approval_status = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approval_status = 0; - /** - * Output only. List of disapproval reasons of the criterion. - * The different reasons for disapproving a criterion can be found here: - * https://support.google.com/adspolicy/answer/6008942 - * This field is read-only. - * - * Generated from protobuf field repeated string disapproval_reasons = 59 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $disapproval_reasons; - /** - * Output only. The resource names of labels attached to this ad group - * criterion. - * - * Generated from protobuf field repeated string labels = 60 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $labels; - /** - * The modifier for the bid when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * - * Generated from protobuf field optional double bid_modifier = 61; - */ - protected $bid_modifier = null; - /** - * The CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 62; - */ - protected $cpc_bid_micros = null; - /** - * The CPM (cost-per-thousand viewable impressions) bid. - * - * Generated from protobuf field optional int64 cpm_bid_micros = 63; - */ - protected $cpm_bid_micros = null; - /** - * The CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 64; - */ - protected $cpv_bid_micros = null; - /** - * The CPC bid amount, expressed as a fraction of the advertised price - * for some good or service. The valid range for the fraction is [0,1) and the - * value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 65; - */ - protected $percent_cpc_bid_micros = null; - /** - * Output only. The effective CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 effective_cpc_bid_micros = 66 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_cpc_bid_micros = null; - /** - * Output only. The effective CPM (cost-per-thousand viewable impressions) - * bid. - * - * Generated from protobuf field optional int64 effective_cpm_bid_micros = 67 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_cpm_bid_micros = null; - /** - * Output only. The effective CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 effective_cpv_bid_micros = 68 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_cpv_bid_micros = null; - /** - * Output only. The effective Percent CPC bid amount. - * - * Generated from protobuf field optional int64 effective_percent_cpc_bid_micros = 69 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_percent_cpc_bid_micros = null; - /** - * Output only. Source of the effective CPC bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpc_bid_source = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_cpc_bid_source = 0; - /** - * Output only. Source of the effective CPM bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpm_bid_source = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_cpm_bid_source = 0; - /** - * Output only. Source of the effective CPV bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpv_bid_source = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_cpv_bid_source = 0; - /** - * Output only. Source of the effective Percent CPC bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_percent_cpc_bid_source = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_percent_cpc_bid_source = 0; - /** - * Output only. Estimates for criterion bids at various positions. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion.PositionEstimates position_estimates = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $position_estimates = null; - /** - * The list of possible final URLs after all cross-domain redirects for the - * ad. - * - * Generated from protobuf field repeated string final_urls = 70; - */ - private $final_urls; - /** - * The list of possible final mobile URLs after all cross-domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 71; - */ - private $final_mobile_urls; - /** - * URL template for appending params to final URL. - * - * Generated from protobuf field optional string final_url_suffix = 72; - */ - protected $final_url_suffix = null; - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 73; - */ - protected $tracking_url_template = null; - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 14; - */ - private $url_custom_parameters; - protected $criterion; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group criterion. - * Ad group criterion resource names have the form: - * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - * @type int|string $criterion_id - * Output only. The ID of the criterion. - * This field is ignored for mutates. - * @type string $display_name - * Output only. The display name of the criterion. - * This field is ignored for mutates. - * @type int $status - * The status of the criterion. - * This is the status of the ad group criterion entity, set by the client. - * Note: UI reports may incorporate additional information that affects - * whether a criterion is eligible to run. In some cases a criterion that's - * REMOVED in the API can still show as enabled in the UI. - * For example, campaigns by default show to users of all age ranges unless - * excluded. The UI will show each age range as "enabled", since they're - * eligible to see the ads; but AdGroupCriterion.status will show "removed", - * since no positive criterion was added. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion\QualityInfo $quality_info - * Output only. Information regarding the quality of the criterion. - * @type string $ad_group - * Immutable. The ad group to which the criterion belongs. - * @type int $type - * Output only. The type of the criterion. - * @type bool $negative - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * This field is immutable. To switch a criterion from positive to negative, - * remove then re-add it. - * @type int $system_serving_status - * Output only. Serving status of the criterion. - * @type int $approval_status - * Output only. Approval status of the criterion. - * @type array|\Google\Protobuf\Internal\RepeatedField $disapproval_reasons - * Output only. List of disapproval reasons of the criterion. - * The different reasons for disapproving a criterion can be found here: - * https://support.google.com/adspolicy/answer/6008942 - * This field is read-only. - * @type array|\Google\Protobuf\Internal\RepeatedField $labels - * Output only. The resource names of labels attached to this ad group - * criterion. - * @type float $bid_modifier - * The modifier for the bid when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * @type int|string $cpc_bid_micros - * The CPC (cost-per-click) bid. - * @type int|string $cpm_bid_micros - * The CPM (cost-per-thousand viewable impressions) bid. - * @type int|string $cpv_bid_micros - * The CPV (cost-per-view) bid. - * @type int|string $percent_cpc_bid_micros - * The CPC bid amount, expressed as a fraction of the advertised price - * for some good or service. The valid range for the fraction is [0,1) and the - * value stored here is 1,000,000 * [fraction]. - * @type int|string $effective_cpc_bid_micros - * Output only. The effective CPC (cost-per-click) bid. - * @type int|string $effective_cpm_bid_micros - * Output only. The effective CPM (cost-per-thousand viewable impressions) - * bid. - * @type int|string $effective_cpv_bid_micros - * Output only. The effective CPV (cost-per-view) bid. - * @type int|string $effective_percent_cpc_bid_micros - * Output only. The effective Percent CPC bid amount. - * @type int $effective_cpc_bid_source - * Output only. Source of the effective CPC bid. - * @type int $effective_cpm_bid_source - * Output only. Source of the effective CPM bid. - * @type int $effective_cpv_bid_source - * Output only. Source of the effective CPV bid. - * @type int $effective_percent_cpc_bid_source - * Output only. Source of the effective Percent CPC bid. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion\PositionEstimates $position_estimates - * Output only. Estimates for criterion bids at various positions. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * The list of possible final URLs after all cross-domain redirects for the - * ad. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * The list of possible final mobile URLs after all cross-domain redirects. - * @type string $final_url_suffix - * URL template for appending params to final URL. - * @type string $tracking_url_template - * The URL template for constructing a tracking URL. - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $keyword - * Immutable. Keyword. - * @type \Google\Ads\GoogleAds\V15\Common\PlacementInfo $placement - * Immutable. Placement. - * @type \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo $mobile_app_category - * Immutable. Mobile app category. - * @type \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo $mobile_application - * Immutable. Mobile application. - * @type \Google\Ads\GoogleAds\V15\Common\ListingGroupInfo $listing_group - * Immutable. Listing group. - * @type \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo $age_range - * Immutable. Age range. - * @type \Google\Ads\GoogleAds\V15\Common\GenderInfo $gender - * Immutable. Gender. - * @type \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo $income_range - * Immutable. Income range. - * @type \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo $parental_status - * Immutable. Parental status. - * @type \Google\Ads\GoogleAds\V15\Common\UserListInfo $user_list - * Immutable. User List. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo $youtube_video - * Immutable. YouTube Video. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $youtube_channel - * Immutable. YouTube Channel. - * @type \Google\Ads\GoogleAds\V15\Common\TopicInfo $topic - * Immutable. Topic. - * @type \Google\Ads\GoogleAds\V15\Common\UserInterestInfo $user_interest - * Immutable. User Interest. - * @type \Google\Ads\GoogleAds\V15\Common\WebpageInfo $webpage - * Immutable. Webpage - * @type \Google\Ads\GoogleAds\V15\Common\AppPaymentModelInfo $app_payment_model - * Immutable. App Payment Model. - * @type \Google\Ads\GoogleAds\V15\Common\CustomAffinityInfo $custom_affinity - * Immutable. Custom Affinity. - * @type \Google\Ads\GoogleAds\V15\Common\CustomIntentInfo $custom_intent - * Immutable. Custom Intent. - * @type \Google\Ads\GoogleAds\V15\Common\CustomAudienceInfo $custom_audience - * Immutable. Custom Audience. - * @type \Google\Ads\GoogleAds\V15\Common\CombinedAudienceInfo $combined_audience - * Immutable. Combined Audience. - * @type \Google\Ads\GoogleAds\V15\Common\AudienceInfo $audience - * Immutable. Audience. - * @type \Google\Ads\GoogleAds\V15\Common\LocationInfo $location - * Immutable. Location. - * @type \Google\Ads\GoogleAds\V15\Common\LanguageInfo $language - * Immutable. Language. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group criterion. - * Ad group criterion resource names have the form: - * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group criterion. - * Ad group criterion resource names have the form: - * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 56 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCriterionId() - { - return isset($this->criterion_id) ? $this->criterion_id : 0; - } - - public function hasCriterionId() - { - return isset($this->criterion_id); - } - - public function clearCriterionId() - { - unset($this->criterion_id); - } - - /** - * Output only. The ID of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 56 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->criterion_id = $var; - - return $this; - } - - /** - * Output only. The display name of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field string display_name = 77 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Output only. The display name of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field string display_name = 77 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The status of the criterion. - * This is the status of the ad group criterion entity, set by the client. - * Note: UI reports may incorporate additional information that affects - * whether a criterion is eligible to run. In some cases a criterion that's - * REMOVED in the API can still show as enabled in the UI. - * For example, campaigns by default show to users of all age ranges unless - * excluded. The UI will show each age range as "enabled", since they're - * eligible to see the ads; but AdGroupCriterion.status will show "removed", - * since no positive criterion was added. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus status = 3; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the criterion. - * This is the status of the ad group criterion entity, set by the client. - * Note: UI reports may incorporate additional information that affects - * whether a criterion is eligible to run. In some cases a criterion that's - * REMOVED in the API can still show as enabled in the UI. - * For example, campaigns by default show to users of all age ranges unless - * excluded. The UI will show each age range as "enabled", since they're - * eligible to see the ads; but AdGroupCriterion.status will show "removed", - * since no positive criterion was added. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus status = 3; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdGroupCriterionStatusEnum\AdGroupCriterionStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. Information regarding the quality of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion.QualityInfo quality_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion\QualityInfo|null - */ - public function getQualityInfo() - { - return $this->quality_info; - } - - public function hasQualityInfo() - { - return isset($this->quality_info); - } - - public function clearQualityInfo() - { - unset($this->quality_info); - } - - /** - * Output only. Information regarding the quality of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion.QualityInfo quality_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion\QualityInfo $var - * @return $this - */ - public function setQualityInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion\QualityInfo::class); - $this->quality_info = $var; - - return $this; - } - - /** - * Immutable. The ad group to which the criterion belongs. - * - * Generated from protobuf field optional string ad_group = 57 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Immutable. The ad group to which the criterion belongs. - * - * Generated from protobuf field optional string ad_group = 57 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CriterionTypeEnum\CriterionType::class); - $this->type = $var; - - return $this; - } - - /** - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * This field is immutable. To switch a criterion from positive to negative, - * remove then re-add it. - * - * Generated from protobuf field optional bool negative = 58 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getNegative() - { - return isset($this->negative) ? $this->negative : false; - } - - public function hasNegative() - { - return isset($this->negative); - } - - public function clearNegative() - { - unset($this->negative); - } - - /** - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * This field is immutable. To switch a criterion from positive to negative, - * remove then re-add it. - * - * Generated from protobuf field optional bool negative = 58 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setNegative($var) - { - GPBUtil::checkBool($var); - $this->negative = $var; - - return $this; - } - - /** - * Output only. Serving status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus system_serving_status = 52 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSystemServingStatus() - { - return $this->system_serving_status; - } - - /** - * Output only. Serving status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus system_serving_status = 52 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSystemServingStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CriterionSystemServingStatusEnum\CriterionSystemServingStatus::class); - $this->system_serving_status = $var; - - return $this; - } - - /** - * Output only. Approval status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus approval_status = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovalStatus() - { - return $this->approval_status; - } - - /** - * Output only. Approval status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus approval_status = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdGroupCriterionApprovalStatusEnum\AdGroupCriterionApprovalStatus::class); - $this->approval_status = $var; - - return $this; - } - - /** - * Output only. List of disapproval reasons of the criterion. - * The different reasons for disapproving a criterion can be found here: - * https://support.google.com/adspolicy/answer/6008942 - * This field is read-only. - * - * Generated from protobuf field repeated string disapproval_reasons = 59 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDisapprovalReasons() - { - return $this->disapproval_reasons; - } - - /** - * Output only. List of disapproval reasons of the criterion. - * The different reasons for disapproving a criterion can be found here: - * https://support.google.com/adspolicy/answer/6008942 - * This field is read-only. - * - * Generated from protobuf field repeated string disapproval_reasons = 59 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDisapprovalReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->disapproval_reasons = $arr; - - return $this; - } - - /** - * Output only. The resource names of labels attached to this ad group - * criterion. - * - * Generated from protobuf field repeated string labels = 60 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Output only. The resource names of labels attached to this ad group - * criterion. - * - * Generated from protobuf field repeated string labels = 60 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * The modifier for the bid when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * - * Generated from protobuf field optional double bid_modifier = 61; - * @return float - */ - public function getBidModifier() - { - return isset($this->bid_modifier) ? $this->bid_modifier : 0.0; - } - - public function hasBidModifier() - { - return isset($this->bid_modifier); - } - - public function clearBidModifier() - { - unset($this->bid_modifier); - } - - /** - * The modifier for the bid when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * - * Generated from protobuf field optional double bid_modifier = 61; - * @param float $var - * @return $this - */ - public function setBidModifier($var) - { - GPBUtil::checkDouble($var); - $this->bid_modifier = $var; - - return $this; - } - - /** - * The CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 62; - * @return int|string - */ - public function getCpcBidMicros() - { - return isset($this->cpc_bid_micros) ? $this->cpc_bid_micros : 0; - } - - public function hasCpcBidMicros() - { - return isset($this->cpc_bid_micros); - } - - public function clearCpcBidMicros() - { - unset($this->cpc_bid_micros); - } - - /** - * The CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 62; - * @param int|string $var - * @return $this - */ - public function setCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_micros = $var; - - return $this; - } - - /** - * The CPM (cost-per-thousand viewable impressions) bid. - * - * Generated from protobuf field optional int64 cpm_bid_micros = 63; - * @return int|string - */ - public function getCpmBidMicros() - { - return isset($this->cpm_bid_micros) ? $this->cpm_bid_micros : 0; - } - - public function hasCpmBidMicros() - { - return isset($this->cpm_bid_micros); - } - - public function clearCpmBidMicros() - { - unset($this->cpm_bid_micros); - } - - /** - * The CPM (cost-per-thousand viewable impressions) bid. - * - * Generated from protobuf field optional int64 cpm_bid_micros = 63; - * @param int|string $var - * @return $this - */ - public function setCpmBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpm_bid_micros = $var; - - return $this; - } - - /** - * The CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 64; - * @return int|string - */ - public function getCpvBidMicros() - { - return isset($this->cpv_bid_micros) ? $this->cpv_bid_micros : 0; - } - - public function hasCpvBidMicros() - { - return isset($this->cpv_bid_micros); - } - - public function clearCpvBidMicros() - { - unset($this->cpv_bid_micros); - } - - /** - * The CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 cpv_bid_micros = 64; - * @param int|string $var - * @return $this - */ - public function setCpvBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpv_bid_micros = $var; - - return $this; - } - - /** - * The CPC bid amount, expressed as a fraction of the advertised price - * for some good or service. The valid range for the fraction is [0,1) and the - * value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 65; - * @return int|string - */ - public function getPercentCpcBidMicros() - { - return isset($this->percent_cpc_bid_micros) ? $this->percent_cpc_bid_micros : 0; - } - - public function hasPercentCpcBidMicros() - { - return isset($this->percent_cpc_bid_micros); - } - - public function clearPercentCpcBidMicros() - { - unset($this->percent_cpc_bid_micros); - } - - /** - * The CPC bid amount, expressed as a fraction of the advertised price - * for some good or service. The valid range for the fraction is [0,1) and the - * value stored here is 1,000,000 * [fraction]. - * - * Generated from protobuf field optional int64 percent_cpc_bid_micros = 65; - * @param int|string $var - * @return $this - */ - public function setPercentCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->percent_cpc_bid_micros = $var; - - return $this; - } - - /** - * Output only. The effective CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 effective_cpc_bid_micros = 66 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEffectiveCpcBidMicros() - { - return isset($this->effective_cpc_bid_micros) ? $this->effective_cpc_bid_micros : 0; - } - - public function hasEffectiveCpcBidMicros() - { - return isset($this->effective_cpc_bid_micros); - } - - public function clearEffectiveCpcBidMicros() - { - unset($this->effective_cpc_bid_micros); - } - - /** - * Output only. The effective CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 effective_cpc_bid_micros = 66 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEffectiveCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->effective_cpc_bid_micros = $var; - - return $this; - } - - /** - * Output only. The effective CPM (cost-per-thousand viewable impressions) - * bid. - * - * Generated from protobuf field optional int64 effective_cpm_bid_micros = 67 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEffectiveCpmBidMicros() - { - return isset($this->effective_cpm_bid_micros) ? $this->effective_cpm_bid_micros : 0; - } - - public function hasEffectiveCpmBidMicros() - { - return isset($this->effective_cpm_bid_micros); - } - - public function clearEffectiveCpmBidMicros() - { - unset($this->effective_cpm_bid_micros); - } - - /** - * Output only. The effective CPM (cost-per-thousand viewable impressions) - * bid. - * - * Generated from protobuf field optional int64 effective_cpm_bid_micros = 67 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEffectiveCpmBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->effective_cpm_bid_micros = $var; - - return $this; - } - - /** - * Output only. The effective CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 effective_cpv_bid_micros = 68 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEffectiveCpvBidMicros() - { - return isset($this->effective_cpv_bid_micros) ? $this->effective_cpv_bid_micros : 0; - } - - public function hasEffectiveCpvBidMicros() - { - return isset($this->effective_cpv_bid_micros); - } - - public function clearEffectiveCpvBidMicros() - { - unset($this->effective_cpv_bid_micros); - } - - /** - * Output only. The effective CPV (cost-per-view) bid. - * - * Generated from protobuf field optional int64 effective_cpv_bid_micros = 68 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEffectiveCpvBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->effective_cpv_bid_micros = $var; - - return $this; - } - - /** - * Output only. The effective Percent CPC bid amount. - * - * Generated from protobuf field optional int64 effective_percent_cpc_bid_micros = 69 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEffectivePercentCpcBidMicros() - { - return isset($this->effective_percent_cpc_bid_micros) ? $this->effective_percent_cpc_bid_micros : 0; - } - - public function hasEffectivePercentCpcBidMicros() - { - return isset($this->effective_percent_cpc_bid_micros); - } - - public function clearEffectivePercentCpcBidMicros() - { - unset($this->effective_percent_cpc_bid_micros); - } - - /** - * Output only. The effective Percent CPC bid amount. - * - * Generated from protobuf field optional int64 effective_percent_cpc_bid_micros = 69 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEffectivePercentCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->effective_percent_cpc_bid_micros = $var; - - return $this; - } - - /** - * Output only. Source of the effective CPC bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpc_bid_source = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEffectiveCpcBidSource() - { - return $this->effective_cpc_bid_source; - } - - /** - * Output only. Source of the effective CPC bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpc_bid_source = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEffectiveCpcBidSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingSourceEnum\BiddingSource::class); - $this->effective_cpc_bid_source = $var; - - return $this; - } - - /** - * Output only. Source of the effective CPM bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpm_bid_source = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEffectiveCpmBidSource() - { - return $this->effective_cpm_bid_source; - } - - /** - * Output only. Source of the effective CPM bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpm_bid_source = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEffectiveCpmBidSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingSourceEnum\BiddingSource::class); - $this->effective_cpm_bid_source = $var; - - return $this; - } - - /** - * Output only. Source of the effective CPV bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpv_bid_source = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEffectiveCpvBidSource() - { - return $this->effective_cpv_bid_source; - } - - /** - * Output only. Source of the effective CPV bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpv_bid_source = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEffectiveCpvBidSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingSourceEnum\BiddingSource::class); - $this->effective_cpv_bid_source = $var; - - return $this; - } - - /** - * Output only. Source of the effective Percent CPC bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_percent_cpc_bid_source = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEffectivePercentCpcBidSource() - { - return $this->effective_percent_cpc_bid_source; - } - - /** - * Output only. Source of the effective Percent CPC bid. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_percent_cpc_bid_source = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEffectivePercentCpcBidSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingSourceEnum\BiddingSource::class); - $this->effective_percent_cpc_bid_source = $var; - - return $this; - } - - /** - * Output only. Estimates for criterion bids at various positions. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion.PositionEstimates position_estimates = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion\PositionEstimates|null - */ - public function getPositionEstimates() - { - return $this->position_estimates; - } - - public function hasPositionEstimates() - { - return isset($this->position_estimates); - } - - public function clearPositionEstimates() - { - unset($this->position_estimates); - } - - /** - * Output only. Estimates for criterion bids at various positions. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion.PositionEstimates position_estimates = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion\PositionEstimates $var - * @return $this - */ - public function setPositionEstimates($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion\PositionEstimates::class); - $this->position_estimates = $var; - - return $this; - } - - /** - * The list of possible final URLs after all cross-domain redirects for the - * ad. - * - * Generated from protobuf field repeated string final_urls = 70; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * The list of possible final URLs after all cross-domain redirects for the - * ad. - * - * Generated from protobuf field repeated string final_urls = 70; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * The list of possible final mobile URLs after all cross-domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 71; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * The list of possible final mobile URLs after all cross-domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 71; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - - /** - * URL template for appending params to final URL. - * - * Generated from protobuf field optional string final_url_suffix = 72; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * URL template for appending params to final URL. - * - * Generated from protobuf field optional string final_url_suffix = 72; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 73; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 73; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 14; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 14; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * Immutable. Keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 27 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getKeyword() - { - return $this->readOneof(27); - } - - public function hasKeyword() - { - return $this->hasOneof(27); - } - - /** - * Immutable. Keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 27 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->writeOneof(27, $var); - - return $this; - } - - /** - * Immutable. Placement. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PlacementInfo placement = 28 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\PlacementInfo|null - */ - public function getPlacement() - { - return $this->readOneof(28); - } - - public function hasPlacement() - { - return $this->hasOneof(28); - } - - /** - * Immutable. Placement. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PlacementInfo placement = 28 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\PlacementInfo $var - * @return $this - */ - public function setPlacement($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PlacementInfo::class); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * Immutable. Mobile app category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppCategoryInfo mobile_app_category = 29 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo|null - */ - public function getMobileAppCategory() - { - return $this->readOneof(29); - } - - public function hasMobileAppCategory() - { - return $this->hasOneof(29); - } - - /** - * Immutable. Mobile app category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppCategoryInfo mobile_app_category = 29 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo $var - * @return $this - */ - public function setMobileAppCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo::class); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * Immutable. Mobile application. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileApplicationInfo mobile_application = 30 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo|null - */ - public function getMobileApplication() - { - return $this->readOneof(30); - } - - public function hasMobileApplication() - { - return $this->hasOneof(30); - } - - /** - * Immutable. Mobile application. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileApplicationInfo mobile_application = 30 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo $var - * @return $this - */ - public function setMobileApplication($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * Immutable. Listing group. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ListingGroupInfo listing_group = 32 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ListingGroupInfo|null - */ - public function getListingGroup() - { - return $this->readOneof(32); - } - - public function hasListingGroup() - { - return $this->hasOneof(32); - } - - /** - * Immutable. Listing group. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ListingGroupInfo listing_group = 32 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ListingGroupInfo $var - * @return $this - */ - public function setListingGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ListingGroupInfo::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * Immutable. Age range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AgeRangeInfo age_range = 36 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo|null - */ - public function getAgeRange() - { - return $this->readOneof(36); - } - - public function hasAgeRange() - { - return $this->hasOneof(36); - } - - /** - * Immutable. Age range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AgeRangeInfo age_range = 36 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo $var - * @return $this - */ - public function setAgeRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * Immutable. Gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 37 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\GenderInfo|null - */ - public function getGender() - { - return $this->readOneof(37); - } - - public function hasGender() - { - return $this->hasOneof(37); - } - - /** - * Immutable. Gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 37 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\GenderInfo $var - * @return $this - */ - public function setGender($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\GenderInfo::class); - $this->writeOneof(37, $var); - - return $this; - } - - /** - * Immutable. Income range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.IncomeRangeInfo income_range = 38 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo|null - */ - public function getIncomeRange() - { - return $this->readOneof(38); - } - - public function hasIncomeRange() - { - return $this->hasOneof(38); - } - - /** - * Immutable. Income range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.IncomeRangeInfo income_range = 38 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo $var - * @return $this - */ - public function setIncomeRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo::class); - $this->writeOneof(38, $var); - - return $this; - } - - /** - * Immutable. Parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 39 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo|null - */ - public function getParentalStatus() - { - return $this->readOneof(39); - } - - public function hasParentalStatus() - { - return $this->hasOneof(39); - } - - /** - * Immutable. Parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 39 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo $var - * @return $this - */ - public function setParentalStatus($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo::class); - $this->writeOneof(39, $var); - - return $this; - } - - /** - * Immutable. User List. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListInfo user_list = 42 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\UserListInfo|null - */ - public function getUserList() - { - return $this->readOneof(42); - } - - public function hasUserList() - { - return $this->hasOneof(42); - } - - /** - * Immutable. User List. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListInfo user_list = 42 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\UserListInfo $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserListInfo::class); - $this->writeOneof(42, $var); - - return $this; - } - - /** - * Immutable. YouTube Video. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeVideoInfo youtube_video = 40 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo|null - */ - public function getYoutubeVideo() - { - return $this->readOneof(40); - } - - public function hasYoutubeVideo() - { - return $this->hasOneof(40); - } - - /** - * Immutable. YouTube Video. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeVideoInfo youtube_video = 40 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo $var - * @return $this - */ - public function setYoutubeVideo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo::class); - $this->writeOneof(40, $var); - - return $this; - } - - /** - * Immutable. YouTube Channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 41 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo|null - */ - public function getYoutubeChannel() - { - return $this->readOneof(41); - } - - public function hasYoutubeChannel() - { - return $this->hasOneof(41); - } - - /** - * Immutable. YouTube Channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 41 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $var - * @return $this - */ - public function setYoutubeChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo::class); - $this->writeOneof(41, $var); - - return $this; - } - - /** - * Immutable. Topic. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TopicInfo topic = 43 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\TopicInfo|null - */ - public function getTopic() - { - return $this->readOneof(43); - } - - public function hasTopic() - { - return $this->hasOneof(43); - } - - /** - * Immutable. Topic. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TopicInfo topic = 43 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\TopicInfo $var - * @return $this - */ - public function setTopic($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TopicInfo::class); - $this->writeOneof(43, $var); - - return $this; - } - - /** - * Immutable. User Interest. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserInterestInfo user_interest = 45 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\UserInterestInfo|null - */ - public function getUserInterest() - { - return $this->readOneof(45); - } - - public function hasUserInterest() - { - return $this->hasOneof(45); - } - - /** - * Immutable. User Interest. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserInterestInfo user_interest = 45 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\UserInterestInfo $var - * @return $this - */ - public function setUserInterest($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserInterestInfo::class); - $this->writeOneof(45, $var); - - return $this; - } - - /** - * Immutable. Webpage - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebpageInfo webpage = 46 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\WebpageInfo|null - */ - public function getWebpage() - { - return $this->readOneof(46); - } - - public function hasWebpage() - { - return $this->hasOneof(46); - } - - /** - * Immutable. Webpage - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebpageInfo webpage = 46 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\WebpageInfo $var - * @return $this - */ - public function setWebpage($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\WebpageInfo::class); - $this->writeOneof(46, $var); - - return $this; - } - - /** - * Immutable. App Payment Model. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppPaymentModelInfo app_payment_model = 47 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\AppPaymentModelInfo|null - */ - public function getAppPaymentModel() - { - return $this->readOneof(47); - } - - public function hasAppPaymentModel() - { - return $this->hasOneof(47); - } - - /** - * Immutable. App Payment Model. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppPaymentModelInfo app_payment_model = 47 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\AppPaymentModelInfo $var - * @return $this - */ - public function setAppPaymentModel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AppPaymentModelInfo::class); - $this->writeOneof(47, $var); - - return $this; - } - - /** - * Immutable. Custom Affinity. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAffinityInfo custom_affinity = 48 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomAffinityInfo|null - */ - public function getCustomAffinity() - { - return $this->readOneof(48); - } - - public function hasCustomAffinity() - { - return $this->hasOneof(48); - } - - /** - * Immutable. Custom Affinity. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAffinityInfo custom_affinity = 48 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomAffinityInfo $var - * @return $this - */ - public function setCustomAffinity($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomAffinityInfo::class); - $this->writeOneof(48, $var); - - return $this; - } - - /** - * Immutable. Custom Intent. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomIntentInfo custom_intent = 49 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomIntentInfo|null - */ - public function getCustomIntent() - { - return $this->readOneof(49); - } - - public function hasCustomIntent() - { - return $this->hasOneof(49); - } - - /** - * Immutable. Custom Intent. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomIntentInfo custom_intent = 49 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomIntentInfo $var - * @return $this - */ - public function setCustomIntent($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomIntentInfo::class); - $this->writeOneof(49, $var); - - return $this; - } - - /** - * Immutable. Custom Audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAudienceInfo custom_audience = 74 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomAudienceInfo|null - */ - public function getCustomAudience() - { - return $this->readOneof(74); - } - - public function hasCustomAudience() - { - return $this->hasOneof(74); - } - - /** - * Immutable. Custom Audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAudienceInfo custom_audience = 74 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomAudienceInfo $var - * @return $this - */ - public function setCustomAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomAudienceInfo::class); - $this->writeOneof(74, $var); - - return $this; - } - - /** - * Immutable. Combined Audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CombinedAudienceInfo combined_audience = 75 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CombinedAudienceInfo|null - */ - public function getCombinedAudience() - { - return $this->readOneof(75); - } - - public function hasCombinedAudience() - { - return $this->hasOneof(75); - } - - /** - * Immutable. Combined Audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CombinedAudienceInfo combined_audience = 75 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CombinedAudienceInfo $var - * @return $this - */ - public function setCombinedAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CombinedAudienceInfo::class); - $this->writeOneof(75, $var); - - return $this; - } - - /** - * Immutable. Audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceInfo audience = 79 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\AudienceInfo|null - */ - public function getAudience() - { - return $this->readOneof(79); - } - - public function hasAudience() - { - return $this->hasOneof(79); - } - - /** - * Immutable. Audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceInfo audience = 79 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\AudienceInfo $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AudienceInfo::class); - $this->writeOneof(79, $var); - - return $this; - } - - /** - * Immutable. Location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo location = 82 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\LocationInfo|null - */ - public function getLocation() - { - return $this->readOneof(82); - } - - public function hasLocation() - { - return $this->hasOneof(82); - } - - /** - * Immutable. Location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo location = 82 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\LocationInfo $var - * @return $this - */ - public function setLocation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->writeOneof(82, $var); - - return $this; - } - - /** - * Immutable. Language. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LanguageInfo language = 83 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\LanguageInfo|null - */ - public function getLanguage() - { - return $this->readOneof(83); - } - - public function hasLanguage() - { - return $this->hasOneof(83); - } - - /** - * Immutable. Language. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LanguageInfo language = 83 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\LanguageInfo $var - * @return $this - */ - public function setLanguage($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LanguageInfo::class); - $this->writeOneof(83, $var); - - return $this; - } - - /** - * @return string - */ - public function getCriterion() - { - return $this->whichOneof("criterion"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion/PositionEstimates.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion/PositionEstimates.php deleted file mode 100644 index c2ce7eb22..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion/PositionEstimates.php +++ /dev/null @@ -1,276 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupCriterion.PositionEstimates - */ -class PositionEstimates extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The estimate of the CPC bid required for ad to be shown on - * first page of search results. - * - * Generated from protobuf field optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $first_page_cpc_micros = null; - /** - * Output only. The estimate of the CPC bid required for ad to be displayed - * in first position, at the top of the first page of search results. - * - * Generated from protobuf field optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $first_position_cpc_micros = null; - /** - * Output only. The estimate of the CPC bid required for ad to be displayed - * at the top of the first page of search results. - * - * Generated from protobuf field optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $top_of_page_cpc_micros = null; - /** - * Output only. Estimate of how many clicks per week you might get by - * changing your keyword bid to the value in first_position_cpc_micros. - * - * Generated from protobuf field optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $estimated_add_clicks_at_first_position_cpc = null; - /** - * Output only. Estimate of how your cost per week might change when - * changing your keyword bid to the value in first_position_cpc_micros. - * - * Generated from protobuf field optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $estimated_add_cost_at_first_position_cpc = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $first_page_cpc_micros - * Output only. The estimate of the CPC bid required for ad to be shown on - * first page of search results. - * @type int|string $first_position_cpc_micros - * Output only. The estimate of the CPC bid required for ad to be displayed - * in first position, at the top of the first page of search results. - * @type int|string $top_of_page_cpc_micros - * Output only. The estimate of the CPC bid required for ad to be displayed - * at the top of the first page of search results. - * @type int|string $estimated_add_clicks_at_first_position_cpc - * Output only. Estimate of how many clicks per week you might get by - * changing your keyword bid to the value in first_position_cpc_micros. - * @type int|string $estimated_add_cost_at_first_position_cpc - * Output only. Estimate of how your cost per week might change when - * changing your keyword bid to the value in first_position_cpc_micros. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The estimate of the CPC bid required for ad to be shown on - * first page of search results. - * - * Generated from protobuf field optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getFirstPageCpcMicros() - { - return isset($this->first_page_cpc_micros) ? $this->first_page_cpc_micros : 0; - } - - public function hasFirstPageCpcMicros() - { - return isset($this->first_page_cpc_micros); - } - - public function clearFirstPageCpcMicros() - { - unset($this->first_page_cpc_micros); - } - - /** - * Output only. The estimate of the CPC bid required for ad to be shown on - * first page of search results. - * - * Generated from protobuf field optional int64 first_page_cpc_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setFirstPageCpcMicros($var) - { - GPBUtil::checkInt64($var); - $this->first_page_cpc_micros = $var; - - return $this; - } - - /** - * Output only. The estimate of the CPC bid required for ad to be displayed - * in first position, at the top of the first page of search results. - * - * Generated from protobuf field optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getFirstPositionCpcMicros() - { - return isset($this->first_position_cpc_micros) ? $this->first_position_cpc_micros : 0; - } - - public function hasFirstPositionCpcMicros() - { - return isset($this->first_position_cpc_micros); - } - - public function clearFirstPositionCpcMicros() - { - unset($this->first_position_cpc_micros); - } - - /** - * Output only. The estimate of the CPC bid required for ad to be displayed - * in first position, at the top of the first page of search results. - * - * Generated from protobuf field optional int64 first_position_cpc_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setFirstPositionCpcMicros($var) - { - GPBUtil::checkInt64($var); - $this->first_position_cpc_micros = $var; - - return $this; - } - - /** - * Output only. The estimate of the CPC bid required for ad to be displayed - * at the top of the first page of search results. - * - * Generated from protobuf field optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTopOfPageCpcMicros() - { - return isset($this->top_of_page_cpc_micros) ? $this->top_of_page_cpc_micros : 0; - } - - public function hasTopOfPageCpcMicros() - { - return isset($this->top_of_page_cpc_micros); - } - - public function clearTopOfPageCpcMicros() - { - unset($this->top_of_page_cpc_micros); - } - - /** - * Output only. The estimate of the CPC bid required for ad to be displayed - * at the top of the first page of search results. - * - * Generated from protobuf field optional int64 top_of_page_cpc_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTopOfPageCpcMicros($var) - { - GPBUtil::checkInt64($var); - $this->top_of_page_cpc_micros = $var; - - return $this; - } - - /** - * Output only. Estimate of how many clicks per week you might get by - * changing your keyword bid to the value in first_position_cpc_micros. - * - * Generated from protobuf field optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEstimatedAddClicksAtFirstPositionCpc() - { - return isset($this->estimated_add_clicks_at_first_position_cpc) ? $this->estimated_add_clicks_at_first_position_cpc : 0; - } - - public function hasEstimatedAddClicksAtFirstPositionCpc() - { - return isset($this->estimated_add_clicks_at_first_position_cpc); - } - - public function clearEstimatedAddClicksAtFirstPositionCpc() - { - unset($this->estimated_add_clicks_at_first_position_cpc); - } - - /** - * Output only. Estimate of how many clicks per week you might get by - * changing your keyword bid to the value in first_position_cpc_micros. - * - * Generated from protobuf field optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEstimatedAddClicksAtFirstPositionCpc($var) - { - GPBUtil::checkInt64($var); - $this->estimated_add_clicks_at_first_position_cpc = $var; - - return $this; - } - - /** - * Output only. Estimate of how your cost per week might change when - * changing your keyword bid to the value in first_position_cpc_micros. - * - * Generated from protobuf field optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEstimatedAddCostAtFirstPositionCpc() - { - return isset($this->estimated_add_cost_at_first_position_cpc) ? $this->estimated_add_cost_at_first_position_cpc : 0; - } - - public function hasEstimatedAddCostAtFirstPositionCpc() - { - return isset($this->estimated_add_cost_at_first_position_cpc); - } - - public function clearEstimatedAddCostAtFirstPositionCpc() - { - unset($this->estimated_add_cost_at_first_position_cpc); - } - - /** - * Output only. Estimate of how your cost per week might change when - * changing your keyword bid to the value in first_position_cpc_micros. - * - * Generated from protobuf field optional int64 estimated_add_cost_at_first_position_cpc = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEstimatedAddCostAtFirstPositionCpc($var) - { - GPBUtil::checkInt64($var); - $this->estimated_add_cost_at_first_position_cpc = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PositionEstimates::class, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion_PositionEstimates::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion/QualityInfo.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion/QualityInfo.php deleted file mode 100644 index 5082754a1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterion/QualityInfo.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupCriterion.QualityInfo - */ -class QualityInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The quality score. - * This field may not be populated if Google does not have enough - * information to determine a value. - * - * Generated from protobuf field optional int32 quality_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $quality_score = null; - /** - * Output only. The performance of the ad compared to other advertisers. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creative_quality_score = 0; - /** - * Output only. The quality score of the landing page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $post_click_quality_score = 0; - /** - * Output only. The click-through rate compared to that of other - * advertisers. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $search_predicted_ctr = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $quality_score - * Output only. The quality score. - * This field may not be populated if Google does not have enough - * information to determine a value. - * @type int $creative_quality_score - * Output only. The performance of the ad compared to other advertisers. - * @type int $post_click_quality_score - * Output only. The quality score of the landing page. - * @type int $search_predicted_ctr - * Output only. The click-through rate compared to that of other - * advertisers. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The quality score. - * This field may not be populated if Google does not have enough - * information to determine a value. - * - * Generated from protobuf field optional int32 quality_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getQualityScore() - { - return isset($this->quality_score) ? $this->quality_score : 0; - } - - public function hasQualityScore() - { - return isset($this->quality_score); - } - - public function clearQualityScore() - { - unset($this->quality_score); - } - - /** - * Output only. The quality score. - * This field may not be populated if Google does not have enough - * information to determine a value. - * - * Generated from protobuf field optional int32 quality_score = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setQualityScore($var) - { - GPBUtil::checkInt32($var); - $this->quality_score = $var; - - return $this; - } - - /** - * Output only. The performance of the ad compared to other advertisers. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getCreativeQualityScore() - { - return $this->creative_quality_score; - } - - /** - * Output only. The performance of the ad compared to other advertisers. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setCreativeQualityScore($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\QualityScoreBucketEnum\QualityScoreBucket::class); - $this->creative_quality_score = $var; - - return $this; - } - - /** - * Output only. The quality score of the landing page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPostClickQualityScore() - { - return $this->post_click_quality_score; - } - - /** - * Output only. The quality score of the landing page. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPostClickQualityScore($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\QualityScoreBucketEnum\QualityScoreBucket::class); - $this->post_click_quality_score = $var; - - return $this; - } - - /** - * Output only. The click-through rate compared to that of other - * advertisers. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSearchPredictedCtr() - { - return $this->search_predicted_ctr; - } - - /** - * Output only. The click-through rate compared to that of other - * advertisers. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSearchPredictedCtr($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\QualityScoreBucketEnum\QualityScoreBucket::class); - $this->search_predicted_ctr = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(QualityInfo::class, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion_QualityInfo::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionCustomizer.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionCustomizer.php deleted file mode 100644 index 1b7df912f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionCustomizer.php +++ /dev/null @@ -1,244 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupCriterionCustomizer - */ -class AdGroupCriterionCustomizer extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group criterion customizer. - * Ad group criterion customizer resource names have the form: - * `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ad group criterion to which the customizer attribute is - * linked. It must be a keyword criterion. - * - * Generated from protobuf field optional string ad_group_criterion = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group_criterion = null; - /** - * Required. Immutable. The customizer attribute which is linked to the ad - * group criterion. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $customizer_attribute = ''; - /** - * Output only. The status of the ad group criterion customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group criterion customizer. - * Ad group criterion customizer resource names have the form: - * `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - * @type string $ad_group_criterion - * Immutable. The ad group criterion to which the customizer attribute is - * linked. It must be a keyword criterion. - * @type string $customizer_attribute - * Required. Immutable. The customizer attribute which is linked to the ad - * group criterion. - * @type int $status - * Output only. The status of the ad group criterion customizer. - * @type \Google\Ads\GoogleAds\V15\Common\CustomizerValue $value - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group criterion customizer. - * Ad group criterion customizer resource names have the form: - * `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group criterion customizer. - * Ad group criterion customizer resource names have the form: - * `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ad group criterion to which the customizer attribute is - * linked. It must be a keyword criterion. - * - * Generated from protobuf field optional string ad_group_criterion = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupCriterion() - { - return isset($this->ad_group_criterion) ? $this->ad_group_criterion : ''; - } - - public function hasAdGroupCriterion() - { - return isset($this->ad_group_criterion); - } - - public function clearAdGroupCriterion() - { - unset($this->ad_group_criterion); - } - - /** - * Immutable. The ad group criterion to which the customizer attribute is - * linked. It must be a keyword criterion. - * - * Generated from protobuf field optional string ad_group_criterion = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupCriterion($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_criterion = $var; - - return $this; - } - - /** - * Required. Immutable. The customizer attribute which is linked to the ad - * group criterion. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomizerAttribute() - { - return $this->customizer_attribute; - } - - /** - * Required. Immutable. The customizer attribute which is linked to the ad - * group criterion. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomizerAttribute($var) - { - GPBUtil::checkString($var, True); - $this->customizer_attribute = $var; - - return $this; - } - - /** - * Output only. The status of the ad group criterion customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the ad group criterion customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomizerValueStatusEnum\CustomizerValueStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomizerValue|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomizerValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomizerValue::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionLabel.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionLabel.php deleted file mode 100644 index c76cc6a19..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionLabel.php +++ /dev/null @@ -1,163 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupCriterionLabel - */ -class AdGroupCriterionLabel extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group criterion label. - * Ad group criterion label resource names have the form: - * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ad group criterion to which the label is attached. - * - * Generated from protobuf field optional string ad_group_criterion = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group_criterion = null; - /** - * Immutable. The label assigned to the ad group criterion. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $label = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group criterion label. - * Ad group criterion label resource names have the form: - * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - * @type string $ad_group_criterion - * Immutable. The ad group criterion to which the label is attached. - * @type string $label - * Immutable. The label assigned to the ad group criterion. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group criterion label. - * Ad group criterion label resource names have the form: - * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group criterion label. - * Ad group criterion label resource names have the form: - * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ad group criterion to which the label is attached. - * - * Generated from protobuf field optional string ad_group_criterion = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupCriterion() - { - return isset($this->ad_group_criterion) ? $this->ad_group_criterion : ''; - } - - public function hasAdGroupCriterion() - { - return isset($this->ad_group_criterion); - } - - public function clearAdGroupCriterion() - { - unset($this->ad_group_criterion); - } - - /** - * Immutable. The ad group criterion to which the label is attached. - * - * Generated from protobuf field optional string ad_group_criterion = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupCriterion($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_criterion = $var; - - return $this; - } - - /** - * Immutable. The label assigned to the ad group criterion. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getLabel() - { - return isset($this->label) ? $this->label : ''; - } - - public function hasLabel() - { - return isset($this->label); - } - - public function clearLabel() - { - unset($this->label); - } - - /** - * Immutable. The label assigned to the ad group criterion. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setLabel($var) - { - GPBUtil::checkString($var, True); - $this->label = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionSimulation.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionSimulation.php deleted file mode 100644 index 50df4123f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCriterionSimulation.php +++ /dev/null @@ -1,410 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupCriterionSimulation - */ -class AdGroupCriterionSimulation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the ad group criterion simulation. - * Ad group criterion simulation resource names have the form: - * `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. AdGroup ID of the simulation. - * - * Generated from protobuf field optional int64 ad_group_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group_id = null; - /** - * Output only. Criterion ID of the simulation. - * - * Generated from protobuf field optional int64 criterion_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $criterion_id = null; - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $modification_method = 0; - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_date = null; - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string end_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_date = null; - protected $point_list; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the ad group criterion simulation. - * Ad group criterion simulation resource names have the form: - * `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - * @type int|string $ad_group_id - * Output only. AdGroup ID of the simulation. - * @type int|string $criterion_id - * Output only. Criterion ID of the simulation. - * @type int $type - * Output only. The field that the simulation modifies. - * @type int $modification_method - * Output only. How the simulation modifies the field. - * @type string $start_date - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * @type string $end_date - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format. - * @type \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList $cpc_bid_point_list - * Output only. Simulation points if the simulation type is CPC_BID. - * @type \Google\Ads\GoogleAds\V15\Common\PercentCpcBidSimulationPointList $percent_cpc_bid_point_list - * Output only. Simulation points if the simulation type is PERCENT_CPC_BID. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionSimulation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the ad group criterion simulation. - * Ad group criterion simulation resource names have the form: - * `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the ad group criterion simulation. - * Ad group criterion simulation resource names have the form: - * `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. AdGroup ID of the simulation. - * - * Generated from protobuf field optional int64 ad_group_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdGroupId() - { - return isset($this->ad_group_id) ? $this->ad_group_id : 0; - } - - public function hasAdGroupId() - { - return isset($this->ad_group_id); - } - - public function clearAdGroupId() - { - unset($this->ad_group_id); - } - - /** - * Output only. AdGroup ID of the simulation. - * - * Generated from protobuf field optional int64 ad_group_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdGroupId($var) - { - GPBUtil::checkInt64($var); - $this->ad_group_id = $var; - - return $this; - } - - /** - * Output only. Criterion ID of the simulation. - * - * Generated from protobuf field optional int64 criterion_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCriterionId() - { - return isset($this->criterion_id) ? $this->criterion_id : 0; - } - - public function hasCriterionId() - { - return isset($this->criterion_id); - } - - public function clearCriterionId() - { - unset($this->criterion_id); - } - - /** - * Output only. Criterion ID of the simulation. - * - * Generated from protobuf field optional int64 criterion_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->criterion_id = $var; - - return $this; - } - - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SimulationTypeEnum\SimulationType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getModificationMethod() - { - return $this->modification_method; - } - - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setModificationMethod($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SimulationModificationMethodEnum\SimulationModificationMethod::class); - $this->modification_method = $var; - - return $this; - } - - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getStartDate() - { - return isset($this->start_date) ? $this->start_date : ''; - } - - public function hasStartDate() - { - return isset($this->start_date); - } - - public function clearStartDate() - { - unset($this->start_date); - } - - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string end_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEndDate() - { - return isset($this->end_date) ? $this->end_date : ''; - } - - public function hasEndDate() - { - return isset($this->end_date); - } - - public function clearEndDate() - { - unset($this->end_date); - } - - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string end_date = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is CPC_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList|null - */ - public function getCpcBidPointList() - { - return $this->readOneof(8); - } - - public function hasCpcBidPointList() - { - return $this->hasOneof(8); - } - - /** - * Output only. Simulation points if the simulation type is CPC_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList $var - * @return $this - */ - public function setCpcBidPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is PERCENT_CPC_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\PercentCpcBidSimulationPointList|null - */ - public function getPercentCpcBidPointList() - { - return $this->readOneof(13); - } - - public function hasPercentCpcBidPointList() - { - return $this->hasOneof(13); - } - - /** - * Output only. Simulation points if the simulation type is PERCENT_CPC_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\PercentCpcBidSimulationPointList $var - * @return $this - */ - public function setPercentCpcBidPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PercentCpcBidSimulationPointList::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * @return string - */ - public function getPointList() - { - return $this->whichOneof("point_list"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCustomizer.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCustomizer.php deleted file mode 100644 index d41f03122..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupCustomizer.php +++ /dev/null @@ -1,230 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupCustomizer - */ -class AdGroupCustomizer extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group customizer. - * Ad group customizer resource names have the form: - * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ad group to which the customizer attribute is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = ''; - /** - * Required. Immutable. The customizer attribute which is linked to the ad - * group. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $customizer_attribute = ''; - /** - * Output only. The status of the ad group customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group customizer. - * Ad group customizer resource names have the form: - * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - * @type string $ad_group - * Immutable. The ad group to which the customizer attribute is linked. - * @type string $customizer_attribute - * Required. Immutable. The customizer attribute which is linked to the ad - * group. - * @type int $status - * Output only. The status of the ad group customizer. - * @type \Google\Ads\GoogleAds\V15\Common\CustomizerValue $value - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group customizer. - * Ad group customizer resource names have the form: - * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group customizer. - * Ad group customizer resource names have the form: - * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ad group to which the customizer attribute is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return $this->ad_group; - } - - /** - * Immutable. The ad group to which the customizer attribute is linked. - * - * Generated from protobuf field string ad_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Required. Immutable. The customizer attribute which is linked to the ad - * group. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomizerAttribute() - { - return $this->customizer_attribute; - } - - /** - * Required. Immutable. The customizer attribute which is linked to the ad - * group. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomizerAttribute($var) - { - GPBUtil::checkString($var, True); - $this->customizer_attribute = $var; - - return $this; - } - - /** - * Output only. The status of the ad group customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the ad group customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomizerValueStatusEnum\CustomizerValueStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomizerValue|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomizerValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomizerValue::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupExtensionSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupExtensionSetting.php deleted file mode 100644 index 6081a4d14..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupExtensionSetting.php +++ /dev/null @@ -1,237 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupExtensionSetting - */ -class AdGroupExtensionSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group extension setting. - * AdGroupExtensionSetting resource names have the form: - * `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The extension type of the ad group extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $extension_type = 0; - /** - * Immutable. The resource name of the ad group. The linked extension feed - * items will serve under this ad group. AdGroup resource names have the form: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field optional string ad_group = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * The resource names of the extension feed items to serve under the ad group. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 7 [(.google.api.resource_reference) = { - */ - private $extension_feed_items; - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; - */ - protected $device = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group extension setting. - * AdGroupExtensionSetting resource names have the form: - * `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - * @type int $extension_type - * Immutable. The extension type of the ad group extension setting. - * @type string $ad_group - * Immutable. The resource name of the ad group. The linked extension feed - * items will serve under this ad group. AdGroup resource names have the form: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * @type array|\Google\Protobuf\Internal\RepeatedField $extension_feed_items - * The resource names of the extension feed items to serve under the ad group. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * @type int $device - * The device for which the extensions will serve. Optional. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group extension setting. - * AdGroupExtensionSetting resource names have the form: - * `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group extension setting. - * AdGroupExtensionSetting resource names have the form: - * `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The extension type of the ad group extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getExtensionType() - { - return $this->extension_type; - } - - /** - * Immutable. The extension type of the ad group extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setExtensionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExtensionTypeEnum\ExtensionType::class); - $this->extension_type = $var; - - return $this; - } - - /** - * Immutable. The resource name of the ad group. The linked extension feed - * items will serve under this ad group. AdGroup resource names have the form: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field optional string ad_group = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Immutable. The resource name of the ad group. The linked extension feed - * items will serve under this ad group. AdGroup resource names have the form: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field optional string ad_group = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * The resource names of the extension feed items to serve under the ad group. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 7 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExtensionFeedItems() - { - return $this->extension_feed_items; - } - - /** - * The resource names of the extension feed items to serve under the ad group. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 7 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExtensionFeedItems($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->extension_feed_items = $arr; - - return $this; - } - - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; - * @return int - */ - public function getDevice() - { - return $this->device; - } - - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; - * @param int $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExtensionSettingDeviceEnum\ExtensionSettingDevice::class); - $this->device = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupFeed.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupFeed.php deleted file mode 100644 index fb00b52a9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupFeed.php +++ /dev/null @@ -1,291 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupFeed - */ -class AdGroupFeed extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group feed. - * Ad group feed resource names have the form: - * `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The feed being linked to the ad group. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed = null; - /** - * Immutable. The ad group being linked to the feed. - * - * Generated from protobuf field optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * Indicates which placeholder types the feed may populate under the connected - * ad group. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - */ - private $placeholder_types; - /** - * Matching function associated with the AdGroupFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 5; - */ - protected $matching_function = null; - /** - * Output only. Status of the ad group feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group feed. - * Ad group feed resource names have the form: - * `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * @type string $feed - * Immutable. The feed being linked to the ad group. - * @type string $ad_group - * Immutable. The ad group being linked to the feed. - * @type array|\Google\Protobuf\Internal\RepeatedField $placeholder_types - * Indicates which placeholder types the feed may populate under the connected - * ad group. Required. - * @type \Google\Ads\GoogleAds\V15\Common\MatchingFunction $matching_function - * Matching function associated with the AdGroupFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * @type int $status - * Output only. Status of the ad group feed. - * This field is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupFeed::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group feed. - * Ad group feed resource names have the form: - * `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group feed. - * Ad group feed resource names have the form: - * `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The feed being linked to the ad group. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeed() - { - return isset($this->feed) ? $this->feed : ''; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * Immutable. The feed being linked to the ad group. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Immutable. The ad group being linked to the feed. - * - * Generated from protobuf field optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Immutable. The ad group being linked to the feed. - * - * Generated from protobuf field optional string ad_group = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Indicates which placeholder types the feed may populate under the connected - * ad group. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPlaceholderTypes() - { - return $this->placeholder_types; - } - - /** - * Indicates which placeholder types the feed may populate under the connected - * ad group. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPlaceholderTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\PlaceholderTypeEnum\PlaceholderType::class); - $this->placeholder_types = $arr; - - return $this; - } - - /** - * Matching function associated with the AdGroupFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 5; - * @return \Google\Ads\GoogleAds\V15\Common\MatchingFunction|null - */ - public function getMatchingFunction() - { - return $this->matching_function; - } - - public function hasMatchingFunction() - { - return isset($this->matching_function); - } - - public function clearMatchingFunction() - { - unset($this->matching_function); - } - - /** - * Matching function associated with the AdGroupFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 5; - * @param \Google\Ads\GoogleAds\V15\Common\MatchingFunction $var - * @return $this - */ - public function setMatchingFunction($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MatchingFunction::class); - $this->matching_function = $var; - - return $this; - } - - /** - * Output only. Status of the ad group feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the ad group feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedLinkStatusEnum\FeedLinkStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupLabel.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupLabel.php deleted file mode 100644 index 9d229c93d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupLabel.php +++ /dev/null @@ -1,163 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupLabel - */ -class AdGroupLabel extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad group label. - * Ad group label resource names have the form: - * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ad group to which the label is attached. - * - * Generated from protobuf field optional string ad_group = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * Immutable. The label assigned to the ad group. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $label = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad group label. - * Ad group label resource names have the form: - * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - * @type string $ad_group - * Immutable. The ad group to which the label is attached. - * @type string $label - * Immutable. The label assigned to the ad group. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupLabel::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad group label. - * Ad group label resource names have the form: - * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad group label. - * Ad group label resource names have the form: - * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ad group to which the label is attached. - * - * Generated from protobuf field optional string ad_group = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Immutable. The ad group to which the label is attached. - * - * Generated from protobuf field optional string ad_group = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Immutable. The label assigned to the ad group. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getLabel() - { - return isset($this->label) ? $this->label : ''; - } - - public function hasLabel() - { - return isset($this->label); - } - - public function clearLabel() - { - unset($this->label); - } - - /** - * Immutable. The label assigned to the ad group. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setLabel($var) - { - GPBUtil::checkString($var, True); - $this->label = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupSimulation.php b/src/Google/Ads/GoogleAds/V15/Resources/AdGroupSimulation.php deleted file mode 100644 index 775d953fa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdGroupSimulation.php +++ /dev/null @@ -1,433 +0,0 @@ -google.ads.googleads.v15.resources.AdGroupSimulation - */ -class AdGroupSimulation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the ad group simulation. - * Ad group simulation resource names have the form: - * `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Ad group id of the simulation. - * - * Generated from protobuf field optional int64 ad_group_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group_id = null; - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $modification_method = 0; - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_date = null; - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field optional string end_date = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_date = null; - protected $point_list; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the ad group simulation. - * Ad group simulation resource names have the form: - * `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - * @type int|string $ad_group_id - * Output only. Ad group id of the simulation. - * @type int $type - * Output only. The field that the simulation modifies. - * @type int $modification_method - * Output only. How the simulation modifies the field. - * @type string $start_date - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * @type string $end_date - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * @type \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList $cpc_bid_point_list - * Output only. Simulation points if the simulation type is CPC_BID. - * @type \Google\Ads\GoogleAds\V15\Common\CpvBidSimulationPointList $cpv_bid_point_list - * Output only. Simulation points if the simulation type is CPV_BID. - * @type \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList $target_cpa_point_list - * Output only. Simulation points if the simulation type is TARGET_CPA. - * @type \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList $target_roas_point_list - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdGroupSimulation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the ad group simulation. - * Ad group simulation resource names have the form: - * `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the ad group simulation. - * Ad group simulation resource names have the form: - * `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Ad group id of the simulation. - * - * Generated from protobuf field optional int64 ad_group_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdGroupId() - { - return isset($this->ad_group_id) ? $this->ad_group_id : 0; - } - - public function hasAdGroupId() - { - return isset($this->ad_group_id); - } - - public function clearAdGroupId() - { - unset($this->ad_group_id); - } - - /** - * Output only. Ad group id of the simulation. - * - * Generated from protobuf field optional int64 ad_group_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdGroupId($var) - { - GPBUtil::checkInt64($var); - $this->ad_group_id = $var; - - return $this; - } - - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SimulationTypeEnum\SimulationType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getModificationMethod() - { - return $this->modification_method; - } - - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setModificationMethod($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SimulationModificationMethodEnum\SimulationModificationMethod::class); - $this->modification_method = $var; - - return $this; - } - - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getStartDate() - { - return isset($this->start_date) ? $this->start_date : ''; - } - - public function hasStartDate() - { - return isset($this->start_date); - } - - public function clearStartDate() - { - unset($this->start_date); - } - - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field optional string end_date = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEndDate() - { - return isset($this->end_date) ? $this->end_date : ''; - } - - public function hasEndDate() - { - return isset($this->end_date); - } - - public function clearEndDate() - { - unset($this->end_date); - } - - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field optional string end_date = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is CPC_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList|null - */ - public function getCpcBidPointList() - { - return $this->readOneof(8); - } - - public function hasCpcBidPointList() - { - return $this->hasOneof(8); - } - - /** - * Output only. Simulation points if the simulation type is CPC_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList $var - * @return $this - */ - public function setCpcBidPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is CPV_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\CpvBidSimulationPointList|null - */ - public function getCpvBidPointList() - { - return $this->readOneof(10); - } - - public function hasCpvBidPointList() - { - return $this->hasOneof(10); - } - - /** - * Output only. Simulation points if the simulation type is CPV_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\CpvBidSimulationPointList $var - * @return $this - */ - public function setCpvBidPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CpvBidSimulationPointList::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is TARGET_CPA. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList|null - */ - public function getTargetCpaPointList() - { - return $this->readOneof(9); - } - - public function hasTargetCpaPointList() - { - return $this->hasOneof(9); - } - - /** - * Output only. Simulation points if the simulation type is TARGET_CPA. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList $var - * @return $this - */ - public function setTargetCpaPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList|null - */ - public function getTargetRoasPointList() - { - return $this->readOneof(11); - } - - public function hasTargetRoasPointList() - { - return $this->hasOneof(11); - } - - /** - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList $var - * @return $this - */ - public function setTargetRoasPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * @return string - */ - public function getPointList() - { - return $this->whichOneof("point_list"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdParameter.php b/src/Google/Ads/GoogleAds/V15/Resources/AdParameter.php deleted file mode 100644 index 965d52027..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdParameter.php +++ /dev/null @@ -1,260 +0,0 @@ -google.ads.googleads.v15.resources.AdParameter - */ -class AdParameter extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the ad parameter. - * Ad parameter resource names have the form: - * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ad group criterion that this ad parameter belongs to. - * - * Generated from protobuf field optional string ad_group_criterion = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $ad_group_criterion = null; - /** - * Immutable. The unique index of this ad parameter. Must be either 1 or 2. - * - * Generated from protobuf field optional int64 parameter_index = 6 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $parameter_index = null; - /** - * Numeric value to insert into the ad text. The following restrictions - * apply: - * - Can use comma or period as a separator, with an optional period or - * comma (respectively) for fractional values. For example, 1,000,000.00 - * and 2.000.000,10 are valid. - * - Can be prepended or appended with a currency symbol. For example, - * $99.99 is valid. - * - Can be prepended or appended with a currency code. For example, 99.99USD - * and EUR200 are valid. - * - Can use '%'. For example, 1.0% and 1,0% are valid. - * - Can use plus or minus. For example, -10.99 and 25+ are valid. - * - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - * valid. - * - * Generated from protobuf field optional string insertion_text = 7; - */ - protected $insertion_text = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the ad parameter. - * Ad parameter resource names have the form: - * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - * @type string $ad_group_criterion - * Immutable. The ad group criterion that this ad parameter belongs to. - * @type int|string $parameter_index - * Immutable. The unique index of this ad parameter. Must be either 1 or 2. - * @type string $insertion_text - * Numeric value to insert into the ad text. The following restrictions - * apply: - * - Can use comma or period as a separator, with an optional period or - * comma (respectively) for fractional values. For example, 1,000,000.00 - * and 2.000.000,10 are valid. - * - Can be prepended or appended with a currency symbol. For example, - * $99.99 is valid. - * - Can be prepended or appended with a currency code. For example, 99.99USD - * and EUR200 are valid. - * - Can use '%'. For example, 1.0% and 1,0% are valid. - * - Can use plus or minus. For example, -10.99 and 25+ are valid. - * - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - * valid. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdParameter::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the ad parameter. - * Ad parameter resource names have the form: - * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the ad parameter. - * Ad parameter resource names have the form: - * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ad group criterion that this ad parameter belongs to. - * - * Generated from protobuf field optional string ad_group_criterion = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupCriterion() - { - return isset($this->ad_group_criterion) ? $this->ad_group_criterion : ''; - } - - public function hasAdGroupCriterion() - { - return isset($this->ad_group_criterion); - } - - public function clearAdGroupCriterion() - { - unset($this->ad_group_criterion); - } - - /** - * Immutable. The ad group criterion that this ad parameter belongs to. - * - * Generated from protobuf field optional string ad_group_criterion = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupCriterion($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_criterion = $var; - - return $this; - } - - /** - * Immutable. The unique index of this ad parameter. Must be either 1 or 2. - * - * Generated from protobuf field optional int64 parameter_index = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getParameterIndex() - { - return isset($this->parameter_index) ? $this->parameter_index : 0; - } - - public function hasParameterIndex() - { - return isset($this->parameter_index); - } - - public function clearParameterIndex() - { - unset($this->parameter_index); - } - - /** - * Immutable. The unique index of this ad parameter. Must be either 1 or 2. - * - * Generated from protobuf field optional int64 parameter_index = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setParameterIndex($var) - { - GPBUtil::checkInt64($var); - $this->parameter_index = $var; - - return $this; - } - - /** - * Numeric value to insert into the ad text. The following restrictions - * apply: - * - Can use comma or period as a separator, with an optional period or - * comma (respectively) for fractional values. For example, 1,000,000.00 - * and 2.000.000,10 are valid. - * - Can be prepended or appended with a currency symbol. For example, - * $99.99 is valid. - * - Can be prepended or appended with a currency code. For example, 99.99USD - * and EUR200 are valid. - * - Can use '%'. For example, 1.0% and 1,0% are valid. - * - Can use plus or minus. For example, -10.99 and 25+ are valid. - * - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - * valid. - * - * Generated from protobuf field optional string insertion_text = 7; - * @return string - */ - public function getInsertionText() - { - return isset($this->insertion_text) ? $this->insertion_text : ''; - } - - public function hasInsertionText() - { - return isset($this->insertion_text); - } - - public function clearInsertionText() - { - unset($this->insertion_text); - } - - /** - * Numeric value to insert into the ad text. The following restrictions - * apply: - * - Can use comma or period as a separator, with an optional period or - * comma (respectively) for fractional values. For example, 1,000,000.00 - * and 2.000.000,10 are valid. - * - Can be prepended or appended with a currency symbol. For example, - * $99.99 is valid. - * - Can be prepended or appended with a currency code. For example, 99.99USD - * and EUR200 are valid. - * - Can use '%'. For example, 1.0% and 1,0% are valid. - * - Can use plus or minus. For example, -10.99 and 25+ are valid. - * - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - * valid. - * - * Generated from protobuf field optional string insertion_text = 7; - * @param string $var - * @return $this - */ - public function setInsertionText($var) - { - GPBUtil::checkString($var, True); - $this->insertion_text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdScheduleView.php b/src/Google/Ads/GoogleAds/V15/Resources/AdScheduleView.php deleted file mode 100644 index 50e7548b5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdScheduleView.php +++ /dev/null @@ -1,76 +0,0 @@ -google.ads.googleads.v15.resources.AdScheduleView - */ -class AdScheduleView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the ad schedule view. - * AdSchedule view resource names have the form: - * `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the ad schedule view. - * AdSchedule view resource names have the form: - * `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AdScheduleView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the ad schedule view. - * AdSchedule view resource names have the form: - * `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the ad schedule view. - * AdSchedule view resource names have the form: - * `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AdvertisingPartnerLinkIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/AdvertisingPartnerLinkIdentifier.php deleted file mode 100644 index cc7a055e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AdvertisingPartnerLinkIdentifier.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.resources.AdvertisingPartnerLinkIdentifier - */ -class AdvertisingPartnerLinkIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the advertising partner Google Ads account. - * This field is required and should not be empty when creating a new - * Advertising Partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $customer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer - * Immutable. The resource name of the advertising partner Google Ads account. - * This field is required and should not be empty when creating a new - * Advertising Partner link. It is unable to be modified after the creation of - * the link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccountLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the advertising partner Google Ads account. - * This field is required and should not be empty when creating a new - * Advertising Partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomer() - { - return isset($this->customer) ? $this->customer : ''; - } - - public function hasCustomer() - { - return isset($this->customer); - } - - public function clearCustomer() - { - unset($this->customer); - } - - /** - * Immutable. The resource name of the advertising partner Google Ads account. - * This field is required and should not be empty when creating a new - * Advertising Partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkString($var, True); - $this->customer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AgeRangeView.php b/src/Google/Ads/GoogleAds/V15/Resources/AgeRangeView.php deleted file mode 100644 index 957497580..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AgeRangeView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.AgeRangeView - */ -class AgeRangeView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the age range view. - * Age range view resource names have the form: - * `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the age range view. - * Age range view resource names have the form: - * `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AgeRangeView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the age range view. - * Age range view resource names have the form: - * `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the age range view. - * Age range view resource names have the form: - * `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php b/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php deleted file mode 100644 index 4b2c5359b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleAdGroup.php +++ /dev/null @@ -1,295 +0,0 @@ -google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleAdGroup - */ -class AndroidPrivacySharedKeyGoogleAdGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_id = 0; - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $android_privacy_interaction_type = 0; - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $android_privacy_interaction_date = ''; - /** - * Output only. The network type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $android_privacy_network_type = 0; - /** - * Output only. The ad group ID used in the share key encoding. - * - * Generated from protobuf field int64 ad_group_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group_id = 0; - /** - * Output only. 128 bit hex string of the encoded shared ad group key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_ad_group_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $shared_ad_group_key = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * @type int|string $campaign_id - * Output only. The campaign ID used in the share key encoding. - * @type int $android_privacy_interaction_type - * Output only. The interaction type enum used in the share key encoding. - * @type string $android_privacy_interaction_date - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * @type int $android_privacy_network_type - * Output only. The network type enum used in the share key encoding. - * @type int|string $ad_group_id - * Output only. The ad group ID used in the share key encoding. - * @type string $shared_ad_group_key - * Output only. 128 bit hex string of the encoded shared ad group key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleAdGroup::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleAdGroups/{campaign_id}~{ad_group_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCampaignId() - { - return $this->campaign_id; - } - - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCampaignId($var) - { - GPBUtil::checkInt64($var); - $this->campaign_id = $var; - - return $this; - } - - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAndroidPrivacyInteractionType() - { - return $this->android_privacy_interaction_type; - } - - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAndroidPrivacyInteractionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyInteractionTypeEnum\AndroidPrivacyInteractionType::class); - $this->android_privacy_interaction_type = $var; - - return $this; - } - - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAndroidPrivacyInteractionDate() - { - return $this->android_privacy_interaction_date; - } - - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAndroidPrivacyInteractionDate($var) - { - GPBUtil::checkString($var, True); - $this->android_privacy_interaction_date = $var; - - return $this; - } - - /** - * Output only. The network type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAndroidPrivacyNetworkType() - { - return $this->android_privacy_network_type; - } - - /** - * Output only. The network type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAndroidPrivacyNetworkType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyNetworkTypeEnum\AndroidPrivacyNetworkType::class); - $this->android_privacy_network_type = $var; - - return $this; - } - - /** - * Output only. The ad group ID used in the share key encoding. - * - * Generated from protobuf field int64 ad_group_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdGroupId() - { - return $this->ad_group_id; - } - - /** - * Output only. The ad group ID used in the share key encoding. - * - * Generated from protobuf field int64 ad_group_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdGroupId($var) - { - GPBUtil::checkInt64($var); - $this->ad_group_id = $var; - - return $this; - } - - /** - * Output only. 128 bit hex string of the encoded shared ad group key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_ad_group_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSharedAdGroupKey() - { - return $this->shared_ad_group_key; - } - - /** - * Output only. 128 bit hex string of the encoded shared ad group key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_ad_group_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSharedAdGroupKey($var) - { - GPBUtil::checkString($var, True); - $this->shared_ad_group_key = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleCampaign.php b/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleCampaign.php deleted file mode 100644 index 096acb313..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleCampaign.php +++ /dev/null @@ -1,227 +0,0 @@ -google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleCampaign - */ -class AndroidPrivacySharedKeyGoogleCampaign extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_id = 0; - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $android_privacy_interaction_type = 0; - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $android_privacy_interaction_date = ''; - /** - * Output only. 128 bit hex string of the encoded shared campaign key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_campaign_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $shared_campaign_key = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * @type int|string $campaign_id - * Output only. The campaign ID used in the share key encoding. - * @type int $android_privacy_interaction_type - * Output only. The interaction type enum used in the share key encoding. - * @type string $android_privacy_interaction_date - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * @type string $shared_campaign_key - * Output only. 128 bit hex string of the encoded shared campaign key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleCampaign::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleCampaigns/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCampaignId() - { - return $this->campaign_id; - } - - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCampaignId($var) - { - GPBUtil::checkInt64($var); - $this->campaign_id = $var; - - return $this; - } - - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAndroidPrivacyInteractionType() - { - return $this->android_privacy_interaction_type; - } - - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAndroidPrivacyInteractionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyInteractionTypeEnum\AndroidPrivacyInteractionType::class); - $this->android_privacy_interaction_type = $var; - - return $this; - } - - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAndroidPrivacyInteractionDate() - { - return $this->android_privacy_interaction_date; - } - - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAndroidPrivacyInteractionDate($var) - { - GPBUtil::checkString($var, True); - $this->android_privacy_interaction_date = $var; - - return $this; - } - - /** - * Output only. 128 bit hex string of the encoded shared campaign key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_campaign_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSharedCampaignKey() - { - return $this->shared_campaign_key; - } - - /** - * Output only. 128 bit hex string of the encoded shared campaign key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_campaign_key = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSharedCampaignKey($var) - { - GPBUtil::checkString($var, True); - $this->shared_campaign_key = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php b/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php deleted file mode 100644 index d7338b404..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AndroidPrivacySharedKeyGoogleNetworkType.php +++ /dev/null @@ -1,261 +0,0 @@ -google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleNetworkType - */ -class AndroidPrivacySharedKeyGoogleNetworkType extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkTypes/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_id = 0; - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $android_privacy_interaction_type = 0; - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $android_privacy_interaction_date = ''; - /** - * Output only. The network type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $android_privacy_network_type = 0; - /** - * Output only. 128 bit hex string of the encoded shared network type key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_network_type_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $shared_network_type_key = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkTypes/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * @type int|string $campaign_id - * Output only. The campaign ID used in the share key encoding. - * @type int $android_privacy_interaction_type - * Output only. The interaction type enum used in the share key encoding. - * @type string $android_privacy_interaction_date - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * @type int $android_privacy_network_type - * Output only. The network type enum used in the share key encoding. - * @type string $shared_network_type_key - * Output only. 128 bit hex string of the encoded shared network type key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleNetworkType::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkTypes/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the Android privacy shared key. - * Android privacy shared key resource names have the form: - * `customers/{customer_id}/androidPrivacySharedKeyGoogleNetworkTypes/{campaign_id}~{android_privacy_interaction_type}~{android_privacy_network_type}~{android_privacy_interaction_date(yyyy-mm-dd)}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCampaignId() - { - return $this->campaign_id; - } - - /** - * Output only. The campaign ID used in the share key encoding. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCampaignId($var) - { - GPBUtil::checkInt64($var); - $this->campaign_id = $var; - - return $this; - } - - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAndroidPrivacyInteractionType() - { - return $this->android_privacy_interaction_type; - } - - /** - * Output only. The interaction type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyInteractionTypeEnum.AndroidPrivacyInteractionType android_privacy_interaction_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAndroidPrivacyInteractionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyInteractionTypeEnum\AndroidPrivacyInteractionType::class); - $this->android_privacy_interaction_type = $var; - - return $this; - } - - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAndroidPrivacyInteractionDate() - { - return $this->android_privacy_interaction_date; - } - - /** - * Output only. The interaction date used in the shared key encoding in the - * format of "YYYY-MM-DD" in UTC timezone. - * - * Generated from protobuf field string android_privacy_interaction_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAndroidPrivacyInteractionDate($var) - { - GPBUtil::checkString($var, True); - $this->android_privacy_interaction_date = $var; - - return $this; - } - - /** - * Output only. The network type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAndroidPrivacyNetworkType() - { - return $this->android_privacy_network_type; - } - - /** - * Output only. The network type enum used in the share key encoding. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AndroidPrivacyNetworkTypeEnum.AndroidPrivacyNetworkType android_privacy_network_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAndroidPrivacyNetworkType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AndroidPrivacyNetworkTypeEnum\AndroidPrivacyNetworkType::class); - $this->android_privacy_network_type = $var; - - return $this; - } - - /** - * Output only. 128 bit hex string of the encoded shared network type key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_network_type_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSharedNetworkTypeKey() - { - return $this->shared_network_type_key; - } - - /** - * Output only. 128 bit hex string of the encoded shared network type key, - * including a '0x' prefix. This key can be used to do a bitwise OR operator - * with the aggregate conversion key to create a full aggregation key to - * retrieve the Aggregate API Report in Android Privacy Sandbox. - * - * Generated from protobuf field string shared_network_type_key = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSharedNetworkTypeKey($var) - { - GPBUtil::checkString($var, True); - $this->shared_network_type_key = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Asset.php b/src/Google/Ads/GoogleAds/V15/Resources/Asset.php deleted file mode 100644 index 097165fb4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Asset.php +++ /dev/null @@ -1,1410 +0,0 @@ -google.ads.googleads.v15.resources.Asset - */ -class Asset extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the asset. - * Asset resource names have the form: - * `customers/{customer_id}/assets/{asset_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the asset. - * - * Generated from protobuf field optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Optional name of the asset. - * - * Generated from protobuf field optional string name = 12; - */ - protected $name = null; - /** - * Output only. Type of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 14; - */ - private $final_urls; - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 16; - */ - private $final_mobile_urls; - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 17; - */ - protected $tracking_url_template = null; - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 18; - */ - private $url_custom_parameters; - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 19; - */ - protected $final_url_suffix = null; - /** - * Output only. Source of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $source = 0; - /** - * Output only. Policy information for the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $policy_summary = null; - /** - * Output only. Policy information for the asset for each FieldType. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AssetFieldTypePolicySummary field_type_policy_summaries = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $field_type_policy_summaries; - protected $asset_data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the asset. - * Asset resource names have the form: - * `customers/{customer_id}/assets/{asset_id}` - * @type int|string $id - * Output only. The ID of the asset. - * @type string $name - * Optional name of the asset. - * @type int $type - * Output only. Type of the asset. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * A list of possible final URLs after all cross domain redirects. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * A list of possible final mobile URLs after all cross domain redirects. - * @type string $tracking_url_template - * URL template for constructing a tracking URL. - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * @type string $final_url_suffix - * URL template for appending params to landing page URLs served with parallel - * tracking. - * @type int $source - * Output only. Source of the asset. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetPolicySummary $policy_summary - * Output only. Policy information for the asset. - * @type array<\Google\Ads\GoogleAds\V15\Resources\AssetFieldTypePolicySummary>|\Google\Protobuf\Internal\RepeatedField $field_type_policy_summaries - * Output only. Policy information for the asset for each FieldType. - * @type \Google\Ads\GoogleAds\V15\Common\YoutubeVideoAsset $youtube_video_asset - * Immutable. A YouTube video asset. - * @type \Google\Ads\GoogleAds\V15\Common\MediaBundleAsset $media_bundle_asset - * Immutable. A media bundle asset. - * @type \Google\Ads\GoogleAds\V15\Common\ImageAsset $image_asset - * Output only. An image asset. - * @type \Google\Ads\GoogleAds\V15\Common\TextAsset $text_asset - * Immutable. A text asset. - * @type \Google\Ads\GoogleAds\V15\Common\LeadFormAsset $lead_form_asset - * A lead form asset. - * @type \Google\Ads\GoogleAds\V15\Common\BookOnGoogleAsset $book_on_google_asset - * A book on google asset. - * @type \Google\Ads\GoogleAds\V15\Common\PromotionAsset $promotion_asset - * A promotion asset. - * @type \Google\Ads\GoogleAds\V15\Common\CalloutAsset $callout_asset - * A callout asset. - * @type \Google\Ads\GoogleAds\V15\Common\StructuredSnippetAsset $structured_snippet_asset - * A structured snippet asset. - * @type \Google\Ads\GoogleAds\V15\Common\SitelinkAsset $sitelink_asset - * A sitelink asset. - * @type \Google\Ads\GoogleAds\V15\Common\PageFeedAsset $page_feed_asset - * A page feed asset. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicEducationAsset $dynamic_education_asset - * A dynamic education asset. - * @type \Google\Ads\GoogleAds\V15\Common\MobileAppAsset $mobile_app_asset - * A mobile app asset. - * @type \Google\Ads\GoogleAds\V15\Common\HotelCalloutAsset $hotel_callout_asset - * A hotel callout asset. - * @type \Google\Ads\GoogleAds\V15\Common\CallAsset $call_asset - * A call asset. - * @type \Google\Ads\GoogleAds\V15\Common\PriceAsset $price_asset - * A price asset. - * @type \Google\Ads\GoogleAds\V15\Common\CallToActionAsset $call_to_action_asset - * Immutable. A call to action asset. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicRealEstateAsset $dynamic_real_estate_asset - * A dynamic real estate asset. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicCustomAsset $dynamic_custom_asset - * A dynamic custom asset. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicHotelsAndRentalsAsset $dynamic_hotels_and_rentals_asset - * A dynamic hotels and rentals asset. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicFlightsAsset $dynamic_flights_asset - * A dynamic flights asset. - * @type \Google\Ads\GoogleAds\V15\Common\DiscoveryCarouselCardAsset $discovery_carousel_card_asset - * Immutable. A discovery carousel card asset. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicTravelAsset $dynamic_travel_asset - * A dynamic travel asset. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicLocalAsset $dynamic_local_asset - * A dynamic local asset. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicJobsAsset $dynamic_jobs_asset - * A dynamic jobs asset. - * @type \Google\Ads\GoogleAds\V15\Common\LocationAsset $location_asset - * Output only. A location asset. - * @type \Google\Ads\GoogleAds\V15\Common\HotelPropertyAsset $hotel_property_asset - * Immutable. A hotel property asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Asset::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the asset. - * Asset resource names have the form: - * `customers/{customer_id}/assets/{asset_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the asset. - * Asset resource names have the form: - * `customers/{customer_id}/assets/{asset_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the asset. - * - * Generated from protobuf field optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the asset. - * - * Generated from protobuf field optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Optional name of the asset. - * - * Generated from protobuf field optional string name = 12; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Optional name of the asset. - * - * Generated from protobuf field optional string name = 12; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Type of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. Type of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetTypeEnum.AssetType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetTypeEnum\AssetType::class); - $this->type = $var; - - return $this; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 14; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * A list of possible final URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_urls = 14; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 16; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * A list of possible final mobile URLs after all cross domain redirects. - * - * Generated from protobuf field repeated string final_mobile_urls = 16; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 17; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 17; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 18; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * A list of mappings to be used for substituting URL custom parameter tags in - * the tracking_url_template, final_urls, and/or final_mobile_urls. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 18; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 19; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * URL template for appending params to landing page URLs served with parallel - * tracking. - * - * Generated from protobuf field optional string final_url_suffix = 19; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - - /** - * Output only. Source of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSource() - { - return $this->source; - } - - /** - * Output only. Source of the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSourceEnum\AssetSource::class); - $this->source = $var; - - return $this; - } - - /** - * Output only. Policy information for the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetPolicySummary|null - */ - public function getPolicySummary() - { - return $this->policy_summary; - } - - public function hasPolicySummary() - { - return isset($this->policy_summary); - } - - public function clearPolicySummary() - { - unset($this->policy_summary); - } - - /** - * Output only. Policy information for the asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetPolicySummary policy_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetPolicySummary $var - * @return $this - */ - public function setPolicySummary($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetPolicySummary::class); - $this->policy_summary = $var; - - return $this; - } - - /** - * Output only. Policy information for the asset for each FieldType. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AssetFieldTypePolicySummary field_type_policy_summaries = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFieldTypePolicySummaries() - { - return $this->field_type_policy_summaries; - } - - /** - * Output only. Policy information for the asset for each FieldType. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AssetFieldTypePolicySummary field_type_policy_summaries = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\AssetFieldTypePolicySummary>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFieldTypePolicySummaries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\AssetFieldTypePolicySummary::class); - $this->field_type_policy_summaries = $arr; - - return $this; - } - - /** - * Immutable. A YouTube video asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YoutubeVideoAsset|null - */ - public function getYoutubeVideoAsset() - { - return $this->readOneof(5); - } - - public function hasYoutubeVideoAsset() - { - return $this->hasOneof(5); - } - - /** - * Immutable. A YouTube video asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YoutubeVideoAsset youtube_video_asset = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YoutubeVideoAsset $var - * @return $this - */ - public function setYoutubeVideoAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YoutubeVideoAsset::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Immutable. A media bundle asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MediaBundleAsset|null - */ - public function getMediaBundleAsset() - { - return $this->readOneof(6); - } - - public function hasMediaBundleAsset() - { - return $this->hasOneof(6); - } - - /** - * Immutable. A media bundle asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MediaBundleAsset media_bundle_asset = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MediaBundleAsset $var - * @return $this - */ - public function setMediaBundleAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MediaBundleAsset::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Output only. An image asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\ImageAsset|null - */ - public function getImageAsset() - { - return $this->readOneof(7); - } - - public function hasImageAsset() - { - return $this->hasOneof(7); - } - - /** - * Output only. An image asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageAsset image_asset = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\ImageAsset $var - * @return $this - */ - public function setImageAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ImageAsset::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Immutable. A text asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\TextAsset|null - */ - public function getTextAsset() - { - return $this->readOneof(8); - } - - public function hasTextAsset() - { - return $this->hasOneof(8); - } - - /** - * Immutable. A text asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextAsset text_asset = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\TextAsset $var - * @return $this - */ - public function setTextAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TextAsset::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * A lead form asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LeadFormAsset lead_form_asset = 9; - * @return \Google\Ads\GoogleAds\V15\Common\LeadFormAsset|null - */ - public function getLeadFormAsset() - { - return $this->readOneof(9); - } - - public function hasLeadFormAsset() - { - return $this->hasOneof(9); - } - - /** - * A lead form asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LeadFormAsset lead_form_asset = 9; - * @param \Google\Ads\GoogleAds\V15\Common\LeadFormAsset $var - * @return $this - */ - public function setLeadFormAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LeadFormAsset::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * A book on google asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BookOnGoogleAsset book_on_google_asset = 10; - * @return \Google\Ads\GoogleAds\V15\Common\BookOnGoogleAsset|null - */ - public function getBookOnGoogleAsset() - { - return $this->readOneof(10); - } - - public function hasBookOnGoogleAsset() - { - return $this->hasOneof(10); - } - - /** - * A book on google asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BookOnGoogleAsset book_on_google_asset = 10; - * @param \Google\Ads\GoogleAds\V15\Common\BookOnGoogleAsset $var - * @return $this - */ - public function setBookOnGoogleAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BookOnGoogleAsset::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * A promotion asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PromotionAsset promotion_asset = 15; - * @return \Google\Ads\GoogleAds\V15\Common\PromotionAsset|null - */ - public function getPromotionAsset() - { - return $this->readOneof(15); - } - - public function hasPromotionAsset() - { - return $this->hasOneof(15); - } - - /** - * A promotion asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PromotionAsset promotion_asset = 15; - * @param \Google\Ads\GoogleAds\V15\Common\PromotionAsset $var - * @return $this - */ - public function setPromotionAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PromotionAsset::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * A callout asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CalloutAsset callout_asset = 20; - * @return \Google\Ads\GoogleAds\V15\Common\CalloutAsset|null - */ - public function getCalloutAsset() - { - return $this->readOneof(20); - } - - public function hasCalloutAsset() - { - return $this->hasOneof(20); - } - - /** - * A callout asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CalloutAsset callout_asset = 20; - * @param \Google\Ads\GoogleAds\V15\Common\CalloutAsset $var - * @return $this - */ - public function setCalloutAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CalloutAsset::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * A structured snippet asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StructuredSnippetAsset structured_snippet_asset = 21; - * @return \Google\Ads\GoogleAds\V15\Common\StructuredSnippetAsset|null - */ - public function getStructuredSnippetAsset() - { - return $this->readOneof(21); - } - - public function hasStructuredSnippetAsset() - { - return $this->hasOneof(21); - } - - /** - * A structured snippet asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StructuredSnippetAsset structured_snippet_asset = 21; - * @param \Google\Ads\GoogleAds\V15\Common\StructuredSnippetAsset $var - * @return $this - */ - public function setStructuredSnippetAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\StructuredSnippetAsset::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * A sitelink asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SitelinkAsset sitelink_asset = 22; - * @return \Google\Ads\GoogleAds\V15\Common\SitelinkAsset|null - */ - public function getSitelinkAsset() - { - return $this->readOneof(22); - } - - public function hasSitelinkAsset() - { - return $this->hasOneof(22); - } - - /** - * A sitelink asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SitelinkAsset sitelink_asset = 22; - * @param \Google\Ads\GoogleAds\V15\Common\SitelinkAsset $var - * @return $this - */ - public function setSitelinkAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\SitelinkAsset::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * A page feed asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PageFeedAsset page_feed_asset = 23; - * @return \Google\Ads\GoogleAds\V15\Common\PageFeedAsset|null - */ - public function getPageFeedAsset() - { - return $this->readOneof(23); - } - - public function hasPageFeedAsset() - { - return $this->hasOneof(23); - } - - /** - * A page feed asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PageFeedAsset page_feed_asset = 23; - * @param \Google\Ads\GoogleAds\V15\Common\PageFeedAsset $var - * @return $this - */ - public function setPageFeedAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PageFeedAsset::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * A dynamic education asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicEducationAsset dynamic_education_asset = 24; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicEducationAsset|null - */ - public function getDynamicEducationAsset() - { - return $this->readOneof(24); - } - - public function hasDynamicEducationAsset() - { - return $this->hasOneof(24); - } - - /** - * A dynamic education asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicEducationAsset dynamic_education_asset = 24; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicEducationAsset $var - * @return $this - */ - public function setDynamicEducationAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicEducationAsset::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * A mobile app asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppAsset mobile_app_asset = 25; - * @return \Google\Ads\GoogleAds\V15\Common\MobileAppAsset|null - */ - public function getMobileAppAsset() - { - return $this->readOneof(25); - } - - public function hasMobileAppAsset() - { - return $this->hasOneof(25); - } - - /** - * A mobile app asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppAsset mobile_app_asset = 25; - * @param \Google\Ads\GoogleAds\V15\Common\MobileAppAsset $var - * @return $this - */ - public function setMobileAppAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileAppAsset::class); - $this->writeOneof(25, $var); - - return $this; - } - - /** - * A hotel callout asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCalloutAsset hotel_callout_asset = 26; - * @return \Google\Ads\GoogleAds\V15\Common\HotelCalloutAsset|null - */ - public function getHotelCalloutAsset() - { - return $this->readOneof(26); - } - - public function hasHotelCalloutAsset() - { - return $this->hasOneof(26); - } - - /** - * A hotel callout asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCalloutAsset hotel_callout_asset = 26; - * @param \Google\Ads\GoogleAds\V15\Common\HotelCalloutAsset $var - * @return $this - */ - public function setHotelCalloutAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelCalloutAsset::class); - $this->writeOneof(26, $var); - - return $this; - } - - /** - * A call asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CallAsset call_asset = 27; - * @return \Google\Ads\GoogleAds\V15\Common\CallAsset|null - */ - public function getCallAsset() - { - return $this->readOneof(27); - } - - public function hasCallAsset() - { - return $this->hasOneof(27); - } - - /** - * A call asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CallAsset call_asset = 27; - * @param \Google\Ads\GoogleAds\V15\Common\CallAsset $var - * @return $this - */ - public function setCallAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CallAsset::class); - $this->writeOneof(27, $var); - - return $this; - } - - /** - * A price asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PriceAsset price_asset = 28; - * @return \Google\Ads\GoogleAds\V15\Common\PriceAsset|null - */ - public function getPriceAsset() - { - return $this->readOneof(28); - } - - public function hasPriceAsset() - { - return $this->hasOneof(28); - } - - /** - * A price asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PriceAsset price_asset = 28; - * @param \Google\Ads\GoogleAds\V15\Common\PriceAsset $var - * @return $this - */ - public function setPriceAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PriceAsset::class); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * Immutable. A call to action asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CallToActionAsset|null - */ - public function getCallToActionAsset() - { - return $this->readOneof(29); - } - - public function hasCallToActionAsset() - { - return $this->hasOneof(29); - } - - /** - * Immutable. A call to action asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CallToActionAsset call_to_action_asset = 29 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CallToActionAsset $var - * @return $this - */ - public function setCallToActionAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CallToActionAsset::class); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * A dynamic real estate asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicRealEstateAsset dynamic_real_estate_asset = 30; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicRealEstateAsset|null - */ - public function getDynamicRealEstateAsset() - { - return $this->readOneof(30); - } - - public function hasDynamicRealEstateAsset() - { - return $this->hasOneof(30); - } - - /** - * A dynamic real estate asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicRealEstateAsset dynamic_real_estate_asset = 30; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicRealEstateAsset $var - * @return $this - */ - public function setDynamicRealEstateAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicRealEstateAsset::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * A dynamic custom asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicCustomAsset dynamic_custom_asset = 31; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicCustomAsset|null - */ - public function getDynamicCustomAsset() - { - return $this->readOneof(31); - } - - public function hasDynamicCustomAsset() - { - return $this->hasOneof(31); - } - - /** - * A dynamic custom asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicCustomAsset dynamic_custom_asset = 31; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicCustomAsset $var - * @return $this - */ - public function setDynamicCustomAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicCustomAsset::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * A dynamic hotels and rentals asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicHotelsAndRentalsAsset dynamic_hotels_and_rentals_asset = 32; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicHotelsAndRentalsAsset|null - */ - public function getDynamicHotelsAndRentalsAsset() - { - return $this->readOneof(32); - } - - public function hasDynamicHotelsAndRentalsAsset() - { - return $this->hasOneof(32); - } - - /** - * A dynamic hotels and rentals asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicHotelsAndRentalsAsset dynamic_hotels_and_rentals_asset = 32; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicHotelsAndRentalsAsset $var - * @return $this - */ - public function setDynamicHotelsAndRentalsAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicHotelsAndRentalsAsset::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * A dynamic flights asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicFlightsAsset dynamic_flights_asset = 33; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicFlightsAsset|null - */ - public function getDynamicFlightsAsset() - { - return $this->readOneof(33); - } - - public function hasDynamicFlightsAsset() - { - return $this->hasOneof(33); - } - - /** - * A dynamic flights asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicFlightsAsset dynamic_flights_asset = 33; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicFlightsAsset $var - * @return $this - */ - public function setDynamicFlightsAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicFlightsAsset::class); - $this->writeOneof(33, $var); - - return $this; - } - - /** - * Immutable. A discovery carousel card asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DiscoveryCarouselCardAsset discovery_carousel_card_asset = 34 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\DiscoveryCarouselCardAsset|null - */ - public function getDiscoveryCarouselCardAsset() - { - return $this->readOneof(34); - } - - public function hasDiscoveryCarouselCardAsset() - { - return $this->hasOneof(34); - } - - /** - * Immutable. A discovery carousel card asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DiscoveryCarouselCardAsset discovery_carousel_card_asset = 34 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\DiscoveryCarouselCardAsset $var - * @return $this - */ - public function setDiscoveryCarouselCardAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DiscoveryCarouselCardAsset::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * A dynamic travel asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicTravelAsset dynamic_travel_asset = 35; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicTravelAsset|null - */ - public function getDynamicTravelAsset() - { - return $this->readOneof(35); - } - - public function hasDynamicTravelAsset() - { - return $this->hasOneof(35); - } - - /** - * A dynamic travel asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicTravelAsset dynamic_travel_asset = 35; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicTravelAsset $var - * @return $this - */ - public function setDynamicTravelAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicTravelAsset::class); - $this->writeOneof(35, $var); - - return $this; - } - - /** - * A dynamic local asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicLocalAsset dynamic_local_asset = 36; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicLocalAsset|null - */ - public function getDynamicLocalAsset() - { - return $this->readOneof(36); - } - - public function hasDynamicLocalAsset() - { - return $this->hasOneof(36); - } - - /** - * A dynamic local asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicLocalAsset dynamic_local_asset = 36; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicLocalAsset $var - * @return $this - */ - public function setDynamicLocalAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicLocalAsset::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * A dynamic jobs asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicJobsAsset dynamic_jobs_asset = 37; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicJobsAsset|null - */ - public function getDynamicJobsAsset() - { - return $this->readOneof(37); - } - - public function hasDynamicJobsAsset() - { - return $this->hasOneof(37); - } - - /** - * A dynamic jobs asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicJobsAsset dynamic_jobs_asset = 37; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicJobsAsset $var - * @return $this - */ - public function setDynamicJobsAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicJobsAsset::class); - $this->writeOneof(37, $var); - - return $this; - } - - /** - * Output only. A location asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationAsset location_asset = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\LocationAsset|null - */ - public function getLocationAsset() - { - return $this->readOneof(39); - } - - public function hasLocationAsset() - { - return $this->hasOneof(39); - } - - /** - * Output only. A location asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationAsset location_asset = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\LocationAsset $var - * @return $this - */ - public function setLocationAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationAsset::class); - $this->writeOneof(39, $var); - - return $this; - } - - /** - * Immutable. A hotel property asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelPropertyAsset hotel_property_asset = 41 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\HotelPropertyAsset|null - */ - public function getHotelPropertyAsset() - { - return $this->readOneof(41); - } - - public function hasHotelPropertyAsset() - { - return $this->hasOneof(41); - } - - /** - * Immutable. A hotel property asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelPropertyAsset hotel_property_asset = 41 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\HotelPropertyAsset $var - * @return $this - */ - public function setHotelPropertyAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelPropertyAsset::class); - $this->writeOneof(41, $var); - - return $this; - } - - /** - * @return string - */ - public function getAssetData() - { - return $this->whichOneof("asset_data"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypePolicySummary.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypePolicySummary.php deleted file mode 100644 index 2207d9381..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypePolicySummary.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.resources.AssetFieldTypePolicySummary - */ -class AssetFieldTypePolicySummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. FieldType of this asset. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $asset_field_type = null; - /** - * Output only. Source of this asset. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource asset_source = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $asset_source = null; - /** - * Output only. Policy summary. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.AssetPolicySummary policy_summary_info = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $policy_summary_info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $asset_field_type - * Output only. FieldType of this asset. - * @type int $asset_source - * Output only. Source of this asset. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetPolicySummary $policy_summary_info - * Output only. Policy summary. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Asset::initOnce(); - parent::__construct($data); - } - - /** - * Output only. FieldType of this asset. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAssetFieldType() - { - return isset($this->asset_field_type) ? $this->asset_field_type : 0; - } - - public function hasAssetFieldType() - { - return isset($this->asset_field_type); - } - - public function clearAssetFieldType() - { - unset($this->asset_field_type); - } - - /** - * Output only. FieldType of this asset. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAssetFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->asset_field_type = $var; - - return $this; - } - - /** - * Output only. Source of this asset. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource asset_source = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAssetSource() - { - return isset($this->asset_source) ? $this->asset_source : 0; - } - - public function hasAssetSource() - { - return isset($this->asset_source); - } - - public function clearAssetSource() - { - unset($this->asset_source); - } - - /** - * Output only. Source of this asset. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource asset_source = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAssetSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSourceEnum\AssetSource::class); - $this->asset_source = $var; - - return $this; - } - - /** - * Output only. Policy summary. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.AssetPolicySummary policy_summary_info = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetPolicySummary|null - */ - public function getPolicySummaryInfo() - { - return $this->policy_summary_info; - } - - public function hasPolicySummaryInfo() - { - return isset($this->policy_summary_info); - } - - public function clearPolicySummaryInfo() - { - unset($this->policy_summary_info); - } - - /** - * Output only. Policy summary. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.AssetPolicySummary policy_summary_info = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetPolicySummary $var - * @return $this - */ - public function setPolicySummaryInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetPolicySummary::class); - $this->policy_summary_info = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypeView.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypeView.php deleted file mode 100644 index 0badb70e3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetFieldTypeView.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.resources.AssetFieldTypeView - */ -class AssetFieldTypeView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the asset field type view. - * Asset field type view resource names have the form: - * `customers/{customer_id}/assetFieldTypeViews/{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The asset field type of the asset field type view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $field_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the asset field type view. - * Asset field type view resource names have the form: - * `customers/{customer_id}/assetFieldTypeViews/{field_type}` - * @type int $field_type - * Output only. The asset field type of the asset field type view. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetFieldTypeView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the asset field type view. - * Asset field type view resource names have the form: - * `customers/{customer_id}/assetFieldTypeViews/{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the asset field type view. - * Asset field type view resource names have the form: - * `customers/{customer_id}/assetFieldTypeViews/{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The asset field type of the asset field type view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getFieldType() - { - return $this->field_type; - } - - /** - * Output only. The asset field type of the asset field type view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->field_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroup.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetGroup.php deleted file mode 100644 index 4056e281d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroup.php +++ /dev/null @@ -1,491 +0,0 @@ -google.ads.googleads.v15.resources.AssetGroup - */ -class AssetGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the asset group. - * Asset group resource names have the form: - * `customers/{customer_id}/assetGroups/{asset_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the asset group. - * - * Generated from protobuf field int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Immutable. The campaign with which this asset group is associated. - * The asset which is linked to the asset group. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Required. Name of the asset group. Required. It must have a minimum length - * of 1 and maximum length of 128. It must be unique under a campaign. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * A list of final URLs after all cross domain redirects. In performance max, - * by default, the urls are eligible for expansion unless opted out. - * - * Generated from protobuf field repeated string final_urls = 4; - */ - private $final_urls; - /** - * A list of final mobile URLs after all cross domain redirects. In - * performance max, by default, the urls are eligible for expansion - * unless opted out. - * - * Generated from protobuf field repeated string final_mobile_urls = 5; - */ - private $final_mobile_urls; - /** - * The status of the asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6; - */ - protected $status = 0; - /** - * Output only. The primary status of the asset group. Provides insights into - * why an asset group is not serving or not serving optimally. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus primary_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $primary_status = 0; - /** - * Output only. Provides reasons into why an asset group is not serving or not - * serving optimally. It will be empty when the asset group is serving without - * issues. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_reasons; - /** - * First part of text that may appear appended to the url displayed in - * the ad. - * - * Generated from protobuf field string path1 = 7; - */ - protected $path1 = ''; - /** - * Second part of text that may appear appended to the url displayed in - * the ad. This field can only be set when path1 is set. - * - * Generated from protobuf field string path2 = 8; - */ - protected $path2 = ''; - /** - * Output only. Overall ad strength of this asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_strength = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the asset group. - * Asset group resource names have the form: - * `customers/{customer_id}/assetGroups/{asset_group_id}` - * @type int|string $id - * Output only. The ID of the asset group. - * @type string $campaign - * Immutable. The campaign with which this asset group is associated. - * The asset which is linked to the asset group. - * @type string $name - * Required. Name of the asset group. Required. It must have a minimum length - * of 1 and maximum length of 128. It must be unique under a campaign. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_urls - * A list of final URLs after all cross domain redirects. In performance max, - * by default, the urls are eligible for expansion unless opted out. - * @type array|\Google\Protobuf\Internal\RepeatedField $final_mobile_urls - * A list of final mobile URLs after all cross domain redirects. In - * performance max, by default, the urls are eligible for expansion - * unless opted out. - * @type int $status - * The status of the asset group. - * @type int $primary_status - * Output only. The primary status of the asset group. Provides insights into - * why an asset group is not serving or not serving optimally. - * @type array|\Google\Protobuf\Internal\RepeatedField $primary_status_reasons - * Output only. Provides reasons into why an asset group is not serving or not - * serving optimally. It will be empty when the asset group is serving without - * issues. - * @type string $path1 - * First part of text that may appear appended to the url displayed in - * the ad. - * @type string $path2 - * Second part of text that may appear appended to the url displayed in - * the ad. This field can only be set when path1 is set. - * @type int $ad_strength - * Output only. Overall ad strength of this asset group. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroup::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the asset group. - * Asset group resource names have the form: - * `customers/{customer_id}/assetGroups/{asset_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the asset group. - * Asset group resource names have the form: - * `customers/{customer_id}/assetGroups/{asset_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the asset group. - * - * Generated from protobuf field int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the asset group. - * - * Generated from protobuf field int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Immutable. The campaign with which this asset group is associated. - * The asset which is linked to the asset group. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Immutable. The campaign with which this asset group is associated. - * The asset which is linked to the asset group. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Required. Name of the asset group. Required. It must have a minimum length - * of 1 and maximum length of 128. It must be unique under a campaign. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. Name of the asset group. Required. It must have a minimum length - * of 1 and maximum length of 128. It must be unique under a campaign. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * A list of final URLs after all cross domain redirects. In performance max, - * by default, the urls are eligible for expansion unless opted out. - * - * Generated from protobuf field repeated string final_urls = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalUrls() - { - return $this->final_urls; - } - - /** - * A list of final URLs after all cross domain redirects. In performance max, - * by default, the urls are eligible for expansion unless opted out. - * - * Generated from protobuf field repeated string final_urls = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_urls = $arr; - - return $this; - } - - /** - * A list of final mobile URLs after all cross domain redirects. In - * performance max, by default, the urls are eligible for expansion - * unless opted out. - * - * Generated from protobuf field repeated string final_mobile_urls = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFinalMobileUrls() - { - return $this->final_mobile_urls; - } - - /** - * A list of final mobile URLs after all cross domain redirects. In - * performance max, by default, the urls are eligible for expansion - * unless opted out. - * - * Generated from protobuf field repeated string final_mobile_urls = 5; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFinalMobileUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->final_mobile_urls = $arr; - - return $this; - } - - /** - * The status of the asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetGroupStatusEnum\AssetGroupStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The primary status of the asset group. Provides insights into - * why an asset group is not serving or not serving optimally. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus primary_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPrimaryStatus() - { - return $this->primary_status; - } - - /** - * Output only. The primary status of the asset group. Provides insights into - * why an asset group is not serving or not serving optimally. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus primary_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPrimaryStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetGroupPrimaryStatusEnum\AssetGroupPrimaryStatus::class); - $this->primary_status = $var; - - return $this; - } - - /** - * Output only. Provides reasons into why an asset group is not serving or not - * serving optimally. It will be empty when the asset group is serving without - * issues. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusReasons() - { - return $this->primary_status_reasons; - } - - /** - * Output only. Provides reasons into why an asset group is not serving or not - * serving optimally. It will be empty when the asset group is serving without - * issues. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetGroupPrimaryStatusReasonEnum\AssetGroupPrimaryStatusReason::class); - $this->primary_status_reasons = $arr; - - return $this; - } - - /** - * First part of text that may appear appended to the url displayed in - * the ad. - * - * Generated from protobuf field string path1 = 7; - * @return string - */ - public function getPath1() - { - return $this->path1; - } - - /** - * First part of text that may appear appended to the url displayed in - * the ad. - * - * Generated from protobuf field string path1 = 7; - * @param string $var - * @return $this - */ - public function setPath1($var) - { - GPBUtil::checkString($var, True); - $this->path1 = $var; - - return $this; - } - - /** - * Second part of text that may appear appended to the url displayed in - * the ad. This field can only be set when path1 is set. - * - * Generated from protobuf field string path2 = 8; - * @return string - */ - public function getPath2() - { - return $this->path2; - } - - /** - * Second part of text that may appear appended to the url displayed in - * the ad. This field can only be set when path1 is set. - * - * Generated from protobuf field string path2 = 8; - * @param string $var - * @return $this - */ - public function setPath2($var) - { - GPBUtil::checkString($var, True); - $this->path2 = $var; - - return $this; - } - - /** - * Output only. Overall ad strength of this asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAdStrength() - { - return $this->ad_strength; - } - - /** - * Output only. Overall ad strength of this asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAdStrength($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdStrengthEnum\AdStrength::class); - $this->ad_strength = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupAsset.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupAsset.php deleted file mode 100644 index 193d55164..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupAsset.php +++ /dev/null @@ -1,458 +0,0 @@ -google.ads.googleads.v15.resources.AssetGroupAsset - */ -class AssetGroupAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the asset group asset. - * Asset group asset resource name have the form: - * `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The asset group which this asset group asset is linking. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset_group = ''; - /** - * Immutable. The asset which this asset group asset is linking. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset = ''; - /** - * The description of the placement of the asset within the asset group. For - * example: HEADLINE, YOUTUBE_VIDEO etc - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4; - */ - protected $field_type = 0; - /** - * The status of the link between an asset and asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - */ - protected $status = 0; - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $primary_status = 0; - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_reasons; - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_details; - /** - * Output only. The performance of this asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $performance_label = 0; - /** - * Output only. The policy information for this asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $policy_summary = null; - /** - * Output only. Source of the asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $source = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the asset group asset. - * Asset group asset resource name have the form: - * `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - * @type string $asset_group - * Immutable. The asset group which this asset group asset is linking. - * @type string $asset - * Immutable. The asset which this asset group asset is linking. - * @type int $field_type - * The description of the placement of the asset within the asset group. For - * example: HEADLINE, YOUTUBE_VIDEO etc - * @type int $status - * The status of the link between an asset and asset group. - * @type int $primary_status - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * @type array|\Google\Protobuf\Internal\RepeatedField $primary_status_reasons - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * @type array<\Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails>|\Google\Protobuf\Internal\RepeatedField $primary_status_details - * Output only. Provides the details of the primary status and its associated - * reasons. - * @type int $performance_label - * Output only. The performance of this asset group asset. - * @type \Google\Ads\GoogleAds\V15\Common\PolicySummary $policy_summary - * Output only. The policy information for this asset group asset. - * @type int $source - * Output only. Source of the asset group asset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the asset group asset. - * Asset group asset resource name have the form: - * `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the asset group asset. - * Asset group asset resource name have the form: - * `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The asset group which this asset group asset is linking. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetGroup() - { - return $this->asset_group; - } - - /** - * Immutable. The asset group which this asset group asset is linking. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetGroup($var) - { - GPBUtil::checkString($var, True); - $this->asset_group = $var; - - return $this; - } - - /** - * Immutable. The asset which this asset group asset is linking. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * Immutable. The asset which this asset group asset is linking. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * The description of the placement of the asset within the asset group. For - * example: HEADLINE, YOUTUBE_VIDEO etc - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4; - * @return int - */ - public function getFieldType() - { - return $this->field_type; - } - - /** - * The description of the placement of the asset within the asset group. For - * example: HEADLINE, YOUTUBE_VIDEO etc - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4; - * @param int $var - * @return $this - */ - public function setFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->field_type = $var; - - return $this; - } - - /** - * The status of the link between an asset and asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the link between an asset and asset group. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkStatusEnum\AssetLinkStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPrimaryStatus() - { - return $this->primary_status; - } - - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPrimaryStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusEnum\AssetLinkPrimaryStatus::class); - $this->primary_status = $var; - - return $this; - } - - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusReasons() - { - return $this->primary_status_reasons; - } - - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusReasonEnum\AssetLinkPrimaryStatusReason::class); - $this->primary_status_reasons = $arr; - - return $this; - } - - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusDetails() - { - return $this->primary_status_details; - } - - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusDetails($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails::class); - $this->primary_status_details = $arr; - - return $this; - } - - /** - * Output only. The performance of this asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPerformanceLabel() - { - return $this->performance_label; - } - - /** - * Output only. The performance of this asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPerformanceLabel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetPerformanceLabelEnum\AssetPerformanceLabel::class); - $this->performance_label = $var; - - return $this; - } - - /** - * Output only. The policy information for this asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\PolicySummary|null - */ - public function getPolicySummary() - { - return $this->policy_summary; - } - - public function hasPolicySummary() - { - return isset($this->policy_summary); - } - - public function clearPolicySummary() - { - unset($this->policy_summary); - } - - /** - * Output only. The policy information for this asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\PolicySummary $var - * @return $this - */ - public function setPolicySummary($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicySummary::class); - $this->policy_summary = $var; - - return $this; - } - - /** - * Output only. Source of the asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSource() - { - return $this->source; - } - - /** - * Output only. Source of the asset group asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSourceEnum\AssetSource::class); - $this->source = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupAssetCombinationData.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupAssetCombinationData.php deleted file mode 100644 index 6c496cd39..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupAssetCombinationData.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.resources.AssetGroupAssetCombinationData - */ -class AssetGroupAssetCombinationData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Served assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetUsage asset_combination_served_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $asset_combination_served_assets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\AssetUsage>|\Google\Protobuf\Internal\RepeatedField $asset_combination_served_assets - * Output only. Served assets. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupTopCombinationView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Served assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetUsage asset_combination_served_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAssetCombinationServedAssets() - { - return $this->asset_combination_served_assets; - } - - /** - * Output only. Served assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetUsage asset_combination_served_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\AssetUsage>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAssetCombinationServedAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AssetUsage::class); - $this->asset_combination_served_assets = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupListingGroupFilter.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupListingGroupFilter.php deleted file mode 100644 index 72b2df4b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupListingGroupFilter.php +++ /dev/null @@ -1,346 +0,0 @@ -google.ads.googleads.v15.resources.AssetGroupListingGroupFilter - */ -class AssetGroupListingGroupFilter extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the asset group listing group filter. - * Asset group listing group filter resource name have the form: - * `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The asset group which this asset group listing group filter is - * part of. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset_group = ''; - /** - * Output only. The ID of the ListingGroupFilter. - * - * Generated from protobuf field int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Immutable. Type of a listing group filter node. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * Immutable. The source of listings filtered by this listing group filter. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource listing_source = 9 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $listing_source = 0; - /** - * Dimension value with which this listing group is refining its parent. - * Undefined for the root group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension case_value = 6; - */ - protected $case_value = null; - /** - * Immutable. Resource name of the parent listing group subdivision. Null for - * the root listing group filter node. - * - * Generated from protobuf field string parent_listing_group_filter = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $parent_listing_group_filter = ''; - /** - * Output only. The path of dimensions defining this listing group filter. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $path = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the asset group listing group filter. - * Asset group listing group filter resource name have the form: - * `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - * @type string $asset_group - * Immutable. The asset group which this asset group listing group filter is - * part of. - * @type int|string $id - * Output only. The ID of the ListingGroupFilter. - * @type int $type - * Immutable. Type of a listing group filter node. - * @type int $listing_source - * Immutable. The source of listings filtered by this listing group filter. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension $case_value - * Dimension value with which this listing group is refining its parent. - * Undefined for the root group. - * @type string $parent_listing_group_filter - * Immutable. Resource name of the parent listing group subdivision. Null for - * the root listing group filter node. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimensionPath $path - * Output only. The path of dimensions defining this listing group filter. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the asset group listing group filter. - * Asset group listing group filter resource name have the form: - * `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the asset group listing group filter. - * Asset group listing group filter resource name have the form: - * `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The asset group which this asset group listing group filter is - * part of. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetGroup() - { - return $this->asset_group; - } - - /** - * Immutable. The asset group which this asset group listing group filter is - * part of. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetGroup($var) - { - GPBUtil::checkString($var, True); - $this->asset_group = $var; - - return $this; - } - - /** - * Output only. The ID of the ListingGroupFilter. - * - * Generated from protobuf field int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the ListingGroupFilter. - * - * Generated from protobuf field int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Immutable. Type of a listing group filter node. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Immutable. Type of a listing group filter node. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterTypeEnum\ListingGroupFilterType::class); - $this->type = $var; - - return $this; - } - - /** - * Immutable. The source of listings filtered by this listing group filter. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource listing_source = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getListingSource() - { - return $this->listing_source; - } - - /** - * Immutable. The source of listings filtered by this listing group filter. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterListingSourceEnum.ListingGroupFilterListingSource listing_source = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setListingSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterListingSourceEnum\ListingGroupFilterListingSource::class); - $this->listing_source = $var; - - return $this; - } - - /** - * Dimension value with which this listing group is refining its parent. - * Undefined for the root group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension case_value = 6; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension|null - */ - public function getCaseValue() - { - return $this->case_value; - } - - public function hasCaseValue() - { - return isset($this->case_value); - } - - public function clearCaseValue() - { - unset($this->case_value); - } - - /** - * Dimension value with which this listing group is refining its parent. - * Undefined for the root group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension case_value = 6; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension $var - * @return $this - */ - public function setCaseValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension::class); - $this->case_value = $var; - - return $this; - } - - /** - * Immutable. Resource name of the parent listing group subdivision. Null for - * the root listing group filter node. - * - * Generated from protobuf field string parent_listing_group_filter = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getParentListingGroupFilter() - { - return $this->parent_listing_group_filter; - } - - /** - * Immutable. Resource name of the parent listing group subdivision. Null for - * the root listing group filter node. - * - * Generated from protobuf field string parent_listing_group_filter = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParentListingGroupFilter($var) - { - GPBUtil::checkString($var, True); - $this->parent_listing_group_filter = $var; - - return $this; - } - - /** - * Output only. The path of dimensions defining this listing group filter. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimensionPath|null - */ - public function getPath() - { - return $this->path; - } - - public function hasPath() - { - return isset($this->path); - } - - public function clearPath() - { - unset($this->path); - } - - /** - * Output only. The path of dimensions defining this listing group filter. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimensionPath path = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimensionPath $var - * @return $this - */ - public function setPath($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimensionPath::class); - $this->path = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupProductGroupView.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupProductGroupView.php deleted file mode 100644 index cf40b6529..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupProductGroupView.php +++ /dev/null @@ -1,143 +0,0 @@ -google.ads.googleads.v15.resources.AssetGroupProductGroupView - */ -class AssetGroupProductGroupView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the asset group product group view. - * Asset group product group view resource names have the form: - * `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The asset group associated with the listing group filter. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $asset_group = ''; - /** - * Output only. The resource name of the asset group listing group filter. - * - * Generated from protobuf field string asset_group_listing_group_filter = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $asset_group_listing_group_filter = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the asset group product group view. - * Asset group product group view resource names have the form: - * `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` - * @type string $asset_group - * Output only. The asset group associated with the listing group filter. - * @type string $asset_group_listing_group_filter - * Output only. The resource name of the asset group listing group filter. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupProductGroupView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the asset group product group view. - * Asset group product group view resource names have the form: - * `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the asset group product group view. - * Asset group product group view resource names have the form: - * `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The asset group associated with the listing group filter. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetGroup() - { - return $this->asset_group; - } - - /** - * Output only. The asset group associated with the listing group filter. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetGroup($var) - { - GPBUtil::checkString($var, True); - $this->asset_group = $var; - - return $this; - } - - /** - * Output only. The resource name of the asset group listing group filter. - * - * Generated from protobuf field string asset_group_listing_group_filter = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetGroupListingGroupFilter() - { - return $this->asset_group_listing_group_filter; - } - - /** - * Output only. The resource name of the asset group listing group filter. - * - * Generated from protobuf field string asset_group_listing_group_filter = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetGroupListingGroupFilter($var) - { - GPBUtil::checkString($var, True); - $this->asset_group_listing_group_filter = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupSignal.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupSignal.php deleted file mode 100644 index dd8642fc7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupSignal.php +++ /dev/null @@ -1,300 +0,0 @@ -google.ads.googleads.v15.resources.AssetGroupSignal - */ -class AssetGroupSignal extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the asset group signal. - * Asset group signal resource name have the form: - * `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The asset group which this asset group signal belongs to. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset_group = ''; - /** - * Output only. Approval status is the output value for search theme signal - * after Google ads policy review. When using Audience signal, this field is - * not used and will be absent. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupSignalApprovalStatusEnum.AssetGroupSignalApprovalStatus approval_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approval_status = 0; - /** - * Output only. Computed for SearchTheme signals. - * When using Audience signal, this field is not used and will be absent. - * - * Generated from protobuf field repeated string disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $disapproval_reasons; - protected $signal; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the asset group signal. - * Asset group signal resource name have the form: - * `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` - * @type string $asset_group - * Immutable. The asset group which this asset group signal belongs to. - * @type int $approval_status - * Output only. Approval status is the output value for search theme signal - * after Google ads policy review. When using Audience signal, this field is - * not used and will be absent. - * @type array|\Google\Protobuf\Internal\RepeatedField $disapproval_reasons - * Output only. Computed for SearchTheme signals. - * When using Audience signal, this field is not used and will be absent. - * @type \Google\Ads\GoogleAds\V15\Common\AudienceInfo $audience - * Immutable. The audience signal to be used by the performance max - * campaign. - * @type \Google\Ads\GoogleAds\V15\Common\SearchThemeInfo $search_theme - * Immutable. The search_theme signal to be used by the performance max - * campaign. - * Mutate errors of search_theme criterion includes - * AssetGroupSignalError.UNSPECIFIED - * AssetGroupSignalError.UNKNOWN - * AssetGroupSignalError.TOO_MANY_WORDS - * AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION - * FieldError.REQUIRED - * StringFormatError.ILLEGAL_CHARS - * StringLengthError.TOO_LONG - * ResourceCountLimitExceededError.RESOURCE_LIMIT - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the asset group signal. - * Asset group signal resource name have the form: - * `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the asset group signal. - * Asset group signal resource name have the form: - * `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The asset group which this asset group signal belongs to. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetGroup() - { - return $this->asset_group; - } - - /** - * Immutable. The asset group which this asset group signal belongs to. - * - * Generated from protobuf field string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetGroup($var) - { - GPBUtil::checkString($var, True); - $this->asset_group = $var; - - return $this; - } - - /** - * Output only. Approval status is the output value for search theme signal - * after Google ads policy review. When using Audience signal, this field is - * not used and will be absent. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupSignalApprovalStatusEnum.AssetGroupSignalApprovalStatus approval_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovalStatus() - { - return $this->approval_status; - } - - /** - * Output only. Approval status is the output value for search theme signal - * after Google ads policy review. When using Audience signal, this field is - * not used and will be absent. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetGroupSignalApprovalStatusEnum.AssetGroupSignalApprovalStatus approval_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetGroupSignalApprovalStatusEnum\AssetGroupSignalApprovalStatus::class); - $this->approval_status = $var; - - return $this; - } - - /** - * Output only. Computed for SearchTheme signals. - * When using Audience signal, this field is not used and will be absent. - * - * Generated from protobuf field repeated string disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDisapprovalReasons() - { - return $this->disapproval_reasons; - } - - /** - * Output only. Computed for SearchTheme signals. - * When using Audience signal, this field is not used and will be absent. - * - * Generated from protobuf field repeated string disapproval_reasons = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDisapprovalReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->disapproval_reasons = $arr; - - return $this; - } - - /** - * Immutable. The audience signal to be used by the performance max - * campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceInfo audience = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\AudienceInfo|null - */ - public function getAudience() - { - return $this->readOneof(4); - } - - public function hasAudience() - { - return $this->hasOneof(4); - } - - /** - * Immutable. The audience signal to be used by the performance max - * campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceInfo audience = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\AudienceInfo $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AudienceInfo::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Immutable. The search_theme signal to be used by the performance max - * campaign. - * Mutate errors of search_theme criterion includes - * AssetGroupSignalError.UNSPECIFIED - * AssetGroupSignalError.UNKNOWN - * AssetGroupSignalError.TOO_MANY_WORDS - * AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION - * FieldError.REQUIRED - * StringFormatError.ILLEGAL_CHARS - * StringLengthError.TOO_LONG - * ResourceCountLimitExceededError.RESOURCE_LIMIT - * - * Generated from protobuf field .google.ads.googleads.v15.common.SearchThemeInfo search_theme = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\SearchThemeInfo|null - */ - public function getSearchTheme() - { - return $this->readOneof(5); - } - - public function hasSearchTheme() - { - return $this->hasOneof(5); - } - - /** - * Immutable. The search_theme signal to be used by the performance max - * campaign. - * Mutate errors of search_theme criterion includes - * AssetGroupSignalError.UNSPECIFIED - * AssetGroupSignalError.UNKNOWN - * AssetGroupSignalError.TOO_MANY_WORDS - * AssetGroupSignalError.SEARCH_THEME_POLICY_VIOLATION - * FieldError.REQUIRED - * StringFormatError.ILLEGAL_CHARS - * StringLengthError.TOO_LONG - * ResourceCountLimitExceededError.RESOURCE_LIMIT - * - * Generated from protobuf field .google.ads.googleads.v15.common.SearchThemeInfo search_theme = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\SearchThemeInfo $var - * @return $this - */ - public function setSearchTheme($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\SearchThemeInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getSignal() - { - return $this->whichOneof("signal"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupTopCombinationView.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupTopCombinationView.php deleted file mode 100644 index 5fa853607..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetGroupTopCombinationView.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.resources.AssetGroupTopCombinationView - */ -class AssetGroupTopCombinationView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the asset group top combination view. - * AssetGroup Top Combination view resource names have the form: - * `"customers/{customer_id}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combination_category}" - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The top combinations of assets that served together. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AssetGroupAssetCombinationData asset_group_top_combinations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $asset_group_top_combinations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the asset group top combination view. - * AssetGroup Top Combination view resource names have the form: - * `"customers/{customer_id}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combination_category}" - * @type array<\Google\Ads\GoogleAds\V15\Resources\AssetGroupAssetCombinationData>|\Google\Protobuf\Internal\RepeatedField $asset_group_top_combinations - * Output only. The top combinations of assets that served together. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupTopCombinationView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the asset group top combination view. - * AssetGroup Top Combination view resource names have the form: - * `"customers/{customer_id}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combination_category}" - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the asset group top combination view. - * AssetGroup Top Combination view resource names have the form: - * `"customers/{customer_id}/assetGroupTopCombinationViews/{asset_group_id}~{asset_combination_category}" - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The top combinations of assets that served together. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AssetGroupAssetCombinationData asset_group_top_combinations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAssetGroupTopCombinations() - { - return $this->asset_group_top_combinations; - } - - /** - * Output only. The top combinations of assets that served together. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AssetGroupAssetCombinationData asset_group_top_combinations = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\AssetGroupAssetCombinationData>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAssetGroupTopCombinations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\AssetGroupAssetCombinationData::class); - $this->asset_group_top_combinations = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetPolicySummary.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetPolicySummary.php deleted file mode 100644 index f3296670d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetPolicySummary.php +++ /dev/null @@ -1,139 +0,0 @@ -google.ads.googleads.v15.resources.AssetPolicySummary - */ -class AssetPolicySummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The list of policy findings for this asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $policy_topic_entries; - /** - * Output only. Where in the review process this asset is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $review_status = 0; - /** - * Output only. The overall approval status of this asset, calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approval_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $policy_topic_entries - * Output only. The list of policy findings for this asset. - * @type int $review_status - * Output only. Where in the review process this asset is. - * @type int $approval_status - * Output only. The overall approval status of this asset, calculated based on - * the status of its individual policy topic entries. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Asset::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The list of policy findings for this asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPolicyTopicEntries() - { - return $this->policy_topic_entries; - } - - /** - * Output only. The list of policy findings for this asset. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPolicyTopicEntries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry::class); - $this->policy_topic_entries = $arr; - - return $this; - } - - /** - * Output only. Where in the review process this asset is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getReviewStatus() - { - return $this->review_status; - } - - /** - * Output only. Where in the review process this asset is. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setReviewStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyReviewStatusEnum\PolicyReviewStatus::class); - $this->review_status = $var; - - return $this; - } - - /** - * Output only. The overall approval status of this asset, calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovalStatus() - { - return $this->approval_status; - } - - /** - * Output only. The overall approval status of this asset, calculated based on - * the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyApprovalStatusEnum\PolicyApprovalStatus::class); - $this->approval_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetSet.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetSet.php deleted file mode 100644 index e5c135637..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetSet.php +++ /dev/null @@ -1,471 +0,0 @@ -google.ads.googleads.v15.resources.AssetSet - */ -class AssetSet extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The ID of the asset set. - * - * Generated from protobuf field int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Immutable. The resource name of the asset set. - * Asset set resource names have the form: - * `customers/{customer_id}/assetSets/{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Required. Name of the asset set. Required. It must have a minimum length of - * 1 and maximum length of 128. - * - * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * Required. Immutable. The type of the asset set. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * Output only. The status of the asset set. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Merchant ID and Feed Label from Google Merchant Center. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5; - */ - protected $merchant_center_feed = null; - /** - * Immutable. Parent asset set id for the asset set where the elements of this - * asset set come from. For example: the sync level location AssetSet id where - * the the elements in LocationGroup AssetSet come from. This field is - * required and only applicable for Location Group typed AssetSet. - * - * Generated from protobuf field int64 location_group_parent_asset_set_id = 10 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $location_group_parent_asset_set_id = 0; - /** - * Output only. For Performance Max for travel goals campaigns with a Hotel - * Center account link. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $hotel_property_data = null; - protected $asset_set_source; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $id - * Output only. The ID of the asset set. - * @type string $resource_name - * Immutable. The resource name of the asset set. - * Asset set resource names have the form: - * `customers/{customer_id}/assetSets/{asset_set_id}` - * @type string $name - * Required. Name of the asset set. Required. It must have a minimum length of - * 1 and maximum length of 128. - * @type int $type - * Required. Immutable. The type of the asset set. Required. - * @type int $status - * Output only. The status of the asset set. Read-only. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSet\MerchantCenterFeed $merchant_center_feed - * Merchant ID and Feed Label from Google Merchant Center. - * @type int|string $location_group_parent_asset_set_id - * Immutable. Parent asset set id for the asset set where the elements of this - * asset set come from. For example: the sync level location AssetSet id where - * the the elements in LocationGroup AssetSet come from. This field is - * required and only applicable for Location Group typed AssetSet. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSet\HotelPropertyData $hotel_property_data - * Output only. For Performance Max for travel goals campaigns with a Hotel - * Center account link. Read-only. - * @type \Google\Ads\GoogleAds\V15\Common\LocationSet $location_set - * Location asset set data. This will be used for sync level location - * set. This can only be set if AssetSet's type is LOCATION_SYNC. - * @type \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocationGroup $business_profile_location_group - * Business Profile location group asset set data. - * @type \Google\Ads\GoogleAds\V15\Common\ChainLocationGroup $chain_location_group - * Represents information about a Chain dynamic location group. - * Only applicable if the sync level AssetSet's type is LOCATION_SYNC and - * sync source is chain. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetSet::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The ID of the asset set. - * - * Generated from protobuf field int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the asset set. - * - * Generated from protobuf field int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Immutable. The resource name of the asset set. - * Asset set resource names have the form: - * `customers/{customer_id}/assetSets/{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the asset set. - * Asset set resource names have the form: - * `customers/{customer_id}/assetSets/{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Required. Name of the asset set. Required. It must have a minimum length of - * 1 and maximum length of 128. - * - * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. Name of the asset set. Required. It must have a minimum length of - * 1 and maximum length of 128. - * - * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Immutable. The type of the asset set. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Required. Immutable. The type of the asset set. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSetTypeEnum\AssetSetType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The status of the asset set. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the asset set. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSetStatusEnum\AssetSetStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Merchant ID and Feed Label from Google Merchant Center. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSet\MerchantCenterFeed|null - */ - public function getMerchantCenterFeed() - { - return $this->merchant_center_feed; - } - - public function hasMerchantCenterFeed() - { - return isset($this->merchant_center_feed); - } - - public function clearMerchantCenterFeed() - { - unset($this->merchant_center_feed); - } - - /** - * Merchant ID and Feed Label from Google Merchant Center. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet.MerchantCenterFeed merchant_center_feed = 5; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSet\MerchantCenterFeed $var - * @return $this - */ - public function setMerchantCenterFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSet\MerchantCenterFeed::class); - $this->merchant_center_feed = $var; - - return $this; - } - - /** - * Immutable. Parent asset set id for the asset set where the elements of this - * asset set come from. For example: the sync level location AssetSet id where - * the the elements in LocationGroup AssetSet come from. This field is - * required and only applicable for Location Group typed AssetSet. - * - * Generated from protobuf field int64 location_group_parent_asset_set_id = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getLocationGroupParentAssetSetId() - { - return $this->location_group_parent_asset_set_id; - } - - /** - * Immutable. Parent asset set id for the asset set where the elements of this - * asset set come from. For example: the sync level location AssetSet id where - * the the elements in LocationGroup AssetSet come from. This field is - * required and only applicable for Location Group typed AssetSet. - * - * Generated from protobuf field int64 location_group_parent_asset_set_id = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setLocationGroupParentAssetSetId($var) - { - GPBUtil::checkInt64($var); - $this->location_group_parent_asset_set_id = $var; - - return $this; - } - - /** - * Output only. For Performance Max for travel goals campaigns with a Hotel - * Center account link. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSet\HotelPropertyData|null - */ - public function getHotelPropertyData() - { - return $this->hotel_property_data; - } - - public function hasHotelPropertyData() - { - return isset($this->hotel_property_data); - } - - public function clearHotelPropertyData() - { - unset($this->hotel_property_data); - } - - /** - * Output only. For Performance Max for travel goals campaigns with a Hotel - * Center account link. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet.HotelPropertyData hotel_property_data = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSet\HotelPropertyData $var - * @return $this - */ - public function setHotelPropertyData($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSet\HotelPropertyData::class); - $this->hotel_property_data = $var; - - return $this; - } - - /** - * Location asset set data. This will be used for sync level location - * set. This can only be set if AssetSet's type is LOCATION_SYNC. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationSet location_set = 7; - * @return \Google\Ads\GoogleAds\V15\Common\LocationSet|null - */ - public function getLocationSet() - { - return $this->readOneof(7); - } - - public function hasLocationSet() - { - return $this->hasOneof(7); - } - - /** - * Location asset set data. This will be used for sync level location - * set. This can only be set if AssetSet's type is LOCATION_SYNC. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationSet location_set = 7; - * @param \Google\Ads\GoogleAds\V15\Common\LocationSet $var - * @return $this - */ - public function setLocationSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationSet::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Business Profile location group asset set data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BusinessProfileLocationGroup business_profile_location_group = 8; - * @return \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocationGroup|null - */ - public function getBusinessProfileLocationGroup() - { - return $this->readOneof(8); - } - - public function hasBusinessProfileLocationGroup() - { - return $this->hasOneof(8); - } - - /** - * Business Profile location group asset set data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BusinessProfileLocationGroup business_profile_location_group = 8; - * @param \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocationGroup $var - * @return $this - */ - public function setBusinessProfileLocationGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BusinessProfileLocationGroup::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Represents information about a Chain dynamic location group. - * Only applicable if the sync level AssetSet's type is LOCATION_SYNC and - * sync source is chain. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ChainLocationGroup chain_location_group = 9; - * @return \Google\Ads\GoogleAds\V15\Common\ChainLocationGroup|null - */ - public function getChainLocationGroup() - { - return $this->readOneof(9); - } - - public function hasChainLocationGroup() - { - return $this->hasOneof(9); - } - - /** - * Represents information about a Chain dynamic location group. - * Only applicable if the sync level AssetSet's type is LOCATION_SYNC and - * sync source is chain. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ChainLocationGroup chain_location_group = 9; - * @param \Google\Ads\GoogleAds\V15\Common\ChainLocationGroup $var - * @return $this - */ - public function setChainLocationGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ChainLocationGroup::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * @return string - */ - public function getAssetSetSource() - { - return $this->whichOneof("asset_set_source"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetSet/HotelPropertyData.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetSet/HotelPropertyData.php deleted file mode 100644 index 16e86bba3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetSet/HotelPropertyData.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.resources.AssetSet.HotelPropertyData - */ -class HotelPropertyData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The hotel center ID of the partner. - * - * Generated from protobuf field optional int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $hotel_center_id = null; - /** - * Output only. Name of the hotel partner. - * - * Generated from protobuf field optional string partner_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $partner_name = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $hotel_center_id - * Output only. The hotel center ID of the partner. - * @type string $partner_name - * Output only. Name of the hotel partner. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetSet::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The hotel center ID of the partner. - * - * Generated from protobuf field optional int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getHotelCenterId() - { - return isset($this->hotel_center_id) ? $this->hotel_center_id : 0; - } - - public function hasHotelCenterId() - { - return isset($this->hotel_center_id); - } - - public function clearHotelCenterId() - { - unset($this->hotel_center_id); - } - - /** - * Output only. The hotel center ID of the partner. - * - * Generated from protobuf field optional int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setHotelCenterId($var) - { - GPBUtil::checkInt64($var); - $this->hotel_center_id = $var; - - return $this; - } - - /** - * Output only. Name of the hotel partner. - * - * Generated from protobuf field optional string partner_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPartnerName() - { - return isset($this->partner_name) ? $this->partner_name : ''; - } - - public function hasPartnerName() - { - return isset($this->partner_name); - } - - public function clearPartnerName() - { - unset($this->partner_name); - } - - /** - * Output only. Name of the hotel partner. - * - * Generated from protobuf field optional string partner_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPartnerName($var) - { - GPBUtil::checkString($var, True); - $this->partner_name = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HotelPropertyData::class, \Google\Ads\GoogleAds\V15\Resources\AssetSet_HotelPropertyData::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetSet/MerchantCenterFeed.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetSet/MerchantCenterFeed.php deleted file mode 100644 index 281e5d616..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetSet/MerchantCenterFeed.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.resources.AssetSet.MerchantCenterFeed - */ -class MerchantCenterFeed extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Merchant ID from Google Merchant Center - * - * Generated from protobuf field int64 merchant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $merchant_id = 0; - /** - * Optional. Feed Label from Google Merchant Center. - * - * Generated from protobuf field optional string feed_label = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $feed_label = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $merchant_id - * Required. Merchant ID from Google Merchant Center - * @type string $feed_label - * Optional. Feed Label from Google Merchant Center. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetSet::initOnce(); - parent::__construct($data); - } - - /** - * Required. Merchant ID from Google Merchant Center - * - * Generated from protobuf field int64 merchant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int|string - */ - public function getMerchantId() - { - return $this->merchant_id; - } - - /** - * Required. Merchant ID from Google Merchant Center - * - * Generated from protobuf field int64 merchant_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int|string $var - * @return $this - */ - public function setMerchantId($var) - { - GPBUtil::checkInt64($var); - $this->merchant_id = $var; - - return $this; - } - - /** - * Optional. Feed Label from Google Merchant Center. - * - * Generated from protobuf field optional string feed_label = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getFeedLabel() - { - return isset($this->feed_label) ? $this->feed_label : ''; - } - - public function hasFeedLabel() - { - return isset($this->feed_label); - } - - public function clearFeedLabel() - { - unset($this->feed_label); - } - - /** - * Optional. Feed Label from Google Merchant Center. - * - * Generated from protobuf field optional string feed_label = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->feed_label = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MerchantCenterFeed::class, \Google\Ads\GoogleAds\V15\Resources\AssetSet_MerchantCenterFeed::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetSetAsset.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetSetAsset.php deleted file mode 100644 index 69ee0d9ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetSetAsset.php +++ /dev/null @@ -1,178 +0,0 @@ -google.ads.googleads.v15.resources.AssetSetAsset - */ -class AssetSetAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the asset set asset. - * Asset set asset resource names have the form: - * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The asset set which this asset set asset is linking to. - * - * Generated from protobuf field string asset_set = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset_set = ''; - /** - * Immutable. The asset which this asset set asset is linking to. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset = ''; - /** - * Output only. The status of the asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the asset set asset. - * Asset set asset resource names have the form: - * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - * @type string $asset_set - * Immutable. The asset set which this asset set asset is linking to. - * @type string $asset - * Immutable. The asset which this asset set asset is linking to. - * @type int $status - * Output only. The status of the asset set asset. Read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetSetAsset::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the asset set asset. - * Asset set asset resource names have the form: - * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the asset set asset. - * Asset set asset resource names have the form: - * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The asset set which this asset set asset is linking to. - * - * Generated from protobuf field string asset_set = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetSet() - { - return $this->asset_set; - } - - /** - * Immutable. The asset set which this asset set asset is linking to. - * - * Generated from protobuf field string asset_set = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetSet($var) - { - GPBUtil::checkString($var, True); - $this->asset_set = $var; - - return $this; - } - - /** - * Immutable. The asset which this asset set asset is linking to. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * Immutable. The asset which this asset set asset is linking to. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * Output only. The status of the asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSetAssetStatusEnum\AssetSetAssetStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AssetSetTypeView.php b/src/Google/Ads/GoogleAds/V15/Resources/AssetSetTypeView.php deleted file mode 100644 index 1d3b8deaf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AssetSetTypeView.php +++ /dev/null @@ -1,112 +0,0 @@ -google.ads.googleads.v15.resources.AssetSetTypeView - */ -class AssetSetTypeView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the asset set type view. - * Asset set type view resource names have the form: - * `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The asset set type of the asset set type view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $asset_set_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the asset set type view. - * Asset set type view resource names have the form: - * `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` - * @type int $asset_set_type - * Output only. The asset set type of the asset set type view. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetSetTypeView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the asset set type view. - * Asset set type view resource names have the form: - * `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the asset set type view. - * Asset set type view resource names have the form: - * `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The asset set type of the asset set type view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAssetSetType() - { - return $this->asset_set_type; - } - - /** - * Output only. The asset set type of the asset set type view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAssetSetType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSetTypeEnum\AssetSetType::class); - $this->asset_set_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/AttributeFieldMapping.php b/src/Google/Ads/GoogleAds/V15/Resources/AttributeFieldMapping.php deleted file mode 100644 index 188c8b302..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/AttributeFieldMapping.php +++ /dev/null @@ -1,867 +0,0 @@ -google.ads.googleads.v15.resources.AttributeFieldMapping - */ -class AttributeFieldMapping extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Feed attribute from which to map. - * - * Generated from protobuf field optional int64 feed_attribute_id = 24 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $feed_attribute_id = null; - /** - * Output only. The placeholder field ID. If a placeholder field enum is not - * published in the current API version, then this field will be populated and - * the field oneof will be empty. This field is read-only. - * - * Generated from protobuf field optional int64 field_id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $field_id = null; - protected $field; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $feed_attribute_id - * Immutable. Feed attribute from which to map. - * @type int|string $field_id - * Output only. The placeholder field ID. If a placeholder field enum is not - * published in the current API version, then this field will be populated and - * the field oneof will be empty. This field is read-only. - * @type int $sitelink_field - * Immutable. Sitelink Placeholder Fields. - * @type int $call_field - * Immutable. Call Placeholder Fields. - * @type int $app_field - * Immutable. App Placeholder Fields. - * @type int $location_field - * Output only. Location Placeholder Fields. This field is read-only. - * @type int $affiliate_location_field - * Output only. Affiliate Location Placeholder Fields. This field is - * read-only. - * @type int $callout_field - * Immutable. Callout Placeholder Fields. - * @type int $structured_snippet_field - * Immutable. Structured Snippet Placeholder Fields. - * @type int $message_field - * Immutable. Message Placeholder Fields. - * @type int $price_field - * Immutable. Price Placeholder Fields. - * @type int $promotion_field - * Immutable. Promotion Placeholder Fields. - * @type int $ad_customizer_field - * Immutable. Ad Customizer Placeholder Fields - * @type int $dsa_page_feed_field - * Immutable. Dynamic Search Ad Page Feed Fields. - * @type int $location_extension_targeting_field - * Immutable. Location Target Fields. - * @type int $education_field - * Immutable. Education Placeholder Fields - * @type int $flight_field - * Immutable. Flight Placeholder Fields - * @type int $custom_field - * Immutable. Custom Placeholder Fields - * @type int $hotel_field - * Immutable. Hotel Placeholder Fields - * @type int $real_estate_field - * Immutable. Real Estate Placeholder Fields - * @type int $travel_field - * Immutable. Travel Placeholder Fields - * @type int $local_field - * Immutable. Local Placeholder Fields - * @type int $job_field - * Immutable. Job Placeholder Fields - * @type int $image_field - * Immutable. Image Placeholder Fields - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedMapping::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Feed attribute from which to map. - * - * Generated from protobuf field optional int64 feed_attribute_id = 24 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getFeedAttributeId() - { - return isset($this->feed_attribute_id) ? $this->feed_attribute_id : 0; - } - - public function hasFeedAttributeId() - { - return isset($this->feed_attribute_id); - } - - public function clearFeedAttributeId() - { - unset($this->feed_attribute_id); - } - - /** - * Immutable. Feed attribute from which to map. - * - * Generated from protobuf field optional int64 feed_attribute_id = 24 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setFeedAttributeId($var) - { - GPBUtil::checkInt64($var); - $this->feed_attribute_id = $var; - - return $this; - } - - /** - * Output only. The placeholder field ID. If a placeholder field enum is not - * published in the current API version, then this field will be populated and - * the field oneof will be empty. This field is read-only. - * - * Generated from protobuf field optional int64 field_id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getFieldId() - { - return isset($this->field_id) ? $this->field_id : 0; - } - - public function hasFieldId() - { - return isset($this->field_id); - } - - public function clearFieldId() - { - unset($this->field_id); - } - - /** - * Output only. The placeholder field ID. If a placeholder field enum is not - * published in the current API version, then this field will be populated and - * the field oneof will be empty. This field is read-only. - * - * Generated from protobuf field optional int64 field_id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setFieldId($var) - { - GPBUtil::checkInt64($var); - $this->field_id = $var; - - return $this; - } - - /** - * Immutable. Sitelink Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderField sitelink_field = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getSitelinkField() - { - return $this->readOneof(3); - } - - public function hasSitelinkField() - { - return $this->hasOneof(3); - } - - /** - * Immutable. Sitelink Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderField sitelink_field = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setSitelinkField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SitelinkPlaceholderFieldEnum\SitelinkPlaceholderField::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Immutable. Call Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallPlaceholderFieldEnum.CallPlaceholderField call_field = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getCallField() - { - return $this->readOneof(4); - } - - public function hasCallField() - { - return $this->hasOneof(4); - } - - /** - * Immutable. Call Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallPlaceholderFieldEnum.CallPlaceholderField call_field = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setCallField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CallPlaceholderFieldEnum\CallPlaceholderField::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Immutable. App Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppPlaceholderFieldEnum.AppPlaceholderField app_field = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getAppField() - { - return $this->readOneof(5); - } - - public function hasAppField() - { - return $this->hasOneof(5); - } - - /** - * Immutable. App Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppPlaceholderFieldEnum.AppPlaceholderField app_field = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setAppField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AppPlaceholderFieldEnum\AppPlaceholderField::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Output only. Location Placeholder Fields. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField location_field = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLocationField() - { - return $this->readOneof(6); - } - - public function hasLocationField() - { - return $this->hasOneof(6); - } - - /** - * Output only. Location Placeholder Fields. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField location_field = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLocationField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocationPlaceholderFieldEnum\LocationPlaceholderField::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Output only. Affiliate Location Placeholder Fields. This field is - * read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderField affiliate_location_field = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAffiliateLocationField() - { - return $this->readOneof(7); - } - - public function hasAffiliateLocationField() - { - return $this->hasOneof(7); - } - - /** - * Output only. Affiliate Location Placeholder Fields. This field is - * read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderField affiliate_location_field = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAffiliateLocationField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AffiliateLocationPlaceholderFieldEnum\AffiliateLocationPlaceholderField::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Immutable. Callout Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField callout_field = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getCalloutField() - { - return $this->readOneof(8); - } - - public function hasCalloutField() - { - return $this->hasOneof(8); - } - - /** - * Immutable. Callout Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField callout_field = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setCalloutField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CalloutPlaceholderFieldEnum\CalloutPlaceholderField::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Immutable. Structured Snippet Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderField structured_snippet_field = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getStructuredSnippetField() - { - return $this->readOneof(9); - } - - public function hasStructuredSnippetField() - { - return $this->hasOneof(9); - } - - /** - * Immutable. Structured Snippet Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderField structured_snippet_field = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setStructuredSnippetField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\StructuredSnippetPlaceholderFieldEnum\StructuredSnippetPlaceholderField::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Immutable. Message Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField message_field = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getMessageField() - { - return $this->readOneof(10); - } - - public function hasMessageField() - { - return $this->hasOneof(10); - } - - /** - * Immutable. Message Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField message_field = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setMessageField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MessagePlaceholderFieldEnum\MessagePlaceholderField::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Immutable. Price Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PricePlaceholderFieldEnum.PricePlaceholderField price_field = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getPriceField() - { - return $this->readOneof(11); - } - - public function hasPriceField() - { - return $this->hasOneof(11); - } - - /** - * Immutable. Price Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PricePlaceholderFieldEnum.PricePlaceholderField price_field = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setPriceField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PricePlaceholderFieldEnum\PricePlaceholderField::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Immutable. Promotion Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField promotion_field = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getPromotionField() - { - return $this->readOneof(12); - } - - public function hasPromotionField() - { - return $this->hasOneof(12); - } - - /** - * Immutable. Promotion Placeholder Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField promotion_field = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setPromotionField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PromotionPlaceholderFieldEnum\PromotionPlaceholderField::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * Immutable. Ad Customizer Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField ad_customizer_field = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getAdCustomizerField() - { - return $this->readOneof(13); - } - - public function hasAdCustomizerField() - { - return $this->hasOneof(13); - } - - /** - * Immutable. Ad Customizer Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField ad_customizer_field = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setAdCustomizerField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdCustomizerPlaceholderFieldEnum\AdCustomizerPlaceholderField::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * Immutable. Dynamic Search Ad Page Feed Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField dsa_page_feed_field = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getDsaPageFeedField() - { - return $this->readOneof(14); - } - - public function hasDsaPageFeedField() - { - return $this->hasOneof(14); - } - - /** - * Immutable. Dynamic Search Ad Page Feed Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField dsa_page_feed_field = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setDsaPageFeedField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DsaPageFeedCriterionFieldEnum\DsaPageFeedCriterionField::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * Immutable. Location Target Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionField location_extension_targeting_field = 15 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getLocationExtensionTargetingField() - { - return $this->readOneof(15); - } - - public function hasLocationExtensionTargetingField() - { - return $this->hasOneof(15); - } - - /** - * Immutable. Location Target Fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionField location_extension_targeting_field = 15 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setLocationExtensionTargetingField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocationExtensionTargetingCriterionFieldEnum\LocationExtensionTargetingCriterionField::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Immutable. Education Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField education_field = 16 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getEducationField() - { - return $this->readOneof(16); - } - - public function hasEducationField() - { - return $this->hasOneof(16); - } - - /** - * Immutable. Education Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField education_field = 16 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setEducationField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\EducationPlaceholderFieldEnum\EducationPlaceholderField::class); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * Immutable. Flight Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField flight_field = 17 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getFlightField() - { - return $this->readOneof(17); - } - - public function hasFlightField() - { - return $this->hasOneof(17); - } - - /** - * Immutable. Flight Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField flight_field = 17 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setFlightField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FlightPlaceholderFieldEnum\FlightPlaceholderField::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * Immutable. Custom Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField custom_field = 18 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getCustomField() - { - return $this->readOneof(18); - } - - public function hasCustomField() - { - return $this->hasOneof(18); - } - - /** - * Immutable. Custom Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField custom_field = 18 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setCustomField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomPlaceholderFieldEnum\CustomPlaceholderField::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * Immutable. Hotel Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField hotel_field = 19 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getHotelField() - { - return $this->readOneof(19); - } - - public function hasHotelField() - { - return $this->hasOneof(19); - } - - /** - * Immutable. Hotel Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField hotel_field = 19 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setHotelField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\HotelPlaceholderFieldEnum\HotelPlaceholderField::class); - $this->writeOneof(19, $var); - - return $this; - } - - /** - * Immutable. Real Estate Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderField real_estate_field = 20 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getRealEstateField() - { - return $this->readOneof(20); - } - - public function hasRealEstateField() - { - return $this->hasOneof(20); - } - - /** - * Immutable. Real Estate Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderField real_estate_field = 20 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setRealEstateField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\RealEstatePlaceholderFieldEnum\RealEstatePlaceholderField::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * Immutable. Travel Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TravelPlaceholderFieldEnum.TravelPlaceholderField travel_field = 21 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getTravelField() - { - return $this->readOneof(21); - } - - public function hasTravelField() - { - return $this->hasOneof(21); - } - - /** - * Immutable. Travel Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TravelPlaceholderFieldEnum.TravelPlaceholderField travel_field = 21 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setTravelField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TravelPlaceholderFieldEnum\TravelPlaceholderField::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * Immutable. Local Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalPlaceholderFieldEnum.LocalPlaceholderField local_field = 22 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getLocalField() - { - return $this->readOneof(22); - } - - public function hasLocalField() - { - return $this->hasOneof(22); - } - - /** - * Immutable. Local Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalPlaceholderFieldEnum.LocalPlaceholderField local_field = 22 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setLocalField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalPlaceholderFieldEnum\LocalPlaceholderField::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * Immutable. Job Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.JobPlaceholderFieldEnum.JobPlaceholderField job_field = 23 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getJobField() - { - return $this->readOneof(23); - } - - public function hasJobField() - { - return $this->hasOneof(23); - } - - /** - * Immutable. Job Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.JobPlaceholderFieldEnum.JobPlaceholderField job_field = 23 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setJobField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\JobPlaceholderFieldEnum\JobPlaceholderField::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * Immutable. Image Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ImagePlaceholderFieldEnum.ImagePlaceholderField image_field = 26 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getImageField() - { - return $this->readOneof(26); - } - - public function hasImageField() - { - return $this->hasOneof(26); - } - - /** - * Immutable. Image Placeholder Fields - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ImagePlaceholderFieldEnum.ImagePlaceholderField image_field = 26 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setImageField($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ImagePlaceholderFieldEnum\ImagePlaceholderField::class); - $this->writeOneof(26, $var); - - return $this; - } - - /** - * @return string - */ - public function getField() - { - return $this->whichOneof("field"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Audience.php b/src/Google/Ads/GoogleAds/V15/Resources/Audience.php deleted file mode 100644 index 322a8fdf1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Audience.php +++ /dev/null @@ -1,410 +0,0 @@ -google.ads.googleads.v15.resources.Audience - */ -class Audience extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the audience. - * Audience names have the form: - * `customers/{customer_id}/audiences/{audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of the audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. Status of this audience. Indicates whether the audience - * is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceStatusEnum.AudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Name of the audience. It should be unique across all audiences within the - * account. It must have a minimum length of 1 and maximum length of 255. - * Required when scope is not set or is set to CUSTOMER. Cannot be set or - * updated when scope is ASSET_GROUP. - * - * Generated from protobuf field optional string name = 10; - */ - protected $name = null; - /** - * Description of this audience. - * - * Generated from protobuf field string description = 5; - */ - protected $description = ''; - /** - * Positive dimensions specifying the audience composition. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AudienceDimension dimensions = 6; - */ - private $dimensions; - /** - * Negative dimension specifying the audience composition. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceExclusionDimension exclusion_dimension = 7; - */ - protected $exclusion_dimension = null; - /** - * Defines the scope this audience can be used in. By default, the scope is - * CUSTOMER. Audiences can be created with a scope of ASSET_GROUP for - * exclusive use by a single asset_group. Scope may change from ASSET_GROUP to - * CUSTOMER but not from CUSTOMER to ASSET_GROUP. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceScopeEnum.AudienceScope scope = 8; - */ - protected $scope = 0; - /** - * Immutable. The asset group that this audience is scoped under. Must be set - * if and only if scope is ASSET_GROUP. Immutable after creation. If an - * audience with ASSET_GROUP scope is upgraded to CUSTOMER scope, this field - * will automatically be cleared. - * - * Generated from protobuf field string asset_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset_group = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the audience. - * Audience names have the form: - * `customers/{customer_id}/audiences/{audience_id}` - * @type int|string $id - * Output only. ID of the audience. - * @type int $status - * Output only. Status of this audience. Indicates whether the audience - * is enabled or removed. - * @type string $name - * Name of the audience. It should be unique across all audiences within the - * account. It must have a minimum length of 1 and maximum length of 255. - * Required when scope is not set or is set to CUSTOMER. Cannot be set or - * updated when scope is ASSET_GROUP. - * @type string $description - * Description of this audience. - * @type array<\Google\Ads\GoogleAds\V15\Common\AudienceDimension>|\Google\Protobuf\Internal\RepeatedField $dimensions - * Positive dimensions specifying the audience composition. - * @type \Google\Ads\GoogleAds\V15\Common\AudienceExclusionDimension $exclusion_dimension - * Negative dimension specifying the audience composition. - * @type int $scope - * Defines the scope this audience can be used in. By default, the scope is - * CUSTOMER. Audiences can be created with a scope of ASSET_GROUP for - * exclusive use by a single asset_group. Scope may change from ASSET_GROUP to - * CUSTOMER but not from CUSTOMER to ASSET_GROUP. - * @type string $asset_group - * Immutable. The asset group that this audience is scoped under. Must be set - * if and only if scope is ASSET_GROUP. Immutable after creation. If an - * audience with ASSET_GROUP scope is upgraded to CUSTOMER scope, this field - * will automatically be cleared. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Audience::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the audience. - * Audience names have the form: - * `customers/{customer_id}/audiences/{audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the audience. - * Audience names have the form: - * `customers/{customer_id}/audiences/{audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of the audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. ID of the audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Status of this audience. Indicates whether the audience - * is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceStatusEnum.AudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of this audience. Indicates whether the audience - * is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceStatusEnum.AudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AudienceStatusEnum\AudienceStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Name of the audience. It should be unique across all audiences within the - * account. It must have a minimum length of 1 and maximum length of 255. - * Required when scope is not set or is set to CUSTOMER. Cannot be set or - * updated when scope is ASSET_GROUP. - * - * Generated from protobuf field optional string name = 10; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Name of the audience. It should be unique across all audiences within the - * account. It must have a minimum length of 1 and maximum length of 255. - * Required when scope is not set or is set to CUSTOMER. Cannot be set or - * updated when scope is ASSET_GROUP. - * - * Generated from protobuf field optional string name = 10; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Description of this audience. - * - * Generated from protobuf field string description = 5; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description of this audience. - * - * Generated from protobuf field string description = 5; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Positive dimensions specifying the audience composition. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AudienceDimension dimensions = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * Positive dimensions specifying the audience composition. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AudienceDimension dimensions = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\AudienceDimension>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AudienceDimension::class); - $this->dimensions = $arr; - - return $this; - } - - /** - * Negative dimension specifying the audience composition. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceExclusionDimension exclusion_dimension = 7; - * @return \Google\Ads\GoogleAds\V15\Common\AudienceExclusionDimension|null - */ - public function getExclusionDimension() - { - return $this->exclusion_dimension; - } - - public function hasExclusionDimension() - { - return isset($this->exclusion_dimension); - } - - public function clearExclusionDimension() - { - unset($this->exclusion_dimension); - } - - /** - * Negative dimension specifying the audience composition. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AudienceExclusionDimension exclusion_dimension = 7; - * @param \Google\Ads\GoogleAds\V15\Common\AudienceExclusionDimension $var - * @return $this - */ - public function setExclusionDimension($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AudienceExclusionDimension::class); - $this->exclusion_dimension = $var; - - return $this; - } - - /** - * Defines the scope this audience can be used in. By default, the scope is - * CUSTOMER. Audiences can be created with a scope of ASSET_GROUP for - * exclusive use by a single asset_group. Scope may change from ASSET_GROUP to - * CUSTOMER but not from CUSTOMER to ASSET_GROUP. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceScopeEnum.AudienceScope scope = 8; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Defines the scope this audience can be used in. By default, the scope is - * CUSTOMER. Audiences can be created with a scope of ASSET_GROUP for - * exclusive use by a single asset_group. Scope may change from ASSET_GROUP to - * CUSTOMER but not from CUSTOMER to ASSET_GROUP. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceScopeEnum.AudienceScope scope = 8; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AudienceScopeEnum\AudienceScope::class); - $this->scope = $var; - - return $this; - } - - /** - * Immutable. The asset group that this audience is scoped under. Must be set - * if and only if scope is ASSET_GROUP. Immutable after creation. If an - * audience with ASSET_GROUP scope is upgraded to CUSTOMER scope, this field - * will automatically be cleared. - * - * Generated from protobuf field string asset_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetGroup() - { - return $this->asset_group; - } - - /** - * Immutable. The asset group that this audience is scoped under. Must be set - * if and only if scope is ASSET_GROUP. Immutable after creation. If an - * audience with ASSET_GROUP scope is upgraded to CUSTOMER scope, this field - * will automatically be cleared. - * - * Generated from protobuf field string asset_group = 9 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetGroup($var) - { - GPBUtil::checkString($var, True); - $this->asset_group = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BackgroundCheckVerificationArtifact.php b/src/Google/Ads/GoogleAds/V15/Resources/BackgroundCheckVerificationArtifact.php deleted file mode 100644 index c0b8a98e2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BackgroundCheckVerificationArtifact.php +++ /dev/null @@ -1,133 +0,0 @@ -google.ads.googleads.v15.resources.BackgroundCheckVerificationArtifact - */ -class BackgroundCheckVerificationArtifact extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. URL to access background case. - * - * Generated from protobuf field optional string case_url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $case_url = null; - /** - * Output only. The timestamp when this background check case result was - * adjudicated. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads - * account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 - * 14:34:30" - * - * Generated from protobuf field optional string final_adjudication_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $final_adjudication_date_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $case_url - * Output only. URL to access background case. - * @type string $final_adjudication_date_time - * Output only. The timestamp when this background check case result was - * adjudicated. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads - * account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 - * 14:34:30" - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesVerificationArtifact::initOnce(); - parent::__construct($data); - } - - /** - * Output only. URL to access background case. - * - * Generated from protobuf field optional string case_url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCaseUrl() - { - return isset($this->case_url) ? $this->case_url : ''; - } - - public function hasCaseUrl() - { - return isset($this->case_url); - } - - public function clearCaseUrl() - { - unset($this->case_url); - } - - /** - * Output only. URL to access background case. - * - * Generated from protobuf field optional string case_url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCaseUrl($var) - { - GPBUtil::checkString($var, True); - $this->case_url = $var; - - return $this; - } - - /** - * Output only. The timestamp when this background check case result was - * adjudicated. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads - * account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 - * 14:34:30" - * - * Generated from protobuf field optional string final_adjudication_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFinalAdjudicationDateTime() - { - return isset($this->final_adjudication_date_time) ? $this->final_adjudication_date_time : ''; - } - - public function hasFinalAdjudicationDateTime() - { - return isset($this->final_adjudication_date_time); - } - - public function clearFinalAdjudicationDateTime() - { - unset($this->final_adjudication_date_time); - } - - /** - * Output only. The timestamp when this background check case result was - * adjudicated. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads - * account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 - * 14:34:30" - * - * Generated from protobuf field optional string final_adjudication_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFinalAdjudicationDateTime($var) - { - GPBUtil::checkString($var, True); - $this->final_adjudication_date_time = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BatchJob.php b/src/Google/Ads/GoogleAds/V15/Resources/BatchJob.php deleted file mode 100644 index 605d747ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BatchJob.php +++ /dev/null @@ -1,299 +0,0 @@ -google.ads.googleads.v15.resources.BatchJob - */ -class BatchJob extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the batch job. - * Batch job resource names have the form: - * `customers/{customer_id}/batchJobs/{batch_job_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of this batch job. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The next sequence token to use when adding operations. Only - * set when the batch job status is PENDING. - * - * Generated from protobuf field optional string next_add_sequence_token = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $next_add_sequence_token = null; - /** - * Output only. Contains additional information about this batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BatchJob.BatchJobMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $metadata = null; - /** - * Output only. Status of this batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion. Only set when the batch job status is RUNNING - * or DONE. - * - * Generated from protobuf field optional string long_running_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $long_running_operation = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the batch job. - * Batch job resource names have the form: - * `customers/{customer_id}/batchJobs/{batch_job_id}` - * @type int|string $id - * Output only. ID of this batch job. - * @type string $next_add_sequence_token - * Output only. The next sequence token to use when adding operations. Only - * set when the batch job status is PENDING. - * @type \Google\Ads\GoogleAds\V15\Resources\BatchJob\BatchJobMetadata $metadata - * Output only. Contains additional information about this batch job. - * @type int $status - * Output only. Status of this batch job. - * @type string $long_running_operation - * Output only. The resource name of the long-running operation that can be - * used to poll for completion. Only set when the batch job status is RUNNING - * or DONE. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\BatchJob::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the batch job. - * Batch job resource names have the form: - * `customers/{customer_id}/batchJobs/{batch_job_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the batch job. - * Batch job resource names have the form: - * `customers/{customer_id}/batchJobs/{batch_job_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of this batch job. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. ID of this batch job. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The next sequence token to use when adding operations. Only - * set when the batch job status is PENDING. - * - * Generated from protobuf field optional string next_add_sequence_token = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getNextAddSequenceToken() - { - return isset($this->next_add_sequence_token) ? $this->next_add_sequence_token : ''; - } - - public function hasNextAddSequenceToken() - { - return isset($this->next_add_sequence_token); - } - - public function clearNextAddSequenceToken() - { - unset($this->next_add_sequence_token); - } - - /** - * Output only. The next sequence token to use when adding operations. Only - * set when the batch job status is PENDING. - * - * Generated from protobuf field optional string next_add_sequence_token = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setNextAddSequenceToken($var) - { - GPBUtil::checkString($var, True); - $this->next_add_sequence_token = $var; - - return $this; - } - - /** - * Output only. Contains additional information about this batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BatchJob.BatchJobMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\BatchJob\BatchJobMetadata|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * Output only. Contains additional information about this batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BatchJob.BatchJobMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\BatchJob\BatchJobMetadata $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BatchJob\BatchJobMetadata::class); - $this->metadata = $var; - - return $this; - } - - /** - * Output only. Status of this batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of this batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BatchJobStatusEnum\BatchJobStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion. Only set when the batch job status is RUNNING - * or DONE. - * - * Generated from protobuf field optional string long_running_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLongRunningOperation() - { - return isset($this->long_running_operation) ? $this->long_running_operation : ''; - } - - public function hasLongRunningOperation() - { - return isset($this->long_running_operation); - } - - public function clearLongRunningOperation() - { - unset($this->long_running_operation); - } - - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion. Only set when the batch job status is RUNNING - * or DONE. - * - * Generated from protobuf field optional string long_running_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLongRunningOperation($var) - { - GPBUtil::checkString($var, True); - $this->long_running_operation = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BatchJob/BatchJobMetadata.php b/src/Google/Ads/GoogleAds/V15/Resources/BatchJob/BatchJobMetadata.php deleted file mode 100644 index 19b9ee708..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BatchJob/BatchJobMetadata.php +++ /dev/null @@ -1,373 +0,0 @@ -google.ads.googleads.v15.resources.BatchJob.BatchJobMetadata - */ -class BatchJobMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The time when this batch job was created. - * Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - * - * Generated from protobuf field optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creation_date_time = null; - /** - * Output only. The time when this batch job started running. - * Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" - * - * Generated from protobuf field optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_date_time = null; - /** - * Output only. The time when this batch job was completed. - * Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - * - * Generated from protobuf field optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $completion_date_time = null; - /** - * Output only. The fraction (between 0.0 and 1.0) of mutates that have been - * processed. This is empty if the job hasn't started running yet. - * - * Generated from protobuf field optional double estimated_completion_ratio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $estimated_completion_ratio = null; - /** - * Output only. The number of mutate operations in the batch job. - * - * Generated from protobuf field optional int64 operation_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $operation_count = null; - /** - * Output only. The number of mutate operations executed by the batch job. - * Present only if the job has started running. - * - * Generated from protobuf field optional int64 executed_operation_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $executed_operation_count = null; - /** - * Immutable. The approximate upper bound for how long a batch job can be - * executed, in seconds. If the job runs more than the given upper bound, - * the job will be canceled. - * - * Generated from protobuf field optional int32 execution_limit_seconds = 13 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $execution_limit_seconds = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $creation_date_time - * Output only. The time when this batch job was created. - * Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - * @type string $start_date_time - * Output only. The time when this batch job started running. - * Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" - * @type string $completion_date_time - * Output only. The time when this batch job was completed. - * Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - * @type float $estimated_completion_ratio - * Output only. The fraction (between 0.0 and 1.0) of mutates that have been - * processed. This is empty if the job hasn't started running yet. - * @type int|string $operation_count - * Output only. The number of mutate operations in the batch job. - * @type int|string $executed_operation_count - * Output only. The number of mutate operations executed by the batch job. - * Present only if the job has started running. - * @type int $execution_limit_seconds - * Immutable. The approximate upper bound for how long a batch job can be - * executed, in seconds. If the job runs more than the given upper bound, - * the job will be canceled. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\BatchJob::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The time when this batch job was created. - * Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - * - * Generated from protobuf field optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreationDateTime() - { - return isset($this->creation_date_time) ? $this->creation_date_time : ''; - } - - public function hasCreationDateTime() - { - return isset($this->creation_date_time); - } - - public function clearCreationDateTime() - { - unset($this->creation_date_time); - } - - /** - * Output only. The time when this batch job was created. - * Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - * - * Generated from protobuf field optional string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreationDateTime($var) - { - GPBUtil::checkString($var, True); - $this->creation_date_time = $var; - - return $this; - } - - /** - * Output only. The time when this batch job started running. - * Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" - * - * Generated from protobuf field optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getStartDateTime() - { - return isset($this->start_date_time) ? $this->start_date_time : ''; - } - - public function hasStartDateTime() - { - return isset($this->start_date_time); - } - - public function clearStartDateTime() - { - unset($this->start_date_time); - } - - /** - * Output only. The time when this batch job started running. - * Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" - * - * Generated from protobuf field optional string start_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->start_date_time = $var; - - return $this; - } - - /** - * Output only. The time when this batch job was completed. - * Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - * - * Generated from protobuf field optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCompletionDateTime() - { - return isset($this->completion_date_time) ? $this->completion_date_time : ''; - } - - public function hasCompletionDateTime() - { - return isset($this->completion_date_time); - } - - public function clearCompletionDateTime() - { - unset($this->completion_date_time); - } - - /** - * Output only. The time when this batch job was completed. - * Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - * - * Generated from protobuf field optional string completion_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCompletionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->completion_date_time = $var; - - return $this; - } - - /** - * Output only. The fraction (between 0.0 and 1.0) of mutates that have been - * processed. This is empty if the job hasn't started running yet. - * - * Generated from protobuf field optional double estimated_completion_ratio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getEstimatedCompletionRatio() - { - return isset($this->estimated_completion_ratio) ? $this->estimated_completion_ratio : 0.0; - } - - public function hasEstimatedCompletionRatio() - { - return isset($this->estimated_completion_ratio); - } - - public function clearEstimatedCompletionRatio() - { - unset($this->estimated_completion_ratio); - } - - /** - * Output only. The fraction (between 0.0 and 1.0) of mutates that have been - * processed. This is empty if the job hasn't started running yet. - * - * Generated from protobuf field optional double estimated_completion_ratio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setEstimatedCompletionRatio($var) - { - GPBUtil::checkDouble($var); - $this->estimated_completion_ratio = $var; - - return $this; - } - - /** - * Output only. The number of mutate operations in the batch job. - * - * Generated from protobuf field optional int64 operation_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getOperationCount() - { - return isset($this->operation_count) ? $this->operation_count : 0; - } - - public function hasOperationCount() - { - return isset($this->operation_count); - } - - public function clearOperationCount() - { - unset($this->operation_count); - } - - /** - * Output only. The number of mutate operations in the batch job. - * - * Generated from protobuf field optional int64 operation_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setOperationCount($var) - { - GPBUtil::checkInt64($var); - $this->operation_count = $var; - - return $this; - } - - /** - * Output only. The number of mutate operations executed by the batch job. - * Present only if the job has started running. - * - * Generated from protobuf field optional int64 executed_operation_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExecutedOperationCount() - { - return isset($this->executed_operation_count) ? $this->executed_operation_count : 0; - } - - public function hasExecutedOperationCount() - { - return isset($this->executed_operation_count); - } - - public function clearExecutedOperationCount() - { - unset($this->executed_operation_count); - } - - /** - * Output only. The number of mutate operations executed by the batch job. - * Present only if the job has started running. - * - * Generated from protobuf field optional int64 executed_operation_count = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExecutedOperationCount($var) - { - GPBUtil::checkInt64($var); - $this->executed_operation_count = $var; - - return $this; - } - - /** - * Immutable. The approximate upper bound for how long a batch job can be - * executed, in seconds. If the job runs more than the given upper bound, - * the job will be canceled. - * - * Generated from protobuf field optional int32 execution_limit_seconds = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getExecutionLimitSeconds() - { - return isset($this->execution_limit_seconds) ? $this->execution_limit_seconds : 0; - } - - public function hasExecutionLimitSeconds() - { - return isset($this->execution_limit_seconds); - } - - public function clearExecutionLimitSeconds() - { - unset($this->execution_limit_seconds); - } - - /** - * Immutable. The approximate upper bound for how long a batch job can be - * executed, in seconds. If the job runs more than the given upper bound, - * the job will be canceled. - * - * Generated from protobuf field optional int32 execution_limit_seconds = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setExecutionLimitSeconds($var) - { - GPBUtil::checkInt32($var); - $this->execution_limit_seconds = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BatchJobMetadata::class, \Google\Ads\GoogleAds\V15\Resources\BatchJob_BatchJobMetadata::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BiddingDataExclusion.php b/src/Google/Ads/GoogleAds/V15/Resources/BiddingDataExclusion.php deleted file mode 100644 index 56c777eb7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BiddingDataExclusion.php +++ /dev/null @@ -1,493 +0,0 @@ -google.ads.googleads.v15.resources.BiddingDataExclusion - */ -class BiddingDataExclusion extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the data exclusion. - * Data exclusion resource names have the form: - * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the data exclusion. - * - * Generated from protobuf field int64 data_exclusion_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $data_exclusion_id = 0; - /** - * The scope of the data exclusion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - */ - protected $scope = 0; - /** - * Output only. The status of the data exclusion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Required. The inclusive start time of the data exclusion in yyyy-MM-dd - * HH:mm:ss format. - * A data exclusion is backward looking and should be used for events that - * start in the past and end either in the past or future. - * - * Generated from protobuf field string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $start_date_time = ''; - /** - * Required. The exclusive end time of the data exclusion in yyyy-MM-dd - * HH:mm:ss format. - * The length of [start_date_time, end_date_time) interval must be - * within (0, 14 days]. - * - * Generated from protobuf field string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $end_date_time = ''; - /** - * The name of the data exclusion. The name can be at most 255 - * characters. - * - * Generated from protobuf field string name = 7; - */ - protected $name = ''; - /** - * The description of the data exclusion. The description can be at - * most 2048 characters. - * - * Generated from protobuf field string description = 8; - */ - protected $description = ''; - /** - * If not specified, all devices will be included in this exclusion. - * Otherwise, only the specified targeted devices will be included in this - * exclusion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.DeviceEnum.Device devices = 9; - */ - private $devices; - /** - * The data exclusion will apply to the campaigns listed when the scope of - * this exclusion is CAMPAIGN. The maximum number of campaigns per event is - * 2000. - * Note: a data exclusion with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated string campaigns = 10 [(.google.api.resource_reference) = { - */ - private $campaigns; - /** - * The data_exclusion will apply to all the campaigns under the listed - * channels retroactively as well as going forward when the scope of this - * exclusion is CHANNEL. - * The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - * Note: a data exclusion with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11; - */ - private $advertising_channel_types; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the data exclusion. - * Data exclusion resource names have the form: - * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - * @type int|string $data_exclusion_id - * Output only. The ID of the data exclusion. - * @type int $scope - * The scope of the data exclusion. - * @type int $status - * Output only. The status of the data exclusion. - * @type string $start_date_time - * Required. The inclusive start time of the data exclusion in yyyy-MM-dd - * HH:mm:ss format. - * A data exclusion is backward looking and should be used for events that - * start in the past and end either in the past or future. - * @type string $end_date_time - * Required. The exclusive end time of the data exclusion in yyyy-MM-dd - * HH:mm:ss format. - * The length of [start_date_time, end_date_time) interval must be - * within (0, 14 days]. - * @type string $name - * The name of the data exclusion. The name can be at most 255 - * characters. - * @type string $description - * The description of the data exclusion. The description can be at - * most 2048 characters. - * @type array|\Google\Protobuf\Internal\RepeatedField $devices - * If not specified, all devices will be included in this exclusion. - * Otherwise, only the specified targeted devices will be included in this - * exclusion. - * @type array|\Google\Protobuf\Internal\RepeatedField $campaigns - * The data exclusion will apply to the campaigns listed when the scope of - * this exclusion is CAMPAIGN. The maximum number of campaigns per event is - * 2000. - * Note: a data exclusion with both advertising_channel_types and - * campaign_ids is not supported. - * @type array|\Google\Protobuf\Internal\RepeatedField $advertising_channel_types - * The data_exclusion will apply to all the campaigns under the listed - * channels retroactively as well as going forward when the scope of this - * exclusion is CHANNEL. - * The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - * Note: a data exclusion with both advertising_channel_types and - * campaign_ids is not supported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the data exclusion. - * Data exclusion resource names have the form: - * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the data exclusion. - * Data exclusion resource names have the form: - * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the data exclusion. - * - * Generated from protobuf field int64 data_exclusion_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getDataExclusionId() - { - return $this->data_exclusion_id; - } - - /** - * Output only. The ID of the data exclusion. - * - * Generated from protobuf field int64 data_exclusion_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setDataExclusionId($var) - { - GPBUtil::checkInt64($var); - $this->data_exclusion_id = $var; - - return $this; - } - - /** - * The scope of the data exclusion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * The scope of the data exclusion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SeasonalityEventScopeEnum\SeasonalityEventScope::class); - $this->scope = $var; - - return $this; - } - - /** - * Output only. The status of the data exclusion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the data exclusion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SeasonalityEventStatusEnum\SeasonalityEventStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Required. The inclusive start time of the data exclusion in yyyy-MM-dd - * HH:mm:ss format. - * A data exclusion is backward looking and should be used for events that - * start in the past and end either in the past or future. - * - * Generated from protobuf field string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getStartDateTime() - { - return $this->start_date_time; - } - - /** - * Required. The inclusive start time of the data exclusion in yyyy-MM-dd - * HH:mm:ss format. - * A data exclusion is backward looking and should be used for events that - * start in the past and end either in the past or future. - * - * Generated from protobuf field string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->start_date_time = $var; - - return $this; - } - - /** - * Required. The exclusive end time of the data exclusion in yyyy-MM-dd - * HH:mm:ss format. - * The length of [start_date_time, end_date_time) interval must be - * within (0, 14 days]. - * - * Generated from protobuf field string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getEndDateTime() - { - return $this->end_date_time; - } - - /** - * Required. The exclusive end time of the data exclusion in yyyy-MM-dd - * HH:mm:ss format. - * The length of [start_date_time, end_date_time) interval must be - * within (0, 14 days]. - * - * Generated from protobuf field string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->end_date_time = $var; - - return $this; - } - - /** - * The name of the data exclusion. The name can be at most 255 - * characters. - * - * Generated from protobuf field string name = 7; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The name of the data exclusion. The name can be at most 255 - * characters. - * - * Generated from protobuf field string name = 7; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The description of the data exclusion. The description can be at - * most 2048 characters. - * - * Generated from protobuf field string description = 8; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description of the data exclusion. The description can be at - * most 2048 characters. - * - * Generated from protobuf field string description = 8; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * If not specified, all devices will be included in this exclusion. - * Otherwise, only the specified targeted devices will be included in this - * exclusion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.DeviceEnum.Device devices = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDevices() - { - return $this->devices; - } - - /** - * If not specified, all devices will be included in this exclusion. - * Otherwise, only the specified targeted devices will be included in this - * exclusion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.DeviceEnum.Device devices = 9; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDevices($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\DeviceEnum\Device::class); - $this->devices = $arr; - - return $this; - } - - /** - * The data exclusion will apply to the campaigns listed when the scope of - * this exclusion is CAMPAIGN. The maximum number of campaigns per event is - * 2000. - * Note: a data exclusion with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated string campaigns = 10 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCampaigns() - { - return $this->campaigns; - } - - /** - * The data exclusion will apply to the campaigns listed when the scope of - * this exclusion is CAMPAIGN. The maximum number of campaigns per event is - * 2000. - * Note: a data exclusion with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated string campaigns = 10 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCampaigns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->campaigns = $arr; - - return $this; - } - - /** - * The data_exclusion will apply to all the campaigns under the listed - * channels retroactively as well as going forward when the scope of this - * exclusion is CHANNEL. - * The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - * Note: a data exclusion with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdvertisingChannelTypes() - { - return $this->advertising_channel_types; - } - - /** - * The data_exclusion will apply to all the campaigns under the listed - * channels retroactively as well as going forward when the scope of this - * exclusion is CHANNEL. - * The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - * Note: a data exclusion with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdvertisingChannelTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelTypeEnum\AdvertisingChannelType::class); - $this->advertising_channel_types = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BiddingSeasonalityAdjustment.php b/src/Google/Ads/GoogleAds/V15/Resources/BiddingSeasonalityAdjustment.php deleted file mode 100644 index 64db13497..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BiddingSeasonalityAdjustment.php +++ /dev/null @@ -1,535 +0,0 @@ -google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment - */ -class BiddingSeasonalityAdjustment extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the seasonality adjustment. - * Seasonality adjustment resource names have the form: - * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the seasonality adjustment. - * - * Generated from protobuf field int64 seasonality_adjustment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $seasonality_adjustment_id = 0; - /** - * The scope of the seasonality adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - */ - protected $scope = 0; - /** - * Output only. The status of the seasonality adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Required. The inclusive start time of the seasonality adjustment in - * yyyy-MM-dd HH:mm:ss format. - * A seasonality adjustment is forward looking and should be used for events - * that start and end in the future. - * - * Generated from protobuf field string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $start_date_time = ''; - /** - * Required. The exclusive end time of the seasonality adjustment in - * yyyy-MM-dd HH:mm:ss format. - * The length of [start_date_time, end_date_time) interval must be - * within (0, 14 days]. - * - * Generated from protobuf field string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $end_date_time = ''; - /** - * The name of the seasonality adjustment. The name can be at most 255 - * characters. - * - * Generated from protobuf field string name = 7; - */ - protected $name = ''; - /** - * The description of the seasonality adjustment. The description can be at - * most 2048 characters. - * - * Generated from protobuf field string description = 8; - */ - protected $description = ''; - /** - * If not specified, all devices will be included in this adjustment. - * Otherwise, only the specified targeted devices will be included in this - * adjustment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.DeviceEnum.Device devices = 9; - */ - private $devices; - /** - * Conversion rate modifier estimated based on expected conversion rate - * changes. When this field is unset or set to 1.0 no adjustment will be - * applied to traffic. The allowed range is 0.1 to 10.0. - * - * Generated from protobuf field double conversion_rate_modifier = 10; - */ - protected $conversion_rate_modifier = 0.0; - /** - * The seasonality adjustment will apply to the campaigns listed when the - * scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - * event is 2000. - * Note: a seasonality adjustment with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated string campaigns = 11 [(.google.api.resource_reference) = { - */ - private $campaigns; - /** - * The seasonality adjustment will apply to all the campaigns under the listed - * channels retroactively as well as going forward when the scope of this - * adjustment is CHANNEL. - * The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - * Note: a seasonality adjustment with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12; - */ - private $advertising_channel_types; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the seasonality adjustment. - * Seasonality adjustment resource names have the form: - * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - * @type int|string $seasonality_adjustment_id - * Output only. The ID of the seasonality adjustment. - * @type int $scope - * The scope of the seasonality adjustment. - * @type int $status - * Output only. The status of the seasonality adjustment. - * @type string $start_date_time - * Required. The inclusive start time of the seasonality adjustment in - * yyyy-MM-dd HH:mm:ss format. - * A seasonality adjustment is forward looking and should be used for events - * that start and end in the future. - * @type string $end_date_time - * Required. The exclusive end time of the seasonality adjustment in - * yyyy-MM-dd HH:mm:ss format. - * The length of [start_date_time, end_date_time) interval must be - * within (0, 14 days]. - * @type string $name - * The name of the seasonality adjustment. The name can be at most 255 - * characters. - * @type string $description - * The description of the seasonality adjustment. The description can be at - * most 2048 characters. - * @type array|\Google\Protobuf\Internal\RepeatedField $devices - * If not specified, all devices will be included in this adjustment. - * Otherwise, only the specified targeted devices will be included in this - * adjustment. - * @type float $conversion_rate_modifier - * Conversion rate modifier estimated based on expected conversion rate - * changes. When this field is unset or set to 1.0 no adjustment will be - * applied to traffic. The allowed range is 0.1 to 10.0. - * @type array|\Google\Protobuf\Internal\RepeatedField $campaigns - * The seasonality adjustment will apply to the campaigns listed when the - * scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - * event is 2000. - * Note: a seasonality adjustment with both advertising_channel_types and - * campaign_ids is not supported. - * @type array|\Google\Protobuf\Internal\RepeatedField $advertising_channel_types - * The seasonality adjustment will apply to all the campaigns under the listed - * channels retroactively as well as going forward when the scope of this - * adjustment is CHANNEL. - * The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - * Note: a seasonality adjustment with both advertising_channel_types and - * campaign_ids is not supported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the seasonality adjustment. - * Seasonality adjustment resource names have the form: - * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the seasonality adjustment. - * Seasonality adjustment resource names have the form: - * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the seasonality adjustment. - * - * Generated from protobuf field int64 seasonality_adjustment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSeasonalityAdjustmentId() - { - return $this->seasonality_adjustment_id; - } - - /** - * Output only. The ID of the seasonality adjustment. - * - * Generated from protobuf field int64 seasonality_adjustment_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSeasonalityAdjustmentId($var) - { - GPBUtil::checkInt64($var); - $this->seasonality_adjustment_id = $var; - - return $this; - } - - /** - * The scope of the seasonality adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * The scope of the seasonality adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SeasonalityEventScopeEnum\SeasonalityEventScope::class); - $this->scope = $var; - - return $this; - } - - /** - * Output only. The status of the seasonality adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the seasonality adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SeasonalityEventStatusEnum\SeasonalityEventStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Required. The inclusive start time of the seasonality adjustment in - * yyyy-MM-dd HH:mm:ss format. - * A seasonality adjustment is forward looking and should be used for events - * that start and end in the future. - * - * Generated from protobuf field string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getStartDateTime() - { - return $this->start_date_time; - } - - /** - * Required. The inclusive start time of the seasonality adjustment in - * yyyy-MM-dd HH:mm:ss format. - * A seasonality adjustment is forward looking and should be used for events - * that start and end in the future. - * - * Generated from protobuf field string start_date_time = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->start_date_time = $var; - - return $this; - } - - /** - * Required. The exclusive end time of the seasonality adjustment in - * yyyy-MM-dd HH:mm:ss format. - * The length of [start_date_time, end_date_time) interval must be - * within (0, 14 days]. - * - * Generated from protobuf field string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getEndDateTime() - { - return $this->end_date_time; - } - - /** - * Required. The exclusive end time of the seasonality adjustment in - * yyyy-MM-dd HH:mm:ss format. - * The length of [start_date_time, end_date_time) interval must be - * within (0, 14 days]. - * - * Generated from protobuf field string end_date_time = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->end_date_time = $var; - - return $this; - } - - /** - * The name of the seasonality adjustment. The name can be at most 255 - * characters. - * - * Generated from protobuf field string name = 7; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The name of the seasonality adjustment. The name can be at most 255 - * characters. - * - * Generated from protobuf field string name = 7; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The description of the seasonality adjustment. The description can be at - * most 2048 characters. - * - * Generated from protobuf field string description = 8; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description of the seasonality adjustment. The description can be at - * most 2048 characters. - * - * Generated from protobuf field string description = 8; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * If not specified, all devices will be included in this adjustment. - * Otherwise, only the specified targeted devices will be included in this - * adjustment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.DeviceEnum.Device devices = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDevices() - { - return $this->devices; - } - - /** - * If not specified, all devices will be included in this adjustment. - * Otherwise, only the specified targeted devices will be included in this - * adjustment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.DeviceEnum.Device devices = 9; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDevices($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\DeviceEnum\Device::class); - $this->devices = $arr; - - return $this; - } - - /** - * Conversion rate modifier estimated based on expected conversion rate - * changes. When this field is unset or set to 1.0 no adjustment will be - * applied to traffic. The allowed range is 0.1 to 10.0. - * - * Generated from protobuf field double conversion_rate_modifier = 10; - * @return float - */ - public function getConversionRateModifier() - { - return $this->conversion_rate_modifier; - } - - /** - * Conversion rate modifier estimated based on expected conversion rate - * changes. When this field is unset or set to 1.0 no adjustment will be - * applied to traffic. The allowed range is 0.1 to 10.0. - * - * Generated from protobuf field double conversion_rate_modifier = 10; - * @param float $var - * @return $this - */ - public function setConversionRateModifier($var) - { - GPBUtil::checkDouble($var); - $this->conversion_rate_modifier = $var; - - return $this; - } - - /** - * The seasonality adjustment will apply to the campaigns listed when the - * scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - * event is 2000. - * Note: a seasonality adjustment with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated string campaigns = 11 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCampaigns() - { - return $this->campaigns; - } - - /** - * The seasonality adjustment will apply to the campaigns listed when the - * scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - * event is 2000. - * Note: a seasonality adjustment with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated string campaigns = 11 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCampaigns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->campaigns = $arr; - - return $this; - } - - /** - * The seasonality adjustment will apply to all the campaigns under the listed - * channels retroactively as well as going forward when the scope of this - * adjustment is CHANNEL. - * The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - * Note: a seasonality adjustment with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdvertisingChannelTypes() - { - return $this->advertising_channel_types; - } - - /** - * The seasonality adjustment will apply to all the campaigns under the listed - * channels retroactively as well as going forward when the scope of this - * adjustment is CHANNEL. - * The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - * Note: a seasonality adjustment with both advertising_channel_types and - * campaign_ids is not supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdvertisingChannelTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelTypeEnum\AdvertisingChannelType::class); - $this->advertising_channel_types = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BiddingStrategy.php b/src/Google/Ads/GoogleAds/V15/Resources/BiddingStrategy.php deleted file mode 100644 index b9966b1ec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BiddingStrategy.php +++ /dev/null @@ -1,795 +0,0 @@ -google.ads.googleads.v15.resources.BiddingStrategy - */ -class BiddingStrategy extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the bidding strategy. - * Bidding strategy resource names have the form: - * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the bidding strategy. - * - * Generated from protobuf field optional int64 id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the bidding strategy. - * All bidding strategies within an account must be named distinctly. - * The length of this string should be between 1 and 255, inclusive, - * in UTF-8 bytes, (trimmed). - * - * Generated from protobuf field optional string name = 17; - */ - protected $name = null; - /** - * Output only. The status of the bidding strategy. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. The type of the bidding strategy. - * Create a bidding strategy by setting the bidding scheme. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Immutable. The currency used by the bidding strategy (ISO 4217 three-letter - * code). - * For bidding strategies in manager customers, this currency can be set on - * creation and defaults to the manager customer's currency. For serving - * customers, this field cannot be set; all strategies in a serving customer - * implicitly use the serving customer's currency. In all cases the - * effective_currency_code field returns the currency used by the strategy. - * - * Generated from protobuf field string currency_code = 23 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $currency_code = ''; - /** - * Output only. The currency used by the bidding strategy (ISO 4217 - * three-letter code). - * For bidding strategies in manager customers, this is the currency set by - * the advertiser when creating the strategy. For serving customers, this is - * the customer's currency_code. - * Bidding strategy metrics are reported in this currency. - * This field is read-only. - * - * Generated from protobuf field optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $effective_currency_code = null; - /** - * ID of the campaign budget that this portfolio bidding strategy - * is aligned with. When a portfolio and a campaign budget are aligned, that - * means that they are attached to the same set of campaigns. After a bidding - * strategy is aligned with a campaign budget, campaigns that are added to the - * bidding strategy must also use the aligned campaign budget. - * - * Generated from protobuf field int64 aligned_campaign_budget_id = 25; - */ - protected $aligned_campaign_budget_id = 0; - /** - * Output only. The number of campaigns attached to this bidding strategy. - * This field is read-only. - * - * Generated from protobuf field optional int64 campaign_count = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_count = null; - /** - * Output only. The number of non-removed campaigns attached to this bidding - * strategy. - * This field is read-only. - * - * Generated from protobuf field optional int64 non_removed_campaign_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $non_removed_campaign_count = null; - protected $scheme; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the bidding strategy. - * Bidding strategy resource names have the form: - * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - * @type int|string $id - * Output only. The ID of the bidding strategy. - * @type string $name - * The name of the bidding strategy. - * All bidding strategies within an account must be named distinctly. - * The length of this string should be between 1 and 255, inclusive, - * in UTF-8 bytes, (trimmed). - * @type int $status - * Output only. The status of the bidding strategy. - * This field is read-only. - * @type int $type - * Output only. The type of the bidding strategy. - * Create a bidding strategy by setting the bidding scheme. - * This field is read-only. - * @type string $currency_code - * Immutable. The currency used by the bidding strategy (ISO 4217 three-letter - * code). - * For bidding strategies in manager customers, this currency can be set on - * creation and defaults to the manager customer's currency. For serving - * customers, this field cannot be set; all strategies in a serving customer - * implicitly use the serving customer's currency. In all cases the - * effective_currency_code field returns the currency used by the strategy. - * @type string $effective_currency_code - * Output only. The currency used by the bidding strategy (ISO 4217 - * three-letter code). - * For bidding strategies in manager customers, this is the currency set by - * the advertiser when creating the strategy. For serving customers, this is - * the customer's currency_code. - * Bidding strategy metrics are reported in this currency. - * This field is read-only. - * @type int|string $aligned_campaign_budget_id - * ID of the campaign budget that this portfolio bidding strategy - * is aligned with. When a portfolio and a campaign budget are aligned, that - * means that they are attached to the same set of campaigns. After a bidding - * strategy is aligned with a campaign budget, campaigns that are added to the - * bidding strategy must also use the aligned campaign budget. - * @type int|string $campaign_count - * Output only. The number of campaigns attached to this bidding strategy. - * This field is read-only. - * @type int|string $non_removed_campaign_count - * Output only. The number of non-removed campaigns attached to this bidding - * strategy. - * This field is read-only. - * @type \Google\Ads\GoogleAds\V15\Common\EnhancedCpc $enhanced_cpc - * A bidding strategy that raises bids for clicks that seem more likely to - * lead to a conversion and lowers them for clicks where they seem less - * likely. - * @type \Google\Ads\GoogleAds\V15\Common\MaximizeConversionValue $maximize_conversion_value - * An automated bidding strategy to help get the most conversion value for - * your campaigns while spending your budget. - * @type \Google\Ads\GoogleAds\V15\Common\MaximizeConversions $maximize_conversions - * An automated bidding strategy to help get the most conversions for your - * campaigns while spending your budget. - * @type \Google\Ads\GoogleAds\V15\Common\TargetCpa $target_cpa - * A bidding strategy that sets bids to help get as many conversions as - * possible at the target cost-per-acquisition (CPA) you set. - * @type \Google\Ads\GoogleAds\V15\Common\TargetImpressionShare $target_impression_share - * A bidding strategy that automatically optimizes towards a chosen - * percentage of impressions. - * @type \Google\Ads\GoogleAds\V15\Common\TargetRoas $target_roas - * A bidding strategy that helps you maximize revenue while averaging a - * specific target Return On Ad Spend (ROAS). - * @type \Google\Ads\GoogleAds\V15\Common\TargetSpend $target_spend - * A bid strategy that sets your bids to help get as many clicks as - * possible within your budget. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\BiddingStrategy::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the bidding strategy. - * Bidding strategy resource names have the form: - * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the bidding strategy. - * Bidding strategy resource names have the form: - * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the bidding strategy. - * - * Generated from protobuf field optional int64 id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the bidding strategy. - * - * Generated from protobuf field optional int64 id = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the bidding strategy. - * All bidding strategies within an account must be named distinctly. - * The length of this string should be between 1 and 255, inclusive, - * in UTF-8 bytes, (trimmed). - * - * Generated from protobuf field optional string name = 17; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the bidding strategy. - * All bidding strategies within an account must be named distinctly. - * The length of this string should be between 1 and 255, inclusive, - * in UTF-8 bytes, (trimmed). - * - * Generated from protobuf field optional string name = 17; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The status of the bidding strategy. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the bidding strategy. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingStrategyStatusEnum\BiddingStrategyStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The type of the bidding strategy. - * Create a bidding strategy by setting the bidding scheme. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the bidding strategy. - * Create a bidding strategy by setting the bidding scheme. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingStrategyTypeEnum\BiddingStrategyType::class); - $this->type = $var; - - return $this; - } - - /** - * Immutable. The currency used by the bidding strategy (ISO 4217 three-letter - * code). - * For bidding strategies in manager customers, this currency can be set on - * creation and defaults to the manager customer's currency. For serving - * customers, this field cannot be set; all strategies in a serving customer - * implicitly use the serving customer's currency. In all cases the - * effective_currency_code field returns the currency used by the strategy. - * - * Generated from protobuf field string currency_code = 23 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getCurrencyCode() - { - return $this->currency_code; - } - - /** - * Immutable. The currency used by the bidding strategy (ISO 4217 three-letter - * code). - * For bidding strategies in manager customers, this currency can be set on - * creation and defaults to the manager customer's currency. For serving - * customers, this field cannot be set; all strategies in a serving customer - * implicitly use the serving customer's currency. In all cases the - * effective_currency_code field returns the currency used by the strategy. - * - * Generated from protobuf field string currency_code = 23 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Output only. The currency used by the bidding strategy (ISO 4217 - * three-letter code). - * For bidding strategies in manager customers, this is the currency set by - * the advertiser when creating the strategy. For serving customers, this is - * the customer's currency_code. - * Bidding strategy metrics are reported in this currency. - * This field is read-only. - * - * Generated from protobuf field optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEffectiveCurrencyCode() - { - return isset($this->effective_currency_code) ? $this->effective_currency_code : ''; - } - - public function hasEffectiveCurrencyCode() - { - return isset($this->effective_currency_code); - } - - public function clearEffectiveCurrencyCode() - { - unset($this->effective_currency_code); - } - - /** - * Output only. The currency used by the bidding strategy (ISO 4217 - * three-letter code). - * For bidding strategies in manager customers, this is the currency set by - * the advertiser when creating the strategy. For serving customers, this is - * the customer's currency_code. - * Bidding strategy metrics are reported in this currency. - * This field is read-only. - * - * Generated from protobuf field optional string effective_currency_code = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEffectiveCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->effective_currency_code = $var; - - return $this; - } - - /** - * ID of the campaign budget that this portfolio bidding strategy - * is aligned with. When a portfolio and a campaign budget are aligned, that - * means that they are attached to the same set of campaigns. After a bidding - * strategy is aligned with a campaign budget, campaigns that are added to the - * bidding strategy must also use the aligned campaign budget. - * - * Generated from protobuf field int64 aligned_campaign_budget_id = 25; - * @return int|string - */ - public function getAlignedCampaignBudgetId() - { - return $this->aligned_campaign_budget_id; - } - - /** - * ID of the campaign budget that this portfolio bidding strategy - * is aligned with. When a portfolio and a campaign budget are aligned, that - * means that they are attached to the same set of campaigns. After a bidding - * strategy is aligned with a campaign budget, campaigns that are added to the - * bidding strategy must also use the aligned campaign budget. - * - * Generated from protobuf field int64 aligned_campaign_budget_id = 25; - * @param int|string $var - * @return $this - */ - public function setAlignedCampaignBudgetId($var) - { - GPBUtil::checkInt64($var); - $this->aligned_campaign_budget_id = $var; - - return $this; - } - - /** - * Output only. The number of campaigns attached to this bidding strategy. - * This field is read-only. - * - * Generated from protobuf field optional int64 campaign_count = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCampaignCount() - { - return isset($this->campaign_count) ? $this->campaign_count : 0; - } - - public function hasCampaignCount() - { - return isset($this->campaign_count); - } - - public function clearCampaignCount() - { - unset($this->campaign_count); - } - - /** - * Output only. The number of campaigns attached to this bidding strategy. - * This field is read-only. - * - * Generated from protobuf field optional int64 campaign_count = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCampaignCount($var) - { - GPBUtil::checkInt64($var); - $this->campaign_count = $var; - - return $this; - } - - /** - * Output only. The number of non-removed campaigns attached to this bidding - * strategy. - * This field is read-only. - * - * Generated from protobuf field optional int64 non_removed_campaign_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getNonRemovedCampaignCount() - { - return isset($this->non_removed_campaign_count) ? $this->non_removed_campaign_count : 0; - } - - public function hasNonRemovedCampaignCount() - { - return isset($this->non_removed_campaign_count); - } - - public function clearNonRemovedCampaignCount() - { - unset($this->non_removed_campaign_count); - } - - /** - * Output only. The number of non-removed campaigns attached to this bidding - * strategy. - * This field is read-only. - * - * Generated from protobuf field optional int64 non_removed_campaign_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setNonRemovedCampaignCount($var) - { - GPBUtil::checkInt64($var); - $this->non_removed_campaign_count = $var; - - return $this; - } - - /** - * A bidding strategy that raises bids for clicks that seem more likely to - * lead to a conversion and lowers them for clicks where they seem less - * likely. - * - * Generated from protobuf field .google.ads.googleads.v15.common.EnhancedCpc enhanced_cpc = 7; - * @return \Google\Ads\GoogleAds\V15\Common\EnhancedCpc|null - */ - public function getEnhancedCpc() - { - return $this->readOneof(7); - } - - public function hasEnhancedCpc() - { - return $this->hasOneof(7); - } - - /** - * A bidding strategy that raises bids for clicks that seem more likely to - * lead to a conversion and lowers them for clicks where they seem less - * likely. - * - * Generated from protobuf field .google.ads.googleads.v15.common.EnhancedCpc enhanced_cpc = 7; - * @param \Google\Ads\GoogleAds\V15\Common\EnhancedCpc $var - * @return $this - */ - public function setEnhancedCpc($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\EnhancedCpc::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * An automated bidding strategy to help get the most conversion value for - * your campaigns while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MaximizeConversionValue maximize_conversion_value = 21; - * @return \Google\Ads\GoogleAds\V15\Common\MaximizeConversionValue|null - */ - public function getMaximizeConversionValue() - { - return $this->readOneof(21); - } - - public function hasMaximizeConversionValue() - { - return $this->hasOneof(21); - } - - /** - * An automated bidding strategy to help get the most conversion value for - * your campaigns while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MaximizeConversionValue maximize_conversion_value = 21; - * @param \Google\Ads\GoogleAds\V15\Common\MaximizeConversionValue $var - * @return $this - */ - public function setMaximizeConversionValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MaximizeConversionValue::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * An automated bidding strategy to help get the most conversions for your - * campaigns while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MaximizeConversions maximize_conversions = 22; - * @return \Google\Ads\GoogleAds\V15\Common\MaximizeConversions|null - */ - public function getMaximizeConversions() - { - return $this->readOneof(22); - } - - public function hasMaximizeConversions() - { - return $this->hasOneof(22); - } - - /** - * An automated bidding strategy to help get the most conversions for your - * campaigns while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MaximizeConversions maximize_conversions = 22; - * @param \Google\Ads\GoogleAds\V15\Common\MaximizeConversions $var - * @return $this - */ - public function setMaximizeConversions($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MaximizeConversions::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * A bidding strategy that sets bids to help get as many conversions as - * possible at the target cost-per-acquisition (CPA) you set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpa target_cpa = 9; - * @return \Google\Ads\GoogleAds\V15\Common\TargetCpa|null - */ - public function getTargetCpa() - { - return $this->readOneof(9); - } - - public function hasTargetCpa() - { - return $this->hasOneof(9); - } - - /** - * A bidding strategy that sets bids to help get as many conversions as - * possible at the target cost-per-acquisition (CPA) you set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpa target_cpa = 9; - * @param \Google\Ads\GoogleAds\V15\Common\TargetCpa $var - * @return $this - */ - public function setTargetCpa($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetCpa::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * A bidding strategy that automatically optimizes towards a chosen - * percentage of impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetImpressionShare target_impression_share = 48; - * @return \Google\Ads\GoogleAds\V15\Common\TargetImpressionShare|null - */ - public function getTargetImpressionShare() - { - return $this->readOneof(48); - } - - public function hasTargetImpressionShare() - { - return $this->hasOneof(48); - } - - /** - * A bidding strategy that automatically optimizes towards a chosen - * percentage of impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetImpressionShare target_impression_share = 48; - * @param \Google\Ads\GoogleAds\V15\Common\TargetImpressionShare $var - * @return $this - */ - public function setTargetImpressionShare($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetImpressionShare::class); - $this->writeOneof(48, $var); - - return $this; - } - - /** - * A bidding strategy that helps you maximize revenue while averaging a - * specific target Return On Ad Spend (ROAS). - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoas target_roas = 11; - * @return \Google\Ads\GoogleAds\V15\Common\TargetRoas|null - */ - public function getTargetRoas() - { - return $this->readOneof(11); - } - - public function hasTargetRoas() - { - return $this->hasOneof(11); - } - - /** - * A bidding strategy that helps you maximize revenue while averaging a - * specific target Return On Ad Spend (ROAS). - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoas target_roas = 11; - * @param \Google\Ads\GoogleAds\V15\Common\TargetRoas $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetRoas::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * A bid strategy that sets your bids to help get as many clicks as - * possible within your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetSpend target_spend = 12; - * @return \Google\Ads\GoogleAds\V15\Common\TargetSpend|null - */ - public function getTargetSpend() - { - return $this->readOneof(12); - } - - public function hasTargetSpend() - { - return $this->hasOneof(12); - } - - /** - * A bid strategy that sets your bids to help get as many clicks as - * possible within your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetSpend target_spend = 12; - * @param \Google\Ads\GoogleAds\V15\Common\TargetSpend $var - * @return $this - */ - public function setTargetSpend($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetSpend::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * @return string - */ - public function getScheme() - { - return $this->whichOneof("scheme"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BiddingStrategySimulation.php b/src/Google/Ads/GoogleAds/V15/Resources/BiddingStrategySimulation.php deleted file mode 100644 index 72b3162e4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BiddingStrategySimulation.php +++ /dev/null @@ -1,331 +0,0 @@ -google.ads.googleads.v15.resources.BiddingStrategySimulation - */ -class BiddingStrategySimulation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the bidding strategy simulation. - * Bidding strategy simulation resource names have the form: - * `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Bidding strategy shared set id of the simulation. - * - * Generated from protobuf field int64 bidding_strategy_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $bidding_strategy_id = 0; - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $modification_method = 0; - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field string start_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_date = ''; - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field string end_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_date = ''; - protected $point_list; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the bidding strategy simulation. - * Bidding strategy simulation resource names have the form: - * `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` - * @type int|string $bidding_strategy_id - * Output only. Bidding strategy shared set id of the simulation. - * @type int $type - * Output only. The field that the simulation modifies. - * @type int $modification_method - * Output only. How the simulation modifies the field. - * @type string $start_date - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * @type string $end_date - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * @type \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList $target_cpa_point_list - * Output only. Simulation points if the simulation type is TARGET_CPA. - * @type \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList $target_roas_point_list - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\BiddingStrategySimulation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the bidding strategy simulation. - * Bidding strategy simulation resource names have the form: - * `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the bidding strategy simulation. - * Bidding strategy simulation resource names have the form: - * `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Bidding strategy shared set id of the simulation. - * - * Generated from protobuf field int64 bidding_strategy_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getBiddingStrategyId() - { - return $this->bidding_strategy_id; - } - - /** - * Output only. Bidding strategy shared set id of the simulation. - * - * Generated from protobuf field int64 bidding_strategy_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setBiddingStrategyId($var) - { - GPBUtil::checkInt64($var); - $this->bidding_strategy_id = $var; - - return $this; - } - - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SimulationTypeEnum\SimulationType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getModificationMethod() - { - return $this->modification_method; - } - - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setModificationMethod($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SimulationModificationMethodEnum\SimulationModificationMethod::class); - $this->modification_method = $var; - - return $this; - } - - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field string start_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field string start_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field string end_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field string end_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is TARGET_CPA. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList|null - */ - public function getTargetCpaPointList() - { - return $this->readOneof(7); - } - - public function hasTargetCpaPointList() - { - return $this->hasOneof(7); - } - - /** - * Output only. Simulation points if the simulation type is TARGET_CPA. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList $var - * @return $this - */ - public function setTargetCpaPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList|null - */ - public function getTargetRoasPointList() - { - return $this->readOneof(8); - } - - public function hasTargetRoasPointList() - { - return $this->hasOneof(8); - } - - /** - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList $var - * @return $this - */ - public function setTargetRoasPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * @return string - */ - public function getPointList() - { - return $this->whichOneof("point_list"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BillingSetup.php b/src/Google/Ads/GoogleAds/V15/Resources/BillingSetup.php deleted file mode 100644 index 2a83dd604..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BillingSetup.php +++ /dev/null @@ -1,434 +0,0 @@ -google.ads.googleads.v15.resources.BillingSetup - */ -class BillingSetup extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the billing setup. - * BillingSetup resource names have the form: - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the billing setup. - * - * Generated from protobuf field optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The status of the billing setup. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Immutable. The resource name of the payments account associated with this - * billing setup. Payments resource names have the form: - * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - * When setting up billing, this is used to signup with an existing payments - * account (and then payments_account_info should not be set). - * When getting a billing setup, this and payments_account_info will be - * populated. - * - * Generated from protobuf field optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $payments_account = null; - /** - * Immutable. The payments account information associated with this billing - * setup. When setting up billing, this is used to signup with a new payments - * account (and then payments_account should not be set). When getting a - * billing setup, this and payments_account will be populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $payments_account_info = null; - protected $start_time; - protected $end_time; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the billing setup. - * BillingSetup resource names have the form: - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * @type int|string $id - * Output only. The ID of the billing setup. - * @type int $status - * Output only. The status of the billing setup. - * @type string $payments_account - * Immutable. The resource name of the payments account associated with this - * billing setup. Payments resource names have the form: - * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - * When setting up billing, this is used to signup with an existing payments - * account (and then payments_account_info should not be set). - * When getting a billing setup, this and payments_account_info will be - * populated. - * @type \Google\Ads\GoogleAds\V15\Resources\BillingSetup\PaymentsAccountInfo $payments_account_info - * Immutable. The payments account information associated with this billing - * setup. When setting up billing, this is used to signup with a new payments - * account (and then payments_account should not be set). When getting a - * billing setup, this and payments_account will be populated. - * @type string $start_date_time - * Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - * format. Only a future time is allowed. - * @type int $start_time_type - * Immutable. The start time as a type. Only NOW is allowed. - * @type string $end_date_time - * Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - * format. - * @type int $end_time_type - * Output only. The end time as a type. The only possible value is FOREVER. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\BillingSetup::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the billing setup. - * BillingSetup resource names have the form: - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the billing setup. - * BillingSetup resource names have the form: - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the billing setup. - * - * Generated from protobuf field optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the billing setup. - * - * Generated from protobuf field optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The status of the billing setup. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the billing setup. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BillingSetupStatusEnum\BillingSetupStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. The resource name of the payments account associated with this - * billing setup. Payments resource names have the form: - * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - * When setting up billing, this is used to signup with an existing payments - * account (and then payments_account_info should not be set). - * When getting a billing setup, this and payments_account_info will be - * populated. - * - * Generated from protobuf field optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getPaymentsAccount() - { - return isset($this->payments_account) ? $this->payments_account : ''; - } - - public function hasPaymentsAccount() - { - return isset($this->payments_account); - } - - public function clearPaymentsAccount() - { - unset($this->payments_account); - } - - /** - * Immutable. The resource name of the payments account associated with this - * billing setup. Payments resource names have the form: - * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - * When setting up billing, this is used to signup with an existing payments - * account (and then payments_account_info should not be set). - * When getting a billing setup, this and payments_account_info will be - * populated. - * - * Generated from protobuf field optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setPaymentsAccount($var) - { - GPBUtil::checkString($var, True); - $this->payments_account = $var; - - return $this; - } - - /** - * Immutable. The payments account information associated with this billing - * setup. When setting up billing, this is used to signup with a new payments - * account (and then payments_account should not be set). When getting a - * billing setup, this and payments_account will be populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\BillingSetup\PaymentsAccountInfo|null - */ - public function getPaymentsAccountInfo() - { - return $this->payments_account_info; - } - - public function hasPaymentsAccountInfo() - { - return isset($this->payments_account_info); - } - - public function clearPaymentsAccountInfo() - { - unset($this->payments_account_info); - } - - /** - * Immutable. The payments account information associated with this billing - * setup. When setting up billing, this is used to signup with a new payments - * account (and then payments_account should not be set). When getting a - * billing setup, this and payments_account will be populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\BillingSetup\PaymentsAccountInfo $var - * @return $this - */ - public function setPaymentsAccountInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BillingSetup\PaymentsAccountInfo::class); - $this->payments_account_info = $var; - - return $this; - } - - /** - * Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - * format. Only a future time is allowed. - * - * Generated from protobuf field string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getStartDateTime() - { - return $this->readOneof(16); - } - - public function hasStartDateTime() - { - return $this->hasOneof(16); - } - - /** - * Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - * format. Only a future time is allowed. - * - * Generated from protobuf field string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * Immutable. The start time as a type. Only NOW is allowed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getStartTimeType() - { - return $this->readOneof(10); - } - - public function hasStartTimeType() - { - return $this->hasOneof(10); - } - - /** - * Immutable. The start time as a type. Only NOW is allowed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setStartTimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum\TimeType::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - * format. - * - * Generated from protobuf field string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEndDateTime() - { - return $this->readOneof(17); - } - - public function hasEndDateTime() - { - return $this->hasOneof(17); - } - - /** - * Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - * format. - * - * Generated from protobuf field string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * Output only. The end time as a type. The only possible value is FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEndTimeType() - { - return $this->readOneof(14); - } - - public function hasEndTimeType() - { - return $this->hasOneof(14); - } - - /** - * Output only. The end time as a type. The only possible value is FOREVER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEndTimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TimeTypeEnum\TimeType::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * @return string - */ - public function getStartTime() - { - return $this->whichOneof("start_time"); - } - - /** - * @return string - */ - public function getEndTime() - { - return $this->whichOneof("end_time"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/BillingSetup/PaymentsAccountInfo.php b/src/Google/Ads/GoogleAds/V15/Resources/BillingSetup/PaymentsAccountInfo.php deleted file mode 100644 index e01572a88..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/BillingSetup/PaymentsAccountInfo.php +++ /dev/null @@ -1,308 +0,0 @@ -google.ads.googleads.v15.resources.BillingSetup.PaymentsAccountInfo - */ -class PaymentsAccountInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. A 16 digit id used to identify the payments account - * associated with the billing setup. - * This must be passed as a string with dashes, for example, - * "1234-5678-9012-3456". - * - * Generated from protobuf field optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $payments_account_id = null; - /** - * Immutable. The name of the payments account associated with the billing - * setup. - * This enables the user to specify a meaningful name for a payments account - * to aid in reconciling monthly invoices. - * This name will be printed in the monthly invoices. - * - * Generated from protobuf field optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $payments_account_name = null; - /** - * Immutable. A 12 digit id used to identify the payments profile associated - * with the billing setup. - * This must be passed in as a string with dashes, for example, - * "1234-5678-9012". - * - * Generated from protobuf field optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $payments_profile_id = null; - /** - * Output only. The name of the payments profile associated with the billing - * setup. - * - * Generated from protobuf field optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $payments_profile_name = null; - /** - * Output only. A secondary payments profile id present in uncommon - * situations, for example, when a sequential liability agreement has been - * arranged. - * - * Generated from protobuf field optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $secondary_payments_profile_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $payments_account_id - * Output only. A 16 digit id used to identify the payments account - * associated with the billing setup. - * This must be passed as a string with dashes, for example, - * "1234-5678-9012-3456". - * @type string $payments_account_name - * Immutable. The name of the payments account associated with the billing - * setup. - * This enables the user to specify a meaningful name for a payments account - * to aid in reconciling monthly invoices. - * This name will be printed in the monthly invoices. - * @type string $payments_profile_id - * Immutable. A 12 digit id used to identify the payments profile associated - * with the billing setup. - * This must be passed in as a string with dashes, for example, - * "1234-5678-9012". - * @type string $payments_profile_name - * Output only. The name of the payments profile associated with the billing - * setup. - * @type string $secondary_payments_profile_id - * Output only. A secondary payments profile id present in uncommon - * situations, for example, when a sequential liability agreement has been - * arranged. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\BillingSetup::initOnce(); - parent::__construct($data); - } - - /** - * Output only. A 16 digit id used to identify the payments account - * associated with the billing setup. - * This must be passed as a string with dashes, for example, - * "1234-5678-9012-3456". - * - * Generated from protobuf field optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPaymentsAccountId() - { - return isset($this->payments_account_id) ? $this->payments_account_id : ''; - } - - public function hasPaymentsAccountId() - { - return isset($this->payments_account_id); - } - - public function clearPaymentsAccountId() - { - unset($this->payments_account_id); - } - - /** - * Output only. A 16 digit id used to identify the payments account - * associated with the billing setup. - * This must be passed as a string with dashes, for example, - * "1234-5678-9012-3456". - * - * Generated from protobuf field optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPaymentsAccountId($var) - { - GPBUtil::checkString($var, True); - $this->payments_account_id = $var; - - return $this; - } - - /** - * Immutable. The name of the payments account associated with the billing - * setup. - * This enables the user to specify a meaningful name for a payments account - * to aid in reconciling monthly invoices. - * This name will be printed in the monthly invoices. - * - * Generated from protobuf field optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getPaymentsAccountName() - { - return isset($this->payments_account_name) ? $this->payments_account_name : ''; - } - - public function hasPaymentsAccountName() - { - return isset($this->payments_account_name); - } - - public function clearPaymentsAccountName() - { - unset($this->payments_account_name); - } - - /** - * Immutable. The name of the payments account associated with the billing - * setup. - * This enables the user to specify a meaningful name for a payments account - * to aid in reconciling monthly invoices. - * This name will be printed in the monthly invoices. - * - * Generated from protobuf field optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setPaymentsAccountName($var) - { - GPBUtil::checkString($var, True); - $this->payments_account_name = $var; - - return $this; - } - - /** - * Immutable. A 12 digit id used to identify the payments profile associated - * with the billing setup. - * This must be passed in as a string with dashes, for example, - * "1234-5678-9012". - * - * Generated from protobuf field optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getPaymentsProfileId() - { - return isset($this->payments_profile_id) ? $this->payments_profile_id : ''; - } - - public function hasPaymentsProfileId() - { - return isset($this->payments_profile_id); - } - - public function clearPaymentsProfileId() - { - unset($this->payments_profile_id); - } - - /** - * Immutable. A 12 digit id used to identify the payments profile associated - * with the billing setup. - * This must be passed in as a string with dashes, for example, - * "1234-5678-9012". - * - * Generated from protobuf field optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setPaymentsProfileId($var) - { - GPBUtil::checkString($var, True); - $this->payments_profile_id = $var; - - return $this; - } - - /** - * Output only. The name of the payments profile associated with the billing - * setup. - * - * Generated from protobuf field optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPaymentsProfileName() - { - return isset($this->payments_profile_name) ? $this->payments_profile_name : ''; - } - - public function hasPaymentsProfileName() - { - return isset($this->payments_profile_name); - } - - public function clearPaymentsProfileName() - { - unset($this->payments_profile_name); - } - - /** - * Output only. The name of the payments profile associated with the billing - * setup. - * - * Generated from protobuf field optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPaymentsProfileName($var) - { - GPBUtil::checkString($var, True); - $this->payments_profile_name = $var; - - return $this; - } - - /** - * Output only. A secondary payments profile id present in uncommon - * situations, for example, when a sequential liability agreement has been - * arranged. - * - * Generated from protobuf field optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSecondaryPaymentsProfileId() - { - return isset($this->secondary_payments_profile_id) ? $this->secondary_payments_profile_id : ''; - } - - public function hasSecondaryPaymentsProfileId() - { - return isset($this->secondary_payments_profile_id); - } - - public function clearSecondaryPaymentsProfileId() - { - unset($this->secondary_payments_profile_id); - } - - /** - * Output only. A secondary payments profile id present in uncommon - * situations, for example, when a sequential liability agreement has been - * arranged. - * - * Generated from protobuf field optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSecondaryPaymentsProfileId($var) - { - GPBUtil::checkString($var, True); - $this->secondary_payments_profile_id = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PaymentsAccountInfo::class, \Google\Ads\GoogleAds\V15\Resources\BillingSetup_PaymentsAccountInfo::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CallReportingSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/CallReportingSetting.php deleted file mode 100644 index ca877dd90..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CallReportingSetting.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.resources.CallReportingSetting - */ -class CallReportingSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Enable reporting of phone call events by redirecting them through Google - * System. - * - * Generated from protobuf field optional bool call_reporting_enabled = 10; - */ - protected $call_reporting_enabled = null; - /** - * Whether to enable call conversion reporting. - * - * Generated from protobuf field optional bool call_conversion_reporting_enabled = 11; - */ - protected $call_conversion_reporting_enabled = null; - /** - * Customer-level call conversion action to attribute a call conversion to. - * If not set a default conversion action is used. Only in effect when - * call_conversion_reporting_enabled is set to true. - * - * Generated from protobuf field optional string call_conversion_action = 12 [(.google.api.resource_reference) = { - */ - protected $call_conversion_action = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $call_reporting_enabled - * Enable reporting of phone call events by redirecting them through Google - * System. - * @type bool $call_conversion_reporting_enabled - * Whether to enable call conversion reporting. - * @type string $call_conversion_action - * Customer-level call conversion action to attribute a call conversion to. - * If not set a default conversion action is used. Only in effect when - * call_conversion_reporting_enabled is set to true. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Customer::initOnce(); - parent::__construct($data); - } - - /** - * Enable reporting of phone call events by redirecting them through Google - * System. - * - * Generated from protobuf field optional bool call_reporting_enabled = 10; - * @return bool - */ - public function getCallReportingEnabled() - { - return isset($this->call_reporting_enabled) ? $this->call_reporting_enabled : false; - } - - public function hasCallReportingEnabled() - { - return isset($this->call_reporting_enabled); - } - - public function clearCallReportingEnabled() - { - unset($this->call_reporting_enabled); - } - - /** - * Enable reporting of phone call events by redirecting them through Google - * System. - * - * Generated from protobuf field optional bool call_reporting_enabled = 10; - * @param bool $var - * @return $this - */ - public function setCallReportingEnabled($var) - { - GPBUtil::checkBool($var); - $this->call_reporting_enabled = $var; - - return $this; - } - - /** - * Whether to enable call conversion reporting. - * - * Generated from protobuf field optional bool call_conversion_reporting_enabled = 11; - * @return bool - */ - public function getCallConversionReportingEnabled() - { - return isset($this->call_conversion_reporting_enabled) ? $this->call_conversion_reporting_enabled : false; - } - - public function hasCallConversionReportingEnabled() - { - return isset($this->call_conversion_reporting_enabled); - } - - public function clearCallConversionReportingEnabled() - { - unset($this->call_conversion_reporting_enabled); - } - - /** - * Whether to enable call conversion reporting. - * - * Generated from protobuf field optional bool call_conversion_reporting_enabled = 11; - * @param bool $var - * @return $this - */ - public function setCallConversionReportingEnabled($var) - { - GPBUtil::checkBool($var); - $this->call_conversion_reporting_enabled = $var; - - return $this; - } - - /** - * Customer-level call conversion action to attribute a call conversion to. - * If not set a default conversion action is used. Only in effect when - * call_conversion_reporting_enabled is set to true. - * - * Generated from protobuf field optional string call_conversion_action = 12 [(.google.api.resource_reference) = { - * @return string - */ - public function getCallConversionAction() - { - return isset($this->call_conversion_action) ? $this->call_conversion_action : ''; - } - - public function hasCallConversionAction() - { - return isset($this->call_conversion_action); - } - - public function clearCallConversionAction() - { - unset($this->call_conversion_action); - } - - /** - * Customer-level call conversion action to attribute a call conversion to. - * If not set a default conversion action is used. Only in effect when - * call_conversion_reporting_enabled is set to true. - * - * Generated from protobuf field optional string call_conversion_action = 12 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCallConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->call_conversion_action = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CallView.php b/src/Google/Ads/GoogleAds/V15/Resources/CallView.php deleted file mode 100644 index 73610257a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CallView.php +++ /dev/null @@ -1,352 +0,0 @@ -google.ads.googleads.v15.resources.CallView - */ -class CallView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the call view. - * Call view resource names have the form: - * `customers/{customer_id}/callViews/{call_detail_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Country code of the caller. - * - * Generated from protobuf field string caller_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $caller_country_code = ''; - /** - * Output only. Area code of the caller. Null if the call duration is shorter - * than 15 seconds. - * - * Generated from protobuf field string caller_area_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $caller_area_code = ''; - /** - * Output only. The advertiser-provided call duration in seconds. - * - * Generated from protobuf field int64 call_duration_seconds = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $call_duration_seconds = 0; - /** - * Output only. The advertiser-provided call start date time. - * - * Generated from protobuf field string start_call_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_call_date_time = ''; - /** - * Output only. The advertiser-provided call end date time. - * - * Generated from protobuf field string end_call_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_call_date_time = ''; - /** - * Output only. The call tracking display location. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $call_tracking_display_location = 0; - /** - * Output only. The type of the call. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallTypeEnum.CallType type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. The status of the call. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $call_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the call view. - * Call view resource names have the form: - * `customers/{customer_id}/callViews/{call_detail_id}` - * @type string $caller_country_code - * Output only. Country code of the caller. - * @type string $caller_area_code - * Output only. Area code of the caller. Null if the call duration is shorter - * than 15 seconds. - * @type int|string $call_duration_seconds - * Output only. The advertiser-provided call duration in seconds. - * @type string $start_call_date_time - * Output only. The advertiser-provided call start date time. - * @type string $end_call_date_time - * Output only. The advertiser-provided call end date time. - * @type int $call_tracking_display_location - * Output only. The call tracking display location. - * @type int $type - * Output only. The type of the call. - * @type int $call_status - * Output only. The status of the call. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CallView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the call view. - * Call view resource names have the form: - * `customers/{customer_id}/callViews/{call_detail_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the call view. - * Call view resource names have the form: - * `customers/{customer_id}/callViews/{call_detail_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Country code of the caller. - * - * Generated from protobuf field string caller_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCallerCountryCode() - { - return $this->caller_country_code; - } - - /** - * Output only. Country code of the caller. - * - * Generated from protobuf field string caller_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCallerCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->caller_country_code = $var; - - return $this; - } - - /** - * Output only. Area code of the caller. Null if the call duration is shorter - * than 15 seconds. - * - * Generated from protobuf field string caller_area_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCallerAreaCode() - { - return $this->caller_area_code; - } - - /** - * Output only. Area code of the caller. Null if the call duration is shorter - * than 15 seconds. - * - * Generated from protobuf field string caller_area_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCallerAreaCode($var) - { - GPBUtil::checkString($var, True); - $this->caller_area_code = $var; - - return $this; - } - - /** - * Output only. The advertiser-provided call duration in seconds. - * - * Generated from protobuf field int64 call_duration_seconds = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCallDurationSeconds() - { - return $this->call_duration_seconds; - } - - /** - * Output only. The advertiser-provided call duration in seconds. - * - * Generated from protobuf field int64 call_duration_seconds = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCallDurationSeconds($var) - { - GPBUtil::checkInt64($var); - $this->call_duration_seconds = $var; - - return $this; - } - - /** - * Output only. The advertiser-provided call start date time. - * - * Generated from protobuf field string start_call_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getStartCallDateTime() - { - return $this->start_call_date_time; - } - - /** - * Output only. The advertiser-provided call start date time. - * - * Generated from protobuf field string start_call_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setStartCallDateTime($var) - { - GPBUtil::checkString($var, True); - $this->start_call_date_time = $var; - - return $this; - } - - /** - * Output only. The advertiser-provided call end date time. - * - * Generated from protobuf field string end_call_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEndCallDateTime() - { - return $this->end_call_date_time; - } - - /** - * Output only. The advertiser-provided call end date time. - * - * Generated from protobuf field string end_call_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEndCallDateTime($var) - { - GPBUtil::checkString($var, True); - $this->end_call_date_time = $var; - - return $this; - } - - /** - * Output only. The call tracking display location. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getCallTrackingDisplayLocation() - { - return $this->call_tracking_display_location; - } - - /** - * Output only. The call tracking display location. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setCallTrackingDisplayLocation($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CallTrackingDisplayLocationEnum\CallTrackingDisplayLocation::class); - $this->call_tracking_display_location = $var; - - return $this; - } - - /** - * Output only. The type of the call. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallTypeEnum.CallType type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the call. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallTypeEnum.CallType type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CallTypeEnum\CallType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The status of the call. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getCallStatus() - { - return $this->call_status; - } - - /** - * Output only. The status of the call. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setCallStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\GoogleVoiceCallStatusEnum\GoogleVoiceCallStatus::class); - $this->call_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign.php deleted file mode 100644 index 867c3951a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign.php +++ /dev/null @@ -1,2885 +0,0 @@ -google.ads.googleads.v15.resources.Campaign - */ -class Campaign extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign. - * Campaign resource names have the form: - * `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the campaign. - * - * Generated from protobuf field optional int64 id = 59 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the campaign. - * This field is required and should not be empty when creating new - * campaigns. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 58; - */ - protected $name = null; - /** - * Output only. The primary status of the campaign. - * Provides insight into why a campaign is not serving or not serving - * optimally. Modification to the campaign and its related entities might take - * a while to be reflected in this status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $primary_status = 0; - /** - * Output only. The primary status reasons of the campaign. - * Provides insight into why a campaign is not serving or not serving - * optimally. These reasons are aggregated to determine an overall - * CampaignPrimaryStatus. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_reasons; - /** - * The status of the campaign. - * When a new campaign is added, the status defaults to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignStatusEnum.CampaignStatus status = 5; - */ - protected $status = 0; - /** - * Output only. The ad serving status of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $serving_status = 0; - /** - * Output only. The system status of the campaign's bidding strategy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $bidding_strategy_system_status = 0; - /** - * The ad serving optimization status of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8; - */ - protected $ad_serving_optimization_status = 0; - /** - * Immutable. The primary serving target for ads within the campaign. - * The targeting options can be refined in `network_settings`. - * This field is required and should not be empty when creating new - * campaigns. - * Can be set only when creating campaigns. - * After the campaign is created, the field can not be changed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $advertising_channel_type = 0; - /** - * Immutable. Optional refinement to `advertising_channel_type`. - * Must be a valid sub-type of the parent channel type. - * Can be set only when creating campaigns. - * After campaign is created, the field can not be changed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $advertising_channel_sub_type = 0; - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 60; - */ - protected $tracking_url_template = null; - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 12; - */ - private $url_custom_parameters; - /** - * The Local Services Campaign related settings. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75; - */ - protected $local_services_campaign_settings = null; - /** - * Settings for Travel campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85; - */ - protected $travel_campaign_settings = null; - /** - * Settings for Discovery campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.DiscoveryCampaignSettings discovery_campaign_settings = 87; - */ - protected $discovery_campaign_settings = null; - /** - * Settings for Real-Time Bidding, a feature only available for campaigns - * targeting the Ad Exchange network. - * - * Generated from protobuf field .google.ads.googleads.v15.common.RealTimeBiddingSetting real_time_bidding_setting = 39; - */ - protected $real_time_bidding_setting = null; - /** - * The network settings for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.NetworkSettings network_settings = 14; - */ - protected $network_settings = null; - /** - * Immutable. The hotel setting for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $hotel_setting = null; - /** - * The setting for controlling Dynamic Search Ads (DSA). - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33; - */ - protected $dynamic_search_ads_setting = null; - /** - * The setting for controlling Shopping campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.ShoppingSetting shopping_setting = 36; - */ - protected $shopping_setting = null; - /** - * Setting for targeting related features. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetingSetting targeting_setting = 43; - */ - protected $targeting_setting = null; - /** - * Immutable. Setting for audience related features. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $audience_setting = null; - /** - * The setting for ads geotargeting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47; - */ - protected $geo_target_type_setting = null; - /** - * The setting for local campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50; - */ - protected $local_campaign_setting = null; - /** - * The setting related to App Campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.AppCampaignSetting app_campaign_setting = 51; - */ - protected $app_campaign_setting = null; - /** - * Output only. The resource names of labels attached to this campaign. - * - * Generated from protobuf field repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $labels; - /** - * Output only. The type of campaign: normal, draft, or experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $experiment_type = 0; - /** - * Output only. The resource name of the base campaign of a draft or - * experiment campaign. For base campaigns, this is equal to `resource_name`. - * This field is read-only. - * - * Generated from protobuf field optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $base_campaign = null; - /** - * The budget of the campaign. - * - * Generated from protobuf field optional string campaign_budget = 62 [(.google.api.resource_reference) = { - */ - protected $campaign_budget = null; - /** - * Output only. The type of bidding strategy. - * A bidding strategy can be created by setting either the bidding scheme to - * create a standard bidding strategy or the `bidding_strategy` field to - * create a portfolio bidding strategy. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $bidding_strategy_type = 0; - /** - * Output only. Resource name of AccessibleBiddingStrategy, a read-only view - * of the unrestricted attributes of the attached portfolio bidding strategy - * identified by 'bidding_strategy'. Empty, if the campaign does not use a - * portfolio strategy. Unrestricted strategy attributes are available to all - * customers with whom the strategy is shared and are read from the - * AccessibleBiddingStrategy resource. In contrast, restricted attributes are - * only available to the owner customer of the strategy and their managers. - * Restricted attributes can only be read from the BiddingStrategy resource. - * - * Generated from protobuf field string accessible_bidding_strategy = 71 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $accessible_bidding_strategy = ''; - /** - * The date when campaign started in serving customer's timezone in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 63; - */ - protected $start_date = null; - /** - * The campaign group this campaign belongs to. - * - * Generated from protobuf field optional string campaign_group = 76 [(.google.api.resource_reference) = { - */ - protected $campaign_group = null; - /** - * The last day of the campaign in serving customer's timezone in YYYY-MM-DD - * format. On create, defaults to 2037-12-30, which means the campaign will - * run indefinitely. To set an existing campaign to run indefinitely, set this - * field to 2037-12-30. - * - * Generated from protobuf field optional string end_date = 64; - */ - protected $end_date = null; - /** - * Suffix used to append query parameters to landing pages that are served - * with parallel tracking. - * - * Generated from protobuf field optional string final_url_suffix = 65; - */ - protected $final_url_suffix = null; - /** - * A list that limits how often each user will see this campaign's ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FrequencyCapEntry frequency_caps = 40; - */ - private $frequency_caps; - /** - * Output only. 3-Tier Brand Safety setting for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $video_brand_safety_suitability = 0; - /** - * Describes how unbranded pharma ads will be displayed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.VanityPharma vanity_pharma = 44; - */ - protected $vanity_pharma = null; - /** - * Selective optimization setting for this campaign, which includes a set of - * conversion actions to optimize this campaign towards. - * This feature only applies to app campaigns that use MULTI_CHANNEL as - * AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as - * AdvertisingChannelSubType. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.SelectiveOptimization selective_optimization = 45; - */ - protected $selective_optimization = null; - /** - * Optimization goal setting for this campaign, which includes a set of - * optimization goal types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54; - */ - protected $optimization_goal_setting = null; - /** - * Output only. Campaign-level settings for tracking information. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $tracking_setting = null; - /** - * Payment mode for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PaymentModeEnum.PaymentMode payment_mode = 52; - */ - protected $payment_mode = 0; - /** - * Output only. Optimization score of the campaign. - * Optimization score is an estimate of how well a campaign is set to perform. - * It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - * campaign is performing at full potential. This field is null for unscored - * campaigns. - * See "About optimization score" at - * https://support.google.com/google-ads/answer/9061546. - * This field is read-only. - * - * Generated from protobuf field optional double optimization_score = 66 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $optimization_score = null; - /** - * The asset field types that should be excluded from this campaign. Asset - * links with these field types will not be inherited by this campaign from - * the upper level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69; - */ - private $excluded_parent_asset_field_types; - /** - * The asset set types that should be excluded from this campaign. Asset set - * links with these types will not be inherited by this campaign from - * the upper level. - * Location group types (GMB_DYNAMIC_LOCATION_GROUP, - * CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - * LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - * location group asset sets are not allowed to be linked to this campaign, - * and all Location Extension (LE) and Affiliate Location Extensions (ALE) - * will not be served under this campaign. - * Only LOCATION_SYNC is currently supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80; - */ - private $excluded_parent_asset_set_types; - /** - * Represents opting out of URL expansion to more targeted URLs. If opted out - * (true), only the final URLs in the asset group or URLs specified in the - * advertiser's Google Merchant Center or business data feeds are targeted. - * If opted in (false), the entire domain will be targeted. This field can - * only be set for Performance Max campaigns, where the default value is - * false. - * - * Generated from protobuf field optional bool url_expansion_opt_out = 72; - */ - protected $url_expansion_opt_out = null; - /** - * Output only. Information about campaigns being upgraded to Performance Max. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $performance_max_upgrade = null; - /** - * Immutable. The set of hotel properties for Performance Max for travel goals - * campaigns. - * - * Generated from protobuf field optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $hotel_property_asset_set = null; - /** - * Immutable. Listing type of ads served for this campaign. - * Field is restricted for usage with Performance Max campaigns. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $listing_type = null; - /** - * Contains the opt-in/out status of each AssetAutomationType. - * See documentation of each asset automation type enum for default - * opt in/out behavior. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88; - */ - private $asset_automation_settings; - protected $campaign_bidding_strategy; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign. - * Campaign resource names have the form: - * `customers/{customer_id}/campaigns/{campaign_id}` - * @type int|string $id - * Output only. The ID of the campaign. - * @type string $name - * The name of the campaign. - * This field is required and should not be empty when creating new - * campaigns. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * @type int $primary_status - * Output only. The primary status of the campaign. - * Provides insight into why a campaign is not serving or not serving - * optimally. Modification to the campaign and its related entities might take - * a while to be reflected in this status. - * @type array|\Google\Protobuf\Internal\RepeatedField $primary_status_reasons - * Output only. The primary status reasons of the campaign. - * Provides insight into why a campaign is not serving or not serving - * optimally. These reasons are aggregated to determine an overall - * CampaignPrimaryStatus. - * @type int $status - * The status of the campaign. - * When a new campaign is added, the status defaults to ENABLED. - * @type int $serving_status - * Output only. The ad serving status of the campaign. - * @type int $bidding_strategy_system_status - * Output only. The system status of the campaign's bidding strategy. - * @type int $ad_serving_optimization_status - * The ad serving optimization status of the campaign. - * @type int $advertising_channel_type - * Immutable. The primary serving target for ads within the campaign. - * The targeting options can be refined in `network_settings`. - * This field is required and should not be empty when creating new - * campaigns. - * Can be set only when creating campaigns. - * After the campaign is created, the field can not be changed. - * @type int $advertising_channel_sub_type - * Immutable. Optional refinement to `advertising_channel_type`. - * Must be a valid sub-type of the parent channel type. - * Can be set only when creating campaigns. - * After campaign is created, the field can not be changed. - * @type string $tracking_url_template - * The URL template for constructing a tracking URL. - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\LocalServicesCampaignSettings $local_services_campaign_settings - * The Local Services Campaign related settings. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\TravelCampaignSettings $travel_campaign_settings - * Settings for Travel campaign. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\DiscoveryCampaignSettings $discovery_campaign_settings - * Settings for Discovery campaign. - * @type \Google\Ads\GoogleAds\V15\Common\RealTimeBiddingSetting $real_time_bidding_setting - * Settings for Real-Time Bidding, a feature only available for campaigns - * targeting the Ad Exchange network. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\NetworkSettings $network_settings - * The network settings for the campaign. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\HotelSettingInfo $hotel_setting - * Immutable. The hotel setting for the campaign. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\DynamicSearchAdsSetting $dynamic_search_ads_setting - * The setting for controlling Dynamic Search Ads (DSA). - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\ShoppingSetting $shopping_setting - * The setting for controlling Shopping campaigns. - * @type \Google\Ads\GoogleAds\V15\Common\TargetingSetting $targeting_setting - * Setting for targeting related features. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\AudienceSetting $audience_setting - * Immutable. Setting for audience related features. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\GeoTargetTypeSetting $geo_target_type_setting - * The setting for ads geotargeting. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\LocalCampaignSetting $local_campaign_setting - * The setting for local campaign. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\AppCampaignSetting $app_campaign_setting - * The setting related to App Campaign. - * @type array|\Google\Protobuf\Internal\RepeatedField $labels - * Output only. The resource names of labels attached to this campaign. - * @type int $experiment_type - * Output only. The type of campaign: normal, draft, or experiment. - * @type string $base_campaign - * Output only. The resource name of the base campaign of a draft or - * experiment campaign. For base campaigns, this is equal to `resource_name`. - * This field is read-only. - * @type string $campaign_budget - * The budget of the campaign. - * @type int $bidding_strategy_type - * Output only. The type of bidding strategy. - * A bidding strategy can be created by setting either the bidding scheme to - * create a standard bidding strategy or the `bidding_strategy` field to - * create a portfolio bidding strategy. - * This field is read-only. - * @type string $accessible_bidding_strategy - * Output only. Resource name of AccessibleBiddingStrategy, a read-only view - * of the unrestricted attributes of the attached portfolio bidding strategy - * identified by 'bidding_strategy'. Empty, if the campaign does not use a - * portfolio strategy. Unrestricted strategy attributes are available to all - * customers with whom the strategy is shared and are read from the - * AccessibleBiddingStrategy resource. In contrast, restricted attributes are - * only available to the owner customer of the strategy and their managers. - * Restricted attributes can only be read from the BiddingStrategy resource. - * @type string $start_date - * The date when campaign started in serving customer's timezone in YYYY-MM-DD - * format. - * @type string $campaign_group - * The campaign group this campaign belongs to. - * @type string $end_date - * The last day of the campaign in serving customer's timezone in YYYY-MM-DD - * format. On create, defaults to 2037-12-30, which means the campaign will - * run indefinitely. To set an existing campaign to run indefinitely, set this - * field to 2037-12-30. - * @type string $final_url_suffix - * Suffix used to append query parameters to landing pages that are served - * with parallel tracking. - * @type array<\Google\Ads\GoogleAds\V15\Common\FrequencyCapEntry>|\Google\Protobuf\Internal\RepeatedField $frequency_caps - * A list that limits how often each user will see this campaign's ads. - * @type int $video_brand_safety_suitability - * Output only. 3-Tier Brand Safety setting for the campaign. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\VanityPharma $vanity_pharma - * Describes how unbranded pharma ads will be displayed. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\SelectiveOptimization $selective_optimization - * Selective optimization setting for this campaign, which includes a set of - * conversion actions to optimize this campaign towards. - * This feature only applies to app campaigns that use MULTI_CHANNEL as - * AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as - * AdvertisingChannelSubType. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\OptimizationGoalSetting $optimization_goal_setting - * Optimization goal setting for this campaign, which includes a set of - * optimization goal types. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\TrackingSetting $tracking_setting - * Output only. Campaign-level settings for tracking information. - * @type int $payment_mode - * Payment mode for the campaign. - * @type float $optimization_score - * Output only. Optimization score of the campaign. - * Optimization score is an estimate of how well a campaign is set to perform. - * It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - * campaign is performing at full potential. This field is null for unscored - * campaigns. - * See "About optimization score" at - * https://support.google.com/google-ads/answer/9061546. - * This field is read-only. - * @type array|\Google\Protobuf\Internal\RepeatedField $excluded_parent_asset_field_types - * The asset field types that should be excluded from this campaign. Asset - * links with these field types will not be inherited by this campaign from - * the upper level. - * @type array|\Google\Protobuf\Internal\RepeatedField $excluded_parent_asset_set_types - * The asset set types that should be excluded from this campaign. Asset set - * links with these types will not be inherited by this campaign from - * the upper level. - * Location group types (GMB_DYNAMIC_LOCATION_GROUP, - * CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - * LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - * location group asset sets are not allowed to be linked to this campaign, - * and all Location Extension (LE) and Affiliate Location Extensions (ALE) - * will not be served under this campaign. - * Only LOCATION_SYNC is currently supported. - * @type bool $url_expansion_opt_out - * Represents opting out of URL expansion to more targeted URLs. If opted out - * (true), only the final URLs in the asset group or URLs specified in the - * advertiser's Google Merchant Center or business data feeds are targeted. - * If opted in (false), the entire domain will be targeted. This field can - * only be set for Performance Max campaigns, where the default value is - * false. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign\PerformanceMaxUpgrade $performance_max_upgrade - * Output only. Information about campaigns being upgraded to Performance Max. - * @type string $hotel_property_asset_set - * Immutable. The set of hotel properties for Performance Max for travel goals - * campaigns. - * @type int $listing_type - * Immutable. Listing type of ads served for this campaign. - * Field is restricted for usage with Performance Max campaigns. - * @type array<\Google\Ads\GoogleAds\V15\Resources\Campaign\AssetAutomationSetting>|\Google\Protobuf\Internal\RepeatedField $asset_automation_settings - * Contains the opt-in/out status of each AssetAutomationType. - * See documentation of each asset automation type enum for default - * opt in/out behavior. - * @type string $bidding_strategy - * Portfolio bidding strategy used by campaign. - * @type \Google\Ads\GoogleAds\V15\Common\Commission $commission - * Commission is an automatic bidding strategy in which the advertiser pays - * a certain portion of the conversion value. - * @type \Google\Ads\GoogleAds\V15\Common\ManualCpa $manual_cpa - * Standard Manual CPA bidding strategy. - * Manual bidding strategy that allows advertiser to set the bid per - * advertiser-specified action. Supported only for Local Services campaigns. - * @type \Google\Ads\GoogleAds\V15\Common\ManualCpc $manual_cpc - * Standard Manual CPC bidding strategy. - * Manual click-based bidding where user pays per click. - * @type \Google\Ads\GoogleAds\V15\Common\ManualCpm $manual_cpm - * Standard Manual CPM bidding strategy. - * Manual impression-based bidding where user pays per thousand - * impressions. - * @type \Google\Ads\GoogleAds\V15\Common\ManualCpv $manual_cpv - * A bidding strategy that pays a configurable amount per video view. - * @type \Google\Ads\GoogleAds\V15\Common\MaximizeConversions $maximize_conversions - * Standard Maximize Conversions bidding strategy that automatically - * maximizes number of conversions while spending your budget. - * @type \Google\Ads\GoogleAds\V15\Common\MaximizeConversionValue $maximize_conversion_value - * Standard Maximize Conversion Value bidding strategy that automatically - * sets bids to maximize revenue while spending your budget. - * @type \Google\Ads\GoogleAds\V15\Common\TargetCpa $target_cpa - * Standard Target CPA bidding strategy that automatically sets bids to - * help get as many conversions as possible at the target - * cost-per-acquisition (CPA) you set. - * @type \Google\Ads\GoogleAds\V15\Common\TargetImpressionShare $target_impression_share - * Target Impression Share bidding strategy. An automated bidding strategy - * that sets bids to achieve a chosen percentage of impressions. - * @type \Google\Ads\GoogleAds\V15\Common\TargetRoas $target_roas - * Standard Target ROAS bidding strategy that automatically maximizes - * revenue while averaging a specific target return on ad spend (ROAS). - * @type \Google\Ads\GoogleAds\V15\Common\TargetSpend $target_spend - * Standard Target Spend bidding strategy that automatically sets your bids - * to help get as many clicks as possible within your budget. - * @type \Google\Ads\GoogleAds\V15\Common\PercentCpc $percent_cpc - * Standard Percent Cpc bidding strategy where bids are a fraction of the - * advertised price for some good or service. - * @type \Google\Ads\GoogleAds\V15\Common\TargetCpm $target_cpm - * A bidding strategy that automatically optimizes cost per thousand - * impressions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign. - * Campaign resource names have the form: - * `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign. - * Campaign resource names have the form: - * `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the campaign. - * - * Generated from protobuf field optional int64 id = 59 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the campaign. - * - * Generated from protobuf field optional int64 id = 59 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the campaign. - * This field is required and should not be empty when creating new - * campaigns. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 58; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the campaign. - * This field is required and should not be empty when creating new - * campaigns. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 58; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The primary status of the campaign. - * Provides insight into why a campaign is not serving or not serving - * optimally. Modification to the campaign and its related entities might take - * a while to be reflected in this status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPrimaryStatus() - { - return $this->primary_status; - } - - /** - * Output only. The primary status of the campaign. - * Provides insight into why a campaign is not serving or not serving - * optimally. Modification to the campaign and its related entities might take - * a while to be reflected in this status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPrimaryStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CampaignPrimaryStatusEnum\CampaignPrimaryStatus::class); - $this->primary_status = $var; - - return $this; - } - - /** - * Output only. The primary status reasons of the campaign. - * Provides insight into why a campaign is not serving or not serving - * optimally. These reasons are aggregated to determine an overall - * CampaignPrimaryStatus. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusReasons() - { - return $this->primary_status_reasons; - } - - /** - * Output only. The primary status reasons of the campaign. - * Provides insight into why a campaign is not serving or not serving - * optimally. These reasons are aggregated to determine an overall - * CampaignPrimaryStatus. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\CampaignPrimaryStatusReasonEnum\CampaignPrimaryStatusReason::class); - $this->primary_status_reasons = $arr; - - return $this; - } - - /** - * The status of the campaign. - * When a new campaign is added, the status defaults to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignStatusEnum.CampaignStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the campaign. - * When a new campaign is added, the status defaults to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignStatusEnum.CampaignStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CampaignStatusEnum\CampaignStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The ad serving status of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getServingStatus() - { - return $this->serving_status; - } - - /** - * Output only. The ad serving status of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setServingStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CampaignServingStatusEnum\CampaignServingStatus::class); - $this->serving_status = $var; - - return $this; - } - - /** - * Output only. The system status of the campaign's bidding strategy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getBiddingStrategySystemStatus() - { - return $this->bidding_strategy_system_status; - } - - /** - * Output only. The system status of the campaign's bidding strategy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setBiddingStrategySystemStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingStrategySystemStatusEnum\BiddingStrategySystemStatus::class); - $this->bidding_strategy_system_status = $var; - - return $this; - } - - /** - * The ad serving optimization status of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8; - * @return int - */ - public function getAdServingOptimizationStatus() - { - return $this->ad_serving_optimization_status; - } - - /** - * The ad serving optimization status of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8; - * @param int $var - * @return $this - */ - public function setAdServingOptimizationStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdServingOptimizationStatusEnum\AdServingOptimizationStatus::class); - $this->ad_serving_optimization_status = $var; - - return $this; - } - - /** - * Immutable. The primary serving target for ads within the campaign. - * The targeting options can be refined in `network_settings`. - * This field is required and should not be empty when creating new - * campaigns. - * Can be set only when creating campaigns. - * After the campaign is created, the field can not be changed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getAdvertisingChannelType() - { - return $this->advertising_channel_type; - } - - /** - * Immutable. The primary serving target for ads within the campaign. - * The targeting options can be refined in `network_settings`. - * This field is required and should not be empty when creating new - * campaigns. - * Can be set only when creating campaigns. - * After the campaign is created, the field can not be changed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setAdvertisingChannelType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelTypeEnum\AdvertisingChannelType::class); - $this->advertising_channel_type = $var; - - return $this; - } - - /** - * Immutable. Optional refinement to `advertising_channel_type`. - * Must be a valid sub-type of the parent channel type. - * Can be set only when creating campaigns. - * After campaign is created, the field can not be changed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getAdvertisingChannelSubType() - { - return $this->advertising_channel_sub_type; - } - - /** - * Immutable. Optional refinement to `advertising_channel_type`. - * Must be a valid sub-type of the parent channel type. - * Can be set only when creating campaigns. - * After campaign is created, the field can not be changed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setAdvertisingChannelSubType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AdvertisingChannelSubTypeEnum\AdvertisingChannelSubType::class); - $this->advertising_channel_sub_type = $var; - - return $this; - } - - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 60; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * The URL template for constructing a tracking URL. - * - * Generated from protobuf field optional string tracking_url_template = 60; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 12; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 12; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * The Local Services Campaign related settings. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\LocalServicesCampaignSettings|null - */ - public function getLocalServicesCampaignSettings() - { - return $this->local_services_campaign_settings; - } - - public function hasLocalServicesCampaignSettings() - { - return isset($this->local_services_campaign_settings); - } - - public function clearLocalServicesCampaignSettings() - { - unset($this->local_services_campaign_settings); - } - - /** - * The Local Services Campaign related settings. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.LocalServicesCampaignSettings local_services_campaign_settings = 75; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\LocalServicesCampaignSettings $var - * @return $this - */ - public function setLocalServicesCampaignSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\LocalServicesCampaignSettings::class); - $this->local_services_campaign_settings = $var; - - return $this; - } - - /** - * Settings for Travel campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\TravelCampaignSettings|null - */ - public function getTravelCampaignSettings() - { - return $this->travel_campaign_settings; - } - - public function hasTravelCampaignSettings() - { - return isset($this->travel_campaign_settings); - } - - public function clearTravelCampaignSettings() - { - unset($this->travel_campaign_settings); - } - - /** - * Settings for Travel campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.TravelCampaignSettings travel_campaign_settings = 85; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\TravelCampaignSettings $var - * @return $this - */ - public function setTravelCampaignSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\TravelCampaignSettings::class); - $this->travel_campaign_settings = $var; - - return $this; - } - - /** - * Settings for Discovery campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.DiscoveryCampaignSettings discovery_campaign_settings = 87; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\DiscoveryCampaignSettings|null - */ - public function getDiscoveryCampaignSettings() - { - return $this->discovery_campaign_settings; - } - - public function hasDiscoveryCampaignSettings() - { - return isset($this->discovery_campaign_settings); - } - - public function clearDiscoveryCampaignSettings() - { - unset($this->discovery_campaign_settings); - } - - /** - * Settings for Discovery campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.DiscoveryCampaignSettings discovery_campaign_settings = 87; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\DiscoveryCampaignSettings $var - * @return $this - */ - public function setDiscoveryCampaignSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\DiscoveryCampaignSettings::class); - $this->discovery_campaign_settings = $var; - - return $this; - } - - /** - * Settings for Real-Time Bidding, a feature only available for campaigns - * targeting the Ad Exchange network. - * - * Generated from protobuf field .google.ads.googleads.v15.common.RealTimeBiddingSetting real_time_bidding_setting = 39; - * @return \Google\Ads\GoogleAds\V15\Common\RealTimeBiddingSetting|null - */ - public function getRealTimeBiddingSetting() - { - return $this->real_time_bidding_setting; - } - - public function hasRealTimeBiddingSetting() - { - return isset($this->real_time_bidding_setting); - } - - public function clearRealTimeBiddingSetting() - { - unset($this->real_time_bidding_setting); - } - - /** - * Settings for Real-Time Bidding, a feature only available for campaigns - * targeting the Ad Exchange network. - * - * Generated from protobuf field .google.ads.googleads.v15.common.RealTimeBiddingSetting real_time_bidding_setting = 39; - * @param \Google\Ads\GoogleAds\V15\Common\RealTimeBiddingSetting $var - * @return $this - */ - public function setRealTimeBiddingSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\RealTimeBiddingSetting::class); - $this->real_time_bidding_setting = $var; - - return $this; - } - - /** - * The network settings for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.NetworkSettings network_settings = 14; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\NetworkSettings|null - */ - public function getNetworkSettings() - { - return $this->network_settings; - } - - public function hasNetworkSettings() - { - return isset($this->network_settings); - } - - public function clearNetworkSettings() - { - unset($this->network_settings); - } - - /** - * The network settings for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.NetworkSettings network_settings = 14; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\NetworkSettings $var - * @return $this - */ - public function setNetworkSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\NetworkSettings::class); - $this->network_settings = $var; - - return $this; - } - - /** - * Immutable. The hotel setting for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\HotelSettingInfo|null - */ - public function getHotelSetting() - { - return $this->hotel_setting; - } - - public function hasHotelSetting() - { - return isset($this->hotel_setting); - } - - public function clearHotelSetting() - { - unset($this->hotel_setting); - } - - /** - * Immutable. The hotel setting for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.HotelSettingInfo hotel_setting = 32 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\HotelSettingInfo $var - * @return $this - */ - public function setHotelSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\HotelSettingInfo::class); - $this->hotel_setting = $var; - - return $this; - } - - /** - * The setting for controlling Dynamic Search Ads (DSA). - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\DynamicSearchAdsSetting|null - */ - public function getDynamicSearchAdsSetting() - { - return $this->dynamic_search_ads_setting; - } - - public function hasDynamicSearchAdsSetting() - { - return isset($this->dynamic_search_ads_setting); - } - - public function clearDynamicSearchAdsSetting() - { - unset($this->dynamic_search_ads_setting); - } - - /** - * The setting for controlling Dynamic Search Ads (DSA). - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.DynamicSearchAdsSetting dynamic_search_ads_setting = 33; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\DynamicSearchAdsSetting $var - * @return $this - */ - public function setDynamicSearchAdsSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\DynamicSearchAdsSetting::class); - $this->dynamic_search_ads_setting = $var; - - return $this; - } - - /** - * The setting for controlling Shopping campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.ShoppingSetting shopping_setting = 36; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\ShoppingSetting|null - */ - public function getShoppingSetting() - { - return $this->shopping_setting; - } - - public function hasShoppingSetting() - { - return isset($this->shopping_setting); - } - - public function clearShoppingSetting() - { - unset($this->shopping_setting); - } - - /** - * The setting for controlling Shopping campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.ShoppingSetting shopping_setting = 36; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\ShoppingSetting $var - * @return $this - */ - public function setShoppingSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\ShoppingSetting::class); - $this->shopping_setting = $var; - - return $this; - } - - /** - * Setting for targeting related features. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetingSetting targeting_setting = 43; - * @return \Google\Ads\GoogleAds\V15\Common\TargetingSetting|null - */ - public function getTargetingSetting() - { - return $this->targeting_setting; - } - - public function hasTargetingSetting() - { - return isset($this->targeting_setting); - } - - public function clearTargetingSetting() - { - unset($this->targeting_setting); - } - - /** - * Setting for targeting related features. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetingSetting targeting_setting = 43; - * @param \Google\Ads\GoogleAds\V15\Common\TargetingSetting $var - * @return $this - */ - public function setTargetingSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetingSetting::class); - $this->targeting_setting = $var; - - return $this; - } - - /** - * Immutable. Setting for audience related features. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\AudienceSetting|null - */ - public function getAudienceSetting() - { - return $this->audience_setting; - } - - public function hasAudienceSetting() - { - return isset($this->audience_setting); - } - - public function clearAudienceSetting() - { - unset($this->audience_setting); - } - - /** - * Immutable. Setting for audience related features. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.Campaign.AudienceSetting audience_setting = 73 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\AudienceSetting $var - * @return $this - */ - public function setAudienceSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\AudienceSetting::class); - $this->audience_setting = $var; - - return $this; - } - - /** - * The setting for ads geotargeting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\GeoTargetTypeSetting|null - */ - public function getGeoTargetTypeSetting() - { - return $this->geo_target_type_setting; - } - - public function hasGeoTargetTypeSetting() - { - return isset($this->geo_target_type_setting); - } - - public function clearGeoTargetTypeSetting() - { - unset($this->geo_target_type_setting); - } - - /** - * The setting for ads geotargeting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.GeoTargetTypeSetting geo_target_type_setting = 47; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\GeoTargetTypeSetting $var - * @return $this - */ - public function setGeoTargetTypeSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\GeoTargetTypeSetting::class); - $this->geo_target_type_setting = $var; - - return $this; - } - - /** - * The setting for local campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\LocalCampaignSetting|null - */ - public function getLocalCampaignSetting() - { - return $this->local_campaign_setting; - } - - public function hasLocalCampaignSetting() - { - return isset($this->local_campaign_setting); - } - - public function clearLocalCampaignSetting() - { - unset($this->local_campaign_setting); - } - - /** - * The setting for local campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.LocalCampaignSetting local_campaign_setting = 50; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\LocalCampaignSetting $var - * @return $this - */ - public function setLocalCampaignSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\LocalCampaignSetting::class); - $this->local_campaign_setting = $var; - - return $this; - } - - /** - * The setting related to App Campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.AppCampaignSetting app_campaign_setting = 51; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\AppCampaignSetting|null - */ - public function getAppCampaignSetting() - { - return $this->app_campaign_setting; - } - - public function hasAppCampaignSetting() - { - return isset($this->app_campaign_setting); - } - - public function clearAppCampaignSetting() - { - unset($this->app_campaign_setting); - } - - /** - * The setting related to App Campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.AppCampaignSetting app_campaign_setting = 51; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\AppCampaignSetting $var - * @return $this - */ - public function setAppCampaignSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\AppCampaignSetting::class); - $this->app_campaign_setting = $var; - - return $this; - } - - /** - * Output only. The resource names of labels attached to this campaign. - * - * Generated from protobuf field repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Output only. The resource names of labels attached to this campaign. - * - * Generated from protobuf field repeated string labels = 61 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Output only. The type of campaign: normal, draft, or experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getExperimentType() - { - return $this->experiment_type; - } - - /** - * Output only. The type of campaign: normal, draft, or experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setExperimentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CampaignExperimentTypeEnum\CampaignExperimentType::class); - $this->experiment_type = $var; - - return $this; - } - - /** - * Output only. The resource name of the base campaign of a draft or - * experiment campaign. For base campaigns, this is equal to `resource_name`. - * This field is read-only. - * - * Generated from protobuf field optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getBaseCampaign() - { - return isset($this->base_campaign) ? $this->base_campaign : ''; - } - - public function hasBaseCampaign() - { - return isset($this->base_campaign); - } - - public function clearBaseCampaign() - { - unset($this->base_campaign); - } - - /** - * Output only. The resource name of the base campaign of a draft or - * experiment campaign. For base campaigns, this is equal to `resource_name`. - * This field is read-only. - * - * Generated from protobuf field optional string base_campaign = 56 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setBaseCampaign($var) - { - GPBUtil::checkString($var, True); - $this->base_campaign = $var; - - return $this; - } - - /** - * The budget of the campaign. - * - * Generated from protobuf field optional string campaign_budget = 62 [(.google.api.resource_reference) = { - * @return string - */ - public function getCampaignBudget() - { - return isset($this->campaign_budget) ? $this->campaign_budget : ''; - } - - public function hasCampaignBudget() - { - return isset($this->campaign_budget); - } - - public function clearCampaignBudget() - { - unset($this->campaign_budget); - } - - /** - * The budget of the campaign. - * - * Generated from protobuf field optional string campaign_budget = 62 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkString($var, True); - $this->campaign_budget = $var; - - return $this; - } - - /** - * Output only. The type of bidding strategy. - * A bidding strategy can be created by setting either the bidding scheme to - * create a standard bidding strategy or the `bidding_strategy` field to - * create a portfolio bidding strategy. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getBiddingStrategyType() - { - return $this->bidding_strategy_type; - } - - /** - * Output only. The type of bidding strategy. - * A bidding strategy can be created by setting either the bidding scheme to - * create a standard bidding strategy or the `bidding_strategy` field to - * create a portfolio bidding strategy. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setBiddingStrategyType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BiddingStrategyTypeEnum\BiddingStrategyType::class); - $this->bidding_strategy_type = $var; - - return $this; - } - - /** - * Output only. Resource name of AccessibleBiddingStrategy, a read-only view - * of the unrestricted attributes of the attached portfolio bidding strategy - * identified by 'bidding_strategy'. Empty, if the campaign does not use a - * portfolio strategy. Unrestricted strategy attributes are available to all - * customers with whom the strategy is shared and are read from the - * AccessibleBiddingStrategy resource. In contrast, restricted attributes are - * only available to the owner customer of the strategy and their managers. - * Restricted attributes can only be read from the BiddingStrategy resource. - * - * Generated from protobuf field string accessible_bidding_strategy = 71 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAccessibleBiddingStrategy() - { - return $this->accessible_bidding_strategy; - } - - /** - * Output only. Resource name of AccessibleBiddingStrategy, a read-only view - * of the unrestricted attributes of the attached portfolio bidding strategy - * identified by 'bidding_strategy'. Empty, if the campaign does not use a - * portfolio strategy. Unrestricted strategy attributes are available to all - * customers with whom the strategy is shared and are read from the - * AccessibleBiddingStrategy resource. In contrast, restricted attributes are - * only available to the owner customer of the strategy and their managers. - * Restricted attributes can only be read from the BiddingStrategy resource. - * - * Generated from protobuf field string accessible_bidding_strategy = 71 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAccessibleBiddingStrategy($var) - { - GPBUtil::checkString($var, True); - $this->accessible_bidding_strategy = $var; - - return $this; - } - - /** - * The date when campaign started in serving customer's timezone in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 63; - * @return string - */ - public function getStartDate() - { - return isset($this->start_date) ? $this->start_date : ''; - } - - public function hasStartDate() - { - return isset($this->start_date); - } - - public function clearStartDate() - { - unset($this->start_date); - } - - /** - * The date when campaign started in serving customer's timezone in YYYY-MM-DD - * format. - * - * Generated from protobuf field optional string start_date = 63; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * The campaign group this campaign belongs to. - * - * Generated from protobuf field optional string campaign_group = 76 [(.google.api.resource_reference) = { - * @return string - */ - public function getCampaignGroup() - { - return isset($this->campaign_group) ? $this->campaign_group : ''; - } - - public function hasCampaignGroup() - { - return isset($this->campaign_group); - } - - public function clearCampaignGroup() - { - unset($this->campaign_group); - } - - /** - * The campaign group this campaign belongs to. - * - * Generated from protobuf field optional string campaign_group = 76 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignGroup($var) - { - GPBUtil::checkString($var, True); - $this->campaign_group = $var; - - return $this; - } - - /** - * The last day of the campaign in serving customer's timezone in YYYY-MM-DD - * format. On create, defaults to 2037-12-30, which means the campaign will - * run indefinitely. To set an existing campaign to run indefinitely, set this - * field to 2037-12-30. - * - * Generated from protobuf field optional string end_date = 64; - * @return string - */ - public function getEndDate() - { - return isset($this->end_date) ? $this->end_date : ''; - } - - public function hasEndDate() - { - return isset($this->end_date); - } - - public function clearEndDate() - { - unset($this->end_date); - } - - /** - * The last day of the campaign in serving customer's timezone in YYYY-MM-DD - * format. On create, defaults to 2037-12-30, which means the campaign will - * run indefinitely. To set an existing campaign to run indefinitely, set this - * field to 2037-12-30. - * - * Generated from protobuf field optional string end_date = 64; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * Suffix used to append query parameters to landing pages that are served - * with parallel tracking. - * - * Generated from protobuf field optional string final_url_suffix = 65; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * Suffix used to append query parameters to landing pages that are served - * with parallel tracking. - * - * Generated from protobuf field optional string final_url_suffix = 65; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - - /** - * A list that limits how often each user will see this campaign's ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FrequencyCapEntry frequency_caps = 40; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFrequencyCaps() - { - return $this->frequency_caps; - } - - /** - * A list that limits how often each user will see this campaign's ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.FrequencyCapEntry frequency_caps = 40; - * @param array<\Google\Ads\GoogleAds\V15\Common\FrequencyCapEntry>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFrequencyCaps($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\FrequencyCapEntry::class); - $this->frequency_caps = $arr; - - return $this; - } - - /** - * Output only. 3-Tier Brand Safety setting for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getVideoBrandSafetySuitability() - { - return $this->video_brand_safety_suitability; - } - - /** - * Output only. 3-Tier Brand Safety setting for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setVideoBrandSafetySuitability($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BrandSafetySuitabilityEnum\BrandSafetySuitability::class); - $this->video_brand_safety_suitability = $var; - - return $this; - } - - /** - * Describes how unbranded pharma ads will be displayed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.VanityPharma vanity_pharma = 44; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\VanityPharma|null - */ - public function getVanityPharma() - { - return $this->vanity_pharma; - } - - public function hasVanityPharma() - { - return isset($this->vanity_pharma); - } - - public function clearVanityPharma() - { - unset($this->vanity_pharma); - } - - /** - * Describes how unbranded pharma ads will be displayed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.VanityPharma vanity_pharma = 44; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\VanityPharma $var - * @return $this - */ - public function setVanityPharma($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\VanityPharma::class); - $this->vanity_pharma = $var; - - return $this; - } - - /** - * Selective optimization setting for this campaign, which includes a set of - * conversion actions to optimize this campaign towards. - * This feature only applies to app campaigns that use MULTI_CHANNEL as - * AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as - * AdvertisingChannelSubType. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.SelectiveOptimization selective_optimization = 45; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\SelectiveOptimization|null - */ - public function getSelectiveOptimization() - { - return $this->selective_optimization; - } - - public function hasSelectiveOptimization() - { - return isset($this->selective_optimization); - } - - public function clearSelectiveOptimization() - { - unset($this->selective_optimization); - } - - /** - * Selective optimization setting for this campaign, which includes a set of - * conversion actions to optimize this campaign towards. - * This feature only applies to app campaigns that use MULTI_CHANNEL as - * AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as - * AdvertisingChannelSubType. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.SelectiveOptimization selective_optimization = 45; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\SelectiveOptimization $var - * @return $this - */ - public function setSelectiveOptimization($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\SelectiveOptimization::class); - $this->selective_optimization = $var; - - return $this; - } - - /** - * Optimization goal setting for this campaign, which includes a set of - * optimization goal types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\OptimizationGoalSetting|null - */ - public function getOptimizationGoalSetting() - { - return $this->optimization_goal_setting; - } - - public function hasOptimizationGoalSetting() - { - return isset($this->optimization_goal_setting); - } - - public function clearOptimizationGoalSetting() - { - unset($this->optimization_goal_setting); - } - - /** - * Optimization goal setting for this campaign, which includes a set of - * optimization goal types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.OptimizationGoalSetting optimization_goal_setting = 54; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\OptimizationGoalSetting $var - * @return $this - */ - public function setOptimizationGoalSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\OptimizationGoalSetting::class); - $this->optimization_goal_setting = $var; - - return $this; - } - - /** - * Output only. Campaign-level settings for tracking information. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\TrackingSetting|null - */ - public function getTrackingSetting() - { - return $this->tracking_setting; - } - - public function hasTrackingSetting() - { - return isset($this->tracking_setting); - } - - public function clearTrackingSetting() - { - unset($this->tracking_setting); - } - - /** - * Output only. Campaign-level settings for tracking information. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.TrackingSetting tracking_setting = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\TrackingSetting $var - * @return $this - */ - public function setTrackingSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\TrackingSetting::class); - $this->tracking_setting = $var; - - return $this; - } - - /** - * Payment mode for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PaymentModeEnum.PaymentMode payment_mode = 52; - * @return int - */ - public function getPaymentMode() - { - return $this->payment_mode; - } - - /** - * Payment mode for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PaymentModeEnum.PaymentMode payment_mode = 52; - * @param int $var - * @return $this - */ - public function setPaymentMode($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PaymentModeEnum\PaymentMode::class); - $this->payment_mode = $var; - - return $this; - } - - /** - * Output only. Optimization score of the campaign. - * Optimization score is an estimate of how well a campaign is set to perform. - * It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - * campaign is performing at full potential. This field is null for unscored - * campaigns. - * See "About optimization score" at - * https://support.google.com/google-ads/answer/9061546. - * This field is read-only. - * - * Generated from protobuf field optional double optimization_score = 66 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getOptimizationScore() - { - return isset($this->optimization_score) ? $this->optimization_score : 0.0; - } - - public function hasOptimizationScore() - { - return isset($this->optimization_score); - } - - public function clearOptimizationScore() - { - unset($this->optimization_score); - } - - /** - * Output only. Optimization score of the campaign. - * Optimization score is an estimate of how well a campaign is set to perform. - * It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - * campaign is performing at full potential. This field is null for unscored - * campaigns. - * See "About optimization score" at - * https://support.google.com/google-ads/answer/9061546. - * This field is read-only. - * - * Generated from protobuf field optional double optimization_score = 66 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setOptimizationScore($var) - { - GPBUtil::checkDouble($var); - $this->optimization_score = $var; - - return $this; - } - - /** - * The asset field types that should be excluded from this campaign. Asset - * links with these field types will not be inherited by this campaign from - * the upper level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExcludedParentAssetFieldTypes() - { - return $this->excluded_parent_asset_field_types; - } - - /** - * The asset field types that should be excluded from this campaign. Asset - * links with these field types will not be inherited by this campaign from - * the upper level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExcludedParentAssetFieldTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->excluded_parent_asset_field_types = $arr; - - return $this; - } - - /** - * The asset set types that should be excluded from this campaign. Asset set - * links with these types will not be inherited by this campaign from - * the upper level. - * Location group types (GMB_DYNAMIC_LOCATION_GROUP, - * CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - * LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - * location group asset sets are not allowed to be linked to this campaign, - * and all Location Extension (LE) and Affiliate Location Extensions (ALE) - * will not be served under this campaign. - * Only LOCATION_SYNC is currently supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExcludedParentAssetSetTypes() - { - return $this->excluded_parent_asset_set_types; - } - - /** - * The asset set types that should be excluded from this campaign. Asset set - * links with these types will not be inherited by this campaign from - * the upper level. - * Location group types (GMB_DYNAMIC_LOCATION_GROUP, - * CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - * LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - * location group asset sets are not allowed to be linked to this campaign, - * and all Location Extension (LE) and Affiliate Location Extensions (ALE) - * will not be served under this campaign. - * Only LOCATION_SYNC is currently supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExcludedParentAssetSetTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetSetTypeEnum\AssetSetType::class); - $this->excluded_parent_asset_set_types = $arr; - - return $this; - } - - /** - * Represents opting out of URL expansion to more targeted URLs. If opted out - * (true), only the final URLs in the asset group or URLs specified in the - * advertiser's Google Merchant Center or business data feeds are targeted. - * If opted in (false), the entire domain will be targeted. This field can - * only be set for Performance Max campaigns, where the default value is - * false. - * - * Generated from protobuf field optional bool url_expansion_opt_out = 72; - * @return bool - */ - public function getUrlExpansionOptOut() - { - return isset($this->url_expansion_opt_out) ? $this->url_expansion_opt_out : false; - } - - public function hasUrlExpansionOptOut() - { - return isset($this->url_expansion_opt_out); - } - - public function clearUrlExpansionOptOut() - { - unset($this->url_expansion_opt_out); - } - - /** - * Represents opting out of URL expansion to more targeted URLs. If opted out - * (true), only the final URLs in the asset group or URLs specified in the - * advertiser's Google Merchant Center or business data feeds are targeted. - * If opted in (false), the entire domain will be targeted. This field can - * only be set for Performance Max campaigns, where the default value is - * false. - * - * Generated from protobuf field optional bool url_expansion_opt_out = 72; - * @param bool $var - * @return $this - */ - public function setUrlExpansionOptOut($var) - { - GPBUtil::checkBool($var); - $this->url_expansion_opt_out = $var; - - return $this; - } - - /** - * Output only. Information about campaigns being upgraded to Performance Max. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign\PerformanceMaxUpgrade|null - */ - public function getPerformanceMaxUpgrade() - { - return $this->performance_max_upgrade; - } - - public function hasPerformanceMaxUpgrade() - { - return isset($this->performance_max_upgrade); - } - - public function clearPerformanceMaxUpgrade() - { - unset($this->performance_max_upgrade); - } - - /** - * Output only. Information about campaigns being upgraded to Performance Max. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign.PerformanceMaxUpgrade performance_max_upgrade = 77 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign\PerformanceMaxUpgrade $var - * @return $this - */ - public function setPerformanceMaxUpgrade($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign\PerformanceMaxUpgrade::class); - $this->performance_max_upgrade = $var; - - return $this; - } - - /** - * Immutable. The set of hotel properties for Performance Max for travel goals - * campaigns. - * - * Generated from protobuf field optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getHotelPropertyAssetSet() - { - return isset($this->hotel_property_asset_set) ? $this->hotel_property_asset_set : ''; - } - - public function hasHotelPropertyAssetSet() - { - return isset($this->hotel_property_asset_set); - } - - public function clearHotelPropertyAssetSet() - { - unset($this->hotel_property_asset_set); - } - - /** - * Immutable. The set of hotel properties for Performance Max for travel goals - * campaigns. - * - * Generated from protobuf field optional string hotel_property_asset_set = 83 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setHotelPropertyAssetSet($var) - { - GPBUtil::checkString($var, True); - $this->hotel_property_asset_set = $var; - - return $this; - } - - /** - * Immutable. Listing type of ads served for this campaign. - * Field is restricted for usage with Performance Max campaigns. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getListingType() - { - return isset($this->listing_type) ? $this->listing_type : 0; - } - - public function hasListingType() - { - return isset($this->listing_type); - } - - public function clearListingType() - { - unset($this->listing_type); - } - - /** - * Immutable. Listing type of ads served for this campaign. - * Field is restricted for usage with Performance Max campaigns. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.ListingTypeEnum.ListingType listing_type = 86 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setListingType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingTypeEnum\ListingType::class); - $this->listing_type = $var; - - return $this; - } - - /** - * Contains the opt-in/out status of each AssetAutomationType. - * See documentation of each asset automation type enum for default - * opt in/out behavior. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAssetAutomationSettings() - { - return $this->asset_automation_settings; - } - - /** - * Contains the opt-in/out status of each AssetAutomationType. - * See documentation of each asset automation type enum for default - * opt in/out behavior. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Campaign.AssetAutomationSetting asset_automation_settings = 88; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Campaign\AssetAutomationSetting>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAssetAutomationSettings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Campaign\AssetAutomationSetting::class); - $this->asset_automation_settings = $arr; - - return $this; - } - - /** - * Portfolio bidding strategy used by campaign. - * - * Generated from protobuf field string bidding_strategy = 67 [(.google.api.resource_reference) = { - * @return string - */ - public function getBiddingStrategy() - { - return $this->readOneof(67); - } - - public function hasBiddingStrategy() - { - return $this->hasOneof(67); - } - - /** - * Portfolio bidding strategy used by campaign. - * - * Generated from protobuf field string bidding_strategy = 67 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setBiddingStrategy($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(67, $var); - - return $this; - } - - /** - * Commission is an automatic bidding strategy in which the advertiser pays - * a certain portion of the conversion value. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Commission commission = 49; - * @return \Google\Ads\GoogleAds\V15\Common\Commission|null - */ - public function getCommission() - { - return $this->readOneof(49); - } - - public function hasCommission() - { - return $this->hasOneof(49); - } - - /** - * Commission is an automatic bidding strategy in which the advertiser pays - * a certain portion of the conversion value. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Commission commission = 49; - * @param \Google\Ads\GoogleAds\V15\Common\Commission $var - * @return $this - */ - public function setCommission($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Commission::class); - $this->writeOneof(49, $var); - - return $this; - } - - /** - * Standard Manual CPA bidding strategy. - * Manual bidding strategy that allows advertiser to set the bid per - * advertiser-specified action. Supported only for Local Services campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ManualCpa manual_cpa = 74; - * @return \Google\Ads\GoogleAds\V15\Common\ManualCpa|null - */ - public function getManualCpa() - { - return $this->readOneof(74); - } - - public function hasManualCpa() - { - return $this->hasOneof(74); - } - - /** - * Standard Manual CPA bidding strategy. - * Manual bidding strategy that allows advertiser to set the bid per - * advertiser-specified action. Supported only for Local Services campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ManualCpa manual_cpa = 74; - * @param \Google\Ads\GoogleAds\V15\Common\ManualCpa $var - * @return $this - */ - public function setManualCpa($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ManualCpa::class); - $this->writeOneof(74, $var); - - return $this; - } - - /** - * Standard Manual CPC bidding strategy. - * Manual click-based bidding where user pays per click. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ManualCpc manual_cpc = 24; - * @return \Google\Ads\GoogleAds\V15\Common\ManualCpc|null - */ - public function getManualCpc() - { - return $this->readOneof(24); - } - - public function hasManualCpc() - { - return $this->hasOneof(24); - } - - /** - * Standard Manual CPC bidding strategy. - * Manual click-based bidding where user pays per click. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ManualCpc manual_cpc = 24; - * @param \Google\Ads\GoogleAds\V15\Common\ManualCpc $var - * @return $this - */ - public function setManualCpc($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ManualCpc::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * Standard Manual CPM bidding strategy. - * Manual impression-based bidding where user pays per thousand - * impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ManualCpm manual_cpm = 25; - * @return \Google\Ads\GoogleAds\V15\Common\ManualCpm|null - */ - public function getManualCpm() - { - return $this->readOneof(25); - } - - public function hasManualCpm() - { - return $this->hasOneof(25); - } - - /** - * Standard Manual CPM bidding strategy. - * Manual impression-based bidding where user pays per thousand - * impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ManualCpm manual_cpm = 25; - * @param \Google\Ads\GoogleAds\V15\Common\ManualCpm $var - * @return $this - */ - public function setManualCpm($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ManualCpm::class); - $this->writeOneof(25, $var); - - return $this; - } - - /** - * A bidding strategy that pays a configurable amount per video view. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ManualCpv manual_cpv = 37; - * @return \Google\Ads\GoogleAds\V15\Common\ManualCpv|null - */ - public function getManualCpv() - { - return $this->readOneof(37); - } - - public function hasManualCpv() - { - return $this->hasOneof(37); - } - - /** - * A bidding strategy that pays a configurable amount per video view. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ManualCpv manual_cpv = 37; - * @param \Google\Ads\GoogleAds\V15\Common\ManualCpv $var - * @return $this - */ - public function setManualCpv($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ManualCpv::class); - $this->writeOneof(37, $var); - - return $this; - } - - /** - * Standard Maximize Conversions bidding strategy that automatically - * maximizes number of conversions while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MaximizeConversions maximize_conversions = 30; - * @return \Google\Ads\GoogleAds\V15\Common\MaximizeConversions|null - */ - public function getMaximizeConversions() - { - return $this->readOneof(30); - } - - public function hasMaximizeConversions() - { - return $this->hasOneof(30); - } - - /** - * Standard Maximize Conversions bidding strategy that automatically - * maximizes number of conversions while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MaximizeConversions maximize_conversions = 30; - * @param \Google\Ads\GoogleAds\V15\Common\MaximizeConversions $var - * @return $this - */ - public function setMaximizeConversions($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MaximizeConversions::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * Standard Maximize Conversion Value bidding strategy that automatically - * sets bids to maximize revenue while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MaximizeConversionValue maximize_conversion_value = 31; - * @return \Google\Ads\GoogleAds\V15\Common\MaximizeConversionValue|null - */ - public function getMaximizeConversionValue() - { - return $this->readOneof(31); - } - - public function hasMaximizeConversionValue() - { - return $this->hasOneof(31); - } - - /** - * Standard Maximize Conversion Value bidding strategy that automatically - * sets bids to maximize revenue while spending your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MaximizeConversionValue maximize_conversion_value = 31; - * @param \Google\Ads\GoogleAds\V15\Common\MaximizeConversionValue $var - * @return $this - */ - public function setMaximizeConversionValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MaximizeConversionValue::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * Standard Target CPA bidding strategy that automatically sets bids to - * help get as many conversions as possible at the target - * cost-per-acquisition (CPA) you set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpa target_cpa = 26; - * @return \Google\Ads\GoogleAds\V15\Common\TargetCpa|null - */ - public function getTargetCpa() - { - return $this->readOneof(26); - } - - public function hasTargetCpa() - { - return $this->hasOneof(26); - } - - /** - * Standard Target CPA bidding strategy that automatically sets bids to - * help get as many conversions as possible at the target - * cost-per-acquisition (CPA) you set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpa target_cpa = 26; - * @param \Google\Ads\GoogleAds\V15\Common\TargetCpa $var - * @return $this - */ - public function setTargetCpa($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetCpa::class); - $this->writeOneof(26, $var); - - return $this; - } - - /** - * Target Impression Share bidding strategy. An automated bidding strategy - * that sets bids to achieve a chosen percentage of impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetImpressionShare target_impression_share = 48; - * @return \Google\Ads\GoogleAds\V15\Common\TargetImpressionShare|null - */ - public function getTargetImpressionShare() - { - return $this->readOneof(48); - } - - public function hasTargetImpressionShare() - { - return $this->hasOneof(48); - } - - /** - * Target Impression Share bidding strategy. An automated bidding strategy - * that sets bids to achieve a chosen percentage of impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetImpressionShare target_impression_share = 48; - * @param \Google\Ads\GoogleAds\V15\Common\TargetImpressionShare $var - * @return $this - */ - public function setTargetImpressionShare($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetImpressionShare::class); - $this->writeOneof(48, $var); - - return $this; - } - - /** - * Standard Target ROAS bidding strategy that automatically maximizes - * revenue while averaging a specific target return on ad spend (ROAS). - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoas target_roas = 29; - * @return \Google\Ads\GoogleAds\V15\Common\TargetRoas|null - */ - public function getTargetRoas() - { - return $this->readOneof(29); - } - - public function hasTargetRoas() - { - return $this->hasOneof(29); - } - - /** - * Standard Target ROAS bidding strategy that automatically maximizes - * revenue while averaging a specific target return on ad spend (ROAS). - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoas target_roas = 29; - * @param \Google\Ads\GoogleAds\V15\Common\TargetRoas $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetRoas::class); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * Standard Target Spend bidding strategy that automatically sets your bids - * to help get as many clicks as possible within your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetSpend target_spend = 27; - * @return \Google\Ads\GoogleAds\V15\Common\TargetSpend|null - */ - public function getTargetSpend() - { - return $this->readOneof(27); - } - - public function hasTargetSpend() - { - return $this->hasOneof(27); - } - - /** - * Standard Target Spend bidding strategy that automatically sets your bids - * to help get as many clicks as possible within your budget. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetSpend target_spend = 27; - * @param \Google\Ads\GoogleAds\V15\Common\TargetSpend $var - * @return $this - */ - public function setTargetSpend($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetSpend::class); - $this->writeOneof(27, $var); - - return $this; - } - - /** - * Standard Percent Cpc bidding strategy where bids are a fraction of the - * advertised price for some good or service. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PercentCpc percent_cpc = 34; - * @return \Google\Ads\GoogleAds\V15\Common\PercentCpc|null - */ - public function getPercentCpc() - { - return $this->readOneof(34); - } - - public function hasPercentCpc() - { - return $this->hasOneof(34); - } - - /** - * Standard Percent Cpc bidding strategy where bids are a fraction of the - * advertised price for some good or service. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PercentCpc percent_cpc = 34; - * @param \Google\Ads\GoogleAds\V15\Common\PercentCpc $var - * @return $this - */ - public function setPercentCpc($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PercentCpc::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * A bidding strategy that automatically optimizes cost per thousand - * impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpm target_cpm = 41; - * @return \Google\Ads\GoogleAds\V15\Common\TargetCpm|null - */ - public function getTargetCpm() - { - return $this->readOneof(41); - } - - public function hasTargetCpm() - { - return $this->hasOneof(41); - } - - /** - * A bidding strategy that automatically optimizes cost per thousand - * impressions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpm target_cpm = 41; - * @param \Google\Ads\GoogleAds\V15\Common\TargetCpm $var - * @return $this - */ - public function setTargetCpm($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetCpm::class); - $this->writeOneof(41, $var); - - return $this; - } - - /** - * @return string - */ - public function getCampaignBiddingStrategy() - { - return $this->whichOneof("campaign_bidding_strategy"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AppCampaignSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AppCampaignSetting.php deleted file mode 100644 index 3a0b3eacd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AppCampaignSetting.php +++ /dev/null @@ -1,152 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.AppCampaignSetting - */ -class AppCampaignSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Represents the goal which the bidding strategy of this app campaign - * should optimize towards. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1; - */ - protected $bidding_strategy_goal_type = 0; - /** - * Immutable. A string that uniquely identifies a mobile application. - * - * Generated from protobuf field optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $app_id = null; - /** - * Immutable. The application store that distributes this specific app. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $app_store = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $bidding_strategy_goal_type - * Represents the goal which the bidding strategy of this app campaign - * should optimize towards. - * @type string $app_id - * Immutable. A string that uniquely identifies a mobile application. - * @type int $app_store - * Immutable. The application store that distributes this specific app. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Represents the goal which the bidding strategy of this app campaign - * should optimize towards. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1; - * @return int - */ - public function getBiddingStrategyGoalType() - { - return $this->bidding_strategy_goal_type; - } - - /** - * Represents the goal which the bidding strategy of this app campaign - * should optimize towards. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1; - * @param int $var - * @return $this - */ - public function setBiddingStrategyGoalType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AppCampaignBiddingStrategyGoalTypeEnum\AppCampaignBiddingStrategyGoalType::class); - $this->bidding_strategy_goal_type = $var; - - return $this; - } - - /** - * Immutable. A string that uniquely identifies a mobile application. - * - * Generated from protobuf field optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getAppId() - { - return isset($this->app_id) ? $this->app_id : ''; - } - - public function hasAppId() - { - return isset($this->app_id); - } - - public function clearAppId() - { - unset($this->app_id); - } - - /** - * Immutable. A string that uniquely identifies a mobile application. - * - * Generated from protobuf field optional string app_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * Immutable. The application store that distributes this specific app. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getAppStore() - { - return $this->app_store; - } - - /** - * Immutable. The application store that distributes this specific app. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setAppStore($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AppCampaignAppStoreEnum\AppCampaignAppStore::class); - $this->app_store = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AppCampaignSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_AppCampaignSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AssetAutomationSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AssetAutomationSetting.php deleted file mode 100644 index 96419291d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AssetAutomationSetting.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.AssetAutomationSetting - */ -class AssetAutomationSetting extends \Google\Protobuf\Internal\Message -{ - /** - * The asset automation type advertiser would like to opt-in/out. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1; - */ - protected $asset_automation_type = null; - /** - * The opt-in/out status of asset automation type. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2; - */ - protected $asset_automation_status = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $asset_automation_type - * The asset automation type advertiser would like to opt-in/out. - * @type int $asset_automation_status - * The opt-in/out status of asset automation type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * The asset automation type advertiser would like to opt-in/out. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1; - * @return int - */ - public function getAssetAutomationType() - { - return isset($this->asset_automation_type) ? $this->asset_automation_type : 0; - } - - public function hasAssetAutomationType() - { - return isset($this->asset_automation_type); - } - - public function clearAssetAutomationType() - { - unset($this->asset_automation_type); - } - - /** - * The asset automation type advertiser would like to opt-in/out. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetAutomationTypeEnum.AssetAutomationType asset_automation_type = 1; - * @param int $var - * @return $this - */ - public function setAssetAutomationType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetAutomationTypeEnum\AssetAutomationType::class); - $this->asset_automation_type = $var; - - return $this; - } - - /** - * The opt-in/out status of asset automation type. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2; - * @return int - */ - public function getAssetAutomationStatus() - { - return isset($this->asset_automation_status) ? $this->asset_automation_status : 0; - } - - public function hasAssetAutomationStatus() - { - return isset($this->asset_automation_status); - } - - public function clearAssetAutomationStatus() - { - unset($this->asset_automation_status); - } - - /** - * The opt-in/out status of asset automation type. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AssetAutomationStatusEnum.AssetAutomationStatus asset_automation_status = 2; - * @param int $var - * @return $this - */ - public function setAssetAutomationStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetAutomationStatusEnum\AssetAutomationStatus::class); - $this->asset_automation_status = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetAutomationSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_AssetAutomationSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AudienceSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AudienceSetting.php deleted file mode 100644 index ecd4fbca8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/AudienceSetting.php +++ /dev/null @@ -1,88 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.AudienceSetting - */ -class AudienceSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. If true, this campaign uses an Audience resource for audience - * targeting. If false, this campaign may use audience segment criteria - * instead. - * - * Generated from protobuf field optional bool use_audience_grouped = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $use_audience_grouped = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $use_audience_grouped - * Immutable. If true, this campaign uses an Audience resource for audience - * targeting. If false, this campaign may use audience segment criteria - * instead. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. If true, this campaign uses an Audience resource for audience - * targeting. If false, this campaign may use audience segment criteria - * instead. - * - * Generated from protobuf field optional bool use_audience_grouped = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getUseAudienceGrouped() - { - return isset($this->use_audience_grouped) ? $this->use_audience_grouped : false; - } - - public function hasUseAudienceGrouped() - { - return isset($this->use_audience_grouped); - } - - public function clearUseAudienceGrouped() - { - unset($this->use_audience_grouped); - } - - /** - * Immutable. If true, this campaign uses an Audience resource for audience - * targeting. If false, this campaign may use audience segment criteria - * instead. - * - * Generated from protobuf field optional bool use_audience_grouped = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setUseAudienceGrouped($var) - { - GPBUtil::checkBool($var); - $this->use_audience_grouped = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AudienceSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_AudienceSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/CategoryBid.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/CategoryBid.php deleted file mode 100644 index f40a641fc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/CategoryBid.php +++ /dev/null @@ -1,136 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.CategoryBid - */ -class CategoryBid extends \Google\Protobuf\Internal\Message -{ - /** - * Category for which the bid will be associated with. For example, - * xcat:service_area_business_plumber. - * - * Generated from protobuf field optional string category_id = 1; - */ - protected $category_id = null; - /** - * Manual CPA bid for the category. Bid must be greater than the - * reserve price associated for that category. Value is in micros - * and in the advertiser's currency. - * - * Generated from protobuf field optional int64 manual_cpa_bid_micros = 2; - */ - protected $manual_cpa_bid_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $category_id - * Category for which the bid will be associated with. For example, - * xcat:service_area_business_plumber. - * @type int|string $manual_cpa_bid_micros - * Manual CPA bid for the category. Bid must be greater than the - * reserve price associated for that category. Value is in micros - * and in the advertiser's currency. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Category for which the bid will be associated with. For example, - * xcat:service_area_business_plumber. - * - * Generated from protobuf field optional string category_id = 1; - * @return string - */ - public function getCategoryId() - { - return isset($this->category_id) ? $this->category_id : ''; - } - - public function hasCategoryId() - { - return isset($this->category_id); - } - - public function clearCategoryId() - { - unset($this->category_id); - } - - /** - * Category for which the bid will be associated with. For example, - * xcat:service_area_business_plumber. - * - * Generated from protobuf field optional string category_id = 1; - * @param string $var - * @return $this - */ - public function setCategoryId($var) - { - GPBUtil::checkString($var, True); - $this->category_id = $var; - - return $this; - } - - /** - * Manual CPA bid for the category. Bid must be greater than the - * reserve price associated for that category. Value is in micros - * and in the advertiser's currency. - * - * Generated from protobuf field optional int64 manual_cpa_bid_micros = 2; - * @return int|string - */ - public function getManualCpaBidMicros() - { - return isset($this->manual_cpa_bid_micros) ? $this->manual_cpa_bid_micros : 0; - } - - public function hasManualCpaBidMicros() - { - return isset($this->manual_cpa_bid_micros); - } - - public function clearManualCpaBidMicros() - { - unset($this->manual_cpa_bid_micros); - } - - /** - * Manual CPA bid for the category. Bid must be greater than the - * reserve price associated for that category. Value is in micros - * and in the advertiser's currency. - * - * Generated from protobuf field optional int64 manual_cpa_bid_micros = 2; - * @param int|string $var - * @return $this - */ - public function setManualCpaBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->manual_cpa_bid_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CategoryBid::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_CategoryBid::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/DiscoveryCampaignSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/DiscoveryCampaignSettings.php deleted file mode 100644 index 00ab77c6f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/DiscoveryCampaignSettings.php +++ /dev/null @@ -1,96 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.DiscoveryCampaignSettings - */ -class DiscoveryCampaignSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Specifies whether this campaign uses upgraded targeting - * options. When this field is set to `true`, you can use location and - * language targeting at the ad group level as opposed to the standard - * campaign-level targeting. This field defaults to `false`, and can only be - * set when creating a campaign. - * - * Generated from protobuf field optional bool upgraded_targeting = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $upgraded_targeting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $upgraded_targeting - * Immutable. Specifies whether this campaign uses upgraded targeting - * options. When this field is set to `true`, you can use location and - * language targeting at the ad group level as opposed to the standard - * campaign-level targeting. This field defaults to `false`, and can only be - * set when creating a campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Specifies whether this campaign uses upgraded targeting - * options. When this field is set to `true`, you can use location and - * language targeting at the ad group level as opposed to the standard - * campaign-level targeting. This field defaults to `false`, and can only be - * set when creating a campaign. - * - * Generated from protobuf field optional bool upgraded_targeting = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getUpgradedTargeting() - { - return isset($this->upgraded_targeting) ? $this->upgraded_targeting : false; - } - - public function hasUpgradedTargeting() - { - return isset($this->upgraded_targeting); - } - - public function clearUpgradedTargeting() - { - unset($this->upgraded_targeting); - } - - /** - * Immutable. Specifies whether this campaign uses upgraded targeting - * options. When this field is set to `true`, you can use location and - * language targeting at the ad group level as opposed to the standard - * campaign-level targeting. This field defaults to `false`, and can only be - * set when creating a campaign. - * - * Generated from protobuf field optional bool upgraded_targeting = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setUpgradedTargeting($var) - { - GPBUtil::checkBool($var); - $this->upgraded_targeting = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DiscoveryCampaignSettings::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_DiscoveryCampaignSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/DynamicSearchAdsSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/DynamicSearchAdsSetting.php deleted file mode 100644 index 8d5af9a4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/DynamicSearchAdsSetting.php +++ /dev/null @@ -1,190 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.DynamicSearchAdsSetting - */ -class DynamicSearchAdsSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Internet domain name that this setting represents, for - * example, "google.com" or "www.google.com". - * - * Generated from protobuf field string domain_name = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $domain_name = ''; - /** - * Required. The language code specifying the language of the domain, for - * example, "en". - * - * Generated from protobuf field string language_code = 7 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $language_code = ''; - /** - * Whether the campaign uses advertiser supplied URLs exclusively. - * - * Generated from protobuf field optional bool use_supplied_urls_only = 8; - */ - protected $use_supplied_urls_only = null; - /** - * The list of page feeds associated with the campaign. - * - * Generated from protobuf field repeated string feeds = 9 [(.google.api.resource_reference) = { - */ - private $feeds; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $domain_name - * Required. The Internet domain name that this setting represents, for - * example, "google.com" or "www.google.com". - * @type string $language_code - * Required. The language code specifying the language of the domain, for - * example, "en". - * @type bool $use_supplied_urls_only - * Whether the campaign uses advertiser supplied URLs exclusively. - * @type array|\Google\Protobuf\Internal\RepeatedField $feeds - * The list of page feeds associated with the campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Internet domain name that this setting represents, for - * example, "google.com" or "www.google.com". - * - * Generated from protobuf field string domain_name = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDomainName() - { - return $this->domain_name; - } - - /** - * Required. The Internet domain name that this setting represents, for - * example, "google.com" or "www.google.com". - * - * Generated from protobuf field string domain_name = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDomainName($var) - { - GPBUtil::checkString($var, True); - $this->domain_name = $var; - - return $this; - } - - /** - * Required. The language code specifying the language of the domain, for - * example, "en". - * - * Generated from protobuf field string language_code = 7 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * Required. The language code specifying the language of the domain, for - * example, "en". - * - * Generated from protobuf field string language_code = 7 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * Whether the campaign uses advertiser supplied URLs exclusively. - * - * Generated from protobuf field optional bool use_supplied_urls_only = 8; - * @return bool - */ - public function getUseSuppliedUrlsOnly() - { - return isset($this->use_supplied_urls_only) ? $this->use_supplied_urls_only : false; - } - - public function hasUseSuppliedUrlsOnly() - { - return isset($this->use_supplied_urls_only); - } - - public function clearUseSuppliedUrlsOnly() - { - unset($this->use_supplied_urls_only); - } - - /** - * Whether the campaign uses advertiser supplied URLs exclusively. - * - * Generated from protobuf field optional bool use_supplied_urls_only = 8; - * @param bool $var - * @return $this - */ - public function setUseSuppliedUrlsOnly($var) - { - GPBUtil::checkBool($var); - $this->use_supplied_urls_only = $var; - - return $this; - } - - /** - * The list of page feeds associated with the campaign. - * - * Generated from protobuf field repeated string feeds = 9 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeeds() - { - return $this->feeds; - } - - /** - * The list of page feeds associated with the campaign. - * - * Generated from protobuf field repeated string feeds = 9 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeeds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->feeds = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DynamicSearchAdsSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_DynamicSearchAdsSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/GeoTargetTypeSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/GeoTargetTypeSetting.php deleted file mode 100644 index b9ba16246..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/GeoTargetTypeSetting.php +++ /dev/null @@ -1,104 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.GeoTargetTypeSetting - */ -class GeoTargetTypeSetting extends \Google\Protobuf\Internal\Message -{ - /** - * The setting used for positive geotargeting in this particular campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType positive_geo_target_type = 1; - */ - protected $positive_geo_target_type = 0; - /** - * The setting used for negative geotargeting in this particular campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType negative_geo_target_type = 2; - */ - protected $negative_geo_target_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $positive_geo_target_type - * The setting used for positive geotargeting in this particular campaign. - * @type int $negative_geo_target_type - * The setting used for negative geotargeting in this particular campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * The setting used for positive geotargeting in this particular campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType positive_geo_target_type = 1; - * @return int - */ - public function getPositiveGeoTargetType() - { - return $this->positive_geo_target_type; - } - - /** - * The setting used for positive geotargeting in this particular campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType positive_geo_target_type = 1; - * @param int $var - * @return $this - */ - public function setPositiveGeoTargetType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PositiveGeoTargetTypeEnum\PositiveGeoTargetType::class); - $this->positive_geo_target_type = $var; - - return $this; - } - - /** - * The setting used for negative geotargeting in this particular campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType negative_geo_target_type = 2; - * @return int - */ - public function getNegativeGeoTargetType() - { - return $this->negative_geo_target_type; - } - - /** - * The setting used for negative geotargeting in this particular campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType negative_geo_target_type = 2; - * @param int $var - * @return $this - */ - public function setNegativeGeoTargetType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\NegativeGeoTargetTypeEnum\NegativeGeoTargetType::class); - $this->negative_geo_target_type = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GeoTargetTypeSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_GeoTargetTypeSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/HotelSettingInfo.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/HotelSettingInfo.php deleted file mode 100644 index 1eec5f998..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/HotelSettingInfo.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.HotelSettingInfo - */ -class HotelSettingInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The linked Hotel Center account. - * - * Generated from protobuf field optional int64 hotel_center_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $hotel_center_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $hotel_center_id - * Immutable. The linked Hotel Center account. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The linked Hotel Center account. - * - * Generated from protobuf field optional int64 hotel_center_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getHotelCenterId() - { - return isset($this->hotel_center_id) ? $this->hotel_center_id : 0; - } - - public function hasHotelCenterId() - { - return isset($this->hotel_center_id); - } - - public function clearHotelCenterId() - { - unset($this->hotel_center_id); - } - - /** - * Immutable. The linked Hotel Center account. - * - * Generated from protobuf field optional int64 hotel_center_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setHotelCenterId($var) - { - GPBUtil::checkInt64($var); - $this->hotel_center_id = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(HotelSettingInfo::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_HotelSettingInfo::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/LocalCampaignSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/LocalCampaignSetting.php deleted file mode 100644 index 47a942ee8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/LocalCampaignSetting.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.LocalCampaignSetting - */ -class LocalCampaignSetting extends \Google\Protobuf\Internal\Message -{ - /** - * The location source type for this local campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationSourceTypeEnum.LocationSourceType location_source_type = 1; - */ - protected $location_source_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $location_source_type - * The location source type for this local campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * The location source type for this local campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationSourceTypeEnum.LocationSourceType location_source_type = 1; - * @return int - */ - public function getLocationSourceType() - { - return $this->location_source_type; - } - - /** - * The location source type for this local campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocationSourceTypeEnum.LocationSourceType location_source_type = 1; - * @param int $var - * @return $this - */ - public function setLocationSourceType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocationSourceTypeEnum\LocationSourceType::class); - $this->location_source_type = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocalCampaignSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_LocalCampaignSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/LocalServicesCampaignSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/LocalServicesCampaignSettings.php deleted file mode 100644 index d05bd3c5e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/LocalServicesCampaignSettings.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.LocalServicesCampaignSettings - */ -class LocalServicesCampaignSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Categorical level bids associated with MANUAL_CPA bidding strategy. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Campaign.CategoryBid category_bids = 1; - */ - private $category_bids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\Campaign\CategoryBid>|\Google\Protobuf\Internal\RepeatedField $category_bids - * Categorical level bids associated with MANUAL_CPA bidding strategy. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Categorical level bids associated with MANUAL_CPA bidding strategy. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Campaign.CategoryBid category_bids = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCategoryBids() - { - return $this->category_bids; - } - - /** - * Categorical level bids associated with MANUAL_CPA bidding strategy. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Campaign.CategoryBid category_bids = 1; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Campaign\CategoryBid>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCategoryBids($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Campaign\CategoryBid::class); - $this->category_bids = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocalServicesCampaignSettings::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_LocalServicesCampaignSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/NetworkSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/NetworkSettings.php deleted file mode 100644 index f7a5800aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/NetworkSettings.php +++ /dev/null @@ -1,312 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.NetworkSettings - */ -class NetworkSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Whether ads will be served with google.com search results. - * - * Generated from protobuf field optional bool target_google_search = 5; - */ - protected $target_google_search = null; - /** - * Whether ads will be served on partner sites in the Google Search Network - * (requires `target_google_search` to also be `true`). - * - * Generated from protobuf field optional bool target_search_network = 6; - */ - protected $target_search_network = null; - /** - * Whether ads will be served on specified placements in the Google Display - * Network. Placements are specified using the Placement criterion. - * - * Generated from protobuf field optional bool target_content_network = 7; - */ - protected $target_content_network = null; - /** - * Whether ads will be served on the Google Partner Network. - * This is available only to some select Google partner accounts. - * - * Generated from protobuf field optional bool target_partner_search_network = 8; - */ - protected $target_partner_search_network = null; - /** - * Whether ads will be served on YouTube. - * - * Generated from protobuf field optional bool target_youtube = 9; - */ - protected $target_youtube = null; - /** - * Whether ads will be served on the Google TV network. - * - * Generated from protobuf field optional bool target_google_tv_network = 10; - */ - protected $target_google_tv_network = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $target_google_search - * Whether ads will be served with google.com search results. - * @type bool $target_search_network - * Whether ads will be served on partner sites in the Google Search Network - * (requires `target_google_search` to also be `true`). - * @type bool $target_content_network - * Whether ads will be served on specified placements in the Google Display - * Network. Placements are specified using the Placement criterion. - * @type bool $target_partner_search_network - * Whether ads will be served on the Google Partner Network. - * This is available only to some select Google partner accounts. - * @type bool $target_youtube - * Whether ads will be served on YouTube. - * @type bool $target_google_tv_network - * Whether ads will be served on the Google TV network. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Whether ads will be served with google.com search results. - * - * Generated from protobuf field optional bool target_google_search = 5; - * @return bool - */ - public function getTargetGoogleSearch() - { - return isset($this->target_google_search) ? $this->target_google_search : false; - } - - public function hasTargetGoogleSearch() - { - return isset($this->target_google_search); - } - - public function clearTargetGoogleSearch() - { - unset($this->target_google_search); - } - - /** - * Whether ads will be served with google.com search results. - * - * Generated from protobuf field optional bool target_google_search = 5; - * @param bool $var - * @return $this - */ - public function setTargetGoogleSearch($var) - { - GPBUtil::checkBool($var); - $this->target_google_search = $var; - - return $this; - } - - /** - * Whether ads will be served on partner sites in the Google Search Network - * (requires `target_google_search` to also be `true`). - * - * Generated from protobuf field optional bool target_search_network = 6; - * @return bool - */ - public function getTargetSearchNetwork() - { - return isset($this->target_search_network) ? $this->target_search_network : false; - } - - public function hasTargetSearchNetwork() - { - return isset($this->target_search_network); - } - - public function clearTargetSearchNetwork() - { - unset($this->target_search_network); - } - - /** - * Whether ads will be served on partner sites in the Google Search Network - * (requires `target_google_search` to also be `true`). - * - * Generated from protobuf field optional bool target_search_network = 6; - * @param bool $var - * @return $this - */ - public function setTargetSearchNetwork($var) - { - GPBUtil::checkBool($var); - $this->target_search_network = $var; - - return $this; - } - - /** - * Whether ads will be served on specified placements in the Google Display - * Network. Placements are specified using the Placement criterion. - * - * Generated from protobuf field optional bool target_content_network = 7; - * @return bool - */ - public function getTargetContentNetwork() - { - return isset($this->target_content_network) ? $this->target_content_network : false; - } - - public function hasTargetContentNetwork() - { - return isset($this->target_content_network); - } - - public function clearTargetContentNetwork() - { - unset($this->target_content_network); - } - - /** - * Whether ads will be served on specified placements in the Google Display - * Network. Placements are specified using the Placement criterion. - * - * Generated from protobuf field optional bool target_content_network = 7; - * @param bool $var - * @return $this - */ - public function setTargetContentNetwork($var) - { - GPBUtil::checkBool($var); - $this->target_content_network = $var; - - return $this; - } - - /** - * Whether ads will be served on the Google Partner Network. - * This is available only to some select Google partner accounts. - * - * Generated from protobuf field optional bool target_partner_search_network = 8; - * @return bool - */ - public function getTargetPartnerSearchNetwork() - { - return isset($this->target_partner_search_network) ? $this->target_partner_search_network : false; - } - - public function hasTargetPartnerSearchNetwork() - { - return isset($this->target_partner_search_network); - } - - public function clearTargetPartnerSearchNetwork() - { - unset($this->target_partner_search_network); - } - - /** - * Whether ads will be served on the Google Partner Network. - * This is available only to some select Google partner accounts. - * - * Generated from protobuf field optional bool target_partner_search_network = 8; - * @param bool $var - * @return $this - */ - public function setTargetPartnerSearchNetwork($var) - { - GPBUtil::checkBool($var); - $this->target_partner_search_network = $var; - - return $this; - } - - /** - * Whether ads will be served on YouTube. - * - * Generated from protobuf field optional bool target_youtube = 9; - * @return bool - */ - public function getTargetYoutube() - { - return isset($this->target_youtube) ? $this->target_youtube : false; - } - - public function hasTargetYoutube() - { - return isset($this->target_youtube); - } - - public function clearTargetYoutube() - { - unset($this->target_youtube); - } - - /** - * Whether ads will be served on YouTube. - * - * Generated from protobuf field optional bool target_youtube = 9; - * @param bool $var - * @return $this - */ - public function setTargetYoutube($var) - { - GPBUtil::checkBool($var); - $this->target_youtube = $var; - - return $this; - } - - /** - * Whether ads will be served on the Google TV network. - * - * Generated from protobuf field optional bool target_google_tv_network = 10; - * @return bool - */ - public function getTargetGoogleTvNetwork() - { - return isset($this->target_google_tv_network) ? $this->target_google_tv_network : false; - } - - public function hasTargetGoogleTvNetwork() - { - return isset($this->target_google_tv_network); - } - - public function clearTargetGoogleTvNetwork() - { - unset($this->target_google_tv_network); - } - - /** - * Whether ads will be served on the Google TV network. - * - * Generated from protobuf field optional bool target_google_tv_network = 10; - * @param bool $var - * @return $this - */ - public function setTargetGoogleTvNetwork($var) - { - GPBUtil::checkBool($var); - $this->target_google_tv_network = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NetworkSettings::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_NetworkSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/OptimizationGoalSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/OptimizationGoalSetting.php deleted file mode 100644 index 65efb32f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/OptimizationGoalSetting.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.OptimizationGoalSetting - */ -class OptimizationGoalSetting extends \Google\Protobuf\Internal\Message -{ - /** - * The list of optimization goal types. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.OptimizationGoalTypeEnum.OptimizationGoalType optimization_goal_types = 1; - */ - private $optimization_goal_types; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $optimization_goal_types - * The list of optimization goal types. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * The list of optimization goal types. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.OptimizationGoalTypeEnum.OptimizationGoalType optimization_goal_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOptimizationGoalTypes() - { - return $this->optimization_goal_types; - } - - /** - * The list of optimization goal types. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.OptimizationGoalTypeEnum.OptimizationGoalType optimization_goal_types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOptimizationGoalTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\OptimizationGoalTypeEnum\OptimizationGoalType::class); - $this->optimization_goal_types = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OptimizationGoalSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_OptimizationGoalSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/PerformanceMaxUpgrade.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/PerformanceMaxUpgrade.php deleted file mode 100644 index 941f03eb5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/PerformanceMaxUpgrade.php +++ /dev/null @@ -1,146 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.PerformanceMaxUpgrade - */ -class PerformanceMaxUpgrade extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Indicates which Performance Max campaign the campaign is - * upgraded to. - * - * Generated from protobuf field string performance_max_campaign = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $performance_max_campaign = ''; - /** - * Output only. Indicates legacy campaign upgraded to Performance Max. - * - * Generated from protobuf field string pre_upgrade_campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $pre_upgrade_campaign = ''; - /** - * Output only. The upgrade status of a campaign requested to be upgraded to - * Performance Max. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $performance_max_campaign - * Output only. Indicates which Performance Max campaign the campaign is - * upgraded to. - * @type string $pre_upgrade_campaign - * Output only. Indicates legacy campaign upgraded to Performance Max. - * @type int $status - * Output only. The upgrade status of a campaign requested to be upgraded to - * Performance Max. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Indicates which Performance Max campaign the campaign is - * upgraded to. - * - * Generated from protobuf field string performance_max_campaign = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getPerformanceMaxCampaign() - { - return $this->performance_max_campaign; - } - - /** - * Output only. Indicates which Performance Max campaign the campaign is - * upgraded to. - * - * Generated from protobuf field string performance_max_campaign = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setPerformanceMaxCampaign($var) - { - GPBUtil::checkString($var, True); - $this->performance_max_campaign = $var; - - return $this; - } - - /** - * Output only. Indicates legacy campaign upgraded to Performance Max. - * - * Generated from protobuf field string pre_upgrade_campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getPreUpgradeCampaign() - { - return $this->pre_upgrade_campaign; - } - - /** - * Output only. Indicates legacy campaign upgraded to Performance Max. - * - * Generated from protobuf field string pre_upgrade_campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setPreUpgradeCampaign($var) - { - GPBUtil::checkString($var, True); - $this->pre_upgrade_campaign = $var; - - return $this; - } - - /** - * Output only. The upgrade status of a campaign requested to be upgraded to - * Performance Max. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The upgrade status of a campaign requested to be upgraded to - * Performance Max. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PerformanceMaxUpgradeStatusEnum\PerformanceMaxUpgradeStatus::class); - $this->status = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PerformanceMaxUpgrade::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_PerformanceMaxUpgrade::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/SelectiveOptimization.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/SelectiveOptimization.php deleted file mode 100644 index d78eca1e4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/SelectiveOptimization.php +++ /dev/null @@ -1,74 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.SelectiveOptimization - */ -class SelectiveOptimization extends \Google\Protobuf\Internal\Message -{ - /** - * The selected set of conversion actions for optimizing this campaign. - * - * Generated from protobuf field repeated string conversion_actions = 2 [(.google.api.resource_reference) = { - */ - private $conversion_actions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $conversion_actions - * The selected set of conversion actions for optimizing this campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * The selected set of conversion actions for optimizing this campaign. - * - * Generated from protobuf field repeated string conversion_actions = 2 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConversionActions() - { - return $this->conversion_actions; - } - - /** - * The selected set of conversion actions for optimizing this campaign. - * - * Generated from protobuf field repeated string conversion_actions = 2 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConversionActions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->conversion_actions = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SelectiveOptimization::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_SelectiveOptimization::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/ShoppingSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/ShoppingSetting.php deleted file mode 100644 index 216582324..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/ShoppingSetting.php +++ /dev/null @@ -1,332 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.ShoppingSetting - */ -class ShoppingSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. ID of the Merchant Center account. - * This field is required for create operations. This field is immutable for - * Shopping campaigns. - * - * Generated from protobuf field optional int64 merchant_id = 5 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $merchant_id = null; - /** - * Feed label of products to include in the campaign. - * Only one of feed_label or sales_country can be set. - * If used instead of sales_country, the feed_label field accepts country - * codes in the same format for example: 'XX'. - * Otherwise can be any string used for feed label in Google Merchant - * Center. - * - * Generated from protobuf field string feed_label = 10; - */ - protected $feed_label = ''; - /** - * Priority of the campaign. Campaigns with numerically higher priorities - * take precedence over those with lower priorities. - * This field is required for Shopping campaigns, with values between 0 and - * 2, inclusive. - * This field is optional for Smart Shopping campaigns, but must be equal to - * 3 if set. - * - * Generated from protobuf field optional int32 campaign_priority = 7; - */ - protected $campaign_priority = null; - /** - * Whether to include local products. - * - * Generated from protobuf field optional bool enable_local = 8; - */ - protected $enable_local = null; - /** - * Immutable. Whether to target Vehicle Listing inventory. This field is - * supported only in Smart Shopping Campaigns. For setting Vehicle Listing - * inventory in Performance Max campaigns, use `listing_type` instead. - * - * Generated from protobuf field bool use_vehicle_inventory = 9 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $use_vehicle_inventory = false; - /** - * Immutable. The ads account IDs of advertising partners cooperating within - * the campaign. - * - * Generated from protobuf field repeated int64 advertising_partner_ids = 11 [(.google.api.field_behavior) = IMMUTABLE]; - */ - private $advertising_partner_ids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $merchant_id - * Immutable. ID of the Merchant Center account. - * This field is required for create operations. This field is immutable for - * Shopping campaigns. - * @type string $feed_label - * Feed label of products to include in the campaign. - * Only one of feed_label or sales_country can be set. - * If used instead of sales_country, the feed_label field accepts country - * codes in the same format for example: 'XX'. - * Otherwise can be any string used for feed label in Google Merchant - * Center. - * @type int $campaign_priority - * Priority of the campaign. Campaigns with numerically higher priorities - * take precedence over those with lower priorities. - * This field is required for Shopping campaigns, with values between 0 and - * 2, inclusive. - * This field is optional for Smart Shopping campaigns, but must be equal to - * 3 if set. - * @type bool $enable_local - * Whether to include local products. - * @type bool $use_vehicle_inventory - * Immutable. Whether to target Vehicle Listing inventory. This field is - * supported only in Smart Shopping Campaigns. For setting Vehicle Listing - * inventory in Performance Max campaigns, use `listing_type` instead. - * @type array|array|\Google\Protobuf\Internal\RepeatedField $advertising_partner_ids - * Immutable. The ads account IDs of advertising partners cooperating within - * the campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. ID of the Merchant Center account. - * This field is required for create operations. This field is immutable for - * Shopping campaigns. - * - * Generated from protobuf field optional int64 merchant_id = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getMerchantId() - { - return isset($this->merchant_id) ? $this->merchant_id : 0; - } - - public function hasMerchantId() - { - return isset($this->merchant_id); - } - - public function clearMerchantId() - { - unset($this->merchant_id); - } - - /** - * Immutable. ID of the Merchant Center account. - * This field is required for create operations. This field is immutable for - * Shopping campaigns. - * - * Generated from protobuf field optional int64 merchant_id = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setMerchantId($var) - { - GPBUtil::checkInt64($var); - $this->merchant_id = $var; - - return $this; - } - - /** - * Feed label of products to include in the campaign. - * Only one of feed_label or sales_country can be set. - * If used instead of sales_country, the feed_label field accepts country - * codes in the same format for example: 'XX'. - * Otherwise can be any string used for feed label in Google Merchant - * Center. - * - * Generated from protobuf field string feed_label = 10; - * @return string - */ - public function getFeedLabel() - { - return $this->feed_label; - } - - /** - * Feed label of products to include in the campaign. - * Only one of feed_label or sales_country can be set. - * If used instead of sales_country, the feed_label field accepts country - * codes in the same format for example: 'XX'. - * Otherwise can be any string used for feed label in Google Merchant - * Center. - * - * Generated from protobuf field string feed_label = 10; - * @param string $var - * @return $this - */ - public function setFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->feed_label = $var; - - return $this; - } - - /** - * Priority of the campaign. Campaigns with numerically higher priorities - * take precedence over those with lower priorities. - * This field is required for Shopping campaigns, with values between 0 and - * 2, inclusive. - * This field is optional for Smart Shopping campaigns, but must be equal to - * 3 if set. - * - * Generated from protobuf field optional int32 campaign_priority = 7; - * @return int - */ - public function getCampaignPriority() - { - return isset($this->campaign_priority) ? $this->campaign_priority : 0; - } - - public function hasCampaignPriority() - { - return isset($this->campaign_priority); - } - - public function clearCampaignPriority() - { - unset($this->campaign_priority); - } - - /** - * Priority of the campaign. Campaigns with numerically higher priorities - * take precedence over those with lower priorities. - * This field is required for Shopping campaigns, with values between 0 and - * 2, inclusive. - * This field is optional for Smart Shopping campaigns, but must be equal to - * 3 if set. - * - * Generated from protobuf field optional int32 campaign_priority = 7; - * @param int $var - * @return $this - */ - public function setCampaignPriority($var) - { - GPBUtil::checkInt32($var); - $this->campaign_priority = $var; - - return $this; - } - - /** - * Whether to include local products. - * - * Generated from protobuf field optional bool enable_local = 8; - * @return bool - */ - public function getEnableLocal() - { - return isset($this->enable_local) ? $this->enable_local : false; - } - - public function hasEnableLocal() - { - return isset($this->enable_local); - } - - public function clearEnableLocal() - { - unset($this->enable_local); - } - - /** - * Whether to include local products. - * - * Generated from protobuf field optional bool enable_local = 8; - * @param bool $var - * @return $this - */ - public function setEnableLocal($var) - { - GPBUtil::checkBool($var); - $this->enable_local = $var; - - return $this; - } - - /** - * Immutable. Whether to target Vehicle Listing inventory. This field is - * supported only in Smart Shopping Campaigns. For setting Vehicle Listing - * inventory in Performance Max campaigns, use `listing_type` instead. - * - * Generated from protobuf field bool use_vehicle_inventory = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getUseVehicleInventory() - { - return $this->use_vehicle_inventory; - } - - /** - * Immutable. Whether to target Vehicle Listing inventory. This field is - * supported only in Smart Shopping Campaigns. For setting Vehicle Listing - * inventory in Performance Max campaigns, use `listing_type` instead. - * - * Generated from protobuf field bool use_vehicle_inventory = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setUseVehicleInventory($var) - { - GPBUtil::checkBool($var); - $this->use_vehicle_inventory = $var; - - return $this; - } - - /** - * Immutable. The ads account IDs of advertising partners cooperating within - * the campaign. - * - * Generated from protobuf field repeated int64 advertising_partner_ids = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdvertisingPartnerIds() - { - return $this->advertising_partner_ids; - } - - /** - * Immutable. The ads account IDs of advertising partners cooperating within - * the campaign. - * - * Generated from protobuf field repeated int64 advertising_partner_ids = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdvertisingPartnerIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->advertising_partner_ids = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ShoppingSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_ShoppingSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/TrackingSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/TrackingSetting.php deleted file mode 100644 index 253b37364..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/TrackingSetting.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.TrackingSetting - */ -class TrackingSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The url used for dynamic tracking. - * - * Generated from protobuf field optional string tracking_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $tracking_url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $tracking_url - * Output only. The url used for dynamic tracking. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The url used for dynamic tracking. - * - * Generated from protobuf field optional string tracking_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getTrackingUrl() - { - return isset($this->tracking_url) ? $this->tracking_url : ''; - } - - public function hasTrackingUrl() - { - return isset($this->tracking_url); - } - - public function clearTrackingUrl() - { - unset($this->tracking_url); - } - - /** - * Output only. The url used for dynamic tracking. - * - * Generated from protobuf field optional string tracking_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setTrackingUrl($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TrackingSetting::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_TrackingSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/TravelCampaignSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/TravelCampaignSettings.php deleted file mode 100644 index 840a569f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/TravelCampaignSettings.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.TravelCampaignSettings - */ -class TravelCampaignSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The Travel account ID associated with the Travel campaign. - * - * Generated from protobuf field optional int64 travel_account_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $travel_account_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $travel_account_id - * Immutable. The Travel account ID associated with the Travel campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The Travel account ID associated with the Travel campaign. - * - * Generated from protobuf field optional int64 travel_account_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getTravelAccountId() - { - return isset($this->travel_account_id) ? $this->travel_account_id : 0; - } - - public function hasTravelAccountId() - { - return isset($this->travel_account_id); - } - - public function clearTravelAccountId() - { - unset($this->travel_account_id); - } - - /** - * Immutable. The Travel account ID associated with the Travel campaign. - * - * Generated from protobuf field optional int64 travel_account_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setTravelAccountId($var) - { - GPBUtil::checkInt64($var); - $this->travel_account_id = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TravelCampaignSettings::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_TravelCampaignSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/VanityPharma.php b/src/Google/Ads/GoogleAds/V15/Resources/Campaign/VanityPharma.php deleted file mode 100644 index 8cca847d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Campaign/VanityPharma.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.resources.Campaign.VanityPharma - */ -class VanityPharma extends \Google\Protobuf\Internal\Message -{ - /** - * The display mode for vanity pharma URLs. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1; - */ - protected $vanity_pharma_display_url_mode = 0; - /** - * The text that will be displayed in display URL of the text ad when - * website description is the selected display mode for vanity pharma URLs. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2; - */ - protected $vanity_pharma_text = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $vanity_pharma_display_url_mode - * The display mode for vanity pharma URLs. - * @type int $vanity_pharma_text - * The text that will be displayed in display URL of the text ad when - * website description is the selected display mode for vanity pharma URLs. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Campaign::initOnce(); - parent::__construct($data); - } - - /** - * The display mode for vanity pharma URLs. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1; - * @return int - */ - public function getVanityPharmaDisplayUrlMode() - { - return $this->vanity_pharma_display_url_mode; - } - - /** - * The display mode for vanity pharma URLs. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1; - * @param int $var - * @return $this - */ - public function setVanityPharmaDisplayUrlMode($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\VanityPharmaDisplayUrlModeEnum\VanityPharmaDisplayUrlMode::class); - $this->vanity_pharma_display_url_mode = $var; - - return $this; - } - - /** - * The text that will be displayed in display URL of the text ad when - * website description is the selected display mode for vanity pharma URLs. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2; - * @return int - */ - public function getVanityPharmaText() - { - return $this->vanity_pharma_text; - } - - /** - * The text that will be displayed in display URL of the text ad when - * website description is the selected display mode for vanity pharma URLs. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2; - * @param int $var - * @return $this - */ - public function setVanityPharmaText($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\VanityPharmaTextEnum\VanityPharmaText::class); - $this->vanity_pharma_text = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(VanityPharma::class, \Google\Ads\GoogleAds\V15\Resources\Campaign_VanityPharma::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignAsset.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignAsset.php deleted file mode 100644 index e46086e7b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignAsset.php +++ /dev/null @@ -1,399 +0,0 @@ -google.ads.googleads.v15.resources.CampaignAsset - */ -class CampaignAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign asset. - * CampaignAsset resource names have the form: - * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The campaign to which the asset is linked. - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Immutable. The asset which is linked to the campaign. - * - * Generated from protobuf field optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset = null; - /** - * Immutable. Role that the asset takes under the linked campaign. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $field_type = 0; - /** - * Output only. Source of the campaign asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $source = 0; - /** - * Status of the campaign asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - */ - protected $status = 0; - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $primary_status = 0; - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_details; - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_reasons; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign asset. - * CampaignAsset resource names have the form: - * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - * @type string $campaign - * Immutable. The campaign to which the asset is linked. - * @type string $asset - * Immutable. The asset which is linked to the campaign. - * @type int $field_type - * Immutable. Role that the asset takes under the linked campaign. - * Required. - * @type int $source - * Output only. Source of the campaign asset link. - * @type int $status - * Status of the campaign asset. - * @type int $primary_status - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * @type array<\Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails>|\Google\Protobuf\Internal\RepeatedField $primary_status_details - * Output only. Provides the details of the primary status and its associated - * reasons. - * @type array|\Google\Protobuf\Internal\RepeatedField $primary_status_reasons - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignAsset::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign asset. - * CampaignAsset resource names have the form: - * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign asset. - * CampaignAsset resource names have the form: - * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The campaign to which the asset is linked. - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Immutable. The campaign to which the asset is linked. - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Immutable. The asset which is linked to the campaign. - * - * Generated from protobuf field optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return isset($this->asset) ? $this->asset : ''; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * Immutable. The asset which is linked to the campaign. - * - * Generated from protobuf field optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * Immutable. Role that the asset takes under the linked campaign. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getFieldType() - { - return $this->field_type; - } - - /** - * Immutable. Role that the asset takes under the linked campaign. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->field_type = $var; - - return $this; - } - - /** - * Output only. Source of the campaign asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSource() - { - return $this->source; - } - - /** - * Output only. Source of the campaign asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSourceEnum\AssetSource::class); - $this->source = $var; - - return $this; - } - - /** - * Status of the campaign asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Status of the campaign asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkStatusEnum\AssetLinkStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPrimaryStatus() - { - return $this->primary_status; - } - - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPrimaryStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusEnum\AssetLinkPrimaryStatus::class); - $this->primary_status = $var; - - return $this; - } - - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusDetails() - { - return $this->primary_status_details; - } - - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusDetails($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails::class); - $this->primary_status_details = $arr; - - return $this; - } - - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusReasons() - { - return $this->primary_status_reasons; - } - - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusReasonEnum\AssetLinkPrimaryStatusReason::class); - $this->primary_status_reasons = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignAssetSet.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignAssetSet.php deleted file mode 100644 index 47d116f8f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignAssetSet.php +++ /dev/null @@ -1,178 +0,0 @@ -google.ads.googleads.v15.resources.CampaignAssetSet - */ -class CampaignAssetSet extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign asset set. - * Asset set asset resource names have the form: - * `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The campaign to which this asset set is linked. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Immutable. The asset set which is linked to the campaign. - * - * Generated from protobuf field string asset_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset_set = ''; - /** - * Output only. The status of the campaign asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign asset set. - * Asset set asset resource names have the form: - * `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - * @type string $campaign - * Immutable. The campaign to which this asset set is linked. - * @type string $asset_set - * Immutable. The asset set which is linked to the campaign. - * @type int $status - * Output only. The status of the campaign asset set asset. Read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign asset set. - * Asset set asset resource names have the form: - * `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign asset set. - * Asset set asset resource names have the form: - * `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The campaign to which this asset set is linked. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Immutable. The campaign to which this asset set is linked. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Immutable. The asset set which is linked to the campaign. - * - * Generated from protobuf field string asset_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetSet() - { - return $this->asset_set; - } - - /** - * Immutable. The asset set which is linked to the campaign. - * - * Generated from protobuf field string asset_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetSet($var) - { - GPBUtil::checkString($var, True); - $this->asset_set = $var; - - return $this; - } - - /** - * Output only. The status of the campaign asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the campaign asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSetLinkStatusEnum\AssetSetLinkStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignAudienceView.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignAudienceView.php deleted file mode 100644 index c326dc808..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignAudienceView.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.resources.CampaignAudienceView - */ -class CampaignAudienceView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the campaign audience view. - * Campaign audience view resource names have the form: - * `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the campaign audience view. - * Campaign audience view resource names have the form: - * `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignAudienceView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the campaign audience view. - * Campaign audience view resource names have the form: - * `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the campaign audience view. - * Campaign audience view resource names have the form: - * `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignBidModifier.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignBidModifier.php deleted file mode 100644 index 940b2b514..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignBidModifier.php +++ /dev/null @@ -1,256 +0,0 @@ -google.ads.googleads.v15.resources.CampaignBidModifier - */ -class CampaignBidModifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign bid modifier. - * Campaign bid modifier resource names have the form: - * `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The campaign to which this criterion belongs. - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Output only. The ID of the criterion to bid modify. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $criterion_id = null; - /** - * The modifier for the bid when the criterion matches. - * - * Generated from protobuf field optional double bid_modifier = 8; - */ - protected $bid_modifier = null; - protected $criterion; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign bid modifier. - * Campaign bid modifier resource names have the form: - * `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` - * @type string $campaign - * Output only. The campaign to which this criterion belongs. - * @type int|string $criterion_id - * Output only. The ID of the criterion to bid modify. - * This field is ignored for mutates. - * @type float $bid_modifier - * The modifier for the bid when the criterion matches. - * @type \Google\Ads\GoogleAds\V15\Common\InteractionTypeInfo $interaction_type - * Immutable. Criterion for interaction type. Only supported for search - * campaigns. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign bid modifier. - * Campaign bid modifier resource names have the form: - * `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign bid modifier. - * Campaign bid modifier resource names have the form: - * `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The campaign to which this criterion belongs. - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Output only. The campaign to which this criterion belongs. - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. The ID of the criterion to bid modify. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCriterionId() - { - return isset($this->criterion_id) ? $this->criterion_id : 0; - } - - public function hasCriterionId() - { - return isset($this->criterion_id); - } - - public function clearCriterionId() - { - unset($this->criterion_id); - } - - /** - * Output only. The ID of the criterion to bid modify. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->criterion_id = $var; - - return $this; - } - - /** - * The modifier for the bid when the criterion matches. - * - * Generated from protobuf field optional double bid_modifier = 8; - * @return float - */ - public function getBidModifier() - { - return isset($this->bid_modifier) ? $this->bid_modifier : 0.0; - } - - public function hasBidModifier() - { - return isset($this->bid_modifier); - } - - public function clearBidModifier() - { - unset($this->bid_modifier); - } - - /** - * The modifier for the bid when the criterion matches. - * - * Generated from protobuf field optional double bid_modifier = 8; - * @param float $var - * @return $this - */ - public function setBidModifier($var) - { - GPBUtil::checkDouble($var); - $this->bid_modifier = $var; - - return $this; - } - - /** - * Immutable. Criterion for interaction type. Only supported for search - * campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.InteractionTypeInfo interaction_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\InteractionTypeInfo|null - */ - public function getInteractionType() - { - return $this->readOneof(5); - } - - public function hasInteractionType() - { - return $this->hasOneof(5); - } - - /** - * Immutable. Criterion for interaction type. Only supported for search - * campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.common.InteractionTypeInfo interaction_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\InteractionTypeInfo $var - * @return $this - */ - public function setInteractionType($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\InteractionTypeInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getCriterion() - { - return $this->whichOneof("criterion"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignBudget.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignBudget.php deleted file mode 100644 index 0b231d5a6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignBudget.php +++ /dev/null @@ -1,957 +0,0 @@ -google.ads.googleads.v15.resources.CampaignBudget - */ -class CampaignBudget extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign budget. - * Campaign budget resource names have the form: - * `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the campaign budget. - * A campaign budget is created using the CampaignBudgetService create - * operation and is assigned a budget ID. A budget ID can be shared across - * different campaigns; the system will then allocate the campaign budget - * among different campaigns to get optimum results. - * - * Generated from protobuf field optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the campaign budget. - * When creating a campaign budget through CampaignBudgetService, every - * explicitly shared campaign budget must have a non-null, non-empty name. - * Campaign budgets that are not explicitly shared derive their name from the - * attached campaign's name. - * The length of this string must be between 1 and 255, inclusive, - * in UTF-8 bytes, (trimmed). - * - * Generated from protobuf field optional string name = 20; - */ - protected $name = null; - /** - * The amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. Monthly spend is capped at 30.4 times this amount. - * - * Generated from protobuf field optional int64 amount_micros = 21; - */ - protected $amount_micros = null; - /** - * The lifetime amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. - * - * Generated from protobuf field optional int64 total_amount_micros = 22; - */ - protected $total_amount_micros = null; - /** - * Output only. The status of this campaign budget. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetStatusEnum.BudgetStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * The delivery method that determines the rate at which the campaign budget - * is spent. - * Defaults to STANDARD if unspecified in a create operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod delivery_method = 7; - */ - protected $delivery_method = 0; - /** - * Specifies whether the budget is explicitly shared. Defaults to true if - * unspecified in a create operation. - * If true, the budget was created with the purpose of sharing - * across one or more campaigns. - * If false, the budget was created with the intention of only being used - * with a single campaign. The budget's name and status will stay in sync - * with the campaign's name and status. Attempting to share the budget with a - * second campaign will result in an error. - * A non-shared budget can become an explicitly shared. The same operation - * must also assign the budget a name. - * A shared campaign budget can never become non-shared. - * - * Generated from protobuf field optional bool explicitly_shared = 23; - */ - protected $explicitly_shared = null; - /** - * Output only. The number of campaigns actively using the budget. - * This field is read-only. - * - * Generated from protobuf field optional int64 reference_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $reference_count = null; - /** - * Output only. Indicates whether there is a recommended budget for this - * campaign budget. - * This field is read-only. - * - * Generated from protobuf field optional bool has_recommended_budget = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $has_recommended_budget = null; - /** - * Output only. The recommended budget amount. If no recommendation is - * available, this will be set to the budget amount. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_budget_amount_micros = null; - /** - * Immutable. Period over which to spend the budget. Defaults to DAILY if not - * specified. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetPeriodEnum.BudgetPeriod period = 13 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $period = 0; - /** - * Output only. The estimated change in weekly clicks if the recommended - * budget is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_clicks = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_budget_estimated_change_weekly_clicks = null; - /** - * Output only. The estimated change in weekly cost in micros if the - * recommended budget is applied. One million is equivalent to one currency - * unit. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_cost_micros = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_budget_estimated_change_weekly_cost_micros = null; - /** - * Output only. The estimated change in weekly interactions if the recommended - * budget is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_interactions = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_budget_estimated_change_weekly_interactions = null; - /** - * Output only. The estimated change in weekly views if the recommended budget - * is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_views = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_budget_estimated_change_weekly_views = null; - /** - * Immutable. The type of the campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetTypeEnum.BudgetType type = 18 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * ID of the portfolio bidding strategy that this shared campaign budget - * is aligned with. When a bidding strategy and a campaign budget are aligned, - * they are attached to the same set of campaigns. After a campaign budget is - * aligned with a bidding strategy, campaigns that are added to the campaign - * budget must also use the aligned bidding strategy. - * - * Generated from protobuf field int64 aligned_bidding_strategy_id = 31; - */ - protected $aligned_bidding_strategy_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign budget. - * Campaign budget resource names have the form: - * `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` - * @type int|string $id - * Output only. The ID of the campaign budget. - * A campaign budget is created using the CampaignBudgetService create - * operation and is assigned a budget ID. A budget ID can be shared across - * different campaigns; the system will then allocate the campaign budget - * among different campaigns to get optimum results. - * @type string $name - * The name of the campaign budget. - * When creating a campaign budget through CampaignBudgetService, every - * explicitly shared campaign budget must have a non-null, non-empty name. - * Campaign budgets that are not explicitly shared derive their name from the - * attached campaign's name. - * The length of this string must be between 1 and 255, inclusive, - * in UTF-8 bytes, (trimmed). - * @type int|string $amount_micros - * The amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. Monthly spend is capped at 30.4 times this amount. - * @type int|string $total_amount_micros - * The lifetime amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. - * @type int $status - * Output only. The status of this campaign budget. This field is read-only. - * @type int $delivery_method - * The delivery method that determines the rate at which the campaign budget - * is spent. - * Defaults to STANDARD if unspecified in a create operation. - * @type bool $explicitly_shared - * Specifies whether the budget is explicitly shared. Defaults to true if - * unspecified in a create operation. - * If true, the budget was created with the purpose of sharing - * across one or more campaigns. - * If false, the budget was created with the intention of only being used - * with a single campaign. The budget's name and status will stay in sync - * with the campaign's name and status. Attempting to share the budget with a - * second campaign will result in an error. - * A non-shared budget can become an explicitly shared. The same operation - * must also assign the budget a name. - * A shared campaign budget can never become non-shared. - * @type int|string $reference_count - * Output only. The number of campaigns actively using the budget. - * This field is read-only. - * @type bool $has_recommended_budget - * Output only. Indicates whether there is a recommended budget for this - * campaign budget. - * This field is read-only. - * @type int|string $recommended_budget_amount_micros - * Output only. The recommended budget amount. If no recommendation is - * available, this will be set to the budget amount. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * This field is read-only. - * @type int $period - * Immutable. Period over which to spend the budget. Defaults to DAILY if not - * specified. - * @type int|string $recommended_budget_estimated_change_weekly_clicks - * Output only. The estimated change in weekly clicks if the recommended - * budget is applied. - * This field is read-only. - * @type int|string $recommended_budget_estimated_change_weekly_cost_micros - * Output only. The estimated change in weekly cost in micros if the - * recommended budget is applied. One million is equivalent to one currency - * unit. - * This field is read-only. - * @type int|string $recommended_budget_estimated_change_weekly_interactions - * Output only. The estimated change in weekly interactions if the recommended - * budget is applied. - * This field is read-only. - * @type int|string $recommended_budget_estimated_change_weekly_views - * Output only. The estimated change in weekly views if the recommended budget - * is applied. - * This field is read-only. - * @type int $type - * Immutable. The type of the campaign budget. - * @type int|string $aligned_bidding_strategy_id - * ID of the portfolio bidding strategy that this shared campaign budget - * is aligned with. When a bidding strategy and a campaign budget are aligned, - * they are attached to the same set of campaigns. After a campaign budget is - * aligned with a bidding strategy, campaigns that are added to the campaign - * budget must also use the aligned bidding strategy. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignBudget::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign budget. - * Campaign budget resource names have the form: - * `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign budget. - * Campaign budget resource names have the form: - * `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the campaign budget. - * A campaign budget is created using the CampaignBudgetService create - * operation and is assigned a budget ID. A budget ID can be shared across - * different campaigns; the system will then allocate the campaign budget - * among different campaigns to get optimum results. - * - * Generated from protobuf field optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the campaign budget. - * A campaign budget is created using the CampaignBudgetService create - * operation and is assigned a budget ID. A budget ID can be shared across - * different campaigns; the system will then allocate the campaign budget - * among different campaigns to get optimum results. - * - * Generated from protobuf field optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the campaign budget. - * When creating a campaign budget through CampaignBudgetService, every - * explicitly shared campaign budget must have a non-null, non-empty name. - * Campaign budgets that are not explicitly shared derive their name from the - * attached campaign's name. - * The length of this string must be between 1 and 255, inclusive, - * in UTF-8 bytes, (trimmed). - * - * Generated from protobuf field optional string name = 20; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the campaign budget. - * When creating a campaign budget through CampaignBudgetService, every - * explicitly shared campaign budget must have a non-null, non-empty name. - * Campaign budgets that are not explicitly shared derive their name from the - * attached campaign's name. - * The length of this string must be between 1 and 255, inclusive, - * in UTF-8 bytes, (trimmed). - * - * Generated from protobuf field optional string name = 20; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. Monthly spend is capped at 30.4 times this amount. - * - * Generated from protobuf field optional int64 amount_micros = 21; - * @return int|string - */ - public function getAmountMicros() - { - return isset($this->amount_micros) ? $this->amount_micros : 0; - } - - public function hasAmountMicros() - { - return isset($this->amount_micros); - } - - public function clearAmountMicros() - { - unset($this->amount_micros); - } - - /** - * The amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. Monthly spend is capped at 30.4 times this amount. - * - * Generated from protobuf field optional int64 amount_micros = 21; - * @param int|string $var - * @return $this - */ - public function setAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->amount_micros = $var; - - return $this; - } - - /** - * The lifetime amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. - * - * Generated from protobuf field optional int64 total_amount_micros = 22; - * @return int|string - */ - public function getTotalAmountMicros() - { - return isset($this->total_amount_micros) ? $this->total_amount_micros : 0; - } - - public function hasTotalAmountMicros() - { - return isset($this->total_amount_micros); - } - - public function clearTotalAmountMicros() - { - unset($this->total_amount_micros); - } - - /** - * The lifetime amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. - * - * Generated from protobuf field optional int64 total_amount_micros = 22; - * @param int|string $var - * @return $this - */ - public function setTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->total_amount_micros = $var; - - return $this; - } - - /** - * Output only. The status of this campaign budget. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetStatusEnum.BudgetStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of this campaign budget. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetStatusEnum.BudgetStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BudgetStatusEnum\BudgetStatus::class); - $this->status = $var; - - return $this; - } - - /** - * The delivery method that determines the rate at which the campaign budget - * is spent. - * Defaults to STANDARD if unspecified in a create operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod delivery_method = 7; - * @return int - */ - public function getDeliveryMethod() - { - return $this->delivery_method; - } - - /** - * The delivery method that determines the rate at which the campaign budget - * is spent. - * Defaults to STANDARD if unspecified in a create operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod delivery_method = 7; - * @param int $var - * @return $this - */ - public function setDeliveryMethod($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BudgetDeliveryMethodEnum\BudgetDeliveryMethod::class); - $this->delivery_method = $var; - - return $this; - } - - /** - * Specifies whether the budget is explicitly shared. Defaults to true if - * unspecified in a create operation. - * If true, the budget was created with the purpose of sharing - * across one or more campaigns. - * If false, the budget was created with the intention of only being used - * with a single campaign. The budget's name and status will stay in sync - * with the campaign's name and status. Attempting to share the budget with a - * second campaign will result in an error. - * A non-shared budget can become an explicitly shared. The same operation - * must also assign the budget a name. - * A shared campaign budget can never become non-shared. - * - * Generated from protobuf field optional bool explicitly_shared = 23; - * @return bool - */ - public function getExplicitlyShared() - { - return isset($this->explicitly_shared) ? $this->explicitly_shared : false; - } - - public function hasExplicitlyShared() - { - return isset($this->explicitly_shared); - } - - public function clearExplicitlyShared() - { - unset($this->explicitly_shared); - } - - /** - * Specifies whether the budget is explicitly shared. Defaults to true if - * unspecified in a create operation. - * If true, the budget was created with the purpose of sharing - * across one or more campaigns. - * If false, the budget was created with the intention of only being used - * with a single campaign. The budget's name and status will stay in sync - * with the campaign's name and status. Attempting to share the budget with a - * second campaign will result in an error. - * A non-shared budget can become an explicitly shared. The same operation - * must also assign the budget a name. - * A shared campaign budget can never become non-shared. - * - * Generated from protobuf field optional bool explicitly_shared = 23; - * @param bool $var - * @return $this - */ - public function setExplicitlyShared($var) - { - GPBUtil::checkBool($var); - $this->explicitly_shared = $var; - - return $this; - } - - /** - * Output only. The number of campaigns actively using the budget. - * This field is read-only. - * - * Generated from protobuf field optional int64 reference_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getReferenceCount() - { - return isset($this->reference_count) ? $this->reference_count : 0; - } - - public function hasReferenceCount() - { - return isset($this->reference_count); - } - - public function clearReferenceCount() - { - unset($this->reference_count); - } - - /** - * Output only. The number of campaigns actively using the budget. - * This field is read-only. - * - * Generated from protobuf field optional int64 reference_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setReferenceCount($var) - { - GPBUtil::checkInt64($var); - $this->reference_count = $var; - - return $this; - } - - /** - * Output only. Indicates whether there is a recommended budget for this - * campaign budget. - * This field is read-only. - * - * Generated from protobuf field optional bool has_recommended_budget = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getHasRecommendedBudget() - { - return isset($this->has_recommended_budget) ? $this->has_recommended_budget : false; - } - - public function hasHasRecommendedBudget() - { - return isset($this->has_recommended_budget); - } - - public function clearHasRecommendedBudget() - { - unset($this->has_recommended_budget); - } - - /** - * Output only. Indicates whether there is a recommended budget for this - * campaign budget. - * This field is read-only. - * - * Generated from protobuf field optional bool has_recommended_budget = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setHasRecommendedBudget($var) - { - GPBUtil::checkBool($var); - $this->has_recommended_budget = $var; - - return $this; - } - - /** - * Output only. The recommended budget amount. If no recommendation is - * available, this will be set to the budget amount. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedBudgetAmountMicros() - { - return isset($this->recommended_budget_amount_micros) ? $this->recommended_budget_amount_micros : 0; - } - - public function hasRecommendedBudgetAmountMicros() - { - return isset($this->recommended_budget_amount_micros); - } - - public function clearRecommendedBudgetAmountMicros() - { - unset($this->recommended_budget_amount_micros); - } - - /** - * Output only. The recommended budget amount. If no recommendation is - * available, this will be set to the budget amount. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_budget_amount_micros = $var; - - return $this; - } - - /** - * Immutable. Period over which to spend the budget. Defaults to DAILY if not - * specified. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetPeriodEnum.BudgetPeriod period = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getPeriod() - { - return $this->period; - } - - /** - * Immutable. Period over which to spend the budget. Defaults to DAILY if not - * specified. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetPeriodEnum.BudgetPeriod period = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setPeriod($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BudgetPeriodEnum\BudgetPeriod::class); - $this->period = $var; - - return $this; - } - - /** - * Output only. The estimated change in weekly clicks if the recommended - * budget is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_clicks = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedBudgetEstimatedChangeWeeklyClicks() - { - return isset($this->recommended_budget_estimated_change_weekly_clicks) ? $this->recommended_budget_estimated_change_weekly_clicks : 0; - } - - public function hasRecommendedBudgetEstimatedChangeWeeklyClicks() - { - return isset($this->recommended_budget_estimated_change_weekly_clicks); - } - - public function clearRecommendedBudgetEstimatedChangeWeeklyClicks() - { - unset($this->recommended_budget_estimated_change_weekly_clicks); - } - - /** - * Output only. The estimated change in weekly clicks if the recommended - * budget is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_clicks = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedBudgetEstimatedChangeWeeklyClicks($var) - { - GPBUtil::checkInt64($var); - $this->recommended_budget_estimated_change_weekly_clicks = $var; - - return $this; - } - - /** - * Output only. The estimated change in weekly cost in micros if the - * recommended budget is applied. One million is equivalent to one currency - * unit. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_cost_micros = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedBudgetEstimatedChangeWeeklyCostMicros() - { - return isset($this->recommended_budget_estimated_change_weekly_cost_micros) ? $this->recommended_budget_estimated_change_weekly_cost_micros : 0; - } - - public function hasRecommendedBudgetEstimatedChangeWeeklyCostMicros() - { - return isset($this->recommended_budget_estimated_change_weekly_cost_micros); - } - - public function clearRecommendedBudgetEstimatedChangeWeeklyCostMicros() - { - unset($this->recommended_budget_estimated_change_weekly_cost_micros); - } - - /** - * Output only. The estimated change in weekly cost in micros if the - * recommended budget is applied. One million is equivalent to one currency - * unit. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_cost_micros = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedBudgetEstimatedChangeWeeklyCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_budget_estimated_change_weekly_cost_micros = $var; - - return $this; - } - - /** - * Output only. The estimated change in weekly interactions if the recommended - * budget is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_interactions = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedBudgetEstimatedChangeWeeklyInteractions() - { - return isset($this->recommended_budget_estimated_change_weekly_interactions) ? $this->recommended_budget_estimated_change_weekly_interactions : 0; - } - - public function hasRecommendedBudgetEstimatedChangeWeeklyInteractions() - { - return isset($this->recommended_budget_estimated_change_weekly_interactions); - } - - public function clearRecommendedBudgetEstimatedChangeWeeklyInteractions() - { - unset($this->recommended_budget_estimated_change_weekly_interactions); - } - - /** - * Output only. The estimated change in weekly interactions if the recommended - * budget is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_interactions = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedBudgetEstimatedChangeWeeklyInteractions($var) - { - GPBUtil::checkInt64($var); - $this->recommended_budget_estimated_change_weekly_interactions = $var; - - return $this; - } - - /** - * Output only. The estimated change in weekly views if the recommended budget - * is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_views = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedBudgetEstimatedChangeWeeklyViews() - { - return isset($this->recommended_budget_estimated_change_weekly_views) ? $this->recommended_budget_estimated_change_weekly_views : 0; - } - - public function hasRecommendedBudgetEstimatedChangeWeeklyViews() - { - return isset($this->recommended_budget_estimated_change_weekly_views); - } - - public function clearRecommendedBudgetEstimatedChangeWeeklyViews() - { - unset($this->recommended_budget_estimated_change_weekly_views); - } - - /** - * Output only. The estimated change in weekly views if the recommended budget - * is applied. - * This field is read-only. - * - * Generated from protobuf field optional int64 recommended_budget_estimated_change_weekly_views = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedBudgetEstimatedChangeWeeklyViews($var) - { - GPBUtil::checkInt64($var); - $this->recommended_budget_estimated_change_weekly_views = $var; - - return $this; - } - - /** - * Immutable. The type of the campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetTypeEnum.BudgetType type = 18 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Immutable. The type of the campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BudgetTypeEnum.BudgetType type = 18 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BudgetTypeEnum\BudgetType::class); - $this->type = $var; - - return $this; - } - - /** - * ID of the portfolio bidding strategy that this shared campaign budget - * is aligned with. When a bidding strategy and a campaign budget are aligned, - * they are attached to the same set of campaigns. After a campaign budget is - * aligned with a bidding strategy, campaigns that are added to the campaign - * budget must also use the aligned bidding strategy. - * - * Generated from protobuf field int64 aligned_bidding_strategy_id = 31; - * @return int|string - */ - public function getAlignedBiddingStrategyId() - { - return $this->aligned_bidding_strategy_id; - } - - /** - * ID of the portfolio bidding strategy that this shared campaign budget - * is aligned with. When a bidding strategy and a campaign budget are aligned, - * they are attached to the same set of campaigns. After a campaign budget is - * aligned with a bidding strategy, campaigns that are added to the campaign - * budget must also use the aligned bidding strategy. - * - * Generated from protobuf field int64 aligned_bidding_strategy_id = 31; - * @param int|string $var - * @return $this - */ - public function setAlignedBiddingStrategyId($var) - { - GPBUtil::checkInt64($var); - $this->aligned_bidding_strategy_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignConversionGoal.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignConversionGoal.php deleted file mode 100644 index 9feae11dd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignConversionGoal.php +++ /dev/null @@ -1,216 +0,0 @@ -google.ads.googleads.v15.resources.CampaignConversionGoal - */ -class CampaignConversionGoal extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign conversion goal. - * Campaign conversion goal resource names have the form: - * `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The campaign with which this campaign conversion goal is - * associated. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * The conversion category of this campaign conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 3; - */ - protected $category = 0; - /** - * The conversion origin of this campaign conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 4; - */ - protected $origin = 0; - /** - * The biddability of the campaign conversion goal. - * - * Generated from protobuf field bool biddable = 5; - */ - protected $biddable = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign conversion goal. - * Campaign conversion goal resource names have the form: - * `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` - * @type string $campaign - * Immutable. The campaign with which this campaign conversion goal is - * associated. - * @type int $category - * The conversion category of this campaign conversion goal. - * @type int $origin - * The conversion origin of this campaign conversion goal. - * @type bool $biddable - * The biddability of the campaign conversion goal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign conversion goal. - * Campaign conversion goal resource names have the form: - * `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign conversion goal. - * Campaign conversion goal resource names have the form: - * `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The campaign with which this campaign conversion goal is - * associated. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Immutable. The campaign with which this campaign conversion goal is - * associated. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * The conversion category of this campaign conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 3; - * @return int - */ - public function getCategory() - { - return $this->category; - } - - /** - * The conversion category of this campaign conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 3; - * @param int $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionActionCategoryEnum\ConversionActionCategory::class); - $this->category = $var; - - return $this; - } - - /** - * The conversion origin of this campaign conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 4; - * @return int - */ - public function getOrigin() - { - return $this->origin; - } - - /** - * The conversion origin of this campaign conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 4; - * @param int $var - * @return $this - */ - public function setOrigin($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionOriginEnum\ConversionOrigin::class); - $this->origin = $var; - - return $this; - } - - /** - * The biddability of the campaign conversion goal. - * - * Generated from protobuf field bool biddable = 5; - * @return bool - */ - public function getBiddable() - { - return $this->biddable; - } - - /** - * The biddability of the campaign conversion goal. - * - * Generated from protobuf field bool biddable = 5; - * @param bool $var - * @return $this - */ - public function setBiddable($var) - { - GPBUtil::checkBool($var); - $this->biddable = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignCriterion.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignCriterion.php deleted file mode 100644 index e1cba259f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignCriterion.php +++ /dev/null @@ -1,1443 +0,0 @@ -google.ads.googleads.v15.resources.CampaignCriterion - */ -class CampaignCriterion extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign criterion. - * Campaign criterion resource names have the form: - * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The campaign to which the criterion belongs. - * - * Generated from protobuf field optional string campaign = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Output only. The ID of the criterion. - * This field is ignored during mutate. - * - * Generated from protobuf field optional int64 criterion_id = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $criterion_id = null; - /** - * Output only. The display name of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field string display_name = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $display_name = ''; - /** - * The modifier for the bids when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * Use 0 to opt out of a Device type. - * - * Generated from protobuf field optional float bid_modifier = 39; - */ - protected $bid_modifier = null; - /** - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * - * Generated from protobuf field optional bool negative = 40 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $negative = null; - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * The status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus status = 35; - */ - protected $status = 0; - protected $criterion; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign criterion. - * Campaign criterion resource names have the form: - * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - * @type string $campaign - * Immutable. The campaign to which the criterion belongs. - * @type int|string $criterion_id - * Output only. The ID of the criterion. - * This field is ignored during mutate. - * @type string $display_name - * Output only. The display name of the criterion. - * This field is ignored for mutates. - * @type float $bid_modifier - * The modifier for the bids when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * Use 0 to opt out of a Device type. - * @type bool $negative - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * @type int $type - * Output only. The type of the criterion. - * @type int $status - * The status of the criterion. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $keyword - * Immutable. Keyword. - * @type \Google\Ads\GoogleAds\V15\Common\PlacementInfo $placement - * Immutable. Placement. - * @type \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo $mobile_app_category - * Immutable. Mobile app category. - * @type \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo $mobile_application - * Immutable. Mobile application. - * @type \Google\Ads\GoogleAds\V15\Common\LocationInfo $location - * Immutable. Location. - * @type \Google\Ads\GoogleAds\V15\Common\DeviceInfo $device - * Immutable. Device. - * @type \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo $ad_schedule - * Immutable. Ad Schedule. - * @type \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo $age_range - * Immutable. Age range. - * @type \Google\Ads\GoogleAds\V15\Common\GenderInfo $gender - * Immutable. Gender. - * @type \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo $income_range - * Immutable. Income range. - * @type \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo $parental_status - * Immutable. Parental status. - * @type \Google\Ads\GoogleAds\V15\Common\UserListInfo $user_list - * Immutable. User List. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo $youtube_video - * Immutable. YouTube Video. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $youtube_channel - * Immutable. YouTube Channel. - * @type \Google\Ads\GoogleAds\V15\Common\ProximityInfo $proximity - * Immutable. Proximity. - * @type \Google\Ads\GoogleAds\V15\Common\TopicInfo $topic - * Immutable. Topic. - * @type \Google\Ads\GoogleAds\V15\Common\ListingScopeInfo $listing_scope - * Immutable. Listing scope. - * @type \Google\Ads\GoogleAds\V15\Common\LanguageInfo $language - * Immutable. Language. - * @type \Google\Ads\GoogleAds\V15\Common\IpBlockInfo $ip_block - * Immutable. IpBlock. - * @type \Google\Ads\GoogleAds\V15\Common\ContentLabelInfo $content_label - * Immutable. ContentLabel. - * @type \Google\Ads\GoogleAds\V15\Common\CarrierInfo $carrier - * Immutable. Carrier. - * @type \Google\Ads\GoogleAds\V15\Common\UserInterestInfo $user_interest - * Immutable. User Interest. - * @type \Google\Ads\GoogleAds\V15\Common\WebpageInfo $webpage - * Immutable. Webpage. - * @type \Google\Ads\GoogleAds\V15\Common\OperatingSystemVersionInfo $operating_system_version - * Immutable. Operating system version. - * @type \Google\Ads\GoogleAds\V15\Common\MobileDeviceInfo $mobile_device - * Immutable. Mobile Device. - * @type \Google\Ads\GoogleAds\V15\Common\LocationGroupInfo $location_group - * Immutable. Location Group - * @type \Google\Ads\GoogleAds\V15\Common\CustomAffinityInfo $custom_affinity - * Immutable. Custom Affinity. - * @type \Google\Ads\GoogleAds\V15\Common\CustomAudienceInfo $custom_audience - * Immutable. Custom Audience - * @type \Google\Ads\GoogleAds\V15\Common\CombinedAudienceInfo $combined_audience - * Immutable. Combined Audience. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordThemeInfo $keyword_theme - * Immutable. Smart Campaign Keyword Theme. - * @type \Google\Ads\GoogleAds\V15\Common\LocalServiceIdInfo $local_service_id - * Immutable. GLS service campaign criterion. - * @type \Google\Ads\GoogleAds\V15\Common\BrandListInfo $brand_list - * Immutable. Brand list campaign criterion. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignCriterion::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign criterion. - * Campaign criterion resource names have the form: - * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign criterion. - * Campaign criterion resource names have the form: - * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The campaign to which the criterion belongs. - * - * Generated from protobuf field optional string campaign = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Immutable. The campaign to which the criterion belongs. - * - * Generated from protobuf field optional string campaign = 37 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. The ID of the criterion. - * This field is ignored during mutate. - * - * Generated from protobuf field optional int64 criterion_id = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCriterionId() - { - return isset($this->criterion_id) ? $this->criterion_id : 0; - } - - public function hasCriterionId() - { - return isset($this->criterion_id); - } - - public function clearCriterionId() - { - unset($this->criterion_id); - } - - /** - * Output only. The ID of the criterion. - * This field is ignored during mutate. - * - * Generated from protobuf field optional int64 criterion_id = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->criterion_id = $var; - - return $this; - } - - /** - * Output only. The display name of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field string display_name = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Output only. The display name of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field string display_name = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The modifier for the bids when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * Use 0 to opt out of a Device type. - * - * Generated from protobuf field optional float bid_modifier = 39; - * @return float - */ - public function getBidModifier() - { - return isset($this->bid_modifier) ? $this->bid_modifier : 0.0; - } - - public function hasBidModifier() - { - return isset($this->bid_modifier); - } - - public function clearBidModifier() - { - unset($this->bid_modifier); - } - - /** - * The modifier for the bids when the criterion matches. The modifier must be - * in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - * Use 0 to opt out of a Device type. - * - * Generated from protobuf field optional float bid_modifier = 39; - * @param float $var - * @return $this - */ - public function setBidModifier($var) - { - GPBUtil::checkFloat($var); - $this->bid_modifier = $var; - - return $this; - } - - /** - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * - * Generated from protobuf field optional bool negative = 40 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getNegative() - { - return isset($this->negative) ? $this->negative : false; - } - - public function hasNegative() - { - return isset($this->negative); - } - - public function clearNegative() - { - unset($this->negative); - } - - /** - * Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - * - * Generated from protobuf field optional bool negative = 40 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setNegative($var) - { - GPBUtil::checkBool($var); - $this->negative = $var; - - return $this; - } - - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CriterionTypeEnum\CriterionType::class); - $this->type = $var; - - return $this; - } - - /** - * The status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus status = 35; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus status = 35; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CampaignCriterionStatusEnum\CampaignCriterionStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. Keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getKeyword() - { - return $this->readOneof(8); - } - - public function hasKeyword() - { - return $this->hasOneof(8); - } - - /** - * Immutable. Keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Immutable. Placement. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PlacementInfo placement = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\PlacementInfo|null - */ - public function getPlacement() - { - return $this->readOneof(9); - } - - public function hasPlacement() - { - return $this->hasOneof(9); - } - - /** - * Immutable. Placement. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PlacementInfo placement = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\PlacementInfo $var - * @return $this - */ - public function setPlacement($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PlacementInfo::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Immutable. Mobile app category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppCategoryInfo mobile_app_category = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo|null - */ - public function getMobileAppCategory() - { - return $this->readOneof(10); - } - - public function hasMobileAppCategory() - { - return $this->hasOneof(10); - } - - /** - * Immutable. Mobile app category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppCategoryInfo mobile_app_category = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo $var - * @return $this - */ - public function setMobileAppCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Immutable. Mobile application. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileApplicationInfo mobile_application = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo|null - */ - public function getMobileApplication() - { - return $this->readOneof(11); - } - - public function hasMobileApplication() - { - return $this->hasOneof(11); - } - - /** - * Immutable. Mobile application. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileApplicationInfo mobile_application = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo $var - * @return $this - */ - public function setMobileApplication($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Immutable. Location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo location = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\LocationInfo|null - */ - public function getLocation() - { - return $this->readOneof(12); - } - - public function hasLocation() - { - return $this->hasOneof(12); - } - - /** - * Immutable. Location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo location = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\LocationInfo $var - * @return $this - */ - public function setLocation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * Immutable. Device. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DeviceInfo device = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\DeviceInfo|null - */ - public function getDevice() - { - return $this->readOneof(13); - } - - public function hasDevice() - { - return $this->hasOneof(13); - } - - /** - * Immutable. Device. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DeviceInfo device = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\DeviceInfo $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DeviceInfo::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * Immutable. Ad Schedule. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule = 15 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo|null - */ - public function getAdSchedule() - { - return $this->readOneof(15); - } - - public function hasAdSchedule() - { - return $this->hasOneof(15); - } - - /** - * Immutable. Ad Schedule. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule = 15 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo $var - * @return $this - */ - public function setAdSchedule($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Immutable. Age range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AgeRangeInfo age_range = 16 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo|null - */ - public function getAgeRange() - { - return $this->readOneof(16); - } - - public function hasAgeRange() - { - return $this->hasOneof(16); - } - - /** - * Immutable. Age range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AgeRangeInfo age_range = 16 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo $var - * @return $this - */ - public function setAgeRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo::class); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * Immutable. Gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 17 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\GenderInfo|null - */ - public function getGender() - { - return $this->readOneof(17); - } - - public function hasGender() - { - return $this->hasOneof(17); - } - - /** - * Immutable. Gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 17 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\GenderInfo $var - * @return $this - */ - public function setGender($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\GenderInfo::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * Immutable. Income range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.IncomeRangeInfo income_range = 18 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo|null - */ - public function getIncomeRange() - { - return $this->readOneof(18); - } - - public function hasIncomeRange() - { - return $this->hasOneof(18); - } - - /** - * Immutable. Income range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.IncomeRangeInfo income_range = 18 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo $var - * @return $this - */ - public function setIncomeRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * Immutable. Parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 19 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo|null - */ - public function getParentalStatus() - { - return $this->readOneof(19); - } - - public function hasParentalStatus() - { - return $this->hasOneof(19); - } - - /** - * Immutable. Parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 19 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo $var - * @return $this - */ - public function setParentalStatus($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo::class); - $this->writeOneof(19, $var); - - return $this; - } - - /** - * Immutable. User List. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListInfo user_list = 22 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\UserListInfo|null - */ - public function getUserList() - { - return $this->readOneof(22); - } - - public function hasUserList() - { - return $this->hasOneof(22); - } - - /** - * Immutable. User List. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserListInfo user_list = 22 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\UserListInfo $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserListInfo::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * Immutable. YouTube Video. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeVideoInfo youtube_video = 20 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo|null - */ - public function getYoutubeVideo() - { - return $this->readOneof(20); - } - - public function hasYoutubeVideo() - { - return $this->hasOneof(20); - } - - /** - * Immutable. YouTube Video. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeVideoInfo youtube_video = 20 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo $var - * @return $this - */ - public function setYoutubeVideo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * Immutable. YouTube Channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 21 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo|null - */ - public function getYoutubeChannel() - { - return $this->readOneof(21); - } - - public function hasYoutubeChannel() - { - return $this->hasOneof(21); - } - - /** - * Immutable. YouTube Channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 21 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $var - * @return $this - */ - public function setYoutubeChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * Immutable. Proximity. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProximityInfo proximity = 23 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ProximityInfo|null - */ - public function getProximity() - { - return $this->readOneof(23); - } - - public function hasProximity() - { - return $this->hasOneof(23); - } - - /** - * Immutable. Proximity. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProximityInfo proximity = 23 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ProximityInfo $var - * @return $this - */ - public function setProximity($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProximityInfo::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * Immutable. Topic. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TopicInfo topic = 24 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\TopicInfo|null - */ - public function getTopic() - { - return $this->readOneof(24); - } - - public function hasTopic() - { - return $this->hasOneof(24); - } - - /** - * Immutable. Topic. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TopicInfo topic = 24 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\TopicInfo $var - * @return $this - */ - public function setTopic($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TopicInfo::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * Immutable. Listing scope. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ListingScopeInfo listing_scope = 25 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ListingScopeInfo|null - */ - public function getListingScope() - { - return $this->readOneof(25); - } - - public function hasListingScope() - { - return $this->hasOneof(25); - } - - /** - * Immutable. Listing scope. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ListingScopeInfo listing_scope = 25 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ListingScopeInfo $var - * @return $this - */ - public function setListingScope($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ListingScopeInfo::class); - $this->writeOneof(25, $var); - - return $this; - } - - /** - * Immutable. Language. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LanguageInfo language = 26 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\LanguageInfo|null - */ - public function getLanguage() - { - return $this->readOneof(26); - } - - public function hasLanguage() - { - return $this->hasOneof(26); - } - - /** - * Immutable. Language. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LanguageInfo language = 26 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\LanguageInfo $var - * @return $this - */ - public function setLanguage($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LanguageInfo::class); - $this->writeOneof(26, $var); - - return $this; - } - - /** - * Immutable. IpBlock. - * - * Generated from protobuf field .google.ads.googleads.v15.common.IpBlockInfo ip_block = 27 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\IpBlockInfo|null - */ - public function getIpBlock() - { - return $this->readOneof(27); - } - - public function hasIpBlock() - { - return $this->hasOneof(27); - } - - /** - * Immutable. IpBlock. - * - * Generated from protobuf field .google.ads.googleads.v15.common.IpBlockInfo ip_block = 27 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\IpBlockInfo $var - * @return $this - */ - public function setIpBlock($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\IpBlockInfo::class); - $this->writeOneof(27, $var); - - return $this; - } - - /** - * Immutable. ContentLabel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ContentLabelInfo content_label = 28 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ContentLabelInfo|null - */ - public function getContentLabel() - { - return $this->readOneof(28); - } - - public function hasContentLabel() - { - return $this->hasOneof(28); - } - - /** - * Immutable. ContentLabel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ContentLabelInfo content_label = 28 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ContentLabelInfo $var - * @return $this - */ - public function setContentLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ContentLabelInfo::class); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * Immutable. Carrier. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CarrierInfo carrier = 29 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CarrierInfo|null - */ - public function getCarrier() - { - return $this->readOneof(29); - } - - public function hasCarrier() - { - return $this->hasOneof(29); - } - - /** - * Immutable. Carrier. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CarrierInfo carrier = 29 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CarrierInfo $var - * @return $this - */ - public function setCarrier($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CarrierInfo::class); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * Immutable. User Interest. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserInterestInfo user_interest = 30 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\UserInterestInfo|null - */ - public function getUserInterest() - { - return $this->readOneof(30); - } - - public function hasUserInterest() - { - return $this->hasOneof(30); - } - - /** - * Immutable. User Interest. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserInterestInfo user_interest = 30 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\UserInterestInfo $var - * @return $this - */ - public function setUserInterest($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserInterestInfo::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * Immutable. Webpage. - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebpageInfo webpage = 31 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\WebpageInfo|null - */ - public function getWebpage() - { - return $this->readOneof(31); - } - - public function hasWebpage() - { - return $this->hasOneof(31); - } - - /** - * Immutable. Webpage. - * - * Generated from protobuf field .google.ads.googleads.v15.common.WebpageInfo webpage = 31 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\WebpageInfo $var - * @return $this - */ - public function setWebpage($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\WebpageInfo::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * Immutable. Operating system version. - * - * Generated from protobuf field .google.ads.googleads.v15.common.OperatingSystemVersionInfo operating_system_version = 32 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\OperatingSystemVersionInfo|null - */ - public function getOperatingSystemVersion() - { - return $this->readOneof(32); - } - - public function hasOperatingSystemVersion() - { - return $this->hasOneof(32); - } - - /** - * Immutable. Operating system version. - * - * Generated from protobuf field .google.ads.googleads.v15.common.OperatingSystemVersionInfo operating_system_version = 32 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\OperatingSystemVersionInfo $var - * @return $this - */ - public function setOperatingSystemVersion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\OperatingSystemVersionInfo::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * Immutable. Mobile Device. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileDeviceInfo mobile_device = 33 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileDeviceInfo|null - */ - public function getMobileDevice() - { - return $this->readOneof(33); - } - - public function hasMobileDevice() - { - return $this->hasOneof(33); - } - - /** - * Immutable. Mobile Device. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileDeviceInfo mobile_device = 33 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileDeviceInfo $var - * @return $this - */ - public function setMobileDevice($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileDeviceInfo::class); - $this->writeOneof(33, $var); - - return $this; - } - - /** - * Immutable. Location Group - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationGroupInfo location_group = 34 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\LocationGroupInfo|null - */ - public function getLocationGroup() - { - return $this->readOneof(34); - } - - public function hasLocationGroup() - { - return $this->hasOneof(34); - } - - /** - * Immutable. Location Group - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationGroupInfo location_group = 34 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\LocationGroupInfo $var - * @return $this - */ - public function setLocationGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationGroupInfo::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * Immutable. Custom Affinity. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAffinityInfo custom_affinity = 36 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomAffinityInfo|null - */ - public function getCustomAffinity() - { - return $this->readOneof(36); - } - - public function hasCustomAffinity() - { - return $this->hasOneof(36); - } - - /** - * Immutable. Custom Affinity. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAffinityInfo custom_affinity = 36 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomAffinityInfo $var - * @return $this - */ - public function setCustomAffinity($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomAffinityInfo::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * Immutable. Custom Audience - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAudienceInfo custom_audience = 41 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomAudienceInfo|null - */ - public function getCustomAudience() - { - return $this->readOneof(41); - } - - public function hasCustomAudience() - { - return $this->hasOneof(41); - } - - /** - * Immutable. Custom Audience - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomAudienceInfo custom_audience = 41 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomAudienceInfo $var - * @return $this - */ - public function setCustomAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomAudienceInfo::class); - $this->writeOneof(41, $var); - - return $this; - } - - /** - * Immutable. Combined Audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CombinedAudienceInfo combined_audience = 42 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CombinedAudienceInfo|null - */ - public function getCombinedAudience() - { - return $this->readOneof(42); - } - - public function hasCombinedAudience() - { - return $this->hasOneof(42); - } - - /** - * Immutable. Combined Audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CombinedAudienceInfo combined_audience = 42 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CombinedAudienceInfo $var - * @return $this - */ - public function setCombinedAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CombinedAudienceInfo::class); - $this->writeOneof(42, $var); - - return $this; - } - - /** - * Immutable. Smart Campaign Keyword Theme. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordThemeInfo keyword_theme = 45 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordThemeInfo|null - */ - public function getKeywordTheme() - { - return $this->readOneof(45); - } - - public function hasKeywordTheme() - { - return $this->hasOneof(45); - } - - /** - * Immutable. Smart Campaign Keyword Theme. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordThemeInfo keyword_theme = 45 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordThemeInfo $var - * @return $this - */ - public function setKeywordTheme($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordThemeInfo::class); - $this->writeOneof(45, $var); - - return $this; - } - - /** - * Immutable. GLS service campaign criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocalServiceIdInfo local_service_id = 46 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\LocalServiceIdInfo|null - */ - public function getLocalServiceId() - { - return $this->readOneof(46); - } - - public function hasLocalServiceId() - { - return $this->hasOneof(46); - } - - /** - * Immutable. GLS service campaign criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocalServiceIdInfo local_service_id = 46 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\LocalServiceIdInfo $var - * @return $this - */ - public function setLocalServiceId($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocalServiceIdInfo::class); - $this->writeOneof(46, $var); - - return $this; - } - - /** - * Immutable. Brand list campaign criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BrandListInfo brand_list = 47 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\BrandListInfo|null - */ - public function getBrandList() - { - return $this->readOneof(47); - } - - public function hasBrandList() - { - return $this->hasOneof(47); - } - - /** - * Immutable. Brand list campaign criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BrandListInfo brand_list = 47 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\BrandListInfo $var - * @return $this - */ - public function setBrandList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BrandListInfo::class); - $this->writeOneof(47, $var); - - return $this; - } - - /** - * @return string - */ - public function getCriterion() - { - return $this->whichOneof("criterion"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignCustomizer.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignCustomizer.php deleted file mode 100644 index 569e058c3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignCustomizer.php +++ /dev/null @@ -1,230 +0,0 @@ -google.ads.googleads.v15.resources.CampaignCustomizer - */ -class CampaignCustomizer extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign customizer. - * Campaign customizer resource names have the form: - * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The campaign to which the customizer attribute is linked. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Required. Immutable. The customizer attribute which is linked to the - * campaign. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $customizer_attribute = ''; - /** - * Output only. The status of the campaign customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign customizer. - * Campaign customizer resource names have the form: - * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - * @type string $campaign - * Immutable. The campaign to which the customizer attribute is linked. - * @type string $customizer_attribute - * Required. Immutable. The customizer attribute which is linked to the - * campaign. - * @type int $status - * Output only. The status of the campaign customizer. - * @type \Google\Ads\GoogleAds\V15\Common\CustomizerValue $value - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign customizer. - * Campaign customizer resource names have the form: - * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign customizer. - * Campaign customizer resource names have the form: - * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The campaign to which the customizer attribute is linked. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Immutable. The campaign to which the customizer attribute is linked. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Required. Immutable. The customizer attribute which is linked to the - * campaign. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomizerAttribute() - { - return $this->customizer_attribute; - } - - /** - * Required. Immutable. The customizer attribute which is linked to the - * campaign. - * - * Generated from protobuf field string customizer_attribute = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomizerAttribute($var) - { - GPBUtil::checkString($var, True); - $this->customizer_attribute = $var; - - return $this; - } - - /** - * Output only. The status of the campaign customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the campaign customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomizerValueStatusEnum\CustomizerValueStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomizerValue|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomizerValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomizerValue::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignDraft.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignDraft.php deleted file mode 100644 index 1bdf657d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignDraft.php +++ /dev/null @@ -1,417 +0,0 @@ -google.ads.googleads.v15.resources.CampaignDraft - */ -class CampaignDraft extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign draft. - * Campaign draft resource names have the form: - * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the draft. - * This field is read-only. - * - * Generated from protobuf field optional int64 draft_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $draft_id = null; - /** - * Immutable. The base campaign to which the draft belongs. - * - * Generated from protobuf field optional string base_campaign = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $base_campaign = null; - /** - * The name of the campaign draft. - * This field is required and should not be empty when creating new - * campaign drafts. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 11; - */ - protected $name = null; - /** - * Output only. Resource name of the Campaign that results from overlaying the - * draft changes onto the base campaign. - * This field is read-only. - * - * Generated from protobuf field optional string draft_campaign = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $draft_campaign = null; - /** - * Output only. The status of the campaign draft. This field is read-only. - * When a new campaign draft is added, the status defaults to PROPOSED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignDraftStatusEnum.CampaignDraftStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. Whether there is an experiment based on this draft currently - * serving. - * - * Generated from protobuf field optional bool has_experiment_running = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $has_experiment_running = null; - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion of draft promotion. This is only set if the - * draft promotion is in progress or finished. - * - * Generated from protobuf field optional string long_running_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $long_running_operation = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign draft. - * Campaign draft resource names have the form: - * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - * @type int|string $draft_id - * Output only. The ID of the draft. - * This field is read-only. - * @type string $base_campaign - * Immutable. The base campaign to which the draft belongs. - * @type string $name - * The name of the campaign draft. - * This field is required and should not be empty when creating new - * campaign drafts. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * @type string $draft_campaign - * Output only. Resource name of the Campaign that results from overlaying the - * draft changes onto the base campaign. - * This field is read-only. - * @type int $status - * Output only. The status of the campaign draft. This field is read-only. - * When a new campaign draft is added, the status defaults to PROPOSED. - * @type bool $has_experiment_running - * Output only. Whether there is an experiment based on this draft currently - * serving. - * @type string $long_running_operation - * Output only. The resource name of the long-running operation that can be - * used to poll for completion of draft promotion. This is only set if the - * draft promotion is in progress or finished. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignDraft::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign draft. - * Campaign draft resource names have the form: - * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign draft. - * Campaign draft resource names have the form: - * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the draft. - * This field is read-only. - * - * Generated from protobuf field optional int64 draft_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getDraftId() - { - return isset($this->draft_id) ? $this->draft_id : 0; - } - - public function hasDraftId() - { - return isset($this->draft_id); - } - - public function clearDraftId() - { - unset($this->draft_id); - } - - /** - * Output only. The ID of the draft. - * This field is read-only. - * - * Generated from protobuf field optional int64 draft_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setDraftId($var) - { - GPBUtil::checkInt64($var); - $this->draft_id = $var; - - return $this; - } - - /** - * Immutable. The base campaign to which the draft belongs. - * - * Generated from protobuf field optional string base_campaign = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getBaseCampaign() - { - return isset($this->base_campaign) ? $this->base_campaign : ''; - } - - public function hasBaseCampaign() - { - return isset($this->base_campaign); - } - - public function clearBaseCampaign() - { - unset($this->base_campaign); - } - - /** - * Immutable. The base campaign to which the draft belongs. - * - * Generated from protobuf field optional string base_campaign = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setBaseCampaign($var) - { - GPBUtil::checkString($var, True); - $this->base_campaign = $var; - - return $this; - } - - /** - * The name of the campaign draft. - * This field is required and should not be empty when creating new - * campaign drafts. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 11; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the campaign draft. - * This field is required and should not be empty when creating new - * campaign drafts. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field optional string name = 11; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Resource name of the Campaign that results from overlaying the - * draft changes onto the base campaign. - * This field is read-only. - * - * Generated from protobuf field optional string draft_campaign = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getDraftCampaign() - { - return isset($this->draft_campaign) ? $this->draft_campaign : ''; - } - - public function hasDraftCampaign() - { - return isset($this->draft_campaign); - } - - public function clearDraftCampaign() - { - unset($this->draft_campaign); - } - - /** - * Output only. Resource name of the Campaign that results from overlaying the - * draft changes onto the base campaign. - * This field is read-only. - * - * Generated from protobuf field optional string draft_campaign = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setDraftCampaign($var) - { - GPBUtil::checkString($var, True); - $this->draft_campaign = $var; - - return $this; - } - - /** - * Output only. The status of the campaign draft. This field is read-only. - * When a new campaign draft is added, the status defaults to PROPOSED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignDraftStatusEnum.CampaignDraftStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the campaign draft. This field is read-only. - * When a new campaign draft is added, the status defaults to PROPOSED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignDraftStatusEnum.CampaignDraftStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CampaignDraftStatusEnum\CampaignDraftStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. Whether there is an experiment based on this draft currently - * serving. - * - * Generated from protobuf field optional bool has_experiment_running = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getHasExperimentRunning() - { - return isset($this->has_experiment_running) ? $this->has_experiment_running : false; - } - - public function hasHasExperimentRunning() - { - return isset($this->has_experiment_running); - } - - public function clearHasExperimentRunning() - { - unset($this->has_experiment_running); - } - - /** - * Output only. Whether there is an experiment based on this draft currently - * serving. - * - * Generated from protobuf field optional bool has_experiment_running = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setHasExperimentRunning($var) - { - GPBUtil::checkBool($var); - $this->has_experiment_running = $var; - - return $this; - } - - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion of draft promotion. This is only set if the - * draft promotion is in progress or finished. - * - * Generated from protobuf field optional string long_running_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLongRunningOperation() - { - return isset($this->long_running_operation) ? $this->long_running_operation : ''; - } - - public function hasLongRunningOperation() - { - return isset($this->long_running_operation); - } - - public function clearLongRunningOperation() - { - unset($this->long_running_operation); - } - - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion of draft promotion. This is only set if the - * draft promotion is in progress or finished. - * - * Generated from protobuf field optional string long_running_operation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLongRunningOperation($var) - { - GPBUtil::checkString($var, True); - $this->long_running_operation = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignExtensionSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignExtensionSetting.php deleted file mode 100644 index d35c7a65d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignExtensionSetting.php +++ /dev/null @@ -1,241 +0,0 @@ -google.ads.googleads.v15.resources.CampaignExtensionSetting - */ -class CampaignExtensionSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign extension setting. - * CampaignExtensionSetting resource names have the form: - * `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The extension type of the customer extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $extension_type = 0; - /** - * Immutable. The resource name of the campaign. The linked extension feed - * items will serve under this campaign. Campaign resource names have the - * form: - * `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * The resource names of the extension feed items to serve under the campaign. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 7 [(.google.api.resource_reference) = { - */ - private $extension_feed_items; - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; - */ - protected $device = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign extension setting. - * CampaignExtensionSetting resource names have the form: - * `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - * @type int $extension_type - * Immutable. The extension type of the customer extension setting. - * @type string $campaign - * Immutable. The resource name of the campaign. The linked extension feed - * items will serve under this campaign. Campaign resource names have the - * form: - * `customers/{customer_id}/campaigns/{campaign_id}` - * @type array|\Google\Protobuf\Internal\RepeatedField $extension_feed_items - * The resource names of the extension feed items to serve under the campaign. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * @type int $device - * The device for which the extensions will serve. Optional. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign extension setting. - * CampaignExtensionSetting resource names have the form: - * `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign extension setting. - * CampaignExtensionSetting resource names have the form: - * `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The extension type of the customer extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getExtensionType() - { - return $this->extension_type; - } - - /** - * Immutable. The extension type of the customer extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setExtensionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExtensionTypeEnum\ExtensionType::class); - $this->extension_type = $var; - - return $this; - } - - /** - * Immutable. The resource name of the campaign. The linked extension feed - * items will serve under this campaign. Campaign resource names have the - * form: - * `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Immutable. The resource name of the campaign. The linked extension feed - * items will serve under this campaign. Campaign resource names have the - * form: - * `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * The resource names of the extension feed items to serve under the campaign. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 7 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExtensionFeedItems() - { - return $this->extension_feed_items; - } - - /** - * The resource names of the extension feed items to serve under the campaign. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 7 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExtensionFeedItems($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->extension_feed_items = $arr; - - return $this; - } - - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; - * @return int - */ - public function getDevice() - { - return $this->device; - } - - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; - * @param int $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExtensionSettingDeviceEnum\ExtensionSettingDevice::class); - $this->device = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignFeed.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignFeed.php deleted file mode 100644 index 27323a9e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignFeed.php +++ /dev/null @@ -1,291 +0,0 @@ -google.ads.googleads.v15.resources.CampaignFeed - */ -class CampaignFeed extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign feed. - * Campaign feed resource names have the form: - * `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The feed to which the CampaignFeed belongs. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed = null; - /** - * Immutable. The campaign to which the CampaignFeed belongs. - * - * Generated from protobuf field optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Indicates which placeholder types the feed may populate under the connected - * campaign. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - */ - private $placeholder_types; - /** - * Matching function associated with the CampaignFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 5; - */ - protected $matching_function = null; - /** - * Output only. Status of the campaign feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign feed. - * Campaign feed resource names have the form: - * `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * @type string $feed - * Immutable. The feed to which the CampaignFeed belongs. - * @type string $campaign - * Immutable. The campaign to which the CampaignFeed belongs. - * @type array|\Google\Protobuf\Internal\RepeatedField $placeholder_types - * Indicates which placeholder types the feed may populate under the connected - * campaign. Required. - * @type \Google\Ads\GoogleAds\V15\Common\MatchingFunction $matching_function - * Matching function associated with the CampaignFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * @type int $status - * Output only. Status of the campaign feed. - * This field is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignFeed::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign feed. - * Campaign feed resource names have the form: - * `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign feed. - * Campaign feed resource names have the form: - * `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The feed to which the CampaignFeed belongs. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeed() - { - return isset($this->feed) ? $this->feed : ''; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * Immutable. The feed to which the CampaignFeed belongs. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Immutable. The campaign to which the CampaignFeed belongs. - * - * Generated from protobuf field optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Immutable. The campaign to which the CampaignFeed belongs. - * - * Generated from protobuf field optional string campaign = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Indicates which placeholder types the feed may populate under the connected - * campaign. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPlaceholderTypes() - { - return $this->placeholder_types; - } - - /** - * Indicates which placeholder types the feed may populate under the connected - * campaign. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPlaceholderTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\PlaceholderTypeEnum\PlaceholderType::class); - $this->placeholder_types = $arr; - - return $this; - } - - /** - * Matching function associated with the CampaignFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 5; - * @return \Google\Ads\GoogleAds\V15\Common\MatchingFunction|null - */ - public function getMatchingFunction() - { - return $this->matching_function; - } - - public function hasMatchingFunction() - { - return isset($this->matching_function); - } - - public function clearMatchingFunction() - { - unset($this->matching_function); - } - - /** - * Matching function associated with the CampaignFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 5; - * @param \Google\Ads\GoogleAds\V15\Common\MatchingFunction $var - * @return $this - */ - public function setMatchingFunction($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MatchingFunction::class); - $this->matching_function = $var; - - return $this; - } - - /** - * Output only. Status of the campaign feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the campaign feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedLinkStatusEnum\FeedLinkStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignGroup.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignGroup.php deleted file mode 100644 index 43ea7298d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignGroup.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.resources.CampaignGroup - */ -class CampaignGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign group. - * Campaign group resource names have the form: - * `customers/{customer_id}/campaignGroups/{campaign_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the campaign group. - * - * Generated from protobuf field int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * The name of the campaign group. - * This field is required and should not be empty when creating new campaign - * groups. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field string name = 4; - */ - protected $name = ''; - /** - * The status of the campaign group. - * When a new campaign group is added, the status defaults to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign group. - * Campaign group resource names have the form: - * `customers/{customer_id}/campaignGroups/{campaign_group_id}` - * @type int|string $id - * Output only. The ID of the campaign group. - * @type string $name - * The name of the campaign group. - * This field is required and should not be empty when creating new campaign - * groups. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * @type int $status - * The status of the campaign group. - * When a new campaign group is added, the status defaults to ENABLED. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignGroup::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign group. - * Campaign group resource names have the form: - * `customers/{customer_id}/campaignGroups/{campaign_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign group. - * Campaign group resource names have the form: - * `customers/{customer_id}/campaignGroups/{campaign_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the campaign group. - * - * Generated from protobuf field int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the campaign group. - * - * Generated from protobuf field int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the campaign group. - * This field is required and should not be empty when creating new campaign - * groups. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field string name = 4; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The name of the campaign group. - * This field is required and should not be empty when creating new campaign - * groups. - * It must not contain any null (code point 0x0), NL line feed - * (code point 0xA) or carriage return (code point 0xD) characters. - * - * Generated from protobuf field string name = 4; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The status of the campaign group. - * When a new campaign group is added, the status defaults to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the campaign group. - * When a new campaign group is added, the status defaults to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CampaignGroupStatusEnum\CampaignGroupStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignLabel.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignLabel.php deleted file mode 100644 index fcb69dacf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignLabel.php +++ /dev/null @@ -1,163 +0,0 @@ -google.ads.googleads.v15.resources.CampaignLabel - */ -class CampaignLabel extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the resource. - * Campaign label resource names have the form: - * `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The campaign to which the label is attached. - * - * Generated from protobuf field optional string campaign = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Immutable. The label assigned to the campaign. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $label = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Name of the resource. - * Campaign label resource names have the form: - * `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - * @type string $campaign - * Immutable. The campaign to which the label is attached. - * @type string $label - * Immutable. The label assigned to the campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignLabel::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the resource. - * Campaign label resource names have the form: - * `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Name of the resource. - * Campaign label resource names have the form: - * `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The campaign to which the label is attached. - * - * Generated from protobuf field optional string campaign = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Immutable. The campaign to which the label is attached. - * - * Generated from protobuf field optional string campaign = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Immutable. The label assigned to the campaign. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getLabel() - { - return isset($this->label) ? $this->label : ''; - } - - public function hasLabel() - { - return isset($this->label); - } - - public function clearLabel() - { - unset($this->label); - } - - /** - * Immutable. The label assigned to the campaign. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setLabel($var) - { - GPBUtil::checkString($var, True); - $this->label = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignLifecycleGoal.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignLifecycleGoal.php deleted file mode 100644 index 4d8177225..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignLifecycleGoal.php +++ /dev/null @@ -1,157 +0,0 @@ -google.ads.googleads.v15.resources.CampaignLifecycleGoal - */ -class CampaignLifecycleGoal extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer lifecycle goal of a campaign. - * `customers/{customer_id}/campaignLifecycleGoal/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The campaign where the goal is attached. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Output only. The customer acquisition goal settings for the campaign. The - * customer acquisition goal is described in this article: - * https://support.google.com/google-ads/answer/12080169 - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAcquisitionGoalSettings customer_acquisition_goal_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $customer_acquisition_goal_settings = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer lifecycle goal of a campaign. - * `customers/{customer_id}/campaignLifecycleGoal/{campaign_id}` - * @type string $campaign - * Output only. The campaign where the goal is attached. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAcquisitionGoalSettings $customer_acquisition_goal_settings - * Output only. The customer acquisition goal settings for the campaign. The - * customer acquisition goal is described in this article: - * https://support.google.com/google-ads/answer/12080169 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer lifecycle goal of a campaign. - * `customers/{customer_id}/campaignLifecycleGoal/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer lifecycle goal of a campaign. - * `customers/{customer_id}/campaignLifecycleGoal/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The campaign where the goal is attached. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Output only. The campaign where the goal is attached. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. The customer acquisition goal settings for the campaign. The - * customer acquisition goal is described in this article: - * https://support.google.com/google-ads/answer/12080169 - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAcquisitionGoalSettings customer_acquisition_goal_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAcquisitionGoalSettings|null - */ - public function getCustomerAcquisitionGoalSettings() - { - return $this->customer_acquisition_goal_settings; - } - - public function hasCustomerAcquisitionGoalSettings() - { - return isset($this->customer_acquisition_goal_settings); - } - - public function clearCustomerAcquisitionGoalSettings() - { - unset($this->customer_acquisition_goal_settings); - } - - /** - * Output only. The customer acquisition goal settings for the campaign. The - * customer acquisition goal is described in this article: - * https://support.google.com/google-ads/answer/12080169 - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAcquisitionGoalSettings customer_acquisition_goal_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAcquisitionGoalSettings $var - * @return $this - */ - public function setCustomerAcquisitionGoalSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAcquisitionGoalSettings::class); - $this->customer_acquisition_goal_settings = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignSearchTermInsight.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignSearchTermInsight.php deleted file mode 100644 index d032efc38..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignSearchTermInsight.php +++ /dev/null @@ -1,212 +0,0 @@ -google.ads.googleads.v15.resources.CampaignSearchTermInsight - */ -class CampaignSearchTermInsight extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the campaign level search term insight. - * Campaign level search term insight resource names have the form: - * `customers/{customer_id}/campaignSearchTermInsights/{campaign_id}~{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The label for the search category. An empty string denotes the - * catch-all category for search terms that didn't fit into another category. - * - * Generated from protobuf field optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category_label = null; - /** - * Output only. The ID of the insight. - * - * Generated from protobuf field optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The ID of the campaign. - * - * Generated from protobuf field optional int64 campaign_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the campaign level search term insight. - * Campaign level search term insight resource names have the form: - * `customers/{customer_id}/campaignSearchTermInsights/{campaign_id}~{category_id}` - * @type string $category_label - * Output only. The label for the search category. An empty string denotes the - * catch-all category for search terms that didn't fit into another category. - * @type int|string $id - * Output only. The ID of the insight. - * @type int|string $campaign_id - * Output only. The ID of the campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignSearchTermInsight::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the campaign level search term insight. - * Campaign level search term insight resource names have the form: - * `customers/{customer_id}/campaignSearchTermInsights/{campaign_id}~{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the campaign level search term insight. - * Campaign level search term insight resource names have the form: - * `customers/{customer_id}/campaignSearchTermInsights/{campaign_id}~{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The label for the search category. An empty string denotes the - * catch-all category for search terms that didn't fit into another category. - * - * Generated from protobuf field optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCategoryLabel() - { - return isset($this->category_label) ? $this->category_label : ''; - } - - public function hasCategoryLabel() - { - return isset($this->category_label); - } - - public function clearCategoryLabel() - { - unset($this->category_label); - } - - /** - * Output only. The label for the search category. An empty string denotes the - * catch-all category for search terms that didn't fit into another category. - * - * Generated from protobuf field optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCategoryLabel($var) - { - GPBUtil::checkString($var, True); - $this->category_label = $var; - - return $this; - } - - /** - * Output only. The ID of the insight. - * - * Generated from protobuf field optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the insight. - * - * Generated from protobuf field optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The ID of the campaign. - * - * Generated from protobuf field optional int64 campaign_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCampaignId() - { - return isset($this->campaign_id) ? $this->campaign_id : 0; - } - - public function hasCampaignId() - { - return isset($this->campaign_id); - } - - public function clearCampaignId() - { - unset($this->campaign_id); - } - - /** - * Output only. The ID of the campaign. - * - * Generated from protobuf field optional int64 campaign_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCampaignId($var) - { - GPBUtil::checkInt64($var); - $this->campaign_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignSharedSet.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignSharedSet.php deleted file mode 100644 index d2fa25667..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignSharedSet.php +++ /dev/null @@ -1,218 +0,0 @@ -google.ads.googleads.v15.resources.CampaignSharedSet - */ -class CampaignSharedSet extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the campaign shared set. - * Campaign shared set resource names have the form: - * `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The campaign to which the campaign shared set belongs. - * - * Generated from protobuf field optional string campaign = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Immutable. The shared set associated with the campaign. This may be a - * negative keyword shared set of another customer. This customer should be a - * manager of the other customer, otherwise the campaign shared set will exist - * but have no serving effect. Only negative keyword shared sets can be - * associated with Shopping campaigns. Only negative placement shared sets can - * be associated with Display mobile app campaigns. - * - * Generated from protobuf field optional string shared_set = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $shared_set = null; - /** - * Output only. The status of this campaign shared set. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the campaign shared set. - * Campaign shared set resource names have the form: - * `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - * @type string $campaign - * Immutable. The campaign to which the campaign shared set belongs. - * @type string $shared_set - * Immutable. The shared set associated with the campaign. This may be a - * negative keyword shared set of another customer. This customer should be a - * manager of the other customer, otherwise the campaign shared set will exist - * but have no serving effect. Only negative keyword shared sets can be - * associated with Shopping campaigns. Only negative placement shared sets can - * be associated with Display mobile app campaigns. - * @type int $status - * Output only. The status of this campaign shared set. Read only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the campaign shared set. - * Campaign shared set resource names have the form: - * `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the campaign shared set. - * Campaign shared set resource names have the form: - * `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The campaign to which the campaign shared set belongs. - * - * Generated from protobuf field optional string campaign = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Immutable. The campaign to which the campaign shared set belongs. - * - * Generated from protobuf field optional string campaign = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Immutable. The shared set associated with the campaign. This may be a - * negative keyword shared set of another customer. This customer should be a - * manager of the other customer, otherwise the campaign shared set will exist - * but have no serving effect. Only negative keyword shared sets can be - * associated with Shopping campaigns. Only negative placement shared sets can - * be associated with Display mobile app campaigns. - * - * Generated from protobuf field optional string shared_set = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getSharedSet() - { - return isset($this->shared_set) ? $this->shared_set : ''; - } - - public function hasSharedSet() - { - return isset($this->shared_set); - } - - public function clearSharedSet() - { - unset($this->shared_set); - } - - /** - * Immutable. The shared set associated with the campaign. This may be a - * negative keyword shared set of another customer. This customer should be a - * manager of the other customer, otherwise the campaign shared set will exist - * but have no serving effect. Only negative keyword shared sets can be - * associated with Shopping campaigns. Only negative placement shared sets can - * be associated with Display mobile app campaigns. - * - * Generated from protobuf field optional string shared_set = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setSharedSet($var) - { - GPBUtil::checkString($var, True); - $this->shared_set = $var; - - return $this; - } - - /** - * Output only. The status of this campaign shared set. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of this campaign shared set. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CampaignSharedSetStatusEnum\CampaignSharedSetStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CampaignSimulation.php b/src/Google/Ads/GoogleAds/V15/Resources/CampaignSimulation.php deleted file mode 100644 index e5e1b9c00..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CampaignSimulation.php +++ /dev/null @@ -1,447 +0,0 @@ -google.ads.googleads.v15.resources.CampaignSimulation - */ -class CampaignSimulation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the campaign simulation. - * Campaign simulation resource names have the form: - * `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Campaign id of the simulation. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_id = 0; - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $modification_method = 0; - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field string start_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_date = ''; - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field string end_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_date = ''; - protected $point_list; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the campaign simulation. - * Campaign simulation resource names have the form: - * `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` - * @type int|string $campaign_id - * Output only. Campaign id of the simulation. - * @type int $type - * Output only. The field that the simulation modifies. - * @type int $modification_method - * Output only. How the simulation modifies the field. - * @type string $start_date - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * @type string $end_date - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * @type \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList $cpc_bid_point_list - * Output only. Simulation points if the simulation type is CPC_BID. - * @type \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList $target_cpa_point_list - * Output only. Simulation points if the simulation type is TARGET_CPA. - * @type \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList $target_roas_point_list - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * @type \Google\Ads\GoogleAds\V15\Common\TargetImpressionShareSimulationPointList $target_impression_share_point_list - * Output only. Simulation points if the simulation type is - * TARGET_IMPRESSION_SHARE. - * @type \Google\Ads\GoogleAds\V15\Common\BudgetSimulationPointList $budget_point_list - * Output only. Simulation points if the simulation type is BUDGET. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignSimulation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the campaign simulation. - * Campaign simulation resource names have the form: - * `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the campaign simulation. - * Campaign simulation resource names have the form: - * `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Campaign id of the simulation. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCampaignId() - { - return $this->campaign_id; - } - - /** - * Output only. Campaign id of the simulation. - * - * Generated from protobuf field int64 campaign_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCampaignId($var) - { - GPBUtil::checkInt64($var); - $this->campaign_id = $var; - - return $this; - } - - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The field that the simulation modifies. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SimulationTypeEnum\SimulationType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getModificationMethod() - { - return $this->modification_method; - } - - /** - * Output only. How the simulation modifies the field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setModificationMethod($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SimulationModificationMethodEnum\SimulationModificationMethod::class); - $this->modification_method = $var; - - return $this; - } - - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field string start_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getStartDate() - { - return $this->start_date; - } - - /** - * Output only. First day on which the simulation is based, in YYYY-MM-DD - * format. - * - * Generated from protobuf field string start_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field string end_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEndDate() - { - return $this->end_date; - } - - /** - * Output only. Last day on which the simulation is based, in YYYY-MM-DD - * format - * - * Generated from protobuf field string end_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is CPC_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList|null - */ - public function getCpcBidPointList() - { - return $this->readOneof(7); - } - - public function hasCpcBidPointList() - { - return $this->hasOneof(7); - } - - /** - * Output only. Simulation points if the simulation type is CPC_BID. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList $var - * @return $this - */ - public function setCpcBidPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CpcBidSimulationPointList::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is TARGET_CPA. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpaSimulationPointList target_cpa_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList|null - */ - public function getTargetCpaPointList() - { - return $this->readOneof(8); - } - - public function hasTargetCpaPointList() - { - return $this->hasOneof(8); - } - - /** - * Output only. Simulation points if the simulation type is TARGET_CPA. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetCpaSimulationPointList target_cpa_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList $var - * @return $this - */ - public function setTargetCpaPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetCpaSimulationPointList::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoasSimulationPointList target_roas_point_list = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList|null - */ - public function getTargetRoasPointList() - { - return $this->readOneof(9); - } - - public function hasTargetRoasPointList() - { - return $this->hasOneof(9); - } - - /** - * Output only. Simulation points if the simulation type is TARGET_ROAS. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetRoasSimulationPointList target_roas_point_list = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList $var - * @return $this - */ - public function setTargetRoasPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetRoasSimulationPointList::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is - * TARGET_IMPRESSION_SHARE. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetImpressionShareSimulationPointList target_impression_share_point_list = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\TargetImpressionShareSimulationPointList|null - */ - public function getTargetImpressionSharePointList() - { - return $this->readOneof(10); - } - - public function hasTargetImpressionSharePointList() - { - return $this->hasOneof(10); - } - - /** - * Output only. Simulation points if the simulation type is - * TARGET_IMPRESSION_SHARE. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TargetImpressionShareSimulationPointList target_impression_share_point_list = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\TargetImpressionShareSimulationPointList $var - * @return $this - */ - public function setTargetImpressionSharePointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TargetImpressionShareSimulationPointList::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Output only. Simulation points if the simulation type is BUDGET. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BudgetSimulationPointList budget_point_list = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\BudgetSimulationPointList|null - */ - public function getBudgetPointList() - { - return $this->readOneof(11); - } - - public function hasBudgetPointList() - { - return $this->hasOneof(11); - } - - /** - * Output only. Simulation points if the simulation type is BUDGET. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BudgetSimulationPointList budget_point_list = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\BudgetSimulationPointList $var - * @return $this - */ - public function setBudgetPointList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BudgetSimulationPointList::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * @return string - */ - public function getPointList() - { - return $this->whichOneof("point_list"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CarrierConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/CarrierConstant.php deleted file mode 100644 index 17bd09681..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CarrierConstant.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.resources.CarrierConstant - */ -class CarrierConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the carrier criterion. - * Carrier criterion resource names have the form: - * `carrierConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the carrier criterion. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The full name of the carrier in English. - * - * Generated from protobuf field optional string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The country code of the country where the carrier is located, - * for example, "AR", "FR", etc. - * - * Generated from protobuf field optional string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $country_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the carrier criterion. - * Carrier criterion resource names have the form: - * `carrierConstants/{criterion_id}` - * @type int|string $id - * Output only. The ID of the carrier criterion. - * @type string $name - * Output only. The full name of the carrier in English. - * @type string $country_code - * Output only. The country code of the country where the carrier is located, - * for example, "AR", "FR", etc. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CarrierConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the carrier criterion. - * Carrier criterion resource names have the form: - * `carrierConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the carrier criterion. - * Carrier criterion resource names have the form: - * `carrierConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the carrier criterion. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the carrier criterion. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The full name of the carrier in English. - * - * Generated from protobuf field optional string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. The full name of the carrier in English. - * - * Generated from protobuf field optional string name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The country code of the country where the carrier is located, - * for example, "AR", "FR", etc. - * - * Generated from protobuf field optional string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Output only. The country code of the country where the carrier is located, - * for example, "AR", "FR", etc. - * - * Generated from protobuf field optional string country_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ChangeEvent.php b/src/Google/Ads/GoogleAds/V15/Resources/ChangeEvent.php deleted file mode 100644 index d858aa66f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ChangeEvent.php +++ /dev/null @@ -1,596 +0,0 @@ -google.ads.googleads.v15.resources.ChangeEvent - */ -class ChangeEvent extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the change event. - * Change event resource names have the form: - * `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Time at which the change was committed on this resource. - * - * Generated from protobuf field string change_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $change_date_time = ''; - /** - * Output only. The type of the changed resource. This dictates what resource - * will be set in old_resource and new_resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $change_resource_type = 0; - /** - * Output only. The Simply resource this change occurred on. - * - * Generated from protobuf field string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $change_resource_name = ''; - /** - * Output only. Where the change was made through. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $client_type = 0; - /** - * Output only. The email of the user who made this change. - * - * Generated from protobuf field string user_email = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $user_email = ''; - /** - * Output only. The old resource before the change. Only changed fields will - * be populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent.ChangedResource old_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $old_resource = null; - /** - * Output only. The new resource after the change. Only changed fields will be - * populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent.ChangedResource new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $new_resource = null; - /** - * Output only. The operation on the changed resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $resource_change_operation = 0; - /** - * Output only. A list of fields that are changed in the returned resource. - * - * Generated from protobuf field .google.protobuf.FieldMask changed_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $changed_fields = null; - /** - * Output only. The Campaign affected by this change. - * - * Generated from protobuf field string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Output only. The AdGroup affected by this change. - * - * Generated from protobuf field string ad_group = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group = ''; - /** - * Output only. The Feed affected by this change. - * - * Generated from protobuf field string feed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $feed = ''; - /** - * Output only. The FeedItem affected by this change. - * - * Generated from protobuf field string feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $feed_item = ''; - /** - * Output only. The Asset affected by this change. - * - * Generated from protobuf field string asset = 20 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $asset = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the change event. - * Change event resource names have the form: - * `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` - * @type string $change_date_time - * Output only. Time at which the change was committed on this resource. - * @type int $change_resource_type - * Output only. The type of the changed resource. This dictates what resource - * will be set in old_resource and new_resource. - * @type string $change_resource_name - * Output only. The Simply resource this change occurred on. - * @type int $client_type - * Output only. Where the change was made through. - * @type string $user_email - * Output only. The email of the user who made this change. - * @type \Google\Ads\GoogleAds\V15\Resources\ChangeEvent\ChangedResource $old_resource - * Output only. The old resource before the change. Only changed fields will - * be populated. - * @type \Google\Ads\GoogleAds\V15\Resources\ChangeEvent\ChangedResource $new_resource - * Output only. The new resource after the change. Only changed fields will be - * populated. - * @type int $resource_change_operation - * Output only. The operation on the changed resource. - * @type \Google\Protobuf\FieldMask $changed_fields - * Output only. A list of fields that are changed in the returned resource. - * @type string $campaign - * Output only. The Campaign affected by this change. - * @type string $ad_group - * Output only. The AdGroup affected by this change. - * @type string $feed - * Output only. The Feed affected by this change. - * @type string $feed_item - * Output only. The FeedItem affected by this change. - * @type string $asset - * Output only. The Asset affected by this change. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ChangeEvent::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the change event. - * Change event resource names have the form: - * `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the change event. - * Change event resource names have the form: - * `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Time at which the change was committed on this resource. - * - * Generated from protobuf field string change_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getChangeDateTime() - { - return $this->change_date_time; - } - - /** - * Output only. Time at which the change was committed on this resource. - * - * Generated from protobuf field string change_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setChangeDateTime($var) - { - GPBUtil::checkString($var, True); - $this->change_date_time = $var; - - return $this; - } - - /** - * Output only. The type of the changed resource. This dictates what resource - * will be set in old_resource and new_resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getChangeResourceType() - { - return $this->change_resource_type; - } - - /** - * Output only. The type of the changed resource. This dictates what resource - * will be set in old_resource and new_resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setChangeResourceType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ChangeEventResourceTypeEnum\ChangeEventResourceType::class); - $this->change_resource_type = $var; - - return $this; - } - - /** - * Output only. The Simply resource this change occurred on. - * - * Generated from protobuf field string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getChangeResourceName() - { - return $this->change_resource_name; - } - - /** - * Output only. The Simply resource this change occurred on. - * - * Generated from protobuf field string change_resource_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setChangeResourceName($var) - { - GPBUtil::checkString($var, True); - $this->change_resource_name = $var; - - return $this; - } - - /** - * Output only. Where the change was made through. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getClientType() - { - return $this->client_type; - } - - /** - * Output only. Where the change was made through. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setClientType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ChangeClientTypeEnum\ChangeClientType::class); - $this->client_type = $var; - - return $this; - } - - /** - * Output only. The email of the user who made this change. - * - * Generated from protobuf field string user_email = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getUserEmail() - { - return $this->user_email; - } - - /** - * Output only. The email of the user who made this change. - * - * Generated from protobuf field string user_email = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setUserEmail($var) - { - GPBUtil::checkString($var, True); - $this->user_email = $var; - - return $this; - } - - /** - * Output only. The old resource before the change. Only changed fields will - * be populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent.ChangedResource old_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\ChangeEvent\ChangedResource|null - */ - public function getOldResource() - { - return $this->old_resource; - } - - public function hasOldResource() - { - return isset($this->old_resource); - } - - public function clearOldResource() - { - unset($this->old_resource); - } - - /** - * Output only. The old resource before the change. Only changed fields will - * be populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent.ChangedResource old_resource = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\ChangeEvent\ChangedResource $var - * @return $this - */ - public function setOldResource($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ChangeEvent\ChangedResource::class); - $this->old_resource = $var; - - return $this; - } - - /** - * Output only. The new resource after the change. Only changed fields will be - * populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent.ChangedResource new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\ChangeEvent\ChangedResource|null - */ - public function getNewResource() - { - return $this->new_resource; - } - - public function hasNewResource() - { - return isset($this->new_resource); - } - - public function clearNewResource() - { - unset($this->new_resource); - } - - /** - * Output only. The new resource after the change. Only changed fields will be - * populated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent.ChangedResource new_resource = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\ChangeEvent\ChangedResource $var - * @return $this - */ - public function setNewResource($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ChangeEvent\ChangedResource::class); - $this->new_resource = $var; - - return $this; - } - - /** - * Output only. The operation on the changed resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getResourceChangeOperation() - { - return $this->resource_change_operation; - } - - /** - * Output only. The operation on the changed resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setResourceChangeOperation($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResourceChangeOperationEnum\ResourceChangeOperation::class); - $this->resource_change_operation = $var; - - return $this; - } - - /** - * Output only. A list of fields that are changed in the returned resource. - * - * Generated from protobuf field .google.protobuf.FieldMask changed_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\FieldMask|null - */ - public function getChangedFields() - { - return $this->changed_fields; - } - - public function hasChangedFields() - { - return isset($this->changed_fields); - } - - public function clearChangedFields() - { - unset($this->changed_fields); - } - - /** - * Output only. A list of fields that are changed in the returned resource. - * - * Generated from protobuf field .google.protobuf.FieldMask changed_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setChangedFields($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->changed_fields = $var; - - return $this; - } - - /** - * Output only. The Campaign affected by this change. - * - * Generated from protobuf field string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Output only. The Campaign affected by this change. - * - * Generated from protobuf field string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. The AdGroup affected by this change. - * - * Generated from protobuf field string ad_group = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return $this->ad_group; - } - - /** - * Output only. The AdGroup affected by this change. - * - * Generated from protobuf field string ad_group = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Output only. The Feed affected by this change. - * - * Generated from protobuf field string feed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getFeed() - { - return $this->feed; - } - - /** - * Output only. The Feed affected by this change. - * - * Generated from protobuf field string feed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Output only. The FeedItem affected by this change. - * - * Generated from protobuf field string feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getFeedItem() - { - return $this->feed_item; - } - - /** - * Output only. The FeedItem affected by this change. - * - * Generated from protobuf field string feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeedItem($var) - { - GPBUtil::checkString($var, True); - $this->feed_item = $var; - - return $this; - } - - /** - * Output only. The Asset affected by this change. - * - * Generated from protobuf field string asset = 20 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * Output only. The Asset affected by this change. - * - * Generated from protobuf field string asset = 20 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ChangeEvent/ChangedResource.php b/src/Google/Ads/GoogleAds/V15/Resources/ChangeEvent/ChangedResource.php deleted file mode 100644 index 027203fbe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ChangeEvent/ChangedResource.php +++ /dev/null @@ -1,873 +0,0 @@ -google.ads.googleads.v15.resources.ChangeEvent.ChangedResource - */ -class ChangedResource extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Set if change_resource_type == AD. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad = null; - /** - * Output only. Set if change_resource_type == AD_GROUP. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group = null; - /** - * Output only. Set if change_resource_type == AD_GROUP_CRITERION. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group_criterion = null; - /** - * Output only. Set if change_resource_type == CAMPAIGN. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign = null; - /** - * Output only. Set if change_resource_type == CAMPAIGN_BUDGET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_budget = null; - /** - * Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group_bid_modifier = null; - /** - * Output only. Set if change_resource_type == CAMPAIGN_CRITERION. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_criterion = null; - /** - * Output only. Set if change_resource_type == FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed = null; - /** - * Output only. Set if change_resource_type == FEED_ITEM. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_item = null; - /** - * Output only. Set if change_resource_type == CAMPAIGN_FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_feed = null; - /** - * Output only. Set if change_resource_type == AD_GROUP_FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group_feed = null; - /** - * Output only. Set if change_resource_type == AD_GROUP_AD. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group_ad = null; - /** - * Output only. Set if change_resource_type == ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $asset = null; - /** - * Output only. Set if change_resource_type == CUSTOMER_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $customer_asset = null; - /** - * Output only. Set if change_resource_type == CAMPAIGN_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_asset = null; - /** - * Output only. Set if change_resource_type == AD_GROUP_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_group_asset = null; - /** - * Output only. Set if change_resource_type == ASSET_SET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $asset_set = null; - /** - * Output only. Set if change_resource_type == ASSET_SET_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $asset_set_asset = null; - /** - * Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_asset_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $ad - * Output only. Set if change_resource_type == AD. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroup $ad_group - * Output only. Set if change_resource_type == AD_GROUP. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $ad_group_criterion - * Output only. Set if change_resource_type == AD_GROUP_CRITERION. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign $campaign - * Output only. Set if change_resource_type == CAMPAIGN. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $campaign_budget - * Output only. Set if change_resource_type == CAMPAIGN_BUDGET. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $ad_group_bid_modifier - * Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $campaign_criterion - * Output only. Set if change_resource_type == CAMPAIGN_CRITERION. - * @type \Google\Ads\GoogleAds\V15\Resources\Feed $feed - * Output only. Set if change_resource_type == FEED. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItem $feed_item - * Output only. Set if change_resource_type == FEED_ITEM. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $campaign_feed - * Output only. Set if change_resource_type == CAMPAIGN_FEED. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $ad_group_feed - * Output only. Set if change_resource_type == AD_GROUP_FEED. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $ad_group_ad - * Output only. Set if change_resource_type == AD_GROUP_AD. - * @type \Google\Ads\GoogleAds\V15\Resources\Asset $asset - * Output only. Set if change_resource_type == ASSET. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $customer_asset - * Output only. Set if change_resource_type == CUSTOMER_ASSET. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $campaign_asset - * Output only. Set if change_resource_type == CAMPAIGN_ASSET. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $ad_group_asset - * Output only. Set if change_resource_type == AD_GROUP_ASSET. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSet $asset_set - * Output only. Set if change_resource_type == ASSET_SET. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset $asset_set_asset - * Output only. Set if change_resource_type == ASSET_SET_ASSET. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet $campaign_asset_set - * Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ChangeEvent::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Set if change_resource_type == AD. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getAd() - { - return $this->ad; - } - - public function hasAd() - { - return isset($this->ad); - } - - public function clearAd() - { - unset($this->ad); - } - - /** - * Output only. Set if change_resource_type == AD. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->ad = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == AD_GROUP. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroup|null - */ - public function getAdGroup() - { - return $this->ad_group; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Output only. Set if change_resource_type == AD_GROUP. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroup $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroup::class); - $this->ad_group = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_CRITERION. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion|null - */ - public function getAdGroupCriterion() - { - return $this->ad_group_criterion; - } - - public function hasAdGroupCriterion() - { - return isset($this->ad_group_criterion); - } - - public function clearAdGroupCriterion() - { - unset($this->ad_group_criterion); - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_CRITERION. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $var - * @return $this - */ - public function setAdGroupCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion::class); - $this->ad_group_criterion = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign|null - */ - public function getCampaign() - { - return $this->campaign; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign::class); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_BUDGET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBudget|null - */ - public function getCampaignBudget() - { - return $this->campaign_budget; - } - - public function hasCampaignBudget() - { - return isset($this->campaign_budget); - } - - public function clearCampaignBudget() - { - unset($this->campaign_budget); - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_BUDGET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBudget::class); - $this->campaign_budget = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier|null - */ - public function getAdGroupBidModifier() - { - return $this->ad_group_bid_modifier; - } - - public function hasAdGroupBidModifier() - { - return isset($this->ad_group_bid_modifier); - } - - public function clearAdGroupBidModifier() - { - unset($this->ad_group_bid_modifier); - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $var - * @return $this - */ - public function setAdGroupBidModifier($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier::class); - $this->ad_group_bid_modifier = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_CRITERION. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion|null - */ - public function getCampaignCriterion() - { - return $this->campaign_criterion; - } - - public function hasCampaignCriterion() - { - return isset($this->campaign_criterion); - } - - public function clearCampaignCriterion() - { - unset($this->campaign_criterion); - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_CRITERION. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $var - * @return $this - */ - public function setCampaignCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion::class); - $this->campaign_criterion = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Feed|null - */ - public function getFeed() - { - return $this->feed; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * Output only. Set if change_resource_type == FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Feed $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Feed::class); - $this->feed = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == FEED_ITEM. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItem|null - */ - public function getFeedItem() - { - return $this->feed_item; - } - - public function hasFeedItem() - { - return isset($this->feed_item); - } - - public function clearFeedItem() - { - unset($this->feed_item); - } - - /** - * Output only. Set if change_resource_type == FEED_ITEM. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItem $var - * @return $this - */ - public function setFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItem::class); - $this->feed_item = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignFeed|null - */ - public function getCampaignFeed() - { - return $this->campaign_feed; - } - - public function hasCampaignFeed() - { - return isset($this->campaign_feed); - } - - public function clearCampaignFeed() - { - unset($this->campaign_feed); - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $var - * @return $this - */ - public function setCampaignFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignFeed::class); - $this->campaign_feed = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed|null - */ - public function getAdGroupFeed() - { - return $this->ad_group_feed; - } - - public function hasAdGroupFeed() - { - return isset($this->ad_group_feed); - } - - public function clearAdGroupFeed() - { - unset($this->ad_group_feed); - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_FEED. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $var - * @return $this - */ - public function setAdGroupFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed::class); - $this->ad_group_feed = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_AD. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAd|null - */ - public function getAdGroupAd() - { - return $this->ad_group_ad; - } - - public function hasAdGroupAd() - { - return isset($this->ad_group_ad); - } - - public function clearAdGroupAd() - { - unset($this->ad_group_ad); - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_AD. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $var - * @return $this - */ - public function setAdGroupAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAd::class); - $this->ad_group_ad = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Asset|null - */ - public function getAsset() - { - return $this->asset; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * Output only. Set if change_resource_type == ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Asset $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->asset = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == CUSTOMER_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAsset|null - */ - public function getCustomerAsset() - { - return $this->customer_asset; - } - - public function hasCustomerAsset() - { - return isset($this->customer_asset); - } - - public function clearCustomerAsset() - { - unset($this->customer_asset); - } - - /** - * Output only. Set if change_resource_type == CUSTOMER_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $var - * @return $this - */ - public function setCustomerAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAsset::class); - $this->customer_asset = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAsset|null - */ - public function getCampaignAsset() - { - return $this->campaign_asset; - } - - public function hasCampaignAsset() - { - return isset($this->campaign_asset); - } - - public function clearCampaignAsset() - { - unset($this->campaign_asset); - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $var - * @return $this - */ - public function setCampaignAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAsset::class); - $this->campaign_asset = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset|null - */ - public function getAdGroupAsset() - { - return $this->ad_group_asset; - } - - public function hasAdGroupAsset() - { - return isset($this->ad_group_asset); - } - - public function clearAdGroupAsset() - { - unset($this->ad_group_asset); - } - - /** - * Output only. Set if change_resource_type == AD_GROUP_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $var - * @return $this - */ - public function setAdGroupAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset::class); - $this->ad_group_asset = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == ASSET_SET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSet|null - */ - public function getAssetSet() - { - return $this->asset_set; - } - - public function hasAssetSet() - { - return isset($this->asset_set); - } - - public function clearAssetSet() - { - unset($this->asset_set); - } - - /** - * Output only. Set if change_resource_type == ASSET_SET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSet $var - * @return $this - */ - public function setAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSet::class); - $this->asset_set = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == ASSET_SET_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset|null - */ - public function getAssetSetAsset() - { - return $this->asset_set_asset; - } - - public function hasAssetSetAsset() - { - return isset($this->asset_set_asset); - } - - public function clearAssetSetAsset() - { - unset($this->asset_set_asset); - } - - /** - * Output only. Set if change_resource_type == ASSET_SET_ASSET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset $var - * @return $this - */ - public function setAssetSetAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset::class); - $this->asset_set_asset = $var; - - return $this; - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet|null - */ - public function getCampaignAssetSet() - { - return $this->campaign_asset_set; - } - - public function hasCampaignAssetSet() - { - return isset($this->campaign_asset_set); - } - - public function clearCampaignAssetSet() - { - unset($this->campaign_asset_set); - } - - /** - * Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet $var - * @return $this - */ - public function setCampaignAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet::class); - $this->campaign_asset_set = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ChangedResource::class, \Google\Ads\GoogleAds\V15\Resources\ChangeEvent_ChangedResource::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ChangeStatus.php b/src/Google/Ads/GoogleAds/V15/Resources/ChangeStatus.php deleted file mode 100644 index 0430b7e1e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ChangeStatus.php +++ /dev/null @@ -1,878 +0,0 @@ -google.ads.googleads.v15.resources.ChangeStatus - */ -class ChangeStatus extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the change status. - * Change status resource names have the form: - * `customers/{customer_id}/changeStatus/{change_status_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Time at which the most recent change has occurred on this - * resource. - * - * Generated from protobuf field optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $last_change_date_time = null; - /** - * Output only. Represents the type of the changed resource. This dictates - * what fields will be set. For example, for AD_GROUP, campaign and ad_group - * fields will be set. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $resource_type = 0; - /** - * Output only. The Campaign affected by this change. - * - * Generated from protobuf field optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Output only. The AdGroup affected by this change. - * - * Generated from protobuf field optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * Output only. Represents the status of the changed resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $resource_status = 0; - /** - * Output only. The AdGroupAd affected by this change. - * - * Generated from protobuf field optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group_ad = null; - /** - * Output only. The AdGroupCriterion affected by this change. - * - * Generated from protobuf field optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group_criterion = null; - /** - * Output only. The CampaignCriterion affected by this change. - * - * Generated from protobuf field optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign_criterion = null; - /** - * Output only. The Feed affected by this change. - * - * Generated from protobuf field optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $feed = null; - /** - * Output only. The FeedItem affected by this change. - * - * Generated from protobuf field optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $feed_item = null; - /** - * Output only. The AdGroupFeed affected by this change. - * - * Generated from protobuf field optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group_feed = null; - /** - * Output only. The CampaignFeed affected by this change. - * - * Generated from protobuf field optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign_feed = null; - /** - * Output only. The AdGroupBidModifier affected by this change. - * - * Generated from protobuf field optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group_bid_modifier = null; - /** - * Output only. The SharedSet affected by this change. - * - * Generated from protobuf field string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $shared_set = ''; - /** - * Output only. The CampaignSharedSet affected by this change. - * - * Generated from protobuf field string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign_shared_set = ''; - /** - * Output only. The Asset affected by this change. - * - * Generated from protobuf field string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $asset = ''; - /** - * Output only. The CustomerAsset affected by this change. - * - * Generated from protobuf field string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $customer_asset = ''; - /** - * Output only. The CampaignAsset affected by this change. - * - * Generated from protobuf field string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign_asset = ''; - /** - * Output only. The AdGroupAsset affected by this change. - * - * Generated from protobuf field string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group_asset = ''; - /** - * Output only. The CombinedAudience affected by this change. - * - * Generated from protobuf field string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $combined_audience = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the change status. - * Change status resource names have the form: - * `customers/{customer_id}/changeStatus/{change_status_id}` - * @type string $last_change_date_time - * Output only. Time at which the most recent change has occurred on this - * resource. - * @type int $resource_type - * Output only. Represents the type of the changed resource. This dictates - * what fields will be set. For example, for AD_GROUP, campaign and ad_group - * fields will be set. - * @type string $campaign - * Output only. The Campaign affected by this change. - * @type string $ad_group - * Output only. The AdGroup affected by this change. - * @type int $resource_status - * Output only. Represents the status of the changed resource. - * @type string $ad_group_ad - * Output only. The AdGroupAd affected by this change. - * @type string $ad_group_criterion - * Output only. The AdGroupCriterion affected by this change. - * @type string $campaign_criterion - * Output only. The CampaignCriterion affected by this change. - * @type string $feed - * Output only. The Feed affected by this change. - * @type string $feed_item - * Output only. The FeedItem affected by this change. - * @type string $ad_group_feed - * Output only. The AdGroupFeed affected by this change. - * @type string $campaign_feed - * Output only. The CampaignFeed affected by this change. - * @type string $ad_group_bid_modifier - * Output only. The AdGroupBidModifier affected by this change. - * @type string $shared_set - * Output only. The SharedSet affected by this change. - * @type string $campaign_shared_set - * Output only. The CampaignSharedSet affected by this change. - * @type string $asset - * Output only. The Asset affected by this change. - * @type string $customer_asset - * Output only. The CustomerAsset affected by this change. - * @type string $campaign_asset - * Output only. The CampaignAsset affected by this change. - * @type string $ad_group_asset - * Output only. The AdGroupAsset affected by this change. - * @type string $combined_audience - * Output only. The CombinedAudience affected by this change. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ChangeStatus::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the change status. - * Change status resource names have the form: - * `customers/{customer_id}/changeStatus/{change_status_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the change status. - * Change status resource names have the form: - * `customers/{customer_id}/changeStatus/{change_status_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Time at which the most recent change has occurred on this - * resource. - * - * Generated from protobuf field optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLastChangeDateTime() - { - return isset($this->last_change_date_time) ? $this->last_change_date_time : ''; - } - - public function hasLastChangeDateTime() - { - return isset($this->last_change_date_time); - } - - public function clearLastChangeDateTime() - { - unset($this->last_change_date_time); - } - - /** - * Output only. Time at which the most recent change has occurred on this - * resource. - * - * Generated from protobuf field optional string last_change_date_time = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLastChangeDateTime($var) - { - GPBUtil::checkString($var, True); - $this->last_change_date_time = $var; - - return $this; - } - - /** - * Output only. Represents the type of the changed resource. This dictates - * what fields will be set. For example, for AD_GROUP, campaign and ad_group - * fields will be set. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getResourceType() - { - return $this->resource_type; - } - - /** - * Output only. Represents the type of the changed resource. This dictates - * what fields will be set. For example, for AD_GROUP, campaign and ad_group - * fields will be set. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setResourceType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ChangeStatusResourceTypeEnum\ChangeStatusResourceType::class); - $this->resource_type = $var; - - return $this; - } - - /** - * Output only. The Campaign affected by this change. - * - * Generated from protobuf field optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Output only. The Campaign affected by this change. - * - * Generated from protobuf field optional string campaign = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. The AdGroup affected by this change. - * - * Generated from protobuf field optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Output only. The AdGroup affected by this change. - * - * Generated from protobuf field optional string ad_group = 18 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Output only. Represents the status of the changed resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getResourceStatus() - { - return $this->resource_status; - } - - /** - * Output only. Represents the status of the changed resource. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setResourceStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ChangeStatusOperationEnum\ChangeStatusOperation::class); - $this->resource_status = $var; - - return $this; - } - - /** - * Output only. The AdGroupAd affected by this change. - * - * Generated from protobuf field optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupAd() - { - return isset($this->ad_group_ad) ? $this->ad_group_ad : ''; - } - - public function hasAdGroupAd() - { - return isset($this->ad_group_ad); - } - - public function clearAdGroupAd() - { - unset($this->ad_group_ad); - } - - /** - * Output only. The AdGroupAd affected by this change. - * - * Generated from protobuf field optional string ad_group_ad = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupAd($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_ad = $var; - - return $this; - } - - /** - * Output only. The AdGroupCriterion affected by this change. - * - * Generated from protobuf field optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupCriterion() - { - return isset($this->ad_group_criterion) ? $this->ad_group_criterion : ''; - } - - public function hasAdGroupCriterion() - { - return isset($this->ad_group_criterion); - } - - public function clearAdGroupCriterion() - { - unset($this->ad_group_criterion); - } - - /** - * Output only. The AdGroupCriterion affected by this change. - * - * Generated from protobuf field optional string ad_group_criterion = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupCriterion($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_criterion = $var; - - return $this; - } - - /** - * Output only. The CampaignCriterion affected by this change. - * - * Generated from protobuf field optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaignCriterion() - { - return isset($this->campaign_criterion) ? $this->campaign_criterion : ''; - } - - public function hasCampaignCriterion() - { - return isset($this->campaign_criterion); - } - - public function clearCampaignCriterion() - { - unset($this->campaign_criterion); - } - - /** - * Output only. The CampaignCriterion affected by this change. - * - * Generated from protobuf field optional string campaign_criterion = 27 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignCriterion($var) - { - GPBUtil::checkString($var, True); - $this->campaign_criterion = $var; - - return $this; - } - - /** - * Output only. The Feed affected by this change. - * - * Generated from protobuf field optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getFeed() - { - return isset($this->feed) ? $this->feed : ''; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * Output only. The Feed affected by this change. - * - * Generated from protobuf field optional string feed = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Output only. The FeedItem affected by this change. - * - * Generated from protobuf field optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getFeedItem() - { - return isset($this->feed_item) ? $this->feed_item : ''; - } - - public function hasFeedItem() - { - return isset($this->feed_item); - } - - public function clearFeedItem() - { - unset($this->feed_item); - } - - /** - * Output only. The FeedItem affected by this change. - * - * Generated from protobuf field optional string feed_item = 29 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeedItem($var) - { - GPBUtil::checkString($var, True); - $this->feed_item = $var; - - return $this; - } - - /** - * Output only. The AdGroupFeed affected by this change. - * - * Generated from protobuf field optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupFeed() - { - return isset($this->ad_group_feed) ? $this->ad_group_feed : ''; - } - - public function hasAdGroupFeed() - { - return isset($this->ad_group_feed); - } - - public function clearAdGroupFeed() - { - unset($this->ad_group_feed); - } - - /** - * Output only. The AdGroupFeed affected by this change. - * - * Generated from protobuf field optional string ad_group_feed = 30 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupFeed($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_feed = $var; - - return $this; - } - - /** - * Output only. The CampaignFeed affected by this change. - * - * Generated from protobuf field optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaignFeed() - { - return isset($this->campaign_feed) ? $this->campaign_feed : ''; - } - - public function hasCampaignFeed() - { - return isset($this->campaign_feed); - } - - public function clearCampaignFeed() - { - unset($this->campaign_feed); - } - - /** - * Output only. The CampaignFeed affected by this change. - * - * Generated from protobuf field optional string campaign_feed = 31 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignFeed($var) - { - GPBUtil::checkString($var, True); - $this->campaign_feed = $var; - - return $this; - } - - /** - * Output only. The AdGroupBidModifier affected by this change. - * - * Generated from protobuf field optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupBidModifier() - { - return isset($this->ad_group_bid_modifier) ? $this->ad_group_bid_modifier : ''; - } - - public function hasAdGroupBidModifier() - { - return isset($this->ad_group_bid_modifier); - } - - public function clearAdGroupBidModifier() - { - unset($this->ad_group_bid_modifier); - } - - /** - * Output only. The AdGroupBidModifier affected by this change. - * - * Generated from protobuf field optional string ad_group_bid_modifier = 32 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupBidModifier($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_bid_modifier = $var; - - return $this; - } - - /** - * Output only. The SharedSet affected by this change. - * - * Generated from protobuf field string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getSharedSet() - { - return $this->shared_set; - } - - /** - * Output only. The SharedSet affected by this change. - * - * Generated from protobuf field string shared_set = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setSharedSet($var) - { - GPBUtil::checkString($var, True); - $this->shared_set = $var; - - return $this; - } - - /** - * Output only. The CampaignSharedSet affected by this change. - * - * Generated from protobuf field string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaignSharedSet() - { - return $this->campaign_shared_set; - } - - /** - * Output only. The CampaignSharedSet affected by this change. - * - * Generated from protobuf field string campaign_shared_set = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignSharedSet($var) - { - GPBUtil::checkString($var, True); - $this->campaign_shared_set = $var; - - return $this; - } - - /** - * Output only. The Asset affected by this change. - * - * Generated from protobuf field string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * Output only. The Asset affected by this change. - * - * Generated from protobuf field string asset = 35 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * Output only. The CustomerAsset affected by this change. - * - * Generated from protobuf field string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomerAsset() - { - return $this->customer_asset; - } - - /** - * Output only. The CustomerAsset affected by this change. - * - * Generated from protobuf field string customer_asset = 36 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomerAsset($var) - { - GPBUtil::checkString($var, True); - $this->customer_asset = $var; - - return $this; - } - - /** - * Output only. The CampaignAsset affected by this change. - * - * Generated from protobuf field string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaignAsset() - { - return $this->campaign_asset; - } - - /** - * Output only. The CampaignAsset affected by this change. - * - * Generated from protobuf field string campaign_asset = 37 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignAsset($var) - { - GPBUtil::checkString($var, True); - $this->campaign_asset = $var; - - return $this; - } - - /** - * Output only. The AdGroupAsset affected by this change. - * - * Generated from protobuf field string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupAsset() - { - return $this->ad_group_asset; - } - - /** - * Output only. The AdGroupAsset affected by this change. - * - * Generated from protobuf field string ad_group_asset = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupAsset($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_asset = $var; - - return $this; - } - - /** - * Output only. The CombinedAudience affected by this change. - * - * Generated from protobuf field string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCombinedAudience() - { - return $this->combined_audience; - } - - /** - * Output only. The CombinedAudience affected by this change. - * - * Generated from protobuf field string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCombinedAudience($var) - { - GPBUtil::checkString($var, True); - $this->combined_audience = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ClickView.php b/src/Google/Ads/GoogleAds/V15/Resources/ClickView.php deleted file mode 100644 index e9c8a7c9e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ClickView.php +++ /dev/null @@ -1,478 +0,0 @@ -google.ads.googleads.v15.resources.ClickView - */ -class ClickView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the click view. - * Click view resource names have the form: - * `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The Google Click ID. - * - * Generated from protobuf field optional string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $gclid = null; - /** - * Output only. The location criteria matching the area of interest associated - * with the impression. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ClickLocation area_of_interest = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $area_of_interest = null; - /** - * Output only. The location criteria matching the location of presence - * associated with the impression. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ClickLocation location_of_presence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $location_of_presence = null; - /** - * Output only. Page number in search results where the ad was shown. - * - * Generated from protobuf field optional int64 page_number = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $page_number = null; - /** - * Output only. The associated ad. - * - * Generated from protobuf field optional string ad_group_ad = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group_ad = null; - /** - * Output only. The associated campaign location target, if one exists. - * - * Generated from protobuf field optional string campaign_location_target = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign_location_target = null; - /** - * Output only. The associated user list, if one exists. - * - * Generated from protobuf field optional string user_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $user_list = null; - /** - * Output only. The associated keyword, if one exists and the click - * corresponds to the SEARCH channel. - * - * Generated from protobuf field string keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $keyword = ''; - /** - * Output only. Basic information about the associated keyword, if it exists. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $keyword_info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the click view. - * Click view resource names have the form: - * `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - * @type string $gclid - * Output only. The Google Click ID. - * @type \Google\Ads\GoogleAds\V15\Common\ClickLocation $area_of_interest - * Output only. The location criteria matching the area of interest associated - * with the impression. - * @type \Google\Ads\GoogleAds\V15\Common\ClickLocation $location_of_presence - * Output only. The location criteria matching the location of presence - * associated with the impression. - * @type int|string $page_number - * Output only. Page number in search results where the ad was shown. - * @type string $ad_group_ad - * Output only. The associated ad. - * @type string $campaign_location_target - * Output only. The associated campaign location target, if one exists. - * @type string $user_list - * Output only. The associated user list, if one exists. - * @type string $keyword - * Output only. The associated keyword, if one exists and the click - * corresponds to the SEARCH channel. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $keyword_info - * Output only. Basic information about the associated keyword, if it exists. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ClickView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the click view. - * Click view resource names have the form: - * `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the click view. - * Click view resource names have the form: - * `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The Google Click ID. - * - * Generated from protobuf field optional string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getGclid() - { - return isset($this->gclid) ? $this->gclid : ''; - } - - public function hasGclid() - { - return isset($this->gclid); - } - - public function clearGclid() - { - unset($this->gclid); - } - - /** - * Output only. The Google Click ID. - * - * Generated from protobuf field optional string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setGclid($var) - { - GPBUtil::checkString($var, True); - $this->gclid = $var; - - return $this; - } - - /** - * Output only. The location criteria matching the area of interest associated - * with the impression. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ClickLocation area_of_interest = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\ClickLocation|null - */ - public function getAreaOfInterest() - { - return $this->area_of_interest; - } - - public function hasAreaOfInterest() - { - return isset($this->area_of_interest); - } - - public function clearAreaOfInterest() - { - unset($this->area_of_interest); - } - - /** - * Output only. The location criteria matching the area of interest associated - * with the impression. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ClickLocation area_of_interest = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\ClickLocation $var - * @return $this - */ - public function setAreaOfInterest($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ClickLocation::class); - $this->area_of_interest = $var; - - return $this; - } - - /** - * Output only. The location criteria matching the location of presence - * associated with the impression. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ClickLocation location_of_presence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\ClickLocation|null - */ - public function getLocationOfPresence() - { - return $this->location_of_presence; - } - - public function hasLocationOfPresence() - { - return isset($this->location_of_presence); - } - - public function clearLocationOfPresence() - { - unset($this->location_of_presence); - } - - /** - * Output only. The location criteria matching the location of presence - * associated with the impression. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ClickLocation location_of_presence = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\ClickLocation $var - * @return $this - */ - public function setLocationOfPresence($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ClickLocation::class); - $this->location_of_presence = $var; - - return $this; - } - - /** - * Output only. Page number in search results where the ad was shown. - * - * Generated from protobuf field optional int64 page_number = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getPageNumber() - { - return isset($this->page_number) ? $this->page_number : 0; - } - - public function hasPageNumber() - { - return isset($this->page_number); - } - - public function clearPageNumber() - { - unset($this->page_number); - } - - /** - * Output only. Page number in search results where the ad was shown. - * - * Generated from protobuf field optional int64 page_number = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setPageNumber($var) - { - GPBUtil::checkInt64($var); - $this->page_number = $var; - - return $this; - } - - /** - * Output only. The associated ad. - * - * Generated from protobuf field optional string ad_group_ad = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupAd() - { - return isset($this->ad_group_ad) ? $this->ad_group_ad : ''; - } - - public function hasAdGroupAd() - { - return isset($this->ad_group_ad); - } - - public function clearAdGroupAd() - { - unset($this->ad_group_ad); - } - - /** - * Output only. The associated ad. - * - * Generated from protobuf field optional string ad_group_ad = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupAd($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_ad = $var; - - return $this; - } - - /** - * Output only. The associated campaign location target, if one exists. - * - * Generated from protobuf field optional string campaign_location_target = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaignLocationTarget() - { - return isset($this->campaign_location_target) ? $this->campaign_location_target : ''; - } - - public function hasCampaignLocationTarget() - { - return isset($this->campaign_location_target); - } - - public function clearCampaignLocationTarget() - { - unset($this->campaign_location_target); - } - - /** - * Output only. The associated campaign location target, if one exists. - * - * Generated from protobuf field optional string campaign_location_target = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignLocationTarget($var) - { - GPBUtil::checkString($var, True); - $this->campaign_location_target = $var; - - return $this; - } - - /** - * Output only. The associated user list, if one exists. - * - * Generated from protobuf field optional string user_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getUserList() - { - return isset($this->user_list) ? $this->user_list : ''; - } - - public function hasUserList() - { - return isset($this->user_list); - } - - public function clearUserList() - { - unset($this->user_list); - } - - /** - * Output only. The associated user list, if one exists. - * - * Generated from protobuf field optional string user_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkString($var, True); - $this->user_list = $var; - - return $this; - } - - /** - * Output only. The associated keyword, if one exists and the click - * corresponds to the SEARCH channel. - * - * Generated from protobuf field string keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getKeyword() - { - return $this->keyword; - } - - /** - * Output only. The associated keyword, if one exists and the click - * corresponds to the SEARCH channel. - * - * Generated from protobuf field string keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkString($var, True); - $this->keyword = $var; - - return $this; - } - - /** - * Output only. Basic information about the associated keyword, if it exists. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getKeywordInfo() - { - return $this->keyword_info; - } - - public function hasKeywordInfo() - { - return isset($this->keyword_info); - } - - public function clearKeywordInfo() - { - unset($this->keyword_info); - } - - /** - * Output only. Basic information about the associated keyword, if it exists. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword_info = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setKeywordInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->keyword_info = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CombinedAudience.php b/src/Google/Ads/GoogleAds/V15/Resources/CombinedAudience.php deleted file mode 100644 index f5f63424d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CombinedAudience.php +++ /dev/null @@ -1,220 +0,0 @@ -google.ads.googleads.v15.resources.CombinedAudience - */ -class CombinedAudience extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the combined audience. - * Combined audience names have the form: - * `customers/{customer_id}/combinedAudience/{combined_audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of the combined audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. Status of this combined audience. Indicates whether the - * combined audience is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CombinedAudienceStatusEnum.CombinedAudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. Name of the combined audience. It should be unique across all - * combined audiences. - * - * Generated from protobuf field string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. Description of this combined audience. - * - * Generated from protobuf field string description = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $description = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the combined audience. - * Combined audience names have the form: - * `customers/{customer_id}/combinedAudience/{combined_audience_id}` - * @type int|string $id - * Output only. ID of the combined audience. - * @type int $status - * Output only. Status of this combined audience. Indicates whether the - * combined audience is enabled or removed. - * @type string $name - * Output only. Name of the combined audience. It should be unique across all - * combined audiences. - * @type string $description - * Output only. Description of this combined audience. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CombinedAudience::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the combined audience. - * Combined audience names have the form: - * `customers/{customer_id}/combinedAudience/{combined_audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the combined audience. - * Combined audience names have the form: - * `customers/{customer_id}/combinedAudience/{combined_audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of the combined audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. ID of the combined audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Status of this combined audience. Indicates whether the - * combined audience is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CombinedAudienceStatusEnum.CombinedAudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of this combined audience. Indicates whether the - * combined audience is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CombinedAudienceStatusEnum.CombinedAudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CombinedAudienceStatusEnum\CombinedAudienceStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. Name of the combined audience. It should be unique across all - * combined audiences. - * - * Generated from protobuf field string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Name of the combined audience. It should be unique across all - * combined audiences. - * - * Generated from protobuf field string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Description of this combined audience. - * - * Generated from protobuf field string description = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Output only. Description of this combined audience. - * - * Generated from protobuf field string description = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ContactDetails.php b/src/Google/Ads/GoogleAds/V15/Resources/ContactDetails.php deleted file mode 100644 index 39614e2b0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ContactDetails.php +++ /dev/null @@ -1,139 +0,0 @@ -google.ads.googleads.v15.resources.ContactDetails - */ -class ContactDetails extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Consumer phone number in E164 format. - * - * Generated from protobuf field string phone_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $phone_number = ''; - /** - * Output only. Consumer email address. - * - * Generated from protobuf field string email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $email = ''; - /** - * Output only. Consumer name if consumer provided name from Message or - * Booking form on google.com - * - * Generated from protobuf field string consumer_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $consumer_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $phone_number - * Output only. Consumer phone number in E164 format. - * @type string $email - * Output only. Consumer email address. - * @type string $consumer_name - * Output only. Consumer name if consumer provided name from Message or - * Booking form on google.com - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesLead::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Consumer phone number in E164 format. - * - * Generated from protobuf field string phone_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPhoneNumber() - { - return $this->phone_number; - } - - /** - * Output only. Consumer phone number in E164 format. - * - * Generated from protobuf field string phone_number = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->phone_number = $var; - - return $this; - } - - /** - * Output only. Consumer email address. - * - * Generated from protobuf field string email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEmail() - { - return $this->email; - } - - /** - * Output only. Consumer email address. - * - * Generated from protobuf field string email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEmail($var) - { - GPBUtil::checkString($var, True); - $this->email = $var; - - return $this; - } - - /** - * Output only. Consumer name if consumer provided name from Message or - * Booking form on google.com - * - * Generated from protobuf field string consumer_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getConsumerName() - { - return $this->consumer_name; - } - - /** - * Output only. Consumer name if consumer provided name from Message or - * Booking form on google.com - * - * Generated from protobuf field string consumer_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setConsumerName($var) - { - GPBUtil::checkString($var, True); - $this->consumer_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction.php deleted file mode 100644 index 0864805d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction.php +++ /dev/null @@ -1,1009 +0,0 @@ -google.ads.googleads.v15.resources.ConversionAction - */ -class ConversionAction extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the conversion action. - * Conversion action resource names have the form: - * `customers/{customer_id}/conversionActions/{conversion_action_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the conversion action. - * - * Generated from protobuf field optional int64 id = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the conversion action. - * This field is required and should not be empty when creating new - * conversion actions. - * - * Generated from protobuf field optional string name = 22; - */ - protected $name = null; - /** - * The status of this conversion action for conversion event accrual. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4; - */ - protected $status = 0; - /** - * Immutable. The type of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * Output only. The conversion origin of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $origin = 0; - /** - * If a conversion action's primary_for_goal bit is false, the conversion - * action is non-biddable for all campaigns regardless of their customer - * conversion goal or campaign conversion goal. - * However, custom conversion goals do not respect primary_for_goal, so if - * a campaign has a custom conversion goal configured with a - * primary_for_goal = false conversion action, that conversion action is - * still biddable. - * By default, primary_for_goal will be true if not set. In V9, - * primary_for_goal can only be set to false after creation through an - * 'update' operation because it's not declared as optional. - * - * Generated from protobuf field optional bool primary_for_goal = 31; - */ - protected $primary_for_goal = null; - /** - * The category of conversions reported for this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6; - */ - protected $category = 0; - /** - * Output only. The resource name of the conversion action owner customer, or - * null if this is a system-defined conversion action. - * - * Generated from protobuf field optional string owner_customer = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $owner_customer = null; - /** - * Whether this conversion action should be included in the "conversions" - * metric. - * - * Generated from protobuf field optional bool include_in_conversions_metric = 24; - */ - protected $include_in_conversions_metric = null; - /** - * The maximum number of days that may elapse between an interaction - * (for example, a click) and a conversion event. - * - * Generated from protobuf field optional int64 click_through_lookback_window_days = 25; - */ - protected $click_through_lookback_window_days = null; - /** - * The maximum number of days which may elapse between an impression and a - * conversion without an interaction. - * - * Generated from protobuf field optional int64 view_through_lookback_window_days = 26; - */ - protected $view_through_lookback_window_days = null; - /** - * Settings related to the value for conversion events associated with this - * conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.ValueSettings value_settings = 11; - */ - protected $value_settings = null; - /** - * How to count conversion events for the conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12; - */ - protected $counting_type = 0; - /** - * Settings related to this conversion action's attribution model. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13; - */ - protected $attribution_model_settings = null; - /** - * Output only. The snippets used for tracking conversions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $tag_snippets; - /** - * The phone call duration in seconds after which a conversion should be - * reported for this conversion action. - * The value must be between 0 and 10000, inclusive. - * - * Generated from protobuf field optional int64 phone_call_duration_seconds = 27; - */ - protected $phone_call_duration_seconds = null; - /** - * App ID for an app conversion action. - * - * Generated from protobuf field optional string app_id = 28; - */ - protected $app_id = null; - /** - * Output only. Mobile app vendor for an app conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $mobile_app_vendor = 0; - /** - * Output only. Firebase settings for Firebase conversion types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $firebase_settings = null; - /** - * Output only. Third Party App Analytics settings for third party conversion - * types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $third_party_app_analytics_settings = null; - /** - * Output only. Google Analytics 4 settings for Google Analytics 4 conversion - * types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.GoogleAnalytics4Settings google_analytics_4_settings = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $google_analytics_4_settings = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the conversion action. - * Conversion action resource names have the form: - * `customers/{customer_id}/conversionActions/{conversion_action_id}` - * @type int|string $id - * Output only. The ID of the conversion action. - * @type string $name - * The name of the conversion action. - * This field is required and should not be empty when creating new - * conversion actions. - * @type int $status - * The status of this conversion action for conversion event accrual. - * @type int $type - * Immutable. The type of this conversion action. - * @type int $origin - * Output only. The conversion origin of this conversion action. - * @type bool $primary_for_goal - * If a conversion action's primary_for_goal bit is false, the conversion - * action is non-biddable for all campaigns regardless of their customer - * conversion goal or campaign conversion goal. - * However, custom conversion goals do not respect primary_for_goal, so if - * a campaign has a custom conversion goal configured with a - * primary_for_goal = false conversion action, that conversion action is - * still biddable. - * By default, primary_for_goal will be true if not set. In V9, - * primary_for_goal can only be set to false after creation through an - * 'update' operation because it's not declared as optional. - * @type int $category - * The category of conversions reported for this conversion action. - * @type string $owner_customer - * Output only. The resource name of the conversion action owner customer, or - * null if this is a system-defined conversion action. - * @type bool $include_in_conversions_metric - * Whether this conversion action should be included in the "conversions" - * metric. - * @type int|string $click_through_lookback_window_days - * The maximum number of days that may elapse between an interaction - * (for example, a click) and a conversion event. - * @type int|string $view_through_lookback_window_days - * The maximum number of days which may elapse between an impression and a - * conversion without an interaction. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction\ValueSettings $value_settings - * Settings related to the value for conversion events associated with this - * conversion action. - * @type int $counting_type - * How to count conversion events for the conversion action. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction\AttributionModelSettings $attribution_model_settings - * Settings related to this conversion action's attribution model. - * @type array<\Google\Ads\GoogleAds\V15\Common\TagSnippet>|\Google\Protobuf\Internal\RepeatedField $tag_snippets - * Output only. The snippets used for tracking conversions. - * @type int|string $phone_call_duration_seconds - * The phone call duration in seconds after which a conversion should be - * reported for this conversion action. - * The value must be between 0 and 10000, inclusive. - * @type string $app_id - * App ID for an app conversion action. - * @type int $mobile_app_vendor - * Output only. Mobile app vendor for an app conversion action. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction\FirebaseSettings $firebase_settings - * Output only. Firebase settings for Firebase conversion types. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction\ThirdPartyAppAnalyticsSettings $third_party_app_analytics_settings - * Output only. Third Party App Analytics settings for third party conversion - * types. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction\GoogleAnalytics4Settings $google_analytics_4_settings - * Output only. Google Analytics 4 settings for Google Analytics 4 conversion - * types. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionAction::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the conversion action. - * Conversion action resource names have the form: - * `customers/{customer_id}/conversionActions/{conversion_action_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the conversion action. - * Conversion action resource names have the form: - * `customers/{customer_id}/conversionActions/{conversion_action_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the conversion action. - * - * Generated from protobuf field optional int64 id = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the conversion action. - * - * Generated from protobuf field optional int64 id = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the conversion action. - * This field is required and should not be empty when creating new - * conversion actions. - * - * Generated from protobuf field optional string name = 22; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the conversion action. - * This field is required and should not be empty when creating new - * conversion actions. - * - * Generated from protobuf field optional string name = 22; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The status of this conversion action for conversion event accrual. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of this conversion action for conversion event accrual. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionActionStatusEnum\ConversionActionStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. The type of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Immutable. The type of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionActionTypeEnum\ConversionActionType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The conversion origin of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getOrigin() - { - return $this->origin; - } - - /** - * Output only. The conversion origin of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setOrigin($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionOriginEnum\ConversionOrigin::class); - $this->origin = $var; - - return $this; - } - - /** - * If a conversion action's primary_for_goal bit is false, the conversion - * action is non-biddable for all campaigns regardless of their customer - * conversion goal or campaign conversion goal. - * However, custom conversion goals do not respect primary_for_goal, so if - * a campaign has a custom conversion goal configured with a - * primary_for_goal = false conversion action, that conversion action is - * still biddable. - * By default, primary_for_goal will be true if not set. In V9, - * primary_for_goal can only be set to false after creation through an - * 'update' operation because it's not declared as optional. - * - * Generated from protobuf field optional bool primary_for_goal = 31; - * @return bool - */ - public function getPrimaryForGoal() - { - return isset($this->primary_for_goal) ? $this->primary_for_goal : false; - } - - public function hasPrimaryForGoal() - { - return isset($this->primary_for_goal); - } - - public function clearPrimaryForGoal() - { - unset($this->primary_for_goal); - } - - /** - * If a conversion action's primary_for_goal bit is false, the conversion - * action is non-biddable for all campaigns regardless of their customer - * conversion goal or campaign conversion goal. - * However, custom conversion goals do not respect primary_for_goal, so if - * a campaign has a custom conversion goal configured with a - * primary_for_goal = false conversion action, that conversion action is - * still biddable. - * By default, primary_for_goal will be true if not set. In V9, - * primary_for_goal can only be set to false after creation through an - * 'update' operation because it's not declared as optional. - * - * Generated from protobuf field optional bool primary_for_goal = 31; - * @param bool $var - * @return $this - */ - public function setPrimaryForGoal($var) - { - GPBUtil::checkBool($var); - $this->primary_for_goal = $var; - - return $this; - } - - /** - * The category of conversions reported for this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6; - * @return int - */ - public function getCategory() - { - return $this->category; - } - - /** - * The category of conversions reported for this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6; - * @param int $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionActionCategoryEnum\ConversionActionCategory::class); - $this->category = $var; - - return $this; - } - - /** - * Output only. The resource name of the conversion action owner customer, or - * null if this is a system-defined conversion action. - * - * Generated from protobuf field optional string owner_customer = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getOwnerCustomer() - { - return isset($this->owner_customer) ? $this->owner_customer : ''; - } - - public function hasOwnerCustomer() - { - return isset($this->owner_customer); - } - - public function clearOwnerCustomer() - { - unset($this->owner_customer); - } - - /** - * Output only. The resource name of the conversion action owner customer, or - * null if this is a system-defined conversion action. - * - * Generated from protobuf field optional string owner_customer = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setOwnerCustomer($var) - { - GPBUtil::checkString($var, True); - $this->owner_customer = $var; - - return $this; - } - - /** - * Whether this conversion action should be included in the "conversions" - * metric. - * - * Generated from protobuf field optional bool include_in_conversions_metric = 24; - * @return bool - */ - public function getIncludeInConversionsMetric() - { - return isset($this->include_in_conversions_metric) ? $this->include_in_conversions_metric : false; - } - - public function hasIncludeInConversionsMetric() - { - return isset($this->include_in_conversions_metric); - } - - public function clearIncludeInConversionsMetric() - { - unset($this->include_in_conversions_metric); - } - - /** - * Whether this conversion action should be included in the "conversions" - * metric. - * - * Generated from protobuf field optional bool include_in_conversions_metric = 24; - * @param bool $var - * @return $this - */ - public function setIncludeInConversionsMetric($var) - { - GPBUtil::checkBool($var); - $this->include_in_conversions_metric = $var; - - return $this; - } - - /** - * The maximum number of days that may elapse between an interaction - * (for example, a click) and a conversion event. - * - * Generated from protobuf field optional int64 click_through_lookback_window_days = 25; - * @return int|string - */ - public function getClickThroughLookbackWindowDays() - { - return isset($this->click_through_lookback_window_days) ? $this->click_through_lookback_window_days : 0; - } - - public function hasClickThroughLookbackWindowDays() - { - return isset($this->click_through_lookback_window_days); - } - - public function clearClickThroughLookbackWindowDays() - { - unset($this->click_through_lookback_window_days); - } - - /** - * The maximum number of days that may elapse between an interaction - * (for example, a click) and a conversion event. - * - * Generated from protobuf field optional int64 click_through_lookback_window_days = 25; - * @param int|string $var - * @return $this - */ - public function setClickThroughLookbackWindowDays($var) - { - GPBUtil::checkInt64($var); - $this->click_through_lookback_window_days = $var; - - return $this; - } - - /** - * The maximum number of days which may elapse between an impression and a - * conversion without an interaction. - * - * Generated from protobuf field optional int64 view_through_lookback_window_days = 26; - * @return int|string - */ - public function getViewThroughLookbackWindowDays() - { - return isset($this->view_through_lookback_window_days) ? $this->view_through_lookback_window_days : 0; - } - - public function hasViewThroughLookbackWindowDays() - { - return isset($this->view_through_lookback_window_days); - } - - public function clearViewThroughLookbackWindowDays() - { - unset($this->view_through_lookback_window_days); - } - - /** - * The maximum number of days which may elapse between an impression and a - * conversion without an interaction. - * - * Generated from protobuf field optional int64 view_through_lookback_window_days = 26; - * @param int|string $var - * @return $this - */ - public function setViewThroughLookbackWindowDays($var) - { - GPBUtil::checkInt64($var); - $this->view_through_lookback_window_days = $var; - - return $this; - } - - /** - * Settings related to the value for conversion events associated with this - * conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.ValueSettings value_settings = 11; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction\ValueSettings|null - */ - public function getValueSettings() - { - return $this->value_settings; - } - - public function hasValueSettings() - { - return isset($this->value_settings); - } - - public function clearValueSettings() - { - unset($this->value_settings); - } - - /** - * Settings related to the value for conversion events associated with this - * conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.ValueSettings value_settings = 11; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction\ValueSettings $var - * @return $this - */ - public function setValueSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction\ValueSettings::class); - $this->value_settings = $var; - - return $this; - } - - /** - * How to count conversion events for the conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12; - * @return int - */ - public function getCountingType() - { - return $this->counting_type; - } - - /** - * How to count conversion events for the conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12; - * @param int $var - * @return $this - */ - public function setCountingType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionActionCountingTypeEnum\ConversionActionCountingType::class); - $this->counting_type = $var; - - return $this; - } - - /** - * Settings related to this conversion action's attribution model. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction\AttributionModelSettings|null - */ - public function getAttributionModelSettings() - { - return $this->attribution_model_settings; - } - - public function hasAttributionModelSettings() - { - return isset($this->attribution_model_settings); - } - - public function clearAttributionModelSettings() - { - unset($this->attribution_model_settings); - } - - /** - * Settings related to this conversion action's attribution model. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.AttributionModelSettings attribution_model_settings = 13; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction\AttributionModelSettings $var - * @return $this - */ - public function setAttributionModelSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction\AttributionModelSettings::class); - $this->attribution_model_settings = $var; - - return $this; - } - - /** - * Output only. The snippets used for tracking conversions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTagSnippets() - { - return $this->tag_snippets; - } - - /** - * Output only. The snippets used for tracking conversions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TagSnippet tag_snippets = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\TagSnippet>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTagSnippets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\TagSnippet::class); - $this->tag_snippets = $arr; - - return $this; - } - - /** - * The phone call duration in seconds after which a conversion should be - * reported for this conversion action. - * The value must be between 0 and 10000, inclusive. - * - * Generated from protobuf field optional int64 phone_call_duration_seconds = 27; - * @return int|string - */ - public function getPhoneCallDurationSeconds() - { - return isset($this->phone_call_duration_seconds) ? $this->phone_call_duration_seconds : 0; - } - - public function hasPhoneCallDurationSeconds() - { - return isset($this->phone_call_duration_seconds); - } - - public function clearPhoneCallDurationSeconds() - { - unset($this->phone_call_duration_seconds); - } - - /** - * The phone call duration in seconds after which a conversion should be - * reported for this conversion action. - * The value must be between 0 and 10000, inclusive. - * - * Generated from protobuf field optional int64 phone_call_duration_seconds = 27; - * @param int|string $var - * @return $this - */ - public function setPhoneCallDurationSeconds($var) - { - GPBUtil::checkInt64($var); - $this->phone_call_duration_seconds = $var; - - return $this; - } - - /** - * App ID for an app conversion action. - * - * Generated from protobuf field optional string app_id = 28; - * @return string - */ - public function getAppId() - { - return isset($this->app_id) ? $this->app_id : ''; - } - - public function hasAppId() - { - return isset($this->app_id); - } - - public function clearAppId() - { - unset($this->app_id); - } - - /** - * App ID for an app conversion action. - * - * Generated from protobuf field optional string app_id = 28; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * Output only. Mobile app vendor for an app conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getMobileAppVendor() - { - return $this->mobile_app_vendor; - } - - /** - * Output only. Mobile app vendor for an app conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setMobileAppVendor($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MobileAppVendorEnum\MobileAppVendor::class); - $this->mobile_app_vendor = $var; - - return $this; - } - - /** - * Output only. Firebase settings for Firebase conversion types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction\FirebaseSettings|null - */ - public function getFirebaseSettings() - { - return $this->firebase_settings; - } - - public function hasFirebaseSettings() - { - return isset($this->firebase_settings); - } - - public function clearFirebaseSettings() - { - unset($this->firebase_settings); - } - - /** - * Output only. Firebase settings for Firebase conversion types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.FirebaseSettings firebase_settings = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction\FirebaseSettings $var - * @return $this - */ - public function setFirebaseSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction\FirebaseSettings::class); - $this->firebase_settings = $var; - - return $this; - } - - /** - * Output only. Third Party App Analytics settings for third party conversion - * types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction\ThirdPartyAppAnalyticsSettings|null - */ - public function getThirdPartyAppAnalyticsSettings() - { - return $this->third_party_app_analytics_settings; - } - - public function hasThirdPartyAppAnalyticsSettings() - { - return isset($this->third_party_app_analytics_settings); - } - - public function clearThirdPartyAppAnalyticsSettings() - { - unset($this->third_party_app_analytics_settings); - } - - /** - * Output only. Third Party App Analytics settings for third party conversion - * types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction\ThirdPartyAppAnalyticsSettings $var - * @return $this - */ - public function setThirdPartyAppAnalyticsSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction\ThirdPartyAppAnalyticsSettings::class); - $this->third_party_app_analytics_settings = $var; - - return $this; - } - - /** - * Output only. Google Analytics 4 settings for Google Analytics 4 conversion - * types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.GoogleAnalytics4Settings google_analytics_4_settings = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction\GoogleAnalytics4Settings|null - */ - public function getGoogleAnalytics4Settings() - { - return $this->google_analytics_4_settings; - } - - public function hasGoogleAnalytics4Settings() - { - return isset($this->google_analytics_4_settings); - } - - public function clearGoogleAnalytics4Settings() - { - unset($this->google_analytics_4_settings); - } - - /** - * Output only. Google Analytics 4 settings for Google Analytics 4 conversion - * types. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction.GoogleAnalytics4Settings google_analytics_4_settings = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction\GoogleAnalytics4Settings $var - * @return $this - */ - public function setGoogleAnalytics4Settings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction\GoogleAnalytics4Settings::class); - $this->google_analytics_4_settings = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/AttributionModelSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/AttributionModelSettings.php deleted file mode 100644 index af3e1e7bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/AttributionModelSettings.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.resources.ConversionAction.AttributionModelSettings - */ -class AttributionModelSettings extends \Google\Protobuf\Internal\Message -{ - /** - * The attribution model type of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AttributionModelEnum.AttributionModel attribution_model = 1; - */ - protected $attribution_model = 0; - /** - * Output only. The status of the data-driven attribution model for the - * conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $data_driven_model_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $attribution_model - * The attribution model type of this conversion action. - * @type int $data_driven_model_status - * Output only. The status of the data-driven attribution model for the - * conversion action. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionAction::initOnce(); - parent::__construct($data); - } - - /** - * The attribution model type of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AttributionModelEnum.AttributionModel attribution_model = 1; - * @return int - */ - public function getAttributionModel() - { - return $this->attribution_model; - } - - /** - * The attribution model type of this conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AttributionModelEnum.AttributionModel attribution_model = 1; - * @param int $var - * @return $this - */ - public function setAttributionModel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AttributionModelEnum\AttributionModel::class); - $this->attribution_model = $var; - - return $this; - } - - /** - * Output only. The status of the data-driven attribution model for the - * conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getDataDrivenModelStatus() - { - return $this->data_driven_model_status; - } - - /** - * Output only. The status of the data-driven attribution model for the - * conversion action. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setDataDrivenModelStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DataDrivenModelStatusEnum\DataDrivenModelStatus::class); - $this->data_driven_model_status = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AttributionModelSettings::class, \Google\Ads\GoogleAds\V15\Resources\ConversionAction_AttributionModelSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/FirebaseSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/FirebaseSettings.php deleted file mode 100644 index 745e3e146..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/FirebaseSettings.php +++ /dev/null @@ -1,192 +0,0 @@ -google.ads.googleads.v15.resources.ConversionAction.FirebaseSettings - */ -class FirebaseSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The event name of a Firebase conversion. - * - * Generated from protobuf field optional string event_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $event_name = null; - /** - * Output only. The Firebase project ID of the conversion. - * - * Generated from protobuf field optional string project_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $project_id = null; - /** - * Output only. The GA property ID of the conversion. - * - * Generated from protobuf field int64 property_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $property_id = 0; - /** - * Output only. The GA property name of the conversion. - * - * Generated from protobuf field string property_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $property_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $event_name - * Output only. The event name of a Firebase conversion. - * @type string $project_id - * Output only. The Firebase project ID of the conversion. - * @type int|string $property_id - * Output only. The GA property ID of the conversion. - * @type string $property_name - * Output only. The GA property name of the conversion. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionAction::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The event name of a Firebase conversion. - * - * Generated from protobuf field optional string event_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEventName() - { - return isset($this->event_name) ? $this->event_name : ''; - } - - public function hasEventName() - { - return isset($this->event_name); - } - - public function clearEventName() - { - unset($this->event_name); - } - - /** - * Output only. The event name of a Firebase conversion. - * - * Generated from protobuf field optional string event_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * Output only. The Firebase project ID of the conversion. - * - * Generated from protobuf field optional string project_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getProjectId() - { - return isset($this->project_id) ? $this->project_id : ''; - } - - public function hasProjectId() - { - return isset($this->project_id); - } - - public function clearProjectId() - { - unset($this->project_id); - } - - /** - * Output only. The Firebase project ID of the conversion. - * - * Generated from protobuf field optional string project_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setProjectId($var) - { - GPBUtil::checkString($var, True); - $this->project_id = $var; - - return $this; - } - - /** - * Output only. The GA property ID of the conversion. - * - * Generated from protobuf field int64 property_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getPropertyId() - { - return $this->property_id; - } - - /** - * Output only. The GA property ID of the conversion. - * - * Generated from protobuf field int64 property_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setPropertyId($var) - { - GPBUtil::checkInt64($var); - $this->property_id = $var; - - return $this; - } - - /** - * Output only. The GA property name of the conversion. - * - * Generated from protobuf field string property_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPropertyName() - { - return $this->property_name; - } - - /** - * Output only. The GA property name of the conversion. - * - * Generated from protobuf field string property_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPropertyName($var) - { - GPBUtil::checkString($var, True); - $this->property_name = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FirebaseSettings::class, \Google\Ads\GoogleAds\V15\Resources\ConversionAction_FirebaseSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/GoogleAnalytics4Settings.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/GoogleAnalytics4Settings.php deleted file mode 100644 index cce82fe32..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/GoogleAnalytics4Settings.php +++ /dev/null @@ -1,138 +0,0 @@ -google.ads.googleads.v15.resources.ConversionAction.GoogleAnalytics4Settings - */ -class GoogleAnalytics4Settings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The name of the GA 4 event. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $event_name = ''; - /** - * Output only. The name of the GA 4 property. - * - * Generated from protobuf field string property_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $property_name = ''; - /** - * Output only. The ID of the GA 4 property. - * - * Generated from protobuf field int64 property_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $property_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $event_name - * Output only. The name of the GA 4 event. - * @type string $property_name - * Output only. The name of the GA 4 property. - * @type int|string $property_id - * Output only. The ID of the GA 4 property. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionAction::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The name of the GA 4 event. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEventName() - { - return $this->event_name; - } - - /** - * Output only. The name of the GA 4 event. - * - * Generated from protobuf field string event_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * Output only. The name of the GA 4 property. - * - * Generated from protobuf field string property_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPropertyName() - { - return $this->property_name; - } - - /** - * Output only. The name of the GA 4 property. - * - * Generated from protobuf field string property_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPropertyName($var) - { - GPBUtil::checkString($var, True); - $this->property_name = $var; - - return $this; - } - - /** - * Output only. The ID of the GA 4 property. - * - * Generated from protobuf field int64 property_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getPropertyId() - { - return $this->property_id; - } - - /** - * Output only. The ID of the GA 4 property. - * - * Generated from protobuf field int64 property_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setPropertyId($var) - { - GPBUtil::checkInt64($var); - $this->property_id = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GoogleAnalytics4Settings::class, \Google\Ads\GoogleAds\V15\Resources\ConversionAction_GoogleAnalytics4Settings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/ThirdPartyAppAnalyticsSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/ThirdPartyAppAnalyticsSettings.php deleted file mode 100644 index fbef8b3ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/ThirdPartyAppAnalyticsSettings.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.resources.ConversionAction.ThirdPartyAppAnalyticsSettings - */ -class ThirdPartyAppAnalyticsSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The event name of a third-party app analytics conversion. - * - * Generated from protobuf field optional string event_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $event_name = null; - /** - * Output only. Name of the third-party app analytics provider. - * - * Generated from protobuf field string provider_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $provider_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $event_name - * Output only. The event name of a third-party app analytics conversion. - * @type string $provider_name - * Output only. Name of the third-party app analytics provider. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionAction::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The event name of a third-party app analytics conversion. - * - * Generated from protobuf field optional string event_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEventName() - { - return isset($this->event_name) ? $this->event_name : ''; - } - - public function hasEventName() - { - return isset($this->event_name); - } - - public function clearEventName() - { - unset($this->event_name); - } - - /** - * Output only. The event name of a third-party app analytics conversion. - * - * Generated from protobuf field optional string event_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEventName($var) - { - GPBUtil::checkString($var, True); - $this->event_name = $var; - - return $this; - } - - /** - * Output only. Name of the third-party app analytics provider. - * - * Generated from protobuf field string provider_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getProviderName() - { - return $this->provider_name; - } - - /** - * Output only. Name of the third-party app analytics provider. - * - * Generated from protobuf field string provider_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setProviderName($var) - { - GPBUtil::checkString($var, True); - $this->provider_name = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ThirdPartyAppAnalyticsSettings::class, \Google\Ads\GoogleAds\V15\Resources\ConversionAction_ThirdPartyAppAnalyticsSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/ValueSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/ValueSettings.php deleted file mode 100644 index 2cf5c3c17..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionAction/ValueSettings.php +++ /dev/null @@ -1,193 +0,0 @@ -google.ads.googleads.v15.resources.ConversionAction.ValueSettings - */ -class ValueSettings extends \Google\Protobuf\Internal\Message -{ - /** - * The value to use when conversion events for this conversion action are - * sent with an invalid, disallowed or missing value, or when - * this conversion action is configured to always use the default value. - * - * Generated from protobuf field optional double default_value = 4; - */ - protected $default_value = null; - /** - * The currency code to use when conversion events for this conversion - * action are sent with an invalid or missing currency code, or when this - * conversion action is configured to always use the default value. - * - * Generated from protobuf field optional string default_currency_code = 5; - */ - protected $default_currency_code = null; - /** - * Controls whether the default value and default currency code are used in - * place of the value and currency code specified in conversion events for - * this conversion action. - * - * Generated from protobuf field optional bool always_use_default_value = 6; - */ - protected $always_use_default_value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $default_value - * The value to use when conversion events for this conversion action are - * sent with an invalid, disallowed or missing value, or when - * this conversion action is configured to always use the default value. - * @type string $default_currency_code - * The currency code to use when conversion events for this conversion - * action are sent with an invalid or missing currency code, or when this - * conversion action is configured to always use the default value. - * @type bool $always_use_default_value - * Controls whether the default value and default currency code are used in - * place of the value and currency code specified in conversion events for - * this conversion action. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionAction::initOnce(); - parent::__construct($data); - } - - /** - * The value to use when conversion events for this conversion action are - * sent with an invalid, disallowed or missing value, or when - * this conversion action is configured to always use the default value. - * - * Generated from protobuf field optional double default_value = 4; - * @return float - */ - public function getDefaultValue() - { - return isset($this->default_value) ? $this->default_value : 0.0; - } - - public function hasDefaultValue() - { - return isset($this->default_value); - } - - public function clearDefaultValue() - { - unset($this->default_value); - } - - /** - * The value to use when conversion events for this conversion action are - * sent with an invalid, disallowed or missing value, or when - * this conversion action is configured to always use the default value. - * - * Generated from protobuf field optional double default_value = 4; - * @param float $var - * @return $this - */ - public function setDefaultValue($var) - { - GPBUtil::checkDouble($var); - $this->default_value = $var; - - return $this; - } - - /** - * The currency code to use when conversion events for this conversion - * action are sent with an invalid or missing currency code, or when this - * conversion action is configured to always use the default value. - * - * Generated from protobuf field optional string default_currency_code = 5; - * @return string - */ - public function getDefaultCurrencyCode() - { - return isset($this->default_currency_code) ? $this->default_currency_code : ''; - } - - public function hasDefaultCurrencyCode() - { - return isset($this->default_currency_code); - } - - public function clearDefaultCurrencyCode() - { - unset($this->default_currency_code); - } - - /** - * The currency code to use when conversion events for this conversion - * action are sent with an invalid or missing currency code, or when this - * conversion action is configured to always use the default value. - * - * Generated from protobuf field optional string default_currency_code = 5; - * @param string $var - * @return $this - */ - public function setDefaultCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->default_currency_code = $var; - - return $this; - } - - /** - * Controls whether the default value and default currency code are used in - * place of the value and currency code specified in conversion events for - * this conversion action. - * - * Generated from protobuf field optional bool always_use_default_value = 6; - * @return bool - */ - public function getAlwaysUseDefaultValue() - { - return isset($this->always_use_default_value) ? $this->always_use_default_value : false; - } - - public function hasAlwaysUseDefaultValue() - { - return isset($this->always_use_default_value); - } - - public function clearAlwaysUseDefaultValue() - { - unset($this->always_use_default_value); - } - - /** - * Controls whether the default value and default currency code are used in - * place of the value and currency code specified in conversion events for - * this conversion action. - * - * Generated from protobuf field optional bool always_use_default_value = 6; - * @param bool $var - * @return $this - */ - public function setAlwaysUseDefaultValue($var) - { - GPBUtil::checkBool($var); - $this->always_use_default_value = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueSettings::class, \Google\Ads\GoogleAds\V15\Resources\ConversionAction_ValueSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionCustomVariable.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionCustomVariable.php deleted file mode 100644 index 79a4d64f3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionCustomVariable.php +++ /dev/null @@ -1,283 +0,0 @@ -google.ads.googleads.v15.resources.ConversionCustomVariable - */ -class ConversionCustomVariable extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the conversion custom variable. - * Conversion custom variable resource names have the form: - * `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the conversion custom variable. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Required. The name of the conversion custom variable. - * Name should be unique. The maximum length of name is 100 characters. - * There should not be any extra spaces before and after. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * Required. Immutable. The tag of the conversion custom variable. It is used - * in the event snippet and sent to Google Ads along with conversion pings. - * For conversion uploads in Google Ads API, the resource name of the - * conversion custom variable is used. Tag should be unique. The maximum size - * of tag is 100 bytes. There should not be any extra spaces before and after. - * Currently only lowercase letters, numbers and underscores are allowed in - * the tag. - * - * Generated from protobuf field string tag = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $tag = ''; - /** - * The status of the conversion custom variable for conversion event accrual. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus status = 5; - */ - protected $status = 0; - /** - * Output only. The resource name of the customer that owns the conversion - * custom variable. - * - * Generated from protobuf field string owner_customer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $owner_customer = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the conversion custom variable. - * Conversion custom variable resource names have the form: - * `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` - * @type int|string $id - * Output only. The ID of the conversion custom variable. - * @type string $name - * Required. The name of the conversion custom variable. - * Name should be unique. The maximum length of name is 100 characters. - * There should not be any extra spaces before and after. - * @type string $tag - * Required. Immutable. The tag of the conversion custom variable. It is used - * in the event snippet and sent to Google Ads along with conversion pings. - * For conversion uploads in Google Ads API, the resource name of the - * conversion custom variable is used. Tag should be unique. The maximum size - * of tag is 100 bytes. There should not be any extra spaces before and after. - * Currently only lowercase letters, numbers and underscores are allowed in - * the tag. - * @type int $status - * The status of the conversion custom variable for conversion event accrual. - * @type string $owner_customer - * Output only. The resource name of the customer that owns the conversion - * custom variable. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the conversion custom variable. - * Conversion custom variable resource names have the form: - * `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the conversion custom variable. - * Conversion custom variable resource names have the form: - * `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the conversion custom variable. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the conversion custom variable. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Required. The name of the conversion custom variable. - * Name should be unique. The maximum length of name is 100 characters. - * There should not be any extra spaces before and after. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the conversion custom variable. - * Name should be unique. The maximum length of name is 100 characters. - * There should not be any extra spaces before and after. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Immutable. The tag of the conversion custom variable. It is used - * in the event snippet and sent to Google Ads along with conversion pings. - * For conversion uploads in Google Ads API, the resource name of the - * conversion custom variable is used. Tag should be unique. The maximum size - * of tag is 100 bytes. There should not be any extra spaces before and after. - * Currently only lowercase letters, numbers and underscores are allowed in - * the tag. - * - * Generated from protobuf field string tag = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getTag() - { - return $this->tag; - } - - /** - * Required. Immutable. The tag of the conversion custom variable. It is used - * in the event snippet and sent to Google Ads along with conversion pings. - * For conversion uploads in Google Ads API, the resource name of the - * conversion custom variable is used. Tag should be unique. The maximum size - * of tag is 100 bytes. There should not be any extra spaces before and after. - * Currently only lowercase letters, numbers and underscores are allowed in - * the tag. - * - * Generated from protobuf field string tag = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setTag($var) - { - GPBUtil::checkString($var, True); - $this->tag = $var; - - return $this; - } - - /** - * The status of the conversion custom variable for conversion event accrual. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the conversion custom variable for conversion event accrual. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionCustomVariableStatusEnum\ConversionCustomVariableStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The resource name of the customer that owns the conversion - * custom variable. - * - * Generated from protobuf field string owner_customer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getOwnerCustomer() - { - return $this->owner_customer; - } - - /** - * Output only. The resource name of the customer that owns the conversion - * custom variable. - * - * Generated from protobuf field string owner_customer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setOwnerCustomer($var) - { - GPBUtil::checkString($var, True); - $this->owner_customer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionGoalCampaignConfig.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionGoalCampaignConfig.php deleted file mode 100644 index d9a819ef9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionGoalCampaignConfig.php +++ /dev/null @@ -1,181 +0,0 @@ -google.ads.googleads.v15.resources.ConversionGoalCampaignConfig - */ -class ConversionGoalCampaignConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the conversion goal campaign config. - * Conversion goal campaign config resource names have the form: - * `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The campaign with which this conversion goal campaign config is - * associated. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * The level of goal config the campaign is using. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoalConfigLevelEnum.GoalConfigLevel goal_config_level = 3; - */ - protected $goal_config_level = 0; - /** - * The custom conversion goal the campaign is using for optimization. - * - * Generated from protobuf field string custom_conversion_goal = 4 [(.google.api.resource_reference) = { - */ - protected $custom_conversion_goal = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the conversion goal campaign config. - * Conversion goal campaign config resource names have the form: - * `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` - * @type string $campaign - * Immutable. The campaign with which this conversion goal campaign config is - * associated. - * @type int $goal_config_level - * The level of goal config the campaign is using. - * @type string $custom_conversion_goal - * The custom conversion goal the campaign is using for optimization. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the conversion goal campaign config. - * Conversion goal campaign config resource names have the form: - * `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the conversion goal campaign config. - * Conversion goal campaign config resource names have the form: - * `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The campaign with which this conversion goal campaign config is - * associated. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Immutable. The campaign with which this conversion goal campaign config is - * associated. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * The level of goal config the campaign is using. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoalConfigLevelEnum.GoalConfigLevel goal_config_level = 3; - * @return int - */ - public function getGoalConfigLevel() - { - return $this->goal_config_level; - } - - /** - * The level of goal config the campaign is using. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoalConfigLevelEnum.GoalConfigLevel goal_config_level = 3; - * @param int $var - * @return $this - */ - public function setGoalConfigLevel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\GoalConfigLevelEnum\GoalConfigLevel::class); - $this->goal_config_level = $var; - - return $this; - } - - /** - * The custom conversion goal the campaign is using for optimization. - * - * Generated from protobuf field string custom_conversion_goal = 4 [(.google.api.resource_reference) = { - * @return string - */ - public function getCustomConversionGoal() - { - return $this->custom_conversion_goal; - } - - /** - * The custom conversion goal the campaign is using for optimization. - * - * Generated from protobuf field string custom_conversion_goal = 4 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomConversionGoal($var) - { - GPBUtil::checkString($var, True); - $this->custom_conversion_goal = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionTrackingSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionTrackingSetting.php deleted file mode 100644 index 5d1dd6d1f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionTrackingSetting.php +++ /dev/null @@ -1,318 +0,0 @@ -google.ads.googleads.v15.resources.ConversionTrackingSetting - */ -class ConversionTrackingSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The conversion tracking id used for this account. This id - * doesn't indicate whether the customer uses conversion tracking - * (conversion_tracking_status does). This field is read-only. - * - * Generated from protobuf field optional int64 conversion_tracking_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $conversion_tracking_id = null; - /** - * Output only. The conversion tracking id of the customer's manager. This is - * set when the customer is opted into cross account conversion tracking, and - * it overrides conversion_tracking_id. This field can only be managed through - * the Google Ads UI. This field is read-only. - * - * Generated from protobuf field optional int64 cross_account_conversion_tracking_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $cross_account_conversion_tracking_id = null; - /** - * Output only. Whether the customer has accepted customer data terms. If - * using cross-account conversion tracking, this value is inherited from the - * manager. This field is read-only. For more - * information, see https://support.google.com/adspolicy/answer/7475709. - * - * Generated from protobuf field bool accepted_customer_data_terms = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $accepted_customer_data_terms = false; - /** - * Output only. Conversion tracking status. It indicates whether the customer - * is using conversion tracking, and who is the conversion tracking owner of - * this customer. If this customer is using cross-account conversion tracking, - * the value returned will differ based on the `login-customer-id` of the - * request. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $conversion_tracking_status = 0; - /** - * Output only. Whether the customer is opted-in for enhanced conversions - * for leads. If using cross-account conversion tracking, this value is - * inherited from the manager. This field is read-only. - * - * Generated from protobuf field bool enhanced_conversions_for_leads_enabled = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $enhanced_conversions_for_leads_enabled = false; - /** - * Output only. The resource name of the customer where conversions are - * created and managed. This field is read-only. - * - * Generated from protobuf field string google_ads_conversion_customer = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $google_ads_conversion_customer = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $conversion_tracking_id - * Output only. The conversion tracking id used for this account. This id - * doesn't indicate whether the customer uses conversion tracking - * (conversion_tracking_status does). This field is read-only. - * @type int|string $cross_account_conversion_tracking_id - * Output only. The conversion tracking id of the customer's manager. This is - * set when the customer is opted into cross account conversion tracking, and - * it overrides conversion_tracking_id. This field can only be managed through - * the Google Ads UI. This field is read-only. - * @type bool $accepted_customer_data_terms - * Output only. Whether the customer has accepted customer data terms. If - * using cross-account conversion tracking, this value is inherited from the - * manager. This field is read-only. For more - * information, see https://support.google.com/adspolicy/answer/7475709. - * @type int $conversion_tracking_status - * Output only. Conversion tracking status. It indicates whether the customer - * is using conversion tracking, and who is the conversion tracking owner of - * this customer. If this customer is using cross-account conversion tracking, - * the value returned will differ based on the `login-customer-id` of the - * request. - * @type bool $enhanced_conversions_for_leads_enabled - * Output only. Whether the customer is opted-in for enhanced conversions - * for leads. If using cross-account conversion tracking, this value is - * inherited from the manager. This field is read-only. - * @type string $google_ads_conversion_customer - * Output only. The resource name of the customer where conversions are - * created and managed. This field is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Customer::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The conversion tracking id used for this account. This id - * doesn't indicate whether the customer uses conversion tracking - * (conversion_tracking_status does). This field is read-only. - * - * Generated from protobuf field optional int64 conversion_tracking_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getConversionTrackingId() - { - return isset($this->conversion_tracking_id) ? $this->conversion_tracking_id : 0; - } - - public function hasConversionTrackingId() - { - return isset($this->conversion_tracking_id); - } - - public function clearConversionTrackingId() - { - unset($this->conversion_tracking_id); - } - - /** - * Output only. The conversion tracking id used for this account. This id - * doesn't indicate whether the customer uses conversion tracking - * (conversion_tracking_status does). This field is read-only. - * - * Generated from protobuf field optional int64 conversion_tracking_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setConversionTrackingId($var) - { - GPBUtil::checkInt64($var); - $this->conversion_tracking_id = $var; - - return $this; - } - - /** - * Output only. The conversion tracking id of the customer's manager. This is - * set when the customer is opted into cross account conversion tracking, and - * it overrides conversion_tracking_id. This field can only be managed through - * the Google Ads UI. This field is read-only. - * - * Generated from protobuf field optional int64 cross_account_conversion_tracking_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCrossAccountConversionTrackingId() - { - return isset($this->cross_account_conversion_tracking_id) ? $this->cross_account_conversion_tracking_id : 0; - } - - public function hasCrossAccountConversionTrackingId() - { - return isset($this->cross_account_conversion_tracking_id); - } - - public function clearCrossAccountConversionTrackingId() - { - unset($this->cross_account_conversion_tracking_id); - } - - /** - * Output only. The conversion tracking id of the customer's manager. This is - * set when the customer is opted into cross account conversion tracking, and - * it overrides conversion_tracking_id. This field can only be managed through - * the Google Ads UI. This field is read-only. - * - * Generated from protobuf field optional int64 cross_account_conversion_tracking_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCrossAccountConversionTrackingId($var) - { - GPBUtil::checkInt64($var); - $this->cross_account_conversion_tracking_id = $var; - - return $this; - } - - /** - * Output only. Whether the customer has accepted customer data terms. If - * using cross-account conversion tracking, this value is inherited from the - * manager. This field is read-only. For more - * information, see https://support.google.com/adspolicy/answer/7475709. - * - * Generated from protobuf field bool accepted_customer_data_terms = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getAcceptedCustomerDataTerms() - { - return $this->accepted_customer_data_terms; - } - - /** - * Output only. Whether the customer has accepted customer data terms. If - * using cross-account conversion tracking, this value is inherited from the - * manager. This field is read-only. For more - * information, see https://support.google.com/adspolicy/answer/7475709. - * - * Generated from protobuf field bool accepted_customer_data_terms = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setAcceptedCustomerDataTerms($var) - { - GPBUtil::checkBool($var); - $this->accepted_customer_data_terms = $var; - - return $this; - } - - /** - * Output only. Conversion tracking status. It indicates whether the customer - * is using conversion tracking, and who is the conversion tracking owner of - * this customer. If this customer is using cross-account conversion tracking, - * the value returned will differ based on the `login-customer-id` of the - * request. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getConversionTrackingStatus() - { - return $this->conversion_tracking_status; - } - - /** - * Output only. Conversion tracking status. It indicates whether the customer - * is using conversion tracking, and who is the conversion tracking owner of - * this customer. If this customer is using cross-account conversion tracking, - * the value returned will differ based on the `login-customer-id` of the - * request. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setConversionTrackingStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionTrackingStatusEnum\ConversionTrackingStatus::class); - $this->conversion_tracking_status = $var; - - return $this; - } - - /** - * Output only. Whether the customer is opted-in for enhanced conversions - * for leads. If using cross-account conversion tracking, this value is - * inherited from the manager. This field is read-only. - * - * Generated from protobuf field bool enhanced_conversions_for_leads_enabled = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getEnhancedConversionsForLeadsEnabled() - { - return $this->enhanced_conversions_for_leads_enabled; - } - - /** - * Output only. Whether the customer is opted-in for enhanced conversions - * for leads. If using cross-account conversion tracking, this value is - * inherited from the manager. This field is read-only. - * - * Generated from protobuf field bool enhanced_conversions_for_leads_enabled = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setEnhancedConversionsForLeadsEnabled($var) - { - GPBUtil::checkBool($var); - $this->enhanced_conversions_for_leads_enabled = $var; - - return $this; - } - - /** - * Output only. The resource name of the customer where conversions are - * created and managed. This field is read-only. - * - * Generated from protobuf field string google_ads_conversion_customer = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getGoogleAdsConversionCustomer() - { - return $this->google_ads_conversion_customer; - } - - /** - * Output only. The resource name of the customer where conversions are - * created and managed. This field is read-only. - * - * Generated from protobuf field string google_ads_conversion_customer = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setGoogleAdsConversionCustomer($var) - { - GPBUtil::checkString($var, True); - $this->google_ads_conversion_customer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule.php deleted file mode 100644 index 0758a78aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule.php +++ /dev/null @@ -1,377 +0,0 @@ -google.ads.googleads.v15.resources.ConversionValueRule - */ -class ConversionValueRule extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the conversion value rule. - * Conversion value rule resource names have the form: - * `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the conversion value rule. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Action applied when the rule is triggered. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleAction action = 3; - */ - protected $action = null; - /** - * Condition for Geo location that must be satisfied for the value rule to - * apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleGeoLocationCondition geo_location_condition = 4; - */ - protected $geo_location_condition = null; - /** - * Condition for device type that must be satisfied for the value rule to - * apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleDeviceCondition device_condition = 5; - */ - protected $device_condition = null; - /** - * Condition for audience that must be satisfied for the value rule to apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleAudienceCondition audience_condition = 6; - */ - protected $audience_condition = null; - /** - * Output only. The resource name of the conversion value rule's owner - * customer. When the value rule is inherited from a manager customer, - * owner_customer will be the resource name of the manager whereas the - * customer in the resource_name will be of the requesting serving customer. - * ** Read-only ** - * - * Generated from protobuf field string owner_customer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $owner_customer = ''; - /** - * The status of the conversion value rule. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRuleStatusEnum.ConversionValueRuleStatus status = 8; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the conversion value rule. - * Conversion value rule resource names have the form: - * `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - * @type int|string $id - * Output only. The ID of the conversion value rule. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleAction $action - * Action applied when the rule is triggered. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleGeoLocationCondition $geo_location_condition - * Condition for Geo location that must be satisfied for the value rule to - * apply. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleDeviceCondition $device_condition - * Condition for device type that must be satisfied for the value rule to - * apply. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleAudienceCondition $audience_condition - * Condition for audience that must be satisfied for the value rule to apply. - * @type string $owner_customer - * Output only. The resource name of the conversion value rule's owner - * customer. When the value rule is inherited from a manager customer, - * owner_customer will be the resource name of the manager whereas the - * customer in the resource_name will be of the requesting serving customer. - * ** Read-only ** - * @type int $status - * The status of the conversion value rule. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the conversion value rule. - * Conversion value rule resource names have the form: - * `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the conversion value rule. - * Conversion value rule resource names have the form: - * `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the conversion value rule. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the conversion value rule. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Action applied when the rule is triggered. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleAction action = 3; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleAction|null - */ - public function getAction() - { - return $this->action; - } - - public function hasAction() - { - return isset($this->action); - } - - public function clearAction() - { - unset($this->action); - } - - /** - * Action applied when the rule is triggered. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleAction action = 3; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleAction $var - * @return $this - */ - public function setAction($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleAction::class); - $this->action = $var; - - return $this; - } - - /** - * Condition for Geo location that must be satisfied for the value rule to - * apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleGeoLocationCondition geo_location_condition = 4; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleGeoLocationCondition|null - */ - public function getGeoLocationCondition() - { - return $this->geo_location_condition; - } - - public function hasGeoLocationCondition() - { - return isset($this->geo_location_condition); - } - - public function clearGeoLocationCondition() - { - unset($this->geo_location_condition); - } - - /** - * Condition for Geo location that must be satisfied for the value rule to - * apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleGeoLocationCondition geo_location_condition = 4; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleGeoLocationCondition $var - * @return $this - */ - public function setGeoLocationCondition($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleGeoLocationCondition::class); - $this->geo_location_condition = $var; - - return $this; - } - - /** - * Condition for device type that must be satisfied for the value rule to - * apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleDeviceCondition device_condition = 5; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleDeviceCondition|null - */ - public function getDeviceCondition() - { - return $this->device_condition; - } - - public function hasDeviceCondition() - { - return isset($this->device_condition); - } - - public function clearDeviceCondition() - { - unset($this->device_condition); - } - - /** - * Condition for device type that must be satisfied for the value rule to - * apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleDeviceCondition device_condition = 5; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleDeviceCondition $var - * @return $this - */ - public function setDeviceCondition($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleDeviceCondition::class); - $this->device_condition = $var; - - return $this; - } - - /** - * Condition for audience that must be satisfied for the value rule to apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleAudienceCondition audience_condition = 6; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleAudienceCondition|null - */ - public function getAudienceCondition() - { - return $this->audience_condition; - } - - public function hasAudienceCondition() - { - return isset($this->audience_condition); - } - - public function clearAudienceCondition() - { - unset($this->audience_condition); - } - - /** - * Condition for audience that must be satisfied for the value rule to apply. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleAudienceCondition audience_condition = 6; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleAudienceCondition $var - * @return $this - */ - public function setAudienceCondition($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule\ValueRuleAudienceCondition::class); - $this->audience_condition = $var; - - return $this; - } - - /** - * Output only. The resource name of the conversion value rule's owner - * customer. When the value rule is inherited from a manager customer, - * owner_customer will be the resource name of the manager whereas the - * customer in the resource_name will be of the requesting serving customer. - * ** Read-only ** - * - * Generated from protobuf field string owner_customer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getOwnerCustomer() - { - return $this->owner_customer; - } - - /** - * Output only. The resource name of the conversion value rule's owner - * customer. When the value rule is inherited from a manager customer, - * owner_customer will be the resource name of the manager whereas the - * customer in the resource_name will be of the requesting serving customer. - * ** Read-only ** - * - * Generated from protobuf field string owner_customer = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setOwnerCustomer($var) - { - GPBUtil::checkString($var, True); - $this->owner_customer = $var; - - return $this; - } - - /** - * The status of the conversion value rule. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRuleStatusEnum.ConversionValueRuleStatus status = 8; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the conversion value rule. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRuleStatusEnum.ConversionValueRuleStatus status = 8; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionValueRuleStatusEnum\ConversionValueRuleStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleAction.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleAction.php deleted file mode 100644 index ef5853caa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleAction.php +++ /dev/null @@ -1,104 +0,0 @@ -google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleAction - */ -class ValueRuleAction extends \Google\Protobuf\Internal\Message -{ - /** - * Specifies applied operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleOperationEnum.ValueRuleOperation operation = 1; - */ - protected $operation = 0; - /** - * Specifies applied value. - * - * Generated from protobuf field double value = 2; - */ - protected $value = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operation - * Specifies applied operation. - * @type float $value - * Specifies applied value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::initOnce(); - parent::__construct($data); - } - - /** - * Specifies applied operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleOperationEnum.ValueRuleOperation operation = 1; - * @return int - */ - public function getOperation() - { - return $this->operation; - } - - /** - * Specifies applied operation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleOperationEnum.ValueRuleOperation operation = 1; - * @param int $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ValueRuleOperationEnum\ValueRuleOperation::class); - $this->operation = $var; - - return $this; - } - - /** - * Specifies applied value. - * - * Generated from protobuf field double value = 2; - * @return float - */ - public function getValue() - { - return $this->value; - } - - /** - * Specifies applied value. - * - * Generated from protobuf field double value = 2; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkDouble($var); - $this->value = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleAction::class, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule_ValueRuleAction::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleAudienceCondition.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleAudienceCondition.php deleted file mode 100644 index 5638475bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleAudienceCondition.php +++ /dev/null @@ -1,116 +0,0 @@ -google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleAudienceCondition - */ -class ValueRuleAudienceCondition extends \Google\Protobuf\Internal\Message -{ - /** - * User Lists. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * - * Generated from protobuf field repeated string user_lists = 1 [(.google.api.resource_reference) = { - */ - private $user_lists; - /** - * User Interests. - * - * Generated from protobuf field repeated string user_interests = 2 [(.google.api.resource_reference) = { - */ - private $user_interests; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $user_lists - * User Lists. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * @type array|\Google\Protobuf\Internal\RepeatedField $user_interests - * User Interests. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::initOnce(); - parent::__construct($data); - } - - /** - * User Lists. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * - * Generated from protobuf field repeated string user_lists = 1 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserLists() - { - return $this->user_lists; - } - - /** - * User Lists. - * The Similar Audiences sunset starts May 2023. Refer to - * https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - * for other options. - * - * Generated from protobuf field repeated string user_lists = 1 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserLists($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->user_lists = $arr; - - return $this; - } - - /** - * User Interests. - * - * Generated from protobuf field repeated string user_interests = 2 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserInterests() - { - return $this->user_interests; - } - - /** - * User Interests. - * - * Generated from protobuf field repeated string user_interests = 2 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserInterests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->user_interests = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleAudienceCondition::class, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule_ValueRuleAudienceCondition::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleDeviceCondition.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleDeviceCondition.php deleted file mode 100644 index 13b39eb04..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleDeviceCondition.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleDeviceCondition - */ -class ValueRuleDeviceCondition extends \Google\Protobuf\Internal\Message -{ - /** - * Value for device type condition. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ValueRuleDeviceTypeEnum.ValueRuleDeviceType device_types = 1; - */ - private $device_types; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $device_types - * Value for device type condition. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::initOnce(); - parent::__construct($data); - } - - /** - * Value for device type condition. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ValueRuleDeviceTypeEnum.ValueRuleDeviceType device_types = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDeviceTypes() - { - return $this->device_types; - } - - /** - * Value for device type condition. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ValueRuleDeviceTypeEnum.ValueRuleDeviceType device_types = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDeviceTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\ValueRuleDeviceTypeEnum\ValueRuleDeviceType::class); - $this->device_types = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleDeviceCondition::class, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule_ValueRuleDeviceCondition::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleGeoLocationCondition.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleGeoLocationCondition.php deleted file mode 100644 index 8233a520d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule/ValueRuleGeoLocationCondition.php +++ /dev/null @@ -1,172 +0,0 @@ -google.ads.googleads.v15.resources.ConversionValueRule.ValueRuleGeoLocationCondition - */ -class ValueRuleGeoLocationCondition extends \Google\Protobuf\Internal\Message -{ - /** - * Geo locations that advertisers want to exclude. - * - * Generated from protobuf field repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { - */ - private $excluded_geo_target_constants; - /** - * Excluded Geo location match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; - */ - protected $excluded_geo_match_type = 0; - /** - * Geo locations that advertisers want to include. - * - * Generated from protobuf field repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { - */ - private $geo_target_constants; - /** - * Included Geo location match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4; - */ - protected $geo_match_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $excluded_geo_target_constants - * Geo locations that advertisers want to exclude. - * @type int $excluded_geo_match_type - * Excluded Geo location match type. - * @type array|\Google\Protobuf\Internal\RepeatedField $geo_target_constants - * Geo locations that advertisers want to include. - * @type int $geo_match_type - * Included Geo location match type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::initOnce(); - parent::__construct($data); - } - - /** - * Geo locations that advertisers want to exclude. - * - * Generated from protobuf field repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExcludedGeoTargetConstants() - { - return $this->excluded_geo_target_constants; - } - - /** - * Geo locations that advertisers want to exclude. - * - * Generated from protobuf field repeated string excluded_geo_target_constants = 1 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExcludedGeoTargetConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->excluded_geo_target_constants = $arr; - - return $this; - } - - /** - * Excluded Geo location match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; - * @return int - */ - public function getExcludedGeoMatchType() - { - return $this->excluded_geo_match_type; - } - - /** - * Excluded Geo location match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; - * @param int $var - * @return $this - */ - public function setExcludedGeoMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ValueRuleGeoLocationMatchTypeEnum\ValueRuleGeoLocationMatchType::class); - $this->excluded_geo_match_type = $var; - - return $this; - } - - /** - * Geo locations that advertisers want to include. - * - * Generated from protobuf field repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoTargetConstants() - { - return $this->geo_target_constants; - } - - /** - * Geo locations that advertisers want to include. - * - * Generated from protobuf field repeated string geo_target_constants = 3 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoTargetConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->geo_target_constants = $arr; - - return $this; - } - - /** - * Included Geo location match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4; - * @return int - */ - public function getGeoMatchType() - { - return $this->geo_match_type; - } - - /** - * Included Geo location match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4; - * @param int $var - * @return $this - */ - public function setGeoMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ValueRuleGeoLocationMatchTypeEnum\ValueRuleGeoLocationMatchType::class); - $this->geo_match_type = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueRuleGeoLocationCondition::class, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule_ValueRuleGeoLocationCondition::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRuleSet.php b/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRuleSet.php deleted file mode 100644 index d43775b98..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ConversionValueRuleSet.php +++ /dev/null @@ -1,399 +0,0 @@ -google.ads.googleads.v15.resources.ConversionValueRuleSet - */ -class ConversionValueRuleSet extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the conversion value rule set. - * Conversion value rule set resource names have the form: - * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the conversion value rule set. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Resource names of rules within the rule set. - * - * Generated from protobuf field repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { - */ - private $conversion_value_rules; - /** - * Defines dimensions for Value Rule conditions. The condition types of value - * rules within this value rule set must be of these dimensions. The first - * entry in this list is the primary dimension of the included value rules. - * When using value rule primary dimension segmentation, conversion values - * will be segmented into the values adjusted by value rules and the original - * values, if some value rules apply. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4; - */ - private $dimensions; - /** - * Output only. The resource name of the conversion value rule set's owner - * customer. When the value rule set is inherited from a manager customer, - * owner_customer will be the resource name of the manager whereas the - * customer in the resource_name will be of the requesting serving customer. - * ** Read-only ** - * - * Generated from protobuf field string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $owner_customer = ''; - /** - * Immutable. Defines the scope where the conversion value rule set is - * attached. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $attachment_type = 0; - /** - * The resource name of the campaign when the conversion value rule - * set is attached to a campaign. - * - * Generated from protobuf field string campaign = 7 [(.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Output only. The status of the conversion value rule set. - * ** Read-only ** - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Immutable. The conversion action categories of the conversion value rule - * set. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE]; - */ - private $conversion_action_categories; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the conversion value rule set. - * Conversion value rule set resource names have the form: - * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - * @type int|string $id - * Output only. The ID of the conversion value rule set. - * @type array|\Google\Protobuf\Internal\RepeatedField $conversion_value_rules - * Resource names of rules within the rule set. - * @type array|\Google\Protobuf\Internal\RepeatedField $dimensions - * Defines dimensions for Value Rule conditions. The condition types of value - * rules within this value rule set must be of these dimensions. The first - * entry in this list is the primary dimension of the included value rules. - * When using value rule primary dimension segmentation, conversion values - * will be segmented into the values adjusted by value rules and the original - * values, if some value rules apply. - * @type string $owner_customer - * Output only. The resource name of the conversion value rule set's owner - * customer. When the value rule set is inherited from a manager customer, - * owner_customer will be the resource name of the manager whereas the - * customer in the resource_name will be of the requesting serving customer. - * ** Read-only ** - * @type int $attachment_type - * Immutable. Defines the scope where the conversion value rule set is - * attached. - * @type string $campaign - * The resource name of the campaign when the conversion value rule - * set is attached to a campaign. - * @type int $status - * Output only. The status of the conversion value rule set. - * ** Read-only ** - * @type array|\Google\Protobuf\Internal\RepeatedField $conversion_action_categories - * Immutable. The conversion action categories of the conversion value rule - * set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the conversion value rule set. - * Conversion value rule set resource names have the form: - * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the conversion value rule set. - * Conversion value rule set resource names have the form: - * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the conversion value rule set. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the conversion value rule set. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Resource names of rules within the rule set. - * - * Generated from protobuf field repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConversionValueRules() - { - return $this->conversion_value_rules; - } - - /** - * Resource names of rules within the rule set. - * - * Generated from protobuf field repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConversionValueRules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->conversion_value_rules = $arr; - - return $this; - } - - /** - * Defines dimensions for Value Rule conditions. The condition types of value - * rules within this value rule set must be of these dimensions. The first - * entry in this list is the primary dimension of the included value rules. - * When using value rule primary dimension segmentation, conversion values - * will be segmented into the values adjusted by value rules and the original - * values, if some value rules apply. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * Defines dimensions for Value Rule conditions. The condition types of value - * rules within this value rule set must be of these dimensions. The first - * entry in this list is the primary dimension of the included value rules. - * When using value rule primary dimension segmentation, conversion values - * will be segmented into the values adjusted by value rules and the original - * values, if some value rules apply. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\ValueRuleSetDimensionEnum\ValueRuleSetDimension::class); - $this->dimensions = $arr; - - return $this; - } - - /** - * Output only. The resource name of the conversion value rule set's owner - * customer. When the value rule set is inherited from a manager customer, - * owner_customer will be the resource name of the manager whereas the - * customer in the resource_name will be of the requesting serving customer. - * ** Read-only ** - * - * Generated from protobuf field string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getOwnerCustomer() - { - return $this->owner_customer; - } - - /** - * Output only. The resource name of the conversion value rule set's owner - * customer. When the value rule set is inherited from a manager customer, - * owner_customer will be the resource name of the manager whereas the - * customer in the resource_name will be of the requesting serving customer. - * ** Read-only ** - * - * Generated from protobuf field string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setOwnerCustomer($var) - { - GPBUtil::checkString($var, True); - $this->owner_customer = $var; - - return $this; - } - - /** - * Immutable. Defines the scope where the conversion value rule set is - * attached. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getAttachmentType() - { - return $this->attachment_type; - } - - /** - * Immutable. Defines the scope where the conversion value rule set is - * attached. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setAttachmentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ValueRuleSetAttachmentTypeEnum\ValueRuleSetAttachmentType::class); - $this->attachment_type = $var; - - return $this; - } - - /** - * The resource name of the campaign when the conversion value rule - * set is attached to a campaign. - * - * Generated from protobuf field string campaign = 7 [(.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * The resource name of the campaign when the conversion value rule - * set is attached to a campaign. - * - * Generated from protobuf field string campaign = 7 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. The status of the conversion value rule set. - * ** Read-only ** - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the conversion value rule set. - * ** Read-only ** - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionValueRuleSetStatusEnum\ConversionValueRuleSetStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. The conversion action categories of the conversion value rule - * set. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConversionActionCategories() - { - return $this->conversion_action_categories; - } - - /** - * Immutable. The conversion action categories of the conversion value rule - * set. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConversionActionCategories($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\ConversionActionCategoryEnum\ConversionActionCategory::class); - $this->conversion_action_categories = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CurrencyConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/CurrencyConstant.php deleted file mode 100644 index facc2d324..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CurrencyConstant.php +++ /dev/null @@ -1,259 +0,0 @@ -google.ads.googleads.v15.resources.CurrencyConstant - */ -class CurrencyConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the currency constant. - * Currency constant resource names have the form: - * `currencyConstants/{code}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ISO 4217 three-letter currency code, for example, "USD" - * - * Generated from protobuf field optional string code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $code = null; - /** - * Output only. Full English name of the currency. - * - * Generated from protobuf field optional string name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. Standard symbol for describing this currency, for example, '$' - * for US Dollars. - * - * Generated from protobuf field optional string symbol = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $symbol = null; - /** - * Output only. The billable unit for this currency. Billed amounts should be - * multiples of this value. - * - * Generated from protobuf field optional int64 billable_unit_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $billable_unit_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the currency constant. - * Currency constant resource names have the form: - * `currencyConstants/{code}` - * @type string $code - * Output only. ISO 4217 three-letter currency code, for example, "USD" - * @type string $name - * Output only. Full English name of the currency. - * @type string $symbol - * Output only. Standard symbol for describing this currency, for example, '$' - * for US Dollars. - * @type int|string $billable_unit_micros - * Output only. The billable unit for this currency. Billed amounts should be - * multiples of this value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CurrencyConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the currency constant. - * Currency constant resource names have the form: - * `currencyConstants/{code}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the currency constant. - * Currency constant resource names have the form: - * `currencyConstants/{code}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ISO 4217 three-letter currency code, for example, "USD" - * - * Generated from protobuf field optional string code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCode() - { - return isset($this->code) ? $this->code : ''; - } - - public function hasCode() - { - return isset($this->code); - } - - public function clearCode() - { - unset($this->code); - } - - /** - * Output only. ISO 4217 three-letter currency code, for example, "USD" - * - * Generated from protobuf field optional string code = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkString($var, True); - $this->code = $var; - - return $this; - } - - /** - * Output only. Full English name of the currency. - * - * Generated from protobuf field optional string name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. Full English name of the currency. - * - * Generated from protobuf field optional string name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Standard symbol for describing this currency, for example, '$' - * for US Dollars. - * - * Generated from protobuf field optional string symbol = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSymbol() - { - return isset($this->symbol) ? $this->symbol : ''; - } - - public function hasSymbol() - { - return isset($this->symbol); - } - - public function clearSymbol() - { - unset($this->symbol); - } - - /** - * Output only. Standard symbol for describing this currency, for example, '$' - * for US Dollars. - * - * Generated from protobuf field optional string symbol = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSymbol($var) - { - GPBUtil::checkString($var, True); - $this->symbol = $var; - - return $this; - } - - /** - * Output only. The billable unit for this currency. Billed amounts should be - * multiples of this value. - * - * Generated from protobuf field optional int64 billable_unit_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getBillableUnitMicros() - { - return isset($this->billable_unit_micros) ? $this->billable_unit_micros : 0; - } - - public function hasBillableUnitMicros() - { - return isset($this->billable_unit_micros); - } - - public function clearBillableUnitMicros() - { - unset($this->billable_unit_micros); - } - - /** - * Output only. The billable unit for this currency. Billed amounts should be - * multiples of this value. - * - * Generated from protobuf field optional int64 billable_unit_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setBillableUnitMicros($var) - { - GPBUtil::checkInt64($var); - $this->billable_unit_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomAudience.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomAudience.php deleted file mode 100644 index 96267ffed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomAudience.php +++ /dev/null @@ -1,307 +0,0 @@ -google.ads.googleads.v15.resources.CustomAudience - */ -class CustomAudience extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the custom audience. - * Custom audience resource names have the form: - * `customers/{customer_id}/customAudiences/{custom_audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of the custom audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. Status of this custom audience. Indicates whether the custom - * audience is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceStatusEnum.CustomAudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Name of the custom audience. It should be unique for all custom audiences - * created by a customer. - * This field is required for creating operations. - * - * Generated from protobuf field string name = 4; - */ - protected $name = ''; - /** - * Type of the custom audience. - * ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - * audience but kept for existing audiences) - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceTypeEnum.CustomAudienceType type = 5; - */ - protected $type = 0; - /** - * Description of this custom audience. - * - * Generated from protobuf field string description = 6; - */ - protected $description = ''; - /** - * List of custom audience members that this custom audience is composed of. - * Members can be added during CustomAudience creation. If members are - * presented in UPDATE operation, existing members will be overridden. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomAudienceMember members = 7; - */ - private $members; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the custom audience. - * Custom audience resource names have the form: - * `customers/{customer_id}/customAudiences/{custom_audience_id}` - * @type int|string $id - * Output only. ID of the custom audience. - * @type int $status - * Output only. Status of this custom audience. Indicates whether the custom - * audience is enabled or removed. - * @type string $name - * Name of the custom audience. It should be unique for all custom audiences - * created by a customer. - * This field is required for creating operations. - * @type int $type - * Type of the custom audience. - * ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - * audience but kept for existing audiences) - * @type string $description - * Description of this custom audience. - * @type array<\Google\Ads\GoogleAds\V15\Resources\CustomAudienceMember>|\Google\Protobuf\Internal\RepeatedField $members - * List of custom audience members that this custom audience is composed of. - * Members can be added during CustomAudience creation. If members are - * presented in UPDATE operation, existing members will be overridden. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomAudience::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the custom audience. - * Custom audience resource names have the form: - * `customers/{customer_id}/customAudiences/{custom_audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the custom audience. - * Custom audience resource names have the form: - * `customers/{customer_id}/customAudiences/{custom_audience_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of the custom audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. ID of the custom audience. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Status of this custom audience. Indicates whether the custom - * audience is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceStatusEnum.CustomAudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of this custom audience. Indicates whether the custom - * audience is enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceStatusEnum.CustomAudienceStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomAudienceStatusEnum\CustomAudienceStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Name of the custom audience. It should be unique for all custom audiences - * created by a customer. - * This field is required for creating operations. - * - * Generated from protobuf field string name = 4; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Name of the custom audience. It should be unique for all custom audiences - * created by a customer. - * This field is required for creating operations. - * - * Generated from protobuf field string name = 4; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Type of the custom audience. - * ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - * audience but kept for existing audiences) - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceTypeEnum.CustomAudienceType type = 5; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the custom audience. - * ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - * audience but kept for existing audiences) - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceTypeEnum.CustomAudienceType type = 5; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomAudienceTypeEnum\CustomAudienceType::class); - $this->type = $var; - - return $this; - } - - /** - * Description of this custom audience. - * - * Generated from protobuf field string description = 6; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description of this custom audience. - * - * Generated from protobuf field string description = 6; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * List of custom audience members that this custom audience is composed of. - * Members can be added during CustomAudience creation. If members are - * presented in UPDATE operation, existing members will be overridden. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomAudienceMember members = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMembers() - { - return $this->members; - } - - /** - * List of custom audience members that this custom audience is composed of. - * Members can be added during CustomAudience creation. If members are - * presented in UPDATE operation, existing members will be overridden. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomAudienceMember members = 7; - * @param array<\Google\Ads\GoogleAds\V15\Resources\CustomAudienceMember>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMembers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\CustomAudienceMember::class); - $this->members = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomAudienceMember.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomAudienceMember.php deleted file mode 100644 index aabe3ca9f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomAudienceMember.php +++ /dev/null @@ -1,224 +0,0 @@ -google.ads.googleads.v15.resources.CustomAudienceMember - */ -class CustomAudienceMember extends \Google\Protobuf\Internal\Message -{ - /** - * The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceMemberTypeEnum.CustomAudienceMemberType member_type = 1; - */ - protected $member_type = 0; - protected $value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $member_type - * The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. - * @type string $keyword - * A keyword or keyword phrase — at most 10 words and 80 characters. - * Languages with double-width characters such as Chinese, Japanese, - * or Korean, are allowed 40 characters, which describes the user's - * interests or actions. - * @type string $url - * An HTTP URL, protocol-included — at most 2048 characters, which includes - * contents users have interests in. - * @type int|string $place_category - * A place type described by a place category users visit. - * @type string $app - * A package name of Android apps which users installed such as - * com.google.example. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomAudience::initOnce(); - parent::__construct($data); - } - - /** - * The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceMemberTypeEnum.CustomAudienceMemberType member_type = 1; - * @return int - */ - public function getMemberType() - { - return $this->member_type; - } - - /** - * The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomAudienceMemberTypeEnum.CustomAudienceMemberType member_type = 1; - * @param int $var - * @return $this - */ - public function setMemberType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomAudienceMemberTypeEnum\CustomAudienceMemberType::class); - $this->member_type = $var; - - return $this; - } - - /** - * A keyword or keyword phrase — at most 10 words and 80 characters. - * Languages with double-width characters such as Chinese, Japanese, - * or Korean, are allowed 40 characters, which describes the user's - * interests or actions. - * - * Generated from protobuf field string keyword = 2; - * @return string - */ - public function getKeyword() - { - return $this->readOneof(2); - } - - public function hasKeyword() - { - return $this->hasOneof(2); - } - - /** - * A keyword or keyword phrase — at most 10 words and 80 characters. - * Languages with double-width characters such as Chinese, Japanese, - * or Korean, are allowed 40 characters, which describes the user's - * interests or actions. - * - * Generated from protobuf field string keyword = 2; - * @param string $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * An HTTP URL, protocol-included — at most 2048 characters, which includes - * contents users have interests in. - * - * Generated from protobuf field string url = 3; - * @return string - */ - public function getUrl() - { - return $this->readOneof(3); - } - - public function hasUrl() - { - return $this->hasOneof(3); - } - - /** - * An HTTP URL, protocol-included — at most 2048 characters, which includes - * contents users have interests in. - * - * Generated from protobuf field string url = 3; - * @param string $var - * @return $this - */ - public function setUrl($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A place type described by a place category users visit. - * - * Generated from protobuf field int64 place_category = 4; - * @return int|string - */ - public function getPlaceCategory() - { - return $this->readOneof(4); - } - - public function hasPlaceCategory() - { - return $this->hasOneof(4); - } - - /** - * A place type described by a place category users visit. - * - * Generated from protobuf field int64 place_category = 4; - * @param int|string $var - * @return $this - */ - public function setPlaceCategory($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * A package name of Android apps which users installed such as - * com.google.example. - * - * Generated from protobuf field string app = 5; - * @return string - */ - public function getApp() - { - return $this->readOneof(5); - } - - public function hasApp() - { - return $this->hasOneof(5); - } - - /** - * A package name of Android apps which users installed such as - * com.google.example. - * - * Generated from protobuf field string app = 5; - * @param string $var - * @return $this - */ - public function setApp($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("value"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomConversionGoal.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomConversionGoal.php deleted file mode 100644 index 7aa67bb9f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomConversionGoal.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.resources.CustomConversionGoal - */ -class CustomConversionGoal extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the custom conversion goal. - * Custom conversion goal resource names have the form: - * `customers/{customer_id}/customConversionGoals/{goal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The ID for this custom conversion goal. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $id = 0; - /** - * The name for this custom conversion goal. - * - * Generated from protobuf field string name = 3; - */ - protected $name = ''; - /** - * Conversion actions that the custom conversion goal makes biddable. - * - * Generated from protobuf field repeated string conversion_actions = 4 [(.google.api.resource_reference) = { - */ - private $conversion_actions; - /** - * The status of the custom conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomConversionGoalStatusEnum.CustomConversionGoalStatus status = 5; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the custom conversion goal. - * Custom conversion goal resource names have the form: - * `customers/{customer_id}/customConversionGoals/{goal_id}` - * @type int|string $id - * Immutable. The ID for this custom conversion goal. - * @type string $name - * The name for this custom conversion goal. - * @type array|\Google\Protobuf\Internal\RepeatedField $conversion_actions - * Conversion actions that the custom conversion goal makes biddable. - * @type int $status - * The status of the custom conversion goal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the custom conversion goal. - * Custom conversion goal resource names have the form: - * `customers/{customer_id}/customConversionGoals/{goal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the custom conversion goal. - * Custom conversion goal resource names have the form: - * `customers/{customer_id}/customConversionGoals/{goal_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The ID for this custom conversion goal. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Immutable. The ID for this custom conversion goal. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name for this custom conversion goal. - * - * Generated from protobuf field string name = 3; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The name for this custom conversion goal. - * - * Generated from protobuf field string name = 3; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Conversion actions that the custom conversion goal makes biddable. - * - * Generated from protobuf field repeated string conversion_actions = 4 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConversionActions() - { - return $this->conversion_actions; - } - - /** - * Conversion actions that the custom conversion goal makes biddable. - * - * Generated from protobuf field repeated string conversion_actions = 4 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConversionActions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->conversion_actions = $arr; - - return $this; - } - - /** - * The status of the custom conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomConversionGoalStatusEnum.CustomConversionGoalStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the custom conversion goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomConversionGoalStatusEnum.CustomConversionGoalStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomConversionGoalStatusEnum\CustomConversionGoalStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomInterest.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomInterest.php deleted file mode 100644 index 5f7dea086..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomInterest.php +++ /dev/null @@ -1,333 +0,0 @@ -google.ads.googleads.v15.resources.CustomInterest - */ -class CustomInterest extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the custom interest. - * Custom interest resource names have the form: - * `customers/{customer_id}/customInterests/{custom_interest_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Id of the custom interest. - * - * Generated from protobuf field optional int64 id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Status of this custom interest. Indicates whether the custom interest is - * enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestStatusEnum.CustomInterestStatus status = 3; - */ - protected $status = 0; - /** - * Name of the custom interest. It should be unique across the same custom - * affinity audience. - * This field is required for create operations. - * - * Generated from protobuf field optional string name = 9; - */ - protected $name = null; - /** - * Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - * By default the type is set to CUSTOM_AFFINITY. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestTypeEnum.CustomInterestType type = 5; - */ - protected $type = 0; - /** - * Description of this custom interest audience. - * - * Generated from protobuf field optional string description = 10; - */ - protected $description = null; - /** - * List of custom interest members that this custom interest is composed of. - * Members can be added during CustomInterest creation. If members are - * presented in UPDATE operation, existing members will be overridden. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomInterestMember members = 7; - */ - private $members; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the custom interest. - * Custom interest resource names have the form: - * `customers/{customer_id}/customInterests/{custom_interest_id}` - * @type int|string $id - * Output only. Id of the custom interest. - * @type int $status - * Status of this custom interest. Indicates whether the custom interest is - * enabled or removed. - * @type string $name - * Name of the custom interest. It should be unique across the same custom - * affinity audience. - * This field is required for create operations. - * @type int $type - * Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - * By default the type is set to CUSTOM_AFFINITY. - * @type string $description - * Description of this custom interest audience. - * @type array<\Google\Ads\GoogleAds\V15\Resources\CustomInterestMember>|\Google\Protobuf\Internal\RepeatedField $members - * List of custom interest members that this custom interest is composed of. - * Members can be added during CustomInterest creation. If members are - * presented in UPDATE operation, existing members will be overridden. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomInterest::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the custom interest. - * Custom interest resource names have the form: - * `customers/{customer_id}/customInterests/{custom_interest_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the custom interest. - * Custom interest resource names have the form: - * `customers/{customer_id}/customInterests/{custom_interest_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Id of the custom interest. - * - * Generated from protobuf field optional int64 id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. Id of the custom interest. - * - * Generated from protobuf field optional int64 id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Status of this custom interest. Indicates whether the custom interest is - * enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestStatusEnum.CustomInterestStatus status = 3; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Status of this custom interest. Indicates whether the custom interest is - * enabled or removed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestStatusEnum.CustomInterestStatus status = 3; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomInterestStatusEnum\CustomInterestStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Name of the custom interest. It should be unique across the same custom - * affinity audience. - * This field is required for create operations. - * - * Generated from protobuf field optional string name = 9; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Name of the custom interest. It should be unique across the same custom - * affinity audience. - * This field is required for create operations. - * - * Generated from protobuf field optional string name = 9; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - * By default the type is set to CUSTOM_AFFINITY. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestTypeEnum.CustomInterestType type = 5; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - * By default the type is set to CUSTOM_AFFINITY. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestTypeEnum.CustomInterestType type = 5; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomInterestTypeEnum\CustomInterestType::class); - $this->type = $var; - - return $this; - } - - /** - * Description of this custom interest audience. - * - * Generated from protobuf field optional string description = 10; - * @return string - */ - public function getDescription() - { - return isset($this->description) ? $this->description : ''; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * Description of this custom interest audience. - * - * Generated from protobuf field optional string description = 10; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * List of custom interest members that this custom interest is composed of. - * Members can be added during CustomInterest creation. If members are - * presented in UPDATE operation, existing members will be overridden. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomInterestMember members = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMembers() - { - return $this->members; - } - - /** - * List of custom interest members that this custom interest is composed of. - * Members can be added during CustomInterest creation. If members are - * presented in UPDATE operation, existing members will be overridden. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomInterestMember members = 7; - * @param array<\Google\Ads\GoogleAds\V15\Resources\CustomInterestMember>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMembers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\CustomInterestMember::class); - $this->members = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomInterestMember.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomInterestMember.php deleted file mode 100644 index 1b46775b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomInterestMember.php +++ /dev/null @@ -1,116 +0,0 @@ -google.ads.googleads.v15.resources.CustomInterestMember - */ -class CustomInterestMember extends \Google\Protobuf\Internal\Message -{ - /** - * The type of custom interest member, KEYWORD or URL. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType member_type = 1; - */ - protected $member_type = 0; - /** - * Keyword text when member_type is KEYWORD or URL string when - * member_type is URL. - * - * Generated from protobuf field optional string parameter = 3; - */ - protected $parameter = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $member_type - * The type of custom interest member, KEYWORD or URL. - * @type string $parameter - * Keyword text when member_type is KEYWORD or URL string when - * member_type is URL. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomInterest::initOnce(); - parent::__construct($data); - } - - /** - * The type of custom interest member, KEYWORD or URL. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType member_type = 1; - * @return int - */ - public function getMemberType() - { - return $this->member_type; - } - - /** - * The type of custom interest member, KEYWORD or URL. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType member_type = 1; - * @param int $var - * @return $this - */ - public function setMemberType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomInterestMemberTypeEnum\CustomInterestMemberType::class); - $this->member_type = $var; - - return $this; - } - - /** - * Keyword text when member_type is KEYWORD or URL string when - * member_type is URL. - * - * Generated from protobuf field optional string parameter = 3; - * @return string - */ - public function getParameter() - { - return isset($this->parameter) ? $this->parameter : ''; - } - - public function hasParameter() - { - return isset($this->parameter); - } - - public function clearParameter() - { - unset($this->parameter); - } - - /** - * Keyword text when member_type is KEYWORD or URL string when - * member_type is URL. - * - * Generated from protobuf field optional string parameter = 3; - * @param string $var - * @return $this - */ - public function setParameter($var) - { - GPBUtil::checkString($var, True); - $this->parameter = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomLeadFormSubmissionField.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomLeadFormSubmissionField.php deleted file mode 100644 index fd367c04c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomLeadFormSubmissionField.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.resources.CustomLeadFormSubmissionField - */ -class CustomLeadFormSubmissionField extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Question text for custom question, maximum number of - * characters is 300. - * - * Generated from protobuf field string question_text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $question_text = ''; - /** - * Output only. Field value for custom question response, maximum number of - * characters is 70. - * - * Generated from protobuf field string field_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $field_value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $question_text - * Output only. Question text for custom question, maximum number of - * characters is 300. - * @type string $field_value - * Output only. Field value for custom question response, maximum number of - * characters is 70. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionData::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Question text for custom question, maximum number of - * characters is 300. - * - * Generated from protobuf field string question_text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getQuestionText() - { - return $this->question_text; - } - - /** - * Output only. Question text for custom question, maximum number of - * characters is 300. - * - * Generated from protobuf field string question_text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setQuestionText($var) - { - GPBUtil::checkString($var, True); - $this->question_text = $var; - - return $this; - } - - /** - * Output only. Field value for custom question response, maximum number of - * characters is 70. - * - * Generated from protobuf field string field_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFieldValue() - { - return $this->field_value; - } - - /** - * Output only. Field value for custom question response, maximum number of - * characters is 70. - * - * Generated from protobuf field string field_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFieldValue($var) - { - GPBUtil::checkString($var, True); - $this->field_value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Customer.php b/src/Google/Ads/GoogleAds/V15/Resources/Customer.php deleted file mode 100644 index 526e2d8cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Customer.php +++ /dev/null @@ -1,1165 +0,0 @@ -google.ads.googleads.v15.resources.Customer - */ -class Customer extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer. - * Customer resource names have the form: - * `customers/{customer_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the customer. - * - * Generated from protobuf field optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Optional, non-unique descriptive name of the customer. - * - * Generated from protobuf field optional string descriptive_name = 20; - */ - protected $descriptive_name = null; - /** - * Immutable. The currency in which the account operates. - * A subset of the currency codes from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $currency_code = null; - /** - * Immutable. The local timezone ID of the customer. - * - * Generated from protobuf field optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $time_zone = null; - /** - * The URL template for constructing a tracking URL out of parameters. - * Only mutable in an `update` operation. - * - * Generated from protobuf field optional string tracking_url_template = 23; - */ - protected $tracking_url_template = null; - /** - * The URL template for appending params to the final URL. - * Only mutable in an `update` operation. - * - * Generated from protobuf field optional string final_url_suffix = 24; - */ - protected $final_url_suffix = null; - /** - * Whether auto-tagging is enabled for the customer. - * - * Generated from protobuf field optional bool auto_tagging_enabled = 25; - */ - protected $auto_tagging_enabled = null; - /** - * Output only. Whether the Customer has a Partners program badge. If the - * Customer is not associated with the Partners program, this will be false. - * For more information, see - * https://support.google.com/partners/answer/3125774. - * - * Generated from protobuf field optional bool has_partners_badge = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $has_partners_badge = null; - /** - * Output only. Whether the customer is a manager. - * - * Generated from protobuf field optional bool manager = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $manager = null; - /** - * Output only. Whether the customer is a test account. - * - * Generated from protobuf field optional bool test_account = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $test_account = null; - /** - * Call reporting setting for a customer. Only mutable in an `update` - * operation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CallReportingSetting call_reporting_setting = 10; - */ - protected $call_reporting_setting = null; - /** - * Output only. Conversion tracking setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $conversion_tracking_setting = null; - /** - * Output only. Remarketing setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $remarketing_setting = null; - /** - * Output only. Reasons why the customer is not eligible to use - * PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible. - * This field is read-only. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $pay_per_conversion_eligibility_failure_reasons; - /** - * Output only. Optimization score of the customer. - * Optimization score is an estimate of how well a customer's campaigns are - * set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - * for all manager customers, and for unscored non-manager customers. - * See "About optimization score" at - * https://support.google.com/google-ads/answer/9061546. - * This field is read-only. - * - * Generated from protobuf field optional double optimization_score = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $optimization_score = null; - /** - * Output only. Optimization score weight of the customer. - * Optimization score weight can be used to compare/aggregate optimization - * scores across multiple non-manager customers. The aggregate optimization - * score of a manager is computed as the sum over all of their customers of - * `Customer.optimization_score * Customer.optimization_score_weight`. This - * field is 0 for all manager customers, and for unscored non-manager - * customers. - * This field is read-only. - * - * Generated from protobuf field double optimization_score_weight = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $optimization_score_weight = 0.0; - /** - * Output only. The status of the customer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerStatusEnum.CustomerStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. True if feed based location has been migrated to asset based - * location. - * - * Generated from protobuf field optional bool location_asset_auto_migration_done = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $location_asset_auto_migration_done = null; - /** - * Output only. True if feed based image has been migrated to asset based - * image. - * - * Generated from protobuf field optional bool image_asset_auto_migration_done = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $image_asset_auto_migration_done = null; - /** - * Output only. Timestamp of migration from feed based location to asset base - * location in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string location_asset_auto_migration_done_date_time = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $location_asset_auto_migration_done_date_time = null; - /** - * Output only. Timestamp of migration from feed based image to asset base - * image in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string image_asset_auto_migration_done_date_time = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $image_asset_auto_migration_done_date_time = null; - /** - * Output only. Customer Agreement Setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAgreementSetting customer_agreement_setting = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $customer_agreement_setting = null; - /** - * Output only. Settings for Local Services customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesSettings local_services_settings = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $local_services_settings = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer. - * Customer resource names have the form: - * `customers/{customer_id}` - * @type int|string $id - * Output only. The ID of the customer. - * @type string $descriptive_name - * Optional, non-unique descriptive name of the customer. - * @type string $currency_code - * Immutable. The currency in which the account operates. - * A subset of the currency codes from the ISO 4217 standard is - * supported. - * @type string $time_zone - * Immutable. The local timezone ID of the customer. - * @type string $tracking_url_template - * The URL template for constructing a tracking URL out of parameters. - * Only mutable in an `update` operation. - * @type string $final_url_suffix - * The URL template for appending params to the final URL. - * Only mutable in an `update` operation. - * @type bool $auto_tagging_enabled - * Whether auto-tagging is enabled for the customer. - * @type bool $has_partners_badge - * Output only. Whether the Customer has a Partners program badge. If the - * Customer is not associated with the Partners program, this will be false. - * For more information, see - * https://support.google.com/partners/answer/3125774. - * @type bool $manager - * Output only. Whether the customer is a manager. - * @type bool $test_account - * Output only. Whether the customer is a test account. - * @type \Google\Ads\GoogleAds\V15\Resources\CallReportingSetting $call_reporting_setting - * Call reporting setting for a customer. Only mutable in an `update` - * operation. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionTrackingSetting $conversion_tracking_setting - * Output only. Conversion tracking setting for a customer. - * @type \Google\Ads\GoogleAds\V15\Resources\RemarketingSetting $remarketing_setting - * Output only. Remarketing setting for a customer. - * @type array|\Google\Protobuf\Internal\RepeatedField $pay_per_conversion_eligibility_failure_reasons - * Output only. Reasons why the customer is not eligible to use - * PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible. - * This field is read-only. - * @type float $optimization_score - * Output only. Optimization score of the customer. - * Optimization score is an estimate of how well a customer's campaigns are - * set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - * for all manager customers, and for unscored non-manager customers. - * See "About optimization score" at - * https://support.google.com/google-ads/answer/9061546. - * This field is read-only. - * @type float $optimization_score_weight - * Output only. Optimization score weight of the customer. - * Optimization score weight can be used to compare/aggregate optimization - * scores across multiple non-manager customers. The aggregate optimization - * score of a manager is computed as the sum over all of their customers of - * `Customer.optimization_score * Customer.optimization_score_weight`. This - * field is 0 for all manager customers, and for unscored non-manager - * customers. - * This field is read-only. - * @type int $status - * Output only. The status of the customer. - * @type bool $location_asset_auto_migration_done - * Output only. True if feed based location has been migrated to asset based - * location. - * @type bool $image_asset_auto_migration_done - * Output only. True if feed based image has been migrated to asset based - * image. - * @type string $location_asset_auto_migration_done_date_time - * Output only. Timestamp of migration from feed based location to asset base - * location in yyyy-MM-dd HH:mm:ss format. - * @type string $image_asset_auto_migration_done_date_time - * Output only. Timestamp of migration from feed based image to asset base - * image in yyyy-MM-dd HH:mm:ss format. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAgreementSetting $customer_agreement_setting - * Output only. Customer Agreement Setting for a customer. - * @type \Google\Ads\GoogleAds\V15\Resources\LocalServicesSettings $local_services_settings - * Output only. Settings for Local Services customer. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Customer::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer. - * Customer resource names have the form: - * `customers/{customer_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer. - * Customer resource names have the form: - * `customers/{customer_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the customer. - * - * Generated from protobuf field optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the customer. - * - * Generated from protobuf field optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Optional, non-unique descriptive name of the customer. - * - * Generated from protobuf field optional string descriptive_name = 20; - * @return string - */ - public function getDescriptiveName() - { - return isset($this->descriptive_name) ? $this->descriptive_name : ''; - } - - public function hasDescriptiveName() - { - return isset($this->descriptive_name); - } - - public function clearDescriptiveName() - { - unset($this->descriptive_name); - } - - /** - * Optional, non-unique descriptive name of the customer. - * - * Generated from protobuf field optional string descriptive_name = 20; - * @param string $var - * @return $this - */ - public function setDescriptiveName($var) - { - GPBUtil::checkString($var, True); - $this->descriptive_name = $var; - - return $this; - } - - /** - * Immutable. The currency in which the account operates. - * A subset of the currency codes from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * Immutable. The currency in which the account operates. - * A subset of the currency codes from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Immutable. The local timezone ID of the customer. - * - * Generated from protobuf field optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getTimeZone() - { - return isset($this->time_zone) ? $this->time_zone : ''; - } - - public function hasTimeZone() - { - return isset($this->time_zone); - } - - public function clearTimeZone() - { - unset($this->time_zone); - } - - /** - * Immutable. The local timezone ID of the customer. - * - * Generated from protobuf field optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setTimeZone($var) - { - GPBUtil::checkString($var, True); - $this->time_zone = $var; - - return $this; - } - - /** - * The URL template for constructing a tracking URL out of parameters. - * Only mutable in an `update` operation. - * - * Generated from protobuf field optional string tracking_url_template = 23; - * @return string - */ - public function getTrackingUrlTemplate() - { - return isset($this->tracking_url_template) ? $this->tracking_url_template : ''; - } - - public function hasTrackingUrlTemplate() - { - return isset($this->tracking_url_template); - } - - public function clearTrackingUrlTemplate() - { - unset($this->tracking_url_template); - } - - /** - * The URL template for constructing a tracking URL out of parameters. - * Only mutable in an `update` operation. - * - * Generated from protobuf field optional string tracking_url_template = 23; - * @param string $var - * @return $this - */ - public function setTrackingUrlTemplate($var) - { - GPBUtil::checkString($var, True); - $this->tracking_url_template = $var; - - return $this; - } - - /** - * The URL template for appending params to the final URL. - * Only mutable in an `update` operation. - * - * Generated from protobuf field optional string final_url_suffix = 24; - * @return string - */ - public function getFinalUrlSuffix() - { - return isset($this->final_url_suffix) ? $this->final_url_suffix : ''; - } - - public function hasFinalUrlSuffix() - { - return isset($this->final_url_suffix); - } - - public function clearFinalUrlSuffix() - { - unset($this->final_url_suffix); - } - - /** - * The URL template for appending params to the final URL. - * Only mutable in an `update` operation. - * - * Generated from protobuf field optional string final_url_suffix = 24; - * @param string $var - * @return $this - */ - public function setFinalUrlSuffix($var) - { - GPBUtil::checkString($var, True); - $this->final_url_suffix = $var; - - return $this; - } - - /** - * Whether auto-tagging is enabled for the customer. - * - * Generated from protobuf field optional bool auto_tagging_enabled = 25; - * @return bool - */ - public function getAutoTaggingEnabled() - { - return isset($this->auto_tagging_enabled) ? $this->auto_tagging_enabled : false; - } - - public function hasAutoTaggingEnabled() - { - return isset($this->auto_tagging_enabled); - } - - public function clearAutoTaggingEnabled() - { - unset($this->auto_tagging_enabled); - } - - /** - * Whether auto-tagging is enabled for the customer. - * - * Generated from protobuf field optional bool auto_tagging_enabled = 25; - * @param bool $var - * @return $this - */ - public function setAutoTaggingEnabled($var) - { - GPBUtil::checkBool($var); - $this->auto_tagging_enabled = $var; - - return $this; - } - - /** - * Output only. Whether the Customer has a Partners program badge. If the - * Customer is not associated with the Partners program, this will be false. - * For more information, see - * https://support.google.com/partners/answer/3125774. - * - * Generated from protobuf field optional bool has_partners_badge = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getHasPartnersBadge() - { - return isset($this->has_partners_badge) ? $this->has_partners_badge : false; - } - - public function hasHasPartnersBadge() - { - return isset($this->has_partners_badge); - } - - public function clearHasPartnersBadge() - { - unset($this->has_partners_badge); - } - - /** - * Output only. Whether the Customer has a Partners program badge. If the - * Customer is not associated with the Partners program, this will be false. - * For more information, see - * https://support.google.com/partners/answer/3125774. - * - * Generated from protobuf field optional bool has_partners_badge = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setHasPartnersBadge($var) - { - GPBUtil::checkBool($var); - $this->has_partners_badge = $var; - - return $this; - } - - /** - * Output only. Whether the customer is a manager. - * - * Generated from protobuf field optional bool manager = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getManager() - { - return isset($this->manager) ? $this->manager : false; - } - - public function hasManager() - { - return isset($this->manager); - } - - public function clearManager() - { - unset($this->manager); - } - - /** - * Output only. Whether the customer is a manager. - * - * Generated from protobuf field optional bool manager = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setManager($var) - { - GPBUtil::checkBool($var); - $this->manager = $var; - - return $this; - } - - /** - * Output only. Whether the customer is a test account. - * - * Generated from protobuf field optional bool test_account = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getTestAccount() - { - return isset($this->test_account) ? $this->test_account : false; - } - - public function hasTestAccount() - { - return isset($this->test_account); - } - - public function clearTestAccount() - { - unset($this->test_account); - } - - /** - * Output only. Whether the customer is a test account. - * - * Generated from protobuf field optional bool test_account = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setTestAccount($var) - { - GPBUtil::checkBool($var); - $this->test_account = $var; - - return $this; - } - - /** - * Call reporting setting for a customer. Only mutable in an `update` - * operation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CallReportingSetting call_reporting_setting = 10; - * @return \Google\Ads\GoogleAds\V15\Resources\CallReportingSetting|null - */ - public function getCallReportingSetting() - { - return $this->call_reporting_setting; - } - - public function hasCallReportingSetting() - { - return isset($this->call_reporting_setting); - } - - public function clearCallReportingSetting() - { - unset($this->call_reporting_setting); - } - - /** - * Call reporting setting for a customer. Only mutable in an `update` - * operation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CallReportingSetting call_reporting_setting = 10; - * @param \Google\Ads\GoogleAds\V15\Resources\CallReportingSetting $var - * @return $this - */ - public function setCallReportingSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CallReportingSetting::class); - $this->call_reporting_setting = $var; - - return $this; - } - - /** - * Output only. Conversion tracking setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionTrackingSetting|null - */ - public function getConversionTrackingSetting() - { - return $this->conversion_tracking_setting; - } - - public function hasConversionTrackingSetting() - { - return isset($this->conversion_tracking_setting); - } - - public function clearConversionTrackingSetting() - { - unset($this->conversion_tracking_setting); - } - - /** - * Output only. Conversion tracking setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionTrackingSetting $var - * @return $this - */ - public function setConversionTrackingSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionTrackingSetting::class); - $this->conversion_tracking_setting = $var; - - return $this; - } - - /** - * Output only. Remarketing setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\RemarketingSetting|null - */ - public function getRemarketingSetting() - { - return $this->remarketing_setting; - } - - public function hasRemarketingSetting() - { - return isset($this->remarketing_setting); - } - - public function clearRemarketingSetting() - { - unset($this->remarketing_setting); - } - - /** - * Output only. Remarketing setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\RemarketingSetting $var - * @return $this - */ - public function setRemarketingSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\RemarketingSetting::class); - $this->remarketing_setting = $var; - - return $this; - } - - /** - * Output only. Reasons why the customer is not eligible to use - * PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible. - * This field is read-only. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPayPerConversionEligibilityFailureReasons() - { - return $this->pay_per_conversion_eligibility_failure_reasons; - } - - /** - * Output only. Reasons why the customer is not eligible to use - * PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible. - * This field is read-only. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPayPerConversionEligibilityFailureReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\CustomerPayPerConversionEligibilityFailureReasonEnum\CustomerPayPerConversionEligibilityFailureReason::class); - $this->pay_per_conversion_eligibility_failure_reasons = $arr; - - return $this; - } - - /** - * Output only. Optimization score of the customer. - * Optimization score is an estimate of how well a customer's campaigns are - * set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - * for all manager customers, and for unscored non-manager customers. - * See "About optimization score" at - * https://support.google.com/google-ads/answer/9061546. - * This field is read-only. - * - * Generated from protobuf field optional double optimization_score = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getOptimizationScore() - { - return isset($this->optimization_score) ? $this->optimization_score : 0.0; - } - - public function hasOptimizationScore() - { - return isset($this->optimization_score); - } - - public function clearOptimizationScore() - { - unset($this->optimization_score); - } - - /** - * Output only. Optimization score of the customer. - * Optimization score is an estimate of how well a customer's campaigns are - * set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - * for all manager customers, and for unscored non-manager customers. - * See "About optimization score" at - * https://support.google.com/google-ads/answer/9061546. - * This field is read-only. - * - * Generated from protobuf field optional double optimization_score = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setOptimizationScore($var) - { - GPBUtil::checkDouble($var); - $this->optimization_score = $var; - - return $this; - } - - /** - * Output only. Optimization score weight of the customer. - * Optimization score weight can be used to compare/aggregate optimization - * scores across multiple non-manager customers. The aggregate optimization - * score of a manager is computed as the sum over all of their customers of - * `Customer.optimization_score * Customer.optimization_score_weight`. This - * field is 0 for all manager customers, and for unscored non-manager - * customers. - * This field is read-only. - * - * Generated from protobuf field double optimization_score_weight = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getOptimizationScoreWeight() - { - return $this->optimization_score_weight; - } - - /** - * Output only. Optimization score weight of the customer. - * Optimization score weight can be used to compare/aggregate optimization - * scores across multiple non-manager customers. The aggregate optimization - * score of a manager is computed as the sum over all of their customers of - * `Customer.optimization_score * Customer.optimization_score_weight`. This - * field is 0 for all manager customers, and for unscored non-manager - * customers. - * This field is read-only. - * - * Generated from protobuf field double optimization_score_weight = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setOptimizationScoreWeight($var) - { - GPBUtil::checkDouble($var); - $this->optimization_score_weight = $var; - - return $this; - } - - /** - * Output only. The status of the customer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerStatusEnum.CustomerStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the customer. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerStatusEnum.CustomerStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomerStatusEnum\CustomerStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. True if feed based location has been migrated to asset based - * location. - * - * Generated from protobuf field optional bool location_asset_auto_migration_done = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getLocationAssetAutoMigrationDone() - { - return isset($this->location_asset_auto_migration_done) ? $this->location_asset_auto_migration_done : false; - } - - public function hasLocationAssetAutoMigrationDone() - { - return isset($this->location_asset_auto_migration_done); - } - - public function clearLocationAssetAutoMigrationDone() - { - unset($this->location_asset_auto_migration_done); - } - - /** - * Output only. True if feed based location has been migrated to asset based - * location. - * - * Generated from protobuf field optional bool location_asset_auto_migration_done = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setLocationAssetAutoMigrationDone($var) - { - GPBUtil::checkBool($var); - $this->location_asset_auto_migration_done = $var; - - return $this; - } - - /** - * Output only. True if feed based image has been migrated to asset based - * image. - * - * Generated from protobuf field optional bool image_asset_auto_migration_done = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getImageAssetAutoMigrationDone() - { - return isset($this->image_asset_auto_migration_done) ? $this->image_asset_auto_migration_done : false; - } - - public function hasImageAssetAutoMigrationDone() - { - return isset($this->image_asset_auto_migration_done); - } - - public function clearImageAssetAutoMigrationDone() - { - unset($this->image_asset_auto_migration_done); - } - - /** - * Output only. True if feed based image has been migrated to asset based - * image. - * - * Generated from protobuf field optional bool image_asset_auto_migration_done = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setImageAssetAutoMigrationDone($var) - { - GPBUtil::checkBool($var); - $this->image_asset_auto_migration_done = $var; - - return $this; - } - - /** - * Output only. Timestamp of migration from feed based location to asset base - * location in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string location_asset_auto_migration_done_date_time = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLocationAssetAutoMigrationDoneDateTime() - { - return isset($this->location_asset_auto_migration_done_date_time) ? $this->location_asset_auto_migration_done_date_time : ''; - } - - public function hasLocationAssetAutoMigrationDoneDateTime() - { - return isset($this->location_asset_auto_migration_done_date_time); - } - - public function clearLocationAssetAutoMigrationDoneDateTime() - { - unset($this->location_asset_auto_migration_done_date_time); - } - - /** - * Output only. Timestamp of migration from feed based location to asset base - * location in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string location_asset_auto_migration_done_date_time = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLocationAssetAutoMigrationDoneDateTime($var) - { - GPBUtil::checkString($var, True); - $this->location_asset_auto_migration_done_date_time = $var; - - return $this; - } - - /** - * Output only. Timestamp of migration from feed based image to asset base - * image in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string image_asset_auto_migration_done_date_time = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getImageAssetAutoMigrationDoneDateTime() - { - return isset($this->image_asset_auto_migration_done_date_time) ? $this->image_asset_auto_migration_done_date_time : ''; - } - - public function hasImageAssetAutoMigrationDoneDateTime() - { - return isset($this->image_asset_auto_migration_done_date_time); - } - - public function clearImageAssetAutoMigrationDoneDateTime() - { - unset($this->image_asset_auto_migration_done_date_time); - } - - /** - * Output only. Timestamp of migration from feed based image to asset base - * image in yyyy-MM-dd HH:mm:ss format. - * - * Generated from protobuf field optional string image_asset_auto_migration_done_date_time = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setImageAssetAutoMigrationDoneDateTime($var) - { - GPBUtil::checkString($var, True); - $this->image_asset_auto_migration_done_date_time = $var; - - return $this; - } - - /** - * Output only. Customer Agreement Setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAgreementSetting customer_agreement_setting = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAgreementSetting|null - */ - public function getCustomerAgreementSetting() - { - return $this->customer_agreement_setting; - } - - public function hasCustomerAgreementSetting() - { - return isset($this->customer_agreement_setting); - } - - public function clearCustomerAgreementSetting() - { - unset($this->customer_agreement_setting); - } - - /** - * Output only. Customer Agreement Setting for a customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAgreementSetting customer_agreement_setting = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAgreementSetting $var - * @return $this - */ - public function setCustomerAgreementSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAgreementSetting::class); - $this->customer_agreement_setting = $var; - - return $this; - } - - /** - * Output only. Settings for Local Services customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesSettings local_services_settings = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\LocalServicesSettings|null - */ - public function getLocalServicesSettings() - { - return $this->local_services_settings; - } - - public function hasLocalServicesSettings() - { - return isset($this->local_services_settings); - } - - public function clearLocalServicesSettings() - { - unset($this->local_services_settings); - } - - /** - * Output only. Settings for Local Services customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesSettings local_services_settings = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\LocalServicesSettings $var - * @return $this - */ - public function setLocalServicesSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LocalServicesSettings::class); - $this->local_services_settings = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerAcquisitionGoalSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerAcquisitionGoalSettings.php deleted file mode 100644 index 9408ee8bd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerAcquisitionGoalSettings.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.resources.CustomerAcquisitionGoalSettings - */ -class CustomerAcquisitionGoalSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Customer acquisition optimization mode of this campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerAcquisitionOptimizationModeEnum.CustomerAcquisitionOptimizationMode optimization_mode = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $optimization_mode = 0; - /** - * Output only. Campaign specific values for the customer acquisition goal. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LifecycleGoalValueSettings value_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $value_settings = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $optimization_mode - * Output only. Customer acquisition optimization mode of this campaign. - * @type \Google\Ads\GoogleAds\V15\Common\LifecycleGoalValueSettings $value_settings - * Output only. Campaign specific values for the customer acquisition goal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Customer acquisition optimization mode of this campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerAcquisitionOptimizationModeEnum.CustomerAcquisitionOptimizationMode optimization_mode = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getOptimizationMode() - { - return $this->optimization_mode; - } - - /** - * Output only. Customer acquisition optimization mode of this campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerAcquisitionOptimizationModeEnum.CustomerAcquisitionOptimizationMode optimization_mode = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setOptimizationMode($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomerAcquisitionOptimizationModeEnum\CustomerAcquisitionOptimizationMode::class); - $this->optimization_mode = $var; - - return $this; - } - - /** - * Output only. Campaign specific values for the customer acquisition goal. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LifecycleGoalValueSettings value_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\LifecycleGoalValueSettings|null - */ - public function getValueSettings() - { - return $this->value_settings; - } - - public function hasValueSettings() - { - return isset($this->value_settings); - } - - public function clearValueSettings() - { - unset($this->value_settings); - } - - /** - * Output only. Campaign specific values for the customer acquisition goal. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LifecycleGoalValueSettings value_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\LifecycleGoalValueSettings $var - * @return $this - */ - public function setValueSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LifecycleGoalValueSettings::class); - $this->value_settings = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerAgreementSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerAgreementSetting.php deleted file mode 100644 index 53688098c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerAgreementSetting.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.resources.CustomerAgreementSetting - */ -class CustomerAgreementSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Whether the customer has accepted lead form term of service. - * - * Generated from protobuf field bool accepted_lead_form_terms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $accepted_lead_form_terms = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $accepted_lead_form_terms - * Output only. Whether the customer has accepted lead form term of service. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Customer::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Whether the customer has accepted lead form term of service. - * - * Generated from protobuf field bool accepted_lead_form_terms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getAcceptedLeadFormTerms() - { - return $this->accepted_lead_form_terms; - } - - /** - * Output only. Whether the customer has accepted lead form term of service. - * - * Generated from protobuf field bool accepted_lead_form_terms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setAcceptedLeadFormTerms($var) - { - GPBUtil::checkBool($var); - $this->accepted_lead_form_terms = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerAsset.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerAsset.php deleted file mode 100644 index d79f2e194..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerAsset.php +++ /dev/null @@ -1,341 +0,0 @@ -google.ads.googleads.v15.resources.CustomerAsset - */ -class CustomerAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer asset. - * CustomerAsset resource names have the form: - * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Required. Immutable. The asset which is linked to the customer. - * - * Generated from protobuf field string asset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset = ''; - /** - * Required. Immutable. Role that the asset takes for the customer link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $field_type = 0; - /** - * Output only. Source of the customer asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $source = 0; - /** - * Status of the customer asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; - */ - protected $status = 0; - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $primary_status = 0; - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_details; - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $primary_status_reasons; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer asset. - * CustomerAsset resource names have the form: - * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - * @type string $asset - * Required. Immutable. The asset which is linked to the customer. - * @type int $field_type - * Required. Immutable. Role that the asset takes for the customer link. - * @type int $source - * Output only. Source of the customer asset link. - * @type int $status - * Status of the customer asset. - * @type int $primary_status - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * @type array<\Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails>|\Google\Protobuf\Internal\RepeatedField $primary_status_details - * Output only. Provides the details of the primary status and its associated - * reasons. - * @type array|\Google\Protobuf\Internal\RepeatedField $primary_status_reasons - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerAsset::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer asset. - * CustomerAsset resource names have the form: - * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer asset. - * CustomerAsset resource names have the form: - * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Required. Immutable. The asset which is linked to the customer. - * - * Generated from protobuf field string asset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * Required. Immutable. The asset which is linked to the customer. - * - * Generated from protobuf field string asset = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * Required. Immutable. Role that the asset takes for the customer link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getFieldType() - { - return $this->field_type; - } - - /** - * Required. Immutable. Role that the asset takes for the customer link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->field_type = $var; - - return $this; - } - - /** - * Output only. Source of the customer asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSource() - { - return $this->source; - } - - /** - * Output only. Source of the customer asset link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSource($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSourceEnum\AssetSource::class); - $this->source = $var; - - return $this; - } - - /** - * Status of the customer asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Status of the customer asset. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkStatusEnum\AssetLinkStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPrimaryStatus() - { - return $this->primary_status; - } - - /** - * Output only. Provides the PrimaryStatus of this asset link. - * Primary status is meant essentially to differentiate between the plain - * "status" field, which has advertiser set values of enabled, paused, or - * removed. The primary status takes into account other signals (for assets - * its mainly policy and quality approvals) to come up with a more - * comprehensive status to indicate its serving state. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPrimaryStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusEnum\AssetLinkPrimaryStatus::class); - $this->primary_status = $var; - - return $this; - } - - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusDetails() - { - return $this->primary_status_details; - } - - /** - * Output only. Provides the details of the primary status and its associated - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AssetLinkPrimaryStatusDetails primary_status_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusDetails($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AssetLinkPrimaryStatusDetails::class); - $this->primary_status_details = $arr; - - return $this; - } - - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPrimaryStatusReasons() - { - return $this->primary_status_reasons; - } - - /** - * Output only. Provides a list of reasons for why an asset is not serving or - * not serving at full capacity. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPrimaryStatusReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AssetLinkPrimaryStatusReasonEnum\AssetLinkPrimaryStatusReason::class); - $this->primary_status_reasons = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerAssetSet.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerAssetSet.php deleted file mode 100644 index 1943b60aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerAssetSet.php +++ /dev/null @@ -1,178 +0,0 @@ -google.ads.googleads.v15.resources.CustomerAssetSet - */ -class CustomerAssetSet extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer asset set. - * Asset set asset resource names have the form: - * `customers/{customer_id}/customerAssetSets/{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The asset set which is linked to the customer. - * - * Generated from protobuf field string asset_set = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $asset_set = ''; - /** - * Immutable. The customer to which this asset set is linked. - * - * Generated from protobuf field string customer = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $customer = ''; - /** - * Output only. The status of the customer asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer asset set. - * Asset set asset resource names have the form: - * `customers/{customer_id}/customerAssetSets/{asset_set_id}` - * @type string $asset_set - * Immutable. The asset set which is linked to the customer. - * @type string $customer - * Immutable. The customer to which this asset set is linked. - * @type int $status - * Output only. The status of the customer asset set asset. Read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer asset set. - * Asset set asset resource names have the form: - * `customers/{customer_id}/customerAssetSets/{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer asset set. - * Asset set asset resource names have the form: - * `customers/{customer_id}/customerAssetSets/{asset_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The asset set which is linked to the customer. - * - * Generated from protobuf field string asset_set = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAssetSet() - { - return $this->asset_set; - } - - /** - * Immutable. The asset set which is linked to the customer. - * - * Generated from protobuf field string asset_set = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAssetSet($var) - { - GPBUtil::checkString($var, True); - $this->asset_set = $var; - - return $this; - } - - /** - * Immutable. The customer to which this asset set is linked. - * - * Generated from protobuf field string customer = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomer() - { - return $this->customer; - } - - /** - * Immutable. The customer to which this asset set is linked. - * - * Generated from protobuf field string customer = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkString($var, True); - $this->customer = $var; - - return $this; - } - - /** - * Output only. The status of the customer asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the customer asset set asset. Read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetSetLinkStatusEnum\AssetSetLinkStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerClient.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerClient.php deleted file mode 100644 index 1a7470f7e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerClient.php +++ /dev/null @@ -1,577 +0,0 @@ -google.ads.googleads.v15.resources.CustomerClient - */ -class CustomerClient extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the customer client. - * CustomerClient resource names have the form: - * `customers/{customer_id}/customerClients/{client_customer_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The resource name of the client-customer which is linked to - * the given customer. Read only. - * - * Generated from protobuf field optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $client_customer = null; - /** - * Output only. Specifies whether this is a - * [hidden account](https://support.google.com/google-ads/answer/7519830). - * Read only. - * - * Generated from protobuf field optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $hidden = null; - /** - * Output only. Distance between given customer and client. For self link, the - * level value will be 0. Read only. - * - * Generated from protobuf field optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $level = null; - /** - * Output only. Common Locale Data Repository (CLDR) string representation of - * the time zone of the client, for example, America/Los_Angeles. Read only. - * - * Generated from protobuf field optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $time_zone = null; - /** - * Output only. Identifies if the client is a test account. Read only. - * - * Generated from protobuf field optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $test_account = null; - /** - * Output only. Identifies if the client is a manager. Read only. - * - * Generated from protobuf field optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $manager = null; - /** - * Output only. Descriptive name for the client. Read only. - * - * Generated from protobuf field optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $descriptive_name = null; - /** - * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read - * only. - * - * Generated from protobuf field optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $currency_code = null; - /** - * Output only. The ID of the client customer. Read only. - * - * Generated from protobuf field optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The resource names of the labels owned by the requesting - * customer that are applied to the client customer. Label resource names have - * the form: - * `customers/{customer_id}/labels/{label_id}` - * - * Generated from protobuf field repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $applied_labels; - /** - * Output only. The status of the client customer. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the customer client. - * CustomerClient resource names have the form: - * `customers/{customer_id}/customerClients/{client_customer_id}` - * @type string $client_customer - * Output only. The resource name of the client-customer which is linked to - * the given customer. Read only. - * @type bool $hidden - * Output only. Specifies whether this is a - * [hidden account](https://support.google.com/google-ads/answer/7519830). - * Read only. - * @type int|string $level - * Output only. Distance between given customer and client. For self link, the - * level value will be 0. Read only. - * @type string $time_zone - * Output only. Common Locale Data Repository (CLDR) string representation of - * the time zone of the client, for example, America/Los_Angeles. Read only. - * @type bool $test_account - * Output only. Identifies if the client is a test account. Read only. - * @type bool $manager - * Output only. Identifies if the client is a manager. Read only. - * @type string $descriptive_name - * Output only. Descriptive name for the client. Read only. - * @type string $currency_code - * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read - * only. - * @type int|string $id - * Output only. The ID of the client customer. Read only. - * @type array|\Google\Protobuf\Internal\RepeatedField $applied_labels - * Output only. The resource names of the labels owned by the requesting - * customer that are applied to the client customer. Label resource names have - * the form: - * `customers/{customer_id}/labels/{label_id}` - * @type int $status - * Output only. The status of the client customer. Read only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerClient::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the customer client. - * CustomerClient resource names have the form: - * `customers/{customer_id}/customerClients/{client_customer_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the customer client. - * CustomerClient resource names have the form: - * `customers/{customer_id}/customerClients/{client_customer_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The resource name of the client-customer which is linked to - * the given customer. Read only. - * - * Generated from protobuf field optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getClientCustomer() - { - return isset($this->client_customer) ? $this->client_customer : ''; - } - - public function hasClientCustomer() - { - return isset($this->client_customer); - } - - public function clearClientCustomer() - { - unset($this->client_customer); - } - - /** - * Output only. The resource name of the client-customer which is linked to - * the given customer. Read only. - * - * Generated from protobuf field optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setClientCustomer($var) - { - GPBUtil::checkString($var, True); - $this->client_customer = $var; - - return $this; - } - - /** - * Output only. Specifies whether this is a - * [hidden account](https://support.google.com/google-ads/answer/7519830). - * Read only. - * - * Generated from protobuf field optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getHidden() - { - return isset($this->hidden) ? $this->hidden : false; - } - - public function hasHidden() - { - return isset($this->hidden); - } - - public function clearHidden() - { - unset($this->hidden); - } - - /** - * Output only. Specifies whether this is a - * [hidden account](https://support.google.com/google-ads/answer/7519830). - * Read only. - * - * Generated from protobuf field optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setHidden($var) - { - GPBUtil::checkBool($var); - $this->hidden = $var; - - return $this; - } - - /** - * Output only. Distance between given customer and client. For self link, the - * level value will be 0. Read only. - * - * Generated from protobuf field optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getLevel() - { - return isset($this->level) ? $this->level : 0; - } - - public function hasLevel() - { - return isset($this->level); - } - - public function clearLevel() - { - unset($this->level); - } - - /** - * Output only. Distance between given customer and client. For self link, the - * level value will be 0. Read only. - * - * Generated from protobuf field optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setLevel($var) - { - GPBUtil::checkInt64($var); - $this->level = $var; - - return $this; - } - - /** - * Output only. Common Locale Data Repository (CLDR) string representation of - * the time zone of the client, for example, America/Los_Angeles. Read only. - * - * Generated from protobuf field optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getTimeZone() - { - return isset($this->time_zone) ? $this->time_zone : ''; - } - - public function hasTimeZone() - { - return isset($this->time_zone); - } - - public function clearTimeZone() - { - unset($this->time_zone); - } - - /** - * Output only. Common Locale Data Repository (CLDR) string representation of - * the time zone of the client, for example, America/Los_Angeles. Read only. - * - * Generated from protobuf field optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setTimeZone($var) - { - GPBUtil::checkString($var, True); - $this->time_zone = $var; - - return $this; - } - - /** - * Output only. Identifies if the client is a test account. Read only. - * - * Generated from protobuf field optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getTestAccount() - { - return isset($this->test_account) ? $this->test_account : false; - } - - public function hasTestAccount() - { - return isset($this->test_account); - } - - public function clearTestAccount() - { - unset($this->test_account); - } - - /** - * Output only. Identifies if the client is a test account. Read only. - * - * Generated from protobuf field optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setTestAccount($var) - { - GPBUtil::checkBool($var); - $this->test_account = $var; - - return $this; - } - - /** - * Output only. Identifies if the client is a manager. Read only. - * - * Generated from protobuf field optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getManager() - { - return isset($this->manager) ? $this->manager : false; - } - - public function hasManager() - { - return isset($this->manager); - } - - public function clearManager() - { - unset($this->manager); - } - - /** - * Output only. Identifies if the client is a manager. Read only. - * - * Generated from protobuf field optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setManager($var) - { - GPBUtil::checkBool($var); - $this->manager = $var; - - return $this; - } - - /** - * Output only. Descriptive name for the client. Read only. - * - * Generated from protobuf field optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDescriptiveName() - { - return isset($this->descriptive_name) ? $this->descriptive_name : ''; - } - - public function hasDescriptiveName() - { - return isset($this->descriptive_name); - } - - public function clearDescriptiveName() - { - unset($this->descriptive_name); - } - - /** - * Output only. Descriptive name for the client. Read only. - * - * Generated from protobuf field optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDescriptiveName($var) - { - GPBUtil::checkString($var, True); - $this->descriptive_name = $var; - - return $this; - } - - /** - * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read - * only. - * - * Generated from protobuf field optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * Output only. Currency code (for example, 'USD', 'EUR') for the client. Read - * only. - * - * Generated from protobuf field optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Output only. The ID of the client customer. Read only. - * - * Generated from protobuf field optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the client customer. Read only. - * - * Generated from protobuf field optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The resource names of the labels owned by the requesting - * customer that are applied to the client customer. Label resource names have - * the form: - * `customers/{customer_id}/labels/{label_id}` - * - * Generated from protobuf field repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAppliedLabels() - { - return $this->applied_labels; - } - - /** - * Output only. The resource names of the labels owned by the requesting - * customer that are applied to the client customer. Label resource names have - * the form: - * `customers/{customer_id}/labels/{label_id}` - * - * Generated from protobuf field repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAppliedLabels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->applied_labels = $arr; - - return $this; - } - - /** - * Output only. The status of the client customer. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the client customer. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomerStatusEnum\CustomerStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerClientLink.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerClientLink.php deleted file mode 100644 index 0b1a34bc5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerClientLink.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.resources.CustomerClientLink - */ -class CustomerClientLink extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the resource. - * CustomerClientLink resource names have the form: - * `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The client customer linked to this customer. - * - * Generated from protobuf field optional string client_customer = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $client_customer = null; - /** - * Output only. This is uniquely identifies a customer client link. Read only. - * - * Generated from protobuf field optional int64 manager_link_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $manager_link_id = null; - /** - * This is the status of the link between client and manager. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; - */ - protected $status = 0; - /** - * The visibility of the link. Users can choose whether or not to see hidden - * links in the Google Ads UI. - * Default value is false - * - * Generated from protobuf field optional bool hidden = 9; - */ - protected $hidden = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Name of the resource. - * CustomerClientLink resource names have the form: - * `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` - * @type string $client_customer - * Immutable. The client customer linked to this customer. - * @type int|string $manager_link_id - * Output only. This is uniquely identifies a customer client link. Read only. - * @type int $status - * This is the status of the link between client and manager. - * @type bool $hidden - * The visibility of the link. Users can choose whether or not to see hidden - * links in the Google Ads UI. - * Default value is false - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerClientLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the resource. - * CustomerClientLink resource names have the form: - * `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Name of the resource. - * CustomerClientLink resource names have the form: - * `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The client customer linked to this customer. - * - * Generated from protobuf field optional string client_customer = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getClientCustomer() - { - return isset($this->client_customer) ? $this->client_customer : ''; - } - - public function hasClientCustomer() - { - return isset($this->client_customer); - } - - public function clearClientCustomer() - { - unset($this->client_customer); - } - - /** - * Immutable. The client customer linked to this customer. - * - * Generated from protobuf field optional string client_customer = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setClientCustomer($var) - { - GPBUtil::checkString($var, True); - $this->client_customer = $var; - - return $this; - } - - /** - * Output only. This is uniquely identifies a customer client link. Read only. - * - * Generated from protobuf field optional int64 manager_link_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getManagerLinkId() - { - return isset($this->manager_link_id) ? $this->manager_link_id : 0; - } - - public function hasManagerLinkId() - { - return isset($this->manager_link_id); - } - - public function clearManagerLinkId() - { - unset($this->manager_link_id); - } - - /** - * Output only. This is uniquely identifies a customer client link. Read only. - * - * Generated from protobuf field optional int64 manager_link_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setManagerLinkId($var) - { - GPBUtil::checkInt64($var); - $this->manager_link_id = $var; - - return $this; - } - - /** - * This is the status of the link between client and manager. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * This is the status of the link between client and manager. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ManagerLinkStatusEnum\ManagerLinkStatus::class); - $this->status = $var; - - return $this; - } - - /** - * The visibility of the link. Users can choose whether or not to see hidden - * links in the Google Ads UI. - * Default value is false - * - * Generated from protobuf field optional bool hidden = 9; - * @return bool - */ - public function getHidden() - { - return isset($this->hidden) ? $this->hidden : false; - } - - public function hasHidden() - { - return isset($this->hidden); - } - - public function clearHidden() - { - unset($this->hidden); - } - - /** - * The visibility of the link. Users can choose whether or not to see hidden - * links in the Google Ads UI. - * Default value is false - * - * Generated from protobuf field optional bool hidden = 9; - * @param bool $var - * @return $this - */ - public function setHidden($var) - { - GPBUtil::checkBool($var); - $this->hidden = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerConversionGoal.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerConversionGoal.php deleted file mode 100644 index 1cc9f527b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerConversionGoal.php +++ /dev/null @@ -1,190 +0,0 @@ -google.ads.googleads.v15.resources.CustomerConversionGoal - */ -class CustomerConversionGoal extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer conversion goal. - * Customer conversion goal resource names have the form: - * `customers/{customer_id}/customerConversionGoals/{category}~{origin}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The conversion category of this customer conversion goal. Only - * conversion actions that have this category will be included in this goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 2; - */ - protected $category = 0; - /** - * The conversion origin of this customer conversion goal. Only - * conversion actions that have this conversion origin will be included in - * this goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 3; - */ - protected $origin = 0; - /** - * The biddability of the customer conversion goal. - * - * Generated from protobuf field bool biddable = 4; - */ - protected $biddable = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer conversion goal. - * Customer conversion goal resource names have the form: - * `customers/{customer_id}/customerConversionGoals/{category}~{origin}` - * @type int $category - * The conversion category of this customer conversion goal. Only - * conversion actions that have this category will be included in this goal. - * @type int $origin - * The conversion origin of this customer conversion goal. Only - * conversion actions that have this conversion origin will be included in - * this goal. - * @type bool $biddable - * The biddability of the customer conversion goal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer conversion goal. - * Customer conversion goal resource names have the form: - * `customers/{customer_id}/customerConversionGoals/{category}~{origin}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer conversion goal. - * Customer conversion goal resource names have the form: - * `customers/{customer_id}/customerConversionGoals/{category}~{origin}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The conversion category of this customer conversion goal. Only - * conversion actions that have this category will be included in this goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 2; - * @return int - */ - public function getCategory() - { - return $this->category; - } - - /** - * The conversion category of this customer conversion goal. Only - * conversion actions that have this category will be included in this goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 2; - * @param int $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionActionCategoryEnum\ConversionActionCategory::class); - $this->category = $var; - - return $this; - } - - /** - * The conversion origin of this customer conversion goal. Only - * conversion actions that have this conversion origin will be included in - * this goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 3; - * @return int - */ - public function getOrigin() - { - return $this->origin; - } - - /** - * The conversion origin of this customer conversion goal. Only - * conversion actions that have this conversion origin will be included in - * this goal. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 3; - * @param int $var - * @return $this - */ - public function setOrigin($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionOriginEnum\ConversionOrigin::class); - $this->origin = $var; - - return $this; - } - - /** - * The biddability of the customer conversion goal. - * - * Generated from protobuf field bool biddable = 4; - * @return bool - */ - public function getBiddable() - { - return $this->biddable; - } - - /** - * The biddability of the customer conversion goal. - * - * Generated from protobuf field bool biddable = 4; - * @param bool $var - * @return $this - */ - public function setBiddable($var) - { - GPBUtil::checkBool($var); - $this->biddable = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerCustomizer.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerCustomizer.php deleted file mode 100644 index 0b254398a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerCustomizer.php +++ /dev/null @@ -1,196 +0,0 @@ -google.ads.googleads.v15.resources.CustomerCustomizer - */ -class CustomerCustomizer extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer customizer. - * Customer customizer resource names have the form: - * `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Required. Immutable. The customizer attribute which is linked to the - * customer. - * - * Generated from protobuf field string customizer_attribute = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $customizer_attribute = ''; - /** - * Output only. The status of the customer customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer customizer. - * Customer customizer resource names have the form: - * `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - * @type string $customizer_attribute - * Required. Immutable. The customizer attribute which is linked to the - * customer. - * @type int $status - * Output only. The status of the customer customizer attribute. - * @type \Google\Ads\GoogleAds\V15\Common\CustomizerValue $value - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer customizer. - * Customer customizer resource names have the form: - * `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer customizer. - * Customer customizer resource names have the form: - * `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Required. Immutable. The customizer attribute which is linked to the - * customer. - * - * Generated from protobuf field string customizer_attribute = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomizerAttribute() - { - return $this->customizer_attribute; - } - - /** - * Required. Immutable. The customizer attribute which is linked to the - * customer. - * - * Generated from protobuf field string customizer_attribute = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomizerAttribute($var) - { - GPBUtil::checkString($var, True); - $this->customizer_attribute = $var; - - return $this; - } - - /** - * Output only. The status of the customer customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the customer customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomizerValueStatusEnum\CustomizerValueStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomizerValue|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Required. The value to associate with the customizer attribute at this - * level. The value must be of the type specified for the CustomizerAttribute. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomizerValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomizerValue::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerExtensionSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerExtensionSetting.php deleted file mode 100644 index f75432a75..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerExtensionSetting.php +++ /dev/null @@ -1,185 +0,0 @@ -google.ads.googleads.v15.resources.CustomerExtensionSetting - */ -class CustomerExtensionSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer extension setting. - * CustomerExtensionSetting resource names have the form: - * `customers/{customer_id}/customerExtensionSettings/{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The extension type of the customer extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $extension_type = 0; - /** - * The resource names of the extension feed items to serve under the customer. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 5 [(.google.api.resource_reference) = { - */ - private $extension_feed_items; - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 4; - */ - protected $device = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer extension setting. - * CustomerExtensionSetting resource names have the form: - * `customers/{customer_id}/customerExtensionSettings/{extension_type}` - * @type int $extension_type - * Immutable. The extension type of the customer extension setting. - * @type array|\Google\Protobuf\Internal\RepeatedField $extension_feed_items - * The resource names of the extension feed items to serve under the customer. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * @type int $device - * The device for which the extensions will serve. Optional. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer extension setting. - * CustomerExtensionSetting resource names have the form: - * `customers/{customer_id}/customerExtensionSettings/{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer extension setting. - * CustomerExtensionSetting resource names have the form: - * `customers/{customer_id}/customerExtensionSettings/{extension_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The extension type of the customer extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getExtensionType() - { - return $this->extension_type; - } - - /** - * Immutable. The extension type of the customer extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setExtensionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExtensionTypeEnum\ExtensionType::class); - $this->extension_type = $var; - - return $this; - } - - /** - * The resource names of the extension feed items to serve under the customer. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 5 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExtensionFeedItems() - { - return $this->extension_feed_items; - } - - /** - * The resource names of the extension feed items to serve under the customer. - * ExtensionFeedItem resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field repeated string extension_feed_items = 5 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExtensionFeedItems($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->extension_feed_items = $arr; - - return $this; - } - - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 4; - * @return int - */ - public function getDevice() - { - return $this->device; - } - - /** - * The device for which the extensions will serve. Optional. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 4; - * @param int $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExtensionSettingDeviceEnum\ExtensionSettingDevice::class); - $this->device = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerFeed.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerFeed.php deleted file mode 100644 index 93bd6d0e7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerFeed.php +++ /dev/null @@ -1,247 +0,0 @@ -google.ads.googleads.v15.resources.CustomerFeed - */ -class CustomerFeed extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer feed. - * Customer feed resource names have the form: - * `customers/{customer_id}/customerFeeds/{feed_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The feed being linked to the customer. - * - * Generated from protobuf field optional string feed = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed = null; - /** - * Indicates which placeholder types the feed may populate under the connected - * customer. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 3; - */ - private $placeholder_types; - /** - * Matching function associated with the CustomerFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 4; - */ - protected $matching_function = null; - /** - * Output only. Status of the customer feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer feed. - * Customer feed resource names have the form: - * `customers/{customer_id}/customerFeeds/{feed_id}` - * @type string $feed - * Immutable. The feed being linked to the customer. - * @type array|\Google\Protobuf\Internal\RepeatedField $placeholder_types - * Indicates which placeholder types the feed may populate under the connected - * customer. Required. - * @type \Google\Ads\GoogleAds\V15\Common\MatchingFunction $matching_function - * Matching function associated with the CustomerFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * @type int $status - * Output only. Status of the customer feed. - * This field is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerFeed::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer feed. - * Customer feed resource names have the form: - * `customers/{customer_id}/customerFeeds/{feed_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer feed. - * Customer feed resource names have the form: - * `customers/{customer_id}/customerFeeds/{feed_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The feed being linked to the customer. - * - * Generated from protobuf field optional string feed = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeed() - { - return isset($this->feed) ? $this->feed : ''; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * Immutable. The feed being linked to the customer. - * - * Generated from protobuf field optional string feed = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Indicates which placeholder types the feed may populate under the connected - * customer. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPlaceholderTypes() - { - return $this->placeholder_types; - } - - /** - * Indicates which placeholder types the feed may populate under the connected - * customer. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPlaceholderTypes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\PlaceholderTypeEnum\PlaceholderType::class); - $this->placeholder_types = $arr; - - return $this; - } - - /** - * Matching function associated with the CustomerFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 4; - * @return \Google\Ads\GoogleAds\V15\Common\MatchingFunction|null - */ - public function getMatchingFunction() - { - return $this->matching_function; - } - - public function hasMatchingFunction() - { - return isset($this->matching_function); - } - - public function clearMatchingFunction() - { - unset($this->matching_function); - } - - /** - * Matching function associated with the CustomerFeed. - * The matching function is used to filter the set of feed items selected. - * Required. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MatchingFunction matching_function = 4; - * @param \Google\Ads\GoogleAds\V15\Common\MatchingFunction $var - * @return $this - */ - public function setMatchingFunction($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MatchingFunction::class); - $this->matching_function = $var; - - return $this; - } - - /** - * Output only. Status of the customer feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the customer feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedLinkStatusEnum\FeedLinkStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerLabel.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerLabel.php deleted file mode 100644 index 9821e54c9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerLabel.php +++ /dev/null @@ -1,177 +0,0 @@ -google.ads.googleads.v15.resources.CustomerLabel - */ -class CustomerLabel extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the resource. - * Customer label resource names have the form: - * `customers/{customer_id}/customerLabels/{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The resource name of the customer to which the label is - * attached. Read only. - * - * Generated from protobuf field optional string customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $customer = null; - /** - * Output only. The resource name of the label assigned to the customer. - * Note: the Customer ID portion of the label resource name is not - * validated when creating a new CustomerLabel. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $label = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Name of the resource. - * Customer label resource names have the form: - * `customers/{customer_id}/customerLabels/{label_id}` - * @type string $customer - * Output only. The resource name of the customer to which the label is - * attached. Read only. - * @type string $label - * Output only. The resource name of the label assigned to the customer. - * Note: the Customer ID portion of the label resource name is not - * validated when creating a new CustomerLabel. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerLabel::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the resource. - * Customer label resource names have the form: - * `customers/{customer_id}/customerLabels/{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Name of the resource. - * Customer label resource names have the form: - * `customers/{customer_id}/customerLabels/{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The resource name of the customer to which the label is - * attached. Read only. - * - * Generated from protobuf field optional string customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomer() - { - return isset($this->customer) ? $this->customer : ''; - } - - public function hasCustomer() - { - return isset($this->customer); - } - - public function clearCustomer() - { - unset($this->customer); - } - - /** - * Output only. The resource name of the customer to which the label is - * attached. Read only. - * - * Generated from protobuf field optional string customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkString($var, True); - $this->customer = $var; - - return $this; - } - - /** - * Output only. The resource name of the label assigned to the customer. - * Note: the Customer ID portion of the label resource name is not - * validated when creating a new CustomerLabel. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getLabel() - { - return isset($this->label) ? $this->label : ''; - } - - public function hasLabel() - { - return isset($this->label); - } - - public function clearLabel() - { - unset($this->label); - } - - /** - * Output only. The resource name of the label assigned to the customer. - * Note: the Customer ID portion of the label resource name is not - * validated when creating a new CustomerLabel. - * - * Generated from protobuf field optional string label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setLabel($var) - { - GPBUtil::checkString($var, True); - $this->label = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal.php deleted file mode 100644 index 9fc18a8d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal.php +++ /dev/null @@ -1,167 +0,0 @@ -google.ads.googleads.v15.resources.CustomerLifecycleGoal - */ -class CustomerLifecycleGoal extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer lifecycle goal. - * Customer lifecycle resource names have the form: - * `customers/{customer_id}/customerLifecycleGoal` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Common lifecycle goal settings shared among different types of - * lifecycle goals. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLifecycleGoal.LifecycleGoalCustomerDefinitionSettings lifecycle_goal_customer_definition_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $lifecycle_goal_customer_definition_settings = null; - /** - * Output only. Customer acquisition goal customer level value settings. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $customer_acquisition_goal_value_settings = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer lifecycle goal. - * Customer lifecycle resource names have the form: - * `customers/{customer_id}/customerLifecycleGoal` - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal\LifecycleGoalCustomerDefinitionSettings $lifecycle_goal_customer_definition_settings - * Output only. Common lifecycle goal settings shared among different types of - * lifecycle goals. - * @type \Google\Ads\GoogleAds\V15\Common\LifecycleGoalValueSettings $customer_acquisition_goal_value_settings - * Output only. Customer acquisition goal customer level value settings. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer lifecycle goal. - * Customer lifecycle resource names have the form: - * `customers/{customer_id}/customerLifecycleGoal` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer lifecycle goal. - * Customer lifecycle resource names have the form: - * `customers/{customer_id}/customerLifecycleGoal` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Common lifecycle goal settings shared among different types of - * lifecycle goals. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLifecycleGoal.LifecycleGoalCustomerDefinitionSettings lifecycle_goal_customer_definition_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal\LifecycleGoalCustomerDefinitionSettings|null - */ - public function getLifecycleGoalCustomerDefinitionSettings() - { - return $this->lifecycle_goal_customer_definition_settings; - } - - public function hasLifecycleGoalCustomerDefinitionSettings() - { - return isset($this->lifecycle_goal_customer_definition_settings); - } - - public function clearLifecycleGoalCustomerDefinitionSettings() - { - unset($this->lifecycle_goal_customer_definition_settings); - } - - /** - * Output only. Common lifecycle goal settings shared among different types of - * lifecycle goals. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLifecycleGoal.LifecycleGoalCustomerDefinitionSettings lifecycle_goal_customer_definition_settings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal\LifecycleGoalCustomerDefinitionSettings $var - * @return $this - */ - public function setLifecycleGoalCustomerDefinitionSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal\LifecycleGoalCustomerDefinitionSettings::class); - $this->lifecycle_goal_customer_definition_settings = $var; - - return $this; - } - - /** - * Output only. Customer acquisition goal customer level value settings. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\LifecycleGoalValueSettings|null - */ - public function getCustomerAcquisitionGoalValueSettings() - { - return $this->customer_acquisition_goal_value_settings; - } - - public function hasCustomerAcquisitionGoalValueSettings() - { - return isset($this->customer_acquisition_goal_value_settings); - } - - public function clearCustomerAcquisitionGoalValueSettings() - { - unset($this->customer_acquisition_goal_value_settings); - } - - /** - * Output only. Customer acquisition goal customer level value settings. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LifecycleGoalValueSettings customer_acquisition_goal_value_settings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\LifecycleGoalValueSettings $var - * @return $this - */ - public function setCustomerAcquisitionGoalValueSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LifecycleGoalValueSettings::class); - $this->customer_acquisition_goal_value_settings = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal/LifecycleGoalCustomerDefinitionSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal/LifecycleGoalCustomerDefinitionSettings.php deleted file mode 100644 index 27196f4c4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerLifecycleGoal/LifecycleGoalCustomerDefinitionSettings.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.resources.CustomerLifecycleGoal.LifecycleGoalCustomerDefinitionSettings - */ -class LifecycleGoalCustomerDefinitionSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. User lists which represent existing customers. - * - * Generated from protobuf field repeated string existing_user_lists = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $existing_user_lists; - /** - * Output only. User lists which represent customers of high lifetime value. - * In current stage, high lifetime value feature is in beta and this field - * is read-only. - * - * Generated from protobuf field repeated string high_lifetime_value_user_lists = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $high_lifetime_value_user_lists; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $existing_user_lists - * Output only. User lists which represent existing customers. - * @type array|\Google\Protobuf\Internal\RepeatedField $high_lifetime_value_user_lists - * Output only. User lists which represent customers of high lifetime value. - * In current stage, high lifetime value feature is in beta and this field - * is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal::initOnce(); - parent::__construct($data); - } - - /** - * Output only. User lists which represent existing customers. - * - * Generated from protobuf field repeated string existing_user_lists = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExistingUserLists() - { - return $this->existing_user_lists; - } - - /** - * Output only. User lists which represent existing customers. - * - * Generated from protobuf field repeated string existing_user_lists = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExistingUserLists($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->existing_user_lists = $arr; - - return $this; - } - - /** - * Output only. User lists which represent customers of high lifetime value. - * In current stage, high lifetime value feature is in beta and this field - * is read-only. - * - * Generated from protobuf field repeated string high_lifetime_value_user_lists = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHighLifetimeValueUserLists() - { - return $this->high_lifetime_value_user_lists; - } - - /** - * Output only. User lists which represent customers of high lifetime value. - * In current stage, high lifetime value feature is in beta and this field - * is read-only. - * - * Generated from protobuf field repeated string high_lifetime_value_user_lists = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHighLifetimeValueUserLists($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->high_lifetime_value_user_lists = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LifecycleGoalCustomerDefinitionSettings::class, \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal_LifecycleGoalCustomerDefinitionSettings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerManagerLink.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerManagerLink.php deleted file mode 100644 index f7e4c49b1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerManagerLink.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.resources.CustomerManagerLink - */ -class CustomerManagerLink extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the resource. - * CustomerManagerLink resource names have the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The manager customer linked to the customer. - * - * Generated from protobuf field optional string manager_customer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $manager_customer = null; - /** - * Output only. ID of the customer-manager link. This field is read only. - * - * Generated from protobuf field optional int64 manager_link_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $manager_link_id = null; - /** - * Status of the link between the customer and the manager. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Name of the resource. - * CustomerManagerLink resource names have the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * @type string $manager_customer - * Output only. The manager customer linked to the customer. - * @type int|string $manager_link_id - * Output only. ID of the customer-manager link. This field is read only. - * @type int $status - * Status of the link between the customer and the manager. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the resource. - * CustomerManagerLink resource names have the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Name of the resource. - * CustomerManagerLink resource names have the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The manager customer linked to the customer. - * - * Generated from protobuf field optional string manager_customer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getManagerCustomer() - { - return isset($this->manager_customer) ? $this->manager_customer : ''; - } - - public function hasManagerCustomer() - { - return isset($this->manager_customer); - } - - public function clearManagerCustomer() - { - unset($this->manager_customer); - } - - /** - * Output only. The manager customer linked to the customer. - * - * Generated from protobuf field optional string manager_customer = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setManagerCustomer($var) - { - GPBUtil::checkString($var, True); - $this->manager_customer = $var; - - return $this; - } - - /** - * Output only. ID of the customer-manager link. This field is read only. - * - * Generated from protobuf field optional int64 manager_link_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getManagerLinkId() - { - return isset($this->manager_link_id) ? $this->manager_link_id : 0; - } - - public function hasManagerLinkId() - { - return isset($this->manager_link_id); - } - - public function clearManagerLinkId() - { - unset($this->manager_link_id); - } - - /** - * Output only. ID of the customer-manager link. This field is read only. - * - * Generated from protobuf field optional int64 manager_link_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setManagerLinkId($var) - { - GPBUtil::checkInt64($var); - $this->manager_link_id = $var; - - return $this; - } - - /** - * Status of the link between the customer and the manager. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Status of the link between the customer and the manager. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ManagerLinkStatusEnum\ManagerLinkStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerNegativeCriterion.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerNegativeCriterion.php deleted file mode 100644 index 41f7fc8fc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerNegativeCriterion.php +++ /dev/null @@ -1,393 +0,0 @@ -google.ads.googleads.v15.resources.CustomerNegativeCriterion - */ -class CustomerNegativeCriterion extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customer negative criterion. - * Customer negative criterion resource names have the form: - * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the criterion. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - protected $criterion; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customer negative criterion. - * Customer negative criterion resource names have the form: - * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - * @type int|string $id - * Output only. The ID of the criterion. - * @type int $type - * Output only. The type of the criterion. - * @type \Google\Ads\GoogleAds\V15\Common\ContentLabelInfo $content_label - * Immutable. ContentLabel. - * @type \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo $mobile_application - * Immutable. MobileApplication. - * @type \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo $mobile_app_category - * Immutable. MobileAppCategory. - * @type \Google\Ads\GoogleAds\V15\Common\PlacementInfo $placement - * Immutable. Placement. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo $youtube_video - * Immutable. YouTube Video. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $youtube_channel - * Immutable. YouTube Channel. - * @type \Google\Ads\GoogleAds\V15\Common\NegativeKeywordListInfo $negative_keyword_list - * Immutable. NegativeKeywordList. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customer negative criterion. - * Customer negative criterion resource names have the form: - * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customer negative criterion. - * Customer negative criterion resource names have the form: - * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the criterion. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the criterion. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CriterionTypeEnum\CriterionType::class); - $this->type = $var; - - return $this; - } - - /** - * Immutable. ContentLabel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ContentLabelInfo content_label = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ContentLabelInfo|null - */ - public function getContentLabel() - { - return $this->readOneof(4); - } - - public function hasContentLabel() - { - return $this->hasOneof(4); - } - - /** - * Immutable. ContentLabel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ContentLabelInfo content_label = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ContentLabelInfo $var - * @return $this - */ - public function setContentLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ContentLabelInfo::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Immutable. MobileApplication. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileApplicationInfo mobile_application = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo|null - */ - public function getMobileApplication() - { - return $this->readOneof(5); - } - - public function hasMobileApplication() - { - return $this->hasOneof(5); - } - - /** - * Immutable. MobileApplication. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileApplicationInfo mobile_application = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo $var - * @return $this - */ - public function setMobileApplication($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Immutable. MobileAppCategory. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppCategoryInfo mobile_app_category = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo|null - */ - public function getMobileAppCategory() - { - return $this->readOneof(6); - } - - public function hasMobileAppCategory() - { - return $this->hasOneof(6); - } - - /** - * Immutable. MobileAppCategory. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppCategoryInfo mobile_app_category = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo $var - * @return $this - */ - public function setMobileAppCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Immutable. Placement. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PlacementInfo placement = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\PlacementInfo|null - */ - public function getPlacement() - { - return $this->readOneof(7); - } - - public function hasPlacement() - { - return $this->hasOneof(7); - } - - /** - * Immutable. Placement. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PlacementInfo placement = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\PlacementInfo $var - * @return $this - */ - public function setPlacement($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PlacementInfo::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Immutable. YouTube Video. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeVideoInfo youtube_video = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo|null - */ - public function getYoutubeVideo() - { - return $this->readOneof(8); - } - - public function hasYoutubeVideo() - { - return $this->hasOneof(8); - } - - /** - * Immutable. YouTube Video. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeVideoInfo youtube_video = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo $var - * @return $this - */ - public function setYoutubeVideo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Immutable. YouTube Channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo|null - */ - public function getYoutubeChannel() - { - return $this->readOneof(9); - } - - public function hasYoutubeChannel() - { - return $this->hasOneof(9); - } - - /** - * Immutable. YouTube Channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $var - * @return $this - */ - public function setYoutubeChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Immutable. NegativeKeywordList. - * - * Generated from protobuf field .google.ads.googleads.v15.common.NegativeKeywordListInfo negative_keyword_list = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\NegativeKeywordListInfo|null - */ - public function getNegativeKeywordList() - { - return $this->readOneof(11); - } - - public function hasNegativeKeywordList() - { - return $this->hasOneof(11); - } - - /** - * Immutable. NegativeKeywordList. - * - * Generated from protobuf field .google.ads.googleads.v15.common.NegativeKeywordListInfo negative_keyword_list = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\NegativeKeywordListInfo $var - * @return $this - */ - public function setNegativeKeywordList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\NegativeKeywordListInfo::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * @return string - */ - public function getCriterion() - { - return $this->whichOneof("criterion"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSearchTermInsight.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerSearchTermInsight.php deleted file mode 100644 index e46a98ecc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSearchTermInsight.php +++ /dev/null @@ -1,168 +0,0 @@ -google.ads.googleads.v15.resources.CustomerSearchTermInsight - */ -class CustomerSearchTermInsight extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the customer level search term insight. - * Customer level search term insight resource names have the form: - * `customers/{customer_id}/customerSearchTermInsights/{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The label for the search category. An empty string denotes the - * catch-all category for search terms that didn't fit into another category. - * - * Generated from protobuf field optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category_label = null; - /** - * Output only. The ID of the insight. - * - * Generated from protobuf field optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the customer level search term insight. - * Customer level search term insight resource names have the form: - * `customers/{customer_id}/customerSearchTermInsights/{category_id}` - * @type string $category_label - * Output only. The label for the search category. An empty string denotes the - * catch-all category for search terms that didn't fit into another category. - * @type int|string $id - * Output only. The ID of the insight. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerSearchTermInsight::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the customer level search term insight. - * Customer level search term insight resource names have the form: - * `customers/{customer_id}/customerSearchTermInsights/{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the customer level search term insight. - * Customer level search term insight resource names have the form: - * `customers/{customer_id}/customerSearchTermInsights/{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The label for the search category. An empty string denotes the - * catch-all category for search terms that didn't fit into another category. - * - * Generated from protobuf field optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCategoryLabel() - { - return isset($this->category_label) ? $this->category_label : ''; - } - - public function hasCategoryLabel() - { - return isset($this->category_label); - } - - public function clearCategoryLabel() - { - unset($this->category_label); - } - - /** - * Output only. The label for the search category. An empty string denotes the - * catch-all category for search terms that didn't fit into another category. - * - * Generated from protobuf field optional string category_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCategoryLabel($var) - { - GPBUtil::checkString($var, True); - $this->category_label = $var; - - return $this; - } - - /** - * Output only. The ID of the insight. - * - * Generated from protobuf field optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the insight. - * - * Generated from protobuf field optional int64 id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema.php deleted file mode 100644 index 31327c13f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema - */ -class CustomerSkAdNetworkConversionValueSchema extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the schema. - * CustomerSkAdNetworkConversionValueSchema resource names have the form: - * customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The schema for the specified resource. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $schema = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the schema. - * CustomerSkAdNetworkConversionValueSchema resource names have the form: - * customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema $schema - * Output only. The schema for the specified resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the schema. - * CustomerSkAdNetworkConversionValueSchema resource names have the form: - * customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the schema. - * CustomerSkAdNetworkConversionValueSchema resource names have the form: - * customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The schema for the specified resource. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema|null - */ - public function getSchema() - { - return $this->schema; - } - - public function hasSchema() - { - return isset($this->schema); - } - - public function clearSchema() - { - unset($this->schema); - } - - /** - * Output only. The schema for the specified resource. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema schema = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema $var - * @return $this - */ - public function setSchema($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema::class); - $this->schema = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema.php deleted file mode 100644 index 3b0bb31e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema.php +++ /dev/null @@ -1,150 +0,0 @@ -google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema - */ -class SkAdNetworkConversionValueSchema extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Output only. Apple App Store app ID. - * - * Generated from protobuf field string app_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $app_id = ''; - /** - * Output only. A time window (measured in hours) post-install, after which - * the App Attribution Partner or advertiser stops calling - * [updateConversionValue] - * (https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue). - * - * Generated from protobuf field int32 measurement_window_hours = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $measurement_window_hours = 0; - /** - * Output only. Fine grained conversion value mappings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.FineGrainedConversionValueMappings fine_grained_conversion_value_mappings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $fine_grained_conversion_value_mappings; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $app_id - * Required. Output only. Apple App Store app ID. - * @type int $measurement_window_hours - * Output only. A time window (measured in hours) post-install, after which - * the App Attribution Partner or advertiser stops calling - * [updateConversionValue] - * (https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue). - * @type array<\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\FineGrainedConversionValueMappings>|\Google\Protobuf\Internal\RepeatedField $fine_grained_conversion_value_mappings - * Output only. Fine grained conversion value mappings. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema::initOnce(); - parent::__construct($data); - } - - /** - * Required. Output only. Apple App Store app ID. - * - * Generated from protobuf field string app_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAppId() - { - return $this->app_id; - } - - /** - * Required. Output only. Apple App Store app ID. - * - * Generated from protobuf field string app_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * Output only. A time window (measured in hours) post-install, after which - * the App Attribution Partner or advertiser stops calling - * [updateConversionValue] - * (https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue). - * - * Generated from protobuf field int32 measurement_window_hours = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getMeasurementWindowHours() - { - return $this->measurement_window_hours; - } - - /** - * Output only. A time window (measured in hours) post-install, after which - * the App Attribution Partner or advertiser stops calling - * [updateConversionValue] - * (https://developer.apple.com/documentation/storekit/skadnetwork/3566697-updateconversionvalue). - * - * Generated from protobuf field int32 measurement_window_hours = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setMeasurementWindowHours($var) - { - GPBUtil::checkInt32($var); - $this->measurement_window_hours = $var; - - return $this; - } - - /** - * Output only. Fine grained conversion value mappings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.FineGrainedConversionValueMappings fine_grained_conversion_value_mappings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFineGrainedConversionValueMappings() - { - return $this->fine_grained_conversion_value_mappings; - } - - /** - * Output only. Fine grained conversion value mappings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.FineGrainedConversionValueMappings fine_grained_conversion_value_mappings = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\FineGrainedConversionValueMappings>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFineGrainedConversionValueMappings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\FineGrainedConversionValueMappings::class); - $this->fine_grained_conversion_value_mappings = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SkAdNetworkConversionValueSchema::class, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema_SkAdNetworkConversionValueSchema::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/ConversionValueMapping.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/ConversionValueMapping.php deleted file mode 100644 index 068046c25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/ConversionValueMapping.php +++ /dev/null @@ -1,151 +0,0 @@ -google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.ConversionValueMapping - */ -class ConversionValueMapping extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The minimum of the time range in which a user was last - * active during the measurement window. - * - * Generated from protobuf field int64 min_time_post_install_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $min_time_post_install_hours = 0; - /** - * Output only. The maximum of the time range in which a user was last - * active during the measurement window. - * - * Generated from protobuf field int64 max_time_post_install_hours = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $max_time_post_install_hours = 0; - /** - * Output only. The conversion value may be mapped to multiple events with - * various attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event mapped_events = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $mapped_events; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $min_time_post_install_hours - * Output only. The minimum of the time range in which a user was last - * active during the measurement window. - * @type int|string $max_time_post_install_hours - * Output only. The maximum of the time range in which a user was last - * active during the measurement window. - * @type array<\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event>|\Google\Protobuf\Internal\RepeatedField $mapped_events - * Output only. The conversion value may be mapped to multiple events with - * various attributes. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The minimum of the time range in which a user was last - * active during the measurement window. - * - * Generated from protobuf field int64 min_time_post_install_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getMinTimePostInstallHours() - { - return $this->min_time_post_install_hours; - } - - /** - * Output only. The minimum of the time range in which a user was last - * active during the measurement window. - * - * Generated from protobuf field int64 min_time_post_install_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setMinTimePostInstallHours($var) - { - GPBUtil::checkInt64($var); - $this->min_time_post_install_hours = $var; - - return $this; - } - - /** - * Output only. The maximum of the time range in which a user was last - * active during the measurement window. - * - * Generated from protobuf field int64 max_time_post_install_hours = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getMaxTimePostInstallHours() - { - return $this->max_time_post_install_hours; - } - - /** - * Output only. The maximum of the time range in which a user was last - * active during the measurement window. - * - * Generated from protobuf field int64 max_time_post_install_hours = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setMaxTimePostInstallHours($var) - { - GPBUtil::checkInt64($var); - $this->max_time_post_install_hours = $var; - - return $this; - } - - /** - * Output only. The conversion value may be mapped to multiple events with - * various attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event mapped_events = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMappedEvents() - { - return $this->mapped_events; - } - - /** - * Output only. The conversion value may be mapped to multiple events with - * various attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event mapped_events = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMappedEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event::class); - $this->mapped_events = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ConversionValueMapping::class, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema_SkAdNetworkConversionValueSchema_ConversionValueMapping::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event.php deleted file mode 100644 index ab5a3f0a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event.php +++ /dev/null @@ -1,258 +0,0 @@ -google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event - */ -class Event extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Google event name represented by this conversion value. - * - * Generated from protobuf field string mapped_event_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $mapped_event_name = ''; - /** - * Output only. The reported currency for the event_revenue. ISO 4217 - * three-letter currency code, for example, "USD" - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $currency_code = ''; - protected $revenue_rate; - protected $event_rate; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $mapped_event_name - * Output only. Google event name represented by this conversion value. - * @type string $currency_code - * Output only. The reported currency for the event_revenue. ISO 4217 - * three-letter currency code, for example, "USD" - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event\RevenueRange $event_revenue_range - * Output only. The event revenue range. - * @type float $event_revenue_value - * Output only. The specific event revenue value. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event\EventOccurrenceRange $event_occurrence_range - * Output only. The event counter range. - * @type int|string $event_counter - * Output only. For specific event counter values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Google event name represented by this conversion value. - * - * Generated from protobuf field string mapped_event_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getMappedEventName() - { - return $this->mapped_event_name; - } - - /** - * Output only. Google event name represented by this conversion value. - * - * Generated from protobuf field string mapped_event_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setMappedEventName($var) - { - GPBUtil::checkString($var, True); - $this->mapped_event_name = $var; - - return $this; - } - - /** - * Output only. The reported currency for the event_revenue. ISO 4217 - * three-letter currency code, for example, "USD" - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCurrencyCode() - { - return $this->currency_code; - } - - /** - * Output only. The reported currency for the event_revenue. ISO 4217 - * three-letter currency code, for example, "USD" - * - * Generated from protobuf field string currency_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Output only. The event revenue range. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.RevenueRange event_revenue_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event\RevenueRange|null - */ - public function getEventRevenueRange() - { - return $this->readOneof(3); - } - - public function hasEventRevenueRange() - { - return $this->hasOneof(3); - } - - /** - * Output only. The event revenue range. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.RevenueRange event_revenue_range = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event\RevenueRange $var - * @return $this - */ - public function setEventRevenueRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event\RevenueRange::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Output only. The specific event revenue value. - * - * Generated from protobuf field double event_revenue_value = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getEventRevenueValue() - { - return $this->readOneof(4); - } - - public function hasEventRevenueValue() - { - return $this->hasOneof(4); - } - - /** - * Output only. The specific event revenue value. - * - * Generated from protobuf field double event_revenue_value = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setEventRevenueValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Output only. The event counter range. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.EventOccurrenceRange event_occurrence_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event\EventOccurrenceRange|null - */ - public function getEventOccurrenceRange() - { - return $this->readOneof(5); - } - - public function hasEventOccurrenceRange() - { - return $this->hasOneof(5); - } - - /** - * Output only. The event counter range. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.EventOccurrenceRange event_occurrence_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event\EventOccurrenceRange $var - * @return $this - */ - public function setEventOccurrenceRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\Event\EventOccurrenceRange::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Output only. For specific event counter values. - * - * Generated from protobuf field int64 event_counter = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEventCounter() - { - return $this->readOneof(6); - } - - public function hasEventCounter() - { - return $this->hasOneof(6); - } - - /** - * Output only. For specific event counter values. - * - * Generated from protobuf field int64 event_counter = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEventCounter($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * @return string - */ - public function getRevenueRate() - { - return $this->whichOneof("revenue_rate"); - } - - /** - * @return string - */ - public function getEventRate() - { - return $this->whichOneof("event_rate"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Event::class, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema_SkAdNetworkConversionValueSchema_Event::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event/EventOccurrenceRange.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event/EventOccurrenceRange.php deleted file mode 100644 index ede58b87c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event/EventOccurrenceRange.php +++ /dev/null @@ -1,112 +0,0 @@ -google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.EventOccurrenceRange - */ -class EventOccurrenceRange extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. For event counter ranges, the minimum of the defined - * range. A value of 0 will be treated as unset. - * - * Generated from protobuf field int64 min_event_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $min_event_count = 0; - /** - * Output only. For event counter ranges, the maximum of the defined - * range. A value of 0 will be treated as unset. - * - * Generated from protobuf field int64 max_event_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $max_event_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $min_event_count - * Output only. For event counter ranges, the minimum of the defined - * range. A value of 0 will be treated as unset. - * @type int|string $max_event_count - * Output only. For event counter ranges, the maximum of the defined - * range. A value of 0 will be treated as unset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema::initOnce(); - parent::__construct($data); - } - - /** - * Output only. For event counter ranges, the minimum of the defined - * range. A value of 0 will be treated as unset. - * - * Generated from protobuf field int64 min_event_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getMinEventCount() - { - return $this->min_event_count; - } - - /** - * Output only. For event counter ranges, the minimum of the defined - * range. A value of 0 will be treated as unset. - * - * Generated from protobuf field int64 min_event_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setMinEventCount($var) - { - GPBUtil::checkInt64($var); - $this->min_event_count = $var; - - return $this; - } - - /** - * Output only. For event counter ranges, the maximum of the defined - * range. A value of 0 will be treated as unset. - * - * Generated from protobuf field int64 max_event_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getMaxEventCount() - { - return $this->max_event_count; - } - - /** - * Output only. For event counter ranges, the maximum of the defined - * range. A value of 0 will be treated as unset. - * - * Generated from protobuf field int64 max_event_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setMaxEventCount($var) - { - GPBUtil::checkInt64($var); - $this->max_event_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EventOccurrenceRange::class, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema_SkAdNetworkConversionValueSchema_Event_EventOccurrenceRange::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event/RevenueRange.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event/RevenueRange.php deleted file mode 100644 index b961591f7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/Event/RevenueRange.php +++ /dev/null @@ -1,120 +0,0 @@ -google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.Event.RevenueRange - */ -class RevenueRange extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. For revenue ranges, the minimum value in `currency_code` - * for which this conversion value would be updated. A value of 0 will - * be treated as unset. - * - * Generated from protobuf field double min_event_revenue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $min_event_revenue = 0.0; - /** - * Output only. For revenue ranges, the maximum value in `currency_code` - * for which this conversion value would be updated. A value of 0 will - * be treated as unset. - * - * Generated from protobuf field double max_event_revenue = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $max_event_revenue = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $min_event_revenue - * Output only. For revenue ranges, the minimum value in `currency_code` - * for which this conversion value would be updated. A value of 0 will - * be treated as unset. - * @type float $max_event_revenue - * Output only. For revenue ranges, the maximum value in `currency_code` - * for which this conversion value would be updated. A value of 0 will - * be treated as unset. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema::initOnce(); - parent::__construct($data); - } - - /** - * Output only. For revenue ranges, the minimum value in `currency_code` - * for which this conversion value would be updated. A value of 0 will - * be treated as unset. - * - * Generated from protobuf field double min_event_revenue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getMinEventRevenue() - { - return $this->min_event_revenue; - } - - /** - * Output only. For revenue ranges, the minimum value in `currency_code` - * for which this conversion value would be updated. A value of 0 will - * be treated as unset. - * - * Generated from protobuf field double min_event_revenue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setMinEventRevenue($var) - { - GPBUtil::checkDouble($var); - $this->min_event_revenue = $var; - - return $this; - } - - /** - * Output only. For revenue ranges, the maximum value in `currency_code` - * for which this conversion value would be updated. A value of 0 will - * be treated as unset. - * - * Generated from protobuf field double max_event_revenue = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getMaxEventRevenue() - { - return $this->max_event_revenue; - } - - /** - * Output only. For revenue ranges, the maximum value in `currency_code` - * for which this conversion value would be updated. A value of 0 will - * be treated as unset. - * - * Generated from protobuf field double max_event_revenue = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setMaxEventRevenue($var) - { - GPBUtil::checkDouble($var); - $this->max_event_revenue = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RevenueRange::class, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema_SkAdNetworkConversionValueSchema_Event_RevenueRange::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/FineGrainedConversionValueMappings.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/FineGrainedConversionValueMappings.php deleted file mode 100644 index ea6f8781a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerSkAdNetworkConversionValueSchema/SkAdNetworkConversionValueSchema/FineGrainedConversionValueMappings.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.FineGrainedConversionValueMappings - */ -class FineGrainedConversionValueMappings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Fine grained conversion value. Valid values are in the - * inclusive range [0,63]. - * - * Generated from protobuf field int32 fine_grained_conversion_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $fine_grained_conversion_value = 0; - /** - * Output only. Conversion events the fine grained conversion value maps - * to. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.ConversionValueMapping conversion_value_mapping = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $conversion_value_mapping = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $fine_grained_conversion_value - * Output only. Fine grained conversion value. Valid values are in the - * inclusive range [0,63]. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\ConversionValueMapping $conversion_value_mapping - * Output only. Conversion events the fine grained conversion value maps - * to. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Fine grained conversion value. Valid values are in the - * inclusive range [0,63]. - * - * Generated from protobuf field int32 fine_grained_conversion_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getFineGrainedConversionValue() - { - return $this->fine_grained_conversion_value; - } - - /** - * Output only. Fine grained conversion value. Valid values are in the - * inclusive range [0,63]. - * - * Generated from protobuf field int32 fine_grained_conversion_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setFineGrainedConversionValue($var) - { - GPBUtil::checkInt32($var); - $this->fine_grained_conversion_value = $var; - - return $this; - } - - /** - * Output only. Conversion events the fine grained conversion value maps - * to. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.ConversionValueMapping conversion_value_mapping = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\ConversionValueMapping|null - */ - public function getConversionValueMapping() - { - return $this->conversion_value_mapping; - } - - public function hasConversionValueMapping() - { - return isset($this->conversion_value_mapping); - } - - public function clearConversionValueMapping() - { - unset($this->conversion_value_mapping); - } - - /** - * Output only. Conversion events the fine grained conversion value maps - * to. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema.SkAdNetworkConversionValueSchema.ConversionValueMapping conversion_value_mapping = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\ConversionValueMapping $var - * @return $this - */ - public function setConversionValueMapping($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema\SkAdNetworkConversionValueSchema\ConversionValueMapping::class); - $this->conversion_value_mapping = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FineGrainedConversionValueMappings::class, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema_SkAdNetworkConversionValueSchema_FineGrainedConversionValueMappings::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccess.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccess.php deleted file mode 100644 index 588b8d375..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccess.php +++ /dev/null @@ -1,299 +0,0 @@ -google.ads.googleads.v15.resources.CustomerUserAccess - */ -class CustomerUserAccess extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the resource. - * Resource names have the form: - * `customers/{customer_id}/customerUserAccesses/{user_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. User id of the user with the customer access. - * Read only field - * - * Generated from protobuf field int64 user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $user_id = 0; - /** - * Output only. Email address of the user. - * Read only field - * - * Generated from protobuf field optional string email_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $email_address = null; - /** - * Access role of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 4; - */ - protected $access_role = 0; - /** - * Output only. The customer user access creation time. - * Read only field - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string access_creation_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $access_creation_date_time = null; - /** - * Output only. The email address of the inviter user. - * Read only field - * - * Generated from protobuf field optional string inviter_user_email_address = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $inviter_user_email_address = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Name of the resource. - * Resource names have the form: - * `customers/{customer_id}/customerUserAccesses/{user_id}` - * @type int|string $user_id - * Output only. User id of the user with the customer access. - * Read only field - * @type string $email_address - * Output only. Email address of the user. - * Read only field - * @type int $access_role - * Access role of the user. - * @type string $access_creation_date_time - * Output only. The customer user access creation time. - * Read only field - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type string $inviter_user_email_address - * Output only. The email address of the inviter user. - * Read only field - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the resource. - * Resource names have the form: - * `customers/{customer_id}/customerUserAccesses/{user_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Name of the resource. - * Resource names have the form: - * `customers/{customer_id}/customerUserAccesses/{user_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. User id of the user with the customer access. - * Read only field - * - * Generated from protobuf field int64 user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getUserId() - { - return $this->user_id; - } - - /** - * Output only. User id of the user with the customer access. - * Read only field - * - * Generated from protobuf field int64 user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setUserId($var) - { - GPBUtil::checkInt64($var); - $this->user_id = $var; - - return $this; - } - - /** - * Output only. Email address of the user. - * Read only field - * - * Generated from protobuf field optional string email_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEmailAddress() - { - return isset($this->email_address) ? $this->email_address : ''; - } - - public function hasEmailAddress() - { - return isset($this->email_address); - } - - public function clearEmailAddress() - { - unset($this->email_address); - } - - /** - * Output only. Email address of the user. - * Read only field - * - * Generated from protobuf field optional string email_address = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEmailAddress($var) - { - GPBUtil::checkString($var, True); - $this->email_address = $var; - - return $this; - } - - /** - * Access role of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 4; - * @return int - */ - public function getAccessRole() - { - return $this->access_role; - } - - /** - * Access role of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 4; - * @param int $var - * @return $this - */ - public function setAccessRole($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccessRoleEnum\AccessRole::class); - $this->access_role = $var; - - return $this; - } - - /** - * Output only. The customer user access creation time. - * Read only field - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string access_creation_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAccessCreationDateTime() - { - return isset($this->access_creation_date_time) ? $this->access_creation_date_time : ''; - } - - public function hasAccessCreationDateTime() - { - return isset($this->access_creation_date_time); - } - - public function clearAccessCreationDateTime() - { - unset($this->access_creation_date_time); - } - - /** - * Output only. The customer user access creation time. - * Read only field - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string access_creation_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAccessCreationDateTime($var) - { - GPBUtil::checkString($var, True); - $this->access_creation_date_time = $var; - - return $this; - } - - /** - * Output only. The email address of the inviter user. - * Read only field - * - * Generated from protobuf field optional string inviter_user_email_address = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getInviterUserEmailAddress() - { - return isset($this->inviter_user_email_address) ? $this->inviter_user_email_address : ''; - } - - public function hasInviterUserEmailAddress() - { - return isset($this->inviter_user_email_address); - } - - public function clearInviterUserEmailAddress() - { - unset($this->inviter_user_email_address); - } - - /** - * Output only. The email address of the inviter user. - * Read only field - * - * Generated from protobuf field optional string inviter_user_email_address = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setInviterUserEmailAddress($var) - { - GPBUtil::checkString($var, True); - $this->inviter_user_email_address = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccessInvitation.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccessInvitation.php deleted file mode 100644 index ce4e56e8a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccessInvitation.php +++ /dev/null @@ -1,269 +0,0 @@ -google.ads.googleads.v15.resources.CustomerUserAccessInvitation - */ -class CustomerUserAccessInvitation extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the resource. - * Resource names have the form: - * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the invitation. - * This field is read-only. - * - * Generated from protobuf field int64 invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $invitation_id = 0; - /** - * Immutable. Access role of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $access_role = 0; - /** - * Immutable. Email address the invitation was sent to. - * This can differ from the email address of the account - * that accepts the invite. - * - * Generated from protobuf field string email_address = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $email_address = ''; - /** - * Output only. Time invitation was created. - * This field is read-only. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creation_date_time = ''; - /** - * Output only. Invitation status of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessInvitationStatusEnum.AccessInvitationStatus invitation_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $invitation_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Name of the resource. - * Resource names have the form: - * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - * @type int|string $invitation_id - * Output only. The ID of the invitation. - * This field is read-only. - * @type int $access_role - * Immutable. Access role of the user. - * @type string $email_address - * Immutable. Email address the invitation was sent to. - * This can differ from the email address of the account - * that accepts the invite. - * @type string $creation_date_time - * Output only. Time invitation was created. - * This field is read-only. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type int $invitation_status - * Output only. Invitation status of the user. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the resource. - * Resource names have the form: - * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Name of the resource. - * Resource names have the form: - * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the invitation. - * This field is read-only. - * - * Generated from protobuf field int64 invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getInvitationId() - { - return $this->invitation_id; - } - - /** - * Output only. The ID of the invitation. - * This field is read-only. - * - * Generated from protobuf field int64 invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setInvitationId($var) - { - GPBUtil::checkInt64($var); - $this->invitation_id = $var; - - return $this; - } - - /** - * Immutable. Access role of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getAccessRole() - { - return $this->access_role; - } - - /** - * Immutable. Access role of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setAccessRole($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccessRoleEnum\AccessRole::class); - $this->access_role = $var; - - return $this; - } - - /** - * Immutable. Email address the invitation was sent to. - * This can differ from the email address of the account - * that accepts the invite. - * - * Generated from protobuf field string email_address = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getEmailAddress() - { - return $this->email_address; - } - - /** - * Immutable. Email address the invitation was sent to. - * This can differ from the email address of the account - * that accepts the invite. - * - * Generated from protobuf field string email_address = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setEmailAddress($var) - { - GPBUtil::checkString($var, True); - $this->email_address = $var; - - return $this; - } - - /** - * Output only. Time invitation was created. - * This field is read-only. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreationDateTime() - { - return $this->creation_date_time; - } - - /** - * Output only. Time invitation was created. - * This field is read-only. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreationDateTime($var) - { - GPBUtil::checkString($var, True); - $this->creation_date_time = $var; - - return $this; - } - - /** - * Output only. Invitation status of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessInvitationStatusEnum.AccessInvitationStatus invitation_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getInvitationStatus() - { - return $this->invitation_status; - } - - /** - * Output only. Invitation status of the user. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessInvitationStatusEnum.AccessInvitationStatus invitation_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setInvitationStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccessInvitationStatusEnum\AccessInvitationStatus::class); - $this->invitation_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/CustomizerAttribute.php b/src/Google/Ads/GoogleAds/V15/Resources/CustomizerAttribute.php deleted file mode 100644 index cf12f92a6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/CustomizerAttribute.php +++ /dev/null @@ -1,223 +0,0 @@ -google.ads.googleads.v15.resources.CustomizerAttribute - */ -class CustomizerAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the customizer attribute. - * Customizer Attribute resource names have the form: - * `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the customizer attribute. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Required. Immutable. Name of the customizer attribute. Required. It must - * have a minimum length of 1 and maximum length of 40. Name of an enabled - * customizer attribute must be unique (case insensitive). - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $name = ''; - /** - * Immutable. The type of the customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * Output only. The status of the customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeStatusEnum.CustomizerAttributeStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the customizer attribute. - * Customizer Attribute resource names have the form: - * `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - * @type int|string $id - * Output only. The ID of the customizer attribute. - * @type string $name - * Required. Immutable. Name of the customizer attribute. Required. It must - * have a minimum length of 1 and maximum length of 40. Name of an enabled - * customizer attribute must be unique (case insensitive). - * @type int $type - * Immutable. The type of the customizer attribute. - * @type int $status - * Output only. The status of the customizer attribute. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the customizer attribute. - * Customizer Attribute resource names have the form: - * `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the customizer attribute. - * Customizer Attribute resource names have the form: - * `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the customizer attribute. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the customizer attribute. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Required. Immutable. Name of the customizer attribute. Required. It must - * have a minimum length of 1 and maximum length of 40. Name of an enabled - * customizer attribute must be unique (case insensitive). - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. Immutable. Name of the customizer attribute. Required. It must - * have a minimum length of 1 and maximum length of 40. Name of an enabled - * customizer attribute must be unique (case insensitive). - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Immutable. The type of the customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Immutable. The type of the customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomizerAttributeTypeEnum\CustomizerAttributeType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The status of the customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeStatusEnum.CustomizerAttributeStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the customizer attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CustomizerAttributeStatusEnum.CustomizerAttributeStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CustomizerAttributeStatusEnum\CustomizerAttributeStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/DataPartnerIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/DataPartnerIdentifier.php deleted file mode 100644 index 956633639..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/DataPartnerIdentifier.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.resources.DataPartnerIdentifier - */ -class DataPartnerIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The customer ID of the Data partner account. - * This field is required and should not be empty when creating a new - * data partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $data_partner_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $data_partner_id - * Immutable. The customer ID of the Data partner account. - * This field is required and should not be empty when creating a new - * data partner link. It is unable to be modified after the creation of - * the link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The customer ID of the Data partner account. - * This field is required and should not be empty when creating a new - * data partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getDataPartnerId() - { - return isset($this->data_partner_id) ? $this->data_partner_id : 0; - } - - public function hasDataPartnerId() - { - return isset($this->data_partner_id); - } - - public function clearDataPartnerId() - { - unset($this->data_partner_id); - } - - /** - * Immutable. The customer ID of the Data partner account. - * This field is required and should not be empty when creating a new - * data partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setDataPartnerId($var) - { - GPBUtil::checkInt64($var); - $this->data_partner_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/DataPartnerLinkIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/DataPartnerLinkIdentifier.php deleted file mode 100644 index 0a70e771f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/DataPartnerLinkIdentifier.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.resources.DataPartnerLinkIdentifier - */ -class DataPartnerLinkIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The customer ID of the Data partner account. - * This field is required and should not be empty when creating a new - * data partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $data_partner_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $data_partner_id - * Immutable. The customer ID of the Data partner account. - * This field is required and should not be empty when creating a new - * data partner link. It is unable to be modified after the creation of - * the link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccountLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The customer ID of the Data partner account. - * This field is required and should not be empty when creating a new - * data partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getDataPartnerId() - { - return isset($this->data_partner_id) ? $this->data_partner_id : 0; - } - - public function hasDataPartnerId() - { - return isset($this->data_partner_id); - } - - public function clearDataPartnerId() - { - unset($this->data_partner_id); - } - - /** - * Immutable. The customer ID of the Data partner account. - * This field is required and should not be empty when creating a new - * data partner link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 data_partner_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setDataPartnerId($var) - { - GPBUtil::checkInt64($var); - $this->data_partner_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/DetailPlacementView.php b/src/Google/Ads/GoogleAds/V15/Resources/DetailPlacementView.php deleted file mode 100644 index 7253ad399..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/DetailPlacementView.php +++ /dev/null @@ -1,305 +0,0 @@ -google.ads.googleads.v15.resources.DetailPlacementView - */ -class DetailPlacementView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the detail placement view. - * Detail placement view resource names have the form: - * `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The automatic placement string at detail level, e. g. website - * URL, mobile application ID, or a YouTube video ID. - * - * Generated from protobuf field optional string placement = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $placement = null; - /** - * Output only. The display name is URL name for websites, YouTube video name - * for YouTube videos, and translated mobile app name for mobile apps. - * - * Generated from protobuf field optional string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $display_name = null; - /** - * Output only. URL of the group placement, for example, domain, link to the - * mobile application in app store, or a YouTube channel URL. - * - * Generated from protobuf field optional string group_placement_target_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $group_placement_target_url = null; - /** - * Output only. URL of the placement, for example, website, link to the mobile - * application in app store, or a YouTube video URL. - * - * Generated from protobuf field optional string target_url = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_url = null; - /** - * Output only. Type of the placement, for example, Website, YouTube Video, - * and Mobile Application. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType placement_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $placement_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the detail placement view. - * Detail placement view resource names have the form: - * `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - * @type string $placement - * Output only. The automatic placement string at detail level, e. g. website - * URL, mobile application ID, or a YouTube video ID. - * @type string $display_name - * Output only. The display name is URL name for websites, YouTube video name - * for YouTube videos, and translated mobile app name for mobile apps. - * @type string $group_placement_target_url - * Output only. URL of the group placement, for example, domain, link to the - * mobile application in app store, or a YouTube channel URL. - * @type string $target_url - * Output only. URL of the placement, for example, website, link to the mobile - * application in app store, or a YouTube video URL. - * @type int $placement_type - * Output only. Type of the placement, for example, Website, YouTube Video, - * and Mobile Application. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\DetailPlacementView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the detail placement view. - * Detail placement view resource names have the form: - * `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the detail placement view. - * Detail placement view resource names have the form: - * `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The automatic placement string at detail level, e. g. website - * URL, mobile application ID, or a YouTube video ID. - * - * Generated from protobuf field optional string placement = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPlacement() - { - return isset($this->placement) ? $this->placement : ''; - } - - public function hasPlacement() - { - return isset($this->placement); - } - - public function clearPlacement() - { - unset($this->placement); - } - - /** - * Output only. The automatic placement string at detail level, e. g. website - * URL, mobile application ID, or a YouTube video ID. - * - * Generated from protobuf field optional string placement = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPlacement($var) - { - GPBUtil::checkString($var, True); - $this->placement = $var; - - return $this; - } - - /** - * Output only. The display name is URL name for websites, YouTube video name - * for YouTube videos, and translated mobile app name for mobile apps. - * - * Generated from protobuf field optional string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDisplayName() - { - return isset($this->display_name) ? $this->display_name : ''; - } - - public function hasDisplayName() - { - return isset($this->display_name); - } - - public function clearDisplayName() - { - unset($this->display_name); - } - - /** - * Output only. The display name is URL name for websites, YouTube video name - * for YouTube videos, and translated mobile app name for mobile apps. - * - * Generated from protobuf field optional string display_name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. URL of the group placement, for example, domain, link to the - * mobile application in app store, or a YouTube channel URL. - * - * Generated from protobuf field optional string group_placement_target_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getGroupPlacementTargetUrl() - { - return isset($this->group_placement_target_url) ? $this->group_placement_target_url : ''; - } - - public function hasGroupPlacementTargetUrl() - { - return isset($this->group_placement_target_url); - } - - public function clearGroupPlacementTargetUrl() - { - unset($this->group_placement_target_url); - } - - /** - * Output only. URL of the group placement, for example, domain, link to the - * mobile application in app store, or a YouTube channel URL. - * - * Generated from protobuf field optional string group_placement_target_url = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setGroupPlacementTargetUrl($var) - { - GPBUtil::checkString($var, True); - $this->group_placement_target_url = $var; - - return $this; - } - - /** - * Output only. URL of the placement, for example, website, link to the mobile - * application in app store, or a YouTube video URL. - * - * Generated from protobuf field optional string target_url = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getTargetUrl() - { - return isset($this->target_url) ? $this->target_url : ''; - } - - public function hasTargetUrl() - { - return isset($this->target_url); - } - - public function clearTargetUrl() - { - unset($this->target_url); - } - - /** - * Output only. URL of the placement, for example, website, link to the mobile - * application in app store, or a YouTube video URL. - * - * Generated from protobuf field optional string target_url = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setTargetUrl($var) - { - GPBUtil::checkString($var, True); - $this->target_url = $var; - - return $this; - } - - /** - * Output only. Type of the placement, for example, Website, YouTube Video, - * and Mobile Application. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType placement_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPlacementType() - { - return $this->placement_type; - } - - /** - * Output only. Type of the placement, for example, Website, YouTube Video, - * and Mobile Application. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType placement_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPlacementType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PlacementTypeEnum\PlacementType::class); - $this->placement_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/DetailedDemographic.php b/src/Google/Ads/GoogleAds/V15/Resources/DetailedDemographic.php deleted file mode 100644 index a865e3235..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/DetailedDemographic.php +++ /dev/null @@ -1,254 +0,0 @@ -google.ads.googleads.v15.resources.DetailedDemographic - */ -class DetailedDemographic extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the detailed demographic. - * Detailed demographic resource names have the form: - * `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the detailed demographic. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. The name of the detailed demographic. For example,"Highest - * Level of Educational Attainment" - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. The parent of the detailed_demographic. - * - * Generated from protobuf field string parent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Output only. True if the detailed demographic is launched to all channels - * and locales. - * - * Generated from protobuf field bool launched_to_all = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $launched_to_all = false; - /** - * Output only. Availability information of the detailed demographic. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $availabilities; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the detailed demographic. - * Detailed demographic resource names have the form: - * `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` - * @type int|string $id - * Output only. The ID of the detailed demographic. - * @type string $name - * Output only. The name of the detailed demographic. For example,"Highest - * Level of Educational Attainment" - * @type string $parent - * Output only. The parent of the detailed_demographic. - * @type bool $launched_to_all - * Output only. True if the detailed demographic is launched to all channels - * and locales. - * @type array<\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability>|\Google\Protobuf\Internal\RepeatedField $availabilities - * Output only. Availability information of the detailed demographic. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\DetailedDemographic::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the detailed demographic. - * Detailed demographic resource names have the form: - * `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the detailed demographic. - * Detailed demographic resource names have the form: - * `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the detailed demographic. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the detailed demographic. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The name of the detailed demographic. For example,"Highest - * Level of Educational Attainment" - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The name of the detailed demographic. For example,"Highest - * Level of Educational Attainment" - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The parent of the detailed_demographic. - * - * Generated from protobuf field string parent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Output only. The parent of the detailed_demographic. - * - * Generated from protobuf field string parent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Output only. True if the detailed demographic is launched to all channels - * and locales. - * - * Generated from protobuf field bool launched_to_all = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getLaunchedToAll() - { - return $this->launched_to_all; - } - - /** - * Output only. True if the detailed demographic is launched to all channels - * and locales. - * - * Generated from protobuf field bool launched_to_all = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setLaunchedToAll($var) - { - GPBUtil::checkBool($var); - $this->launched_to_all = $var; - - return $this; - } - - /** - * Output only. Availability information of the detailed demographic. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAvailabilities() - { - return $this->availabilities; - } - - /** - * Output only. Availability information of the detailed demographic. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAvailabilities($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability::class); - $this->availabilities = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/DisplayKeywordView.php b/src/Google/Ads/GoogleAds/V15/Resources/DisplayKeywordView.php deleted file mode 100644 index 8d805cd86..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/DisplayKeywordView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.DisplayKeywordView - */ -class DisplayKeywordView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the display keyword view. - * Display Keyword view resource names have the form: - * `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the display keyword view. - * Display Keyword view resource names have the form: - * `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\DisplayKeywordView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the display keyword view. - * Display Keyword view resource names have the form: - * `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the display keyword view. - * Display Keyword view resource names have the form: - * `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/DistanceView.php b/src/Google/Ads/GoogleAds/V15/Resources/DistanceView.php deleted file mode 100644 index b039ba2cf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/DistanceView.php +++ /dev/null @@ -1,161 +0,0 @@ -google.ads.googleads.v15.resources.DistanceView - */ -class DistanceView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the distance view. - * Distance view resource names have the form: - * `customers/{customer_id}/distanceViews/1~{distance_bucket}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Grouping of user distance from location extensions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DistanceBucketEnum.DistanceBucket distance_bucket = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $distance_bucket = 0; - /** - * Output only. True if the DistanceBucket is using the metric system, false - * otherwise. - * - * Generated from protobuf field optional bool metric_system = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $metric_system = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the distance view. - * Distance view resource names have the form: - * `customers/{customer_id}/distanceViews/1~{distance_bucket}` - * @type int $distance_bucket - * Output only. Grouping of user distance from location extensions. - * @type bool $metric_system - * Output only. True if the DistanceBucket is using the metric system, false - * otherwise. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\DistanceView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the distance view. - * Distance view resource names have the form: - * `customers/{customer_id}/distanceViews/1~{distance_bucket}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the distance view. - * Distance view resource names have the form: - * `customers/{customer_id}/distanceViews/1~{distance_bucket}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Grouping of user distance from location extensions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DistanceBucketEnum.DistanceBucket distance_bucket = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getDistanceBucket() - { - return $this->distance_bucket; - } - - /** - * Output only. Grouping of user distance from location extensions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.DistanceBucketEnum.DistanceBucket distance_bucket = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setDistanceBucket($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\DistanceBucketEnum\DistanceBucket::class); - $this->distance_bucket = $var; - - return $this; - } - - /** - * Output only. True if the DistanceBucket is using the metric system, false - * otherwise. - * - * Generated from protobuf field optional bool metric_system = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getMetricSystem() - { - return isset($this->metric_system) ? $this->metric_system : false; - } - - public function hasMetricSystem() - { - return isset($this->metric_system); - } - - public function clearMetricSystem() - { - unset($this->metric_system); - } - - /** - * Output only. True if the DistanceBucket is using the metric system, false - * otherwise. - * - * Generated from protobuf field optional bool metric_system = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setMetricSystem($var) - { - GPBUtil::checkBool($var); - $this->metric_system = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/DomainCategory.php b/src/Google/Ads/GoogleAds/V15/Resources/DomainCategory.php deleted file mode 100644 index 84f0604e9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/DomainCategory.php +++ /dev/null @@ -1,466 +0,0 @@ -google.ads.googleads.v15.resources.DomainCategory - */ -class DomainCategory extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the domain category. - * Domain category resource names have the form: - * `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The campaign this category is recommended for. - * - * Generated from protobuf field optional string campaign = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Output only. Recommended category for the website domain, for example, if - * you have a website about electronics, the categories could be "cameras", - * "televisions", etc. - * - * Generated from protobuf field optional string category = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category = null; - /** - * Output only. The language code specifying the language of the website, for - * example, "en" for English. The language can be specified in the - * DynamicSearchAdsSetting required for dynamic search ads. This is the - * language of the pages from your website that you want Google Ads to find, - * create ads for, and match searches with. - * - * Generated from protobuf field optional string language_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $language_code = null; - /** - * Output only. The domain for the website. The domain can be specified in the - * DynamicSearchAdsSetting required for dynamic search ads. - * - * Generated from protobuf field optional string domain = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $domain = null; - /** - * Output only. Fraction of pages on your site that this category matches. - * - * Generated from protobuf field optional double coverage_fraction = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $coverage_fraction = null; - /** - * Output only. The position of this category in the set of categories. Lower - * numbers indicate a better match for the domain. null indicates not - * recommended. - * - * Generated from protobuf field optional int64 category_rank = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category_rank = null; - /** - * Output only. Indicates whether this category has sub-categories. - * - * Generated from protobuf field optional bool has_children = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $has_children = null; - /** - * Output only. The recommended cost per click for the category. - * - * Generated from protobuf field optional int64 recommended_cpc_bid_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_cpc_bid_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the domain category. - * Domain category resource names have the form: - * `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - * @type string $campaign - * Output only. The campaign this category is recommended for. - * @type string $category - * Output only. Recommended category for the website domain, for example, if - * you have a website about electronics, the categories could be "cameras", - * "televisions", etc. - * @type string $language_code - * Output only. The language code specifying the language of the website, for - * example, "en" for English. The language can be specified in the - * DynamicSearchAdsSetting required for dynamic search ads. This is the - * language of the pages from your website that you want Google Ads to find, - * create ads for, and match searches with. - * @type string $domain - * Output only. The domain for the website. The domain can be specified in the - * DynamicSearchAdsSetting required for dynamic search ads. - * @type float $coverage_fraction - * Output only. Fraction of pages on your site that this category matches. - * @type int|string $category_rank - * Output only. The position of this category in the set of categories. Lower - * numbers indicate a better match for the domain. null indicates not - * recommended. - * @type bool $has_children - * Output only. Indicates whether this category has sub-categories. - * @type int|string $recommended_cpc_bid_micros - * Output only. The recommended cost per click for the category. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\DomainCategory::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the domain category. - * Domain category resource names have the form: - * `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the domain category. - * Domain category resource names have the form: - * `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The campaign this category is recommended for. - * - * Generated from protobuf field optional string campaign = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Output only. The campaign this category is recommended for. - * - * Generated from protobuf field optional string campaign = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. Recommended category for the website domain, for example, if - * you have a website about electronics, the categories could be "cameras", - * "televisions", etc. - * - * Generated from protobuf field optional string category = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCategory() - { - return isset($this->category) ? $this->category : ''; - } - - public function hasCategory() - { - return isset($this->category); - } - - public function clearCategory() - { - unset($this->category); - } - - /** - * Output only. Recommended category for the website domain, for example, if - * you have a website about electronics, the categories could be "cameras", - * "televisions", etc. - * - * Generated from protobuf field optional string category = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkString($var, True); - $this->category = $var; - - return $this; - } - - /** - * Output only. The language code specifying the language of the website, for - * example, "en" for English. The language can be specified in the - * DynamicSearchAdsSetting required for dynamic search ads. This is the - * language of the pages from your website that you want Google Ads to find, - * create ads for, and match searches with. - * - * Generated from protobuf field optional string language_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLanguageCode() - { - return isset($this->language_code) ? $this->language_code : ''; - } - - public function hasLanguageCode() - { - return isset($this->language_code); - } - - public function clearLanguageCode() - { - unset($this->language_code); - } - - /** - * Output only. The language code specifying the language of the website, for - * example, "en" for English. The language can be specified in the - * DynamicSearchAdsSetting required for dynamic search ads. This is the - * language of the pages from your website that you want Google Ads to find, - * create ads for, and match searches with. - * - * Generated from protobuf field optional string language_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * Output only. The domain for the website. The domain can be specified in the - * DynamicSearchAdsSetting required for dynamic search ads. - * - * Generated from protobuf field optional string domain = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDomain() - { - return isset($this->domain) ? $this->domain : ''; - } - - public function hasDomain() - { - return isset($this->domain); - } - - public function clearDomain() - { - unset($this->domain); - } - - /** - * Output only. The domain for the website. The domain can be specified in the - * DynamicSearchAdsSetting required for dynamic search ads. - * - * Generated from protobuf field optional string domain = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDomain($var) - { - GPBUtil::checkString($var, True); - $this->domain = $var; - - return $this; - } - - /** - * Output only. Fraction of pages on your site that this category matches. - * - * Generated from protobuf field optional double coverage_fraction = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getCoverageFraction() - { - return isset($this->coverage_fraction) ? $this->coverage_fraction : 0.0; - } - - public function hasCoverageFraction() - { - return isset($this->coverage_fraction); - } - - public function clearCoverageFraction() - { - unset($this->coverage_fraction); - } - - /** - * Output only. Fraction of pages on your site that this category matches. - * - * Generated from protobuf field optional double coverage_fraction = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setCoverageFraction($var) - { - GPBUtil::checkDouble($var); - $this->coverage_fraction = $var; - - return $this; - } - - /** - * Output only. The position of this category in the set of categories. Lower - * numbers indicate a better match for the domain. null indicates not - * recommended. - * - * Generated from protobuf field optional int64 category_rank = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCategoryRank() - { - return isset($this->category_rank) ? $this->category_rank : 0; - } - - public function hasCategoryRank() - { - return isset($this->category_rank); - } - - public function clearCategoryRank() - { - unset($this->category_rank); - } - - /** - * Output only. The position of this category in the set of categories. Lower - * numbers indicate a better match for the domain. null indicates not - * recommended. - * - * Generated from protobuf field optional int64 category_rank = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCategoryRank($var) - { - GPBUtil::checkInt64($var); - $this->category_rank = $var; - - return $this; - } - - /** - * Output only. Indicates whether this category has sub-categories. - * - * Generated from protobuf field optional bool has_children = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getHasChildren() - { - return isset($this->has_children) ? $this->has_children : false; - } - - public function hasHasChildren() - { - return isset($this->has_children); - } - - public function clearHasChildren() - { - unset($this->has_children); - } - - /** - * Output only. Indicates whether this category has sub-categories. - * - * Generated from protobuf field optional bool has_children = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setHasChildren($var) - { - GPBUtil::checkBool($var); - $this->has_children = $var; - - return $this; - } - - /** - * Output only. The recommended cost per click for the category. - * - * Generated from protobuf field optional int64 recommended_cpc_bid_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedCpcBidMicros() - { - return isset($this->recommended_cpc_bid_micros) ? $this->recommended_cpc_bid_micros : 0; - } - - public function hasRecommendedCpcBidMicros() - { - return isset($this->recommended_cpc_bid_micros); - } - - public function clearRecommendedCpcBidMicros() - { - unset($this->recommended_cpc_bid_micros); - } - - /** - * Output only. The recommended cost per click for the category. - * - * Generated from protobuf field optional int64 recommended_cpc_bid_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_cpc_bid_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/DynamicSearchAdsSearchTermView.php b/src/Google/Ads/GoogleAds/V15/Resources/DynamicSearchAdsSearchTermView.php deleted file mode 100644 index 9b84d83f3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/DynamicSearchAdsSearchTermView.php +++ /dev/null @@ -1,411 +0,0 @@ -google.ads.googleads.v15.resources.DynamicSearchAdsSearchTermView - */ -class DynamicSearchAdsSearchTermView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the dynamic search ads search term view. - * Dynamic search ads search term view resource names have the form: - * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Search term - * This field is read-only. - * - * Generated from protobuf field optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $search_term = null; - /** - * Output only. The dynamically generated headline of the Dynamic Search Ad. - * This field is read-only. - * - * Generated from protobuf field optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $headline = null; - /** - * Output only. The dynamically selected landing page URL of the impression. - * This field is read-only. - * - * Generated from protobuf field optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $landing_page = null; - /** - * Output only. The URL of page feed item served for the impression. - * This field is read-only. - * - * Generated from protobuf field optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $page_url = null; - /** - * Output only. True if query matches a negative keyword. - * This field is read-only. - * - * Generated from protobuf field optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $has_negative_keyword = null; - /** - * Output only. True if query is added to targeted keywords. - * This field is read-only. - * - * Generated from protobuf field optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $has_matching_keyword = null; - /** - * Output only. True if query matches a negative url. - * This field is read-only. - * - * Generated from protobuf field optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $has_negative_url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the dynamic search ads search term view. - * Dynamic search ads search term view resource names have the form: - * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` - * @type string $search_term - * Output only. Search term - * This field is read-only. - * @type string $headline - * Output only. The dynamically generated headline of the Dynamic Search Ad. - * This field is read-only. - * @type string $landing_page - * Output only. The dynamically selected landing page URL of the impression. - * This field is read-only. - * @type string $page_url - * Output only. The URL of page feed item served for the impression. - * This field is read-only. - * @type bool $has_negative_keyword - * Output only. True if query matches a negative keyword. - * This field is read-only. - * @type bool $has_matching_keyword - * Output only. True if query is added to targeted keywords. - * This field is read-only. - * @type bool $has_negative_url - * Output only. True if query matches a negative url. - * This field is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\DynamicSearchAdsSearchTermView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the dynamic search ads search term view. - * Dynamic search ads search term view resource names have the form: - * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the dynamic search ads search term view. - * Dynamic search ads search term view resource names have the form: - * `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Search term - * This field is read-only. - * - * Generated from protobuf field optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSearchTerm() - { - return isset($this->search_term) ? $this->search_term : ''; - } - - public function hasSearchTerm() - { - return isset($this->search_term); - } - - public function clearSearchTerm() - { - unset($this->search_term); - } - - /** - * Output only. Search term - * This field is read-only. - * - * Generated from protobuf field optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSearchTerm($var) - { - GPBUtil::checkString($var, True); - $this->search_term = $var; - - return $this; - } - - /** - * Output only. The dynamically generated headline of the Dynamic Search Ad. - * This field is read-only. - * - * Generated from protobuf field optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getHeadline() - { - return isset($this->headline) ? $this->headline : ''; - } - - public function hasHeadline() - { - return isset($this->headline); - } - - public function clearHeadline() - { - unset($this->headline); - } - - /** - * Output only. The dynamically generated headline of the Dynamic Search Ad. - * This field is read-only. - * - * Generated from protobuf field optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setHeadline($var) - { - GPBUtil::checkString($var, True); - $this->headline = $var; - - return $this; - } - - /** - * Output only. The dynamically selected landing page URL of the impression. - * This field is read-only. - * - * Generated from protobuf field optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLandingPage() - { - return isset($this->landing_page) ? $this->landing_page : ''; - } - - public function hasLandingPage() - { - return isset($this->landing_page); - } - - public function clearLandingPage() - { - unset($this->landing_page); - } - - /** - * Output only. The dynamically selected landing page URL of the impression. - * This field is read-only. - * - * Generated from protobuf field optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLandingPage($var) - { - GPBUtil::checkString($var, True); - $this->landing_page = $var; - - return $this; - } - - /** - * Output only. The URL of page feed item served for the impression. - * This field is read-only. - * - * Generated from protobuf field optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPageUrl() - { - return isset($this->page_url) ? $this->page_url : ''; - } - - public function hasPageUrl() - { - return isset($this->page_url); - } - - public function clearPageUrl() - { - unset($this->page_url); - } - - /** - * Output only. The URL of page feed item served for the impression. - * This field is read-only. - * - * Generated from protobuf field optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPageUrl($var) - { - GPBUtil::checkString($var, True); - $this->page_url = $var; - - return $this; - } - - /** - * Output only. True if query matches a negative keyword. - * This field is read-only. - * - * Generated from protobuf field optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getHasNegativeKeyword() - { - return isset($this->has_negative_keyword) ? $this->has_negative_keyword : false; - } - - public function hasHasNegativeKeyword() - { - return isset($this->has_negative_keyword); - } - - public function clearHasNegativeKeyword() - { - unset($this->has_negative_keyword); - } - - /** - * Output only. True if query matches a negative keyword. - * This field is read-only. - * - * Generated from protobuf field optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setHasNegativeKeyword($var) - { - GPBUtil::checkBool($var); - $this->has_negative_keyword = $var; - - return $this; - } - - /** - * Output only. True if query is added to targeted keywords. - * This field is read-only. - * - * Generated from protobuf field optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getHasMatchingKeyword() - { - return isset($this->has_matching_keyword) ? $this->has_matching_keyword : false; - } - - public function hasHasMatchingKeyword() - { - return isset($this->has_matching_keyword); - } - - public function clearHasMatchingKeyword() - { - unset($this->has_matching_keyword); - } - - /** - * Output only. True if query is added to targeted keywords. - * This field is read-only. - * - * Generated from protobuf field optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setHasMatchingKeyword($var) - { - GPBUtil::checkBool($var); - $this->has_matching_keyword = $var; - - return $this; - } - - /** - * Output only. True if query matches a negative url. - * This field is read-only. - * - * Generated from protobuf field optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getHasNegativeUrl() - { - return isset($this->has_negative_url) ? $this->has_negative_url : false; - } - - public function hasHasNegativeUrl() - { - return isset($this->has_negative_url); - } - - public function clearHasNegativeUrl() - { - unset($this->has_negative_url); - } - - /** - * Output only. True if query matches a negative url. - * This field is read-only. - * - * Generated from protobuf field optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setHasNegativeUrl($var) - { - GPBUtil::checkBool($var); - $this->has_negative_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ExpandedLandingPageView.php b/src/Google/Ads/GoogleAds/V15/Resources/ExpandedLandingPageView.php deleted file mode 100644 index 255c31ca5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ExpandedLandingPageView.php +++ /dev/null @@ -1,120 +0,0 @@ -google.ads.googleads.v15.resources.ExpandedLandingPageView - */ -class ExpandedLandingPageView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the expanded landing page view. - * Expanded landing page view resource names have the form: - * `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The final URL that clicks are directed to. - * - * Generated from protobuf field optional string expanded_final_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $expanded_final_url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the expanded landing page view. - * Expanded landing page view resource names have the form: - * `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - * @type string $expanded_final_url - * Output only. The final URL that clicks are directed to. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ExpandedLandingPageView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the expanded landing page view. - * Expanded landing page view resource names have the form: - * `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the expanded landing page view. - * Expanded landing page view resource names have the form: - * `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The final URL that clicks are directed to. - * - * Generated from protobuf field optional string expanded_final_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getExpandedFinalUrl() - { - return isset($this->expanded_final_url) ? $this->expanded_final_url : ''; - } - - public function hasExpandedFinalUrl() - { - return isset($this->expanded_final_url); - } - - public function clearExpandedFinalUrl() - { - unset($this->expanded_final_url); - } - - /** - * Output only. The final URL that clicks are directed to. - * - * Generated from protobuf field optional string expanded_final_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setExpandedFinalUrl($var) - { - GPBUtil::checkString($var, True); - $this->expanded_final_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Experiment.php b/src/Google/Ads/GoogleAds/V15/Resources/Experiment.php deleted file mode 100644 index 1e2a0341b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Experiment.php +++ /dev/null @@ -1,554 +0,0 @@ -google.ads.googleads.v15.resources.Experiment - */ -class Experiment extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the experiment. - * Experiment resource names have the form: - * `customers/{customer_id}/experiments/{experiment_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the experiment. Read only. - * - * Generated from protobuf field optional int64 experiment_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $experiment_id = null; - /** - * Required. The name of the experiment. It must have a minimum length of 1 - * and maximum length of 1024. It must be unique under a customer. - * - * Generated from protobuf field string name = 10 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * The description of the experiment. It must have a minimum length of 1 and - * maximum length of 2048. - * - * Generated from protobuf field string description = 11; - */ - protected $description = ''; - /** - * For system managed experiments, the advertiser must provide a suffix during - * construction, in the setup stage before moving to initiated. The suffix - * will be appended to the in-design and experiment campaign names so that the - * name is base campaign name + suffix. - * - * Generated from protobuf field string suffix = 12; - */ - protected $suffix = ''; - /** - * Required. The product/feature that uses this experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentTypeEnum.ExperimentType type = 13 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $type = 0; - /** - * The Advertiser-chosen status of this experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentStatusEnum.ExperimentStatus status = 14; - */ - protected $status = 0; - /** - * Date when the experiment starts. By default, the experiment starts - * now or on the campaign's start date, whichever is later. If this field is - * set, then the experiment starts at the beginning of the specified date in - * the customer's time zone. - * Format: YYYY-MM-DD - * Example: 2019-03-14 - * - * Generated from protobuf field optional string start_date = 15; - */ - protected $start_date = null; - /** - * Date when the experiment ends. By default, the experiment ends on - * the campaign's end date. If this field is set, then the experiment ends at - * the end of the specified date in the customer's time zone. - * Format: YYYY-MM-DD - * Example: 2019-04-18 - * - * Generated from protobuf field optional string end_date = 16; - */ - protected $end_date = null; - /** - * The goals of this experiment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MetricGoal goals = 17; - */ - private $goals; - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion of experiment schedule or promote. The most - * recent long running operation is returned. - * - * Generated from protobuf field optional string long_running_operation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $long_running_operation = null; - /** - * Output only. The status of the experiment promotion process. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AsyncActionStatusEnum.AsyncActionStatus promote_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $promote_status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the experiment. - * Experiment resource names have the form: - * `customers/{customer_id}/experiments/{experiment_id}` - * @type int|string $experiment_id - * Output only. The ID of the experiment. Read only. - * @type string $name - * Required. The name of the experiment. It must have a minimum length of 1 - * and maximum length of 1024. It must be unique under a customer. - * @type string $description - * The description of the experiment. It must have a minimum length of 1 and - * maximum length of 2048. - * @type string $suffix - * For system managed experiments, the advertiser must provide a suffix during - * construction, in the setup stage before moving to initiated. The suffix - * will be appended to the in-design and experiment campaign names so that the - * name is base campaign name + suffix. - * @type int $type - * Required. The product/feature that uses this experiment. - * @type int $status - * The Advertiser-chosen status of this experiment. - * @type string $start_date - * Date when the experiment starts. By default, the experiment starts - * now or on the campaign's start date, whichever is later. If this field is - * set, then the experiment starts at the beginning of the specified date in - * the customer's time zone. - * Format: YYYY-MM-DD - * Example: 2019-03-14 - * @type string $end_date - * Date when the experiment ends. By default, the experiment ends on - * the campaign's end date. If this field is set, then the experiment ends at - * the end of the specified date in the customer's time zone. - * Format: YYYY-MM-DD - * Example: 2019-04-18 - * @type array<\Google\Ads\GoogleAds\V15\Common\MetricGoal>|\Google\Protobuf\Internal\RepeatedField $goals - * The goals of this experiment. - * @type string $long_running_operation - * Output only. The resource name of the long-running operation that can be - * used to poll for completion of experiment schedule or promote. The most - * recent long running operation is returned. - * @type int $promote_status - * Output only. The status of the experiment promotion process. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Experiment::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the experiment. - * Experiment resource names have the form: - * `customers/{customer_id}/experiments/{experiment_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the experiment. - * Experiment resource names have the form: - * `customers/{customer_id}/experiments/{experiment_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the experiment. Read only. - * - * Generated from protobuf field optional int64 experiment_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExperimentId() - { - return isset($this->experiment_id) ? $this->experiment_id : 0; - } - - public function hasExperimentId() - { - return isset($this->experiment_id); - } - - public function clearExperimentId() - { - unset($this->experiment_id); - } - - /** - * Output only. The ID of the experiment. Read only. - * - * Generated from protobuf field optional int64 experiment_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExperimentId($var) - { - GPBUtil::checkInt64($var); - $this->experiment_id = $var; - - return $this; - } - - /** - * Required. The name of the experiment. It must have a minimum length of 1 - * and maximum length of 1024. It must be unique under a customer. - * - * Generated from protobuf field string name = 10 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the experiment. It must have a minimum length of 1 - * and maximum length of 1024. It must be unique under a customer. - * - * Generated from protobuf field string name = 10 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The description of the experiment. It must have a minimum length of 1 and - * maximum length of 2048. - * - * Generated from protobuf field string description = 11; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description of the experiment. It must have a minimum length of 1 and - * maximum length of 2048. - * - * Generated from protobuf field string description = 11; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * For system managed experiments, the advertiser must provide a suffix during - * construction, in the setup stage before moving to initiated. The suffix - * will be appended to the in-design and experiment campaign names so that the - * name is base campaign name + suffix. - * - * Generated from protobuf field string suffix = 12; - * @return string - */ - public function getSuffix() - { - return $this->suffix; - } - - /** - * For system managed experiments, the advertiser must provide a suffix during - * construction, in the setup stage before moving to initiated. The suffix - * will be appended to the in-design and experiment campaign names so that the - * name is base campaign name + suffix. - * - * Generated from protobuf field string suffix = 12; - * @param string $var - * @return $this - */ - public function setSuffix($var) - { - GPBUtil::checkString($var, True); - $this->suffix = $var; - - return $this; - } - - /** - * Required. The product/feature that uses this experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentTypeEnum.ExperimentType type = 13 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Required. The product/feature that uses this experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentTypeEnum.ExperimentType type = 13 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExperimentTypeEnum\ExperimentType::class); - $this->type = $var; - - return $this; - } - - /** - * The Advertiser-chosen status of this experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentStatusEnum.ExperimentStatus status = 14; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The Advertiser-chosen status of this experiment. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExperimentStatusEnum.ExperimentStatus status = 14; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExperimentStatusEnum\ExperimentStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Date when the experiment starts. By default, the experiment starts - * now or on the campaign's start date, whichever is later. If this field is - * set, then the experiment starts at the beginning of the specified date in - * the customer's time zone. - * Format: YYYY-MM-DD - * Example: 2019-03-14 - * - * Generated from protobuf field optional string start_date = 15; - * @return string - */ - public function getStartDate() - { - return isset($this->start_date) ? $this->start_date : ''; - } - - public function hasStartDate() - { - return isset($this->start_date); - } - - public function clearStartDate() - { - unset($this->start_date); - } - - /** - * Date when the experiment starts. By default, the experiment starts - * now or on the campaign's start date, whichever is later. If this field is - * set, then the experiment starts at the beginning of the specified date in - * the customer's time zone. - * Format: YYYY-MM-DD - * Example: 2019-03-14 - * - * Generated from protobuf field optional string start_date = 15; - * @param string $var - * @return $this - */ - public function setStartDate($var) - { - GPBUtil::checkString($var, True); - $this->start_date = $var; - - return $this; - } - - /** - * Date when the experiment ends. By default, the experiment ends on - * the campaign's end date. If this field is set, then the experiment ends at - * the end of the specified date in the customer's time zone. - * Format: YYYY-MM-DD - * Example: 2019-04-18 - * - * Generated from protobuf field optional string end_date = 16; - * @return string - */ - public function getEndDate() - { - return isset($this->end_date) ? $this->end_date : ''; - } - - public function hasEndDate() - { - return isset($this->end_date); - } - - public function clearEndDate() - { - unset($this->end_date); - } - - /** - * Date when the experiment ends. By default, the experiment ends on - * the campaign's end date. If this field is set, then the experiment ends at - * the end of the specified date in the customer's time zone. - * Format: YYYY-MM-DD - * Example: 2019-04-18 - * - * Generated from protobuf field optional string end_date = 16; - * @param string $var - * @return $this - */ - public function setEndDate($var) - { - GPBUtil::checkString($var, True); - $this->end_date = $var; - - return $this; - } - - /** - * The goals of this experiment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MetricGoal goals = 17; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGoals() - { - return $this->goals; - } - - /** - * The goals of this experiment. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.MetricGoal goals = 17; - * @param array<\Google\Ads\GoogleAds\V15\Common\MetricGoal>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGoals($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\MetricGoal::class); - $this->goals = $arr; - - return $this; - } - - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion of experiment schedule or promote. The most - * recent long running operation is returned. - * - * Generated from protobuf field optional string long_running_operation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLongRunningOperation() - { - return isset($this->long_running_operation) ? $this->long_running_operation : ''; - } - - public function hasLongRunningOperation() - { - return isset($this->long_running_operation); - } - - public function clearLongRunningOperation() - { - unset($this->long_running_operation); - } - - /** - * Output only. The resource name of the long-running operation that can be - * used to poll for completion of experiment schedule or promote. The most - * recent long running operation is returned. - * - * Generated from protobuf field optional string long_running_operation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLongRunningOperation($var) - { - GPBUtil::checkString($var, True); - $this->long_running_operation = $var; - - return $this; - } - - /** - * Output only. The status of the experiment promotion process. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AsyncActionStatusEnum.AsyncActionStatus promote_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPromoteStatus() - { - return $this->promote_status; - } - - /** - * Output only. The status of the experiment promotion process. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AsyncActionStatusEnum.AsyncActionStatus promote_status = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPromoteStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AsyncActionStatusEnum\AsyncActionStatus::class); - $this->promote_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ExperimentArm.php b/src/Google/Ads/GoogleAds/V15/Resources/ExperimentArm.php deleted file mode 100644 index 662d8ab65..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ExperimentArm.php +++ /dev/null @@ -1,292 +0,0 @@ -google.ads.googleads.v15.resources.ExperimentArm - */ -class ExperimentArm extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the experiment arm. - * Experiment arm resource names have the form: - * `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The experiment to which the ExperimentArm belongs. - * - * Generated from protobuf field string experiment = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $experiment = ''; - /** - * Required. The name of the experiment arm. It must have a minimum length of - * 1 and maximum length of 1024. It must be unique under an experiment. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * Whether this arm is a control arm. A control arm is the arm against - * which the other arms are compared. - * - * Generated from protobuf field bool control = 4; - */ - protected $control = false; - /** - * Traffic split of the trial arm. The value should be between 1 and 100 - * and must total 100 between the two trial arms. - * - * Generated from protobuf field int64 traffic_split = 5; - */ - protected $traffic_split = 0; - /** - * List of campaigns in the trial arm. The max length is one. - * - * Generated from protobuf field repeated string campaigns = 6 [(.google.api.resource_reference) = { - */ - private $campaigns; - /** - * Output only. The in design campaigns in the treatment experiment arm. - * - * Generated from protobuf field repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $in_design_campaigns; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the experiment arm. - * Experiment arm resource names have the form: - * `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` - * @type string $experiment - * Immutable. The experiment to which the ExperimentArm belongs. - * @type string $name - * Required. The name of the experiment arm. It must have a minimum length of - * 1 and maximum length of 1024. It must be unique under an experiment. - * @type bool $control - * Whether this arm is a control arm. A control arm is the arm against - * which the other arms are compared. - * @type int|string $traffic_split - * Traffic split of the trial arm. The value should be between 1 and 100 - * and must total 100 between the two trial arms. - * @type array|\Google\Protobuf\Internal\RepeatedField $campaigns - * List of campaigns in the trial arm. The max length is one. - * @type array|\Google\Protobuf\Internal\RepeatedField $in_design_campaigns - * Output only. The in design campaigns in the treatment experiment arm. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ExperimentArm::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the experiment arm. - * Experiment arm resource names have the form: - * `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the experiment arm. - * Experiment arm resource names have the form: - * `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The experiment to which the ExperimentArm belongs. - * - * Generated from protobuf field string experiment = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getExperiment() - { - return $this->experiment; - } - - /** - * Immutable. The experiment to which the ExperimentArm belongs. - * - * Generated from protobuf field string experiment = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExperiment($var) - { - GPBUtil::checkString($var, True); - $this->experiment = $var; - - return $this; - } - - /** - * Required. The name of the experiment arm. It must have a minimum length of - * 1 and maximum length of 1024. It must be unique under an experiment. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the experiment arm. It must have a minimum length of - * 1 and maximum length of 1024. It must be unique under an experiment. - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Whether this arm is a control arm. A control arm is the arm against - * which the other arms are compared. - * - * Generated from protobuf field bool control = 4; - * @return bool - */ - public function getControl() - { - return $this->control; - } - - /** - * Whether this arm is a control arm. A control arm is the arm against - * which the other arms are compared. - * - * Generated from protobuf field bool control = 4; - * @param bool $var - * @return $this - */ - public function setControl($var) - { - GPBUtil::checkBool($var); - $this->control = $var; - - return $this; - } - - /** - * Traffic split of the trial arm. The value should be between 1 and 100 - * and must total 100 between the two trial arms. - * - * Generated from protobuf field int64 traffic_split = 5; - * @return int|string - */ - public function getTrafficSplit() - { - return $this->traffic_split; - } - - /** - * Traffic split of the trial arm. The value should be between 1 and 100 - * and must total 100 between the two trial arms. - * - * Generated from protobuf field int64 traffic_split = 5; - * @param int|string $var - * @return $this - */ - public function setTrafficSplit($var) - { - GPBUtil::checkInt64($var); - $this->traffic_split = $var; - - return $this; - } - - /** - * List of campaigns in the trial arm. The max length is one. - * - * Generated from protobuf field repeated string campaigns = 6 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCampaigns() - { - return $this->campaigns; - } - - /** - * List of campaigns in the trial arm. The max length is one. - * - * Generated from protobuf field repeated string campaigns = 6 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCampaigns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->campaigns = $arr; - - return $this; - } - - /** - * Output only. The in design campaigns in the treatment experiment arm. - * - * Generated from protobuf field repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInDesignCampaigns() - { - return $this->in_design_campaigns; - } - - /** - * Output only. The in design campaigns in the treatment experiment arm. - * - * Generated from protobuf field repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInDesignCampaigns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->in_design_campaigns = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ExtensionFeedItem.php b/src/Google/Ads/GoogleAds/V15/Resources/ExtensionFeedItem.php deleted file mode 100644 index 7d46abee9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ExtensionFeedItem.php +++ /dev/null @@ -1,957 +0,0 @@ -google.ads.googleads.v15.resources.ExtensionFeedItem - */ -class ExtensionFeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the extension feed item. - * Extension feed item resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of this feed item. Read-only. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The extension type of the extension feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $extension_type = 0; - /** - * Start time in which this feed item is effective and can begin serving. The - * time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string start_date_time = 26; - */ - protected $start_date_time = null; - /** - * End time in which this feed item is no longer effective and will stop - * serving. The time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string end_date_time = 27; - */ - protected $end_date_time = null; - /** - * List of non-overlapping schedules specifying all time intervals - * for which the feed item may serve. There can be a maximum of 6 schedules - * per day. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedules = 16; - */ - private $ad_schedules; - /** - * The targeted device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17; - */ - protected $device = 0; - /** - * The targeted geo target constant. - * - * Generated from protobuf field optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { - */ - protected $targeted_geo_target_constant = null; - /** - * The targeted keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo targeted_keyword = 22; - */ - protected $targeted_keyword = null; - /** - * Output only. Status of the feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - protected $extension; - protected $serving_resource_targeting; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the extension feed item. - * Extension feed item resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * @type int|string $id - * Output only. The ID of this feed item. Read-only. - * @type int $extension_type - * Output only. The extension type of the extension feed item. - * This field is read-only. - * @type string $start_date_time - * Start time in which this feed item is effective and can begin serving. The - * time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type string $end_date_time - * End time in which this feed item is no longer effective and will stop - * serving. The time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $ad_schedules - * List of non-overlapping schedules specifying all time intervals - * for which the feed item may serve. There can be a maximum of 6 schedules - * per day. - * @type int $device - * The targeted device. - * @type string $targeted_geo_target_constant - * The targeted geo target constant. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $targeted_keyword - * The targeted keyword. - * @type int $status - * Output only. Status of the feed item. - * This field is read-only. - * @type \Google\Ads\GoogleAds\V15\Common\SitelinkFeedItem $sitelink_feed_item - * Sitelink. - * @type \Google\Ads\GoogleAds\V15\Common\StructuredSnippetFeedItem $structured_snippet_feed_item - * Structured snippet extension. - * @type \Google\Ads\GoogleAds\V15\Common\AppFeedItem $app_feed_item - * App extension. - * @type \Google\Ads\GoogleAds\V15\Common\CallFeedItem $call_feed_item - * Call extension. - * @type \Google\Ads\GoogleAds\V15\Common\CalloutFeedItem $callout_feed_item - * Callout extension. - * @type \Google\Ads\GoogleAds\V15\Common\TextMessageFeedItem $text_message_feed_item - * Text message extension. - * @type \Google\Ads\GoogleAds\V15\Common\PriceFeedItem $price_feed_item - * Price extension. - * @type \Google\Ads\GoogleAds\V15\Common\PromotionFeedItem $promotion_feed_item - * Promotion extension. - * @type \Google\Ads\GoogleAds\V15\Common\LocationFeedItem $location_feed_item - * Output only. Location extension. Locations are synced from a Business - * Profile into a feed. This field is read-only. - * @type \Google\Ads\GoogleAds\V15\Common\AffiliateLocationFeedItem $affiliate_location_feed_item - * Output only. Affiliate location extension. Feed locations are populated - * by Google Ads based on a chain ID. This field is read-only. - * @type \Google\Ads\GoogleAds\V15\Common\HotelCalloutFeedItem $hotel_callout_feed_item - * Hotel Callout extension. - * @type \Google\Ads\GoogleAds\V15\Common\ImageFeedItem $image_feed_item - * Immutable. Advertiser provided image extension. - * @type string $targeted_campaign - * The targeted campaign. - * @type string $targeted_ad_group - * The targeted ad group. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the extension feed item. - * Extension feed item resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the extension feed item. - * Extension feed item resource names have the form: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of this feed item. Read-only. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of this feed item. Read-only. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The extension type of the extension feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getExtensionType() - { - return $this->extension_type; - } - - /** - * Output only. The extension type of the extension feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setExtensionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ExtensionTypeEnum\ExtensionType::class); - $this->extension_type = $var; - - return $this; - } - - /** - * Start time in which this feed item is effective and can begin serving. The - * time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string start_date_time = 26; - * @return string - */ - public function getStartDateTime() - { - return isset($this->start_date_time) ? $this->start_date_time : ''; - } - - public function hasStartDateTime() - { - return isset($this->start_date_time); - } - - public function clearStartDateTime() - { - unset($this->start_date_time); - } - - /** - * Start time in which this feed item is effective and can begin serving. The - * time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string start_date_time = 26; - * @param string $var - * @return $this - */ - public function setStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->start_date_time = $var; - - return $this; - } - - /** - * End time in which this feed item is no longer effective and will stop - * serving. The time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string end_date_time = 27; - * @return string - */ - public function getEndDateTime() - { - return isset($this->end_date_time) ? $this->end_date_time : ''; - } - - public function hasEndDateTime() - { - return isset($this->end_date_time); - } - - public function clearEndDateTime() - { - unset($this->end_date_time); - } - - /** - * End time in which this feed item is no longer effective and will stop - * serving. The time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string end_date_time = 27; - * @param string $var - * @return $this - */ - public function setEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->end_date_time = $var; - - return $this; - } - - /** - * List of non-overlapping schedules specifying all time intervals - * for which the feed item may serve. There can be a maximum of 6 schedules - * per day. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedules = 16; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdSchedules() - { - return $this->ad_schedules; - } - - /** - * List of non-overlapping schedules specifying all time intervals - * for which the feed item may serve. There can be a maximum of 6 schedules - * per day. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedules = 16; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdSchedules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo::class); - $this->ad_schedules = $arr; - - return $this; - } - - /** - * The targeted device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17; - * @return int - */ - public function getDevice() - { - return $this->device; - } - - /** - * The targeted device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17; - * @param int $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemTargetDeviceEnum\FeedItemTargetDevice::class); - $this->device = $var; - - return $this; - } - - /** - * The targeted geo target constant. - * - * Generated from protobuf field optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { - * @return string - */ - public function getTargetedGeoTargetConstant() - { - return isset($this->targeted_geo_target_constant) ? $this->targeted_geo_target_constant : ''; - } - - public function hasTargetedGeoTargetConstant() - { - return isset($this->targeted_geo_target_constant); - } - - public function clearTargetedGeoTargetConstant() - { - unset($this->targeted_geo_target_constant); - } - - /** - * The targeted geo target constant. - * - * Generated from protobuf field optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTargetedGeoTargetConstant($var) - { - GPBUtil::checkString($var, True); - $this->targeted_geo_target_constant = $var; - - return $this; - } - - /** - * The targeted keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo targeted_keyword = 22; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getTargetedKeyword() - { - return $this->targeted_keyword; - } - - public function hasTargetedKeyword() - { - return isset($this->targeted_keyword); - } - - public function clearTargetedKeyword() - { - unset($this->targeted_keyword); - } - - /** - * The targeted keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo targeted_keyword = 22; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setTargetedKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->targeted_keyword = $var; - - return $this; - } - - /** - * Output only. Status of the feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemStatusEnum\FeedItemStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Sitelink. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SitelinkFeedItem sitelink_feed_item = 2; - * @return \Google\Ads\GoogleAds\V15\Common\SitelinkFeedItem|null - */ - public function getSitelinkFeedItem() - { - return $this->readOneof(2); - } - - public function hasSitelinkFeedItem() - { - return $this->hasOneof(2); - } - - /** - * Sitelink. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SitelinkFeedItem sitelink_feed_item = 2; - * @param \Google\Ads\GoogleAds\V15\Common\SitelinkFeedItem $var - * @return $this - */ - public function setSitelinkFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\SitelinkFeedItem::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Structured snippet extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3; - * @return \Google\Ads\GoogleAds\V15\Common\StructuredSnippetFeedItem|null - */ - public function getStructuredSnippetFeedItem() - { - return $this->readOneof(3); - } - - public function hasStructuredSnippetFeedItem() - { - return $this->hasOneof(3); - } - - /** - * Structured snippet extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3; - * @param \Google\Ads\GoogleAds\V15\Common\StructuredSnippetFeedItem $var - * @return $this - */ - public function setStructuredSnippetFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\StructuredSnippetFeedItem::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * App extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppFeedItem app_feed_item = 7; - * @return \Google\Ads\GoogleAds\V15\Common\AppFeedItem|null - */ - public function getAppFeedItem() - { - return $this->readOneof(7); - } - - public function hasAppFeedItem() - { - return $this->hasOneof(7); - } - - /** - * App extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AppFeedItem app_feed_item = 7; - * @param \Google\Ads\GoogleAds\V15\Common\AppFeedItem $var - * @return $this - */ - public function setAppFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AppFeedItem::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Call extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CallFeedItem call_feed_item = 8; - * @return \Google\Ads\GoogleAds\V15\Common\CallFeedItem|null - */ - public function getCallFeedItem() - { - return $this->readOneof(8); - } - - public function hasCallFeedItem() - { - return $this->hasOneof(8); - } - - /** - * Call extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CallFeedItem call_feed_item = 8; - * @param \Google\Ads\GoogleAds\V15\Common\CallFeedItem $var - * @return $this - */ - public function setCallFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CallFeedItem::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Callout extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CalloutFeedItem callout_feed_item = 9; - * @return \Google\Ads\GoogleAds\V15\Common\CalloutFeedItem|null - */ - public function getCalloutFeedItem() - { - return $this->readOneof(9); - } - - public function hasCalloutFeedItem() - { - return $this->hasOneof(9); - } - - /** - * Callout extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CalloutFeedItem callout_feed_item = 9; - * @param \Google\Ads\GoogleAds\V15\Common\CalloutFeedItem $var - * @return $this - */ - public function setCalloutFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CalloutFeedItem::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Text message extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextMessageFeedItem text_message_feed_item = 10; - * @return \Google\Ads\GoogleAds\V15\Common\TextMessageFeedItem|null - */ - public function getTextMessageFeedItem() - { - return $this->readOneof(10); - } - - public function hasTextMessageFeedItem() - { - return $this->hasOneof(10); - } - - /** - * Text message extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextMessageFeedItem text_message_feed_item = 10; - * @param \Google\Ads\GoogleAds\V15\Common\TextMessageFeedItem $var - * @return $this - */ - public function setTextMessageFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TextMessageFeedItem::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Price extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PriceFeedItem price_feed_item = 11; - * @return \Google\Ads\GoogleAds\V15\Common\PriceFeedItem|null - */ - public function getPriceFeedItem() - { - return $this->readOneof(11); - } - - public function hasPriceFeedItem() - { - return $this->hasOneof(11); - } - - /** - * Price extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PriceFeedItem price_feed_item = 11; - * @param \Google\Ads\GoogleAds\V15\Common\PriceFeedItem $var - * @return $this - */ - public function setPriceFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PriceFeedItem::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Promotion extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PromotionFeedItem promotion_feed_item = 12; - * @return \Google\Ads\GoogleAds\V15\Common\PromotionFeedItem|null - */ - public function getPromotionFeedItem() - { - return $this->readOneof(12); - } - - public function hasPromotionFeedItem() - { - return $this->hasOneof(12); - } - - /** - * Promotion extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PromotionFeedItem promotion_feed_item = 12; - * @param \Google\Ads\GoogleAds\V15\Common\PromotionFeedItem $var - * @return $this - */ - public function setPromotionFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PromotionFeedItem::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * Output only. Location extension. Locations are synced from a Business - * Profile into a feed. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\LocationFeedItem|null - */ - public function getLocationFeedItem() - { - return $this->readOneof(14); - } - - public function hasLocationFeedItem() - { - return $this->hasOneof(14); - } - - /** - * Output only. Location extension. Locations are synced from a Business - * Profile into a feed. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\LocationFeedItem $var - * @return $this - */ - public function setLocationFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationFeedItem::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * Output only. Affiliate location extension. Feed locations are populated - * by Google Ads based on a chain ID. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\AffiliateLocationFeedItem|null - */ - public function getAffiliateLocationFeedItem() - { - return $this->readOneof(15); - } - - public function hasAffiliateLocationFeedItem() - { - return $this->hasOneof(15); - } - - /** - * Output only. Affiliate location extension. Feed locations are populated - * by Google Ads based on a chain ID. This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\AffiliateLocationFeedItem $var - * @return $this - */ - public function setAffiliateLocationFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AffiliateLocationFeedItem::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Hotel Callout extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCalloutFeedItem hotel_callout_feed_item = 23; - * @return \Google\Ads\GoogleAds\V15\Common\HotelCalloutFeedItem|null - */ - public function getHotelCalloutFeedItem() - { - return $this->readOneof(23); - } - - public function hasHotelCalloutFeedItem() - { - return $this->hasOneof(23); - } - - /** - * Hotel Callout extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HotelCalloutFeedItem hotel_callout_feed_item = 23; - * @param \Google\Ads\GoogleAds\V15\Common\HotelCalloutFeedItem $var - * @return $this - */ - public function setHotelCalloutFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HotelCalloutFeedItem::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * Immutable. Advertiser provided image extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\ImageFeedItem|null - */ - public function getImageFeedItem() - { - return $this->readOneof(31); - } - - public function hasImageFeedItem() - { - return $this->hasOneof(31); - } - - /** - * Immutable. Advertiser provided image extension. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\ImageFeedItem $var - * @return $this - */ - public function setImageFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ImageFeedItem::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * The targeted campaign. - * - * Generated from protobuf field string targeted_campaign = 28 [(.google.api.resource_reference) = { - * @return string - */ - public function getTargetedCampaign() - { - return $this->readOneof(28); - } - - public function hasTargetedCampaign() - { - return $this->hasOneof(28); - } - - /** - * The targeted campaign. - * - * Generated from protobuf field string targeted_campaign = 28 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTargetedCampaign($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * The targeted ad group. - * - * Generated from protobuf field string targeted_ad_group = 29 [(.google.api.resource_reference) = { - * @return string - */ - public function getTargetedAdGroup() - { - return $this->readOneof(29); - } - - public function hasTargetedAdGroup() - { - return $this->hasOneof(29); - } - - /** - * The targeted ad group. - * - * Generated from protobuf field string targeted_ad_group = 29 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTargetedAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * @return string - */ - public function getExtension() - { - return $this->whichOneof("extension"); - } - - /** - * @return string - */ - public function getServingResourceTargeting() - { - return $this->whichOneof("serving_resource_targeting"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Feed.php b/src/Google/Ads/GoogleAds/V15/Resources/Feed.php deleted file mode 100644 index 9f1022779..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Feed.php +++ /dev/null @@ -1,401 +0,0 @@ -google.ads.googleads.v15.resources.Feed - */ -class Feed extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the feed. - * Feed resource names have the form: - * `customers/{customer_id}/feeds/{feed_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the feed. - * This field is read-only. - * - * Generated from protobuf field optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Immutable. Name of the feed. Required. - * - * Generated from protobuf field optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $name = null; - /** - * The Feed's attributes. Required on CREATE, unless - * system_feed_generation_data is provided, in which case Google Ads will - * update the feed with the correct attributes. - * Disallowed on UPDATE. Use attribute_operations to add new attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedAttribute attributes = 4; - */ - private $attributes; - /** - * The list of operations changing the feed attributes. Attributes can only - * be added, not removed. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedAttributeOperation attribute_operations = 9; - */ - private $attribute_operations; - /** - * Immutable. Specifies who manages the FeedAttributes for the Feed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $origin = 0; - /** - * Output only. Status of the feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedStatusEnum.FeedStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - protected $system_feed_generation_data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the feed. - * Feed resource names have the form: - * `customers/{customer_id}/feeds/{feed_id}` - * @type int|string $id - * Output only. The ID of the feed. - * This field is read-only. - * @type string $name - * Immutable. Name of the feed. Required. - * @type array<\Google\Ads\GoogleAds\V15\Resources\FeedAttribute>|\Google\Protobuf\Internal\RepeatedField $attributes - * The Feed's attributes. Required on CREATE, unless - * system_feed_generation_data is provided, in which case Google Ads will - * update the feed with the correct attributes. - * Disallowed on UPDATE. Use attribute_operations to add new attributes. - * @type array<\Google\Ads\GoogleAds\V15\Resources\FeedAttributeOperation>|\Google\Protobuf\Internal\RepeatedField $attribute_operations - * The list of operations changing the feed attributes. Attributes can only - * be added, not removed. - * @type int $origin - * Immutable. Specifies who manages the FeedAttributes for the Feed. - * @type int $status - * Output only. Status of the feed. - * This field is read-only. - * @type \Google\Ads\GoogleAds\V15\Resources\Feed\PlacesLocationFeedData $places_location_feed_data - * Data used to configure a location feed populated from Business Profile. - * @type \Google\Ads\GoogleAds\V15\Resources\Feed\AffiliateLocationFeedData $affiliate_location_feed_data - * Data used to configure an affiliate location feed populated with - * the specified chains. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Feed::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the feed. - * Feed resource names have the form: - * `customers/{customer_id}/feeds/{feed_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the feed. - * Feed resource names have the form: - * `customers/{customer_id}/feeds/{feed_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the feed. - * This field is read-only. - * - * Generated from protobuf field optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the feed. - * This field is read-only. - * - * Generated from protobuf field optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Immutable. Name of the feed. Required. - * - * Generated from protobuf field optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Immutable. Name of the feed. Required. - * - * Generated from protobuf field optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The Feed's attributes. Required on CREATE, unless - * system_feed_generation_data is provided, in which case Google Ads will - * update the feed with the correct attributes. - * Disallowed on UPDATE. Use attribute_operations to add new attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedAttribute attributes = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * The Feed's attributes. Required on CREATE, unless - * system_feed_generation_data is provided, in which case Google Ads will - * update the feed with the correct attributes. - * Disallowed on UPDATE. Use attribute_operations to add new attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedAttribute attributes = 4; - * @param array<\Google\Ads\GoogleAds\V15\Resources\FeedAttribute>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\FeedAttribute::class); - $this->attributes = $arr; - - return $this; - } - - /** - * The list of operations changing the feed attributes. Attributes can only - * be added, not removed. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedAttributeOperation attribute_operations = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributeOperations() - { - return $this->attribute_operations; - } - - /** - * The list of operations changing the feed attributes. Attributes can only - * be added, not removed. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedAttributeOperation attribute_operations = 9; - * @param array<\Google\Ads\GoogleAds\V15\Resources\FeedAttributeOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributeOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\FeedAttributeOperation::class); - $this->attribute_operations = $arr; - - return $this; - } - - /** - * Immutable. Specifies who manages the FeedAttributes for the Feed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getOrigin() - { - return $this->origin; - } - - /** - * Immutable. Specifies who manages the FeedAttributes for the Feed. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setOrigin($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedOriginEnum\FeedOrigin::class); - $this->origin = $var; - - return $this; - } - - /** - * Output only. Status of the feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedStatusEnum.FeedStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the feed. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedStatusEnum.FeedStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedStatusEnum\FeedStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Data used to configure a location feed populated from Business Profile. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6; - * @return \Google\Ads\GoogleAds\V15\Resources\Feed\PlacesLocationFeedData|null - */ - public function getPlacesLocationFeedData() - { - return $this->readOneof(6); - } - - public function hasPlacesLocationFeedData() - { - return $this->hasOneof(6); - } - - /** - * Data used to configure a location feed populated from Business Profile. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6; - * @param \Google\Ads\GoogleAds\V15\Resources\Feed\PlacesLocationFeedData $var - * @return $this - */ - public function setPlacesLocationFeedData($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Feed\PlacesLocationFeedData::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Data used to configure an affiliate location feed populated with - * the specified chains. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7; - * @return \Google\Ads\GoogleAds\V15\Resources\Feed\AffiliateLocationFeedData|null - */ - public function getAffiliateLocationFeedData() - { - return $this->readOneof(7); - } - - public function hasAffiliateLocationFeedData() - { - return $this->hasOneof(7); - } - - /** - * Data used to configure an affiliate location feed populated with - * the specified chains. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7; - * @param \Google\Ads\GoogleAds\V15\Resources\Feed\AffiliateLocationFeedData $var - * @return $this - */ - public function setAffiliateLocationFeedData($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Feed\AffiliateLocationFeedData::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * @return string - */ - public function getSystemFeedGenerationData() - { - return $this->whichOneof("system_feed_generation_data"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Feed/AffiliateLocationFeedData.php b/src/Google/Ads/GoogleAds/V15/Resources/Feed/AffiliateLocationFeedData.php deleted file mode 100644 index ef36a88ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Feed/AffiliateLocationFeedData.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.resources.Feed.AffiliateLocationFeedData - */ -class AffiliateLocationFeedData extends \Google\Protobuf\Internal\Message -{ - /** - * The list of chains that the affiliate location feed will sync the - * locations from. - * - * Generated from protobuf field repeated int64 chain_ids = 3; - */ - private $chain_ids; - /** - * The relationship the chains have with the advertiser. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2; - */ - protected $relationship_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|array|\Google\Protobuf\Internal\RepeatedField $chain_ids - * The list of chains that the affiliate location feed will sync the - * locations from. - * @type int $relationship_type - * The relationship the chains have with the advertiser. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Feed::initOnce(); - parent::__construct($data); - } - - /** - * The list of chains that the affiliate location feed will sync the - * locations from. - * - * Generated from protobuf field repeated int64 chain_ids = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getChainIds() - { - return $this->chain_ids; - } - - /** - * The list of chains that the affiliate location feed will sync the - * locations from. - * - * Generated from protobuf field repeated int64 chain_ids = 3; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setChainIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->chain_ids = $arr; - - return $this; - } - - /** - * The relationship the chains have with the advertiser. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2; - * @return int - */ - public function getRelationshipType() - { - return $this->relationship_type; - } - - /** - * The relationship the chains have with the advertiser. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2; - * @param int $var - * @return $this - */ - public function setRelationshipType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AffiliateLocationFeedRelationshipTypeEnum\AffiliateLocationFeedRelationshipType::class); - $this->relationship_type = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AffiliateLocationFeedData::class, \Google\Ads\GoogleAds\V15\Resources\Feed_AffiliateLocationFeedData::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Feed/PlacesLocationFeedData.php b/src/Google/Ads/GoogleAds/V15/Resources/Feed/PlacesLocationFeedData.php deleted file mode 100644 index 13b224d0f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Feed/PlacesLocationFeedData.php +++ /dev/null @@ -1,326 +0,0 @@ -google.ads.googleads.v15.resources.Feed.PlacesLocationFeedData - */ -class PlacesLocationFeedData extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Required authentication token (from OAuth API) for the email. - * This field can only be specified in a create request. All its subfields - * are not selectable. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $oauth_info = null; - /** - * Email address of a Business Profile or email address of a - * manager of the Business Profile. Required. - * - * Generated from protobuf field optional string email_address = 7; - */ - protected $email_address = null; - /** - * Plus page ID of the managed business whose locations should be used. If - * this field is not set, then all businesses accessible by the user - * (specified by email_address) are used. - * This field is mutate-only and is not selectable. - * - * Generated from protobuf field string business_account_id = 8; - */ - protected $business_account_id = ''; - /** - * Used to filter Business Profile listings by business name. If - * business_name_filter is set, only listings with a matching business name - * are candidates to be sync'd into FeedItems. - * - * Generated from protobuf field optional string business_name_filter = 9; - */ - protected $business_name_filter = null; - /** - * Used to filter Business Profile listings by categories. If entries - * exist in category_filters, only listings that belong to any of the - * categories are candidates to be sync'd into FeedItems. If no entries - * exist in category_filters, then all listings are candidates for syncing. - * - * Generated from protobuf field repeated string category_filters = 11; - */ - private $category_filters; - /** - * Used to filter Business Profile listings by labels. If entries exist in - * label_filters, only listings that has any of the labels set are - * candidates to be synchronized into FeedItems. If no entries exist in - * label_filters, then all listings are candidates for syncing. - * - * Generated from protobuf field repeated string label_filters = 12; - */ - private $label_filters; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Feed\PlacesLocationFeedData\OAuthInfo $oauth_info - * Immutable. Required authentication token (from OAuth API) for the email. - * This field can only be specified in a create request. All its subfields - * are not selectable. - * @type string $email_address - * Email address of a Business Profile or email address of a - * manager of the Business Profile. Required. - * @type string $business_account_id - * Plus page ID of the managed business whose locations should be used. If - * this field is not set, then all businesses accessible by the user - * (specified by email_address) are used. - * This field is mutate-only and is not selectable. - * @type string $business_name_filter - * Used to filter Business Profile listings by business name. If - * business_name_filter is set, only listings with a matching business name - * are candidates to be sync'd into FeedItems. - * @type array|\Google\Protobuf\Internal\RepeatedField $category_filters - * Used to filter Business Profile listings by categories. If entries - * exist in category_filters, only listings that belong to any of the - * categories are candidates to be sync'd into FeedItems. If no entries - * exist in category_filters, then all listings are candidates for syncing. - * @type array|\Google\Protobuf\Internal\RepeatedField $label_filters - * Used to filter Business Profile listings by labels. If entries exist in - * label_filters, only listings that has any of the labels set are - * candidates to be synchronized into FeedItems. If no entries exist in - * label_filters, then all listings are candidates for syncing. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Feed::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Required authentication token (from OAuth API) for the email. - * This field can only be specified in a create request. All its subfields - * are not selectable. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\Feed\PlacesLocationFeedData\OAuthInfo|null - */ - public function getOauthInfo() - { - return $this->oauth_info; - } - - public function hasOauthInfo() - { - return isset($this->oauth_info); - } - - public function clearOauthInfo() - { - unset($this->oauth_info); - } - - /** - * Immutable. Required authentication token (from OAuth API) for the email. - * This field can only be specified in a create request. All its subfields - * are not selectable. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\Feed\PlacesLocationFeedData\OAuthInfo $var - * @return $this - */ - public function setOauthInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Feed\PlacesLocationFeedData\OAuthInfo::class); - $this->oauth_info = $var; - - return $this; - } - - /** - * Email address of a Business Profile or email address of a - * manager of the Business Profile. Required. - * - * Generated from protobuf field optional string email_address = 7; - * @return string - */ - public function getEmailAddress() - { - return isset($this->email_address) ? $this->email_address : ''; - } - - public function hasEmailAddress() - { - return isset($this->email_address); - } - - public function clearEmailAddress() - { - unset($this->email_address); - } - - /** - * Email address of a Business Profile or email address of a - * manager of the Business Profile. Required. - * - * Generated from protobuf field optional string email_address = 7; - * @param string $var - * @return $this - */ - public function setEmailAddress($var) - { - GPBUtil::checkString($var, True); - $this->email_address = $var; - - return $this; - } - - /** - * Plus page ID of the managed business whose locations should be used. If - * this field is not set, then all businesses accessible by the user - * (specified by email_address) are used. - * This field is mutate-only and is not selectable. - * - * Generated from protobuf field string business_account_id = 8; - * @return string - */ - public function getBusinessAccountId() - { - return $this->business_account_id; - } - - /** - * Plus page ID of the managed business whose locations should be used. If - * this field is not set, then all businesses accessible by the user - * (specified by email_address) are used. - * This field is mutate-only and is not selectable. - * - * Generated from protobuf field string business_account_id = 8; - * @param string $var - * @return $this - */ - public function setBusinessAccountId($var) - { - GPBUtil::checkString($var, True); - $this->business_account_id = $var; - - return $this; - } - - /** - * Used to filter Business Profile listings by business name. If - * business_name_filter is set, only listings with a matching business name - * are candidates to be sync'd into FeedItems. - * - * Generated from protobuf field optional string business_name_filter = 9; - * @return string - */ - public function getBusinessNameFilter() - { - return isset($this->business_name_filter) ? $this->business_name_filter : ''; - } - - public function hasBusinessNameFilter() - { - return isset($this->business_name_filter); - } - - public function clearBusinessNameFilter() - { - unset($this->business_name_filter); - } - - /** - * Used to filter Business Profile listings by business name. If - * business_name_filter is set, only listings with a matching business name - * are candidates to be sync'd into FeedItems. - * - * Generated from protobuf field optional string business_name_filter = 9; - * @param string $var - * @return $this - */ - public function setBusinessNameFilter($var) - { - GPBUtil::checkString($var, True); - $this->business_name_filter = $var; - - return $this; - } - - /** - * Used to filter Business Profile listings by categories. If entries - * exist in category_filters, only listings that belong to any of the - * categories are candidates to be sync'd into FeedItems. If no entries - * exist in category_filters, then all listings are candidates for syncing. - * - * Generated from protobuf field repeated string category_filters = 11; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCategoryFilters() - { - return $this->category_filters; - } - - /** - * Used to filter Business Profile listings by categories. If entries - * exist in category_filters, only listings that belong to any of the - * categories are candidates to be sync'd into FeedItems. If no entries - * exist in category_filters, then all listings are candidates for syncing. - * - * Generated from protobuf field repeated string category_filters = 11; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCategoryFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->category_filters = $arr; - - return $this; - } - - /** - * Used to filter Business Profile listings by labels. If entries exist in - * label_filters, only listings that has any of the labels set are - * candidates to be synchronized into FeedItems. If no entries exist in - * label_filters, then all listings are candidates for syncing. - * - * Generated from protobuf field repeated string label_filters = 12; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLabelFilters() - { - return $this->label_filters; - } - - /** - * Used to filter Business Profile listings by labels. If entries exist in - * label_filters, only listings that has any of the labels set are - * candidates to be synchronized into FeedItems. If no entries exist in - * label_filters, then all listings are candidates for syncing. - * - * Generated from protobuf field repeated string label_filters = 12; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLabelFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->label_filters = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PlacesLocationFeedData::class, \Google\Ads\GoogleAds\V15\Resources\Feed_PlacesLocationFeedData::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Feed/PlacesLocationFeedData/OAuthInfo.php b/src/Google/Ads/GoogleAds/V15/Resources/Feed/PlacesLocationFeedData/OAuthInfo.php deleted file mode 100644 index 9996d4186..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Feed/PlacesLocationFeedData/OAuthInfo.php +++ /dev/null @@ -1,168 +0,0 @@ -google.ads.googleads.v15.resources.Feed.PlacesLocationFeedData.OAuthInfo - */ -class OAuthInfo extends \Google\Protobuf\Internal\Message -{ - /** - * The HTTP method used to obtain authorization. - * - * Generated from protobuf field optional string http_method = 4; - */ - protected $http_method = null; - /** - * The HTTP request URL used to obtain authorization. - * - * Generated from protobuf field optional string http_request_url = 5; - */ - protected $http_request_url = null; - /** - * The HTTP authorization header used to obtain authorization. - * - * Generated from protobuf field optional string http_authorization_header = 6; - */ - protected $http_authorization_header = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $http_method - * The HTTP method used to obtain authorization. - * @type string $http_request_url - * The HTTP request URL used to obtain authorization. - * @type string $http_authorization_header - * The HTTP authorization header used to obtain authorization. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Feed::initOnce(); - parent::__construct($data); - } - - /** - * The HTTP method used to obtain authorization. - * - * Generated from protobuf field optional string http_method = 4; - * @return string - */ - public function getHttpMethod() - { - return isset($this->http_method) ? $this->http_method : ''; - } - - public function hasHttpMethod() - { - return isset($this->http_method); - } - - public function clearHttpMethod() - { - unset($this->http_method); - } - - /** - * The HTTP method used to obtain authorization. - * - * Generated from protobuf field optional string http_method = 4; - * @param string $var - * @return $this - */ - public function setHttpMethod($var) - { - GPBUtil::checkString($var, True); - $this->http_method = $var; - - return $this; - } - - /** - * The HTTP request URL used to obtain authorization. - * - * Generated from protobuf field optional string http_request_url = 5; - * @return string - */ - public function getHttpRequestUrl() - { - return isset($this->http_request_url) ? $this->http_request_url : ''; - } - - public function hasHttpRequestUrl() - { - return isset($this->http_request_url); - } - - public function clearHttpRequestUrl() - { - unset($this->http_request_url); - } - - /** - * The HTTP request URL used to obtain authorization. - * - * Generated from protobuf field optional string http_request_url = 5; - * @param string $var - * @return $this - */ - public function setHttpRequestUrl($var) - { - GPBUtil::checkString($var, True); - $this->http_request_url = $var; - - return $this; - } - - /** - * The HTTP authorization header used to obtain authorization. - * - * Generated from protobuf field optional string http_authorization_header = 6; - * @return string - */ - public function getHttpAuthorizationHeader() - { - return isset($this->http_authorization_header) ? $this->http_authorization_header : ''; - } - - public function hasHttpAuthorizationHeader() - { - return isset($this->http_authorization_header); - } - - public function clearHttpAuthorizationHeader() - { - unset($this->http_authorization_header); - } - - /** - * The HTTP authorization header used to obtain authorization. - * - * Generated from protobuf field optional string http_authorization_header = 6; - * @param string $var - * @return $this - */ - public function setHttpAuthorizationHeader($var) - { - GPBUtil::checkString($var, True); - $this->http_authorization_header = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OAuthInfo::class, \Google\Ads\GoogleAds\V15\Resources\Feed_PlacesLocationFeedData_OAuthInfo::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedAttribute.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedAttribute.php deleted file mode 100644 index 69be4f7df..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedAttribute.php +++ /dev/null @@ -1,214 +0,0 @@ -google.ads.googleads.v15.resources.FeedAttribute - */ -class FeedAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * ID of the attribute. - * - * Generated from protobuf field optional int64 id = 5; - */ - protected $id = null; - /** - * The name of the attribute. Required. - * - * Generated from protobuf field optional string name = 6; - */ - protected $name = null; - /** - * Data type for feed attribute. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3; - */ - protected $type = 0; - /** - * Indicates that data corresponding to this attribute is part of a - * FeedItem's unique key. It defaults to false if it is unspecified. Note - * that a unique key is not required in a Feed's schema, in which case the - * FeedItems must be referenced by their feed_item_id. - * - * Generated from protobuf field optional bool is_part_of_key = 7; - */ - protected $is_part_of_key = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $id - * ID of the attribute. - * @type string $name - * The name of the attribute. Required. - * @type int $type - * Data type for feed attribute. Required. - * @type bool $is_part_of_key - * Indicates that data corresponding to this attribute is part of a - * FeedItem's unique key. It defaults to false if it is unspecified. Note - * that a unique key is not required in a Feed's schema, in which case the - * FeedItems must be referenced by their feed_item_id. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Feed::initOnce(); - parent::__construct($data); - } - - /** - * ID of the attribute. - * - * Generated from protobuf field optional int64 id = 5; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * ID of the attribute. - * - * Generated from protobuf field optional int64 id = 5; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the attribute. Required. - * - * Generated from protobuf field optional string name = 6; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the attribute. Required. - * - * Generated from protobuf field optional string name = 6; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Data type for feed attribute. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Data type for feed attribute. Required. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedAttributeTypeEnum\FeedAttributeType::class); - $this->type = $var; - - return $this; - } - - /** - * Indicates that data corresponding to this attribute is part of a - * FeedItem's unique key. It defaults to false if it is unspecified. Note - * that a unique key is not required in a Feed's schema, in which case the - * FeedItems must be referenced by their feed_item_id. - * - * Generated from protobuf field optional bool is_part_of_key = 7; - * @return bool - */ - public function getIsPartOfKey() - { - return isset($this->is_part_of_key) ? $this->is_part_of_key : false; - } - - public function hasIsPartOfKey() - { - return isset($this->is_part_of_key); - } - - public function clearIsPartOfKey() - { - unset($this->is_part_of_key); - } - - /** - * Indicates that data corresponding to this attribute is part of a - * FeedItem's unique key. It defaults to false if it is unspecified. Note - * that a unique key is not required in a Feed's schema, in which case the - * FeedItems must be referenced by their feed_item_id. - * - * Generated from protobuf field optional bool is_part_of_key = 7; - * @param bool $var - * @return $this - */ - public function setIsPartOfKey($var) - { - GPBUtil::checkBool($var); - $this->is_part_of_key = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedAttributeOperation.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedAttributeOperation.php deleted file mode 100644 index 4a48a413a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedAttributeOperation.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.resources.FeedAttributeOperation - */ -class FeedAttributeOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Type of list operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedAttributeOperation.Operator operator = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $operator = 0; - /** - * Output only. The feed attribute being added to the list. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $operator - * Output only. Type of list operation to perform. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedAttribute $value - * Output only. The feed attribute being added to the list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Feed::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Type of list operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedAttributeOperation.Operator operator = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getOperator() - { - return $this->operator; - } - - /** - * Output only. Type of list operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedAttributeOperation.Operator operator = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setOperator($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Resources\FeedAttributeOperation\Operator::class); - $this->operator = $var; - - return $this; - } - - /** - * Output only. The feed attribute being added to the list. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedAttribute|null - */ - public function getValue() - { - return $this->value; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Output only. The feed attribute being added to the list. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedAttribute value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedAttribute $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedAttribute::class); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedAttributeOperation/Operator.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedAttributeOperation/Operator.php deleted file mode 100644 index 84e3c8dd4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedAttributeOperation/Operator.php +++ /dev/null @@ -1,64 +0,0 @@ -google.ads.googleads.v15.resources.FeedAttributeOperation.Operator - */ -class Operator -{ - /** - * Unspecified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Used for return value only. Represents value unknown in this version. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Add the attribute to the existing attributes. - * - * Generated from protobuf enum ADD = 2; - */ - const ADD = 2; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::ADD => 'ADD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Operator::class, \Google\Ads\GoogleAds\V15\Resources\FeedAttributeOperation_Operator::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedItem.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedItem.php deleted file mode 100644 index af7ed7831..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedItem.php +++ /dev/null @@ -1,477 +0,0 @@ -google.ads.googleads.v15.resources.FeedItem - */ -class FeedItem extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the feed item. - * Feed item resource names have the form: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The feed to which this feed item belongs. - * - * Generated from protobuf field optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed = null; - /** - * Output only. The ID of this feed item. - * - * Generated from protobuf field optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Start time in which this feed item is effective and can begin serving. The - * time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string start_date_time = 13; - */ - protected $start_date_time = null; - /** - * End time in which this feed item is no longer effective and will stop - * serving. The time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string end_date_time = 14; - */ - protected $end_date_time = null; - /** - * The feed item's attribute values. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemAttributeValue attribute_values = 6; - */ - private $attribute_values; - /** - * Geo targeting restriction specifies the type of location that can be used - * for targeting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7; - */ - protected $geo_targeting_restriction = 0; - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 8; - */ - private $url_custom_parameters; - /** - * Output only. Status of the feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemStatusEnum.FeedItemStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. List of info about a feed item's validation and approval state - * for active feed mappings. There will be an entry in the list for each type - * of feed mapping associated with the feed, for example, a feed with a - * sitelink and a call feed mapping would cause every feed item associated - * with that feed to have an entry in this list for both sitelink and call. - * This field is read-only. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $policy_infos; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the feed item. - * Feed item resource names have the form: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - * @type string $feed - * Immutable. The feed to which this feed item belongs. - * @type int|string $id - * Output only. The ID of this feed item. - * @type string $start_date_time - * Start time in which this feed item is effective and can begin serving. The - * time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type string $end_date_time - * End time in which this feed item is no longer effective and will stop - * serving. The time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type array<\Google\Ads\GoogleAds\V15\Resources\FeedItemAttributeValue>|\Google\Protobuf\Internal\RepeatedField $attribute_values - * The feed item's attribute values. - * @type int $geo_targeting_restriction - * Geo targeting restriction specifies the type of location that can be used - * for targeting. - * @type array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $url_custom_parameters - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * @type int $status - * Output only. Status of the feed item. - * This field is read-only. - * @type array<\Google\Ads\GoogleAds\V15\Resources\FeedItemPlaceholderPolicyInfo>|\Google\Protobuf\Internal\RepeatedField $policy_infos - * Output only. List of info about a feed item's validation and approval state - * for active feed mappings. There will be an entry in the list for each type - * of feed mapping associated with the feed, for example, a feed with a - * sitelink and a call feed mapping would cause every feed item associated - * with that feed to have an entry in this list for both sitelink and call. - * This field is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedItem::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the feed item. - * Feed item resource names have the form: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the feed item. - * Feed item resource names have the form: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The feed to which this feed item belongs. - * - * Generated from protobuf field optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeed() - { - return isset($this->feed) ? $this->feed : ''; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * Immutable. The feed to which this feed item belongs. - * - * Generated from protobuf field optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Output only. The ID of this feed item. - * - * Generated from protobuf field optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of this feed item. - * - * Generated from protobuf field optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Start time in which this feed item is effective and can begin serving. The - * time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string start_date_time = 13; - * @return string - */ - public function getStartDateTime() - { - return isset($this->start_date_time) ? $this->start_date_time : ''; - } - - public function hasStartDateTime() - { - return isset($this->start_date_time); - } - - public function clearStartDateTime() - { - unset($this->start_date_time); - } - - /** - * Start time in which this feed item is effective and can begin serving. The - * time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string start_date_time = 13; - * @param string $var - * @return $this - */ - public function setStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->start_date_time = $var; - - return $this; - } - - /** - * End time in which this feed item is no longer effective and will stop - * serving. The time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string end_date_time = 14; - * @return string - */ - public function getEndDateTime() - { - return isset($this->end_date_time) ? $this->end_date_time : ''; - } - - public function hasEndDateTime() - { - return isset($this->end_date_time); - } - - public function clearEndDateTime() - { - unset($this->end_date_time); - } - - /** - * End time in which this feed item is no longer effective and will stop - * serving. The time is in the customer's time zone. - * The format is "YYYY-MM-DD HH:MM:SS". - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field optional string end_date_time = 14; - * @param string $var - * @return $this - */ - public function setEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->end_date_time = $var; - - return $this; - } - - /** - * The feed item's attribute values. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemAttributeValue attribute_values = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributeValues() - { - return $this->attribute_values; - } - - /** - * The feed item's attribute values. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemAttributeValue attribute_values = 6; - * @param array<\Google\Ads\GoogleAds\V15\Resources\FeedItemAttributeValue>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributeValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\FeedItemAttributeValue::class); - $this->attribute_values = $arr; - - return $this; - } - - /** - * Geo targeting restriction specifies the type of location that can be used - * for targeting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7; - * @return int - */ - public function getGeoTargetingRestriction() - { - return $this->geo_targeting_restriction; - } - - /** - * Geo targeting restriction specifies the type of location that can be used - * for targeting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7; - * @param int $var - * @return $this - */ - public function setGeoTargetingRestriction($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\GeoTargetingRestrictionEnum\GeoTargetingRestriction::class); - $this->geo_targeting_restriction = $var; - - return $this; - } - - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrlCustomParameters() - { - return $this->url_custom_parameters; - } - - /** - * The list of mappings used to substitute custom parameter tags in a - * `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 8; - * @param array<\Google\Ads\GoogleAds\V15\Common\CustomParameter>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrlCustomParameters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CustomParameter::class); - $this->url_custom_parameters = $arr; - - return $this; - } - - /** - * Output only. Status of the feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemStatusEnum.FeedItemStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the feed item. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemStatusEnum.FeedItemStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemStatusEnum\FeedItemStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. List of info about a feed item's validation and approval state - * for active feed mappings. There will be an entry in the list for each type - * of feed mapping associated with the feed, for example, a feed with a - * sitelink and a call feed mapping would cause every feed item associated - * with that feed to have an entry in this list for both sitelink and call. - * This field is read-only. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPolicyInfos() - { - return $this->policy_infos; - } - - /** - * Output only. List of info about a feed item's validation and approval state - * for active feed mappings. There will be an entry in the list for each type - * of feed mapping associated with the feed, for example, a feed with a - * sitelink and a call feed mapping would cause every feed item associated - * with that feed to have an entry in this list for both sitelink and call. - * This field is read-only. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\FeedItemPlaceholderPolicyInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPolicyInfos($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\FeedItemPlaceholderPolicyInfo::class); - $this->policy_infos = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemAttributeValue.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedItemAttributeValue.php deleted file mode 100644 index 1b41ef04a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemAttributeValue.php +++ /dev/null @@ -1,505 +0,0 @@ -google.ads.googleads.v15.resources.FeedItemAttributeValue - */ -class FeedItemAttributeValue extends \Google\Protobuf\Internal\Message -{ - /** - * Id of the feed attribute for which the value is associated with. - * - * Generated from protobuf field optional int64 feed_attribute_id = 11; - */ - protected $feed_attribute_id = null; - /** - * Int64 value. Should be set if feed_attribute_id refers to a feed attribute - * of type INT64. - * - * Generated from protobuf field optional int64 integer_value = 12; - */ - protected $integer_value = null; - /** - * Bool value. Should be set if feed_attribute_id refers to a feed attribute - * of type BOOLEAN. - * - * Generated from protobuf field optional bool boolean_value = 13; - */ - protected $boolean_value = null; - /** - * String value. Should be set if feed_attribute_id refers to a feed attribute - * of type STRING, URL or DATE_TIME. - * For STRING the maximum length is 1500 characters. For URL the maximum - * length is 2076 characters. For DATE_TIME the string must be in the format - * "YYYYMMDD HHMMSS". - * - * Generated from protobuf field optional string string_value = 14; - */ - protected $string_value = null; - /** - * Double value. Should be set if feed_attribute_id refers to a feed attribute - * of type DOUBLE. - * - * Generated from protobuf field optional double double_value = 15; - */ - protected $double_value = null; - /** - * Price value. Should be set if feed_attribute_id refers to a feed attribute - * of type PRICE. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price_value = 6; - */ - protected $price_value = null; - /** - * Repeated int64 value. Should be set if feed_attribute_id refers to a feed - * attribute of type INT64_LIST. - * - * Generated from protobuf field repeated int64 integer_values = 16; - */ - private $integer_values; - /** - * Repeated bool value. Should be set if feed_attribute_id refers to a feed - * attribute of type BOOLEAN_LIST. - * - * Generated from protobuf field repeated bool boolean_values = 17; - */ - private $boolean_values; - /** - * Repeated string value. Should be set if feed_attribute_id refers to a feed - * attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - * For STRING_LIST and URL_LIST the total size of the list in bytes may not - * exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - * For STRING_LIST the maximum length of each string element is 1500 - * characters. For URL_LIST the maximum length is 2076 characters. For - * DATE_TIME the format of the string must be the same as start and end time - * for the feed item. - * - * Generated from protobuf field repeated string string_values = 18; - */ - private $string_values; - /** - * Repeated double value. Should be set if feed_attribute_id refers to a feed - * attribute of type DOUBLE_LIST. - * - * Generated from protobuf field repeated double double_values = 19; - */ - private $double_values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $feed_attribute_id - * Id of the feed attribute for which the value is associated with. - * @type int|string $integer_value - * Int64 value. Should be set if feed_attribute_id refers to a feed attribute - * of type INT64. - * @type bool $boolean_value - * Bool value. Should be set if feed_attribute_id refers to a feed attribute - * of type BOOLEAN. - * @type string $string_value - * String value. Should be set if feed_attribute_id refers to a feed attribute - * of type STRING, URL or DATE_TIME. - * For STRING the maximum length is 1500 characters. For URL the maximum - * length is 2076 characters. For DATE_TIME the string must be in the format - * "YYYYMMDD HHMMSS". - * @type float $double_value - * Double value. Should be set if feed_attribute_id refers to a feed attribute - * of type DOUBLE. - * @type \Google\Ads\GoogleAds\V15\Common\Money $price_value - * Price value. Should be set if feed_attribute_id refers to a feed attribute - * of type PRICE. - * @type array|array|\Google\Protobuf\Internal\RepeatedField $integer_values - * Repeated int64 value. Should be set if feed_attribute_id refers to a feed - * attribute of type INT64_LIST. - * @type array|\Google\Protobuf\Internal\RepeatedField $boolean_values - * Repeated bool value. Should be set if feed_attribute_id refers to a feed - * attribute of type BOOLEAN_LIST. - * @type array|\Google\Protobuf\Internal\RepeatedField $string_values - * Repeated string value. Should be set if feed_attribute_id refers to a feed - * attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - * For STRING_LIST and URL_LIST the total size of the list in bytes may not - * exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - * For STRING_LIST the maximum length of each string element is 1500 - * characters. For URL_LIST the maximum length is 2076 characters. For - * DATE_TIME the format of the string must be the same as start and end time - * for the feed item. - * @type array|\Google\Protobuf\Internal\RepeatedField $double_values - * Repeated double value. Should be set if feed_attribute_id refers to a feed - * attribute of type DOUBLE_LIST. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedItem::initOnce(); - parent::__construct($data); - } - - /** - * Id of the feed attribute for which the value is associated with. - * - * Generated from protobuf field optional int64 feed_attribute_id = 11; - * @return int|string - */ - public function getFeedAttributeId() - { - return isset($this->feed_attribute_id) ? $this->feed_attribute_id : 0; - } - - public function hasFeedAttributeId() - { - return isset($this->feed_attribute_id); - } - - public function clearFeedAttributeId() - { - unset($this->feed_attribute_id); - } - - /** - * Id of the feed attribute for which the value is associated with. - * - * Generated from protobuf field optional int64 feed_attribute_id = 11; - * @param int|string $var - * @return $this - */ - public function setFeedAttributeId($var) - { - GPBUtil::checkInt64($var); - $this->feed_attribute_id = $var; - - return $this; - } - - /** - * Int64 value. Should be set if feed_attribute_id refers to a feed attribute - * of type INT64. - * - * Generated from protobuf field optional int64 integer_value = 12; - * @return int|string - */ - public function getIntegerValue() - { - return isset($this->integer_value) ? $this->integer_value : 0; - } - - public function hasIntegerValue() - { - return isset($this->integer_value); - } - - public function clearIntegerValue() - { - unset($this->integer_value); - } - - /** - * Int64 value. Should be set if feed_attribute_id refers to a feed attribute - * of type INT64. - * - * Generated from protobuf field optional int64 integer_value = 12; - * @param int|string $var - * @return $this - */ - public function setIntegerValue($var) - { - GPBUtil::checkInt64($var); - $this->integer_value = $var; - - return $this; - } - - /** - * Bool value. Should be set if feed_attribute_id refers to a feed attribute - * of type BOOLEAN. - * - * Generated from protobuf field optional bool boolean_value = 13; - * @return bool - */ - public function getBooleanValue() - { - return isset($this->boolean_value) ? $this->boolean_value : false; - } - - public function hasBooleanValue() - { - return isset($this->boolean_value); - } - - public function clearBooleanValue() - { - unset($this->boolean_value); - } - - /** - * Bool value. Should be set if feed_attribute_id refers to a feed attribute - * of type BOOLEAN. - * - * Generated from protobuf field optional bool boolean_value = 13; - * @param bool $var - * @return $this - */ - public function setBooleanValue($var) - { - GPBUtil::checkBool($var); - $this->boolean_value = $var; - - return $this; - } - - /** - * String value. Should be set if feed_attribute_id refers to a feed attribute - * of type STRING, URL or DATE_TIME. - * For STRING the maximum length is 1500 characters. For URL the maximum - * length is 2076 characters. For DATE_TIME the string must be in the format - * "YYYYMMDD HHMMSS". - * - * Generated from protobuf field optional string string_value = 14; - * @return string - */ - public function getStringValue() - { - return isset($this->string_value) ? $this->string_value : ''; - } - - public function hasStringValue() - { - return isset($this->string_value); - } - - public function clearStringValue() - { - unset($this->string_value); - } - - /** - * String value. Should be set if feed_attribute_id refers to a feed attribute - * of type STRING, URL or DATE_TIME. - * For STRING the maximum length is 1500 characters. For URL the maximum - * length is 2076 characters. For DATE_TIME the string must be in the format - * "YYYYMMDD HHMMSS". - * - * Generated from protobuf field optional string string_value = 14; - * @param string $var - * @return $this - */ - public function setStringValue($var) - { - GPBUtil::checkString($var, True); - $this->string_value = $var; - - return $this; - } - - /** - * Double value. Should be set if feed_attribute_id refers to a feed attribute - * of type DOUBLE. - * - * Generated from protobuf field optional double double_value = 15; - * @return float - */ - public function getDoubleValue() - { - return isset($this->double_value) ? $this->double_value : 0.0; - } - - public function hasDoubleValue() - { - return isset($this->double_value); - } - - public function clearDoubleValue() - { - unset($this->double_value); - } - - /** - * Double value. Should be set if feed_attribute_id refers to a feed attribute - * of type DOUBLE. - * - * Generated from protobuf field optional double double_value = 15; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->double_value = $var; - - return $this; - } - - /** - * Price value. Should be set if feed_attribute_id refers to a feed attribute - * of type PRICE. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price_value = 6; - * @return \Google\Ads\GoogleAds\V15\Common\Money|null - */ - public function getPriceValue() - { - return $this->price_value; - } - - public function hasPriceValue() - { - return isset($this->price_value); - } - - public function clearPriceValue() - { - unset($this->price_value); - } - - /** - * Price value. Should be set if feed_attribute_id refers to a feed attribute - * of type PRICE. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Money price_value = 6; - * @param \Google\Ads\GoogleAds\V15\Common\Money $var - * @return $this - */ - public function setPriceValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Money::class); - $this->price_value = $var; - - return $this; - } - - /** - * Repeated int64 value. Should be set if feed_attribute_id refers to a feed - * attribute of type INT64_LIST. - * - * Generated from protobuf field repeated int64 integer_values = 16; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getIntegerValues() - { - return $this->integer_values; - } - - /** - * Repeated int64 value. Should be set if feed_attribute_id refers to a feed - * attribute of type INT64_LIST. - * - * Generated from protobuf field repeated int64 integer_values = 16; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setIntegerValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->integer_values = $arr; - - return $this; - } - - /** - * Repeated bool value. Should be set if feed_attribute_id refers to a feed - * attribute of type BOOLEAN_LIST. - * - * Generated from protobuf field repeated bool boolean_values = 17; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBooleanValues() - { - return $this->boolean_values; - } - - /** - * Repeated bool value. Should be set if feed_attribute_id refers to a feed - * attribute of type BOOLEAN_LIST. - * - * Generated from protobuf field repeated bool boolean_values = 17; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBooleanValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BOOL); - $this->boolean_values = $arr; - - return $this; - } - - /** - * Repeated string value. Should be set if feed_attribute_id refers to a feed - * attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - * For STRING_LIST and URL_LIST the total size of the list in bytes may not - * exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - * For STRING_LIST the maximum length of each string element is 1500 - * characters. For URL_LIST the maximum length is 2076 characters. For - * DATE_TIME the format of the string must be the same as start and end time - * for the feed item. - * - * Generated from protobuf field repeated string string_values = 18; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getStringValues() - { - return $this->string_values; - } - - /** - * Repeated string value. Should be set if feed_attribute_id refers to a feed - * attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - * For STRING_LIST and URL_LIST the total size of the list in bytes may not - * exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - * For STRING_LIST the maximum length of each string element is 1500 - * characters. For URL_LIST the maximum length is 2076 characters. For - * DATE_TIME the format of the string must be the same as start and end time - * for the feed item. - * - * Generated from protobuf field repeated string string_values = 18; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setStringValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->string_values = $arr; - - return $this; - } - - /** - * Repeated double value. Should be set if feed_attribute_id refers to a feed - * attribute of type DOUBLE_LIST. - * - * Generated from protobuf field repeated double double_values = 19; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDoubleValues() - { - return $this->double_values; - } - - /** - * Repeated double value. Should be set if feed_attribute_id refers to a feed - * attribute of type DOUBLE_LIST. - * - * Generated from protobuf field repeated double double_values = 19; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDoubleValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::DOUBLE); - $this->double_values = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemPlaceholderPolicyInfo.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedItemPlaceholderPolicyInfo.php deleted file mode 100644 index f6c3869f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemPlaceholderPolicyInfo.php +++ /dev/null @@ -1,358 +0,0 @@ -google.ads.googleads.v15.resources.FeedItemPlaceholderPolicyInfo - */ -class FeedItemPlaceholderPolicyInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The placeholder type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $placeholder_type_enum = 0; - /** - * Output only. The FeedMapping that contains the placeholder type. - * - * Generated from protobuf field optional string feed_mapping_resource_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_mapping_resource_name = null; - /** - * Output only. Where the placeholder type is in the review process. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $review_status = 0; - /** - * Output only. The overall approval status of the placeholder type, - * calculated based on the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approval_status = 0; - /** - * Output only. The list of policy findings for the placeholder type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $policy_topic_entries; - /** - * Output only. The validation status of the placeholder type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus validation_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $validation_status = 0; - /** - * Output only. List of placeholder type validation errors. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemValidationError validation_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $validation_errors; - /** - * Output only. Placeholder type quality evaluation approval status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus quality_approval_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $quality_approval_status = 0; - /** - * Output only. List of placeholder type quality evaluation disapproval - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $quality_disapproval_reasons; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $placeholder_type_enum - * Output only. The placeholder type. - * @type string $feed_mapping_resource_name - * Output only. The FeedMapping that contains the placeholder type. - * @type int $review_status - * Output only. Where the placeholder type is in the review process. - * @type int $approval_status - * Output only. The overall approval status of the placeholder type, - * calculated based on the status of its individual policy topic entries. - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $policy_topic_entries - * Output only. The list of policy findings for the placeholder type. - * @type int $validation_status - * Output only. The validation status of the placeholder type. - * @type array<\Google\Ads\GoogleAds\V15\Resources\FeedItemValidationError>|\Google\Protobuf\Internal\RepeatedField $validation_errors - * Output only. List of placeholder type validation errors. - * @type int $quality_approval_status - * Output only. Placeholder type quality evaluation approval status. - * @type array|\Google\Protobuf\Internal\RepeatedField $quality_disapproval_reasons - * Output only. List of placeholder type quality evaluation disapproval - * reasons. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedItem::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The placeholder type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPlaceholderTypeEnum() - { - return $this->placeholder_type_enum; - } - - /** - * Output only. The placeholder type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPlaceholderTypeEnum($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PlaceholderTypeEnum\PlaceholderType::class); - $this->placeholder_type_enum = $var; - - return $this; - } - - /** - * Output only. The FeedMapping that contains the placeholder type. - * - * Generated from protobuf field optional string feed_mapping_resource_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFeedMappingResourceName() - { - return isset($this->feed_mapping_resource_name) ? $this->feed_mapping_resource_name : ''; - } - - public function hasFeedMappingResourceName() - { - return isset($this->feed_mapping_resource_name); - } - - public function clearFeedMappingResourceName() - { - unset($this->feed_mapping_resource_name); - } - - /** - * Output only. The FeedMapping that contains the placeholder type. - * - * Generated from protobuf field optional string feed_mapping_resource_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFeedMappingResourceName($var) - { - GPBUtil::checkString($var, True); - $this->feed_mapping_resource_name = $var; - - return $this; - } - - /** - * Output only. Where the placeholder type is in the review process. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getReviewStatus() - { - return $this->review_status; - } - - /** - * Output only. Where the placeholder type is in the review process. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setReviewStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyReviewStatusEnum\PolicyReviewStatus::class); - $this->review_status = $var; - - return $this; - } - - /** - * Output only. The overall approval status of the placeholder type, - * calculated based on the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getApprovalStatus() - { - return $this->approval_status; - } - - /** - * Output only. The overall approval status of the placeholder type, - * calculated based on the status of its individual policy topic entries. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PolicyApprovalStatusEnum\PolicyApprovalStatus::class); - $this->approval_status = $var; - - return $this; - } - - /** - * Output only. The list of policy findings for the placeholder type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPolicyTopicEntries() - { - return $this->policy_topic_entries; - } - - /** - * Output only. The list of policy findings for the placeholder type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPolicyTopicEntries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyTopicEntry::class); - $this->policy_topic_entries = $arr; - - return $this; - } - - /** - * Output only. The validation status of the placeholder type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus validation_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getValidationStatus() - { - return $this->validation_status; - } - - /** - * Output only. The validation status of the placeholder type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus validation_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setValidationStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemValidationStatusEnum\FeedItemValidationStatus::class); - $this->validation_status = $var; - - return $this; - } - - /** - * Output only. List of placeholder type validation errors. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemValidationError validation_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValidationErrors() - { - return $this->validation_errors; - } - - /** - * Output only. List of placeholder type validation errors. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.FeedItemValidationError validation_errors = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\FeedItemValidationError>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValidationErrors($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\FeedItemValidationError::class); - $this->validation_errors = $arr; - - return $this; - } - - /** - * Output only. Placeholder type quality evaluation approval status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus quality_approval_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getQualityApprovalStatus() - { - return $this->quality_approval_status; - } - - /** - * Output only. Placeholder type quality evaluation approval status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus quality_approval_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setQualityApprovalStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemQualityApprovalStatusEnum\FeedItemQualityApprovalStatus::class); - $this->quality_approval_status = $var; - - return $this; - } - - /** - * Output only. List of placeholder type quality evaluation disapproval - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getQualityDisapprovalReasons() - { - return $this->quality_disapproval_reasons; - } - - /** - * Output only. List of placeholder type quality evaluation disapproval - * reasons. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setQualityDisapprovalReasons($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\FeedItemQualityDisapprovalReasonEnum\FeedItemQualityDisapprovalReason::class); - $this->quality_disapproval_reasons = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemSet.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedItemSet.php deleted file mode 100644 index 13bbb1ad5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemSet.php +++ /dev/null @@ -1,305 +0,0 @@ -google.ads.googleads.v15.resources.FeedItemSet - */ -class FeedItemSet extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the feed item set. - * Feed item set resource names have the form: - * `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The resource name of the feed containing the feed items in the - * set. Immutable. Required. - * - * Generated from protobuf field string feed = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed = ''; - /** - * Output only. ID of the set. - * - * Generated from protobuf field int64 feed_item_set_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_item_set_id = 0; - /** - * Name of the set. Must be unique within the account. - * - * Generated from protobuf field string display_name = 4; - */ - protected $display_name = ''; - /** - * Output only. Status of the feed item set. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - protected $dynamic_set_filter; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the feed item set. - * Feed item set resource names have the form: - * `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` - * @type string $feed - * Immutable. The resource name of the feed containing the feed items in the - * set. Immutable. Required. - * @type int|string $feed_item_set_id - * Output only. ID of the set. - * @type string $display_name - * Name of the set. Must be unique within the account. - * @type int $status - * Output only. Status of the feed item set. - * This field is read-only. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicLocationSetFilter $dynamic_location_set_filter - * Filter for dynamic location set. - * It is only used for sets of locations. - * @type \Google\Ads\GoogleAds\V15\Common\DynamicAffiliateLocationSetFilter $dynamic_affiliate_location_set_filter - * Filter for dynamic affiliate location set. - * This field doesn't apply generally to feed item sets. It is only used for - * sets of affiliate locations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedItemSet::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the feed item set. - * Feed item set resource names have the form: - * `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the feed item set. - * Feed item set resource names have the form: - * `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The resource name of the feed containing the feed items in the - * set. Immutable. Required. - * - * Generated from protobuf field string feed = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeed() - { - return $this->feed; - } - - /** - * Immutable. The resource name of the feed containing the feed items in the - * set. Immutable. Required. - * - * Generated from protobuf field string feed = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Output only. ID of the set. - * - * Generated from protobuf field int64 feed_item_set_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getFeedItemSetId() - { - return $this->feed_item_set_id; - } - - /** - * Output only. ID of the set. - * - * Generated from protobuf field int64 feed_item_set_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setFeedItemSetId($var) - { - GPBUtil::checkInt64($var); - $this->feed_item_set_id = $var; - - return $this; - } - - /** - * Name of the set. Must be unique within the account. - * - * Generated from protobuf field string display_name = 4; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Name of the set. Must be unique within the account. - * - * Generated from protobuf field string display_name = 4; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. Status of the feed item set. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the feed item set. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemSetStatusEnum\FeedItemSetStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Filter for dynamic location set. - * It is only used for sets of locations. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicLocationSetFilter dynamic_location_set_filter = 5; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicLocationSetFilter|null - */ - public function getDynamicLocationSetFilter() - { - return $this->readOneof(5); - } - - public function hasDynamicLocationSetFilter() - { - return $this->hasOneof(5); - } - - /** - * Filter for dynamic location set. - * It is only used for sets of locations. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicLocationSetFilter dynamic_location_set_filter = 5; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicLocationSetFilter $var - * @return $this - */ - public function setDynamicLocationSetFilter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicLocationSetFilter::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Filter for dynamic affiliate location set. - * This field doesn't apply generally to feed item sets. It is only used for - * sets of affiliate locations. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6; - * @return \Google\Ads\GoogleAds\V15\Common\DynamicAffiliateLocationSetFilter|null - */ - public function getDynamicAffiliateLocationSetFilter() - { - return $this->readOneof(6); - } - - public function hasDynamicAffiliateLocationSetFilter() - { - return $this->hasOneof(6); - } - - /** - * Filter for dynamic affiliate location set. - * This field doesn't apply generally to feed item sets. It is only used for - * sets of affiliate locations. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6; - * @param \Google\Ads\GoogleAds\V15\Common\DynamicAffiliateLocationSetFilter $var - * @return $this - */ - public function setDynamicAffiliateLocationSetFilter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DynamicAffiliateLocationSetFilter::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * @return string - */ - public function getDynamicSetFilter() - { - return $this->whichOneof("dynamic_set_filter"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemSetLink.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedItemSetLink.php deleted file mode 100644 index dfafb509e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemSetLink.php +++ /dev/null @@ -1,143 +0,0 @@ -google.ads.googleads.v15.resources.FeedItemSetLink - */ -class FeedItemSetLink extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the feed item set link. - * Feed item set link resource names have the form: - * `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The linked FeedItem. - * - * Generated from protobuf field string feed_item = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed_item = ''; - /** - * Immutable. The linked FeedItemSet. - * - * Generated from protobuf field string feed_item_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed_item_set = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the feed item set link. - * Feed item set link resource names have the form: - * `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` - * @type string $feed_item - * Immutable. The linked FeedItem. - * @type string $feed_item_set - * Immutable. The linked FeedItemSet. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the feed item set link. - * Feed item set link resource names have the form: - * `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the feed item set link. - * Feed item set link resource names have the form: - * `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The linked FeedItem. - * - * Generated from protobuf field string feed_item = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeedItem() - { - return $this->feed_item; - } - - /** - * Immutable. The linked FeedItem. - * - * Generated from protobuf field string feed_item = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeedItem($var) - { - GPBUtil::checkString($var, True); - $this->feed_item = $var; - - return $this; - } - - /** - * Immutable. The linked FeedItemSet. - * - * Generated from protobuf field string feed_item_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeedItemSet() - { - return $this->feed_item_set; - } - - /** - * Immutable. The linked FeedItemSet. - * - * Generated from protobuf field string feed_item_set = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeedItemSet($var) - { - GPBUtil::checkString($var, True); - $this->feed_item_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemTarget.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedItemTarget.php deleted file mode 100644 index 32fa56707..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemTarget.php +++ /dev/null @@ -1,446 +0,0 @@ -google.ads.googleads.v15.resources.FeedItemTarget - */ -class FeedItemTarget extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the feed item target. - * Feed item target resource names have the form: - * `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The feed item to which this feed item target belongs. - * - * Generated from protobuf field optional string feed_item = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed_item = null; - /** - * Output only. The target type of this feed item target. This field is - * read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_item_target_type = 0; - /** - * Output only. The ID of the targeted resource. This field is read-only. - * - * Generated from protobuf field optional int64 feed_item_target_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_item_target_id = null; - /** - * Output only. Status of the feed item target. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - protected $target; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the feed item target. - * Feed item target resource names have the form: - * `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - * @type string $feed_item - * Immutable. The feed item to which this feed item target belongs. - * @type int $feed_item_target_type - * Output only. The target type of this feed item target. This field is - * read-only. - * @type int|string $feed_item_target_id - * Output only. The ID of the targeted resource. This field is read-only. - * @type int $status - * Output only. Status of the feed item target. - * This field is read-only. - * @type string $campaign - * Immutable. The targeted campaign. - * @type string $ad_group - * Immutable. The targeted ad group. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $keyword - * Immutable. The targeted keyword. - * @type string $geo_target_constant - * Immutable. The targeted geo target constant resource name. - * @type int $device - * Immutable. The targeted device. - * @type \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo $ad_schedule - * Immutable. The targeted schedule. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedItemTarget::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the feed item target. - * Feed item target resource names have the form: - * `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the feed item target. - * Feed item target resource names have the form: - * `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The feed item to which this feed item target belongs. - * - * Generated from protobuf field optional string feed_item = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeedItem() - { - return isset($this->feed_item) ? $this->feed_item : ''; - } - - public function hasFeedItem() - { - return isset($this->feed_item); - } - - public function clearFeedItem() - { - unset($this->feed_item); - } - - /** - * Immutable. The feed item to which this feed item target belongs. - * - * Generated from protobuf field optional string feed_item = 12 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeedItem($var) - { - GPBUtil::checkString($var, True); - $this->feed_item = $var; - - return $this; - } - - /** - * Output only. The target type of this feed item target. This field is - * read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getFeedItemTargetType() - { - return $this->feed_item_target_type; - } - - /** - * Output only. The target type of this feed item target. This field is - * read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setFeedItemTargetType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemTargetTypeEnum\FeedItemTargetType::class); - $this->feed_item_target_type = $var; - - return $this; - } - - /** - * Output only. The ID of the targeted resource. This field is read-only. - * - * Generated from protobuf field optional int64 feed_item_target_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getFeedItemTargetId() - { - return isset($this->feed_item_target_id) ? $this->feed_item_target_id : 0; - } - - public function hasFeedItemTargetId() - { - return isset($this->feed_item_target_id); - } - - public function clearFeedItemTargetId() - { - unset($this->feed_item_target_id); - } - - /** - * Output only. The ID of the targeted resource. This field is read-only. - * - * Generated from protobuf field optional int64 feed_item_target_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setFeedItemTargetId($var) - { - GPBUtil::checkInt64($var); - $this->feed_item_target_id = $var; - - return $this; - } - - /** - * Output only. Status of the feed item target. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the feed item target. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemTargetStatusEnum\FeedItemTargetStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. The targeted campaign. - * - * Generated from protobuf field string campaign = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->readOneof(14); - } - - public function hasCampaign() - { - return $this->hasOneof(14); - } - - /** - * Immutable. The targeted campaign. - * - * Generated from protobuf field string campaign = 14 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * Immutable. The targeted ad group. - * - * Generated from protobuf field string ad_group = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return $this->readOneof(15); - } - - public function hasAdGroup() - { - return $this->hasOneof(15); - } - - /** - * Immutable. The targeted ad group. - * - * Generated from protobuf field string ad_group = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Immutable. The targeted keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getKeyword() - { - return $this->readOneof(7); - } - - public function hasKeyword() - { - return $this->hasOneof(7); - } - - /** - * Immutable. The targeted keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Immutable. The targeted geo target constant resource name. - * - * Generated from protobuf field string geo_target_constant = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getGeoTargetConstant() - { - return $this->readOneof(16); - } - - public function hasGeoTargetConstant() - { - return $this->hasOneof(16); - } - - /** - * Immutable. The targeted geo target constant resource name. - * - * Generated from protobuf field string geo_target_constant = 16 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setGeoTargetConstant($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * Immutable. The targeted device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getDevice() - { - return $this->readOneof(9); - } - - public function hasDevice() - { - return $this->hasOneof(9); - } - - /** - * Immutable. The targeted device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setDevice($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedItemTargetDeviceEnum\FeedItemTargetDevice::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Immutable. The targeted schedule. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo|null - */ - public function getAdSchedule() - { - return $this->readOneof(10); - } - - public function hasAdSchedule() - { - return $this->hasOneof(10); - } - - /** - * Immutable. The targeted schedule. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AdScheduleInfo ad_schedule = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo $var - * @return $this - */ - public function setAdSchedule($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * @return string - */ - public function getTarget() - { - return $this->whichOneof("target"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemValidationError.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedItemValidationError.php deleted file mode 100644 index 268aa3e29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedItemValidationError.php +++ /dev/null @@ -1,214 +0,0 @@ -google.ads.googleads.v15.resources.FeedItemValidationError - */ -class FeedItemValidationError extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Error code indicating what validation error was triggered. The - * description of the error can be found in the 'description' field. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $validation_error = 0; - /** - * Output only. The description of the validation error. - * - * Generated from protobuf field optional string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $description = null; - /** - * Output only. Set of feed attributes in the feed item flagged during - * validation. If empty, no specific feed attributes can be associated with - * the error (for example, error across the entire feed item). - * - * Generated from protobuf field repeated int64 feed_attribute_ids = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $feed_attribute_ids; - /** - * Output only. Any extra information related to this error which is not - * captured by validation_error and feed_attribute_id (for example, - * placeholder field IDs when feed_attribute_id is not mapped). Note that - * extra_info is not localized. - * - * Generated from protobuf field optional string extra_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $extra_info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $validation_error - * Output only. Error code indicating what validation error was triggered. The - * description of the error can be found in the 'description' field. - * @type string $description - * Output only. The description of the validation error. - * @type array|array|\Google\Protobuf\Internal\RepeatedField $feed_attribute_ids - * Output only. Set of feed attributes in the feed item flagged during - * validation. If empty, no specific feed attributes can be associated with - * the error (for example, error across the entire feed item). - * @type string $extra_info - * Output only. Any extra information related to this error which is not - * captured by validation_error and feed_attribute_id (for example, - * placeholder field IDs when feed_attribute_id is not mapped). Note that - * extra_info is not localized. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedItem::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Error code indicating what validation error was triggered. The - * description of the error can be found in the 'description' field. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getValidationError() - { - return $this->validation_error; - } - - /** - * Output only. Error code indicating what validation error was triggered. The - * description of the error can be found in the 'description' field. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setValidationError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FeedItemValidationErrorEnum\FeedItemValidationError::class); - $this->validation_error = $var; - - return $this; - } - - /** - * Output only. The description of the validation error. - * - * Generated from protobuf field optional string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDescription() - { - return isset($this->description) ? $this->description : ''; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * Output only. The description of the validation error. - * - * Generated from protobuf field optional string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Output only. Set of feed attributes in the feed item flagged during - * validation. If empty, no specific feed attributes can be associated with - * the error (for example, error across the entire feed item). - * - * Generated from protobuf field repeated int64 feed_attribute_ids = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeedAttributeIds() - { - return $this->feed_attribute_ids; - } - - /** - * Output only. Set of feed attributes in the feed item flagged during - * validation. If empty, no specific feed attributes can be associated with - * the error (for example, error across the entire feed item). - * - * Generated from protobuf field repeated int64 feed_attribute_ids = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeedAttributeIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->feed_attribute_ids = $arr; - - return $this; - } - - /** - * Output only. Any extra information related to this error which is not - * captured by validation_error and feed_attribute_id (for example, - * placeholder field IDs when feed_attribute_id is not mapped). Note that - * extra_info is not localized. - * - * Generated from protobuf field optional string extra_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getExtraInfo() - { - return isset($this->extra_info) ? $this->extra_info : ''; - } - - public function hasExtraInfo() - { - return isset($this->extra_info); - } - - public function clearExtraInfo() - { - unset($this->extra_info); - } - - /** - * Output only. Any extra information related to this error which is not - * captured by validation_error and feed_attribute_id (for example, - * placeholder field IDs when feed_attribute_id is not mapped). Note that - * extra_info is not localized. - * - * Generated from protobuf field optional string extra_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setExtraInfo($var) - { - GPBUtil::checkString($var, True); - $this->extra_info = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedMapping.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedMapping.php deleted file mode 100644 index fdb7bb48f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedMapping.php +++ /dev/null @@ -1,288 +0,0 @@ -google.ads.googleads.v15.resources.FeedMapping - */ -class FeedMapping extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the feed mapping. - * Feed mapping resource names have the form: - * `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The feed of this feed mapping. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $feed = null; - /** - * Immutable. Feed attributes to field mappings. These mappings are a - * one-to-many relationship meaning that 1 feed attribute can be used to - * populate multiple placeholder fields, but 1 placeholder field can only draw - * data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - * field can be mapped to multiple feed attributes. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AttributeFieldMapping attribute_field_mappings = 5 [(.google.api.field_behavior) = IMMUTABLE]; - */ - private $attribute_field_mappings; - /** - * Output only. Status of the feed mapping. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedMappingStatusEnum.FeedMappingStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - protected $target; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the feed mapping. - * Feed mapping resource names have the form: - * `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - * @type string $feed - * Immutable. The feed of this feed mapping. - * @type array<\Google\Ads\GoogleAds\V15\Resources\AttributeFieldMapping>|\Google\Protobuf\Internal\RepeatedField $attribute_field_mappings - * Immutable. Feed attributes to field mappings. These mappings are a - * one-to-many relationship meaning that 1 feed attribute can be used to - * populate multiple placeholder fields, but 1 placeholder field can only draw - * data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - * field can be mapped to multiple feed attributes. Required. - * @type int $status - * Output only. Status of the feed mapping. - * This field is read-only. - * @type int $placeholder_type - * Immutable. The placeholder type of this mapping (for example, if the - * mapping maps feed attributes to placeholder fields). - * @type int $criterion_type - * Immutable. The criterion type of this mapping (for example, if the - * mapping maps feed attributes to criterion fields). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedMapping::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the feed mapping. - * Feed mapping resource names have the form: - * `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the feed mapping. - * Feed mapping resource names have the form: - * `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The feed of this feed mapping. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getFeed() - { - return isset($this->feed) ? $this->feed : ''; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * Immutable. The feed of this feed mapping. - * - * Generated from protobuf field optional string feed = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkString($var, True); - $this->feed = $var; - - return $this; - } - - /** - * Immutable. Feed attributes to field mappings. These mappings are a - * one-to-many relationship meaning that 1 feed attribute can be used to - * populate multiple placeholder fields, but 1 placeholder field can only draw - * data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - * field can be mapped to multiple feed attributes. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AttributeFieldMapping attribute_field_mappings = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributeFieldMappings() - { - return $this->attribute_field_mappings; - } - - /** - * Immutable. Feed attributes to field mappings. These mappings are a - * one-to-many relationship meaning that 1 feed attribute can be used to - * populate multiple placeholder fields, but 1 placeholder field can only draw - * data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - * field can be mapped to multiple feed attributes. Required. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.AttributeFieldMapping attribute_field_mappings = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\AttributeFieldMapping>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributeFieldMappings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\AttributeFieldMapping::class); - $this->attribute_field_mappings = $arr; - - return $this; - } - - /** - * Output only. Status of the feed mapping. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedMappingStatusEnum.FeedMappingStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the feed mapping. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedMappingStatusEnum.FeedMappingStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedMappingStatusEnum\FeedMappingStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Immutable. The placeholder type of this mapping (for example, if the - * mapping maps feed attributes to placeholder fields). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getPlaceholderType() - { - return $this->readOneof(3); - } - - public function hasPlaceholderType() - { - return $this->hasOneof(3); - } - - /** - * Immutable. The placeholder type of this mapping (for example, if the - * mapping maps feed attributes to placeholder fields). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setPlaceholderType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PlaceholderTypeEnum\PlaceholderType::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Immutable. The criterion type of this mapping (for example, if the - * mapping maps feed attributes to criterion fields). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType criterion_type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getCriterionType() - { - return $this->readOneof(4); - } - - public function hasCriterionType() - { - return $this->hasOneof(4); - } - - /** - * Immutable. The criterion type of this mapping (for example, if the - * mapping maps feed attributes to criterion fields). - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType criterion_type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setCriterionType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FeedMappingCriterionTypeEnum\FeedMappingCriterionType::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getTarget() - { - return $this->whichOneof("target"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/FeedPlaceholderView.php b/src/Google/Ads/GoogleAds/V15/Resources/FeedPlaceholderView.php deleted file mode 100644 index 09e323732..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/FeedPlaceholderView.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.resources.FeedPlaceholderView - */ -class FeedPlaceholderView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the feed placeholder view. - * Feed placeholder view resource names have the form: - * `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The placeholder type of the feed placeholder view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $placeholder_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the feed placeholder view. - * Feed placeholder view resource names have the form: - * `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - * @type int $placeholder_type - * Output only. The placeholder type of the feed placeholder view. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\FeedPlaceholderView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the feed placeholder view. - * Feed placeholder view resource names have the form: - * `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the feed placeholder view. - * Feed placeholder view resource names have the form: - * `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The placeholder type of the feed placeholder view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPlaceholderType() - { - return $this->placeholder_type; - } - - /** - * Output only. The placeholder type of the feed placeholder view. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPlaceholderType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PlaceholderTypeEnum\PlaceholderType::class); - $this->placeholder_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GenderView.php b/src/Google/Ads/GoogleAds/V15/Resources/GenderView.php deleted file mode 100644 index 2670ded35..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GenderView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.GenderView - */ -class GenderView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the gender view. - * Gender view resource names have the form: - * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the gender view. - * Gender view resource names have the form: - * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\GenderView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the gender view. - * Gender view resource names have the form: - * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the gender view. - * Gender view resource names have the form: - * `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GeoTargetConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/GeoTargetConstant.php deleted file mode 100644 index 0bb2b4dad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GeoTargetConstant.php +++ /dev/null @@ -1,389 +0,0 @@ -google.ads.googleads.v15.resources.GeoTargetConstant - */ -class GeoTargetConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the geo target constant. - * Geo target constant resource names have the form: - * `geoTargetConstants/{geo_target_constant_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the geo target constant. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. Geo target constant English name. - * - * Generated from protobuf field optional string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The ISO-3166-1 alpha-2 country code that is associated with - * the target. - * - * Generated from protobuf field optional string country_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $country_code = null; - /** - * Output only. Geo target constant target type. - * - * Generated from protobuf field optional string target_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_type = null; - /** - * Output only. Geo target constant status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. The fully qualified English name, consisting of the target's - * name and that of its parent and country. - * - * Generated from protobuf field optional string canonical_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $canonical_name = null; - /** - * Output only. The resource name of the parent geo target constant. - * Geo target constant resource names have the form: - * `geoTargetConstants/{parent_geo_target_constant_id}` - * - * Generated from protobuf field optional string parent_geo_target = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $parent_geo_target = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the geo target constant. - * Geo target constant resource names have the form: - * `geoTargetConstants/{geo_target_constant_id}` - * @type int|string $id - * Output only. The ID of the geo target constant. - * @type string $name - * Output only. Geo target constant English name. - * @type string $country_code - * Output only. The ISO-3166-1 alpha-2 country code that is associated with - * the target. - * @type string $target_type - * Output only. Geo target constant target type. - * @type int $status - * Output only. Geo target constant status. - * @type string $canonical_name - * Output only. The fully qualified English name, consisting of the target's - * name and that of its parent and country. - * @type string $parent_geo_target - * Output only. The resource name of the parent geo target constant. - * Geo target constant resource names have the form: - * `geoTargetConstants/{parent_geo_target_constant_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the geo target constant. - * Geo target constant resource names have the form: - * `geoTargetConstants/{geo_target_constant_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the geo target constant. - * Geo target constant resource names have the form: - * `geoTargetConstants/{geo_target_constant_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the geo target constant. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the geo target constant. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Geo target constant English name. - * - * Generated from protobuf field optional string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. Geo target constant English name. - * - * Generated from protobuf field optional string name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The ISO-3166-1 alpha-2 country code that is associated with - * the target. - * - * Generated from protobuf field optional string country_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Output only. The ISO-3166-1 alpha-2 country code that is associated with - * the target. - * - * Generated from protobuf field optional string country_code = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * Output only. Geo target constant target type. - * - * Generated from protobuf field optional string target_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getTargetType() - { - return isset($this->target_type) ? $this->target_type : ''; - } - - public function hasTargetType() - { - return isset($this->target_type); - } - - public function clearTargetType() - { - unset($this->target_type); - } - - /** - * Output only. Geo target constant target type. - * - * Generated from protobuf field optional string target_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setTargetType($var) - { - GPBUtil::checkString($var, True); - $this->target_type = $var; - - return $this; - } - - /** - * Output only. Geo target constant status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Geo target constant status. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\GeoTargetConstantStatusEnum\GeoTargetConstantStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The fully qualified English name, consisting of the target's - * name and that of its parent and country. - * - * Generated from protobuf field optional string canonical_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCanonicalName() - { - return isset($this->canonical_name) ? $this->canonical_name : ''; - } - - public function hasCanonicalName() - { - return isset($this->canonical_name); - } - - public function clearCanonicalName() - { - unset($this->canonical_name); - } - - /** - * Output only. The fully qualified English name, consisting of the target's - * name and that of its parent and country. - * - * Generated from protobuf field optional string canonical_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCanonicalName($var) - { - GPBUtil::checkString($var, True); - $this->canonical_name = $var; - - return $this; - } - - /** - * Output only. The resource name of the parent geo target constant. - * Geo target constant resource names have the form: - * `geoTargetConstants/{parent_geo_target_constant_id}` - * - * Generated from protobuf field optional string parent_geo_target = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getParentGeoTarget() - { - return isset($this->parent_geo_target) ? $this->parent_geo_target : ''; - } - - public function hasParentGeoTarget() - { - return isset($this->parent_geo_target); - } - - public function clearParentGeoTarget() - { - unset($this->parent_geo_target); - } - - /** - * Output only. The resource name of the parent geo target constant. - * Geo target constant resource names have the form: - * `geoTargetConstants/{parent_geo_target_constant_id}` - * - * Generated from protobuf field optional string parent_geo_target = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParentGeoTarget($var) - { - GPBUtil::checkString($var, True); - $this->parent_geo_target = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GeographicView.php b/src/Google/Ads/GoogleAds/V15/Resources/GeographicView.php deleted file mode 100644 index 6a29d4b19..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GeographicView.php +++ /dev/null @@ -1,157 +0,0 @@ -google.ads.googleads.v15.resources.GeographicView - */ -class GeographicView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the geographic view. - * Geographic view resource names have the form: - * `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Type of the geo targeting of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $location_type = 0; - /** - * Output only. Criterion Id for the country. - * - * Generated from protobuf field optional int64 country_criterion_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $country_criterion_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the geographic view. - * Geographic view resource names have the form: - * `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - * @type int $location_type - * Output only. Type of the geo targeting of the campaign. - * @type int|string $country_criterion_id - * Output only. Criterion Id for the country. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\GeographicView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the geographic view. - * Geographic view resource names have the form: - * `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the geographic view. - * Geographic view resource names have the form: - * `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Type of the geo targeting of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLocationType() - { - return $this->location_type; - } - - /** - * Output only. Type of the geo targeting of the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLocationType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\GeoTargetingTypeEnum\GeoTargetingType::class); - $this->location_type = $var; - - return $this; - } - - /** - * Output only. Criterion Id for the country. - * - * Generated from protobuf field optional int64 country_criterion_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCountryCriterionId() - { - return isset($this->country_criterion_id) ? $this->country_criterion_id : 0; - } - - public function hasCountryCriterionId() - { - return isset($this->country_criterion_id); - } - - public function clearCountryCriterionId() - { - unset($this->country_criterion_id); - } - - /** - * Output only. Criterion Id for the country. - * - * Generated from protobuf field optional int64 country_criterion_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCountryCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->country_criterion_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsField.php b/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsField.php deleted file mode 100644 index 6e3052b9b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsField.php +++ /dev/null @@ -1,633 +0,0 @@ -google.ads.googleads.v15.resources.GoogleAdsField - */ -class GoogleAdsField extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the artifact. - * Artifact resource names have the form: - * `googleAdsFields/{name}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The name of the artifact. - * - * Generated from protobuf field optional string name = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The category of the artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory category = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category = 0; - /** - * Output only. Whether the artifact can be used in a SELECT clause in search - * queries. - * - * Generated from protobuf field optional bool selectable = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $selectable = null; - /** - * Output only. Whether the artifact can be used in a WHERE clause in search - * queries. - * - * Generated from protobuf field optional bool filterable = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $filterable = null; - /** - * Output only. Whether the artifact can be used in a ORDER BY clause in - * search queries. - * - * Generated from protobuf field optional bool sortable = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $sortable = null; - /** - * Output only. The names of all resources, segments, and metrics that are - * selectable with the described artifact. - * - * Generated from protobuf field repeated string selectable_with = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $selectable_with; - /** - * Output only. The names of all resources that are selectable with the - * described artifact. Fields from these resources do not segment metrics when - * included in search queries. - * This field is only set for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string attribute_resources = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $attribute_resources; - /** - * Output only. This field lists the names of all metrics that are selectable - * with the described artifact when it is used in the FROM clause. It is only - * set for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string metrics = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $metrics; - /** - * Output only. This field lists the names of all artifacts, whether a segment - * or another resource, that segment metrics when included in search queries - * and when the described artifact is used in the FROM clause. It is only set - * for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string segments = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $segments; - /** - * Output only. Values the artifact can assume if it is a field of type ENUM. - * This field is only set for artifacts of category SEGMENT or ATTRIBUTE. - * - * Generated from protobuf field repeated string enum_values = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $enum_values; - /** - * Output only. This field determines the operators that can be used with the - * artifact in WHERE clauses. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType data_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $data_type = 0; - /** - * Output only. The URL of proto describing the artifact's data type. - * - * Generated from protobuf field optional string type_url = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type_url = null; - /** - * Output only. Whether the field artifact is repeated. - * - * Generated from protobuf field optional bool is_repeated = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $is_repeated = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the artifact. - * Artifact resource names have the form: - * `googleAdsFields/{name}` - * @type string $name - * Output only. The name of the artifact. - * @type int $category - * Output only. The category of the artifact. - * @type bool $selectable - * Output only. Whether the artifact can be used in a SELECT clause in search - * queries. - * @type bool $filterable - * Output only. Whether the artifact can be used in a WHERE clause in search - * queries. - * @type bool $sortable - * Output only. Whether the artifact can be used in a ORDER BY clause in - * search queries. - * @type array|\Google\Protobuf\Internal\RepeatedField $selectable_with - * Output only. The names of all resources, segments, and metrics that are - * selectable with the described artifact. - * @type array|\Google\Protobuf\Internal\RepeatedField $attribute_resources - * Output only. The names of all resources that are selectable with the - * described artifact. Fields from these resources do not segment metrics when - * included in search queries. - * This field is only set for artifacts whose category is RESOURCE. - * @type array|\Google\Protobuf\Internal\RepeatedField $metrics - * Output only. This field lists the names of all metrics that are selectable - * with the described artifact when it is used in the FROM clause. It is only - * set for artifacts whose category is RESOURCE. - * @type array|\Google\Protobuf\Internal\RepeatedField $segments - * Output only. This field lists the names of all artifacts, whether a segment - * or another resource, that segment metrics when included in search queries - * and when the described artifact is used in the FROM clause. It is only set - * for artifacts whose category is RESOURCE. - * @type array|\Google\Protobuf\Internal\RepeatedField $enum_values - * Output only. Values the artifact can assume if it is a field of type ENUM. - * This field is only set for artifacts of category SEGMENT or ATTRIBUTE. - * @type int $data_type - * Output only. This field determines the operators that can be used with the - * artifact in WHERE clauses. - * @type string $type_url - * Output only. The URL of proto describing the artifact's data type. - * @type bool $is_repeated - * Output only. Whether the field artifact is repeated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\GoogleAdsField::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the artifact. - * Artifact resource names have the form: - * `googleAdsFields/{name}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the artifact. - * Artifact resource names have the form: - * `googleAdsFields/{name}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The name of the artifact. - * - * Generated from protobuf field optional string name = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. The name of the artifact. - * - * Generated from protobuf field optional string name = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The category of the artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory category = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getCategory() - { - return $this->category; - } - - /** - * Output only. The category of the artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory category = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\GoogleAdsFieldCategoryEnum\GoogleAdsFieldCategory::class); - $this->category = $var; - - return $this; - } - - /** - * Output only. Whether the artifact can be used in a SELECT clause in search - * queries. - * - * Generated from protobuf field optional bool selectable = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getSelectable() - { - return isset($this->selectable) ? $this->selectable : false; - } - - public function hasSelectable() - { - return isset($this->selectable); - } - - public function clearSelectable() - { - unset($this->selectable); - } - - /** - * Output only. Whether the artifact can be used in a SELECT clause in search - * queries. - * - * Generated from protobuf field optional bool selectable = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setSelectable($var) - { - GPBUtil::checkBool($var); - $this->selectable = $var; - - return $this; - } - - /** - * Output only. Whether the artifact can be used in a WHERE clause in search - * queries. - * - * Generated from protobuf field optional bool filterable = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getFilterable() - { - return isset($this->filterable) ? $this->filterable : false; - } - - public function hasFilterable() - { - return isset($this->filterable); - } - - public function clearFilterable() - { - unset($this->filterable); - } - - /** - * Output only. Whether the artifact can be used in a WHERE clause in search - * queries. - * - * Generated from protobuf field optional bool filterable = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setFilterable($var) - { - GPBUtil::checkBool($var); - $this->filterable = $var; - - return $this; - } - - /** - * Output only. Whether the artifact can be used in a ORDER BY clause in - * search queries. - * - * Generated from protobuf field optional bool sortable = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getSortable() - { - return isset($this->sortable) ? $this->sortable : false; - } - - public function hasSortable() - { - return isset($this->sortable); - } - - public function clearSortable() - { - unset($this->sortable); - } - - /** - * Output only. Whether the artifact can be used in a ORDER BY clause in - * search queries. - * - * Generated from protobuf field optional bool sortable = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setSortable($var) - { - GPBUtil::checkBool($var); - $this->sortable = $var; - - return $this; - } - - /** - * Output only. The names of all resources, segments, and metrics that are - * selectable with the described artifact. - * - * Generated from protobuf field repeated string selectable_with = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSelectableWith() - { - return $this->selectable_with; - } - - /** - * Output only. The names of all resources, segments, and metrics that are - * selectable with the described artifact. - * - * Generated from protobuf field repeated string selectable_with = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSelectableWith($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->selectable_with = $arr; - - return $this; - } - - /** - * Output only. The names of all resources that are selectable with the - * described artifact. Fields from these resources do not segment metrics when - * included in search queries. - * This field is only set for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string attribute_resources = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributeResources() - { - return $this->attribute_resources; - } - - /** - * Output only. The names of all resources that are selectable with the - * described artifact. Fields from these resources do not segment metrics when - * included in search queries. - * This field is only set for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string attribute_resources = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributeResources($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->attribute_resources = $arr; - - return $this; - } - - /** - * Output only. This field lists the names of all metrics that are selectable - * with the described artifact when it is used in the FROM clause. It is only - * set for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string metrics = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMetrics() - { - return $this->metrics; - } - - /** - * Output only. This field lists the names of all metrics that are selectable - * with the described artifact when it is used in the FROM clause. It is only - * set for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string metrics = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMetrics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->metrics = $arr; - - return $this; - } - - /** - * Output only. This field lists the names of all artifacts, whether a segment - * or another resource, that segment metrics when included in search queries - * and when the described artifact is used in the FROM clause. It is only set - * for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string segments = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSegments() - { - return $this->segments; - } - - /** - * Output only. This field lists the names of all artifacts, whether a segment - * or another resource, that segment metrics when included in search queries - * and when the described artifact is used in the FROM clause. It is only set - * for artifacts whose category is RESOURCE. - * - * Generated from protobuf field repeated string segments = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSegments($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->segments = $arr; - - return $this; - } - - /** - * Output only. Values the artifact can assume if it is a field of type ENUM. - * This field is only set for artifacts of category SEGMENT or ATTRIBUTE. - * - * Generated from protobuf field repeated string enum_values = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEnumValues() - { - return $this->enum_values; - } - - /** - * Output only. Values the artifact can assume if it is a field of type ENUM. - * This field is only set for artifacts of category SEGMENT or ATTRIBUTE. - * - * Generated from protobuf field repeated string enum_values = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEnumValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->enum_values = $arr; - - return $this; - } - - /** - * Output only. This field determines the operators that can be used with the - * artifact in WHERE clauses. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType data_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getDataType() - { - return $this->data_type; - } - - /** - * Output only. This field determines the operators that can be used with the - * artifact in WHERE clauses. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType data_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setDataType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\GoogleAdsFieldDataTypeEnum\GoogleAdsFieldDataType::class); - $this->data_type = $var; - - return $this; - } - - /** - * Output only. The URL of proto describing the artifact's data type. - * - * Generated from protobuf field optional string type_url = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getTypeUrl() - { - return isset($this->type_url) ? $this->type_url : ''; - } - - public function hasTypeUrl() - { - return isset($this->type_url); - } - - public function clearTypeUrl() - { - unset($this->type_url); - } - - /** - * Output only. The URL of proto describing the artifact's data type. - * - * Generated from protobuf field optional string type_url = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setTypeUrl($var) - { - GPBUtil::checkString($var, True); - $this->type_url = $var; - - return $this; - } - - /** - * Output only. Whether the field artifact is repeated. - * - * Generated from protobuf field optional bool is_repeated = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getIsRepeated() - { - return isset($this->is_repeated) ? $this->is_repeated : false; - } - - public function hasIsRepeated() - { - return isset($this->is_repeated); - } - - public function clearIsRepeated() - { - unset($this->is_repeated); - } - - /** - * Output only. Whether the field artifact is repeated. - * - * Generated from protobuf field optional bool is_repeated = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setIsRepeated($var) - { - GPBUtil::checkBool($var); - $this->is_repeated = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsIdentifier.php deleted file mode 100644 index f0a42fd2c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsIdentifier.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.resources.GoogleAdsIdentifier - */ -class GoogleAdsIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Google Ads account. - * This field is required and should not be empty when creating a new - * Google Ads link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $customer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer - * Immutable. The resource name of the Google Ads account. - * This field is required and should not be empty when creating a new - * Google Ads link. It is unable to be modified after the creation of - * the link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Google Ads account. - * This field is required and should not be empty when creating a new - * Google Ads link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomer() - { - return isset($this->customer) ? $this->customer : ''; - } - - public function hasCustomer() - { - return isset($this->customer); - } - - public function clearCustomer() - { - unset($this->customer); - } - - /** - * Immutable. The resource name of the Google Ads account. - * This field is required and should not be empty when creating a new - * Google Ads link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkString($var, True); - $this->customer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsLinkIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsLinkIdentifier.php deleted file mode 100644 index 0c28903d4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GoogleAdsLinkIdentifier.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.resources.GoogleAdsLinkIdentifier - */ -class GoogleAdsLinkIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Google Ads account. - * This field is required and should not be empty when creating a new - * Google Ads link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $customer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer - * Immutable. The resource name of the Google Ads account. - * This field is required and should not be empty when creating a new - * Google Ads link. It is unable to be modified after the creation of - * the link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccountLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Google Ads account. - * This field is required and should not be empty when creating a new - * Google Ads link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getCustomer() - { - return isset($this->customer) ? $this->customer : ''; - } - - public function hasCustomer() - { - return isset($this->customer); - } - - public function clearCustomer() - { - unset($this->customer); - } - - /** - * Immutable. The resource name of the Google Ads account. - * This field is required and should not be empty when creating a new - * Google Ads link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string customer = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkString($var, True); - $this->customer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GranularInsuranceStatus.php b/src/Google/Ads/GoogleAds/V15/Resources/GranularInsuranceStatus.php deleted file mode 100644 index 9b2a1c65a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GranularInsuranceStatus.php +++ /dev/null @@ -1,189 +0,0 @@ -google.ads.googleads.v15.resources.GranularInsuranceStatus - */ -class GranularInsuranceStatus extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Geotarget criterion ID associated with the status. Can be on - * country or state/province geo level, depending on requirements and - * location. See https://developers.google.com/google-ads/api/data/geotargets - * for more information. - * - * Generated from protobuf field optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $geo_criterion_id = null; - /** - * Output only. Service category associated with the status. For example, - * xcat:service_area_business_plumber. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category_id = null; - /** - * Output only. Granular insurance status, per geo + vertical. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $verification_status = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $geo_criterion_id - * Output only. Geotarget criterion ID associated with the status. Can be on - * country or state/province geo level, depending on requirements and - * location. See https://developers.google.com/google-ads/api/data/geotargets - * for more information. - * @type string $category_id - * Output only. Service category associated with the status. For example, - * xcat:service_area_business_plumber. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * @type int $verification_status - * Output only. Granular insurance status, per geo + vertical. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Customer::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Geotarget criterion ID associated with the status. Can be on - * country or state/province geo level, depending on requirements and - * location. See https://developers.google.com/google-ads/api/data/geotargets - * for more information. - * - * Generated from protobuf field optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getGeoCriterionId() - { - return isset($this->geo_criterion_id) ? $this->geo_criterion_id : 0; - } - - public function hasGeoCriterionId() - { - return isset($this->geo_criterion_id); - } - - public function clearGeoCriterionId() - { - unset($this->geo_criterion_id); - } - - /** - * Output only. Geotarget criterion ID associated with the status. Can be on - * country or state/province geo level, depending on requirements and - * location. See https://developers.google.com/google-ads/api/data/geotargets - * for more information. - * - * Generated from protobuf field optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setGeoCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->geo_criterion_id = $var; - - return $this; - } - - /** - * Output only. Service category associated with the status. For example, - * xcat:service_area_business_plumber. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCategoryId() - { - return isset($this->category_id) ? $this->category_id : ''; - } - - public function hasCategoryId() - { - return isset($this->category_id); - } - - public function clearCategoryId() - { - unset($this->category_id); - } - - /** - * Output only. Service category associated with the status. For example, - * xcat:service_area_business_plumber. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCategoryId($var) - { - GPBUtil::checkString($var, True); - $this->category_id = $var; - - return $this; - } - - /** - * Output only. Granular insurance status, per geo + vertical. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getVerificationStatus() - { - return isset($this->verification_status) ? $this->verification_status : 0; - } - - public function hasVerificationStatus() - { - return isset($this->verification_status); - } - - public function clearVerificationStatus() - { - unset($this->verification_status); - } - - /** - * Output only. Granular insurance status, per geo + vertical. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setVerificationStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationStatusEnum\LocalServicesVerificationStatus::class); - $this->verification_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GranularLicenseStatus.php b/src/Google/Ads/GoogleAds/V15/Resources/GranularLicenseStatus.php deleted file mode 100644 index 62f883a56..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GranularLicenseStatus.php +++ /dev/null @@ -1,189 +0,0 @@ -google.ads.googleads.v15.resources.GranularLicenseStatus - */ -class GranularLicenseStatus extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Geotarget criterion ID associated with the status. Can be on - * country or state/province geo level, depending on requirements and - * location. See https://developers.google.com/google-ads/api/data/geotargets - * for more information. - * - * Generated from protobuf field optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $geo_criterion_id = null; - /** - * Output only. Service category associated with the status. For example, - * xcat:service_area_business_plumber. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category_id = null; - /** - * Output only. Granular license status, per geo + vertical. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $verification_status = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $geo_criterion_id - * Output only. Geotarget criterion ID associated with the status. Can be on - * country or state/province geo level, depending on requirements and - * location. See https://developers.google.com/google-ads/api/data/geotargets - * for more information. - * @type string $category_id - * Output only. Service category associated with the status. For example, - * xcat:service_area_business_plumber. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * @type int $verification_status - * Output only. Granular license status, per geo + vertical. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Customer::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Geotarget criterion ID associated with the status. Can be on - * country or state/province geo level, depending on requirements and - * location. See https://developers.google.com/google-ads/api/data/geotargets - * for more information. - * - * Generated from protobuf field optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getGeoCriterionId() - { - return isset($this->geo_criterion_id) ? $this->geo_criterion_id : 0; - } - - public function hasGeoCriterionId() - { - return isset($this->geo_criterion_id); - } - - public function clearGeoCriterionId() - { - unset($this->geo_criterion_id); - } - - /** - * Output only. Geotarget criterion ID associated with the status. Can be on - * country or state/province geo level, depending on requirements and - * location. See https://developers.google.com/google-ads/api/data/geotargets - * for more information. - * - * Generated from protobuf field optional int64 geo_criterion_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setGeoCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->geo_criterion_id = $var; - - return $this; - } - - /** - * Output only. Service category associated with the status. For example, - * xcat:service_area_business_plumber. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCategoryId() - { - return isset($this->category_id) ? $this->category_id : ''; - } - - public function hasCategoryId() - { - return isset($this->category_id); - } - - public function clearCategoryId() - { - unset($this->category_id); - } - - /** - * Output only. Service category associated with the status. For example, - * xcat:service_area_business_plumber. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field optional string category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCategoryId($var) - { - GPBUtil::checkString($var, True); - $this->category_id = $var; - - return $this; - } - - /** - * Output only. Granular license status, per geo + vertical. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getVerificationStatus() - { - return isset($this->verification_status) ? $this->verification_status : 0; - } - - public function hasVerificationStatus() - { - return isset($this->verification_status); - } - - public function clearVerificationStatus() - { - unset($this->verification_status); - } - - /** - * Output only. Granular license status, per geo + vertical. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesVerificationStatusEnum.LocalServicesVerificationStatus verification_status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setVerificationStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationStatusEnum\LocalServicesVerificationStatus::class); - $this->verification_status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/GroupPlacementView.php b/src/Google/Ads/GoogleAds/V15/Resources/GroupPlacementView.php deleted file mode 100644 index 603907e20..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/GroupPlacementView.php +++ /dev/null @@ -1,257 +0,0 @@ -google.ads.googleads.v15.resources.GroupPlacementView - */ -class GroupPlacementView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the group placement view. - * Group placement view resource names have the form: - * `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The automatic placement string at group level, e. g. web - * domain, mobile app ID, or a YouTube channel ID. - * - * Generated from protobuf field optional string placement = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $placement = null; - /** - * Output only. Domain name for websites and YouTube channel name for YouTube - * channels. - * - * Generated from protobuf field optional string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $display_name = null; - /** - * Output only. URL of the group placement, for example, domain, link to the - * mobile application in app store, or a YouTube channel URL. - * - * Generated from protobuf field optional string target_url = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_url = null; - /** - * Output only. Type of the placement, for example, Website, YouTube Channel, - * Mobile Application. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType placement_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $placement_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the group placement view. - * Group placement view resource names have the form: - * `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - * @type string $placement - * Output only. The automatic placement string at group level, e. g. web - * domain, mobile app ID, or a YouTube channel ID. - * @type string $display_name - * Output only. Domain name for websites and YouTube channel name for YouTube - * channels. - * @type string $target_url - * Output only. URL of the group placement, for example, domain, link to the - * mobile application in app store, or a YouTube channel URL. - * @type int $placement_type - * Output only. Type of the placement, for example, Website, YouTube Channel, - * Mobile Application. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\GroupPlacementView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the group placement view. - * Group placement view resource names have the form: - * `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the group placement view. - * Group placement view resource names have the form: - * `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The automatic placement string at group level, e. g. web - * domain, mobile app ID, or a YouTube channel ID. - * - * Generated from protobuf field optional string placement = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPlacement() - { - return isset($this->placement) ? $this->placement : ''; - } - - public function hasPlacement() - { - return isset($this->placement); - } - - public function clearPlacement() - { - unset($this->placement); - } - - /** - * Output only. The automatic placement string at group level, e. g. web - * domain, mobile app ID, or a YouTube channel ID. - * - * Generated from protobuf field optional string placement = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPlacement($var) - { - GPBUtil::checkString($var, True); - $this->placement = $var; - - return $this; - } - - /** - * Output only. Domain name for websites and YouTube channel name for YouTube - * channels. - * - * Generated from protobuf field optional string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDisplayName() - { - return isset($this->display_name) ? $this->display_name : ''; - } - - public function hasDisplayName() - { - return isset($this->display_name); - } - - public function clearDisplayName() - { - unset($this->display_name); - } - - /** - * Output only. Domain name for websites and YouTube channel name for YouTube - * channels. - * - * Generated from protobuf field optional string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. URL of the group placement, for example, domain, link to the - * mobile application in app store, or a YouTube channel URL. - * - * Generated from protobuf field optional string target_url = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getTargetUrl() - { - return isset($this->target_url) ? $this->target_url : ''; - } - - public function hasTargetUrl() - { - return isset($this->target_url); - } - - public function clearTargetUrl() - { - unset($this->target_url); - } - - /** - * Output only. URL of the group placement, for example, domain, link to the - * mobile application in app store, or a YouTube channel URL. - * - * Generated from protobuf field optional string target_url = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setTargetUrl($var) - { - GPBUtil::checkString($var, True); - $this->target_url = $var; - - return $this; - } - - /** - * Output only. Type of the placement, for example, Website, YouTube Channel, - * Mobile Application. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType placement_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getPlacementType() - { - return $this->placement_type; - } - - /** - * Output only. Type of the placement, for example, Website, YouTube Channel, - * Mobile Application. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType placement_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setPlacementType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\PlacementTypeEnum\PlacementType::class); - $this->placement_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/HotelCenterLinkInvitationIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/HotelCenterLinkInvitationIdentifier.php deleted file mode 100644 index 687b31917..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/HotelCenterLinkInvitationIdentifier.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier - */ -class HotelCenterLinkInvitationIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The hotel center id of the hotel account. - * This field is read only - * - * Generated from protobuf field int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $hotel_center_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $hotel_center_id - * Output only. The hotel center id of the hotel account. - * This field is read only - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductLinkInvitation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The hotel center id of the hotel account. - * This field is read only - * - * Generated from protobuf field int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getHotelCenterId() - { - return $this->hotel_center_id; - } - - /** - * Output only. The hotel center id of the hotel account. - * This field is read only - * - * Generated from protobuf field int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setHotelCenterId($var) - { - GPBUtil::checkInt64($var); - $this->hotel_center_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/HotelGroupView.php b/src/Google/Ads/GoogleAds/V15/Resources/HotelGroupView.php deleted file mode 100644 index fb66d5dcc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/HotelGroupView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.HotelGroupView - */ -class HotelGroupView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the hotel group view. - * Hotel Group view resource names have the form: - * `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the hotel group view. - * Hotel Group view resource names have the form: - * `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\HotelGroupView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the hotel group view. - * Hotel Group view resource names have the form: - * `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the hotel group view. - * Hotel Group view resource names have the form: - * `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/HotelPerformanceView.php b/src/Google/Ads/GoogleAds/V15/Resources/HotelPerformanceView.php deleted file mode 100644 index e88af62a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/HotelPerformanceView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.HotelPerformanceView - */ -class HotelPerformanceView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the hotel performance view. - * Hotel performance view resource names have the form: - * `customers/{customer_id}/hotelPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the hotel performance view. - * Hotel performance view resource names have the form: - * `customers/{customer_id}/hotelPerformanceView` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\HotelPerformanceView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the hotel performance view. - * Hotel performance view resource names have the form: - * `customers/{customer_id}/hotelPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the hotel performance view. - * Hotel performance view resource names have the form: - * `customers/{customer_id}/hotelPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/HotelReconciliation.php b/src/Google/Ads/GoogleAds/V15/Resources/HotelReconciliation.php deleted file mode 100644 index 0a70c122f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/HotelReconciliation.php +++ /dev/null @@ -1,505 +0,0 @@ -google.ads.googleads.v15.resources.HotelReconciliation - */ -class HotelReconciliation extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the hotel reconciliation. - * Hotel reconciliation resource names have the form: - * `customers/{customer_id}/hotelReconciliations/{commission_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Required. Output only. The commission ID is Google's ID for this booking. - * Every booking event is assigned a Commission ID to help you match it to a - * guest stay. - * - * Generated from protobuf field string commission_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $commission_id = ''; - /** - * Output only. The order ID is the identifier for this booking as provided in - * the 'transaction_id' parameter of the conversion tracking tag. - * - * Generated from protobuf field string order_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $order_id = ''; - /** - * Output only. The resource name for the Campaign associated with the - * conversion. - * - * Generated from protobuf field string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Output only. Identifier for the Hotel Center account which provides the - * rates for the Hotel campaign. - * - * Generated from protobuf field int64 hotel_center_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $hotel_center_id = 0; - /** - * Output only. Unique identifier for the booked property, as provided in the - * Hotel Center feed. The hotel ID comes from the 'ID' parameter of the - * conversion tracking tag. - * - * Generated from protobuf field string hotel_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $hotel_id = ''; - /** - * Output only. Check-in date recorded when the booking is made. If the - * check-in date is modified at reconciliation, the revised date will then - * take the place of the original date in this column. Format is YYYY-MM-DD. - * - * Generated from protobuf field string check_in_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $check_in_date = ''; - /** - * Output only. Check-out date recorded when the booking is made. If the - * check-in date is modified at reconciliation, the revised date will then - * take the place of the original date in this column. Format is YYYY-MM-DD. - * - * Generated from protobuf field string check_out_date = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $check_out_date = ''; - /** - * Required. Output only. Reconciled value is the final value of a booking as - * paid by the guest. If original booking value changes for any reason, such - * as itinerary changes or room upsells, the reconciled value should be the - * full final amount collected. If a booking is canceled, the reconciled value - * should include the value of any cancellation fees or non-refundable nights - * charged. Value is in millionths of the base unit currency. For example, - * $12.35 would be represented as 12350000. Currency unit is in the default - * customer currency. - * - * Generated from protobuf field int64 reconciled_value_micros = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $reconciled_value_micros = 0; - /** - * Output only. Whether a given booking has been billed. Once billed, a - * booking can't be modified. - * - * Generated from protobuf field bool billed = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $billed = false; - /** - * Required. Output only. Current status of a booking with regards to - * reconciliation and billing. Bookings should be reconciled within 45 days - * after the check-out date. Any booking not reconciled within 45 days will be - * billed at its original value. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the hotel reconciliation. - * Hotel reconciliation resource names have the form: - * `customers/{customer_id}/hotelReconciliations/{commission_id}` - * @type string $commission_id - * Required. Output only. The commission ID is Google's ID for this booking. - * Every booking event is assigned a Commission ID to help you match it to a - * guest stay. - * @type string $order_id - * Output only. The order ID is the identifier for this booking as provided in - * the 'transaction_id' parameter of the conversion tracking tag. - * @type string $campaign - * Output only. The resource name for the Campaign associated with the - * conversion. - * @type int|string $hotel_center_id - * Output only. Identifier for the Hotel Center account which provides the - * rates for the Hotel campaign. - * @type string $hotel_id - * Output only. Unique identifier for the booked property, as provided in the - * Hotel Center feed. The hotel ID comes from the 'ID' parameter of the - * conversion tracking tag. - * @type string $check_in_date - * Output only. Check-in date recorded when the booking is made. If the - * check-in date is modified at reconciliation, the revised date will then - * take the place of the original date in this column. Format is YYYY-MM-DD. - * @type string $check_out_date - * Output only. Check-out date recorded when the booking is made. If the - * check-in date is modified at reconciliation, the revised date will then - * take the place of the original date in this column. Format is YYYY-MM-DD. - * @type int|string $reconciled_value_micros - * Required. Output only. Reconciled value is the final value of a booking as - * paid by the guest. If original booking value changes for any reason, such - * as itinerary changes or room upsells, the reconciled value should be the - * full final amount collected. If a booking is canceled, the reconciled value - * should include the value of any cancellation fees or non-refundable nights - * charged. Value is in millionths of the base unit currency. For example, - * $12.35 would be represented as 12350000. Currency unit is in the default - * customer currency. - * @type bool $billed - * Output only. Whether a given booking has been billed. Once billed, a - * booking can't be modified. - * @type int $status - * Required. Output only. Current status of a booking with regards to - * reconciliation and billing. Bookings should be reconciled within 45 days - * after the check-out date. Any booking not reconciled within 45 days will be - * billed at its original value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\HotelReconciliation::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the hotel reconciliation. - * Hotel reconciliation resource names have the form: - * `customers/{customer_id}/hotelReconciliations/{commission_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the hotel reconciliation. - * Hotel reconciliation resource names have the form: - * `customers/{customer_id}/hotelReconciliations/{commission_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Required. Output only. The commission ID is Google's ID for this booking. - * Every booking event is assigned a Commission ID to help you match it to a - * guest stay. - * - * Generated from protobuf field string commission_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCommissionId() - { - return $this->commission_id; - } - - /** - * Required. Output only. The commission ID is Google's ID for this booking. - * Every booking event is assigned a Commission ID to help you match it to a - * guest stay. - * - * Generated from protobuf field string commission_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCommissionId($var) - { - GPBUtil::checkString($var, True); - $this->commission_id = $var; - - return $this; - } - - /** - * Output only. The order ID is the identifier for this booking as provided in - * the 'transaction_id' parameter of the conversion tracking tag. - * - * Generated from protobuf field string order_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOrderId() - { - return $this->order_id; - } - - /** - * Output only. The order ID is the identifier for this booking as provided in - * the 'transaction_id' parameter of the conversion tracking tag. - * - * Generated from protobuf field string order_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOrderId($var) - { - GPBUtil::checkString($var, True); - $this->order_id = $var; - - return $this; - } - - /** - * Output only. The resource name for the Campaign associated with the - * conversion. - * - * Generated from protobuf field string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Output only. The resource name for the Campaign associated with the - * conversion. - * - * Generated from protobuf field string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. Identifier for the Hotel Center account which provides the - * rates for the Hotel campaign. - * - * Generated from protobuf field int64 hotel_center_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getHotelCenterId() - { - return $this->hotel_center_id; - } - - /** - * Output only. Identifier for the Hotel Center account which provides the - * rates for the Hotel campaign. - * - * Generated from protobuf field int64 hotel_center_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setHotelCenterId($var) - { - GPBUtil::checkInt64($var); - $this->hotel_center_id = $var; - - return $this; - } - - /** - * Output only. Unique identifier for the booked property, as provided in the - * Hotel Center feed. The hotel ID comes from the 'ID' parameter of the - * conversion tracking tag. - * - * Generated from protobuf field string hotel_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getHotelId() - { - return $this->hotel_id; - } - - /** - * Output only. Unique identifier for the booked property, as provided in the - * Hotel Center feed. The hotel ID comes from the 'ID' parameter of the - * conversion tracking tag. - * - * Generated from protobuf field string hotel_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setHotelId($var) - { - GPBUtil::checkString($var, True); - $this->hotel_id = $var; - - return $this; - } - - /** - * Output only. Check-in date recorded when the booking is made. If the - * check-in date is modified at reconciliation, the revised date will then - * take the place of the original date in this column. Format is YYYY-MM-DD. - * - * Generated from protobuf field string check_in_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCheckInDate() - { - return $this->check_in_date; - } - - /** - * Output only. Check-in date recorded when the booking is made. If the - * check-in date is modified at reconciliation, the revised date will then - * take the place of the original date in this column. Format is YYYY-MM-DD. - * - * Generated from protobuf field string check_in_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCheckInDate($var) - { - GPBUtil::checkString($var, True); - $this->check_in_date = $var; - - return $this; - } - - /** - * Output only. Check-out date recorded when the booking is made. If the - * check-in date is modified at reconciliation, the revised date will then - * take the place of the original date in this column. Format is YYYY-MM-DD. - * - * Generated from protobuf field string check_out_date = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCheckOutDate() - { - return $this->check_out_date; - } - - /** - * Output only. Check-out date recorded when the booking is made. If the - * check-in date is modified at reconciliation, the revised date will then - * take the place of the original date in this column. Format is YYYY-MM-DD. - * - * Generated from protobuf field string check_out_date = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCheckOutDate($var) - { - GPBUtil::checkString($var, True); - $this->check_out_date = $var; - - return $this; - } - - /** - * Required. Output only. Reconciled value is the final value of a booking as - * paid by the guest. If original booking value changes for any reason, such - * as itinerary changes or room upsells, the reconciled value should be the - * full final amount collected. If a booking is canceled, the reconciled value - * should include the value of any cancellation fees or non-refundable nights - * charged. Value is in millionths of the base unit currency. For example, - * $12.35 would be represented as 12350000. Currency unit is in the default - * customer currency. - * - * Generated from protobuf field int64 reconciled_value_micros = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getReconciledValueMicros() - { - return $this->reconciled_value_micros; - } - - /** - * Required. Output only. Reconciled value is the final value of a booking as - * paid by the guest. If original booking value changes for any reason, such - * as itinerary changes or room upsells, the reconciled value should be the - * full final amount collected. If a booking is canceled, the reconciled value - * should include the value of any cancellation fees or non-refundable nights - * charged. Value is in millionths of the base unit currency. For example, - * $12.35 would be represented as 12350000. Currency unit is in the default - * customer currency. - * - * Generated from protobuf field int64 reconciled_value_micros = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setReconciledValueMicros($var) - { - GPBUtil::checkInt64($var); - $this->reconciled_value_micros = $var; - - return $this; - } - - /** - * Output only. Whether a given booking has been billed. Once billed, a - * booking can't be modified. - * - * Generated from protobuf field bool billed = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getBilled() - { - return $this->billed; - } - - /** - * Output only. Whether a given booking has been billed. Once billed, a - * booking can't be modified. - * - * Generated from protobuf field bool billed = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setBilled($var) - { - GPBUtil::checkBool($var); - $this->billed = $var; - - return $this; - } - - /** - * Required. Output only. Current status of a booking with regards to - * reconciliation and billing. Bookings should be reconciled within 45 days - * after the check-out date. Any booking not reconciled within 45 days will be - * billed at its original value. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Required. Output only. Current status of a booking with regards to - * reconciliation and billing. Bookings should be reconciled within 45 days - * after the check-out date. Any booking not reconciled within 45 days will be - * billed at its original value. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\HotelReconciliationStatusEnum\HotelReconciliationStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/IncomeRangeView.php b/src/Google/Ads/GoogleAds/V15/Resources/IncomeRangeView.php deleted file mode 100644 index c39c9fe0d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/IncomeRangeView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.IncomeRangeView - */ -class IncomeRangeView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the income range view. - * Income range view resource names have the form: - * `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the income range view. - * Income range view resource names have the form: - * `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\IncomeRangeView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the income range view. - * Income range view resource names have the form: - * `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the income range view. - * Income range view resource names have the form: - * `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/InsuranceVerificationArtifact.php b/src/Google/Ads/GoogleAds/V15/Resources/InsuranceVerificationArtifact.php deleted file mode 100644 index 86a3b71cf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/InsuranceVerificationArtifact.php +++ /dev/null @@ -1,173 +0,0 @@ -google.ads.googleads.v15.resources.InsuranceVerificationArtifact - */ -class InsuranceVerificationArtifact extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Insurance amount. This is measured in "micros" of the currency - * mentioned in the insurance document. - * - * Generated from protobuf field optional int64 amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $amount_micros = null; - /** - * Output only. Insurance document's rejection reason. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $rejection_reason = null; - /** - * Output only. The readonly field containing the information for an uploaded - * insurance document. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $insurance_document_readonly = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $amount_micros - * Output only. Insurance amount. This is measured in "micros" of the currency - * mentioned in the insurance document. - * @type int $rejection_reason - * Output only. Insurance document's rejection reason. - * @type \Google\Ads\GoogleAds\V15\Common\LocalServicesDocumentReadOnly $insurance_document_readonly - * Output only. The readonly field containing the information for an uploaded - * insurance document. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesVerificationArtifact::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Insurance amount. This is measured in "micros" of the currency - * mentioned in the insurance document. - * - * Generated from protobuf field optional int64 amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAmountMicros() - { - return isset($this->amount_micros) ? $this->amount_micros : 0; - } - - public function hasAmountMicros() - { - return isset($this->amount_micros); - } - - public function clearAmountMicros() - { - unset($this->amount_micros); - } - - /** - * Output only. Insurance amount. This is measured in "micros" of the currency - * mentioned in the insurance document. - * - * Generated from protobuf field optional int64 amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->amount_micros = $var; - - return $this; - } - - /** - * Output only. Insurance document's rejection reason. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getRejectionReason() - { - return isset($this->rejection_reason) ? $this->rejection_reason : 0; - } - - public function hasRejectionReason() - { - return isset($this->rejection_reason); - } - - public function clearRejectionReason() - { - unset($this->rejection_reason); - } - - /** - * Output only. Insurance document's rejection reason. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesInsuranceRejectionReasonEnum.LocalServicesInsuranceRejectionReason rejection_reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setRejectionReason($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesInsuranceRejectionReasonEnum\LocalServicesInsuranceRejectionReason::class); - $this->rejection_reason = $var; - - return $this; - } - - /** - * Output only. The readonly field containing the information for an uploaded - * insurance document. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\LocalServicesDocumentReadOnly|null - */ - public function getInsuranceDocumentReadonly() - { - return $this->insurance_document_readonly; - } - - public function hasInsuranceDocumentReadonly() - { - return isset($this->insurance_document_readonly); - } - - public function clearInsuranceDocumentReadonly() - { - unset($this->insurance_document_readonly); - } - - /** - * Output only. The readonly field containing the information for an uploaded - * insurance document. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly insurance_document_readonly = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\LocalServicesDocumentReadOnly $var - * @return $this - */ - public function setInsuranceDocumentReadonly($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocalServicesDocumentReadOnly::class); - $this->insurance_document_readonly = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Invoice.php b/src/Google/Ads/GoogleAds/V15/Resources/Invoice.php deleted file mode 100644 index 55afa7f7a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Invoice.php +++ /dev/null @@ -1,1265 +0,0 @@ -google.ads.googleads.v15.resources.Invoice - */ -class Invoice extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the invoice. Multiple customers can share - * a given invoice, so multiple resource names may point to the same invoice. - * Invoice resource names have the form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the invoice. It appears on the invoice PDF as - * "Invoice number". - * - * Generated from protobuf field optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The type of invoice. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. The resource name of this invoice's billing setup. - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $billing_setup = null; - /** - * Output only. A 16 digit ID used to identify the payments account associated - * with the billing setup, for example, "1234-5678-9012-3456". It appears on - * the invoice PDF as "Billing Account Number". - * - * Generated from protobuf field optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $payments_account_id = null; - /** - * Output only. A 12 digit ID used to identify the payments profile associated - * with the billing setup, for example, "1234-5678-9012". It appears on the - * invoice PDF as "Billing ID". - * - * Generated from protobuf field optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $payments_profile_id = null; - /** - * Output only. The issue date in yyyy-mm-dd format. It appears on the invoice - * PDF as either "Issue date" or "Invoice date". - * - * Generated from protobuf field optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $issue_date = null; - /** - * Output only. The due date in yyyy-mm-dd format. - * - * Generated from protobuf field optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $due_date = null; - /** - * Output only. The service period date range of this invoice. The end date is - * inclusive. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $service_date_range = null; - /** - * Output only. The currency code. All costs are returned in this currency. A - * subset of the currency codes derived from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $currency_code = null; - /** - * Output only. The pretax subtotal amount of invoice level adjustments, in - * micros. - * - * Generated from protobuf field int64 adjustments_subtotal_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $adjustments_subtotal_amount_micros = 0; - /** - * Output only. The sum of taxes on the invoice level adjustments, in micros. - * - * Generated from protobuf field int64 adjustments_tax_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $adjustments_tax_amount_micros = 0; - /** - * Output only. The total amount of invoice level adjustments, in micros. - * - * Generated from protobuf field int64 adjustments_total_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $adjustments_total_amount_micros = 0; - /** - * Output only. The pretax subtotal amount of invoice level regulatory costs, - * in micros. - * - * Generated from protobuf field int64 regulatory_costs_subtotal_amount_micros = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $regulatory_costs_subtotal_amount_micros = 0; - /** - * Output only. The sum of taxes on the invoice level regulatory costs, in - * micros. - * - * Generated from protobuf field int64 regulatory_costs_tax_amount_micros = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $regulatory_costs_tax_amount_micros = 0; - /** - * Output only. The total amount of invoice level regulatory costs, in micros. - * - * Generated from protobuf field int64 regulatory_costs_total_amount_micros = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $regulatory_costs_total_amount_micros = 0; - /** - * Output only. The pretax subtotal amount of invoice level export charges, in - * micros. - * - * Generated from protobuf field optional int64 export_charge_subtotal_amount_micros = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $export_charge_subtotal_amount_micros = null; - /** - * Output only. The sum of taxes on the invoice level export charges, in - * micros. - * - * Generated from protobuf field optional int64 export_charge_tax_amount_micros = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $export_charge_tax_amount_micros = null; - /** - * Output only. The total amount of invoice level export charges, in micros. - * - * Generated from protobuf field optional int64 export_charge_total_amount_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $export_charge_total_amount_micros = null; - /** - * Output only. The pretax subtotal amount, in micros. This is equal to the - * sum of the AccountBudgetSummary subtotal amounts and - * Invoice.adjustments_subtotal_amount_micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $subtotal_amount_micros = null; - /** - * Output only. The sum of all taxes on the invoice, in micros. This equals - * the sum of the AccountBudgetSummary tax amounts, plus taxes not associated - * with a specific account budget. - * - * Generated from protobuf field optional int64 tax_amount_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $tax_amount_micros = null; - /** - * Output only. The total amount, in micros. This equals the sum of - * Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, - * Invoice.regulatory_costs_subtotal_amount_micros, and - * Invoice.export_charge_subtotal_amount_micros (which is separated into a - * separate line item starting with V14.1). - * - * Generated from protobuf field optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $total_amount_micros = null; - /** - * Output only. The resource name of the original invoice corrected, wrote - * off, or canceled by this invoice, if applicable. If `corrected_invoice` is - * set, `replaced_invoices` will not be set. Invoice resource names have the - * form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $corrected_invoice = null; - /** - * Output only. The resource name of the original invoice(s) being rebilled or - * replaced by this invoice, if applicable. There might be multiple replaced - * invoices due to invoice consolidation. The replaced invoices may not belong - * to the same payments account. If `replaced_invoices` is set, - * `corrected_invoice` will not be set. Invoice resource names have the form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $replaced_invoices; - /** - * Output only. The URL to a PDF copy of the invoice. Users need to pass in - * their OAuth token to request the PDF with this URL. - * - * Generated from protobuf field optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $pdf_url = null; - /** - * Output only. The list of summarized account budget information associated - * with this invoice. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $account_budget_summaries; - /** - * Output only. The list of summarized account information associated with - * this invoice. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $account_summaries; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the invoice. Multiple customers can share - * a given invoice, so multiple resource names may point to the same invoice. - * Invoice resource names have the form: - * `customers/{customer_id}/invoices/{invoice_id}` - * @type string $id - * Output only. The ID of the invoice. It appears on the invoice PDF as - * "Invoice number". - * @type int $type - * Output only. The type of invoice. - * @type string $billing_setup - * Output only. The resource name of this invoice's billing setup. - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * @type string $payments_account_id - * Output only. A 16 digit ID used to identify the payments account associated - * with the billing setup, for example, "1234-5678-9012-3456". It appears on - * the invoice PDF as "Billing Account Number". - * @type string $payments_profile_id - * Output only. A 12 digit ID used to identify the payments profile associated - * with the billing setup, for example, "1234-5678-9012". It appears on the - * invoice PDF as "Billing ID". - * @type string $issue_date - * Output only. The issue date in yyyy-mm-dd format. It appears on the invoice - * PDF as either "Issue date" or "Invoice date". - * @type string $due_date - * Output only. The due date in yyyy-mm-dd format. - * @type \Google\Ads\GoogleAds\V15\Common\DateRange $service_date_range - * Output only. The service period date range of this invoice. The end date is - * inclusive. - * @type string $currency_code - * Output only. The currency code. All costs are returned in this currency. A - * subset of the currency codes derived from the ISO 4217 standard is - * supported. - * @type int|string $adjustments_subtotal_amount_micros - * Output only. The pretax subtotal amount of invoice level adjustments, in - * micros. - * @type int|string $adjustments_tax_amount_micros - * Output only. The sum of taxes on the invoice level adjustments, in micros. - * @type int|string $adjustments_total_amount_micros - * Output only. The total amount of invoice level adjustments, in micros. - * @type int|string $regulatory_costs_subtotal_amount_micros - * Output only. The pretax subtotal amount of invoice level regulatory costs, - * in micros. - * @type int|string $regulatory_costs_tax_amount_micros - * Output only. The sum of taxes on the invoice level regulatory costs, in - * micros. - * @type int|string $regulatory_costs_total_amount_micros - * Output only. The total amount of invoice level regulatory costs, in micros. - * @type int|string $export_charge_subtotal_amount_micros - * Output only. The pretax subtotal amount of invoice level export charges, in - * micros. - * @type int|string $export_charge_tax_amount_micros - * Output only. The sum of taxes on the invoice level export charges, in - * micros. - * @type int|string $export_charge_total_amount_micros - * Output only. The total amount of invoice level export charges, in micros. - * @type int|string $subtotal_amount_micros - * Output only. The pretax subtotal amount, in micros. This is equal to the - * sum of the AccountBudgetSummary subtotal amounts and - * Invoice.adjustments_subtotal_amount_micros. - * @type int|string $tax_amount_micros - * Output only. The sum of all taxes on the invoice, in micros. This equals - * the sum of the AccountBudgetSummary tax amounts, plus taxes not associated - * with a specific account budget. - * @type int|string $total_amount_micros - * Output only. The total amount, in micros. This equals the sum of - * Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, - * Invoice.regulatory_costs_subtotal_amount_micros, and - * Invoice.export_charge_subtotal_amount_micros (which is separated into a - * separate line item starting with V14.1). - * @type string $corrected_invoice - * Output only. The resource name of the original invoice corrected, wrote - * off, or canceled by this invoice, if applicable. If `corrected_invoice` is - * set, `replaced_invoices` will not be set. Invoice resource names have the - * form: - * `customers/{customer_id}/invoices/{invoice_id}` - * @type array|\Google\Protobuf\Internal\RepeatedField $replaced_invoices - * Output only. The resource name of the original invoice(s) being rebilled or - * replaced by this invoice, if applicable. There might be multiple replaced - * invoices due to invoice consolidation. The replaced invoices may not belong - * to the same payments account. If `replaced_invoices` is set, - * `corrected_invoice` will not be set. Invoice resource names have the form: - * `customers/{customer_id}/invoices/{invoice_id}` - * @type string $pdf_url - * Output only. The URL to a PDF copy of the invoice. Users need to pass in - * their OAuth token to request the PDF with this URL. - * @type array<\Google\Ads\GoogleAds\V15\Resources\Invoice\AccountBudgetSummary>|\Google\Protobuf\Internal\RepeatedField $account_budget_summaries - * Output only. The list of summarized account budget information associated - * with this invoice. - * @type array<\Google\Ads\GoogleAds\V15\Resources\Invoice\AccountSummary>|\Google\Protobuf\Internal\RepeatedField $account_summaries - * Output only. The list of summarized account information associated with - * this invoice. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Invoice::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the invoice. Multiple customers can share - * a given invoice, so multiple resource names may point to the same invoice. - * Invoice resource names have the form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the invoice. Multiple customers can share - * a given invoice, so multiple resource names may point to the same invoice. - * Invoice resource names have the form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the invoice. It appears on the invoice PDF as - * "Invoice number". - * - * Generated from protobuf field optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getId() - { - return isset($this->id) ? $this->id : ''; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the invoice. It appears on the invoice PDF as - * "Invoice number". - * - * Generated from protobuf field optional string id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Output only. The type of invoice. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of invoice. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.InvoiceTypeEnum.InvoiceType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\InvoiceTypeEnum\InvoiceType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The resource name of this invoice's billing setup. - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getBillingSetup() - { - return isset($this->billing_setup) ? $this->billing_setup : ''; - } - - public function hasBillingSetup() - { - return isset($this->billing_setup); - } - - public function clearBillingSetup() - { - unset($this->billing_setup); - } - - /** - * Output only. The resource name of this invoice's billing setup. - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field optional string billing_setup = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setBillingSetup($var) - { - GPBUtil::checkString($var, True); - $this->billing_setup = $var; - - return $this; - } - - /** - * Output only. A 16 digit ID used to identify the payments account associated - * with the billing setup, for example, "1234-5678-9012-3456". It appears on - * the invoice PDF as "Billing Account Number". - * - * Generated from protobuf field optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPaymentsAccountId() - { - return isset($this->payments_account_id) ? $this->payments_account_id : ''; - } - - public function hasPaymentsAccountId() - { - return isset($this->payments_account_id); - } - - public function clearPaymentsAccountId() - { - unset($this->payments_account_id); - } - - /** - * Output only. A 16 digit ID used to identify the payments account associated - * with the billing setup, for example, "1234-5678-9012-3456". It appears on - * the invoice PDF as "Billing Account Number". - * - * Generated from protobuf field optional string payments_account_id = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPaymentsAccountId($var) - { - GPBUtil::checkString($var, True); - $this->payments_account_id = $var; - - return $this; - } - - /** - * Output only. A 12 digit ID used to identify the payments profile associated - * with the billing setup, for example, "1234-5678-9012". It appears on the - * invoice PDF as "Billing ID". - * - * Generated from protobuf field optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPaymentsProfileId() - { - return isset($this->payments_profile_id) ? $this->payments_profile_id : ''; - } - - public function hasPaymentsProfileId() - { - return isset($this->payments_profile_id); - } - - public function clearPaymentsProfileId() - { - unset($this->payments_profile_id); - } - - /** - * Output only. A 12 digit ID used to identify the payments profile associated - * with the billing setup, for example, "1234-5678-9012". It appears on the - * invoice PDF as "Billing ID". - * - * Generated from protobuf field optional string payments_profile_id = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPaymentsProfileId($var) - { - GPBUtil::checkString($var, True); - $this->payments_profile_id = $var; - - return $this; - } - - /** - * Output only. The issue date in yyyy-mm-dd format. It appears on the invoice - * PDF as either "Issue date" or "Invoice date". - * - * Generated from protobuf field optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getIssueDate() - { - return isset($this->issue_date) ? $this->issue_date : ''; - } - - public function hasIssueDate() - { - return isset($this->issue_date); - } - - public function clearIssueDate() - { - unset($this->issue_date); - } - - /** - * Output only. The issue date in yyyy-mm-dd format. It appears on the invoice - * PDF as either "Issue date" or "Invoice date". - * - * Generated from protobuf field optional string issue_date = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setIssueDate($var) - { - GPBUtil::checkString($var, True); - $this->issue_date = $var; - - return $this; - } - - /** - * Output only. The due date in yyyy-mm-dd format. - * - * Generated from protobuf field optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDueDate() - { - return isset($this->due_date) ? $this->due_date : ''; - } - - public function hasDueDate() - { - return isset($this->due_date); - } - - public function clearDueDate() - { - unset($this->due_date); - } - - /** - * Output only. The due date in yyyy-mm-dd format. - * - * Generated from protobuf field optional string due_date = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDueDate($var) - { - GPBUtil::checkString($var, True); - $this->due_date = $var; - - return $this; - } - - /** - * Output only. The service period date range of this invoice. The end date is - * inclusive. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\DateRange|null - */ - public function getServiceDateRange() - { - return $this->service_date_range; - } - - public function hasServiceDateRange() - { - return isset($this->service_date_range); - } - - public function clearServiceDateRange() - { - unset($this->service_date_range); - } - - /** - * Output only. The service period date range of this invoice. The end date is - * inclusive. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange service_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\DateRange $var - * @return $this - */ - public function setServiceDateRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DateRange::class); - $this->service_date_range = $var; - - return $this; - } - - /** - * Output only. The currency code. All costs are returned in this currency. A - * subset of the currency codes derived from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * Output only. The currency code. All costs are returned in this currency. A - * subset of the currency codes derived from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Output only. The pretax subtotal amount of invoice level adjustments, in - * micros. - * - * Generated from protobuf field int64 adjustments_subtotal_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdjustmentsSubtotalAmountMicros() - { - return $this->adjustments_subtotal_amount_micros; - } - - /** - * Output only. The pretax subtotal amount of invoice level adjustments, in - * micros. - * - * Generated from protobuf field int64 adjustments_subtotal_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdjustmentsSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->adjustments_subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. The sum of taxes on the invoice level adjustments, in micros. - * - * Generated from protobuf field int64 adjustments_tax_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdjustmentsTaxAmountMicros() - { - return $this->adjustments_tax_amount_micros; - } - - /** - * Output only. The sum of taxes on the invoice level adjustments, in micros. - * - * Generated from protobuf field int64 adjustments_tax_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdjustmentsTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->adjustments_tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. The total amount of invoice level adjustments, in micros. - * - * Generated from protobuf field int64 adjustments_total_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdjustmentsTotalAmountMicros() - { - return $this->adjustments_total_amount_micros; - } - - /** - * Output only. The total amount of invoice level adjustments, in micros. - * - * Generated from protobuf field int64 adjustments_total_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdjustmentsTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->adjustments_total_amount_micros = $var; - - return $this; - } - - /** - * Output only. The pretax subtotal amount of invoice level regulatory costs, - * in micros. - * - * Generated from protobuf field int64 regulatory_costs_subtotal_amount_micros = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRegulatoryCostsSubtotalAmountMicros() - { - return $this->regulatory_costs_subtotal_amount_micros; - } - - /** - * Output only. The pretax subtotal amount of invoice level regulatory costs, - * in micros. - * - * Generated from protobuf field int64 regulatory_costs_subtotal_amount_micros = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRegulatoryCostsSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->regulatory_costs_subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. The sum of taxes on the invoice level regulatory costs, in - * micros. - * - * Generated from protobuf field int64 regulatory_costs_tax_amount_micros = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRegulatoryCostsTaxAmountMicros() - { - return $this->regulatory_costs_tax_amount_micros; - } - - /** - * Output only. The sum of taxes on the invoice level regulatory costs, in - * micros. - * - * Generated from protobuf field int64 regulatory_costs_tax_amount_micros = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRegulatoryCostsTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->regulatory_costs_tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. The total amount of invoice level regulatory costs, in micros. - * - * Generated from protobuf field int64 regulatory_costs_total_amount_micros = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRegulatoryCostsTotalAmountMicros() - { - return $this->regulatory_costs_total_amount_micros; - } - - /** - * Output only. The total amount of invoice level regulatory costs, in micros. - * - * Generated from protobuf field int64 regulatory_costs_total_amount_micros = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRegulatoryCostsTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->regulatory_costs_total_amount_micros = $var; - - return $this; - } - - /** - * Output only. The pretax subtotal amount of invoice level export charges, in - * micros. - * - * Generated from protobuf field optional int64 export_charge_subtotal_amount_micros = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExportChargeSubtotalAmountMicros() - { - return isset($this->export_charge_subtotal_amount_micros) ? $this->export_charge_subtotal_amount_micros : 0; - } - - public function hasExportChargeSubtotalAmountMicros() - { - return isset($this->export_charge_subtotal_amount_micros); - } - - public function clearExportChargeSubtotalAmountMicros() - { - unset($this->export_charge_subtotal_amount_micros); - } - - /** - * Output only. The pretax subtotal amount of invoice level export charges, in - * micros. - * - * Generated from protobuf field optional int64 export_charge_subtotal_amount_micros = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExportChargeSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->export_charge_subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. The sum of taxes on the invoice level export charges, in - * micros. - * - * Generated from protobuf field optional int64 export_charge_tax_amount_micros = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExportChargeTaxAmountMicros() - { - return isset($this->export_charge_tax_amount_micros) ? $this->export_charge_tax_amount_micros : 0; - } - - public function hasExportChargeTaxAmountMicros() - { - return isset($this->export_charge_tax_amount_micros); - } - - public function clearExportChargeTaxAmountMicros() - { - unset($this->export_charge_tax_amount_micros); - } - - /** - * Output only. The sum of taxes on the invoice level export charges, in - * micros. - * - * Generated from protobuf field optional int64 export_charge_tax_amount_micros = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExportChargeTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->export_charge_tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. The total amount of invoice level export charges, in micros. - * - * Generated from protobuf field optional int64 export_charge_total_amount_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExportChargeTotalAmountMicros() - { - return isset($this->export_charge_total_amount_micros) ? $this->export_charge_total_amount_micros : 0; - } - - public function hasExportChargeTotalAmountMicros() - { - return isset($this->export_charge_total_amount_micros); - } - - public function clearExportChargeTotalAmountMicros() - { - unset($this->export_charge_total_amount_micros); - } - - /** - * Output only. The total amount of invoice level export charges, in micros. - * - * Generated from protobuf field optional int64 export_charge_total_amount_micros = 42 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExportChargeTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->export_charge_total_amount_micros = $var; - - return $this; - } - - /** - * Output only. The pretax subtotal amount, in micros. This is equal to the - * sum of the AccountBudgetSummary subtotal amounts and - * Invoice.adjustments_subtotal_amount_micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSubtotalAmountMicros() - { - return isset($this->subtotal_amount_micros) ? $this->subtotal_amount_micros : 0; - } - - public function hasSubtotalAmountMicros() - { - return isset($this->subtotal_amount_micros); - } - - public function clearSubtotalAmountMicros() - { - unset($this->subtotal_amount_micros); - } - - /** - * Output only. The pretax subtotal amount, in micros. This is equal to the - * sum of the AccountBudgetSummary subtotal amounts and - * Invoice.adjustments_subtotal_amount_micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. The sum of all taxes on the invoice, in micros. This equals - * the sum of the AccountBudgetSummary tax amounts, plus taxes not associated - * with a specific account budget. - * - * Generated from protobuf field optional int64 tax_amount_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTaxAmountMicros() - { - return isset($this->tax_amount_micros) ? $this->tax_amount_micros : 0; - } - - public function hasTaxAmountMicros() - { - return isset($this->tax_amount_micros); - } - - public function clearTaxAmountMicros() - { - unset($this->tax_amount_micros); - } - - /** - * Output only. The sum of all taxes on the invoice, in micros. This equals - * the sum of the AccountBudgetSummary tax amounts, plus taxes not associated - * with a specific account budget. - * - * Generated from protobuf field optional int64 tax_amount_micros = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. The total amount, in micros. This equals the sum of - * Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, - * Invoice.regulatory_costs_subtotal_amount_micros, and - * Invoice.export_charge_subtotal_amount_micros (which is separated into a - * separate line item starting with V14.1). - * - * Generated from protobuf field optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTotalAmountMicros() - { - return isset($this->total_amount_micros) ? $this->total_amount_micros : 0; - } - - public function hasTotalAmountMicros() - { - return isset($this->total_amount_micros); - } - - public function clearTotalAmountMicros() - { - unset($this->total_amount_micros); - } - - /** - * Output only. The total amount, in micros. This equals the sum of - * Invoice.subtotal_amount_micros, Invoice.tax_amount_micros, - * Invoice.regulatory_costs_subtotal_amount_micros, and - * Invoice.export_charge_subtotal_amount_micros (which is separated into a - * separate line item starting with V14.1). - * - * Generated from protobuf field optional int64 total_amount_micros = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->total_amount_micros = $var; - - return $this; - } - - /** - * Output only. The resource name of the original invoice corrected, wrote - * off, or canceled by this invoice, if applicable. If `corrected_invoice` is - * set, `replaced_invoices` will not be set. Invoice resource names have the - * form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCorrectedInvoice() - { - return isset($this->corrected_invoice) ? $this->corrected_invoice : ''; - } - - public function hasCorrectedInvoice() - { - return isset($this->corrected_invoice); - } - - public function clearCorrectedInvoice() - { - unset($this->corrected_invoice); - } - - /** - * Output only. The resource name of the original invoice corrected, wrote - * off, or canceled by this invoice, if applicable. If `corrected_invoice` is - * set, `replaced_invoices` will not be set. Invoice resource names have the - * form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field optional string corrected_invoice = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCorrectedInvoice($var) - { - GPBUtil::checkString($var, True); - $this->corrected_invoice = $var; - - return $this; - } - - /** - * Output only. The resource name of the original invoice(s) being rebilled or - * replaced by this invoice, if applicable. There might be multiple replaced - * invoices due to invoice consolidation. The replaced invoices may not belong - * to the same payments account. If `replaced_invoices` is set, - * `corrected_invoice` will not be set. Invoice resource names have the form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getReplacedInvoices() - { - return $this->replaced_invoices; - } - - /** - * Output only. The resource name of the original invoice(s) being rebilled or - * replaced by this invoice, if applicable. There might be multiple replaced - * invoices due to invoice consolidation. The replaced invoices may not belong - * to the same payments account. If `replaced_invoices` is set, - * `corrected_invoice` will not be set. Invoice resource names have the form: - * `customers/{customer_id}/invoices/{invoice_id}` - * - * Generated from protobuf field repeated string replaced_invoices = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setReplacedInvoices($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->replaced_invoices = $arr; - - return $this; - } - - /** - * Output only. The URL to a PDF copy of the invoice. Users need to pass in - * their OAuth token to request the PDF with this URL. - * - * Generated from protobuf field optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPdfUrl() - { - return isset($this->pdf_url) ? $this->pdf_url : ''; - } - - public function hasPdfUrl() - { - return isset($this->pdf_url); - } - - public function clearPdfUrl() - { - unset($this->pdf_url); - } - - /** - * Output only. The URL to a PDF copy of the invoice. Users need to pass in - * their OAuth token to request the PDF with this URL. - * - * Generated from protobuf field optional string pdf_url = 38 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPdfUrl($var) - { - GPBUtil::checkString($var, True); - $this->pdf_url = $var; - - return $this; - } - - /** - * Output only. The list of summarized account budget information associated - * with this invoice. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAccountBudgetSummaries() - { - return $this->account_budget_summaries; - } - - /** - * Output only. The list of summarized account budget information associated - * with this invoice. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.AccountBudgetSummary account_budget_summaries = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Invoice\AccountBudgetSummary>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAccountBudgetSummaries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Invoice\AccountBudgetSummary::class); - $this->account_budget_summaries = $arr; - - return $this; - } - - /** - * Output only. The list of summarized account information associated with - * this invoice. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAccountSummaries() - { - return $this->account_summaries; - } - - /** - * Output only. The list of summarized account information associated with - * this invoice. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.AccountSummary account_summaries = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Invoice\AccountSummary>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAccountSummaries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Invoice\AccountSummary::class); - $this->account_summaries = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Invoice/AccountBudgetSummary.php b/src/Google/Ads/GoogleAds/V15/Resources/Invoice/AccountBudgetSummary.php deleted file mode 100644 index d50adcb9b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Invoice/AccountBudgetSummary.php +++ /dev/null @@ -1,722 +0,0 @@ -google.ads.googleads.v15.resources.Invoice.AccountBudgetSummary - */ -class AccountBudgetSummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the customer associated with this - * account budget. This contains the customer ID, which appears on the - * invoice PDF as "Account ID". Customer resource names have the form: - * `customers/{customer_id}` - * - * Generated from protobuf field optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $customer = null; - /** - * Output only. The descriptive name of the account budget's customer. It - * appears on the invoice PDF as "Account". - * - * Generated from protobuf field optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $customer_descriptive_name = null; - /** - * Output only. The resource name of the account budget associated with this - * summarized billable cost. AccountBudget resource names have the form: - * `customers/{customer_id}/accountBudgets/{account_budget_id}` - * - * Generated from protobuf field optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $account_budget = null; - /** - * Output only. The name of the account budget. It appears on the invoice - * PDF as "Account budget". - * - * Generated from protobuf field optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $account_budget_name = null; - /** - * Output only. The purchase order number of the account budget. It appears - * on the invoice PDF as "Purchase order". - * - * Generated from protobuf field optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $purchase_order_number = null; - /** - * Output only. The pretax subtotal amount attributable to this budget - * during the service period, in micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $subtotal_amount_micros = null; - /** - * Output only. The tax amount attributable to this budget during the - * service period, in micros. - * - * Generated from protobuf field optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $tax_amount_micros = null; - /** - * Output only. The total amount attributable to this budget during the - * service period, in micros. This equals the sum of the account budget - * subtotal amount and the account budget tax amount. - * - * Generated from protobuf field optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $total_amount_micros = null; - /** - * Output only. The billable activity date range of the account budget, - * within the service date range of this invoice. The end date is inclusive. - * This can be different from the account budget's start and end time. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $billable_activity_date_range = null; - /** - * Output only. The pretax served amount attributable to this budget during - * the service period, in micros. This is only useful to reconcile invoice - * and delivery data. - * - * Generated from protobuf field optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $served_amount_micros = null; - /** - * Output only. The pretax billed amount attributable to this budget during - * the service period, in micros. This does not account for any adjustments. - * - * Generated from protobuf field optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $billed_amount_micros = null; - /** - * Output only. The pretax overdelivery amount attributable to this budget - * during the service period, in micros (negative value). - * - * Generated from protobuf field optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $overdelivery_amount_micros = null; - /** - * Output only. The pretax invalid activity amount attributable to this - * budget in previous months, in micros (negative value). - * - * Generated from protobuf field optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $invalid_activity_amount_micros = null; - /** - * Output only. The list of summarized invalid activity credits with - * original linkages. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $invalid_activity_summaries; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer - * Output only. The resource name of the customer associated with this - * account budget. This contains the customer ID, which appears on the - * invoice PDF as "Account ID". Customer resource names have the form: - * `customers/{customer_id}` - * @type string $customer_descriptive_name - * Output only. The descriptive name of the account budget's customer. It - * appears on the invoice PDF as "Account". - * @type string $account_budget - * Output only. The resource name of the account budget associated with this - * summarized billable cost. AccountBudget resource names have the form: - * `customers/{customer_id}/accountBudgets/{account_budget_id}` - * @type string $account_budget_name - * Output only. The name of the account budget. It appears on the invoice - * PDF as "Account budget". - * @type string $purchase_order_number - * Output only. The purchase order number of the account budget. It appears - * on the invoice PDF as "Purchase order". - * @type int|string $subtotal_amount_micros - * Output only. The pretax subtotal amount attributable to this budget - * during the service period, in micros. - * @type int|string $tax_amount_micros - * Output only. The tax amount attributable to this budget during the - * service period, in micros. - * @type int|string $total_amount_micros - * Output only. The total amount attributable to this budget during the - * service period, in micros. This equals the sum of the account budget - * subtotal amount and the account budget tax amount. - * @type \Google\Ads\GoogleAds\V15\Common\DateRange $billable_activity_date_range - * Output only. The billable activity date range of the account budget, - * within the service date range of this invoice. The end date is inclusive. - * This can be different from the account budget's start and end time. - * @type int|string $served_amount_micros - * Output only. The pretax served amount attributable to this budget during - * the service period, in micros. This is only useful to reconcile invoice - * and delivery data. - * @type int|string $billed_amount_micros - * Output only. The pretax billed amount attributable to this budget during - * the service period, in micros. This does not account for any adjustments. - * @type int|string $overdelivery_amount_micros - * Output only. The pretax overdelivery amount attributable to this budget - * during the service period, in micros (negative value). - * @type int|string $invalid_activity_amount_micros - * Output only. The pretax invalid activity amount attributable to this - * budget in previous months, in micros (negative value). - * @type array<\Google\Ads\GoogleAds\V15\Resources\Invoice\InvalidActivitySummary>|\Google\Protobuf\Internal\RepeatedField $invalid_activity_summaries - * Output only. The list of summarized invalid activity credits with - * original linkages. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Invoice::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the customer associated with this - * account budget. This contains the customer ID, which appears on the - * invoice PDF as "Account ID". Customer resource names have the form: - * `customers/{customer_id}` - * - * Generated from protobuf field optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCustomer() - { - return isset($this->customer) ? $this->customer : ''; - } - - public function hasCustomer() - { - return isset($this->customer); - } - - public function clearCustomer() - { - unset($this->customer); - } - - /** - * Output only. The resource name of the customer associated with this - * account budget. This contains the customer ID, which appears on the - * invoice PDF as "Account ID". Customer resource names have the form: - * `customers/{customer_id}` - * - * Generated from protobuf field optional string customer = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkString($var, True); - $this->customer = $var; - - return $this; - } - - /** - * Output only. The descriptive name of the account budget's customer. It - * appears on the invoice PDF as "Account". - * - * Generated from protobuf field optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCustomerDescriptiveName() - { - return isset($this->customer_descriptive_name) ? $this->customer_descriptive_name : ''; - } - - public function hasCustomerDescriptiveName() - { - return isset($this->customer_descriptive_name); - } - - public function clearCustomerDescriptiveName() - { - unset($this->customer_descriptive_name); - } - - /** - * Output only. The descriptive name of the account budget's customer. It - * appears on the invoice PDF as "Account". - * - * Generated from protobuf field optional string customer_descriptive_name = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCustomerDescriptiveName($var) - { - GPBUtil::checkString($var, True); - $this->customer_descriptive_name = $var; - - return $this; - } - - /** - * Output only. The resource name of the account budget associated with this - * summarized billable cost. AccountBudget resource names have the form: - * `customers/{customer_id}/accountBudgets/{account_budget_id}` - * - * Generated from protobuf field optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAccountBudget() - { - return isset($this->account_budget) ? $this->account_budget : ''; - } - - public function hasAccountBudget() - { - return isset($this->account_budget); - } - - public function clearAccountBudget() - { - unset($this->account_budget); - } - - /** - * Output only. The resource name of the account budget associated with this - * summarized billable cost. AccountBudget resource names have the form: - * `customers/{customer_id}/accountBudgets/{account_budget_id}` - * - * Generated from protobuf field optional string account_budget = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAccountBudget($var) - { - GPBUtil::checkString($var, True); - $this->account_budget = $var; - - return $this; - } - - /** - * Output only. The name of the account budget. It appears on the invoice - * PDF as "Account budget". - * - * Generated from protobuf field optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAccountBudgetName() - { - return isset($this->account_budget_name) ? $this->account_budget_name : ''; - } - - public function hasAccountBudgetName() - { - return isset($this->account_budget_name); - } - - public function clearAccountBudgetName() - { - unset($this->account_budget_name); - } - - /** - * Output only. The name of the account budget. It appears on the invoice - * PDF as "Account budget". - * - * Generated from protobuf field optional string account_budget_name = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAccountBudgetName($var) - { - GPBUtil::checkString($var, True); - $this->account_budget_name = $var; - - return $this; - } - - /** - * Output only. The purchase order number of the account budget. It appears - * on the invoice PDF as "Purchase order". - * - * Generated from protobuf field optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPurchaseOrderNumber() - { - return isset($this->purchase_order_number) ? $this->purchase_order_number : ''; - } - - public function hasPurchaseOrderNumber() - { - return isset($this->purchase_order_number); - } - - public function clearPurchaseOrderNumber() - { - unset($this->purchase_order_number); - } - - /** - * Output only. The purchase order number of the account budget. It appears - * on the invoice PDF as "Purchase order". - * - * Generated from protobuf field optional string purchase_order_number = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPurchaseOrderNumber($var) - { - GPBUtil::checkString($var, True); - $this->purchase_order_number = $var; - - return $this; - } - - /** - * Output only. The pretax subtotal amount attributable to this budget - * during the service period, in micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSubtotalAmountMicros() - { - return isset($this->subtotal_amount_micros) ? $this->subtotal_amount_micros : 0; - } - - public function hasSubtotalAmountMicros() - { - return isset($this->subtotal_amount_micros); - } - - public function clearSubtotalAmountMicros() - { - unset($this->subtotal_amount_micros); - } - - /** - * Output only. The pretax subtotal amount attributable to this budget - * during the service period, in micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. The tax amount attributable to this budget during the - * service period, in micros. - * - * Generated from protobuf field optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTaxAmountMicros() - { - return isset($this->tax_amount_micros) ? $this->tax_amount_micros : 0; - } - - public function hasTaxAmountMicros() - { - return isset($this->tax_amount_micros); - } - - public function clearTaxAmountMicros() - { - unset($this->tax_amount_micros); - } - - /** - * Output only. The tax amount attributable to this budget during the - * service period, in micros. - * - * Generated from protobuf field optional int64 tax_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. The total amount attributable to this budget during the - * service period, in micros. This equals the sum of the account budget - * subtotal amount and the account budget tax amount. - * - * Generated from protobuf field optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTotalAmountMicros() - { - return isset($this->total_amount_micros) ? $this->total_amount_micros : 0; - } - - public function hasTotalAmountMicros() - { - return isset($this->total_amount_micros); - } - - public function clearTotalAmountMicros() - { - unset($this->total_amount_micros); - } - - /** - * Output only. The total amount attributable to this budget during the - * service period, in micros. This equals the sum of the account budget - * subtotal amount and the account budget tax amount. - * - * Generated from protobuf field optional int64 total_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->total_amount_micros = $var; - - return $this; - } - - /** - * Output only. The billable activity date range of the account budget, - * within the service date range of this invoice. The end date is inclusive. - * This can be different from the account budget's start and end time. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\DateRange|null - */ - public function getBillableActivityDateRange() - { - return $this->billable_activity_date_range; - } - - public function hasBillableActivityDateRange() - { - return isset($this->billable_activity_date_range); - } - - public function clearBillableActivityDateRange() - { - unset($this->billable_activity_date_range); - } - - /** - * Output only. The billable activity date range of the account budget, - * within the service date range of this invoice. The end date is inclusive. - * This can be different from the account budget's start and end time. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange billable_activity_date_range = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\DateRange $var - * @return $this - */ - public function setBillableActivityDateRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DateRange::class); - $this->billable_activity_date_range = $var; - - return $this; - } - - /** - * Output only. The pretax served amount attributable to this budget during - * the service period, in micros. This is only useful to reconcile invoice - * and delivery data. - * - * Generated from protobuf field optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getServedAmountMicros() - { - return isset($this->served_amount_micros) ? $this->served_amount_micros : 0; - } - - public function hasServedAmountMicros() - { - return isset($this->served_amount_micros); - } - - public function clearServedAmountMicros() - { - unset($this->served_amount_micros); - } - - /** - * Output only. The pretax served amount attributable to this budget during - * the service period, in micros. This is only useful to reconcile invoice - * and delivery data. - * - * Generated from protobuf field optional int64 served_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setServedAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->served_amount_micros = $var; - - return $this; - } - - /** - * Output only. The pretax billed amount attributable to this budget during - * the service period, in micros. This does not account for any adjustments. - * - * Generated from protobuf field optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getBilledAmountMicros() - { - return isset($this->billed_amount_micros) ? $this->billed_amount_micros : 0; - } - - public function hasBilledAmountMicros() - { - return isset($this->billed_amount_micros); - } - - public function clearBilledAmountMicros() - { - unset($this->billed_amount_micros); - } - - /** - * Output only. The pretax billed amount attributable to this budget during - * the service period, in micros. This does not account for any adjustments. - * - * Generated from protobuf field optional int64 billed_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setBilledAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->billed_amount_micros = $var; - - return $this; - } - - /** - * Output only. The pretax overdelivery amount attributable to this budget - * during the service period, in micros (negative value). - * - * Generated from protobuf field optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getOverdeliveryAmountMicros() - { - return isset($this->overdelivery_amount_micros) ? $this->overdelivery_amount_micros : 0; - } - - public function hasOverdeliveryAmountMicros() - { - return isset($this->overdelivery_amount_micros); - } - - public function clearOverdeliveryAmountMicros() - { - unset($this->overdelivery_amount_micros); - } - - /** - * Output only. The pretax overdelivery amount attributable to this budget - * during the service period, in micros (negative value). - * - * Generated from protobuf field optional int64 overdelivery_amount_micros = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setOverdeliveryAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->overdelivery_amount_micros = $var; - - return $this; - } - - /** - * Output only. The pretax invalid activity amount attributable to this - * budget in previous months, in micros (negative value). - * - * Generated from protobuf field optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getInvalidActivityAmountMicros() - { - return isset($this->invalid_activity_amount_micros) ? $this->invalid_activity_amount_micros : 0; - } - - public function hasInvalidActivityAmountMicros() - { - return isset($this->invalid_activity_amount_micros); - } - - public function clearInvalidActivityAmountMicros() - { - unset($this->invalid_activity_amount_micros); - } - - /** - * Output only. The pretax invalid activity amount attributable to this - * budget in previous months, in micros (negative value). - * - * Generated from protobuf field optional int64 invalid_activity_amount_micros = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setInvalidActivityAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->invalid_activity_amount_micros = $var; - - return $this; - } - - /** - * Output only. The list of summarized invalid activity credits with - * original linkages. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInvalidActivitySummaries() - { - return $this->invalid_activity_summaries; - } - - /** - * Output only. The list of summarized invalid activity credits with - * original linkages. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice.InvalidActivitySummary invalid_activity_summaries = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Invoice\InvalidActivitySummary>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInvalidActivitySummaries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Invoice\InvalidActivitySummary::class); - $this->invalid_activity_summaries = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccountBudgetSummary::class, \Google\Ads\GoogleAds\V15\Resources\Invoice_AccountBudgetSummary::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Invoice/AccountSummary.php b/src/Google/Ads/GoogleAds/V15/Resources/Invoice/AccountSummary.php deleted file mode 100644 index 7462c0d7e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Invoice/AccountSummary.php +++ /dev/null @@ -1,888 +0,0 @@ -google.ads.googleads.v15.resources.Invoice.AccountSummary - */ -class AccountSummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The account associated with the account summary. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $customer = null; - /** - * Output only. Pretax billing correction subtotal amount, in micros. - * - * Generated from protobuf field optional int64 billing_correction_subtotal_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $billing_correction_subtotal_amount_micros = null; - /** - * Output only. Tax on billing correction, in micros. - * - * Generated from protobuf field optional int64 billing_correction_tax_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $billing_correction_tax_amount_micros = null; - /** - * Output only. Total billing correction amount, in micros. - * - * Generated from protobuf field optional int64 billing_correction_total_amount_micros = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $billing_correction_total_amount_micros = null; - /** - * Output only. Pretax coupon adjustment subtotal amount, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_subtotal_amount_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $coupon_adjustment_subtotal_amount_micros = null; - /** - * Output only. Tax on coupon adjustment, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_tax_amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $coupon_adjustment_tax_amount_micros = null; - /** - * Output only. Total coupon adjustment amount, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_total_amount_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $coupon_adjustment_total_amount_micros = null; - /** - * Output only. Pretax excess credit adjustment subtotal amount, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_subtotal_amount_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $excess_credit_adjustment_subtotal_amount_micros = null; - /** - * Output only. Tax on excess credit adjustment, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_tax_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $excess_credit_adjustment_tax_amount_micros = null; - /** - * Output only. Total excess credit adjustment amount, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_total_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $excess_credit_adjustment_total_amount_micros = null; - /** - * Output only. Pretax regulatory costs subtotal amount, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_subtotal_amount_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $regulatory_costs_subtotal_amount_micros = null; - /** - * Output only. Tax on regulatory costs, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_tax_amount_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $regulatory_costs_tax_amount_micros = null; - /** - * Output only. Total regulatory costs amount, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_total_amount_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $regulatory_costs_total_amount_micros = null; - /** - * Output only. Pretax export charge subtotal amount, in micros. - * - * Generated from protobuf field optional int64 export_charge_subtotal_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $export_charge_subtotal_amount_micros = null; - /** - * Output only. Tax on export charge, in micros. - * - * Generated from protobuf field optional int64 export_charge_tax_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $export_charge_tax_amount_micros = null; - /** - * Output only. Total export charge amount, in micros. - * - * Generated from protobuf field optional int64 export_charge_total_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $export_charge_total_amount_micros = null; - /** - * Output only. Total pretax subtotal amount attributable to the account - * during the service period, in micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $subtotal_amount_micros = null; - /** - * Output only. Total tax amount attributable to the account during the - * service period, in micros. - * - * Generated from protobuf field optional int64 tax_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $tax_amount_micros = null; - /** - * Output only. Total amount attributable to the account during the service - * period, in micros. This equals the sum of the subtotal_amount_micros and - * tax_amount_micros. - * - * Generated from protobuf field optional int64 total_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $total_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer - * Output only. The account associated with the account summary. - * @type int|string $billing_correction_subtotal_amount_micros - * Output only. Pretax billing correction subtotal amount, in micros. - * @type int|string $billing_correction_tax_amount_micros - * Output only. Tax on billing correction, in micros. - * @type int|string $billing_correction_total_amount_micros - * Output only. Total billing correction amount, in micros. - * @type int|string $coupon_adjustment_subtotal_amount_micros - * Output only. Pretax coupon adjustment subtotal amount, in micros. - * @type int|string $coupon_adjustment_tax_amount_micros - * Output only. Tax on coupon adjustment, in micros. - * @type int|string $coupon_adjustment_total_amount_micros - * Output only. Total coupon adjustment amount, in micros. - * @type int|string $excess_credit_adjustment_subtotal_amount_micros - * Output only. Pretax excess credit adjustment subtotal amount, in micros. - * @type int|string $excess_credit_adjustment_tax_amount_micros - * Output only. Tax on excess credit adjustment, in micros. - * @type int|string $excess_credit_adjustment_total_amount_micros - * Output only. Total excess credit adjustment amount, in micros. - * @type int|string $regulatory_costs_subtotal_amount_micros - * Output only. Pretax regulatory costs subtotal amount, in micros. - * @type int|string $regulatory_costs_tax_amount_micros - * Output only. Tax on regulatory costs, in micros. - * @type int|string $regulatory_costs_total_amount_micros - * Output only. Total regulatory costs amount, in micros. - * @type int|string $export_charge_subtotal_amount_micros - * Output only. Pretax export charge subtotal amount, in micros. - * @type int|string $export_charge_tax_amount_micros - * Output only. Tax on export charge, in micros. - * @type int|string $export_charge_total_amount_micros - * Output only. Total export charge amount, in micros. - * @type int|string $subtotal_amount_micros - * Output only. Total pretax subtotal amount attributable to the account - * during the service period, in micros. - * @type int|string $tax_amount_micros - * Output only. Total tax amount attributable to the account during the - * service period, in micros. - * @type int|string $total_amount_micros - * Output only. Total amount attributable to the account during the service - * period, in micros. This equals the sum of the subtotal_amount_micros and - * tax_amount_micros. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Invoice::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The account associated with the account summary. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCustomer() - { - return isset($this->customer) ? $this->customer : ''; - } - - public function hasCustomer() - { - return isset($this->customer); - } - - public function clearCustomer() - { - unset($this->customer); - } - - /** - * Output only. The account associated with the account summary. - * - * Generated from protobuf field optional string customer = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkString($var, True); - $this->customer = $var; - - return $this; - } - - /** - * Output only. Pretax billing correction subtotal amount, in micros. - * - * Generated from protobuf field optional int64 billing_correction_subtotal_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getBillingCorrectionSubtotalAmountMicros() - { - return isset($this->billing_correction_subtotal_amount_micros) ? $this->billing_correction_subtotal_amount_micros : 0; - } - - public function hasBillingCorrectionSubtotalAmountMicros() - { - return isset($this->billing_correction_subtotal_amount_micros); - } - - public function clearBillingCorrectionSubtotalAmountMicros() - { - unset($this->billing_correction_subtotal_amount_micros); - } - - /** - * Output only. Pretax billing correction subtotal amount, in micros. - * - * Generated from protobuf field optional int64 billing_correction_subtotal_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setBillingCorrectionSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->billing_correction_subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. Tax on billing correction, in micros. - * - * Generated from protobuf field optional int64 billing_correction_tax_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getBillingCorrectionTaxAmountMicros() - { - return isset($this->billing_correction_tax_amount_micros) ? $this->billing_correction_tax_amount_micros : 0; - } - - public function hasBillingCorrectionTaxAmountMicros() - { - return isset($this->billing_correction_tax_amount_micros); - } - - public function clearBillingCorrectionTaxAmountMicros() - { - unset($this->billing_correction_tax_amount_micros); - } - - /** - * Output only. Tax on billing correction, in micros. - * - * Generated from protobuf field optional int64 billing_correction_tax_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setBillingCorrectionTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->billing_correction_tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. Total billing correction amount, in micros. - * - * Generated from protobuf field optional int64 billing_correction_total_amount_micros = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getBillingCorrectionTotalAmountMicros() - { - return isset($this->billing_correction_total_amount_micros) ? $this->billing_correction_total_amount_micros : 0; - } - - public function hasBillingCorrectionTotalAmountMicros() - { - return isset($this->billing_correction_total_amount_micros); - } - - public function clearBillingCorrectionTotalAmountMicros() - { - unset($this->billing_correction_total_amount_micros); - } - - /** - * Output only. Total billing correction amount, in micros. - * - * Generated from protobuf field optional int64 billing_correction_total_amount_micros = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setBillingCorrectionTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->billing_correction_total_amount_micros = $var; - - return $this; - } - - /** - * Output only. Pretax coupon adjustment subtotal amount, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_subtotal_amount_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCouponAdjustmentSubtotalAmountMicros() - { - return isset($this->coupon_adjustment_subtotal_amount_micros) ? $this->coupon_adjustment_subtotal_amount_micros : 0; - } - - public function hasCouponAdjustmentSubtotalAmountMicros() - { - return isset($this->coupon_adjustment_subtotal_amount_micros); - } - - public function clearCouponAdjustmentSubtotalAmountMicros() - { - unset($this->coupon_adjustment_subtotal_amount_micros); - } - - /** - * Output only. Pretax coupon adjustment subtotal amount, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_subtotal_amount_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCouponAdjustmentSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->coupon_adjustment_subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. Tax on coupon adjustment, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_tax_amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCouponAdjustmentTaxAmountMicros() - { - return isset($this->coupon_adjustment_tax_amount_micros) ? $this->coupon_adjustment_tax_amount_micros : 0; - } - - public function hasCouponAdjustmentTaxAmountMicros() - { - return isset($this->coupon_adjustment_tax_amount_micros); - } - - public function clearCouponAdjustmentTaxAmountMicros() - { - unset($this->coupon_adjustment_tax_amount_micros); - } - - /** - * Output only. Tax on coupon adjustment, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_tax_amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCouponAdjustmentTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->coupon_adjustment_tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. Total coupon adjustment amount, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_total_amount_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCouponAdjustmentTotalAmountMicros() - { - return isset($this->coupon_adjustment_total_amount_micros) ? $this->coupon_adjustment_total_amount_micros : 0; - } - - public function hasCouponAdjustmentTotalAmountMicros() - { - return isset($this->coupon_adjustment_total_amount_micros); - } - - public function clearCouponAdjustmentTotalAmountMicros() - { - unset($this->coupon_adjustment_total_amount_micros); - } - - /** - * Output only. Total coupon adjustment amount, in micros. - * - * Generated from protobuf field optional int64 coupon_adjustment_total_amount_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCouponAdjustmentTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->coupon_adjustment_total_amount_micros = $var; - - return $this; - } - - /** - * Output only. Pretax excess credit adjustment subtotal amount, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_subtotal_amount_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExcessCreditAdjustmentSubtotalAmountMicros() - { - return isset($this->excess_credit_adjustment_subtotal_amount_micros) ? $this->excess_credit_adjustment_subtotal_amount_micros : 0; - } - - public function hasExcessCreditAdjustmentSubtotalAmountMicros() - { - return isset($this->excess_credit_adjustment_subtotal_amount_micros); - } - - public function clearExcessCreditAdjustmentSubtotalAmountMicros() - { - unset($this->excess_credit_adjustment_subtotal_amount_micros); - } - - /** - * Output only. Pretax excess credit adjustment subtotal amount, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_subtotal_amount_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExcessCreditAdjustmentSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->excess_credit_adjustment_subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. Tax on excess credit adjustment, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_tax_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExcessCreditAdjustmentTaxAmountMicros() - { - return isset($this->excess_credit_adjustment_tax_amount_micros) ? $this->excess_credit_adjustment_tax_amount_micros : 0; - } - - public function hasExcessCreditAdjustmentTaxAmountMicros() - { - return isset($this->excess_credit_adjustment_tax_amount_micros); - } - - public function clearExcessCreditAdjustmentTaxAmountMicros() - { - unset($this->excess_credit_adjustment_tax_amount_micros); - } - - /** - * Output only. Tax on excess credit adjustment, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_tax_amount_micros = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExcessCreditAdjustmentTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->excess_credit_adjustment_tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. Total excess credit adjustment amount, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_total_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExcessCreditAdjustmentTotalAmountMicros() - { - return isset($this->excess_credit_adjustment_total_amount_micros) ? $this->excess_credit_adjustment_total_amount_micros : 0; - } - - public function hasExcessCreditAdjustmentTotalAmountMicros() - { - return isset($this->excess_credit_adjustment_total_amount_micros); - } - - public function clearExcessCreditAdjustmentTotalAmountMicros() - { - unset($this->excess_credit_adjustment_total_amount_micros); - } - - /** - * Output only. Total excess credit adjustment amount, in micros. - * - * Generated from protobuf field optional int64 excess_credit_adjustment_total_amount_micros = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExcessCreditAdjustmentTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->excess_credit_adjustment_total_amount_micros = $var; - - return $this; - } - - /** - * Output only. Pretax regulatory costs subtotal amount, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_subtotal_amount_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRegulatoryCostsSubtotalAmountMicros() - { - return isset($this->regulatory_costs_subtotal_amount_micros) ? $this->regulatory_costs_subtotal_amount_micros : 0; - } - - public function hasRegulatoryCostsSubtotalAmountMicros() - { - return isset($this->regulatory_costs_subtotal_amount_micros); - } - - public function clearRegulatoryCostsSubtotalAmountMicros() - { - unset($this->regulatory_costs_subtotal_amount_micros); - } - - /** - * Output only. Pretax regulatory costs subtotal amount, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_subtotal_amount_micros = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRegulatoryCostsSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->regulatory_costs_subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. Tax on regulatory costs, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_tax_amount_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRegulatoryCostsTaxAmountMicros() - { - return isset($this->regulatory_costs_tax_amount_micros) ? $this->regulatory_costs_tax_amount_micros : 0; - } - - public function hasRegulatoryCostsTaxAmountMicros() - { - return isset($this->regulatory_costs_tax_amount_micros); - } - - public function clearRegulatoryCostsTaxAmountMicros() - { - unset($this->regulatory_costs_tax_amount_micros); - } - - /** - * Output only. Tax on regulatory costs, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_tax_amount_micros = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRegulatoryCostsTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->regulatory_costs_tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. Total regulatory costs amount, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_total_amount_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRegulatoryCostsTotalAmountMicros() - { - return isset($this->regulatory_costs_total_amount_micros) ? $this->regulatory_costs_total_amount_micros : 0; - } - - public function hasRegulatoryCostsTotalAmountMicros() - { - return isset($this->regulatory_costs_total_amount_micros); - } - - public function clearRegulatoryCostsTotalAmountMicros() - { - unset($this->regulatory_costs_total_amount_micros); - } - - /** - * Output only. Total regulatory costs amount, in micros. - * - * Generated from protobuf field optional int64 regulatory_costs_total_amount_micros = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRegulatoryCostsTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->regulatory_costs_total_amount_micros = $var; - - return $this; - } - - /** - * Output only. Pretax export charge subtotal amount, in micros. - * - * Generated from protobuf field optional int64 export_charge_subtotal_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExportChargeSubtotalAmountMicros() - { - return isset($this->export_charge_subtotal_amount_micros) ? $this->export_charge_subtotal_amount_micros : 0; - } - - public function hasExportChargeSubtotalAmountMicros() - { - return isset($this->export_charge_subtotal_amount_micros); - } - - public function clearExportChargeSubtotalAmountMicros() - { - unset($this->export_charge_subtotal_amount_micros); - } - - /** - * Output only. Pretax export charge subtotal amount, in micros. - * - * Generated from protobuf field optional int64 export_charge_subtotal_amount_micros = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExportChargeSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->export_charge_subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. Tax on export charge, in micros. - * - * Generated from protobuf field optional int64 export_charge_tax_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExportChargeTaxAmountMicros() - { - return isset($this->export_charge_tax_amount_micros) ? $this->export_charge_tax_amount_micros : 0; - } - - public function hasExportChargeTaxAmountMicros() - { - return isset($this->export_charge_tax_amount_micros); - } - - public function clearExportChargeTaxAmountMicros() - { - unset($this->export_charge_tax_amount_micros); - } - - /** - * Output only. Tax on export charge, in micros. - * - * Generated from protobuf field optional int64 export_charge_tax_amount_micros = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExportChargeTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->export_charge_tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. Total export charge amount, in micros. - * - * Generated from protobuf field optional int64 export_charge_total_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getExportChargeTotalAmountMicros() - { - return isset($this->export_charge_total_amount_micros) ? $this->export_charge_total_amount_micros : 0; - } - - public function hasExportChargeTotalAmountMicros() - { - return isset($this->export_charge_total_amount_micros); - } - - public function clearExportChargeTotalAmountMicros() - { - unset($this->export_charge_total_amount_micros); - } - - /** - * Output only. Total export charge amount, in micros. - * - * Generated from protobuf field optional int64 export_charge_total_amount_micros = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setExportChargeTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->export_charge_total_amount_micros = $var; - - return $this; - } - - /** - * Output only. Total pretax subtotal amount attributable to the account - * during the service period, in micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSubtotalAmountMicros() - { - return isset($this->subtotal_amount_micros) ? $this->subtotal_amount_micros : 0; - } - - public function hasSubtotalAmountMicros() - { - return isset($this->subtotal_amount_micros); - } - - public function clearSubtotalAmountMicros() - { - unset($this->subtotal_amount_micros); - } - - /** - * Output only. Total pretax subtotal amount attributable to the account - * during the service period, in micros. - * - * Generated from protobuf field optional int64 subtotal_amount_micros = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSubtotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->subtotal_amount_micros = $var; - - return $this; - } - - /** - * Output only. Total tax amount attributable to the account during the - * service period, in micros. - * - * Generated from protobuf field optional int64 tax_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTaxAmountMicros() - { - return isset($this->tax_amount_micros) ? $this->tax_amount_micros : 0; - } - - public function hasTaxAmountMicros() - { - return isset($this->tax_amount_micros); - } - - public function clearTaxAmountMicros() - { - unset($this->tax_amount_micros); - } - - /** - * Output only. Total tax amount attributable to the account during the - * service period, in micros. - * - * Generated from protobuf field optional int64 tax_amount_micros = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTaxAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->tax_amount_micros = $var; - - return $this; - } - - /** - * Output only. Total amount attributable to the account during the service - * period, in micros. This equals the sum of the subtotal_amount_micros and - * tax_amount_micros. - * - * Generated from protobuf field optional int64 total_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTotalAmountMicros() - { - return isset($this->total_amount_micros) ? $this->total_amount_micros : 0; - } - - public function hasTotalAmountMicros() - { - return isset($this->total_amount_micros); - } - - public function clearTotalAmountMicros() - { - unset($this->total_amount_micros); - } - - /** - * Output only. Total amount attributable to the account during the service - * period, in micros. This equals the sum of the subtotal_amount_micros and - * tax_amount_micros. - * - * Generated from protobuf field optional int64 total_amount_micros = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTotalAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->total_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AccountSummary::class, \Google\Ads\GoogleAds\V15\Resources\Invoice_AccountSummary::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Invoice/InvalidActivitySummary.php b/src/Google/Ads/GoogleAds/V15/Resources/Invoice/InvalidActivitySummary.php deleted file mode 100644 index 6cf4961f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Invoice/InvalidActivitySummary.php +++ /dev/null @@ -1,321 +0,0 @@ -google.ads.googleads.v15.resources.Invoice.InvalidActivitySummary - */ -class InvalidActivitySummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Original month of service related to this invalid activity - * credit. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear original_month_of_service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $original_month_of_service = null; - /** - * Output only. Original year of service related to this invalid activity - * credit. - * - * Generated from protobuf field optional string original_year_of_service = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $original_year_of_service = null; - /** - * Output only. Original invoice number related to this invalid activity - * credit. - * - * Generated from protobuf field optional string original_invoice_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $original_invoice_id = null; - /** - * Output only. Original account budget name related to this invalid - * activity credit. - * - * Generated from protobuf field optional string original_account_budget_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $original_account_budget_name = null; - /** - * Output only. Original purchase order number related to this invalid - * activity credit. - * - * Generated from protobuf field optional string original_purchase_order_number = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $original_purchase_order_number = null; - /** - * Output only. Invalid activity amount in micros. - * - * Generated from protobuf field optional int64 amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $original_month_of_service - * Output only. Original month of service related to this invalid activity - * credit. - * @type string $original_year_of_service - * Output only. Original year of service related to this invalid activity - * credit. - * @type string $original_invoice_id - * Output only. Original invoice number related to this invalid activity - * credit. - * @type string $original_account_budget_name - * Output only. Original account budget name related to this invalid - * activity credit. - * @type string $original_purchase_order_number - * Output only. Original purchase order number related to this invalid - * activity credit. - * @type int|string $amount_micros - * Output only. Invalid activity amount in micros. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Invoice::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Original month of service related to this invalid activity - * credit. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear original_month_of_service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getOriginalMonthOfService() - { - return isset($this->original_month_of_service) ? $this->original_month_of_service : 0; - } - - public function hasOriginalMonthOfService() - { - return isset($this->original_month_of_service); - } - - public function clearOriginalMonthOfService() - { - unset($this->original_month_of_service); - } - - /** - * Output only. Original month of service related to this invalid activity - * credit. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear original_month_of_service = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setOriginalMonthOfService($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MonthOfYearEnum\MonthOfYear::class); - $this->original_month_of_service = $var; - - return $this; - } - - /** - * Output only. Original year of service related to this invalid activity - * credit. - * - * Generated from protobuf field optional string original_year_of_service = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOriginalYearOfService() - { - return isset($this->original_year_of_service) ? $this->original_year_of_service : ''; - } - - public function hasOriginalYearOfService() - { - return isset($this->original_year_of_service); - } - - public function clearOriginalYearOfService() - { - unset($this->original_year_of_service); - } - - /** - * Output only. Original year of service related to this invalid activity - * credit. - * - * Generated from protobuf field optional string original_year_of_service = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOriginalYearOfService($var) - { - GPBUtil::checkString($var, True); - $this->original_year_of_service = $var; - - return $this; - } - - /** - * Output only. Original invoice number related to this invalid activity - * credit. - * - * Generated from protobuf field optional string original_invoice_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOriginalInvoiceId() - { - return isset($this->original_invoice_id) ? $this->original_invoice_id : ''; - } - - public function hasOriginalInvoiceId() - { - return isset($this->original_invoice_id); - } - - public function clearOriginalInvoiceId() - { - unset($this->original_invoice_id); - } - - /** - * Output only. Original invoice number related to this invalid activity - * credit. - * - * Generated from protobuf field optional string original_invoice_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOriginalInvoiceId($var) - { - GPBUtil::checkString($var, True); - $this->original_invoice_id = $var; - - return $this; - } - - /** - * Output only. Original account budget name related to this invalid - * activity credit. - * - * Generated from protobuf field optional string original_account_budget_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOriginalAccountBudgetName() - { - return isset($this->original_account_budget_name) ? $this->original_account_budget_name : ''; - } - - public function hasOriginalAccountBudgetName() - { - return isset($this->original_account_budget_name); - } - - public function clearOriginalAccountBudgetName() - { - unset($this->original_account_budget_name); - } - - /** - * Output only. Original account budget name related to this invalid - * activity credit. - * - * Generated from protobuf field optional string original_account_budget_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOriginalAccountBudgetName($var) - { - GPBUtil::checkString($var, True); - $this->original_account_budget_name = $var; - - return $this; - } - - /** - * Output only. Original purchase order number related to this invalid - * activity credit. - * - * Generated from protobuf field optional string original_purchase_order_number = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOriginalPurchaseOrderNumber() - { - return isset($this->original_purchase_order_number) ? $this->original_purchase_order_number : ''; - } - - public function hasOriginalPurchaseOrderNumber() - { - return isset($this->original_purchase_order_number); - } - - public function clearOriginalPurchaseOrderNumber() - { - unset($this->original_purchase_order_number); - } - - /** - * Output only. Original purchase order number related to this invalid - * activity credit. - * - * Generated from protobuf field optional string original_purchase_order_number = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOriginalPurchaseOrderNumber($var) - { - GPBUtil::checkString($var, True); - $this->original_purchase_order_number = $var; - - return $this; - } - - /** - * Output only. Invalid activity amount in micros. - * - * Generated from protobuf field optional int64 amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAmountMicros() - { - return isset($this->amount_micros) ? $this->amount_micros : 0; - } - - public function hasAmountMicros() - { - return isset($this->amount_micros); - } - - public function clearAmountMicros() - { - unset($this->amount_micros); - } - - /** - * Output only. Invalid activity amount in micros. - * - * Generated from protobuf field optional int64 amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InvalidActivitySummary::class, \Google\Ads\GoogleAds\V15\Resources\Invoice_InvalidActivitySummary::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlan.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlan.php deleted file mode 100644 index 8e0c7ba6e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlan.php +++ /dev/null @@ -1,217 +0,0 @@ -google.ads.googleads.v15.resources.KeywordPlan - */ -class KeywordPlan extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Keyword Planner plan. - * KeywordPlan resource names have the form: - * `customers/{customer_id}/keywordPlans/{kp_plan_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the keyword plan. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the keyword plan. - * This field is required and should not be empty when creating new keyword - * plans. - * - * Generated from protobuf field optional string name = 6; - */ - protected $name = null; - /** - * The date period used for forecasting the plan. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanForecastPeriod forecast_period = 4; - */ - protected $forecast_period = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the Keyword Planner plan. - * KeywordPlan resource names have the form: - * `customers/{customer_id}/keywordPlans/{kp_plan_id}` - * @type int|string $id - * Output only. The ID of the keyword plan. - * @type string $name - * The name of the keyword plan. - * This field is required and should not be empty when creating new keyword - * plans. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanForecastPeriod $forecast_period - * The date period used for forecasting the plan. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordPlan::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Keyword Planner plan. - * KeywordPlan resource names have the form: - * `customers/{customer_id}/keywordPlans/{kp_plan_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the Keyword Planner plan. - * KeywordPlan resource names have the form: - * `customers/{customer_id}/keywordPlans/{kp_plan_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the keyword plan. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the keyword plan. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the keyword plan. - * This field is required and should not be empty when creating new keyword - * plans. - * - * Generated from protobuf field optional string name = 6; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the keyword plan. - * This field is required and should not be empty when creating new keyword - * plans. - * - * Generated from protobuf field optional string name = 6; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The date period used for forecasting the plan. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanForecastPeriod forecast_period = 4; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanForecastPeriod|null - */ - public function getForecastPeriod() - { - return $this->forecast_period; - } - - public function hasForecastPeriod() - { - return isset($this->forecast_period); - } - - public function clearForecastPeriod() - { - unset($this->forecast_period); - } - - /** - * The date period used for forecasting the plan. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanForecastPeriod forecast_period = 4; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanForecastPeriod $var - * @return $this - */ - public function setForecastPeriod($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanForecastPeriod::class); - $this->forecast_period = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroup.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroup.php deleted file mode 100644 index 2fb9953fb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroup.php +++ /dev/null @@ -1,268 +0,0 @@ -google.ads.googleads.v15.resources.KeywordPlanAdGroup - */ -class KeywordPlanAdGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Keyword Planner ad group. - * KeywordPlanAdGroup resource names have the form: - * `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The keyword plan campaign to which this ad group belongs. - * - * Generated from protobuf field optional string keyword_plan_campaign = 6 [(.google.api.resource_reference) = { - */ - protected $keyword_plan_campaign = null; - /** - * Output only. The ID of the keyword plan ad group. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the keyword plan ad group. - * This field is required and should not be empty when creating keyword plan - * ad group. - * - * Generated from protobuf field optional string name = 8; - */ - protected $name = null; - /** - * A default ad group max cpc bid in micros in account currency for all - * biddable keywords under the keyword plan ad group. - * If not set, will inherit from parent campaign. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 9; - */ - protected $cpc_bid_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the Keyword Planner ad group. - * KeywordPlanAdGroup resource names have the form: - * `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - * @type string $keyword_plan_campaign - * The keyword plan campaign to which this ad group belongs. - * @type int|string $id - * Output only. The ID of the keyword plan ad group. - * @type string $name - * The name of the keyword plan ad group. - * This field is required and should not be empty when creating keyword plan - * ad group. - * @type int|string $cpc_bid_micros - * A default ad group max cpc bid in micros in account currency for all - * biddable keywords under the keyword plan ad group. - * If not set, will inherit from parent campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Keyword Planner ad group. - * KeywordPlanAdGroup resource names have the form: - * `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the Keyword Planner ad group. - * KeywordPlanAdGroup resource names have the form: - * `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The keyword plan campaign to which this ad group belongs. - * - * Generated from protobuf field optional string keyword_plan_campaign = 6 [(.google.api.resource_reference) = { - * @return string - */ - public function getKeywordPlanCampaign() - { - return isset($this->keyword_plan_campaign) ? $this->keyword_plan_campaign : ''; - } - - public function hasKeywordPlanCampaign() - { - return isset($this->keyword_plan_campaign); - } - - public function clearKeywordPlanCampaign() - { - unset($this->keyword_plan_campaign); - } - - /** - * The keyword plan campaign to which this ad group belongs. - * - * Generated from protobuf field optional string keyword_plan_campaign = 6 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setKeywordPlanCampaign($var) - { - GPBUtil::checkString($var, True); - $this->keyword_plan_campaign = $var; - - return $this; - } - - /** - * Output only. The ID of the keyword plan ad group. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the keyword plan ad group. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the keyword plan ad group. - * This field is required and should not be empty when creating keyword plan - * ad group. - * - * Generated from protobuf field optional string name = 8; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the keyword plan ad group. - * This field is required and should not be empty when creating keyword plan - * ad group. - * - * Generated from protobuf field optional string name = 8; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * A default ad group max cpc bid in micros in account currency for all - * biddable keywords under the keyword plan ad group. - * If not set, will inherit from parent campaign. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 9; - * @return int|string - */ - public function getCpcBidMicros() - { - return isset($this->cpc_bid_micros) ? $this->cpc_bid_micros : 0; - } - - public function hasCpcBidMicros() - { - return isset($this->cpc_bid_micros); - } - - public function clearCpcBidMicros() - { - unset($this->cpc_bid_micros); - } - - /** - * A default ad group max cpc bid in micros in account currency for all - * biddable keywords under the keyword plan ad group. - * If not set, will inherit from parent campaign. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 9; - * @param int|string $var - * @return $this - */ - public function setCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroupKeyword.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroupKeyword.php deleted file mode 100644 index 26e660d6c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroupKeyword.php +++ /dev/null @@ -1,342 +0,0 @@ -google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword - */ -class KeywordPlanAdGroupKeyword extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Keyword Plan ad group keyword. - * KeywordPlanAdGroupKeyword resource names have the form: - * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The Keyword Plan ad group to which this keyword belongs. - * - * Generated from protobuf field optional string keyword_plan_ad_group = 8 [(.google.api.resource_reference) = { - */ - protected $keyword_plan_ad_group = null; - /** - * Output only. The ID of the Keyword Plan keyword. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The keyword text. - * - * Generated from protobuf field optional string text = 10; - */ - protected $text = null; - /** - * The keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - */ - protected $match_type = 0; - /** - * A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency - * is the same as the account currency code. This will override any CPC bid - * set at the keyword plan ad group level. Not applicable for negative - * keywords. (negative = true) This field is Optional. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 11; - */ - protected $cpc_bid_micros = null; - /** - * Immutable. If true, the keyword is negative. - * - * Generated from protobuf field optional bool negative = 12 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $negative = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the Keyword Plan ad group keyword. - * KeywordPlanAdGroupKeyword resource names have the form: - * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - * @type string $keyword_plan_ad_group - * The Keyword Plan ad group to which this keyword belongs. - * @type int|string $id - * Output only. The ID of the Keyword Plan keyword. - * @type string $text - * The keyword text. - * @type int $match_type - * The keyword match type. - * @type int|string $cpc_bid_micros - * A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency - * is the same as the account currency code. This will override any CPC bid - * set at the keyword plan ad group level. Not applicable for negative - * keywords. (negative = true) This field is Optional. - * @type bool $negative - * Immutable. If true, the keyword is negative. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Keyword Plan ad group keyword. - * KeywordPlanAdGroupKeyword resource names have the form: - * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the Keyword Plan ad group keyword. - * KeywordPlanAdGroupKeyword resource names have the form: - * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The Keyword Plan ad group to which this keyword belongs. - * - * Generated from protobuf field optional string keyword_plan_ad_group = 8 [(.google.api.resource_reference) = { - * @return string - */ - public function getKeywordPlanAdGroup() - { - return isset($this->keyword_plan_ad_group) ? $this->keyword_plan_ad_group : ''; - } - - public function hasKeywordPlanAdGroup() - { - return isset($this->keyword_plan_ad_group); - } - - public function clearKeywordPlanAdGroup() - { - unset($this->keyword_plan_ad_group); - } - - /** - * The Keyword Plan ad group to which this keyword belongs. - * - * Generated from protobuf field optional string keyword_plan_ad_group = 8 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setKeywordPlanAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->keyword_plan_ad_group = $var; - - return $this; - } - - /** - * Output only. The ID of the Keyword Plan keyword. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the Keyword Plan keyword. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The keyword text. - * - * Generated from protobuf field optional string text = 10; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * The keyword text. - * - * Generated from protobuf field optional string text = 10; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - * @return int - */ - public function getMatchType() - { - return $this->match_type; - } - - /** - * The keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - * @param int $var - * @return $this - */ - public function setMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordMatchTypeEnum\KeywordMatchType::class); - $this->match_type = $var; - - return $this; - } - - /** - * A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency - * is the same as the account currency code. This will override any CPC bid - * set at the keyword plan ad group level. Not applicable for negative - * keywords. (negative = true) This field is Optional. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 11; - * @return int|string - */ - public function getCpcBidMicros() - { - return isset($this->cpc_bid_micros) ? $this->cpc_bid_micros : 0; - } - - public function hasCpcBidMicros() - { - return isset($this->cpc_bid_micros); - } - - public function clearCpcBidMicros() - { - unset($this->cpc_bid_micros); - } - - /** - * A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency - * is the same as the account currency code. This will override any CPC bid - * set at the keyword plan ad group level. Not applicable for negative - * keywords. (negative = true) This field is Optional. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 11; - * @param int|string $var - * @return $this - */ - public function setCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_micros = $var; - - return $this; - } - - /** - * Immutable. If true, the keyword is negative. - * - * Generated from protobuf field optional bool negative = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getNegative() - { - return isset($this->negative) ? $this->negative : false; - } - - public function hasNegative() - { - return isset($this->negative); - } - - public function clearNegative() - { - unset($this->negative); - } - - /** - * Immutable. If true, the keyword is negative. - * - * Generated from protobuf field optional bool negative = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setNegative($var) - { - GPBUtil::checkBool($var); - $this->negative = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaign.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaign.php deleted file mode 100644 index dbae27402..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaign.php +++ /dev/null @@ -1,390 +0,0 @@ -google.ads.googleads.v15.resources.KeywordPlanCampaign - */ -class KeywordPlanCampaign extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Keyword Plan campaign. - * KeywordPlanCampaign resource names have the form: - * `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The keyword plan this campaign belongs to. - * - * Generated from protobuf field optional string keyword_plan = 9 [(.google.api.resource_reference) = { - */ - protected $keyword_plan = null; - /** - * Output only. The ID of the Keyword Plan campaign. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the Keyword Plan campaign. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field optional string name = 11; - */ - protected $name = null; - /** - * The languages targeted for the Keyword Plan campaign. - * Max allowed: 1. - * - * Generated from protobuf field repeated string language_constants = 12 [(.google.api.resource_reference) = { - */ - private $language_constants; - /** - * Targeting network. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6; - */ - protected $keyword_plan_network = 0; - /** - * A default max cpc bid in micros, and in the account currency, for all ad - * groups under the campaign. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 13; - */ - protected $cpc_bid_micros = null; - /** - * The geo targets. - * Max number allowed: 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.KeywordPlanGeoTarget geo_targets = 8; - */ - private $geo_targets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the Keyword Plan campaign. - * KeywordPlanCampaign resource names have the form: - * `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` - * @type string $keyword_plan - * The keyword plan this campaign belongs to. - * @type int|string $id - * Output only. The ID of the Keyword Plan campaign. - * @type string $name - * The name of the Keyword Plan campaign. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * @type array|\Google\Protobuf\Internal\RepeatedField $language_constants - * The languages targeted for the Keyword Plan campaign. - * Max allowed: 1. - * @type int $keyword_plan_network - * Targeting network. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * @type int|string $cpc_bid_micros - * A default max cpc bid in micros, and in the account currency, for all ad - * groups under the campaign. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * @type array<\Google\Ads\GoogleAds\V15\Resources\KeywordPlanGeoTarget>|\Google\Protobuf\Internal\RepeatedField $geo_targets - * The geo targets. - * Max number allowed: 20. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Keyword Plan campaign. - * KeywordPlanCampaign resource names have the form: - * `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the Keyword Plan campaign. - * KeywordPlanCampaign resource names have the form: - * `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The keyword plan this campaign belongs to. - * - * Generated from protobuf field optional string keyword_plan = 9 [(.google.api.resource_reference) = { - * @return string - */ - public function getKeywordPlan() - { - return isset($this->keyword_plan) ? $this->keyword_plan : ''; - } - - public function hasKeywordPlan() - { - return isset($this->keyword_plan); - } - - public function clearKeywordPlan() - { - unset($this->keyword_plan); - } - - /** - * The keyword plan this campaign belongs to. - * - * Generated from protobuf field optional string keyword_plan = 9 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setKeywordPlan($var) - { - GPBUtil::checkString($var, True); - $this->keyword_plan = $var; - - return $this; - } - - /** - * Output only. The ID of the Keyword Plan campaign. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the Keyword Plan campaign. - * - * Generated from protobuf field optional int64 id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the Keyword Plan campaign. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field optional string name = 11; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the Keyword Plan campaign. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field optional string name = 11; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The languages targeted for the Keyword Plan campaign. - * Max allowed: 1. - * - * Generated from protobuf field repeated string language_constants = 12 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLanguageConstants() - { - return $this->language_constants; - } - - /** - * The languages targeted for the Keyword Plan campaign. - * Max allowed: 1. - * - * Generated from protobuf field repeated string language_constants = 12 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLanguageConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->language_constants = $arr; - - return $this; - } - - /** - * Targeting network. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6; - * @return int - */ - public function getKeywordPlanNetwork() - { - return $this->keyword_plan_network; - } - - /** - * Targeting network. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6; - * @param int $var - * @return $this - */ - public function setKeywordPlanNetwork($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanNetworkEnum\KeywordPlanNetwork::class); - $this->keyword_plan_network = $var; - - return $this; - } - - /** - * A default max cpc bid in micros, and in the account currency, for all ad - * groups under the campaign. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 13; - * @return int|string - */ - public function getCpcBidMicros() - { - return isset($this->cpc_bid_micros) ? $this->cpc_bid_micros : 0; - } - - public function hasCpcBidMicros() - { - return isset($this->cpc_bid_micros); - } - - public function clearCpcBidMicros() - { - unset($this->cpc_bid_micros); - } - - /** - * A default max cpc bid in micros, and in the account currency, for all ad - * groups under the campaign. - * This field is required and should not be empty when creating Keyword Plan - * campaigns. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 13; - * @param int|string $var - * @return $this - */ - public function setCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_micros = $var; - - return $this; - } - - /** - * The geo targets. - * Max number allowed: 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.KeywordPlanGeoTarget geo_targets = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoTargets() - { - return $this->geo_targets; - } - - /** - * The geo targets. - * Max number allowed: 20. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.KeywordPlanGeoTarget geo_targets = 8; - * @param array<\Google\Ads\GoogleAds\V15\Resources\KeywordPlanGeoTarget>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoTargets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanGeoTarget::class); - $this->geo_targets = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaignKeyword.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaignKeyword.php deleted file mode 100644 index b36648d5b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaignKeyword.php +++ /dev/null @@ -1,290 +0,0 @@ -google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword - */ -class KeywordPlanCampaignKeyword extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Keyword Plan Campaign keyword. - * KeywordPlanCampaignKeyword resource names have the form: - * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The Keyword Plan campaign to which this negative keyword belongs. - * - * Generated from protobuf field optional string keyword_plan_campaign = 8 [(.google.api.resource_reference) = { - */ - protected $keyword_plan_campaign = null; - /** - * Output only. The ID of the Keyword Plan negative keyword. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The keyword text. - * - * Generated from protobuf field optional string text = 10; - */ - protected $text = null; - /** - * The keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - */ - protected $match_type = 0; - /** - * Immutable. If true, the keyword is negative. - * Must be set to true. Only negative campaign keywords are supported. - * - * Generated from protobuf field optional bool negative = 11 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $negative = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the Keyword Plan Campaign keyword. - * KeywordPlanCampaignKeyword resource names have the form: - * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - * @type string $keyword_plan_campaign - * The Keyword Plan campaign to which this negative keyword belongs. - * @type int|string $id - * Output only. The ID of the Keyword Plan negative keyword. - * @type string $text - * The keyword text. - * @type int $match_type - * The keyword match type. - * @type bool $negative - * Immutable. If true, the keyword is negative. - * Must be set to true. Only negative campaign keywords are supported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Keyword Plan Campaign keyword. - * KeywordPlanCampaignKeyword resource names have the form: - * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the Keyword Plan Campaign keyword. - * KeywordPlanCampaignKeyword resource names have the form: - * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The Keyword Plan campaign to which this negative keyword belongs. - * - * Generated from protobuf field optional string keyword_plan_campaign = 8 [(.google.api.resource_reference) = { - * @return string - */ - public function getKeywordPlanCampaign() - { - return isset($this->keyword_plan_campaign) ? $this->keyword_plan_campaign : ''; - } - - public function hasKeywordPlanCampaign() - { - return isset($this->keyword_plan_campaign); - } - - public function clearKeywordPlanCampaign() - { - unset($this->keyword_plan_campaign); - } - - /** - * The Keyword Plan campaign to which this negative keyword belongs. - * - * Generated from protobuf field optional string keyword_plan_campaign = 8 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setKeywordPlanCampaign($var) - { - GPBUtil::checkString($var, True); - $this->keyword_plan_campaign = $var; - - return $this; - } - - /** - * Output only. The ID of the Keyword Plan negative keyword. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the Keyword Plan negative keyword. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The keyword text. - * - * Generated from protobuf field optional string text = 10; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * The keyword text. - * - * Generated from protobuf field optional string text = 10; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - * @return int - */ - public function getMatchType() - { - return $this->match_type; - } - - /** - * The keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - * @param int $var - * @return $this - */ - public function setMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordMatchTypeEnum\KeywordMatchType::class); - $this->match_type = $var; - - return $this; - } - - /** - * Immutable. If true, the keyword is negative. - * Must be set to true. Only negative campaign keywords are supported. - * - * Generated from protobuf field optional bool negative = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getNegative() - { - return isset($this->negative) ? $this->negative : false; - } - - public function hasNegative() - { - return isset($this->negative); - } - - public function clearNegative() - { - unset($this->negative); - } - - /** - * Immutable. If true, the keyword is negative. - * Must be set to true. Only negative campaign keywords are supported. - * - * Generated from protobuf field optional bool negative = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setNegative($var) - { - GPBUtil::checkBool($var); - $this->negative = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanForecastPeriod.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanForecastPeriod.php deleted file mode 100644 index 12c0238db..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanForecastPeriod.php +++ /dev/null @@ -1,120 +0,0 @@ -google.ads.googleads.v15.resources.KeywordPlanForecastPeriod - */ -class KeywordPlanForecastPeriod extends \Google\Protobuf\Internal\Message -{ - protected $interval; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $date_interval - * A future date range relative to the current date used for forecasting. - * @type \Google\Ads\GoogleAds\V15\Common\DateRange $date_range - * The custom date range used for forecasting. It cannot be greater than - * a year. - * The start and end dates must be in the future. Otherwise, an error will - * be returned when the forecasting action is performed. - * The start and end dates are inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordPlan::initOnce(); - parent::__construct($data); - } - - /** - * A future date range relative to the current date used for forecasting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1; - * @return int - */ - public function getDateInterval() - { - return $this->readOneof(1); - } - - public function hasDateInterval() - { - return $this->hasOneof(1); - } - - /** - * A future date range relative to the current date used for forecasting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1; - * @param int $var - * @return $this - */ - public function setDateInterval($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanForecastIntervalEnum\KeywordPlanForecastInterval::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * The custom date range used for forecasting. It cannot be greater than - * a year. - * The start and end dates must be in the future. Otherwise, an error will - * be returned when the forecasting action is performed. - * The start and end dates are inclusive. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange date_range = 2; - * @return \Google\Ads\GoogleAds\V15\Common\DateRange|null - */ - public function getDateRange() - { - return $this->readOneof(2); - } - - public function hasDateRange() - { - return $this->hasOneof(2); - } - - /** - * The custom date range used for forecasting. It cannot be greater than - * a year. - * The start and end dates must be in the future. Otherwise, an error will - * be returned when the forecasting action is performed. - * The start and end dates are inclusive. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange date_range = 2; - * @param \Google\Ads\GoogleAds\V15\Common\DateRange $var - * @return $this - */ - public function setDateRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DateRange::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getInterval() - { - return $this->whichOneof("interval"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanGeoTarget.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanGeoTarget.php deleted file mode 100644 index 413b5d0b2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordPlanGeoTarget.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.resources.KeywordPlanGeoTarget - */ -class KeywordPlanGeoTarget extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the geo target. - * - * Generated from protobuf field optional string geo_target_constant = 2 [(.google.api.resource_reference) = { - */ - protected $geo_target_constant = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $geo_target_constant - * Required. The resource name of the geo target. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the geo target. - * - * Generated from protobuf field optional string geo_target_constant = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getGeoTargetConstant() - { - return isset($this->geo_target_constant) ? $this->geo_target_constant : ''; - } - - public function hasGeoTargetConstant() - { - return isset($this->geo_target_constant); - } - - public function clearGeoTargetConstant() - { - unset($this->geo_target_constant); - } - - /** - * Required. The resource name of the geo target. - * - * Generated from protobuf field optional string geo_target_constant = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setGeoTargetConstant($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_constant = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordThemeConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordThemeConstant.php deleted file mode 100644 index ceeafaafe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordThemeConstant.php +++ /dev/null @@ -1,223 +0,0 @@ -google.ads.googleads.v15.resources.KeywordThemeConstant - */ -class KeywordThemeConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the keyword theme constant. - * Keyword theme constant resource names have the form: - * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - * To display and query matching purpose, the keyword theme needs to be - * localized. - * - * Generated from protobuf field optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $country_code = null; - /** - * Output only. The ISO-639-1 language code with 2 letters of the constant, - * eg. "en". To display and query matching purpose, the keyword theme needs to - * be localized. - * - * Generated from protobuf field optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $language_code = null; - /** - * Output only. The display name of the keyword theme or sub keyword theme. - * - * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $display_name = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the keyword theme constant. - * Keyword theme constant resource names have the form: - * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - * @type string $country_code - * Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - * To display and query matching purpose, the keyword theme needs to be - * localized. - * @type string $language_code - * Output only. The ISO-639-1 language code with 2 letters of the constant, - * eg. "en". To display and query matching purpose, the keyword theme needs to - * be localized. - * @type string $display_name - * Output only. The display name of the keyword theme or sub keyword theme. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the keyword theme constant. - * Keyword theme constant resource names have the form: - * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the keyword theme constant. - * Keyword theme constant resource names have the form: - * `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - * To display and query matching purpose, the keyword theme needs to be - * localized. - * - * Generated from protobuf field optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - * To display and query matching purpose, the keyword theme needs to be - * localized. - * - * Generated from protobuf field optional string country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * Output only. The ISO-639-1 language code with 2 letters of the constant, - * eg. "en". To display and query matching purpose, the keyword theme needs to - * be localized. - * - * Generated from protobuf field optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLanguageCode() - { - return isset($this->language_code) ? $this->language_code : ''; - } - - public function hasLanguageCode() - { - return isset($this->language_code); - } - - public function clearLanguageCode() - { - unset($this->language_code); - } - - /** - * Output only. The ISO-639-1 language code with 2 letters of the constant, - * eg. "en". To display and query matching purpose, the keyword theme needs to - * be localized. - * - * Generated from protobuf field optional string language_code = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * Output only. The display name of the keyword theme or sub keyword theme. - * - * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDisplayName() - { - return isset($this->display_name) ? $this->display_name : ''; - } - - public function hasDisplayName() - { - return isset($this->display_name); - } - - public function clearDisplayName() - { - unset($this->display_name); - } - - /** - * Output only. The display name of the keyword theme or sub keyword theme. - * - * Generated from protobuf field optional string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/KeywordView.php b/src/Google/Ads/GoogleAds/V15/Resources/KeywordView.php deleted file mode 100644 index 381cc7170..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/KeywordView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.KeywordView - */ -class KeywordView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the keyword view. - * Keyword view resource names have the form: - * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the keyword view. - * Keyword view resource names have the form: - * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\KeywordView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the keyword view. - * Keyword view resource names have the form: - * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the keyword view. - * Keyword view resource names have the form: - * `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Label.php b/src/Google/Ads/GoogleAds/V15/Resources/Label.php deleted file mode 100644 index d898da58c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Label.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.resources.Label - */ -class Label extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the resource. - * Label resource names have the form: - * `customers/{customer_id}/labels/{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of the label. Read only. - * - * Generated from protobuf field optional int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the label. - * This field is required and should not be empty when creating a new label. - * The length of this string should be between 1 and 80, inclusive. - * - * Generated from protobuf field optional string name = 7; - */ - protected $name = null; - /** - * Output only. Status of the label. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LabelStatusEnum.LabelStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * A type of label displaying text on a colored background. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextLabel text_label = 5; - */ - protected $text_label = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Name of the resource. - * Label resource names have the form: - * `customers/{customer_id}/labels/{label_id}` - * @type int|string $id - * Output only. ID of the label. Read only. - * @type string $name - * The name of the label. - * This field is required and should not be empty when creating a new label. - * The length of this string should be between 1 and 80, inclusive. - * @type int $status - * Output only. Status of the label. Read only. - * @type \Google\Ads\GoogleAds\V15\Common\TextLabel $text_label - * A type of label displaying text on a colored background. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Label::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the resource. - * Label resource names have the form: - * `customers/{customer_id}/labels/{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Name of the resource. - * Label resource names have the form: - * `customers/{customer_id}/labels/{label_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of the label. Read only. - * - * Generated from protobuf field optional int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. ID of the label. Read only. - * - * Generated from protobuf field optional int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the label. - * This field is required and should not be empty when creating a new label. - * The length of this string should be between 1 and 80, inclusive. - * - * Generated from protobuf field optional string name = 7; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the label. - * This field is required and should not be empty when creating a new label. - * The length of this string should be between 1 and 80, inclusive. - * - * Generated from protobuf field optional string name = 7; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Status of the label. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LabelStatusEnum.LabelStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the label. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LabelStatusEnum.LabelStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LabelStatusEnum\LabelStatus::class); - $this->status = $var; - - return $this; - } - - /** - * A type of label displaying text on a colored background. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextLabel text_label = 5; - * @return \Google\Ads\GoogleAds\V15\Common\TextLabel|null - */ - public function getTextLabel() - { - return $this->text_label; - } - - public function hasTextLabel() - { - return isset($this->text_label); - } - - public function clearTextLabel() - { - unset($this->text_label); - } - - /** - * A type of label displaying text on a colored background. - * - * Generated from protobuf field .google.ads.googleads.v15.common.TextLabel text_label = 5; - * @param \Google\Ads\GoogleAds\V15\Common\TextLabel $var - * @return $this - */ - public function setTextLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\TextLabel::class); - $this->text_label = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LandingPageView.php b/src/Google/Ads/GoogleAds/V15/Resources/LandingPageView.php deleted file mode 100644 index 619c0e5d1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LandingPageView.php +++ /dev/null @@ -1,120 +0,0 @@ -google.ads.googleads.v15.resources.LandingPageView - */ -class LandingPageView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the landing page view. - * Landing page view resource names have the form: - * `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The advertiser-specified final URL. - * - * Generated from protobuf field optional string unexpanded_final_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $unexpanded_final_url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the landing page view. - * Landing page view resource names have the form: - * `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - * @type string $unexpanded_final_url - * Output only. The advertiser-specified final URL. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LandingPageView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the landing page view. - * Landing page view resource names have the form: - * `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the landing page view. - * Landing page view resource names have the form: - * `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The advertiser-specified final URL. - * - * Generated from protobuf field optional string unexpanded_final_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getUnexpandedFinalUrl() - { - return isset($this->unexpanded_final_url) ? $this->unexpanded_final_url : ''; - } - - public function hasUnexpandedFinalUrl() - { - return isset($this->unexpanded_final_url); - } - - public function clearUnexpandedFinalUrl() - { - unset($this->unexpanded_final_url); - } - - /** - * Output only. The advertiser-specified final URL. - * - * Generated from protobuf field optional string unexpanded_final_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setUnexpandedFinalUrl($var) - { - GPBUtil::checkString($var, True); - $this->unexpanded_final_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LanguageConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/LanguageConstant.php deleted file mode 100644 index e51f19faa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LanguageConstant.php +++ /dev/null @@ -1,259 +0,0 @@ -google.ads.googleads.v15.resources.LanguageConstant - */ -class LanguageConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the language constant. - * Language constant resource names have the form: - * `languageConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the language constant. - * - * Generated from protobuf field optional int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The language code, for example, "en_US", "en_AU", "es", "fr", - * etc. - * - * Generated from protobuf field optional string code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $code = null; - /** - * Output only. The full name of the language in English, for example, - * "English (US)", "Spanish", etc. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. Whether the language is targetable. - * - * Generated from protobuf field optional bool targetable = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $targetable = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the language constant. - * Language constant resource names have the form: - * `languageConstants/{criterion_id}` - * @type int|string $id - * Output only. The ID of the language constant. - * @type string $code - * Output only. The language code, for example, "en_US", "en_AU", "es", "fr", - * etc. - * @type string $name - * Output only. The full name of the language in English, for example, - * "English (US)", "Spanish", etc. - * @type bool $targetable - * Output only. Whether the language is targetable. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LanguageConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the language constant. - * Language constant resource names have the form: - * `languageConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the language constant. - * Language constant resource names have the form: - * `languageConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the language constant. - * - * Generated from protobuf field optional int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the language constant. - * - * Generated from protobuf field optional int64 id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The language code, for example, "en_US", "en_AU", "es", "fr", - * etc. - * - * Generated from protobuf field optional string code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCode() - { - return isset($this->code) ? $this->code : ''; - } - - public function hasCode() - { - return isset($this->code); - } - - public function clearCode() - { - unset($this->code); - } - - /** - * Output only. The language code, for example, "en_US", "en_AU", "es", "fr", - * etc. - * - * Generated from protobuf field optional string code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCode($var) - { - GPBUtil::checkString($var, True); - $this->code = $var; - - return $this; - } - - /** - * Output only. The full name of the language in English, for example, - * "English (US)", "Spanish", etc. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. The full name of the language in English, for example, - * "English (US)", "Spanish", etc. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Whether the language is targetable. - * - * Generated from protobuf field optional bool targetable = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getTargetable() - { - return isset($this->targetable) ? $this->targetable : false; - } - - public function hasTargetable() - { - return isset($this->targetable); - } - - public function clearTargetable() - { - unset($this->targetable); - } - - /** - * Output only. Whether the language is targetable. - * - * Generated from protobuf field optional bool targetable = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setTargetable($var) - { - GPBUtil::checkBool($var); - $this->targetable = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionData.php b/src/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionData.php deleted file mode 100644 index c133eccda..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionData.php +++ /dev/null @@ -1,389 +0,0 @@ -google.ads.googleads.v15.resources.LeadFormSubmissionData - */ -class LeadFormSubmissionData extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the lead form submission data. - * Lead form submission data resource names have the form: - * `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of this lead form submission. - * - * Generated from protobuf field string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = ''; - /** - * Output only. Asset associated with the submitted lead form. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $asset = ''; - /** - * Output only. Campaign associated with the submitted lead form. - * - * Generated from protobuf field string campaign = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Output only. Submission data associated with a lead form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.LeadFormSubmissionField lead_form_submission_fields = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $lead_form_submission_fields; - /** - * Output only. Submission data associated with a custom lead form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomLeadFormSubmissionField custom_lead_form_submission_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $custom_lead_form_submission_fields; - /** - * Output only. AdGroup associated with the submitted lead form. - * - * Generated from protobuf field string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group = ''; - /** - * Output only. AdGroupAd associated with the submitted lead form. - * - * Generated from protobuf field string ad_group_ad = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group_ad = ''; - /** - * Output only. Google Click Id associated with the submissed lead form. - * - * Generated from protobuf field string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $gclid = ''; - /** - * Output only. The date and time at which the lead form was submitted. The - * format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 - * 12:32:45-08:00". - * - * Generated from protobuf field string submission_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $submission_date_time = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the lead form submission data. - * Lead form submission data resource names have the form: - * `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` - * @type string $id - * Output only. ID of this lead form submission. - * @type string $asset - * Output only. Asset associated with the submitted lead form. - * @type string $campaign - * Output only. Campaign associated with the submitted lead form. - * @type array<\Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionField>|\Google\Protobuf\Internal\RepeatedField $lead_form_submission_fields - * Output only. Submission data associated with a lead form. - * @type array<\Google\Ads\GoogleAds\V15\Resources\CustomLeadFormSubmissionField>|\Google\Protobuf\Internal\RepeatedField $custom_lead_form_submission_fields - * Output only. Submission data associated with a custom lead form. - * @type string $ad_group - * Output only. AdGroup associated with the submitted lead form. - * @type string $ad_group_ad - * Output only. AdGroupAd associated with the submitted lead form. - * @type string $gclid - * Output only. Google Click Id associated with the submissed lead form. - * @type string $submission_date_time - * Output only. The date and time at which the lead form was submitted. The - * format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 - * 12:32:45-08:00". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionData::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the lead form submission data. - * Lead form submission data resource names have the form: - * `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the lead form submission data. - * Lead form submission data resource names have the form: - * `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of this lead form submission. - * - * Generated from protobuf field string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. ID of this lead form submission. - * - * Generated from protobuf field string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Output only. Asset associated with the submitted lead form. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAsset() - { - return $this->asset; - } - - /** - * Output only. Asset associated with the submitted lead form. - * - * Generated from protobuf field string asset = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkString($var, True); - $this->asset = $var; - - return $this; - } - - /** - * Output only. Campaign associated with the submitted lead form. - * - * Generated from protobuf field string campaign = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Output only. Campaign associated with the submitted lead form. - * - * Generated from protobuf field string campaign = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. Submission data associated with a lead form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.LeadFormSubmissionField lead_form_submission_fields = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLeadFormSubmissionFields() - { - return $this->lead_form_submission_fields; - } - - /** - * Output only. Submission data associated with a lead form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.LeadFormSubmissionField lead_form_submission_fields = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionField>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLeadFormSubmissionFields($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionField::class); - $this->lead_form_submission_fields = $arr; - - return $this; - } - - /** - * Output only. Submission data associated with a custom lead form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomLeadFormSubmissionField custom_lead_form_submission_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCustomLeadFormSubmissionFields() - { - return $this->custom_lead_form_submission_fields; - } - - /** - * Output only. Submission data associated with a custom lead form. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.CustomLeadFormSubmissionField custom_lead_form_submission_fields = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\CustomLeadFormSubmissionField>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCustomLeadFormSubmissionFields($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\CustomLeadFormSubmissionField::class); - $this->custom_lead_form_submission_fields = $arr; - - return $this; - } - - /** - * Output only. AdGroup associated with the submitted lead form. - * - * Generated from protobuf field string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return $this->ad_group; - } - - /** - * Output only. AdGroup associated with the submitted lead form. - * - * Generated from protobuf field string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Output only. AdGroupAd associated with the submitted lead form. - * - * Generated from protobuf field string ad_group_ad = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroupAd() - { - return $this->ad_group_ad; - } - - /** - * Output only. AdGroupAd associated with the submitted lead form. - * - * Generated from protobuf field string ad_group_ad = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroupAd($var) - { - GPBUtil::checkString($var, True); - $this->ad_group_ad = $var; - - return $this; - } - - /** - * Output only. Google Click Id associated with the submissed lead form. - * - * Generated from protobuf field string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getGclid() - { - return $this->gclid; - } - - /** - * Output only. Google Click Id associated with the submissed lead form. - * - * Generated from protobuf field string gclid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setGclid($var) - { - GPBUtil::checkString($var, True); - $this->gclid = $var; - - return $this; - } - - /** - * Output only. The date and time at which the lead form was submitted. The - * format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 - * 12:32:45-08:00". - * - * Generated from protobuf field string submission_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSubmissionDateTime() - { - return $this->submission_date_time; - } - - /** - * Output only. The date and time at which the lead form was submitted. The - * format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 - * 12:32:45-08:00". - * - * Generated from protobuf field string submission_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSubmissionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->submission_date_time = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionField.php b/src/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionField.php deleted file mode 100644 index 49ab83cbd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LeadFormSubmissionField.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.resources.LeadFormSubmissionField - */ -class LeadFormSubmissionField extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Field type for lead form fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $field_type = 0; - /** - * Output only. Field value for lead form fields. - * - * Generated from protobuf field string field_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $field_value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $field_type - * Output only. Field type for lead form fields. - * @type string $field_value - * Output only. Field value for lead form fields. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionData::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Field type for lead form fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getFieldType() - { - return $this->field_type; - } - - /** - * Output only. Field type for lead form fields. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LeadFormFieldUserInputTypeEnum\LeadFormFieldUserInputType::class); - $this->field_type = $var; - - return $this; - } - - /** - * Output only. Field value for lead form fields. - * - * Generated from protobuf field string field_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFieldValue() - { - return $this->field_value; - } - - /** - * Output only. Field value for lead form fields. - * - * Generated from protobuf field string field_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFieldValue($var) - { - GPBUtil::checkString($var, True); - $this->field_value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LicenseVerificationArtifact.php b/src/Google/Ads/GoogleAds/V15/Resources/LicenseVerificationArtifact.php deleted file mode 100644 index 4af8b9f69..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LicenseVerificationArtifact.php +++ /dev/null @@ -1,301 +0,0 @@ -google.ads.googleads.v15.resources.LicenseVerificationArtifact - */ -class LicenseVerificationArtifact extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. License type / name. - * - * Generated from protobuf field optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $license_type = null; - /** - * Output only. License number. - * - * Generated from protobuf field optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $license_number = null; - /** - * Output only. First name of the licensee. - * - * Generated from protobuf field optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $licensee_first_name = null; - /** - * Output only. Last name of the licensee. - * - * Generated from protobuf field optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $licensee_last_name = null; - /** - * Output only. License rejection reason. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $rejection_reason = null; - /** - * Output only. The readonly field containing the information for an uploaded - * license document. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $license_document_readonly = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $license_type - * Output only. License type / name. - * @type string $license_number - * Output only. License number. - * @type string $licensee_first_name - * Output only. First name of the licensee. - * @type string $licensee_last_name - * Output only. Last name of the licensee. - * @type int $rejection_reason - * Output only. License rejection reason. - * @type \Google\Ads\GoogleAds\V15\Common\LocalServicesDocumentReadOnly $license_document_readonly - * Output only. The readonly field containing the information for an uploaded - * license document. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesVerificationArtifact::initOnce(); - parent::__construct($data); - } - - /** - * Output only. License type / name. - * - * Generated from protobuf field optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLicenseType() - { - return isset($this->license_type) ? $this->license_type : ''; - } - - public function hasLicenseType() - { - return isset($this->license_type); - } - - public function clearLicenseType() - { - unset($this->license_type); - } - - /** - * Output only. License type / name. - * - * Generated from protobuf field optional string license_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLicenseType($var) - { - GPBUtil::checkString($var, True); - $this->license_type = $var; - - return $this; - } - - /** - * Output only. License number. - * - * Generated from protobuf field optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLicenseNumber() - { - return isset($this->license_number) ? $this->license_number : ''; - } - - public function hasLicenseNumber() - { - return isset($this->license_number); - } - - public function clearLicenseNumber() - { - unset($this->license_number); - } - - /** - * Output only. License number. - * - * Generated from protobuf field optional string license_number = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLicenseNumber($var) - { - GPBUtil::checkString($var, True); - $this->license_number = $var; - - return $this; - } - - /** - * Output only. First name of the licensee. - * - * Generated from protobuf field optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLicenseeFirstName() - { - return isset($this->licensee_first_name) ? $this->licensee_first_name : ''; - } - - public function hasLicenseeFirstName() - { - return isset($this->licensee_first_name); - } - - public function clearLicenseeFirstName() - { - unset($this->licensee_first_name); - } - - /** - * Output only. First name of the licensee. - * - * Generated from protobuf field optional string licensee_first_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLicenseeFirstName($var) - { - GPBUtil::checkString($var, True); - $this->licensee_first_name = $var; - - return $this; - } - - /** - * Output only. Last name of the licensee. - * - * Generated from protobuf field optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLicenseeLastName() - { - return isset($this->licensee_last_name) ? $this->licensee_last_name : ''; - } - - public function hasLicenseeLastName() - { - return isset($this->licensee_last_name); - } - - public function clearLicenseeLastName() - { - unset($this->licensee_last_name); - } - - /** - * Output only. Last name of the licensee. - * - * Generated from protobuf field optional string licensee_last_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLicenseeLastName($var) - { - GPBUtil::checkString($var, True); - $this->licensee_last_name = $var; - - return $this; - } - - /** - * Output only. License rejection reason. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getRejectionReason() - { - return isset($this->rejection_reason) ? $this->rejection_reason : 0; - } - - public function hasRejectionReason() - { - return isset($this->rejection_reason); - } - - public function clearRejectionReason() - { - unset($this->rejection_reason); - } - - /** - * Output only. License rejection reason. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.LocalServicesLicenseRejectionReasonEnum.LocalServicesLicenseRejectionReason rejection_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setRejectionReason($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesLicenseRejectionReasonEnum\LocalServicesLicenseRejectionReason::class); - $this->rejection_reason = $var; - - return $this; - } - - /** - * Output only. The readonly field containing the information for an uploaded - * license document. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\LocalServicesDocumentReadOnly|null - */ - public function getLicenseDocumentReadonly() - { - return $this->license_document_readonly; - } - - public function hasLicenseDocumentReadonly() - { - return isset($this->license_document_readonly); - } - - public function clearLicenseDocumentReadonly() - { - unset($this->license_document_readonly); - } - - /** - * Output only. The readonly field containing the information for an uploaded - * license document. - * - * Generated from protobuf field optional .google.ads.googleads.v15.common.LocalServicesDocumentReadOnly license_document_readonly = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\LocalServicesDocumentReadOnly $var - * @return $this - */ - public function setLicenseDocumentReadonly($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocalServicesDocumentReadOnly::class); - $this->license_document_readonly = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LifeEvent.php b/src/Google/Ads/GoogleAds/V15/Resources/LifeEvent.php deleted file mode 100644 index 1feb477f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LifeEvent.php +++ /dev/null @@ -1,250 +0,0 @@ -google.ads.googleads.v15.resources.LifeEvent - */ -class LifeEvent extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the life event. - * Life event resource names have the form: - * `customers/{customer_id}/lifeEvents/{life_event_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the life event. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. The name of the life event, for example,"Recently Moved" - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. The parent of the life_event. - * - * Generated from protobuf field string parent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Output only. True if the life event is launched to all channels and - * locales. - * - * Generated from protobuf field bool launched_to_all = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $launched_to_all = false; - /** - * Output only. Availability information of the life event. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $availabilities; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the life event. - * Life event resource names have the form: - * `customers/{customer_id}/lifeEvents/{life_event_id}` - * @type int|string $id - * Output only. The ID of the life event. - * @type string $name - * Output only. The name of the life event, for example,"Recently Moved" - * @type string $parent - * Output only. The parent of the life_event. - * @type bool $launched_to_all - * Output only. True if the life event is launched to all channels and - * locales. - * @type array<\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability>|\Google\Protobuf\Internal\RepeatedField $availabilities - * Output only. Availability information of the life event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LifeEvent::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the life event. - * Life event resource names have the form: - * `customers/{customer_id}/lifeEvents/{life_event_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the life event. - * Life event resource names have the form: - * `customers/{customer_id}/lifeEvents/{life_event_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the life event. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The ID of the life event. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The name of the life event, for example,"Recently Moved" - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The name of the life event, for example,"Recently Moved" - * - * Generated from protobuf field string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The parent of the life_event. - * - * Generated from protobuf field string parent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Output only. The parent of the life_event. - * - * Generated from protobuf field string parent = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Output only. True if the life event is launched to all channels and - * locales. - * - * Generated from protobuf field bool launched_to_all = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getLaunchedToAll() - { - return $this->launched_to_all; - } - - /** - * Output only. True if the life event is launched to all channels and - * locales. - * - * Generated from protobuf field bool launched_to_all = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setLaunchedToAll($var) - { - GPBUtil::checkBool($var); - $this->launched_to_all = $var; - - return $this; - } - - /** - * Output only. Availability information of the life event. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAvailabilities() - { - return $this->availabilities; - } - - /** - * Output only. Availability information of the life event. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAvailabilities($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability::class); - $this->availabilities = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension.php deleted file mode 100644 index 929e3c1aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension.php +++ /dev/null @@ -1,306 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension - */ -class ListingGroupFilterDimension extends \Google\Protobuf\Internal\Message -{ - protected $dimension; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCategory $product_category - * Category of a product offer. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductBrand $product_brand - * Brand of a product offer. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductChannel $product_channel - * Locality of a product offer. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCondition $product_condition - * Condition of a product offer. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCustomAttribute $product_custom_attribute - * Custom attribute of a product offer. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductItemId $product_item_id - * Item id of a product offer. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductType $product_type - * Type of a product offer. - * @type \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\Webpage $webpage - * Filters for URLs in a page feed and URLs from the advertiser web domain. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * Category of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCategory product_category = 10; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCategory|null - */ - public function getProductCategory() - { - return $this->readOneof(10); - } - - public function hasProductCategory() - { - return $this->hasOneof(10); - } - - /** - * Category of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCategory product_category = 10; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCategory $var - * @return $this - */ - public function setProductCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCategory::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Brand of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductBrand product_brand = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductBrand|null - */ - public function getProductBrand() - { - return $this->readOneof(2); - } - - public function hasProductBrand() - { - return $this->hasOneof(2); - } - - /** - * Brand of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductBrand product_brand = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductBrand $var - * @return $this - */ - public function setProductBrand($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductBrand::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Locality of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductChannel product_channel = 3; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductChannel|null - */ - public function getProductChannel() - { - return $this->readOneof(3); - } - - public function hasProductChannel() - { - return $this->hasOneof(3); - } - - /** - * Locality of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductChannel product_channel = 3; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductChannel $var - * @return $this - */ - public function setProductChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductChannel::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Condition of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCondition product_condition = 4; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCondition|null - */ - public function getProductCondition() - { - return $this->readOneof(4); - } - - public function hasProductCondition() - { - return $this->hasOneof(4); - } - - /** - * Condition of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCondition product_condition = 4; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCondition $var - * @return $this - */ - public function setProductCondition($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCondition::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Custom attribute of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCustomAttribute product_custom_attribute = 5; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCustomAttribute|null - */ - public function getProductCustomAttribute() - { - return $this->readOneof(5); - } - - public function hasProductCustomAttribute() - { - return $this->hasOneof(5); - } - - /** - * Custom attribute of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCustomAttribute product_custom_attribute = 5; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCustomAttribute $var - * @return $this - */ - public function setProductCustomAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductCustomAttribute::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Item id of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductItemId product_item_id = 6; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductItemId|null - */ - public function getProductItemId() - { - return $this->readOneof(6); - } - - public function hasProductItemId() - { - return $this->hasOneof(6); - } - - /** - * Item id of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductItemId product_item_id = 6; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductItemId $var - * @return $this - */ - public function setProductItemId($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductItemId::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Type of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductType product_type = 7; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductType|null - */ - public function getProductType() - { - return $this->readOneof(7); - } - - public function hasProductType() - { - return $this->hasOneof(7); - } - - /** - * Type of a product offer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductType product_type = 7; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductType $var - * @return $this - */ - public function setProductType($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\ProductType::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Filters for URLs in a page feed and URLs from the advertiser web domain. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.Webpage webpage = 9; - * @return \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\Webpage|null - */ - public function getWebpage() - { - return $this->readOneof(9); - } - - public function hasWebpage() - { - return $this->hasOneof(9); - } - - /** - * Filters for URLs in a page feed and URLs from the advertiser web domain. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ListingGroupFilterDimension.Webpage webpage = 9; - * @param \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\Webpage $var - * @return $this - */ - public function setWebpage($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\Webpage::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * @return string - */ - public function getDimension() - { - return $this->whichOneof("dimension"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductBrand.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductBrand.php deleted file mode 100644 index a4014ab89..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductBrand.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductBrand - */ -class ProductBrand extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the product brand. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the product brand. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * String value of the product brand. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the product brand. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductBrand::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_ProductBrand::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCategory.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCategory.php deleted file mode 100644 index abaf93898..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCategory.php +++ /dev/null @@ -1,126 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCategory - */ -class ProductCategory extends \Google\Protobuf\Internal\Message -{ - /** - * ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436 - * - * Generated from protobuf field optional int64 category_id = 1; - */ - protected $category_id = null; - /** - * Indicates the level of the category in the taxonomy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductCategoryLevelEnum.ListingGroupFilterProductCategoryLevel level = 2; - */ - protected $level = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $category_id - * ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436 - * @type int $level - * Indicates the level of the category in the taxonomy. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436 - * - * Generated from protobuf field optional int64 category_id = 1; - * @return int|string - */ - public function getCategoryId() - { - return isset($this->category_id) ? $this->category_id : 0; - } - - public function hasCategoryId() - { - return isset($this->category_id); - } - - public function clearCategoryId() - { - unset($this->category_id); - } - - /** - * ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436 - * - * Generated from protobuf field optional int64 category_id = 1; - * @param int|string $var - * @return $this - */ - public function setCategoryId($var) - { - GPBUtil::checkInt64($var); - $this->category_id = $var; - - return $this; - } - - /** - * Indicates the level of the category in the taxonomy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductCategoryLevelEnum.ListingGroupFilterProductCategoryLevel level = 2; - * @return int - */ - public function getLevel() - { - return $this->level; - } - - /** - * Indicates the level of the category in the taxonomy. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductCategoryLevelEnum.ListingGroupFilterProductCategoryLevel level = 2; - * @param int $var - * @return $this - */ - public function setLevel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductCategoryLevelEnum\ListingGroupFilterProductCategoryLevel::class); - $this->level = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductCategory::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_ProductCategory::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductChannel.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductChannel.php deleted file mode 100644 index 807e072ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductChannel.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductChannel - */ -class ProductChannel extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the locality. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel channel = 1; - */ - protected $channel = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $channel - * Value of the locality. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * Value of the locality. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel channel = 1; - * @return int - */ - public function getChannel() - { - return $this->channel; - } - - /** - * Value of the locality. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel channel = 1; - * @param int $var - * @return $this - */ - public function setChannel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductChannelEnum\ListingGroupFilterProductChannel::class); - $this->channel = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductChannel::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_ProductChannel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCondition.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCondition.php deleted file mode 100644 index 6e32ae196..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCondition.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCondition - */ -class ProductCondition extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition condition = 1; - */ - protected $condition = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $condition - * Value of the condition. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * Value of the condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition condition = 1; - * @return int - */ - public function getCondition() - { - return $this->condition; - } - - /** - * Value of the condition. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition condition = 1; - * @param int $var - * @return $this - */ - public function setCondition($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductConditionEnum\ListingGroupFilterProductCondition::class); - $this->condition = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductCondition::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_ProductCondition::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCustomAttribute.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCustomAttribute.php deleted file mode 100644 index a70f2936b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductCustomAttribute.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductCustomAttribute - */ -class ProductCustomAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * String value of the product custom attribute. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - /** - * Indicates the index of the custom attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex index = 2; - */ - protected $index = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * String value of the product custom attribute. - * @type int $index - * Indicates the index of the custom attribute. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * String value of the product custom attribute. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * String value of the product custom attribute. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - - /** - * Indicates the index of the custom attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex index = 2; - * @return int - */ - public function getIndex() - { - return $this->index; - } - - /** - * Indicates the index of the custom attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex index = 2; - * @param int $var - * @return $this - */ - public function setIndex($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterCustomAttributeIndexEnum\ListingGroupFilterCustomAttributeIndex::class); - $this->index = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductCustomAttribute::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_ProductCustomAttribute::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductItemId.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductItemId.php deleted file mode 100644 index 6c83106f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductItemId.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductItemId - */ -class ProductItemId extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the id. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * Value of the id. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * Value of the id. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Value of the id. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductItemId::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_ProductItemId::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductType.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductType.php deleted file mode 100644 index 399f324d8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/ProductType.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.ProductType - */ -class ProductType extends \Google\Protobuf\Internal\Message -{ - /** - * Value of the type. - * - * Generated from protobuf field optional string value = 1; - */ - protected $value = null; - /** - * Level of the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel level = 2; - */ - protected $level = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $value - * Value of the type. - * @type int $level - * Level of the type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * Value of the type. - * - * Generated from protobuf field optional string value = 1; - * @return string - */ - public function getValue() - { - return isset($this->value) ? $this->value : ''; - } - - public function hasValue() - { - return isset($this->value); - } - - public function clearValue() - { - unset($this->value); - } - - /** - * Value of the type. - * - * Generated from protobuf field optional string value = 1; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - - /** - * Level of the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel level = 2; - * @return int - */ - public function getLevel() - { - return $this->level; - } - - /** - * Level of the type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel level = 2; - * @param int $var - * @return $this - */ - public function setLevel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ListingGroupFilterProductTypeLevelEnum\ListingGroupFilterProductTypeLevel::class); - $this->level = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductType::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_ProductType::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/Webpage.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/Webpage.php deleted file mode 100644 index cf858ce6b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/Webpage.php +++ /dev/null @@ -1,112 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.Webpage - */ -class Webpage extends \Google\Protobuf\Internal\Message -{ - /** - * The webpage conditions are case sensitive and these are and-ed together - * when evaluated for filtering. All the conditions should be of same type. - * Example1: for URL1 = www.ads.google.com?ocid=1&euid=2 - * and URL2 = www.ads.google.com?ocid=1 - * and with "ocid" and "euid" as url_contains conditions, - * URL1 will be matched, but URL2 not. - * Example2 : If URL1 has Label1, Label2 and URL2 has Label2, Label3, then - * with Label1 and Label2 as custom_label conditions, URL1 will be matched - * but not URL2. - * With Label2 as the only custom_label condition then both URL1 and URL2 - * will be matched. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ListingGroupFilterDimension.WebpageCondition conditions = 1; - */ - private $conditions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\WebpageCondition>|\Google\Protobuf\Internal\RepeatedField $conditions - * The webpage conditions are case sensitive and these are and-ed together - * when evaluated for filtering. All the conditions should be of same type. - * Example1: for URL1 = www.ads.google.com?ocid=1&euid=2 - * and URL2 = www.ads.google.com?ocid=1 - * and with "ocid" and "euid" as url_contains conditions, - * URL1 will be matched, but URL2 not. - * Example2 : If URL1 has Label1, Label2 and URL2 has Label2, Label3, then - * with Label1 and Label2 as custom_label conditions, URL1 will be matched - * but not URL2. - * With Label2 as the only custom_label condition then both URL1 and URL2 - * will be matched. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * The webpage conditions are case sensitive and these are and-ed together - * when evaluated for filtering. All the conditions should be of same type. - * Example1: for URL1 = www.ads.google.com?ocid=1&euid=2 - * and URL2 = www.ads.google.com?ocid=1 - * and with "ocid" and "euid" as url_contains conditions, - * URL1 will be matched, but URL2 not. - * Example2 : If URL1 has Label1, Label2 and URL2 has Label2, Label3, then - * with Label1 and Label2 as custom_label conditions, URL1 will be matched - * but not URL2. - * With Label2 as the only custom_label condition then both URL1 and URL2 - * will be matched. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ListingGroupFilterDimension.WebpageCondition conditions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConditions() - { - return $this->conditions; - } - - /** - * The webpage conditions are case sensitive and these are and-ed together - * when evaluated for filtering. All the conditions should be of same type. - * Example1: for URL1 = www.ads.google.com?ocid=1&euid=2 - * and URL2 = www.ads.google.com?ocid=1 - * and with "ocid" and "euid" as url_contains conditions, - * URL1 will be matched, but URL2 not. - * Example2 : If URL1 has Label1, Label2 and URL2 has Label2, Label3, then - * with Label1 and Label2 as custom_label conditions, URL1 will be matched - * but not URL2. - * With Label2 as the only custom_label condition then both URL1 and URL2 - * will be matched. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ListingGroupFilterDimension.WebpageCondition conditions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\WebpageCondition>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConditions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension\WebpageCondition::class); - $this->conditions = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Webpage::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_Webpage::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/WebpageCondition.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/WebpageCondition.php deleted file mode 100644 index 62f54ff34..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimension/WebpageCondition.php +++ /dev/null @@ -1,120 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimension.WebpageCondition - */ -class WebpageCondition extends \Google\Protobuf\Internal\Message -{ - protected $condition; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $custom_label - * Filters the URLs in a page feed that have this custom label. A custom - * label can be added to a campaign by creating an AssetSet of type - * PAGE_FEED and linking it to the campaign using CampaignAssetSet. - * @type string $url_contains - * Filters the URLs in a page feed and the URLs from the advertiser web - * domain that contain this string. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * Filters the URLs in a page feed that have this custom label. A custom - * label can be added to a campaign by creating an AssetSet of type - * PAGE_FEED and linking it to the campaign using CampaignAssetSet. - * - * Generated from protobuf field string custom_label = 1; - * @return string - */ - public function getCustomLabel() - { - return $this->readOneof(1); - } - - public function hasCustomLabel() - { - return $this->hasOneof(1); - } - - /** - * Filters the URLs in a page feed that have this custom label. A custom - * label can be added to a campaign by creating an AssetSet of type - * PAGE_FEED and linking it to the campaign using CampaignAssetSet. - * - * Generated from protobuf field string custom_label = 1; - * @param string $var - * @return $this - */ - public function setCustomLabel($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Filters the URLs in a page feed and the URLs from the advertiser web - * domain that contain this string. - * - * Generated from protobuf field string url_contains = 2; - * @return string - */ - public function getUrlContains() - { - return $this->readOneof(2); - } - - public function hasUrlContains() - { - return $this->hasOneof(2); - } - - /** - * Filters the URLs in a page feed and the URLs from the advertiser web - * domain that contain this string. - * - * Generated from protobuf field string url_contains = 2; - * @param string $var - * @return $this - */ - public function setUrlContains($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getCondition() - { - return $this->whichOneof("condition"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(WebpageCondition::class, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension_WebpageCondition::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimensionPath.php b/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimensionPath.php deleted file mode 100644 index b7a1a92f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ListingGroupFilterDimensionPath.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.resources.ListingGroupFilterDimensionPath - */ -class ListingGroupFilterDimensionPath extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The complete path of dimensions through the listing group - * filter hierarchy (excluding the root node) to this listing group filter. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ListingGroupFilterDimension dimensions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $dimensions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension>|\Google\Protobuf\Internal\RepeatedField $dimensions - * Output only. The complete path of dimensions through the listing group - * filter hierarchy (excluding the root node) to this listing group filter. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The complete path of dimensions through the listing group - * filter hierarchy (excluding the root node) to this listing group filter. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ListingGroupFilterDimension dimensions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * Output only. The complete path of dimensions through the listing group - * filter hierarchy (excluding the root node) to this listing group filter. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ListingGroupFilterDimension dimensions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\ListingGroupFilterDimension::class); - $this->dimensions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesLead.php b/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesLead.php deleted file mode 100644 index b701ed4a4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesLead.php +++ /dev/null @@ -1,474 +0,0 @@ -google.ads.googleads.v15.resources.LocalServicesLead - */ -class LocalServicesLead extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the local services lead data. - * Local Services Lead resource name have the form - * `customers/{customer_id}/localServicesLead/{local_services_lead_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of this Lead. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. Service category of the lead. For example: - * `xcat:service_area_business_hvac`, - * `xcat:service_area_business_real_estate_agent`, etc. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category_id = ''; - /** - * Output only. Service for the category. For example: `buyer_agent`, - * `seller_agent` for the category of - * `xcat:service_area_business_real_estate_agent`. - * - * Generated from protobuf field string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $service_id = ''; - /** - * Output only. Lead's contact details. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $contact_details = null; - /** - * Output only. Type of Local Services lead: phone, message, booking, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $lead_type = 0; - /** - * Output only. Current status of lead. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $lead_status = 0; - /** - * Output only. The date time at which lead was created by Local Services Ads. - * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creation_date_time = ''; - /** - * Output only. Language used by the Local Services provider linked to lead. - * See https://developers.google.com/google-ads/api/data/codes-formats#locales - * - * Generated from protobuf field string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $locale = ''; - /** - * Output only. Note added by advertiser for the lead. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $note = null; - /** - * Output only. True if the advertiser was charged for the lead. - * - * Generated from protobuf field bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $lead_charged = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the local services lead data. - * Local Services Lead resource name have the form - * `customers/{customer_id}/localServicesLead/{local_services_lead_id}` - * @type int|string $id - * Output only. ID of this Lead. - * @type string $category_id - * Output only. Service category of the lead. For example: - * `xcat:service_area_business_hvac`, - * `xcat:service_area_business_real_estate_agent`, etc. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * @type string $service_id - * Output only. Service for the category. For example: `buyer_agent`, - * `seller_agent` for the category of - * `xcat:service_area_business_real_estate_agent`. - * @type \Google\Ads\GoogleAds\V15\Resources\ContactDetails $contact_details - * Output only. Lead's contact details. - * @type int $lead_type - * Output only. Type of Local Services lead: phone, message, booking, etc. - * @type int $lead_status - * Output only. Current status of lead. - * @type string $creation_date_time - * Output only. The date time at which lead was created by Local Services Ads. - * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type string $locale - * Output only. Language used by the Local Services provider linked to lead. - * See https://developers.google.com/google-ads/api/data/codes-formats#locales - * @type \Google\Ads\GoogleAds\V15\Resources\Note $note - * Output only. Note added by advertiser for the lead. - * @type bool $lead_charged - * Output only. True if the advertiser was charged for the lead. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesLead::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the local services lead data. - * Local Services Lead resource name have the form - * `customers/{customer_id}/localServicesLead/{local_services_lead_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the local services lead data. - * Local Services Lead resource name have the form - * `customers/{customer_id}/localServicesLead/{local_services_lead_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of this Lead. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. ID of this Lead. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Service category of the lead. For example: - * `xcat:service_area_business_hvac`, - * `xcat:service_area_business_real_estate_agent`, etc. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCategoryId() - { - return $this->category_id; - } - - /** - * Output only. Service category of the lead. For example: - * `xcat:service_area_business_hvac`, - * `xcat:service_area_business_real_estate_agent`, etc. - * For more details see: - * https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids - * - * Generated from protobuf field string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCategoryId($var) - { - GPBUtil::checkString($var, True); - $this->category_id = $var; - - return $this; - } - - /** - * Output only. Service for the category. For example: `buyer_agent`, - * `seller_agent` for the category of - * `xcat:service_area_business_real_estate_agent`. - * - * Generated from protobuf field string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getServiceId() - { - return $this->service_id; - } - - /** - * Output only. Service for the category. For example: `buyer_agent`, - * `seller_agent` for the category of - * `xcat:service_area_business_real_estate_agent`. - * - * Generated from protobuf field string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setServiceId($var) - { - GPBUtil::checkString($var, True); - $this->service_id = $var; - - return $this; - } - - /** - * Output only. Lead's contact details. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\ContactDetails|null - */ - public function getContactDetails() - { - return $this->contact_details; - } - - public function hasContactDetails() - { - return isset($this->contact_details); - } - - public function clearContactDetails() - { - unset($this->contact_details); - } - - /** - * Output only. Lead's contact details. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\ContactDetails $var - * @return $this - */ - public function setContactDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ContactDetails::class); - $this->contact_details = $var; - - return $this; - } - - /** - * Output only. Type of Local Services lead: phone, message, booking, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLeadType() - { - return $this->lead_type; - } - - /** - * Output only. Type of Local Services lead: phone, message, booking, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLeadType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesLeadTypeEnum\LeadType::class); - $this->lead_type = $var; - - return $this; - } - - /** - * Output only. Current status of lead. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLeadStatus() - { - return $this->lead_status; - } - - /** - * Output only. Current status of lead. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLeadStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesLeadStatusEnum\LeadStatus::class); - $this->lead_status = $var; - - return $this; - } - - /** - * Output only. The date time at which lead was created by Local Services Ads. - * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreationDateTime() - { - return $this->creation_date_time; - } - - /** - * Output only. The date time at which lead was created by Local Services Ads. - * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreationDateTime($var) - { - GPBUtil::checkString($var, True); - $this->creation_date_time = $var; - - return $this; - } - - /** - * Output only. Language used by the Local Services provider linked to lead. - * See https://developers.google.com/google-ads/api/data/codes-formats#locales - * - * Generated from protobuf field string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLocale() - { - return $this->locale; - } - - /** - * Output only. Language used by the Local Services provider linked to lead. - * See https://developers.google.com/google-ads/api/data/codes-formats#locales - * - * Generated from protobuf field string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLocale($var) - { - GPBUtil::checkString($var, True); - $this->locale = $var; - - return $this; - } - - /** - * Output only. Note added by advertiser for the lead. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Note|null - */ - public function getNote() - { - return $this->note; - } - - public function hasNote() - { - return isset($this->note); - } - - public function clearNote() - { - unset($this->note); - } - - /** - * Output only. Note added by advertiser for the lead. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Note $var - * @return $this - */ - public function setNote($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Note::class); - $this->note = $var; - - return $this; - } - - /** - * Output only. True if the advertiser was charged for the lead. - * - * Generated from protobuf field bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getLeadCharged() - { - return $this->lead_charged; - } - - /** - * Output only. True if the advertiser was charged for the lead. - * - * Generated from protobuf field bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setLeadCharged($var) - { - GPBUtil::checkBool($var); - $this->lead_charged = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesLeadConversation.php b/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesLeadConversation.php deleted file mode 100644 index 084af0d29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesLeadConversation.php +++ /dev/null @@ -1,360 +0,0 @@ -google.ads.googleads.v15.resources.LocalServicesLeadConversation - */ -class LocalServicesLeadConversation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the local services lead conversation - * data. Local Services Lead Conversation resource name have the form - * `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of this Lead Conversation. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL, - * SMS, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadConversationTypeEnum.ConversationType conversation_channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $conversation_channel = 0; - /** - * Output only. Type of participant in the lead conversation, ADVERTISER or - * CONSUMER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesParticipantTypeEnum.ParticipantType participant_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $participant_type = 0; - /** - * Output only. Resource name of Lead associated to the Lead Conversation. - * - * Generated from protobuf field string lead = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $lead = ''; - /** - * Output only. The date time at which lead conversation was created by Local - * Services Ads. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads - * account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 - * 14:34:30" - * - * Generated from protobuf field string event_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $event_date_time = ''; - /** - * Output only. Details of phone call conversation in case of PHONE_CALL. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.PhoneCallDetails phone_call_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $phone_call_details = null; - /** - * Output only. Details of message conversation in case of EMAIL, MESSAGE or - * SMS. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.MessageDetails message_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $message_details = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the local services lead conversation - * data. Local Services Lead Conversation resource name have the form - * `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}` - * @type int|string $id - * Output only. ID of this Lead Conversation. - * @type int $conversation_channel - * Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL, - * SMS, etc. - * @type int $participant_type - * Output only. Type of participant in the lead conversation, ADVERTISER or - * CONSUMER. - * @type string $lead - * Output only. Resource name of Lead associated to the Lead Conversation. - * @type string $event_date_time - * Output only. The date time at which lead conversation was created by Local - * Services Ads. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads - * account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 - * 14:34:30" - * @type \Google\Ads\GoogleAds\V15\Resources\PhoneCallDetails $phone_call_details - * Output only. Details of phone call conversation in case of PHONE_CALL. - * @type \Google\Ads\GoogleAds\V15\Resources\MessageDetails $message_details - * Output only. Details of message conversation in case of EMAIL, MESSAGE or - * SMS. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesLeadConversation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the local services lead conversation - * data. Local Services Lead Conversation resource name have the form - * `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the local services lead conversation - * data. Local Services Lead Conversation resource name have the form - * `customers/{customer_id}/localServicesLeadConversation/{local_services_lead_conversation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of this Lead Conversation. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. ID of this Lead Conversation. - * - * Generated from protobuf field int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL, - * SMS, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadConversationTypeEnum.ConversationType conversation_channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getConversationChannel() - { - return $this->conversation_channel; - } - - /** - * Output only. Type of GLS lead conversation, EMAIL, MESSAGE, PHONE_CALL, - * SMS, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesLeadConversationTypeEnum.ConversationType conversation_channel = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setConversationChannel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesLeadConversationTypeEnum\ConversationType::class); - $this->conversation_channel = $var; - - return $this; - } - - /** - * Output only. Type of participant in the lead conversation, ADVERTISER or - * CONSUMER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesParticipantTypeEnum.ParticipantType participant_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getParticipantType() - { - return $this->participant_type; - } - - /** - * Output only. Type of participant in the lead conversation, ADVERTISER or - * CONSUMER. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesParticipantTypeEnum.ParticipantType participant_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setParticipantType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesParticipantTypeEnum\ParticipantType::class); - $this->participant_type = $var; - - return $this; - } - - /** - * Output only. Resource name of Lead associated to the Lead Conversation. - * - * Generated from protobuf field string lead = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getLead() - { - return $this->lead; - } - - /** - * Output only. Resource name of Lead associated to the Lead Conversation. - * - * Generated from protobuf field string lead = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setLead($var) - { - GPBUtil::checkString($var, True); - $this->lead = $var; - - return $this; - } - - /** - * Output only. The date time at which lead conversation was created by Local - * Services Ads. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads - * account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 - * 14:34:30" - * - * Generated from protobuf field string event_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEventDateTime() - { - return $this->event_date_time; - } - - /** - * Output only. The date time at which lead conversation was created by Local - * Services Ads. The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads - * account's timezone. Examples: "2018-03-05 09:15:00" or "2018-02-01 - * 14:34:30" - * - * Generated from protobuf field string event_date_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEventDateTime($var) - { - GPBUtil::checkString($var, True); - $this->event_date_time = $var; - - return $this; - } - - /** - * Output only. Details of phone call conversation in case of PHONE_CALL. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.PhoneCallDetails phone_call_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\PhoneCallDetails|null - */ - public function getPhoneCallDetails() - { - return $this->phone_call_details; - } - - public function hasPhoneCallDetails() - { - return isset($this->phone_call_details); - } - - public function clearPhoneCallDetails() - { - unset($this->phone_call_details); - } - - /** - * Output only. Details of phone call conversation in case of PHONE_CALL. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.PhoneCallDetails phone_call_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\PhoneCallDetails $var - * @return $this - */ - public function setPhoneCallDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\PhoneCallDetails::class); - $this->phone_call_details = $var; - - return $this; - } - - /** - * Output only. Details of message conversation in case of EMAIL, MESSAGE or - * SMS. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.MessageDetails message_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\MessageDetails|null - */ - public function getMessageDetails() - { - return $this->message_details; - } - - public function hasMessageDetails() - { - return isset($this->message_details); - } - - public function clearMessageDetails() - { - unset($this->message_details); - } - - /** - * Output only. Details of message conversation in case of EMAIL, MESSAGE or - * SMS. - * - * Generated from protobuf field optional .google.ads.googleads.v15.resources.MessageDetails message_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\MessageDetails $var - * @return $this - */ - public function setMessageDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MessageDetails::class); - $this->message_details = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesSettings.php b/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesSettings.php deleted file mode 100644 index 28b9c7e5c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesSettings.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.resources.LocalServicesSettings - */ -class LocalServicesSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. A read-only list of geo vertical level license statuses. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GranularLicenseStatus granular_license_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $granular_license_statuses; - /** - * Output only. A read-only list of geo vertical level insurance statuses. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GranularInsuranceStatus granular_insurance_statuses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $granular_insurance_statuses; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\GranularLicenseStatus>|\Google\Protobuf\Internal\RepeatedField $granular_license_statuses - * Output only. A read-only list of geo vertical level license statuses. - * @type array<\Google\Ads\GoogleAds\V15\Resources\GranularInsuranceStatus>|\Google\Protobuf\Internal\RepeatedField $granular_insurance_statuses - * Output only. A read-only list of geo vertical level insurance statuses. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Customer::initOnce(); - parent::__construct($data); - } - - /** - * Output only. A read-only list of geo vertical level license statuses. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GranularLicenseStatus granular_license_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGranularLicenseStatuses() - { - return $this->granular_license_statuses; - } - - /** - * Output only. A read-only list of geo vertical level license statuses. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GranularLicenseStatus granular_license_statuses = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\GranularLicenseStatus>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGranularLicenseStatuses($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\GranularLicenseStatus::class); - $this->granular_license_statuses = $arr; - - return $this; - } - - /** - * Output only. A read-only list of geo vertical level insurance statuses. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GranularInsuranceStatus granular_insurance_statuses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGranularInsuranceStatuses() - { - return $this->granular_insurance_statuses; - } - - /** - * Output only. A read-only list of geo vertical level insurance statuses. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GranularInsuranceStatus granular_insurance_statuses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\GranularInsuranceStatus>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGranularInsuranceStatuses($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\GranularInsuranceStatus::class); - $this->granular_insurance_statuses = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesVerificationArtifact.php b/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesVerificationArtifact.php deleted file mode 100644 index 968e21569..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LocalServicesVerificationArtifact.php +++ /dev/null @@ -1,337 +0,0 @@ -google.ads.googleads.v15.resources.LocalServicesVerificationArtifact - */ -class LocalServicesVerificationArtifact extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Local Services Verification. - * Local Services Verification resource names have the form: - * `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the verification artifact. - * - * Generated from protobuf field optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The timestamp when this verification artifact was created. - * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creation_date_time = ''; - /** - * Output only. The status of the verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. The type of the verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $artifact_type = 0; - protected $artifact_data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the Local Services Verification. - * Local Services Verification resource names have the form: - * `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}` - * @type int|string $id - * Output only. The ID of the verification artifact. - * @type string $creation_date_time - * Output only. The timestamp when this verification artifact was created. - * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type int $status - * Output only. The status of the verification artifact. - * @type int $artifact_type - * Output only. The type of the verification artifact. - * @type \Google\Ads\GoogleAds\V15\Resources\BackgroundCheckVerificationArtifact $background_check_verification_artifact - * Output only. A background check verification artifact. - * @type \Google\Ads\GoogleAds\V15\Resources\InsuranceVerificationArtifact $insurance_verification_artifact - * Output only. An insurance verification artifact. - * @type \Google\Ads\GoogleAds\V15\Resources\LicenseVerificationArtifact $license_verification_artifact - * Output only. A license verification artifact. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesVerificationArtifact::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Local Services Verification. - * Local Services Verification resource names have the form: - * `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the Local Services Verification. - * Local Services Verification resource names have the form: - * `customers/{customer_id}/localServicesVerificationArtifacts/{verification_artifact_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the verification artifact. - * - * Generated from protobuf field optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the verification artifact. - * - * Generated from protobuf field optional int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The timestamp when this verification artifact was created. - * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreationDateTime() - { - return $this->creation_date_time; - } - - /** - * Output only. The timestamp when this verification artifact was created. - * The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. - * Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string creation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreationDateTime($var) - { - GPBUtil::checkString($var, True); - $this->creation_date_time = $var; - - return $this; - } - - /** - * Output only. The status of the verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesVerificationArtifactStatusEnum.LocalServicesVerificationArtifactStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationArtifactStatusEnum\LocalServicesVerificationArtifactStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The type of the verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getArtifactType() - { - return $this->artifact_type; - } - - /** - * Output only. The type of the verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LocalServicesVerificationArtifactTypeEnum.LocalServicesVerificationArtifactType artifact_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setArtifactType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationArtifactTypeEnum\LocalServicesVerificationArtifactType::class); - $this->artifact_type = $var; - - return $this; - } - - /** - * Output only. A background check verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\BackgroundCheckVerificationArtifact|null - */ - public function getBackgroundCheckVerificationArtifact() - { - return $this->readOneof(6); - } - - public function hasBackgroundCheckVerificationArtifact() - { - return $this->hasOneof(6); - } - - /** - * Output only. A background check verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BackgroundCheckVerificationArtifact background_check_verification_artifact = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\BackgroundCheckVerificationArtifact $var - * @return $this - */ - public function setBackgroundCheckVerificationArtifact($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BackgroundCheckVerificationArtifact::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Output only. An insurance verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\InsuranceVerificationArtifact|null - */ - public function getInsuranceVerificationArtifact() - { - return $this->readOneof(7); - } - - public function hasInsuranceVerificationArtifact() - { - return $this->hasOneof(7); - } - - /** - * Output only. An insurance verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.InsuranceVerificationArtifact insurance_verification_artifact = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\InsuranceVerificationArtifact $var - * @return $this - */ - public function setInsuranceVerificationArtifact($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\InsuranceVerificationArtifact::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Output only. A license verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\LicenseVerificationArtifact|null - */ - public function getLicenseVerificationArtifact() - { - return $this->readOneof(8); - } - - public function hasLicenseVerificationArtifact() - { - return $this->hasOneof(8); - } - - /** - * Output only. A license verification artifact. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LicenseVerificationArtifact license_verification_artifact = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\LicenseVerificationArtifact $var - * @return $this - */ - public function setLicenseVerificationArtifact($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LicenseVerificationArtifact::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * @return string - */ - public function getArtifactData() - { - return $this->whichOneof("artifact_data"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/LocationView.php b/src/Google/Ads/GoogleAds/V15/Resources/LocationView.php deleted file mode 100644 index a2fa7dc12..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/LocationView.php +++ /dev/null @@ -1,76 +0,0 @@ -google.ads.googleads.v15.resources.LocationView - */ -class LocationView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the location view. - * Location view resource names have the form: - * `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the location view. - * Location view resource names have the form: - * `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocationView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the location view. - * Location view resource names have the form: - * `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the location view. - * Location view resource names have the form: - * `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ManagedPlacementView.php b/src/Google/Ads/GoogleAds/V15/Resources/ManagedPlacementView.php deleted file mode 100644 index a60b17c8b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ManagedPlacementView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.ManagedPlacementView - */ -class ManagedPlacementView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Managed Placement view. - * Managed placement view resource names have the form: - * `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the Managed Placement view. - * Managed placement view resource names have the form: - * `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ManagedPlacementView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Managed Placement view. - * Managed placement view resource names have the form: - * `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the Managed Placement view. - * Managed placement view resource names have the form: - * `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MediaAudio.php b/src/Google/Ads/GoogleAds/V15/Resources/MediaAudio.php deleted file mode 100644 index 1b9069695..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MediaAudio.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.resources.MediaAudio - */ -class MediaAudio extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The duration of the Audio in milliseconds. - * - * Generated from protobuf field optional int64 ad_duration_millis = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_duration_millis = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $ad_duration_millis - * Output only. The duration of the Audio in milliseconds. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\MediaFile::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The duration of the Audio in milliseconds. - * - * Generated from protobuf field optional int64 ad_duration_millis = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdDurationMillis() - { - return isset($this->ad_duration_millis) ? $this->ad_duration_millis : 0; - } - - public function hasAdDurationMillis() - { - return isset($this->ad_duration_millis); - } - - public function clearAdDurationMillis() - { - unset($this->ad_duration_millis); - } - - /** - * Output only. The duration of the Audio in milliseconds. - * - * Generated from protobuf field optional int64 ad_duration_millis = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdDurationMillis($var) - { - GPBUtil::checkInt64($var); - $this->ad_duration_millis = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MediaBundle.php b/src/Google/Ads/GoogleAds/V15/Resources/MediaBundle.php deleted file mode 100644 index 0b40c4356..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MediaBundle.php +++ /dev/null @@ -1,129 +0,0 @@ -google.ads.googleads.v15.resources.MediaBundle - */ -class MediaBundle extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Raw zipped data. - * - * Generated from protobuf field optional bytes data = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $data = null; - /** - * Output only. The url to access the uploaded zipped data. - * For example, https://tpc.googlesyndication.com/simgad/123 - * This field is read-only. - * - * Generated from protobuf field optional string url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $data - * Immutable. Raw zipped data. - * @type string $url - * Output only. The url to access the uploaded zipped data. - * For example, https://tpc.googlesyndication.com/simgad/123 - * This field is read-only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\MediaFile::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Raw zipped data. - * - * Generated from protobuf field optional bytes data = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getData() - { - return isset($this->data) ? $this->data : ''; - } - - public function hasData() - { - return isset($this->data); - } - - public function clearData() - { - unset($this->data); - } - - /** - * Immutable. Raw zipped data. - * - * Generated from protobuf field optional bytes data = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setData($var) - { - GPBUtil::checkString($var, False); - $this->data = $var; - - return $this; - } - - /** - * Output only. The url to access the uploaded zipped data. - * For example, https://tpc.googlesyndication.com/simgad/123 - * This field is read-only. - * - * Generated from protobuf field optional string url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getUrl() - { - return isset($this->url) ? $this->url : ''; - } - - public function hasUrl() - { - return isset($this->url); - } - - public function clearUrl() - { - unset($this->url); - } - - /** - * Output only. The url to access the uploaded zipped data. - * For example, https://tpc.googlesyndication.com/simgad/123 - * This field is read-only. - * - * Generated from protobuf field optional string url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setUrl($var) - { - GPBUtil::checkString($var, True); - $this->url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MediaFile.php b/src/Google/Ads/GoogleAds/V15/Resources/MediaFile.php deleted file mode 100644 index ffdc1aac6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MediaFile.php +++ /dev/null @@ -1,471 +0,0 @@ -google.ads.googleads.v15.resources.MediaFile - */ -class MediaFile extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the media file. - * Media file resource names have the form: - * `customers/{customer_id}/mediaFiles/{media_file_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the media file. - * - * Generated from protobuf field optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Immutable. Type of the media file. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MediaTypeEnum.MediaType type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * Output only. The mime type of the media file. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $mime_type = 0; - /** - * Immutable. The URL of where the original media file was downloaded from (or - * a file name). Only used for media of type AUDIO and IMAGE. - * - * Generated from protobuf field optional string source_url = 13 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $source_url = null; - /** - * Immutable. The name of the media file. The name can be used by clients to - * help identify previously uploaded media. - * - * Generated from protobuf field optional string name = 14 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $name = null; - /** - * Output only. The size of the media file in bytes. - * - * Generated from protobuf field optional int64 file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $file_size = null; - protected $mediatype; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the media file. - * Media file resource names have the form: - * `customers/{customer_id}/mediaFiles/{media_file_id}` - * @type int|string $id - * Output only. The ID of the media file. - * @type int $type - * Immutable. Type of the media file. - * @type int $mime_type - * Output only. The mime type of the media file. - * @type string $source_url - * Immutable. The URL of where the original media file was downloaded from (or - * a file name). Only used for media of type AUDIO and IMAGE. - * @type string $name - * Immutable. The name of the media file. The name can be used by clients to - * help identify previously uploaded media. - * @type int|string $file_size - * Output only. The size of the media file in bytes. - * @type \Google\Ads\GoogleAds\V15\Resources\MediaImage $image - * Immutable. Encapsulates an Image. - * @type \Google\Ads\GoogleAds\V15\Resources\MediaBundle $media_bundle - * Immutable. A ZIP archive media the content of which contains HTML5 - * assets. - * @type \Google\Ads\GoogleAds\V15\Resources\MediaAudio $audio - * Output only. Encapsulates an Audio. - * @type \Google\Ads\GoogleAds\V15\Resources\MediaVideo $video - * Immutable. Encapsulates a Video. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\MediaFile::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the media file. - * Media file resource names have the form: - * `customers/{customer_id}/mediaFiles/{media_file_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the media file. - * Media file resource names have the form: - * `customers/{customer_id}/mediaFiles/{media_file_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the media file. - * - * Generated from protobuf field optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the media file. - * - * Generated from protobuf field optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Immutable. Type of the media file. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MediaTypeEnum.MediaType type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Immutable. Type of the media file. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MediaTypeEnum.MediaType type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MediaTypeEnum\MediaType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The mime type of the media file. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getMimeType() - { - return $this->mime_type; - } - - /** - * Output only. The mime type of the media file. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setMimeType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MimeTypeEnum\MimeType::class); - $this->mime_type = $var; - - return $this; - } - - /** - * Immutable. The URL of where the original media file was downloaded from (or - * a file name). Only used for media of type AUDIO and IMAGE. - * - * Generated from protobuf field optional string source_url = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getSourceUrl() - { - return isset($this->source_url) ? $this->source_url : ''; - } - - public function hasSourceUrl() - { - return isset($this->source_url); - } - - public function clearSourceUrl() - { - unset($this->source_url); - } - - /** - * Immutable. The URL of where the original media file was downloaded from (or - * a file name). Only used for media of type AUDIO and IMAGE. - * - * Generated from protobuf field optional string source_url = 13 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setSourceUrl($var) - { - GPBUtil::checkString($var, True); - $this->source_url = $var; - - return $this; - } - - /** - * Immutable. The name of the media file. The name can be used by clients to - * help identify previously uploaded media. - * - * Generated from protobuf field optional string name = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Immutable. The name of the media file. The name can be used by clients to - * help identify previously uploaded media. - * - * Generated from protobuf field optional string name = 14 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The size of the media file in bytes. - * - * Generated from protobuf field optional int64 file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getFileSize() - { - return isset($this->file_size) ? $this->file_size : 0; - } - - public function hasFileSize() - { - return isset($this->file_size); - } - - public function clearFileSize() - { - unset($this->file_size); - } - - /** - * Output only. The size of the media file in bytes. - * - * Generated from protobuf field optional int64 file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setFileSize($var) - { - GPBUtil::checkInt64($var); - $this->file_size = $var; - - return $this; - } - - /** - * Immutable. Encapsulates an Image. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaImage image = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\MediaImage|null - */ - public function getImage() - { - return $this->readOneof(3); - } - - public function hasImage() - { - return $this->hasOneof(3); - } - - /** - * Immutable. Encapsulates an Image. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaImage image = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\MediaImage $var - * @return $this - */ - public function setImage($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MediaImage::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Immutable. A ZIP archive media the content of which contains HTML5 - * assets. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaBundle media_bundle = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\MediaBundle|null - */ - public function getMediaBundle() - { - return $this->readOneof(4); - } - - public function hasMediaBundle() - { - return $this->hasOneof(4); - } - - /** - * Immutable. A ZIP archive media the content of which contains HTML5 - * assets. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaBundle media_bundle = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\MediaBundle $var - * @return $this - */ - public function setMediaBundle($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MediaBundle::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Output only. Encapsulates an Audio. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaAudio audio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\MediaAudio|null - */ - public function getAudio() - { - return $this->readOneof(10); - } - - public function hasAudio() - { - return $this->hasOneof(10); - } - - /** - * Output only. Encapsulates an Audio. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaAudio audio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\MediaAudio $var - * @return $this - */ - public function setAudio($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MediaAudio::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Immutable. Encapsulates a Video. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaVideo video = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\MediaVideo|null - */ - public function getVideo() - { - return $this->readOneof(11); - } - - public function hasVideo() - { - return $this->hasOneof(11); - } - - /** - * Immutable. Encapsulates a Video. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaVideo video = 11 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\MediaVideo $var - * @return $this - */ - public function setVideo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MediaVideo::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * @return string - */ - public function getMediatype() - { - return $this->whichOneof("mediatype"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MediaImage.php b/src/Google/Ads/GoogleAds/V15/Resources/MediaImage.php deleted file mode 100644 index d7cc55f0b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MediaImage.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.resources.MediaImage - */ -class MediaImage extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Raw image data. - * - * Generated from protobuf field optional bytes data = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $data = null; - /** - * Output only. The url to the full size version of the image. - * - * Generated from protobuf field optional string full_size_image_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $full_size_image_url = null; - /** - * Output only. The url to the preview size version of the image. - * - * Generated from protobuf field optional string preview_size_image_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $preview_size_image_url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $data - * Immutable. Raw image data. - * @type string $full_size_image_url - * Output only. The url to the full size version of the image. - * @type string $preview_size_image_url - * Output only. The url to the preview size version of the image. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\MediaFile::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Raw image data. - * - * Generated from protobuf field optional bytes data = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getData() - { - return isset($this->data) ? $this->data : ''; - } - - public function hasData() - { - return isset($this->data); - } - - public function clearData() - { - unset($this->data); - } - - /** - * Immutable. Raw image data. - * - * Generated from protobuf field optional bytes data = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setData($var) - { - GPBUtil::checkString($var, False); - $this->data = $var; - - return $this; - } - - /** - * Output only. The url to the full size version of the image. - * - * Generated from protobuf field optional string full_size_image_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFullSizeImageUrl() - { - return isset($this->full_size_image_url) ? $this->full_size_image_url : ''; - } - - public function hasFullSizeImageUrl() - { - return isset($this->full_size_image_url); - } - - public function clearFullSizeImageUrl() - { - unset($this->full_size_image_url); - } - - /** - * Output only. The url to the full size version of the image. - * - * Generated from protobuf field optional string full_size_image_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFullSizeImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->full_size_image_url = $var; - - return $this; - } - - /** - * Output only. The url to the preview size version of the image. - * - * Generated from protobuf field optional string preview_size_image_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPreviewSizeImageUrl() - { - return isset($this->preview_size_image_url) ? $this->preview_size_image_url : ''; - } - - public function hasPreviewSizeImageUrl() - { - return isset($this->preview_size_image_url); - } - - public function clearPreviewSizeImageUrl() - { - unset($this->preview_size_image_url); - } - - /** - * Output only. The url to the preview size version of the image. - * - * Generated from protobuf field optional string preview_size_image_url = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPreviewSizeImageUrl($var) - { - GPBUtil::checkString($var, True); - $this->preview_size_image_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MediaVideo.php b/src/Google/Ads/GoogleAds/V15/Resources/MediaVideo.php deleted file mode 100644 index 8d4788efd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MediaVideo.php +++ /dev/null @@ -1,229 +0,0 @@ -google.ads.googleads.v15.resources.MediaVideo - */ -class MediaVideo extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The duration of the Video in milliseconds. - * - * Generated from protobuf field optional int64 ad_duration_millis = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad_duration_millis = null; - /** - * Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - * "https://www.youtube.com/watch?v=" to this ID will get the YouTube - * streaming URL for this video. - * - * Generated from protobuf field optional string youtube_video_id = 6 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $youtube_video_id = null; - /** - * Output only. The Advertising Digital Identification code for this video, as - * defined by the American Association of Advertising Agencies, used mainly - * for television commercials. - * - * Generated from protobuf field optional string advertising_id_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $advertising_id_code = null; - /** - * Output only. The Industry Standard Commercial Identifier code for this - * video, used mainly for television commercials. - * - * Generated from protobuf field optional string isci_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $isci_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $ad_duration_millis - * Output only. The duration of the Video in milliseconds. - * @type string $youtube_video_id - * Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - * "https://www.youtube.com/watch?v=" to this ID will get the YouTube - * streaming URL for this video. - * @type string $advertising_id_code - * Output only. The Advertising Digital Identification code for this video, as - * defined by the American Association of Advertising Agencies, used mainly - * for television commercials. - * @type string $isci_code - * Output only. The Industry Standard Commercial Identifier code for this - * video, used mainly for television commercials. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\MediaFile::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The duration of the Video in milliseconds. - * - * Generated from protobuf field optional int64 ad_duration_millis = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAdDurationMillis() - { - return isset($this->ad_duration_millis) ? $this->ad_duration_millis : 0; - } - - public function hasAdDurationMillis() - { - return isset($this->ad_duration_millis); - } - - public function clearAdDurationMillis() - { - unset($this->ad_duration_millis); - } - - /** - * Output only. The duration of the Video in milliseconds. - * - * Generated from protobuf field optional int64 ad_duration_millis = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAdDurationMillis($var) - { - GPBUtil::checkInt64($var); - $this->ad_duration_millis = $var; - - return $this; - } - - /** - * Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - * "https://www.youtube.com/watch?v=" to this ID will get the YouTube - * streaming URL for this video. - * - * Generated from protobuf field optional string youtube_video_id = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getYoutubeVideoId() - { - return isset($this->youtube_video_id) ? $this->youtube_video_id : ''; - } - - public function hasYoutubeVideoId() - { - return isset($this->youtube_video_id); - } - - public function clearYoutubeVideoId() - { - unset($this->youtube_video_id); - } - - /** - * Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - * "https://www.youtube.com/watch?v=" to this ID will get the YouTube - * streaming URL for this video. - * - * Generated from protobuf field optional string youtube_video_id = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setYoutubeVideoId($var) - { - GPBUtil::checkString($var, True); - $this->youtube_video_id = $var; - - return $this; - } - - /** - * Output only. The Advertising Digital Identification code for this video, as - * defined by the American Association of Advertising Agencies, used mainly - * for television commercials. - * - * Generated from protobuf field optional string advertising_id_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAdvertisingIdCode() - { - return isset($this->advertising_id_code) ? $this->advertising_id_code : ''; - } - - public function hasAdvertisingIdCode() - { - return isset($this->advertising_id_code); - } - - public function clearAdvertisingIdCode() - { - unset($this->advertising_id_code); - } - - /** - * Output only. The Advertising Digital Identification code for this video, as - * defined by the American Association of Advertising Agencies, used mainly - * for television commercials. - * - * Generated from protobuf field optional string advertising_id_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAdvertisingIdCode($var) - { - GPBUtil::checkString($var, True); - $this->advertising_id_code = $var; - - return $this; - } - - /** - * Output only. The Industry Standard Commercial Identifier code for this - * video, used mainly for television commercials. - * - * Generated from protobuf field optional string isci_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getIsciCode() - { - return isset($this->isci_code) ? $this->isci_code : ''; - } - - public function hasIsciCode() - { - return isset($this->isci_code); - } - - public function clearIsciCode() - { - unset($this->isci_code); - } - - /** - * Output only. The Industry Standard Commercial Identifier code for this - * video, used mainly for television commercials. - * - * Generated from protobuf field optional string isci_code = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setIsciCode($var) - { - GPBUtil::checkString($var, True); - $this->isci_code = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MerchantCenterIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/MerchantCenterIdentifier.php deleted file mode 100644 index 4d098cf26..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MerchantCenterIdentifier.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.resources.MerchantCenterIdentifier - */ -class MerchantCenterIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The customer ID of the Google Merchant Center account. - * This field is required and should not be empty when creating a new - * Merchant Center link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 merchant_center_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $merchant_center_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $merchant_center_id - * Immutable. The customer ID of the Google Merchant Center account. - * This field is required and should not be empty when creating a new - * Merchant Center link. It is unable to be modified after the creation of - * the link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The customer ID of the Google Merchant Center account. - * This field is required and should not be empty when creating a new - * Merchant Center link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 merchant_center_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getMerchantCenterId() - { - return isset($this->merchant_center_id) ? $this->merchant_center_id : 0; - } - - public function hasMerchantCenterId() - { - return isset($this->merchant_center_id); - } - - public function clearMerchantCenterId() - { - unset($this->merchant_center_id); - } - - /** - * Immutable. The customer ID of the Google Merchant Center account. - * This field is required and should not be empty when creating a new - * Merchant Center link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 merchant_center_id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setMerchantCenterId($var) - { - GPBUtil::checkInt64($var); - $this->merchant_center_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MerchantCenterLinkInvitationIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/MerchantCenterLinkInvitationIdentifier.php deleted file mode 100644 index 4d636495a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MerchantCenterLinkInvitationIdentifier.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier - */ -class MerchantCenterLinkInvitationIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The Merchant Center id of the Merchant account. - * This field is read only - * - * Generated from protobuf field int64 merchant_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $merchant_center_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $merchant_center_id - * Output only. The Merchant Center id of the Merchant account. - * This field is read only - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductLinkInvitation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The Merchant Center id of the Merchant account. - * This field is read only - * - * Generated from protobuf field int64 merchant_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getMerchantCenterId() - { - return $this->merchant_center_id; - } - - /** - * Output only. The Merchant Center id of the Merchant account. - * This field is read only - * - * Generated from protobuf field int64 merchant_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setMerchantCenterId($var) - { - GPBUtil::checkInt64($var); - $this->merchant_center_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MessageDetails.php b/src/Google/Ads/GoogleAds/V15/Resources/MessageDetails.php deleted file mode 100644 index 9768e114b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MessageDetails.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.resources.MessageDetails - */ -class MessageDetails extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Textual content of the message. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $text = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * Output only. Textual content of the message. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesLeadConversation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Textual content of the message. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getText() - { - return $this->text; - } - - /** - * Output only. Textual content of the message. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MobileAppCategoryConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/MobileAppCategoryConstant.php deleted file mode 100644 index ad6fdf384..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MobileAppCategoryConstant.php +++ /dev/null @@ -1,163 +0,0 @@ -google.ads.googleads.v15.resources.MobileAppCategoryConstant - */ -class MobileAppCategoryConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the mobile app category constant. - * Mobile app category constant resource names have the form: - * `mobileAppCategoryConstants/{mobile_app_category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the mobile app category constant. - * - * Generated from protobuf field optional int32 id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. Mobile app category name. - * - * Generated from protobuf field optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the mobile app category constant. - * Mobile app category constant resource names have the form: - * `mobileAppCategoryConstants/{mobile_app_category_id}` - * @type int $id - * Output only. The ID of the mobile app category constant. - * @type string $name - * Output only. Mobile app category name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\MobileAppCategoryConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the mobile app category constant. - * Mobile app category constant resource names have the form: - * `mobileAppCategoryConstants/{mobile_app_category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the mobile app category constant. - * Mobile app category constant resource names have the form: - * `mobileAppCategoryConstants/{mobile_app_category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the mobile app category constant. - * - * Generated from protobuf field optional int32 id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the mobile app category constant. - * - * Generated from protobuf field optional int32 id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt32($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Mobile app category name. - * - * Generated from protobuf field optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. Mobile app category name. - * - * Generated from protobuf field optional string name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/MobileDeviceConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/MobileDeviceConstant.php deleted file mode 100644 index 10ecba427..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/MobileDeviceConstant.php +++ /dev/null @@ -1,285 +0,0 @@ -google.ads.googleads.v15.resources.MobileDeviceConstant - */ -class MobileDeviceConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the mobile device constant. - * Mobile device constant resource names have the form: - * `mobileDeviceConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the mobile device constant. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The name of the mobile device. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The manufacturer of the mobile device. - * - * Generated from protobuf field optional string manufacturer_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $manufacturer_name = null; - /** - * Output only. The operating system of the mobile device. - * - * Generated from protobuf field optional string operating_system_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $operating_system_name = null; - /** - * Output only. The type of mobile device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the mobile device constant. - * Mobile device constant resource names have the form: - * `mobileDeviceConstants/{criterion_id}` - * @type int|string $id - * Output only. The ID of the mobile device constant. - * @type string $name - * Output only. The name of the mobile device. - * @type string $manufacturer_name - * Output only. The manufacturer of the mobile device. - * @type string $operating_system_name - * Output only. The operating system of the mobile device. - * @type int $type - * Output only. The type of mobile device. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\MobileDeviceConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the mobile device constant. - * Mobile device constant resource names have the form: - * `mobileDeviceConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the mobile device constant. - * Mobile device constant resource names have the form: - * `mobileDeviceConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the mobile device constant. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the mobile device constant. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The name of the mobile device. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. The name of the mobile device. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The manufacturer of the mobile device. - * - * Generated from protobuf field optional string manufacturer_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getManufacturerName() - { - return isset($this->manufacturer_name) ? $this->manufacturer_name : ''; - } - - public function hasManufacturerName() - { - return isset($this->manufacturer_name); - } - - public function clearManufacturerName() - { - unset($this->manufacturer_name); - } - - /** - * Output only. The manufacturer of the mobile device. - * - * Generated from protobuf field optional string manufacturer_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setManufacturerName($var) - { - GPBUtil::checkString($var, True); - $this->manufacturer_name = $var; - - return $this; - } - - /** - * Output only. The operating system of the mobile device. - * - * Generated from protobuf field optional string operating_system_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOperatingSystemName() - { - return isset($this->operating_system_name) ? $this->operating_system_name : ''; - } - - public function hasOperatingSystemName() - { - return isset($this->operating_system_name); - } - - public function clearOperatingSystemName() - { - unset($this->operating_system_name); - } - - /** - * Output only. The operating system of the mobile device. - * - * Generated from protobuf field optional string operating_system_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOperatingSystemName($var) - { - GPBUtil::checkString($var, True); - $this->operating_system_name = $var; - - return $this; - } - - /** - * Output only. The type of mobile device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of mobile device. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MobileDeviceTypeEnum\MobileDeviceType::class); - $this->type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Note.php b/src/Google/Ads/GoogleAds/V15/Resources/Note.php deleted file mode 100644 index ce298ae07..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Note.php +++ /dev/null @@ -1,110 +0,0 @@ -google.ads.googleads.v15.resources.Note - */ -class Note extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The date time when lead note was edited. The format is - * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: - * "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string edit_date_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $edit_date_time = ''; - /** - * Output only. Content of lead note. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $description = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $edit_date_time - * Output only. The date time when lead note was edited. The format is - * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: - * "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * @type string $description - * Output only. Content of lead note. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesLead::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The date time when lead note was edited. The format is - * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: - * "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string edit_date_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEditDateTime() - { - return $this->edit_date_time; - } - - /** - * Output only. The date time when lead note was edited. The format is - * "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone. Examples: - * "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - * - * Generated from protobuf field string edit_date_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEditDateTime($var) - { - GPBUtil::checkString($var, True); - $this->edit_date_time = $var; - - return $this; - } - - /** - * Output only. Content of lead note. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Output only. Content of lead note. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionAlert.php b/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionAlert.php deleted file mode 100644 index bd65f9d29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionAlert.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.resources.OfflineConversionAlert - */ -class OfflineConversionAlert extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Error for offline conversion client alert. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineConversionError error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $error = null; - /** - * Output only. Percentage of the error, the range of this field should be - * [0, 1.0]. - * - * Generated from protobuf field double error_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $error_percentage = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\OfflineConversionError $error - * Output only. Error for offline conversion client alert. - * @type float $error_percentage - * Output only. Percentage of the error, the range of this field should be - * [0, 1.0]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\OfflineConversionUploadClientSummary::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Error for offline conversion client alert. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineConversionError error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\OfflineConversionError|null - */ - public function getError() - { - return $this->error; - } - - public function hasError() - { - return isset($this->error); - } - - public function clearError() - { - unset($this->error); - } - - /** - * Output only. Error for offline conversion client alert. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineConversionError error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\OfflineConversionError $var - * @return $this - */ - public function setError($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\OfflineConversionError::class); - $this->error = $var; - - return $this; - } - - /** - * Output only. Percentage of the error, the range of this field should be - * [0, 1.0]. - * - * Generated from protobuf field double error_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getErrorPercentage() - { - return $this->error_percentage; - } - - /** - * Output only. Percentage of the error, the range of this field should be - * [0, 1.0]. - * - * Generated from protobuf field double error_percentage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setErrorPercentage($var) - { - GPBUtil::checkDouble($var); - $this->error_percentage = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionError.php b/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionError.php deleted file mode 100644 index d7e7efbb2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionError.php +++ /dev/null @@ -1,372 +0,0 @@ -google.ads.googleads.v15.resources.OfflineConversionError - */ -class OfflineConversionError extends \Google\Protobuf\Internal\Message -{ - protected $error_code; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $collection_size_error - * Output only. Collection size error. - * @type int $conversion_adjustment_upload_error - * Output only. Conversion adjustment upload error. - * @type int $conversion_upload_error - * Output only. Conversion upload error. - * @type int $date_error - * Output only. Date error. - * @type int $distinct_error - * Output only. Distinct error. - * @type int $field_error - * Output only. Field error. - * @type int $mutate_error - * Output only. Mutate error. - * @type int $not_allowlisted_error - * Output only. Not allowlisted error. - * @type int $string_format_error - * Output only. String format error. - * @type int $string_length_error - * Output only. String length error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\OfflineConversionUploadClientSummary::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Collection size error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getCollectionSizeError() - { - return $this->readOneof(1); - } - - public function hasCollectionSizeError() - { - return $this->hasOneof(1); - } - - /** - * Output only. Collection size error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setCollectionSizeError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\CollectionSizeErrorEnum\CollectionSizeError::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Output only. Conversion adjustment upload error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getConversionAdjustmentUploadError() - { - return $this->readOneof(2); - } - - public function hasConversionAdjustmentUploadError() - { - return $this->hasOneof(2); - } - - /** - * Output only. Conversion adjustment upload error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setConversionAdjustmentUploadError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionAdjustmentUploadErrorEnum\ConversionAdjustmentUploadError::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Output only. Conversion upload error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getConversionUploadError() - { - return $this->readOneof(3); - } - - public function hasConversionUploadError() - { - return $this->hasOneof(3); - } - - /** - * Output only. Conversion upload error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setConversionUploadError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\ConversionUploadErrorEnum\ConversionUploadError::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Output only. Date error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getDateError() - { - return $this->readOneof(4); - } - - public function hasDateError() - { - return $this->hasOneof(4); - } - - /** - * Output only. Date error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DateErrorEnum.DateError date_error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setDateError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\DateErrorEnum\DateError::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Output only. Distinct error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getDistinctError() - { - return $this->readOneof(5); - } - - public function hasDistinctError() - { - return $this->hasOneof(5); - } - - /** - * Output only. Distinct error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.DistinctErrorEnum.DistinctError distinct_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setDistinctError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\DistinctErrorEnum\DistinctError::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Output only. Field error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getFieldError() - { - return $this->readOneof(6); - } - - public function hasFieldError() - { - return $this->hasOneof(6); - } - - /** - * Output only. Field error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.FieldErrorEnum.FieldError field_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setFieldError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\FieldErrorEnum\FieldError::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Output only. Mutate error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getMutateError() - { - return $this->readOneof(7); - } - - public function hasMutateError() - { - return $this->hasOneof(7); - } - - /** - * Output only. Mutate error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.MutateErrorEnum.MutateError mutate_error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setMutateError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\MutateErrorEnum\MutateError::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Output only. Not allowlisted error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getNotAllowlistedError() - { - return $this->readOneof(8); - } - - public function hasNotAllowlistedError() - { - return $this->hasOneof(8); - } - - /** - * Output only. Not allowlisted error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setNotAllowlistedError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\NotAllowlistedErrorEnum\NotAllowlistedError::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Output only. String format error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStringFormatError() - { - return $this->readOneof(9); - } - - public function hasStringFormatError() - { - return $this->hasOneof(9); - } - - /** - * Output only. String format error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.StringFormatErrorEnum.StringFormatError string_format_error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStringFormatError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\StringFormatErrorEnum\StringFormatError::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Output only. String length error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStringLengthError() - { - return $this->readOneof(10); - } - - public function hasStringLengthError() - { - return $this->hasOneof(10); - } - - /** - * Output only. String length error. - * - * Generated from protobuf field .google.ads.googleads.v15.errors.StringLengthErrorEnum.StringLengthError string_length_error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStringLengthError($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Errors\StringLengthErrorEnum\StringLengthError::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * @return string - */ - public function getErrorCode() - { - return $this->whichOneof("error_code"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionSummary.php b/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionSummary.php deleted file mode 100644 index 43b30ada5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionSummary.php +++ /dev/null @@ -1,176 +0,0 @@ -google.ads.googleads.v15.resources.OfflineConversionSummary - */ -class OfflineConversionSummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Total count of successful event. - * - * Generated from protobuf field int64 successful_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $successful_count = 0; - /** - * Output only. Total count of failed event. - * - * Generated from protobuf field int64 failed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $failed_count = 0; - protected $dimension_key; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $successful_count - * Output only. Total count of successful event. - * @type int|string $failed_count - * Output only. Total count of failed event. - * @type int|string $job_id - * Output only. Dimension key for last N jobs. - * @type string $upload_date - * Output only. Dimension key for last N days. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\OfflineConversionUploadClientSummary::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Total count of successful event. - * - * Generated from protobuf field int64 successful_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSuccessfulCount() - { - return $this->successful_count; - } - - /** - * Output only. Total count of successful event. - * - * Generated from protobuf field int64 successful_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSuccessfulCount($var) - { - GPBUtil::checkInt64($var); - $this->successful_count = $var; - - return $this; - } - - /** - * Output only. Total count of failed event. - * - * Generated from protobuf field int64 failed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getFailedCount() - { - return $this->failed_count; - } - - /** - * Output only. Total count of failed event. - * - * Generated from protobuf field int64 failed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setFailedCount($var) - { - GPBUtil::checkInt64($var); - $this->failed_count = $var; - - return $this; - } - - /** - * Output only. Dimension key for last N jobs. - * - * Generated from protobuf field int64 job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getJobId() - { - return $this->readOneof(1); - } - - public function hasJobId() - { - return $this->hasOneof(1); - } - - /** - * Output only. Dimension key for last N jobs. - * - * Generated from protobuf field int64 job_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setJobId($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Output only. Dimension key for last N days. - * - * Generated from protobuf field string upload_date = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getUploadDate() - { - return $this->readOneof(2); - } - - public function hasUploadDate() - { - return $this->hasOneof(2); - } - - /** - * Output only. Dimension key for last N days. - * - * Generated from protobuf field string upload_date = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setUploadDate($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getDimensionKey() - { - return $this->whichOneof("dimension_key"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJob.php b/src/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJob.php deleted file mode 100644 index d64fe6815..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJob.php +++ /dev/null @@ -1,387 +0,0 @@ -google.ads.googleads.v15.resources.OfflineUserDataJob - */ -class OfflineUserDataJob extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the offline user data job. - * Offline user data job resource names have the form: - * `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. ID of this offline user data job. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Immutable. User specified job ID. - * - * Generated from protobuf field optional int64 external_id = 10 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $external_id = null; - /** - * Immutable. Type of the job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * Output only. Status of the job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobStatusEnum.OfflineUserDataJobStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. Reason for the processing failure, if status is FAILED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReason failure_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $failure_reason = 0; - /** - * Output only. Metadata of offline user data job depicting match rate range. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJobMetadata operation_metadata = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $operation_metadata = null; - protected $metadata; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the offline user data job. - * Offline user data job resource names have the form: - * `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` - * @type int|string $id - * Output only. ID of this offline user data job. - * @type int|string $external_id - * Immutable. User specified job ID. - * @type int $type - * Immutable. Type of the job. - * @type int $status - * Output only. Status of the job. - * @type int $failure_reason - * Output only. Reason for the processing failure, if status is FAILED. - * @type \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJobMetadata $operation_metadata - * Output only. Metadata of offline user data job depicting match rate range. - * @type \Google\Ads\GoogleAds\V15\Common\CustomerMatchUserListMetadata $customer_match_user_list_metadata - * Immutable. Metadata for data updates to a CRM-based user list. - * @type \Google\Ads\GoogleAds\V15\Common\StoreSalesMetadata $store_sales_metadata - * Immutable. Metadata for store sales data update. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the offline user data job. - * Offline user data job resource names have the form: - * `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the offline user data job. - * Offline user data job resource names have the form: - * `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. ID of this offline user data job. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. ID of this offline user data job. - * - * Generated from protobuf field optional int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Immutable. User specified job ID. - * - * Generated from protobuf field optional int64 external_id = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getExternalId() - { - return isset($this->external_id) ? $this->external_id : 0; - } - - public function hasExternalId() - { - return isset($this->external_id); - } - - public function clearExternalId() - { - unset($this->external_id); - } - - /** - * Immutable. User specified job ID. - * - * Generated from protobuf field optional int64 external_id = 10 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setExternalId($var) - { - GPBUtil::checkInt64($var); - $this->external_id = $var; - - return $this; - } - - /** - * Immutable. Type of the job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Immutable. Type of the job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobType type = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobTypeEnum\OfflineUserDataJobType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. Status of the job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobStatusEnum.OfflineUserDataJobStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Status of the job. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobStatusEnum.OfflineUserDataJobStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobStatusEnum\OfflineUserDataJobStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. Reason for the processing failure, if status is FAILED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReason failure_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getFailureReason() - { - return $this->failure_reason; - } - - /** - * Output only. Reason for the processing failure, if status is FAILED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReason failure_reason = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setFailureReason($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobFailureReasonEnum\OfflineUserDataJobFailureReason::class); - $this->failure_reason = $var; - - return $this; - } - - /** - * Output only. Metadata of offline user data job depicting match rate range. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJobMetadata operation_metadata = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJobMetadata|null - */ - public function getOperationMetadata() - { - return $this->operation_metadata; - } - - public function hasOperationMetadata() - { - return isset($this->operation_metadata); - } - - public function clearOperationMetadata() - { - unset($this->operation_metadata); - } - - /** - * Output only. Metadata of offline user data job depicting match rate range. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJobMetadata operation_metadata = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJobMetadata $var - * @return $this - */ - public function setOperationMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJobMetadata::class); - $this->operation_metadata = $var; - - return $this; - } - - /** - * Immutable. Metadata for data updates to a CRM-based user list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\CustomerMatchUserListMetadata|null - */ - public function getCustomerMatchUserListMetadata() - { - return $this->readOneof(7); - } - - public function hasCustomerMatchUserListMetadata() - { - return $this->hasOneof(7); - } - - /** - * Immutable. Metadata for data updates to a CRM-based user list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\CustomerMatchUserListMetadata $var - * @return $this - */ - public function setCustomerMatchUserListMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomerMatchUserListMetadata::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Immutable. Metadata for store sales data update. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StoreSalesMetadata store_sales_metadata = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\StoreSalesMetadata|null - */ - public function getStoreSalesMetadata() - { - return $this->readOneof(8); - } - - public function hasStoreSalesMetadata() - { - return $this->hasOneof(8); - } - - /** - * Immutable. Metadata for store sales data update. - * - * Generated from protobuf field .google.ads.googleads.v15.common.StoreSalesMetadata store_sales_metadata = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\StoreSalesMetadata $var - * @return $this - */ - public function setStoreSalesMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\StoreSalesMetadata::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * @return string - */ - public function getMetadata() - { - return $this->whichOneof("metadata"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJobMetadata.php b/src/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJobMetadata.php deleted file mode 100644 index 864b10b81..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJobMetadata.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.resources.OfflineUserDataJobMetadata - */ -class OfflineUserDataJobMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Match rate of the Customer Match user list upload. Describes - * the estimated match rate when the status of the job is "RUNNING" and final - * match rate when the final match rate is available after the status of the - * job is "SUCCESS/FAILED". - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange match_rate_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $match_rate_range = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $match_rate_range - * Output only. Match rate of the Customer Match user list upload. Describes - * the estimated match rate when the status of the job is "RUNNING" and final - * match rate when the final match rate is available after the status of the - * job is "SUCCESS/FAILED". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Match rate of the Customer Match user list upload. Describes - * the estimated match rate when the status of the job is "RUNNING" and final - * match rate when the final match rate is available after the status of the - * job is "SUCCESS/FAILED". - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange match_rate_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getMatchRateRange() - { - return $this->match_rate_range; - } - - /** - * Output only. Match rate of the Customer Match user list upload. Describes - * the estimated match rate when the status of the job is "RUNNING" and final - * match rate when the final match rate is available after the status of the - * job is "SUCCESS/FAILED". - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange match_rate_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setMatchRateRange($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\OfflineUserDataJobMatchRateRangeEnum\OfflineUserDataJobMatchRateRange::class); - $this->match_rate_range = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/OperatingSystemVersionConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/OperatingSystemVersionConstant.php deleted file mode 100644 index 61956fd19..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/OperatingSystemVersionConstant.php +++ /dev/null @@ -1,291 +0,0 @@ -google.ads.googleads.v15.resources.OperatingSystemVersionConstant - */ -class OperatingSystemVersionConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the operating system version constant. - * Operating system version constant resource names have the form: - * `operatingSystemVersionConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the operating system version. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. Name of the operating system. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The OS Major Version number. - * - * Generated from protobuf field optional int32 os_major_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $os_major_version = null; - /** - * Output only. The OS Minor Version number. - * - * Generated from protobuf field optional int32 os_minor_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $os_minor_version = null; - /** - * Output only. Determines whether this constant represents a single version - * or a range of versions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType operator_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $operator_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the operating system version constant. - * Operating system version constant resource names have the form: - * `operatingSystemVersionConstants/{criterion_id}` - * @type int|string $id - * Output only. The ID of the operating system version. - * @type string $name - * Output only. Name of the operating system. - * @type int $os_major_version - * Output only. The OS Major Version number. - * @type int $os_minor_version - * Output only. The OS Minor Version number. - * @type int $operator_type - * Output only. Determines whether this constant represents a single version - * or a range of versions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\OperatingSystemVersionConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the operating system version constant. - * Operating system version constant resource names have the form: - * `operatingSystemVersionConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the operating system version constant. - * Operating system version constant resource names have the form: - * `operatingSystemVersionConstants/{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the operating system version. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the operating system version. - * - * Generated from protobuf field optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Name of the operating system. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. Name of the operating system. - * - * Generated from protobuf field optional string name = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The OS Major Version number. - * - * Generated from protobuf field optional int32 os_major_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getOsMajorVersion() - { - return isset($this->os_major_version) ? $this->os_major_version : 0; - } - - public function hasOsMajorVersion() - { - return isset($this->os_major_version); - } - - public function clearOsMajorVersion() - { - unset($this->os_major_version); - } - - /** - * Output only. The OS Major Version number. - * - * Generated from protobuf field optional int32 os_major_version = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setOsMajorVersion($var) - { - GPBUtil::checkInt32($var); - $this->os_major_version = $var; - - return $this; - } - - /** - * Output only. The OS Minor Version number. - * - * Generated from protobuf field optional int32 os_minor_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getOsMinorVersion() - { - return isset($this->os_minor_version) ? $this->os_minor_version : 0; - } - - public function hasOsMinorVersion() - { - return isset($this->os_minor_version); - } - - public function clearOsMinorVersion() - { - unset($this->os_minor_version); - } - - /** - * Output only. The OS Minor Version number. - * - * Generated from protobuf field optional int32 os_minor_version = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setOsMinorVersion($var) - { - GPBUtil::checkInt32($var); - $this->os_minor_version = $var; - - return $this; - } - - /** - * Output only. Determines whether this constant represents a single version - * or a range of versions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType operator_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getOperatorType() - { - return $this->operator_type; - } - - /** - * Output only. Determines whether this constant represents a single version - * or a range of versions. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType operator_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setOperatorType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\OperatingSystemVersionOperatorTypeEnum\OperatingSystemVersionOperatorType::class); - $this->operator_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/PaidOrganicSearchTermView.php b/src/Google/Ads/GoogleAds/V15/Resources/PaidOrganicSearchTermView.php deleted file mode 100644 index b536d6524..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/PaidOrganicSearchTermView.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.resources.PaidOrganicSearchTermView - */ -class PaidOrganicSearchTermView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the search term view. - * Search term view resource names have the form: - * `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - * {ad_group_id}~{URL-base64 search term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The search term. - * - * Generated from protobuf field optional string search_term = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $search_term = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the search term view. - * Search term view resource names have the form: - * `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - * {ad_group_id}~{URL-base64 search term}` - * @type string $search_term - * Output only. The search term. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\PaidOrganicSearchTermView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the search term view. - * Search term view resource names have the form: - * `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - * {ad_group_id}~{URL-base64 search term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the search term view. - * Search term view resource names have the form: - * `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - * {ad_group_id}~{URL-base64 search term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The search term. - * - * Generated from protobuf field optional string search_term = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSearchTerm() - { - return isset($this->search_term) ? $this->search_term : ''; - } - - public function hasSearchTerm() - { - return isset($this->search_term); - } - - public function clearSearchTerm() - { - unset($this->search_term); - } - - /** - * Output only. The search term. - * - * Generated from protobuf field optional string search_term = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSearchTerm($var) - { - GPBUtil::checkString($var, True); - $this->search_term = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ParentalStatusView.php b/src/Google/Ads/GoogleAds/V15/Resources/ParentalStatusView.php deleted file mode 100644 index 2c6cb55d5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ParentalStatusView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.ParentalStatusView - */ -class ParentalStatusView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the parental status view. - * Parental Status view resource names have the form: - * `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the parental status view. - * Parental Status view resource names have the form: - * `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ParentalStatusView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the parental status view. - * Parental Status view resource names have the form: - * `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the parental status view. - * Parental Status view resource names have the form: - * `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/PaymentsAccount.php b/src/Google/Ads/GoogleAds/V15/Resources/PaymentsAccount.php deleted file mode 100644 index 30650b5dd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/PaymentsAccount.php +++ /dev/null @@ -1,359 +0,0 @@ -google.ads.googleads.v15.resources.PaymentsAccount - */ -class PaymentsAccount extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the payments account. - * PaymentsAccount resource names have the form: - * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. A 16 digit ID used to identify a payments account. - * - * Generated from protobuf field optional string payments_account_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $payments_account_id = null; - /** - * Output only. The name of the payments account. - * - * Generated from protobuf field optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The currency code of the payments account. - * A subset of the currency codes derived from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $currency_code = null; - /** - * Output only. A 12 digit ID used to identify the payments profile associated - * with the payments account. - * - * Generated from protobuf field optional string payments_profile_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $payments_profile_id = null; - /** - * Output only. A secondary payments profile ID present in uncommon - * situations, for example, when a sequential liability agreement has been - * arranged. - * - * Generated from protobuf field optional string secondary_payments_profile_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $secondary_payments_profile_id = null; - /** - * Output only. Paying manager of this payment account. - * - * Generated from protobuf field optional string paying_manager_customer = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $paying_manager_customer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the payments account. - * PaymentsAccount resource names have the form: - * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - * @type string $payments_account_id - * Output only. A 16 digit ID used to identify a payments account. - * @type string $name - * Output only. The name of the payments account. - * @type string $currency_code - * Output only. The currency code of the payments account. - * A subset of the currency codes derived from the ISO 4217 standard is - * supported. - * @type string $payments_profile_id - * Output only. A 12 digit ID used to identify the payments profile associated - * with the payments account. - * @type string $secondary_payments_profile_id - * Output only. A secondary payments profile ID present in uncommon - * situations, for example, when a sequential liability agreement has been - * arranged. - * @type string $paying_manager_customer - * Output only. Paying manager of this payment account. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\PaymentsAccount::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the payments account. - * PaymentsAccount resource names have the form: - * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the payments account. - * PaymentsAccount resource names have the form: - * `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. A 16 digit ID used to identify a payments account. - * - * Generated from protobuf field optional string payments_account_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPaymentsAccountId() - { - return isset($this->payments_account_id) ? $this->payments_account_id : ''; - } - - public function hasPaymentsAccountId() - { - return isset($this->payments_account_id); - } - - public function clearPaymentsAccountId() - { - unset($this->payments_account_id); - } - - /** - * Output only. A 16 digit ID used to identify a payments account. - * - * Generated from protobuf field optional string payments_account_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPaymentsAccountId($var) - { - GPBUtil::checkString($var, True); - $this->payments_account_id = $var; - - return $this; - } - - /** - * Output only. The name of the payments account. - * - * Generated from protobuf field optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. The name of the payments account. - * - * Generated from protobuf field optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The currency code of the payments account. - * A subset of the currency codes derived from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * Output only. The currency code of the payments account. - * A subset of the currency codes derived from the ISO 4217 standard is - * supported. - * - * Generated from protobuf field optional string currency_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Output only. A 12 digit ID used to identify the payments profile associated - * with the payments account. - * - * Generated from protobuf field optional string payments_profile_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPaymentsProfileId() - { - return isset($this->payments_profile_id) ? $this->payments_profile_id : ''; - } - - public function hasPaymentsProfileId() - { - return isset($this->payments_profile_id); - } - - public function clearPaymentsProfileId() - { - unset($this->payments_profile_id); - } - - /** - * Output only. A 12 digit ID used to identify the payments profile associated - * with the payments account. - * - * Generated from protobuf field optional string payments_profile_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPaymentsProfileId($var) - { - GPBUtil::checkString($var, True); - $this->payments_profile_id = $var; - - return $this; - } - - /** - * Output only. A secondary payments profile ID present in uncommon - * situations, for example, when a sequential liability agreement has been - * arranged. - * - * Generated from protobuf field optional string secondary_payments_profile_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSecondaryPaymentsProfileId() - { - return isset($this->secondary_payments_profile_id) ? $this->secondary_payments_profile_id : ''; - } - - public function hasSecondaryPaymentsProfileId() - { - return isset($this->secondary_payments_profile_id); - } - - public function clearSecondaryPaymentsProfileId() - { - unset($this->secondary_payments_profile_id); - } - - /** - * Output only. A secondary payments profile ID present in uncommon - * situations, for example, when a sequential liability agreement has been - * arranged. - * - * Generated from protobuf field optional string secondary_payments_profile_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSecondaryPaymentsProfileId($var) - { - GPBUtil::checkString($var, True); - $this->secondary_payments_profile_id = $var; - - return $this; - } - - /** - * Output only. Paying manager of this payment account. - * - * Generated from protobuf field optional string paying_manager_customer = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getPayingManagerCustomer() - { - return isset($this->paying_manager_customer) ? $this->paying_manager_customer : ''; - } - - public function hasPayingManagerCustomer() - { - return isset($this->paying_manager_customer); - } - - public function clearPayingManagerCustomer() - { - unset($this->paying_manager_customer); - } - - /** - * Output only. Paying manager of this payment account. - * - * Generated from protobuf field optional string paying_manager_customer = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setPayingManagerCustomer($var) - { - GPBUtil::checkString($var, True); - $this->paying_manager_customer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/PerStoreView.php b/src/Google/Ads/GoogleAds/V15/Resources/PerStoreView.php deleted file mode 100644 index ee2c3cd16..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/PerStoreView.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.resources.PerStoreView - */ -class PerStoreView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the per store view. - * Per Store view resource names have the form: - * `customers/{customer_id}/perStoreViews/{place_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The place ID of the per store view. - * - * Generated from protobuf field string place_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $place_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the per store view. - * Per Store view resource names have the form: - * `customers/{customer_id}/perStoreViews/{place_id}` - * @type string $place_id - * Output only. The place ID of the per store view. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\PerStoreView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the per store view. - * Per Store view resource names have the form: - * `customers/{customer_id}/perStoreViews/{place_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the per store view. - * Per Store view resource names have the form: - * `customers/{customer_id}/perStoreViews/{place_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The place ID of the per store view. - * - * Generated from protobuf field string place_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPlaceId() - { - return $this->place_id; - } - - /** - * Output only. The place ID of the per store view. - * - * Generated from protobuf field string place_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPlaceId($var) - { - GPBUtil::checkString($var, True); - $this->place_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/PhoneCallDetails.php b/src/Google/Ads/GoogleAds/V15/Resources/PhoneCallDetails.php deleted file mode 100644 index cf6f54eaf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/PhoneCallDetails.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.resources.PhoneCallDetails - */ -class PhoneCallDetails extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The duration (in milliseconds) of the phone call (end to end). - * - * Generated from protobuf field int64 call_duration_millis = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $call_duration_millis = 0; - /** - * Output only. URL to the call recording audio file. - * - * Generated from protobuf field string call_recording_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $call_recording_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $call_duration_millis - * Output only. The duration (in milliseconds) of the phone call (end to end). - * @type string $call_recording_url - * Output only. URL to the call recording audio file. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\LocalServicesLeadConversation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The duration (in milliseconds) of the phone call (end to end). - * - * Generated from protobuf field int64 call_duration_millis = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCallDurationMillis() - { - return $this->call_duration_millis; - } - - /** - * Output only. The duration (in milliseconds) of the phone call (end to end). - * - * Generated from protobuf field int64 call_duration_millis = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCallDurationMillis($var) - { - GPBUtil::checkInt64($var); - $this->call_duration_millis = $var; - - return $this; - } - - /** - * Output only. URL to the call recording audio file. - * - * Generated from protobuf field string call_recording_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCallRecordingUrl() - { - return $this->call_recording_url; - } - - /** - * Output only. URL to the call recording audio file. - * - * Generated from protobuf field string call_recording_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCallRecordingUrl($var) - { - GPBUtil::checkString($var, True); - $this->call_recording_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant.php deleted file mode 100644 index 293015e6c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant.php +++ /dev/null @@ -1,263 +0,0 @@ -google.ads.googleads.v15.resources.ProductCategoryConstant - */ -class ProductCategoryConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the product category. - * Product category resource names have the form: - * `productCategoryConstants/{level}~{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436. - * - * Generated from protobuf field int64 category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $category_id = 0; - /** - * Output only. Resource name of the parent product category. - * - * Generated from protobuf field optional string product_category_constant_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $product_category_constant_parent = null; - /** - * Output only. Level of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $level = 0; - /** - * Output only. State of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryStateEnum.ProductCategoryState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $state = 0; - /** - * Output only. List of all available localizations of the product category. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization localizations = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $localizations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the product category. - * Product category resource names have the form: - * `productCategoryConstants/{level}~{category_id}` - * @type int|string $category_id - * Output only. The ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436. - * @type string $product_category_constant_parent - * Output only. Resource name of the parent product category. - * @type int $level - * Output only. Level of the product category. - * @type int $state - * Output only. State of the product category. - * @type array<\Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant\ProductCategoryLocalization>|\Google\Protobuf\Internal\RepeatedField $localizations - * Output only. List of all available localizations of the product category. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the product category. - * Product category resource names have the form: - * `productCategoryConstants/{level}~{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the product category. - * Product category resource names have the form: - * `productCategoryConstants/{level}~{category_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436. - * - * Generated from protobuf field int64 category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCategoryId() - { - return $this->category_id; - } - - /** - * Output only. The ID of the product category. - * This ID is equivalent to the google_product_category ID as described in - * this article: https://support.google.com/merchants/answer/6324436. - * - * Generated from protobuf field int64 category_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCategoryId($var) - { - GPBUtil::checkInt64($var); - $this->category_id = $var; - - return $this; - } - - /** - * Output only. Resource name of the parent product category. - * - * Generated from protobuf field optional string product_category_constant_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getProductCategoryConstantParent() - { - return isset($this->product_category_constant_parent) ? $this->product_category_constant_parent : ''; - } - - public function hasProductCategoryConstantParent() - { - return isset($this->product_category_constant_parent); - } - - public function clearProductCategoryConstantParent() - { - unset($this->product_category_constant_parent); - } - - /** - * Output only. Resource name of the parent product category. - * - * Generated from protobuf field optional string product_category_constant_parent = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProductCategoryConstantParent($var) - { - GPBUtil::checkString($var, True); - $this->product_category_constant_parent = $var; - - return $this; - } - - /** - * Output only. Level of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLevel() - { - return $this->level; - } - - /** - * Output only. Level of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLevel($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductCategoryLevelEnum\ProductCategoryLevel::class); - $this->level = $var; - - return $this; - } - - /** - * Output only. State of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryStateEnum.ProductCategoryState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Output only. State of the product category. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductCategoryStateEnum.ProductCategoryState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductCategoryStateEnum\ProductCategoryState::class); - $this->state = $var; - - return $this; - } - - /** - * Output only. List of all available localizations of the product category. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization localizations = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLocalizations() - { - return $this->localizations; - } - - /** - * Output only. List of all available localizations of the product category. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization localizations = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant\ProductCategoryLocalization>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLocalizations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant\ProductCategoryLocalization::class); - $this->localizations = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant/ProductCategoryLocalization.php b/src/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant/ProductCategoryLocalization.php deleted file mode 100644 index 9a98726f7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant/ProductCategoryLocalization.php +++ /dev/null @@ -1,146 +0,0 @@ -google.ads.googleads.v15.resources.ProductCategoryConstant.ProductCategoryLocalization - */ -class ProductCategoryLocalization extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Upper-case two-letter ISO 3166-1 country code of the - * localized category. - * - * Generated from protobuf field string region_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $region_code = ''; - /** - * Output only. Two-letter ISO 639-1 language code of the localized - * category. - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $language_code = ''; - /** - * Output only. The name of the category in the specified locale. - * - * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $region_code - * Output only. Upper-case two-letter ISO 3166-1 country code of the - * localized category. - * @type string $language_code - * Output only. Two-letter ISO 639-1 language code of the localized - * category. - * @type string $value - * Output only. The name of the category in the specified locale. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Upper-case two-letter ISO 3166-1 country code of the - * localized category. - * - * Generated from protobuf field string region_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getRegionCode() - { - return $this->region_code; - } - - /** - * Output only. Upper-case two-letter ISO 3166-1 country code of the - * localized category. - * - * Generated from protobuf field string region_code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setRegionCode($var) - { - GPBUtil::checkString($var, True); - $this->region_code = $var; - - return $this; - } - - /** - * Output only. Two-letter ISO 639-1 language code of the localized - * category. - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * Output only. Two-letter ISO 639-1 language code of the localized - * category. - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * Output only. The name of the category in the specified locale. - * - * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * Output only. The name of the category in the specified locale. - * - * Generated from protobuf field string value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ProductCategoryLocalization::class, \Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant_ProductCategoryLocalization::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ProductGroupView.php b/src/Google/Ads/GoogleAds/V15/Resources/ProductGroupView.php deleted file mode 100644 index 3bd540cfb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ProductGroupView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.ProductGroupView - */ -class ProductGroupView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the product group view. - * Product group view resource names have the form: - * `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the product group view. - * Product group view resource names have the form: - * `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductGroupView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the product group view. - * Product group view resource names have the form: - * `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the product group view. - * Product group view resource names have the form: - * `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ProductLink.php b/src/Google/Ads/GoogleAds/V15/Resources/ProductLink.php deleted file mode 100644 index c6d04ab51..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ProductLink.php +++ /dev/null @@ -1,266 +0,0 @@ -google.ads.googleads.v15.resources.ProductLink - */ -class ProductLink extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Resource name of the product link. - * ProductLink resource names have the form: - * `customers/{customer_id}/productLinks/{product_link_id} ` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the link. - * This field is read only. - * - * Generated from protobuf field optional int64 product_link_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $product_link_id = null; - /** - * Output only. The type of the linked product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - protected $linked_product; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. Resource name of the product link. - * ProductLink resource names have the form: - * `customers/{customer_id}/productLinks/{product_link_id} ` - * @type int|string $product_link_id - * Output only. The ID of the link. - * This field is read only. - * @type int $type - * Output only. The type of the linked product. - * @type \Google\Ads\GoogleAds\V15\Resources\DataPartnerIdentifier $data_partner - * Immutable. Data partner link. - * @type \Google\Ads\GoogleAds\V15\Resources\GoogleAdsIdentifier $google_ads - * Immutable. Google Ads link. - * @type \Google\Ads\GoogleAds\V15\Resources\MerchantCenterIdentifier $merchant_center - * Immutable. Google Merchant Center link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Resource name of the product link. - * ProductLink resource names have the form: - * `customers/{customer_id}/productLinks/{product_link_id} ` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. Resource name of the product link. - * ProductLink resource names have the form: - * `customers/{customer_id}/productLinks/{product_link_id} ` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the link. - * This field is read only. - * - * Generated from protobuf field optional int64 product_link_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getProductLinkId() - { - return isset($this->product_link_id) ? $this->product_link_id : 0; - } - - public function hasProductLinkId() - { - return isset($this->product_link_id); - } - - public function clearProductLinkId() - { - unset($this->product_link_id); - } - - /** - * Output only. The ID of the link. - * This field is read only. - * - * Generated from protobuf field optional int64 product_link_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setProductLinkId($var) - { - GPBUtil::checkInt64($var); - $this->product_link_id = $var; - - return $this; - } - - /** - * Output only. The type of the linked product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the linked product. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LinkedProductTypeEnum\LinkedProductType::class); - $this->type = $var; - - return $this; - } - - /** - * Immutable. Data partner link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DataPartnerIdentifier data_partner = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\DataPartnerIdentifier|null - */ - public function getDataPartner() - { - return $this->readOneof(4); - } - - public function hasDataPartner() - { - return $this->hasOneof(4); - } - - /** - * Immutable. Data partner link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DataPartnerIdentifier data_partner = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\DataPartnerIdentifier $var - * @return $this - */ - public function setDataPartner($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\DataPartnerIdentifier::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Immutable. Google Ads link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GoogleAdsIdentifier google_ads = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\GoogleAdsIdentifier|null - */ - public function getGoogleAds() - { - return $this->readOneof(5); - } - - public function hasGoogleAds() - { - return $this->hasOneof(5); - } - - /** - * Immutable. Google Ads link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GoogleAdsIdentifier google_ads = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\GoogleAdsIdentifier $var - * @return $this - */ - public function setGoogleAds($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\GoogleAdsIdentifier::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Immutable. Google Merchant Center link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MerchantCenterIdentifier merchant_center = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Resources\MerchantCenterIdentifier|null - */ - public function getMerchantCenter() - { - return $this->readOneof(12); - } - - public function hasMerchantCenter() - { - return $this->hasOneof(12); - } - - /** - * Immutable. Google Merchant Center link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MerchantCenterIdentifier merchant_center = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Resources\MerchantCenterIdentifier $var - * @return $this - */ - public function setMerchantCenter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MerchantCenterIdentifier::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * @return string - */ - public function getLinkedProduct() - { - return $this->whichOneof("linked_product"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ProductLinkInvitation.php b/src/Google/Ads/GoogleAds/V15/Resources/ProductLinkInvitation.php deleted file mode 100644 index 4a8d187bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ProductLinkInvitation.php +++ /dev/null @@ -1,269 +0,0 @@ -google.ads.googleads.v15.resources.ProductLinkInvitation - */ -class ProductLinkInvitation extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of a product link invitation. - * Product link invitation resource names have the form: - * `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the product link invitation. - * This field is read only. - * - * Generated from protobuf field int64 product_link_invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $product_link_invitation_id = 0; - /** - * Output only. The status of the product link invitation. - * This field is read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. The type of the invited account. - * This field is read only and can be used for filtering invitations with - * {@code GoogleAdsService.SearchGoogleAdsRequest}. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - protected $invited_account; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of a product link invitation. - * Product link invitation resource names have the form: - * `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}` - * @type int|string $product_link_invitation_id - * Output only. The ID of the product link invitation. - * This field is read only. - * @type int $status - * Output only. The status of the product link invitation. - * This field is read only. - * @type int $type - * Output only. The type of the invited account. - * This field is read only and can be used for filtering invitations with - * {@code GoogleAdsService.SearchGoogleAdsRequest}. - * @type \Google\Ads\GoogleAds\V15\Resources\HotelCenterLinkInvitationIdentifier $hotel_center - * Output only. Hotel link invitation. - * @type \Google\Ads\GoogleAds\V15\Resources\MerchantCenterLinkInvitationIdentifier $merchant_center - * Output only. Merchant Center link invitation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ProductLinkInvitation::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of a product link invitation. - * Product link invitation resource names have the form: - * `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of a product link invitation. - * Product link invitation resource names have the form: - * `customers/{customer_id}/productLinkInvitations/{product_link_invitation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the product link invitation. - * This field is read only. - * - * Generated from protobuf field int64 product_link_invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getProductLinkInvitationId() - { - return $this->product_link_invitation_id; - } - - /** - * Output only. The ID of the product link invitation. - * This field is read only. - * - * Generated from protobuf field int64 product_link_invitation_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setProductLinkInvitationId($var) - { - GPBUtil::checkInt64($var); - $this->product_link_invitation_id = $var; - - return $this; - } - - /** - * Output only. The status of the product link invitation. - * This field is read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of the product link invitation. - * This field is read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductLinkInvitationStatusEnum\ProductLinkInvitationStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The type of the invited account. - * This field is read only and can be used for filtering invitations with - * {@code GoogleAdsService.SearchGoogleAdsRequest}. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the invited account. - * This field is read only and can be used for filtering invitations with - * {@code GoogleAdsService.SearchGoogleAdsRequest}. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.LinkedProductTypeEnum.LinkedProductType type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\LinkedProductTypeEnum\LinkedProductType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. Hotel link invitation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\HotelCenterLinkInvitationIdentifier|null - */ - public function getHotelCenter() - { - return $this->readOneof(4); - } - - public function hasHotelCenter() - { - return $this->hasOneof(4); - } - - /** - * Output only. Hotel link invitation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelCenterLinkInvitationIdentifier hotel_center = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\HotelCenterLinkInvitationIdentifier $var - * @return $this - */ - public function setHotelCenter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\HotelCenterLinkInvitationIdentifier::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Output only. Merchant Center link invitation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\MerchantCenterLinkInvitationIdentifier|null - */ - public function getMerchantCenter() - { - return $this->readOneof(5); - } - - public function hasMerchantCenter() - { - return $this->hasOneof(5); - } - - /** - * Output only. Merchant Center link invitation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MerchantCenterLinkInvitationIdentifier merchant_center = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\MerchantCenterLinkInvitationIdentifier $var - * @return $this - */ - public function setMerchantCenter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MerchantCenterLinkInvitationIdentifier::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getInvitedAccount() - { - return $this->whichOneof("invited_account"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/QualifyingQuestion.php b/src/Google/Ads/GoogleAds/V15/Resources/QualifyingQuestion.php deleted file mode 100644 index 6c04ae1d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/QualifyingQuestion.php +++ /dev/null @@ -1,173 +0,0 @@ -google.ads.googleads.v15.resources.QualifyingQuestion - */ -class QualifyingQuestion extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the qualifying question. - * 'qualifyingQuestions/{qualifyingQuestionId}' - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The id of the qualifying question. - * - * Generated from protobuf field int64 qualifying_question_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $qualifying_question_id = 0; - /** - * Output only. The locale of the qualifying question. - * - * Generated from protobuf field string locale = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $locale = ''; - /** - * Output only. The qualifying question. - * - * Generated from protobuf field string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $text = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the qualifying question. - * 'qualifyingQuestions/{qualifyingQuestionId}' - * @type int|string $qualifying_question_id - * Output only. The id of the qualifying question. - * @type string $locale - * Output only. The locale of the qualifying question. - * @type string $text - * Output only. The qualifying question. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\QualifyingQuestion::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the qualifying question. - * 'qualifyingQuestions/{qualifyingQuestionId}' - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the qualifying question. - * 'qualifyingQuestions/{qualifyingQuestionId}' - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The id of the qualifying question. - * - * Generated from protobuf field int64 qualifying_question_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getQualifyingQuestionId() - { - return $this->qualifying_question_id; - } - - /** - * Output only. The id of the qualifying question. - * - * Generated from protobuf field int64 qualifying_question_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setQualifyingQuestionId($var) - { - GPBUtil::checkInt64($var); - $this->qualifying_question_id = $var; - - return $this; - } - - /** - * Output only. The locale of the qualifying question. - * - * Generated from protobuf field string locale = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLocale() - { - return $this->locale; - } - - /** - * Output only. The locale of the qualifying question. - * - * Generated from protobuf field string locale = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLocale($var) - { - GPBUtil::checkString($var, True); - $this->locale = $var; - - return $this; - } - - /** - * Output only. The qualifying question. - * - * Generated from protobuf field string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getText() - { - return $this->text; - } - - /** - * Output only. The qualifying question. - * - * Generated from protobuf field string text = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation.php deleted file mode 100644 index 10f34a017..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation.php +++ /dev/null @@ -1,2063 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation - */ -class Recommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the recommendation. - * `customers/{customer_id}/recommendations/{recommendation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The type of recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. The impact on account performance as a result of applying the - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $impact = null; - /** - * Output only. The budget targeted by this recommendation. This will be set - * only when the recommendation affects a single campaign budget. - * This field will be set for the following recommendation types: - * CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - * MOVE_UNUSED_BUDGET - * - * Generated from protobuf field optional string campaign_budget = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign_budget = null; - /** - * Output only. The campaign targeted by this recommendation. - * This field will be set for the following recommendation types: - * CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - * USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - * UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, - * MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - * RESPONSIVE_SEARCH_AD, - * RESPONSIVE_SEARCH_AD_ASSET, - * SEARCH_PARTNERS_OPT_IN, DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, - * TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD, - * UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX, - * RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS, - * SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER, - * SHOPPING_ADD_SIZE, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS, - * SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_FIX_DISAPPROVED_PRODUCTS, - * SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX, - * DYNAMIC_IMAGE_EXTENSION_OPT_IN, RAISE_TARGET_CPA, LOWER_TARGET_ROAS, - * FORECASTING_SET_TARGET_CPA, - * SET_TARGET_CPA, SET_TARGET_ROAS - * - * Generated from protobuf field optional string campaign = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = null; - /** - * Output only. The ad group targeted by this recommendation. This will be set - * only when the recommendation affects a single ad group. - * This field will be set for the following recommendation types: - * KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - * RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD - * - * Generated from protobuf field optional string ad_group = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * Output only. Whether the recommendation is dismissed or not. - * - * Generated from protobuf field optional bool dismissed = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $dismissed = null; - /** - * Output only. The campaigns targeted by this recommendation. - * This field will be set for the following recommendation types: - * CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, - * MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET - * - * Generated from protobuf field repeated string campaigns = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $campaigns; - protected $recommendation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the recommendation. - * `customers/{customer_id}/recommendations/{recommendation_id}` - * @type int $type - * Output only. The type of recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact $impact - * Output only. The impact on account performance as a result of applying the - * recommendation. - * @type string $campaign_budget - * Output only. The budget targeted by this recommendation. This will be set - * only when the recommendation affects a single campaign budget. - * This field will be set for the following recommendation types: - * CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - * MOVE_UNUSED_BUDGET - * @type string $campaign - * Output only. The campaign targeted by this recommendation. - * This field will be set for the following recommendation types: - * CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - * USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - * UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, - * MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - * RESPONSIVE_SEARCH_AD, - * RESPONSIVE_SEARCH_AD_ASSET, - * SEARCH_PARTNERS_OPT_IN, DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, - * TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD, - * UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX, - * RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS, - * SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER, - * SHOPPING_ADD_SIZE, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS, - * SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_FIX_DISAPPROVED_PRODUCTS, - * SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX, - * DYNAMIC_IMAGE_EXTENSION_OPT_IN, RAISE_TARGET_CPA, LOWER_TARGET_ROAS, - * FORECASTING_SET_TARGET_CPA, - * SET_TARGET_CPA, SET_TARGET_ROAS - * @type string $ad_group - * Output only. The ad group targeted by this recommendation. This will be set - * only when the recommendation affects a single ad group. - * This field will be set for the following recommendation types: - * KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - * RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD - * @type bool $dismissed - * Output only. Whether the recommendation is dismissed or not. - * @type array|\Google\Protobuf\Internal\RepeatedField $campaigns - * Output only. The campaigns targeted by this recommendation. - * This field will be set for the following recommendation types: - * CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, - * MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation $campaign_budget_recommendation - * Output only. The campaign budget recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation $forecasting_campaign_budget_recommendation - * Output only. The forecasting campaign budget recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordRecommendation $keyword_recommendation - * Output only. The keyword recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\TextAdRecommendation $text_ad_recommendation - * Output only. Add expanded text ad recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetCpaOptInRecommendation $target_cpa_opt_in_recommendation - * Output only. The TargetCPA opt-in recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MaximizeConversionsOptInRecommendation $maximize_conversions_opt_in_recommendation - * Output only. The MaximizeConversions Opt-In recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\EnhancedCpcOptInRecommendation $enhanced_cpc_opt_in_recommendation - * Output only. The Enhanced Cost-Per-Click Opt-In recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\SearchPartnersOptInRecommendation $search_partners_opt_in_recommendation - * Output only. The Search Partners Opt-In recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MaximizeClicksOptInRecommendation $maximize_clicks_opt_in_recommendation - * Output only. The MaximizeClicks Opt-In recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\OptimizeAdRotationRecommendation $optimize_ad_rotation_recommendation - * Output only. The Optimize Ad Rotation recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordMatchTypeRecommendation $keyword_match_type_recommendation - * Output only. The keyword match type recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MoveUnusedBudgetRecommendation $move_unused_budget_recommendation - * Output only. The move unused budget recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetRoasOptInRecommendation $target_roas_opt_in_recommendation - * Output only. The Target ROAS opt-in recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdRecommendation $responsive_search_ad_recommendation - * Output only. The add responsive search ad recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation $marginal_roi_campaign_budget_recommendation - * Output only. The marginal ROI campaign budget recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\UseBroadMatchKeywordRecommendation $use_broad_match_keyword_recommendation - * Output only. The use broad match keyword recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdAssetRecommendation $responsive_search_ad_asset_recommendation - * Output only. The responsive search ad asset recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation $upgrade_smart_shopping_campaign_to_performance_max_recommendation - * Output only. The upgrade a Smart Shopping campaign to a Performance Max - * campaign recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdImproveAdStrengthRecommendation $responsive_search_ad_improve_ad_strength_recommendation - * Output only. The responsive search ad improve ad strength recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\DisplayExpansionOptInRecommendation $display_expansion_opt_in_recommendation - * Output only. The Display Expansion opt-in recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\UpgradeLocalCampaignToPerformanceMaxRecommendation $upgrade_local_campaign_to_performance_max_recommendation - * Output only. The upgrade a Local campaign to a Performance Max campaign - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\RaiseTargetCpaBidTooLowRecommendation $raise_target_cpa_bid_too_low_recommendation - * Output only. The raise target CPA bid too low recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetRoasRecommendation $forecasting_set_target_roas_recommendation - * Output only. The forecasting set target ROAS recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\CalloutAssetRecommendation $callout_asset_recommendation - * Output only. The callout asset recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\SitelinkAssetRecommendation $sitelink_asset_recommendation - * Output only. The sitelink asset recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\CallAssetRecommendation $call_asset_recommendation - * Output only. The call asset recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $shopping_add_age_group_recommendation - * Output only. The shopping add age group recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $shopping_add_color_recommendation - * Output only. The shopping add color recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $shopping_add_gender_recommendation - * Output only. The shopping add gender recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $shopping_add_gtin_recommendation - * Output only. The shopping add GTIN recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $shopping_add_more_identifiers_recommendation - * Output only. The shopping add more identifiers recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $shopping_add_size_recommendation - * Output only. The shopping add size recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingAddProductsToCampaignRecommendation $shopping_add_products_to_campaign_recommendation - * Output only. The shopping add products to campaign recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingFixDisapprovedProductsRecommendation $shopping_fix_disapproved_products_recommendation - * Output only. The shopping fix disapproved products recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingTargetAllOffersRecommendation $shopping_target_all_offers_recommendation - * Output only. The shopping target all offers recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMerchantCenterAccountSuspensionRecommendation $shopping_fix_suspended_merchant_center_account_recommendation - * Output only. The shopping fix suspended Merchant Center account - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMerchantCenterAccountSuspensionRecommendation $shopping_fix_merchant_center_account_suspension_warning_recommendation - * Output only. The shopping fix Merchant Center account suspension warning - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation $shopping_migrate_regular_shopping_campaign_offers_to_performance_max_recommendation - * Output only. The shopping migrate Regular Shopping Campaign offers to - * Performance Max recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\DynamicImageExtensionOptInRecommendation $dynamic_image_extension_opt_in_recommendation - * Output only. Recommendation to enable dynamic image extensions on the - * account, allowing Google to find the best images from ad landing pages - * and complement text ads. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\RaiseTargetCpaRecommendation $raise_target_cpa_recommendation - * Output only. Recommendation to raise Target CPA. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\LowerTargetRoasRecommendation $lower_target_roas_recommendation - * Output only. Recommendation to lower Target ROAS. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\PerformanceMaxOptInRecommendation $performance_max_opt_in_recommendation - * Output only. The Performance Max Opt In recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ImprovePerformanceMaxAdStrengthRecommendation $improve_performance_max_ad_strength_recommendation - * Output only. The improve Performance Max ad strength recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation $migrate_dynamic_search_ads_campaign_to_performance_max_recommendation - * Output only. The Dynamic Search Ads to Performance Max migration - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetCpaRecommendation $forecasting_set_target_cpa_recommendation - * Output only. The forecasting set target CPA recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetCpaRecommendation $set_target_cpa_recommendation - * Output only. The set target CPA recommendation. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetRoasRecommendation $set_target_roas_recommendation - * Output only. The set target ROAS recommendation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the recommendation. - * `customers/{customer_id}/recommendations/{recommendation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the recommendation. - * `customers/{customer_id}/recommendations/{recommendation_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The type of recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\RecommendationTypeEnum\RecommendationType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The impact on account performance as a result of applying the - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact|null - */ - public function getImpact() - { - return $this->impact; - } - - public function hasImpact() - { - return isset($this->impact); - } - - public function clearImpact() - { - unset($this->impact); - } - - /** - * Output only. The impact on account performance as a result of applying the - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact $var - * @return $this - */ - public function setImpact($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact::class); - $this->impact = $var; - - return $this; - } - - /** - * Output only. The budget targeted by this recommendation. This will be set - * only when the recommendation affects a single campaign budget. - * This field will be set for the following recommendation types: - * CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - * MOVE_UNUSED_BUDGET - * - * Generated from protobuf field optional string campaign_budget = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaignBudget() - { - return isset($this->campaign_budget) ? $this->campaign_budget : ''; - } - - public function hasCampaignBudget() - { - return isset($this->campaign_budget); - } - - public function clearCampaignBudget() - { - unset($this->campaign_budget); - } - - /** - * Output only. The budget targeted by this recommendation. This will be set - * only when the recommendation affects a single campaign budget. - * This field will be set for the following recommendation types: - * CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - * MOVE_UNUSED_BUDGET - * - * Generated from protobuf field optional string campaign_budget = 24 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkString($var, True); - $this->campaign_budget = $var; - - return $this; - } - - /** - * Output only. The campaign targeted by this recommendation. - * This field will be set for the following recommendation types: - * CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - * USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - * UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, - * MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - * RESPONSIVE_SEARCH_AD, - * RESPONSIVE_SEARCH_AD_ASSET, - * SEARCH_PARTNERS_OPT_IN, DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, - * TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD, - * UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX, - * RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS, - * SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER, - * SHOPPING_ADD_SIZE, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS, - * SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_FIX_DISAPPROVED_PRODUCTS, - * SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX, - * DYNAMIC_IMAGE_EXTENSION_OPT_IN, RAISE_TARGET_CPA, LOWER_TARGET_ROAS, - * FORECASTING_SET_TARGET_CPA, - * SET_TARGET_CPA, SET_TARGET_ROAS - * - * Generated from protobuf field optional string campaign = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return isset($this->campaign) ? $this->campaign : ''; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Output only. The campaign targeted by this recommendation. - * This field will be set for the following recommendation types: - * CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - * USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - * UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, - * MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - * RESPONSIVE_SEARCH_AD, - * RESPONSIVE_SEARCH_AD_ASSET, - * SEARCH_PARTNERS_OPT_IN, DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, - * TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD, - * UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX, - * RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS, - * SHOPPING_ADD_AGE_GROUP, SHOPPING_ADD_COLOR, SHOPPING_ADD_GENDER, - * SHOPPING_ADD_SIZE, SHOPPING_ADD_GTIN, SHOPPING_ADD_MORE_IDENTIFIERS, - * SHOPPING_ADD_PRODUCTS_TO_CAMPAIGN, SHOPPING_FIX_DISAPPROVED_PRODUCTS, - * SHOPPING_MIGRATE_REGULAR_SHOPPING_CAMPAIGN_OFFERS_TO_PERFORMANCE_MAX, - * DYNAMIC_IMAGE_EXTENSION_OPT_IN, RAISE_TARGET_CPA, LOWER_TARGET_ROAS, - * FORECASTING_SET_TARGET_CPA, - * SET_TARGET_CPA, SET_TARGET_ROAS - * - * Generated from protobuf field optional string campaign = 25 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Output only. The ad group targeted by this recommendation. This will be set - * only when the recommendation affects a single ad group. - * This field will be set for the following recommendation types: - * KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - * RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD - * - * Generated from protobuf field optional string ad_group = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Output only. The ad group targeted by this recommendation. This will be set - * only when the recommendation affects a single ad group. - * This field will be set for the following recommendation types: - * KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - * RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD - * - * Generated from protobuf field optional string ad_group = 26 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Output only. Whether the recommendation is dismissed or not. - * - * Generated from protobuf field optional bool dismissed = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getDismissed() - { - return isset($this->dismissed) ? $this->dismissed : false; - } - - public function hasDismissed() - { - return isset($this->dismissed); - } - - public function clearDismissed() - { - unset($this->dismissed); - } - - /** - * Output only. Whether the recommendation is dismissed or not. - * - * Generated from protobuf field optional bool dismissed = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setDismissed($var) - { - GPBUtil::checkBool($var); - $this->dismissed = $var; - - return $this; - } - - /** - * Output only. The campaigns targeted by this recommendation. - * This field will be set for the following recommendation types: - * CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, - * MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET - * - * Generated from protobuf field repeated string campaigns = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCampaigns() - { - return $this->campaigns; - } - - /** - * Output only. The campaigns targeted by this recommendation. - * This field will be set for the following recommendation types: - * CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, - * MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET - * - * Generated from protobuf field repeated string campaigns = 38 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCampaigns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->campaigns = $arr; - - return $this; - } - - /** - * Output only. The campaign budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation campaign_budget_recommendation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation|null - */ - public function getCampaignBudgetRecommendation() - { - return $this->readOneof(4); - } - - public function hasCampaignBudgetRecommendation() - { - return $this->hasOneof(4); - } - - /** - * Output only. The campaign budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation campaign_budget_recommendation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation $var - * @return $this - */ - public function setCampaignBudgetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Output only. The forecasting campaign budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation forecasting_campaign_budget_recommendation = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation|null - */ - public function getForecastingCampaignBudgetRecommendation() - { - return $this->readOneof(22); - } - - public function hasForecastingCampaignBudgetRecommendation() - { - return $this->hasOneof(22); - } - - /** - * Output only. The forecasting campaign budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation forecasting_campaign_budget_recommendation = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation $var - * @return $this - */ - public function setForecastingCampaignBudgetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * Output only. The keyword recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.KeywordRecommendation keyword_recommendation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordRecommendation|null - */ - public function getKeywordRecommendation() - { - return $this->readOneof(8); - } - - public function hasKeywordRecommendation() - { - return $this->hasOneof(8); - } - - /** - * Output only. The keyword recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.KeywordRecommendation keyword_recommendation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordRecommendation $var - * @return $this - */ - public function setKeywordRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordRecommendation::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Output only. Add expanded text ad recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TextAdRecommendation text_ad_recommendation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\TextAdRecommendation|null - */ - public function getTextAdRecommendation() - { - return $this->readOneof(9); - } - - public function hasTextAdRecommendation() - { - return $this->hasOneof(9); - } - - /** - * Output only. Add expanded text ad recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TextAdRecommendation text_ad_recommendation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\TextAdRecommendation $var - * @return $this - */ - public function setTextAdRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\TextAdRecommendation::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Output only. The TargetCPA opt-in recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetCpaOptInRecommendation target_cpa_opt_in_recommendation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetCpaOptInRecommendation|null - */ - public function getTargetCpaOptInRecommendation() - { - return $this->readOneof(10); - } - - public function hasTargetCpaOptInRecommendation() - { - return $this->hasOneof(10); - } - - /** - * Output only. The TargetCPA opt-in recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetCpaOptInRecommendation target_cpa_opt_in_recommendation = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetCpaOptInRecommendation $var - * @return $this - */ - public function setTargetCpaOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetCpaOptInRecommendation::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Output only. The MaximizeConversions Opt-In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MaximizeConversionsOptInRecommendation maximize_conversions_opt_in_recommendation = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MaximizeConversionsOptInRecommendation|null - */ - public function getMaximizeConversionsOptInRecommendation() - { - return $this->readOneof(11); - } - - public function hasMaximizeConversionsOptInRecommendation() - { - return $this->hasOneof(11); - } - - /** - * Output only. The MaximizeConversions Opt-In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MaximizeConversionsOptInRecommendation maximize_conversions_opt_in_recommendation = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MaximizeConversionsOptInRecommendation $var - * @return $this - */ - public function setMaximizeConversionsOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MaximizeConversionsOptInRecommendation::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Output only. The Enhanced Cost-Per-Click Opt-In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.EnhancedCpcOptInRecommendation enhanced_cpc_opt_in_recommendation = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\EnhancedCpcOptInRecommendation|null - */ - public function getEnhancedCpcOptInRecommendation() - { - return $this->readOneof(12); - } - - public function hasEnhancedCpcOptInRecommendation() - { - return $this->hasOneof(12); - } - - /** - * Output only. The Enhanced Cost-Per-Click Opt-In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.EnhancedCpcOptInRecommendation enhanced_cpc_opt_in_recommendation = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\EnhancedCpcOptInRecommendation $var - * @return $this - */ - public function setEnhancedCpcOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\EnhancedCpcOptInRecommendation::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * Output only. The Search Partners Opt-In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.SearchPartnersOptInRecommendation search_partners_opt_in_recommendation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\SearchPartnersOptInRecommendation|null - */ - public function getSearchPartnersOptInRecommendation() - { - return $this->readOneof(14); - } - - public function hasSearchPartnersOptInRecommendation() - { - return $this->hasOneof(14); - } - - /** - * Output only. The Search Partners Opt-In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.SearchPartnersOptInRecommendation search_partners_opt_in_recommendation = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\SearchPartnersOptInRecommendation $var - * @return $this - */ - public function setSearchPartnersOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\SearchPartnersOptInRecommendation::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * Output only. The MaximizeClicks Opt-In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MaximizeClicksOptInRecommendation maximize_clicks_opt_in_recommendation = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MaximizeClicksOptInRecommendation|null - */ - public function getMaximizeClicksOptInRecommendation() - { - return $this->readOneof(15); - } - - public function hasMaximizeClicksOptInRecommendation() - { - return $this->hasOneof(15); - } - - /** - * Output only. The MaximizeClicks Opt-In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MaximizeClicksOptInRecommendation maximize_clicks_opt_in_recommendation = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MaximizeClicksOptInRecommendation $var - * @return $this - */ - public function setMaximizeClicksOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MaximizeClicksOptInRecommendation::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Output only. The Optimize Ad Rotation recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.OptimizeAdRotationRecommendation optimize_ad_rotation_recommendation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\OptimizeAdRotationRecommendation|null - */ - public function getOptimizeAdRotationRecommendation() - { - return $this->readOneof(16); - } - - public function hasOptimizeAdRotationRecommendation() - { - return $this->hasOneof(16); - } - - /** - * Output only. The Optimize Ad Rotation recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.OptimizeAdRotationRecommendation optimize_ad_rotation_recommendation = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\OptimizeAdRotationRecommendation $var - * @return $this - */ - public function setOptimizeAdRotationRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\OptimizeAdRotationRecommendation::class); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * Output only. The keyword match type recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.KeywordMatchTypeRecommendation keyword_match_type_recommendation = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordMatchTypeRecommendation|null - */ - public function getKeywordMatchTypeRecommendation() - { - return $this->readOneof(20); - } - - public function hasKeywordMatchTypeRecommendation() - { - return $this->hasOneof(20); - } - - /** - * Output only. The keyword match type recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.KeywordMatchTypeRecommendation keyword_match_type_recommendation = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordMatchTypeRecommendation $var - * @return $this - */ - public function setKeywordMatchTypeRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordMatchTypeRecommendation::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * Output only. The move unused budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MoveUnusedBudgetRecommendation move_unused_budget_recommendation = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MoveUnusedBudgetRecommendation|null - */ - public function getMoveUnusedBudgetRecommendation() - { - return $this->readOneof(21); - } - - public function hasMoveUnusedBudgetRecommendation() - { - return $this->hasOneof(21); - } - - /** - * Output only. The move unused budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MoveUnusedBudgetRecommendation move_unused_budget_recommendation = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MoveUnusedBudgetRecommendation $var - * @return $this - */ - public function setMoveUnusedBudgetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MoveUnusedBudgetRecommendation::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * Output only. The Target ROAS opt-in recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetRoasOptInRecommendation target_roas_opt_in_recommendation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetRoasOptInRecommendation|null - */ - public function getTargetRoasOptInRecommendation() - { - return $this->readOneof(23); - } - - public function hasTargetRoasOptInRecommendation() - { - return $this->hasOneof(23); - } - - /** - * Output only. The Target ROAS opt-in recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetRoasOptInRecommendation target_roas_opt_in_recommendation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetRoasOptInRecommendation $var - * @return $this - */ - public function setTargetRoasOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetRoasOptInRecommendation::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * Output only. The add responsive search ad recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdRecommendation responsive_search_ad_recommendation = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdRecommendation|null - */ - public function getResponsiveSearchAdRecommendation() - { - return $this->readOneof(28); - } - - public function hasResponsiveSearchAdRecommendation() - { - return $this->hasOneof(28); - } - - /** - * Output only. The add responsive search ad recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdRecommendation responsive_search_ad_recommendation = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdRecommendation $var - * @return $this - */ - public function setResponsiveSearchAdRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdRecommendation::class); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * Output only. The marginal ROI campaign budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation marginal_roi_campaign_budget_recommendation = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation|null - */ - public function getMarginalRoiCampaignBudgetRecommendation() - { - return $this->readOneof(29); - } - - public function hasMarginalRoiCampaignBudgetRecommendation() - { - return $this->hasOneof(29); - } - - /** - * Output only. The marginal ROI campaign budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation marginal_roi_campaign_budget_recommendation = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation $var - * @return $this - */ - public function setMarginalRoiCampaignBudgetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation::class); - $this->writeOneof(29, $var); - - return $this; - } - - /** - * Output only. The use broad match keyword recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.UseBroadMatchKeywordRecommendation use_broad_match_keyword_recommendation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\UseBroadMatchKeywordRecommendation|null - */ - public function getUseBroadMatchKeywordRecommendation() - { - return $this->readOneof(30); - } - - public function hasUseBroadMatchKeywordRecommendation() - { - return $this->hasOneof(30); - } - - /** - * Output only. The use broad match keyword recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.UseBroadMatchKeywordRecommendation use_broad_match_keyword_recommendation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\UseBroadMatchKeywordRecommendation $var - * @return $this - */ - public function setUseBroadMatchKeywordRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\UseBroadMatchKeywordRecommendation::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * Output only. The responsive search ad asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdAssetRecommendation responsive_search_ad_asset_recommendation = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdAssetRecommendation|null - */ - public function getResponsiveSearchAdAssetRecommendation() - { - return $this->readOneof(31); - } - - public function hasResponsiveSearchAdAssetRecommendation() - { - return $this->hasOneof(31); - } - - /** - * Output only. The responsive search ad asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdAssetRecommendation responsive_search_ad_asset_recommendation = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdAssetRecommendation $var - * @return $this - */ - public function setResponsiveSearchAdAssetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdAssetRecommendation::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * Output only. The upgrade a Smart Shopping campaign to a Performance Max - * campaign recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation upgrade_smart_shopping_campaign_to_performance_max_recommendation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation|null - */ - public function getUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation() - { - return $this->readOneof(32); - } - - public function hasUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation() - { - return $this->hasOneof(32); - } - - /** - * Output only. The upgrade a Smart Shopping campaign to a Performance Max - * campaign recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation upgrade_smart_shopping_campaign_to_performance_max_recommendation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation $var - * @return $this - */ - public function setUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * Output only. The responsive search ad improve ad strength recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdImproveAdStrengthRecommendation responsive_search_ad_improve_ad_strength_recommendation = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdImproveAdStrengthRecommendation|null - */ - public function getResponsiveSearchAdImproveAdStrengthRecommendation() - { - return $this->readOneof(33); - } - - public function hasResponsiveSearchAdImproveAdStrengthRecommendation() - { - return $this->hasOneof(33); - } - - /** - * Output only. The responsive search ad improve ad strength recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdImproveAdStrengthRecommendation responsive_search_ad_improve_ad_strength_recommendation = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdImproveAdStrengthRecommendation $var - * @return $this - */ - public function setResponsiveSearchAdImproveAdStrengthRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ResponsiveSearchAdImproveAdStrengthRecommendation::class); - $this->writeOneof(33, $var); - - return $this; - } - - /** - * Output only. The Display Expansion opt-in recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.DisplayExpansionOptInRecommendation display_expansion_opt_in_recommendation = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\DisplayExpansionOptInRecommendation|null - */ - public function getDisplayExpansionOptInRecommendation() - { - return $this->readOneof(34); - } - - public function hasDisplayExpansionOptInRecommendation() - { - return $this->hasOneof(34); - } - - /** - * Output only. The Display Expansion opt-in recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.DisplayExpansionOptInRecommendation display_expansion_opt_in_recommendation = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\DisplayExpansionOptInRecommendation $var - * @return $this - */ - public function setDisplayExpansionOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\DisplayExpansionOptInRecommendation::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * Output only. The upgrade a Local campaign to a Performance Max campaign - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.UpgradeLocalCampaignToPerformanceMaxRecommendation upgrade_local_campaign_to_performance_max_recommendation = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\UpgradeLocalCampaignToPerformanceMaxRecommendation|null - */ - public function getUpgradeLocalCampaignToPerformanceMaxRecommendation() - { - return $this->readOneof(35); - } - - public function hasUpgradeLocalCampaignToPerformanceMaxRecommendation() - { - return $this->hasOneof(35); - } - - /** - * Output only. The upgrade a Local campaign to a Performance Max campaign - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.UpgradeLocalCampaignToPerformanceMaxRecommendation upgrade_local_campaign_to_performance_max_recommendation = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\UpgradeLocalCampaignToPerformanceMaxRecommendation $var - * @return $this - */ - public function setUpgradeLocalCampaignToPerformanceMaxRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\UpgradeLocalCampaignToPerformanceMaxRecommendation::class); - $this->writeOneof(35, $var); - - return $this; - } - - /** - * Output only. The raise target CPA bid too low recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RaiseTargetCpaBidTooLowRecommendation raise_target_cpa_bid_too_low_recommendation = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\RaiseTargetCpaBidTooLowRecommendation|null - */ - public function getRaiseTargetCpaBidTooLowRecommendation() - { - return $this->readOneof(36); - } - - public function hasRaiseTargetCpaBidTooLowRecommendation() - { - return $this->hasOneof(36); - } - - /** - * Output only. The raise target CPA bid too low recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RaiseTargetCpaBidTooLowRecommendation raise_target_cpa_bid_too_low_recommendation = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\RaiseTargetCpaBidTooLowRecommendation $var - * @return $this - */ - public function setRaiseTargetCpaBidTooLowRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\RaiseTargetCpaBidTooLowRecommendation::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * Output only. The forecasting set target ROAS recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetRoasRecommendation forecasting_set_target_roas_recommendation = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetRoasRecommendation|null - */ - public function getForecastingSetTargetRoasRecommendation() - { - return $this->readOneof(37); - } - - public function hasForecastingSetTargetRoasRecommendation() - { - return $this->hasOneof(37); - } - - /** - * Output only. The forecasting set target ROAS recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetRoasRecommendation forecasting_set_target_roas_recommendation = 37 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetRoasRecommendation $var - * @return $this - */ - public function setForecastingSetTargetRoasRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetRoasRecommendation::class); - $this->writeOneof(37, $var); - - return $this; - } - - /** - * Output only. The callout asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CalloutAssetRecommendation callout_asset_recommendation = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\CalloutAssetRecommendation|null - */ - public function getCalloutAssetRecommendation() - { - return $this->readOneof(39); - } - - public function hasCalloutAssetRecommendation() - { - return $this->hasOneof(39); - } - - /** - * Output only. The callout asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CalloutAssetRecommendation callout_asset_recommendation = 39 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\CalloutAssetRecommendation $var - * @return $this - */ - public function setCalloutAssetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CalloutAssetRecommendation::class); - $this->writeOneof(39, $var); - - return $this; - } - - /** - * Output only. The sitelink asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.SitelinkAssetRecommendation sitelink_asset_recommendation = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\SitelinkAssetRecommendation|null - */ - public function getSitelinkAssetRecommendation() - { - return $this->readOneof(40); - } - - public function hasSitelinkAssetRecommendation() - { - return $this->hasOneof(40); - } - - /** - * Output only. The sitelink asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.SitelinkAssetRecommendation sitelink_asset_recommendation = 40 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\SitelinkAssetRecommendation $var - * @return $this - */ - public function setSitelinkAssetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\SitelinkAssetRecommendation::class); - $this->writeOneof(40, $var); - - return $this; - } - - /** - * Output only. The call asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CallAssetRecommendation call_asset_recommendation = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\CallAssetRecommendation|null - */ - public function getCallAssetRecommendation() - { - return $this->readOneof(41); - } - - public function hasCallAssetRecommendation() - { - return $this->hasOneof(41); - } - - /** - * Output only. The call asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CallAssetRecommendation call_asset_recommendation = 41 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\CallAssetRecommendation $var - * @return $this - */ - public function setCallAssetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CallAssetRecommendation::class); - $this->writeOneof(41, $var); - - return $this; - } - - /** - * Output only. The shopping add age group recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_age_group_recommendation = 42 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation|null - */ - public function getShoppingAddAgeGroupRecommendation() - { - return $this->readOneof(42); - } - - public function hasShoppingAddAgeGroupRecommendation() - { - return $this->hasOneof(42); - } - - /** - * Output only. The shopping add age group recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_age_group_recommendation = 42 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $var - * @return $this - */ - public function setShoppingAddAgeGroupRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation::class); - $this->writeOneof(42, $var); - - return $this; - } - - /** - * Output only. The shopping add color recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_color_recommendation = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation|null - */ - public function getShoppingAddColorRecommendation() - { - return $this->readOneof(43); - } - - public function hasShoppingAddColorRecommendation() - { - return $this->hasOneof(43); - } - - /** - * Output only. The shopping add color recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_color_recommendation = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $var - * @return $this - */ - public function setShoppingAddColorRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation::class); - $this->writeOneof(43, $var); - - return $this; - } - - /** - * Output only. The shopping add gender recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_gender_recommendation = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation|null - */ - public function getShoppingAddGenderRecommendation() - { - return $this->readOneof(44); - } - - public function hasShoppingAddGenderRecommendation() - { - return $this->hasOneof(44); - } - - /** - * Output only. The shopping add gender recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_gender_recommendation = 44 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $var - * @return $this - */ - public function setShoppingAddGenderRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation::class); - $this->writeOneof(44, $var); - - return $this; - } - - /** - * Output only. The shopping add GTIN recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_gtin_recommendation = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation|null - */ - public function getShoppingAddGtinRecommendation() - { - return $this->readOneof(45); - } - - public function hasShoppingAddGtinRecommendation() - { - return $this->hasOneof(45); - } - - /** - * Output only. The shopping add GTIN recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_gtin_recommendation = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $var - * @return $this - */ - public function setShoppingAddGtinRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation::class); - $this->writeOneof(45, $var); - - return $this; - } - - /** - * Output only. The shopping add more identifiers recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_more_identifiers_recommendation = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation|null - */ - public function getShoppingAddMoreIdentifiersRecommendation() - { - return $this->readOneof(46); - } - - public function hasShoppingAddMoreIdentifiersRecommendation() - { - return $this->hasOneof(46); - } - - /** - * Output only. The shopping add more identifiers recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_more_identifiers_recommendation = 46 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $var - * @return $this - */ - public function setShoppingAddMoreIdentifiersRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation::class); - $this->writeOneof(46, $var); - - return $this; - } - - /** - * Output only. The shopping add size recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_size_recommendation = 47 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation|null - */ - public function getShoppingAddSizeRecommendation() - { - return $this->readOneof(47); - } - - public function hasShoppingAddSizeRecommendation() - { - return $this->hasOneof(47); - } - - /** - * Output only. The shopping add size recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation shopping_add_size_recommendation = 47 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation $var - * @return $this - */ - public function setShoppingAddSizeRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingOfferAttributeRecommendation::class); - $this->writeOneof(47, $var); - - return $this; - } - - /** - * Output only. The shopping add products to campaign recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingAddProductsToCampaignRecommendation shopping_add_products_to_campaign_recommendation = 48 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingAddProductsToCampaignRecommendation|null - */ - public function getShoppingAddProductsToCampaignRecommendation() - { - return $this->readOneof(48); - } - - public function hasShoppingAddProductsToCampaignRecommendation() - { - return $this->hasOneof(48); - } - - /** - * Output only. The shopping add products to campaign recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingAddProductsToCampaignRecommendation shopping_add_products_to_campaign_recommendation = 48 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingAddProductsToCampaignRecommendation $var - * @return $this - */ - public function setShoppingAddProductsToCampaignRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingAddProductsToCampaignRecommendation::class); - $this->writeOneof(48, $var); - - return $this; - } - - /** - * Output only. The shopping fix disapproved products recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingFixDisapprovedProductsRecommendation shopping_fix_disapproved_products_recommendation = 49 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingFixDisapprovedProductsRecommendation|null - */ - public function getShoppingFixDisapprovedProductsRecommendation() - { - return $this->readOneof(49); - } - - public function hasShoppingFixDisapprovedProductsRecommendation() - { - return $this->hasOneof(49); - } - - /** - * Output only. The shopping fix disapproved products recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingFixDisapprovedProductsRecommendation shopping_fix_disapproved_products_recommendation = 49 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingFixDisapprovedProductsRecommendation $var - * @return $this - */ - public function setShoppingFixDisapprovedProductsRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingFixDisapprovedProductsRecommendation::class); - $this->writeOneof(49, $var); - - return $this; - } - - /** - * Output only. The shopping target all offers recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingTargetAllOffersRecommendation shopping_target_all_offers_recommendation = 50 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingTargetAllOffersRecommendation|null - */ - public function getShoppingTargetAllOffersRecommendation() - { - return $this->readOneof(50); - } - - public function hasShoppingTargetAllOffersRecommendation() - { - return $this->hasOneof(50); - } - - /** - * Output only. The shopping target all offers recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingTargetAllOffersRecommendation shopping_target_all_offers_recommendation = 50 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingTargetAllOffersRecommendation $var - * @return $this - */ - public function setShoppingTargetAllOffersRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingTargetAllOffersRecommendation::class); - $this->writeOneof(50, $var); - - return $this; - } - - /** - * Output only. The shopping fix suspended Merchant Center account - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingMerchantCenterAccountSuspensionRecommendation shopping_fix_suspended_merchant_center_account_recommendation = 51 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMerchantCenterAccountSuspensionRecommendation|null - */ - public function getShoppingFixSuspendedMerchantCenterAccountRecommendation() - { - return $this->readOneof(51); - } - - public function hasShoppingFixSuspendedMerchantCenterAccountRecommendation() - { - return $this->hasOneof(51); - } - - /** - * Output only. The shopping fix suspended Merchant Center account - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingMerchantCenterAccountSuspensionRecommendation shopping_fix_suspended_merchant_center_account_recommendation = 51 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMerchantCenterAccountSuspensionRecommendation $var - * @return $this - */ - public function setShoppingFixSuspendedMerchantCenterAccountRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMerchantCenterAccountSuspensionRecommendation::class); - $this->writeOneof(51, $var); - - return $this; - } - - /** - * Output only. The shopping fix Merchant Center account suspension warning - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingMerchantCenterAccountSuspensionRecommendation shopping_fix_merchant_center_account_suspension_warning_recommendation = 52 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMerchantCenterAccountSuspensionRecommendation|null - */ - public function getShoppingFixMerchantCenterAccountSuspensionWarningRecommendation() - { - return $this->readOneof(52); - } - - public function hasShoppingFixMerchantCenterAccountSuspensionWarningRecommendation() - { - return $this->hasOneof(52); - } - - /** - * Output only. The shopping fix Merchant Center account suspension warning - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingMerchantCenterAccountSuspensionRecommendation shopping_fix_merchant_center_account_suspension_warning_recommendation = 52 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMerchantCenterAccountSuspensionRecommendation $var - * @return $this - */ - public function setShoppingFixMerchantCenterAccountSuspensionWarningRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMerchantCenterAccountSuspensionRecommendation::class); - $this->writeOneof(52, $var); - - return $this; - } - - /** - * Output only. The shopping migrate Regular Shopping Campaign offers to - * Performance Max recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation shopping_migrate_regular_shopping_campaign_offers_to_performance_max_recommendation = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation|null - */ - public function getShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation() - { - return $this->readOneof(53); - } - - public function hasShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation() - { - return $this->hasOneof(53); - } - - /** - * Output only. The shopping migrate Regular Shopping Campaign offers to - * Performance Max recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation shopping_migrate_regular_shopping_campaign_offers_to_performance_max_recommendation = 53 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation $var - * @return $this - */ - public function setShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation::class); - $this->writeOneof(53, $var); - - return $this; - } - - /** - * Output only. Recommendation to enable dynamic image extensions on the - * account, allowing Google to find the best images from ad landing pages - * and complement text ads. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.DynamicImageExtensionOptInRecommendation dynamic_image_extension_opt_in_recommendation = 54 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\DynamicImageExtensionOptInRecommendation|null - */ - public function getDynamicImageExtensionOptInRecommendation() - { - return $this->readOneof(54); - } - - public function hasDynamicImageExtensionOptInRecommendation() - { - return $this->hasOneof(54); - } - - /** - * Output only. Recommendation to enable dynamic image extensions on the - * account, allowing Google to find the best images from ad landing pages - * and complement text ads. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.DynamicImageExtensionOptInRecommendation dynamic_image_extension_opt_in_recommendation = 54 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\DynamicImageExtensionOptInRecommendation $var - * @return $this - */ - public function setDynamicImageExtensionOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\DynamicImageExtensionOptInRecommendation::class); - $this->writeOneof(54, $var); - - return $this; - } - - /** - * Output only. Recommendation to raise Target CPA. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RaiseTargetCpaRecommendation raise_target_cpa_recommendation = 55 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\RaiseTargetCpaRecommendation|null - */ - public function getRaiseTargetCpaRecommendation() - { - return $this->readOneof(55); - } - - public function hasRaiseTargetCpaRecommendation() - { - return $this->hasOneof(55); - } - - /** - * Output only. Recommendation to raise Target CPA. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RaiseTargetCpaRecommendation raise_target_cpa_recommendation = 55 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\RaiseTargetCpaRecommendation $var - * @return $this - */ - public function setRaiseTargetCpaRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\RaiseTargetCpaRecommendation::class); - $this->writeOneof(55, $var); - - return $this; - } - - /** - * Output only. Recommendation to lower Target ROAS. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.LowerTargetRoasRecommendation lower_target_roas_recommendation = 56 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\LowerTargetRoasRecommendation|null - */ - public function getLowerTargetRoasRecommendation() - { - return $this->readOneof(56); - } - - public function hasLowerTargetRoasRecommendation() - { - return $this->hasOneof(56); - } - - /** - * Output only. Recommendation to lower Target ROAS. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.LowerTargetRoasRecommendation lower_target_roas_recommendation = 56 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\LowerTargetRoasRecommendation $var - * @return $this - */ - public function setLowerTargetRoasRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\LowerTargetRoasRecommendation::class); - $this->writeOneof(56, $var); - - return $this; - } - - /** - * Output only. The Performance Max Opt In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.PerformanceMaxOptInRecommendation performance_max_opt_in_recommendation = 57 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\PerformanceMaxOptInRecommendation|null - */ - public function getPerformanceMaxOptInRecommendation() - { - return $this->readOneof(57); - } - - public function hasPerformanceMaxOptInRecommendation() - { - return $this->hasOneof(57); - } - - /** - * Output only. The Performance Max Opt In recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.PerformanceMaxOptInRecommendation performance_max_opt_in_recommendation = 57 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\PerformanceMaxOptInRecommendation $var - * @return $this - */ - public function setPerformanceMaxOptInRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\PerformanceMaxOptInRecommendation::class); - $this->writeOneof(57, $var); - - return $this; - } - - /** - * Output only. The improve Performance Max ad strength recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ImprovePerformanceMaxAdStrengthRecommendation improve_performance_max_ad_strength_recommendation = 58 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ImprovePerformanceMaxAdStrengthRecommendation|null - */ - public function getImprovePerformanceMaxAdStrengthRecommendation() - { - return $this->readOneof(58); - } - - public function hasImprovePerformanceMaxAdStrengthRecommendation() - { - return $this->hasOneof(58); - } - - /** - * Output only. The improve Performance Max ad strength recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ImprovePerformanceMaxAdStrengthRecommendation improve_performance_max_ad_strength_recommendation = 58 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ImprovePerformanceMaxAdStrengthRecommendation $var - * @return $this - */ - public function setImprovePerformanceMaxAdStrengthRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ImprovePerformanceMaxAdStrengthRecommendation::class); - $this->writeOneof(58, $var); - - return $this; - } - - /** - * Output only. The Dynamic Search Ads to Performance Max migration - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation migrate_dynamic_search_ads_campaign_to_performance_max_recommendation = 59 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation|null - */ - public function getMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation() - { - return $this->readOneof(59); - } - - public function hasMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation() - { - return $this->hasOneof(59); - } - - /** - * Output only. The Dynamic Search Ads to Performance Max migration - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation migrate_dynamic_search_ads_campaign_to_performance_max_recommendation = 59 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation $var - * @return $this - */ - public function setMigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation::class); - $this->writeOneof(59, $var); - - return $this; - } - - /** - * Output only. The forecasting set target CPA recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetCpaRecommendation forecasting_set_target_cpa_recommendation = 60 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetCpaRecommendation|null - */ - public function getForecastingSetTargetCpaRecommendation() - { - return $this->readOneof(60); - } - - public function hasForecastingSetTargetCpaRecommendation() - { - return $this->hasOneof(60); - } - - /** - * Output only. The forecasting set target CPA recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetCpaRecommendation forecasting_set_target_cpa_recommendation = 60 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetCpaRecommendation $var - * @return $this - */ - public function setForecastingSetTargetCpaRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetCpaRecommendation::class); - $this->writeOneof(60, $var); - - return $this; - } - - /** - * Output only. The set target CPA recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetCpaRecommendation set_target_cpa_recommendation = 61 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetCpaRecommendation|null - */ - public function getSetTargetCpaRecommendation() - { - return $this->readOneof(61); - } - - public function hasSetTargetCpaRecommendation() - { - return $this->hasOneof(61); - } - - /** - * Output only. The set target CPA recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetCpaRecommendation set_target_cpa_recommendation = 61 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetCpaRecommendation $var - * @return $this - */ - public function setSetTargetCpaRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetCpaRecommendation::class); - $this->writeOneof(61, $var); - - return $this; - } - - /** - * Output only. The set target ROAS recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetRoasRecommendation set_target_roas_recommendation = 62 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetRoasRecommendation|null - */ - public function getSetTargetRoasRecommendation() - { - return $this->readOneof(62); - } - - public function hasSetTargetRoasRecommendation() - { - return $this->hasOneof(62); - } - - /** - * Output only. The set target ROAS recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetRoasRecommendation set_target_roas_recommendation = 62 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetRoasRecommendation $var - * @return $this - */ - public function setSetTargetRoasRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\ForecastingSetTargetRoasRecommendation::class); - $this->writeOneof(62, $var); - - return $this; - } - - /** - * @return string - */ - public function getRecommendation() - { - return $this->whichOneof("recommendation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CallAssetRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CallAssetRecommendation.php deleted file mode 100644 index 0e56b34e3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CallAssetRecommendation.php +++ /dev/null @@ -1,36 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.CallAssetRecommendation - */ -class CallAssetRecommendation extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CallAssetRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_CallAssetRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CalloutAssetRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CalloutAssetRecommendation.php deleted file mode 100644 index 40d79a338..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CalloutAssetRecommendation.php +++ /dev/null @@ -1,112 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.CalloutAssetRecommendation - */ -class CalloutAssetRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. New callout extension assets recommended at the campaign - * level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $recommended_campaign_callout_assets; - /** - * Output only. New callout extension assets recommended at the customer - * level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $recommended_customer_callout_assets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $recommended_campaign_callout_assets - * Output only. New callout extension assets recommended at the campaign - * level. - * @type array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $recommended_customer_callout_assets - * Output only. New callout extension assets recommended at the customer - * level. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. New callout extension assets recommended at the campaign - * level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRecommendedCampaignCalloutAssets() - { - return $this->recommended_campaign_callout_assets; - } - - /** - * Output only. New callout extension assets recommended at the campaign - * level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_campaign_callout_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRecommendedCampaignCalloutAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->recommended_campaign_callout_assets = $arr; - - return $this; - } - - /** - * Output only. New callout extension assets recommended at the customer - * level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRecommendedCustomerCalloutAssets() - { - return $this->recommended_customer_callout_assets; - } - - /** - * Output only. New callout extension assets recommended at the customer - * level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_customer_callout_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRecommendedCustomerCalloutAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->recommended_customer_callout_assets = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CalloutAssetRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_CalloutAssetRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudget.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudget.php deleted file mode 100644 index 179ec1d38..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudget.php +++ /dev/null @@ -1,150 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.CampaignBudget - */ -class CampaignBudget extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Current budget amount. - * - * Generated from protobuf field int64 current_amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $current_amount_micros = 0; - /** - * Output only. Recommended budget amount. - * - * Generated from protobuf field int64 recommended_new_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_new_amount_micros = 0; - /** - * Output only. The date when the new budget would start being used. - * This field will be set for the following recommendation types: - * FORECASTING_SET_TARGET_ROAS , FORECASTING_SET_TARGET_CPA - * YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field string new_start_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $new_start_date = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $current_amount_micros - * Output only. Current budget amount. - * @type int|string $recommended_new_amount_micros - * Output only. Recommended budget amount. - * @type string $new_start_date - * Output only. The date when the new budget would start being used. - * This field will be set for the following recommendation types: - * FORECASTING_SET_TARGET_ROAS , FORECASTING_SET_TARGET_CPA - * YYYY-MM-DD format, for example, 2018-04-17. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Current budget amount. - * - * Generated from protobuf field int64 current_amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCurrentAmountMicros() - { - return $this->current_amount_micros; - } - - /** - * Output only. Current budget amount. - * - * Generated from protobuf field int64 current_amount_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCurrentAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->current_amount_micros = $var; - - return $this; - } - - /** - * Output only. Recommended budget amount. - * - * Generated from protobuf field int64 recommended_new_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedNewAmountMicros() - { - return $this->recommended_new_amount_micros; - } - - /** - * Output only. Recommended budget amount. - * - * Generated from protobuf field int64 recommended_new_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedNewAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_new_amount_micros = $var; - - return $this; - } - - /** - * Output only. The date when the new budget would start being used. - * This field will be set for the following recommendation types: - * FORECASTING_SET_TARGET_ROAS , FORECASTING_SET_TARGET_CPA - * YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field string new_start_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getNewStartDate() - { - return $this->new_start_date; - } - - /** - * Output only. The date when the new budget would start being used. - * This field will be set for the following recommendation types: - * FORECASTING_SET_TARGET_ROAS , FORECASTING_SET_TARGET_CPA - * YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field string new_start_date = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setNewStartDate($var) - { - GPBUtil::checkString($var, True); - $this->new_start_date = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignBudget::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_CampaignBudget::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudgetRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudgetRecommendation.php deleted file mode 100644 index 5518d0a5e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudgetRecommendation.php +++ /dev/null @@ -1,162 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation - */ -class CampaignBudgetRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The current budget amount in micros. - * - * Generated from protobuf field optional int64 current_budget_amount_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $current_budget_amount_micros = null; - /** - * Output only. The recommended budget amount in micros. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_budget_amount_micros = null; - /** - * Output only. The budget amounts and associated impact estimates for some - * values of possible budget amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption budget_options = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $budget_options; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $current_budget_amount_micros - * Output only. The current budget amount in micros. - * @type int|string $recommended_budget_amount_micros - * Output only. The recommended budget amount in micros. - * @type array<\Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation\CampaignBudgetRecommendationOption>|\Google\Protobuf\Internal\RepeatedField $budget_options - * Output only. The budget amounts and associated impact estimates for some - * values of possible budget amounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The current budget amount in micros. - * - * Generated from protobuf field optional int64 current_budget_amount_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCurrentBudgetAmountMicros() - { - return isset($this->current_budget_amount_micros) ? $this->current_budget_amount_micros : 0; - } - - public function hasCurrentBudgetAmountMicros() - { - return isset($this->current_budget_amount_micros); - } - - public function clearCurrentBudgetAmountMicros() - { - unset($this->current_budget_amount_micros); - } - - /** - * Output only. The current budget amount in micros. - * - * Generated from protobuf field optional int64 current_budget_amount_micros = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCurrentBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->current_budget_amount_micros = $var; - - return $this; - } - - /** - * Output only. The recommended budget amount in micros. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedBudgetAmountMicros() - { - return isset($this->recommended_budget_amount_micros) ? $this->recommended_budget_amount_micros : 0; - } - - public function hasRecommendedBudgetAmountMicros() - { - return isset($this->recommended_budget_amount_micros); - } - - public function clearRecommendedBudgetAmountMicros() - { - unset($this->recommended_budget_amount_micros); - } - - /** - * Output only. The recommended budget amount in micros. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_budget_amount_micros = $var; - - return $this; - } - - /** - * Output only. The budget amounts and associated impact estimates for some - * values of possible budget amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption budget_options = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBudgetOptions() - { - return $this->budget_options; - } - - /** - * Output only. The budget amounts and associated impact estimates for some - * values of possible budget amounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption budget_options = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation\CampaignBudgetRecommendationOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBudgetOptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation\CampaignBudgetRecommendationOption::class); - $this->budget_options = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignBudgetRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_CampaignBudgetRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudgetRecommendation/CampaignBudgetRecommendationOption.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudgetRecommendation/CampaignBudgetRecommendationOption.php deleted file mode 100644 index aeaf7cb45..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/CampaignBudgetRecommendation/CampaignBudgetRecommendationOption.php +++ /dev/null @@ -1,128 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption - */ -class CampaignBudgetRecommendationOption extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The budget amount for this option. - * - * Generated from protobuf field optional int64 budget_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $budget_amount_micros = null; - /** - * Output only. The impact estimate if budget is changed to amount - * specified in this option. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $impact = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $budget_amount_micros - * Output only. The budget amount for this option. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact $impact - * Output only. The impact estimate if budget is changed to amount - * specified in this option. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The budget amount for this option. - * - * Generated from protobuf field optional int64 budget_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getBudgetAmountMicros() - { - return isset($this->budget_amount_micros) ? $this->budget_amount_micros : 0; - } - - public function hasBudgetAmountMicros() - { - return isset($this->budget_amount_micros); - } - - public function clearBudgetAmountMicros() - { - unset($this->budget_amount_micros); - } - - /** - * Output only. The budget amount for this option. - * - * Generated from protobuf field optional int64 budget_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->budget_amount_micros = $var; - - return $this; - } - - /** - * Output only. The impact estimate if budget is changed to amount - * specified in this option. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact|null - */ - public function getImpact() - { - return $this->impact; - } - - public function hasImpact() - { - return isset($this->impact); - } - - public function clearImpact() - { - unset($this->impact); - } - - /** - * Output only. The impact estimate if budget is changed to amount - * specified in this option. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact $var - * @return $this - */ - public function setImpact($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact::class); - $this->impact = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignBudgetRecommendationOption::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_CampaignBudgetRecommendation_CampaignBudgetRecommendationOption::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/DisplayExpansionOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/DisplayExpansionOptInRecommendation.php deleted file mode 100644 index 7677ebebc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/DisplayExpansionOptInRecommendation.php +++ /dev/null @@ -1,36 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.DisplayExpansionOptInRecommendation - */ -class DisplayExpansionOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DisplayExpansionOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_DisplayExpansionOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/DynamicImageExtensionOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/DynamicImageExtensionOptInRecommendation.php deleted file mode 100644 index 58b87f463..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/DynamicImageExtensionOptInRecommendation.php +++ /dev/null @@ -1,38 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.DynamicImageExtensionOptInRecommendation - */ -class DynamicImageExtensionOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DynamicImageExtensionOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_DynamicImageExtensionOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/EnhancedCpcOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/EnhancedCpcOptInRecommendation.php deleted file mode 100644 index 08c8b2374..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/EnhancedCpcOptInRecommendation.php +++ /dev/null @@ -1,36 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.EnhancedCpcOptInRecommendation - */ -class EnhancedCpcOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EnhancedCpcOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_EnhancedCpcOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ForecastingSetTargetCpaRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ForecastingSetTargetCpaRecommendation.php deleted file mode 100644 index f56a76f4b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ForecastingSetTargetCpaRecommendation.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetCpaRecommendation - */ -class ForecastingSetTargetCpaRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The recommended target CPA. - * - * Generated from protobuf field int64 recommended_target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_target_cpa_micros = 0; - /** - * Output only. The campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudget campaign_budget = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_budget = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $recommended_target_cpa_micros - * Output only. The recommended target CPA. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudget $campaign_budget - * Output only. The campaign budget. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The recommended target CPA. - * - * Generated from protobuf field int64 recommended_target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedTargetCpaMicros() - { - return $this->recommended_target_cpa_micros; - } - - /** - * Output only. The recommended target CPA. - * - * Generated from protobuf field int64 recommended_target_cpa_micros = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_target_cpa_micros = $var; - - return $this; - } - - /** - * Output only. The campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudget campaign_budget = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudget|null - */ - public function getCampaignBudget() - { - return $this->campaign_budget; - } - - public function hasCampaignBudget() - { - return isset($this->campaign_budget); - } - - public function clearCampaignBudget() - { - unset($this->campaign_budget); - } - - /** - * Output only. The campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudget campaign_budget = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudget $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudget::class); - $this->campaign_budget = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ForecastingSetTargetCpaRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ForecastingSetTargetCpaRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ForecastingSetTargetRoasRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ForecastingSetTargetRoasRecommendation.php deleted file mode 100644 index f6d9103a1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ForecastingSetTargetRoasRecommendation.php +++ /dev/null @@ -1,118 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ForecastingSetTargetRoasRecommendation - */ -class ForecastingSetTargetRoasRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The recommended target ROAS (revenue per unit of spend). - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field double recommended_target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_target_roas = 0.0; - /** - * Output only. The campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudget campaign_budget = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_budget = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $recommended_target_roas - * Output only. The recommended target ROAS (revenue per unit of spend). - * The value is between 0.01 and 1000.0, inclusive. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudget $campaign_budget - * Output only. The campaign budget. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The recommended target ROAS (revenue per unit of spend). - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field double recommended_target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getRecommendedTargetRoas() - { - return $this->recommended_target_roas; - } - - /** - * Output only. The recommended target ROAS (revenue per unit of spend). - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field double recommended_target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setRecommendedTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->recommended_target_roas = $var; - - return $this; - } - - /** - * Output only. The campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudget campaign_budget = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudget|null - */ - public function getCampaignBudget() - { - return $this->campaign_budget; - } - - public function hasCampaignBudget() - { - return isset($this->campaign_budget); - } - - public function clearCampaignBudget() - { - unset($this->campaign_budget); - } - - /** - * Output only. The campaign budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudget campaign_budget = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudget $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudget::class); - $this->campaign_budget = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ForecastingSetTargetRoasRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ForecastingSetTargetRoasRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ImprovePerformanceMaxAdStrengthRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ImprovePerformanceMaxAdStrengthRecommendation.php deleted file mode 100644 index 880c2ea70..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ImprovePerformanceMaxAdStrengthRecommendation.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ImprovePerformanceMaxAdStrengthRecommendation - */ -class ImprovePerformanceMaxAdStrengthRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The asset group resource name. - * - * Generated from protobuf field string asset_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $asset_group = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $asset_group - * Output only. The asset group resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The asset group resource name. - * - * Generated from protobuf field string asset_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAssetGroup() - { - return $this->asset_group; - } - - /** - * Output only. The asset group resource name. - * - * Generated from protobuf field string asset_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAssetGroup($var) - { - GPBUtil::checkString($var, True); - $this->asset_group = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ImprovePerformanceMaxAdStrengthRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ImprovePerformanceMaxAdStrengthRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordMatchTypeRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordMatchTypeRecommendation.php deleted file mode 100644 index 931797858..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordMatchTypeRecommendation.php +++ /dev/null @@ -1,118 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.KeywordMatchTypeRecommendation - */ -class KeywordMatchTypeRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The existing keyword where the match type should be more - * broad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $keyword = null; - /** - * Output only. The recommended new match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType recommended_match_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_match_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $keyword - * Output only. The existing keyword where the match type should be more - * broad. - * @type int $recommended_match_type - * Output only. The recommended new match type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The existing keyword where the match type should be more - * broad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getKeyword() - { - return $this->keyword; - } - - public function hasKeyword() - { - return isset($this->keyword); - } - - public function clearKeyword() - { - unset($this->keyword); - } - - /** - * Output only. The existing keyword where the match type should be more - * broad. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->keyword = $var; - - return $this; - } - - /** - * Output only. The recommended new match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType recommended_match_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getRecommendedMatchType() - { - return $this->recommended_match_type; - } - - /** - * Output only. The recommended new match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType recommended_match_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setRecommendedMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordMatchTypeEnum\KeywordMatchType::class); - $this->recommended_match_type = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordMatchTypeRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_KeywordMatchTypeRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordRecommendation.php deleted file mode 100644 index 37b9cb865..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordRecommendation.php +++ /dev/null @@ -1,162 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.KeywordRecommendation - */ -class KeywordRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The recommended keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $keyword = null; - /** - * Output only. A list of search terms this keyword matches. The same search - * term may be repeated for multiple keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.KeywordRecommendation.SearchTerm search_terms = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $search_terms; - /** - * Output only. The recommended CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 recommended_cpc_bid_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_cpc_bid_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $keyword - * Output only. The recommended keyword. - * @type array<\Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordRecommendation\SearchTerm>|\Google\Protobuf\Internal\RepeatedField $search_terms - * Output only. A list of search terms this keyword matches. The same search - * term may be repeated for multiple keywords. - * @type int|string $recommended_cpc_bid_micros - * Output only. The recommended CPC (cost-per-click) bid. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The recommended keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getKeyword() - { - return $this->keyword; - } - - public function hasKeyword() - { - return isset($this->keyword); - } - - public function clearKeyword() - { - unset($this->keyword); - } - - /** - * Output only. The recommended keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->keyword = $var; - - return $this; - } - - /** - * Output only. A list of search terms this keyword matches. The same search - * term may be repeated for multiple keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.KeywordRecommendation.SearchTerm search_terms = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSearchTerms() - { - return $this->search_terms; - } - - /** - * Output only. A list of search terms this keyword matches. The same search - * term may be repeated for multiple keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.KeywordRecommendation.SearchTerm search_terms = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordRecommendation\SearchTerm>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSearchTerms($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Recommendation\KeywordRecommendation\SearchTerm::class); - $this->search_terms = $arr; - - return $this; - } - - /** - * Output only. The recommended CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 recommended_cpc_bid_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedCpcBidMicros() - { - return isset($this->recommended_cpc_bid_micros) ? $this->recommended_cpc_bid_micros : 0; - } - - public function hasRecommendedCpcBidMicros() - { - return isset($this->recommended_cpc_bid_micros); - } - - public function clearRecommendedCpcBidMicros() - { - unset($this->recommended_cpc_bid_micros); - } - - /** - * Output only. The recommended CPC (cost-per-click) bid. - * - * Generated from protobuf field optional int64 recommended_cpc_bid_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_cpc_bid_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_KeywordRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordRecommendation/SearchTerm.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordRecommendation/SearchTerm.php deleted file mode 100644 index 2b003ad23..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/KeywordRecommendation/SearchTerm.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.KeywordRecommendation.SearchTerm - */ -class SearchTerm extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The text of the search term. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $text = ''; - /** - * Output only. Estimated number of historical weekly searches for this - * search term. - * - * Generated from protobuf field int64 estimated_weekly_search_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $estimated_weekly_search_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * Output only. The text of the search term. - * @type int|string $estimated_weekly_search_count - * Output only. Estimated number of historical weekly searches for this - * search term. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The text of the search term. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getText() - { - return $this->text; - } - - /** - * Output only. The text of the search term. - * - * Generated from protobuf field string text = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * Output only. Estimated number of historical weekly searches for this - * search term. - * - * Generated from protobuf field int64 estimated_weekly_search_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getEstimatedWeeklySearchCount() - { - return $this->estimated_weekly_search_count; - } - - /** - * Output only. Estimated number of historical weekly searches for this - * search term. - * - * Generated from protobuf field int64 estimated_weekly_search_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setEstimatedWeeklySearchCount($var) - { - GPBUtil::checkInt64($var); - $this->estimated_weekly_search_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SearchTerm::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_KeywordRecommendation_SearchTerm::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/LowerTargetRoasRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/LowerTargetRoasRecommendation.php deleted file mode 100644 index ba23a44c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/LowerTargetRoasRecommendation.php +++ /dev/null @@ -1,84 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.LowerTargetRoasRecommendation - */ -class LowerTargetRoasRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The relevant information describing the recommended target - * adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_adjustment = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetAdjustmentInfo $target_adjustment - * Output only. The relevant information describing the recommended target - * adjustment. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The relevant information describing the recommended target - * adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetAdjustmentInfo|null - */ - public function getTargetAdjustment() - { - return $this->target_adjustment; - } - - public function hasTargetAdjustment() - { - return isset($this->target_adjustment); - } - - public function clearTargetAdjustment() - { - unset($this->target_adjustment); - } - - /** - * Output only. The relevant information describing the recommended target - * adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetAdjustmentInfo $var - * @return $this - */ - public function setTargetAdjustment($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetAdjustmentInfo::class); - $this->target_adjustment = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LowerTargetRoasRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_LowerTargetRoasRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MaximizeClicksOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MaximizeClicksOptInRecommendation.php deleted file mode 100644 index 93c515d2d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MaximizeClicksOptInRecommendation.php +++ /dev/null @@ -1,84 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.MaximizeClicksOptInRecommendation - */ -class MaximizeClicksOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The recommended new budget amount. - * Only set if the current budget is too high. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $recommended_budget_amount_micros - * Output only. The recommended new budget amount. - * Only set if the current budget is too high. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The recommended new budget amount. - * Only set if the current budget is too high. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedBudgetAmountMicros() - { - return isset($this->recommended_budget_amount_micros) ? $this->recommended_budget_amount_micros : 0; - } - - public function hasRecommendedBudgetAmountMicros() - { - return isset($this->recommended_budget_amount_micros); - } - - public function clearRecommendedBudgetAmountMicros() - { - unset($this->recommended_budget_amount_micros); - } - - /** - * Output only. The recommended new budget amount. - * Only set if the current budget is too high. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MaximizeClicksOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_MaximizeClicksOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MaximizeConversionsOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MaximizeConversionsOptInRecommendation.php deleted file mode 100644 index ccd19c9bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MaximizeConversionsOptInRecommendation.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.MaximizeConversionsOptInRecommendation - */ -class MaximizeConversionsOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The recommended new budget amount. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $recommended_budget_amount_micros - * Output only. The recommended new budget amount. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The recommended new budget amount. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedBudgetAmountMicros() - { - return isset($this->recommended_budget_amount_micros) ? $this->recommended_budget_amount_micros : 0; - } - - public function hasRecommendedBudgetAmountMicros() - { - return isset($this->recommended_budget_amount_micros); - } - - public function clearRecommendedBudgetAmountMicros() - { - unset($this->recommended_budget_amount_micros); - } - - /** - * Output only. The recommended new budget amount. - * - * Generated from protobuf field optional int64 recommended_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MaximizeConversionsOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_MaximizeConversionsOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MerchantInfo.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MerchantInfo.php deleted file mode 100644 index 45aafef4c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MerchantInfo.php +++ /dev/null @@ -1,142 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.MerchantInfo - */ -class MerchantInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The Merchant Center account ID. - * - * Generated from protobuf field int64 id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = 0; - /** - * Output only. The name of the Merchant Center account. - * - * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. Whether the Merchant Center account is a Multi-Client - * account (MCA). - * - * Generated from protobuf field bool multi_client = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $multi_client = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $id - * Output only. The Merchant Center account ID. - * @type string $name - * Output only. The name of the Merchant Center account. - * @type bool $multi_client - * Output only. Whether the Merchant Center account is a Multi-Client - * account (MCA). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The Merchant Center account ID. - * - * Generated from protobuf field int64 id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return $this->id; - } - - /** - * Output only. The Merchant Center account ID. - * - * Generated from protobuf field int64 id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. The name of the Merchant Center account. - * - * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The name of the Merchant Center account. - * - * Generated from protobuf field string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Whether the Merchant Center account is a Multi-Client - * account (MCA). - * - * Generated from protobuf field bool multi_client = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getMultiClient() - { - return $this->multi_client; - } - - /** - * Output only. Whether the Merchant Center account is a Multi-Client - * account (MCA). - * - * Generated from protobuf field bool multi_client = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setMultiClient($var) - { - GPBUtil::checkBool($var); - $this->multi_client = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MerchantInfo::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_MerchantInfo::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.php deleted file mode 100644 index 3b77f14a5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation.php +++ /dev/null @@ -1,74 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation - */ -class MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. A link to the Google Ads UI where the customer can manually - * apply the recommendation. - * - * Generated from protobuf field string apply_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $apply_link = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $apply_link - * Output only. A link to the Google Ads UI where the customer can manually - * apply the recommendation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. A link to the Google Ads UI where the customer can manually - * apply the recommendation. - * - * Generated from protobuf field string apply_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getApplyLink() - { - return $this->apply_link; - } - - /** - * Output only. A link to the Google Ads UI where the customer can manually - * apply the recommendation. - * - * Generated from protobuf field string apply_link = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setApplyLink($var) - { - GPBUtil::checkString($var, True); - $this->apply_link = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_MigrateDynamicSearchAdsCampaignToPerformanceMaxRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MoveUnusedBudgetRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MoveUnusedBudgetRecommendation.php deleted file mode 100644 index f801c295b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/MoveUnusedBudgetRecommendation.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.MoveUnusedBudgetRecommendation - */ -class MoveUnusedBudgetRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The excess budget's resource_name. - * - * Generated from protobuf field optional string excess_campaign_budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $excess_campaign_budget = null; - /** - * Output only. The recommendation for the constrained budget to increase. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation budget_recommendation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $budget_recommendation = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $excess_campaign_budget - * Output only. The excess budget's resource_name. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation $budget_recommendation - * Output only. The recommendation for the constrained budget to increase. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The excess budget's resource_name. - * - * Generated from protobuf field optional string excess_campaign_budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getExcessCampaignBudget() - { - return isset($this->excess_campaign_budget) ? $this->excess_campaign_budget : ''; - } - - public function hasExcessCampaignBudget() - { - return isset($this->excess_campaign_budget); - } - - public function clearExcessCampaignBudget() - { - unset($this->excess_campaign_budget); - } - - /** - * Output only. The excess budget's resource_name. - * - * Generated from protobuf field optional string excess_campaign_budget = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setExcessCampaignBudget($var) - { - GPBUtil::checkString($var, True); - $this->excess_campaign_budget = $var; - - return $this; - } - - /** - * Output only. The recommendation for the constrained budget to increase. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation budget_recommendation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation|null - */ - public function getBudgetRecommendation() - { - return $this->budget_recommendation; - } - - public function hasBudgetRecommendation() - { - return isset($this->budget_recommendation); - } - - public function clearBudgetRecommendation() - { - unset($this->budget_recommendation); - } - - /** - * Output only. The recommendation for the constrained budget to increase. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.CampaignBudgetRecommendation budget_recommendation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation $var - * @return $this - */ - public function setBudgetRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\CampaignBudgetRecommendation::class); - $this->budget_recommendation = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MoveUnusedBudgetRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_MoveUnusedBudgetRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/OptimizeAdRotationRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/OptimizeAdRotationRecommendation.php deleted file mode 100644 index f12eef1c9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/OptimizeAdRotationRecommendation.php +++ /dev/null @@ -1,36 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.OptimizeAdRotationRecommendation - */ -class OptimizeAdRotationRecommendation extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OptimizeAdRotationRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_OptimizeAdRotationRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/PerformanceMaxOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/PerformanceMaxOptInRecommendation.php deleted file mode 100644 index 5e9231deb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/PerformanceMaxOptInRecommendation.php +++ /dev/null @@ -1,36 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.PerformanceMaxOptInRecommendation - */ -class PerformanceMaxOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PerformanceMaxOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_PerformanceMaxOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RaiseTargetCpaBidTooLowRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RaiseTargetCpaBidTooLowRecommendation.php deleted file mode 100644 index 65672ccd7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RaiseTargetCpaBidTooLowRecommendation.php +++ /dev/null @@ -1,132 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.RaiseTargetCpaBidTooLowRecommendation - */ -class RaiseTargetCpaBidTooLowRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. A number greater than 1.0 indicating the factor by which we - * recommend the target CPA should be increased. - * - * Generated from protobuf field optional double recommended_target_multiplier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_target_multiplier = null; - /** - * Output only. The current average target CPA of the campaign, in micros of - * customer local currency. - * - * Generated from protobuf field optional int64 average_target_cpa_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $average_target_cpa_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $recommended_target_multiplier - * Output only. A number greater than 1.0 indicating the factor by which we - * recommend the target CPA should be increased. - * @type int|string $average_target_cpa_micros - * Output only. The current average target CPA of the campaign, in micros of - * customer local currency. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. A number greater than 1.0 indicating the factor by which we - * recommend the target CPA should be increased. - * - * Generated from protobuf field optional double recommended_target_multiplier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getRecommendedTargetMultiplier() - { - return isset($this->recommended_target_multiplier) ? $this->recommended_target_multiplier : 0.0; - } - - public function hasRecommendedTargetMultiplier() - { - return isset($this->recommended_target_multiplier); - } - - public function clearRecommendedTargetMultiplier() - { - unset($this->recommended_target_multiplier); - } - - /** - * Output only. A number greater than 1.0 indicating the factor by which we - * recommend the target CPA should be increased. - * - * Generated from protobuf field optional double recommended_target_multiplier = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setRecommendedTargetMultiplier($var) - { - GPBUtil::checkDouble($var); - $this->recommended_target_multiplier = $var; - - return $this; - } - - /** - * Output only. The current average target CPA of the campaign, in micros of - * customer local currency. - * - * Generated from protobuf field optional int64 average_target_cpa_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getAverageTargetCpaMicros() - { - return isset($this->average_target_cpa_micros) ? $this->average_target_cpa_micros : 0; - } - - public function hasAverageTargetCpaMicros() - { - return isset($this->average_target_cpa_micros); - } - - public function clearAverageTargetCpaMicros() - { - unset($this->average_target_cpa_micros); - } - - /** - * Output only. The current average target CPA of the campaign, in micros of - * customer local currency. - * - * Generated from protobuf field optional int64 average_target_cpa_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setAverageTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->average_target_cpa_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RaiseTargetCpaBidTooLowRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_RaiseTargetCpaBidTooLowRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RaiseTargetCpaRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RaiseTargetCpaRecommendation.php deleted file mode 100644 index f453aadce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RaiseTargetCpaRecommendation.php +++ /dev/null @@ -1,132 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.RaiseTargetCpaRecommendation - */ -class RaiseTargetCpaRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The relevant information describing the recommended target - * adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_adjustment = null; - /** - * Output only. Represents the goal towards which the bidding strategy - * should optimize. Only populated for App Campaigns. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $app_bidding_goal = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetAdjustmentInfo $target_adjustment - * Output only. The relevant information describing the recommended target - * adjustment. - * @type int $app_bidding_goal - * Output only. Represents the goal towards which the bidding strategy - * should optimize. Only populated for App Campaigns. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The relevant information describing the recommended target - * adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetAdjustmentInfo|null - */ - public function getTargetAdjustment() - { - return $this->target_adjustment; - } - - public function hasTargetAdjustment() - { - return isset($this->target_adjustment); - } - - public function clearTargetAdjustment() - { - unset($this->target_adjustment); - } - - /** - * Output only. The relevant information describing the recommended target - * adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.TargetAdjustmentInfo target_adjustment = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetAdjustmentInfo $var - * @return $this - */ - public function setTargetAdjustment($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetAdjustmentInfo::class); - $this->target_adjustment = $var; - - return $this; - } - - /** - * Output only. Represents the goal towards which the bidding strategy - * should optimize. Only populated for App Campaigns. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAppBiddingGoal() - { - return isset($this->app_bidding_goal) ? $this->app_bidding_goal : 0; - } - - public function hasAppBiddingGoal() - { - return isset($this->app_bidding_goal); - } - - public function clearAppBiddingGoal() - { - unset($this->app_bidding_goal); - } - - /** - * Output only. Represents the goal towards which the bidding strategy - * should optimize. Only populated for App Campaigns. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.AppBiddingGoalEnum.AppBiddingGoal app_bidding_goal = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAppBiddingGoal($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AppBiddingGoalEnum\AppBiddingGoal::class); - $this->app_bidding_goal = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RaiseTargetCpaRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_RaiseTargetCpaRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RecommendationImpact.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RecommendationImpact.php deleted file mode 100644 index e831fb162..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RecommendationImpact.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.RecommendationImpact - */ -class RecommendationImpact extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Base metrics at the time the recommendation was generated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationMetrics base_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $base_metrics = null; - /** - * Output only. Estimated metrics if the recommendation is applied. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationMetrics potential_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $potential_metrics = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationMetrics $base_metrics - * Output only. Base metrics at the time the recommendation was generated. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationMetrics $potential_metrics - * Output only. Estimated metrics if the recommendation is applied. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Base metrics at the time the recommendation was generated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationMetrics base_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationMetrics|null - */ - public function getBaseMetrics() - { - return $this->base_metrics; - } - - public function hasBaseMetrics() - { - return isset($this->base_metrics); - } - - public function clearBaseMetrics() - { - unset($this->base_metrics); - } - - /** - * Output only. Base metrics at the time the recommendation was generated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationMetrics base_metrics = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationMetrics $var - * @return $this - */ - public function setBaseMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationMetrics::class); - $this->base_metrics = $var; - - return $this; - } - - /** - * Output only. Estimated metrics if the recommendation is applied. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationMetrics potential_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationMetrics|null - */ - public function getPotentialMetrics() - { - return $this->potential_metrics; - } - - public function hasPotentialMetrics() - { - return isset($this->potential_metrics); - } - - public function clearPotentialMetrics() - { - unset($this->potential_metrics); - } - - /** - * Output only. Estimated metrics if the recommendation is applied. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationMetrics potential_metrics = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationMetrics $var - * @return $this - */ - public function setPotentialMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationMetrics::class); - $this->potential_metrics = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RecommendationImpact::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_RecommendationImpact::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RecommendationMetrics.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RecommendationMetrics.php deleted file mode 100644 index f83e563b0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/RecommendationMetrics.php +++ /dev/null @@ -1,261 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.RecommendationMetrics - */ -class RecommendationMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Number of ad impressions. - * - * Generated from protobuf field optional double impressions = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $impressions = null; - /** - * Output only. Number of ad clicks. - * - * Generated from protobuf field optional double clicks = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $clicks = null; - /** - * Output only. Cost (in micros) for advertising, in the local currency for - * the account. - * - * Generated from protobuf field optional int64 cost_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $cost_micros = null; - /** - * Output only. Number of conversions. - * - * Generated from protobuf field optional double conversions = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $conversions = null; - /** - * Output only. Number of video views for a video ad campaign. - * - * Generated from protobuf field optional double video_views = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $video_views = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $impressions - * Output only. Number of ad impressions. - * @type float $clicks - * Output only. Number of ad clicks. - * @type int|string $cost_micros - * Output only. Cost (in micros) for advertising, in the local currency for - * the account. - * @type float $conversions - * Output only. Number of conversions. - * @type float $video_views - * Output only. Number of video views for a video ad campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Number of ad impressions. - * - * Generated from protobuf field optional double impressions = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getImpressions() - { - return isset($this->impressions) ? $this->impressions : 0.0; - } - - public function hasImpressions() - { - return isset($this->impressions); - } - - public function clearImpressions() - { - unset($this->impressions); - } - - /** - * Output only. Number of ad impressions. - * - * Generated from protobuf field optional double impressions = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkDouble($var); - $this->impressions = $var; - - return $this; - } - - /** - * Output only. Number of ad clicks. - * - * Generated from protobuf field optional double clicks = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getClicks() - { - return isset($this->clicks) ? $this->clicks : 0.0; - } - - public function hasClicks() - { - return isset($this->clicks); - } - - public function clearClicks() - { - unset($this->clicks); - } - - /** - * Output only. Number of ad clicks. - * - * Generated from protobuf field optional double clicks = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkDouble($var); - $this->clicks = $var; - - return $this; - } - - /** - * Output only. Cost (in micros) for advertising, in the local currency for - * the account. - * - * Generated from protobuf field optional int64 cost_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCostMicros() - { - return isset($this->cost_micros) ? $this->cost_micros : 0; - } - - public function hasCostMicros() - { - return isset($this->cost_micros); - } - - public function clearCostMicros() - { - unset($this->cost_micros); - } - - /** - * Output only. Cost (in micros) for advertising, in the local currency for - * the account. - * - * Generated from protobuf field optional int64 cost_micros = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Output only. Number of conversions. - * - * Generated from protobuf field optional double conversions = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getConversions() - { - return isset($this->conversions) ? $this->conversions : 0.0; - } - - public function hasConversions() - { - return isset($this->conversions); - } - - public function clearConversions() - { - unset($this->conversions); - } - - /** - * Output only. Number of conversions. - * - * Generated from protobuf field optional double conversions = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setConversions($var) - { - GPBUtil::checkDouble($var); - $this->conversions = $var; - - return $this; - } - - /** - * Output only. Number of video views for a video ad campaign. - * - * Generated from protobuf field optional double video_views = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getVideoViews() - { - return isset($this->video_views) ? $this->video_views : 0.0; - } - - public function hasVideoViews() - { - return isset($this->video_views); - } - - public function clearVideoViews() - { - unset($this->video_views); - } - - /** - * Output only. Number of video views for a video ad campaign. - * - * Generated from protobuf field optional double video_views = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setVideoViews($var) - { - GPBUtil::checkDouble($var); - $this->video_views = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RecommendationMetrics::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_RecommendationMetrics::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdAssetRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdAssetRecommendation.php deleted file mode 100644 index 5dd1f4951..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdAssetRecommendation.php +++ /dev/null @@ -1,128 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdAssetRecommendation - */ -class ResponsiveSearchAdAssetRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The current ad to be updated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad current_ad = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $current_ad = null; - /** - * Output only. The recommended assets. This is populated only with the new - * headlines and/or descriptions, and is otherwise empty. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad recommended_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_assets = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $current_ad - * Output only. The current ad to be updated. - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $recommended_assets - * Output only. The recommended assets. This is populated only with the new - * headlines and/or descriptions, and is otherwise empty. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The current ad to be updated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad current_ad = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getCurrentAd() - { - return $this->current_ad; - } - - public function hasCurrentAd() - { - return isset($this->current_ad); - } - - public function clearCurrentAd() - { - unset($this->current_ad); - } - - /** - * Output only. The current ad to be updated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad current_ad = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setCurrentAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->current_ad = $var; - - return $this; - } - - /** - * Output only. The recommended assets. This is populated only with the new - * headlines and/or descriptions, and is otherwise empty. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad recommended_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getRecommendedAssets() - { - return $this->recommended_assets; - } - - public function hasRecommendedAssets() - { - return isset($this->recommended_assets); - } - - public function clearRecommendedAssets() - { - unset($this->recommended_assets); - } - - /** - * Output only. The recommended assets. This is populated only with the new - * headlines and/or descriptions, and is otherwise empty. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad recommended_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setRecommendedAssets($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->recommended_assets = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResponsiveSearchAdAssetRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ResponsiveSearchAdAssetRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdImproveAdStrengthRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdImproveAdStrengthRecommendation.php deleted file mode 100644 index e7daffac2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdImproveAdStrengthRecommendation.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdImproveAdStrengthRecommendation - */ -class ResponsiveSearchAdImproveAdStrengthRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The current ad to be updated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad current_ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $current_ad = null; - /** - * Output only. The updated ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad recommended_ad = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_ad = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $current_ad - * Output only. The current ad to be updated. - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $recommended_ad - * Output only. The updated ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The current ad to be updated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad current_ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getCurrentAd() - { - return $this->current_ad; - } - - public function hasCurrentAd() - { - return isset($this->current_ad); - } - - public function clearCurrentAd() - { - unset($this->current_ad); - } - - /** - * Output only. The current ad to be updated. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad current_ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setCurrentAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->current_ad = $var; - - return $this; - } - - /** - * Output only. The updated ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad recommended_ad = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getRecommendedAd() - { - return $this->recommended_ad; - } - - public function hasRecommendedAd() - { - return isset($this->recommended_ad); - } - - public function clearRecommendedAd() - { - unset($this->recommended_ad); - } - - /** - * Output only. The updated ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad recommended_ad = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setRecommendedAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->recommended_ad = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResponsiveSearchAdImproveAdStrengthRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ResponsiveSearchAdImproveAdStrengthRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdRecommendation.php deleted file mode 100644 index fe9722df5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ResponsiveSearchAdRecommendation.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ResponsiveSearchAdRecommendation - */ -class ResponsiveSearchAdRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Recommended ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $ad - * Output only. Recommended ad. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Recommended ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getAd() - { - return $this->ad; - } - - public function hasAd() - { - return isset($this->ad); - } - - public function clearAd() - { - unset($this->ad); - } - - /** - * Output only. Recommended ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->ad = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResponsiveSearchAdRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ResponsiveSearchAdRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/SearchPartnersOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/SearchPartnersOptInRecommendation.php deleted file mode 100644 index eefd3fc78..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/SearchPartnersOptInRecommendation.php +++ /dev/null @@ -1,36 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.SearchPartnersOptInRecommendation - */ -class SearchPartnersOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SearchPartnersOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_SearchPartnersOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingAddProductsToCampaignRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingAddProductsToCampaignRecommendation.php deleted file mode 100644 index 5dc895135..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingAddProductsToCampaignRecommendation.php +++ /dev/null @@ -1,149 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ShoppingAddProductsToCampaignRecommendation - */ -class ShoppingAddProductsToCampaignRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $merchant = null; - /** - * Output only. The feed label for the campaign. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_label = ''; - /** - * Output only. The reason why no products are attached to the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ShoppingAddProductsToCampaignRecommendationEnum.Reason reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $reason = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $merchant - * Output only. The details of the Merchant Center account. - * @type string $feed_label - * Output only. The feed label for the campaign. - * @type int $reason - * Output only. The reason why no products are attached to the campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo|null - */ - public function getMerchant() - { - return $this->merchant; - } - - public function hasMerchant() - { - return isset($this->merchant); - } - - public function clearMerchant() - { - unset($this->merchant); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $var - * @return $this - */ - public function setMerchant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo::class); - $this->merchant = $var; - - return $this; - } - - /** - * Output only. The feed label for the campaign. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFeedLabel() - { - return $this->feed_label; - } - - /** - * Output only. The feed label for the campaign. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->feed_label = $var; - - return $this; - } - - /** - * Output only. The reason why no products are attached to the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ShoppingAddProductsToCampaignRecommendationEnum.Reason reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getReason() - { - return $this->reason; - } - - /** - * Output only. The reason why no products are attached to the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ShoppingAddProductsToCampaignRecommendationEnum.Reason reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setReason($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ShoppingAddProductsToCampaignRecommendationEnum\Reason::class); - $this->reason = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ShoppingAddProductsToCampaignRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ShoppingAddProductsToCampaignRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingFixDisapprovedProductsRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingFixDisapprovedProductsRecommendation.php deleted file mode 100644 index e9d7a0b25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingFixDisapprovedProductsRecommendation.php +++ /dev/null @@ -1,187 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ShoppingFixDisapprovedProductsRecommendation - */ -class ShoppingFixDisapprovedProductsRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $merchant = null; - /** - * Output only. The feed label for the campaign. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_label = ''; - /** - * Output only. The number of products of the campaign. - * - * Generated from protobuf field int64 products_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $products_count = 0; - /** - * Output only. The numbers of products of the campaign that are - * disapproved. - * - * Generated from protobuf field int64 disapproved_products_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $disapproved_products_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $merchant - * Output only. The details of the Merchant Center account. - * @type string $feed_label - * Output only. The feed label for the campaign. - * @type int|string $products_count - * Output only. The number of products of the campaign. - * @type int|string $disapproved_products_count - * Output only. The numbers of products of the campaign that are - * disapproved. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo|null - */ - public function getMerchant() - { - return $this->merchant; - } - - public function hasMerchant() - { - return isset($this->merchant); - } - - public function clearMerchant() - { - unset($this->merchant); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $var - * @return $this - */ - public function setMerchant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo::class); - $this->merchant = $var; - - return $this; - } - - /** - * Output only. The feed label for the campaign. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFeedLabel() - { - return $this->feed_label; - } - - /** - * Output only. The feed label for the campaign. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->feed_label = $var; - - return $this; - } - - /** - * Output only. The number of products of the campaign. - * - * Generated from protobuf field int64 products_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getProductsCount() - { - return $this->products_count; - } - - /** - * Output only. The number of products of the campaign. - * - * Generated from protobuf field int64 products_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setProductsCount($var) - { - GPBUtil::checkInt64($var); - $this->products_count = $var; - - return $this; - } - - /** - * Output only. The numbers of products of the campaign that are - * disapproved. - * - * Generated from protobuf field int64 disapproved_products_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getDisapprovedProductsCount() - { - return $this->disapproved_products_count; - } - - /** - * Output only. The numbers of products of the campaign that are - * disapproved. - * - * Generated from protobuf field int64 disapproved_products_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setDisapprovedProductsCount($var) - { - GPBUtil::checkInt64($var); - $this->disapproved_products_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ShoppingFixDisapprovedProductsRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ShoppingFixDisapprovedProductsRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingMerchantCenterAccountSuspensionRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingMerchantCenterAccountSuspensionRecommendation.php deleted file mode 100644 index b7122383d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingMerchantCenterAccountSuspensionRecommendation.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ShoppingMerchantCenterAccountSuspensionRecommendation - */ -class ShoppingMerchantCenterAccountSuspensionRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $merchant = null; - /** - * Output only. The feed label of the campaign for which the suspension - * happened. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_label = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $merchant - * Output only. The details of the Merchant Center account. - * @type string $feed_label - * Output only. The feed label of the campaign for which the suspension - * happened. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo|null - */ - public function getMerchant() - { - return $this->merchant; - } - - public function hasMerchant() - { - return isset($this->merchant); - } - - public function clearMerchant() - { - unset($this->merchant); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $var - * @return $this - */ - public function setMerchant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo::class); - $this->merchant = $var; - - return $this; - } - - /** - * Output only. The feed label of the campaign for which the suspension - * happened. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFeedLabel() - { - return $this->feed_label; - } - - /** - * Output only. The feed label of the campaign for which the suspension - * happened. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->feed_label = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ShoppingMerchantCenterAccountSuspensionRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ShoppingMerchantCenterAccountSuspensionRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.php deleted file mode 100644 index 83dd4be03..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation - */ -class ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $merchant = null; - /** - * Output only. The feed label of the offers targeted by the campaigns - * sharing this suggestion. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_label = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $merchant - * Output only. The details of the Merchant Center account. - * @type string $feed_label - * Output only. The feed label of the offers targeted by the campaigns - * sharing this suggestion. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo|null - */ - public function getMerchant() - { - return $this->merchant; - } - - public function hasMerchant() - { - return isset($this->merchant); - } - - public function clearMerchant() - { - unset($this->merchant); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $var - * @return $this - */ - public function setMerchant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo::class); - $this->merchant = $var; - - return $this; - } - - /** - * Output only. The feed label of the offers targeted by the campaigns - * sharing this suggestion. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFeedLabel() - { - return $this->feed_label; - } - - /** - * Output only. The feed label of the offers targeted by the campaigns - * sharing this suggestion. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->feed_label = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ShoppingMigrateRegularShoppingCampaignOffersToPerformanceMaxRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingOfferAttributeRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingOfferAttributeRecommendation.php deleted file mode 100644 index 7078f2cc2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingOfferAttributeRecommendation.php +++ /dev/null @@ -1,187 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ShoppingOfferAttributeRecommendation - */ -class ShoppingOfferAttributeRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $merchant = null; - /** - * Output only. The campaign feed label. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_label = ''; - /** - * Output only. The number of online, servable offers. - * - * Generated from protobuf field int64 offers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $offers_count = 0; - /** - * Output only. The number of online, servable offers that are demoted for - * missing attributes. Visit the Merchant Center for more details. - * - * Generated from protobuf field int64 demoted_offers_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $demoted_offers_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $merchant - * Output only. The details of the Merchant Center account. - * @type string $feed_label - * Output only. The campaign feed label. - * @type int|string $offers_count - * Output only. The number of online, servable offers. - * @type int|string $demoted_offers_count - * Output only. The number of online, servable offers that are demoted for - * missing attributes. Visit the Merchant Center for more details. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo|null - */ - public function getMerchant() - { - return $this->merchant; - } - - public function hasMerchant() - { - return isset($this->merchant); - } - - public function clearMerchant() - { - unset($this->merchant); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $var - * @return $this - */ - public function setMerchant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo::class); - $this->merchant = $var; - - return $this; - } - - /** - * Output only. The campaign feed label. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFeedLabel() - { - return $this->feed_label; - } - - /** - * Output only. The campaign feed label. - * - * Generated from protobuf field string feed_label = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->feed_label = $var; - - return $this; - } - - /** - * Output only. The number of online, servable offers. - * - * Generated from protobuf field int64 offers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getOffersCount() - { - return $this->offers_count; - } - - /** - * Output only. The number of online, servable offers. - * - * Generated from protobuf field int64 offers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setOffersCount($var) - { - GPBUtil::checkInt64($var); - $this->offers_count = $var; - - return $this; - } - - /** - * Output only. The number of online, servable offers that are demoted for - * missing attributes. Visit the Merchant Center for more details. - * - * Generated from protobuf field int64 demoted_offers_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getDemotedOffersCount() - { - return $this->demoted_offers_count; - } - - /** - * Output only. The number of online, servable offers that are demoted for - * missing attributes. Visit the Merchant Center for more details. - * - * Generated from protobuf field int64 demoted_offers_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setDemotedOffersCount($var) - { - GPBUtil::checkInt64($var); - $this->demoted_offers_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ShoppingOfferAttributeRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ShoppingOfferAttributeRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingTargetAllOffersRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingTargetAllOffersRecommendation.php deleted file mode 100644 index a96c54657..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/ShoppingTargetAllOffersRecommendation.php +++ /dev/null @@ -1,149 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.ShoppingTargetAllOffersRecommendation - */ -class ShoppingTargetAllOffersRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $merchant = null; - /** - * Output only. The number of untargeted offers. - * - * Generated from protobuf field int64 untargeted_offers_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $untargeted_offers_count = 0; - /** - * Output only. The offer feed label. - * - * Generated from protobuf field string feed_label = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feed_label = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $merchant - * Output only. The details of the Merchant Center account. - * @type int|string $untargeted_offers_count - * Output only. The number of untargeted offers. - * @type string $feed_label - * Output only. The offer feed label. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo|null - */ - public function getMerchant() - { - return $this->merchant; - } - - public function hasMerchant() - { - return isset($this->merchant); - } - - public function clearMerchant() - { - unset($this->merchant); - } - - /** - * Output only. The details of the Merchant Center account. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.MerchantInfo merchant = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo $var - * @return $this - */ - public function setMerchant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\MerchantInfo::class); - $this->merchant = $var; - - return $this; - } - - /** - * Output only. The number of untargeted offers. - * - * Generated from protobuf field int64 untargeted_offers_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getUntargetedOffersCount() - { - return $this->untargeted_offers_count; - } - - /** - * Output only. The number of untargeted offers. - * - * Generated from protobuf field int64 untargeted_offers_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setUntargetedOffersCount($var) - { - GPBUtil::checkInt64($var); - $this->untargeted_offers_count = $var; - - return $this; - } - - /** - * Output only. The offer feed label. - * - * Generated from protobuf field string feed_label = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFeedLabel() - { - return $this->feed_label; - } - - /** - * Output only. The offer feed label. - * - * Generated from protobuf field string feed_label = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFeedLabel($var) - { - GPBUtil::checkString($var, True); - $this->feed_label = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ShoppingTargetAllOffersRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_ShoppingTargetAllOffersRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/SitelinkAssetRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/SitelinkAssetRecommendation.php deleted file mode 100644 index 74e475204..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/SitelinkAssetRecommendation.php +++ /dev/null @@ -1,104 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.SitelinkAssetRecommendation - */ -class SitelinkAssetRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. New sitelink assets recommended at the campaign level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_campaign_sitelink_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $recommended_campaign_sitelink_assets; - /** - * Output only. New sitelink assets recommended at the customer level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_customer_sitelink_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $recommended_customer_sitelink_assets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $recommended_campaign_sitelink_assets - * Output only. New sitelink assets recommended at the campaign level. - * @type array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $recommended_customer_sitelink_assets - * Output only. New sitelink assets recommended at the customer level. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. New sitelink assets recommended at the campaign level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_campaign_sitelink_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRecommendedCampaignSitelinkAssets() - { - return $this->recommended_campaign_sitelink_assets; - } - - /** - * Output only. New sitelink assets recommended at the campaign level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_campaign_sitelink_assets = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRecommendedCampaignSitelinkAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->recommended_campaign_sitelink_assets = $arr; - - return $this; - } - - /** - * Output only. New sitelink assets recommended at the customer level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_customer_sitelink_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRecommendedCustomerSitelinkAssets() - { - return $this->recommended_customer_sitelink_assets; - } - - /** - * Output only. New sitelink assets recommended at the customer level. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset recommended_customer_sitelink_assets = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRecommendedCustomerSitelinkAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->recommended_customer_sitelink_assets = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SitelinkAssetRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_SitelinkAssetRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetAdjustmentInfo.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetAdjustmentInfo.php deleted file mode 100644 index 6058fd658..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetAdjustmentInfo.php +++ /dev/null @@ -1,164 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.TargetAdjustmentInfo - */ -class TargetAdjustmentInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The shared set resource name of the portfolio bidding - * strategy where the target is defined. Only populated if the - * recommendation is portfolio level. - * - * Generated from protobuf field optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $shared_set = null; - /** - * Output only. The factor by which we recommend the target to be adjusted - * by. - * - * Generated from protobuf field double recommended_target_multiplier = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_target_multiplier = 0.0; - /** - * Output only. The current average target of the campaign or portfolio - * targeted by this recommendation. - * - * Generated from protobuf field int64 current_average_target_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $current_average_target_micros = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $shared_set - * Output only. The shared set resource name of the portfolio bidding - * strategy where the target is defined. Only populated if the - * recommendation is portfolio level. - * @type float $recommended_target_multiplier - * Output only. The factor by which we recommend the target to be adjusted - * by. - * @type int|string $current_average_target_micros - * Output only. The current average target of the campaign or portfolio - * targeted by this recommendation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The shared set resource name of the portfolio bidding - * strategy where the target is defined. Only populated if the - * recommendation is portfolio level. - * - * Generated from protobuf field optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSharedSet() - { - return isset($this->shared_set) ? $this->shared_set : ''; - } - - public function hasSharedSet() - { - return isset($this->shared_set); - } - - public function clearSharedSet() - { - unset($this->shared_set); - } - - /** - * Output only. The shared set resource name of the portfolio bidding - * strategy where the target is defined. Only populated if the - * recommendation is portfolio level. - * - * Generated from protobuf field optional string shared_set = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSharedSet($var) - { - GPBUtil::checkString($var, True); - $this->shared_set = $var; - - return $this; - } - - /** - * Output only. The factor by which we recommend the target to be adjusted - * by. - * - * Generated from protobuf field double recommended_target_multiplier = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getRecommendedTargetMultiplier() - { - return $this->recommended_target_multiplier; - } - - /** - * Output only. The factor by which we recommend the target to be adjusted - * by. - * - * Generated from protobuf field double recommended_target_multiplier = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setRecommendedTargetMultiplier($var) - { - GPBUtil::checkDouble($var); - $this->recommended_target_multiplier = $var; - - return $this; - } - - /** - * Output only. The current average target of the campaign or portfolio - * targeted by this recommendation. - * - * Generated from protobuf field int64 current_average_target_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCurrentAverageTargetMicros() - { - return $this->current_average_target_micros; - } - - /** - * Output only. The current average target of the campaign or portfolio - * targeted by this recommendation. - * - * Generated from protobuf field int64 current_average_target_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCurrentAverageTargetMicros($var) - { - GPBUtil::checkInt64($var); - $this->current_average_target_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetAdjustmentInfo::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_TargetAdjustmentInfo::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetCpaOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetCpaOptInRecommendation.php deleted file mode 100644 index a5d493101..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetCpaOptInRecommendation.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.TargetCpaOptInRecommendation - */ -class TargetCpaOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The available goals and corresponding options for Target CPA - * strategy. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption options = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $options; - /** - * Output only. The recommended average CPA target. See required budget - * amount and impact of using this recommendation in options list. - * - * Generated from protobuf field optional int64 recommended_target_cpa_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_target_cpa_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetCpaOptInRecommendation\TargetCpaOptInRecommendationOption>|\Google\Protobuf\Internal\RepeatedField $options - * Output only. The available goals and corresponding options for Target CPA - * strategy. - * @type int|string $recommended_target_cpa_micros - * Output only. The recommended average CPA target. See required budget - * amount and impact of using this recommendation in options list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The available goals and corresponding options for Target CPA - * strategy. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption options = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOptions() - { - return $this->options; - } - - /** - * Output only. The available goals and corresponding options for Target CPA - * strategy. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption options = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetCpaOptInRecommendation\TargetCpaOptInRecommendationOption>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOptions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Recommendation\TargetCpaOptInRecommendation\TargetCpaOptInRecommendationOption::class); - $this->options = $arr; - - return $this; - } - - /** - * Output only. The recommended average CPA target. See required budget - * amount and impact of using this recommendation in options list. - * - * Generated from protobuf field optional int64 recommended_target_cpa_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRecommendedTargetCpaMicros() - { - return isset($this->recommended_target_cpa_micros) ? $this->recommended_target_cpa_micros : 0; - } - - public function hasRecommendedTargetCpaMicros() - { - return isset($this->recommended_target_cpa_micros); - } - - public function clearRecommendedTargetCpaMicros() - { - unset($this->recommended_target_cpa_micros); - } - - /** - * Output only. The recommended average CPA target. See required budget - * amount and impact of using this recommendation in options list. - * - * Generated from protobuf field optional int64 recommended_target_cpa_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRecommendedTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->recommended_target_cpa_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetCpaOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_TargetCpaOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetCpaOptInRecommendation/TargetCpaOptInRecommendationOption.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetCpaOptInRecommendation/TargetCpaOptInRecommendationOption.php deleted file mode 100644 index 713e90276..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetCpaOptInRecommendation/TargetCpaOptInRecommendationOption.php +++ /dev/null @@ -1,210 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption - */ -class TargetCpaOptInRecommendationOption extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The goal achieved by this option. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal goal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $goal = 0; - /** - * Output only. Average CPA target. - * - * Generated from protobuf field optional int64 target_cpa_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $target_cpa_micros = null; - /** - * Output only. The minimum campaign budget, in local currency for the - * account, required to achieve the target CPA. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * - * Generated from protobuf field optional int64 required_campaign_budget_amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $required_campaign_budget_amount_micros = null; - /** - * Output only. The impact estimate if this option is selected. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $impact = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $goal - * Output only. The goal achieved by this option. - * @type int|string $target_cpa_micros - * Output only. Average CPA target. - * @type int|string $required_campaign_budget_amount_micros - * Output only. The minimum campaign budget, in local currency for the - * account, required to achieve the target CPA. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact $impact - * Output only. The impact estimate if this option is selected. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The goal achieved by this option. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal goal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getGoal() - { - return $this->goal; - } - - /** - * Output only. The goal achieved by this option. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal goal = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setGoal($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TargetCpaOptInRecommendationGoalEnum\TargetCpaOptInRecommendationGoal::class); - $this->goal = $var; - - return $this; - } - - /** - * Output only. Average CPA target. - * - * Generated from protobuf field optional int64 target_cpa_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTargetCpaMicros() - { - return isset($this->target_cpa_micros) ? $this->target_cpa_micros : 0; - } - - public function hasTargetCpaMicros() - { - return isset($this->target_cpa_micros); - } - - public function clearTargetCpaMicros() - { - unset($this->target_cpa_micros); - } - - /** - * Output only. Average CPA target. - * - * Generated from protobuf field optional int64 target_cpa_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpa_micros = $var; - - return $this; - } - - /** - * Output only. The minimum campaign budget, in local currency for the - * account, required to achieve the target CPA. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * - * Generated from protobuf field optional int64 required_campaign_budget_amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRequiredCampaignBudgetAmountMicros() - { - return isset($this->required_campaign_budget_amount_micros) ? $this->required_campaign_budget_amount_micros : 0; - } - - public function hasRequiredCampaignBudgetAmountMicros() - { - return isset($this->required_campaign_budget_amount_micros); - } - - public function clearRequiredCampaignBudgetAmountMicros() - { - unset($this->required_campaign_budget_amount_micros); - } - - /** - * Output only. The minimum campaign budget, in local currency for the - * account, required to achieve the target CPA. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * - * Generated from protobuf field optional int64 required_campaign_budget_amount_micros = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRequiredCampaignBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_campaign_budget_amount_micros = $var; - - return $this; - } - - /** - * Output only. The impact estimate if this option is selected. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact|null - */ - public function getImpact() - { - return $this->impact; - } - - public function hasImpact() - { - return isset($this->impact); - } - - public function clearImpact() - { - unset($this->impact); - } - - /** - * Output only. The impact estimate if this option is selected. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation.RecommendationImpact impact = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact $var - * @return $this - */ - public function setImpact($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation\RecommendationImpact::class); - $this->impact = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetCpaOptInRecommendationOption::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_TargetCpaOptInRecommendation_TargetCpaOptInRecommendationOption::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetRoasOptInRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetRoasOptInRecommendation.php deleted file mode 100644 index 293d79bb1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TargetRoasOptInRecommendation.php +++ /dev/null @@ -1,136 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.TargetRoasOptInRecommendation - */ -class TargetRoasOptInRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The recommended target ROAS (revenue per unit of spend). - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double recommended_target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $recommended_target_roas = null; - /** - * Output only. The minimum campaign budget, in local currency for the - * account, required to achieve the target ROAS. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * - * Generated from protobuf field optional int64 required_campaign_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $required_campaign_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $recommended_target_roas - * Output only. The recommended target ROAS (revenue per unit of spend). - * The value is between 0.01 and 1000.0, inclusive. - * @type int|string $required_campaign_budget_amount_micros - * Output only. The minimum campaign budget, in local currency for the - * account, required to achieve the target ROAS. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The recommended target ROAS (revenue per unit of spend). - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double recommended_target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getRecommendedTargetRoas() - { - return isset($this->recommended_target_roas) ? $this->recommended_target_roas : 0.0; - } - - public function hasRecommendedTargetRoas() - { - return isset($this->recommended_target_roas); - } - - public function clearRecommendedTargetRoas() - { - unset($this->recommended_target_roas); - } - - /** - * Output only. The recommended target ROAS (revenue per unit of spend). - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double recommended_target_roas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setRecommendedTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->recommended_target_roas = $var; - - return $this; - } - - /** - * Output only. The minimum campaign budget, in local currency for the - * account, required to achieve the target ROAS. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * - * Generated from protobuf field optional int64 required_campaign_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRequiredCampaignBudgetAmountMicros() - { - return isset($this->required_campaign_budget_amount_micros) ? $this->required_campaign_budget_amount_micros : 0; - } - - public function hasRequiredCampaignBudgetAmountMicros() - { - return isset($this->required_campaign_budget_amount_micros); - } - - public function clearRequiredCampaignBudgetAmountMicros() - { - unset($this->required_campaign_budget_amount_micros); - } - - /** - * Output only. The minimum campaign budget, in local currency for the - * account, required to achieve the target ROAS. Amount is specified in - * micros, where one million is equivalent to one currency unit. - * - * Generated from protobuf field optional int64 required_campaign_budget_amount_micros = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRequiredCampaignBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_campaign_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetRoasOptInRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_TargetRoasOptInRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TextAdRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TextAdRecommendation.php deleted file mode 100644 index 4d6455ba7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/TextAdRecommendation.php +++ /dev/null @@ -1,176 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.TextAdRecommendation - */ -class TextAdRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Recommended ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $ad = null; - /** - * Output only. Creation date of the recommended ad. - * YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field optional string creation_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $creation_date = null; - /** - * Output only. Date, if present, is the earliest when the recommendation - * will be auto applied. YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field optional string auto_apply_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $auto_apply_date = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $ad - * Output only. Recommended ad. - * @type string $creation_date - * Output only. Creation date of the recommended ad. - * YYYY-MM-DD format, for example, 2018-04-17. - * @type string $auto_apply_date - * Output only. Date, if present, is the earliest when the recommendation - * will be auto applied. YYYY-MM-DD format, for example, 2018-04-17. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Recommended ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getAd() - { - return $this->ad; - } - - public function hasAd() - { - return isset($this->ad); - } - - public function clearAd() - { - unset($this->ad); - } - - /** - * Output only. Recommended ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->ad = $var; - - return $this; - } - - /** - * Output only. Creation date of the recommended ad. - * YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field optional string creation_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreationDate() - { - return isset($this->creation_date) ? $this->creation_date : ''; - } - - public function hasCreationDate() - { - return isset($this->creation_date); - } - - public function clearCreationDate() - { - unset($this->creation_date); - } - - /** - * Output only. Creation date of the recommended ad. - * YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field optional string creation_date = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreationDate($var) - { - GPBUtil::checkString($var, True); - $this->creation_date = $var; - - return $this; - } - - /** - * Output only. Date, if present, is the earliest when the recommendation - * will be auto applied. YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field optional string auto_apply_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getAutoApplyDate() - { - return isset($this->auto_apply_date) ? $this->auto_apply_date : ''; - } - - public function hasAutoApplyDate() - { - return isset($this->auto_apply_date); - } - - public function clearAutoApplyDate() - { - unset($this->auto_apply_date); - } - - /** - * Output only. Date, if present, is the earliest when the recommendation - * will be auto applied. YYYY-MM-DD format, for example, 2018-04-17. - * - * Generated from protobuf field optional string auto_apply_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setAutoApplyDate($var) - { - GPBUtil::checkString($var, True); - $this->auto_apply_date = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TextAdRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_TextAdRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UpgradeLocalCampaignToPerformanceMaxRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UpgradeLocalCampaignToPerformanceMaxRecommendation.php deleted file mode 100644 index 84de506fa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UpgradeLocalCampaignToPerformanceMaxRecommendation.php +++ /dev/null @@ -1,36 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.UpgradeLocalCampaignToPerformanceMaxRecommendation - */ -class UpgradeLocalCampaignToPerformanceMaxRecommendation extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UpgradeLocalCampaignToPerformanceMaxRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_UpgradeLocalCampaignToPerformanceMaxRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.php deleted file mode 100644 index a37954894..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation - */ -class UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. ID of Merchant Center account. - * - * Generated from protobuf field int64 merchant_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $merchant_id = 0; - /** - * Output only. Country whose products from merchant's inventory should be - * included. - * - * Generated from protobuf field string sales_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $sales_country_code = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $merchant_id - * Output only. ID of Merchant Center account. - * @type string $sales_country_code - * Output only. Country whose products from merchant's inventory should be - * included. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. ID of Merchant Center account. - * - * Generated from protobuf field int64 merchant_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getMerchantId() - { - return $this->merchant_id; - } - - /** - * Output only. ID of Merchant Center account. - * - * Generated from protobuf field int64 merchant_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setMerchantId($var) - { - GPBUtil::checkInt64($var); - $this->merchant_id = $var; - - return $this; - } - - /** - * Output only. Country whose products from merchant's inventory should be - * included. - * - * Generated from protobuf field string sales_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSalesCountryCode() - { - return $this->sales_country_code; - } - - /** - * Output only. Country whose products from merchant's inventory should be - * included. - * - * Generated from protobuf field string sales_country_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSalesCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->sales_country_code = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UseBroadMatchKeywordRecommendation.php b/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UseBroadMatchKeywordRecommendation.php deleted file mode 100644 index a719afe3f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Recommendation/UseBroadMatchKeywordRecommendation.php +++ /dev/null @@ -1,214 +0,0 @@ -google.ads.googleads.v15.resources.Recommendation.UseBroadMatchKeywordRecommendation - */ -class UseBroadMatchKeywordRecommendation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Sample of keywords to be expanded to Broad Match. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $keyword; - /** - * Output only. Total number of keywords to be expanded to Broad Match in - * the campaign. - * - * Generated from protobuf field int64 suggested_keywords_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $suggested_keywords_count = 0; - /** - * Output only. Total number of keywords in the campaign. - * - * Generated from protobuf field int64 campaign_keywords_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_keywords_count = 0; - /** - * Output only. Whether the associated campaign uses a shared budget. - * - * Generated from protobuf field bool campaign_uses_shared_budget = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $campaign_uses_shared_budget = false; - /** - * Output only. The budget recommended to avoid becoming budget constrained - * after applying the recommendation. - * - * Generated from protobuf field int64 required_campaign_budget_amount_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $required_campaign_budget_amount_micros = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\KeywordInfo>|\Google\Protobuf\Internal\RepeatedField $keyword - * Output only. Sample of keywords to be expanded to Broad Match. - * @type int|string $suggested_keywords_count - * Output only. Total number of keywords to be expanded to Broad Match in - * the campaign. - * @type int|string $campaign_keywords_count - * Output only. Total number of keywords in the campaign. - * @type bool $campaign_uses_shared_budget - * Output only. Whether the associated campaign uses a shared budget. - * @type int|string $required_campaign_budget_amount_micros - * Output only. The budget recommended to avoid becoming budget constrained - * after applying the recommendation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Recommendation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Sample of keywords to be expanded to Broad Match. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeyword() - { - return $this->keyword; - } - - /** - * Output only. Sample of keywords to be expanded to Broad Match. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\KeywordInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeyword($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->keyword = $arr; - - return $this; - } - - /** - * Output only. Total number of keywords to be expanded to Broad Match in - * the campaign. - * - * Generated from protobuf field int64 suggested_keywords_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSuggestedKeywordsCount() - { - return $this->suggested_keywords_count; - } - - /** - * Output only. Total number of keywords to be expanded to Broad Match in - * the campaign. - * - * Generated from protobuf field int64 suggested_keywords_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSuggestedKeywordsCount($var) - { - GPBUtil::checkInt64($var); - $this->suggested_keywords_count = $var; - - return $this; - } - - /** - * Output only. Total number of keywords in the campaign. - * - * Generated from protobuf field int64 campaign_keywords_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCampaignKeywordsCount() - { - return $this->campaign_keywords_count; - } - - /** - * Output only. Total number of keywords in the campaign. - * - * Generated from protobuf field int64 campaign_keywords_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCampaignKeywordsCount($var) - { - GPBUtil::checkInt64($var); - $this->campaign_keywords_count = $var; - - return $this; - } - - /** - * Output only. Whether the associated campaign uses a shared budget. - * - * Generated from protobuf field bool campaign_uses_shared_budget = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getCampaignUsesSharedBudget() - { - return $this->campaign_uses_shared_budget; - } - - /** - * Output only. Whether the associated campaign uses a shared budget. - * - * Generated from protobuf field bool campaign_uses_shared_budget = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setCampaignUsesSharedBudget($var) - { - GPBUtil::checkBool($var); - $this->campaign_uses_shared_budget = $var; - - return $this; - } - - /** - * Output only. The budget recommended to avoid becoming budget constrained - * after applying the recommendation. - * - * Generated from protobuf field int64 required_campaign_budget_amount_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRequiredCampaignBudgetAmountMicros() - { - return $this->required_campaign_budget_amount_micros; - } - - /** - * Output only. The budget recommended to avoid becoming budget constrained - * after applying the recommendation. - * - * Generated from protobuf field int64 required_campaign_budget_amount_micros = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRequiredCampaignBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->required_campaign_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UseBroadMatchKeywordRecommendation::class, \Google\Ads\GoogleAds\V15\Resources\Recommendation_UseBroadMatchKeywordRecommendation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/RecommendationSubscription.php b/src/Google/Ads/GoogleAds/V15/Resources/RecommendationSubscription.php deleted file mode 100644 index a359f025a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/RecommendationSubscription.php +++ /dev/null @@ -1,253 +0,0 @@ -google.ads.googleads.v15.resources.RecommendationSubscription - */ -class RecommendationSubscription extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the recommendation subscription. - * `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Required. Immutable. The type of recommendation subscribed to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * Output only. Time in seconds when the subscription was first created. The - * datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" - * format. - * - * Generated from protobuf field optional string create_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_date_time = null; - /** - * Output only. Contains the time in microseconds, when the Recommendation - * Subscription was last updated. The datetime is in the customer's time zone - * and in "yyyy-MM-dd HH:mm:ss.ssssss" format. - * - * Generated from protobuf field optional string modify_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $modify_date_time = null; - /** - * Required. Status of the subscription, either enabled or paused. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.RecommendationSubscriptionStatusEnum.RecommendationSubscriptionStatus status = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $status = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the recommendation subscription. - * `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}` - * @type int $type - * Required. Immutable. The type of recommendation subscribed to. - * @type string $create_date_time - * Output only. Time in seconds when the subscription was first created. The - * datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" - * format. - * @type string $modify_date_time - * Output only. Contains the time in microseconds, when the Recommendation - * Subscription was last updated. The datetime is in the customer's time zone - * and in "yyyy-MM-dd HH:mm:ss.ssssss" format. - * @type int $status - * Required. Status of the subscription, either enabled or paused. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the recommendation subscription. - * `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the recommendation subscription. - * `customers/{customer_id}/recommendationSubscriptions/{recommendation_type}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Required. Immutable. The type of recommendation subscribed to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Required. Immutable. The type of recommendation subscribed to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.RecommendationTypeEnum.RecommendationType type = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\RecommendationTypeEnum\RecommendationType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. Time in seconds when the subscription was first created. The - * datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" - * format. - * - * Generated from protobuf field optional string create_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getCreateDateTime() - { - return isset($this->create_date_time) ? $this->create_date_time : ''; - } - - public function hasCreateDateTime() - { - return isset($this->create_date_time); - } - - public function clearCreateDateTime() - { - unset($this->create_date_time); - } - - /** - * Output only. Time in seconds when the subscription was first created. The - * datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" - * format. - * - * Generated from protobuf field optional string create_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setCreateDateTime($var) - { - GPBUtil::checkString($var, True); - $this->create_date_time = $var; - - return $this; - } - - /** - * Output only. Contains the time in microseconds, when the Recommendation - * Subscription was last updated. The datetime is in the customer's time zone - * and in "yyyy-MM-dd HH:mm:ss.ssssss" format. - * - * Generated from protobuf field optional string modify_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getModifyDateTime() - { - return isset($this->modify_date_time) ? $this->modify_date_time : ''; - } - - public function hasModifyDateTime() - { - return isset($this->modify_date_time); - } - - public function clearModifyDateTime() - { - unset($this->modify_date_time); - } - - /** - * Output only. Contains the time in microseconds, when the Recommendation - * Subscription was last updated. The datetime is in the customer's time zone - * and in "yyyy-MM-dd HH:mm:ss.ssssss" format. - * - * Generated from protobuf field optional string modify_date_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setModifyDateTime($var) - { - GPBUtil::checkString($var, True); - $this->modify_date_time = $var; - - return $this; - } - - /** - * Required. Status of the subscription, either enabled or paused. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.RecommendationSubscriptionStatusEnum.RecommendationSubscriptionStatus status = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getStatus() - { - return isset($this->status) ? $this->status : 0; - } - - public function hasStatus() - { - return isset($this->status); - } - - public function clearStatus() - { - unset($this->status); - } - - /** - * Required. Status of the subscription, either enabled or paused. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.RecommendationSubscriptionStatusEnum.RecommendationSubscriptionStatus status = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\RecommendationSubscriptionStatusEnum\RecommendationSubscriptionStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/RemarketingAction.php b/src/Google/Ads/GoogleAds/V15/Resources/RemarketingAction.php deleted file mode 100644 index 3e997aab8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/RemarketingAction.php +++ /dev/null @@ -1,207 +0,0 @@ -google.ads.googleads.v15.resources.RemarketingAction - */ -class RemarketingAction extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the remarketing action. - * Remarketing action resource names have the form: - * `customers/{customer_id}/remarketingActions/{remarketing_action_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Id of the remarketing action. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * The name of the remarketing action. - * This field is required and should not be empty when creating new - * remarketing actions. - * - * Generated from protobuf field optional string name = 6; - */ - protected $name = null; - /** - * Output only. The snippets used for tracking remarketing actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TagSnippet tag_snippets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $tag_snippets; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the remarketing action. - * Remarketing action resource names have the form: - * `customers/{customer_id}/remarketingActions/{remarketing_action_id}` - * @type int|string $id - * Output only. Id of the remarketing action. - * @type string $name - * The name of the remarketing action. - * This field is required and should not be empty when creating new - * remarketing actions. - * @type array<\Google\Ads\GoogleAds\V15\Common\TagSnippet>|\Google\Protobuf\Internal\RepeatedField $tag_snippets - * Output only. The snippets used for tracking remarketing actions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\RemarketingAction::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the remarketing action. - * Remarketing action resource names have the form: - * `customers/{customer_id}/remarketingActions/{remarketing_action_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the remarketing action. - * Remarketing action resource names have the form: - * `customers/{customer_id}/remarketingActions/{remarketing_action_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Id of the remarketing action. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. Id of the remarketing action. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * The name of the remarketing action. - * This field is required and should not be empty when creating new - * remarketing actions. - * - * Generated from protobuf field optional string name = 6; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of the remarketing action. - * This field is required and should not be empty when creating new - * remarketing actions. - * - * Generated from protobuf field optional string name = 6; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The snippets used for tracking remarketing actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TagSnippet tag_snippets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTagSnippets() - { - return $this->tag_snippets; - } - - /** - * Output only. The snippets used for tracking remarketing actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.TagSnippet tag_snippets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\TagSnippet>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTagSnippets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\TagSnippet::class); - $this->tag_snippets = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/RemarketingSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/RemarketingSetting.php deleted file mode 100644 index d25d4cd44..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/RemarketingSetting.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.resources.RemarketingSetting - */ -class RemarketingSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The Google tag. - * - * Generated from protobuf field optional string google_global_site_tag = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $google_global_site_tag = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $google_global_site_tag - * Output only. The Google tag. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Customer::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The Google tag. - * - * Generated from protobuf field optional string google_global_site_tag = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getGoogleGlobalSiteTag() - { - return isset($this->google_global_site_tag) ? $this->google_global_site_tag : ''; - } - - public function hasGoogleGlobalSiteTag() - { - return isset($this->google_global_site_tag); - } - - public function clearGoogleGlobalSiteTag() - { - unset($this->google_global_site_tag); - } - - /** - * Output only. The Google tag. - * - * Generated from protobuf field optional string google_global_site_tag = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setGoogleGlobalSiteTag($var) - { - GPBUtil::checkString($var, True); - $this->google_global_site_tag = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/SearchTermView.php b/src/Google/Ads/GoogleAds/V15/Resources/SearchTermView.php deleted file mode 100644 index ec747bd8d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/SearchTermView.php +++ /dev/null @@ -1,202 +0,0 @@ -google.ads.googleads.v15.resources.SearchTermView - */ -class SearchTermView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the search term view. - * Search term view resource names have the form: - * `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The search term. - * - * Generated from protobuf field optional string search_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $search_term = null; - /** - * Output only. The ad group the search term served in. - * - * Generated from protobuf field optional string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $ad_group = null; - /** - * Output only. Indicates whether the search term is currently one of your - * targeted or excluded keywords. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the search term view. - * Search term view resource names have the form: - * `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` - * @type string $search_term - * Output only. The search term. - * @type string $ad_group - * Output only. The ad group the search term served in. - * @type int $status - * Output only. Indicates whether the search term is currently one of your - * targeted or excluded keywords. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\SearchTermView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the search term view. - * Search term view resource names have the form: - * `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the search term view. - * Search term view resource names have the form: - * `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The search term. - * - * Generated from protobuf field optional string search_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSearchTerm() - { - return isset($this->search_term) ? $this->search_term : ''; - } - - public function hasSearchTerm() - { - return isset($this->search_term); - } - - public function clearSearchTerm() - { - unset($this->search_term); - } - - /** - * Output only. The search term. - * - * Generated from protobuf field optional string search_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSearchTerm($var) - { - GPBUtil::checkString($var, True); - $this->search_term = $var; - - return $this; - } - - /** - * Output only. The ad group the search term served in. - * - * Generated from protobuf field optional string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * Output only. The ad group the search term served in. - * - * Generated from protobuf field optional string ad_group = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * Output only. Indicates whether the search term is currently one of your - * targeted or excluded keywords. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. Indicates whether the search term is currently one of your - * targeted or excluded keywords. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SearchTermTargetingStatusEnum\SearchTermTargetingStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/SharedCriterion.php b/src/Google/Ads/GoogleAds/V15/Resources/SharedCriterion.php deleted file mode 100644 index c4401471b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/SharedCriterion.php +++ /dev/null @@ -1,441 +0,0 @@ -google.ads.googleads.v15.resources.SharedCriterion - */ -class SharedCriterion extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the shared criterion. - * Shared set resource names have the form: - * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Immutable. The shared set to which the shared criterion belongs. - * - * Generated from protobuf field optional string shared_set = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $shared_set = null; - /** - * Output only. The ID of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $criterion_id = null; - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - protected $criterion; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the shared criterion. - * Shared set resource names have the form: - * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - * @type string $shared_set - * Immutable. The shared set to which the shared criterion belongs. - * @type int|string $criterion_id - * Output only. The ID of the criterion. - * This field is ignored for mutates. - * @type int $type - * Output only. The type of the criterion. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $keyword - * Immutable. Keyword. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo $youtube_video - * Immutable. YouTube Video. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $youtube_channel - * Immutable. YouTube Channel. - * @type \Google\Ads\GoogleAds\V15\Common\PlacementInfo $placement - * Immutable. Placement. - * @type \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo $mobile_app_category - * Immutable. Mobile App Category. - * @type \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo $mobile_application - * Immutable. Mobile application. - * @type \Google\Ads\GoogleAds\V15\Common\BrandInfo $brand - * Immutable. Brand. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\SharedCriterion::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the shared criterion. - * Shared set resource names have the form: - * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the shared criterion. - * Shared set resource names have the form: - * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Immutable. The shared set to which the shared criterion belongs. - * - * Generated from protobuf field optional string shared_set = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getSharedSet() - { - return isset($this->shared_set) ? $this->shared_set : ''; - } - - public function hasSharedSet() - { - return isset($this->shared_set); - } - - public function clearSharedSet() - { - unset($this->shared_set); - } - - /** - * Immutable. The shared set to which the shared criterion belongs. - * - * Generated from protobuf field optional string shared_set = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setSharedSet($var) - { - GPBUtil::checkString($var, True); - $this->shared_set = $var; - - return $this; - } - - /** - * Output only. The ID of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCriterionId() - { - return isset($this->criterion_id) ? $this->criterion_id : 0; - } - - public function hasCriterionId() - { - return isset($this->criterion_id); - } - - public function clearCriterionId() - { - unset($this->criterion_id); - } - - /** - * Output only. The ID of the criterion. - * This field is ignored for mutates. - * - * Generated from protobuf field optional int64 criterion_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->criterion_id = $var; - - return $this; - } - - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. The type of the criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CriterionTypeEnum\CriterionType::class); - $this->type = $var; - - return $this; - } - - /** - * Immutable. Keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getKeyword() - { - return $this->readOneof(3); - } - - public function hasKeyword() - { - return $this->hasOneof(3); - } - - /** - * Immutable. Keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Immutable. YouTube Video. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeVideoInfo youtube_video = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo|null - */ - public function getYoutubeVideo() - { - return $this->readOneof(5); - } - - public function hasYoutubeVideo() - { - return $this->hasOneof(5); - } - - /** - * Immutable. YouTube Video. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeVideoInfo youtube_video = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo $var - * @return $this - */ - public function setYoutubeVideo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeVideoInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Immutable. YouTube Channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo|null - */ - public function getYoutubeChannel() - { - return $this->readOneof(6); - } - - public function hasYoutubeChannel() - { - return $this->hasOneof(6); - } - - /** - * Immutable. YouTube Channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $var - * @return $this - */ - public function setYoutubeChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Immutable. Placement. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PlacementInfo placement = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\PlacementInfo|null - */ - public function getPlacement() - { - return $this->readOneof(7); - } - - public function hasPlacement() - { - return $this->hasOneof(7); - } - - /** - * Immutable. Placement. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PlacementInfo placement = 7 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\PlacementInfo $var - * @return $this - */ - public function setPlacement($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PlacementInfo::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Immutable. Mobile App Category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppCategoryInfo mobile_app_category = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo|null - */ - public function getMobileAppCategory() - { - return $this->readOneof(8); - } - - public function hasMobileAppCategory() - { - return $this->hasOneof(8); - } - - /** - * Immutable. Mobile App Category. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileAppCategoryInfo mobile_app_category = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo $var - * @return $this - */ - public function setMobileAppCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileAppCategoryInfo::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Immutable. Mobile application. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileApplicationInfo mobile_application = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo|null - */ - public function getMobileApplication() - { - return $this->readOneof(9); - } - - public function hasMobileApplication() - { - return $this->hasOneof(9); - } - - /** - * Immutable. Mobile application. - * - * Generated from protobuf field .google.ads.googleads.v15.common.MobileApplicationInfo mobile_application = 9 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo $var - * @return $this - */ - public function setMobileApplication($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\MobileApplicationInfo::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Immutable. Brand. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BrandInfo brand = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\BrandInfo|null - */ - public function getBrand() - { - return $this->readOneof(12); - } - - public function hasBrand() - { - return $this->hasOneof(12); - } - - /** - * Immutable. Brand. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BrandInfo brand = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\BrandInfo $var - * @return $this - */ - public function setBrand($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BrandInfo::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * @return string - */ - public function getCriterion() - { - return $this->whichOneof("criterion"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/SharedSet.php b/src/Google/Ads/GoogleAds/V15/Resources/SharedSet.php deleted file mode 100644 index 02ed9e244..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/SharedSet.php +++ /dev/null @@ -1,348 +0,0 @@ -google.ads.googleads.v15.resources.SharedSet - */ -class SharedSet extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the shared set. - * Shared set resource names have the form: - * `customers/{customer_id}/sharedSets/{shared_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of this shared set. Read only. - * - * Generated from protobuf field optional int64 id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Immutable. The type of this shared set: each shared set holds only a single - * kind of resource. Required. Immutable. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SharedSetTypeEnum.SharedSetType type = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $type = 0; - /** - * The name of this shared set. Required. - * Shared Sets must have names that are unique among active shared sets of - * the same type. - * The length of this string should be between 1 and 255 UTF-8 bytes, - * inclusive. - * - * Generated from protobuf field optional string name = 9; - */ - protected $name = null; - /** - * Output only. The status of this shared set. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $status = 0; - /** - * Output only. The number of shared criteria within this shared set. Read - * only. - * - * Generated from protobuf field optional int64 member_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $member_count = null; - /** - * Output only. The number of campaigns associated with this shared set. Read - * only. - * - * Generated from protobuf field optional int64 reference_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $reference_count = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the shared set. - * Shared set resource names have the form: - * `customers/{customer_id}/sharedSets/{shared_set_id}` - * @type int|string $id - * Output only. The ID of this shared set. Read only. - * @type int $type - * Immutable. The type of this shared set: each shared set holds only a single - * kind of resource. Required. Immutable. - * @type string $name - * The name of this shared set. Required. - * Shared Sets must have names that are unique among active shared sets of - * the same type. - * The length of this string should be between 1 and 255 UTF-8 bytes, - * inclusive. - * @type int $status - * Output only. The status of this shared set. Read only. - * @type int|string $member_count - * Output only. The number of shared criteria within this shared set. Read - * only. - * @type int|string $reference_count - * Output only. The number of campaigns associated with this shared set. Read - * only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\SharedSet::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the shared set. - * Shared set resource names have the form: - * `customers/{customer_id}/sharedSets/{shared_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the shared set. - * Shared set resource names have the form: - * `customers/{customer_id}/sharedSets/{shared_set_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of this shared set. Read only. - * - * Generated from protobuf field optional int64 id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of this shared set. Read only. - * - * Generated from protobuf field optional int64 id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Immutable. The type of this shared set: each shared set holds only a single - * kind of resource. Required. Immutable. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SharedSetTypeEnum.SharedSetType type = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Immutable. The type of this shared set: each shared set holds only a single - * kind of resource. Required. Immutable. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SharedSetTypeEnum.SharedSetType type = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SharedSetTypeEnum\SharedSetType::class); - $this->type = $var; - - return $this; - } - - /** - * The name of this shared set. Required. - * Shared Sets must have names that are unique among active shared sets of - * the same type. - * The length of this string should be between 1 and 255 UTF-8 bytes, - * inclusive. - * - * Generated from protobuf field optional string name = 9; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The name of this shared set. Required. - * Shared Sets must have names that are unique among active shared sets of - * the same type. - * The length of this string should be between 1 and 255 UTF-8 bytes, - * inclusive. - * - * Generated from protobuf field optional string name = 9; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The status of this shared set. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * Output only. The status of this shared set. Read only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SharedSetStatusEnum\SharedSetStatus::class); - $this->status = $var; - - return $this; - } - - /** - * Output only. The number of shared criteria within this shared set. Read - * only. - * - * Generated from protobuf field optional int64 member_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getMemberCount() - { - return isset($this->member_count) ? $this->member_count : 0; - } - - public function hasMemberCount() - { - return isset($this->member_count); - } - - public function clearMemberCount() - { - unset($this->member_count); - } - - /** - * Output only. The number of shared criteria within this shared set. Read - * only. - * - * Generated from protobuf field optional int64 member_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setMemberCount($var) - { - GPBUtil::checkInt64($var); - $this->member_count = $var; - - return $this; - } - - /** - * Output only. The number of campaigns associated with this shared set. Read - * only. - * - * Generated from protobuf field optional int64 reference_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getReferenceCount() - { - return isset($this->reference_count) ? $this->reference_count : 0; - } - - public function hasReferenceCount() - { - return isset($this->reference_count); - } - - public function clearReferenceCount() - { - unset($this->reference_count); - } - - /** - * Output only. The number of campaigns associated with this shared set. Read - * only. - * - * Generated from protobuf field optional int64 reference_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setReferenceCount($var) - { - GPBUtil::checkInt64($var); - $this->reference_count = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ShoppingPerformanceView.php b/src/Google/Ads/GoogleAds/V15/Resources/ShoppingPerformanceView.php deleted file mode 100644 index ae6f84889..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ShoppingPerformanceView.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.resources.ShoppingPerformanceView - */ -class ShoppingPerformanceView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Shopping performance view. - * Shopping performance view resource names have the form: - * `customers/{customer_id}/shoppingPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the Shopping performance view. - * Shopping performance view resource names have the form: - * `customers/{customer_id}/shoppingPerformanceView` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ShoppingPerformanceView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Shopping performance view. - * Shopping performance view resource names have the form: - * `customers/{customer_id}/shoppingPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the Shopping performance view. - * Shopping performance view resource names have the form: - * `customers/{customer_id}/shoppingPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSearchTermView.php b/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSearchTermView.php deleted file mode 100644 index dd49eb677..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSearchTermView.php +++ /dev/null @@ -1,143 +0,0 @@ -google.ads.googleads.v15.resources.SmartCampaignSearchTermView - */ -class SmartCampaignSearchTermView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Smart campaign search term view. - * Smart campaign search term view resource names have the form: - * `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The search term. - * - * Generated from protobuf field string search_term = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $search_term = ''; - /** - * Output only. The Smart campaign the search term served in. - * - * Generated from protobuf field string campaign = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the Smart campaign search term view. - * Smart campaign search term view resource names have the form: - * `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` - * @type string $search_term - * Output only. The search term. - * @type string $campaign - * Output only. The Smart campaign the search term served in. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\SmartCampaignSearchTermView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Smart campaign search term view. - * Smart campaign search term view resource names have the form: - * `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the Smart campaign search term view. - * Smart campaign search term view resource names have the form: - * `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The search term. - * - * Generated from protobuf field string search_term = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getSearchTerm() - { - return $this->search_term; - } - - /** - * Output only. The search term. - * - * Generated from protobuf field string search_term = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setSearchTerm($var) - { - GPBUtil::checkString($var, True); - $this->search_term = $var; - - return $this; - } - - /** - * Output only. The Smart campaign the search term served in. - * - * Generated from protobuf field string campaign = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Output only. The Smart campaign the search term served in. - * - * Generated from protobuf field string campaign = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting.php deleted file mode 100644 index 32aeb1886..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting.php +++ /dev/null @@ -1,372 +0,0 @@ -google.ads.googleads.v15.resources.SmartCampaignSetting - */ -class SmartCampaignSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Smart campaign setting. - * Smart campaign setting resource names have the form: - * `customers/{customer_id}/smartCampaignSettings/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The campaign to which these settings apply. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $campaign = ''; - /** - * Phone number and country code. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting.PhoneNumber phone_number = 3; - */ - protected $phone_number = null; - /** - * The language code to advertise in from the set of - * [supported language codes] - * (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). - * - * Generated from protobuf field string advertising_language_code = 7; - */ - protected $advertising_language_code = ''; - protected $landing_page; - protected $business_setting; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the Smart campaign setting. - * Smart campaign setting resource names have the form: - * `customers/{customer_id}/smartCampaignSettings/{campaign_id}` - * @type string $campaign - * Output only. The campaign to which these settings apply. - * @type \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting\PhoneNumber $phone_number - * Phone number and country code. - * @type string $advertising_language_code - * The language code to advertise in from the set of - * [supported language codes] - * (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). - * @type string $final_url - * The user-provided landing page URL for this Campaign. - * @type \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting\AdOptimizedBusinessProfileSetting $ad_optimized_business_profile_setting - * Settings for configuring a business profile optimized for ads as this - * campaign's landing page. This campaign must be linked to a business - * profile to use this option. For more information on this feature, - * consult https://support.google.com/google-ads/answer/9827068. - * @type string $business_name - * The name of the business. - * @type string $business_profile_location - * The resource name of a Business Profile location. - * Business Profile location resource names can be fetched through the - * Business Profile API and adhere to the following format: - * `locations/{locationId}`. - * See the [Business Profile API] - * (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - * for additional details. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Smart campaign setting. - * Smart campaign setting resource names have the form: - * `customers/{customer_id}/smartCampaignSettings/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the Smart campaign setting. - * Smart campaign setting resource names have the form: - * `customers/{customer_id}/smartCampaignSettings/{campaign_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The campaign to which these settings apply. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * Output only. The campaign to which these settings apply. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - - /** - * Phone number and country code. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting.PhoneNumber phone_number = 3; - * @return \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting\PhoneNumber|null - */ - public function getPhoneNumber() - { - return $this->phone_number; - } - - public function hasPhoneNumber() - { - return isset($this->phone_number); - } - - public function clearPhoneNumber() - { - unset($this->phone_number); - } - - /** - * Phone number and country code. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting.PhoneNumber phone_number = 3; - * @param \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting\PhoneNumber $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting\PhoneNumber::class); - $this->phone_number = $var; - - return $this; - } - - /** - * The language code to advertise in from the set of - * [supported language codes] - * (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). - * - * Generated from protobuf field string advertising_language_code = 7; - * @return string - */ - public function getAdvertisingLanguageCode() - { - return $this->advertising_language_code; - } - - /** - * The language code to advertise in from the set of - * [supported language codes] - * (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). - * - * Generated from protobuf field string advertising_language_code = 7; - * @param string $var - * @return $this - */ - public function setAdvertisingLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->advertising_language_code = $var; - - return $this; - } - - /** - * The user-provided landing page URL for this Campaign. - * - * Generated from protobuf field string final_url = 8; - * @return string - */ - public function getFinalUrl() - { - return $this->readOneof(8); - } - - public function hasFinalUrl() - { - return $this->hasOneof(8); - } - - /** - * The user-provided landing page URL for this Campaign. - * - * Generated from protobuf field string final_url = 8; - * @param string $var - * @return $this - */ - public function setFinalUrl($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Settings for configuring a business profile optimized for ads as this - * campaign's landing page. This campaign must be linked to a business - * profile to use this option. For more information on this feature, - * consult https://support.google.com/google-ads/answer/9827068. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9; - * @return \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting\AdOptimizedBusinessProfileSetting|null - */ - public function getAdOptimizedBusinessProfileSetting() - { - return $this->readOneof(9); - } - - public function hasAdOptimizedBusinessProfileSetting() - { - return $this->hasOneof(9); - } - - /** - * Settings for configuring a business profile optimized for ads as this - * campaign's landing page. This campaign must be linked to a business - * profile to use this option. For more information on this feature, - * consult https://support.google.com/google-ads/answer/9827068. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9; - * @param \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting\AdOptimizedBusinessProfileSetting $var - * @return $this - */ - public function setAdOptimizedBusinessProfileSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting\AdOptimizedBusinessProfileSetting::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * The name of the business. - * - * Generated from protobuf field string business_name = 5; - * @return string - */ - public function getBusinessName() - { - return $this->readOneof(5); - } - - public function hasBusinessName() - { - return $this->hasOneof(5); - } - - /** - * The name of the business. - * - * Generated from protobuf field string business_name = 5; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * The resource name of a Business Profile location. - * Business Profile location resource names can be fetched through the - * Business Profile API and adhere to the following format: - * `locations/{locationId}`. - * See the [Business Profile API] - * (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - * for additional details. - * - * Generated from protobuf field string business_profile_location = 10; - * @return string - */ - public function getBusinessProfileLocation() - { - return $this->readOneof(10); - } - - public function hasBusinessProfileLocation() - { - return $this->hasOneof(10); - } - - /** - * The resource name of a Business Profile location. - * Business Profile location resource names can be fetched through the - * Business Profile API and adhere to the following format: - * `locations/{locationId}`. - * See the [Business Profile API] - * (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - * for additional details. - * - * Generated from protobuf field string business_profile_location = 10; - * @param string $var - * @return $this - */ - public function setBusinessProfileLocation($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * @return string - */ - public function getLandingPage() - { - return $this->whichOneof("landing_page"); - } - - /** - * @return string - */ - public function getBusinessSetting() - { - return $this->whichOneof("business_setting"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting/AdOptimizedBusinessProfileSetting.php b/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting/AdOptimizedBusinessProfileSetting.php deleted file mode 100644 index 745a69a0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting/AdOptimizedBusinessProfileSetting.php +++ /dev/null @@ -1,89 +0,0 @@ -google.ads.googleads.v15.resources.SmartCampaignSetting.AdOptimizedBusinessProfileSetting - */ -class AdOptimizedBusinessProfileSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Enabling a lead form on your business profile enables prospective - * customers to contact your business by filling out a simple form, - * and you'll receive their information through email. - * - * Generated from protobuf field optional bool include_lead_form = 1; - */ - protected $include_lead_form = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $include_lead_form - * Enabling a lead form on your business profile enables prospective - * customers to contact your business by filling out a simple form, - * and you'll receive their information through email. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting::initOnce(); - parent::__construct($data); - } - - /** - * Enabling a lead form on your business profile enables prospective - * customers to contact your business by filling out a simple form, - * and you'll receive their information through email. - * - * Generated from protobuf field optional bool include_lead_form = 1; - * @return bool - */ - public function getIncludeLeadForm() - { - return isset($this->include_lead_form) ? $this->include_lead_form : false; - } - - public function hasIncludeLeadForm() - { - return isset($this->include_lead_form); - } - - public function clearIncludeLeadForm() - { - unset($this->include_lead_form); - } - - /** - * Enabling a lead form on your business profile enables prospective - * customers to contact your business by filling out a simple form, - * and you'll receive their information through email. - * - * Generated from protobuf field optional bool include_lead_form = 1; - * @param bool $var - * @return $this - */ - public function setIncludeLeadForm($var) - { - GPBUtil::checkBool($var); - $this->include_lead_form = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdOptimizedBusinessProfileSetting::class, \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting_AdOptimizedBusinessProfileSetting::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting/PhoneNumber.php b/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting/PhoneNumber.php deleted file mode 100644 index da3a57273..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/SmartCampaignSetting/PhoneNumber.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.resources.SmartCampaignSetting.PhoneNumber - */ -class PhoneNumber extends \Google\Protobuf\Internal\Message -{ - /** - * Phone number of the smart campaign. - * - * Generated from protobuf field optional string phone_number = 1; - */ - protected $phone_number = null; - /** - * Upper-case, two-letter country code as defined by ISO-3166. - * - * Generated from protobuf field optional string country_code = 2; - */ - protected $country_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $phone_number - * Phone number of the smart campaign. - * @type string $country_code - * Upper-case, two-letter country code as defined by ISO-3166. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting::initOnce(); - parent::__construct($data); - } - - /** - * Phone number of the smart campaign. - * - * Generated from protobuf field optional string phone_number = 1; - * @return string - */ - public function getPhoneNumber() - { - return isset($this->phone_number) ? $this->phone_number : ''; - } - - public function hasPhoneNumber() - { - return isset($this->phone_number); - } - - public function clearPhoneNumber() - { - unset($this->phone_number); - } - - /** - * Phone number of the smart campaign. - * - * Generated from protobuf field optional string phone_number = 1; - * @param string $var - * @return $this - */ - public function setPhoneNumber($var) - { - GPBUtil::checkString($var, True); - $this->phone_number = $var; - - return $this; - } - - /** - * Upper-case, two-letter country code as defined by ISO-3166. - * - * Generated from protobuf field optional string country_code = 2; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Upper-case, two-letter country code as defined by ISO-3166. - * - * Generated from protobuf field optional string country_code = 2; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PhoneNumber::class, \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting_PhoneNumber::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLink.php b/src/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLink.php deleted file mode 100644 index 146e741fe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLink.php +++ /dev/null @@ -1,128 +0,0 @@ -google.ads.googleads.v15.resources.ThirdPartyAppAnalyticsLink - */ -class ThirdPartyAppAnalyticsLink extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the third party app analytics link. - * Third party app analytics link resource names have the form: - * `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The shareable link ID that should be provided to the third - * party when setting up app analytics. This is able to be regenerated using - * regenerate method in the ThirdPartyAppAnalyticsLinkService. - * - * Generated from protobuf field optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $shareable_link_id = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the third party app analytics link. - * Third party app analytics link resource names have the form: - * `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` - * @type string $shareable_link_id - * Output only. The shareable link ID that should be provided to the third - * party when setting up app analytics. This is able to be regenerated using - * regenerate method in the ThirdPartyAppAnalyticsLinkService. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the third party app analytics link. - * Third party app analytics link resource names have the form: - * `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the third party app analytics link. - * Third party app analytics link resource names have the form: - * `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The shareable link ID that should be provided to the third - * party when setting up app analytics. This is able to be regenerated using - * regenerate method in the ThirdPartyAppAnalyticsLinkService. - * - * Generated from protobuf field optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getShareableLinkId() - { - return isset($this->shareable_link_id) ? $this->shareable_link_id : ''; - } - - public function hasShareableLinkId() - { - return isset($this->shareable_link_id); - } - - public function clearShareableLinkId() - { - unset($this->shareable_link_id); - } - - /** - * Output only. The shareable link ID that should be provided to the third - * party when setting up app analytics. This is able to be regenerated using - * regenerate method in the ThirdPartyAppAnalyticsLinkService. - * - * Generated from protobuf field optional string shareable_link_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setShareableLinkId($var) - { - GPBUtil::checkString($var, True); - $this->shareable_link_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLinkIdentifier.php b/src/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLinkIdentifier.php deleted file mode 100644 index f1b63f6cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/ThirdPartyAppAnalyticsLinkIdentifier.php +++ /dev/null @@ -1,219 +0,0 @@ -google.ads.googleads.v15.resources.ThirdPartyAppAnalyticsLinkIdentifier - */ -class ThirdPartyAppAnalyticsLinkIdentifier extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The ID of the app analytics provider. - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $app_analytics_provider_id = null; - /** - * Immutable. A string that uniquely identifies a mobile application from - * which the data was collected to the Google Ads API. For iOS, the ID string - * is the 9 digit string that appears at the end of an App Store URL (for - * example, "422689480" for "Gmail" whose App Store link is - * https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For - * Android, the ID string is the application's package name (for example, - * "com.google.android.gm" for "Gmail" given Google Play link - * https://play.google.com/store/apps/details?id=com.google.android.gm) - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $app_id = null; - /** - * Immutable. The vendor of the app. - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $app_vendor = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $app_analytics_provider_id - * Immutable. The ID of the app analytics provider. - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * @type string $app_id - * Immutable. A string that uniquely identifies a mobile application from - * which the data was collected to the Google Ads API. For iOS, the ID string - * is the 9 digit string that appears at the end of an App Store URL (for - * example, "422689480" for "Gmail" whose App Store link is - * https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For - * Android, the ID string is the application's package name (for example, - * "com.google.android.gm" for "Gmail" given Google Play link - * https://play.google.com/store/apps/details?id=com.google.android.gm) - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * @type int $app_vendor - * Immutable. The vendor of the app. - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\AccountLink::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The ID of the app analytics provider. - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int|string - */ - public function getAppAnalyticsProviderId() - { - return isset($this->app_analytics_provider_id) ? $this->app_analytics_provider_id : 0; - } - - public function hasAppAnalyticsProviderId() - { - return isset($this->app_analytics_provider_id); - } - - public function clearAppAnalyticsProviderId() - { - unset($this->app_analytics_provider_id); - } - - /** - * Immutable. The ID of the app analytics provider. - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional int64 app_analytics_provider_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int|string $var - * @return $this - */ - public function setAppAnalyticsProviderId($var) - { - GPBUtil::checkInt64($var); - $this->app_analytics_provider_id = $var; - - return $this; - } - - /** - * Immutable. A string that uniquely identifies a mobile application from - * which the data was collected to the Google Ads API. For iOS, the ID string - * is the 9 digit string that appears at the end of an App Store URL (for - * example, "422689480" for "Gmail" whose App Store link is - * https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For - * Android, the ID string is the application's package name (for example, - * "com.google.android.gm" for "Gmail" given Google Play link - * https://play.google.com/store/apps/details?id=com.google.android.gm) - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getAppId() - { - return isset($this->app_id) ? $this->app_id : ''; - } - - public function hasAppId() - { - return isset($this->app_id); - } - - public function clearAppId() - { - unset($this->app_id); - } - - /** - * Immutable. A string that uniquely identifies a mobile application from - * which the data was collected to the Google Ads API. For iOS, the ID string - * is the 9 digit string that appears at the end of an App Store URL (for - * example, "422689480" for "Gmail" whose App Store link is - * https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For - * Android, the ID string is the application's package name (for example, - * "com.google.android.gm" for "Gmail" given Google Play link - * https://play.google.com/store/apps/details?id=com.google.android.gm) - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field optional string app_id = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - - /** - * Immutable. The vendor of the app. - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getAppVendor() - { - return $this->app_vendor; - } - - /** - * Immutable. The vendor of the app. - * This field should not be empty when creating a new third - * party app analytics link. It is unable to be modified after the creation of - * the link. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setAppVendor($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MobileAppVendorEnum\MobileAppVendor::class); - $this->app_vendor = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/TopicConstant.php b/src/Google/Ads/GoogleAds/V15/Resources/TopicConstant.php deleted file mode 100644 index fbf957c81..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/TopicConstant.php +++ /dev/null @@ -1,215 +0,0 @@ -google.ads.googleads.v15.resources.TopicConstant - */ -class TopicConstant extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the topic constant. - * topic constant resource names have the form: - * `topicConstants/{topic_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the topic. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. Resource name of parent of the topic constant. - * - * Generated from protobuf field optional string topic_constant_parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $topic_constant_parent = null; - /** - * Output only. The category to target or exclude. Each subsequent element in - * the array describes a more specific sub-category. For example, - * {"Pets & Animals", "Pets", "Dogs"} represents the - * "Pets & Animals/Pets/Dogs" category. List of available topic categories at - * https://developers.google.com/google-ads/api/reference/data/verticals - * - * Generated from protobuf field repeated string path = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $path; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the topic constant. - * topic constant resource names have the form: - * `topicConstants/{topic_id}` - * @type int|string $id - * Output only. The ID of the topic. - * @type string $topic_constant_parent - * Output only. Resource name of parent of the topic constant. - * @type array|\Google\Protobuf\Internal\RepeatedField $path - * Output only. The category to target or exclude. Each subsequent element in - * the array describes a more specific sub-category. For example, - * {"Pets & Animals", "Pets", "Dogs"} represents the - * "Pets & Animals/Pets/Dogs" category. List of available topic categories at - * https://developers.google.com/google-ads/api/reference/data/verticals - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\TopicConstant::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the topic constant. - * topic constant resource names have the form: - * `topicConstants/{topic_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the topic constant. - * topic constant resource names have the form: - * `topicConstants/{topic_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the topic. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the topic. - * - * Generated from protobuf field optional int64 id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. Resource name of parent of the topic constant. - * - * Generated from protobuf field optional string topic_constant_parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getTopicConstantParent() - { - return isset($this->topic_constant_parent) ? $this->topic_constant_parent : ''; - } - - public function hasTopicConstantParent() - { - return isset($this->topic_constant_parent); - } - - public function clearTopicConstantParent() - { - unset($this->topic_constant_parent); - } - - /** - * Output only. Resource name of parent of the topic constant. - * - * Generated from protobuf field optional string topic_constant_parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTopicConstantParent($var) - { - GPBUtil::checkString($var, True); - $this->topic_constant_parent = $var; - - return $this; - } - - /** - * Output only. The category to target or exclude. Each subsequent element in - * the array describes a more specific sub-category. For example, - * {"Pets & Animals", "Pets", "Dogs"} represents the - * "Pets & Animals/Pets/Dogs" category. List of available topic categories at - * https://developers.google.com/google-ads/api/reference/data/verticals - * - * Generated from protobuf field repeated string path = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPath() - { - return $this->path; - } - - /** - * Output only. The category to target or exclude. Each subsequent element in - * the array describes a more specific sub-category. For example, - * {"Pets & Animals", "Pets", "Dogs"} represents the - * "Pets & Animals/Pets/Dogs" category. List of available topic categories at - * https://developers.google.com/google-ads/api/reference/data/verticals - * - * Generated from protobuf field repeated string path = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPath($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->path = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/TopicView.php b/src/Google/Ads/GoogleAds/V15/Resources/TopicView.php deleted file mode 100644 index 81ae23f48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/TopicView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.TopicView - */ -class TopicView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the topic view. - * Topic view resource names have the form: - * `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the topic view. - * Topic view resource names have the form: - * `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\TopicView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the topic view. - * Topic view resource names have the form: - * `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the topic view. - * Topic view resource names have the form: - * `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/TravelActivityGroupView.php b/src/Google/Ads/GoogleAds/V15/Resources/TravelActivityGroupView.php deleted file mode 100644 index 7e18ff614..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/TravelActivityGroupView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.TravelActivityGroupView - */ -class TravelActivityGroupView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the travel activity group view. - * Travel Activity Group view resource names have the form: - * `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the travel activity group view. - * Travel Activity Group view resource names have the form: - * `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\TravelActivityGroupView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the travel activity group view. - * Travel Activity Group view resource names have the form: - * `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the travel activity group view. - * Travel Activity Group view resource names have the form: - * `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/TravelActivityPerformanceView.php b/src/Google/Ads/GoogleAds/V15/Resources/TravelActivityPerformanceView.php deleted file mode 100644 index 1bdb10b70..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/TravelActivityPerformanceView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.TravelActivityPerformanceView - */ -class TravelActivityPerformanceView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the travel activity performance view. - * Travel Activity performance view resource names have the form: - * `customers/{customer_id}/travelActivityPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the travel activity performance view. - * Travel Activity performance view resource names have the form: - * `customers/{customer_id}/travelActivityPerformanceView` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\TravelActivityPerformanceView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the travel activity performance view. - * Travel Activity performance view resource names have the form: - * `customers/{customer_id}/travelActivityPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the travel activity performance view. - * Travel Activity performance view resource names have the form: - * `customers/{customer_id}/travelActivityPerformanceView` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/UserInterest.php b/src/Google/Ads/GoogleAds/V15/Resources/UserInterest.php deleted file mode 100644 index 4626c41cf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/UserInterest.php +++ /dev/null @@ -1,323 +0,0 @@ -google.ads.googleads.v15.resources.UserInterest - */ -class UserInterest extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the user interest. - * User interest resource names have the form: - * `customers/{customer_id}/userInterests/{user_interest_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Taxonomy type of the user interest. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType taxonomy_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $taxonomy_type = 0; - /** - * Output only. The ID of the user interest. - * - * Generated from protobuf field optional int64 user_interest_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $user_interest_id = null; - /** - * Output only. The name of the user interest. - * - * Generated from protobuf field optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = null; - /** - * Output only. The parent of the user interest. - * - * Generated from protobuf field optional string user_interest_parent = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $user_interest_parent = null; - /** - * Output only. True if the user interest is launched to all channels and - * locales. - * - * Generated from protobuf field optional bool launched_to_all = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $launched_to_all = null; - /** - * Output only. Availability information of the user interest. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $availabilities; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the user interest. - * User interest resource names have the form: - * `customers/{customer_id}/userInterests/{user_interest_id}` - * @type int $taxonomy_type - * Output only. Taxonomy type of the user interest. - * @type int|string $user_interest_id - * Output only. The ID of the user interest. - * @type string $name - * Output only. The name of the user interest. - * @type string $user_interest_parent - * Output only. The parent of the user interest. - * @type bool $launched_to_all - * Output only. True if the user interest is launched to all channels and - * locales. - * @type array<\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability>|\Google\Protobuf\Internal\RepeatedField $availabilities - * Output only. Availability information of the user interest. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\UserInterest::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the user interest. - * User interest resource names have the form: - * `customers/{customer_id}/userInterests/{user_interest_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the user interest. - * User interest resource names have the form: - * `customers/{customer_id}/userInterests/{user_interest_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Taxonomy type of the user interest. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType taxonomy_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getTaxonomyType() - { - return $this->taxonomy_type; - } - - /** - * Output only. Taxonomy type of the user interest. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType taxonomy_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setTaxonomyType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserInterestTaxonomyTypeEnum\UserInterestTaxonomyType::class); - $this->taxonomy_type = $var; - - return $this; - } - - /** - * Output only. The ID of the user interest. - * - * Generated from protobuf field optional int64 user_interest_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getUserInterestId() - { - return isset($this->user_interest_id) ? $this->user_interest_id : 0; - } - - public function hasUserInterestId() - { - return isset($this->user_interest_id); - } - - public function clearUserInterestId() - { - unset($this->user_interest_id); - } - - /** - * Output only. The ID of the user interest. - * - * Generated from protobuf field optional int64 user_interest_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setUserInterestId($var) - { - GPBUtil::checkInt64($var); - $this->user_interest_id = $var; - - return $this; - } - - /** - * Output only. The name of the user interest. - * - * Generated from protobuf field optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Output only. The name of the user interest. - * - * Generated from protobuf field optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. The parent of the user interest. - * - * Generated from protobuf field optional string user_interest_parent = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getUserInterestParent() - { - return isset($this->user_interest_parent) ? $this->user_interest_parent : ''; - } - - public function hasUserInterestParent() - { - return isset($this->user_interest_parent); - } - - public function clearUserInterestParent() - { - unset($this->user_interest_parent); - } - - /** - * Output only. The parent of the user interest. - * - * Generated from protobuf field optional string user_interest_parent = 10 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setUserInterestParent($var) - { - GPBUtil::checkString($var, True); - $this->user_interest_parent = $var; - - return $this; - } - - /** - * Output only. True if the user interest is launched to all channels and - * locales. - * - * Generated from protobuf field optional bool launched_to_all = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getLaunchedToAll() - { - return isset($this->launched_to_all) ? $this->launched_to_all : false; - } - - public function hasLaunchedToAll() - { - return isset($this->launched_to_all); - } - - public function clearLaunchedToAll() - { - unset($this->launched_to_all); - } - - /** - * Output only. True if the user interest is launched to all channels and - * locales. - * - * Generated from protobuf field optional bool launched_to_all = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setLaunchedToAll($var) - { - GPBUtil::checkBool($var); - $this->launched_to_all = $var; - - return $this; - } - - /** - * Output only. Availability information of the user interest. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAvailabilities() - { - return $this->availabilities; - } - - /** - * Output only. Availability information of the user interest. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAvailabilities($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CriterionCategoryAvailability::class); - $this->availabilities = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/UserList.php b/src/Google/Ads/GoogleAds/V15/Resources/UserList.php deleted file mode 100644 index ada0144ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/UserList.php +++ /dev/null @@ -1,1143 +0,0 @@ -google.ads.googleads.v15.resources.UserList - */ -class UserList extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the user list. - * User list resource names have the form: - * `customers/{customer_id}/userLists/{user_list_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Id of the user list. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. An option that indicates if a user may edit a list. Depends on - * the list ownership and list type. For example, external remarketing user - * lists are not editable. - * This field is read-only. - * - * Generated from protobuf field optional bool read_only = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $read_only = null; - /** - * Name of this user list. Depending on its access_reason, the user list name - * may not be unique (for example, if access_reason=SHARED) - * - * Generated from protobuf field optional string name = 27; - */ - protected $name = null; - /** - * Description of this user list. - * - * Generated from protobuf field optional string description = 28; - */ - protected $description = null; - /** - * Membership status of this user list. Indicates whether a user list is open - * or active. Only open user lists can accumulate more users and can be - * targeted to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListMembershipStatusEnum.UserListMembershipStatus membership_status = 6; - */ - protected $membership_status = 0; - /** - * An ID from external system. It is used by user list sellers to correlate - * IDs on their systems. - * - * Generated from protobuf field optional string integration_code = 29; - */ - protected $integration_code = null; - /** - * Number of days a user's cookie stays on your list since its most recent - * addition to the list. This field must be between 0 and 540 inclusive. - * However, for CRM based userlists, this field can be set to 10000 which - * means no expiration. - * It'll be ignored for logical_user_list. - * - * Generated from protobuf field optional int64 membership_life_span = 30; - */ - protected $membership_life_span = null; - /** - * Output only. Estimated number of users in this user list, on the Google - * Display Network. This value is null if the number of users has not yet been - * determined. - * This field is read-only. - * - * Generated from protobuf field optional int64 size_for_display = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $size_for_display = null; - /** - * Output only. Size range in terms of number of users of the UserList, on the - * Google Display Network. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_display = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $size_range_for_display = 0; - /** - * Output only. Estimated number of users in this user list in the google.com - * domain. These are the users available for targeting in Search campaigns. - * This value is null if the number of users has not yet been determined. - * This field is read-only. - * - * Generated from protobuf field optional int64 size_for_search = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $size_for_search = null; - /** - * Output only. Size range in terms of number of users of the UserList, for - * Search ads. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_search = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $size_range_for_search = 0; - /** - * Output only. Type of this list. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListTypeEnum.UserListType type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Indicating the reason why this user list membership status is closed. It is - * only populated on lists that were automatically closed due to inactivity, - * and will be cleared once the list membership status becomes open. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListClosingReasonEnum.UserListClosingReason closing_reason = 14; - */ - protected $closing_reason = 0; - /** - * Output only. Indicates the reason this account has been granted access to - * the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessReasonEnum.AccessReason access_reason = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $access_reason = 0; - /** - * Indicates if this share is still enabled. When a UserList is shared with - * the user this field is set to ENABLED. Later the userList owner can decide - * to revoke the share and make it DISABLED. - * The default value of this field is set to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListAccessStatusEnum.UserListAccessStatus account_user_list_status = 16; - */ - protected $account_user_list_status = 0; - /** - * Indicates if this user list is eligible for Google Search Network. - * - * Generated from protobuf field optional bool eligible_for_search = 33; - */ - protected $eligible_for_search = null; - /** - * Output only. Indicates this user list is eligible for Google Display - * Network. - * This field is read-only. - * - * Generated from protobuf field optional bool eligible_for_display = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $eligible_for_display = null; - /** - * Output only. Indicates match rate for Customer Match lists. The range of - * this field is [0-100]. This will be null for other list types or when it's - * not possible to calculate the match rate. - * This field is read-only. - * - * Generated from protobuf field optional int32 match_rate_percentage = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $match_rate_percentage = null; - protected $user_list; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Immutable. The resource name of the user list. - * User list resource names have the form: - * `customers/{customer_id}/userLists/{user_list_id}` - * @type int|string $id - * Output only. Id of the user list. - * @type bool $read_only - * Output only. An option that indicates if a user may edit a list. Depends on - * the list ownership and list type. For example, external remarketing user - * lists are not editable. - * This field is read-only. - * @type string $name - * Name of this user list. Depending on its access_reason, the user list name - * may not be unique (for example, if access_reason=SHARED) - * @type string $description - * Description of this user list. - * @type int $membership_status - * Membership status of this user list. Indicates whether a user list is open - * or active. Only open user lists can accumulate more users and can be - * targeted to. - * @type string $integration_code - * An ID from external system. It is used by user list sellers to correlate - * IDs on their systems. - * @type int|string $membership_life_span - * Number of days a user's cookie stays on your list since its most recent - * addition to the list. This field must be between 0 and 540 inclusive. - * However, for CRM based userlists, this field can be set to 10000 which - * means no expiration. - * It'll be ignored for logical_user_list. - * @type int|string $size_for_display - * Output only. Estimated number of users in this user list, on the Google - * Display Network. This value is null if the number of users has not yet been - * determined. - * This field is read-only. - * @type int $size_range_for_display - * Output only. Size range in terms of number of users of the UserList, on the - * Google Display Network. - * This field is read-only. - * @type int|string $size_for_search - * Output only. Estimated number of users in this user list in the google.com - * domain. These are the users available for targeting in Search campaigns. - * This value is null if the number of users has not yet been determined. - * This field is read-only. - * @type int $size_range_for_search - * Output only. Size range in terms of number of users of the UserList, for - * Search ads. - * This field is read-only. - * @type int $type - * Output only. Type of this list. - * This field is read-only. - * @type int $closing_reason - * Indicating the reason why this user list membership status is closed. It is - * only populated on lists that were automatically closed due to inactivity, - * and will be cleared once the list membership status becomes open. - * @type int $access_reason - * Output only. Indicates the reason this account has been granted access to - * the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. - * This field is read-only. - * @type int $account_user_list_status - * Indicates if this share is still enabled. When a UserList is shared with - * the user this field is set to ENABLED. Later the userList owner can decide - * to revoke the share and make it DISABLED. - * The default value of this field is set to ENABLED. - * @type bool $eligible_for_search - * Indicates if this user list is eligible for Google Search Network. - * @type bool $eligible_for_display - * Output only. Indicates this user list is eligible for Google Display - * Network. - * This field is read-only. - * @type int $match_rate_percentage - * Output only. Indicates match rate for Customer Match lists. The range of - * this field is [0-100]. This will be null for other list types or when it's - * not possible to calculate the match rate. - * This field is read-only. - * @type \Google\Ads\GoogleAds\V15\Common\CrmBasedUserListInfo $crm_based_user_list - * User list of CRM users provided by the advertiser. - * @type \Google\Ads\GoogleAds\V15\Common\SimilarUserListInfo $similar_user_list - * Output only. User list which are similar to users from another UserList. - * These lists are readonly and automatically created by google. - * @type \Google\Ads\GoogleAds\V15\Common\RuleBasedUserListInfo $rule_based_user_list - * User list generated by a rule. - * @type \Google\Ads\GoogleAds\V15\Common\LogicalUserListInfo $logical_user_list - * User list that is a custom combination of user lists and user interests. - * @type \Google\Ads\GoogleAds\V15\Common\BasicUserListInfo $basic_user_list - * User list targeting as a collection of conversion or remarketing actions. - * @type \Google\Ads\GoogleAds\V15\Common\LookalikeUserListInfo $lookalike_user_list - * Immutable. Lookalike User List. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\UserList::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the user list. - * User list resource names have the form: - * `customers/{customer_id}/userLists/{user_list_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Immutable. The resource name of the user list. - * User list resource names have the form: - * `customers/{customer_id}/userLists/{user_list_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Id of the user list. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getId() - { - return isset($this->id) ? $this->id : 0; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. Id of the user list. - * - * Generated from protobuf field optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkInt64($var); - $this->id = $var; - - return $this; - } - - /** - * Output only. An option that indicates if a user may edit a list. Depends on - * the list ownership and list type. For example, external remarketing user - * lists are not editable. - * This field is read-only. - * - * Generated from protobuf field optional bool read_only = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getReadOnly() - { - return isset($this->read_only) ? $this->read_only : false; - } - - public function hasReadOnly() - { - return isset($this->read_only); - } - - public function clearReadOnly() - { - unset($this->read_only); - } - - /** - * Output only. An option that indicates if a user may edit a list. Depends on - * the list ownership and list type. For example, external remarketing user - * lists are not editable. - * This field is read-only. - * - * Generated from protobuf field optional bool read_only = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setReadOnly($var) - { - GPBUtil::checkBool($var); - $this->read_only = $var; - - return $this; - } - - /** - * Name of this user list. Depending on its access_reason, the user list name - * may not be unique (for example, if access_reason=SHARED) - * - * Generated from protobuf field optional string name = 27; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * Name of this user list. Depending on its access_reason, the user list name - * may not be unique (for example, if access_reason=SHARED) - * - * Generated from protobuf field optional string name = 27; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Description of this user list. - * - * Generated from protobuf field optional string description = 28; - * @return string - */ - public function getDescription() - { - return isset($this->description) ? $this->description : ''; - } - - public function hasDescription() - { - return isset($this->description); - } - - public function clearDescription() - { - unset($this->description); - } - - /** - * Description of this user list. - * - * Generated from protobuf field optional string description = 28; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Membership status of this user list. Indicates whether a user list is open - * or active. Only open user lists can accumulate more users and can be - * targeted to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListMembershipStatusEnum.UserListMembershipStatus membership_status = 6; - * @return int - */ - public function getMembershipStatus() - { - return $this->membership_status; - } - - /** - * Membership status of this user list. Indicates whether a user list is open - * or active. Only open user lists can accumulate more users and can be - * targeted to. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListMembershipStatusEnum.UserListMembershipStatus membership_status = 6; - * @param int $var - * @return $this - */ - public function setMembershipStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListMembershipStatusEnum\UserListMembershipStatus::class); - $this->membership_status = $var; - - return $this; - } - - /** - * An ID from external system. It is used by user list sellers to correlate - * IDs on their systems. - * - * Generated from protobuf field optional string integration_code = 29; - * @return string - */ - public function getIntegrationCode() - { - return isset($this->integration_code) ? $this->integration_code : ''; - } - - public function hasIntegrationCode() - { - return isset($this->integration_code); - } - - public function clearIntegrationCode() - { - unset($this->integration_code); - } - - /** - * An ID from external system. It is used by user list sellers to correlate - * IDs on their systems. - * - * Generated from protobuf field optional string integration_code = 29; - * @param string $var - * @return $this - */ - public function setIntegrationCode($var) - { - GPBUtil::checkString($var, True); - $this->integration_code = $var; - - return $this; - } - - /** - * Number of days a user's cookie stays on your list since its most recent - * addition to the list. This field must be between 0 and 540 inclusive. - * However, for CRM based userlists, this field can be set to 10000 which - * means no expiration. - * It'll be ignored for logical_user_list. - * - * Generated from protobuf field optional int64 membership_life_span = 30; - * @return int|string - */ - public function getMembershipLifeSpan() - { - return isset($this->membership_life_span) ? $this->membership_life_span : 0; - } - - public function hasMembershipLifeSpan() - { - return isset($this->membership_life_span); - } - - public function clearMembershipLifeSpan() - { - unset($this->membership_life_span); - } - - /** - * Number of days a user's cookie stays on your list since its most recent - * addition to the list. This field must be between 0 and 540 inclusive. - * However, for CRM based userlists, this field can be set to 10000 which - * means no expiration. - * It'll be ignored for logical_user_list. - * - * Generated from protobuf field optional int64 membership_life_span = 30; - * @param int|string $var - * @return $this - */ - public function setMembershipLifeSpan($var) - { - GPBUtil::checkInt64($var); - $this->membership_life_span = $var; - - return $this; - } - - /** - * Output only. Estimated number of users in this user list, on the Google - * Display Network. This value is null if the number of users has not yet been - * determined. - * This field is read-only. - * - * Generated from protobuf field optional int64 size_for_display = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSizeForDisplay() - { - return isset($this->size_for_display) ? $this->size_for_display : 0; - } - - public function hasSizeForDisplay() - { - return isset($this->size_for_display); - } - - public function clearSizeForDisplay() - { - unset($this->size_for_display); - } - - /** - * Output only. Estimated number of users in this user list, on the Google - * Display Network. This value is null if the number of users has not yet been - * determined. - * This field is read-only. - * - * Generated from protobuf field optional int64 size_for_display = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSizeForDisplay($var) - { - GPBUtil::checkInt64($var); - $this->size_for_display = $var; - - return $this; - } - - /** - * Output only. Size range in terms of number of users of the UserList, on the - * Google Display Network. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_display = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSizeRangeForDisplay() - { - return $this->size_range_for_display; - } - - /** - * Output only. Size range in terms of number of users of the UserList, on the - * Google Display Network. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_display = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSizeRangeForDisplay($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListSizeRangeEnum\UserListSizeRange::class); - $this->size_range_for_display = $var; - - return $this; - } - - /** - * Output only. Estimated number of users in this user list in the google.com - * domain. These are the users available for targeting in Search campaigns. - * This value is null if the number of users has not yet been determined. - * This field is read-only. - * - * Generated from protobuf field optional int64 size_for_search = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSizeForSearch() - { - return isset($this->size_for_search) ? $this->size_for_search : 0; - } - - public function hasSizeForSearch() - { - return isset($this->size_for_search); - } - - public function clearSizeForSearch() - { - unset($this->size_for_search); - } - - /** - * Output only. Estimated number of users in this user list in the google.com - * domain. These are the users available for targeting in Search campaigns. - * This value is null if the number of users has not yet been determined. - * This field is read-only. - * - * Generated from protobuf field optional int64 size_for_search = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSizeForSearch($var) - { - GPBUtil::checkInt64($var); - $this->size_for_search = $var; - - return $this; - } - - /** - * Output only. Size range in terms of number of users of the UserList, for - * Search ads. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_search = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getSizeRangeForSearch() - { - return $this->size_range_for_search; - } - - /** - * Output only. Size range in terms of number of users of the UserList, for - * Search ads. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_search = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setSizeRangeForSearch($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListSizeRangeEnum\UserListSizeRange::class); - $this->size_range_for_search = $var; - - return $this; - } - - /** - * Output only. Type of this list. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListTypeEnum.UserListType type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. Type of this list. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListTypeEnum.UserListType type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListTypeEnum\UserListType::class); - $this->type = $var; - - return $this; - } - - /** - * Indicating the reason why this user list membership status is closed. It is - * only populated on lists that were automatically closed due to inactivity, - * and will be cleared once the list membership status becomes open. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListClosingReasonEnum.UserListClosingReason closing_reason = 14; - * @return int - */ - public function getClosingReason() - { - return $this->closing_reason; - } - - /** - * Indicating the reason why this user list membership status is closed. It is - * only populated on lists that were automatically closed due to inactivity, - * and will be cleared once the list membership status becomes open. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListClosingReasonEnum.UserListClosingReason closing_reason = 14; - * @param int $var - * @return $this - */ - public function setClosingReason($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListClosingReasonEnum\UserListClosingReason::class); - $this->closing_reason = $var; - - return $this; - } - - /** - * Output only. Indicates the reason this account has been granted access to - * the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessReasonEnum.AccessReason access_reason = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getAccessReason() - { - return $this->access_reason; - } - - /** - * Output only. Indicates the reason this account has been granted access to - * the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. - * This field is read-only. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessReasonEnum.AccessReason access_reason = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setAccessReason($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccessReasonEnum\AccessReason::class); - $this->access_reason = $var; - - return $this; - } - - /** - * Indicates if this share is still enabled. When a UserList is shared with - * the user this field is set to ENABLED. Later the userList owner can decide - * to revoke the share and make it DISABLED. - * The default value of this field is set to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListAccessStatusEnum.UserListAccessStatus account_user_list_status = 16; - * @return int - */ - public function getAccountUserListStatus() - { - return $this->account_user_list_status; - } - - /** - * Indicates if this share is still enabled. When a UserList is shared with - * the user this field is set to ENABLED. Later the userList owner can decide - * to revoke the share and make it DISABLED. - * The default value of this field is set to ENABLED. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.UserListAccessStatusEnum.UserListAccessStatus account_user_list_status = 16; - * @param int $var - * @return $this - */ - public function setAccountUserListStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\UserListAccessStatusEnum\UserListAccessStatus::class); - $this->account_user_list_status = $var; - - return $this; - } - - /** - * Indicates if this user list is eligible for Google Search Network. - * - * Generated from protobuf field optional bool eligible_for_search = 33; - * @return bool - */ - public function getEligibleForSearch() - { - return isset($this->eligible_for_search) ? $this->eligible_for_search : false; - } - - public function hasEligibleForSearch() - { - return isset($this->eligible_for_search); - } - - public function clearEligibleForSearch() - { - unset($this->eligible_for_search); - } - - /** - * Indicates if this user list is eligible for Google Search Network. - * - * Generated from protobuf field optional bool eligible_for_search = 33; - * @param bool $var - * @return $this - */ - public function setEligibleForSearch($var) - { - GPBUtil::checkBool($var); - $this->eligible_for_search = $var; - - return $this; - } - - /** - * Output only. Indicates this user list is eligible for Google Display - * Network. - * This field is read-only. - * - * Generated from protobuf field optional bool eligible_for_display = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getEligibleForDisplay() - { - return isset($this->eligible_for_display) ? $this->eligible_for_display : false; - } - - public function hasEligibleForDisplay() - { - return isset($this->eligible_for_display); - } - - public function clearEligibleForDisplay() - { - unset($this->eligible_for_display); - } - - /** - * Output only. Indicates this user list is eligible for Google Display - * Network. - * This field is read-only. - * - * Generated from protobuf field optional bool eligible_for_display = 34 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setEligibleForDisplay($var) - { - GPBUtil::checkBool($var); - $this->eligible_for_display = $var; - - return $this; - } - - /** - * Output only. Indicates match rate for Customer Match lists. The range of - * this field is [0-100]. This will be null for other list types or when it's - * not possible to calculate the match rate. - * This field is read-only. - * - * Generated from protobuf field optional int32 match_rate_percentage = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getMatchRatePercentage() - { - return isset($this->match_rate_percentage) ? $this->match_rate_percentage : 0; - } - - public function hasMatchRatePercentage() - { - return isset($this->match_rate_percentage); - } - - public function clearMatchRatePercentage() - { - unset($this->match_rate_percentage); - } - - /** - * Output only. Indicates match rate for Customer Match lists. The range of - * this field is [0-100]. This will be null for other list types or when it's - * not possible to calculate the match rate. - * This field is read-only. - * - * Generated from protobuf field optional int32 match_rate_percentage = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setMatchRatePercentage($var) - { - GPBUtil::checkInt32($var); - $this->match_rate_percentage = $var; - - return $this; - } - - /** - * User list of CRM users provided by the advertiser. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CrmBasedUserListInfo crm_based_user_list = 19; - * @return \Google\Ads\GoogleAds\V15\Common\CrmBasedUserListInfo|null - */ - public function getCrmBasedUserList() - { - return $this->readOneof(19); - } - - public function hasCrmBasedUserList() - { - return $this->hasOneof(19); - } - - /** - * User list of CRM users provided by the advertiser. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CrmBasedUserListInfo crm_based_user_list = 19; - * @param \Google\Ads\GoogleAds\V15\Common\CrmBasedUserListInfo $var - * @return $this - */ - public function setCrmBasedUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CrmBasedUserListInfo::class); - $this->writeOneof(19, $var); - - return $this; - } - - /** - * Output only. User list which are similar to users from another UserList. - * These lists are readonly and automatically created by google. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SimilarUserListInfo similar_user_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Ads\GoogleAds\V15\Common\SimilarUserListInfo|null - */ - public function getSimilarUserList() - { - return $this->readOneof(20); - } - - public function hasSimilarUserList() - { - return $this->hasOneof(20); - } - - /** - * Output only. User list which are similar to users from another UserList. - * These lists are readonly and automatically created by google. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SimilarUserListInfo similar_user_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Ads\GoogleAds\V15\Common\SimilarUserListInfo $var - * @return $this - */ - public function setSimilarUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\SimilarUserListInfo::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * User list generated by a rule. - * - * Generated from protobuf field .google.ads.googleads.v15.common.RuleBasedUserListInfo rule_based_user_list = 21; - * @return \Google\Ads\GoogleAds\V15\Common\RuleBasedUserListInfo|null - */ - public function getRuleBasedUserList() - { - return $this->readOneof(21); - } - - public function hasRuleBasedUserList() - { - return $this->hasOneof(21); - } - - /** - * User list generated by a rule. - * - * Generated from protobuf field .google.ads.googleads.v15.common.RuleBasedUserListInfo rule_based_user_list = 21; - * @param \Google\Ads\GoogleAds\V15\Common\RuleBasedUserListInfo $var - * @return $this - */ - public function setRuleBasedUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\RuleBasedUserListInfo::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * User list that is a custom combination of user lists and user interests. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LogicalUserListInfo logical_user_list = 22; - * @return \Google\Ads\GoogleAds\V15\Common\LogicalUserListInfo|null - */ - public function getLogicalUserList() - { - return $this->readOneof(22); - } - - public function hasLogicalUserList() - { - return $this->hasOneof(22); - } - - /** - * User list that is a custom combination of user lists and user interests. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LogicalUserListInfo logical_user_list = 22; - * @param \Google\Ads\GoogleAds\V15\Common\LogicalUserListInfo $var - * @return $this - */ - public function setLogicalUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LogicalUserListInfo::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * User list targeting as a collection of conversion or remarketing actions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BasicUserListInfo basic_user_list = 23; - * @return \Google\Ads\GoogleAds\V15\Common\BasicUserListInfo|null - */ - public function getBasicUserList() - { - return $this->readOneof(23); - } - - public function hasBasicUserList() - { - return $this->hasOneof(23); - } - - /** - * User list targeting as a collection of conversion or remarketing actions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.BasicUserListInfo basic_user_list = 23; - * @param \Google\Ads\GoogleAds\V15\Common\BasicUserListInfo $var - * @return $this - */ - public function setBasicUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\BasicUserListInfo::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * Immutable. Lookalike User List. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LookalikeUserListInfo lookalike_user_list = 36 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Ads\GoogleAds\V15\Common\LookalikeUserListInfo|null - */ - public function getLookalikeUserList() - { - return $this->readOneof(36); - } - - public function hasLookalikeUserList() - { - return $this->hasOneof(36); - } - - /** - * Immutable. Lookalike User List. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LookalikeUserListInfo lookalike_user_list = 36 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Ads\GoogleAds\V15\Common\LookalikeUserListInfo $var - * @return $this - */ - public function setLookalikeUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LookalikeUserListInfo::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * @return string - */ - public function getUserList() - { - return $this->whichOneof("user_list"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/UserLocationView.php b/src/Google/Ads/GoogleAds/V15/Resources/UserLocationView.php deleted file mode 100644 index 2a0496c89..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/UserLocationView.php +++ /dev/null @@ -1,167 +0,0 @@ -google.ads.googleads.v15.resources.UserLocationView - */ -class UserLocationView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the user location view. - * UserLocation view resource names have the form: - * `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. Criterion Id for the country. - * - * Generated from protobuf field optional int64 country_criterion_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $country_criterion_id = null; - /** - * Output only. Indicates whether location was targeted or not. - * - * Generated from protobuf field optional bool targeting_location = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $targeting_location = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the user location view. - * UserLocation view resource names have the form: - * `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` - * @type int|string $country_criterion_id - * Output only. Criterion Id for the country. - * @type bool $targeting_location - * Output only. Indicates whether location was targeted or not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\UserLocationView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the user location view. - * UserLocation view resource names have the form: - * `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the user location view. - * UserLocation view resource names have the form: - * `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. Criterion Id for the country. - * - * Generated from protobuf field optional int64 country_criterion_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getCountryCriterionId() - { - return isset($this->country_criterion_id) ? $this->country_criterion_id : 0; - } - - public function hasCountryCriterionId() - { - return isset($this->country_criterion_id); - } - - public function clearCountryCriterionId() - { - unset($this->country_criterion_id); - } - - /** - * Output only. Criterion Id for the country. - * - * Generated from protobuf field optional int64 country_criterion_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setCountryCriterionId($var) - { - GPBUtil::checkInt64($var); - $this->country_criterion_id = $var; - - return $this; - } - - /** - * Output only. Indicates whether location was targeted or not. - * - * Generated from protobuf field optional bool targeting_location = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getTargetingLocation() - { - return isset($this->targeting_location) ? $this->targeting_location : false; - } - - public function hasTargetingLocation() - { - return isset($this->targeting_location); - } - - public function clearTargetingLocation() - { - unset($this->targeting_location); - } - - /** - * Output only. Indicates whether location was targeted or not. - * - * Generated from protobuf field optional bool targeting_location = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setTargetingLocation($var) - { - GPBUtil::checkBool($var); - $this->targeting_location = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/Video.php b/src/Google/Ads/GoogleAds/V15/Resources/Video.php deleted file mode 100644 index e0901f30f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/Video.php +++ /dev/null @@ -1,251 +0,0 @@ -google.ads.googleads.v15.resources.Video - */ -class Video extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the video. - * Video resource names have the form: - * `customers/{customer_id}/videos/{video_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Output only. The ID of the video. - * - * Generated from protobuf field optional string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $id = null; - /** - * Output only. The owner channel id of the video. - * - * Generated from protobuf field optional string channel_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $channel_id = null; - /** - * Output only. The duration of the video in milliseconds. - * - * Generated from protobuf field optional int64 duration_millis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $duration_millis = null; - /** - * Output only. The title of the video. - * - * Generated from protobuf field optional string title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $title = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the video. - * Video resource names have the form: - * `customers/{customer_id}/videos/{video_id}` - * @type string $id - * Output only. The ID of the video. - * @type string $channel_id - * Output only. The owner channel id of the video. - * @type int|string $duration_millis - * Output only. The duration of the video in milliseconds. - * @type string $title - * Output only. The title of the video. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\Video::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the video. - * Video resource names have the form: - * `customers/{customer_id}/videos/{video_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the video. - * Video resource names have the form: - * `customers/{customer_id}/videos/{video_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Output only. The ID of the video. - * - * Generated from protobuf field optional string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getId() - { - return isset($this->id) ? $this->id : ''; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * Output only. The ID of the video. - * - * Generated from protobuf field optional string id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Output only. The owner channel id of the video. - * - * Generated from protobuf field optional string channel_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getChannelId() - { - return isset($this->channel_id) ? $this->channel_id : ''; - } - - public function hasChannelId() - { - return isset($this->channel_id); - } - - public function clearChannelId() - { - unset($this->channel_id); - } - - /** - * Output only. The owner channel id of the video. - * - * Generated from protobuf field optional string channel_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setChannelId($var) - { - GPBUtil::checkString($var, True); - $this->channel_id = $var; - - return $this; - } - - /** - * Output only. The duration of the video in milliseconds. - * - * Generated from protobuf field optional int64 duration_millis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getDurationMillis() - { - return isset($this->duration_millis) ? $this->duration_millis : 0; - } - - public function hasDurationMillis() - { - return isset($this->duration_millis); - } - - public function clearDurationMillis() - { - unset($this->duration_millis); - } - - /** - * Output only. The duration of the video in milliseconds. - * - * Generated from protobuf field optional int64 duration_millis = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setDurationMillis($var) - { - GPBUtil::checkInt64($var); - $this->duration_millis = $var; - - return $this; - } - - /** - * Output only. The title of the video. - * - * Generated from protobuf field optional string title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getTitle() - { - return isset($this->title) ? $this->title : ''; - } - - public function hasTitle() - { - return isset($this->title); - } - - public function clearTitle() - { - unset($this->title); - } - - /** - * Output only. The title of the video. - * - * Generated from protobuf field optional string title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setTitle($var) - { - GPBUtil::checkString($var, True); - $this->title = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Resources/WebpageView.php b/src/Google/Ads/GoogleAds/V15/Resources/WebpageView.php deleted file mode 100644 index e62e78def..000000000 --- a/src/Google/Ads/GoogleAds/V15/Resources/WebpageView.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.resources.WebpageView - */ -class WebpageView extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the webpage view. - * Webpage view resource names have the form: - * `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Output only. The resource name of the webpage view. - * Webpage view resource names have the form: - * `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\WebpageView::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the webpage view. - * Webpage view resource names have the form: - * `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Output only. The resource name of the webpage view. - * Webpage view resource names have the form: - * `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalOperation.php deleted file mode 100644 index 301a500bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalOperation.php +++ /dev/null @@ -1,187 +0,0 @@ -google.ads.googleads.v15.services.AccountBudgetProposalOperation - */ -class AccountBudgetProposalOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which budget fields are modified. While budgets - * may be modified, proposals that propose such modifications are final. - * Therefore, update operations are not supported for proposals. - * Proposals that modify budgets have the 'update' proposal type. Specifying - * a mask for any other proposal type is considered an error. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which budget fields are modified. While budgets - * may be modified, proposals that propose such modifications are final. - * Therefore, update operations are not supported for proposals. - * Proposals that modify budgets have the 'update' proposal type. Specifying - * a mask for any other proposal type is considered an error. - * @type \Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal $create - * Create operation: A new proposal to create a new budget, edit an - * existing budget, end an actively running budget, or remove an approved - * budget scheduled to start in the future. - * No resource name is expected for the new proposal. - * @type string $remove - * Remove operation: A resource name for the removed proposal is expected, - * in this format: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * A request may be cancelled iff it is pending. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which budget fields are modified. While budgets - * may be modified, proposals that propose such modifications are final. - * Therefore, update operations are not supported for proposals. - * Proposals that modify budgets have the 'update' proposal type. Specifying - * a mask for any other proposal type is considered an error. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which budget fields are modified. While budgets - * may be modified, proposals that propose such modifications are final. - * Therefore, update operations are not supported for proposals. - * Proposals that modify budgets have the 'update' proposal type. Specifying - * a mask for any other proposal type is considered an error. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: A new proposal to create a new budget, edit an - * existing budget, end an actively running budget, or remove an approved - * budget scheduled to start in the future. - * No resource name is expected for the new proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudgetProposal create = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal|null - */ - public function getCreate() - { - return $this->readOneof(2); - } - - public function hasCreate() - { - return $this->hasOneof(2); - } - - /** - * Create operation: A new proposal to create a new budget, edit an - * existing budget, end an actively running budget, or remove an approved - * budget scheduled to start in the future. - * No resource name is expected for the new proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudgetProposal create = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed proposal is expected, - * in this format: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * A request may be cancelled iff it is pending. - * - * Generated from protobuf field string remove = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(1); - } - - public function hasRemove() - { - return $this->hasOneof(1); - } - - /** - * Remove operation: A resource name for the removed proposal is expected, - * in this format: - * `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - * A request may be cancelled iff it is pending. - * - * Generated from protobuf field string remove = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceClient.php deleted file mode 100644 index 0cdec1c95..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AccountBudgetProposalService/MutateAccountBudgetProposal', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAccountBudgetProposalResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AccountLinkOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AccountLinkOperation.php deleted file mode 100644 index 2003f4b03..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AccountLinkOperation.php +++ /dev/null @@ -1,161 +0,0 @@ -google.ads.googleads.v15.services.AccountLinkOperation - */ -class AccountLinkOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AccountLink $update - * Update operation: The account link is expected to have - * a valid resource name. - * @type string $remove - * Remove operation: A resource name for the account link to remove is - * expected, in this format: - * `customers/{customer_id}/accountLinks/{account_link_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountLinkService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Update operation: The account link is expected to have - * a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountLink update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AccountLink|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The account link is expected to have - * a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountLink update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AccountLink $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccountLink::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the account link to remove is - * expected, in this format: - * `customers/{customer_id}/accountLinks/{account_link_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the account link to remove is - * expected, in this format: - * `customers/{customer_id}/accountLinks/{account_link_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceClient.php deleted file mode 100644 index 72ba09f79..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AccountLinkService/CreateAccountLink', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\CreateAccountLinkResponse', 'decode'], - $metadata, $options); - } - - /** - * Creates or removes an account link. - * From V5, create is not supported through - * AccountLinkService.MutateAccountLink. Use - * AccountLinkService.CreateAccountLink instead. - * - * List of thrown errors: - * [AccountLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\MutateAccountLinkRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function MutateAccountLink(\Google\Ads\GoogleAds\V15\Services\MutateAccountLinkRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.AccountLinkService/MutateAccountLink', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAccountLinkResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelOperation.php deleted file mode 100644 index 1770e33ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.AdGroupAdLabelOperation - */ -class AdGroupAdLabelOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel $create - * Create operation: No resource name is expected for the new ad group ad - * label. - * @type string $remove - * Remove operation: A resource name for the ad group ad label - * being removed, in this format: - * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new ad group ad - * label. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdLabel create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group ad - * label. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdLabel create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the ad group ad label - * being removed, in this format: - * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the ad group ad label - * being removed, in this format: - * `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceClient.php deleted file mode 100644 index bfce92605..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupAdLabelService/MutateAdGroupAdLabels', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdOperation.php deleted file mode 100644 index 13b33a8ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdOperation.php +++ /dev/null @@ -1,235 +0,0 @@ -google.ads.googleads.v15.services.AdGroupAdOperation - */ -class AdGroupAdOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - /** - * Configuration for how policies are validated. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyValidationParameter policy_validation_parameter = 5; - */ - protected $policy_validation_parameter = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyValidationParameter $policy_validation_parameter - * Configuration for how policies are validated. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $create - * Create operation: No resource name is expected for the new ad. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $update - * Update operation: The ad is expected to have a valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed ad is expected, - * in this format: - * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAdService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Configuration for how policies are validated. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyValidationParameter policy_validation_parameter = 5; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyValidationParameter|null - */ - public function getPolicyValidationParameter() - { - return $this->policy_validation_parameter; - } - - public function hasPolicyValidationParameter() - { - return isset($this->policy_validation_parameter); - } - - public function clearPolicyValidationParameter() - { - unset($this->policy_validation_parameter); - } - - /** - * Configuration for how policies are validated. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyValidationParameter policy_validation_parameter = 5; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyValidationParameter $var - * @return $this - */ - public function setPolicyValidationParameter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyValidationParameter::class); - $this->policy_validation_parameter = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAd|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAd::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The ad is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAd|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The ad is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAd::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad is expected, - * in this format: - * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed ad is expected, - * in this format: - * `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceClient.php deleted file mode 100644 index ab86ab486..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupAdService/MutateAdGroupAds', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetOperation.php deleted file mode 100644 index c59c53bb1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.AdGroupAssetOperation - */ -class AdGroupAssetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $create - * Create operation: No resource name is expected for the new ad group - * asset. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $update - * Update operation: The ad group asset is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed ad group asset is - * expected, in this format: - * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAssetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new ad group - * asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group - * asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The ad group asset is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset update = 3; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset|null - */ - public function getUpdate() - { - return $this->readOneof(3); - } - - public function hasUpdate() - { - return $this->hasOneof(3); - } - - /** - * Update operation: The ad group asset is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset update = 3; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad group asset is - * expected, in this format: - * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed ad group asset is - * expected, in this format: - * `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceClient.php deleted file mode 100644 index 4de419bef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupAssetService/MutateAdGroupAssets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetOperation.php deleted file mode 100644 index cda7583b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.AdGroupAssetSetOperation - */ -class AdGroupAssetSetOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet $create - * Create operation: No resource name is expected for the new ad group asset - * set. - * @type string $remove - * Remove operation: A resource name for the removed ad group asset set is - * expected, in this format: - * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new ad group asset - * set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAssetSet create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group asset - * set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAssetSet create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad group asset set is - * expected, in this format: - * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed ad group asset set is - * expected, in this format: - * `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceClient.php deleted file mode 100644 index d8175c605..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupAssetSetService/MutateAdGroupAssetSets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetSetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierOperation.php deleted file mode 100644 index 4a050ca4c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.AdGroupBidModifierOperation - */ -class AdGroupBidModifierOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $create - * Create operation: No resource name is expected for the new ad group bid - * modifier. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $update - * Update operation: The ad group bid modifier is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed ad group bid modifier - * is expected, in this format: - * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new ad group bid - * modifier. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group bid - * modifier. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The ad group bid modifier is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The ad group bid modifier is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad group bid modifier - * is expected, in this format: - * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed ad group bid modifier - * is expected, in this format: - * `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceClient.php deleted file mode 100644 index 510111e8b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupBidModifierService/MutateAdGroupBidModifiers', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifiersResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerOperation.php deleted file mode 100644 index ce35b1be3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.AdGroupCriterionCustomizerOperation - */ -class AdGroupCriterionCustomizerOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer $create - * Create operation: No resource name is expected for the new ad group - * criterion customizer. - * @type string $remove - * Remove operation: A resource name for the removed ad group criterion - * customizer is expected, in this format: - * `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new ad group - * criterion customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionCustomizer create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group - * criterion customizer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionCustomizer create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad group criterion - * customizer is expected, in this format: - * `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed ad group criterion - * customizer is expected, in this format: - * `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceClient.php deleted file mode 100644 index 87553466a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupCriterionCustomizerService/MutateAdGroupCriterionCustomizers', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizersResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelOperation.php deleted file mode 100644 index fd1d4e4bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.AdGroupCriterionLabelOperation - */ -class AdGroupCriterionLabelOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel $create - * Create operation: No resource name is expected for the new ad group - * label. - * @type string $remove - * Remove operation: A resource name for the ad group criterion label - * being removed, in this format: - * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new ad group - * label. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionLabel create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group - * label. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionLabel create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the ad group criterion label - * being removed, in this format: - * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the ad group criterion label - * being removed, in this format: - * `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceClient.php deleted file mode 100644 index fad459c48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionOperation.php deleted file mode 100644 index 628938ff5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionOperation.php +++ /dev/null @@ -1,256 +0,0 @@ -google.ads.googleads.v15.services.AdGroupCriterionOperation - */ -class AdGroupCriterionOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - /** - * The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 5; - */ - private $exempt_policy_violation_keys; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyViolationKey>|\Google\Protobuf\Internal\RepeatedField $exempt_policy_violation_keys - * The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $create - * Create operation: No resource name is expected for the new criterion. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $update - * Update operation: The criterion is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExemptPolicyViolationKeys() - { - return $this->exempt_policy_violation_keys; - } - - /** - * The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyViolationKey>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExemptPolicyViolationKeys($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyViolationKey::class); - $this->exempt_policy_violation_keys = $arr; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The criterion is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The criterion is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceClient.php deleted file mode 100644 index 5ab6d3814..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupCriterionService/MutateAdGroupCriteria', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriteriaResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerOperation.php deleted file mode 100644 index 13e468714..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.AdGroupCustomizerOperation - */ -class AdGroupCustomizerOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer $create - * Create operation: No resource name is expected for the new ad group - * customizer - * @type string $remove - * Remove operation: A resource name for the removed ad group customizer is - * expected, in this format: - * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new ad group - * customizer - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCustomizer create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group - * customizer - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCustomizer create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad group customizer is - * expected, in this format: - * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed ad group customizer is - * expected, in this format: - * `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceClient.php deleted file mode 100644 index c06df14bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupCustomizerService/MutateAdGroupCustomizers', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizersResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingOperation.php deleted file mode 100644 index 78a8fc667..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingOperation.php +++ /dev/null @@ -1,235 +0,0 @@ -google.ads.googleads.v15.services.AdGroupExtensionSettingOperation - */ -class AdGroupExtensionSettingOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting $create - * Create operation: No resource name is expected for the new ad group - * extension setting. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting $update - * Update operation: The ad group extension setting is expected to have a - * valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed ad group extension - * setting is expected, in this format: - * `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new ad group - * extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group - * extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The ad group extension setting is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The ad group extension setting is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad group extension - * setting is expected, in this format: - * `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed ad group extension - * setting is expected, in this format: - * `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceClient.php deleted file mode 100644 index 9ac1af8be..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedOperation.php deleted file mode 100644 index 98a665e5a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.AdGroupFeedOperation - */ -class AdGroupFeedOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $create - * Create operation: No resource name is expected for the new ad group feed. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $update - * Update operation: The ad group feed is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed ad group feed is - * expected, in this format: - * `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupFeedService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new ad group feed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group feed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The ad group feed is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The ad group feed is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad group feed is - * expected, in this format: - * `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed ad group feed is - * expected, in this format: - * `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceClient.php deleted file mode 100644 index 44970c4ce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupFeedService/MutateAdGroupFeeds', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupKeywordSuggestion.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupKeywordSuggestion.php deleted file mode 100644 index 6148f9be8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupKeywordSuggestion.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.AdGroupKeywordSuggestion - */ -class AdGroupKeywordSuggestion extends \Google\Protobuf\Internal\Message -{ - /** - * The original keyword text. - * - * Generated from protobuf field string keyword_text = 1; - */ - protected $keyword_text = ''; - /** - * The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. - * - * Generated from protobuf field string suggested_keyword_text = 2; - */ - protected $suggested_keyword_text = ''; - /** - * The suggested keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType suggested_match_type = 3; - */ - protected $suggested_match_type = 0; - /** - * The suggested AdGroup for the keyword. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string suggested_ad_group = 4; - */ - protected $suggested_ad_group = ''; - /** - * The suggested Campaign for the keyword. - * Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string suggested_campaign = 5; - */ - protected $suggested_campaign = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $keyword_text - * The original keyword text. - * @type string $suggested_keyword_text - * The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. - * @type int $suggested_match_type - * The suggested keyword match type. - * @type string $suggested_ad_group - * The suggested AdGroup for the keyword. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * @type string $suggested_campaign - * The suggested Campaign for the keyword. - * Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The original keyword text. - * - * Generated from protobuf field string keyword_text = 1; - * @return string - */ - public function getKeywordText() - { - return $this->keyword_text; - } - - /** - * The original keyword text. - * - * Generated from protobuf field string keyword_text = 1; - * @param string $var - * @return $this - */ - public function setKeywordText($var) - { - GPBUtil::checkString($var, True); - $this->keyword_text = $var; - - return $this; - } - - /** - * The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. - * - * Generated from protobuf field string suggested_keyword_text = 2; - * @return string - */ - public function getSuggestedKeywordText() - { - return $this->suggested_keyword_text; - } - - /** - * The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. - * - * Generated from protobuf field string suggested_keyword_text = 2; - * @param string $var - * @return $this - */ - public function setSuggestedKeywordText($var) - { - GPBUtil::checkString($var, True); - $this->suggested_keyword_text = $var; - - return $this; - } - - /** - * The suggested keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType suggested_match_type = 3; - * @return int - */ - public function getSuggestedMatchType() - { - return $this->suggested_match_type; - } - - /** - * The suggested keyword match type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType suggested_match_type = 3; - * @param int $var - * @return $this - */ - public function setSuggestedMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordMatchTypeEnum\KeywordMatchType::class); - $this->suggested_match_type = $var; - - return $this; - } - - /** - * The suggested AdGroup for the keyword. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string suggested_ad_group = 4; - * @return string - */ - public function getSuggestedAdGroup() - { - return $this->suggested_ad_group; - } - - /** - * The suggested AdGroup for the keyword. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string suggested_ad_group = 4; - * @param string $var - * @return $this - */ - public function setSuggestedAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->suggested_ad_group = $var; - - return $this; - } - - /** - * The suggested Campaign for the keyword. - * Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string suggested_campaign = 5; - * @return string - */ - public function getSuggestedCampaign() - { - return $this->suggested_campaign; - } - - /** - * The suggested Campaign for the keyword. - * Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string suggested_campaign = 5; - * @param string $var - * @return $this - */ - public function setSuggestedCampaign($var) - { - GPBUtil::checkString($var, True); - $this->suggested_campaign = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelOperation.php deleted file mode 100644 index 5d6e31575..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.AdGroupLabelOperation - */ -class AdGroupLabelOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupLabel $create - * Create operation: No resource name is expected for the new ad group - * label. - * @type string $remove - * Remove operation: A resource name for the ad group label - * being removed, in this format: - * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new ad group - * label. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupLabel create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupLabel|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group - * label. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupLabel create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupLabel $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupLabel::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the ad group label - * being removed, in this format: - * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the ad group label - * being removed, in this format: - * `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceClient.php deleted file mode 100644 index 795fe071f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupLabelService/MutateAdGroupLabels', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupOperation.php deleted file mode 100644 index 93d79a574..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupOperation.php +++ /dev/null @@ -1,191 +0,0 @@ -google.ads.googleads.v15.services.AdGroupOperation - */ -class AdGroupOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroup $create - * Create operation: No resource name is expected for the new ad group. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroup $update - * Update operation: The ad group is expected to have a valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed ad group is expected, - * in this format: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroup|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroup $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroup::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The ad group is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroup|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The ad group is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroup $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroup::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed ad group is expected, - * in this format: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed ad group is expected, - * in this format: - * `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdGroupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdGroupServiceClient.php deleted file mode 100644 index 0f577a83e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdGroupServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdGroupService/MutateAdGroups', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdGroupsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdOperation.php deleted file mode 100644 index bdb002903..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdOperation.php +++ /dev/null @@ -1,169 +0,0 @@ -google.ads.googleads.v15.services.AdOperation - */ -class AdOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - */ - protected $update_mask = null; - /** - * Configuration for how policies are validated. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyValidationParameter policy_validation_parameter = 3; - */ - protected $policy_validation_parameter = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Common\PolicyValidationParameter $policy_validation_parameter - * Configuration for how policies are validated. - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $update - * Update operation: The ad is expected to have a valid resource name - * in this format: - * `customers/{customer_id}/ads/{ad_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Configuration for how policies are validated. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyValidationParameter policy_validation_parameter = 3; - * @return \Google\Ads\GoogleAds\V15\Common\PolicyValidationParameter|null - */ - public function getPolicyValidationParameter() - { - return $this->policy_validation_parameter; - } - - public function hasPolicyValidationParameter() - { - return isset($this->policy_validation_parameter); - } - - public function clearPolicyValidationParameter() - { - unset($this->policy_validation_parameter); - } - - /** - * Configuration for how policies are validated. - * - * Generated from protobuf field .google.ads.googleads.v15.common.PolicyValidationParameter policy_validation_parameter = 3; - * @param \Google\Ads\GoogleAds\V15\Common\PolicyValidationParameter $var - * @return $this - */ - public function setPolicyValidationParameter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\PolicyValidationParameter::class); - $this->policy_validation_parameter = $var; - - return $this; - } - - /** - * Update operation: The ad is expected to have a valid resource name - * in this format: - * `customers/{customer_id}/ads/{ad_id}` - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad update = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getUpdate() - { - return $this->readOneof(1); - } - - public function hasUpdate() - { - return $this->hasOneof(1); - } - - /** - * Update operation: The ad is expected to have a valid resource name - * in this format: - * `customers/{customer_id}/ads/{ad_id}` - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad update = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdParameterOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AdParameterOperation.php deleted file mode 100644 index bd9d6daa3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdParameterOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.AdParameterOperation - */ -class AdParameterOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AdParameter $create - * Create operation: No resource name is expected for the new ad parameter. - * @type \Google\Ads\GoogleAds\V15\Resources\AdParameter $update - * Update operation: The ad parameter is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the ad parameter to remove is - * expected in this format: - * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdParameterService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new ad parameter. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AdParameter|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new ad parameter. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AdParameter $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdParameter::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The ad parameter is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdParameter|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The ad parameter is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdParameter $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdParameter::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the ad parameter to remove is - * expected in this format: - * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the ad parameter to remove is - * expected in this format: - * `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdParameterServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdParameterServiceClient.php deleted file mode 100644 index e798d02a9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdParameterServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdParameterService/MutateAdParameters', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdParametersResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AdServiceClient.php deleted file mode 100644 index dd31c007f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AdService/GetAd', - $argument, - ['\Google\Ads\GoogleAds\V15\Resources\Ad', 'decode'], - $metadata, $options); - } - - /** - * Updates ads. Operation statuses are returned. Updating ads is not supported - * for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. - * - * List of thrown errors: - * [AdCustomizerError]() - * [AdError]() - * [AdSharingError]() - * [AdxError]() - * [AssetError]() - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FeedAttributeReferenceError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [ImageError]() - * [InternalError]() - * [ListOperationError]() - * [MediaBundleError]() - * [MediaFileError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [PolicyFindingError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function MutateAds(\Google\Ads\GoogleAds\V15\Services\MutateAdsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.AdService/MutateAds', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAdsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AddBatchJobOperationsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/AddBatchJobOperationsRequest.php deleted file mode 100644 index 751a3c7c4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AddBatchJobOperationsRequest.php +++ /dev/null @@ -1,233 +0,0 @@ -google.ads.googleads.v15.services.AddBatchJobOperationsRequest - */ -class AddBatchJobOperationsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the batch job. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * A token used to enforce sequencing. - * The first AddBatchJobOperations request for a batch job should not set - * sequence_token. Subsequent requests must set sequence_token to the value of - * next_sequence_token received in the previous AddBatchJobOperations - * response. - * - * Generated from protobuf field string sequence_token = 2; - */ - protected $sequence_token = ''; - /** - * Required. The list of mutates being added. - * Operations can use negative integers as temp ids to signify dependencies - * between entities created in this batch job. For example, a customer with - * id = 1234 can create a campaign and an ad group in that same campaign by - * creating a campaign in the first operation with the resource name - * explicitly set to "customers/1234/campaigns/-1", and creating an ad group - * in the second operation with the campaign field also set to - * "customers/1234/campaigns/-1". - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $mutate_operations; - - /** - * @param string $resourceName Required. The resource name of the batch job. - * @param string $sequenceToken A token used to enforce sequencing. - * - * The first AddBatchJobOperations request for a batch job should not set - * sequence_token. Subsequent requests must set sequence_token to the value of - * next_sequence_token received in the previous AddBatchJobOperations - * response. - * @param \Google\Ads\GoogleAds\V15\Services\MutateOperation[] $mutateOperations Required. The list of mutates being added. - * - * Operations can use negative integers as temp ids to signify dependencies - * between entities created in this batch job. For example, a customer with - * id = 1234 can create a campaign and an ad group in that same campaign by - * creating a campaign in the first operation with the resource name - * explicitly set to "customers/1234/campaigns/-1", and creating an ad group - * in the second operation with the campaign field also set to - * "customers/1234/campaigns/-1". - * - * @return \Google\Ads\GoogleAds\V15\Services\AddBatchJobOperationsRequest - * - * @experimental - */ - public static function build(string $resourceName, string $sequenceToken, array $mutateOperations): self - { - return (new self()) - ->setResourceName($resourceName) - ->setSequenceToken($sequenceToken) - ->setMutateOperations($mutateOperations); - } - - /** - * @param string $resourceName Required. The resource name of the batch job. - * @param \Google\Ads\GoogleAds\V15\Services\MutateOperation[] $mutateOperations Required. The list of mutates being added. - * - * Operations can use negative integers as temp ids to signify dependencies - * between entities created in this batch job. For example, a customer with - * id = 1234 can create a campaign and an ad group in that same campaign by - * creating a campaign in the first operation with the resource name - * explicitly set to "customers/1234/campaigns/-1", and creating an ad group - * in the second operation with the campaign field also set to - * "customers/1234/campaigns/-1". - * - * @return \Google\Ads\GoogleAds\V15\Services\AddBatchJobOperationsRequest - * - * @experimental - */ - public static function buildFromResourceNameMutateOperations(string $resourceName, array $mutateOperations): self - { - return (new self()) - ->setResourceName($resourceName) - ->setMutateOperations($mutateOperations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the batch job. - * @type string $sequence_token - * A token used to enforce sequencing. - * The first AddBatchJobOperations request for a batch job should not set - * sequence_token. Subsequent requests must set sequence_token to the value of - * next_sequence_token received in the previous AddBatchJobOperations - * response. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateOperation>|\Google\Protobuf\Internal\RepeatedField $mutate_operations - * Required. The list of mutates being added. - * Operations can use negative integers as temp ids to signify dependencies - * between entities created in this batch job. For example, a customer with - * id = 1234 can create a campaign and an ad group in that same campaign by - * creating a campaign in the first operation with the resource name - * explicitly set to "customers/1234/campaigns/-1", and creating an ad group - * in the second operation with the campaign field also set to - * "customers/1234/campaigns/-1". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the batch job. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the batch job. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * A token used to enforce sequencing. - * The first AddBatchJobOperations request for a batch job should not set - * sequence_token. Subsequent requests must set sequence_token to the value of - * next_sequence_token received in the previous AddBatchJobOperations - * response. - * - * Generated from protobuf field string sequence_token = 2; - * @return string - */ - public function getSequenceToken() - { - return $this->sequence_token; - } - - /** - * A token used to enforce sequencing. - * The first AddBatchJobOperations request for a batch job should not set - * sequence_token. Subsequent requests must set sequence_token to the value of - * next_sequence_token received in the previous AddBatchJobOperations - * response. - * - * Generated from protobuf field string sequence_token = 2; - * @param string $var - * @return $this - */ - public function setSequenceToken($var) - { - GPBUtil::checkString($var, True); - $this->sequence_token = $var; - - return $this; - } - - /** - * Required. The list of mutates being added. - * Operations can use negative integers as temp ids to signify dependencies - * between entities created in this batch job. For example, a customer with - * id = 1234 can create a campaign and an ad group in that same campaign by - * creating a campaign in the first operation with the resource name - * explicitly set to "customers/1234/campaigns/-1", and creating an ad group - * in the second operation with the campaign field also set to - * "customers/1234/campaigns/-1". - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMutateOperations() - { - return $this->mutate_operations; - } - - /** - * Required. The list of mutates being added. - * Operations can use negative integers as temp ids to signify dependencies - * between entities created in this batch job. For example, a customer with - * id = 1234 can create a campaign and an ad group in that same campaign by - * creating a campaign in the first operation with the resource name - * explicitly set to "customers/1234/campaigns/-1", and creating an ad group - * in the second operation with the campaign field also set to - * "customers/1234/campaigns/-1". - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperation mutate_operations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMutateOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateOperation::class); - $this->mutate_operations = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AddBatchJobOperationsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/AddBatchJobOperationsResponse.php deleted file mode 100644 index df10650e4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AddBatchJobOperationsResponse.php +++ /dev/null @@ -1,110 +0,0 @@ -google.ads.googleads.v15.services.AddBatchJobOperationsResponse - */ -class AddBatchJobOperationsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The total number of operations added so far for this batch job. - * - * Generated from protobuf field int64 total_operations = 1; - */ - protected $total_operations = 0; - /** - * The sequence token to be used when calling AddBatchJobOperations again if - * more operations need to be added. The next AddBatchJobOperations request - * must set the sequence_token field to the value of this field. - * - * Generated from protobuf field string next_sequence_token = 2; - */ - protected $next_sequence_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $total_operations - * The total number of operations added so far for this batch job. - * @type string $next_sequence_token - * The sequence token to be used when calling AddBatchJobOperations again if - * more operations need to be added. The next AddBatchJobOperations request - * must set the sequence_token field to the value of this field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * The total number of operations added so far for this batch job. - * - * Generated from protobuf field int64 total_operations = 1; - * @return int|string - */ - public function getTotalOperations() - { - return $this->total_operations; - } - - /** - * The total number of operations added so far for this batch job. - * - * Generated from protobuf field int64 total_operations = 1; - * @param int|string $var - * @return $this - */ - public function setTotalOperations($var) - { - GPBUtil::checkInt64($var); - $this->total_operations = $var; - - return $this; - } - - /** - * The sequence token to be used when calling AddBatchJobOperations again if - * more operations need to be added. The next AddBatchJobOperations request - * must set the sequence_token field to the value of this field. - * - * Generated from protobuf field string next_sequence_token = 2; - * @return string - */ - public function getNextSequenceToken() - { - return $this->next_sequence_token; - } - - /** - * The sequence token to be used when calling AddBatchJobOperations again if - * more operations need to be added. The next AddBatchJobOperations request - * must set the sequence_token field to the value of this field. - * - * Generated from protobuf field string next_sequence_token = 2; - * @param string $var - * @return $this - */ - public function setNextSequenceToken($var) - { - GPBUtil::checkString($var, True); - $this->next_sequence_token = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AddOfflineUserDataJobOperationsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/AddOfflineUserDataJobOperationsRequest.php deleted file mode 100644 index e23a55e1a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AddOfflineUserDataJobOperationsRequest.php +++ /dev/null @@ -1,251 +0,0 @@ -google.ads.googleads.v15.services.AddOfflineUserDataJobOperationsRequest - */ -class AddOfflineUserDataJobOperationsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the OfflineUserDataJob. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * True to enable partial failure for the offline user data job. - * - * Generated from protobuf field optional bool enable_partial_failure = 4; - */ - protected $enable_partial_failure = null; - /** - * True to enable warnings for the offline user data job. When enabled, a - * warning will not block the OfflineUserDataJobOperation, and will also - * return warning messages about malformed field values. - * - * Generated from protobuf field optional bool enable_warnings = 6; - */ - protected $enable_warnings = null; - /** - * Required. The list of operations to be done. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.OfflineUserDataJobOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 5; - */ - protected $validate_only = false; - - /** - * @param string $resourceName Required. The resource name of the OfflineUserDataJob. - * @param \Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobOperation[] $operations Required. The list of operations to be done. - * - * @return \Google\Ads\GoogleAds\V15\Services\AddOfflineUserDataJobOperationsRequest - * - * @experimental - */ - public static function build(string $resourceName, array $operations): self - { - return (new self()) - ->setResourceName($resourceName) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the OfflineUserDataJob. - * @type bool $enable_partial_failure - * True to enable partial failure for the offline user data job. - * @type bool $enable_warnings - * True to enable warnings for the offline user data job. When enabled, a - * warning will not block the OfflineUserDataJobOperation, and will also - * return warning messages about malformed field values. - * @type array<\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to be done. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the OfflineUserDataJob. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the OfflineUserDataJob. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * True to enable partial failure for the offline user data job. - * - * Generated from protobuf field optional bool enable_partial_failure = 4; - * @return bool - */ - public function getEnablePartialFailure() - { - return isset($this->enable_partial_failure) ? $this->enable_partial_failure : false; - } - - public function hasEnablePartialFailure() - { - return isset($this->enable_partial_failure); - } - - public function clearEnablePartialFailure() - { - unset($this->enable_partial_failure); - } - - /** - * True to enable partial failure for the offline user data job. - * - * Generated from protobuf field optional bool enable_partial_failure = 4; - * @param bool $var - * @return $this - */ - public function setEnablePartialFailure($var) - { - GPBUtil::checkBool($var); - $this->enable_partial_failure = $var; - - return $this; - } - - /** - * True to enable warnings for the offline user data job. When enabled, a - * warning will not block the OfflineUserDataJobOperation, and will also - * return warning messages about malformed field values. - * - * Generated from protobuf field optional bool enable_warnings = 6; - * @return bool - */ - public function getEnableWarnings() - { - return isset($this->enable_warnings) ? $this->enable_warnings : false; - } - - public function hasEnableWarnings() - { - return isset($this->enable_warnings); - } - - public function clearEnableWarnings() - { - unset($this->enable_warnings); - } - - /** - * True to enable warnings for the offline user data job. When enabled, a - * warning will not block the OfflineUserDataJobOperation, and will also - * return warning messages about malformed field values. - * - * Generated from protobuf field optional bool enable_warnings = 6; - * @param bool $var - * @return $this - */ - public function setEnableWarnings($var) - { - GPBUtil::checkBool($var); - $this->enable_warnings = $var; - - return $this; - } - - /** - * Required. The list of operations to be done. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.OfflineUserDataJobOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to be done. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.OfflineUserDataJobOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 5; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 5; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AddOfflineUserDataJobOperationsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/AddOfflineUserDataJobOperationsResponse.php deleted file mode 100644 index cfa9ea489..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AddOfflineUserDataJobOperationsResponse.php +++ /dev/null @@ -1,138 +0,0 @@ -google.ads.googleads.v15.services.AddOfflineUserDataJobOperationsResponse - */ -class AddOfflineUserDataJobOperationsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * Non blocking errors that pertain to operation failures in the warnings - * mode. Returned only when enable_warnings = true. - * - * Generated from protobuf field .google.rpc.Status warning = 2; - */ - protected $warning = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type \Google\Rpc\Status $warning - * Non blocking errors that pertain to operation failures in the warnings - * mode. Returned only when enable_warnings = true. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * Non blocking errors that pertain to operation failures in the warnings - * mode. Returned only when enable_warnings = true. - * - * Generated from protobuf field .google.rpc.Status warning = 2; - * @return \Google\Rpc\Status|null - */ - public function getWarning() - { - return $this->warning; - } - - public function hasWarning() - { - return isset($this->warning); - } - - public function clearWarning() - { - unset($this->warning); - } - - /** - * Non blocking errors that pertain to operation failures in the warnings - * mode. Returned only when enable_warnings = true. - * - * Generated from protobuf field .google.rpc.Status warning = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setWarning($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->warning = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AdvancedProductTargeting.php b/src/Google/Ads/GoogleAds/V15/Services/AdvancedProductTargeting.php deleted file mode 100644 index 34c9c897b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AdvancedProductTargeting.php +++ /dev/null @@ -1,175 +0,0 @@ -google.ads.googleads.v15.services.AdvancedProductTargeting - */ -class AdvancedProductTargeting extends \Google\Protobuf\Internal\Message -{ - /** - * Surface targeting settings for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargeting surface_targeting_settings = 2; - */ - protected $surface_targeting_settings = null; - /** - * Settings for a Target frequency campaign. Must be set when selecting the - * TARGET_FREQUENCY product. - * See https://support.google.com/google-ads/answer/12400225 for more - * information about Target Frequency campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.services.TargetFrequencySettings target_frequency_settings = 3; - */ - protected $target_frequency_settings = null; - protected $advanced_targeting; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting $surface_targeting_settings - * Surface targeting settings for this product. - * @type \Google\Ads\GoogleAds\V15\Services\TargetFrequencySettings $target_frequency_settings - * Settings for a Target frequency campaign. Must be set when selecting the - * TARGET_FREQUENCY product. - * See https://support.google.com/google-ads/answer/12400225 for more - * information about Target Frequency campaigns. - * @type \Google\Ads\GoogleAds\V15\Services\YouTubeSelectSettings $youtube_select_settings - * Settings for YouTube Select targeting. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Surface targeting settings for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargeting surface_targeting_settings = 2; - * @return \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting|null - */ - public function getSurfaceTargetingSettings() - { - return $this->surface_targeting_settings; - } - - public function hasSurfaceTargetingSettings() - { - return isset($this->surface_targeting_settings); - } - - public function clearSurfaceTargetingSettings() - { - unset($this->surface_targeting_settings); - } - - /** - * Surface targeting settings for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargeting surface_targeting_settings = 2; - * @param \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting $var - * @return $this - */ - public function setSurfaceTargetingSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting::class); - $this->surface_targeting_settings = $var; - - return $this; - } - - /** - * Settings for a Target frequency campaign. Must be set when selecting the - * TARGET_FREQUENCY product. - * See https://support.google.com/google-ads/answer/12400225 for more - * information about Target Frequency campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.services.TargetFrequencySettings target_frequency_settings = 3; - * @return \Google\Ads\GoogleAds\V15\Services\TargetFrequencySettings|null - */ - public function getTargetFrequencySettings() - { - return $this->target_frequency_settings; - } - - public function hasTargetFrequencySettings() - { - return isset($this->target_frequency_settings); - } - - public function clearTargetFrequencySettings() - { - unset($this->target_frequency_settings); - } - - /** - * Settings for a Target frequency campaign. Must be set when selecting the - * TARGET_FREQUENCY product. - * See https://support.google.com/google-ads/answer/12400225 for more - * information about Target Frequency campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.services.TargetFrequencySettings target_frequency_settings = 3; - * @param \Google\Ads\GoogleAds\V15\Services\TargetFrequencySettings $var - * @return $this - */ - public function setTargetFrequencySettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\TargetFrequencySettings::class); - $this->target_frequency_settings = $var; - - return $this; - } - - /** - * Settings for YouTube Select targeting. - * - * Generated from protobuf field .google.ads.googleads.v15.services.YouTubeSelectSettings youtube_select_settings = 1; - * @return \Google\Ads\GoogleAds\V15\Services\YouTubeSelectSettings|null - */ - public function getYoutubeSelectSettings() - { - return $this->readOneof(1); - } - - public function hasYoutubeSelectSettings() - { - return $this->hasOneof(1); - } - - /** - * Settings for YouTube Select targeting. - * - * Generated from protobuf field .google.ads.googleads.v15.services.YouTubeSelectSettings youtube_select_settings = 1; - * @param \Google\Ads\GoogleAds\V15\Services\YouTubeSelectSettings $var - * @return $this - */ - public function setYoutubeSelectSettings($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\YouTubeSelectSettings::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getAdvancedTargeting() - { - return $this->whichOneof("advanced_targeting"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation.php deleted file mode 100644 index a15ea732c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation.php +++ /dev/null @@ -1,869 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation - */ -class ApplyRecommendationOperation extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name of the recommendation to apply. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - protected $apply_parameters; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name of the recommendation to apply. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CampaignBudgetParameters $campaign_budget - * Optional parameters to use when applying a campaign budget - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TextAdParameters $text_ad - * Optional parameters to use when applying a text ad recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\KeywordParameters $keyword - * Optional parameters to use when applying keyword recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TargetCpaOptInParameters $target_cpa_opt_in - * Optional parameters to use when applying target CPA opt-in - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TargetRoasOptInParameters $target_roas_opt_in - * Optional parameters to use when applying target ROAS opt-in - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CalloutExtensionParameters $callout_extension - * Parameters to use when applying callout extension recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CallExtensionParameters $call_extension - * Parameters to use when applying call extension recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\SitelinkExtensionParameters $sitelink_extension - * Parameters to use when applying sitelink recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\MoveUnusedBudgetParameters $move_unused_budget - * Parameters to use when applying move unused budget recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdParameters $responsive_search_ad - * Parameters to use when applying a responsive search ad recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\UseBroadMatchKeywordParameters $use_broad_match_keyword - * Parameters to use when applying a use broad match keyword recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdAssetParameters $responsive_search_ad_asset - * Parameters to use when applying a responsive search ad asset - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdImproveAdStrengthParameters $responsive_search_ad_improve_ad_strength - * Parameters to use when applying a responsive search ad improve ad - * strength recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\RaiseTargetCpaBidTooLowParameters $raise_target_cpa_bid_too_low - * Parameters to use when applying a raise target CPA bid too low - * recommendation. The apply is asynchronous and can take minutes depending - * on the number of ad groups there is in the related campaign. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetRoasParameters $forecasting_set_target_roas - * Parameters to use when applying a forecasting set target ROAS - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CalloutAssetParameters $callout_asset - * Parameters to use when applying callout asset recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CallAssetParameters $call_asset - * Parameters to use when applying call asset recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\SitelinkAssetParameters $sitelink_asset - * Parameters to use when applying sitelink asset recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\RaiseTargetCpaParameters $raise_target_cpa - * Parameters to use when applying raise Target CPA recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\LowerTargetRoasParameters $lower_target_roas - * Parameters to use when applying lower Target ROAS recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetCpaParameters $forecasting_set_target_cpa - * Parameters to use when applying forecasting set target CPA - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetCpaParameters $set_target_cpa - * Parameters to use when applying set target CPA - * recommendation. - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetRoasParameters $set_target_roas - * Parameters to use when applying set target ROAS - * recommendation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name of the recommendation to apply. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name of the recommendation to apply. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Optional parameters to use when applying a campaign budget - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CampaignBudgetParameters campaign_budget = 2; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CampaignBudgetParameters|null - */ - public function getCampaignBudget() - { - return $this->readOneof(2); - } - - public function hasCampaignBudget() - { - return $this->hasOneof(2); - } - - /** - * Optional parameters to use when applying a campaign budget - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CampaignBudgetParameters campaign_budget = 2; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CampaignBudgetParameters $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CampaignBudgetParameters::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Optional parameters to use when applying a text ad recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.TextAdParameters text_ad = 3; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TextAdParameters|null - */ - public function getTextAd() - { - return $this->readOneof(3); - } - - public function hasTextAd() - { - return $this->hasOneof(3); - } - - /** - * Optional parameters to use when applying a text ad recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.TextAdParameters text_ad = 3; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TextAdParameters $var - * @return $this - */ - public function setTextAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TextAdParameters::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Optional parameters to use when applying keyword recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.KeywordParameters keyword = 4; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\KeywordParameters|null - */ - public function getKeyword() - { - return $this->readOneof(4); - } - - public function hasKeyword() - { - return $this->hasOneof(4); - } - - /** - * Optional parameters to use when applying keyword recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.KeywordParameters keyword = 4; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\KeywordParameters $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\KeywordParameters::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Optional parameters to use when applying target CPA opt-in - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetCpaOptInParameters target_cpa_opt_in = 5; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TargetCpaOptInParameters|null - */ - public function getTargetCpaOptIn() - { - return $this->readOneof(5); - } - - public function hasTargetCpaOptIn() - { - return $this->hasOneof(5); - } - - /** - * Optional parameters to use when applying target CPA opt-in - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetCpaOptInParameters target_cpa_opt_in = 5; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TargetCpaOptInParameters $var - * @return $this - */ - public function setTargetCpaOptIn($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TargetCpaOptInParameters::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Optional parameters to use when applying target ROAS opt-in - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetRoasOptInParameters target_roas_opt_in = 10; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TargetRoasOptInParameters|null - */ - public function getTargetRoasOptIn() - { - return $this->readOneof(10); - } - - public function hasTargetRoasOptIn() - { - return $this->hasOneof(10); - } - - /** - * Optional parameters to use when applying target ROAS opt-in - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetRoasOptInParameters target_roas_opt_in = 10; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TargetRoasOptInParameters $var - * @return $this - */ - public function setTargetRoasOptIn($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\TargetRoasOptInParameters::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * Parameters to use when applying callout extension recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutExtensionParameters callout_extension = 6; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CalloutExtensionParameters|null - */ - public function getCalloutExtension() - { - return $this->readOneof(6); - } - - public function hasCalloutExtension() - { - return $this->hasOneof(6); - } - - /** - * Parameters to use when applying callout extension recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutExtensionParameters callout_extension = 6; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CalloutExtensionParameters $var - * @return $this - */ - public function setCalloutExtension($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CalloutExtensionParameters::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Parameters to use when applying call extension recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CallExtensionParameters call_extension = 7; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CallExtensionParameters|null - */ - public function getCallExtension() - { - return $this->readOneof(7); - } - - public function hasCallExtension() - { - return $this->hasOneof(7); - } - - /** - * Parameters to use when applying call extension recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CallExtensionParameters call_extension = 7; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CallExtensionParameters $var - * @return $this - */ - public function setCallExtension($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CallExtensionParameters::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Parameters to use when applying sitelink recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkExtensionParameters sitelink_extension = 8; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\SitelinkExtensionParameters|null - */ - public function getSitelinkExtension() - { - return $this->readOneof(8); - } - - public function hasSitelinkExtension() - { - return $this->hasOneof(8); - } - - /** - * Parameters to use when applying sitelink recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkExtensionParameters sitelink_extension = 8; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\SitelinkExtensionParameters $var - * @return $this - */ - public function setSitelinkExtension($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\SitelinkExtensionParameters::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Parameters to use when applying move unused budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters move_unused_budget = 9; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\MoveUnusedBudgetParameters|null - */ - public function getMoveUnusedBudget() - { - return $this->readOneof(9); - } - - public function hasMoveUnusedBudget() - { - return $this->hasOneof(9); - } - - /** - * Parameters to use when applying move unused budget recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters move_unused_budget = 9; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\MoveUnusedBudgetParameters $var - * @return $this - */ - public function setMoveUnusedBudget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\MoveUnusedBudgetParameters::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Parameters to use when applying a responsive search ad recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdParameters responsive_search_ad = 11; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdParameters|null - */ - public function getResponsiveSearchAd() - { - return $this->readOneof(11); - } - - public function hasResponsiveSearchAd() - { - return $this->hasOneof(11); - } - - /** - * Parameters to use when applying a responsive search ad recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdParameters responsive_search_ad = 11; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdParameters $var - * @return $this - */ - public function setResponsiveSearchAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdParameters::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * Parameters to use when applying a use broad match keyword recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.UseBroadMatchKeywordParameters use_broad_match_keyword = 12; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\UseBroadMatchKeywordParameters|null - */ - public function getUseBroadMatchKeyword() - { - return $this->readOneof(12); - } - - public function hasUseBroadMatchKeyword() - { - return $this->hasOneof(12); - } - - /** - * Parameters to use when applying a use broad match keyword recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.UseBroadMatchKeywordParameters use_broad_match_keyword = 12; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\UseBroadMatchKeywordParameters $var - * @return $this - */ - public function setUseBroadMatchKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\UseBroadMatchKeywordParameters::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * Parameters to use when applying a responsive search ad asset - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdAssetParameters responsive_search_ad_asset = 13; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdAssetParameters|null - */ - public function getResponsiveSearchAdAsset() - { - return $this->readOneof(13); - } - - public function hasResponsiveSearchAdAsset() - { - return $this->hasOneof(13); - } - - /** - * Parameters to use when applying a responsive search ad asset - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdAssetParameters responsive_search_ad_asset = 13; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdAssetParameters $var - * @return $this - */ - public function setResponsiveSearchAdAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdAssetParameters::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * Parameters to use when applying a responsive search ad improve ad - * strength recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdImproveAdStrengthParameters responsive_search_ad_improve_ad_strength = 14; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdImproveAdStrengthParameters|null - */ - public function getResponsiveSearchAdImproveAdStrength() - { - return $this->readOneof(14); - } - - public function hasResponsiveSearchAdImproveAdStrength() - { - return $this->hasOneof(14); - } - - /** - * Parameters to use when applying a responsive search ad improve ad - * strength recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdImproveAdStrengthParameters responsive_search_ad_improve_ad_strength = 14; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdImproveAdStrengthParameters $var - * @return $this - */ - public function setResponsiveSearchAdImproveAdStrength($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ResponsiveSearchAdImproveAdStrengthParameters::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * Parameters to use when applying a raise target CPA bid too low - * recommendation. The apply is asynchronous and can take minutes depending - * on the number of ad groups there is in the related campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaBidTooLowParameters raise_target_cpa_bid_too_low = 15; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\RaiseTargetCpaBidTooLowParameters|null - */ - public function getRaiseTargetCpaBidTooLow() - { - return $this->readOneof(15); - } - - public function hasRaiseTargetCpaBidTooLow() - { - return $this->hasOneof(15); - } - - /** - * Parameters to use when applying a raise target CPA bid too low - * recommendation. The apply is asynchronous and can take minutes depending - * on the number of ad groups there is in the related campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaBidTooLowParameters raise_target_cpa_bid_too_low = 15; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\RaiseTargetCpaBidTooLowParameters $var - * @return $this - */ - public function setRaiseTargetCpaBidTooLow($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\RaiseTargetCpaBidTooLowParameters::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Parameters to use when applying a forecasting set target ROAS - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetRoasParameters forecasting_set_target_roas = 16; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetRoasParameters|null - */ - public function getForecastingSetTargetRoas() - { - return $this->readOneof(16); - } - - public function hasForecastingSetTargetRoas() - { - return $this->hasOneof(16); - } - - /** - * Parameters to use when applying a forecasting set target ROAS - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetRoasParameters forecasting_set_target_roas = 16; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetRoasParameters $var - * @return $this - */ - public function setForecastingSetTargetRoas($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetRoasParameters::class); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * Parameters to use when applying callout asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutAssetParameters callout_asset = 17; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CalloutAssetParameters|null - */ - public function getCalloutAsset() - { - return $this->readOneof(17); - } - - public function hasCalloutAsset() - { - return $this->hasOneof(17); - } - - /** - * Parameters to use when applying callout asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutAssetParameters callout_asset = 17; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CalloutAssetParameters $var - * @return $this - */ - public function setCalloutAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CalloutAssetParameters::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * Parameters to use when applying call asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CallAssetParameters call_asset = 18; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CallAssetParameters|null - */ - public function getCallAsset() - { - return $this->readOneof(18); - } - - public function hasCallAsset() - { - return $this->hasOneof(18); - } - - /** - * Parameters to use when applying call asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.CallAssetParameters call_asset = 18; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CallAssetParameters $var - * @return $this - */ - public function setCallAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\CallAssetParameters::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * Parameters to use when applying sitelink asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkAssetParameters sitelink_asset = 19; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\SitelinkAssetParameters|null - */ - public function getSitelinkAsset() - { - return $this->readOneof(19); - } - - public function hasSitelinkAsset() - { - return $this->hasOneof(19); - } - - /** - * Parameters to use when applying sitelink asset recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkAssetParameters sitelink_asset = 19; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\SitelinkAssetParameters $var - * @return $this - */ - public function setSitelinkAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\SitelinkAssetParameters::class); - $this->writeOneof(19, $var); - - return $this; - } - - /** - * Parameters to use when applying raise Target CPA recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaParameters raise_target_cpa = 20; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\RaiseTargetCpaParameters|null - */ - public function getRaiseTargetCpa() - { - return $this->readOneof(20); - } - - public function hasRaiseTargetCpa() - { - return $this->hasOneof(20); - } - - /** - * Parameters to use when applying raise Target CPA recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaParameters raise_target_cpa = 20; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\RaiseTargetCpaParameters $var - * @return $this - */ - public function setRaiseTargetCpa($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\RaiseTargetCpaParameters::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * Parameters to use when applying lower Target ROAS recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.LowerTargetRoasParameters lower_target_roas = 21; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\LowerTargetRoasParameters|null - */ - public function getLowerTargetRoas() - { - return $this->readOneof(21); - } - - public function hasLowerTargetRoas() - { - return $this->hasOneof(21); - } - - /** - * Parameters to use when applying lower Target ROAS recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.LowerTargetRoasParameters lower_target_roas = 21; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\LowerTargetRoasParameters $var - * @return $this - */ - public function setLowerTargetRoas($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\LowerTargetRoasParameters::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * Parameters to use when applying forecasting set target CPA - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetCpaParameters forecasting_set_target_cpa = 22; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetCpaParameters|null - */ - public function getForecastingSetTargetCpa() - { - return $this->readOneof(22); - } - - public function hasForecastingSetTargetCpa() - { - return $this->hasOneof(22); - } - - /** - * Parameters to use when applying forecasting set target CPA - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetCpaParameters forecasting_set_target_cpa = 22; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetCpaParameters $var - * @return $this - */ - public function setForecastingSetTargetCpa($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetCpaParameters::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * Parameters to use when applying set target CPA - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetCpaParameters set_target_cpa = 23; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetCpaParameters|null - */ - public function getSetTargetCpa() - { - return $this->readOneof(23); - } - - public function hasSetTargetCpa() - { - return $this->hasOneof(23); - } - - /** - * Parameters to use when applying set target CPA - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetCpaParameters set_target_cpa = 23; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetCpaParameters $var - * @return $this - */ - public function setSetTargetCpa($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetCpaParameters::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * Parameters to use when applying set target ROAS - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetRoasParameters set_target_roas = 24; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetRoasParameters|null - */ - public function getSetTargetRoas() - { - return $this->readOneof(24); - } - - public function hasSetTargetRoas() - { - return $this->hasOneof(24); - } - - /** - * Parameters to use when applying set target ROAS - * recommendation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetRoasParameters set_target_roas = 24; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetRoasParameters $var - * @return $this - */ - public function setSetTargetRoas($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\ForecastingSetTargetRoasParameters::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * @return string - */ - public function getApplyParameters() - { - return $this->whichOneof("apply_parameters"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/AdAssetApplyParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/AdAssetApplyParameters.php deleted file mode 100644 index ef7a698a0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/AdAssetApplyParameters.php +++ /dev/null @@ -1,162 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters - */ -class AdAssetApplyParameters extends \Google\Protobuf\Internal\Message -{ - /** - * The assets to create and attach to a scope. This may be combined with - * existing_assets in the same call. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset new_assets = 1; - */ - private $new_assets; - /** - * The resource names of existing assets to attach to a scope. This may be - * combined with new_assets in the same call. - * - * Generated from protobuf field repeated string existing_assets = 2; - */ - private $existing_assets; - /** - * Required. The scope at which to apply the assets. Assets at the campaign - * scope level will be applied to the campaign associated with the - * recommendation. Assets at the customer scope will apply to the entire - * account. Assets at the campaign scope will override any attached at the - * customer scope. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScope scope = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $scope = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $new_assets - * The assets to create and attach to a scope. This may be combined with - * existing_assets in the same call. - * @type array|\Google\Protobuf\Internal\RepeatedField $existing_assets - * The resource names of existing assets to attach to a scope. This may be - * combined with new_assets in the same call. - * @type int $scope - * Required. The scope at which to apply the assets. Assets at the campaign - * scope level will be applied to the campaign associated with the - * recommendation. Assets at the customer scope will apply to the entire - * account. Assets at the campaign scope will override any attached at the - * customer scope. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * The assets to create and attach to a scope. This may be combined with - * existing_assets in the same call. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset new_assets = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNewAssets() - { - return $this->new_assets; - } - - /** - * The assets to create and attach to a scope. This may be combined with - * existing_assets in the same call. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Asset new_assets = 1; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Asset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNewAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->new_assets = $arr; - - return $this; - } - - /** - * The resource names of existing assets to attach to a scope. This may be - * combined with new_assets in the same call. - * - * Generated from protobuf field repeated string existing_assets = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExistingAssets() - { - return $this->existing_assets; - } - - /** - * The resource names of existing assets to attach to a scope. This may be - * combined with new_assets in the same call. - * - * Generated from protobuf field repeated string existing_assets = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExistingAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->existing_assets = $arr; - - return $this; - } - - /** - * Required. The scope at which to apply the assets. Assets at the campaign - * scope level will be applied to the campaign associated with the - * recommendation. Assets at the customer scope will apply to the entire - * account. Assets at the campaign scope will override any attached at the - * customer scope. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScope scope = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getScope() - { - return $this->scope; - } - - /** - * Required. The scope at which to apply the assets. Assets at the campaign - * scope level will be applied to the campaign associated with the - * recommendation. Assets at the customer scope will apply to the entire - * account. Assets at the campaign scope will override any attached at the - * customer scope. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScope scope = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setScope($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters\ApplyScope::class); - $this->scope = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AdAssetApplyParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_AdAssetApplyParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/AdAssetApplyParameters/ApplyScope.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/AdAssetApplyParameters/ApplyScope.php deleted file mode 100644 index 544ed3a0e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/AdAssetApplyParameters/ApplyScope.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters.ApplyScope - */ -class ApplyScope -{ - /** - * The apply scope has not been specified. - * - * Generated from protobuf enum UNSPECIFIED = 0; - */ - const UNSPECIFIED = 0; - /** - * Unknown. - * - * Generated from protobuf enum UNKNOWN = 1; - */ - const UNKNOWN = 1; - /** - * Apply at the customer scope. - * - * Generated from protobuf enum CUSTOMER = 2; - */ - const CUSTOMER = 2; - /** - * Apply at the campaign scope. - * - * Generated from protobuf enum CAMPAIGN = 3; - */ - const CAMPAIGN = 3; - - private static $valueToName = [ - self::UNSPECIFIED => 'UNSPECIFIED', - self::UNKNOWN => 'UNKNOWN', - self::CUSTOMER => 'CUSTOMER', - self::CAMPAIGN => 'CAMPAIGN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ApplyScope::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_AdAssetApplyParameters_ApplyScope::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CallAssetParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CallAssetParameters.php deleted file mode 100644 index e9cd24229..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CallAssetParameters.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.CallAssetParameters - */ -class CallAssetParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Call assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $ad_asset_apply_parameters = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters $ad_asset_apply_parameters - * Required. Call assets to be added. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Call assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters|null - */ - public function getAdAssetApplyParameters() - { - return $this->ad_asset_apply_parameters; - } - - public function hasAdAssetApplyParameters() - { - return isset($this->ad_asset_apply_parameters); - } - - public function clearAdAssetApplyParameters() - { - unset($this->ad_asset_apply_parameters); - } - - /** - * Required. Call assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters $var - * @return $this - */ - public function setAdAssetApplyParameters($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters::class); - $this->ad_asset_apply_parameters = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CallAssetParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_CallAssetParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CallExtensionParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CallExtensionParameters.php deleted file mode 100644 index 0fc3e20f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CallExtensionParameters.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.CallExtensionParameters - */ -class CallExtensionParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Call extensions to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CallFeedItem call_extensions = 1; - */ - private $call_extensions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\CallFeedItem>|\Google\Protobuf\Internal\RepeatedField $call_extensions - * Call extensions to be added. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Call extensions to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CallFeedItem call_extensions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCallExtensions() - { - return $this->call_extensions; - } - - /** - * Call extensions to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CallFeedItem call_extensions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\CallFeedItem>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCallExtensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CallFeedItem::class); - $this->call_extensions = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CallExtensionParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_CallExtensionParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CalloutAssetParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CalloutAssetParameters.php deleted file mode 100644 index 9a484ee29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CalloutAssetParameters.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutAssetParameters - */ -class CalloutAssetParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Callout assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $ad_asset_apply_parameters = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters $ad_asset_apply_parameters - * Required. Callout assets to be added. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Callout assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters|null - */ - public function getAdAssetApplyParameters() - { - return $this->ad_asset_apply_parameters; - } - - public function hasAdAssetApplyParameters() - { - return isset($this->ad_asset_apply_parameters); - } - - public function clearAdAssetApplyParameters() - { - unset($this->ad_asset_apply_parameters); - } - - /** - * Required. Callout assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters $var - * @return $this - */ - public function setAdAssetApplyParameters($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters::class); - $this->ad_asset_apply_parameters = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CalloutAssetParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_CalloutAssetParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CalloutExtensionParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CalloutExtensionParameters.php deleted file mode 100644 index 4b200c469..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CalloutExtensionParameters.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.CalloutExtensionParameters - */ -class CalloutExtensionParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Callout extensions to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CalloutFeedItem callout_extensions = 1; - */ - private $callout_extensions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\CalloutFeedItem>|\Google\Protobuf\Internal\RepeatedField $callout_extensions - * Callout extensions to be added. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Callout extensions to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CalloutFeedItem callout_extensions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCalloutExtensions() - { - return $this->callout_extensions; - } - - /** - * Callout extensions to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.CalloutFeedItem callout_extensions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\CalloutFeedItem>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCalloutExtensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\CalloutFeedItem::class); - $this->callout_extensions = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CalloutExtensionParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_CalloutExtensionParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CampaignBudgetParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CampaignBudgetParameters.php deleted file mode 100644 index b60cb37c2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/CampaignBudgetParameters.php +++ /dev/null @@ -1,84 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.CampaignBudgetParameters - */ -class CampaignBudgetParameters extends \Google\Protobuf\Internal\Message -{ - /** - * New budget amount to set for target budget resource. This is a required - * field. - * - * Generated from protobuf field optional int64 new_budget_amount_micros = 2; - */ - protected $new_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $new_budget_amount_micros - * New budget amount to set for target budget resource. This is a required - * field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * New budget amount to set for target budget resource. This is a required - * field. - * - * Generated from protobuf field optional int64 new_budget_amount_micros = 2; - * @return int|string - */ - public function getNewBudgetAmountMicros() - { - return isset($this->new_budget_amount_micros) ? $this->new_budget_amount_micros : 0; - } - - public function hasNewBudgetAmountMicros() - { - return isset($this->new_budget_amount_micros); - } - - public function clearNewBudgetAmountMicros() - { - unset($this->new_budget_amount_micros); - } - - /** - * New budget amount to set for target budget resource. This is a required - * field. - * - * Generated from protobuf field optional int64 new_budget_amount_micros = 2; - * @param int|string $var - * @return $this - */ - public function setNewBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->new_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignBudgetParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_CampaignBudgetParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ForecastingSetTargetCpaParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ForecastingSetTargetCpaParameters.php deleted file mode 100644 index 1fc899f29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ForecastingSetTargetCpaParameters.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetCpaParameters - */ -class ForecastingSetTargetCpaParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Average CPA to use for Target CPA bidding strategy. - * - * Generated from protobuf field optional int64 target_cpa_micros = 1; - */ - protected $target_cpa_micros = null; - /** - * New campaign budget amount to set for a campaign resource. - * - * Generated from protobuf field optional int64 campaign_budget_amount_micros = 2; - */ - protected $campaign_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $target_cpa_micros - * Average CPA to use for Target CPA bidding strategy. - * @type int|string $campaign_budget_amount_micros - * New campaign budget amount to set for a campaign resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Average CPA to use for Target CPA bidding strategy. - * - * Generated from protobuf field optional int64 target_cpa_micros = 1; - * @return int|string - */ - public function getTargetCpaMicros() - { - return isset($this->target_cpa_micros) ? $this->target_cpa_micros : 0; - } - - public function hasTargetCpaMicros() - { - return isset($this->target_cpa_micros); - } - - public function clearTargetCpaMicros() - { - unset($this->target_cpa_micros); - } - - /** - * Average CPA to use for Target CPA bidding strategy. - * - * Generated from protobuf field optional int64 target_cpa_micros = 1; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpa_micros = $var; - - return $this; - } - - /** - * New campaign budget amount to set for a campaign resource. - * - * Generated from protobuf field optional int64 campaign_budget_amount_micros = 2; - * @return int|string - */ - public function getCampaignBudgetAmountMicros() - { - return isset($this->campaign_budget_amount_micros) ? $this->campaign_budget_amount_micros : 0; - } - - public function hasCampaignBudgetAmountMicros() - { - return isset($this->campaign_budget_amount_micros); - } - - public function clearCampaignBudgetAmountMicros() - { - unset($this->campaign_budget_amount_micros); - } - - /** - * New campaign budget amount to set for a campaign resource. - * - * Generated from protobuf field optional int64 campaign_budget_amount_micros = 2; - * @param int|string $var - * @return $this - */ - public function setCampaignBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->campaign_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ForecastingSetTargetCpaParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_ForecastingSetTargetCpaParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ForecastingSetTargetRoasParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ForecastingSetTargetRoasParameters.php deleted file mode 100644 index 0dda6058c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ForecastingSetTargetRoasParameters.php +++ /dev/null @@ -1,133 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.ForecastingSetTargetRoasParameters - */ -class ForecastingSetTargetRoasParameters extends \Google\Protobuf\Internal\Message -{ - /** - * New target ROAS (revenue per unit of spend) to set for a campaign - * resource. - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double target_roas = 1; - */ - protected $target_roas = null; - /** - * New campaign budget amount to set for a campaign resource. - * - * Generated from protobuf field optional int64 campaign_budget_amount_micros = 2; - */ - protected $campaign_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_roas - * New target ROAS (revenue per unit of spend) to set for a campaign - * resource. - * The value is between 0.01 and 1000.0, inclusive. - * @type int|string $campaign_budget_amount_micros - * New campaign budget amount to set for a campaign resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * New target ROAS (revenue per unit of spend) to set for a campaign - * resource. - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double target_roas = 1; - * @return float - */ - public function getTargetRoas() - { - return isset($this->target_roas) ? $this->target_roas : 0.0; - } - - public function hasTargetRoas() - { - return isset($this->target_roas); - } - - public function clearTargetRoas() - { - unset($this->target_roas); - } - - /** - * New target ROAS (revenue per unit of spend) to set for a campaign - * resource. - * The value is between 0.01 and 1000.0, inclusive. - * - * Generated from protobuf field optional double target_roas = 1; - * @param float $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->target_roas = $var; - - return $this; - } - - /** - * New campaign budget amount to set for a campaign resource. - * - * Generated from protobuf field optional int64 campaign_budget_amount_micros = 2; - * @return int|string - */ - public function getCampaignBudgetAmountMicros() - { - return isset($this->campaign_budget_amount_micros) ? $this->campaign_budget_amount_micros : 0; - } - - public function hasCampaignBudgetAmountMicros() - { - return isset($this->campaign_budget_amount_micros); - } - - public function clearCampaignBudgetAmountMicros() - { - unset($this->campaign_budget_amount_micros); - } - - /** - * New campaign budget amount to set for a campaign resource. - * - * Generated from protobuf field optional int64 campaign_budget_amount_micros = 2; - * @param int|string $var - * @return $this - */ - public function setCampaignBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->campaign_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ForecastingSetTargetRoasParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_ForecastingSetTargetRoasParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/KeywordParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/KeywordParameters.php deleted file mode 100644 index 32a507282..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/KeywordParameters.php +++ /dev/null @@ -1,162 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.KeywordParameters - */ -class KeywordParameters extends \Google\Protobuf\Internal\Message -{ - /** - * The ad group resource to add keyword to. This is a required field. - * - * Generated from protobuf field optional string ad_group = 4; - */ - protected $ad_group = null; - /** - * The match type of the keyword. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; - */ - protected $match_type = 0; - /** - * Optional, CPC bid to set for the keyword. If not set, keyword will use - * bid based on bidding strategy used by target ad group. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 5; - */ - protected $cpc_bid_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $ad_group - * The ad group resource to add keyword to. This is a required field. - * @type int $match_type - * The match type of the keyword. This is a required field. - * @type int|string $cpc_bid_micros - * Optional, CPC bid to set for the keyword. If not set, keyword will use - * bid based on bidding strategy used by target ad group. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * The ad group resource to add keyword to. This is a required field. - * - * Generated from protobuf field optional string ad_group = 4; - * @return string - */ - public function getAdGroup() - { - return isset($this->ad_group) ? $this->ad_group : ''; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * The ad group resource to add keyword to. This is a required field. - * - * Generated from protobuf field optional string ad_group = 4; - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * The match type of the keyword. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; - * @return int - */ - public function getMatchType() - { - return $this->match_type; - } - - /** - * The match type of the keyword. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; - * @param int $var - * @return $this - */ - public function setMatchType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordMatchTypeEnum\KeywordMatchType::class); - $this->match_type = $var; - - return $this; - } - - /** - * Optional, CPC bid to set for the keyword. If not set, keyword will use - * bid based on bidding strategy used by target ad group. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 5; - * @return int|string - */ - public function getCpcBidMicros() - { - return isset($this->cpc_bid_micros) ? $this->cpc_bid_micros : 0; - } - - public function hasCpcBidMicros() - { - return isset($this->cpc_bid_micros); - } - - public function clearCpcBidMicros() - { - unset($this->cpc_bid_micros); - } - - /** - * Optional, CPC bid to set for the keyword. If not set, keyword will use - * bid based on bidding strategy used by target ad group. - * - * Generated from protobuf field optional int64 cpc_bid_micros = 5; - * @param int|string $var - * @return $this - */ - public function setCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->cpc_bid_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_KeywordParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/LowerTargetRoasParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/LowerTargetRoasParameters.php deleted file mode 100644 index fa75432b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/LowerTargetRoasParameters.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.LowerTargetRoasParameters - */ -class LowerTargetRoasParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Target to set ROAS multiplier to. This is a required field. - * - * Generated from protobuf field double target_roas_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $target_roas_multiplier = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_roas_multiplier - * Required. Target to set ROAS multiplier to. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Target to set ROAS multiplier to. This is a required field. - * - * Generated from protobuf field double target_roas_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return float - */ - public function getTargetRoasMultiplier() - { - return $this->target_roas_multiplier; - } - - /** - * Required. Target to set ROAS multiplier to. This is a required field. - * - * Generated from protobuf field double target_roas_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param float $var - * @return $this - */ - public function setTargetRoasMultiplier($var) - { - GPBUtil::checkDouble($var); - $this->target_roas_multiplier = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LowerTargetRoasParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_LowerTargetRoasParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/MoveUnusedBudgetParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/MoveUnusedBudgetParameters.php deleted file mode 100644 index d4474d21c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/MoveUnusedBudgetParameters.php +++ /dev/null @@ -1,84 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters - */ -class MoveUnusedBudgetParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Budget amount to move from excess budget to constrained budget. This is - * a required field. - * - * Generated from protobuf field optional int64 budget_micros_to_move = 2; - */ - protected $budget_micros_to_move = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $budget_micros_to_move - * Budget amount to move from excess budget to constrained budget. This is - * a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Budget amount to move from excess budget to constrained budget. This is - * a required field. - * - * Generated from protobuf field optional int64 budget_micros_to_move = 2; - * @return int|string - */ - public function getBudgetMicrosToMove() - { - return isset($this->budget_micros_to_move) ? $this->budget_micros_to_move : 0; - } - - public function hasBudgetMicrosToMove() - { - return isset($this->budget_micros_to_move); - } - - public function clearBudgetMicrosToMove() - { - unset($this->budget_micros_to_move); - } - - /** - * Budget amount to move from excess budget to constrained budget. This is - * a required field. - * - * Generated from protobuf field optional int64 budget_micros_to_move = 2; - * @param int|string $var - * @return $this - */ - public function setBudgetMicrosToMove($var) - { - GPBUtil::checkInt64($var); - $this->budget_micros_to_move = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MoveUnusedBudgetParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_MoveUnusedBudgetParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/RaiseTargetCpaBidTooLowParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/RaiseTargetCpaBidTooLowParameters.php deleted file mode 100644 index ad32df597..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/RaiseTargetCpaBidTooLowParameters.php +++ /dev/null @@ -1,76 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaBidTooLowParameters - */ -class RaiseTargetCpaBidTooLowParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Required. A number greater than 1.0 indicating the factor by which to - * increase the target CPA. This is a required field. - * - * Generated from protobuf field double target_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $target_multiplier = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_multiplier - * Required. A number greater than 1.0 indicating the factor by which to - * increase the target CPA. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. A number greater than 1.0 indicating the factor by which to - * increase the target CPA. This is a required field. - * - * Generated from protobuf field double target_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return float - */ - public function getTargetMultiplier() - { - return $this->target_multiplier; - } - - /** - * Required. A number greater than 1.0 indicating the factor by which to - * increase the target CPA. This is a required field. - * - * Generated from protobuf field double target_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param float $var - * @return $this - */ - public function setTargetMultiplier($var) - { - GPBUtil::checkDouble($var); - $this->target_multiplier = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RaiseTargetCpaBidTooLowParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_RaiseTargetCpaBidTooLowParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/RaiseTargetCpaParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/RaiseTargetCpaParameters.php deleted file mode 100644 index c8306c4ab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/RaiseTargetCpaParameters.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.RaiseTargetCpaParameters - */ -class RaiseTargetCpaParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Target to set CPA multiplier to. This is a required field. - * - * Generated from protobuf field double target_cpa_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $target_cpa_multiplier = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_cpa_multiplier - * Required. Target to set CPA multiplier to. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Target to set CPA multiplier to. This is a required field. - * - * Generated from protobuf field double target_cpa_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return float - */ - public function getTargetCpaMultiplier() - { - return $this->target_cpa_multiplier; - } - - /** - * Required. Target to set CPA multiplier to. This is a required field. - * - * Generated from protobuf field double target_cpa_multiplier = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param float $var - * @return $this - */ - public function setTargetCpaMultiplier($var) - { - GPBUtil::checkDouble($var); - $this->target_cpa_multiplier = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RaiseTargetCpaParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_RaiseTargetCpaParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdAssetParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdAssetParameters.php deleted file mode 100644 index ecbc8d503..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdAssetParameters.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdAssetParameters - */ -class ResponsiveSearchAdAssetParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Updated ad. The current ad's content will be replaced. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad updated_ad = 1; - */ - protected $updated_ad = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $updated_ad - * Updated ad. The current ad's content will be replaced. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Updated ad. The current ad's content will be replaced. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad updated_ad = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getUpdatedAd() - { - return $this->updated_ad; - } - - public function hasUpdatedAd() - { - return isset($this->updated_ad); - } - - public function clearUpdatedAd() - { - unset($this->updated_ad); - } - - /** - * Updated ad. The current ad's content will be replaced. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad updated_ad = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setUpdatedAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->updated_ad = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResponsiveSearchAdAssetParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_ResponsiveSearchAdAssetParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdImproveAdStrengthParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdImproveAdStrengthParameters.php deleted file mode 100644 index 685167b38..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdImproveAdStrengthParameters.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdImproveAdStrengthParameters - */ -class ResponsiveSearchAdImproveAdStrengthParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Updated ad. The current ad's content will be replaced. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad updated_ad = 1; - */ - protected $updated_ad = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $updated_ad - * Updated ad. The current ad's content will be replaced. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Updated ad. The current ad's content will be replaced. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad updated_ad = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getUpdatedAd() - { - return $this->updated_ad; - } - - public function hasUpdatedAd() - { - return isset($this->updated_ad); - } - - public function clearUpdatedAd() - { - unset($this->updated_ad); - } - - /** - * Updated ad. The current ad's content will be replaced. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad updated_ad = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setUpdatedAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->updated_ad = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResponsiveSearchAdImproveAdStrengthParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_ResponsiveSearchAdImproveAdStrengthParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdParameters.php deleted file mode 100644 index 0359c8208..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/ResponsiveSearchAdParameters.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.ResponsiveSearchAdParameters - */ -class ResponsiveSearchAdParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Required. New ad to add to recommended ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $ad = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $ad - * Required. New ad to add to recommended ad group. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. New ad to add to recommended ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getAd() - { - return $this->ad; - } - - public function hasAd() - { - return isset($this->ad); - } - - public function clearAd() - { - unset($this->ad); - } - - /** - * Required. New ad to add to recommended ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->ad = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ResponsiveSearchAdParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_ResponsiveSearchAdParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/SitelinkAssetParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/SitelinkAssetParameters.php deleted file mode 100644 index 6e07b3693..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/SitelinkAssetParameters.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkAssetParameters - */ -class SitelinkAssetParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Sitelink assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $ad_asset_apply_parameters = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters $ad_asset_apply_parameters - * Required. Sitelink assets to be added. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Sitelink assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters|null - */ - public function getAdAssetApplyParameters() - { - return $this->ad_asset_apply_parameters; - } - - public function hasAdAssetApplyParameters() - { - return isset($this->ad_asset_apply_parameters); - } - - public function clearAdAssetApplyParameters() - { - unset($this->ad_asset_apply_parameters); - } - - /** - * Required. Sitelink assets to be added. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ApplyRecommendationOperation.AdAssetApplyParameters ad_asset_apply_parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters $var - * @return $this - */ - public function setAdAssetApplyParameters($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation\AdAssetApplyParameters::class); - $this->ad_asset_apply_parameters = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SitelinkAssetParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_SitelinkAssetParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/SitelinkExtensionParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/SitelinkExtensionParameters.php deleted file mode 100644 index abd3cb157..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/SitelinkExtensionParameters.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.SitelinkExtensionParameters - */ -class SitelinkExtensionParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Sitelinks to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.SitelinkFeedItem sitelink_extensions = 1; - */ - private $sitelink_extensions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\SitelinkFeedItem>|\Google\Protobuf\Internal\RepeatedField $sitelink_extensions - * Sitelinks to be added. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Sitelinks to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.SitelinkFeedItem sitelink_extensions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSitelinkExtensions() - { - return $this->sitelink_extensions; - } - - /** - * Sitelinks to be added. This is a required field. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.SitelinkFeedItem sitelink_extensions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\SitelinkFeedItem>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSitelinkExtensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\SitelinkFeedItem::class); - $this->sitelink_extensions = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SitelinkExtensionParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_SitelinkExtensionParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TargetCpaOptInParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TargetCpaOptInParameters.php deleted file mode 100644 index 594da8fe6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TargetCpaOptInParameters.php +++ /dev/null @@ -1,128 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetCpaOptInParameters - */ -class TargetCpaOptInParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Average CPA to use for Target CPA bidding strategy. This is a required - * field. - * - * Generated from protobuf field optional int64 target_cpa_micros = 3; - */ - protected $target_cpa_micros = null; - /** - * Optional, budget amount to set for the campaign. - * - * Generated from protobuf field optional int64 new_campaign_budget_amount_micros = 4; - */ - protected $new_campaign_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $target_cpa_micros - * Average CPA to use for Target CPA bidding strategy. This is a required - * field. - * @type int|string $new_campaign_budget_amount_micros - * Optional, budget amount to set for the campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Average CPA to use for Target CPA bidding strategy. This is a required - * field. - * - * Generated from protobuf field optional int64 target_cpa_micros = 3; - * @return int|string - */ - public function getTargetCpaMicros() - { - return isset($this->target_cpa_micros) ? $this->target_cpa_micros : 0; - } - - public function hasTargetCpaMicros() - { - return isset($this->target_cpa_micros); - } - - public function clearTargetCpaMicros() - { - unset($this->target_cpa_micros); - } - - /** - * Average CPA to use for Target CPA bidding strategy. This is a required - * field. - * - * Generated from protobuf field optional int64 target_cpa_micros = 3; - * @param int|string $var - * @return $this - */ - public function setTargetCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->target_cpa_micros = $var; - - return $this; - } - - /** - * Optional, budget amount to set for the campaign. - * - * Generated from protobuf field optional int64 new_campaign_budget_amount_micros = 4; - * @return int|string - */ - public function getNewCampaignBudgetAmountMicros() - { - return isset($this->new_campaign_budget_amount_micros) ? $this->new_campaign_budget_amount_micros : 0; - } - - public function hasNewCampaignBudgetAmountMicros() - { - return isset($this->new_campaign_budget_amount_micros); - } - - public function clearNewCampaignBudgetAmountMicros() - { - unset($this->new_campaign_budget_amount_micros); - } - - /** - * Optional, budget amount to set for the campaign. - * - * Generated from protobuf field optional int64 new_campaign_budget_amount_micros = 4; - * @param int|string $var - * @return $this - */ - public function setNewCampaignBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->new_campaign_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetCpaOptInParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_TargetCpaOptInParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TargetRoasOptInParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TargetRoasOptInParameters.php deleted file mode 100644 index 68d5c3dfc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TargetRoasOptInParameters.php +++ /dev/null @@ -1,132 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.TargetRoasOptInParameters - */ -class TargetRoasOptInParameters extends \Google\Protobuf\Internal\Message -{ - /** - * Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - * strategy. The value is between 0.01 and 1000.0, inclusive. This is a - * required field, unless new_campaign_budget_amount_micros is set. - * - * Generated from protobuf field optional double target_roas = 1; - */ - protected $target_roas = null; - /** - * Optional, budget amount to set for the campaign. - * - * Generated from protobuf field optional int64 new_campaign_budget_amount_micros = 2; - */ - protected $new_campaign_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $target_roas - * Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - * strategy. The value is between 0.01 and 1000.0, inclusive. This is a - * required field, unless new_campaign_budget_amount_micros is set. - * @type int|string $new_campaign_budget_amount_micros - * Optional, budget amount to set for the campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - * strategy. The value is between 0.01 and 1000.0, inclusive. This is a - * required field, unless new_campaign_budget_amount_micros is set. - * - * Generated from protobuf field optional double target_roas = 1; - * @return float - */ - public function getTargetRoas() - { - return isset($this->target_roas) ? $this->target_roas : 0.0; - } - - public function hasTargetRoas() - { - return isset($this->target_roas); - } - - public function clearTargetRoas() - { - unset($this->target_roas); - } - - /** - * Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - * strategy. The value is between 0.01 and 1000.0, inclusive. This is a - * required field, unless new_campaign_budget_amount_micros is set. - * - * Generated from protobuf field optional double target_roas = 1; - * @param float $var - * @return $this - */ - public function setTargetRoas($var) - { - GPBUtil::checkDouble($var); - $this->target_roas = $var; - - return $this; - } - - /** - * Optional, budget amount to set for the campaign. - * - * Generated from protobuf field optional int64 new_campaign_budget_amount_micros = 2; - * @return int|string - */ - public function getNewCampaignBudgetAmountMicros() - { - return isset($this->new_campaign_budget_amount_micros) ? $this->new_campaign_budget_amount_micros : 0; - } - - public function hasNewCampaignBudgetAmountMicros() - { - return isset($this->new_campaign_budget_amount_micros); - } - - public function clearNewCampaignBudgetAmountMicros() - { - unset($this->new_campaign_budget_amount_micros); - } - - /** - * Optional, budget amount to set for the campaign. - * - * Generated from protobuf field optional int64 new_campaign_budget_amount_micros = 2; - * @param int|string $var - * @return $this - */ - public function setNewCampaignBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->new_campaign_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TargetRoasOptInParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_TargetRoasOptInParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TextAdParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TextAdParameters.php deleted file mode 100644 index 420d2d472..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/TextAdParameters.php +++ /dev/null @@ -1,84 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.TextAdParameters - */ -class TextAdParameters extends \Google\Protobuf\Internal\Message -{ - /** - * New ad to add to recommended ad group. All necessary fields need to be - * set in this message. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1; - */ - protected $ad = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $ad - * New ad to add to recommended ad group. All necessary fields need to be - * set in this message. This is a required field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * New ad to add to recommended ad group. All necessary fields need to be - * set in this message. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getAd() - { - return $this->ad; - } - - public function hasAd() - { - return isset($this->ad); - } - - public function clearAd() - { - unset($this->ad); - } - - /** - * New ad to add to recommended ad group. All necessary fields need to be - * set in this message. This is a required field. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->ad = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TextAdParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_TextAdParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/UseBroadMatchKeywordParameters.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/UseBroadMatchKeywordParameters.php deleted file mode 100644 index 092b13077..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationOperation/UseBroadMatchKeywordParameters.php +++ /dev/null @@ -1,80 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationOperation.UseBroadMatchKeywordParameters - */ -class UseBroadMatchKeywordParameters extends \Google\Protobuf\Internal\Message -{ - /** - * New budget amount to set for target budget resource. - * - * Generated from protobuf field optional int64 new_budget_amount_micros = 1; - */ - protected $new_budget_amount_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $new_budget_amount_micros - * New budget amount to set for target budget resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * New budget amount to set for target budget resource. - * - * Generated from protobuf field optional int64 new_budget_amount_micros = 1; - * @return int|string - */ - public function getNewBudgetAmountMicros() - { - return isset($this->new_budget_amount_micros) ? $this->new_budget_amount_micros : 0; - } - - public function hasNewBudgetAmountMicros() - { - return isset($this->new_budget_amount_micros); - } - - public function clearNewBudgetAmountMicros() - { - unset($this->new_budget_amount_micros); - } - - /** - * New budget amount to set for target budget resource. - * - * Generated from protobuf field optional int64 new_budget_amount_micros = 1; - * @param int|string $var - * @return $this - */ - public function setNewBudgetAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->new_budget_amount_micros = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UseBroadMatchKeywordParameters::class, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation_UseBroadMatchKeywordParameters::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationRequest.php deleted file mode 100644 index 3bf76ebce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationRequest.php +++ /dev/null @@ -1,173 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationRequest - */ -class ApplyRecommendationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to apply recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried - * out as a transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - - /** - * @param string $customerId Required. The ID of the customer with the recommendation. - * @param \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation[] $operations Required. The list of operations to apply recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer with the recommendation. - * @type array<\Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to apply recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried - * out as a transaction if and only if they are all valid. - * Default is false. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to apply recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to apply recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ApplyRecommendationOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried - * out as a transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried - * out as a transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationResponse.php deleted file mode 100644 index 5ae23ddf6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationResponse.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationResponse - */ -class ApplyRecommendationResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results of operations to apply recommendations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ApplyRecommendationResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\ApplyRecommendationResult>|\Google\Protobuf\Internal\RepeatedField $results - * Results of operations to apply recommendations. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Results of operations to apply recommendations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ApplyRecommendationResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * Results of operations to apply recommendations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ApplyRecommendationResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\ApplyRecommendationResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationResult.php b/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationResult.php deleted file mode 100644 index 73111381c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ApplyRecommendationResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.ApplyRecommendationResult - */ -class ApplyRecommendationResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful applies. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful applies. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful applies. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful applies. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetOperation.php deleted file mode 100644 index 400fea2e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.AssetGroupAssetOperation - */ -class AssetGroupAssetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset $create - * Create operation: No resource name is expected for the new asset group - * asset. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset $update - * Update operation: The asset group asset is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed asset group asset is - * expected, in this format: - * `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupAssetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new asset group - * asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupAsset create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new asset group - * asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupAsset create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The asset group asset is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupAsset update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The asset group asset is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupAsset update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed asset group asset is - * expected, in this format: - * `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed asset group asset is - * expected, in this format: - * `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceClient.php deleted file mode 100644 index 5bf854743..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AssetGroupAssetService/MutateAssetGroupAssets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterOperation.php deleted file mode 100644 index f7f71c281..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterOperation.php +++ /dev/null @@ -1,206 +0,0 @@ -google.ads.googleads.v15.services.AssetGroupListingGroupFilterOperation - */ -class AssetGroupListingGroupFilterOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter $create - * Create operation: No resource name is expected for the new asset group - * listing group filter. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter $update - * Update operation: The asset group listing group filter is expected to - * have a valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed asset group listing - * group filter is expected, in this format: - * `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - * An entity can be removed only if it's not referenced by other - * parent_listing_group_id. If multiple entities are being deleted, the - * mutates must be in the correct order. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new asset group - * listing group filter. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new asset group - * listing group filter. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The asset group listing group filter is expected to - * have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The asset group listing group filter is expected to - * have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed asset group listing - * group filter is expected, in this format: - * `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - * An entity can be removed only if it's not referenced by other - * parent_listing_group_id. If multiple entities are being deleted, the - * mutates must be in the correct order. - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed asset group listing - * group filter is expected, in this format: - * `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - * An entity can be removed only if it's not referenced by other - * parent_listing_group_id. If multiple entities are being deleted, the - * mutates must be in the correct order. - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceClient.php deleted file mode 100644 index a6c7060ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AssetGroupListingGroupFilterService/MutateAssetGroupListingGroupFilters', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFiltersResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AssetGroupOperation.php deleted file mode 100644 index 2caf1ecea..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.AssetGroupOperation - */ -class AssetGroupOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroup $create - * Create operation: No resource name is expected for the new asset group - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroup $update - * Update operation: The asset group is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed asset group is - * expected, in this format: - * `customers/{customer_id}/assetGroups/{asset_group_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new asset group - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroup create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroup|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new asset group - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroup create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroup $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroup::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The asset group is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroup update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroup|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The asset group is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroup update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroup $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroup::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed asset group is - * expected, in this format: - * `customers/{customer_id}/assetGroups/{asset_group_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed asset group is - * expected, in this format: - * `customers/{customer_id}/assetGroups/{asset_group_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceClient.php deleted file mode 100644 index 434fd6b3f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AssetGroupService/MutateAssetGroups', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalOperation.php deleted file mode 100644 index 584e78126..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalOperation.php +++ /dev/null @@ -1,179 +0,0 @@ -google.ads.googleads.v15.services.AssetGroupSignalOperation - */ -class AssetGroupSignalOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $exempt_policy_violation_keys; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\PolicyViolationKey>|\Google\Protobuf\Internal\RepeatedField $exempt_policy_violation_keys - * Optional. The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal $create - * Create operation: No resource name is expected for the new asset group - * signal. - * @type string $remove - * Remove operation: A resource name for the removed asset group signal is - * expected, in this format: - * `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupSignalService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExemptPolicyViolationKeys() - { - return $this->exempt_policy_violation_keys; - } - - /** - * Optional. The list of policy violation keys that should not cause a - * PolicyViolationError to be reported. Not all policy violations are - * exemptable, refer to the is_exemptible field in the returned - * PolicyViolationError. - * Resources violating these polices will be saved, but will not be eligible - * to serve. They may begin serving at a later time due to a change in - * policies, re-review of the resource, or a change in advertiser - * certificates. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Ads\GoogleAds\V15\Common\PolicyViolationKey>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExemptPolicyViolationKeys($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\PolicyViolationKey::class); - $this->exempt_policy_violation_keys = $arr; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new asset group - * signal. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupSignal create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new asset group - * signal. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupSignal create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed asset group signal is - * expected, in this format: - * `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed asset group signal is - * expected, in this format: - * `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceClient.php deleted file mode 100644 index a130161cd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AssetGroupSignalService/MutateAssetGroupSignals', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AssetOperation.php deleted file mode 100644 index a54995dc1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetOperation.php +++ /dev/null @@ -1,161 +0,0 @@ -google.ads.googleads.v15.services.AssetOperation - */ -class AssetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\Asset $create - * Create operation: No resource name is expected for the new asset. - * @type \Google\Ads\GoogleAds\V15\Resources\Asset $update - * Update operation: The asset is expected to have a valid resource name in - * this format: - * `customers/{customer_id}/assets/{asset_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Asset|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Asset $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The asset is expected to have a valid resource name in - * this format: - * `customers/{customer_id}/assets/{asset_id}` - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Asset|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The asset is expected to have a valid resource name in - * this format: - * `customers/{customer_id}/assets/{asset_id}` - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Asset $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AssetServiceClient.php deleted file mode 100644 index 85209e6ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AssetService/MutateAssets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAssetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetOperation.php deleted file mode 100644 index ef3189b8a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.AssetSetAssetOperation - */ -class AssetSetAssetOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset $create - * Create operation: No resource name is expected for the new asset set - * asset - * @type string $remove - * Remove operation: A resource name for the removed asset set asset is - * expected, in this format: - * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetSetAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new asset set - * asset - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new asset set - * asset - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed asset set asset is - * expected, in this format: - * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed asset set asset is - * expected, in this format: - * `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceClient.php deleted file mode 100644 index fd7b71f59..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AssetSetAssetService/MutateAssetSetAssets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetSetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AssetSetOperation.php deleted file mode 100644 index fc3c34df5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetSetOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.AssetSetOperation - */ -class AssetSetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSet $create - * Create operation: No resource name is expected for the new asset set - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSet $update - * Update operation: The asset set is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed asset set is - * expected, in this format: - * `customers/{customer_id}/assetSets/{asset_set_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new asset set - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSet|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new asset set - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSet $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The asset set is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSet|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The asset set is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSet $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSet::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed asset set is - * expected, in this format: - * `customers/{customer_id}/assetSets/{asset_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed asset set is - * expected, in this format: - * `customers/{customer_id}/assetSets/{asset_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AssetSetServiceClient.php deleted file mode 100644 index 1fed76c90..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetSetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.services.AudienceCompositionAttribute - */ -class AudienceCompositionAttribute extends \Google\Protobuf\Internal\Message -{ - /** - * The attribute with its metadata. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata attribute_metadata = 1; - */ - protected $attribute_metadata = null; - /** - * Share and index metrics for the attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceCompositionMetrics metrics = 2; - */ - protected $metrics = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata $attribute_metadata - * The attribute with its metadata. - * @type \Google\Ads\GoogleAds\V15\Services\AudienceCompositionMetrics $metrics - * Share and index metrics for the attribute. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The attribute with its metadata. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata attribute_metadata = 1; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata|null - */ - public function getAttributeMetadata() - { - return $this->attribute_metadata; - } - - public function hasAttributeMetadata() - { - return isset($this->attribute_metadata); - } - - public function clearAttributeMetadata() - { - unset($this->attribute_metadata); - } - - /** - * The attribute with its metadata. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata attribute_metadata = 1; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata $var - * @return $this - */ - public function setAttributeMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata::class); - $this->attribute_metadata = $var; - - return $this; - } - - /** - * Share and index metrics for the attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceCompositionMetrics metrics = 2; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceCompositionMetrics|null - */ - public function getMetrics() - { - return $this->metrics; - } - - public function hasMetrics() - { - return isset($this->metrics); - } - - public function clearMetrics() - { - unset($this->metrics); - } - - /** - * Share and index metrics for the attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceCompositionMetrics metrics = 2; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceCompositionMetrics $var - * @return $this - */ - public function setMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceCompositionMetrics::class); - $this->metrics = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionAttributeCluster.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionAttributeCluster.php deleted file mode 100644 index 47c50b6af..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionAttributeCluster.php +++ /dev/null @@ -1,158 +0,0 @@ -google.ads.googleads.v15.services.AudienceCompositionAttributeCluster - */ -class AudienceCompositionAttributeCluster extends \Google\Protobuf\Internal\Message -{ - /** - * The name of this cluster of attributes - * - * Generated from protobuf field string cluster_display_name = 1; - */ - protected $cluster_display_name = ''; - /** - * If the dimension associated with this cluster is YOUTUBE_CHANNEL, then - * cluster_metrics are metrics associated with the cluster as a whole. - * For other dimensions, this field is unset. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceCompositionMetrics cluster_metrics = 3; - */ - protected $cluster_metrics = null; - /** - * The individual attributes that make up this cluster, with metadata and - * metrics. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttribute attributes = 4; - */ - private $attributes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $cluster_display_name - * The name of this cluster of attributes - * @type \Google\Ads\GoogleAds\V15\Services\AudienceCompositionMetrics $cluster_metrics - * If the dimension associated with this cluster is YOUTUBE_CHANNEL, then - * cluster_metrics are metrics associated with the cluster as a whole. - * For other dimensions, this field is unset. - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttribute>|\Google\Protobuf\Internal\RepeatedField $attributes - * The individual attributes that make up this cluster, with metadata and - * metrics. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The name of this cluster of attributes - * - * Generated from protobuf field string cluster_display_name = 1; - * @return string - */ - public function getClusterDisplayName() - { - return $this->cluster_display_name; - } - - /** - * The name of this cluster of attributes - * - * Generated from protobuf field string cluster_display_name = 1; - * @param string $var - * @return $this - */ - public function setClusterDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->cluster_display_name = $var; - - return $this; - } - - /** - * If the dimension associated with this cluster is YOUTUBE_CHANNEL, then - * cluster_metrics are metrics associated with the cluster as a whole. - * For other dimensions, this field is unset. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceCompositionMetrics cluster_metrics = 3; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceCompositionMetrics|null - */ - public function getClusterMetrics() - { - return $this->cluster_metrics; - } - - public function hasClusterMetrics() - { - return isset($this->cluster_metrics); - } - - public function clearClusterMetrics() - { - unset($this->cluster_metrics); - } - - /** - * If the dimension associated with this cluster is YOUTUBE_CHANNEL, then - * cluster_metrics are metrics associated with the cluster as a whole. - * For other dimensions, this field is unset. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceCompositionMetrics cluster_metrics = 3; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceCompositionMetrics $var - * @return $this - */ - public function setClusterMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceCompositionMetrics::class); - $this->cluster_metrics = $var; - - return $this; - } - - /** - * The individual attributes that make up this cluster, with metadata and - * metrics. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttribute attributes = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * The individual attributes that make up this cluster, with metadata and - * metrics. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttribute attributes = 4; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttribute>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttribute::class); - $this->attributes = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionMetrics.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionMetrics.php deleted file mode 100644 index b55992432..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionMetrics.php +++ /dev/null @@ -1,182 +0,0 @@ -google.ads.googleads.v15.services.AudienceCompositionMetrics - */ -class AudienceCompositionMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * The fraction (from 0 to 1 inclusive) of the baseline audience that match - * the attribute. - * - * Generated from protobuf field double baseline_audience_share = 1; - */ - protected $baseline_audience_share = 0.0; - /** - * The fraction (from 0 to 1 inclusive) of the specific audience that match - * the attribute. - * - * Generated from protobuf field double audience_share = 2; - */ - protected $audience_share = 0.0; - /** - * The ratio of audience_share to baseline_audience_share, or zero if this - * ratio is undefined or is not meaningful. - * - * Generated from protobuf field double index = 3; - */ - protected $index = 0.0; - /** - * A relevance score from 0 to 1 inclusive. - * - * Generated from protobuf field double score = 4; - */ - protected $score = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $baseline_audience_share - * The fraction (from 0 to 1 inclusive) of the baseline audience that match - * the attribute. - * @type float $audience_share - * The fraction (from 0 to 1 inclusive) of the specific audience that match - * the attribute. - * @type float $index - * The ratio of audience_share to baseline_audience_share, or zero if this - * ratio is undefined or is not meaningful. - * @type float $score - * A relevance score from 0 to 1 inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The fraction (from 0 to 1 inclusive) of the baseline audience that match - * the attribute. - * - * Generated from protobuf field double baseline_audience_share = 1; - * @return float - */ - public function getBaselineAudienceShare() - { - return $this->baseline_audience_share; - } - - /** - * The fraction (from 0 to 1 inclusive) of the baseline audience that match - * the attribute. - * - * Generated from protobuf field double baseline_audience_share = 1; - * @param float $var - * @return $this - */ - public function setBaselineAudienceShare($var) - { - GPBUtil::checkDouble($var); - $this->baseline_audience_share = $var; - - return $this; - } - - /** - * The fraction (from 0 to 1 inclusive) of the specific audience that match - * the attribute. - * - * Generated from protobuf field double audience_share = 2; - * @return float - */ - public function getAudienceShare() - { - return $this->audience_share; - } - - /** - * The fraction (from 0 to 1 inclusive) of the specific audience that match - * the attribute. - * - * Generated from protobuf field double audience_share = 2; - * @param float $var - * @return $this - */ - public function setAudienceShare($var) - { - GPBUtil::checkDouble($var); - $this->audience_share = $var; - - return $this; - } - - /** - * The ratio of audience_share to baseline_audience_share, or zero if this - * ratio is undefined or is not meaningful. - * - * Generated from protobuf field double index = 3; - * @return float - */ - public function getIndex() - { - return $this->index; - } - - /** - * The ratio of audience_share to baseline_audience_share, or zero if this - * ratio is undefined or is not meaningful. - * - * Generated from protobuf field double index = 3; - * @param float $var - * @return $this - */ - public function setIndex($var) - { - GPBUtil::checkDouble($var); - $this->index = $var; - - return $this; - } - - /** - * A relevance score from 0 to 1 inclusive. - * - * Generated from protobuf field double score = 4; - * @return float - */ - public function getScore() - { - return $this->score; - } - - /** - * A relevance score from 0 to 1 inclusive. - * - * Generated from protobuf field double score = 4; - * @param float $var - * @return $this - */ - public function setScore($var) - { - GPBUtil::checkDouble($var); - $this->score = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionSection.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionSection.php deleted file mode 100644 index 2b34d6053..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceCompositionSection.php +++ /dev/null @@ -1,144 +0,0 @@ -google.ads.googleads.v15.services.AudienceCompositionSection - */ -class AudienceCompositionSection extends \Google\Protobuf\Internal\Message -{ - /** - * The type of the attributes in this section. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - */ - protected $dimension = 0; - /** - * The most relevant segments for this audience. If dimension is GENDER, - * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttribute top_attributes = 3; - */ - private $top_attributes; - /** - * Additional attributes for this audience, grouped into clusters. Only - * populated if dimension is YOUTUBE_CHANNEL. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttributeCluster clustered_attributes = 4; - */ - private $clustered_attributes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $dimension - * The type of the attributes in this section. - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttribute>|\Google\Protobuf\Internal\RepeatedField $top_attributes - * The most relevant segments for this audience. If dimension is GENDER, - * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttributeCluster>|\Google\Protobuf\Internal\RepeatedField $clustered_attributes - * Additional attributes for this audience, grouped into clusters. Only - * populated if dimension is YOUTUBE_CHANNEL. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The type of the attributes in this section. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - * @return int - */ - public function getDimension() - { - return $this->dimension; - } - - /** - * The type of the attributes in this section. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - * @param int $var - * @return $this - */ - public function setDimension($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension::class); - $this->dimension = $var; - - return $this; - } - - /** - * The most relevant segments for this audience. If dimension is GENDER, - * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttribute top_attributes = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTopAttributes() - { - return $this->top_attributes; - } - - /** - * The most relevant segments for this audience. If dimension is GENDER, - * AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttribute top_attributes = 3; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttribute>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTopAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttribute::class); - $this->top_attributes = $arr; - - return $this; - } - - /** - * Additional attributes for this audience, grouped into clusters. Only - * populated if dimension is YOUTUBE_CHANNEL. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttributeCluster clustered_attributes = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getClusteredAttributes() - { - return $this->clustered_attributes; - } - - /** - * Additional attributes for this audience, grouped into clusters. Only - * populated if dimension is YOUTUBE_CHANNEL. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionAttributeCluster clustered_attributes = 4; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttributeCluster>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setClusteredAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceCompositionAttributeCluster::class); - $this->clustered_attributes = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsAttribute.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsAttribute.php deleted file mode 100644 index 759119e9f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsAttribute.php +++ /dev/null @@ -1,379 +0,0 @@ -google.ads.googleads.v15.services.AudienceInsightsAttribute - */ -class AudienceInsightsAttribute extends \Google\Protobuf\Internal\Message -{ - protected $attribute; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo $age_range - * An audience attribute defined by an age range. - * @type \Google\Ads\GoogleAds\V15\Common\GenderInfo $gender - * An audience attribute defined by a gender. - * @type \Google\Ads\GoogleAds\V15\Common\LocationInfo $location - * An audience attribute defined by a geographic location. - * @type \Google\Ads\GoogleAds\V15\Common\UserInterestInfo $user_interest - * An Affinity or In-Market audience. - * @type \Google\Ads\GoogleAds\V15\Services\AudienceInsightsEntity $entity - * An audience attribute defined by interest in a topic represented by a - * Knowledge Graph entity. - * @type \Google\Ads\GoogleAds\V15\Services\AudienceInsightsCategory $category - * An audience attribute defined by interest in a Product & Service - * category. - * @type \Google\Ads\GoogleAds\V15\Services\AudienceInsightsDynamicLineup $dynamic_lineup - * A YouTube Dynamic Lineup - * @type \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo $parental_status - * A Parental Status value (parent, or not a parent). - * @type \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo $income_range - * A household income percentile range. - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $youtube_channel - * A YouTube channel. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * An audience attribute defined by an age range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AgeRangeInfo age_range = 1; - * @return \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo|null - */ - public function getAgeRange() - { - return $this->readOneof(1); - } - - public function hasAgeRange() - { - return $this->hasOneof(1); - } - - /** - * An audience attribute defined by an age range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.AgeRangeInfo age_range = 1; - * @param \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo $var - * @return $this - */ - public function setAgeRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * An audience attribute defined by a gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 2; - * @return \Google\Ads\GoogleAds\V15\Common\GenderInfo|null - */ - public function getGender() - { - return $this->readOneof(2); - } - - public function hasGender() - { - return $this->hasOneof(2); - } - - /** - * An audience attribute defined by a gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 2; - * @param \Google\Ads\GoogleAds\V15\Common\GenderInfo $var - * @return $this - */ - public function setGender($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\GenderInfo::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * An audience attribute defined by a geographic location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo location = 3; - * @return \Google\Ads\GoogleAds\V15\Common\LocationInfo|null - */ - public function getLocation() - { - return $this->readOneof(3); - } - - public function hasLocation() - { - return $this->hasOneof(3); - } - - /** - * An audience attribute defined by a geographic location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo location = 3; - * @param \Google\Ads\GoogleAds\V15\Common\LocationInfo $var - * @return $this - */ - public function setLocation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * An Affinity or In-Market audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserInterestInfo user_interest = 4; - * @return \Google\Ads\GoogleAds\V15\Common\UserInterestInfo|null - */ - public function getUserInterest() - { - return $this->readOneof(4); - } - - public function hasUserInterest() - { - return $this->hasOneof(4); - } - - /** - * An Affinity or In-Market audience. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserInterestInfo user_interest = 4; - * @param \Google\Ads\GoogleAds\V15\Common\UserInterestInfo $var - * @return $this - */ - public function setUserInterest($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserInterestInfo::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * An audience attribute defined by interest in a topic represented by a - * Knowledge Graph entity. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsEntity entity = 5; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceInsightsEntity|null - */ - public function getEntity() - { - return $this->readOneof(5); - } - - public function hasEntity() - { - return $this->hasOneof(5); - } - - /** - * An audience attribute defined by interest in a topic represented by a - * Knowledge Graph entity. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsEntity entity = 5; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceInsightsEntity $var - * @return $this - */ - public function setEntity($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsEntity::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * An audience attribute defined by interest in a Product & Service - * category. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsCategory category = 6; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceInsightsCategory|null - */ - public function getCategory() - { - return $this->readOneof(6); - } - - public function hasCategory() - { - return $this->hasOneof(6); - } - - /** - * An audience attribute defined by interest in a Product & Service - * category. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsCategory category = 6; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceInsightsCategory $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsCategory::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * A YouTube Dynamic Lineup - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsDynamicLineup dynamic_lineup = 7; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceInsightsDynamicLineup|null - */ - public function getDynamicLineup() - { - return $this->readOneof(7); - } - - public function hasDynamicLineup() - { - return $this->hasOneof(7); - } - - /** - * A YouTube Dynamic Lineup - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsDynamicLineup dynamic_lineup = 7; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceInsightsDynamicLineup $var - * @return $this - */ - public function setDynamicLineup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsDynamicLineup::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * A Parental Status value (parent, or not a parent). - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 8; - * @return \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo|null - */ - public function getParentalStatus() - { - return $this->readOneof(8); - } - - public function hasParentalStatus() - { - return $this->hasOneof(8); - } - - /** - * A Parental Status value (parent, or not a parent). - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 8; - * @param \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo $var - * @return $this - */ - public function setParentalStatus($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * A household income percentile range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.IncomeRangeInfo income_range = 9; - * @return \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo|null - */ - public function getIncomeRange() - { - return $this->readOneof(9); - } - - public function hasIncomeRange() - { - return $this->hasOneof(9); - } - - /** - * A household income percentile range. - * - * Generated from protobuf field .google.ads.googleads.v15.common.IncomeRangeInfo income_range = 9; - * @param \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo $var - * @return $this - */ - public function setIncomeRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * A YouTube channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 10; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo|null - */ - public function getYoutubeChannel() - { - return $this->readOneof(10); - } - - public function hasYoutubeChannel() - { - return $this->hasOneof(10); - } - - /** - * A YouTube channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 10; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $var - * @return $this - */ - public function setYoutubeChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * @return string - */ - public function getAttribute() - { - return $this->whichOneof("attribute"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsAttributeMetadata.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsAttributeMetadata.php deleted file mode 100644 index 53f9ec6a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsAttributeMetadata.php +++ /dev/null @@ -1,342 +0,0 @@ -google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata - */ -class AudienceInsightsAttributeMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The type of the attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - */ - protected $dimension = 0; - /** - * The attribute itself. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsAttribute attribute = 2; - */ - protected $attribute = null; - /** - * The human-readable name of the attribute. - * - * Generated from protobuf field string display_name = 3; - */ - protected $display_name = ''; - /** - * A relevance score for this attribute, between 0 and 1. - * - * Generated from protobuf field double score = 4; - */ - protected $score = 0.0; - /** - * A string that supplements the display_name to identify the attribute. - * If the dimension is TOPIC, this is a brief description of the - * Knowledge Graph entity, such as "American singer-songwriter". - * If the dimension is CATEGORY, this is the complete path to the category in - * The Product & Service taxonomy, for example - * "/Apparel/Clothing/Outerwear". - * - * Generated from protobuf field string display_info = 5; - */ - protected $display_info = ''; - protected $dimension_metadata; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $dimension - * The type of the attribute. - * @type \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttribute $attribute - * The attribute itself. - * @type string $display_name - * The human-readable name of the attribute. - * @type float $score - * A relevance score for this attribute, between 0 and 1. - * @type string $display_info - * A string that supplements the display_name to identify the attribute. - * If the dimension is TOPIC, this is a brief description of the - * Knowledge Graph entity, such as "American singer-songwriter". - * If the dimension is CATEGORY, this is the complete path to the category in - * The Product & Service taxonomy, for example - * "/Apparel/Clothing/Outerwear". - * @type \Google\Ads\GoogleAds\V15\Services\YouTubeChannelAttributeMetadata $youtube_channel_metadata - * Special metadata for a YouTube channel. - * @type \Google\Ads\GoogleAds\V15\Services\DynamicLineupAttributeMetadata $dynamic_attribute_metadata - * Special metadata for a YouTube Dynamic Lineup. - * @type \Google\Ads\GoogleAds\V15\Services\LocationAttributeMetadata $location_attribute_metadata - * Special metadata for a Location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The type of the attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - * @return int - */ - public function getDimension() - { - return $this->dimension; - } - - /** - * The type of the attribute. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - * @param int $var - * @return $this - */ - public function setDimension($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension::class); - $this->dimension = $var; - - return $this; - } - - /** - * The attribute itself. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsAttribute attribute = 2; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttribute|null - */ - public function getAttribute() - { - return $this->attribute; - } - - public function hasAttribute() - { - return isset($this->attribute); - } - - public function clearAttribute() - { - unset($this->attribute); - } - - /** - * The attribute itself. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsAttribute attribute = 2; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttribute $var - * @return $this - */ - public function setAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttribute::class); - $this->attribute = $var; - - return $this; - } - - /** - * The human-readable name of the attribute. - * - * Generated from protobuf field string display_name = 3; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * The human-readable name of the attribute. - * - * Generated from protobuf field string display_name = 3; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * A relevance score for this attribute, between 0 and 1. - * - * Generated from protobuf field double score = 4; - * @return float - */ - public function getScore() - { - return $this->score; - } - - /** - * A relevance score for this attribute, between 0 and 1. - * - * Generated from protobuf field double score = 4; - * @param float $var - * @return $this - */ - public function setScore($var) - { - GPBUtil::checkDouble($var); - $this->score = $var; - - return $this; - } - - /** - * A string that supplements the display_name to identify the attribute. - * If the dimension is TOPIC, this is a brief description of the - * Knowledge Graph entity, such as "American singer-songwriter". - * If the dimension is CATEGORY, this is the complete path to the category in - * The Product & Service taxonomy, for example - * "/Apparel/Clothing/Outerwear". - * - * Generated from protobuf field string display_info = 5; - * @return string - */ - public function getDisplayInfo() - { - return $this->display_info; - } - - /** - * A string that supplements the display_name to identify the attribute. - * If the dimension is TOPIC, this is a brief description of the - * Knowledge Graph entity, such as "American singer-songwriter". - * If the dimension is CATEGORY, this is the complete path to the category in - * The Product & Service taxonomy, for example - * "/Apparel/Clothing/Outerwear". - * - * Generated from protobuf field string display_info = 5; - * @param string $var - * @return $this - */ - public function setDisplayInfo($var) - { - GPBUtil::checkString($var, True); - $this->display_info = $var; - - return $this; - } - - /** - * Special metadata for a YouTube channel. - * - * Generated from protobuf field .google.ads.googleads.v15.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6; - * @return \Google\Ads\GoogleAds\V15\Services\YouTubeChannelAttributeMetadata|null - */ - public function getYoutubeChannelMetadata() - { - return $this->readOneof(6); - } - - public function hasYoutubeChannelMetadata() - { - return $this->hasOneof(6); - } - - /** - * Special metadata for a YouTube channel. - * - * Generated from protobuf field .google.ads.googleads.v15.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6; - * @param \Google\Ads\GoogleAds\V15\Services\YouTubeChannelAttributeMetadata $var - * @return $this - */ - public function setYoutubeChannelMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\YouTubeChannelAttributeMetadata::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Special metadata for a YouTube Dynamic Lineup. - * - * Generated from protobuf field .google.ads.googleads.v15.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7; - * @return \Google\Ads\GoogleAds\V15\Services\DynamicLineupAttributeMetadata|null - */ - public function getDynamicAttributeMetadata() - { - return $this->readOneof(7); - } - - public function hasDynamicAttributeMetadata() - { - return $this->hasOneof(7); - } - - /** - * Special metadata for a YouTube Dynamic Lineup. - * - * Generated from protobuf field .google.ads.googleads.v15.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7; - * @param \Google\Ads\GoogleAds\V15\Services\DynamicLineupAttributeMetadata $var - * @return $this - */ - public function setDynamicAttributeMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\DynamicLineupAttributeMetadata::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Special metadata for a Location. - * - * Generated from protobuf field .google.ads.googleads.v15.services.LocationAttributeMetadata location_attribute_metadata = 8; - * @return \Google\Ads\GoogleAds\V15\Services\LocationAttributeMetadata|null - */ - public function getLocationAttributeMetadata() - { - return $this->readOneof(8); - } - - public function hasLocationAttributeMetadata() - { - return $this->hasOneof(8); - } - - /** - * Special metadata for a Location. - * - * Generated from protobuf field .google.ads.googleads.v15.services.LocationAttributeMetadata location_attribute_metadata = 8; - * @param \Google\Ads\GoogleAds\V15\Services\LocationAttributeMetadata $var - * @return $this - */ - public function setLocationAttributeMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\LocationAttributeMetadata::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * @return string - */ - public function getDimensionMetadata() - { - return $this->whichOneof("dimension_metadata"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsCategory.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsCategory.php deleted file mode 100644 index 633e28f28..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsCategory.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.AudienceInsightsCategory - */ -class AudienceInsightsCategory extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The criterion id of the category. - * - * Generated from protobuf field string category_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $category_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $category_id - * Required. The criterion id of the category. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The criterion id of the category. - * - * Generated from protobuf field string category_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCategoryId() - { - return $this->category_id; - } - - /** - * Required. The criterion id of the category. - * - * Generated from protobuf field string category_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCategoryId($var) - { - GPBUtil::checkString($var, True); - $this->category_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsDynamicLineup.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsDynamicLineup.php deleted file mode 100644 index dafcdab9c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsDynamicLineup.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.AudienceInsightsDynamicLineup - */ -class AudienceInsightsDynamicLineup extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The numeric ID of the dynamic lineup. - * - * Generated from protobuf field string dynamic_lineup_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $dynamic_lineup_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $dynamic_lineup_id - * Required. The numeric ID of the dynamic lineup. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The numeric ID of the dynamic lineup. - * - * Generated from protobuf field string dynamic_lineup_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDynamicLineupId() - { - return $this->dynamic_lineup_id; - } - - /** - * Required. The numeric ID of the dynamic lineup. - * - * Generated from protobuf field string dynamic_lineup_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDynamicLineupId($var) - { - GPBUtil::checkString($var, True); - $this->dynamic_lineup_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsEntity.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsEntity.php deleted file mode 100644 index a2e2905ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsEntity.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.AudienceInsightsEntity - */ -class AudienceInsightsEntity extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The machine id (mid) of the Knowledge Graph entity. - * - * Generated from protobuf field string knowledge_graph_machine_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $knowledge_graph_machine_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $knowledge_graph_machine_id - * Required. The machine id (mid) of the Knowledge Graph entity. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The machine id (mid) of the Knowledge Graph entity. - * - * Generated from protobuf field string knowledge_graph_machine_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getKnowledgeGraphMachineId() - { - return $this->knowledge_graph_machine_id; - } - - /** - * Required. The machine id (mid) of the Knowledge Graph entity. - * - * Generated from protobuf field string knowledge_graph_machine_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setKnowledgeGraphMachineId($var) - { - GPBUtil::checkString($var, True); - $this->knowledge_graph_machine_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceClient.php deleted file mode 100644 index 9e0de42db..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateInsightsFinderReport', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GenerateInsightsFinderReportResponse', 'decode'], - $metadata, $options); - } - - /** - * Searches for audience attributes that can be used to generate insights. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\ListAudienceInsightsAttributesRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function ListAudienceInsightsAttributes(\Google\Ads\GoogleAds\V15\Services\ListAudienceInsightsAttributesRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.AudienceInsightsService/ListAudienceInsightsAttributes', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListAudienceInsightsAttributesResponse', 'decode'], - $metadata, $options); - } - - /** - * Lists date ranges for which audience insights data can be requested. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\ListInsightsEligibleDatesRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function ListInsightsEligibleDates(\Google\Ads\GoogleAds\V15\Services\ListInsightsEligibleDatesRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.AudienceInsightsService/ListInsightsEligibleDates', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListInsightsEligibleDatesResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns a collection of attributes that are represented in an audience of - * interest, with metrics that compare each attribute's share of the audience - * with its share of a baseline audience. - * - * List of thrown errors: - * [AudienceInsightsError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\GenerateAudienceCompositionInsightsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function GenerateAudienceCompositionInsights(\Google\Ads\GoogleAds\V15\Services\GenerateAudienceCompositionInsightsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateAudienceCompositionInsights', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GenerateAudienceCompositionInsightsResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns a collection of targeting insights (e.g. targetable audiences) that - * are relevant to the requested audience. - * - * List of thrown errors: - * [AudienceInsightsError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\GenerateSuggestedTargetingInsightsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function GenerateSuggestedTargetingInsights(\Google\Ads\GoogleAds\V15\Services\GenerateSuggestedTargetingInsightsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateSuggestedTargetingInsights', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GenerateSuggestedTargetingInsightsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsTopic.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsTopic.php deleted file mode 100644 index 6e55a1793..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceInsightsTopic.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.services.AudienceInsightsTopic - */ -class AudienceInsightsTopic extends \Google\Protobuf\Internal\Message -{ - protected $topic; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\AudienceInsightsEntity $entity - * A Knowledge Graph entity - * @type \Google\Ads\GoogleAds\V15\Services\AudienceInsightsCategory $category - * A Product & Service category - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * A Knowledge Graph entity - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsEntity entity = 1; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceInsightsEntity|null - */ - public function getEntity() - { - return $this->readOneof(1); - } - - public function hasEntity() - { - return $this->hasOneof(1); - } - - /** - * A Knowledge Graph entity - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsEntity entity = 1; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceInsightsEntity $var - * @return $this - */ - public function setEntity($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsEntity::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * A Product & Service category - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsCategory category = 2; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceInsightsCategory|null - */ - public function getCategory() - { - return $this->readOneof(2); - } - - public function hasCategory() - { - return $this->hasOneof(2); - } - - /** - * A Product & Service category - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceInsightsCategory category = 2; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceInsightsCategory $var - * @return $this - */ - public function setCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsCategory::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getTopic() - { - return $this->whichOneof("topic"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceOperation.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceOperation.php deleted file mode 100644 index 4a28e4a03..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceOperation.php +++ /dev/null @@ -1,155 +0,0 @@ -google.ads.googleads.v15.services.AudienceOperation - */ -class AudienceOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\Audience $create - * Create operation: No resource name is expected for the new audience - * @type \Google\Ads\GoogleAds\V15\Resources\Audience $update - * Update operation: The audience is expected to have a valid resource - * name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new audience - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Audience|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new audience - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Audience $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Audience::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The audience is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Audience|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The audience is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Audience $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Audience::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceServiceClient.php deleted file mode 100644 index 86590dd85..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.AudienceService/MutateAudiences', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAudiencesResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/AudienceTargeting.php b/src/Google/Ads/GoogleAds/V15/Services/AudienceTargeting.php deleted file mode 100644 index f5279c8b5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/AudienceTargeting.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.AudienceTargeting - */ -class AudienceTargeting extends \Google\Protobuf\Internal\Message -{ - /** - * List of audiences based on user interests to be targeted. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserInterestInfo user_interest = 1; - */ - private $user_interest; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\UserInterestInfo>|\Google\Protobuf\Internal\RepeatedField $user_interest - * List of audiences based on user interests to be targeted. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * List of audiences based on user interests to be targeted. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserInterestInfo user_interest = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserInterest() - { - return $this->user_interest; - } - - /** - * List of audiences based on user interests to be targeted. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserInterestInfo user_interest = 1; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserInterestInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserInterest($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserInterestInfo::class); - $this->user_interest = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BasicInsightsAudience.php b/src/Google/Ads/GoogleAds/V15/Services/BasicInsightsAudience.php deleted file mode 100644 index 41ffd8b4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BasicInsightsAudience.php +++ /dev/null @@ -1,267 +0,0 @@ -google.ads.googleads.v15.services.BasicInsightsAudience - */ -class BasicInsightsAudience extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The countries for this audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $country_location; - /** - * Sub-country geographic location attributes. If present, each of these - * must be contained in one of the countries in this audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo sub_country_locations = 2; - */ - private $sub_country_locations; - /** - * Gender for the audience. If absent, the audience does not restrict by - * gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - */ - protected $gender = null; - /** - * Age ranges for the audience. If absent, the audience represents all people - * over 18 that match the other attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 4; - */ - private $age_ranges; - /** - * User interests defining this audience. Affinity and In-Market audiences - * are supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserInterestInfo user_interests = 5; - */ - private $user_interests; - /** - * Topics, represented by Knowledge Graph entities and/or Product & Service - * categories, that this audience is interested in. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsTopic topics = 6; - */ - private $topics; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $country_location - * Required. The countries for this audience. - * @type array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $sub_country_locations - * Sub-country geographic location attributes. If present, each of these - * must be contained in one of the countries in this audience. - * @type \Google\Ads\GoogleAds\V15\Common\GenderInfo $gender - * Gender for the audience. If absent, the audience does not restrict by - * gender. - * @type array<\Google\Ads\GoogleAds\V15\Common\AgeRangeInfo>|\Google\Protobuf\Internal\RepeatedField $age_ranges - * Age ranges for the audience. If absent, the audience represents all people - * over 18 that match the other attributes. - * @type array<\Google\Ads\GoogleAds\V15\Common\UserInterestInfo>|\Google\Protobuf\Internal\RepeatedField $user_interests - * User interests defining this audience. Affinity and In-Market audiences - * are supported. - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsTopic>|\Google\Protobuf\Internal\RepeatedField $topics - * Topics, represented by Knowledge Graph entities and/or Product & Service - * categories, that this audience is interested in. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The countries for this audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCountryLocation() - { - return $this->country_location; - } - - /** - * Required. The countries for this audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo country_location = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCountryLocation($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->country_location = $arr; - - return $this; - } - - /** - * Sub-country geographic location attributes. If present, each of these - * must be contained in one of the countries in this audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo sub_country_locations = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSubCountryLocations() - { - return $this->sub_country_locations; - } - - /** - * Sub-country geographic location attributes. If present, each of these - * must be contained in one of the countries in this audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo sub_country_locations = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSubCountryLocations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->sub_country_locations = $arr; - - return $this; - } - - /** - * Gender for the audience. If absent, the audience does not restrict by - * gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - * @return \Google\Ads\GoogleAds\V15\Common\GenderInfo|null - */ - public function getGender() - { - return $this->gender; - } - - public function hasGender() - { - return isset($this->gender); - } - - public function clearGender() - { - unset($this->gender); - } - - /** - * Gender for the audience. If absent, the audience does not restrict by - * gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - * @param \Google\Ads\GoogleAds\V15\Common\GenderInfo $var - * @return $this - */ - public function setGender($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\GenderInfo::class); - $this->gender = $var; - - return $this; - } - - /** - * Age ranges for the audience. If absent, the audience represents all people - * over 18 that match the other attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAgeRanges() - { - return $this->age_ranges; - } - - /** - * Age ranges for the audience. If absent, the audience represents all people - * over 18 that match the other attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AgeRangeInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAgeRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo::class); - $this->age_ranges = $arr; - - return $this; - } - - /** - * User interests defining this audience. Affinity and In-Market audiences - * are supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserInterestInfo user_interests = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserInterests() - { - return $this->user_interests; - } - - /** - * User interests defining this audience. Affinity and In-Market audiences - * are supported. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserInterestInfo user_interests = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserInterestInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserInterests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserInterestInfo::class); - $this->user_interests = $arr; - - return $this; - } - - /** - * Topics, represented by Knowledge Graph entities and/or Product & Service - * categories, that this audience is interested in. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsTopic topics = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTopics() - { - return $this->topics; - } - - /** - * Topics, represented by Knowledge Graph entities and/or Product & Service - * categories, that this audience is interested in. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsTopic topics = 6; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsTopic>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTopics($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsTopic::class); - $this->topics = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BatchJobOperation.php b/src/Google/Ads/GoogleAds/V15/Services/BatchJobOperation.php deleted file mode 100644 index 9841e88dc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BatchJobOperation.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.services.BatchJobOperation - */ -class BatchJobOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\BatchJob $create - * Create operation: No resource name is expected for the new batch job. - * @type string $remove - * Remove operation: The batch job must not have been run. A resource name - * for the removed batch job is expected, in this format: - * `customers/{customer_id}/batchJobs/{batch_job_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BatchJob create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\BatchJob|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BatchJob create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\BatchJob $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BatchJob::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: The batch job must not have been run. A resource name - * for the removed batch job is expected, in this format: - * `customers/{customer_id}/batchJobs/{batch_job_id}` - * - * Generated from protobuf field string remove = 4 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(4); - } - - public function hasRemove() - { - return $this->hasOneof(4); - } - - /** - * Remove operation: The batch job must not have been run. A resource name - * for the removed batch job is expected, in this format: - * `customers/{customer_id}/batchJobs/{batch_job_id}` - * - * Generated from protobuf field string remove = 4 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BatchJobResult.php b/src/Google/Ads/GoogleAds/V15/Services/BatchJobResult.php deleted file mode 100644 index f76114325..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BatchJobResult.php +++ /dev/null @@ -1,159 +0,0 @@ -google.ads.googleads.v15.services.BatchJobResult - */ -class BatchJobResult extends \Google\Protobuf\Internal\Message -{ - /** - * Index of the mutate operation. - * - * Generated from protobuf field int64 operation_index = 1; - */ - protected $operation_index = 0; - /** - * Response for the mutate. - * May be empty if errors occurred. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateOperationResponse mutate_operation_response = 2; - */ - protected $mutate_operation_response = null; - /** - * Details of the errors when processing the operation. - * - * Generated from protobuf field .google.rpc.Status status = 3; - */ - protected $status = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $operation_index - * Index of the mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\MutateOperationResponse $mutate_operation_response - * Response for the mutate. - * May be empty if errors occurred. - * @type \Google\Rpc\Status $status - * Details of the errors when processing the operation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * Index of the mutate operation. - * - * Generated from protobuf field int64 operation_index = 1; - * @return int|string - */ - public function getOperationIndex() - { - return $this->operation_index; - } - - /** - * Index of the mutate operation. - * - * Generated from protobuf field int64 operation_index = 1; - * @param int|string $var - * @return $this - */ - public function setOperationIndex($var) - { - GPBUtil::checkInt64($var); - $this->operation_index = $var; - - return $this; - } - - /** - * Response for the mutate. - * May be empty if errors occurred. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateOperationResponse mutate_operation_response = 2; - * @return \Google\Ads\GoogleAds\V15\Services\MutateOperationResponse|null - */ - public function getMutateOperationResponse() - { - return $this->mutate_operation_response; - } - - public function hasMutateOperationResponse() - { - return isset($this->mutate_operation_response); - } - - public function clearMutateOperationResponse() - { - unset($this->mutate_operation_response); - } - - /** - * Response for the mutate. - * May be empty if errors occurred. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateOperationResponse mutate_operation_response = 2; - * @param \Google\Ads\GoogleAds\V15\Services\MutateOperationResponse $var - * @return $this - */ - public function setMutateOperationResponse($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateOperationResponse::class); - $this->mutate_operation_response = $var; - - return $this; - } - - /** - * Details of the errors when processing the operation. - * - * Generated from protobuf field .google.rpc.Status status = 3; - * @return \Google\Rpc\Status|null - */ - public function getStatus() - { - return $this->status; - } - - public function hasStatus() - { - return isset($this->status); - } - - public function clearStatus() - { - unset($this->status); - } - - /** - * Details of the errors when processing the operation. - * - * Generated from protobuf field .google.rpc.Status status = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BatchJobServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/BatchJobServiceClient.php deleted file mode 100644 index b9a04d6a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BatchJobServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.BatchJobService/MutateBatchJob', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateBatchJobResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns the results of the batch job. The job must be done. - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\ListBatchJobResultsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function ListBatchJobResults(\Google\Ads\GoogleAds\V15\Services\ListBatchJobResultsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.BatchJobService/ListBatchJobResults', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListBatchJobResultsResponse', 'decode'], - $metadata, $options); - } - - /** - * Runs the batch job. - * - * The Operation.metadata field type is BatchJobMetadata. When finished, the - * long running operation will not contain errors or a response. Instead, use - * ListBatchJobResults to get the results of the job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\RunBatchJobRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function RunBatchJob(\Google\Ads\GoogleAds\V15\Services\RunBatchJobRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.BatchJobService/RunBatchJob', - $argument, - ['\Google\LongRunning\Operation', 'decode'], - $metadata, $options); - } - - /** - * Add operations to the batch job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * @param \Google\Ads\GoogleAds\V15\Services\AddBatchJobOperationsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function AddBatchJobOperations(\Google\Ads\GoogleAds\V15\Services\AddBatchJobOperationsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.BatchJobService/AddBatchJobOperations', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\AddBatchJobOperationsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/BiddableKeyword.php b/src/Google/Ads/GoogleAds/V15/Services/BiddableKeyword.php deleted file mode 100644 index 0c587b0a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BiddableKeyword.php +++ /dev/null @@ -1,133 +0,0 @@ -google.ads.googleads.v15.services.BiddableKeyword - */ -class BiddableKeyword extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Keyword. Must have text and match type. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $keyword = null; - /** - * A max cpc bid in micros that overrides the ad group level max cpc bid in - * forecast simulation. This value will override the max cpc value set in the - * bidding strategy and ad group. Only specify this field for bidding - * strategies that support max cpc values. - * - * Generated from protobuf field optional int64 max_cpc_bid_micros = 2; - */ - protected $max_cpc_bid_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\KeywordInfo $keyword - * Required. Keyword. Must have text and match type. - * @type int|string $max_cpc_bid_micros - * A max cpc bid in micros that overrides the ad group level max cpc bid in - * forecast simulation. This value will override the max cpc value set in the - * bidding strategy and ad group. Only specify this field for bidding - * strategies that support max cpc values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Keyword. Must have text and match type. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordInfo|null - */ - public function getKeyword() - { - return $this->keyword; - } - - public function hasKeyword() - { - return isset($this->keyword); - } - - public function clearKeyword() - { - unset($this->keyword); - } - - /** - * Required. Keyword. Must have text and match type. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordInfo keyword = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordInfo $var - * @return $this - */ - public function setKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->keyword = $var; - - return $this; - } - - /** - * A max cpc bid in micros that overrides the ad group level max cpc bid in - * forecast simulation. This value will override the max cpc value set in the - * bidding strategy and ad group. Only specify this field for bidding - * strategies that support max cpc values. - * - * Generated from protobuf field optional int64 max_cpc_bid_micros = 2; - * @return int|string - */ - public function getMaxCpcBidMicros() - { - return isset($this->max_cpc_bid_micros) ? $this->max_cpc_bid_micros : 0; - } - - public function hasMaxCpcBidMicros() - { - return isset($this->max_cpc_bid_micros); - } - - public function clearMaxCpcBidMicros() - { - unset($this->max_cpc_bid_micros); - } - - /** - * A max cpc bid in micros that overrides the ad group level max cpc bid in - * forecast simulation. This value will override the max cpc value set in the - * bidding strategy and ad group. Only specify this field for bidding - * strategies that support max cpc values. - * - * Generated from protobuf field optional int64 max_cpc_bid_micros = 2; - * @param int|string $var - * @return $this - */ - public function setMaxCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->max_cpc_bid_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionOperation.php b/src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionOperation.php deleted file mode 100644 index 60deab547..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.BiddingDataExclusionOperation - */ -class BiddingDataExclusionOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion $create - * Create operation: No resource name is expected for the new data - * exclusion. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion $update - * Update operation: The data exclusion is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed data exclusion - * is expected, in this format: - * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new data - * exclusion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new data - * exclusion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The data exclusion is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The data exclusion is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed data exclusion - * is expected, in this format: - * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed data exclusion - * is expected, in this format: - * `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceClient.php deleted file mode 100644 index 7d675e280..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.BiddingDataExclusionService/MutateBiddingDataExclusions', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentOperation.php b/src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentOperation.php deleted file mode 100644 index d68dcabb6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentOperation - */ -class BiddingSeasonalityAdjustmentOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment $create - * Create operation: No resource name is expected for the new seasonality - * adjustment. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment $update - * Update operation: The seasonality adjustment is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed seasonality adjustment - * is expected, in this format: - * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new seasonality - * adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new seasonality - * adjustment. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The seasonality adjustment is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The seasonality adjustment is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed seasonality adjustment - * is expected, in this format: - * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed seasonality adjustment - * is expected, in this format: - * `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceClient.php deleted file mode 100644 index 9df5e945c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService/MutateBiddingSeasonalityAdjustments', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyOperation.php b/src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyOperation.php deleted file mode 100644 index 9bc703c97..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.BiddingStrategyOperation - */ -class BiddingStrategyOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy $create - * Create operation: No resource name is expected for the new bidding - * strategy. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy $update - * Update operation: The bidding strategy is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed bidding strategy is - * expected, in this format: - * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingStrategyService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new bidding - * strategy. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new bidding - * strategy. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The bidding strategy is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The bidding strategy is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed bidding strategy is - * expected, in this format: - * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed bidding strategy is - * expected, in this format: - * `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceClient.php deleted file mode 100644 index e23fa8f49..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.BiddingStrategyService/MutateBiddingStrategies', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategiesResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/BillingSetupOperation.php b/src/Google/Ads/GoogleAds/V15/Services/BillingSetupOperation.php deleted file mode 100644 index 125d6eb5e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BillingSetupOperation.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.services.BillingSetupOperation - */ -class BillingSetupOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\BillingSetup $create - * Creates a billing setup. No resource name is expected for the new billing - * setup. - * @type string $remove - * Resource name of the billing setup to remove. A setup cannot be - * removed unless it is in a pending state or its scheduled start time is in - * the future. The resource name looks like - * `customers/{customer_id}/billingSetups/{billing_id}`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BillingSetupService::initOnce(); - parent::__construct($data); - } - - /** - * Creates a billing setup. No resource name is expected for the new billing - * setup. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BillingSetup create = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\BillingSetup|null - */ - public function getCreate() - { - return $this->readOneof(2); - } - - public function hasCreate() - { - return $this->hasOneof(2); - } - - /** - * Creates a billing setup. No resource name is expected for the new billing - * setup. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BillingSetup create = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\BillingSetup $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BillingSetup::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Resource name of the billing setup to remove. A setup cannot be - * removed unless it is in a pending state or its scheduled start time is in - * the future. The resource name looks like - * `customers/{customer_id}/billingSetups/{billing_id}`. - * - * Generated from protobuf field string remove = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(1); - } - - public function hasRemove() - { - return $this->hasOneof(1); - } - - /** - * Resource name of the billing setup to remove. A setup cannot be - * removed unless it is in a pending state or its scheduled start time is in - * the future. The resource name looks like - * `customers/{customer_id}/billingSetups/{billing_id}`. - * - * Generated from protobuf field string remove = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceClient.php deleted file mode 100644 index edca71b85..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.BillingSetupService/MutateBillingSetup', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateBillingSetupResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/BrandSuggestion.php b/src/Google/Ads/GoogleAds/V15/Services/BrandSuggestion.php deleted file mode 100644 index aba5345de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BrandSuggestion.php +++ /dev/null @@ -1,169 +0,0 @@ -google.ads.googleads.v15.services.BrandSuggestion - */ -class BrandSuggestion extends \Google\Protobuf\Internal\Message -{ - /** - * Id for the brand. It would be CKG MID for verified/global scoped brands. - * - * Generated from protobuf field string id = 1; - */ - protected $id = ''; - /** - * Name of the brand. - * - * Generated from protobuf field string name = 2; - */ - protected $name = ''; - /** - * Urls which uniquely identify the brand. - * - * Generated from protobuf field repeated string urls = 3; - */ - private $urls; - /** - * Current state of the brand. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BrandStateEnum.BrandState state = 4; - */ - protected $state = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $id - * Id for the brand. It would be CKG MID for verified/global scoped brands. - * @type string $name - * Name of the brand. - * @type array|\Google\Protobuf\Internal\RepeatedField $urls - * Urls which uniquely identify the brand. - * @type int $state - * Current state of the brand. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BrandSuggestionService::initOnce(); - parent::__construct($data); - } - - /** - * Id for the brand. It would be CKG MID for verified/global scoped brands. - * - * Generated from protobuf field string id = 1; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * Id for the brand. It would be CKG MID for verified/global scoped brands. - * - * Generated from protobuf field string id = 1; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Name of the brand. - * - * Generated from protobuf field string name = 2; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Name of the brand. - * - * Generated from protobuf field string name = 2; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Urls which uniquely identify the brand. - * - * Generated from protobuf field repeated string urls = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUrls() - { - return $this->urls; - } - - /** - * Urls which uniquely identify the brand. - * - * Generated from protobuf field repeated string urls = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUrls($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->urls = $arr; - - return $this; - } - - /** - * Current state of the brand. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BrandStateEnum.BrandState state = 4; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Current state of the brand. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.BrandStateEnum.BrandState state = 4; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\BrandStateEnum\BrandState::class); - $this->state = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceClient.php deleted file mode 100644 index e4fa1e27d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.BrandSuggestionService/SuggestBrands', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SuggestBrandsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CallConversion.php b/src/Google/Ads/GoogleAds/V15/Services/CallConversion.php deleted file mode 100644 index bcc99f416..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CallConversion.php +++ /dev/null @@ -1,411 +0,0 @@ -google.ads.googleads.v15.services.CallConversion - */ -class CallConversion extends \Google\Protobuf\Internal\Message -{ - /** - * The caller id from which this call was placed. Caller id is expected to be - * in E.164 format with preceding '+' sign, for example, "+16502531234". - * - * Generated from protobuf field optional string caller_id = 7; - */ - protected $caller_id = null; - /** - * The date time at which the call occurred. The timezone must be specified. - * The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - * for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string call_start_date_time = 8; - */ - protected $call_start_date_time = null; - /** - * Resource name of the conversion action associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 9; - */ - protected $conversion_action = null; - /** - * The date time at which the conversion occurred. Must be after the call - * time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 10; - */ - protected $conversion_date_time = null; - /** - * The value of the conversion for the advertiser. - * - * Generated from protobuf field optional double conversion_value = 11; - */ - protected $conversion_value = null; - /** - * Currency associated with the conversion value. This is the ISO 4217 - * 3-character currency code. For example: USD, EUR. - * - * Generated from protobuf field optional string currency_code = 12; - */ - protected $currency_code = null; - /** - * The custom variables associated with this conversion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomVariable custom_variables = 13; - */ - private $custom_variables; - /** - * The consent setting for the event. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Consent consent = 14; - */ - protected $consent = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $caller_id - * The caller id from which this call was placed. Caller id is expected to be - * in E.164 format with preceding '+' sign, for example, "+16502531234". - * @type string $call_start_date_time - * The date time at which the call occurred. The timezone must be specified. - * The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - * for example, "2019-01-01 12:32:45-08:00". - * @type string $conversion_action - * Resource name of the conversion action associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * @type string $conversion_date_time - * The date time at which the conversion occurred. Must be after the call - * time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * @type float $conversion_value - * The value of the conversion for the advertiser. - * @type string $currency_code - * Currency associated with the conversion value. This is the ISO 4217 - * 3-character currency code. For example: USD, EUR. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomVariable>|\Google\Protobuf\Internal\RepeatedField $custom_variables - * The custom variables associated with this conversion. - * @type \Google\Ads\GoogleAds\V15\Common\Consent $consent - * The consent setting for the event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * The caller id from which this call was placed. Caller id is expected to be - * in E.164 format with preceding '+' sign, for example, "+16502531234". - * - * Generated from protobuf field optional string caller_id = 7; - * @return string - */ - public function getCallerId() - { - return isset($this->caller_id) ? $this->caller_id : ''; - } - - public function hasCallerId() - { - return isset($this->caller_id); - } - - public function clearCallerId() - { - unset($this->caller_id); - } - - /** - * The caller id from which this call was placed. Caller id is expected to be - * in E.164 format with preceding '+' sign, for example, "+16502531234". - * - * Generated from protobuf field optional string caller_id = 7; - * @param string $var - * @return $this - */ - public function setCallerId($var) - { - GPBUtil::checkString($var, True); - $this->caller_id = $var; - - return $this; - } - - /** - * The date time at which the call occurred. The timezone must be specified. - * The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - * for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string call_start_date_time = 8; - * @return string - */ - public function getCallStartDateTime() - { - return isset($this->call_start_date_time) ? $this->call_start_date_time : ''; - } - - public function hasCallStartDateTime() - { - return isset($this->call_start_date_time); - } - - public function clearCallStartDateTime() - { - unset($this->call_start_date_time); - } - - /** - * The date time at which the call occurred. The timezone must be specified. - * The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - * for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string call_start_date_time = 8; - * @param string $var - * @return $this - */ - public function setCallStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->call_start_date_time = $var; - - return $this; - } - - /** - * Resource name of the conversion action associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 9; - * @return string - */ - public function getConversionAction() - { - return isset($this->conversion_action) ? $this->conversion_action : ''; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * Resource name of the conversion action associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 9; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * The date time at which the conversion occurred. Must be after the call - * time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 10; - * @return string - */ - public function getConversionDateTime() - { - return isset($this->conversion_date_time) ? $this->conversion_date_time : ''; - } - - public function hasConversionDateTime() - { - return isset($this->conversion_date_time); - } - - public function clearConversionDateTime() - { - unset($this->conversion_date_time); - } - - /** - * The date time at which the conversion occurred. Must be after the call - * time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 10; - * @param string $var - * @return $this - */ - public function setConversionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->conversion_date_time = $var; - - return $this; - } - - /** - * The value of the conversion for the advertiser. - * - * Generated from protobuf field optional double conversion_value = 11; - * @return float - */ - public function getConversionValue() - { - return isset($this->conversion_value) ? $this->conversion_value : 0.0; - } - - public function hasConversionValue() - { - return isset($this->conversion_value); - } - - public function clearConversionValue() - { - unset($this->conversion_value); - } - - /** - * The value of the conversion for the advertiser. - * - * Generated from protobuf field optional double conversion_value = 11; - * @param float $var - * @return $this - */ - public function setConversionValue($var) - { - GPBUtil::checkDouble($var); - $this->conversion_value = $var; - - return $this; - } - - /** - * Currency associated with the conversion value. This is the ISO 4217 - * 3-character currency code. For example: USD, EUR. - * - * Generated from protobuf field optional string currency_code = 12; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * Currency associated with the conversion value. This is the ISO 4217 - * 3-character currency code. For example: USD, EUR. - * - * Generated from protobuf field optional string currency_code = 12; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * The custom variables associated with this conversion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomVariable custom_variables = 13; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCustomVariables() - { - return $this->custom_variables; - } - - /** - * The custom variables associated with this conversion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomVariable custom_variables = 13; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomVariable>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCustomVariables($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomVariable::class); - $this->custom_variables = $arr; - - return $this; - } - - /** - * The consent setting for the event. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Consent consent = 14; - * @return \Google\Ads\GoogleAds\V15\Common\Consent|null - */ - public function getConsent() - { - return $this->consent; - } - - public function hasConsent() - { - return isset($this->consent); - } - - public function clearConsent() - { - unset($this->consent); - } - - /** - * The consent setting for the event. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Consent consent = 14; - * @param \Google\Ads\GoogleAds\V15\Common\Consent $var - * @return $this - */ - public function setConsent($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Consent::class); - $this->consent = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CallConversionResult.php b/src/Google/Ads/GoogleAds/V15/Services/CallConversionResult.php deleted file mode 100644 index 9ad90e781..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CallConversionResult.php +++ /dev/null @@ -1,221 +0,0 @@ -google.ads.googleads.v15.services.CallConversionResult - */ -class CallConversionResult extends \Google\Protobuf\Internal\Message -{ - /** - * The caller id from which this call was placed. Caller id is expected to be - * in E.164 format with preceding '+' sign. - * - * Generated from protobuf field optional string caller_id = 5; - */ - protected $caller_id = null; - /** - * The date time at which the call occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string call_start_date_time = 6; - */ - protected $call_start_date_time = null; - /** - * Resource name of the conversion action associated with this conversion. - * - * Generated from protobuf field optional string conversion_action = 7; - */ - protected $conversion_action = null; - /** - * The date time at which the conversion occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 8; - */ - protected $conversion_date_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $caller_id - * The caller id from which this call was placed. Caller id is expected to be - * in E.164 format with preceding '+' sign. - * @type string $call_start_date_time - * The date time at which the call occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * @type string $conversion_action - * Resource name of the conversion action associated with this conversion. - * @type string $conversion_date_time - * The date time at which the conversion occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * The caller id from which this call was placed. Caller id is expected to be - * in E.164 format with preceding '+' sign. - * - * Generated from protobuf field optional string caller_id = 5; - * @return string - */ - public function getCallerId() - { - return isset($this->caller_id) ? $this->caller_id : ''; - } - - public function hasCallerId() - { - return isset($this->caller_id); - } - - public function clearCallerId() - { - unset($this->caller_id); - } - - /** - * The caller id from which this call was placed. Caller id is expected to be - * in E.164 format with preceding '+' sign. - * - * Generated from protobuf field optional string caller_id = 5; - * @param string $var - * @return $this - */ - public function setCallerId($var) - { - GPBUtil::checkString($var, True); - $this->caller_id = $var; - - return $this; - } - - /** - * The date time at which the call occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string call_start_date_time = 6; - * @return string - */ - public function getCallStartDateTime() - { - return isset($this->call_start_date_time) ? $this->call_start_date_time : ''; - } - - public function hasCallStartDateTime() - { - return isset($this->call_start_date_time); - } - - public function clearCallStartDateTime() - { - unset($this->call_start_date_time); - } - - /** - * The date time at which the call occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string call_start_date_time = 6; - * @param string $var - * @return $this - */ - public function setCallStartDateTime($var) - { - GPBUtil::checkString($var, True); - $this->call_start_date_time = $var; - - return $this; - } - - /** - * Resource name of the conversion action associated with this conversion. - * - * Generated from protobuf field optional string conversion_action = 7; - * @return string - */ - public function getConversionAction() - { - return isset($this->conversion_action) ? $this->conversion_action : ''; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * Resource name of the conversion action associated with this conversion. - * - * Generated from protobuf field optional string conversion_action = 7; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * The date time at which the conversion occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 8; - * @return string - */ - public function getConversionDateTime() - { - return isset($this->conversion_date_time) ? $this->conversion_date_time : ''; - } - - public function hasConversionDateTime() - { - return isset($this->conversion_date_time); - } - - public function clearConversionDateTime() - { - unset($this->conversion_date_time); - } - - /** - * The date time at which the conversion occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 8; - * @param string $var - * @return $this - */ - public function setConversionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->conversion_date_time = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetOperation.php deleted file mode 100644 index ff6620785..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CampaignAssetOperation - */ -class CampaignAssetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $create - * Create operation: No resource name is expected for the new campaign - * asset. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $update - * Update operation: The campaign asset is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed campaign asset is - * expected, in this format: - * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignAssetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new campaign - * asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAsset|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign - * asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAsset::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The campaign asset is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset update = 3; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAsset|null - */ - public function getUpdate() - { - return $this->readOneof(3); - } - - public function hasUpdate() - { - return $this->hasOneof(3); - } - - /** - * Update operation: The campaign asset is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset update = 3; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAsset::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign asset is - * expected, in this format: - * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed campaign asset is - * expected, in this format: - * `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceClient.php deleted file mode 100644 index 7d58d794e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignAssetService/MutateCampaignAssets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetOperation.php deleted file mode 100644 index d0b24e2f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.CampaignAssetSetOperation - */ -class CampaignAssetSetOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet $create - * Create operation: No resource name is expected for the new campaign asset - * set. - * @type string $remove - * Remove operation: A resource name for the removed campaign asset set is - * expected, in this format: - * `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new campaign asset - * set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign asset - * set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign asset set is - * expected, in this format: - * `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed campaign asset set is - * expected, in this format: - * `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceClient.php deleted file mode 100644 index 36b15917a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignAssetSetService/MutateCampaignAssetSets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierOperation.php deleted file mode 100644 index 38864c642..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CampaignBidModifierOperation - */ -class CampaignBidModifierOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier $create - * Create operation: No resource name is expected for the new campaign bid - * modifier. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier $update - * Update operation: The campaign bid modifier is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed campaign bid modifier - * is expected, in this format: - * `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignBidModifierService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new campaign bid - * modifier. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign bid - * modifier. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The campaign bid modifier is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The campaign bid modifier is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign bid modifier - * is expected, in this format: - * `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed campaign bid modifier - * is expected, in this format: - * `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceClient.php deleted file mode 100644 index 4553f6444..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignBidModifierService/MutateCampaignBidModifiers', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifiersResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetMapping.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetMapping.php deleted file mode 100644 index 22f770f1d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetMapping.php +++ /dev/null @@ -1,105 +0,0 @@ -google.ads.googleads.v15.services.CampaignBudgetMapping - */ -class CampaignBudgetMapping extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The experiment campaign to graduate. - * - * Generated from protobuf field string experiment_campaign = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $experiment_campaign = ''; - /** - * Required. The budget that should be attached to the graduating experiment - * campaign. - * - * Generated from protobuf field string campaign_budget = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $campaign_budget = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $experiment_campaign - * Required. The experiment campaign to graduate. - * @type string $campaign_budget - * Required. The budget that should be attached to the graduating experiment - * campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The experiment campaign to graduate. - * - * Generated from protobuf field string experiment_campaign = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getExperimentCampaign() - { - return $this->experiment_campaign; - } - - /** - * Required. The experiment campaign to graduate. - * - * Generated from protobuf field string experiment_campaign = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExperimentCampaign($var) - { - GPBUtil::checkString($var, True); - $this->experiment_campaign = $var; - - return $this; - } - - /** - * Required. The budget that should be attached to the graduating experiment - * campaign. - * - * Generated from protobuf field string campaign_budget = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaignBudget() - { - return $this->campaign_budget; - } - - /** - * Required. The budget that should be attached to the graduating experiment - * campaign. - * - * Generated from protobuf field string campaign_budget = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkString($var, True); - $this->campaign_budget = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetOperation.php deleted file mode 100644 index a6d395109..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.CampaignBudgetOperation - */ -class CampaignBudgetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $create - * Create operation: No resource name is expected for the new budget. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $update - * Update operation: The campaign budget is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed budget is expected, in - * this format: - * `customers/{customer_id}/campaignBudgets/{budget_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignBudgetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBudget|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new budget. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBudget::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The campaign budget is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBudget|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The campaign budget is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBudget::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed budget is expected, in - * this format: - * `customers/{customer_id}/campaignBudgets/{budget_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed budget is expected, in - * this format: - * `customers/{customer_id}/campaignBudgets/{budget_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceClient.php deleted file mode 100644 index 3be16a9cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignBudgetService/MutateCampaignBudgets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalOperation.php deleted file mode 100644 index 40d178c79..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalOperation.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.services.CampaignConversionGoalOperation - */ -class CampaignConversionGoalOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal $update - * Update operation: The customer conversion goal is expected to have a - * valid resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Update operation: The customer conversion goal is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignConversionGoal update = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal|null - */ - public function getUpdate() - { - return $this->readOneof(1); - } - - public function hasUpdate() - { - return $this->hasOneof(1); - } - - /** - * Update operation: The customer conversion goal is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignConversionGoal update = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceClient.php deleted file mode 100644 index 02e9a559d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignConversionGoalService/MutateCampaignConversionGoals', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionOperation.php deleted file mode 100644 index 31be60606..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.CampaignCriterionOperation - */ -class CampaignCriterionOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $create - * Create operation: No resource name is expected for the new criterion. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $update - * Update operation: The criterion is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The criterion is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The criterion is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceClient.php deleted file mode 100644 index fe26fa98d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignCriterionService/MutateCampaignCriteria', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignCriteriaResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerOperation.php deleted file mode 100644 index af7dcb75b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.CampaignCustomizerOperation - */ -class CampaignCustomizerOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer $create - * Create operation: No resource name is expected for the new campaign - * customizer - * @type string $remove - * Remove operation: A resource name for the removed campaign customizer is - * expected, in this format: - * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new campaign - * customizer - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCustomizer create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign - * customizer - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCustomizer create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign customizer is - * expected, in this format: - * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed campaign customizer is - * expected, in this format: - * `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceClient.php deleted file mode 100644 index 1b2d35310..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignCustomizerService/MutateCampaignCustomizers', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizersResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignDraftOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignDraftOperation.php deleted file mode 100644 index ef4861ea0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignDraftOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CampaignDraftOperation - */ -class CampaignDraftOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignDraft $create - * Create operation: No resource name is expected for the new campaign - * draft. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignDraft $update - * Update operation: The campaign draft is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: The campaign draft is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignDraftService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new campaign - * draft. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignDraft|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign - * draft. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignDraft $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignDraft::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The campaign draft is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignDraft|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The campaign draft is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignDraft $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignDraft::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: The campaign draft is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: The campaign draft is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceClient.php deleted file mode 100644 index 06035b593..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignDraftService/MutateCampaignDrafts', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftsResponse', 'decode'], - $metadata, $options); - } - - /** - * Promotes the changes in a draft back to the base campaign. - * - * This method returns a Long Running Operation (LRO) indicating if the - * Promote is done. Use [Operations.GetOperation] to poll the LRO until it - * is done. Only a done status is returned in the response. See the status - * in the Campaign Draft resource to determine if the promotion was - * successful. If the LRO failed, use - * [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v15.services.CampaignDraftService.ListCampaignDraftAsyncErrors] - * to view the list of error reasons. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignDraftError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\PromoteCampaignDraftRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function PromoteCampaignDraft(\Google\Ads\GoogleAds\V15\Services\PromoteCampaignDraftRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.CampaignDraftService/PromoteCampaignDraft', - $argument, - ['\Google\LongRunning\Operation', 'decode'], - $metadata, $options); - } - - /** - * Returns all errors that occurred during CampaignDraft promote. Throws an - * error if called before campaign draft is promoted. - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\ListCampaignDraftAsyncErrorsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function ListCampaignDraftAsyncErrors(\Google\Ads\GoogleAds\V15\Services\ListCampaignDraftAsyncErrorsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.CampaignDraftService/ListCampaignDraftAsyncErrors', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListCampaignDraftAsyncErrorsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignDuration.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignDuration.php deleted file mode 100644 index 46396738f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignDuration.php +++ /dev/null @@ -1,141 +0,0 @@ -google.ads.googleads.v15.services.CampaignDuration - */ -class CampaignDuration extends \Google\Protobuf\Internal\Message -{ - /** - * The duration value in days. - * This field cannot be combined with the date_range field. - * - * Generated from protobuf field optional int32 duration_in_days = 2; - */ - protected $duration_in_days = null; - /** - * Date range of the campaign. - * Dates are in the yyyy-mm-dd format and inclusive. - * The end date must be < 1 year in the future and the - * date range must be <= 92 days long. - * This field cannot be combined with the duration_in_days field. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange date_range = 3; - */ - protected $date_range = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $duration_in_days - * The duration value in days. - * This field cannot be combined with the date_range field. - * @type \Google\Ads\GoogleAds\V15\Common\DateRange $date_range - * Date range of the campaign. - * Dates are in the yyyy-mm-dd format and inclusive. - * The end date must be < 1 year in the future and the - * date range must be <= 92 days long. - * This field cannot be combined with the duration_in_days field. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The duration value in days. - * This field cannot be combined with the date_range field. - * - * Generated from protobuf field optional int32 duration_in_days = 2; - * @return int - */ - public function getDurationInDays() - { - return isset($this->duration_in_days) ? $this->duration_in_days : 0; - } - - public function hasDurationInDays() - { - return isset($this->duration_in_days); - } - - public function clearDurationInDays() - { - unset($this->duration_in_days); - } - - /** - * The duration value in days. - * This field cannot be combined with the date_range field. - * - * Generated from protobuf field optional int32 duration_in_days = 2; - * @param int $var - * @return $this - */ - public function setDurationInDays($var) - { - GPBUtil::checkInt32($var); - $this->duration_in_days = $var; - - return $this; - } - - /** - * Date range of the campaign. - * Dates are in the yyyy-mm-dd format and inclusive. - * The end date must be < 1 year in the future and the - * date range must be <= 92 days long. - * This field cannot be combined with the duration_in_days field. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange date_range = 3; - * @return \Google\Ads\GoogleAds\V15\Common\DateRange|null - */ - public function getDateRange() - { - return $this->date_range; - } - - public function hasDateRange() - { - return isset($this->date_range); - } - - public function clearDateRange() - { - unset($this->date_range); - } - - /** - * Date range of the campaign. - * Dates are in the yyyy-mm-dd format and inclusive. - * The end date must be < 1 year in the future and the - * date range must be <= 92 days long. - * This field cannot be combined with the duration_in_days field. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange date_range = 3; - * @param \Google\Ads\GoogleAds\V15\Common\DateRange $var - * @return $this - */ - public function setDateRange($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DateRange::class); - $this->date_range = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingOperation.php deleted file mode 100644 index d915c3c91..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CampaignExtensionSettingOperation - */ -class CampaignExtensionSettingOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting $create - * Create operation: No resource name is expected for the new campaign - * extension setting. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting $update - * Update operation: The campaign extension setting is expected to have a - * valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed campaign extension - * setting is expected, in this format: - * `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new campaign - * extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign - * extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The campaign extension setting is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The campaign extension setting is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign extension - * setting is expected, in this format: - * `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed campaign extension - * setting is expected, in this format: - * `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceClient.php deleted file mode 100644 index dfbb8e0ea..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignFeedOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignFeedOperation.php deleted file mode 100644 index e6022783c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignFeedOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.CampaignFeedOperation - */ -class CampaignFeedOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $create - * Create operation: No resource name is expected for the new campaign feed. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $update - * Update operation: The campaign feed is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed campaign feed is - * expected, in this format: - * `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignFeedService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new campaign feed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignFeed|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign feed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignFeed::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The campaign feed is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignFeed|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The campaign feed is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignFeed::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign feed is - * expected, in this format: - * `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed campaign feed is - * expected, in this format: - * `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceClient.php deleted file mode 100644 index 62f688b69..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignFeedService/MutateCampaignFeeds', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignGroupOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignGroupOperation.php deleted file mode 100644 index 40dcb0896..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignGroupOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CampaignGroupOperation - */ -class CampaignGroupOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignGroup $create - * Create operation: No resource name is expected for the new campaign - * group. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignGroup $update - * Update operation: The campaign group is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed campaign group is - * expected, in this format: - * `customers/{customer_id}/campaignGroups/{campaign_group_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignGroupService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new campaign - * group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignGroup|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign - * group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignGroup $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignGroup::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The campaign group is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignGroup|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The campaign group is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignGroup $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignGroup::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign group is - * expected, in this format: - * `customers/{customer_id}/campaignGroups/{campaign_group_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed campaign group is - * expected, in this format: - * `customers/{customer_id}/campaignGroups/{campaign_group_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceClient.php deleted file mode 100644 index f3316bcc4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignGroupService/MutateCampaignGroups', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignLabelOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignLabelOperation.php deleted file mode 100644 index 44446ac7c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignLabelOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.CampaignLabelOperation - */ -class CampaignLabelOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignLabel $create - * Create operation: No resource name is expected for the new campaign-label - * relationship. - * @type string $remove - * Remove operation: A resource name for the campaign-label relationship - * being removed, in this format: - * `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new campaign-label - * relationship. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLabel create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignLabel|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign-label - * relationship. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLabel create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignLabel $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignLabel::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the campaign-label relationship - * being removed, in this format: - * `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the campaign-label relationship - * being removed, in this format: - * `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceClient.php deleted file mode 100644 index 5df418d6d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignLabelService/MutateCampaignLabels', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalOperation.php deleted file mode 100644 index 6c30502e3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalOperation.php +++ /dev/null @@ -1,141 +0,0 @@ -google.ads.googleads.v15.services.CampaignLifecycleGoalOperation - */ -class CampaignLifecycleGoalOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal $create - * Create operation: to create a new campaign lifecycle goal or update an - * existing campaign lifecycle goal. When creating a new campaign lifecycle - * goal, all required fields, including campaign field, needs to be set. - * Resource name and field mask needs to be empty. When updating an existing - * campaign lifecycle goal, resource name and field mask need to be set, and - * campaign field needs to be empty. Partial update based on field mask is - * supported when updating an existing campaign lifecycle goal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: to create a new campaign lifecycle goal or update an - * existing campaign lifecycle goal. When creating a new campaign lifecycle - * goal, all required fields, including campaign field, needs to be set. - * Resource name and field mask needs to be empty. When updating an existing - * campaign lifecycle goal, resource name and field mask need to be set, and - * campaign field needs to be empty. Partial update based on field mask is - * supported when updating an existing campaign lifecycle goal. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLifecycleGoal create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: to create a new campaign lifecycle goal or update an - * existing campaign lifecycle goal. When creating a new campaign lifecycle - * goal, all required fields, including campaign field, needs to be set. - * Resource name and field mask needs to be empty. When updating an existing - * campaign lifecycle goal, resource name and field mask need to be set, and - * campaign field needs to be empty. Partial update based on field mask is - * supported when updating an existing campaign lifecycle goal. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLifecycleGoal create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceClient.php deleted file mode 100644 index d584415e7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignLifecycleGoalService/ConfigureCampaignLifecycleGoals', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ConfigureCampaignLifecycleGoalsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignOperation.php deleted file mode 100644 index d978772bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.CampaignOperation - */ -class CampaignOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign $create - * Create operation: No resource name is expected for the new campaign. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign $update - * Update operation: The campaign is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed campaign is - * expected, in this format: - * `customers/{customer_id}/campaigns/{campaign_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The campaign is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The campaign is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign is - * expected, in this format: - * `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed campaign is - * expected, in this format: - * `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignServiceClient.php deleted file mode 100644 index 1411f6ea3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignService/MutateCampaigns', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetOperation.php deleted file mode 100644 index 55c6573f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.CampaignSharedSetOperation - */ -class CampaignSharedSetOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet $create - * Create operation: No resource name is expected for the new campaign - * shared set. - * @type string $remove - * Remove operation: A resource name for the removed campaign shared set is - * expected, in this format: - * `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignSharedSetService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new campaign - * shared set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSharedSet create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new campaign - * shared set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSharedSet create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed campaign shared set is - * expected, in this format: - * `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed campaign shared set is - * expected, in this format: - * `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceClient.php deleted file mode 100644 index fe49478d1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CampaignSharedSetService/MutateCampaignSharedSets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignToForecast.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignToForecast.php deleted file mode 100644 index d1490ec23..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignToForecast.php +++ /dev/null @@ -1,319 +0,0 @@ -google.ads.googleads.v15.services.CampaignToForecast - */ -class CampaignToForecast extends \Google\Protobuf\Internal\Message -{ - /** - * The list of resource names of languages to be targeted. The resource name - * is of the format "languageConstants/{criterion_id}". See - * https://developers.google.com/google-ads/api/data/codes-formats#languages - * for the list of language criterion codes. - * - * Generated from protobuf field repeated string language_constants = 1; - */ - private $language_constants; - /** - * Locations to be targeted. Locations must be unique. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CriterionBidModifier geo_modifiers = 2; - */ - private $geo_modifiers; - /** - * Required. The network used for targeting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $keyword_plan_network = 0; - /** - * The list of negative keywords to be used in the campaign when doing the - * forecast. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 4; - */ - private $negative_keywords; - /** - * Required. The bidding strategy for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $bidding_strategy = null; - /** - * The expected conversion rate (number of conversions divided by number of - * total clicks) as defined by the user. This value is expressed as a decimal - * value, so an expected conversion rate of 2% should be entered as 0.02. If - * left empty, an estimated conversion rate will be used. - * - * Generated from protobuf field optional double conversion_rate = 6; - */ - protected $conversion_rate = null; - /** - * The ad groups in the new campaign to forecast. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ForecastAdGroup ad_groups = 7; - */ - private $ad_groups; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $language_constants - * The list of resource names of languages to be targeted. The resource name - * is of the format "languageConstants/{criterion_id}". See - * https://developers.google.com/google-ads/api/data/codes-formats#languages - * for the list of language criterion codes. - * @type array<\Google\Ads\GoogleAds\V15\Services\CriterionBidModifier>|\Google\Protobuf\Internal\RepeatedField $geo_modifiers - * Locations to be targeted. Locations must be unique. - * @type int $keyword_plan_network - * Required. The network used for targeting. - * @type array<\Google\Ads\GoogleAds\V15\Common\KeywordInfo>|\Google\Protobuf\Internal\RepeatedField $negative_keywords - * The list of negative keywords to be used in the campaign when doing the - * forecast. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignToForecast\CampaignBiddingStrategy $bidding_strategy - * Required. The bidding strategy for the campaign. - * @type float $conversion_rate - * The expected conversion rate (number of conversions divided by number of - * total clicks) as defined by the user. This value is expressed as a decimal - * value, so an expected conversion rate of 2% should be entered as 0.02. If - * left empty, an estimated conversion rate will be used. - * @type array<\Google\Ads\GoogleAds\V15\Services\ForecastAdGroup>|\Google\Protobuf\Internal\RepeatedField $ad_groups - * The ad groups in the new campaign to forecast. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The list of resource names of languages to be targeted. The resource name - * is of the format "languageConstants/{criterion_id}". See - * https://developers.google.com/google-ads/api/data/codes-formats#languages - * for the list of language criterion codes. - * - * Generated from protobuf field repeated string language_constants = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLanguageConstants() - { - return $this->language_constants; - } - - /** - * The list of resource names of languages to be targeted. The resource name - * is of the format "languageConstants/{criterion_id}". See - * https://developers.google.com/google-ads/api/data/codes-formats#languages - * for the list of language criterion codes. - * - * Generated from protobuf field repeated string language_constants = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLanguageConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->language_constants = $arr; - - return $this; - } - - /** - * Locations to be targeted. Locations must be unique. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CriterionBidModifier geo_modifiers = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoModifiers() - { - return $this->geo_modifiers; - } - - /** - * Locations to be targeted. Locations must be unique. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CriterionBidModifier geo_modifiers = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\CriterionBidModifier>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoModifiers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CriterionBidModifier::class); - $this->geo_modifiers = $arr; - - return $this; - } - - /** - * Required. The network used for targeting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getKeywordPlanNetwork() - { - return $this->keyword_plan_network; - } - - /** - * Required. The network used for targeting. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setKeywordPlanNetwork($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanNetworkEnum\KeywordPlanNetwork::class); - $this->keyword_plan_network = $var; - - return $this; - } - - /** - * The list of negative keywords to be used in the campaign when doing the - * forecast. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNegativeKeywords() - { - return $this->negative_keywords; - } - - /** - * The list of negative keywords to be used in the campaign when doing the - * forecast. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\KeywordInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNegativeKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->negative_keywords = $arr; - - return $this; - } - - /** - * Required. The bidding strategy for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignToForecast\CampaignBiddingStrategy|null - */ - public function getBiddingStrategy() - { - return $this->bidding_strategy; - } - - public function hasBiddingStrategy() - { - return isset($this->bidding_strategy); - } - - public function clearBiddingStrategy() - { - unset($this->bidding_strategy); - } - - /** - * Required. The bidding strategy for the campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignToForecast.CampaignBiddingStrategy bidding_strategy = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignToForecast\CampaignBiddingStrategy $var - * @return $this - */ - public function setBiddingStrategy($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignToForecast\CampaignBiddingStrategy::class); - $this->bidding_strategy = $var; - - return $this; - } - - /** - * The expected conversion rate (number of conversions divided by number of - * total clicks) as defined by the user. This value is expressed as a decimal - * value, so an expected conversion rate of 2% should be entered as 0.02. If - * left empty, an estimated conversion rate will be used. - * - * Generated from protobuf field optional double conversion_rate = 6; - * @return float - */ - public function getConversionRate() - { - return isset($this->conversion_rate) ? $this->conversion_rate : 0.0; - } - - public function hasConversionRate() - { - return isset($this->conversion_rate); - } - - public function clearConversionRate() - { - unset($this->conversion_rate); - } - - /** - * The expected conversion rate (number of conversions divided by number of - * total clicks) as defined by the user. This value is expressed as a decimal - * value, so an expected conversion rate of 2% should be entered as 0.02. If - * left empty, an estimated conversion rate will be used. - * - * Generated from protobuf field optional double conversion_rate = 6; - * @param float $var - * @return $this - */ - public function setConversionRate($var) - { - GPBUtil::checkDouble($var); - $this->conversion_rate = $var; - - return $this; - } - - /** - * The ad groups in the new campaign to forecast. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ForecastAdGroup ad_groups = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdGroups() - { - return $this->ad_groups; - } - - /** - * The ad groups in the new campaign to forecast. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ForecastAdGroup ad_groups = 7; - * @param array<\Google\Ads\GoogleAds\V15\Services\ForecastAdGroup>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdGroups($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ForecastAdGroup::class); - $this->ad_groups = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CampaignToForecast/CampaignBiddingStrategy.php b/src/Google/Ads/GoogleAds/V15/Services/CampaignToForecast/CampaignBiddingStrategy.php deleted file mode 100644 index 43f418841..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CampaignToForecast/CampaignBiddingStrategy.php +++ /dev/null @@ -1,144 +0,0 @@ -google.ads.googleads.v15.services.CampaignToForecast.CampaignBiddingStrategy - */ -class CampaignBiddingStrategy extends \Google\Protobuf\Internal\Message -{ - protected $bidding_strategy; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\ManualCpcBiddingStrategy $manual_cpc_bidding_strategy - * Use manual CPC bidding strategy for forecasting. - * @type \Google\Ads\GoogleAds\V15\Services\MaximizeClicksBiddingStrategy $maximize_clicks_bidding_strategy - * Use maximize clicks bidding strategy for forecasting. - * @type \Google\Ads\GoogleAds\V15\Services\MaximizeConversionsBiddingStrategy $maximize_conversions_bidding_strategy - * Use maximize conversions bidding strategy for forecasting. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Use manual CPC bidding strategy for forecasting. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ManualCpcBiddingStrategy manual_cpc_bidding_strategy = 1; - * @return \Google\Ads\GoogleAds\V15\Services\ManualCpcBiddingStrategy|null - */ - public function getManualCpcBiddingStrategy() - { - return $this->readOneof(1); - } - - public function hasManualCpcBiddingStrategy() - { - return $this->hasOneof(1); - } - - /** - * Use manual CPC bidding strategy for forecasting. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ManualCpcBiddingStrategy manual_cpc_bidding_strategy = 1; - * @param \Google\Ads\GoogleAds\V15\Services\ManualCpcBiddingStrategy $var - * @return $this - */ - public function setManualCpcBiddingStrategy($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ManualCpcBiddingStrategy::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Use maximize clicks bidding strategy for forecasting. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MaximizeClicksBiddingStrategy maximize_clicks_bidding_strategy = 2; - * @return \Google\Ads\GoogleAds\V15\Services\MaximizeClicksBiddingStrategy|null - */ - public function getMaximizeClicksBiddingStrategy() - { - return $this->readOneof(2); - } - - public function hasMaximizeClicksBiddingStrategy() - { - return $this->hasOneof(2); - } - - /** - * Use maximize clicks bidding strategy for forecasting. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MaximizeClicksBiddingStrategy maximize_clicks_bidding_strategy = 2; - * @param \Google\Ads\GoogleAds\V15\Services\MaximizeClicksBiddingStrategy $var - * @return $this - */ - public function setMaximizeClicksBiddingStrategy($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MaximizeClicksBiddingStrategy::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Use maximize conversions bidding strategy for forecasting. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MaximizeConversionsBiddingStrategy maximize_conversions_bidding_strategy = 3; - * @return \Google\Ads\GoogleAds\V15\Services\MaximizeConversionsBiddingStrategy|null - */ - public function getMaximizeConversionsBiddingStrategy() - { - return $this->readOneof(3); - } - - public function hasMaximizeConversionsBiddingStrategy() - { - return $this->hasOneof(3); - } - - /** - * Use maximize conversions bidding strategy for forecasting. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MaximizeConversionsBiddingStrategy maximize_conversions_bidding_strategy = 3; - * @param \Google\Ads\GoogleAds\V15\Services\MaximizeConversionsBiddingStrategy $var - * @return $this - */ - public function setMaximizeConversionsBiddingStrategy($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MaximizeConversionsBiddingStrategy::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getBiddingStrategy() - { - return $this->whichOneof("bidding_strategy"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CampaignBiddingStrategy::class, \Google\Ads\GoogleAds\V15\Services\CampaignToForecast_CampaignBiddingStrategy::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CartData.php b/src/Google/Ads/GoogleAds/V15/Services/CartData.php deleted file mode 100644 index a08435e7d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CartData.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.CartData - */ -class CartData extends \Google\Protobuf\Internal\Message -{ - /** - * The Merchant Center ID where the items are uploaded. - * - * Generated from protobuf field int64 merchant_id = 6; - */ - protected $merchant_id = 0; - /** - * The country code associated with the feed where the items are uploaded. - * - * Generated from protobuf field string feed_country_code = 2; - */ - protected $feed_country_code = ''; - /** - * The language code associated with the feed where the items are uploaded. - * - * Generated from protobuf field string feed_language_code = 3; - */ - protected $feed_language_code = ''; - /** - * Sum of all transaction level discounts, such as free shipping and - * coupon discounts for the whole cart. The currency code is the same - * as that in the ClickConversion message. - * - * Generated from protobuf field double local_transaction_cost = 4; - */ - protected $local_transaction_cost = 0.0; - /** - * Data of the items purchased. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CartData.Item items = 5; - */ - private $items; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $merchant_id - * The Merchant Center ID where the items are uploaded. - * @type string $feed_country_code - * The country code associated with the feed where the items are uploaded. - * @type string $feed_language_code - * The language code associated with the feed where the items are uploaded. - * @type float $local_transaction_cost - * Sum of all transaction level discounts, such as free shipping and - * coupon discounts for the whole cart. The currency code is the same - * as that in the ClickConversion message. - * @type array<\Google\Ads\GoogleAds\V15\Services\CartData\Item>|\Google\Protobuf\Internal\RepeatedField $items - * Data of the items purchased. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * The Merchant Center ID where the items are uploaded. - * - * Generated from protobuf field int64 merchant_id = 6; - * @return int|string - */ - public function getMerchantId() - { - return $this->merchant_id; - } - - /** - * The Merchant Center ID where the items are uploaded. - * - * Generated from protobuf field int64 merchant_id = 6; - * @param int|string $var - * @return $this - */ - public function setMerchantId($var) - { - GPBUtil::checkInt64($var); - $this->merchant_id = $var; - - return $this; - } - - /** - * The country code associated with the feed where the items are uploaded. - * - * Generated from protobuf field string feed_country_code = 2; - * @return string - */ - public function getFeedCountryCode() - { - return $this->feed_country_code; - } - - /** - * The country code associated with the feed where the items are uploaded. - * - * Generated from protobuf field string feed_country_code = 2; - * @param string $var - * @return $this - */ - public function setFeedCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->feed_country_code = $var; - - return $this; - } - - /** - * The language code associated with the feed where the items are uploaded. - * - * Generated from protobuf field string feed_language_code = 3; - * @return string - */ - public function getFeedLanguageCode() - { - return $this->feed_language_code; - } - - /** - * The language code associated with the feed where the items are uploaded. - * - * Generated from protobuf field string feed_language_code = 3; - * @param string $var - * @return $this - */ - public function setFeedLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->feed_language_code = $var; - - return $this; - } - - /** - * Sum of all transaction level discounts, such as free shipping and - * coupon discounts for the whole cart. The currency code is the same - * as that in the ClickConversion message. - * - * Generated from protobuf field double local_transaction_cost = 4; - * @return float - */ - public function getLocalTransactionCost() - { - return $this->local_transaction_cost; - } - - /** - * Sum of all transaction level discounts, such as free shipping and - * coupon discounts for the whole cart. The currency code is the same - * as that in the ClickConversion message. - * - * Generated from protobuf field double local_transaction_cost = 4; - * @param float $var - * @return $this - */ - public function setLocalTransactionCost($var) - { - GPBUtil::checkDouble($var); - $this->local_transaction_cost = $var; - - return $this; - } - - /** - * Data of the items purchased. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CartData.Item items = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getItems() - { - return $this->items; - } - - /** - * Data of the items purchased. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CartData.Item items = 5; - * @param array<\Google\Ads\GoogleAds\V15\Services\CartData\Item>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setItems($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CartData\Item::class); - $this->items = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CartData/Item.php b/src/Google/Ads/GoogleAds/V15/Services/CartData/Item.php deleted file mode 100644 index 8d5fd4428..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CartData/Item.php +++ /dev/null @@ -1,150 +0,0 @@ -google.ads.googleads.v15.services.CartData.Item - */ -class Item extends \Google\Protobuf\Internal\Message -{ - /** - * The shopping id of the item. Must be equal to the Merchant Center product - * identifier. - * - * Generated from protobuf field string product_id = 1; - */ - protected $product_id = ''; - /** - * Number of items sold. - * - * Generated from protobuf field int32 quantity = 2; - */ - protected $quantity = 0; - /** - * Unit price excluding tax, shipping, and any transaction - * level discounts. The currency code is the same as that in the - * ClickConversion message. - * - * Generated from protobuf field double unit_price = 3; - */ - protected $unit_price = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $product_id - * The shopping id of the item. Must be equal to the Merchant Center product - * identifier. - * @type int $quantity - * Number of items sold. - * @type float $unit_price - * Unit price excluding tax, shipping, and any transaction - * level discounts. The currency code is the same as that in the - * ClickConversion message. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * The shopping id of the item. Must be equal to the Merchant Center product - * identifier. - * - * Generated from protobuf field string product_id = 1; - * @return string - */ - public function getProductId() - { - return $this->product_id; - } - - /** - * The shopping id of the item. Must be equal to the Merchant Center product - * identifier. - * - * Generated from protobuf field string product_id = 1; - * @param string $var - * @return $this - */ - public function setProductId($var) - { - GPBUtil::checkString($var, True); - $this->product_id = $var; - - return $this; - } - - /** - * Number of items sold. - * - * Generated from protobuf field int32 quantity = 2; - * @return int - */ - public function getQuantity() - { - return $this->quantity; - } - - /** - * Number of items sold. - * - * Generated from protobuf field int32 quantity = 2; - * @param int $var - * @return $this - */ - public function setQuantity($var) - { - GPBUtil::checkInt32($var); - $this->quantity = $var; - - return $this; - } - - /** - * Unit price excluding tax, shipping, and any transaction - * level discounts. The currency code is the same as that in the - * ClickConversion message. - * - * Generated from protobuf field double unit_price = 3; - * @return float - */ - public function getUnitPrice() - { - return $this->unit_price; - } - - /** - * Unit price excluding tax, shipping, and any transaction - * level discounts. The currency code is the same as that in the - * ClickConversion message. - * - * Generated from protobuf field double unit_price = 3; - * @param float $var - * @return $this - */ - public function setUnitPrice($var) - { - GPBUtil::checkDouble($var); - $this->unit_price = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Item::class, \Google\Ads\GoogleAds\V15\Services\CartData_Item::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ClickConversion.php b/src/Google/Ads/GoogleAds/V15/Services/ClickConversion.php deleted file mode 100644 index f4c3dccb1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ClickConversion.php +++ /dev/null @@ -1,651 +0,0 @@ -google.ads.googleads.v15.services.ClickConversion - */ -class ClickConversion extends \Google\Protobuf\Internal\Message -{ - /** - * The Google click ID (gclid) associated with this conversion. - * - * Generated from protobuf field optional string gclid = 9; - */ - protected $gclid = null; - /** - * The click identifier for clicks associated with app conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string gbraid = 18; - */ - protected $gbraid = ''; - /** - * The click identifier for clicks associated with web conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string wbraid = 19; - */ - protected $wbraid = ''; - /** - * Resource name of the conversion action associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 10; - */ - protected $conversion_action = null; - /** - * The date time at which the conversion occurred. Must be after - * the click time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 11; - */ - protected $conversion_date_time = null; - /** - * The value of the conversion for the advertiser. - * - * Generated from protobuf field optional double conversion_value = 12; - */ - protected $conversion_value = null; - /** - * Currency associated with the conversion value. This is the ISO 4217 - * 3-character currency code. For example: USD, EUR. - * - * Generated from protobuf field optional string currency_code = 13; - */ - protected $currency_code = null; - /** - * The order ID associated with the conversion. An order id can only be used - * for one conversion per conversion action. - * - * Generated from protobuf field optional string order_id = 14; - */ - protected $order_id = null; - /** - * Additional data about externally attributed conversions. This field - * is required for conversions with an externally attributed conversion - * action, but should not be set otherwise. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExternalAttributionData external_attribution_data = 7; - */ - protected $external_attribution_data = null; - /** - * The custom variables associated with this conversion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomVariable custom_variables = 15; - */ - private $custom_variables; - /** - * The cart data associated with this conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CartData cart_data = 16; - */ - protected $cart_data = null; - /** - * The user identifiers associated with this conversion. Only hashed_email and - * hashed_phone_number are supported for conversion uploads. The maximum - * number of user identifiers for each conversion is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 17; - */ - private $user_identifiers; - /** - * The environment this conversion was recorded on, for example, App or Web. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20; - */ - protected $conversion_environment = 0; - /** - * The consent setting for the event. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Consent consent = 23; - */ - protected $consent = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $gclid - * The Google click ID (gclid) associated with this conversion. - * @type string $gbraid - * The click identifier for clicks associated with app conversions and - * originating from iOS devices starting with iOS14. - * @type string $wbraid - * The click identifier for clicks associated with web conversions and - * originating from iOS devices starting with iOS14. - * @type string $conversion_action - * Resource name of the conversion action associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * @type string $conversion_date_time - * The date time at which the conversion occurred. Must be after - * the click time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * @type float $conversion_value - * The value of the conversion for the advertiser. - * @type string $currency_code - * Currency associated with the conversion value. This is the ISO 4217 - * 3-character currency code. For example: USD, EUR. - * @type string $order_id - * The order ID associated with the conversion. An order id can only be used - * for one conversion per conversion action. - * @type \Google\Ads\GoogleAds\V15\Services\ExternalAttributionData $external_attribution_data - * Additional data about externally attributed conversions. This field - * is required for conversions with an externally attributed conversion - * action, but should not be set otherwise. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomVariable>|\Google\Protobuf\Internal\RepeatedField $custom_variables - * The custom variables associated with this conversion. - * @type \Google\Ads\GoogleAds\V15\Services\CartData $cart_data - * The cart data associated with this conversion. - * @type array<\Google\Ads\GoogleAds\V15\Common\UserIdentifier>|\Google\Protobuf\Internal\RepeatedField $user_identifiers - * The user identifiers associated with this conversion. Only hashed_email and - * hashed_phone_number are supported for conversion uploads. The maximum - * number of user identifiers for each conversion is 5. - * @type int $conversion_environment - * The environment this conversion was recorded on, for example, App or Web. - * @type \Google\Ads\GoogleAds\V15\Common\Consent $consent - * The consent setting for the event. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * The Google click ID (gclid) associated with this conversion. - * - * Generated from protobuf field optional string gclid = 9; - * @return string - */ - public function getGclid() - { - return isset($this->gclid) ? $this->gclid : ''; - } - - public function hasGclid() - { - return isset($this->gclid); - } - - public function clearGclid() - { - unset($this->gclid); - } - - /** - * The Google click ID (gclid) associated with this conversion. - * - * Generated from protobuf field optional string gclid = 9; - * @param string $var - * @return $this - */ - public function setGclid($var) - { - GPBUtil::checkString($var, True); - $this->gclid = $var; - - return $this; - } - - /** - * The click identifier for clicks associated with app conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string gbraid = 18; - * @return string - */ - public function getGbraid() - { - return $this->gbraid; - } - - /** - * The click identifier for clicks associated with app conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string gbraid = 18; - * @param string $var - * @return $this - */ - public function setGbraid($var) - { - GPBUtil::checkString($var, True); - $this->gbraid = $var; - - return $this; - } - - /** - * The click identifier for clicks associated with web conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string wbraid = 19; - * @return string - */ - public function getWbraid() - { - return $this->wbraid; - } - - /** - * The click identifier for clicks associated with web conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string wbraid = 19; - * @param string $var - * @return $this - */ - public function setWbraid($var) - { - GPBUtil::checkString($var, True); - $this->wbraid = $var; - - return $this; - } - - /** - * Resource name of the conversion action associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 10; - * @return string - */ - public function getConversionAction() - { - return isset($this->conversion_action) ? $this->conversion_action : ''; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * Resource name of the conversion action associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 10; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * The date time at which the conversion occurred. Must be after - * the click time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 11; - * @return string - */ - public function getConversionDateTime() - { - return isset($this->conversion_date_time) ? $this->conversion_date_time : ''; - } - - public function hasConversionDateTime() - { - return isset($this->conversion_date_time); - } - - public function clearConversionDateTime() - { - unset($this->conversion_date_time); - } - - /** - * The date time at which the conversion occurred. Must be after - * the click time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 11; - * @param string $var - * @return $this - */ - public function setConversionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->conversion_date_time = $var; - - return $this; - } - - /** - * The value of the conversion for the advertiser. - * - * Generated from protobuf field optional double conversion_value = 12; - * @return float - */ - public function getConversionValue() - { - return isset($this->conversion_value) ? $this->conversion_value : 0.0; - } - - public function hasConversionValue() - { - return isset($this->conversion_value); - } - - public function clearConversionValue() - { - unset($this->conversion_value); - } - - /** - * The value of the conversion for the advertiser. - * - * Generated from protobuf field optional double conversion_value = 12; - * @param float $var - * @return $this - */ - public function setConversionValue($var) - { - GPBUtil::checkDouble($var); - $this->conversion_value = $var; - - return $this; - } - - /** - * Currency associated with the conversion value. This is the ISO 4217 - * 3-character currency code. For example: USD, EUR. - * - * Generated from protobuf field optional string currency_code = 13; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * Currency associated with the conversion value. This is the ISO 4217 - * 3-character currency code. For example: USD, EUR. - * - * Generated from protobuf field optional string currency_code = 13; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * The order ID associated with the conversion. An order id can only be used - * for one conversion per conversion action. - * - * Generated from protobuf field optional string order_id = 14; - * @return string - */ - public function getOrderId() - { - return isset($this->order_id) ? $this->order_id : ''; - } - - public function hasOrderId() - { - return isset($this->order_id); - } - - public function clearOrderId() - { - unset($this->order_id); - } - - /** - * The order ID associated with the conversion. An order id can only be used - * for one conversion per conversion action. - * - * Generated from protobuf field optional string order_id = 14; - * @param string $var - * @return $this - */ - public function setOrderId($var) - { - GPBUtil::checkString($var, True); - $this->order_id = $var; - - return $this; - } - - /** - * Additional data about externally attributed conversions. This field - * is required for conversions with an externally attributed conversion - * action, but should not be set otherwise. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExternalAttributionData external_attribution_data = 7; - * @return \Google\Ads\GoogleAds\V15\Services\ExternalAttributionData|null - */ - public function getExternalAttributionData() - { - return $this->external_attribution_data; - } - - public function hasExternalAttributionData() - { - return isset($this->external_attribution_data); - } - - public function clearExternalAttributionData() - { - unset($this->external_attribution_data); - } - - /** - * Additional data about externally attributed conversions. This field - * is required for conversions with an externally attributed conversion - * action, but should not be set otherwise. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExternalAttributionData external_attribution_data = 7; - * @param \Google\Ads\GoogleAds\V15\Services\ExternalAttributionData $var - * @return $this - */ - public function setExternalAttributionData($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ExternalAttributionData::class); - $this->external_attribution_data = $var; - - return $this; - } - - /** - * The custom variables associated with this conversion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomVariable custom_variables = 15; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCustomVariables() - { - return $this->custom_variables; - } - - /** - * The custom variables associated with this conversion. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomVariable custom_variables = 15; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomVariable>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCustomVariables($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomVariable::class); - $this->custom_variables = $arr; - - return $this; - } - - /** - * The cart data associated with this conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CartData cart_data = 16; - * @return \Google\Ads\GoogleAds\V15\Services\CartData|null - */ - public function getCartData() - { - return $this->cart_data; - } - - public function hasCartData() - { - return isset($this->cart_data); - } - - public function clearCartData() - { - unset($this->cart_data); - } - - /** - * The cart data associated with this conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CartData cart_data = 16; - * @param \Google\Ads\GoogleAds\V15\Services\CartData $var - * @return $this - */ - public function setCartData($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CartData::class); - $this->cart_data = $var; - - return $this; - } - - /** - * The user identifiers associated with this conversion. Only hashed_email and - * hashed_phone_number are supported for conversion uploads. The maximum - * number of user identifiers for each conversion is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 17; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserIdentifiers() - { - return $this->user_identifiers; - } - - /** - * The user identifiers associated with this conversion. Only hashed_email and - * hashed_phone_number are supported for conversion uploads. The maximum - * number of user identifiers for each conversion is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 17; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserIdentifier>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserIdentifiers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserIdentifier::class); - $this->user_identifiers = $arr; - - return $this; - } - - /** - * The environment this conversion was recorded on, for example, App or Web. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20; - * @return int - */ - public function getConversionEnvironment() - { - return $this->conversion_environment; - } - - /** - * The environment this conversion was recorded on, for example, App or Web. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20; - * @param int $var - * @return $this - */ - public function setConversionEnvironment($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionEnvironmentEnum\ConversionEnvironment::class); - $this->conversion_environment = $var; - - return $this; - } - - /** - * The consent setting for the event. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Consent consent = 23; - * @return \Google\Ads\GoogleAds\V15\Common\Consent|null - */ - public function getConsent() - { - return $this->consent; - } - - public function hasConsent() - { - return isset($this->consent); - } - - public function clearConsent() - { - unset($this->consent); - } - - /** - * The consent setting for the event. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Consent consent = 23; - * @param \Google\Ads\GoogleAds\V15\Common\Consent $var - * @return $this - */ - public function setConsent($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Consent::class); - $this->consent = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ClickConversionResult.php b/src/Google/Ads/GoogleAds/V15/Services/ClickConversionResult.php deleted file mode 100644 index 54577eaff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ClickConversionResult.php +++ /dev/null @@ -1,287 +0,0 @@ -google.ads.googleads.v15.services.ClickConversionResult - */ -class ClickConversionResult extends \Google\Protobuf\Internal\Message -{ - /** - * The Google Click ID (gclid) associated with this conversion. - * - * Generated from protobuf field optional string gclid = 4; - */ - protected $gclid = null; - /** - * The click identifier for clicks associated with app conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string gbraid = 8; - */ - protected $gbraid = ''; - /** - * The click identifier for clicks associated with web conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string wbraid = 9; - */ - protected $wbraid = ''; - /** - * Resource name of the conversion action associated with this conversion. - * - * Generated from protobuf field optional string conversion_action = 5; - */ - protected $conversion_action = null; - /** - * The date time at which the conversion occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 6; - */ - protected $conversion_date_time = null; - /** - * The user identifiers associated with this conversion. Only hashed_email and - * hashed_phone_number are supported for conversion uploads. The maximum - * number of user identifiers for each conversion is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 7; - */ - private $user_identifiers; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $gclid - * The Google Click ID (gclid) associated with this conversion. - * @type string $gbraid - * The click identifier for clicks associated with app conversions and - * originating from iOS devices starting with iOS14. - * @type string $wbraid - * The click identifier for clicks associated with web conversions and - * originating from iOS devices starting with iOS14. - * @type string $conversion_action - * Resource name of the conversion action associated with this conversion. - * @type string $conversion_date_time - * The date time at which the conversion occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * @type array<\Google\Ads\GoogleAds\V15\Common\UserIdentifier>|\Google\Protobuf\Internal\RepeatedField $user_identifiers - * The user identifiers associated with this conversion. Only hashed_email and - * hashed_phone_number are supported for conversion uploads. The maximum - * number of user identifiers for each conversion is 5. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * The Google Click ID (gclid) associated with this conversion. - * - * Generated from protobuf field optional string gclid = 4; - * @return string - */ - public function getGclid() - { - return isset($this->gclid) ? $this->gclid : ''; - } - - public function hasGclid() - { - return isset($this->gclid); - } - - public function clearGclid() - { - unset($this->gclid); - } - - /** - * The Google Click ID (gclid) associated with this conversion. - * - * Generated from protobuf field optional string gclid = 4; - * @param string $var - * @return $this - */ - public function setGclid($var) - { - GPBUtil::checkString($var, True); - $this->gclid = $var; - - return $this; - } - - /** - * The click identifier for clicks associated with app conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string gbraid = 8; - * @return string - */ - public function getGbraid() - { - return $this->gbraid; - } - - /** - * The click identifier for clicks associated with app conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string gbraid = 8; - * @param string $var - * @return $this - */ - public function setGbraid($var) - { - GPBUtil::checkString($var, True); - $this->gbraid = $var; - - return $this; - } - - /** - * The click identifier for clicks associated with web conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string wbraid = 9; - * @return string - */ - public function getWbraid() - { - return $this->wbraid; - } - - /** - * The click identifier for clicks associated with web conversions and - * originating from iOS devices starting with iOS14. - * - * Generated from protobuf field string wbraid = 9; - * @param string $var - * @return $this - */ - public function setWbraid($var) - { - GPBUtil::checkString($var, True); - $this->wbraid = $var; - - return $this; - } - - /** - * Resource name of the conversion action associated with this conversion. - * - * Generated from protobuf field optional string conversion_action = 5; - * @return string - */ - public function getConversionAction() - { - return isset($this->conversion_action) ? $this->conversion_action : ''; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * Resource name of the conversion action associated with this conversion. - * - * Generated from protobuf field optional string conversion_action = 5; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * The date time at which the conversion occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 6; - * @return string - */ - public function getConversionDateTime() - { - return isset($this->conversion_date_time) ? $this->conversion_date_time : ''; - } - - public function hasConversionDateTime() - { - return isset($this->conversion_date_time); - } - - public function clearConversionDateTime() - { - unset($this->conversion_date_time); - } - - /** - * The date time at which the conversion occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 6; - * @param string $var - * @return $this - */ - public function setConversionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->conversion_date_time = $var; - - return $this; - } - - /** - * The user identifiers associated with this conversion. Only hashed_email and - * hashed_phone_number are supported for conversion uploads. The maximum - * number of user identifiers for each conversion is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserIdentifiers() - { - return $this->user_identifiers; - } - - /** - * The user identifiers associated with this conversion. Only hashed_email and - * hashed_phone_number are supported for conversion uploads. The maximum - * number of user identifiers for each conversion is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 7; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserIdentifier>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserIdentifiers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserIdentifier::class); - $this->user_identifiers = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AccountBudgetProposalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AccountBudgetProposalServiceClient.php deleted file mode 100644 index 87017ad3c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AccountBudgetProposalServiceClient.php +++ /dev/null @@ -1,300 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/account_budget_proposal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/account_budget_proposal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/account_budget_proposal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/account_budget_proposal_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * account_budget resource. - * - * @param string $customerId - * @param string $accountBudgetId - * - * @return string The formatted account_budget resource. - */ - public static function accountBudgetName(string $customerId, string $accountBudgetId): string - { - return self::getPathTemplate('accountBudget')->render([ - 'customer_id' => $customerId, - 'account_budget_id' => $accountBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * account_budget_proposal resource. - * - * @param string $customerId - * @param string $accountBudgetProposalId - * - * @return string The formatted account_budget_proposal resource. - */ - public static function accountBudgetProposalName(string $customerId, string $accountBudgetProposalId): string - { - return self::getPathTemplate('accountBudgetProposal')->render([ - 'customer_id' => $customerId, - 'account_budget_proposal_id' => $accountBudgetProposalId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * billing_setup resource. - * - * @param string $customerId - * @param string $billingSetupId - * - * @return string The formatted billing_setup resource. - */ - public static function billingSetupName(string $customerId, string $billingSetupId): string - { - return self::getPathTemplate('billingSetup')->render([ - 'customer_id' => $customerId, - 'billing_setup_id' => $billingSetupId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accountBudget: customers/{customer_id}/accountBudgets/{account_budget_id} - * - accountBudgetProposal: customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id} - * - billingSetup: customers/{customer_id}/billingSetups/{billing_setup_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes account budget proposals. Operation statuses - * are returned. - * - * List of thrown errors: - * [AccountBudgetProposalError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [DateError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * [StringLengthError]() - * - * The async variant is - * {@see AccountBudgetProposalServiceClient::mutateAccountBudgetProposalAsync()} . - * - * @param MutateAccountBudgetProposalRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAccountBudgetProposalResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAccountBudgetProposal(MutateAccountBudgetProposalRequest $request, array $callOptions = []): MutateAccountBudgetProposalResponse - { - return $this->startApiCall('MutateAccountBudgetProposal', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AccountLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AccountLinkServiceClient.php deleted file mode 100644 index 96badda53..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AccountLinkServiceClient.php +++ /dev/null @@ -1,309 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/account_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/account_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/account_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/account_link_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a account_link - * resource. - * - * @param string $customerId - * @param string $accountLinkId - * - * @return string The formatted account_link resource. - */ - public static function accountLinkName(string $customerId, string $accountLinkId): string - { - return self::getPathTemplate('accountLink')->render([ - 'customer_id' => $customerId, - 'account_link_id' => $accountLinkId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accountLink: customers/{customer_id}/accountLinks/{account_link_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates an account link. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * [ThirdPartyAppAnalyticsLinkError]() - * - * The async variant is {@see AccountLinkServiceClient::createAccountLinkAsync()} . - * - * @param CreateAccountLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return CreateAccountLinkResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function createAccountLink(CreateAccountLinkRequest $request, array $callOptions = []): CreateAccountLinkResponse - { - return $this->startApiCall('CreateAccountLink', $request, $callOptions)->wait(); - } - - /** - * Creates or removes an account link. - * From V5, create is not supported through - * AccountLinkService.MutateAccountLink. Use - * AccountLinkService.CreateAccountLink instead. - * - * List of thrown errors: - * [AccountLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see AccountLinkServiceClient::mutateAccountLinkAsync()} . - * - * @param MutateAccountLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAccountLinkResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAccountLink(MutateAccountLinkRequest $request, array $callOptions = []): MutateAccountLinkResponse - { - return $this->startApiCall('MutateAccountLink', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdLabelServiceClient.php deleted file mode 100644 index c01dfdbaf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdLabelServiceClient.php +++ /dev/null @@ -1,295 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_ad_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_ad_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_ad_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_ad_label_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group_ad - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * - * @return string The formatted ad_group_ad resource. - */ - public static function adGroupAdName(string $customerId, string $adGroupId, string $adId): string - { - return self::getPathTemplate('adGroupAd')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_ad_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * @param string $labelId - * - * @return string The formatted ad_group_ad_label resource. - */ - public static function adGroupAdLabelName(string $customerId, string $adGroupId, string $adId, string $labelId): string - { - return self::getPathTemplate('adGroupAdLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('label')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} - * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates and removes ad group ad labels. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see AdGroupAdLabelServiceClient::mutateAdGroupAdLabelsAsync()} . - * - * @param MutateAdGroupAdLabelsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupAdLabelsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupAdLabels(MutateAdGroupAdLabelsRequest $request, array $callOptions = []): MutateAdGroupAdLabelsResponse - { - return $this->startApiCall('MutateAdGroupAdLabels', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdServiceClient.php deleted file mode 100644 index d74d2f6c8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdServiceClient.php +++ /dev/null @@ -1,343 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_ad_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_ad_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_ad_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_ad_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName(string $customerId, string $adId): string - { - return self::getPathTemplate('ad')->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group_ad - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * - * @return string The formatted ad_group_ad resource. - */ - public static function adGroupAdName(string $customerId, string $adGroupId, string $adId): string - { - return self::getPathTemplate('adGroupAd')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_ad_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * @param string $labelId - * - * @return string The formatted ad_group_ad_label resource. - */ - public static function adGroupAdLabelName(string $customerId, string $adGroupId, string $adId, string $labelId): string - { - return self::getPathTemplate('adGroupAdLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - ad: customers/{customer_id}/ads/{ad_id} - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} - * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes ads. Operation statuses are returned. - * - * List of thrown errors: - * [AdCustomizerError]() - * [AdError]() - * [AdGroupAdError]() - * [AdSharingError]() - * [AdxError]() - * [AssetError]() - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [ContextError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FeedAttributeReferenceError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [ImageError]() - * [InternalError]() - * [ListOperationError]() - * [MediaBundleError]() - * [MediaFileError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [PolicyFindingError]() - * [PolicyValidationParameterError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is {@see AdGroupAdServiceClient::mutateAdGroupAdsAsync()} . - * - * @param MutateAdGroupAdsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupAdsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupAds(MutateAdGroupAdsRequest $request, array $callOptions = []): MutateAdGroupAdsResponse - { - return $this->startApiCall('MutateAdGroupAds', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetServiceClient.php deleted file mode 100644 index dc3c4311f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetServiceClient.php +++ /dev/null @@ -1,294 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_asset_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_asset resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted ad_group_asset resource. - */ - public static function adGroupAssetName(string $customerId, string $adGroupId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('adGroupAsset')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAsset: customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type} - * - asset: customers/{customer_id}/assets/{asset_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes ad group assets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NotAllowlistedError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see AdGroupAssetServiceClient::mutateAdGroupAssetsAsync()} . - * - * @param MutateAdGroupAssetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupAssetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupAssets(MutateAdGroupAssetsRequest $request, array $callOptions = []): MutateAdGroupAssetsResponse - { - return $this->startApiCall('MutateAdGroupAssets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetSetServiceClient.php deleted file mode 100644 index a4de5a30a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetSetServiceClient.php +++ /dev/null @@ -1,279 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_asset_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_asset_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_asset_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_asset_set_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_asset_set resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $assetSetId - * - * @return string The formatted ad_group_asset_set resource. - */ - public static function adGroupAssetSetName(string $customerId, string $adGroupId, string $assetSetId): string - { - return self::getPathTemplate('adGroupAssetSet')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('assetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAssetSet: customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, or removes ad group asset sets. Operation statuses are - * returned. - * - * The async variant is - * {@see AdGroupAssetSetServiceClient::mutateAdGroupAssetSetsAsync()} . - * - * @param MutateAdGroupAssetSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupAssetSetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupAssetSets(MutateAdGroupAssetSetsRequest $request, array $callOptions = []): MutateAdGroupAssetSetsResponse - { - return $this->startApiCall('MutateAdGroupAssetSets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupBidModifierServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupBidModifierServiceClient.php deleted file mode 100644 index 111ef8355..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupBidModifierServiceClient.php +++ /dev/null @@ -1,286 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_bid_modifier_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_bid_modifier_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_bid_modifier_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_bid_modifier_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_bid_modifier resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_bid_modifier resource. - */ - public static function adGroupBidModifierName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupBidModifier')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupBidModifier: customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes ad group bid modifiers. - * Operation statuses are returned. - * - * List of thrown errors: - * [AdGroupBidModifierError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [CriterionError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see AdGroupBidModifierServiceClient::mutateAdGroupBidModifiersAsync()} . - * - * @param MutateAdGroupBidModifiersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupBidModifiersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupBidModifiers(MutateAdGroupBidModifiersRequest $request, array $callOptions = []): MutateAdGroupBidModifiersResponse - { - return $this->startApiCall('MutateAdGroupBidModifiers', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionCustomizerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionCustomizerServiceClient.php deleted file mode 100644 index 1c7e614c3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionCustomizerServiceClient.php +++ /dev/null @@ -1,284 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_criterion_customizer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_criterion_customizer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_criterion_customizer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_criterion_customizer_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupCriterion')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_criterion_customizer resource. - */ - public static function adGroupCriterionCustomizerName(string $customerId, string $adGroupId, string $criterionId, string $customizerAttributeId): string - { - return self::getPathTemplate('adGroupCriterionCustomizer')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customizerAttribute')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionCustomizer: customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes ad group criterion customizers. Operation - * statuses are returned. - * - * The async variant is - * {@see AdGroupCriterionCustomizerServiceClient::mutateAdGroupCriterionCustomizersAsync()} - * . - * - * @param MutateAdGroupCriterionCustomizersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupCriterionCustomizersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupCriterionCustomizers(MutateAdGroupCriterionCustomizersRequest $request, array $callOptions = []): MutateAdGroupCriterionCustomizersResponse - { - return $this->startApiCall('MutateAdGroupCriterionCustomizers', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionLabelServiceClient.php deleted file mode 100644 index 1cbf935f3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionLabelServiceClient.php +++ /dev/null @@ -1,293 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_criterion_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_criterion_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_criterion_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_criterion_label_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupCriterion')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $labelId - * - * @return string The formatted ad_group_criterion_label resource. - */ - public static function adGroupCriterionLabelName(string $customerId, string $adGroupId, string $criterionId, string $labelId): string - { - return self::getPathTemplate('adGroupCriterionLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('label')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionLabel: customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates and removes ad group criterion labels. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see AdGroupCriterionLabelServiceClient::mutateAdGroupCriterionLabelsAsync()} . - * - * @param MutateAdGroupCriterionLabelsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupCriterionLabelsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupCriterionLabels(MutateAdGroupCriterionLabelsRequest $request, array $callOptions = []): MutateAdGroupCriterionLabelsResponse - { - return $this->startApiCall('MutateAdGroupCriterionLabels', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionServiceClient.php deleted file mode 100644 index 40c298922..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionServiceClient.php +++ /dev/null @@ -1,367 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_criterion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_criterion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_criterion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_criterion_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupCriterion')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $labelId - * - * @return string The formatted ad_group_criterion_label resource. - */ - public static function adGroupCriterionLabelName(string $customerId, string $adGroupId, string $criterionId, string $labelId): string - { - return self::getPathTemplate('adGroupCriterionLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * combined_audience resource. - * - * @param string $customerId - * @param string $combinedAudienceId - * - * @return string The formatted combined_audience resource. - */ - public static function combinedAudienceName(string $customerId, string $combinedAudienceId): string - { - return self::getPathTemplate('combinedAudience')->render([ - 'customer_id' => $customerId, - 'combined_audience_id' => $combinedAudienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName(string $mobileAppCategoryId): string - { - return self::getPathTemplate('mobileAppCategoryConstant')->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * topic_constant resource. - * - * @param string $topicId - * - * @return string The formatted topic_constant resource. - */ - public static function topicConstantName(string $topicId): string - { - return self::getPathTemplate('topicConstant')->render([ - 'topic_id' => $topicId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionLabel: customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id} - * - combinedAudience: customers/{customer_id}/combinedAudiences/{combined_audience_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - topicConstant: topicConstants/{topic_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes criteria. Operation statuses are returned. - * - * List of thrown errors: - * [AdGroupCriterionError]() - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [BiddingStrategyError]() - * [CollectionSizeError]() - * [ContextError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MultiplierError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is - * {@see AdGroupCriterionServiceClient::mutateAdGroupCriteriaAsync()} . - * - * @param MutateAdGroupCriteriaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupCriteriaResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupCriteria(MutateAdGroupCriteriaRequest $request, array $callOptions = []): MutateAdGroupCriteriaResponse - { - return $this->startApiCall('MutateAdGroupCriteria', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCustomizerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCustomizerServiceClient.php deleted file mode 100644 index ebff98b6a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCustomizerServiceClient.php +++ /dev/null @@ -1,279 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_customizer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_customizer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_customizer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_customizer_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_customizer resource. - */ - public static function adGroupCustomizerName(string $customerId, string $adGroupId, string $customizerAttributeId): string - { - return self::getPathTemplate('adGroupCustomizer')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customizerAttribute')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupCustomizer: customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes ad group customizers. Operation statuses are - * returned. - * - * The async variant is - * {@see AdGroupCustomizerServiceClient::mutateAdGroupCustomizersAsync()} . - * - * @param MutateAdGroupCustomizersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupCustomizersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupCustomizers(MutateAdGroupCustomizersRequest $request, array $callOptions = []): MutateAdGroupCustomizersResponse - { - return $this->startApiCall('MutateAdGroupCustomizers', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupExtensionSettingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupExtensionSettingServiceClient.php deleted file mode 100644 index 6b864944d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupExtensionSettingServiceClient.php +++ /dev/null @@ -1,310 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_extension_setting_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_extension_setting_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_extension_setting_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_extension_setting_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_extension_setting resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $extensionType - * - * @return string The formatted ad_group_extension_setting resource. - */ - public static function adGroupExtensionSettingName(string $customerId, string $adGroupId, string $extensionType): string - { - return self::getPathTemplate('adGroupExtensionSetting')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName(string $customerId, string $feedItemId): string - { - return self::getPathTemplate('extensionFeedItem')->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupExtensionSetting: customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes ad group extension settings. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [ExtensionSettingError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is - * {@see AdGroupExtensionSettingServiceClient::mutateAdGroupExtensionSettingsAsync()} - * . - * - * @param MutateAdGroupExtensionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupExtensionSettingsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupExtensionSettings(MutateAdGroupExtensionSettingsRequest $request, array $callOptions = []): MutateAdGroupExtensionSettingsResponse - { - return $this->startApiCall('MutateAdGroupExtensionSettings', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupFeedServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupFeedServiceClient.php deleted file mode 100644 index c006a87de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupFeedServiceClient.php +++ /dev/null @@ -1,303 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_feed_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_feed_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_feed_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_feed_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_feed resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $feedId - * - * @return string The formatted ad_group_feed resource. - */ - public static function adGroupFeedName(string $customerId, string $adGroupId, string $feedId): string - { - return self::getPathTemplate('adGroupFeed')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupFeed: customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes ad group feeds. Operation statuses are - * returned. - * - * List of thrown errors: - * [AdGroupFeedError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is {@see AdGroupFeedServiceClient::mutateAdGroupFeedsAsync()} - * . - * - * @param MutateAdGroupFeedsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupFeedsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupFeeds(MutateAdGroupFeedsRequest $request, array $callOptions = []): MutateAdGroupFeedsResponse - { - return $this->startApiCall('MutateAdGroupFeeds', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupLabelServiceClient.php deleted file mode 100644 index 0d98f3349..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupLabelServiceClient.php +++ /dev/null @@ -1,292 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_label_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $labelId - * - * @return string The formatted ad_group_label resource. - */ - public static function adGroupLabelName(string $customerId, string $adGroupId, string $labelId): string - { - return self::getPathTemplate('adGroupLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('label')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupLabel: customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates and removes ad group labels. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see AdGroupLabelServiceClient::mutateAdGroupLabelsAsync()} . - * - * @param MutateAdGroupLabelsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupLabelsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroupLabels(MutateAdGroupLabelsRequest $request, array $callOptions = []): MutateAdGroupLabelsResponse - { - return $this->startApiCall('MutateAdGroupLabels', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupServiceClient.php deleted file mode 100644 index 1f9953d64..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdGroupServiceClient.php +++ /dev/null @@ -1,310 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $labelId - * - * @return string The formatted ad_group_label resource. - */ - public static function adGroupLabelName(string $customerId, string $adGroupId, string $labelId): string - { - return self::getPathTemplate('adGroupLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupLabel: customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes ad groups. Operation statuses are returned. - * - * List of thrown errors: - * [AdGroupError]() - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [BiddingStrategyError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MultiplierError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SettingError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is {@see AdGroupServiceClient::mutateAdGroupsAsync()} . - * - * @param MutateAdGroupsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdGroupsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdGroups(MutateAdGroupsRequest $request, array $callOptions = []): MutateAdGroupsResponse - { - return $this->startApiCall('MutateAdGroups', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdParameterServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdParameterServiceClient.php deleted file mode 100644 index 315283687..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdParameterServiceClient.php +++ /dev/null @@ -1,279 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_parameter_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_parameter_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_parameter_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_parameter_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupCriterion')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_parameter - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $parameterIndex - * - * @return string The formatted ad_parameter resource. - */ - public static function adParameterName(string $customerId, string $adGroupId, string $criterionId, string $parameterIndex): string - { - return self::getPathTemplate('adParameter')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'parameter_index' => $parameterIndex, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adParameter: customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes ad parameters. Operation statuses are - * returned. - * - * List of thrown errors: - * [AdParameterError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see AdParameterServiceClient::mutateAdParametersAsync()} - * . - * - * @param MutateAdParametersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdParametersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAdParameters(MutateAdParametersRequest $request, array $callOptions = []): MutateAdParametersResponse - { - return $this->startApiCall('MutateAdParameters', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AdServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AdServiceClient.php deleted file mode 100644 index 79a71707f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AdServiceClient.php +++ /dev/null @@ -1,314 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName(string $customerId, string $adId): string - { - return self::getPathTemplate('ad')->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - ad: customers/{customer_id}/ads/{ad_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns the requested ad in full detail. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see AdServiceClient::getAdAsync()} . - * - * @param GetAdRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return Ad - * - * @throws ApiException Thrown if the API call fails. - */ - public function getAd(GetAdRequest $request, array $callOptions = []): Ad - { - return $this->startApiCall('GetAd', $request, $callOptions)->wait(); - } - - /** - * Updates ads. Operation statuses are returned. Updating ads is not supported - * for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. - * - * List of thrown errors: - * [AdCustomizerError]() - * [AdError]() - * [AdSharingError]() - * [AdxError]() - * [AssetError]() - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FeedAttributeReferenceError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [ImageError]() - * [InternalError]() - * [ListOperationError]() - * [MediaBundleError]() - * [MediaFileError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [PolicyFindingError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is {@see AdServiceClient::mutateAdsAsync()} . - * - * @param MutateAdsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAdsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAds(MutateAdsRequest $request, array $callOptions = []): MutateAdsResponse - { - return $this->startApiCall('MutateAds', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupAssetServiceClient.php deleted file mode 100644 index 845366359..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupAssetServiceClient.php +++ /dev/null @@ -1,281 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_group_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_group_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_group_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_group_asset_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName(string $customerId, string $assetGroupId): string - { - return self::getPathTemplate('assetGroup')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_asset resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted asset_group_asset resource. - */ - public static function assetGroupAssetName(string $customerId, string $assetGroupId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('assetGroupAsset')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupAsset: customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes asset group assets. Operation statuses are - * returned. - * - * The async variant is - * {@see AssetGroupAssetServiceClient::mutateAssetGroupAssetsAsync()} . - * - * @param MutateAssetGroupAssetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAssetGroupAssetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAssetGroupAssets(MutateAssetGroupAssetsRequest $request, array $callOptions = []): MutateAssetGroupAssetsResponse - { - return $this->startApiCall('MutateAssetGroupAssets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupListingGroupFilterServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupListingGroupFilterServiceClient.php deleted file mode 100644 index c93a8a6da..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupListingGroupFilterServiceClient.php +++ /dev/null @@ -1,262 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_group_listing_group_filter_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_group_listing_group_filter_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_group_listing_group_filter_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_group_listing_group_filter_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName(string $customerId, string $assetGroupId): string - { - return self::getPathTemplate('assetGroup')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_listing_group_filter resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $listingGroupFilterId - * - * @return string The formatted asset_group_listing_group_filter resource. - */ - public static function assetGroupListingGroupFilterName(string $customerId, string $assetGroupId, string $listingGroupFilterId): string - { - return self::getPathTemplate('assetGroupListingGroupFilter')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'listing_group_filter_id' => $listingGroupFilterId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupListingGroupFilter: customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes asset group listing group filters. Operation - * statuses are returned. - * - * The async variant is - * {@see AssetGroupListingGroupFilterServiceClient::mutateAssetGroupListingGroupFiltersAsync()} - * . - * - * @param MutateAssetGroupListingGroupFiltersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAssetGroupListingGroupFiltersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAssetGroupListingGroupFilters(MutateAssetGroupListingGroupFiltersRequest $request, array $callOptions = []): MutateAssetGroupListingGroupFiltersResponse - { - return $this->startApiCall('MutateAssetGroupListingGroupFilters', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupServiceClient.php deleted file mode 100644 index b0bb711b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupServiceClient.php +++ /dev/null @@ -1,258 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_group_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_group_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_group_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_group_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName(string $customerId, string $assetGroupId): string - { - return self::getPathTemplate('assetGroup')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes asset groups. Operation statuses are - * returned. - * - * The async variant is {@see AssetGroupServiceClient::mutateAssetGroupsAsync()} . - * - * @param MutateAssetGroupsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAssetGroupsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAssetGroups(MutateAssetGroupsRequest $request, array $callOptions = []): MutateAssetGroupsResponse - { - return $this->startApiCall('MutateAssetGroups', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupSignalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupSignalServiceClient.php deleted file mode 100644 index 7801aeff1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupSignalServiceClient.php +++ /dev/null @@ -1,261 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_group_signal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_group_signal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_group_signal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_group_signal_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName(string $customerId, string $assetGroupId): string - { - return self::getPathTemplate('assetGroup')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_signal resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $criterionId - * - * @return string The formatted asset_group_signal resource. - */ - public static function assetGroupSignalName(string $customerId, string $assetGroupId, string $criterionId): string - { - return self::getPathTemplate('assetGroupSignal')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupSignal: customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or removes asset group signals. Operation statuses are - * returned. - * - * The async variant is - * {@see AssetGroupSignalServiceClient::mutateAssetGroupSignalsAsync()} . - * - * @param MutateAssetGroupSignalsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAssetGroupSignalsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAssetGroupSignals(MutateAssetGroupSignalsRequest $request, array $callOptions = []): MutateAssetGroupSignalsResponse - { - return $this->startApiCall('MutateAssetGroupSignals', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AssetServiceClient.php deleted file mode 100644 index 1623c0e21..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetServiceClient.php +++ /dev/null @@ -1,288 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName(string $customerId, string $conversionActionId): string - { - return self::getPathTemplate('conversionAction')->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates assets. Operation statuses are returned. - * - * List of thrown errors: - * [AssetError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CurrencyCodeError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MediaUploadError]() - * [MutateError]() - * [NotAllowlistedError]() - * [NotEmptyError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * [YoutubeVideoRegistrationError]() - * - * The async variant is {@see AssetServiceClient::mutateAssetsAsync()} . - * - * @param MutateAssetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAssetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAssets(MutateAssetsRequest $request, array $callOptions = []): MutateAssetsResponse - { - return $this->startApiCall('MutateAssets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetSetAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AssetSetAssetServiceClient.php deleted file mode 100644 index 8004d2657..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetSetAssetServiceClient.php +++ /dev/null @@ -1,279 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_set_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_set_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_set_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_set_asset_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('assetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_set_asset resource. - * - * @param string $customerId - * @param string $assetSetId - * @param string $assetId - * - * @return string The formatted asset_set_asset resource. - */ - public static function assetSetAssetName(string $customerId, string $assetSetId, string $assetId): string - { - return self::getPathTemplate('assetSetAsset')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - 'asset_id' => $assetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - assetSetAsset: customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes asset set assets. Operation statuses are - * returned. - * - * The async variant is - * {@see AssetSetAssetServiceClient::mutateAssetSetAssetsAsync()} . - * - * @param MutateAssetSetAssetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAssetSetAssetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAssetSetAssets(MutateAssetSetAssetsRequest $request, array $callOptions = []): MutateAssetSetAssetsResponse - { - return $this->startApiCall('MutateAssetSetAssets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AssetSetServiceClient.php deleted file mode 100644 index de8c7b88a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AssetSetServiceClient.php +++ /dev/null @@ -1,240 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_set_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('assetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes asset sets. Operation statuses are - * returned. - * - * The async variant is {@see AssetSetServiceClient::mutateAssetSetsAsync()} . - * - * @param MutateAssetSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAssetSetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAssetSets(MutateAssetSetsRequest $request, array $callOptions = []): MutateAssetSetsResponse - { - return $this->startApiCall('MutateAssetSets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AudienceInsightsServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AudienceInsightsServiceClient.php deleted file mode 100644 index 4e3135f41..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AudienceInsightsServiceClient.php +++ /dev/null @@ -1,363 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/audience_insights_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/audience_insights_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/audience_insights_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/audience_insights_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns a collection of attributes that are represented in an audience of - * interest, with metrics that compare each attribute's share of the audience - * with its share of a baseline audience. - * - * List of thrown errors: - * [AudienceInsightsError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * The async variant is - * {@see AudienceInsightsServiceClient::generateAudienceCompositionInsightsAsync()} - * . - * - * @param GenerateAudienceCompositionInsightsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GenerateAudienceCompositionInsightsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function generateAudienceCompositionInsights(GenerateAudienceCompositionInsightsRequest $request, array $callOptions = []): GenerateAudienceCompositionInsightsResponse - { - return $this->startApiCall('GenerateAudienceCompositionInsights', $request, $callOptions)->wait(); - } - - /** - * Creates a saved report that can be viewed in the Insights Finder tool. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * The async variant is - * {@see AudienceInsightsServiceClient::generateInsightsFinderReportAsync()} . - * - * @param GenerateInsightsFinderReportRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GenerateInsightsFinderReportResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function generateInsightsFinderReport(GenerateInsightsFinderReportRequest $request, array $callOptions = []): GenerateInsightsFinderReportResponse - { - return $this->startApiCall('GenerateInsightsFinderReport', $request, $callOptions)->wait(); - } - - /** - * Returns a collection of targeting insights (e.g. targetable audiences) that - * are relevant to the requested audience. - * - * List of thrown errors: - * [AudienceInsightsError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * The async variant is - * {@see AudienceInsightsServiceClient::generateSuggestedTargetingInsightsAsync()} - * . - * - * @param GenerateSuggestedTargetingInsightsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GenerateSuggestedTargetingInsightsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function generateSuggestedTargetingInsights(GenerateSuggestedTargetingInsightsRequest $request, array $callOptions = []): GenerateSuggestedTargetingInsightsResponse - { - return $this->startApiCall('GenerateSuggestedTargetingInsights', $request, $callOptions)->wait(); - } - - /** - * Searches for audience attributes that can be used to generate insights. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * The async variant is - * {@see AudienceInsightsServiceClient::listAudienceInsightsAttributesAsync()} . - * - * @param ListAudienceInsightsAttributesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ListAudienceInsightsAttributesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listAudienceInsightsAttributes(ListAudienceInsightsAttributesRequest $request, array $callOptions = []): ListAudienceInsightsAttributesResponse - { - return $this->startApiCall('ListAudienceInsightsAttributes', $request, $callOptions)->wait(); - } - - /** - * Lists date ranges for which audience insights data can be requested. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * The async variant is - * {@see AudienceInsightsServiceClient::listInsightsEligibleDatesAsync()} . - * - * @param ListInsightsEligibleDatesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ListInsightsEligibleDatesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listInsightsEligibleDates(ListInsightsEligibleDatesRequest $request, array $callOptions = []): ListInsightsEligibleDatesResponse - { - return $this->startApiCall('ListInsightsEligibleDates', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/AudienceServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/AudienceServiceClient.php deleted file mode 100644 index 3faf9f9db..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/AudienceServiceClient.php +++ /dev/null @@ -1,260 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/audience_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/audience_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/audience_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/audience_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName(string $customerId, string $assetGroupId): string - { - return self::getPathTemplate('assetGroup')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a audience - * resource. - * - * @param string $customerId - * @param string $audienceId - * - * @return string The formatted audience resource. - */ - public static function audienceName(string $customerId, string $audienceId): string - { - return self::getPathTemplate('audience')->render([ - 'customer_id' => $customerId, - 'audience_id' => $audienceId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - audience: customers/{customer_id}/audiences/{audience_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates audiences. Operation statuses are returned. - * - * List of thrown errors: - * [AudienceError]() - * - * The async variant is {@see AudienceServiceClient::mutateAudiencesAsync()} . - * - * @param MutateAudiencesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateAudiencesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateAudiences(MutateAudiencesRequest $request, array $callOptions = []): MutateAudiencesResponse - { - return $this->startApiCall('MutateAudiences', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/BatchJobServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/BatchJobServiceClient.php deleted file mode 100644 index 0dd97df0d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/BatchJobServiceClient.php +++ /dev/null @@ -1,1957 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/batch_job_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/batch_job_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/batch_job_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/batch_job_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Return an OperationsClient object with the same endpoint as $this. - * - * @return OperationsClient - */ - public function getOperationsClient() - { - return $this->operationsClient; - } - - /** - * Resume an existing long running operation that was previously started by a long - * running API method. If $methodName is not provided, or does not match a long - * running API method, then the operation can still be resumed, but the - * OperationResponse object will not deserialize the final response. - * - * @param string $operationName The name of the long running operation - * @param string $methodName The name of the method used to start the operation - * - * @return OperationResponse - */ - public function resumeOperation($operationName, $methodName = null) - { - $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; - $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); - $operation->reload(); - return $operation; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * accessible_bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted accessible_bidding_strategy resource. - */ - public static function accessibleBiddingStrategyName(string $customerId, string $biddingStrategyId): string - { - return self::getPathTemplate('accessibleBiddingStrategy')->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName(string $customerId, string $adId): string - { - return self::getPathTemplate('ad')->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group_ad - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * - * @return string The formatted ad_group_ad resource. - */ - public static function adGroupAdName(string $customerId, string $adGroupId, string $adId): string - { - return self::getPathTemplate('adGroupAd')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_ad_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * @param string $labelId - * - * @return string The formatted ad_group_ad_label resource. - */ - public static function adGroupAdLabelName(string $customerId, string $adGroupId, string $adId, string $labelId): string - { - return self::getPathTemplate('adGroupAdLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_asset resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted ad_group_asset resource. - */ - public static function adGroupAssetName(string $customerId, string $adGroupId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('adGroupAsset')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_bid_modifier resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_bid_modifier resource. - */ - public static function adGroupBidModifierName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupBidModifier')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupCriterion')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_criterion_customizer resource. - */ - public static function adGroupCriterionCustomizerName(string $customerId, string $adGroupId, string $criterionId, string $customizerAttributeId): string - { - return self::getPathTemplate('adGroupCriterionCustomizer')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $labelId - * - * @return string The formatted ad_group_criterion_label resource. - */ - public static function adGroupCriterionLabelName(string $customerId, string $adGroupId, string $criterionId, string $labelId): string - { - return self::getPathTemplate('adGroupCriterionLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_customizer resource. - */ - public static function adGroupCustomizerName(string $customerId, string $adGroupId, string $customizerAttributeId): string - { - return self::getPathTemplate('adGroupCustomizer')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_extension_setting resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $extensionType - * - * @return string The formatted ad_group_extension_setting resource. - */ - public static function adGroupExtensionSettingName(string $customerId, string $adGroupId, string $extensionType): string - { - return self::getPathTemplate('adGroupExtensionSetting')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_feed resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $feedId - * - * @return string The formatted ad_group_feed resource. - */ - public static function adGroupFeedName(string $customerId, string $adGroupId, string $feedId): string - { - return self::getPathTemplate('adGroupFeed')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $labelId - * - * @return string The formatted ad_group_label resource. - */ - public static function adGroupLabelName(string $customerId, string $adGroupId, string $labelId): string - { - return self::getPathTemplate('adGroupLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_parameter - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $parameterIndex - * - * @return string The formatted ad_parameter resource. - */ - public static function adParameterName(string $customerId, string $adGroupId, string $criterionId, string $parameterIndex): string - { - return self::getPathTemplate('adParameter')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'parameter_index' => $parameterIndex, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName(string $customerId, string $assetGroupId): string - { - return self::getPathTemplate('assetGroup')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_asset resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted asset_group_asset resource. - */ - public static function assetGroupAssetName(string $customerId, string $assetGroupId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('assetGroupAsset')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_listing_group_filter resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $listingGroupFilterId - * - * @return string The formatted asset_group_listing_group_filter resource. - */ - public static function assetGroupListingGroupFilterName(string $customerId, string $assetGroupId, string $listingGroupFilterId): string - { - return self::getPathTemplate('assetGroupListingGroupFilter')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'listing_group_filter_id' => $listingGroupFilterId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_signal resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $criterionId - * - * @return string The formatted asset_group_signal resource. - */ - public static function assetGroupSignalName(string $customerId, string $assetGroupId, string $criterionId): string - { - return self::getPathTemplate('assetGroupSignal')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('assetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_set_asset resource. - * - * @param string $customerId - * @param string $assetSetId - * @param string $assetId - * - * @return string The formatted asset_set_asset resource. - */ - public static function assetSetAssetName(string $customerId, string $assetSetId, string $assetId): string - { - return self::getPathTemplate('assetSetAsset')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a audience - * resource. - * - * @param string $customerId - * @param string $audienceId - * - * @return string The formatted audience resource. - */ - public static function audienceName(string $customerId, string $audienceId): string - { - return self::getPathTemplate('audience')->render([ - 'customer_id' => $customerId, - 'audience_id' => $audienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a batch_job - * resource. - * - * @param string $customerId - * @param string $batchJobId - * - * @return string The formatted batch_job resource. - */ - public static function batchJobName(string $customerId, string $batchJobId): string - { - return self::getPathTemplate('batchJob')->render([ - 'customer_id' => $customerId, - 'batch_job_id' => $batchJobId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_data_exclusion resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_data_exclusion resource. - */ - public static function biddingDataExclusionName(string $customerId, string $seasonalityEventId): string - { - return self::getPathTemplate('biddingDataExclusion')->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_seasonality_adjustment resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_seasonality_adjustment resource. - */ - public static function biddingSeasonalityAdjustmentName(string $customerId, string $seasonalityEventId): string - { - return self::getPathTemplate('biddingSeasonalityAdjustment')->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted bidding_strategy resource. - */ - public static function biddingStrategyName(string $customerId, string $biddingStrategyId): string - { - return self::getPathTemplate('biddingStrategy')->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted campaign_asset resource. - */ - public static function campaignAssetName(string $customerId, string $campaignId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('campaignAsset')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetSetId - * - * @return string The formatted campaign_asset_set resource. - */ - public static function campaignAssetSetName(string $customerId, string $campaignId, string $assetSetId): string - { - return self::getPathTemplate('campaignAssetSet')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_bid_modifier resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_bid_modifier resource. - */ - public static function campaignBidModifierName(string $customerId, string $campaignId, string $criterionId): string - { - return self::getPathTemplate('campaignBidModifier')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName(string $customerId, string $campaignBudgetId): string - { - return self::getPathTemplate('campaignBudget')->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_conversion_goal resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $category - * @param string $source - * - * @return string The formatted campaign_conversion_goal resource. - */ - public static function campaignConversionGoalName(string $customerId, string $campaignId, string $category, string $source): string - { - return self::getPathTemplate('campaignConversionGoal')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_criterion resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_criterion resource. - */ - public static function campaignCriterionName(string $customerId, string $campaignId, string $criterionId): string - { - return self::getPathTemplate('campaignCriterion')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_customizer resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $customizerAttributeId - * - * @return string The formatted campaign_customizer resource. - */ - public static function campaignCustomizerName(string $customerId, string $campaignId, string $customizerAttributeId): string - { - return self::getPathTemplate('campaignCustomizer')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_draft resource. - * - * @param string $customerId - * @param string $baseCampaignId - * @param string $draftId - * - * @return string The formatted campaign_draft resource. - */ - public static function campaignDraftName(string $customerId, string $baseCampaignId, string $draftId): string - { - return self::getPathTemplate('campaignDraft')->render([ - 'customer_id' => $customerId, - 'base_campaign_id' => $baseCampaignId, - 'draft_id' => $draftId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_extension_setting resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $extensionType - * - * @return string The formatted campaign_extension_setting resource. - */ - public static function campaignExtensionSettingName(string $customerId, string $campaignId, string $extensionType): string - { - return self::getPathTemplate('campaignExtensionSetting')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_feed resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $feedId - * - * @return string The formatted campaign_feed resource. - */ - public static function campaignFeedName(string $customerId, string $campaignId, string $feedId): string - { - return self::getPathTemplate('campaignFeed')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_group resource. - * - * @param string $customerId - * @param string $campaignGroupId - * - * @return string The formatted campaign_group resource. - */ - public static function campaignGroupName(string $customerId, string $campaignGroupId): string - { - return self::getPathTemplate('campaignGroup')->render([ - 'customer_id' => $customerId, - 'campaign_group_id' => $campaignGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_label resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $labelId - * - * @return string The formatted campaign_label resource. - */ - public static function campaignLabelName(string $customerId, string $campaignId, string $labelId): string - { - return self::getPathTemplate('campaignLabel')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_shared_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $sharedSetId - * - * @return string The formatted campaign_shared_set resource. - */ - public static function campaignSharedSetName(string $customerId, string $campaignId, string $sharedSetId): string - { - return self::getPathTemplate('campaignSharedSet')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * combined_audience resource. - * - * @param string $customerId - * @param string $combinedAudienceId - * - * @return string The formatted combined_audience resource. - */ - public static function combinedAudienceName(string $customerId, string $combinedAudienceId): string - { - return self::getPathTemplate('combinedAudience')->render([ - 'customer_id' => $customerId, - 'combined_audience_id' => $combinedAudienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName(string $customerId, string $conversionActionId): string - { - return self::getPathTemplate('conversionAction')->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_custom_variable resource. - * - * @param string $customerId - * @param string $conversionCustomVariableId - * - * @return string The formatted conversion_custom_variable resource. - */ - public static function conversionCustomVariableName(string $customerId, string $conversionCustomVariableId): string - { - return self::getPathTemplate('conversionCustomVariable')->render([ - 'customer_id' => $customerId, - 'conversion_custom_variable_id' => $conversionCustomVariableId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_goal_campaign_config resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted conversion_goal_campaign_config resource. - */ - public static function conversionGoalCampaignConfigName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('conversionGoalCampaignConfig')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule resource. - * - * @param string $customerId - * @param string $conversionValueRuleId - * - * @return string The formatted conversion_value_rule resource. - */ - public static function conversionValueRuleName(string $customerId, string $conversionValueRuleId): string - { - return self::getPathTemplate('conversionValueRule')->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_id' => $conversionValueRuleId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule_set resource. - * - * @param string $customerId - * @param string $conversionValueRuleSetId - * - * @return string The formatted conversion_value_rule_set resource. - */ - public static function conversionValueRuleSetName(string $customerId, string $conversionValueRuleSetId): string - { - return self::getPathTemplate('conversionValueRuleSet')->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_set_id' => $conversionValueRuleSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_conversion_goal resource. - * - * @param string $customerId - * @param string $goalId - * - * @return string The formatted custom_conversion_goal resource. - */ - public static function customConversionGoalName(string $customerId, string $goalId): string - { - return self::getPathTemplate('customConversionGoal')->render([ - 'customer_id' => $customerId, - 'goal_id' => $goalId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_asset resource. - * - * @param string $customerId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted customer_asset resource. - */ - public static function customerAssetName(string $customerId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('customerAsset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_conversion_goal resource. - * - * @param string $customerId - * @param string $category - * @param string $source - * - * @return string The formatted customer_conversion_goal resource. - */ - public static function customerConversionGoalName(string $customerId, string $category, string $source): string - { - return self::getPathTemplate('customerConversionGoal')->render([ - 'customer_id' => $customerId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_customizer resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customer_customizer resource. - */ - public static function customerCustomizerName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customerCustomizer')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_extension_setting resource. - * - * @param string $customerId - * @param string $extensionType - * - * @return string The formatted customer_extension_setting resource. - */ - public static function customerExtensionSettingName(string $customerId, string $extensionType): string - { - return self::getPathTemplate('customerExtensionSetting')->render([ - 'customer_id' => $customerId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_feed resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted customer_feed resource. - */ - public static function customerFeedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('customerFeed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_label resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted customer_label resource. - */ - public static function customerLabelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('customerLabel')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_negative_criterion resource. - * - * @param string $customerId - * @param string $criterionId - * - * @return string The formatted customer_negative_criterion resource. - */ - public static function customerNegativeCriterionName(string $customerId, string $criterionId): string - { - return self::getPathTemplate('customerNegativeCriterion')->render([ - 'customer_id' => $customerId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customizerAttribute')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a experiment - * resource. - * - * @param string $customerId - * @param string $trialId - * - * @return string The formatted experiment resource. - */ - public static function experimentName(string $customerId, string $trialId): string - { - return self::getPathTemplate('experiment')->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * experiment_arm resource. - * - * @param string $customerId - * @param string $trialId - * @param string $trialArmId - * - * @return string The formatted experiment_arm resource. - */ - public static function experimentArmName(string $customerId, string $trialId, string $trialArmId): string - { - return self::getPathTemplate('experimentArm')->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - 'trial_arm_id' => $trialArmId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName(string $customerId, string $feedItemId): string - { - return self::getPathTemplate('extensionFeedItem')->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName(string $customerId, string $feedId, string $feedItemId): string - { - return self::getPathTemplate('feedItem')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * - * @return string The formatted feed_item_set resource. - */ - public static function feedItemSetName(string $customerId, string $feedId, string $feedItemSetId): string - { - return self::getPathTemplate('feedItemSet')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set_link resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * @param string $feedItemId - * - * @return string The formatted feed_item_set_link resource. - */ - public static function feedItemSetLinkName(string $customerId, string $feedId, string $feedItemSetId, string $feedItemId): string - { - return self::getPathTemplate('feedItemSetLink')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_target resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * @param string $feedItemTargetType - * @param string $feedItemTargetId - * - * @return string The formatted feed_item_target resource. - */ - public static function feedItemTargetName(string $customerId, string $feedId, string $feedItemId, string $feedItemTargetType, string $feedItemTargetId): string - { - return self::getPathTemplate('feedItemTarget')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - 'feed_item_target_type' => $feedItemTargetType, - 'feed_item_target_id' => $feedItemTargetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_mapping - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedMappingId - * - * @return string The formatted feed_mapping resource. - */ - public static function feedMappingName(string $customerId, string $feedId, string $feedMappingId): string - { - return self::getPathTemplate('feedMapping')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_mapping_id' => $feedMappingId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName(string $criterionId): string - { - return self::getPathTemplate('geoTargetConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a keyword_plan - * resource. - * - * @param string $customerId - * @param string $keywordPlanId - * - * @return string The formatted keyword_plan resource. - */ - public static function keywordPlanName(string $customerId, string $keywordPlanId): string - { - return self::getPathTemplate('keywordPlan')->render([ - 'customer_id' => $customerId, - 'keyword_plan_id' => $keywordPlanId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupId - * - * @return string The formatted keyword_plan_ad_group resource. - */ - public static function keywordPlanAdGroupName(string $customerId, string $keywordPlanAdGroupId): string - { - return self::getPathTemplate('keywordPlanAdGroup')->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_id' => $keywordPlanAdGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupKeywordId - * - * @return string The formatted keyword_plan_ad_group_keyword resource. - */ - public static function keywordPlanAdGroupKeywordName(string $customerId, string $keywordPlanAdGroupKeywordId): string - { - return self::getPathTemplate('keywordPlanAdGroupKeyword')->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_keyword_id' => $keywordPlanAdGroupKeywordId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName(string $customerId, string $keywordPlanCampaignId): string - { - return self::getPathTemplate('keywordPlanCampaign')->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignKeywordId - * - * @return string The formatted keyword_plan_campaign_keyword resource. - */ - public static function keywordPlanCampaignKeywordName(string $customerId, string $keywordPlanCampaignKeywordId): string - { - return self::getPathTemplate('keywordPlanCampaignKeyword')->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_keyword_id' => $keywordPlanCampaignKeywordId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('label')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * language_constant resource. - * - * @param string $criterionId - * - * @return string The formatted language_constant resource. - */ - public static function languageConstantName(string $criterionId): string - { - return self::getPathTemplate('languageConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName(string $mobileAppCategoryId): string - { - return self::getPathTemplate('mobileAppCategoryConstant')->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * recommendation_subscription resource. - * - * @param string $customerId - * @param string $recommendationType - * - * @return string The formatted recommendation_subscription resource. - */ - public static function recommendationSubscriptionName(string $customerId, string $recommendationType): string - { - return self::getPathTemplate('recommendationSubscription')->render([ - 'customer_id' => $customerId, - 'recommendation_type' => $recommendationType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * remarketing_action resource. - * - * @param string $customerId - * @param string $remarketingActionId - * - * @return string The formatted remarketing_action resource. - */ - public static function remarketingActionName(string $customerId, string $remarketingActionId): string - { - return self::getPathTemplate('remarketingAction')->render([ - 'customer_id' => $customerId, - 'remarketing_action_id' => $remarketingActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * shared_criterion resource. - * - * @param string $customerId - * @param string $sharedSetId - * @param string $criterionId - * - * @return string The formatted shared_criterion resource. - */ - public static function sharedCriterionName(string $customerId, string $sharedSetId, string $criterionId): string - { - return self::getPathTemplate('sharedCriterion')->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName(string $customerId, string $sharedSetId): string - { - return self::getPathTemplate('sharedSet')->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * smart_campaign_setting resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted smart_campaign_setting resource. - */ - public static function smartCampaignSettingName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('smartCampaignSetting')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * topic_constant resource. - * - * @param string $topicId - * - * @return string The formatted topic_constant resource. - */ - public static function topicConstantName(string $topicId): string - { - return self::getPathTemplate('topicConstant')->render([ - 'topic_id' => $topicId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * user_interest resource. - * - * @param string $customerId - * @param string $userInterestId - * - * @return string The formatted user_interest resource. - */ - public static function userInterestName(string $customerId, string $userInterestId): string - { - return self::getPathTemplate('userInterest')->render([ - 'customer_id' => $customerId, - 'user_interest_id' => $userInterestId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName(string $customerId, string $userListId): string - { - return self::getPathTemplate('userList')->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accessibleBiddingStrategy: customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id} - * - ad: customers/{customer_id}/ads/{ad_id} - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} - * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} - * - adGroupAsset: customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type} - * - adGroupBidModifier: customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id} - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionCustomizer: customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id} - * - adGroupCriterionLabel: customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id} - * - adGroupCustomizer: customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id} - * - adGroupExtensionSetting: customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type} - * - adGroupFeed: customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - adGroupLabel: customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id} - * - adParameter: customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index} - * - asset: customers/{customer_id}/assets/{asset_id} - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupAsset: customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type} - * - assetGroupListingGroupFilter: customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id} - * - assetGroupSignal: customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - assetSetAsset: customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id} - * - audience: customers/{customer_id}/audiences/{audience_id} - * - batchJob: customers/{customer_id}/batchJobs/{batch_job_id} - * - biddingDataExclusion: customers/{customer_id}/biddingDataExclusions/{seasonality_event_id} - * - biddingSeasonalityAdjustment: customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id} - * - biddingStrategy: customers/{customer_id}/biddingStrategies/{bidding_strategy_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignAsset: customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type} - * - campaignAssetSet: customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id} - * - campaignBidModifier: customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id} - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - campaignConversionGoal: customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source} - * - campaignCriterion: customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id} - * - campaignCustomizer: customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id} - * - campaignDraft: customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id} - * - campaignExtensionSetting: customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type} - * - campaignFeed: customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - campaignGroup: customers/{customer_id}/campaignGroups/{campaign_group_id} - * - campaignLabel: customers/{customer_id}/campaignLabels/{campaign_id}~{label_id} - * - campaignSharedSet: customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id} - * - combinedAudience: customers/{customer_id}/combinedAudiences/{combined_audience_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - conversionCustomVariable: customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id} - * - conversionGoalCampaignConfig: customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id} - * - conversionValueRule: customers/{customer_id}/conversionValueRules/{conversion_value_rule_id} - * - conversionValueRuleSet: customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id} - * - customConversionGoal: customers/{customer_id}/customConversionGoals/{goal_id} - * - customer: customers/{customer_id} - * - customerAsset: customers/{customer_id}/customerAssets/{asset_id}~{field_type} - * - customerConversionGoal: customers/{customer_id}/customerConversionGoals/{category}~{source} - * - customerCustomizer: customers/{customer_id}/customerCustomizers/{customizer_attribute_id} - * - customerExtensionSetting: customers/{customer_id}/customerExtensionSettings/{extension_type} - * - customerFeed: customers/{customer_id}/customerFeeds/{feed_id} - * - customerLabel: customers/{customer_id}/customerLabels/{label_id} - * - customerNegativeCriterion: customers/{customer_id}/customerNegativeCriteria/{criterion_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - experiment: customers/{customer_id}/experiments/{trial_id} - * - experimentArm: customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - feedItemSet: customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id} - * - feedItemSetLink: customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id} - * - feedItemTarget: customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id} - * - feedMapping: customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - keywordPlan: customers/{customer_id}/keywordPlans/{keyword_plan_id} - * - keywordPlanAdGroup: customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id} - * - keywordPlanAdGroupKeyword: customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id} - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - keywordPlanCampaignKeyword: customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id} - * - label: customers/{customer_id}/labels/{label_id} - * - languageConstant: languageConstants/{criterion_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - recommendationSubscription: customers/{customer_id}/recommendationSubscriptions/{recommendation_type} - * - remarketingAction: customers/{customer_id}/remarketingActions/{remarketing_action_id} - * - sharedCriterion: customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id} - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - smartCampaignSetting: customers/{customer_id}/smartCampaignSettings/{campaign_id} - * - topicConstant: topicConstants/{topic_id} - * - userInterest: customers/{customer_id}/userInterests/{user_interest_id} - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - $this->operationsClient = $this->createOperationsClient($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Add operations to the batch job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * The async variant is {@see BatchJobServiceClient::addBatchJobOperationsAsync()} - * . - * - * @param AddBatchJobOperationsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return AddBatchJobOperationsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function addBatchJobOperations(AddBatchJobOperationsRequest $request, array $callOptions = []): AddBatchJobOperationsResponse - { - return $this->startApiCall('AddBatchJobOperations', $request, $callOptions)->wait(); - } - - /** - * Returns the results of the batch job. The job must be done. - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see BatchJobServiceClient::listBatchJobResultsAsync()} . - * - * @param ListBatchJobResultsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listBatchJobResults(ListBatchJobResultsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListBatchJobResults', $request, $callOptions); - } - - /** - * Mutates a batch job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * The async variant is {@see BatchJobServiceClient::mutateBatchJobAsync()} . - * - * @param MutateBatchJobRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateBatchJobResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateBatchJob(MutateBatchJobRequest $request, array $callOptions = []): MutateBatchJobResponse - { - return $this->startApiCall('MutateBatchJob', $request, $callOptions)->wait(); - } - - /** - * Runs the batch job. - * - * The Operation.metadata field type is BatchJobMetadata. When finished, the - * long running operation will not contain errors or a response. Instead, use - * ListBatchJobResults to get the results of the job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see BatchJobServiceClient::runBatchJobAsync()} . - * - * @param RunBatchJobRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return OperationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function runBatchJob(RunBatchJobRequest $request, array $callOptions = []): OperationResponse - { - return $this->startApiCall('RunBatchJob', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingDataExclusionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingDataExclusionServiceClient.php deleted file mode 100644 index 350df658e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingDataExclusionServiceClient.php +++ /dev/null @@ -1,259 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/bidding_data_exclusion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/bidding_data_exclusion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/bidding_data_exclusion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/bidding_data_exclusion_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_data_exclusion resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_data_exclusion resource. - */ - public static function biddingDataExclusionName(string $customerId, string $seasonalityEventId): string - { - return self::getPathTemplate('biddingDataExclusion')->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - biddingDataExclusion: customers/{customer_id}/biddingDataExclusions/{seasonality_event_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes data exclusions. - * Operation statuses are returned. - * - * The async variant is - * {@see BiddingDataExclusionServiceClient::mutateBiddingDataExclusionsAsync()} . - * - * @param MutateBiddingDataExclusionsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateBiddingDataExclusionsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateBiddingDataExclusions(MutateBiddingDataExclusionsRequest $request, array $callOptions = []): MutateBiddingDataExclusionsResponse - { - return $this->startApiCall('MutateBiddingDataExclusions', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingSeasonalityAdjustmentServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingSeasonalityAdjustmentServiceClient.php deleted file mode 100644 index c30e07338..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingSeasonalityAdjustmentServiceClient.php +++ /dev/null @@ -1,260 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/bidding_seasonality_adjustment_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/bidding_seasonality_adjustment_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/bidding_seasonality_adjustment_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/bidding_seasonality_adjustment_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_seasonality_adjustment resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_seasonality_adjustment resource. - */ - public static function biddingSeasonalityAdjustmentName(string $customerId, string $seasonalityEventId): string - { - return self::getPathTemplate('biddingSeasonalityAdjustment')->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - biddingSeasonalityAdjustment: customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes seasonality adjustments. - * Operation statuses are returned. - * - * The async variant is - * {@see BiddingSeasonalityAdjustmentServiceClient::mutateBiddingSeasonalityAdjustmentsAsync()} - * . - * - * @param MutateBiddingSeasonalityAdjustmentsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateBiddingSeasonalityAdjustmentsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateBiddingSeasonalityAdjustments(MutateBiddingSeasonalityAdjustmentsRequest $request, array $callOptions = []): MutateBiddingSeasonalityAdjustmentsResponse - { - return $this->startApiCall('MutateBiddingSeasonalityAdjustments', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingStrategyServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingStrategyServiceClient.php deleted file mode 100644 index 59024ad50..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/BiddingStrategyServiceClient.php +++ /dev/null @@ -1,269 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/bidding_strategy_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/bidding_strategy_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/bidding_strategy_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/bidding_strategy_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted bidding_strategy resource. - */ - public static function biddingStrategyName(string $customerId, string $biddingStrategyId): string - { - return self::getPathTemplate('biddingStrategy')->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - biddingStrategy: customers/{customer_id}/biddingStrategies/{bidding_strategy_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes bidding strategies. Operation statuses are - * returned. - * - * List of thrown errors: - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [BiddingStrategyError]() - * [ContextError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see BiddingStrategyServiceClient::mutateBiddingStrategiesAsync()} . - * - * @param MutateBiddingStrategiesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateBiddingStrategiesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateBiddingStrategies(MutateBiddingStrategiesRequest $request, array $callOptions = []): MutateBiddingStrategiesResponse - { - return $this->startApiCall('MutateBiddingStrategies', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/BillingSetupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/BillingSetupServiceClient.php deleted file mode 100644 index 8e53597fb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/BillingSetupServiceClient.php +++ /dev/null @@ -1,278 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/billing_setup_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/billing_setup_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/billing_setup_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/billing_setup_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * billing_setup resource. - * - * @param string $customerId - * @param string $billingSetupId - * - * @return string The formatted billing_setup resource. - */ - public static function billingSetupName(string $customerId, string $billingSetupId): string - { - return self::getPathTemplate('billingSetup')->render([ - 'customer_id' => $customerId, - 'billing_setup_id' => $billingSetupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * payments_account resource. - * - * @param string $customerId - * @param string $paymentsAccountId - * - * @return string The formatted payments_account resource. - */ - public static function paymentsAccountName(string $customerId, string $paymentsAccountId): string - { - return self::getPathTemplate('paymentsAccount')->render([ - 'customer_id' => $customerId, - 'payments_account_id' => $paymentsAccountId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - billingSetup: customers/{customer_id}/billingSetups/{billing_setup_id} - * - paymentsAccount: customers/{customer_id}/paymentsAccounts/{payments_account_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates a billing setup, or cancels an existing billing setup. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BillingSetupError]() - * [DateError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see BillingSetupServiceClient::mutateBillingSetupAsync()} - * . - * - * @param MutateBillingSetupRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateBillingSetupResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateBillingSetup(MutateBillingSetupRequest $request, array $callOptions = []): MutateBillingSetupResponse - { - return $this->startApiCall('MutateBillingSetup', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetServiceClient.php deleted file mode 100644 index 2e3a302cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetServiceClient.php +++ /dev/null @@ -1,295 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_asset_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted campaign_asset resource. - */ - public static function campaignAssetName(string $customerId, string $campaignId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('campaignAsset')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignAsset: customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes campaign assets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NotAllowlistedError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CampaignAssetServiceClient::mutateCampaignAssetsAsync()} . - * - * @param MutateCampaignAssetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignAssetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignAssets(MutateCampaignAssetsRequest $request, array $callOptions = []): MutateCampaignAssetsResponse - { - return $this->startApiCall('MutateCampaignAssets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetSetServiceClient.php deleted file mode 100644 index baa0564a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetSetServiceClient.php +++ /dev/null @@ -1,279 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_asset_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_asset_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_asset_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_asset_set_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('assetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetSetId - * - * @return string The formatted campaign_asset_set resource. - */ - public static function campaignAssetSetName(string $customerId, string $campaignId, string $assetSetId): string - { - return self::getPathTemplate('campaignAssetSet')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignAssetSet: customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes campaign asset sets. Operation statuses are - * returned. - * - * The async variant is - * {@see CampaignAssetSetServiceClient::mutateCampaignAssetSetsAsync()} . - * - * @param MutateCampaignAssetSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignAssetSetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignAssetSets(MutateCampaignAssetSetsRequest $request, array $callOptions = []): MutateCampaignAssetSetsResponse - { - return $this->startApiCall('MutateCampaignAssetSets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignBidModifierServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignBidModifierServiceClient.php deleted file mode 100644 index 18aedd4e9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignBidModifierServiceClient.php +++ /dev/null @@ -1,285 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_bid_modifier_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_bid_modifier_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_bid_modifier_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_bid_modifier_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_bid_modifier resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_bid_modifier resource. - */ - public static function campaignBidModifierName(string $customerId, string $campaignId, string $criterionId): string - { - return self::getPathTemplate('campaignBidModifier')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignBidModifier: customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes campaign bid modifiers. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see CampaignBidModifierServiceClient::mutateCampaignBidModifiersAsync()} . - * - * @param MutateCampaignBidModifiersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignBidModifiersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignBidModifiers(MutateCampaignBidModifiersRequest $request, array $callOptions = []): MutateCampaignBidModifiersResponse - { - return $this->startApiCall('MutateCampaignBidModifiers', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignBudgetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignBudgetServiceClient.php deleted file mode 100644 index e91bba109..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignBudgetServiceClient.php +++ /dev/null @@ -1,260 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_budget_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_budget_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_budget_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_budget_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName(string $customerId, string $campaignBudgetId): string - { - return self::getPathTemplate('campaignBudget')->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes campaign budgets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignBudgetError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [OperationAccessDeniedError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [StringLengthError]() - * - * The async variant is - * {@see CampaignBudgetServiceClient::mutateCampaignBudgetsAsync()} . - * - * @param MutateCampaignBudgetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignBudgetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignBudgets(MutateCampaignBudgetsRequest $request, array $callOptions = []): MutateCampaignBudgetsResponse - { - return $this->startApiCall('MutateCampaignBudgets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignConversionGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignConversionGoalServiceClient.php deleted file mode 100644 index 57de8a146..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignConversionGoalServiceClient.php +++ /dev/null @@ -1,264 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_conversion_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_conversion_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_conversion_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_conversion_goal_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_conversion_goal resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $category - * @param string $source - * - * @return string The formatted campaign_conversion_goal resource. - */ - public static function campaignConversionGoalName(string $customerId, string $campaignId, string $category, string $source): string - { - return self::getPathTemplate('campaignConversionGoal')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignConversionGoal: customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes campaign conversion goals. Operation statuses - * are returned. - * - * The async variant is - * {@see CampaignConversionGoalServiceClient::mutateCampaignConversionGoalsAsync()} - * . - * - * @param MutateCampaignConversionGoalsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignConversionGoalsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignConversionGoals(MutateCampaignConversionGoalsRequest $request, array $callOptions = []): MutateCampaignConversionGoalsResponse - { - return $this->startApiCall('MutateCampaignConversionGoals', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignCriterionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignCriterionServiceClient.php deleted file mode 100644 index 6f1d63396..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignCriterionServiceClient.php +++ /dev/null @@ -1,341 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_criterion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_criterion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_criterion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_criterion_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_criterion resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_criterion resource. - */ - public static function campaignCriterionName(string $customerId, string $campaignId, string $criterionId): string - { - return self::getPathTemplate('campaignCriterion')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * combined_audience resource. - * - * @param string $customerId - * @param string $combinedAudienceId - * - * @return string The formatted combined_audience resource. - */ - public static function combinedAudienceName(string $customerId, string $combinedAudienceId): string - { - return self::getPathTemplate('combinedAudience')->render([ - 'customer_id' => $customerId, - 'combined_audience_id' => $combinedAudienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName(string $mobileAppCategoryId): string - { - return self::getPathTemplate('mobileAppCategoryConstant')->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * topic_constant resource. - * - * @param string $topicId - * - * @return string The formatted topic_constant resource. - */ - public static function topicConstantName(string $topicId): string - { - return self::getPathTemplate('topicConstant')->render([ - 'topic_id' => $topicId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignCriterion: customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id} - * - combinedAudience: customers/{customer_id}/combinedAudiences/{combined_audience_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - topicConstant: topicConstants/{topic_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes criteria. Operation statuses are returned. - * - * List of thrown errors: - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignCriterionError]() - * [CollectionSizeError]() - * [ContextError]() - * [CriterionError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RegionCodeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see CampaignCriterionServiceClient::mutateCampaignCriteriaAsync()} . - * - * @param MutateCampaignCriteriaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignCriteriaResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignCriteria(MutateCampaignCriteriaRequest $request, array $callOptions = []): MutateCampaignCriteriaResponse - { - return $this->startApiCall('MutateCampaignCriteria', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignCustomizerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignCustomizerServiceClient.php deleted file mode 100644 index 32b08c496..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignCustomizerServiceClient.php +++ /dev/null @@ -1,279 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_customizer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_customizer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_customizer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_customizer_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_customizer resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $customizerAttributeId - * - * @return string The formatted campaign_customizer resource. - */ - public static function campaignCustomizerName(string $customerId, string $campaignId, string $customizerAttributeId): string - { - return self::getPathTemplate('campaignCustomizer')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customizerAttribute')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignCustomizer: customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes campaign customizers. Operation statuses are - * returned. - * - * The async variant is - * {@see CampaignCustomizerServiceClient::mutateCampaignCustomizersAsync()} . - * - * @param MutateCampaignCustomizersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignCustomizersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignCustomizers(MutateCampaignCustomizersRequest $request, array $callOptions = []): MutateCampaignCustomizersResponse - { - return $this->startApiCall('MutateCampaignCustomizers', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignDraftServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignDraftServiceClient.php deleted file mode 100644 index b15d937a8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignDraftServiceClient.php +++ /dev/null @@ -1,390 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_draft_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_draft_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_draft_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_draft_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Return an OperationsClient object with the same endpoint as $this. - * - * @return OperationsClient - */ - public function getOperationsClient() - { - return $this->operationsClient; - } - - /** - * Resume an existing long running operation that was previously started by a long - * running API method. If $methodName is not provided, or does not match a long - * running API method, then the operation can still be resumed, but the - * OperationResponse object will not deserialize the final response. - * - * @param string $operationName The name of the long running operation - * @param string $methodName The name of the method used to start the operation - * - * @return OperationResponse - */ - public function resumeOperation($operationName, $methodName = null) - { - $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; - $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); - $operation->reload(); - return $operation; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_draft resource. - * - * @param string $customerId - * @param string $baseCampaignId - * @param string $draftId - * - * @return string The formatted campaign_draft resource. - */ - public static function campaignDraftName(string $customerId, string $baseCampaignId, string $draftId): string - { - return self::getPathTemplate('campaignDraft')->render([ - 'customer_id' => $customerId, - 'base_campaign_id' => $baseCampaignId, - 'draft_id' => $draftId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignDraft: customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - $this->operationsClient = $this->createOperationsClient($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns all errors that occurred during CampaignDraft promote. Throws an - * error if called before campaign draft is promoted. - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CampaignDraftServiceClient::listCampaignDraftAsyncErrorsAsync()} . - * - * @param ListCampaignDraftAsyncErrorsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listCampaignDraftAsyncErrors(ListCampaignDraftAsyncErrorsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListCampaignDraftAsyncErrors', $request, $callOptions); - } - - /** - * Creates, updates, or removes campaign drafts. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignDraftError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CampaignDraftServiceClient::mutateCampaignDraftsAsync()} . - * - * @param MutateCampaignDraftsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignDraftsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignDrafts(MutateCampaignDraftsRequest $request, array $callOptions = []): MutateCampaignDraftsResponse - { - return $this->startApiCall('MutateCampaignDrafts', $request, $callOptions)->wait(); - } - - /** - * Promotes the changes in a draft back to the base campaign. - * - * This method returns a Long Running Operation (LRO) indicating if the - * Promote is done. Use [Operations.GetOperation] to poll the LRO until it - * is done. Only a done status is returned in the response. See the status - * in the Campaign Draft resource to determine if the promotion was - * successful. If the LRO failed, use - * [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v15.services.CampaignDraftService.ListCampaignDraftAsyncErrors] - * to view the list of error reasons. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignDraftError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CampaignDraftServiceClient::promoteCampaignDraftAsync()} . - * - * @param PromoteCampaignDraftRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return OperationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function promoteCampaignDraft(PromoteCampaignDraftRequest $request, array $callOptions = []): OperationResponse - { - return $this->startApiCall('PromoteCampaignDraft', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignExtensionSettingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignExtensionSettingServiceClient.php deleted file mode 100644 index 3e16d5734..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignExtensionSettingServiceClient.php +++ /dev/null @@ -1,309 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_extension_setting_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_extension_setting_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_extension_setting_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_extension_setting_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_extension_setting resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $extensionType - * - * @return string The formatted campaign_extension_setting resource. - */ - public static function campaignExtensionSettingName(string $customerId, string $campaignId, string $extensionType): string - { - return self::getPathTemplate('campaignExtensionSetting')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName(string $customerId, string $feedItemId): string - { - return self::getPathTemplate('extensionFeedItem')->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignExtensionSetting: customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes campaign extension settings. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [ExtensionSettingError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is - * {@see CampaignExtensionSettingServiceClient::mutateCampaignExtensionSettingsAsync()} - * . - * - * @param MutateCampaignExtensionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignExtensionSettingsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignExtensionSettings(MutateCampaignExtensionSettingsRequest $request, array $callOptions = []): MutateCampaignExtensionSettingsResponse - { - return $this->startApiCall('MutateCampaignExtensionSettings', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignFeedServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignFeedServiceClient.php deleted file mode 100644 index 258dfe560..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignFeedServiceClient.php +++ /dev/null @@ -1,304 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_feed_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_feed_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_feed_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_feed_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_feed resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $feedId - * - * @return string The formatted campaign_feed resource. - */ - public static function campaignFeedName(string $customerId, string $campaignId, string $feedId): string - { - return self::getPathTemplate('campaignFeed')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignFeed: customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes campaign feeds. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignFeedError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see CampaignFeedServiceClient::mutateCampaignFeedsAsync()} . - * - * @param MutateCampaignFeedsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignFeedsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignFeeds(MutateCampaignFeedsRequest $request, array $callOptions = []): MutateCampaignFeedsResponse - { - return $this->startApiCall('MutateCampaignFeeds', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignGroupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignGroupServiceClient.php deleted file mode 100644 index 8561fe0d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignGroupServiceClient.php +++ /dev/null @@ -1,241 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_group_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_group_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_group_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_group_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_group resource. - * - * @param string $customerId - * @param string $campaignGroupId - * - * @return string The formatted campaign_group resource. - */ - public static function campaignGroupName(string $customerId, string $campaignGroupId): string - { - return self::getPathTemplate('campaignGroup')->render([ - 'customer_id' => $customerId, - 'campaign_group_id' => $campaignGroupId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaignGroup: customers/{customer_id}/campaignGroups/{campaign_group_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes campaign groups. Operation statuses are - * returned. - * - * The async variant is - * {@see CampaignGroupServiceClient::mutateCampaignGroupsAsync()} . - * - * @param MutateCampaignGroupsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignGroupsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignGroups(MutateCampaignGroupsRequest $request, array $callOptions = []): MutateCampaignGroupsResponse - { - return $this->startApiCall('MutateCampaignGroups', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignLabelServiceClient.php deleted file mode 100644 index 6ae6d2f3e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignLabelServiceClient.php +++ /dev/null @@ -1,292 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_label_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_label resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $labelId - * - * @return string The formatted campaign_label resource. - */ - public static function campaignLabelName(string $customerId, string $campaignId, string $labelId): string - { - return self::getPathTemplate('campaignLabel')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('label')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignLabel: customers/{customer_id}/campaignLabels/{campaign_id}~{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates and removes campaign-label relationships. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CampaignLabelServiceClient::mutateCampaignLabelsAsync()} . - * - * @param MutateCampaignLabelsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignLabelsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignLabels(MutateCampaignLabelsRequest $request, array $callOptions = []): MutateCampaignLabelsResponse - { - return $this->startApiCall('MutateCampaignLabels', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignLifecycleGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignLifecycleGoalServiceClient.php deleted file mode 100644 index 12269c515..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignLifecycleGoalServiceClient.php +++ /dev/null @@ -1,268 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_lifecycle_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_lifecycle_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_lifecycle_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_lifecycle_goal_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_lifecycle_goal resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign_lifecycle_goal resource. - */ - public static function campaignLifecycleGoalName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaignLifecycleGoal')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignLifecycleGoal: customers/{customer_id}/campaignLifecycleGoals/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Process the given campaign lifecycle configurations. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignLifecycleGoalConfigError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CampaignLifecycleGoalServiceClient::configureCampaignLifecycleGoalsAsync()} - * . - * - * @param ConfigureCampaignLifecycleGoalsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ConfigureCampaignLifecycleGoalsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function configureCampaignLifecycleGoals(ConfigureCampaignLifecycleGoalsRequest $request, array $callOptions = []): ConfigureCampaignLifecycleGoalsResponse - { - return $this->startApiCall('ConfigureCampaignLifecycleGoals', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignServiceClient.php deleted file mode 100644 index 5dc57c2d4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignServiceClient.php +++ /dev/null @@ -1,422 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * accessible_bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted accessible_bidding_strategy resource. - */ - public static function accessibleBiddingStrategyName(string $customerId, string $biddingStrategyId): string - { - return self::getPathTemplate('accessibleBiddingStrategy')->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('assetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted bidding_strategy resource. - */ - public static function biddingStrategyName(string $customerId, string $biddingStrategyId): string - { - return self::getPathTemplate('biddingStrategy')->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName(string $customerId, string $campaignBudgetId): string - { - return self::getPathTemplate('campaignBudget')->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_group resource. - * - * @param string $customerId - * @param string $campaignGroupId - * - * @return string The formatted campaign_group resource. - */ - public static function campaignGroupName(string $customerId, string $campaignGroupId): string - { - return self::getPathTemplate('campaignGroup')->render([ - 'customer_id' => $customerId, - 'campaign_group_id' => $campaignGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_label resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $labelId - * - * @return string The formatted campaign_label resource. - */ - public static function campaignLabelName(string $customerId, string $campaignId, string $labelId): string - { - return self::getPathTemplate('campaignLabel')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName(string $customerId, string $conversionActionId): string - { - return self::getPathTemplate('conversionAction')->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accessibleBiddingStrategy: customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - biddingStrategy: customers/{customer_id}/biddingStrategies/{bidding_strategy_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - campaignGroup: customers/{customer_id}/campaignGroups/{campaign_group_id} - * - campaignLabel: customers/{customer_id}/campaignLabels/{campaign_id}~{label_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes campaigns. Operation statuses are returned. - * - * List of thrown errors: - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [BiddingStrategyError]() - * [CampaignBudgetError]() - * [CampaignError]() - * [ContextError]() - * [DatabaseError]() - * [DateError]() - * [DateRangeError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotAllowlistedError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RegionCodeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SettingError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is {@see CampaignServiceClient::mutateCampaignsAsync()} . - * - * @param MutateCampaignsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaigns(MutateCampaignsRequest $request, array $callOptions = []): MutateCampaignsResponse - { - return $this->startApiCall('MutateCampaigns', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignSharedSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignSharedSetServiceClient.php deleted file mode 100644 index fe2a5eb54..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CampaignSharedSetServiceClient.php +++ /dev/null @@ -1,302 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_shared_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_shared_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_shared_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_shared_set_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_shared_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $sharedSetId - * - * @return string The formatted campaign_shared_set resource. - */ - public static function campaignSharedSetName(string $customerId, string $campaignId, string $sharedSetId): string - { - return self::getPathTemplate('campaignSharedSet')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName(string $customerId, string $sharedSetId): string - { - return self::getPathTemplate('sharedSet')->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignSharedSet: customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id} - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or removes campaign shared sets. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignSharedSetError]() - * [ContextError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see CampaignSharedSetServiceClient::mutateCampaignSharedSetsAsync()} . - * - * @param MutateCampaignSharedSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCampaignSharedSetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCampaignSharedSets(MutateCampaignSharedSetsRequest $request, array $callOptions = []): MutateCampaignSharedSetsResponse - { - return $this->startApiCall('MutateCampaignSharedSets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionActionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionActionServiceClient.php deleted file mode 100644 index 7b8deba48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionActionServiceClient.php +++ /dev/null @@ -1,275 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_action_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_action_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_action_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_action_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName(string $customerId, string $conversionActionId): string - { - return self::getPathTemplate('conversionAction')->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes conversion actions. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ConversionActionError]() - * [CurrencyCodeError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [StringLengthError]() - * - * The async variant is - * {@see ConversionActionServiceClient::mutateConversionActionsAsync()} . - * - * @param MutateConversionActionsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateConversionActionsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateConversionActions(MutateConversionActionsRequest $request, array $callOptions = []): MutateConversionActionsResponse - { - return $this->startApiCall('MutateConversionActions', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionAdjustmentUploadServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionAdjustmentUploadServiceClient.php deleted file mode 100644 index 357ce653c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionAdjustmentUploadServiceClient.php +++ /dev/null @@ -1,202 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_adjustment_upload_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_adjustment_upload_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_adjustment_upload_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_adjustment_upload_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Processes the given conversion adjustments. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [PartialFailureError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see ConversionAdjustmentUploadServiceClient::uploadConversionAdjustmentsAsync()} - * . - * - * @param UploadConversionAdjustmentsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return UploadConversionAdjustmentsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function uploadConversionAdjustments(UploadConversionAdjustmentsRequest $request, array $callOptions = []): UploadConversionAdjustmentsResponse - { - return $this->startApiCall('UploadConversionAdjustments', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionCustomVariableServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionCustomVariableServiceClient.php deleted file mode 100644 index 13f03bf6b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionCustomVariableServiceClient.php +++ /dev/null @@ -1,268 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_custom_variable_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_custom_variable_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_custom_variable_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_custom_variable_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_custom_variable resource. - * - * @param string $customerId - * @param string $conversionCustomVariableId - * - * @return string The formatted conversion_custom_variable resource. - */ - public static function conversionCustomVariableName(string $customerId, string $conversionCustomVariableId): string - { - return self::getPathTemplate('conversionCustomVariable')->render([ - 'customer_id' => $customerId, - 'conversion_custom_variable_id' => $conversionCustomVariableId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionCustomVariable: customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or updates conversion custom variables. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ConversionCustomVariableError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see ConversionCustomVariableServiceClient::mutateConversionCustomVariablesAsync()} - * . - * - * @param MutateConversionCustomVariablesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateConversionCustomVariablesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateConversionCustomVariables(MutateConversionCustomVariablesRequest $request, array $callOptions = []): MutateConversionCustomVariablesResponse - { - return $this->startApiCall('MutateConversionCustomVariables', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionGoalCampaignConfigServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionGoalCampaignConfigServiceClient.php deleted file mode 100644 index 3762c64b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionGoalCampaignConfigServiceClient.php +++ /dev/null @@ -1,278 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_goal_campaign_config_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_goal_campaign_config_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_goal_campaign_config_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_goal_campaign_config_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_goal_campaign_config resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted conversion_goal_campaign_config resource. - */ - public static function conversionGoalCampaignConfigName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('conversionGoalCampaignConfig')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_conversion_goal resource. - * - * @param string $customerId - * @param string $goalId - * - * @return string The formatted custom_conversion_goal resource. - */ - public static function customConversionGoalName(string $customerId, string $goalId): string - { - return self::getPathTemplate('customConversionGoal')->render([ - 'customer_id' => $customerId, - 'goal_id' => $goalId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - conversionGoalCampaignConfig: customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id} - * - customConversionGoal: customers/{customer_id}/customConversionGoals/{goal_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes conversion goal campaign config. Operation - * statuses are returned. - * - * The async variant is - * {@see ConversionGoalCampaignConfigServiceClient::mutateConversionGoalCampaignConfigsAsync()} - * . - * - * @param MutateConversionGoalCampaignConfigsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateConversionGoalCampaignConfigsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateConversionGoalCampaignConfigs(MutateConversionGoalCampaignConfigsRequest $request, array $callOptions = []): MutateConversionGoalCampaignConfigsResponse - { - return $this->startApiCall('MutateConversionGoalCampaignConfigs', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionUploadServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionUploadServiceClient.php deleted file mode 100644 index 394ee8d04..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionUploadServiceClient.php +++ /dev/null @@ -1,287 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_upload_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_upload_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_upload_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_upload_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_custom_variable resource. - * - * @param string $customerId - * @param string $conversionCustomVariableId - * - * @return string The formatted conversion_custom_variable resource. - */ - public static function conversionCustomVariableName(string $customerId, string $conversionCustomVariableId): string - { - return self::getPathTemplate('conversionCustomVariable')->render([ - 'customer_id' => $customerId, - 'conversion_custom_variable_id' => $conversionCustomVariableId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionCustomVariable: customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Processes the given call conversions. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [PartialFailureError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see ConversionUploadServiceClient::uploadCallConversionsAsync()} . - * - * @param UploadCallConversionsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return UploadCallConversionsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function uploadCallConversions(UploadCallConversionsRequest $request, array $callOptions = []): UploadCallConversionsResponse - { - return $this->startApiCall('UploadCallConversions', $request, $callOptions)->wait(); - } - - /** - * Processes the given click conversions. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ConversionUploadError]() - * [HeaderError]() - * [InternalError]() - * [PartialFailureError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see ConversionUploadServiceClient::uploadClickConversionsAsync()} . - * - * @param UploadClickConversionsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return UploadClickConversionsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function uploadClickConversions(UploadClickConversionsRequest $request, array $callOptions = []): UploadClickConversionsResponse - { - return $this->startApiCall('UploadClickConversions', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleServiceClient.php deleted file mode 100644 index e46eed5f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleServiceClient.php +++ /dev/null @@ -1,309 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_value_rule_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_value_rule_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_value_rule_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_value_rule_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule resource. - * - * @param string $customerId - * @param string $conversionValueRuleId - * - * @return string The formatted conversion_value_rule resource. - */ - public static function conversionValueRuleName(string $customerId, string $conversionValueRuleId): string - { - return self::getPathTemplate('conversionValueRule')->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_id' => $conversionValueRuleId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName(string $criterionId): string - { - return self::getPathTemplate('geoTargetConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * user_interest resource. - * - * @param string $customerId - * @param string $userInterestId - * - * @return string The formatted user_interest resource. - */ - public static function userInterestName(string $customerId, string $userInterestId): string - { - return self::getPathTemplate('userInterest')->render([ - 'customer_id' => $customerId, - 'user_interest_id' => $userInterestId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName(string $customerId, string $userListId): string - { - return self::getPathTemplate('userList')->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionValueRule: customers/{customer_id}/conversionValueRules/{conversion_value_rule_id} - * - customer: customers/{customer_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - userInterest: customers/{customer_id}/userInterests/{user_interest_id} - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes conversion value rules. Operation statuses are - * returned. - * - * The async variant is - * {@see ConversionValueRuleServiceClient::mutateConversionValueRulesAsync()} . - * - * @param MutateConversionValueRulesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateConversionValueRulesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateConversionValueRules(MutateConversionValueRulesRequest $request, array $callOptions = []): MutateConversionValueRulesResponse - { - return $this->startApiCall('MutateConversionValueRules', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleSetServiceClient.php deleted file mode 100644 index 23a21a361..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleSetServiceClient.php +++ /dev/null @@ -1,294 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_value_rule_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_value_rule_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_value_rule_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_value_rule_set_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule resource. - * - * @param string $customerId - * @param string $conversionValueRuleId - * - * @return string The formatted conversion_value_rule resource. - */ - public static function conversionValueRuleName(string $customerId, string $conversionValueRuleId): string - { - return self::getPathTemplate('conversionValueRule')->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_id' => $conversionValueRuleId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule_set resource. - * - * @param string $customerId - * @param string $conversionValueRuleSetId - * - * @return string The formatted conversion_value_rule_set resource. - */ - public static function conversionValueRuleSetName(string $customerId, string $conversionValueRuleSetId): string - { - return self::getPathTemplate('conversionValueRuleSet')->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_set_id' => $conversionValueRuleSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - conversionValueRule: customers/{customer_id}/conversionValueRules/{conversion_value_rule_id} - * - conversionValueRuleSet: customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes conversion value rule sets. Operation statuses - * are returned. - * - * The async variant is - * {@see ConversionValueRuleSetServiceClient::mutateConversionValueRuleSetsAsync()} - * . - * - * @param MutateConversionValueRuleSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateConversionValueRuleSetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateConversionValueRuleSets(MutateConversionValueRuleSetsRequest $request, array $callOptions = []): MutateConversionValueRuleSetsResponse - { - return $this->startApiCall('MutateConversionValueRuleSets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomAudienceServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomAudienceServiceClient.php deleted file mode 100644 index 1387092f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomAudienceServiceClient.php +++ /dev/null @@ -1,255 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/custom_audience_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_audience_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/custom_audience_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/custom_audience_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_audience resource. - * - * @param string $customerId - * @param string $customAudienceId - * - * @return string The formatted custom_audience resource. - */ - public static function customAudienceName(string $customerId, string $customAudienceId): string - { - return self::getPathTemplate('customAudience')->render([ - 'customer_id' => $customerId, - 'custom_audience_id' => $customAudienceId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customAudience: customers/{customer_id}/customAudiences/{custom_audience_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or updates custom audiences. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CustomAudienceError]() - * [CustomInterestError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [OperationAccessDeniedError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomAudienceServiceClient::mutateCustomAudiencesAsync()} . - * - * @param MutateCustomAudiencesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomAudiencesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomAudiences(MutateCustomAudiencesRequest $request, array $callOptions = []): MutateCustomAudiencesResponse - { - return $this->startApiCall('MutateCustomAudiences', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomConversionGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomConversionGoalServiceClient.php deleted file mode 100644 index 55f6af767..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomConversionGoalServiceClient.php +++ /dev/null @@ -1,259 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/custom_conversion_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_conversion_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/custom_conversion_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/custom_conversion_goal_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName(string $customerId, string $conversionActionId): string - { - return self::getPathTemplate('conversionAction')->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_conversion_goal resource. - * - * @param string $customerId - * @param string $goalId - * - * @return string The formatted custom_conversion_goal resource. - */ - public static function customConversionGoalName(string $customerId, string $goalId): string - { - return self::getPathTemplate('customConversionGoal')->render([ - 'customer_id' => $customerId, - 'goal_id' => $goalId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - customConversionGoal: customers/{customer_id}/customConversionGoals/{goal_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes custom conversion goals. Operation statuses - * are returned. - * - * The async variant is - * {@see CustomConversionGoalServiceClient::mutateCustomConversionGoalsAsync()} . - * - * @param MutateCustomConversionGoalsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomConversionGoalsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomConversionGoals(MutateCustomConversionGoalsRequest $request, array $callOptions = []): MutateCustomConversionGoalsResponse - { - return $this->startApiCall('MutateCustomConversionGoals', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomInterestServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomInterestServiceClient.php deleted file mode 100644 index af2cea446..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomInterestServiceClient.php +++ /dev/null @@ -1,253 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/custom_interest_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_interest_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/custom_interest_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/custom_interest_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_interest resource. - * - * @param string $customerId - * @param string $customInterestId - * - * @return string The formatted custom_interest resource. - */ - public static function customInterestName(string $customerId, string $customInterestId): string - { - return self::getPathTemplate('customInterest')->render([ - 'customer_id' => $customerId, - 'custom_interest_id' => $customInterestId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customInterest: customers/{customer_id}/customInterests/{custom_interest_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or updates custom interests. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CriterionError]() - * [CustomInterestError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RequestError]() - * [StringLengthError]() - * - * The async variant is - * {@see CustomInterestServiceClient::mutateCustomInterestsAsync()} . - * - * @param MutateCustomInterestsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomInterestsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomInterests(MutateCustomInterestsRequest $request, array $callOptions = []): MutateCustomInterestsResponse - { - return $this->startApiCall('MutateCustomInterests', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetServiceClient.php deleted file mode 100644 index da31c0663..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetServiceClient.php +++ /dev/null @@ -1,272 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_asset_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_asset resource. - * - * @param string $customerId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted customer_asset resource. - */ - public static function customerAssetName(string $customerId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('customerAsset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - customerAsset: customers/{customer_id}/customerAssets/{asset_id}~{field_type} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes customer assets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerAssetServiceClient::mutateCustomerAssetsAsync()} . - * - * @param MutateCustomerAssetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerAssetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerAssets(MutateCustomerAssetsRequest $request, array $callOptions = []): MutateCustomerAssetsResponse - { - return $this->startApiCall('MutateCustomerAssets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetSetServiceClient.php deleted file mode 100644 index adba139c4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetSetServiceClient.php +++ /dev/null @@ -1,275 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_asset_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_asset_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_asset_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_asset_set_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('assetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_asset_set resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted customer_asset_set resource. - */ - public static function customerAssetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('customerAssetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - customer: customers/{customer_id} - * - customerAssetSet: customers/{customer_id}/customerAssetSets/{asset_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, or removes customer asset sets. Operation statuses are - * returned. - * - * The async variant is - * {@see CustomerAssetSetServiceClient::mutateCustomerAssetSetsAsync()} . - * - * @param MutateCustomerAssetSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerAssetSetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerAssetSets(MutateCustomerAssetSetsRequest $request, array $callOptions = []): MutateCustomerAssetSetsResponse - { - return $this->startApiCall('MutateCustomerAssetSets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerClientLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerClientLinkServiceClient.php deleted file mode 100644 index 8e72bfc7e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerClientLinkServiceClient.php +++ /dev/null @@ -1,272 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_client_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_client_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_client_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_client_link_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_client_link resource. - * - * @param string $customerId - * @param string $clientCustomerId - * @param string $managerLinkId - * - * @return string The formatted customer_client_link resource. - */ - public static function customerClientLinkName(string $customerId, string $clientCustomerId, string $managerLinkId): string - { - return self::getPathTemplate('customerClientLink')->render([ - 'customer_id' => $customerId, - 'client_customer_id' => $clientCustomerId, - 'manager_link_id' => $managerLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customer: customers/{customer_id} - * - customerClientLink: customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or updates a customer client link. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [ManagerLinkError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerClientLinkServiceClient::mutateCustomerClientLinkAsync()} . - * - * @param MutateCustomerClientLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerClientLinkResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerClientLink(MutateCustomerClientLinkRequest $request, array $callOptions = []): MutateCustomerClientLinkResponse - { - return $this->startApiCall('MutateCustomerClientLink', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerConversionGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerConversionGoalServiceClient.php deleted file mode 100644 index 7a1af20f3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerConversionGoalServiceClient.php +++ /dev/null @@ -1,244 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_conversion_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_conversion_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_conversion_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_conversion_goal_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_conversion_goal resource. - * - * @param string $customerId - * @param string $category - * @param string $source - * - * @return string The formatted customer_conversion_goal resource. - */ - public static function customerConversionGoalName(string $customerId, string $category, string $source): string - { - return self::getPathTemplate('customerConversionGoal')->render([ - 'customer_id' => $customerId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerConversionGoal: customers/{customer_id}/customerConversionGoals/{category}~{source} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes customer conversion goals. Operation statuses - * are returned. - * - * The async variant is - * {@see CustomerConversionGoalServiceClient::mutateCustomerConversionGoalsAsync()} - * . - * - * @param MutateCustomerConversionGoalsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerConversionGoalsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerConversionGoals(MutateCustomerConversionGoalsRequest $request, array $callOptions = []): MutateCustomerConversionGoalsResponse - { - return $this->startApiCall('MutateCustomerConversionGoals', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerCustomizerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerCustomizerServiceClient.php deleted file mode 100644 index 1cbb8ead5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerCustomizerServiceClient.php +++ /dev/null @@ -1,259 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_customizer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_customizer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_customizer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_customizer_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_customizer resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customer_customizer resource. - */ - public static function customerCustomizerName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customerCustomizer')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customizerAttribute')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerCustomizer: customers/{customer_id}/customerCustomizers/{customizer_attribute_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes customer customizers. Operation statuses are - * returned. - * - * The async variant is - * {@see CustomerCustomizerServiceClient::mutateCustomerCustomizersAsync()} . - * - * @param MutateCustomerCustomizersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerCustomizersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerCustomizers(MutateCustomerCustomizersRequest $request, array $callOptions = []): MutateCustomerCustomizersResponse - { - return $this->startApiCall('MutateCustomerCustomizers', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerExtensionSettingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerExtensionSettingServiceClient.php deleted file mode 100644 index 1d932d253..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerExtensionSettingServiceClient.php +++ /dev/null @@ -1,287 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_extension_setting_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_extension_setting_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_extension_setting_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_extension_setting_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_extension_setting resource. - * - * @param string $customerId - * @param string $extensionType - * - * @return string The formatted customer_extension_setting resource. - */ - public static function customerExtensionSettingName(string $customerId, string $extensionType): string - { - return self::getPathTemplate('customerExtensionSetting')->render([ - 'customer_id' => $customerId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName(string $customerId, string $feedItemId): string - { - return self::getPathTemplate('extensionFeedItem')->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerExtensionSetting: customers/{customer_id}/customerExtensionSettings/{extension_type} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes customer extension settings. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [ExtensionSettingError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is - * {@see CustomerExtensionSettingServiceClient::mutateCustomerExtensionSettingsAsync()} - * . - * - * @param MutateCustomerExtensionSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerExtensionSettingsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerExtensionSettings(MutateCustomerExtensionSettingsRequest $request, array $callOptions = []): MutateCustomerExtensionSettingsResponse - { - return $this->startApiCall('MutateCustomerExtensionSettings', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerFeedServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerFeedServiceClient.php deleted file mode 100644 index 7e3047268..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerFeedServiceClient.php +++ /dev/null @@ -1,283 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_feed_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_feed_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_feed_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_feed_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_feed resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted customer_feed resource. - */ - public static function customerFeedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('customerFeed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerFeed: customers/{customer_id}/customerFeeds/{feed_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes customer feeds. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CustomerFeedError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see CustomerFeedServiceClient::mutateCustomerFeedsAsync()} . - * - * @param MutateCustomerFeedsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerFeedsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerFeeds(MutateCustomerFeedsRequest $request, array $callOptions = []): MutateCustomerFeedsResponse - { - return $this->startApiCall('MutateCustomerFeeds', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerLabelServiceClient.php deleted file mode 100644 index 047a128f4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerLabelServiceClient.php +++ /dev/null @@ -1,286 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_label_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_label resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted customer_label resource. - */ - public static function customerLabelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('customerLabel')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('label')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customer: customers/{customer_id} - * - customerLabel: customers/{customer_id}/customerLabels/{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates and removes customer-label relationships. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerLabelServiceClient::mutateCustomerLabelsAsync()} . - * - * @param MutateCustomerLabelsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerLabelsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerLabels(MutateCustomerLabelsRequest $request, array $callOptions = []): MutateCustomerLabelsResponse - { - return $this->startApiCall('MutateCustomerLabels', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerLifecycleGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerLifecycleGoalServiceClient.php deleted file mode 100644 index a84a79161..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerLifecycleGoalServiceClient.php +++ /dev/null @@ -1,266 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_lifecycle_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_lifecycle_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_lifecycle_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_lifecycle_goal_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_lifecycle_goal resource. - * - * @param string $customerId - * - * @return string The formatted customer_lifecycle_goal resource. - */ - public static function customerLifecycleGoalName(string $customerId): string - { - return self::getPathTemplate('customerLifecycleGoal')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName(string $customerId, string $userListId): string - { - return self::getPathTemplate('userList')->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerLifecycleGoal: customers/{customer_id}/customerLifecycleGoals - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Process the given customer lifecycle configurations. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CustomerLifecycleGoalConfigError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerLifecycleGoalServiceClient::configureCustomerLifecycleGoalsAsync()} - * . - * - * @param ConfigureCustomerLifecycleGoalsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ConfigureCustomerLifecycleGoalsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function configureCustomerLifecycleGoals(ConfigureCustomerLifecycleGoalsRequest $request, array $callOptions = []): ConfigureCustomerLifecycleGoalsResponse - { - return $this->startApiCall('ConfigureCustomerLifecycleGoals', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerManagerLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerManagerLinkServiceClient.php deleted file mode 100644 index 20f241876..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerManagerLinkServiceClient.php +++ /dev/null @@ -1,314 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_manager_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_manager_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_manager_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_manager_link_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_manager_link resource. - * - * @param string $customerId - * @param string $managerCustomerId - * @param string $managerLinkId - * - * @return string The formatted customer_manager_link resource. - */ - public static function customerManagerLinkName(string $customerId, string $managerCustomerId, string $managerLinkId): string - { - return self::getPathTemplate('customerManagerLink')->render([ - 'customer_id' => $customerId, - 'manager_customer_id' => $managerCustomerId, - 'manager_link_id' => $managerLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customer: customers/{customer_id} - * - customerManagerLink: customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Moves a client customer to a new manager customer. - * This simplifies the complex request that requires two operations to move - * a client customer to a new manager, for example: - * 1. Update operation with Status INACTIVE (previous manager) and, - * 2. Update operation with Status ACTIVE (new manager). - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerManagerLinkServiceClient::moveManagerLinkAsync()} . - * - * @param MoveManagerLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MoveManagerLinkResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function moveManagerLink(MoveManagerLinkRequest $request, array $callOptions = []): MoveManagerLinkResponse - { - return $this->startApiCall('MoveManagerLink', $request, $callOptions)->wait(); - } - - /** - * Updates customer manager links. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [ManagerLinkError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerManagerLinkServiceClient::mutateCustomerManagerLinkAsync()} . - * - * @param MutateCustomerManagerLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerManagerLinkResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerManagerLink(MutateCustomerManagerLinkRequest $request, array $callOptions = []): MutateCustomerManagerLinkResponse - { - return $this->startApiCall('MutateCustomerManagerLink', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerNegativeCriterionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerNegativeCriterionServiceClient.php deleted file mode 100644 index 607eaa2e2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerNegativeCriterionServiceClient.php +++ /dev/null @@ -1,269 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_negative_criterion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_negative_criterion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_negative_criterion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_negative_criterion_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_negative_criterion resource. - * - * @param string $customerId - * @param string $criterionId - * - * @return string The formatted customer_negative_criterion resource. - */ - public static function customerNegativeCriterionName(string $customerId, string $criterionId): string - { - return self::getPathTemplate('customerNegativeCriterion')->render([ - 'customer_id' => $customerId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName(string $mobileAppCategoryId): string - { - return self::getPathTemplate('mobileAppCategoryConstant')->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerNegativeCriterion: customers/{customer_id}/customerNegativeCriteria/{criterion_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or removes criteria. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CriterionError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerNegativeCriterionServiceClient::mutateCustomerNegativeCriteriaAsync()} - * . - * - * @param MutateCustomerNegativeCriteriaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerNegativeCriteriaResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerNegativeCriteria(MutateCustomerNegativeCriteriaRequest $request, array $callOptions = []): MutateCustomerNegativeCriteriaResponse - { - return $this->startApiCall('MutateCustomerNegativeCriteria', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerServiceClient.php deleted file mode 100644 index ce4f0b9f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerServiceClient.php +++ /dev/null @@ -1,343 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName(string $customerId, string $conversionActionId): string - { - return self::getPathTemplate('conversionAction')->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates a new client under manager. The new client customer is returned. - * - * List of thrown errors: - * [AccessInvitationError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CurrencyCodeError]() - * [HeaderError]() - * [InternalError]() - * [ManagerLinkError]() - * [QuotaError]() - * [RequestError]() - * [StringLengthError]() - * [TimeZoneError]() - * - * The async variant is {@see CustomerServiceClient::createCustomerClientAsync()} . - * - * @param CreateCustomerClientRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return CreateCustomerClientResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function createCustomerClient(CreateCustomerClientRequest $request, array $callOptions = []): CreateCustomerClientResponse - { - return $this->startApiCall('CreateCustomerClient', $request, $callOptions)->wait(); - } - - /** - * Returns resource names of customers directly accessible by the - * user authenticating the call. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerServiceClient::listAccessibleCustomersAsync()} . - * - * @param ListAccessibleCustomersRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ListAccessibleCustomersResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listAccessibleCustomers(ListAccessibleCustomersRequest $request, array $callOptions = []): ListAccessibleCustomersResponse - { - return $this->startApiCall('ListAccessibleCustomers', $request, $callOptions)->wait(); - } - - /** - * Updates a customer. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * [UrlFieldError]() - * - * The async variant is {@see CustomerServiceClient::mutateCustomerAsync()} . - * - * @param MutateCustomerRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomer(MutateCustomerRequest $request, array $callOptions = []): MutateCustomerResponse - { - return $this->startApiCall('MutateCustomer', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerSkAdNetworkConversionValueSchemaServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerSkAdNetworkConversionValueSchemaServiceClient.php deleted file mode 100644 index 4ab6366c3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerSkAdNetworkConversionValueSchemaServiceClient.php +++ /dev/null @@ -1,248 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_sk_ad_network_conversion_value_schema_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_sk_ad_network_conversion_value_schema_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_sk_ad_network_conversion_value_schema_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_sk_ad_network_conversion_value_schema_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_sk_ad_network_conversion_value_schema resource. - * - * @param string $customerId - * @param string $accountLinkId - * - * @return string The formatted customer_sk_ad_network_conversion_value_schema resource. - */ - public static function customerSkAdNetworkConversionValueSchemaName(string $customerId, string $accountLinkId): string - { - return self::getPathTemplate('customerSkAdNetworkConversionValueSchema')->render([ - 'customer_id' => $customerId, - 'account_link_id' => $accountLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerSkAdNetworkConversionValueSchema: customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or updates the CustomerSkAdNetworkConversionValueSchema. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [InternalError]() - * [MutateError]() - * - * The async variant is - * {@see CustomerSkAdNetworkConversionValueSchemaServiceClient::mutateCustomerSkAdNetworkConversionValueSchemaAsync()} - * . - * - * @param MutateCustomerSkAdNetworkConversionValueSchemaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerSkAdNetworkConversionValueSchemaResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerSkAdNetworkConversionValueSchema(MutateCustomerSkAdNetworkConversionValueSchemaRequest $request, array $callOptions = []): MutateCustomerSkAdNetworkConversionValueSchemaResponse - { - return $this->startApiCall('MutateCustomerSkAdNetworkConversionValueSchema', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessInvitationServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessInvitationServiceClient.php deleted file mode 100644 index 4ba3fa8f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessInvitationServiceClient.php +++ /dev/null @@ -1,251 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_user_access_invitation_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_user_access_invitation_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_user_access_invitation_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_user_access_invitation_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_user_access_invitation resource. - * - * @param string $customerId - * @param string $invitationId - * - * @return string The formatted customer_user_access_invitation resource. - */ - public static function customerUserAccessInvitationName(string $customerId, string $invitationId): string - { - return self::getPathTemplate('customerUserAccessInvitation')->render([ - 'customer_id' => $customerId, - 'invitation_id' => $invitationId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerUserAccessInvitation: customers/{customer_id}/customerUserAccessInvitations/{invitation_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or removes an access invitation. - * - * List of thrown errors: - * [AccessInvitationError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerUserAccessInvitationServiceClient::mutateCustomerUserAccessInvitationAsync()} - * . - * - * @param MutateCustomerUserAccessInvitationRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerUserAccessInvitationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerUserAccessInvitation(MutateCustomerUserAccessInvitationRequest $request, array $callOptions = []): MutateCustomerUserAccessInvitationResponse - { - return $this->startApiCall('MutateCustomerUserAccessInvitation', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessServiceClient.php deleted file mode 100644 index 08310c79b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessServiceClient.php +++ /dev/null @@ -1,252 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_user_access_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_user_access_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_user_access_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_user_access_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_user_access resource. - * - * @param string $customerId - * @param string $userId - * - * @return string The formatted customer_user_access resource. - */ - public static function customerUserAccessName(string $customerId, string $userId): string - { - return self::getPathTemplate('customerUserAccess')->render([ - 'customer_id' => $customerId, - 'user_id' => $userId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerUserAccess: customers/{customer_id}/customerUserAccesses/{user_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Updates, removes permission of a user on a given customer. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CustomerUserAccessError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see CustomerUserAccessServiceClient::mutateCustomerUserAccessAsync()} . - * - * @param MutateCustomerUserAccessRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomerUserAccessResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomerUserAccess(MutateCustomerUserAccessRequest $request, array $callOptions = []): MutateCustomerUserAccessResponse - { - return $this->startApiCall('MutateCustomerUserAccess', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomizerAttributeServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/CustomizerAttributeServiceClient.php deleted file mode 100644 index 79c7c5961..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/CustomizerAttributeServiceClient.php +++ /dev/null @@ -1,241 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customizer_attribute_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customizer_attribute_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customizer_attribute_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customizer_attribute_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customizerAttribute')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes customizer attributes. Operation statuses are - * returned. - * - * The async variant is - * {@see CustomizerAttributeServiceClient::mutateCustomizerAttributesAsync()} . - * - * @param MutateCustomizerAttributesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateCustomizerAttributesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateCustomizerAttributes(MutateCustomizerAttributesRequest $request, array $callOptions = []): MutateCustomizerAttributesResponse - { - return $this->startApiCall('MutateCustomizerAttributes', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ExperimentArmServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ExperimentArmServiceClient.php deleted file mode 100644 index 0a27fa5da..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ExperimentArmServiceClient.php +++ /dev/null @@ -1,288 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/experiment_arm_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/experiment_arm_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/experiment_arm_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/experiment_arm_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a experiment - * resource. - * - * @param string $customerId - * @param string $trialId - * - * @return string The formatted experiment resource. - */ - public static function experimentName(string $customerId, string $trialId): string - { - return self::getPathTemplate('experiment')->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * experiment_arm resource. - * - * @param string $customerId - * @param string $trialId - * @param string $trialArmId - * - * @return string The formatted experiment_arm resource. - */ - public static function experimentArmName(string $customerId, string $trialId, string $trialArmId): string - { - return self::getPathTemplate('experimentArm')->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - 'trial_arm_id' => $trialArmId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - experiment: customers/{customer_id}/experiments/{trial_id} - * - experimentArm: customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes experiment arms. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentArmError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see ExperimentArmServiceClient::mutateExperimentArmsAsync()} . - * - * @param MutateExperimentArmsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateExperimentArmsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateExperimentArms(MutateExperimentArmsRequest $request, array $callOptions = []): MutateExperimentArmsResponse - { - return $this->startApiCall('MutateExperimentArms', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ExperimentServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ExperimentServiceClient.php deleted file mode 100644 index 7b70fce72..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ExperimentServiceClient.php +++ /dev/null @@ -1,516 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/experiment_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/experiment_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/experiment_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/experiment_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Return an OperationsClient object with the same endpoint as $this. - * - * @return OperationsClient - */ - public function getOperationsClient() - { - return $this->operationsClient; - } - - /** - * Resume an existing long running operation that was previously started by a long - * running API method. If $methodName is not provided, or does not match a long - * running API method, then the operation can still be resumed, but the - * OperationResponse object will not deserialize the final response. - * - * @param string $operationName The name of the long running operation - * @param string $methodName The name of the method used to start the operation - * - * @return OperationResponse - */ - public function resumeOperation($operationName, $methodName = null) - { - $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; - $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); - $operation->reload(); - return $operation; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName(string $customerId, string $campaignBudgetId): string - { - return self::getPathTemplate('campaignBudget')->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a experiment - * resource. - * - * @param string $customerId - * @param string $trialId - * - * @return string The formatted experiment resource. - */ - public static function experimentName(string $customerId, string $trialId): string - { - return self::getPathTemplate('experiment')->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - experiment: customers/{customer_id}/experiments/{trial_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - $this->operationsClient = $this->createOperationsClient($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Immediately ends an experiment, changing the experiment's scheduled - * end date and without waiting for end of day. End date is updated to be the - * time of the request. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see ExperimentServiceClient::endExperimentAsync()} . - * - * @param EndExperimentRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @throws ApiException Thrown if the API call fails. - */ - public function endExperiment(EndExperimentRequest $request, array $callOptions = []): void - { - $this->startApiCall('EndExperiment', $request, $callOptions)->wait(); - } - - /** - * Graduates an experiment to a full campaign. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see ExperimentServiceClient::graduateExperimentAsync()} . - * - * @param GraduateExperimentRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @throws ApiException Thrown if the API call fails. - */ - public function graduateExperiment(GraduateExperimentRequest $request, array $callOptions = []): void - { - $this->startApiCall('GraduateExperiment', $request, $callOptions)->wait(); - } - - /** - * Returns all errors that occurred during the last Experiment update (either - * scheduling or promotion). - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see ExperimentServiceClient::listExperimentAsyncErrorsAsync()} . - * - * @param ListExperimentAsyncErrorsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listExperimentAsyncErrors(ListExperimentAsyncErrorsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('ListExperimentAsyncErrors', $request, $callOptions); - } - - /** - * Creates, updates, or removes experiments. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see ExperimentServiceClient::mutateExperimentsAsync()} . - * - * @param MutateExperimentsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateExperimentsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateExperiments(MutateExperimentsRequest $request, array $callOptions = []): MutateExperimentsResponse - { - return $this->startApiCall('MutateExperiments', $request, $callOptions)->wait(); - } - - /** - * Promotes the trial campaign thus applying changes in the trial campaign - * to the base campaign. - * This method returns a long running operation that tracks the promotion of - * the experiment campaign. If it fails, a list of errors can be retrieved - * using the ListExperimentAsyncErrors method. The operation's - * metadata will be a string containing the resource name of the created - * experiment. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see ExperimentServiceClient::promoteExperimentAsync()} . - * - * @param PromoteExperimentRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return OperationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function promoteExperiment(PromoteExperimentRequest $request, array $callOptions = []): OperationResponse - { - return $this->startApiCall('PromoteExperiment', $request, $callOptions)->wait(); - } - - /** - * Schedule an experiment. The in design campaign - * will be converted into a real campaign (called the experiment campaign) - * that will begin serving ads if successfully created. - * - * The experiment is scheduled immediately with status INITIALIZING. - * This method returns a long running operation that tracks the forking of the - * in design campaign. If the forking fails, a list of errors can be retrieved - * using the ListExperimentAsyncErrors method. The operation's - * metadata will be a string containing the resource name of the created - * experiment. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [DatabaseError]() - * [DateError]() - * [DateRangeError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * The async variant is {@see ExperimentServiceClient::scheduleExperimentAsync()} . - * - * @param ScheduleExperimentRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return OperationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function scheduleExperiment(ScheduleExperimentRequest $request, array $callOptions = []): OperationResponse - { - return $this->startApiCall('ScheduleExperiment', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ExtensionFeedItemServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ExtensionFeedItemServiceClient.php deleted file mode 100644 index e3c41bf96..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ExtensionFeedItemServiceClient.php +++ /dev/null @@ -1,336 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/extension_feed_item_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/extension_feed_item_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/extension_feed_item_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/extension_feed_item_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName(string $customerId, string $feedItemId): string - { - return self::getPathTemplate('extensionFeedItem')->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName(string $criterionId): string - { - return self::getPathTemplate('geoTargetConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - asset: customers/{customer_id}/assets/{asset_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes extension feed items. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CountryCodeError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [ExtensionFeedItemError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [ImageError]() - * [InternalError]() - * [LanguageCodeError]() - * [MutateError]() - * [NewResourceCreationError]() - * [OperationAccessDeniedError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is - * {@see ExtensionFeedItemServiceClient::mutateExtensionFeedItemsAsync()} . - * - * @param MutateExtensionFeedItemsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateExtensionFeedItemsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateExtensionFeedItems(MutateExtensionFeedItemsRequest $request, array $callOptions = []): MutateExtensionFeedItemsResponse - { - return $this->startApiCall('MutateExtensionFeedItems', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemServiceClient.php deleted file mode 100644 index 02d99c754..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemServiceClient.php +++ /dev/null @@ -1,287 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_item_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_item_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_item_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_item_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName(string $customerId, string $feedId, string $feedItemId): string - { - return self::getPathTemplate('feedItem')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes feed items. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FeedItemError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * The async variant is {@see FeedItemServiceClient::mutateFeedItemsAsync()} . - * - * @param MutateFeedItemsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateFeedItemsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateFeedItems(MutateFeedItemsRequest $request, array $callOptions = []): MutateFeedItemsResponse - { - return $this->startApiCall('MutateFeedItems', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetLinkServiceClient.php deleted file mode 100644 index 21d8eff37..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetLinkServiceClient.php +++ /dev/null @@ -1,292 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_item_set_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_item_set_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_item_set_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_item_set_link_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName(string $customerId, string $feedId, string $feedItemId): string - { - return self::getPathTemplate('feedItem')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * - * @return string The formatted feed_item_set resource. - */ - public static function feedItemSetName(string $customerId, string $feedId, string $feedItemSetId): string - { - return self::getPathTemplate('feedItemSet')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set_link resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * @param string $feedItemId - * - * @return string The formatted feed_item_set_link resource. - */ - public static function feedItemSetLinkName(string $customerId, string $feedId, string $feedItemSetId, string $feedItemId): string - { - return self::getPathTemplate('feedItemSetLink')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - feedItemSet: customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id} - * - feedItemSetLink: customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes feed item set links. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see FeedItemSetLinkServiceClient::mutateFeedItemSetLinksAsync()} . - * - * @param MutateFeedItemSetLinksRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateFeedItemSetLinksResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateFeedItemSetLinks(MutateFeedItemSetLinksRequest $request, array $callOptions = []): MutateFeedItemSetLinksResponse - { - return $this->startApiCall('MutateFeedItemSetLinks', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetServiceClient.php deleted file mode 100644 index cd944cdd8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetServiceClient.php +++ /dev/null @@ -1,270 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_item_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_item_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_item_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_item_set_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * - * @return string The formatted feed_item_set resource. - */ - public static function feedItemSetName(string $customerId, string $feedId, string $feedItemSetId): string - { - return self::getPathTemplate('feedItemSet')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedItemSet: customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates or removes feed item sets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see FeedItemSetServiceClient::mutateFeedItemSetsAsync()} - * . - * - * @param MutateFeedItemSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateFeedItemSetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateFeedItemSets(MutateFeedItemSetsRequest $request, array $callOptions = []): MutateFeedItemSetsResponse - { - return $this->startApiCall('MutateFeedItemSets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemTargetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemTargetServiceClient.php deleted file mode 100644 index 5199f4909..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedItemTargetServiceClient.php +++ /dev/null @@ -1,339 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_item_target_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_item_target_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_item_target_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_item_target_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName(string $customerId, string $feedId, string $feedItemId): string - { - return self::getPathTemplate('feedItem')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_target resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * @param string $feedItemTargetType - * @param string $feedItemTargetId - * - * @return string The formatted feed_item_target resource. - */ - public static function feedItemTargetName(string $customerId, string $feedId, string $feedItemId, string $feedItemTargetType, string $feedItemTargetId): string - { - return self::getPathTemplate('feedItemTarget')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - 'feed_item_target_type' => $feedItemTargetType, - 'feed_item_target_id' => $feedItemTargetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName(string $criterionId): string - { - return self::getPathTemplate('geoTargetConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - feedItemTarget: customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or removes feed item targets. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CriterionError]() - * [DatabaseError]() - * [DistinctError]() - * [FeedItemTargetError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see FeedItemTargetServiceClient::mutateFeedItemTargetsAsync()} . - * - * @param MutateFeedItemTargetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateFeedItemTargetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateFeedItemTargets(MutateFeedItemTargetsRequest $request, array $callOptions = []): MutateFeedItemTargetsResponse - { - return $this->startApiCall('MutateFeedItemTargets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedMappingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/FeedMappingServiceClient.php deleted file mode 100644 index d2f7c7c21..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedMappingServiceClient.php +++ /dev/null @@ -1,282 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_mapping_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_mapping_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_mapping_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_mapping_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_mapping - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedMappingId - * - * @return string The formatted feed_mapping resource. - */ - public static function feedMappingName(string $customerId, string $feedId, string $feedMappingId): string - { - return self::getPathTemplate('feedMapping')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_mapping_id' => $feedMappingId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedMapping: customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or removes feed mappings. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [DistinctError]() - * [FeedMappingError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is {@see FeedMappingServiceClient::mutateFeedMappingsAsync()} - * . - * - * @param MutateFeedMappingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateFeedMappingsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateFeedMappings(MutateFeedMappingsRequest $request, array $callOptions = []): MutateFeedMappingsResponse - { - return $this->startApiCall('MutateFeedMappings', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/FeedServiceClient.php deleted file mode 100644 index 5453de1c4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/FeedServiceClient.php +++ /dev/null @@ -1,266 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes feeds. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DistinctError]() - * [FeedError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is {@see FeedServiceClient::mutateFeedsAsync()} . - * - * @param MutateFeedsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateFeedsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateFeeds(MutateFeedsRequest $request, array $callOptions = []): MutateFeedsResponse - { - return $this->startApiCall('MutateFeeds', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/GeoTargetConstantServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/GeoTargetConstantServiceClient.php deleted file mode 100644 index 3e102d30a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/GeoTargetConstantServiceClient.php +++ /dev/null @@ -1,201 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/geo_target_constant_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/geo_target_constant_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/geo_target_constant_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/geo_target_constant_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns GeoTargetConstant suggestions by location name or by resource name. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [GeoTargetConstantSuggestionError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see GeoTargetConstantServiceClient::suggestGeoTargetConstantsAsync()} . - * - * @param SuggestGeoTargetConstantsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return SuggestGeoTargetConstantsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function suggestGeoTargetConstants(SuggestGeoTargetConstantsRequest $request, array $callOptions = []): SuggestGeoTargetConstantsResponse - { - return $this->startApiCall('SuggestGeoTargetConstants', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsFieldServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsFieldServiceClient.php deleted file mode 100644 index 26f00bef8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsFieldServiceClient.php +++ /dev/null @@ -1,283 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/google_ads_field_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/google_ads_field_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/google_ads_field_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/google_ads_field_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * google_ads_field resource. - * - * @param string $googleAdsField - * - * @return string The formatted google_ads_field resource. - */ - public static function googleAdsFieldName(string $googleAdsField): string - { - return self::getPathTemplate('googleAdsField')->render([ - 'google_ads_field' => $googleAdsField, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - googleAdsField: googleAdsFields/{google_ads_field} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns just the requested field. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see GoogleAdsFieldServiceClient::getGoogleAdsFieldAsync()} . - * - * @param GetGoogleAdsFieldRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GoogleAdsField - * - * @throws ApiException Thrown if the API call fails. - */ - public function getGoogleAdsField(GetGoogleAdsFieldRequest $request, array $callOptions = []): GoogleAdsField - { - return $this->startApiCall('GetGoogleAdsField', $request, $callOptions)->wait(); - } - - /** - * Returns all fields that match the search query. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QueryError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see GoogleAdsFieldServiceClient::searchGoogleAdsFieldsAsync()} . - * - * @param SearchGoogleAdsFieldsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function searchGoogleAdsFields(SearchGoogleAdsFieldsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('SearchGoogleAdsFields', $request, $callOptions); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsServiceClient.php deleted file mode 100644 index c2e57d70a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsServiceClient.php +++ /dev/null @@ -1,2067 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/google_ads_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/google_ads_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/google_ads_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/google_ads_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * accessible_bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted accessible_bidding_strategy resource. - */ - public static function accessibleBiddingStrategyName(string $customerId, string $biddingStrategyId): string - { - return self::getPathTemplate('accessibleBiddingStrategy')->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName(string $customerId, string $adId): string - { - return self::getPathTemplate('ad')->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName(string $customerId, string $adGroupId): string - { - return self::getPathTemplate('adGroup')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group_ad - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * - * @return string The formatted ad_group_ad resource. - */ - public static function adGroupAdName(string $customerId, string $adGroupId, string $adId): string - { - return self::getPathTemplate('adGroupAd')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_ad_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * @param string $labelId - * - * @return string The formatted ad_group_ad_label resource. - */ - public static function adGroupAdLabelName(string $customerId, string $adGroupId, string $adId, string $labelId): string - { - return self::getPathTemplate('adGroupAdLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_asset resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted ad_group_asset resource. - */ - public static function adGroupAssetName(string $customerId, string $adGroupId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('adGroupAsset')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_bid_modifier resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_bid_modifier resource. - */ - public static function adGroupBidModifierName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupBidModifier')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName(string $customerId, string $adGroupId, string $criterionId): string - { - return self::getPathTemplate('adGroupCriterion')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_criterion_customizer resource. - */ - public static function adGroupCriterionCustomizerName(string $customerId, string $adGroupId, string $criterionId, string $customizerAttributeId): string - { - return self::getPathTemplate('adGroupCriterionCustomizer')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $labelId - * - * @return string The formatted ad_group_criterion_label resource. - */ - public static function adGroupCriterionLabelName(string $customerId, string $adGroupId, string $criterionId, string $labelId): string - { - return self::getPathTemplate('adGroupCriterionLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_customizer resource. - */ - public static function adGroupCustomizerName(string $customerId, string $adGroupId, string $customizerAttributeId): string - { - return self::getPathTemplate('adGroupCustomizer')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_extension_setting resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $extensionType - * - * @return string The formatted ad_group_extension_setting resource. - */ - public static function adGroupExtensionSettingName(string $customerId, string $adGroupId, string $extensionType): string - { - return self::getPathTemplate('adGroupExtensionSetting')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_feed resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $feedId - * - * @return string The formatted ad_group_feed resource. - */ - public static function adGroupFeedName(string $customerId, string $adGroupId, string $feedId): string - { - return self::getPathTemplate('adGroupFeed')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $labelId - * - * @return string The formatted ad_group_label resource. - */ - public static function adGroupLabelName(string $customerId, string $adGroupId, string $labelId): string - { - return self::getPathTemplate('adGroupLabel')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_parameter - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $parameterIndex - * - * @return string The formatted ad_parameter resource. - */ - public static function adParameterName(string $customerId, string $adGroupId, string $criterionId, string $parameterIndex): string - { - return self::getPathTemplate('adParameter')->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'parameter_index' => $parameterIndex, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName(string $customerId, string $assetGroupId): string - { - return self::getPathTemplate('assetGroup')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_asset resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted asset_group_asset resource. - */ - public static function assetGroupAssetName(string $customerId, string $assetGroupId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('assetGroupAsset')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_listing_group_filter resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $listingGroupFilterId - * - * @return string The formatted asset_group_listing_group_filter resource. - */ - public static function assetGroupListingGroupFilterName(string $customerId, string $assetGroupId, string $listingGroupFilterId): string - { - return self::getPathTemplate('assetGroupListingGroupFilter')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'listing_group_filter_id' => $listingGroupFilterId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_signal resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $criterionId - * - * @return string The formatted asset_group_signal resource. - */ - public static function assetGroupSignalName(string $customerId, string $assetGroupId, string $criterionId): string - { - return self::getPathTemplate('assetGroupSignal')->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName(string $customerId, string $assetSetId): string - { - return self::getPathTemplate('assetSet')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_set_asset resource. - * - * @param string $customerId - * @param string $assetSetId - * @param string $assetId - * - * @return string The formatted asset_set_asset resource. - */ - public static function assetSetAssetName(string $customerId, string $assetSetId, string $assetId): string - { - return self::getPathTemplate('assetSetAsset')->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a audience - * resource. - * - * @param string $customerId - * @param string $audienceId - * - * @return string The formatted audience resource. - */ - public static function audienceName(string $customerId, string $audienceId): string - { - return self::getPathTemplate('audience')->render([ - 'customer_id' => $customerId, - 'audience_id' => $audienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_data_exclusion resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_data_exclusion resource. - */ - public static function biddingDataExclusionName(string $customerId, string $seasonalityEventId): string - { - return self::getPathTemplate('biddingDataExclusion')->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_seasonality_adjustment resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_seasonality_adjustment resource. - */ - public static function biddingSeasonalityAdjustmentName(string $customerId, string $seasonalityEventId): string - { - return self::getPathTemplate('biddingSeasonalityAdjustment')->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted bidding_strategy resource. - */ - public static function biddingStrategyName(string $customerId, string $biddingStrategyId): string - { - return self::getPathTemplate('biddingStrategy')->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted campaign_asset resource. - */ - public static function campaignAssetName(string $customerId, string $campaignId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('campaignAsset')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetSetId - * - * @return string The formatted campaign_asset_set resource. - */ - public static function campaignAssetSetName(string $customerId, string $campaignId, string $assetSetId): string - { - return self::getPathTemplate('campaignAssetSet')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_bid_modifier resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_bid_modifier resource. - */ - public static function campaignBidModifierName(string $customerId, string $campaignId, string $criterionId): string - { - return self::getPathTemplate('campaignBidModifier')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName(string $customerId, string $campaignBudgetId): string - { - return self::getPathTemplate('campaignBudget')->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_conversion_goal resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $category - * @param string $source - * - * @return string The formatted campaign_conversion_goal resource. - */ - public static function campaignConversionGoalName(string $customerId, string $campaignId, string $category, string $source): string - { - return self::getPathTemplate('campaignConversionGoal')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_criterion resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_criterion resource. - */ - public static function campaignCriterionName(string $customerId, string $campaignId, string $criterionId): string - { - return self::getPathTemplate('campaignCriterion')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_customizer resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $customizerAttributeId - * - * @return string The formatted campaign_customizer resource. - */ - public static function campaignCustomizerName(string $customerId, string $campaignId, string $customizerAttributeId): string - { - return self::getPathTemplate('campaignCustomizer')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_draft resource. - * - * @param string $customerId - * @param string $baseCampaignId - * @param string $draftId - * - * @return string The formatted campaign_draft resource. - */ - public static function campaignDraftName(string $customerId, string $baseCampaignId, string $draftId): string - { - return self::getPathTemplate('campaignDraft')->render([ - 'customer_id' => $customerId, - 'base_campaign_id' => $baseCampaignId, - 'draft_id' => $draftId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_extension_setting resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $extensionType - * - * @return string The formatted campaign_extension_setting resource. - */ - public static function campaignExtensionSettingName(string $customerId, string $campaignId, string $extensionType): string - { - return self::getPathTemplate('campaignExtensionSetting')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_feed resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $feedId - * - * @return string The formatted campaign_feed resource. - */ - public static function campaignFeedName(string $customerId, string $campaignId, string $feedId): string - { - return self::getPathTemplate('campaignFeed')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_group resource. - * - * @param string $customerId - * @param string $campaignGroupId - * - * @return string The formatted campaign_group resource. - */ - public static function campaignGroupName(string $customerId, string $campaignGroupId): string - { - return self::getPathTemplate('campaignGroup')->render([ - 'customer_id' => $customerId, - 'campaign_group_id' => $campaignGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_label resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $labelId - * - * @return string The formatted campaign_label resource. - */ - public static function campaignLabelName(string $customerId, string $campaignId, string $labelId): string - { - return self::getPathTemplate('campaignLabel')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_shared_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $sharedSetId - * - * @return string The formatted campaign_shared_set resource. - */ - public static function campaignSharedSetName(string $customerId, string $campaignId, string $sharedSetId): string - { - return self::getPathTemplate('campaignSharedSet')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * carrier_constant resource. - * - * @param string $criterionId - * - * @return string The formatted carrier_constant resource. - */ - public static function carrierConstantName(string $criterionId): string - { - return self::getPathTemplate('carrierConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * combined_audience resource. - * - * @param string $customerId - * @param string $combinedAudienceId - * - * @return string The formatted combined_audience resource. - */ - public static function combinedAudienceName(string $customerId, string $combinedAudienceId): string - { - return self::getPathTemplate('combinedAudience')->render([ - 'customer_id' => $customerId, - 'combined_audience_id' => $combinedAudienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName(string $customerId, string $conversionActionId): string - { - return self::getPathTemplate('conversionAction')->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_custom_variable resource. - * - * @param string $customerId - * @param string $conversionCustomVariableId - * - * @return string The formatted conversion_custom_variable resource. - */ - public static function conversionCustomVariableName(string $customerId, string $conversionCustomVariableId): string - { - return self::getPathTemplate('conversionCustomVariable')->render([ - 'customer_id' => $customerId, - 'conversion_custom_variable_id' => $conversionCustomVariableId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_goal_campaign_config resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted conversion_goal_campaign_config resource. - */ - public static function conversionGoalCampaignConfigName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('conversionGoalCampaignConfig')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule resource. - * - * @param string $customerId - * @param string $conversionValueRuleId - * - * @return string The formatted conversion_value_rule resource. - */ - public static function conversionValueRuleName(string $customerId, string $conversionValueRuleId): string - { - return self::getPathTemplate('conversionValueRule')->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_id' => $conversionValueRuleId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule_set resource. - * - * @param string $customerId - * @param string $conversionValueRuleSetId - * - * @return string The formatted conversion_value_rule_set resource. - */ - public static function conversionValueRuleSetName(string $customerId, string $conversionValueRuleSetId): string - { - return self::getPathTemplate('conversionValueRuleSet')->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_set_id' => $conversionValueRuleSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_conversion_goal resource. - * - * @param string $customerId - * @param string $goalId - * - * @return string The formatted custom_conversion_goal resource. - */ - public static function customConversionGoalName(string $customerId, string $goalId): string - { - return self::getPathTemplate('customConversionGoal')->render([ - 'customer_id' => $customerId, - 'goal_id' => $goalId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_asset resource. - * - * @param string $customerId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted customer_asset resource. - */ - public static function customerAssetName(string $customerId, string $assetId, string $fieldType): string - { - return self::getPathTemplate('customerAsset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_conversion_goal resource. - * - * @param string $customerId - * @param string $category - * @param string $source - * - * @return string The formatted customer_conversion_goal resource. - */ - public static function customerConversionGoalName(string $customerId, string $category, string $source): string - { - return self::getPathTemplate('customerConversionGoal')->render([ - 'customer_id' => $customerId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_customizer resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customer_customizer resource. - */ - public static function customerCustomizerName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customerCustomizer')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_extension_setting resource. - * - * @param string $customerId - * @param string $extensionType - * - * @return string The formatted customer_extension_setting resource. - */ - public static function customerExtensionSettingName(string $customerId, string $extensionType): string - { - return self::getPathTemplate('customerExtensionSetting')->render([ - 'customer_id' => $customerId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_feed resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted customer_feed resource. - */ - public static function customerFeedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('customerFeed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_label resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted customer_label resource. - */ - public static function customerLabelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('customerLabel')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_negative_criterion resource. - * - * @param string $customerId - * @param string $criterionId - * - * @return string The formatted customer_negative_criterion resource. - */ - public static function customerNegativeCriterionName(string $customerId, string $criterionId): string - { - return self::getPathTemplate('customerNegativeCriterion')->render([ - 'customer_id' => $customerId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName(string $customerId, string $customizerAttributeId): string - { - return self::getPathTemplate('customizerAttribute')->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * detailed_demographic resource. - * - * @param string $customerId - * @param string $detailedDemographicId - * - * @return string The formatted detailed_demographic resource. - */ - public static function detailedDemographicName(string $customerId, string $detailedDemographicId): string - { - return self::getPathTemplate('detailedDemographic')->render([ - 'customer_id' => $customerId, - 'detailed_demographic_id' => $detailedDemographicId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a experiment - * resource. - * - * @param string $customerId - * @param string $trialId - * - * @return string The formatted experiment resource. - */ - public static function experimentName(string $customerId, string $trialId): string - { - return self::getPathTemplate('experiment')->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * experiment_arm resource. - * - * @param string $customerId - * @param string $trialId - * @param string $trialArmId - * - * @return string The formatted experiment_arm resource. - */ - public static function experimentArmName(string $customerId, string $trialId, string $trialArmId): string - { - return self::getPathTemplate('experimentArm')->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - 'trial_arm_id' => $trialArmId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName(string $customerId, string $feedItemId): string - { - return self::getPathTemplate('extensionFeedItem')->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName(string $customerId, string $feedId): string - { - return self::getPathTemplate('feed')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName(string $customerId, string $feedId, string $feedItemId): string - { - return self::getPathTemplate('feedItem')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * - * @return string The formatted feed_item_set resource. - */ - public static function feedItemSetName(string $customerId, string $feedId, string $feedItemSetId): string - { - return self::getPathTemplate('feedItemSet')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set_link resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * @param string $feedItemId - * - * @return string The formatted feed_item_set_link resource. - */ - public static function feedItemSetLinkName(string $customerId, string $feedId, string $feedItemSetId, string $feedItemId): string - { - return self::getPathTemplate('feedItemSetLink')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_target resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * @param string $feedItemTargetType - * @param string $feedItemTargetId - * - * @return string The formatted feed_item_target resource. - */ - public static function feedItemTargetName(string $customerId, string $feedId, string $feedItemId, string $feedItemTargetType, string $feedItemTargetId): string - { - return self::getPathTemplate('feedItemTarget')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - 'feed_item_target_type' => $feedItemTargetType, - 'feed_item_target_id' => $feedItemTargetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_mapping - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedMappingId - * - * @return string The formatted feed_mapping resource. - */ - public static function feedMappingName(string $customerId, string $feedId, string $feedMappingId): string - { - return self::getPathTemplate('feedMapping')->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_mapping_id' => $feedMappingId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName(string $criterionId): string - { - return self::getPathTemplate('geoTargetConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a keyword_plan - * resource. - * - * @param string $customerId - * @param string $keywordPlanId - * - * @return string The formatted keyword_plan resource. - */ - public static function keywordPlanName(string $customerId, string $keywordPlanId): string - { - return self::getPathTemplate('keywordPlan')->render([ - 'customer_id' => $customerId, - 'keyword_plan_id' => $keywordPlanId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupId - * - * @return string The formatted keyword_plan_ad_group resource. - */ - public static function keywordPlanAdGroupName(string $customerId, string $keywordPlanAdGroupId): string - { - return self::getPathTemplate('keywordPlanAdGroup')->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_id' => $keywordPlanAdGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupKeywordId - * - * @return string The formatted keyword_plan_ad_group_keyword resource. - */ - public static function keywordPlanAdGroupKeywordName(string $customerId, string $keywordPlanAdGroupKeywordId): string - { - return self::getPathTemplate('keywordPlanAdGroupKeyword')->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_keyword_id' => $keywordPlanAdGroupKeywordId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName(string $customerId, string $keywordPlanCampaignId): string - { - return self::getPathTemplate('keywordPlanCampaign')->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignKeywordId - * - * @return string The formatted keyword_plan_campaign_keyword resource. - */ - public static function keywordPlanCampaignKeywordName(string $customerId, string $keywordPlanCampaignKeywordId): string - { - return self::getPathTemplate('keywordPlanCampaignKeyword')->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_keyword_id' => $keywordPlanCampaignKeywordId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_theme_constant resource. - * - * @param string $expressCategoryId - * @param string $expressSubCategoryId - * - * @return string The formatted keyword_theme_constant resource. - */ - public static function keywordThemeConstantName(string $expressCategoryId, string $expressSubCategoryId): string - { - return self::getPathTemplate('keywordThemeConstant')->render([ - 'express_category_id' => $expressCategoryId, - 'express_sub_category_id' => $expressSubCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('label')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * language_constant resource. - * - * @param string $criterionId - * - * @return string The formatted language_constant resource. - */ - public static function languageConstantName(string $criterionId): string - { - return self::getPathTemplate('languageConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a life_event - * resource. - * - * @param string $customerId - * @param string $lifeEventId - * - * @return string The formatted life_event resource. - */ - public static function lifeEventName(string $customerId, string $lifeEventId): string - { - return self::getPathTemplate('lifeEvent')->render([ - 'customer_id' => $customerId, - 'life_event_id' => $lifeEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName(string $mobileAppCategoryId): string - { - return self::getPathTemplate('mobileAppCategoryConstant')->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_device_constant resource. - * - * @param string $criterionId - * - * @return string The formatted mobile_device_constant resource. - */ - public static function mobileDeviceConstantName(string $criterionId): string - { - return self::getPathTemplate('mobileDeviceConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * operating_system_version_constant resource. - * - * @param string $criterionId - * - * @return string The formatted operating_system_version_constant resource. - */ - public static function operatingSystemVersionConstantName(string $criterionId): string - { - return self::getPathTemplate('operatingSystemVersionConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * recommendation_subscription resource. - * - * @param string $customerId - * @param string $recommendationType - * - * @return string The formatted recommendation_subscription resource. - */ - public static function recommendationSubscriptionName(string $customerId, string $recommendationType): string - { - return self::getPathTemplate('recommendationSubscription')->render([ - 'customer_id' => $customerId, - 'recommendation_type' => $recommendationType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * remarketing_action resource. - * - * @param string $customerId - * @param string $remarketingActionId - * - * @return string The formatted remarketing_action resource. - */ - public static function remarketingActionName(string $customerId, string $remarketingActionId): string - { - return self::getPathTemplate('remarketingAction')->render([ - 'customer_id' => $customerId, - 'remarketing_action_id' => $remarketingActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * shared_criterion resource. - * - * @param string $customerId - * @param string $sharedSetId - * @param string $criterionId - * - * @return string The formatted shared_criterion resource. - */ - public static function sharedCriterionName(string $customerId, string $sharedSetId, string $criterionId): string - { - return self::getPathTemplate('sharedCriterion')->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName(string $customerId, string $sharedSetId): string - { - return self::getPathTemplate('sharedSet')->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * smart_campaign_setting resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted smart_campaign_setting resource. - */ - public static function smartCampaignSettingName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('smartCampaignSetting')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * topic_constant resource. - * - * @param string $topicId - * - * @return string The formatted topic_constant resource. - */ - public static function topicConstantName(string $topicId): string - { - return self::getPathTemplate('topicConstant')->render([ - 'topic_id' => $topicId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * user_interest resource. - * - * @param string $customerId - * @param string $userInterestId - * - * @return string The formatted user_interest resource. - */ - public static function userInterestName(string $customerId, string $userInterestId): string - { - return self::getPathTemplate('userInterest')->render([ - 'customer_id' => $customerId, - 'user_interest_id' => $userInterestId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName(string $customerId, string $userListId): string - { - return self::getPathTemplate('userList')->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accessibleBiddingStrategy: customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id} - * - ad: customers/{customer_id}/ads/{ad_id} - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} - * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} - * - adGroupAsset: customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type} - * - adGroupBidModifier: customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id} - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionCustomizer: customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id} - * - adGroupCriterionLabel: customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id} - * - adGroupCustomizer: customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id} - * - adGroupExtensionSetting: customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type} - * - adGroupFeed: customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - adGroupLabel: customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id} - * - adParameter: customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index} - * - asset: customers/{customer_id}/assets/{asset_id} - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupAsset: customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type} - * - assetGroupListingGroupFilter: customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id} - * - assetGroupSignal: customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - assetSetAsset: customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id} - * - audience: customers/{customer_id}/audiences/{audience_id} - * - biddingDataExclusion: customers/{customer_id}/biddingDataExclusions/{seasonality_event_id} - * - biddingSeasonalityAdjustment: customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id} - * - biddingStrategy: customers/{customer_id}/biddingStrategies/{bidding_strategy_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignAsset: customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type} - * - campaignAssetSet: customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id} - * - campaignBidModifier: customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id} - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - campaignConversionGoal: customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source} - * - campaignCriterion: customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id} - * - campaignCustomizer: customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id} - * - campaignDraft: customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id} - * - campaignExtensionSetting: customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type} - * - campaignFeed: customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - campaignGroup: customers/{customer_id}/campaignGroups/{campaign_group_id} - * - campaignLabel: customers/{customer_id}/campaignLabels/{campaign_id}~{label_id} - * - campaignSharedSet: customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id} - * - carrierConstant: carrierConstants/{criterion_id} - * - combinedAudience: customers/{customer_id}/combinedAudiences/{combined_audience_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - conversionCustomVariable: customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id} - * - conversionGoalCampaignConfig: customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id} - * - conversionValueRule: customers/{customer_id}/conversionValueRules/{conversion_value_rule_id} - * - conversionValueRuleSet: customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id} - * - customConversionGoal: customers/{customer_id}/customConversionGoals/{goal_id} - * - customer: customers/{customer_id} - * - customerAsset: customers/{customer_id}/customerAssets/{asset_id}~{field_type} - * - customerConversionGoal: customers/{customer_id}/customerConversionGoals/{category}~{source} - * - customerCustomizer: customers/{customer_id}/customerCustomizers/{customizer_attribute_id} - * - customerExtensionSetting: customers/{customer_id}/customerExtensionSettings/{extension_type} - * - customerFeed: customers/{customer_id}/customerFeeds/{feed_id} - * - customerLabel: customers/{customer_id}/customerLabels/{label_id} - * - customerNegativeCriterion: customers/{customer_id}/customerNegativeCriteria/{criterion_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - detailedDemographic: customers/{customer_id}/detailedDemographics/{detailed_demographic_id} - * - experiment: customers/{customer_id}/experiments/{trial_id} - * - experimentArm: customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - feedItemSet: customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id} - * - feedItemSetLink: customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id} - * - feedItemTarget: customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id} - * - feedMapping: customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - keywordPlan: customers/{customer_id}/keywordPlans/{keyword_plan_id} - * - keywordPlanAdGroup: customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id} - * - keywordPlanAdGroupKeyword: customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id} - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - keywordPlanCampaignKeyword: customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id} - * - keywordThemeConstant: keywordThemeConstants/{express_category_id}~{express_sub_category_id} - * - label: customers/{customer_id}/labels/{label_id} - * - languageConstant: languageConstants/{criterion_id} - * - lifeEvent: customers/{customer_id}/lifeEvents/{life_event_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - mobileDeviceConstant: mobileDeviceConstants/{criterion_id} - * - operatingSystemVersionConstant: operatingSystemVersionConstants/{criterion_id} - * - recommendationSubscription: customers/{customer_id}/recommendationSubscriptions/{recommendation_type} - * - remarketingAction: customers/{customer_id}/remarketingActions/{remarketing_action_id} - * - sharedCriterion: customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id} - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - smartCampaignSetting: customers/{customer_id}/smartCampaignSettings/{campaign_id} - * - topicConstant: topicConstants/{topic_id} - * - userInterest: customers/{customer_id}/userInterests/{user_interest_id} - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes resources. This method supports atomic - * transactions with multiple types of resources. For example, you can - * atomically create a campaign and a campaign budget, or perform up to - * thousands of mutates atomically. - * - * This method is essentially a wrapper around a series of mutate methods. The - * only features it offers over calling those methods directly are: - * - * - Atomic transactions - * - Temp resource names (described below) - * - Somewhat reduced latency over making a series of mutate calls - * - * Note: Only resources that support atomic transactions are included, so this - * method can't replace all calls to individual services. - * - * ## Atomic Transaction Benefits - * - * Atomicity makes error handling much easier. If you're making a series of - * changes and one fails, it can leave your account in an inconsistent state. - * With atomicity, you either reach the chosen state directly, or the request - * fails and you can retry. - * - * ## Temp Resource Names - * - * Temp resource names are a special type of resource name used to create a - * resource and reference that resource in the same request. For example, if a - * campaign budget is created with `resource_name` equal to - * `customers/123/campaignBudgets/-1`, that resource name can be reused in - * the `Campaign.budget` field in the same request. That way, the two - * resources are created and linked atomically. - * - * To create a temp resource name, put a negative number in the part of the - * name that the server would normally allocate. - * - * Note: - * - * - Resources must be created with a temp name before the name can be reused. - * For example, the previous CampaignBudget+Campaign example would fail if - * the mutate order was reversed. - * - Temp names are not remembered across requests. - * - There's no limit to the number of temp names in a request. - * - Each temp name must use a unique negative number, even if the resource - * types differ. - * - * ## Latency - * - * It's important to group mutates by resource type or the request may time - * out and fail. Latency is roughly equal to a series of calls to individual - * mutate methods, where each change in resource type is a new call. For - * example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - * mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - * - * List of thrown errors: - * [AdCustomizerError]() - * [AdError]() - * [AdGroupAdError]() - * [AdGroupCriterionError]() - * [AdGroupError]() - * [AssetError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [CampaignBudgetError]() - * [CampaignCriterionError]() - * [CampaignError]() - * [CampaignExperimentError]() - * [CampaignSharedSetError]() - * [CollectionSizeError]() - * [ContextError]() - * [ConversionActionError]() - * [CriterionError]() - * [CustomerFeedError]() - * [DatabaseError]() - * [DateError]() - * [DateRangeError]() - * [DistinctError]() - * [ExtensionFeedItemError]() - * [ExtensionSettingError]() - * [FeedAttributeReferenceError]() - * [FeedError]() - * [FeedItemError]() - * [FeedItemSetError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionParsingError]() - * [HeaderError]() - * [ImageError]() - * [InternalError]() - * [KeywordPlanAdGroupKeywordError]() - * [KeywordPlanCampaignError]() - * [KeywordPlanError]() - * [LabelError]() - * [ListOperationError]() - * [MediaUploadError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [PolicyFindingError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SettingError]() - * [SharedSetError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * [UserListError]() - * [YoutubeVideoRegistrationError]() - * - * The async variant is {@see GoogleAdsServiceClient::mutateAsync()} . - * - * @param MutateGoogleAdsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateGoogleAdsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutate(MutateGoogleAdsRequest $request, array $callOptions = []): MutateGoogleAdsResponse - { - return $this->startApiCall('Mutate', $request, $callOptions)->wait(); - } - - /** - * Returns all rows that match the search query. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ChangeEventError]() - * [ChangeStatusError]() - * [ClickViewError]() - * [HeaderError]() - * [InternalError]() - * [QueryError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see GoogleAdsServiceClient::searchAsync()} . - * - * @param SearchGoogleAdsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function search(SearchGoogleAdsRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('Search', $request, $callOptions); - } - - /** - * Returns all rows that match the search stream query. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ChangeEventError]() - * [ChangeStatusError]() - * [ClickViewError]() - * [HeaderError]() - * [InternalError]() - * [QueryError]() - * [QuotaError]() - * [RequestError]() - * - * @param SearchGoogleAdsStreamRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type int $timeoutMillis - * Timeout to use for this call. - * } - * - * @return ServerStream - * - * @throws ApiException Thrown if the API call fails. - */ - public function searchStream(SearchGoogleAdsStreamRequest $request, array $callOptions = []): ServerStream - { - return $this->startApiCall('SearchStream', $request, $callOptions); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/InvoiceServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/InvoiceServiceClient.php deleted file mode 100644 index 314e2046e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/InvoiceServiceClient.php +++ /dev/null @@ -1,201 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/invoice_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/invoice_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/invoice_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/invoice_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns all invoices associated with a billing setup, for a given month. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [InvoiceError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see InvoiceServiceClient::listInvoicesAsync()} . - * - * @param ListInvoicesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ListInvoicesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listInvoices(ListInvoicesRequest $request, array $callOptions = []): ListInvoicesResponse - { - return $this->startApiCall('ListInvoices', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupKeywordServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupKeywordServiceClient.php deleted file mode 100644 index 89037ee20..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupKeywordServiceClient.php +++ /dev/null @@ -1,278 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_ad_group_keyword_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_keyword_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_keyword_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_keyword_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupId - * - * @return string The formatted keyword_plan_ad_group resource. - */ - public static function keywordPlanAdGroupName(string $customerId, string $keywordPlanAdGroupId): string - { - return self::getPathTemplate('keywordPlanAdGroup')->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_id' => $keywordPlanAdGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupKeywordId - * - * @return string The formatted keyword_plan_ad_group_keyword resource. - */ - public static function keywordPlanAdGroupKeywordName(string $customerId, string $keywordPlanAdGroupKeywordId): string - { - return self::getPathTemplate('keywordPlanAdGroupKeyword')->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_keyword_id' => $keywordPlanAdGroupKeywordId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - keywordPlanAdGroup: customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id} - * - keywordPlanAdGroupKeyword: customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes Keyword Plan ad group keywords. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanAdGroupKeywordError]() - * [KeywordPlanError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * The async variant is - * {@see KeywordPlanAdGroupKeywordServiceClient::mutateKeywordPlanAdGroupKeywordsAsync()} - * . - * - * @param MutateKeywordPlanAdGroupKeywordsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateKeywordPlanAdGroupKeywordsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateKeywordPlanAdGroupKeywords(MutateKeywordPlanAdGroupKeywordsRequest $request, array $callOptions = []): MutateKeywordPlanAdGroupKeywordsResponse - { - return $this->startApiCall('MutateKeywordPlanAdGroupKeywords', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupServiceClient.php deleted file mode 100644 index ae9ab2ace..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupServiceClient.php +++ /dev/null @@ -1,275 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_ad_group_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupId - * - * @return string The formatted keyword_plan_ad_group resource. - */ - public static function keywordPlanAdGroupName(string $customerId, string $keywordPlanAdGroupId): string - { - return self::getPathTemplate('keywordPlanAdGroup')->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_id' => $keywordPlanAdGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName(string $customerId, string $keywordPlanCampaignId): string - { - return self::getPathTemplate('keywordPlanCampaign')->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - keywordPlanAdGroup: customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id} - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes Keyword Plan ad groups. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanAdGroupError]() - * [KeywordPlanError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * The async variant is - * {@see KeywordPlanAdGroupServiceClient::mutateKeywordPlanAdGroupsAsync()} . - * - * @param MutateKeywordPlanAdGroupsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateKeywordPlanAdGroupsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateKeywordPlanAdGroups(MutateKeywordPlanAdGroupsRequest $request, array $callOptions = []): MutateKeywordPlanAdGroupsResponse - { - return $this->startApiCall('MutateKeywordPlanAdGroups', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignKeywordServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignKeywordServiceClient.php deleted file mode 100644 index 741c1e5ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignKeywordServiceClient.php +++ /dev/null @@ -1,276 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_campaign_keyword_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_keyword_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_keyword_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_keyword_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName(string $customerId, string $keywordPlanCampaignId): string - { - return self::getPathTemplate('keywordPlanCampaign')->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignKeywordId - * - * @return string The formatted keyword_plan_campaign_keyword resource. - */ - public static function keywordPlanCampaignKeywordName(string $customerId, string $keywordPlanCampaignKeywordId): string - { - return self::getPathTemplate('keywordPlanCampaignKeyword')->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_keyword_id' => $keywordPlanCampaignKeywordId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - keywordPlanCampaignKeyword: customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes Keyword Plan campaign keywords. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanAdGroupKeywordError]() - * [KeywordPlanCampaignKeywordError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * The async variant is - * {@see KeywordPlanCampaignKeywordServiceClient::mutateKeywordPlanCampaignKeywordsAsync()} - * . - * - * @param MutateKeywordPlanCampaignKeywordsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateKeywordPlanCampaignKeywordsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateKeywordPlanCampaignKeywords(MutateKeywordPlanCampaignKeywordsRequest $request, array $callOptions = []): MutateKeywordPlanCampaignKeywordsResponse - { - return $this->startApiCall('MutateKeywordPlanCampaignKeywords', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignServiceClient.php deleted file mode 100644 index ada6b3d0e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignServiceClient.php +++ /dev/null @@ -1,308 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_campaign_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName(string $criterionId): string - { - return self::getPathTemplate('geoTargetConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a keyword_plan - * resource. - * - * @param string $customerId - * @param string $keywordPlanId - * - * @return string The formatted keyword_plan resource. - */ - public static function keywordPlanName(string $customerId, string $keywordPlanId): string - { - return self::getPathTemplate('keywordPlan')->render([ - 'customer_id' => $customerId, - 'keyword_plan_id' => $keywordPlanId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName(string $customerId, string $keywordPlanCampaignId): string - { - return self::getPathTemplate('keywordPlanCampaign')->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * language_constant resource. - * - * @param string $criterionId - * - * @return string The formatted language_constant resource. - */ - public static function languageConstantName(string $criterionId): string - { - return self::getPathTemplate('languageConstant')->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - keywordPlan: customers/{customer_id}/keywordPlans/{keyword_plan_id} - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - languageConstant: languageConstants/{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes Keyword Plan campaigns. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanCampaignError]() - * [KeywordPlanError]() - * [ListOperationError]() - * [MutateError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * The async variant is - * {@see KeywordPlanCampaignServiceClient::mutateKeywordPlanCampaignsAsync()} . - * - * @param MutateKeywordPlanCampaignsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateKeywordPlanCampaignsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateKeywordPlanCampaigns(MutateKeywordPlanCampaignsRequest $request, array $callOptions = []): MutateKeywordPlanCampaignsResponse - { - return $this->startApiCall('MutateKeywordPlanCampaigns', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanIdeaServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanIdeaServiceClient.php deleted file mode 100644 index 6f4a50ed5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanIdeaServiceClient.php +++ /dev/null @@ -1,315 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_idea_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_idea_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_idea_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_idea_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns a list of suggested AdGroups and suggested modifications - * (text, match type) for the given keywords. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see KeywordPlanIdeaServiceClient::generateAdGroupThemesAsync()} . - * - * @param GenerateAdGroupThemesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GenerateAdGroupThemesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function generateAdGroupThemes(GenerateAdGroupThemesRequest $request, array $callOptions = []): GenerateAdGroupThemesResponse - { - return $this->startApiCall('GenerateAdGroupThemes', $request, $callOptions)->wait(); - } - - /** - * Returns metrics (such as impressions, clicks, total cost) of a keyword - * forecast for the given campaign. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see KeywordPlanIdeaServiceClient::generateKeywordForecastMetricsAsync()} . - * - * @param GenerateKeywordForecastMetricsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GenerateKeywordForecastMetricsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function generateKeywordForecastMetrics(GenerateKeywordForecastMetricsRequest $request, array $callOptions = []): GenerateKeywordForecastMetricsResponse - { - return $this->startApiCall('GenerateKeywordForecastMetrics', $request, $callOptions)->wait(); - } - - /** - * Returns a list of keyword historical metrics. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see KeywordPlanIdeaServiceClient::generateKeywordHistoricalMetricsAsync()} . - * - * @param GenerateKeywordHistoricalMetricsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GenerateKeywordHistoricalMetricsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function generateKeywordHistoricalMetrics(GenerateKeywordHistoricalMetricsRequest $request, array $callOptions = []): GenerateKeywordHistoricalMetricsResponse - { - return $this->startApiCall('GenerateKeywordHistoricalMetrics', $request, $callOptions)->wait(); - } - - /** - * Returns a list of keyword ideas. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanIdeaError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see KeywordPlanIdeaServiceClient::generateKeywordIdeasAsync()} . - * - * @param GenerateKeywordIdeasRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return PagedListResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function generateKeywordIdeas(GenerateKeywordIdeasRequest $request, array $callOptions = []): PagedListResponse - { - return $this->startApiCall('GenerateKeywordIdeas', $request, $callOptions); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanServiceClient.php deleted file mode 100644 index 917cb9c3b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanServiceClient.php +++ /dev/null @@ -1,256 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a keyword_plan - * resource. - * - * @param string $customerId - * @param string $keywordPlanId - * - * @return string The formatted keyword_plan resource. - */ - public static function keywordPlanName(string $customerId, string $keywordPlanId): string - { - return self::getPathTemplate('keywordPlan')->render([ - 'customer_id' => $customerId, - 'keyword_plan_id' => $keywordPlanId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - keywordPlan: customers/{customer_id}/keywordPlans/{keyword_plan_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes keyword plans. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [StringLengthError]() - * - * The async variant is {@see KeywordPlanServiceClient::mutateKeywordPlansAsync()} - * . - * - * @param MutateKeywordPlansRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateKeywordPlansResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateKeywordPlans(MutateKeywordPlansRequest $request, array $callOptions = []): MutateKeywordPlansResponse - { - return $this->startApiCall('MutateKeywordPlans', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordThemeConstantServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordThemeConstantServiceClient.php deleted file mode 100644 index 5f7a0f292..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/KeywordThemeConstantServiceClient.php +++ /dev/null @@ -1,200 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_theme_constant_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_theme_constant_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_theme_constant_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_theme_constant_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns KeywordThemeConstant suggestions by keyword themes. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see KeywordThemeConstantServiceClient::suggestKeywordThemeConstantsAsync()} . - * - * @param SuggestKeywordThemeConstantsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return SuggestKeywordThemeConstantsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function suggestKeywordThemeConstants(SuggestKeywordThemeConstantsRequest $request, array $callOptions = []): SuggestKeywordThemeConstantsResponse - { - return $this->startApiCall('SuggestKeywordThemeConstants', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/LabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/LabelServiceClient.php deleted file mode 100644 index 1a88276b2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/LabelServiceClient.php +++ /dev/null @@ -1,264 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/label_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName(string $customerId, string $labelId): string - { - return self::getPathTemplate('label')->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes labels. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is {@see LabelServiceClient::mutateLabelsAsync()} . - * - * @param MutateLabelsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateLabelsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateLabels(MutateLabelsRequest $request, array $callOptions = []): MutateLabelsResponse - { - return $this->startApiCall('MutateLabels', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/OfflineUserDataJobServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/OfflineUserDataJobServiceClient.php deleted file mode 100644 index 78ccfe0c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/OfflineUserDataJobServiceClient.php +++ /dev/null @@ -1,367 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/offline_user_data_job_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/offline_user_data_job_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/offline_user_data_job_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/offline_user_data_job_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Return an OperationsClient object with the same endpoint as $this. - * - * @return OperationsClient - */ - public function getOperationsClient() - { - return $this->operationsClient; - } - - /** - * Resume an existing long running operation that was previously started by a long - * running API method. If $methodName is not provided, or does not match a long - * running API method, then the operation can still be resumed, but the - * OperationResponse object will not deserialize the final response. - * - * @param string $operationName The name of the long running operation - * @param string $methodName The name of the method used to start the operation - * - * @return OperationResponse - */ - public function resumeOperation($operationName, $methodName = null) - { - $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; - $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); - $operation->reload(); - return $operation; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * offline_user_data_job resource. - * - * @param string $customerId - * @param string $offlineUserDataUpdateId - * - * @return string The formatted offline_user_data_job resource. - */ - public static function offlineUserDataJobName(string $customerId, string $offlineUserDataUpdateId): string - { - return self::getPathTemplate('offlineUserDataJob')->render([ - 'customer_id' => $customerId, - 'offline_user_data_update_id' => $offlineUserDataUpdateId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - offlineUserDataJob: customers/{customer_id}/offlineUserDataJobs/{offline_user_data_update_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - $this->operationsClient = $this->createOperationsClient($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Adds operations to the offline user data job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see OfflineUserDataJobServiceClient::addOfflineUserDataJobOperationsAsync()} . - * - * @param AddOfflineUserDataJobOperationsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return AddOfflineUserDataJobOperationsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function addOfflineUserDataJobOperations(AddOfflineUserDataJobOperationsRequest $request, array $callOptions = []): AddOfflineUserDataJobOperationsResponse - { - return $this->startApiCall('AddOfflineUserDataJobOperations', $request, $callOptions)->wait(); - } - - /** - * Creates an offline user data job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [NotAllowlistedError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see OfflineUserDataJobServiceClient::createOfflineUserDataJobAsync()} . - * - * @param CreateOfflineUserDataJobRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return CreateOfflineUserDataJobResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function createOfflineUserDataJob(CreateOfflineUserDataJobRequest $request, array $callOptions = []): CreateOfflineUserDataJobResponse - { - return $this->startApiCall('CreateOfflineUserDataJob', $request, $callOptions)->wait(); - } - - /** - * Runs the offline user data job. - * - * When finished, the long running operation will contain the processing - * result or failure information, if any. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see OfflineUserDataJobServiceClient::runOfflineUserDataJobAsync()} . - * - * @param RunOfflineUserDataJobRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return OperationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function runOfflineUserDataJob(RunOfflineUserDataJobRequest $request, array $callOptions = []): OperationResponse - { - return $this->startApiCall('RunOfflineUserDataJob', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/PaymentsAccountServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/PaymentsAccountServiceClient.php deleted file mode 100644 index 6e71ba7e6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/PaymentsAccountServiceClient.php +++ /dev/null @@ -1,204 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/payments_account_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/payments_account_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/payments_account_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/payments_account_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns all payments accounts associated with all managers - * between the login customer ID and specified serving customer in the - * hierarchy, inclusive. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [PaymentsAccountError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see PaymentsAccountServiceClient::listPaymentsAccountsAsync()} . - * - * @param ListPaymentsAccountsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ListPaymentsAccountsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listPaymentsAccounts(ListPaymentsAccountsRequest $request, array $callOptions = []): ListPaymentsAccountsResponse - { - return $this->startApiCall('ListPaymentsAccounts', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkInvitationServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkInvitationServiceClient.php deleted file mode 100644 index 2b9726a42..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkInvitationServiceClient.php +++ /dev/null @@ -1,241 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/product_link_invitation_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/product_link_invitation_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/product_link_invitation_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/product_link_invitation_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * product_link_invitation resource. - * - * @param string $customerId - * @param string $customerInvitationId - * - * @return string The formatted product_link_invitation resource. - */ - public static function productLinkInvitationName(string $customerId, string $customerInvitationId): string - { - return self::getPathTemplate('productLinkInvitation')->render([ - 'customer_id' => $customerId, - 'customer_invitation_id' => $customerInvitationId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - productLinkInvitation: customers/{customer_id}/productLinkInvitations/{customer_invitation_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Update a product link invitation. - * - * The async variant is - * {@see ProductLinkInvitationServiceClient::updateProductLinkInvitationAsync()} . - * - * @param UpdateProductLinkInvitationRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return UpdateProductLinkInvitationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function updateProductLinkInvitation(UpdateProductLinkInvitationRequest $request, array $callOptions = []): UpdateProductLinkInvitationResponse - { - return $this->startApiCall('UpdateProductLinkInvitation', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkServiceClient.php deleted file mode 100644 index 0845e9a77..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkServiceClient.php +++ /dev/null @@ -1,304 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/product_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/product_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/product_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/product_link_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName(string $customerId): string - { - return self::getPathTemplate('customer')->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a product_link - * resource. - * - * @param string $customerId - * @param string $productLinkId - * - * @return string The formatted product_link resource. - */ - public static function productLinkName(string $customerId, string $productLinkId): string - { - return self::getPathTemplate('productLink')->render([ - 'customer_id' => $customerId, - 'product_link_id' => $productLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customer: customers/{customer_id} - * - productLink: customers/{customer_id}/productLinks/{product_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates a product link. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see ProductLinkServiceClient::createProductLinkAsync()} . - * - * @param CreateProductLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return CreateProductLinkResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function createProductLink(CreateProductLinkRequest $request, array $callOptions = []): CreateProductLinkResponse - { - return $this->startApiCall('CreateProductLink', $request, $callOptions)->wait(); - } - - /** - * Removes a product link. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see ProductLinkServiceClient::removeProductLinkAsync()} . - * - * @param RemoveProductLinkRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return RemoveProductLinkResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function removeProductLink(RemoveProductLinkRequest $request, array $callOptions = []): RemoveProductLinkResponse - { - return $this->startApiCall('RemoveProductLink', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ReachPlanServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ReachPlanServiceClient.php deleted file mode 100644 index bbc2a60a8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ReachPlanServiceClient.php +++ /dev/null @@ -1,280 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/reach_plan_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/reach_plan_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/reach_plan_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/reach_plan_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Generates a reach forecast for a given targeting / product mix. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [ReachPlanError]() - * [RequestError]() - * - * The async variant is {@see ReachPlanServiceClient::generateReachForecastAsync()} - * . - * - * @param GenerateReachForecastRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GenerateReachForecastResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function generateReachForecast(GenerateReachForecastRequest $request, array $callOptions = []): GenerateReachForecastResponse - { - return $this->startApiCall('GenerateReachForecast', $request, $callOptions)->wait(); - } - - /** - * Returns the list of plannable locations (for example, countries). - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see ReachPlanServiceClient::listPlannableLocationsAsync()} . - * - * @param ListPlannableLocationsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ListPlannableLocationsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listPlannableLocations(ListPlannableLocationsRequest $request, array $callOptions = []): ListPlannableLocationsResponse - { - return $this->startApiCall('ListPlannableLocations', $request, $callOptions)->wait(); - } - - /** - * Returns the list of per-location plannable YouTube ad formats with allowed - * targeting. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is {@see ReachPlanServiceClient::listPlannableProductsAsync()} - * . - * - * @param ListPlannableProductsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ListPlannableProductsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function listPlannableProducts(ListPlannableProductsRequest $request, array $callOptions = []): ListPlannableProductsResponse - { - return $this->startApiCall('ListPlannableProducts', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/RecommendationServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/RecommendationServiceClient.php deleted file mode 100644 index 04b664c8a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/RecommendationServiceClient.php +++ /dev/null @@ -1,343 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/recommendation_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/recommendation_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/recommendation_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/recommendation_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName(string $customerId, string $adId): string - { - return self::getPathTemplate('ad')->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName(string $customerId, string $assetId): string - { - return self::getPathTemplate('asset')->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName(string $customerId, string $conversionActionId): string - { - return self::getPathTemplate('conversionAction')->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * recommendation resource. - * - * @param string $customerId - * @param string $recommendationId - * - * @return string The formatted recommendation resource. - */ - public static function recommendationName(string $customerId, string $recommendationId): string - { - return self::getPathTemplate('recommendation')->render([ - 'customer_id' => $customerId, - 'recommendation_id' => $recommendationId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - ad: customers/{customer_id}/ads/{ad_id} - * - asset: customers/{customer_id}/assets/{asset_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - recommendation: customers/{customer_id}/recommendations/{recommendation_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Applies given recommendations with corresponding apply parameters. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RecommendationError]() - * [RequestError]() - * [UrlFieldError]() - * - * The async variant is - * {@see RecommendationServiceClient::applyRecommendationAsync()} . - * - * @param ApplyRecommendationRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return ApplyRecommendationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function applyRecommendation(ApplyRecommendationRequest $request, array $callOptions = []): ApplyRecommendationResponse - { - return $this->startApiCall('ApplyRecommendation', $request, $callOptions)->wait(); - } - - /** - * Dismisses given recommendations. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RecommendationError]() - * [RequestError]() - * - * The async variant is - * {@see RecommendationServiceClient::dismissRecommendationAsync()} . - * - * @param DismissRecommendationRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return DismissRecommendationResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function dismissRecommendation(DismissRecommendationRequest $request, array $callOptions = []): DismissRecommendationResponse - { - return $this->startApiCall('DismissRecommendation', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/RecommendationSubscriptionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/RecommendationSubscriptionServiceClient.php deleted file mode 100644 index 3eadeda2a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/RecommendationSubscriptionServiceClient.php +++ /dev/null @@ -1,254 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/recommendation_subscription_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/recommendation_subscription_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/recommendation_subscription_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/recommendation_subscription_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * recommendation_subscription resource. - * - * @param string $customerId - * @param string $recommendationType - * - * @return string The formatted recommendation_subscription resource. - */ - public static function recommendationSubscriptionName(string $customerId, string $recommendationType): string - { - return self::getPathTemplate('recommendationSubscription')->render([ - 'customer_id' => $customerId, - 'recommendation_type' => $recommendationType, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - recommendationSubscription: customers/{customer_id}/recommendationSubscriptions/{recommendation_type} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Mutates given subscription with corresponding apply parameters. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RecommendationError]() - * [RequestError]() - * [UrlFieldError]() - * - * The async variant is - * {@see RecommendationSubscriptionServiceClient::mutateRecommendationSubscriptionAsync()} - * . - * - * @param MutateRecommendationSubscriptionRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateRecommendationSubscriptionResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateRecommendationSubscription(MutateRecommendationSubscriptionRequest $request, array $callOptions = []): MutateRecommendationSubscriptionResponse - { - return $this->startApiCall('MutateRecommendationSubscription', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/RemarketingActionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/RemarketingActionServiceClient.php deleted file mode 100644 index 1422351ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/RemarketingActionServiceClient.php +++ /dev/null @@ -1,249 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/remarketing_action_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/remarketing_action_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/remarketing_action_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/remarketing_action_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * remarketing_action resource. - * - * @param string $customerId - * @param string $remarketingActionId - * - * @return string The formatted remarketing_action resource. - */ - public static function remarketingActionName(string $customerId, string $remarketingActionId): string - { - return self::getPathTemplate('remarketingAction')->render([ - 'customer_id' => $customerId, - 'remarketing_action_id' => $remarketingActionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - remarketingAction: customers/{customer_id}/remarketingActions/{remarketing_action_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or updates remarketing actions. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ConversionActionError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see RemarketingActionServiceClient::mutateRemarketingActionsAsync()} . - * - * @param MutateRemarketingActionsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateRemarketingActionsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateRemarketingActions(MutateRemarketingActionsRequest $request, array $callOptions = []): MutateRemarketingActionsResponse - { - return $this->startApiCall('MutateRemarketingActions', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/SharedCriterionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/SharedCriterionServiceClient.php deleted file mode 100644 index 333f5efe5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/SharedCriterionServiceClient.php +++ /dev/null @@ -1,298 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/shared_criterion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/shared_criterion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/shared_criterion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/shared_criterion_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName(string $mobileAppCategoryId): string - { - return self::getPathTemplate('mobileAppCategoryConstant')->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * shared_criterion resource. - * - * @param string $customerId - * @param string $sharedSetId - * @param string $criterionId - * - * @return string The formatted shared_criterion resource. - */ - public static function sharedCriterionName(string $customerId, string $sharedSetId, string $criterionId): string - { - return self::getPathTemplate('sharedCriterion')->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName(string $customerId, string $sharedSetId): string - { - return self::getPathTemplate('sharedSet')->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - sharedCriterion: customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id} - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or removes shared criteria. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CriterionError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is - * {@see SharedCriterionServiceClient::mutateSharedCriteriaAsync()} . - * - * @param MutateSharedCriteriaRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateSharedCriteriaResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateSharedCriteria(MutateSharedCriteriaRequest $request, array $callOptions = []): MutateSharedCriteriaResponse - { - return $this->startApiCall('MutateSharedCriteria', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/SharedSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/SharedSetServiceClient.php deleted file mode 100644 index 261525f13..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/SharedSetServiceClient.php +++ /dev/null @@ -1,264 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/shared_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/shared_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/shared_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/shared_set_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName(string $customerId, string $sharedSetId): string - { - return self::getPathTemplate('sharedSet')->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates, updates, or removes shared sets. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SharedSetError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * The async variant is {@see SharedSetServiceClient::mutateSharedSetsAsync()} . - * - * @param MutateSharedSetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateSharedSetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateSharedSets(MutateSharedSetsRequest $request, array $callOptions = []): MutateSharedSetsResponse - { - return $this->startApiCall('MutateSharedSets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSettingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSettingServiceClient.php deleted file mode 100644 index 985064a9e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSettingServiceClient.php +++ /dev/null @@ -1,286 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/smart_campaign_setting_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/smart_campaign_setting_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/smart_campaign_setting_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/smart_campaign_setting_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * smart_campaign_setting resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted smart_campaign_setting resource. - */ - public static function smartCampaignSettingName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('smartCampaignSetting')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - smartCampaignSetting: customers/{customer_id}/smartCampaignSettings/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns the status of the requested Smart campaign. - * - * The async variant is - * {@see SmartCampaignSettingServiceClient::getSmartCampaignStatusAsync()} . - * - * @param GetSmartCampaignStatusRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return GetSmartCampaignStatusResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function getSmartCampaignStatus(GetSmartCampaignStatusRequest $request, array $callOptions = []): GetSmartCampaignStatusResponse - { - return $this->startApiCall('GetSmartCampaignStatus', $request, $callOptions)->wait(); - } - - /** - * Updates Smart campaign settings for campaigns. - * - * The async variant is - * {@see SmartCampaignSettingServiceClient::mutateSmartCampaignSettingsAsync()} . - * - * @param MutateSmartCampaignSettingsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateSmartCampaignSettingsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateSmartCampaignSettings(MutateSmartCampaignSettingsRequest $request, array $callOptions = []): MutateSmartCampaignSettingsResponse - { - return $this->startApiCall('MutateSmartCampaignSettings', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSuggestServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSuggestServiceClient.php deleted file mode 100644 index ba9bafa1b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSuggestServiceClient.php +++ /dev/null @@ -1,298 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/smart_campaign_suggest_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/smart_campaign_suggest_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/smart_campaign_suggest_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/smart_campaign_suggest_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName(string $customerId, string $campaignId): string - { - return self::getPathTemplate('campaign')->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Suggests keyword themes to advertise on. - * - * The async variant is - * {@see SmartCampaignSuggestServiceClient::suggestKeywordThemesAsync()} . - * - * @param SuggestKeywordThemesRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return SuggestKeywordThemesResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function suggestKeywordThemes(SuggestKeywordThemesRequest $request, array $callOptions = []): SuggestKeywordThemesResponse - { - return $this->startApiCall('SuggestKeywordThemes', $request, $callOptions)->wait(); - } - - /** - * Suggests a Smart campaign ad compatible with the Ad family of resources, - * based on data points such as targeting and the business to advertise. - * - * The async variant is - * {@see SmartCampaignSuggestServiceClient::suggestSmartCampaignAdAsync()} . - * - * @param SuggestSmartCampaignAdRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return SuggestSmartCampaignAdResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function suggestSmartCampaignAd(SuggestSmartCampaignAdRequest $request, array $callOptions = []): SuggestSmartCampaignAdResponse - { - return $this->startApiCall('SuggestSmartCampaignAd', $request, $callOptions)->wait(); - } - - /** - * Returns BudgetOption suggestions. - * - * The async variant is - * {@see SmartCampaignSuggestServiceClient::suggestSmartCampaignBudgetOptionsAsync()} - * . - * - * @param SuggestSmartCampaignBudgetOptionsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return SuggestSmartCampaignBudgetOptionsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function suggestSmartCampaignBudgetOptions(SuggestSmartCampaignBudgetOptionsRequest $request, array $callOptions = []): SuggestSmartCampaignBudgetOptionsResponse - { - return $this->startApiCall('SuggestSmartCampaignBudgetOptions', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/ThirdPartyAppAnalyticsLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/ThirdPartyAppAnalyticsLinkServiceClient.php deleted file mode 100644 index cfb551e6b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/ThirdPartyAppAnalyticsLinkServiceClient.php +++ /dev/null @@ -1,251 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/third_party_app_analytics_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/third_party_app_analytics_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/third_party_app_analytics_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/third_party_app_analytics_link_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * third_party_app_analytics_link resource. - * - * @param string $customerId - * @param string $customerLinkId - * - * @return string The formatted third_party_app_analytics_link resource. - */ - public static function thirdPartyAppAnalyticsLinkName(string $customerId, string $customerLinkId): string - { - return self::getPathTemplate('thirdPartyAppAnalyticsLink')->render([ - 'customer_id' => $customerId, - 'customer_link_id' => $customerLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - thirdPartyAppAnalyticsLink: customers/{customer_id}/thirdPartyAppAnalyticsLinks/{customer_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be - * provided to the third party when setting up app analytics. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * The async variant is - * {@see ThirdPartyAppAnalyticsLinkServiceClient::regenerateShareableLinkIdAsync()} - * . - * - * @param RegenerateShareableLinkIdRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return RegenerateShareableLinkIdResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function regenerateShareableLinkId(RegenerateShareableLinkIdRequest $request, array $callOptions = []): RegenerateShareableLinkIdResponse - { - return $this->startApiCall('RegenerateShareableLinkId', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/TravelAssetSuggestionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/TravelAssetSuggestionServiceClient.php deleted file mode 100644 index 850b2954f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/TravelAssetSuggestionServiceClient.php +++ /dev/null @@ -1,195 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/travel_asset_suggestion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/travel_asset_suggestion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/travel_asset_suggestion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/travel_asset_suggestion_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Returns Travel Asset suggestions. Asset - * suggestions are returned on a best-effort basis. There are no guarantees - * that all possible asset types will be returned for any given hotel - * property. - * - * The async variant is - * {@see TravelAssetSuggestionServiceClient::suggestTravelAssetsAsync()} . - * - * @param SuggestTravelAssetsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return SuggestTravelAssetsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function suggestTravelAssets(SuggestTravelAssetsRequest $request, array $callOptions = []): SuggestTravelAssetsResponse - { - return $this->startApiCall('SuggestTravelAssets', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/UserDataServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/UserDataServiceClient.php deleted file mode 100644 index f402bb50f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/UserDataServiceClient.php +++ /dev/null @@ -1,209 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/user_data_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/user_data_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/user_data_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/user_data_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Uploads the given user data. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * [UserDataError]() - * - * The async variant is {@see UserDataServiceClient::uploadUserDataAsync()} . - * - * @param UploadUserDataRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return UploadUserDataResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function uploadUserData(UploadUserDataRequest $request, array $callOptions = []): UploadUserDataResponse - { - return $this->startApiCall('UploadUserData', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/UserListServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/Client/UserListServiceClient.php deleted file mode 100644 index 75131e15e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/UserListServiceClient.php +++ /dev/null @@ -1,261 +0,0 @@ - self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/user_list_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/user_list_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/user_list_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/user_list_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName(string $customerId, string $userListId): string - { - return self::getPathTemplate('userList')->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName(string $formattedName, string $template = null): array - { - return self::parseFormattedName($formattedName, $template); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** Handles execution of the async variants for each documented method. */ - public function __call($method, $args) - { - if (substr($method, -5) !== 'Async') { - trigger_error('Call to undefined method ' . __CLASS__ . "::$method()", E_USER_ERROR); - } - - array_unshift($args, substr($method, 0, -5)); - return call_user_func_array([$this, 'startAsyncCall'], $args); - } - - /** - * Creates or updates user lists. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotAllowlistedError]() - * [NotEmptyError]() - * [OperationAccessDeniedError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [StringFormatError]() - * [StringLengthError]() - * [UserListError]() - * - * The async variant is {@see UserListServiceClient::mutateUserListsAsync()} . - * - * @param MutateUserListsRequest $request A request to house fields associated with the call. - * @param array $callOptions { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return MutateUserListsResponse - * - * @throws ApiException Thrown if the API call fails. - */ - public function mutateUserLists(MutateUserListsRequest $request, array $callOptions = []): MutateUserListsResponse - { - return $this->startApiCall('MutateUserLists', $request, $callOptions)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsRequest.php deleted file mode 100644 index 46b1d63a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsRequest.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.services.ConfigureCampaignLifecycleGoalsRequest - */ -class ConfigureCampaignLifecycleGoalsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform campaign lifecycle goal update. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignLifecycleGoalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - /** - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer performing the upload. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalOperation $operation Required. The operation to perform campaign lifecycle goal update. - * - * @return \Google\Ads\GoogleAds\V15\Services\ConfigureCampaignLifecycleGoalsRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer performing the upload. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalOperation $operation - * Required. The operation to perform campaign lifecycle goal update. - * @type bool $validate_only - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform campaign lifecycle goal update. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignLifecycleGoalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform campaign lifecycle goal update. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignLifecycleGoalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalOperation::class); - $this->operation = $var; - - return $this; - } - - /** - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsResponse.php deleted file mode 100644 index 751b3c21b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsResponse.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.services.ConfigureCampaignLifecycleGoalsResponse - */ -class ConfigureCampaignLifecycleGoalsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Result for the campaign lifecycle goal configuration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConfigureCampaignLifecycleGoalsResult result = 1; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\ConfigureCampaignLifecycleGoalsResult $result - * Result for the campaign lifecycle goal configuration. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Result for the campaign lifecycle goal configuration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConfigureCampaignLifecycleGoalsResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\ConfigureCampaignLifecycleGoalsResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * Result for the campaign lifecycle goal configuration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConfigureCampaignLifecycleGoalsResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\ConfigureCampaignLifecycleGoalsResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ConfigureCampaignLifecycleGoalsResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsResult.php b/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsResult.php deleted file mode 100644 index bdadc482a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCampaignLifecycleGoalsResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.ConfigureCampaignLifecycleGoalsResult - */ -class ConfigureCampaignLifecycleGoalsResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for the successful operation. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for the successful operation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignLifecycleGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for the successful operation. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for the successful operation. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsRequest.php deleted file mode 100644 index c503457d7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsRequest.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.services.ConfigureCustomerLifecycleGoalsRequest - */ -class ConfigureCustomerLifecycleGoalsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform customer lifecycle goal update. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerLifecycleGoalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - /** - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer performing the upload. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalOperation $operation Required. The operation to perform customer lifecycle goal update. - * - * @return \Google\Ads\GoogleAds\V15\Services\ConfigureCustomerLifecycleGoalsRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer performing the upload. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalOperation $operation - * Required. The operation to perform customer lifecycle goal update. - * @type bool $validate_only - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform customer lifecycle goal update. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerLifecycleGoalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform customer lifecycle goal update. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerLifecycleGoalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalOperation::class); - $this->operation = $var; - - return $this; - } - - /** - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * - * Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsResponse.php deleted file mode 100644 index 0590654d2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsResponse.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.services.ConfigureCustomerLifecycleGoalsResponse - */ -class ConfigureCustomerLifecycleGoalsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * result for the customer lifecycle goal configuration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConfigureCustomerLifecycleGoalsResult result = 1; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\ConfigureCustomerLifecycleGoalsResult $result - * result for the customer lifecycle goal configuration. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalService::initOnce(); - parent::__construct($data); - } - - /** - * result for the customer lifecycle goal configuration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConfigureCustomerLifecycleGoalsResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\ConfigureCustomerLifecycleGoalsResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * result for the customer lifecycle goal configuration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConfigureCustomerLifecycleGoalsResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\ConfigureCustomerLifecycleGoalsResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ConfigureCustomerLifecycleGoalsResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsResult.php b/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsResult.php deleted file mode 100644 index 2107b16bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConfigureCustomerLifecycleGoalsResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.ConfigureCustomerLifecycleGoalsResult - */ -class ConfigureCustomerLifecycleGoalsResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for the successful operation. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for the successful operation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for the successful operation. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for the successful operation. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionActionOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionActionOperation.php deleted file mode 100644 index bb72b0c3f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionActionOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.ConversionActionOperation - */ -class ConversionActionOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction $create - * Create operation: No resource name is expected for the new conversion - * action. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction $update - * Update operation: The conversion action is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed conversion action is - * expected, in this format: - * `customers/{customer_id}/conversionActions/{conversion_action_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionActionService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new conversion - * action. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new conversion - * action. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The conversion action is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The conversion action is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed conversion action is - * expected, in this format: - * `customers/{customer_id}/conversionActions/{conversion_action_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed conversion action is - * expected, in this format: - * `customers/{customer_id}/conversionActions/{conversion_action_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceClient.php deleted file mode 100644 index a58f1b376..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ConversionActionService/MutateConversionActions', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateConversionActionsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustment.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustment.php deleted file mode 100644 index ff7c6498f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustment.php +++ /dev/null @@ -1,461 +0,0 @@ -google.ads.googleads.v15.services.ConversionAdjustment - */ -class ConversionAdjustment extends \Google\Protobuf\Internal\Message -{ - /** - * For adjustments, uniquely identifies a conversion that was reported - * without an order ID specified. If the adjustment_type is ENHANCEMENT, this - * value is optional but may be set in addition to the order_id. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GclidDateTimePair gclid_date_time_pair = 12; - */ - protected $gclid_date_time_pair = null; - /** - * The order ID of the conversion to be adjusted. If the conversion was - * reported with an order ID specified, that order ID must be used as the - * identifier here. The order ID is required for enhancements. - * - * Generated from protobuf field optional string order_id = 13; - */ - protected $order_id = null; - /** - * Resource name of the conversion action associated with this conversion - * adjustment. Note: Although this resource name consists of a customer id and - * a conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 8; - */ - protected $conversion_action = null; - /** - * The date time at which the adjustment occurred. Must be after the - * conversion_date_time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string adjustment_date_time = 9; - */ - protected $adjustment_date_time = null; - /** - * The adjustment type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; - */ - protected $adjustment_type = 0; - /** - * Information needed to restate the conversion's value. - * Required for restatements. Should not be supplied for retractions. An error - * will be returned if provided for a retraction. - * NOTE: If you want to upload a second restatement with a different adjusted - * value, it must have a new, more recent, adjustment occurrence time. - * Otherwise, it will be treated as a duplicate of the previous restatement - * and ignored. - * - * Generated from protobuf field .google.ads.googleads.v15.services.RestatementValue restatement_value = 6; - */ - protected $restatement_value = null; - /** - * The user identifiers to enhance the original conversion. - * ConversionAdjustmentUploadService only accepts user identifiers in - * enhancements. The maximum number of user identifiers for each - * enhancement is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 10; - */ - private $user_identifiers; - /** - * The user agent to enhance the original conversion. This can be found in - * your user's HTTP request header when they convert on your web page. - * Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - * agent can only be specified in enhancements with user identifiers. This - * should match the user agent of the request that sent the original - * conversion so the conversion and its enhancement are either both attributed - * as same-device or both attributed as cross-device. - * - * Generated from protobuf field optional string user_agent = 11; - */ - protected $user_agent = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\GclidDateTimePair $gclid_date_time_pair - * For adjustments, uniquely identifies a conversion that was reported - * without an order ID specified. If the adjustment_type is ENHANCEMENT, this - * value is optional but may be set in addition to the order_id. - * @type string $order_id - * The order ID of the conversion to be adjusted. If the conversion was - * reported with an order ID specified, that order ID must be used as the - * identifier here. The order ID is required for enhancements. - * @type string $conversion_action - * Resource name of the conversion action associated with this conversion - * adjustment. Note: Although this resource name consists of a customer id and - * a conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * @type string $adjustment_date_time - * The date time at which the adjustment occurred. Must be after the - * conversion_date_time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * @type int $adjustment_type - * The adjustment type. - * @type \Google\Ads\GoogleAds\V15\Services\RestatementValue $restatement_value - * Information needed to restate the conversion's value. - * Required for restatements. Should not be supplied for retractions. An error - * will be returned if provided for a retraction. - * NOTE: If you want to upload a second restatement with a different adjusted - * value, it must have a new, more recent, adjustment occurrence time. - * Otherwise, it will be treated as a duplicate of the previous restatement - * and ignored. - * @type array<\Google\Ads\GoogleAds\V15\Common\UserIdentifier>|\Google\Protobuf\Internal\RepeatedField $user_identifiers - * The user identifiers to enhance the original conversion. - * ConversionAdjustmentUploadService only accepts user identifiers in - * enhancements. The maximum number of user identifiers for each - * enhancement is 5. - * @type string $user_agent - * The user agent to enhance the original conversion. This can be found in - * your user's HTTP request header when they convert on your web page. - * Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - * agent can only be specified in enhancements with user identifiers. This - * should match the user agent of the request that sent the original - * conversion so the conversion and its enhancement are either both attributed - * as same-device or both attributed as cross-device. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadService::initOnce(); - parent::__construct($data); - } - - /** - * For adjustments, uniquely identifies a conversion that was reported - * without an order ID specified. If the adjustment_type is ENHANCEMENT, this - * value is optional but may be set in addition to the order_id. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GclidDateTimePair gclid_date_time_pair = 12; - * @return \Google\Ads\GoogleAds\V15\Services\GclidDateTimePair|null - */ - public function getGclidDateTimePair() - { - return $this->gclid_date_time_pair; - } - - public function hasGclidDateTimePair() - { - return isset($this->gclid_date_time_pair); - } - - public function clearGclidDateTimePair() - { - unset($this->gclid_date_time_pair); - } - - /** - * For adjustments, uniquely identifies a conversion that was reported - * without an order ID specified. If the adjustment_type is ENHANCEMENT, this - * value is optional but may be set in addition to the order_id. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GclidDateTimePair gclid_date_time_pair = 12; - * @param \Google\Ads\GoogleAds\V15\Services\GclidDateTimePair $var - * @return $this - */ - public function setGclidDateTimePair($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\GclidDateTimePair::class); - $this->gclid_date_time_pair = $var; - - return $this; - } - - /** - * The order ID of the conversion to be adjusted. If the conversion was - * reported with an order ID specified, that order ID must be used as the - * identifier here. The order ID is required for enhancements. - * - * Generated from protobuf field optional string order_id = 13; - * @return string - */ - public function getOrderId() - { - return isset($this->order_id) ? $this->order_id : ''; - } - - public function hasOrderId() - { - return isset($this->order_id); - } - - public function clearOrderId() - { - unset($this->order_id); - } - - /** - * The order ID of the conversion to be adjusted. If the conversion was - * reported with an order ID specified, that order ID must be used as the - * identifier here. The order ID is required for enhancements. - * - * Generated from protobuf field optional string order_id = 13; - * @param string $var - * @return $this - */ - public function setOrderId($var) - { - GPBUtil::checkString($var, True); - $this->order_id = $var; - - return $this; - } - - /** - * Resource name of the conversion action associated with this conversion - * adjustment. Note: Although this resource name consists of a customer id and - * a conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 8; - * @return string - */ - public function getConversionAction() - { - return isset($this->conversion_action) ? $this->conversion_action : ''; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * Resource name of the conversion action associated with this conversion - * adjustment. Note: Although this resource name consists of a customer id and - * a conversion action id, validation will ignore the customer id and use the - * conversion action id as the sole identifier of the conversion action. - * - * Generated from protobuf field optional string conversion_action = 8; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * The date time at which the adjustment occurred. Must be after the - * conversion_date_time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string adjustment_date_time = 9; - * @return string - */ - public function getAdjustmentDateTime() - { - return isset($this->adjustment_date_time) ? $this->adjustment_date_time : ''; - } - - public function hasAdjustmentDateTime() - { - return isset($this->adjustment_date_time); - } - - public function clearAdjustmentDateTime() - { - unset($this->adjustment_date_time); - } - - /** - * The date time at which the adjustment occurred. Must be after the - * conversion_date_time. The timezone must be specified. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string adjustment_date_time = 9; - * @param string $var - * @return $this - */ - public function setAdjustmentDateTime($var) - { - GPBUtil::checkString($var, True); - $this->adjustment_date_time = $var; - - return $this; - } - - /** - * The adjustment type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; - * @return int - */ - public function getAdjustmentType() - { - return $this->adjustment_type; - } - - /** - * The adjustment type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; - * @param int $var - * @return $this - */ - public function setAdjustmentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionAdjustmentTypeEnum\ConversionAdjustmentType::class); - $this->adjustment_type = $var; - - return $this; - } - - /** - * Information needed to restate the conversion's value. - * Required for restatements. Should not be supplied for retractions. An error - * will be returned if provided for a retraction. - * NOTE: If you want to upload a second restatement with a different adjusted - * value, it must have a new, more recent, adjustment occurrence time. - * Otherwise, it will be treated as a duplicate of the previous restatement - * and ignored. - * - * Generated from protobuf field .google.ads.googleads.v15.services.RestatementValue restatement_value = 6; - * @return \Google\Ads\GoogleAds\V15\Services\RestatementValue|null - */ - public function getRestatementValue() - { - return $this->restatement_value; - } - - public function hasRestatementValue() - { - return isset($this->restatement_value); - } - - public function clearRestatementValue() - { - unset($this->restatement_value); - } - - /** - * Information needed to restate the conversion's value. - * Required for restatements. Should not be supplied for retractions. An error - * will be returned if provided for a retraction. - * NOTE: If you want to upload a second restatement with a different adjusted - * value, it must have a new, more recent, adjustment occurrence time. - * Otherwise, it will be treated as a duplicate of the previous restatement - * and ignored. - * - * Generated from protobuf field .google.ads.googleads.v15.services.RestatementValue restatement_value = 6; - * @param \Google\Ads\GoogleAds\V15\Services\RestatementValue $var - * @return $this - */ - public function setRestatementValue($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\RestatementValue::class); - $this->restatement_value = $var; - - return $this; - } - - /** - * The user identifiers to enhance the original conversion. - * ConversionAdjustmentUploadService only accepts user identifiers in - * enhancements. The maximum number of user identifiers for each - * enhancement is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserIdentifiers() - { - return $this->user_identifiers; - } - - /** - * The user identifiers to enhance the original conversion. - * ConversionAdjustmentUploadService only accepts user identifiers in - * enhancements. The maximum number of user identifiers for each - * enhancement is 5. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.UserIdentifier user_identifiers = 10; - * @param array<\Google\Ads\GoogleAds\V15\Common\UserIdentifier>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserIdentifiers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\UserIdentifier::class); - $this->user_identifiers = $arr; - - return $this; - } - - /** - * The user agent to enhance the original conversion. This can be found in - * your user's HTTP request header when they convert on your web page. - * Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - * agent can only be specified in enhancements with user identifiers. This - * should match the user agent of the request that sent the original - * conversion so the conversion and its enhancement are either both attributed - * as same-device or both attributed as cross-device. - * - * Generated from protobuf field optional string user_agent = 11; - * @return string - */ - public function getUserAgent() - { - return isset($this->user_agent) ? $this->user_agent : ''; - } - - public function hasUserAgent() - { - return isset($this->user_agent); - } - - public function clearUserAgent() - { - unset($this->user_agent); - } - - /** - * The user agent to enhance the original conversion. This can be found in - * your user's HTTP request header when they convert on your web page. - * Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - * agent can only be specified in enhancements with user identifiers. This - * should match the user agent of the request that sent the original - * conversion so the conversion and its enhancement are either both attributed - * as same-device or both attributed as cross-device. - * - * Generated from protobuf field optional string user_agent = 11; - * @param string $var - * @return $this - */ - public function setUserAgent($var) - { - GPBUtil::checkString($var, True); - $this->user_agent = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentResult.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentResult.php deleted file mode 100644 index ef939dca2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentResult.php +++ /dev/null @@ -1,241 +0,0 @@ -google.ads.googleads.v15.services.ConversionAdjustmentResult - */ -class ConversionAdjustmentResult extends \Google\Protobuf\Internal\Message -{ - /** - * The gclid and conversion date time of the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GclidDateTimePair gclid_date_time_pair = 9; - */ - protected $gclid_date_time_pair = null; - /** - * The order ID of the conversion to be adjusted. - * - * Generated from protobuf field string order_id = 10; - */ - protected $order_id = ''; - /** - * Resource name of the conversion action associated with this conversion - * adjustment. - * - * Generated from protobuf field optional string conversion_action = 7; - */ - protected $conversion_action = null; - /** - * The date time at which the adjustment occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string adjustment_date_time = 8; - */ - protected $adjustment_date_time = null; - /** - * The adjustment type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; - */ - protected $adjustment_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\GclidDateTimePair $gclid_date_time_pair - * The gclid and conversion date time of the conversion. - * @type string $order_id - * The order ID of the conversion to be adjusted. - * @type string $conversion_action - * Resource name of the conversion action associated with this conversion - * adjustment. - * @type string $adjustment_date_time - * The date time at which the adjustment occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * @type int $adjustment_type - * The adjustment type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadService::initOnce(); - parent::__construct($data); - } - - /** - * The gclid and conversion date time of the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GclidDateTimePair gclid_date_time_pair = 9; - * @return \Google\Ads\GoogleAds\V15\Services\GclidDateTimePair|null - */ - public function getGclidDateTimePair() - { - return $this->gclid_date_time_pair; - } - - public function hasGclidDateTimePair() - { - return isset($this->gclid_date_time_pair); - } - - public function clearGclidDateTimePair() - { - unset($this->gclid_date_time_pair); - } - - /** - * The gclid and conversion date time of the conversion. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GclidDateTimePair gclid_date_time_pair = 9; - * @param \Google\Ads\GoogleAds\V15\Services\GclidDateTimePair $var - * @return $this - */ - public function setGclidDateTimePair($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\GclidDateTimePair::class); - $this->gclid_date_time_pair = $var; - - return $this; - } - - /** - * The order ID of the conversion to be adjusted. - * - * Generated from protobuf field string order_id = 10; - * @return string - */ - public function getOrderId() - { - return $this->order_id; - } - - /** - * The order ID of the conversion to be adjusted. - * - * Generated from protobuf field string order_id = 10; - * @param string $var - * @return $this - */ - public function setOrderId($var) - { - GPBUtil::checkString($var, True); - $this->order_id = $var; - - return $this; - } - - /** - * Resource name of the conversion action associated with this conversion - * adjustment. - * - * Generated from protobuf field optional string conversion_action = 7; - * @return string - */ - public function getConversionAction() - { - return isset($this->conversion_action) ? $this->conversion_action : ''; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * Resource name of the conversion action associated with this conversion - * adjustment. - * - * Generated from protobuf field optional string conversion_action = 7; - * @param string $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkString($var, True); - $this->conversion_action = $var; - - return $this; - } - - /** - * The date time at which the adjustment occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string adjustment_date_time = 8; - * @return string - */ - public function getAdjustmentDateTime() - { - return isset($this->adjustment_date_time) ? $this->adjustment_date_time : ''; - } - - public function hasAdjustmentDateTime() - { - return isset($this->adjustment_date_time); - } - - public function clearAdjustmentDateTime() - { - unset($this->adjustment_date_time); - } - - /** - * The date time at which the adjustment occurred. The format is - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string adjustment_date_time = 8; - * @param string $var - * @return $this - */ - public function setAdjustmentDateTime($var) - { - GPBUtil::checkString($var, True); - $this->adjustment_date_time = $var; - - return $this; - } - - /** - * The adjustment type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; - * @return int - */ - public function getAdjustmentType() - { - return $this->adjustment_type; - } - - /** - * The adjustment type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; - * @param int $var - * @return $this - */ - public function setAdjustmentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ConversionAdjustmentTypeEnum\ConversionAdjustmentType::class); - $this->adjustment_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceClient.php deleted file mode 100644 index 744817ec4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ConversionAdjustmentUploadService/UploadConversionAdjustments', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\UploadConversionAdjustmentsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableOperation.php deleted file mode 100644 index 87c0764a9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableOperation.php +++ /dev/null @@ -1,158 +0,0 @@ -google.ads.googleads.v15.services.ConversionCustomVariableOperation - */ -class ConversionCustomVariableOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable $create - * Create operation: No resource name is expected for the new conversion - * custom variable. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable $update - * Update operation: The conversion custom variable is expected to have a - * valid resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new conversion - * custom variable. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new conversion - * custom variable. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The conversion custom variable is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The conversion custom variable is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceClient.php deleted file mode 100644 index 65411eeb1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ConversionCustomVariableService/MutateConversionCustomVariables', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariablesResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigOperation.php deleted file mode 100644 index aa9acd0b2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigOperation.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.services.ConversionGoalCampaignConfigOperation - */ -class ConversionGoalCampaignConfigOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig $update - * Update operation: The conversion goal campaign config is expected to have - * a valid resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Update operation: The conversion goal campaign config is expected to have - * a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionGoalCampaignConfig update = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig|null - */ - public function getUpdate() - { - return $this->readOneof(1); - } - - public function hasUpdate() - { - return $this->hasOneof(1); - } - - /** - * Update operation: The conversion goal campaign config is expected to have - * a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionGoalCampaignConfig update = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceClient.php deleted file mode 100644 index eea2cc521..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ConversionGoalCampaignConfigService/MutateConversionGoalCampaignConfigs', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceClient.php deleted file mode 100644 index 54fc824a7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ConversionUploadService/UploadClickConversions', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\UploadClickConversionsResponse', 'decode'], - $metadata, $options); - } - - /** - * Processes the given call conversions. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [PartialFailureError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\UploadCallConversionsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function UploadCallConversions(\Google\Ads\GoogleAds\V15\Services\UploadCallConversionsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ConversionUploadService/UploadCallConversions', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\UploadCallConversionsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleOperation.php deleted file mode 100644 index 5fa058715..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.ConversionValueRuleOperation - */ -class ConversionValueRuleOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule $create - * Create operation: No resource name is expected for the new conversion - * value rule. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule $update - * Update operation: The conversion value rule is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed conversion value rule - * is expected, in this format: - * `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new conversion - * value rule. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new conversion - * value rule. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The conversion value rule is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The conversion value rule is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed conversion value rule - * is expected, in this format: - * `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed conversion value rule - * is expected, in this format: - * `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceClient.php deleted file mode 100644 index 32279c607..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ConversionValueRuleService/MutateConversionValueRules', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateConversionValueRulesResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetOperation.php deleted file mode 100644 index 89ca73500..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.ConversionValueRuleSetOperation - */ -class ConversionValueRuleSetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet $create - * Create operation: No resource name is expected for the new conversion - * value rule set. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet $update - * Update operation: The conversion value rule set is expected to have a - * valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed conversion value rule - * set is expected, in this format: - * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new conversion - * value rule set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new conversion - * value rule set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The conversion value rule set is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The conversion value rule set is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed conversion value rule - * set is expected, in this format: - * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed conversion value rule - * set is expected, in this format: - * `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceClient.php deleted file mode 100644 index 021486fc5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ConversionValueRuleSetService/MutateConversionValueRuleSets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CreateAccountLinkRequest.php b/src/Google/Ads/GoogleAds/V15/Services/CreateAccountLinkRequest.php deleted file mode 100644 index e01c3c95f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CreateAccountLinkRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.services.CreateAccountLinkRequest - */ -class CreateAccountLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer for which the account link is created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The account link to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountLink account_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $account_link = null; - - /** - * @param string $customerId Required. The ID of the customer for which the account link is created. - * @param \Google\Ads\GoogleAds\V15\Resources\AccountLink $accountLink Required. The account link to be created. - * - * @return \Google\Ads\GoogleAds\V15\Services\CreateAccountLinkRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Resources\AccountLink $accountLink): self - { - return (new self()) - ->setCustomerId($customerId) - ->setAccountLink($accountLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer for which the account link is created. - * @type \Google\Ads\GoogleAds\V15\Resources\AccountLink $account_link - * Required. The account link to be created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer for which the account link is created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer for which the account link is created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The account link to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountLink account_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Resources\AccountLink|null - */ - public function getAccountLink() - { - return $this->account_link; - } - - public function hasAccountLink() - { - return isset($this->account_link); - } - - public function clearAccountLink() - { - unset($this->account_link); - } - - /** - * Required. The account link to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountLink account_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Resources\AccountLink $var - * @return $this - */ - public function setAccountLink($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccountLink::class); - $this->account_link = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CreateAccountLinkResponse.php b/src/Google/Ads/GoogleAds/V15/Services/CreateAccountLinkResponse.php deleted file mode 100644 index 329224135..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CreateAccountLinkResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.CreateAccountLinkResponse - */ -class CreateAccountLinkResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. Resource name of the account link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. Resource name of the account link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. Resource name of the account link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. Resource name of the account link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CreateCustomerClientRequest.php b/src/Google/Ads/GoogleAds/V15/Services/CreateCustomerClientRequest.php deleted file mode 100644 index 1eb75f469..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CreateCustomerClientRequest.php +++ /dev/null @@ -1,261 +0,0 @@ -google.ads.googleads.v15.services.CreateCustomerClientRequest - */ -class CreateCustomerClientRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the Manager under whom client customer is being - * created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The new client customer to create. The resource name on this - * customer will be ignored. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer_client = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_client = null; - /** - * Email address of the user who should be invited on the created client - * customer. Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string email_address = 5; - */ - protected $email_address = null; - /** - * The proposed role of user on the created client customer. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 4; - */ - protected $access_role = 0; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 6; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the Manager under whom client customer is being - * created. - * @param \Google\Ads\GoogleAds\V15\Resources\Customer $customerClient Required. The new client customer to create. The resource name on this - * customer will be ignored. - * - * @return \Google\Ads\GoogleAds\V15\Services\CreateCustomerClientRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Resources\Customer $customerClient): self - { - return (new self()) - ->setCustomerId($customerId) - ->setCustomerClient($customerClient); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the Manager under whom client customer is being - * created. - * @type \Google\Ads\GoogleAds\V15\Resources\Customer $customer_client - * Required. The new client customer to create. The resource name on this - * customer will be ignored. - * @type string $email_address - * Email address of the user who should be invited on the created client - * customer. Accessible only to customers on the allow-list. - * @type int $access_role - * The proposed role of user on the created client customer. - * Accessible only to customers on the allow-list. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the Manager under whom client customer is being - * created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the Manager under whom client customer is being - * created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The new client customer to create. The resource name on this - * customer will be ignored. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Resources\Customer|null - */ - public function getCustomerClient() - { - return $this->customer_client; - } - - public function hasCustomerClient() - { - return isset($this->customer_client); - } - - public function clearCustomerClient() - { - unset($this->customer_client); - } - - /** - * Required. The new client customer to create. The resource name on this - * customer will be ignored. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer_client = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Resources\Customer $var - * @return $this - */ - public function setCustomerClient($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Customer::class); - $this->customer_client = $var; - - return $this; - } - - /** - * Email address of the user who should be invited on the created client - * customer. Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string email_address = 5; - * @return string - */ - public function getEmailAddress() - { - return isset($this->email_address) ? $this->email_address : ''; - } - - public function hasEmailAddress() - { - return isset($this->email_address); - } - - public function clearEmailAddress() - { - unset($this->email_address); - } - - /** - * Email address of the user who should be invited on the created client - * customer. Accessible only to customers on the allow-list. - * - * Generated from protobuf field optional string email_address = 5; - * @param string $var - * @return $this - */ - public function setEmailAddress($var) - { - GPBUtil::checkString($var, True); - $this->email_address = $var; - - return $this; - } - - /** - * The proposed role of user on the created client customer. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 4; - * @return int - */ - public function getAccessRole() - { - return $this->access_role; - } - - /** - * The proposed role of user on the created client customer. - * Accessible only to customers on the allow-list. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 4; - * @param int $var - * @return $this - */ - public function setAccessRole($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AccessRoleEnum\AccessRole::class); - $this->access_role = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 6; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 6; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CreateCustomerClientResponse.php b/src/Google/Ads/GoogleAds/V15/Services/CreateCustomerClientResponse.php deleted file mode 100644 index 6a135d5f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CreateCustomerClientResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -google.ads.googleads.v15.services.CreateCustomerClientResponse - */ -class CreateCustomerClientResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name of the newly created customer. Customer resource names - * have the form: `customers/{customer_id}`. - * - * Generated from protobuf field string resource_name = 2 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Link for inviting user to access the created customer. Accessible to - * allowlisted customers only. - * - * Generated from protobuf field string invitation_link = 3; - */ - protected $invitation_link = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name of the newly created customer. Customer resource names - * have the form: `customers/{customer_id}`. - * @type string $invitation_link - * Link for inviting user to access the created customer. Accessible to - * allowlisted customers only. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name of the newly created customer. Customer resource names - * have the form: `customers/{customer_id}`. - * - * Generated from protobuf field string resource_name = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name of the newly created customer. Customer resource names - * have the form: `customers/{customer_id}`. - * - * Generated from protobuf field string resource_name = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Link for inviting user to access the created customer. Accessible to - * allowlisted customers only. - * - * Generated from protobuf field string invitation_link = 3; - * @return string - */ - public function getInvitationLink() - { - return $this->invitation_link; - } - - /** - * Link for inviting user to access the created customer. Accessible to - * allowlisted customers only. - * - * Generated from protobuf field string invitation_link = 3; - * @param string $var - * @return $this - */ - public function setInvitationLink($var) - { - GPBUtil::checkString($var, True); - $this->invitation_link = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CreateOfflineUserDataJobRequest.php b/src/Google/Ads/GoogleAds/V15/Services/CreateOfflineUserDataJobRequest.php deleted file mode 100644 index a035d6efb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CreateOfflineUserDataJobRequest.php +++ /dev/null @@ -1,208 +0,0 @@ -google.ads.googleads.v15.services.CreateOfflineUserDataJobRequest - */ -class CreateOfflineUserDataJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer for which to create an offline user data - * job. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The offline user data job to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJob job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $job = null; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - /** - * If true, match rate range for the offline user data job is calculated and - * made available in the resource. - * - * Generated from protobuf field bool enable_match_rate_range_preview = 5; - */ - protected $enable_match_rate_range_preview = false; - - /** - * @param string $customerId Required. The ID of the customer for which to create an offline user data - * job. - * @param \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob $job Required. The offline user data job to be created. - * - * @return \Google\Ads\GoogleAds\V15\Services\CreateOfflineUserDataJobRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob $job): self - { - return (new self()) - ->setCustomerId($customerId) - ->setJob($job); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer for which to create an offline user data - * job. - * @type \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob $job - * Required. The offline user data job to be created. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type bool $enable_match_rate_range_preview - * If true, match rate range for the offline user data job is calculated and - * made available in the resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer for which to create an offline user data - * job. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer for which to create an offline user data - * job. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The offline user data job to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJob job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob|null - */ - public function getJob() - { - return $this->job; - } - - public function hasJob() - { - return isset($this->job); - } - - public function clearJob() - { - unset($this->job); - } - - /** - * Required. The offline user data job to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJob job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob $var - * @return $this - */ - public function setJob($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob::class); - $this->job = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * If true, match rate range for the offline user data job is calculated and - * made available in the resource. - * - * Generated from protobuf field bool enable_match_rate_range_preview = 5; - * @return bool - */ - public function getEnableMatchRateRangePreview() - { - return $this->enable_match_rate_range_preview; - } - - /** - * If true, match rate range for the offline user data job is calculated and - * made available in the resource. - * - * Generated from protobuf field bool enable_match_rate_range_preview = 5; - * @param bool $var - * @return $this - */ - public function setEnableMatchRateRangePreview($var) - { - GPBUtil::checkBool($var); - $this->enable_match_rate_range_preview = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CreateOfflineUserDataJobResponse.php b/src/Google/Ads/GoogleAds/V15/Services/CreateOfflineUserDataJobResponse.php deleted file mode 100644 index dd36bba9d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CreateOfflineUserDataJobResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.CreateOfflineUserDataJobResponse - */ -class CreateOfflineUserDataJobResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name of the OfflineUserDataJob. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name of the OfflineUserDataJob. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name of the OfflineUserDataJob. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name of the OfflineUserDataJob. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CreateProductLinkRequest.php b/src/Google/Ads/GoogleAds/V15/Services/CreateProductLinkRequest.php deleted file mode 100644 index dc31e30e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CreateProductLinkRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.services.CreateProductLinkRequest - */ -class CreateProductLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer for which the product link is created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The product link to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLink product_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $product_link = null; - - /** - * @param string $customerId Required. The ID of the customer for which the product link is created. - * @param \Google\Ads\GoogleAds\V15\Resources\ProductLink $productLink Required. The product link to be created. - * - * @return \Google\Ads\GoogleAds\V15\Services\CreateProductLinkRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Resources\ProductLink $productLink): self - { - return (new self()) - ->setCustomerId($customerId) - ->setProductLink($productLink); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer for which the product link is created. - * @type \Google\Ads\GoogleAds\V15\Resources\ProductLink $product_link - * Required. The product link to be created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ProductLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer for which the product link is created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer for which the product link is created. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The product link to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLink product_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Resources\ProductLink|null - */ - public function getProductLink() - { - return $this->product_link; - } - - public function hasProductLink() - { - return isset($this->product_link); - } - - public function clearProductLink() - { - unset($this->product_link); - } - - /** - * Required. The product link to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLink product_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Resources\ProductLink $var - * @return $this - */ - public function setProductLink($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ProductLink::class); - $this->product_link = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CreateProductLinkResponse.php b/src/Google/Ads/GoogleAds/V15/Services/CreateProductLinkResponse.php deleted file mode 100644 index 5fb1f030e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CreateProductLinkResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.CreateProductLinkResponse - */ -class CreateProductLinkResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. Resource name of the product link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. Resource name of the product link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ProductLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. Resource name of the product link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. Resource name of the product link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CriterionBidModifier.php b/src/Google/Ads/GoogleAds/V15/Services/CriterionBidModifier.php deleted file mode 100644 index 3542ed78b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CriterionBidModifier.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.CriterionBidModifier - */ -class CriterionBidModifier extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name of the geo location to target. The resource name is of - * the format "geoTargetConstants/{criterion_id}". - * - * Generated from protobuf field string geo_target_constant = 1; - */ - protected $geo_target_constant = ''; - /** - * The associated multiplier for the criterion_id. If set, this value cannot - * be 0. - * - * Generated from protobuf field optional double bid_modifier = 2; - */ - protected $bid_modifier = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $geo_target_constant - * The resource name of the geo location to target. The resource name is of - * the format "geoTargetConstants/{criterion_id}". - * @type float $bid_modifier - * The associated multiplier for the criterion_id. If set, this value cannot - * be 0. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name of the geo location to target. The resource name is of - * the format "geoTargetConstants/{criterion_id}". - * - * Generated from protobuf field string geo_target_constant = 1; - * @return string - */ - public function getGeoTargetConstant() - { - return $this->geo_target_constant; - } - - /** - * The resource name of the geo location to target. The resource name is of - * the format "geoTargetConstants/{criterion_id}". - * - * Generated from protobuf field string geo_target_constant = 1; - * @param string $var - * @return $this - */ - public function setGeoTargetConstant($var) - { - GPBUtil::checkString($var, True); - $this->geo_target_constant = $var; - - return $this; - } - - /** - * The associated multiplier for the criterion_id. If set, this value cannot - * be 0. - * - * Generated from protobuf field optional double bid_modifier = 2; - * @return float - */ - public function getBidModifier() - { - return isset($this->bid_modifier) ? $this->bid_modifier : 0.0; - } - - public function hasBidModifier() - { - return isset($this->bid_modifier); - } - - public function clearBidModifier() - { - unset($this->bid_modifier); - } - - /** - * The associated multiplier for the criterion_id. If set, this value cannot - * be 0. - * - * Generated from protobuf field optional double bid_modifier = 2; - * @param float $var - * @return $this - */ - public function setBidModifier($var) - { - GPBUtil::checkDouble($var); - $this->bid_modifier = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomAudienceOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomAudienceOperation.php deleted file mode 100644 index fd0f1d284..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomAudienceOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CustomAudienceOperation - */ -class CustomAudienceOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomAudience $create - * Create operation: No resource name is expected for the new custom - * audience. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomAudience $update - * Update operation: The custom audience is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed custom audience is - * expected, in this format: - * `customers/{customer_id}/customAudiences/{custom_audience_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomAudienceService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new custom - * audience. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomAudience create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomAudience|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new custom - * audience. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomAudience create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomAudience $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomAudience::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The custom audience is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomAudience update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomAudience|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The custom audience is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomAudience update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomAudience $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomAudience::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed custom audience is - * expected, in this format: - * `customers/{customer_id}/customAudiences/{custom_audience_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed custom audience is - * expected, in this format: - * `customers/{customer_id}/customAudiences/{custom_audience_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceClient.php deleted file mode 100644 index 4c6014832..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomAudienceService/MutateCustomAudiences', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomAudiencesResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalOperation.php deleted file mode 100644 index b4b82d146..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CustomConversionGoalOperation - */ -class CustomConversionGoalOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal $create - * Create operation: No resource name is expected for the new custom - * conversion goal - * @type \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal $update - * Update operation: The custom conversion goal is expected to have a - * valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed custom conversion goal - * is expected, in this format: - * 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new custom - * conversion goal - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new custom - * conversion goal - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The custom conversion goal is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The custom conversion goal is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed custom conversion goal - * is expected, in this format: - * 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed custom conversion goal - * is expected, in this format: - * 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceClient.php deleted file mode 100644 index 62f8d7211..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomConversionGoalService/MutateCustomConversionGoals', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomInterestOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomInterestOperation.php deleted file mode 100644 index 6ba9ce9ce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomInterestOperation.php +++ /dev/null @@ -1,158 +0,0 @@ -google.ads.googleads.v15.services.CustomInterestOperation - */ -class CustomInterestOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomInterest $create - * Create operation: No resource name is expected for the new custom - * interest. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomInterest $update - * Update operation: The custom interest is expected to have a valid - * resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomInterestService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new custom - * interest. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomInterest create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomInterest|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new custom - * interest. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomInterest create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomInterest $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomInterest::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The custom interest is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomInterest update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomInterest|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The custom interest is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomInterest update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomInterest $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomInterest::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceClient.php deleted file mode 100644 index b1b261935..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomInterestService/MutateCustomInterests', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomInterestsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomVariable.php b/src/Google/Ads/GoogleAds/V15/Services/CustomVariable.php deleted file mode 100644 index 09692e7e3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomVariable.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.services.CustomVariable - */ -class CustomVariable extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of the custom variable associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion custom variable id, validation will ignore the customer id and - * use the conversion custom variable id as the sole identifier of the - * conversion custom variable. - * - * Generated from protobuf field string conversion_custom_variable = 1 [(.google.api.resource_reference) = { - */ - protected $conversion_custom_variable = ''; - /** - * The value string of this custom variable. - * The value of the custom variable should not contain private customer data, - * such as email addresses or phone numbers. - * - * Generated from protobuf field string value = 2; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $conversion_custom_variable - * Resource name of the custom variable associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion custom variable id, validation will ignore the customer id and - * use the conversion custom variable id as the sole identifier of the - * conversion custom variable. - * @type string $value - * The value string of this custom variable. - * The value of the custom variable should not contain private customer data, - * such as email addresses or phone numbers. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of the custom variable associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion custom variable id, validation will ignore the customer id and - * use the conversion custom variable id as the sole identifier of the - * conversion custom variable. - * - * Generated from protobuf field string conversion_custom_variable = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getConversionCustomVariable() - { - return $this->conversion_custom_variable; - } - - /** - * Resource name of the custom variable associated with this conversion. - * Note: Although this resource name consists of a customer id and a - * conversion custom variable id, validation will ignore the customer id and - * use the conversion custom variable id as the sole identifier of the - * conversion custom variable. - * - * Generated from protobuf field string conversion_custom_variable = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setConversionCustomVariable($var) - { - GPBUtil::checkString($var, True); - $this->conversion_custom_variable = $var; - - return $this; - } - - /** - * The value string of this custom variable. - * The value of the custom variable should not contain private customer data, - * such as email addresses or phone numbers. - * - * Generated from protobuf field string value = 2; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * The value string of this custom variable. - * The value of the custom variable should not contain private customer data, - * such as email addresses or phone numbers. - * - * Generated from protobuf field string value = 2; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetOperation.php deleted file mode 100644 index cd88c9db6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CustomerAssetOperation - */ -class CustomerAssetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $create - * Create operation: No resource name is expected for the new customer - * asset. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $update - * Update operation: The customer asset is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed customer asset is - * expected, in this format: - * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerAssetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new customer - * asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAsset|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new customer - * asset. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAsset::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The customer asset is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset update = 3; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAsset|null - */ - public function getUpdate() - { - return $this->readOneof(3); - } - - public function hasUpdate() - { - return $this->hasOneof(3); - } - - /** - * Update operation: The customer asset is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset update = 3; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAsset::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed customer asset is - * expected, in this format: - * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed customer asset is - * expected, in this format: - * `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceClient.php deleted file mode 100644 index 8bfa27039..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerAssetService/MutateCustomerAssets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetOperation.php deleted file mode 100644 index b935cce6e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.CustomerAssetSetOperation - */ -class CustomerAssetSetOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet $create - * Create operation: No resource name is expected for the new customer asset - * set. - * @type string $remove - * Remove operation: A resource name for the removed customer asset set is - * expected, in this format: - * `customers/{customer_id}/customerAssetSets/{asset_set_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new customer asset - * set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAssetSet create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new customer asset - * set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAssetSet create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed customer asset set is - * expected, in this format: - * `customers/{customer_id}/customerAssetSets/{asset_set_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed customer asset set is - * expected, in this format: - * `customers/{customer_id}/customerAssetSets/{asset_set_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceClient.php deleted file mode 100644 index 1b4252bad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerAssetSetService/MutateCustomerAssetSets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetSetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkOperation.php deleted file mode 100644 index 34cc4935f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkOperation.php +++ /dev/null @@ -1,152 +0,0 @@ -google.ads.googleads.v15.services.CustomerClientLinkOperation - */ -class CustomerClientLinkOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink $create - * Create operation: No resource name is expected for the new link. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink $update - * Update operation: The link is expected to have a valid resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerClientLinkService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClientLink create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClientLink create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The link is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClientLink update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The link is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClientLink update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceClient.php deleted file mode 100644 index 86bee3da6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerClientLinkService/MutateCustomerClientLink', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerClientLinkResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalOperation.php deleted file mode 100644 index b277b85e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalOperation.php +++ /dev/null @@ -1,122 +0,0 @@ -google.ads.googleads.v15.services.CustomerConversionGoalOperation - */ -class CustomerConversionGoalOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal $update - * Update operation: The customer conversion goal is expected to have a - * valid resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Update operation: The customer conversion goal is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerConversionGoal update = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal|null - */ - public function getUpdate() - { - return $this->readOneof(1); - } - - public function hasUpdate() - { - return $this->hasOneof(1); - } - - /** - * Update operation: The customer conversion goal is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerConversionGoal update = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceClient.php deleted file mode 100644 index da672b77e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerConversionGoalService/MutateCustomerConversionGoals', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerOperation.php deleted file mode 100644 index 36a11f17f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.CustomerCustomizerOperation - */ -class CustomerCustomizerOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer $create - * Create operation: No resource name is expected for the new customer - * customizer - * @type string $remove - * Remove operation: A resource name for the removed customer customizer is - * expected, in this format: - * `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new customer - * customizer - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerCustomizer create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new customer - * customizer - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerCustomizer create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed customer customizer is - * expected, in this format: - * `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed customer customizer is - * expected, in this format: - * `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceClient.php deleted file mode 100644 index 03c2c8eab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerCustomizerService/MutateCustomerCustomizers', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizersResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingOperation.php deleted file mode 100644 index 9758e5a4c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.CustomerExtensionSettingOperation - */ -class CustomerExtensionSettingOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting $create - * Create operation: No resource name is expected for the new customer - * extension setting. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting $update - * Update operation: The customer extension setting is expected to have a - * valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed customer extension - * setting is expected, in this format: - * `customers/{customer_id}/customerExtensionSettings/{extension_type}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new customer - * extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new customer - * extension setting. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The customer extension setting is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The customer extension setting is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed customer extension - * setting is expected, in this format: - * `customers/{customer_id}/customerExtensionSettings/{extension_type}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed customer extension - * setting is expected, in this format: - * `customers/{customer_id}/customerExtensionSettings/{extension_type}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceClient.php deleted file mode 100644 index 9910fd5e8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerFeedOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerFeedOperation.php deleted file mode 100644 index 08aa2c077..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerFeedOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.CustomerFeedOperation - */ -class CustomerFeedOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerFeed $create - * Create operation: No resource name is expected for the new customer feed. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerFeed $update - * Update operation: The customer feed is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed customer feed is - * expected, in this format: - * `customers/{customer_id}/customerFeeds/{feed_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerFeedService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new customer feed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerFeed|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new customer feed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerFeed $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerFeed::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The customer feed is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerFeed|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The customer feed is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerFeed $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerFeed::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed customer feed is - * expected, in this format: - * `customers/{customer_id}/customerFeeds/{feed_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed customer feed is - * expected, in this format: - * `customers/{customer_id}/customerFeeds/{feed_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceClient.php deleted file mode 100644 index 0cd84317d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerFeedService/MutateCustomerFeeds', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerLabelOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerLabelOperation.php deleted file mode 100644 index 3536e2fba..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerLabelOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.CustomerLabelOperation - */ -class CustomerLabelOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerLabel $create - * Create operation: No resource name is expected for the new customer-label - * relationship. - * @type string $remove - * Remove operation: A resource name for the customer-label relationship - * being removed, in this format: - * `customers/{customer_id}/customerLabels/{label_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new customer-label - * relationship. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLabel create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerLabel|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new customer-label - * relationship. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLabel create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerLabel $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerLabel::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the customer-label relationship - * being removed, in this format: - * `customers/{customer_id}/customerLabels/{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the customer-label relationship - * being removed, in this format: - * `customers/{customer_id}/customerLabels/{label_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceClient.php deleted file mode 100644 index 1da41ab68..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerLabelService/MutateCustomerLabels', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalOperation.php deleted file mode 100644 index 387bbff2c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalOperation.php +++ /dev/null @@ -1,141 +0,0 @@ -google.ads.googleads.v15.services.CustomerLifecycleGoalOperation - */ -class CustomerLifecycleGoalOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal $create - * Create operation: to create a new customer lifecycle goal or update an - * existing customer lifecycle goal. When creating a new customer lifecycle - * goal, all required fields needs to be set. Resource name and field mask - * needs to be empty. When updating an existing customer lifecycle goal, - * resource name and field mask need to be set. Partial update based on - * field mask is supported when updating an existing customer lifecycle - * goal. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerLifecycleGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: to create a new customer lifecycle goal or update an - * existing customer lifecycle goal. When creating a new customer lifecycle - * goal, all required fields needs to be set. Resource name and field mask - * needs to be empty. When updating an existing customer lifecycle goal, - * resource name and field mask need to be set. Partial update based on - * field mask is supported when updating an existing customer lifecycle - * goal. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: to create a new customer lifecycle goal or update an - * existing customer lifecycle goal. When creating a new customer lifecycle - * goal, all required fields needs to be set. Resource name and field mask - * needs to be empty. When updating an existing customer lifecycle goal, - * resource name and field mask need to be set. Partial update based on - * field mask is supported when updating an existing customer lifecycle - * goal. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLifecycleGoal create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceClient.php deleted file mode 100644 index b435c9fc3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerLifecycleGoalService/ConfigureCustomerLifecycleGoals', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ConfigureCustomerLifecycleGoalsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkOperation.php deleted file mode 100644 index ac7f5f771..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkOperation.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.CustomerManagerLinkOperation - */ -class CustomerManagerLinkOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink $update - * Update operation: The link is expected to have a valid resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Update operation: The link is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerManagerLink update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The link is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerManagerLink update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceClient.php deleted file mode 100644 index ea8e77ef4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerManagerLinkService/MutateCustomerManagerLink', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerManagerLinkResponse', 'decode'], - $metadata, $options); - } - - /** - * Moves a client customer to a new manager customer. - * This simplifies the complex request that requires two operations to move - * a client customer to a new manager, for example: - * 1. Update operation with Status INACTIVE (previous manager) and, - * 2. Update operation with Status ACTIVE (new manager). - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\MoveManagerLinkRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function MoveManagerLink(\Google\Ads\GoogleAds\V15\Services\MoveManagerLinkRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.CustomerManagerLinkService/MoveManagerLink', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MoveManagerLinkResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionOperation.php deleted file mode 100644 index 20cd21db9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionOperation.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.services.CustomerNegativeCriterionOperation - */ -class CustomerNegativeCriterionOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion $create - * Create operation: No resource name is expected for the new criterion. - * @type string $remove - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerNegativeCriterion create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerNegativeCriterion create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed criterion is expected, - * in this format: - * `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceClient.php deleted file mode 100644 index 7bb4702cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerOperation.php deleted file mode 100644 index 9f157635d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerOperation.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.services.CustomerOperation - */ -class CustomerOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Mutate operation. Only updates are supported for customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer update = 1; - */ - protected $update = null; - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - */ - protected $update_mask = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\Customer $update - * Mutate operation. Only updates are supported for customer. - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerService::initOnce(); - parent::__construct($data); - } - - /** - * Mutate operation. Only updates are supported for customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer update = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Customer|null - */ - public function getUpdate() - { - return $this->update; - } - - public function hasUpdate() - { - return isset($this->update); - } - - public function clearUpdate() - { - unset($this->update); - } - - /** - * Mutate operation. Only updates are supported for customer. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer update = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Customer $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Customer::class); - $this->update = $var; - - return $this; - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerServiceClient.php deleted file mode 100644 index ba6468a62..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerService/MutateCustomer', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns resource names of customers directly accessible by the - * user authenticating the call. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\ListAccessibleCustomersRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function ListAccessibleCustomers(\Google\Ads\GoogleAds\V15\Services\ListAccessibleCustomersRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.CustomerService/ListAccessibleCustomers', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListAccessibleCustomersResponse', 'decode'], - $metadata, $options); - } - - /** - * Creates a new client under manager. The new client customer is returned. - * - * List of thrown errors: - * [AccessInvitationError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CurrencyCodeError]() - * [HeaderError]() - * [InternalError]() - * [ManagerLinkError]() - * [QuotaError]() - * [RequestError]() - * [StringLengthError]() - * [TimeZoneError]() - * @param \Google\Ads\GoogleAds\V15\Services\CreateCustomerClientRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function CreateCustomerClient(\Google\Ads\GoogleAds\V15\Services\CreateCustomerClientRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.CustomerService/CreateCustomerClient', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\CreateCustomerClientResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaOperation.php deleted file mode 100644 index 0cc331eae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaOperation.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaOperation - */ -class CustomerSkAdNetworkConversionValueSchemaOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Update operation: The schema is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema update = 1; - */ - protected $update = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema $update - * Update operation: The schema is expected to have a valid resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaService::initOnce(); - parent::__construct($data); - } - - /** - * Update operation: The schema is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema update = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema|null - */ - public function getUpdate() - { - return $this->update; - } - - public function hasUpdate() - { - return isset($this->update); - } - - public function clearUpdate() - { - unset($this->update); - } - - /** - * Update operation: The schema is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSkAdNetworkConversionValueSchema update = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerSkAdNetworkConversionValueSchema::class); - $this->update = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceClient.php deleted file mode 100644 index ffc4d85e6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceClient.php +++ /dev/null @@ -1,36 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService/MutateCustomerSkAdNetworkConversionValueSchema', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerSkAdNetworkConversionValueSchemaResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationOperation.php deleted file mode 100644 index 6ead71891..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.CustomerUserAccessInvitationOperation - */ -class CustomerUserAccessInvitationOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation $create - * Create operation: No resource name is expected for the new access - * invitation. - * @type string $remove - * Remove operation: A resource name for the revoke invitation is - * expected, in this format: - * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new access - * invitation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccessInvitation create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new access - * invitation. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccessInvitation create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the revoke invitation is - * expected, in this format: - * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the revoke invitation is - * expected, in this format: - * `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceClient.php deleted file mode 100644 index c1db909b0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerUserAccessInvitationService/MutateCustomerUserAccessInvitation', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessInvitationResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessOperation.php deleted file mode 100644 index 58405c5fe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessOperation.php +++ /dev/null @@ -1,161 +0,0 @@ -google.ads.googleads.v15.services.CustomerUserAccessOperation - */ -class CustomerUserAccessOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess $update - * Update operation: The customer user access is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed access is - * expected, in this format: - * `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Update operation: The customer user access is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccess update = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess|null - */ - public function getUpdate() - { - return $this->readOneof(1); - } - - public function hasUpdate() - { - return $this->hasOneof(1); - } - - /** - * Update operation: The customer user access is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccess update = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed access is - * expected, in this format: - * `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed access is - * expected, in this format: - * `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceClient.php deleted file mode 100644 index 673c7cc01..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomerUserAccessService/MutateCustomerUserAccess', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeOperation.php b/src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeOperation.php deleted file mode 100644 index c80a53080..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeOperation.php +++ /dev/null @@ -1,161 +0,0 @@ -google.ads.googleads.v15.services.CustomizerAttributeOperation - */ -class CustomizerAttributeOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute $create - * Create operation: No resource name is expected for the new customizer - * attribute - * @type string $remove - * Remove operation: A resource name for the removed customizer attribute is - * expected, in this format: - * `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomizerAttributeService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new customizer - * attribute - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomizerAttribute create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new customizer - * attribute - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomizerAttribute create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed customizer attribute is - * expected, in this format: - * `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed customizer attribute is - * expected, in this format: - * `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceClient.php deleted file mode 100644 index 4e38faca9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.CustomizerAttributeService/MutateCustomizerAttributes', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributesResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationRequest.php b/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationRequest.php deleted file mode 100644 index b150a77b0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationRequest.php +++ /dev/null @@ -1,173 +0,0 @@ -google.ads.googleads.v15.services.DismissRecommendationRequest - */ -class DismissRecommendationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to dismiss recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DismissRecommendationRequest.DismissRecommendationOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried in a - * single transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 2; - */ - protected $partial_failure = false; - - /** - * @param string $customerId Required. The ID of the customer with the recommendation. - * @param \Google\Ads\GoogleAds\V15\Services\DismissRecommendationRequest\DismissRecommendationOperation[] $operations Required. The list of operations to dismiss recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * - * @return \Google\Ads\GoogleAds\V15\Services\DismissRecommendationRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer with the recommendation. - * @type array<\Google\Ads\GoogleAds\V15\Services\DismissRecommendationRequest\DismissRecommendationOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to dismiss recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried in a - * single transaction if and only if they are all valid. - * Default is false. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to dismiss recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DismissRecommendationRequest.DismissRecommendationOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to dismiss recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DismissRecommendationRequest.DismissRecommendationOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\DismissRecommendationRequest\DismissRecommendationOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\DismissRecommendationRequest\DismissRecommendationOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried in a - * single transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 2; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried in a - * single transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 2; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationRequest/DismissRecommendationOperation.php b/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationRequest/DismissRecommendationOperation.php deleted file mode 100644 index 32e8e3b5e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationRequest/DismissRecommendationOperation.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.DismissRecommendationRequest.DismissRecommendationOperation - */ -class DismissRecommendationOperation extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name of the recommendation to dismiss. - * - * Generated from protobuf field string resource_name = 1; - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name of the recommendation to dismiss. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name of the recommendation to dismiss. - * - * Generated from protobuf field string resource_name = 1; - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name of the recommendation to dismiss. - * - * Generated from protobuf field string resource_name = 1; - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DismissRecommendationOperation::class, \Google\Ads\GoogleAds\V15\Services\DismissRecommendationRequest_DismissRecommendationOperation::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationResponse.php b/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationResponse.php deleted file mode 100644 index ad46535f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationResponse.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.DismissRecommendationResponse - */ -class DismissRecommendationResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results of operations to dismiss recommendations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DismissRecommendationResponse.DismissRecommendationResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\DismissRecommendationResponse\DismissRecommendationResult>|\Google\Protobuf\Internal\RepeatedField $results - * Results of operations to dismiss recommendations. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Results of operations to dismiss recommendations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DismissRecommendationResponse.DismissRecommendationResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * Results of operations to dismiss recommendations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DismissRecommendationResponse.DismissRecommendationResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\DismissRecommendationResponse\DismissRecommendationResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\DismissRecommendationResponse\DismissRecommendationResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationResponse/DismissRecommendationResult.php b/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationResponse/DismissRecommendationResult.php deleted file mode 100644 index 5fcb13bd0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/DismissRecommendationResponse/DismissRecommendationResult.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.DismissRecommendationResponse.DismissRecommendationResult - */ -class DismissRecommendationResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful dismissals. - * - * Generated from protobuf field string resource_name = 1; - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful dismissals. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful dismissals. - * - * Generated from protobuf field string resource_name = 1; - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful dismissals. - * - * Generated from protobuf field string resource_name = 1; - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DismissRecommendationResult::class, \Google\Ads\GoogleAds\V15\Services\DismissRecommendationResponse_DismissRecommendationResult::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/DynamicLineupAttributeMetadata.php b/src/Google/Ads/GoogleAds/V15/Services/DynamicLineupAttributeMetadata.php deleted file mode 100644 index 3c307a710..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/DynamicLineupAttributeMetadata.php +++ /dev/null @@ -1,243 +0,0 @@ -google.ads.googleads.v15.services.DynamicLineupAttributeMetadata - */ -class DynamicLineupAttributeMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The national market associated with the lineup. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo inventory_country = 1; - */ - protected $inventory_country = null; - /** - * The median number of impressions per month on this lineup. - * - * Generated from protobuf field optional int64 median_monthly_inventory = 2; - */ - protected $median_monthly_inventory = null; - /** - * The lower end of a range containing the number of channels in the lineup. - * - * Generated from protobuf field optional int64 channel_count_lower_bound = 3; - */ - protected $channel_count_lower_bound = null; - /** - * The upper end of a range containing the number of channels in the lineup. - * - * Generated from protobuf field optional int64 channel_count_upper_bound = 4; - */ - protected $channel_count_upper_bound = null; - /** - * Examples of channels that are included in the lineup. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DynamicLineupAttributeMetadata.SampleChannel sample_channels = 5; - */ - private $sample_channels; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\LocationInfo $inventory_country - * The national market associated with the lineup. - * @type int|string $median_monthly_inventory - * The median number of impressions per month on this lineup. - * @type int|string $channel_count_lower_bound - * The lower end of a range containing the number of channels in the lineup. - * @type int|string $channel_count_upper_bound - * The upper end of a range containing the number of channels in the lineup. - * @type array<\Google\Ads\GoogleAds\V15\Services\DynamicLineupAttributeMetadata\SampleChannel>|\Google\Protobuf\Internal\RepeatedField $sample_channels - * Examples of channels that are included in the lineup. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The national market associated with the lineup. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo inventory_country = 1; - * @return \Google\Ads\GoogleAds\V15\Common\LocationInfo|null - */ - public function getInventoryCountry() - { - return $this->inventory_country; - } - - public function hasInventoryCountry() - { - return isset($this->inventory_country); - } - - public function clearInventoryCountry() - { - unset($this->inventory_country); - } - - /** - * The national market associated with the lineup. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo inventory_country = 1; - * @param \Google\Ads\GoogleAds\V15\Common\LocationInfo $var - * @return $this - */ - public function setInventoryCountry($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->inventory_country = $var; - - return $this; - } - - /** - * The median number of impressions per month on this lineup. - * - * Generated from protobuf field optional int64 median_monthly_inventory = 2; - * @return int|string - */ - public function getMedianMonthlyInventory() - { - return isset($this->median_monthly_inventory) ? $this->median_monthly_inventory : 0; - } - - public function hasMedianMonthlyInventory() - { - return isset($this->median_monthly_inventory); - } - - public function clearMedianMonthlyInventory() - { - unset($this->median_monthly_inventory); - } - - /** - * The median number of impressions per month on this lineup. - * - * Generated from protobuf field optional int64 median_monthly_inventory = 2; - * @param int|string $var - * @return $this - */ - public function setMedianMonthlyInventory($var) - { - GPBUtil::checkInt64($var); - $this->median_monthly_inventory = $var; - - return $this; - } - - /** - * The lower end of a range containing the number of channels in the lineup. - * - * Generated from protobuf field optional int64 channel_count_lower_bound = 3; - * @return int|string - */ - public function getChannelCountLowerBound() - { - return isset($this->channel_count_lower_bound) ? $this->channel_count_lower_bound : 0; - } - - public function hasChannelCountLowerBound() - { - return isset($this->channel_count_lower_bound); - } - - public function clearChannelCountLowerBound() - { - unset($this->channel_count_lower_bound); - } - - /** - * The lower end of a range containing the number of channels in the lineup. - * - * Generated from protobuf field optional int64 channel_count_lower_bound = 3; - * @param int|string $var - * @return $this - */ - public function setChannelCountLowerBound($var) - { - GPBUtil::checkInt64($var); - $this->channel_count_lower_bound = $var; - - return $this; - } - - /** - * The upper end of a range containing the number of channels in the lineup. - * - * Generated from protobuf field optional int64 channel_count_upper_bound = 4; - * @return int|string - */ - public function getChannelCountUpperBound() - { - return isset($this->channel_count_upper_bound) ? $this->channel_count_upper_bound : 0; - } - - public function hasChannelCountUpperBound() - { - return isset($this->channel_count_upper_bound); - } - - public function clearChannelCountUpperBound() - { - unset($this->channel_count_upper_bound); - } - - /** - * The upper end of a range containing the number of channels in the lineup. - * - * Generated from protobuf field optional int64 channel_count_upper_bound = 4; - * @param int|string $var - * @return $this - */ - public function setChannelCountUpperBound($var) - { - GPBUtil::checkInt64($var); - $this->channel_count_upper_bound = $var; - - return $this; - } - - /** - * Examples of channels that are included in the lineup. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DynamicLineupAttributeMetadata.SampleChannel sample_channels = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSampleChannels() - { - return $this->sample_channels; - } - - /** - * Examples of channels that are included in the lineup. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.DynamicLineupAttributeMetadata.SampleChannel sample_channels = 5; - * @param array<\Google\Ads\GoogleAds\V15\Services\DynamicLineupAttributeMetadata\SampleChannel>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSampleChannels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\DynamicLineupAttributeMetadata\SampleChannel::class); - $this->sample_channels = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/DynamicLineupAttributeMetadata/SampleChannel.php b/src/Google/Ads/GoogleAds/V15/Services/DynamicLineupAttributeMetadata/SampleChannel.php deleted file mode 100644 index 5c5594d5c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/DynamicLineupAttributeMetadata/SampleChannel.php +++ /dev/null @@ -1,158 +0,0 @@ -google.ads.googleads.v15.services.DynamicLineupAttributeMetadata.SampleChannel - */ -class SampleChannel extends \Google\Protobuf\Internal\Message -{ - /** - * A YouTube channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 1; - */ - protected $youtube_channel = null; - /** - * The name of the sample channel. - * - * Generated from protobuf field string display_name = 2; - */ - protected $display_name = ''; - /** - * Metadata for the sample channel. - * - * Generated from protobuf field .google.ads.googleads.v15.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3; - */ - protected $youtube_channel_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $youtube_channel - * A YouTube channel. - * @type string $display_name - * The name of the sample channel. - * @type \Google\Ads\GoogleAds\V15\Services\YouTubeChannelAttributeMetadata $youtube_channel_metadata - * Metadata for the sample channel. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * A YouTube channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 1; - * @return \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo|null - */ - public function getYoutubeChannel() - { - return $this->youtube_channel; - } - - public function hasYoutubeChannel() - { - return isset($this->youtube_channel); - } - - public function clearYoutubeChannel() - { - unset($this->youtube_channel); - } - - /** - * A YouTube channel. - * - * Generated from protobuf field .google.ads.googleads.v15.common.YouTubeChannelInfo youtube_channel = 1; - * @param \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo $var - * @return $this - */ - public function setYoutubeChannel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\YouTubeChannelInfo::class); - $this->youtube_channel = $var; - - return $this; - } - - /** - * The name of the sample channel. - * - * Generated from protobuf field string display_name = 2; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * The name of the sample channel. - * - * Generated from protobuf field string display_name = 2; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Metadata for the sample channel. - * - * Generated from protobuf field .google.ads.googleads.v15.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3; - * @return \Google\Ads\GoogleAds\V15\Services\YouTubeChannelAttributeMetadata|null - */ - public function getYoutubeChannelMetadata() - { - return $this->youtube_channel_metadata; - } - - public function hasYoutubeChannelMetadata() - { - return isset($this->youtube_channel_metadata); - } - - public function clearYoutubeChannelMetadata() - { - unset($this->youtube_channel_metadata); - } - - /** - * Metadata for the sample channel. - * - * Generated from protobuf field .google.ads.googleads.v15.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3; - * @param \Google\Ads\GoogleAds\V15\Services\YouTubeChannelAttributeMetadata $var - * @return $this - */ - public function setYoutubeChannelMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\YouTubeChannelAttributeMetadata::class); - $this->youtube_channel_metadata = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SampleChannel::class, \Google\Ads\GoogleAds\V15\Services\DynamicLineupAttributeMetadata_SampleChannel::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/EffectiveFrequencyBreakdown.php b/src/Google/Ads/GoogleAds/V15/Services/EffectiveFrequencyBreakdown.php deleted file mode 100644 index 7ecd4e5fb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/EffectiveFrequencyBreakdown.php +++ /dev/null @@ -1,264 +0,0 @@ -google.ads.googleads.v15.services.EffectiveFrequencyBreakdown - */ -class EffectiveFrequencyBreakdown extends \Google\Protobuf\Internal\Message -{ - /** - * The effective frequency [1-10]. - * - * Generated from protobuf field int32 effective_frequency = 1; - */ - protected $effective_frequency = 0; - /** - * The number of unique people reached at least effective_frequency times that - * exactly matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 on_target_reach = 2; - */ - protected $on_target_reach = 0; - /** - * Total number of unique people reached at least effective_frequency times. - * This includes people that may fall outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 total_reach = 3; - */ - protected $total_reach = 0; - /** - * The number of users (including co-viewing users) reached for the associated - * effective_frequency value. - * - * Generated from protobuf field optional int64 effective_coview_reach = 4; - */ - protected $effective_coview_reach = null; - /** - * The number of users (including co-viewing users) reached for the associated - * effective_frequency value within the specified plan demographic. - * - * Generated from protobuf field optional int64 on_target_effective_coview_reach = 5; - */ - protected $on_target_effective_coview_reach = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $effective_frequency - * The effective frequency [1-10]. - * @type int|string $on_target_reach - * The number of unique people reached at least effective_frequency times that - * exactly matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * @type int|string $total_reach - * Total number of unique people reached at least effective_frequency times. - * This includes people that may fall outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * @type int|string $effective_coview_reach - * The number of users (including co-viewing users) reached for the associated - * effective_frequency value. - * @type int|string $on_target_effective_coview_reach - * The number of users (including co-viewing users) reached for the associated - * effective_frequency value within the specified plan demographic. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The effective frequency [1-10]. - * - * Generated from protobuf field int32 effective_frequency = 1; - * @return int - */ - public function getEffectiveFrequency() - { - return $this->effective_frequency; - } - - /** - * The effective frequency [1-10]. - * - * Generated from protobuf field int32 effective_frequency = 1; - * @param int $var - * @return $this - */ - public function setEffectiveFrequency($var) - { - GPBUtil::checkInt32($var); - $this->effective_frequency = $var; - - return $this; - } - - /** - * The number of unique people reached at least effective_frequency times that - * exactly matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 on_target_reach = 2; - * @return int|string - */ - public function getOnTargetReach() - { - return $this->on_target_reach; - } - - /** - * The number of unique people reached at least effective_frequency times that - * exactly matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 on_target_reach = 2; - * @param int|string $var - * @return $this - */ - public function setOnTargetReach($var) - { - GPBUtil::checkInt64($var); - $this->on_target_reach = $var; - - return $this; - } - - /** - * Total number of unique people reached at least effective_frequency times. - * This includes people that may fall outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 total_reach = 3; - * @return int|string - */ - public function getTotalReach() - { - return $this->total_reach; - } - - /** - * Total number of unique people reached at least effective_frequency times. - * This includes people that may fall outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 total_reach = 3; - * @param int|string $var - * @return $this - */ - public function setTotalReach($var) - { - GPBUtil::checkInt64($var); - $this->total_reach = $var; - - return $this; - } - - /** - * The number of users (including co-viewing users) reached for the associated - * effective_frequency value. - * - * Generated from protobuf field optional int64 effective_coview_reach = 4; - * @return int|string - */ - public function getEffectiveCoviewReach() - { - return isset($this->effective_coview_reach) ? $this->effective_coview_reach : 0; - } - - public function hasEffectiveCoviewReach() - { - return isset($this->effective_coview_reach); - } - - public function clearEffectiveCoviewReach() - { - unset($this->effective_coview_reach); - } - - /** - * The number of users (including co-viewing users) reached for the associated - * effective_frequency value. - * - * Generated from protobuf field optional int64 effective_coview_reach = 4; - * @param int|string $var - * @return $this - */ - public function setEffectiveCoviewReach($var) - { - GPBUtil::checkInt64($var); - $this->effective_coview_reach = $var; - - return $this; - } - - /** - * The number of users (including co-viewing users) reached for the associated - * effective_frequency value within the specified plan demographic. - * - * Generated from protobuf field optional int64 on_target_effective_coview_reach = 5; - * @return int|string - */ - public function getOnTargetEffectiveCoviewReach() - { - return isset($this->on_target_effective_coview_reach) ? $this->on_target_effective_coview_reach : 0; - } - - public function hasOnTargetEffectiveCoviewReach() - { - return isset($this->on_target_effective_coview_reach); - } - - public function clearOnTargetEffectiveCoviewReach() - { - unset($this->on_target_effective_coview_reach); - } - - /** - * The number of users (including co-viewing users) reached for the associated - * effective_frequency value within the specified plan demographic. - * - * Generated from protobuf field optional int64 on_target_effective_coview_reach = 5; - * @param int|string $var - * @return $this - */ - public function setOnTargetEffectiveCoviewReach($var) - { - GPBUtil::checkInt64($var); - $this->on_target_effective_coview_reach = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/EffectiveFrequencyLimit.php b/src/Google/Ads/GoogleAds/V15/Services/EffectiveFrequencyLimit.php deleted file mode 100644 index ed6c0c499..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/EffectiveFrequencyLimit.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.services.EffectiveFrequencyLimit - */ -class EffectiveFrequencyLimit extends \Google\Protobuf\Internal\Message -{ - /** - * The highest effective frequency value to include in - * Forecast.effective_frequency_breakdowns. - * This field supports frequencies 1-10, inclusive. - * - * Generated from protobuf field int32 effective_frequency_breakdown_limit = 1; - */ - protected $effective_frequency_breakdown_limit = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $effective_frequency_breakdown_limit - * The highest effective frequency value to include in - * Forecast.effective_frequency_breakdowns. - * This field supports frequencies 1-10, inclusive. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The highest effective frequency value to include in - * Forecast.effective_frequency_breakdowns. - * This field supports frequencies 1-10, inclusive. - * - * Generated from protobuf field int32 effective_frequency_breakdown_limit = 1; - * @return int - */ - public function getEffectiveFrequencyBreakdownLimit() - { - return $this->effective_frequency_breakdown_limit; - } - - /** - * The highest effective frequency value to include in - * Forecast.effective_frequency_breakdowns. - * This field supports frequencies 1-10, inclusive. - * - * Generated from protobuf field int32 effective_frequency_breakdown_limit = 1; - * @param int $var - * @return $this - */ - public function setEffectiveFrequencyBreakdownLimit($var) - { - GPBUtil::checkInt32($var); - $this->effective_frequency_breakdown_limit = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/EndExperimentRequest.php b/src/Google/Ads/GoogleAds/V15/Services/EndExperimentRequest.php deleted file mode 100644 index 6e787f576..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/EndExperimentRequest.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.EndExperimentRequest - */ -class EndExperimentRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the campaign experiment to end. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $experiment = ''; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - */ - protected $validate_only = false; - - /** - * @param string $experiment Required. The resource name of the campaign experiment to end. - * - * @return \Google\Ads\GoogleAds\V15\Services\EndExperimentRequest - * - * @experimental - */ - public static function build(string $experiment): self - { - return (new self()) - ->setExperiment($experiment); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $experiment - * Required. The resource name of the campaign experiment to end. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the campaign experiment to end. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getExperiment() - { - return $this->experiment; - } - - /** - * Required. The resource name of the campaign experiment to end. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExperiment($var) - { - GPBUtil::checkString($var, True); - $this->experiment = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ExperimentArmOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ExperimentArmOperation.php deleted file mode 100644 index 3199a0bc1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ExperimentArmOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.ExperimentArmOperation - */ -class ExperimentArmOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\ExperimentArm $create - * Create operation - * @type \Google\Ads\GoogleAds\V15\Resources\ExperimentArm $update - * Update operation: The experiment arm is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: The experiment arm is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/experiments/{campaign_experiment_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentArmService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\ExperimentArm|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\ExperimentArm $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExperimentArm::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The experiment arm is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ExperimentArm|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The experiment arm is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ExperimentArm $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExperimentArm::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: The experiment arm is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/experiments/{campaign_experiment_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: The experiment arm is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/experiments/{campaign_experiment_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceClient.php deleted file mode 100644 index 27cdd9166..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ExperimentArmService/MutateExperimentArms', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateExperimentArmsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ExperimentOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ExperimentOperation.php deleted file mode 100644 index c5c3c04d5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ExperimentOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.ExperimentOperation - */ -class ExperimentOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\Experiment $create - * Create operation - * @type \Google\Ads\GoogleAds\V15\Resources\Experiment $update - * Update operation: The experiment is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: The experiment is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/experiments/{campaign_experiment_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Experiment create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Experiment|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Experiment create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Experiment $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Experiment::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The experiment is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Experiment update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Experiment|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The experiment is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Experiment update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Experiment $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Experiment::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: The experiment is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/experiments/{campaign_experiment_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: The experiment is expected to have a valid - * resource name, in this format: - * `customers/{customer_id}/experiments/{campaign_experiment_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ExperimentServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ExperimentServiceClient.php deleted file mode 100644 index 9d5b65502..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ExperimentServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ExperimentService/MutateExperiments', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateExperimentsResponse', 'decode'], - $metadata, $options); - } - - /** - * Immediately ends an experiment, changing the experiment's scheduled - * end date and without waiting for end of day. End date is updated to be the - * time of the request. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\EndExperimentRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function EndExperiment(\Google\Ads\GoogleAds\V15\Services\EndExperimentRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ExperimentService/EndExperiment', - $argument, - ['\Google\Protobuf\GPBEmpty', 'decode'], - $metadata, $options); - } - - /** - * Returns all errors that occurred during the last Experiment update (either - * scheduling or promotion). - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\ListExperimentAsyncErrorsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function ListExperimentAsyncErrors(\Google\Ads\GoogleAds\V15\Services\ListExperimentAsyncErrorsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ExperimentService/ListExperimentAsyncErrors', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListExperimentAsyncErrorsResponse', 'decode'], - $metadata, $options); - } - - /** - * Graduates an experiment to a full campaign. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\GraduateExperimentRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function GraduateExperiment(\Google\Ads\GoogleAds\V15\Services\GraduateExperimentRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ExperimentService/GraduateExperiment', - $argument, - ['\Google\Protobuf\GPBEmpty', 'decode'], - $metadata, $options); - } - - /** - * Schedule an experiment. The in design campaign - * will be converted into a real campaign (called the experiment campaign) - * that will begin serving ads if successfully created. - * - * The experiment is scheduled immediately with status INITIALIZING. - * This method returns a long running operation that tracks the forking of the - * in design campaign. If the forking fails, a list of errors can be retrieved - * using the ListExperimentAsyncErrors method. The operation's - * metadata will be a string containing the resource name of the created - * experiment. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [DatabaseError]() - * [DateError]() - * [DateRangeError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\ScheduleExperimentRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function ScheduleExperiment(\Google\Ads\GoogleAds\V15\Services\ScheduleExperimentRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ExperimentService/ScheduleExperiment', - $argument, - ['\Google\LongRunning\Operation', 'decode'], - $metadata, $options); - } - - /** - * Promotes the trial campaign thus applying changes in the trial campaign - * to the base campaign. - * This method returns a long running operation that tracks the promotion of - * the experiment campaign. If it fails, a list of errors can be retrieved - * using the ListExperimentAsyncErrors method. The operation's - * metadata will be a string containing the resource name of the created - * experiment. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\PromoteExperimentRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function PromoteExperiment(\Google\Ads\GoogleAds\V15\Services\PromoteExperimentRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ExperimentService/PromoteExperiment', - $argument, - ['\Google\LongRunning\Operation', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemOperation.php b/src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemOperation.php deleted file mode 100644 index 9c1c861db..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemOperation.php +++ /dev/null @@ -1,197 +0,0 @@ -google.ads.googleads.v15.services.ExtensionFeedItemOperation - */ -class ExtensionFeedItemOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem $create - * Create operation: No resource name is expected for the new extension - * feed item. - * @type \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem $update - * Update operation: The extension feed item is expected to have a - * valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed extension feed item - * is expected, in this format: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new extension - * feed item. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new extension - * feed item. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The extension feed item is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The extension feed item is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed extension feed item - * is expected, in this format: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed extension feed item - * is expected, in this format: - * `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceClient.php deleted file mode 100644 index b42d02d86..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ExtensionFeedItemService/MutateExtensionFeedItems', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ExternalAttributionData.php b/src/Google/Ads/GoogleAds/V15/Services/ExternalAttributionData.php deleted file mode 100644 index a4f17e078..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ExternalAttributionData.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.services.ExternalAttributionData - */ -class ExternalAttributionData extends \Google\Protobuf\Internal\Message -{ - /** - * Represents the fraction of the conversion that is attributed to the - * Google Ads click. - * - * Generated from protobuf field optional double external_attribution_credit = 3; - */ - protected $external_attribution_credit = null; - /** - * Specifies the attribution model name. - * - * Generated from protobuf field optional string external_attribution_model = 4; - */ - protected $external_attribution_model = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $external_attribution_credit - * Represents the fraction of the conversion that is attributed to the - * Google Ads click. - * @type string $external_attribution_model - * Specifies the attribution model name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Represents the fraction of the conversion that is attributed to the - * Google Ads click. - * - * Generated from protobuf field optional double external_attribution_credit = 3; - * @return float - */ - public function getExternalAttributionCredit() - { - return isset($this->external_attribution_credit) ? $this->external_attribution_credit : 0.0; - } - - public function hasExternalAttributionCredit() - { - return isset($this->external_attribution_credit); - } - - public function clearExternalAttributionCredit() - { - unset($this->external_attribution_credit); - } - - /** - * Represents the fraction of the conversion that is attributed to the - * Google Ads click. - * - * Generated from protobuf field optional double external_attribution_credit = 3; - * @param float $var - * @return $this - */ - public function setExternalAttributionCredit($var) - { - GPBUtil::checkDouble($var); - $this->external_attribution_credit = $var; - - return $this; - } - - /** - * Specifies the attribution model name. - * - * Generated from protobuf field optional string external_attribution_model = 4; - * @return string - */ - public function getExternalAttributionModel() - { - return isset($this->external_attribution_model) ? $this->external_attribution_model : ''; - } - - public function hasExternalAttributionModel() - { - return isset($this->external_attribution_model); - } - - public function clearExternalAttributionModel() - { - unset($this->external_attribution_model); - } - - /** - * Specifies the attribution model name. - * - * Generated from protobuf field optional string external_attribution_model = 4; - * @param string $var - * @return $this - */ - public function setExternalAttributionModel($var) - { - GPBUtil::checkString($var, True); - $this->external_attribution_model = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedItemOperation.php b/src/Google/Ads/GoogleAds/V15/Services/FeedItemOperation.php deleted file mode 100644 index 5a7d59499..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedItemOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.FeedItemOperation - */ -class FeedItemOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItem $create - * Create operation: No resource name is expected for the new feed item. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItem $update - * Update operation: The feed item is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed feed item is - * expected, in this format: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new feed item. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItem|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new feed item. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItem $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItem::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The feed item is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItem|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The feed item is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItem $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItem::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed feed item is - * expected, in this format: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed feed item is - * expected, in this format: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedItemServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/FeedItemServiceClient.php deleted file mode 100644 index 7209506ec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedItemServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.FeedItemService/MutateFeedItems', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateFeedItemsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkOperation.php b/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkOperation.php deleted file mode 100644 index e432431ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.FeedItemSetLinkOperation - */ -class FeedItemSetLinkOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink $create - * Create operation: No resource name is expected for the - * new feed item set link. - * @type string $remove - * Remove operation: A resource name for the removed feed item set link is - * expected, in this format: - * `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the - * new feed item set link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSetLink create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the - * new feed item set link. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSetLink create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed feed item set link is - * expected, in this format: - * `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed feed item set link is - * expected, in this format: - * `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceClient.php deleted file mode 100644 index 0033b2ebe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.FeedItemSetLinkService/MutateFeedItemSetLinks', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinksResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetOperation.php deleted file mode 100644 index e48cca3bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.FeedItemSetOperation - */ -class FeedItemSetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItemSet $create - * Create operation: No resource name is expected for the new feed item set - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItemSet $update - * Update operation: The feed item set is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed feed item is - * expected, in this format: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemSetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new feed item set - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSet create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItemSet|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new feed item set - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSet create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItemSet $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItemSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The feed item set is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSet update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItemSet|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The feed item set is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSet update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItemSet $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItemSet::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed feed item is - * expected, in this format: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed feed item is - * expected, in this format: - * `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceClient.php deleted file mode 100644 index 567c91245..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.FeedItemSetService/MutateFeedItemSets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetOperation.php deleted file mode 100644 index fd66aaa54..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.FeedItemTargetOperation - */ -class FeedItemTargetOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget $create - * Create operation: No resource name is expected for the new feed item - * target. - * @type string $remove - * Remove operation: A resource name for the removed feed item target is - * expected, in this format: - * `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemTargetService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new feed item - * target. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemTarget create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new feed item - * target. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemTarget create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed feed item target is - * expected, in this format: - * `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove operation: A resource name for the removed feed item target is - * expected, in this format: - * `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - * - * Generated from protobuf field string remove = 2 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceClient.php deleted file mode 100644 index 81d7174ac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.FeedItemTargetService/MutateFeedItemTargets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedMappingOperation.php b/src/Google/Ads/GoogleAds/V15/Services/FeedMappingOperation.php deleted file mode 100644 index f39a93b42..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedMappingOperation.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.services.FeedMappingOperation - */ -class FeedMappingOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\FeedMapping $create - * Create operation: No resource name is expected for the new feed mapping. - * @type string $remove - * Remove operation: A resource name for the removed feed mapping is - * expected, in this format: - * `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedMappingService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new feed mapping. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedMapping create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedMapping|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new feed mapping. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedMapping create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedMapping $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedMapping::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed feed mapping is - * expected, in this format: - * `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed feed mapping is - * expected, in this format: - * `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceClient.php deleted file mode 100644 index c5a682904..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.FeedMappingService/MutateFeedMappings', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateFeedMappingsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedOperation.php b/src/Google/Ads/GoogleAds/V15/Services/FeedOperation.php deleted file mode 100644 index 946ce802b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.FeedOperation - */ -class FeedOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\Feed $create - * Create operation: No resource name is expected for the new feed. - * @type \Google\Ads\GoogleAds\V15\Resources\Feed $update - * Update operation: The feed is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed feed is - * expected, in this format: - * `customers/{customer_id}/feeds/{feed_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new feed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Feed|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new feed. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Feed $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Feed::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The feed is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Feed|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The feed is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Feed $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Feed::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed feed is - * expected, in this format: - * `customers/{customer_id}/feeds/{feed_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed feed is - * expected, in this format: - * `customers/{customer_id}/feeds/{feed_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/FeedServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/FeedServiceClient.php deleted file mode 100644 index 4eb90000d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FeedServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.FeedService/MutateFeeds', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateFeedsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Forecast.php b/src/Google/Ads/GoogleAds/V15/Services/Forecast.php deleted file mode 100644 index 41df72308..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Forecast.php +++ /dev/null @@ -1,623 +0,0 @@ -google.ads.googleads.v15.services.Forecast - */ -class Forecast extends \Google\Protobuf\Internal\Message -{ - /** - * Number of unique people reached at least - * GenerateReachForecastRequest.min_effective_frequency or - * GenerateReachForecastRequest.effective_frequency_limit times that exactly - * matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field optional int64 on_target_reach = 5; - */ - protected $on_target_reach = null; - /** - * Total number of unique people reached at least - * GenerateReachForecastRequest.min_effective_frequency or - * GenerateReachForecastRequest.effective_frequency_limit times. This includes - * people that may fall outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field optional int64 total_reach = 6; - */ - protected $total_reach = null; - /** - * Number of ad impressions that exactly matches the Targeting. - * - * Generated from protobuf field optional int64 on_target_impressions = 7; - */ - protected $on_target_impressions = null; - /** - * Total number of ad impressions. This includes impressions that may fall - * outside the specified Targeting, due to insufficient information on - * signed-in users. - * - * Generated from protobuf field optional int64 total_impressions = 8; - */ - protected $total_impressions = null; - /** - * Number of times the ad's impressions were considered viewable. - * See https://support.google.com/google-ads/answer/7029393 for - * more information about what makes an ad viewable and how - * viewability is measured. - * - * Generated from protobuf field optional int64 viewable_impressions = 9; - */ - protected $viewable_impressions = null; - /** - * A list of effective frequency forecasts. The list is ordered starting with - * 1+ and ending with the value set in - * GenerateReachForecastRequest.effective_frequency_limit. If no - * effective_frequency_limit was set, this list will be empty. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.EffectiveFrequencyBreakdown effective_frequency_breakdowns = 10; - */ - private $effective_frequency_breakdowns; - /** - * Number of unique people reached that exactly matches the Targeting - * including co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_reach = 11; - */ - protected $on_target_coview_reach = null; - /** - * Number of unique people reached including co-viewers. This includes - * people that may fall outside the specified Targeting. - * - * Generated from protobuf field optional int64 total_coview_reach = 12; - */ - protected $total_coview_reach = null; - /** - * Number of ad impressions that exactly matches the Targeting including - * co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_impressions = 13; - */ - protected $on_target_coview_impressions = null; - /** - * Total number of ad impressions including co-viewers. This includes - * impressions that may fall outside the specified Targeting, due to - * insufficient information on signed-in users. - * - * Generated from protobuf field optional int64 total_coview_impressions = 14; - */ - protected $total_coview_impressions = null; - /** - * Number of ad views forecasted for the specified product and targeting. - * A view is counted when a viewer views a larger portion or the entirety of - * an ad beyond an impression. - * See https://support.google.com/google-ads/answer/2375431 for - * more information on views. - * - * Generated from protobuf field optional int64 views = 15; - */ - protected $views = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $on_target_reach - * Number of unique people reached at least - * GenerateReachForecastRequest.min_effective_frequency or - * GenerateReachForecastRequest.effective_frequency_limit times that exactly - * matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * @type int|string $total_reach - * Total number of unique people reached at least - * GenerateReachForecastRequest.min_effective_frequency or - * GenerateReachForecastRequest.effective_frequency_limit times. This includes - * people that may fall outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * @type int|string $on_target_impressions - * Number of ad impressions that exactly matches the Targeting. - * @type int|string $total_impressions - * Total number of ad impressions. This includes impressions that may fall - * outside the specified Targeting, due to insufficient information on - * signed-in users. - * @type int|string $viewable_impressions - * Number of times the ad's impressions were considered viewable. - * See https://support.google.com/google-ads/answer/7029393 for - * more information about what makes an ad viewable and how - * viewability is measured. - * @type array<\Google\Ads\GoogleAds\V15\Services\EffectiveFrequencyBreakdown>|\Google\Protobuf\Internal\RepeatedField $effective_frequency_breakdowns - * A list of effective frequency forecasts. The list is ordered starting with - * 1+ and ending with the value set in - * GenerateReachForecastRequest.effective_frequency_limit. If no - * effective_frequency_limit was set, this list will be empty. - * @type int|string $on_target_coview_reach - * Number of unique people reached that exactly matches the Targeting - * including co-viewers. - * @type int|string $total_coview_reach - * Number of unique people reached including co-viewers. This includes - * people that may fall outside the specified Targeting. - * @type int|string $on_target_coview_impressions - * Number of ad impressions that exactly matches the Targeting including - * co-viewers. - * @type int|string $total_coview_impressions - * Total number of ad impressions including co-viewers. This includes - * impressions that may fall outside the specified Targeting, due to - * insufficient information on signed-in users. - * @type int|string $views - * Number of ad views forecasted for the specified product and targeting. - * A view is counted when a viewer views a larger portion or the entirety of - * an ad beyond an impression. - * See https://support.google.com/google-ads/answer/2375431 for - * more information on views. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Number of unique people reached at least - * GenerateReachForecastRequest.min_effective_frequency or - * GenerateReachForecastRequest.effective_frequency_limit times that exactly - * matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field optional int64 on_target_reach = 5; - * @return int|string - */ - public function getOnTargetReach() - { - return isset($this->on_target_reach) ? $this->on_target_reach : 0; - } - - public function hasOnTargetReach() - { - return isset($this->on_target_reach); - } - - public function clearOnTargetReach() - { - unset($this->on_target_reach); - } - - /** - * Number of unique people reached at least - * GenerateReachForecastRequest.min_effective_frequency or - * GenerateReachForecastRequest.effective_frequency_limit times that exactly - * matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field optional int64 on_target_reach = 5; - * @param int|string $var - * @return $this - */ - public function setOnTargetReach($var) - { - GPBUtil::checkInt64($var); - $this->on_target_reach = $var; - - return $this; - } - - /** - * Total number of unique people reached at least - * GenerateReachForecastRequest.min_effective_frequency or - * GenerateReachForecastRequest.effective_frequency_limit times. This includes - * people that may fall outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field optional int64 total_reach = 6; - * @return int|string - */ - public function getTotalReach() - { - return isset($this->total_reach) ? $this->total_reach : 0; - } - - public function hasTotalReach() - { - return isset($this->total_reach); - } - - public function clearTotalReach() - { - unset($this->total_reach); - } - - /** - * Total number of unique people reached at least - * GenerateReachForecastRequest.min_effective_frequency or - * GenerateReachForecastRequest.effective_frequency_limit times. This includes - * people that may fall outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field optional int64 total_reach = 6; - * @param int|string $var - * @return $this - */ - public function setTotalReach($var) - { - GPBUtil::checkInt64($var); - $this->total_reach = $var; - - return $this; - } - - /** - * Number of ad impressions that exactly matches the Targeting. - * - * Generated from protobuf field optional int64 on_target_impressions = 7; - * @return int|string - */ - public function getOnTargetImpressions() - { - return isset($this->on_target_impressions) ? $this->on_target_impressions : 0; - } - - public function hasOnTargetImpressions() - { - return isset($this->on_target_impressions); - } - - public function clearOnTargetImpressions() - { - unset($this->on_target_impressions); - } - - /** - * Number of ad impressions that exactly matches the Targeting. - * - * Generated from protobuf field optional int64 on_target_impressions = 7; - * @param int|string $var - * @return $this - */ - public function setOnTargetImpressions($var) - { - GPBUtil::checkInt64($var); - $this->on_target_impressions = $var; - - return $this; - } - - /** - * Total number of ad impressions. This includes impressions that may fall - * outside the specified Targeting, due to insufficient information on - * signed-in users. - * - * Generated from protobuf field optional int64 total_impressions = 8; - * @return int|string - */ - public function getTotalImpressions() - { - return isset($this->total_impressions) ? $this->total_impressions : 0; - } - - public function hasTotalImpressions() - { - return isset($this->total_impressions); - } - - public function clearTotalImpressions() - { - unset($this->total_impressions); - } - - /** - * Total number of ad impressions. This includes impressions that may fall - * outside the specified Targeting, due to insufficient information on - * signed-in users. - * - * Generated from protobuf field optional int64 total_impressions = 8; - * @param int|string $var - * @return $this - */ - public function setTotalImpressions($var) - { - GPBUtil::checkInt64($var); - $this->total_impressions = $var; - - return $this; - } - - /** - * Number of times the ad's impressions were considered viewable. - * See https://support.google.com/google-ads/answer/7029393 for - * more information about what makes an ad viewable and how - * viewability is measured. - * - * Generated from protobuf field optional int64 viewable_impressions = 9; - * @return int|string - */ - public function getViewableImpressions() - { - return isset($this->viewable_impressions) ? $this->viewable_impressions : 0; - } - - public function hasViewableImpressions() - { - return isset($this->viewable_impressions); - } - - public function clearViewableImpressions() - { - unset($this->viewable_impressions); - } - - /** - * Number of times the ad's impressions were considered viewable. - * See https://support.google.com/google-ads/answer/7029393 for - * more information about what makes an ad viewable and how - * viewability is measured. - * - * Generated from protobuf field optional int64 viewable_impressions = 9; - * @param int|string $var - * @return $this - */ - public function setViewableImpressions($var) - { - GPBUtil::checkInt64($var); - $this->viewable_impressions = $var; - - return $this; - } - - /** - * A list of effective frequency forecasts. The list is ordered starting with - * 1+ and ending with the value set in - * GenerateReachForecastRequest.effective_frequency_limit. If no - * effective_frequency_limit was set, this list will be empty. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.EffectiveFrequencyBreakdown effective_frequency_breakdowns = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEffectiveFrequencyBreakdowns() - { - return $this->effective_frequency_breakdowns; - } - - /** - * A list of effective frequency forecasts. The list is ordered starting with - * 1+ and ending with the value set in - * GenerateReachForecastRequest.effective_frequency_limit. If no - * effective_frequency_limit was set, this list will be empty. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.EffectiveFrequencyBreakdown effective_frequency_breakdowns = 10; - * @param array<\Google\Ads\GoogleAds\V15\Services\EffectiveFrequencyBreakdown>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEffectiveFrequencyBreakdowns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\EffectiveFrequencyBreakdown::class); - $this->effective_frequency_breakdowns = $arr; - - return $this; - } - - /** - * Number of unique people reached that exactly matches the Targeting - * including co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_reach = 11; - * @return int|string - */ - public function getOnTargetCoviewReach() - { - return isset($this->on_target_coview_reach) ? $this->on_target_coview_reach : 0; - } - - public function hasOnTargetCoviewReach() - { - return isset($this->on_target_coview_reach); - } - - public function clearOnTargetCoviewReach() - { - unset($this->on_target_coview_reach); - } - - /** - * Number of unique people reached that exactly matches the Targeting - * including co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_reach = 11; - * @param int|string $var - * @return $this - */ - public function setOnTargetCoviewReach($var) - { - GPBUtil::checkInt64($var); - $this->on_target_coview_reach = $var; - - return $this; - } - - /** - * Number of unique people reached including co-viewers. This includes - * people that may fall outside the specified Targeting. - * - * Generated from protobuf field optional int64 total_coview_reach = 12; - * @return int|string - */ - public function getTotalCoviewReach() - { - return isset($this->total_coview_reach) ? $this->total_coview_reach : 0; - } - - public function hasTotalCoviewReach() - { - return isset($this->total_coview_reach); - } - - public function clearTotalCoviewReach() - { - unset($this->total_coview_reach); - } - - /** - * Number of unique people reached including co-viewers. This includes - * people that may fall outside the specified Targeting. - * - * Generated from protobuf field optional int64 total_coview_reach = 12; - * @param int|string $var - * @return $this - */ - public function setTotalCoviewReach($var) - { - GPBUtil::checkInt64($var); - $this->total_coview_reach = $var; - - return $this; - } - - /** - * Number of ad impressions that exactly matches the Targeting including - * co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_impressions = 13; - * @return int|string - */ - public function getOnTargetCoviewImpressions() - { - return isset($this->on_target_coview_impressions) ? $this->on_target_coview_impressions : 0; - } - - public function hasOnTargetCoviewImpressions() - { - return isset($this->on_target_coview_impressions); - } - - public function clearOnTargetCoviewImpressions() - { - unset($this->on_target_coview_impressions); - } - - /** - * Number of ad impressions that exactly matches the Targeting including - * co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_impressions = 13; - * @param int|string $var - * @return $this - */ - public function setOnTargetCoviewImpressions($var) - { - GPBUtil::checkInt64($var); - $this->on_target_coview_impressions = $var; - - return $this; - } - - /** - * Total number of ad impressions including co-viewers. This includes - * impressions that may fall outside the specified Targeting, due to - * insufficient information on signed-in users. - * - * Generated from protobuf field optional int64 total_coview_impressions = 14; - * @return int|string - */ - public function getTotalCoviewImpressions() - { - return isset($this->total_coview_impressions) ? $this->total_coview_impressions : 0; - } - - public function hasTotalCoviewImpressions() - { - return isset($this->total_coview_impressions); - } - - public function clearTotalCoviewImpressions() - { - unset($this->total_coview_impressions); - } - - /** - * Total number of ad impressions including co-viewers. This includes - * impressions that may fall outside the specified Targeting, due to - * insufficient information on signed-in users. - * - * Generated from protobuf field optional int64 total_coview_impressions = 14; - * @param int|string $var - * @return $this - */ - public function setTotalCoviewImpressions($var) - { - GPBUtil::checkInt64($var); - $this->total_coview_impressions = $var; - - return $this; - } - - /** - * Number of ad views forecasted for the specified product and targeting. - * A view is counted when a viewer views a larger portion or the entirety of - * an ad beyond an impression. - * See https://support.google.com/google-ads/answer/2375431 for - * more information on views. - * - * Generated from protobuf field optional int64 views = 15; - * @return int|string - */ - public function getViews() - { - return isset($this->views) ? $this->views : 0; - } - - public function hasViews() - { - return isset($this->views); - } - - public function clearViews() - { - unset($this->views); - } - - /** - * Number of ad views forecasted for the specified product and targeting. - * A view is counted when a viewer views a larger portion or the entirety of - * an ad beyond an impression. - * See https://support.google.com/google-ads/answer/2375431 for - * more information on views. - * - * Generated from protobuf field optional int64 views = 15; - * @param int|string $var - * @return $this - */ - public function setViews($var) - { - GPBUtil::checkInt64($var); - $this->views = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ForecastAdGroup.php b/src/Google/Ads/GoogleAds/V15/Services/ForecastAdGroup.php deleted file mode 100644 index 681abfbaf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ForecastAdGroup.php +++ /dev/null @@ -1,161 +0,0 @@ -google.ads.googleads.v15.services.ForecastAdGroup - */ -class ForecastAdGroup extends \Google\Protobuf\Internal\Message -{ - /** - * The max cpc to use for the ad group when generating forecasted traffic. - * This value will override the max cpc value set in the bidding strategy. - * Only specify this field for bidding strategies that max cpc values. - * - * Generated from protobuf field optional int64 max_cpc_bid_micros = 1; - */ - protected $max_cpc_bid_micros = null; - /** - * Required. The list of biddable keywords to be used in the ad group when - * doing the forecast. Requires at least one keyword. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $biddable_keywords; - /** - * The details of the keyword. You should specify both the keyword text and - * match type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 3; - */ - private $negative_keywords; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $max_cpc_bid_micros - * The max cpc to use for the ad group when generating forecasted traffic. - * This value will override the max cpc value set in the bidding strategy. - * Only specify this field for bidding strategies that max cpc values. - * @type array<\Google\Ads\GoogleAds\V15\Services\BiddableKeyword>|\Google\Protobuf\Internal\RepeatedField $biddable_keywords - * Required. The list of biddable keywords to be used in the ad group when - * doing the forecast. Requires at least one keyword. - * @type array<\Google\Ads\GoogleAds\V15\Common\KeywordInfo>|\Google\Protobuf\Internal\RepeatedField $negative_keywords - * The details of the keyword. You should specify both the keyword text and - * match type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The max cpc to use for the ad group when generating forecasted traffic. - * This value will override the max cpc value set in the bidding strategy. - * Only specify this field for bidding strategies that max cpc values. - * - * Generated from protobuf field optional int64 max_cpc_bid_micros = 1; - * @return int|string - */ - public function getMaxCpcBidMicros() - { - return isset($this->max_cpc_bid_micros) ? $this->max_cpc_bid_micros : 0; - } - - public function hasMaxCpcBidMicros() - { - return isset($this->max_cpc_bid_micros); - } - - public function clearMaxCpcBidMicros() - { - unset($this->max_cpc_bid_micros); - } - - /** - * The max cpc to use for the ad group when generating forecasted traffic. - * This value will override the max cpc value set in the bidding strategy. - * Only specify this field for bidding strategies that max cpc values. - * - * Generated from protobuf field optional int64 max_cpc_bid_micros = 1; - * @param int|string $var - * @return $this - */ - public function setMaxCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->max_cpc_bid_micros = $var; - - return $this; - } - - /** - * Required. The list of biddable keywords to be used in the ad group when - * doing the forecast. Requires at least one keyword. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBiddableKeywords() - { - return $this->biddable_keywords; - } - - /** - * Required. The list of biddable keywords to be used in the ad group when - * doing the forecast. Requires at least one keyword. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddableKeyword biddable_keywords = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\BiddableKeyword>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBiddableKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\BiddableKeyword::class); - $this->biddable_keywords = $arr; - - return $this; - } - - /** - * The details of the keyword. You should specify both the keyword text and - * match type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNegativeKeywords() - { - return $this->negative_keywords; - } - - /** - * The details of the keyword. You should specify both the keyword text and - * match type. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordInfo negative_keywords = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\KeywordInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNegativeKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\KeywordInfo::class); - $this->negative_keywords = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ForecastMetricOptions.php b/src/Google/Ads/GoogleAds/V15/Services/ForecastMetricOptions.php deleted file mode 100644 index e432796fa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ForecastMetricOptions.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.ForecastMetricOptions - */ -class ForecastMetricOptions extends \Google\Protobuf\Internal\Message -{ - /** - * Indicates whether to include co-view metrics in the response forecast. - * - * Generated from protobuf field bool include_coview = 1; - */ - protected $include_coview = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $include_coview - * Indicates whether to include co-view metrics in the response forecast. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Indicates whether to include co-view metrics in the response forecast. - * - * Generated from protobuf field bool include_coview = 1; - * @return bool - */ - public function getIncludeCoview() - { - return $this->include_coview; - } - - /** - * Indicates whether to include co-view metrics in the response forecast. - * - * Generated from protobuf field bool include_coview = 1; - * @param bool $var - * @return $this - */ - public function setIncludeCoview($var) - { - GPBUtil::checkBool($var); - $this->include_coview = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/FrequencyCap.php b/src/Google/Ads/GoogleAds/V15/Services/FrequencyCap.php deleted file mode 100644 index 158c8097a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/FrequencyCap.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.services.FrequencyCap - */ -class FrequencyCap extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The number of impressions, inclusive. - * - * Generated from protobuf field int32 impressions = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $impressions = 0; - /** - * Required. The type of time unit. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $time_unit = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $impressions - * Required. The number of impressions, inclusive. - * @type int $time_unit - * Required. The type of time unit. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The number of impressions, inclusive. - * - * Generated from protobuf field int32 impressions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getImpressions() - { - return $this->impressions; - } - - /** - * Required. The number of impressions, inclusive. - * - * Generated from protobuf field int32 impressions = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkInt32($var); - $this->impressions = $var; - - return $this; - } - - /** - * Required. The type of time unit. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getTimeUnit() - { - return $this->time_unit; - } - - /** - * Required. The type of time unit. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setTimeUnit($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\FrequencyCapTimeUnitEnum\FrequencyCapTimeUnit::class); - $this->time_unit = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AccountBudgetProposalServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AccountBudgetProposalServiceGapicClient.php deleted file mode 100644 index 13eb02a0c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AccountBudgetProposalServiceGapicClient.php +++ /dev/null @@ -1,381 +0,0 @@ -mutateAccountBudgetProposal($customerId, $operation); - * } finally { - * $accountBudgetProposalServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AccountBudgetProposalServiceClient} to - * use the new surface. - */ -class AccountBudgetProposalServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AccountBudgetProposalService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $accountBudgetNameTemplate; - - private static $accountBudgetProposalNameTemplate; - - private static $billingSetupNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/account_budget_proposal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/account_budget_proposal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/account_budget_proposal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/account_budget_proposal_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAccountBudgetNameTemplate() - { - if (self::$accountBudgetNameTemplate == null) { - self::$accountBudgetNameTemplate = new PathTemplate('customers/{customer_id}/accountBudgets/{account_budget_id}'); - } - - return self::$accountBudgetNameTemplate; - } - - private static function getAccountBudgetProposalNameTemplate() - { - if (self::$accountBudgetProposalNameTemplate == null) { - self::$accountBudgetProposalNameTemplate = new PathTemplate('customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}'); - } - - return self::$accountBudgetProposalNameTemplate; - } - - private static function getBillingSetupNameTemplate() - { - if (self::$billingSetupNameTemplate == null) { - self::$billingSetupNameTemplate = new PathTemplate('customers/{customer_id}/billingSetups/{billing_setup_id}'); - } - - return self::$billingSetupNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'accountBudget' => self::getAccountBudgetNameTemplate(), - 'accountBudgetProposal' => self::getAccountBudgetProposalNameTemplate(), - 'billingSetup' => self::getBillingSetupNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * account_budget resource. - * - * @param string $customerId - * @param string $accountBudgetId - * - * @return string The formatted account_budget resource. - */ - public static function accountBudgetName($customerId, $accountBudgetId) - { - return self::getAccountBudgetNameTemplate()->render([ - 'customer_id' => $customerId, - 'account_budget_id' => $accountBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * account_budget_proposal resource. - * - * @param string $customerId - * @param string $accountBudgetProposalId - * - * @return string The formatted account_budget_proposal resource. - */ - public static function accountBudgetProposalName($customerId, $accountBudgetProposalId) - { - return self::getAccountBudgetProposalNameTemplate()->render([ - 'customer_id' => $customerId, - 'account_budget_proposal_id' => $accountBudgetProposalId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * billing_setup resource. - * - * @param string $customerId - * @param string $billingSetupId - * - * @return string The formatted billing_setup resource. - */ - public static function billingSetupName($customerId, $billingSetupId) - { - return self::getBillingSetupNameTemplate()->render([ - 'customer_id' => $customerId, - 'billing_setup_id' => $billingSetupId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accountBudget: customers/{customer_id}/accountBudgets/{account_budget_id} - * - accountBudgetProposal: customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id} - * - billingSetup: customers/{customer_id}/billingSetups/{billing_setup_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes account budget proposals. Operation statuses - * are returned. - * - * List of thrown errors: - * [AccountBudgetProposalError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [DateError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $accountBudgetProposalServiceClient = new AccountBudgetProposalServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new AccountBudgetProposalOperation(); - * $response = $accountBudgetProposalServiceClient->mutateAccountBudgetProposal($customerId, $operation); - * } finally { - * $accountBudgetProposalServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param AccountBudgetProposalOperation $operation Required. The operation to perform on an individual account-level budget - * proposal. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAccountBudgetProposalResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAccountBudgetProposal($customerId, $operation, array $optionalArgs = []) - { - $request = new MutateAccountBudgetProposalRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAccountBudgetProposal', MutateAccountBudgetProposalResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AccountLinkServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AccountLinkServiceGapicClient.php deleted file mode 100644 index cbe7e174b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AccountLinkServiceGapicClient.php +++ /dev/null @@ -1,405 +0,0 @@ -createAccountLink($customerId, $accountLink); - * } finally { - * $accountLinkServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AccountLinkServiceClient} to use the - * new surface. - */ -class AccountLinkServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AccountLinkService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $accountLinkNameTemplate; - - private static $customerNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/account_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/account_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/account_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/account_link_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAccountLinkNameTemplate() - { - if (self::$accountLinkNameTemplate == null) { - self::$accountLinkNameTemplate = new PathTemplate('customers/{customer_id}/accountLinks/{account_link_id}'); - } - - return self::$accountLinkNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'accountLink' => self::getAccountLinkNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a account_link - * resource. - * - * @param string $customerId - * @param string $accountLinkId - * - * @return string The formatted account_link resource. - */ - public static function accountLinkName($customerId, $accountLinkId) - { - return self::getAccountLinkNameTemplate()->render([ - 'customer_id' => $customerId, - 'account_link_id' => $accountLinkId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accountLink: customers/{customer_id}/accountLinks/{account_link_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates an account link. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * [ThirdPartyAppAnalyticsLinkError]() - * - * Sample code: - * ``` - * $accountLinkServiceClient = new AccountLinkServiceClient(); - * try { - * $customerId = 'customer_id'; - * $accountLink = new AccountLink(); - * $response = $accountLinkServiceClient->createAccountLink($customerId, $accountLink); - * } finally { - * $accountLinkServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer for which the account link is created. - * @param AccountLink $accountLink Required. The account link to be created. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\CreateAccountLinkResponse - * - * @throws ApiException if the remote call fails - */ - public function createAccountLink($customerId, $accountLink, array $optionalArgs = []) - { - $request = new CreateAccountLinkRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setAccountLink($accountLink); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CreateAccountLink', CreateAccountLinkResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Creates or removes an account link. - * From V5, create is not supported through - * AccountLinkService.MutateAccountLink. Use - * AccountLinkService.CreateAccountLink instead. - * - * List of thrown errors: - * [AccountLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $accountLinkServiceClient = new AccountLinkServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new AccountLinkOperation(); - * $response = $accountLinkServiceClient->mutateAccountLink($customerId, $operation); - * } finally { - * $accountLinkServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer being modified. - * @param AccountLinkOperation $operation Required. The operation to perform on the link. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAccountLinkResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAccountLink($customerId, $operation, array $optionalArgs = []) - { - $request = new MutateAccountLinkRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAccountLink', MutateAccountLinkResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAdLabelServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAdLabelServiceGapicClient.php deleted file mode 100644 index 6faace584..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAdLabelServiceGapicClient.php +++ /dev/null @@ -1,384 +0,0 @@ -mutateAdGroupAdLabels($customerId, $operations); - * } finally { - * $adGroupAdLabelServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupAdLabelServiceClient} to use - * the new surface. - */ -class AdGroupAdLabelServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupAdLabelService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupAdNameTemplate; - - private static $adGroupAdLabelNameTemplate; - - private static $labelNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_ad_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_ad_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_ad_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_ad_label_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupAdNameTemplate() - { - if (self::$adGroupAdNameTemplate == null) { - self::$adGroupAdNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}'); - } - - return self::$adGroupAdNameTemplate; - } - - private static function getAdGroupAdLabelNameTemplate() - { - if (self::$adGroupAdLabelNameTemplate == null) { - self::$adGroupAdLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}'); - } - - return self::$adGroupAdLabelNameTemplate; - } - - private static function getLabelNameTemplate() - { - if (self::$labelNameTemplate == null) { - self::$labelNameTemplate = new PathTemplate('customers/{customer_id}/labels/{label_id}'); - } - - return self::$labelNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroupAd' => self::getAdGroupAdNameTemplate(), - 'adGroupAdLabel' => self::getAdGroupAdLabelNameTemplate(), - 'label' => self::getLabelNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group_ad - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * - * @return string The formatted ad_group_ad resource. - */ - public static function adGroupAdName($customerId, $adGroupId, $adId) - { - return self::getAdGroupAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_ad_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * @param string $labelId - * - * @return string The formatted ad_group_ad_label resource. - */ - public static function adGroupAdLabelName($customerId, $adGroupId, $adId, $labelId) - { - return self::getAdGroupAdLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName($customerId, $labelId) - { - return self::getLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} - * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates and removes ad group ad labels. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $adGroupAdLabelServiceClient = new AdGroupAdLabelServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupAdLabelServiceClient->mutateAdGroupAdLabels($customerId, $operations); - * } finally { - * $adGroupAdLabelServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose ad group ad labels are being modified. - * @param AdGroupAdLabelOperation[] $operations Required. The list of operations to perform on ad group ad labels. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupAdLabels($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupAdLabelsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupAdLabels', MutateAdGroupAdLabelsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAdServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAdServiceGapicClient.php deleted file mode 100644 index 984bc4fd7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAdServiceGapicClient.php +++ /dev/null @@ -1,453 +0,0 @@ -mutateAdGroupAds($customerId, $operations); - * } finally { - * $adGroupAdServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupAdServiceClient} to use the new - * surface. - */ -class AdGroupAdServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupAdService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adNameTemplate; - - private static $adGroupNameTemplate; - - private static $adGroupAdNameTemplate; - - private static $adGroupAdLabelNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_ad_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_ad_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_ad_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_ad_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdNameTemplate() - { - if (self::$adNameTemplate == null) { - self::$adNameTemplate = new PathTemplate('customers/{customer_id}/ads/{ad_id}'); - } - - return self::$adNameTemplate; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupAdNameTemplate() - { - if (self::$adGroupAdNameTemplate == null) { - self::$adGroupAdNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}'); - } - - return self::$adGroupAdNameTemplate; - } - - private static function getAdGroupAdLabelNameTemplate() - { - if (self::$adGroupAdLabelNameTemplate == null) { - self::$adGroupAdLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}'); - } - - return self::$adGroupAdLabelNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'ad' => self::getAdNameTemplate(), - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupAd' => self::getAdGroupAdNameTemplate(), - 'adGroupAdLabel' => self::getAdGroupAdLabelNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName($customerId, $adId) - { - return self::getAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group_ad - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * - * @return string The formatted ad_group_ad resource. - */ - public static function adGroupAdName($customerId, $adGroupId, $adId) - { - return self::getAdGroupAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_ad_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * @param string $labelId - * - * @return string The formatted ad_group_ad_label resource. - */ - public static function adGroupAdLabelName($customerId, $adGroupId, $adId, $labelId) - { - return self::getAdGroupAdLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - ad: customers/{customer_id}/ads/{ad_id} - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} - * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes ads. Operation statuses are returned. - * - * List of thrown errors: - * [AdCustomizerError]() - * [AdError]() - * [AdGroupAdError]() - * [AdSharingError]() - * [AdxError]() - * [AssetError]() - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [ContextError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FeedAttributeReferenceError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [ImageError]() - * [InternalError]() - * [ListOperationError]() - * [MediaBundleError]() - * [MediaFileError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [PolicyFindingError]() - * [PolicyValidationParameterError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $adGroupAdServiceClient = new AdGroupAdServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupAdServiceClient->mutateAdGroupAds($customerId, $operations); - * } finally { - * $adGroupAdServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ads are being modified. - * @param AdGroupAdOperation[] $operations Required. The list of operations to perform on individual ads. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupAds($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupAdsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupAds', MutateAdGroupAdsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAssetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAssetServiceGapicClient.php deleted file mode 100644 index 8987926b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAssetServiceGapicClient.php +++ /dev/null @@ -1,391 +0,0 @@ -mutateAdGroupAssets($customerId, $operations); - * } finally { - * $adGroupAssetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupAssetServiceClient} to use the - * new surface. - */ -class AdGroupAssetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupAssetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupAssetNameTemplate; - - private static $assetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_asset_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupAssetNameTemplate() - { - if (self::$adGroupAssetNameTemplate == null) { - self::$adGroupAssetNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}'); - } - - return self::$adGroupAssetNameTemplate; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupAsset' => self::getAdGroupAssetNameTemplate(), - 'asset' => self::getAssetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_asset resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted ad_group_asset resource. - */ - public static function adGroupAssetName($customerId, $adGroupId, $assetId, $fieldType) - { - return self::getAdGroupAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAsset: customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type} - * - asset: customers/{customer_id}/assets/{asset_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes ad group assets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NotAllowlistedError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $adGroupAssetServiceClient = new AdGroupAssetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupAssetServiceClient->mutateAdGroupAssets($customerId, $operations); - * } finally { - * $adGroupAssetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ad group assets are being modified. - * @param AdGroupAssetOperation[] $operations Required. The list of operations to perform on individual ad group assets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupAssets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupAssetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupAssets', MutateAdGroupAssetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAssetSetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAssetSetServiceGapicClient.php deleted file mode 100644 index 05818df80..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupAssetSetServiceGapicClient.php +++ /dev/null @@ -1,378 +0,0 @@ -mutateAdGroupAssetSets($customerId, $operations); - * } finally { - * $adGroupAssetSetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupAssetSetServiceClient} to use - * the new surface. - */ -class AdGroupAssetSetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupAssetSetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupAssetSetNameTemplate; - - private static $assetSetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_asset_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_asset_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_asset_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_asset_set_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupAssetSetNameTemplate() - { - if (self::$adGroupAssetSetNameTemplate == null) { - self::$adGroupAssetSetNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}'); - } - - return self::$adGroupAssetSetNameTemplate; - } - - private static function getAssetSetNameTemplate() - { - if (self::$assetSetNameTemplate == null) { - self::$assetSetNameTemplate = new PathTemplate('customers/{customer_id}/assetSets/{asset_set_id}'); - } - - return self::$assetSetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupAssetSet' => self::getAdGroupAssetSetNameTemplate(), - 'assetSet' => self::getAssetSetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_asset_set resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $assetSetId - * - * @return string The formatted ad_group_asset_set resource. - */ - public static function adGroupAssetSetName($customerId, $adGroupId, $assetSetId) - { - return self::getAdGroupAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName($customerId, $assetSetId) - { - return self::getAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAssetSet: customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, or removes ad group asset sets. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $adGroupAssetSetServiceClient = new AdGroupAssetSetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupAssetSetServiceClient->mutateAdGroupAssetSets($customerId, $operations); - * } finally { - * $adGroupAssetSetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ad group asset sets are being - * modified. - * @param AdGroupAssetSetOperation[] $operations Required. The list of operations to perform on individual ad group asset - * sets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetSetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupAssetSets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupAssetSetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupAssetSets', MutateAdGroupAssetSetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupBidModifierServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupBidModifierServiceGapicClient.php deleted file mode 100644 index dad7783cf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupBidModifierServiceGapicClient.php +++ /dev/null @@ -1,373 +0,0 @@ -mutateAdGroupBidModifiers($customerId, $operations); - * } finally { - * $adGroupBidModifierServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupBidModifierServiceClient} to - * use the new surface. - */ -class AdGroupBidModifierServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupBidModifierService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupBidModifierNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_bid_modifier_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_bid_modifier_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_bid_modifier_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_bid_modifier_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupBidModifierNameTemplate() - { - if (self::$adGroupBidModifierNameTemplate == null) { - self::$adGroupBidModifierNameTemplate = new PathTemplate('customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupBidModifierNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupBidModifier' => self::getAdGroupBidModifierNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_bid_modifier resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_bid_modifier resource. - */ - public static function adGroupBidModifierName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupBidModifierNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupBidModifier: customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes ad group bid modifiers. - * Operation statuses are returned. - * - * List of thrown errors: - * [AdGroupBidModifierError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [CriterionError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $adGroupBidModifierServiceClient = new AdGroupBidModifierServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupBidModifierServiceClient->mutateAdGroupBidModifiers($customerId, $operations); - * } finally { - * $adGroupBidModifierServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose ad group bid modifiers are being - * modified. - * @param AdGroupBidModifierOperation[] $operations Required. The list of operations to perform on individual ad group bid - * modifiers. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifiersResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupBidModifiers($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupBidModifiersRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupBidModifiers', MutateAdGroupBidModifiersResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionCustomizerServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionCustomizerServiceGapicClient.php deleted file mode 100644 index f8acc8c79..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionCustomizerServiceGapicClient.php +++ /dev/null @@ -1,382 +0,0 @@ -mutateAdGroupCriterionCustomizers($customerId, $operations); - * } finally { - * $adGroupCriterionCustomizerServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupCriterionCustomizerServiceClient} - * to use the new surface. - */ -class AdGroupCriterionCustomizerServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupCriterionCustomizerService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupCriterionNameTemplate; - - private static $adGroupCriterionCustomizerNameTemplate; - - private static $customizerAttributeNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_criterion_customizer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_criterion_customizer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_criterion_customizer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_criterion_customizer_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupCriterionNameTemplate() - { - if (self::$adGroupCriterionNameTemplate == null) { - self::$adGroupCriterionNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupCriterionNameTemplate; - } - - private static function getAdGroupCriterionCustomizerNameTemplate() - { - if (self::$adGroupCriterionCustomizerNameTemplate == null) { - self::$adGroupCriterionCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}'); - } - - return self::$adGroupCriterionCustomizerNameTemplate; - } - - private static function getCustomizerAttributeNameTemplate() - { - if (self::$customizerAttributeNameTemplate == null) { - self::$customizerAttributeNameTemplate = new PathTemplate('customers/{customer_id}/customizerAttributes/{customizer_attribute_id}'); - } - - return self::$customizerAttributeNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroupCriterion' => self::getAdGroupCriterionNameTemplate(), - 'adGroupCriterionCustomizer' => self::getAdGroupCriterionCustomizerNameTemplate(), - 'customizerAttribute' => self::getCustomizerAttributeNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_criterion_customizer resource. - */ - public static function adGroupCriterionCustomizerName($customerId, $adGroupId, $criterionId, $customizerAttributeId) - { - return self::getAdGroupCriterionCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName($customerId, $customizerAttributeId) - { - return self::getCustomizerAttributeNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionCustomizer: customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes ad group criterion customizers. Operation - * statuses are returned. - * - * Sample code: - * ``` - * $adGroupCriterionCustomizerServiceClient = new AdGroupCriterionCustomizerServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupCriterionCustomizerServiceClient->mutateAdGroupCriterionCustomizers($customerId, $operations); - * } finally { - * $adGroupCriterionCustomizerServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ad group criterion customizers are - * being modified. - * @param AdGroupCriterionCustomizerOperation[] $operations Required. The list of operations to perform on individual ad group - * criterion customizers. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizersResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupCriterionCustomizers($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupCriterionCustomizersRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupCriterionCustomizers', MutateAdGroupCriterionCustomizersResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionLabelServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionLabelServiceGapicClient.php deleted file mode 100644 index 2c7d0bab2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionLabelServiceGapicClient.php +++ /dev/null @@ -1,383 +0,0 @@ -mutateAdGroupCriterionLabels($customerId, $operations); - * } finally { - * $adGroupCriterionLabelServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupCriterionLabelServiceClient} to - * use the new surface. - */ -class AdGroupCriterionLabelServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupCriterionLabelService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupCriterionNameTemplate; - - private static $adGroupCriterionLabelNameTemplate; - - private static $labelNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_criterion_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_criterion_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_criterion_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_criterion_label_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupCriterionNameTemplate() - { - if (self::$adGroupCriterionNameTemplate == null) { - self::$adGroupCriterionNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupCriterionNameTemplate; - } - - private static function getAdGroupCriterionLabelNameTemplate() - { - if (self::$adGroupCriterionLabelNameTemplate == null) { - self::$adGroupCriterionLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}'); - } - - return self::$adGroupCriterionLabelNameTemplate; - } - - private static function getLabelNameTemplate() - { - if (self::$labelNameTemplate == null) { - self::$labelNameTemplate = new PathTemplate('customers/{customer_id}/labels/{label_id}'); - } - - return self::$labelNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroupCriterion' => self::getAdGroupCriterionNameTemplate(), - 'adGroupCriterionLabel' => self::getAdGroupCriterionLabelNameTemplate(), - 'label' => self::getLabelNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $labelId - * - * @return string The formatted ad_group_criterion_label resource. - */ - public static function adGroupCriterionLabelName($customerId, $adGroupId, $criterionId, $labelId) - { - return self::getAdGroupCriterionLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName($customerId, $labelId) - { - return self::getLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionLabel: customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates and removes ad group criterion labels. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $adGroupCriterionLabelServiceClient = new AdGroupCriterionLabelServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupCriterionLabelServiceClient->mutateAdGroupCriterionLabels($customerId, $operations); - * } finally { - * $adGroupCriterionLabelServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose ad group criterion labels are being - * modified. - * @param AdGroupCriterionLabelOperation[] $operations Required. The list of operations to perform on ad group criterion labels. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupCriterionLabels($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupCriterionLabelsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupCriterionLabels', MutateAdGroupCriterionLabelsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionServiceGapicClient.php deleted file mode 100644 index f4c1d71de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCriterionServiceGapicClient.php +++ /dev/null @@ -1,500 +0,0 @@ -mutateAdGroupCriteria($customerId, $operations); - * } finally { - * $adGroupCriterionServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupCriterionServiceClient} to use - * the new surface. - */ -class AdGroupCriterionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupCriterionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupCriterionNameTemplate; - - private static $adGroupCriterionLabelNameTemplate; - - private static $combinedAudienceNameTemplate; - - private static $mobileAppCategoryConstantNameTemplate; - - private static $topicConstantNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_criterion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_criterion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_criterion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_criterion_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupCriterionNameTemplate() - { - if (self::$adGroupCriterionNameTemplate == null) { - self::$adGroupCriterionNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupCriterionNameTemplate; - } - - private static function getAdGroupCriterionLabelNameTemplate() - { - if (self::$adGroupCriterionLabelNameTemplate == null) { - self::$adGroupCriterionLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}'); - } - - return self::$adGroupCriterionLabelNameTemplate; - } - - private static function getCombinedAudienceNameTemplate() - { - if (self::$combinedAudienceNameTemplate == null) { - self::$combinedAudienceNameTemplate = new PathTemplate('customers/{customer_id}/combinedAudiences/{combined_audience_id}'); - } - - return self::$combinedAudienceNameTemplate; - } - - private static function getMobileAppCategoryConstantNameTemplate() - { - if (self::$mobileAppCategoryConstantNameTemplate == null) { - self::$mobileAppCategoryConstantNameTemplate = new PathTemplate('mobileAppCategoryConstants/{mobile_app_category_id}'); - } - - return self::$mobileAppCategoryConstantNameTemplate; - } - - private static function getTopicConstantNameTemplate() - { - if (self::$topicConstantNameTemplate == null) { - self::$topicConstantNameTemplate = new PathTemplate('topicConstants/{topic_id}'); - } - - return self::$topicConstantNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupCriterion' => self::getAdGroupCriterionNameTemplate(), - 'adGroupCriterionLabel' => self::getAdGroupCriterionLabelNameTemplate(), - 'combinedAudience' => self::getCombinedAudienceNameTemplate(), - 'mobileAppCategoryConstant' => self::getMobileAppCategoryConstantNameTemplate(), - 'topicConstant' => self::getTopicConstantNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $labelId - * - * @return string The formatted ad_group_criterion_label resource. - */ - public static function adGroupCriterionLabelName($customerId, $adGroupId, $criterionId, $labelId) - { - return self::getAdGroupCriterionLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * combined_audience resource. - * - * @param string $customerId - * @param string $combinedAudienceId - * - * @return string The formatted combined_audience resource. - */ - public static function combinedAudienceName($customerId, $combinedAudienceId) - { - return self::getCombinedAudienceNameTemplate()->render([ - 'customer_id' => $customerId, - 'combined_audience_id' => $combinedAudienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName($mobileAppCategoryId) - { - return self::getMobileAppCategoryConstantNameTemplate()->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * topic_constant resource. - * - * @param string $topicId - * - * @return string The formatted topic_constant resource. - */ - public static function topicConstantName($topicId) - { - return self::getTopicConstantNameTemplate()->render([ - 'topic_id' => $topicId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionLabel: customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id} - * - combinedAudience: customers/{customer_id}/combinedAudiences/{combined_audience_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - topicConstant: topicConstants/{topic_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes criteria. Operation statuses are returned. - * - * List of thrown errors: - * [AdGroupCriterionError]() - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [BiddingStrategyError]() - * [CollectionSizeError]() - * [ContextError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MultiplierError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $adGroupCriterionServiceClient = new AdGroupCriterionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupCriterionServiceClient->mutateAdGroupCriteria($customerId, $operations); - * } finally { - * $adGroupCriterionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose criteria are being modified. - * @param AdGroupCriterionOperation[] $operations Required. The list of operations to perform on individual criteria. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriteriaResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupCriteria($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupCriteriaRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupCriteria', MutateAdGroupCriteriaResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCustomizerServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCustomizerServiceGapicClient.php deleted file mode 100644 index 405eb584b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupCustomizerServiceGapicClient.php +++ /dev/null @@ -1,378 +0,0 @@ -mutateAdGroupCustomizers($customerId, $operations); - * } finally { - * $adGroupCustomizerServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupCustomizerServiceClient} to use - * the new surface. - */ -class AdGroupCustomizerServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupCustomizerService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupCustomizerNameTemplate; - - private static $customizerAttributeNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_customizer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_customizer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_customizer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_customizer_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupCustomizerNameTemplate() - { - if (self::$adGroupCustomizerNameTemplate == null) { - self::$adGroupCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}'); - } - - return self::$adGroupCustomizerNameTemplate; - } - - private static function getCustomizerAttributeNameTemplate() - { - if (self::$customizerAttributeNameTemplate == null) { - self::$customizerAttributeNameTemplate = new PathTemplate('customers/{customer_id}/customizerAttributes/{customizer_attribute_id}'); - } - - return self::$customizerAttributeNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupCustomizer' => self::getAdGroupCustomizerNameTemplate(), - 'customizerAttribute' => self::getCustomizerAttributeNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_customizer resource. - */ - public static function adGroupCustomizerName($customerId, $adGroupId, $customizerAttributeId) - { - return self::getAdGroupCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName($customerId, $customizerAttributeId) - { - return self::getCustomizerAttributeNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupCustomizer: customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes ad group customizers. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $adGroupCustomizerServiceClient = new AdGroupCustomizerServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupCustomizerServiceClient->mutateAdGroupCustomizers($customerId, $operations); - * } finally { - * $adGroupCustomizerServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ad group customizers are being - * modified. - * @param AdGroupCustomizerOperation[] $operations Required. The list of operations to perform on individual ad group - * customizers. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizersResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupCustomizers($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupCustomizersRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupCustomizers', MutateAdGroupCustomizersResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupExtensionSettingServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupExtensionSettingServiceGapicClient.php deleted file mode 100644 index 007ccc9ba..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupExtensionSettingServiceGapicClient.php +++ /dev/null @@ -1,400 +0,0 @@ -mutateAdGroupExtensionSettings($customerId, $operations); - * } finally { - * $adGroupExtensionSettingServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupExtensionSettingServiceClient} - * to use the new surface. - */ -class AdGroupExtensionSettingServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupExtensionSettingService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupExtensionSettingNameTemplate; - - private static $extensionFeedItemNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_extension_setting_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_extension_setting_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_extension_setting_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_extension_setting_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupExtensionSettingNameTemplate() - { - if (self::$adGroupExtensionSettingNameTemplate == null) { - self::$adGroupExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}'); - } - - return self::$adGroupExtensionSettingNameTemplate; - } - - private static function getExtensionFeedItemNameTemplate() - { - if (self::$extensionFeedItemNameTemplate == null) { - self::$extensionFeedItemNameTemplate = new PathTemplate('customers/{customer_id}/extensionFeedItems/{feed_item_id}'); - } - - return self::$extensionFeedItemNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupExtensionSetting' => self::getAdGroupExtensionSettingNameTemplate(), - 'extensionFeedItem' => self::getExtensionFeedItemNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_extension_setting resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $extensionType - * - * @return string The formatted ad_group_extension_setting resource. - */ - public static function adGroupExtensionSettingName($customerId, $adGroupId, $extensionType) - { - return self::getAdGroupExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName($customerId, $feedItemId) - { - return self::getExtensionFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupExtensionSetting: customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes ad group extension settings. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [ExtensionSettingError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $adGroupExtensionSettingServiceClient = new AdGroupExtensionSettingServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupExtensionSettingServiceClient->mutateAdGroupExtensionSettings($customerId, $operations); - * } finally { - * $adGroupExtensionSettingServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ad group extension settings are - * being modified. - * @param AdGroupExtensionSettingOperation[] $operations Required. The list of operations to perform on individual ad group - * extension settings. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupExtensionSettings($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupExtensionSettingsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupExtensionSettings', MutateAdGroupExtensionSettingsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupFeedServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupFeedServiceGapicClient.php deleted file mode 100644 index 3447e3ea0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupFeedServiceGapicClient.php +++ /dev/null @@ -1,400 +0,0 @@ -mutateAdGroupFeeds($customerId, $operations); - * } finally { - * $adGroupFeedServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupFeedServiceClient} to use the - * new surface. - */ -class AdGroupFeedServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupFeedService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupFeedNameTemplate; - - private static $feedNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_feed_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_feed_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_feed_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_feed_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupFeedNameTemplate() - { - if (self::$adGroupFeedNameTemplate == null) { - self::$adGroupFeedNameTemplate = new PathTemplate('customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}'); - } - - return self::$adGroupFeedNameTemplate; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupFeed' => self::getAdGroupFeedNameTemplate(), - 'feed' => self::getFeedNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_feed resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $feedId - * - * @return string The formatted ad_group_feed resource. - */ - public static function adGroupFeedName($customerId, $adGroupId, $feedId) - { - return self::getAdGroupFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupFeed: customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes ad group feeds. Operation statuses are - * returned. - * - * List of thrown errors: - * [AdGroupFeedError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $adGroupFeedServiceClient = new AdGroupFeedServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupFeedServiceClient->mutateAdGroupFeeds($customerId, $operations); - * } finally { - * $adGroupFeedServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ad group feeds are being modified. - * @param AdGroupFeedOperation[] $operations Required. The list of operations to perform on individual ad group feeds. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupFeeds($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupFeedsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupFeeds', MutateAdGroupFeedsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupLabelServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupLabelServiceGapicClient.php deleted file mode 100644 index 25c31ff4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupLabelServiceGapicClient.php +++ /dev/null @@ -1,381 +0,0 @@ -mutateAdGroupLabels($customerId, $operations); - * } finally { - * $adGroupLabelServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupLabelServiceClient} to use the - * new surface. - */ -class AdGroupLabelServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupLabelService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupLabelNameTemplate; - - private static $labelNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_label_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupLabelNameTemplate() - { - if (self::$adGroupLabelNameTemplate == null) { - self::$adGroupLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}'); - } - - return self::$adGroupLabelNameTemplate; - } - - private static function getLabelNameTemplate() - { - if (self::$labelNameTemplate == null) { - self::$labelNameTemplate = new PathTemplate('customers/{customer_id}/labels/{label_id}'); - } - - return self::$labelNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupLabel' => self::getAdGroupLabelNameTemplate(), - 'label' => self::getLabelNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $labelId - * - * @return string The formatted ad_group_label resource. - */ - public static function adGroupLabelName($customerId, $adGroupId, $labelId) - { - return self::getAdGroupLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName($customerId, $labelId) - { - return self::getLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupLabel: customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates and removes ad group labels. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $adGroupLabelServiceClient = new AdGroupLabelServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupLabelServiceClient->mutateAdGroupLabels($customerId, $operations); - * } finally { - * $adGroupLabelServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose ad group labels are being modified. - * @param AdGroupLabelOperation[] $operations Required. The list of operations to perform on ad group labels. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroupLabels($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupLabelsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroupLabels', MutateAdGroupLabelsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupServiceGapicClient.php deleted file mode 100644 index 75955b90d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdGroupServiceGapicClient.php +++ /dev/null @@ -1,408 +0,0 @@ -mutateAdGroups($customerId, $operations); - * } finally { - * $adGroupServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdGroupServiceClient} to use the new - * surface. - */ -class AdGroupServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdGroupService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $adGroupLabelNameTemplate; - - private static $campaignNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_group_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_group_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_group_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_group_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupLabelNameTemplate() - { - if (self::$adGroupLabelNameTemplate == null) { - self::$adGroupLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}'); - } - - return self::$adGroupLabelNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupLabel' => self::getAdGroupLabelNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $labelId - * - * @return string The formatted ad_group_label resource. - */ - public static function adGroupLabelName($customerId, $adGroupId, $labelId) - { - return self::getAdGroupLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupLabel: customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes ad groups. Operation statuses are returned. - * - * List of thrown errors: - * [AdGroupError]() - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [BiddingStrategyError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MultiplierError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SettingError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $adGroupServiceClient = new AdGroupServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adGroupServiceClient->mutateAdGroups($customerId, $operations); - * } finally { - * $adGroupServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ad groups are being modified. - * @param AdGroupOperation[] $operations Required. The list of operations to perform on individual ad groups. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdGroups($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdGroupsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdGroups', MutateAdGroupsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdParameterServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdParameterServiceGapicClient.php deleted file mode 100644 index 21aa34198..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdParameterServiceGapicClient.php +++ /dev/null @@ -1,364 +0,0 @@ -mutateAdParameters($customerId, $operations); - * } finally { - * $adParameterServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdParameterServiceClient} to use the - * new surface. - */ -class AdParameterServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdParameterService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupCriterionNameTemplate; - - private static $adParameterNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_parameter_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_parameter_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_parameter_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_parameter_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupCriterionNameTemplate() - { - if (self::$adGroupCriterionNameTemplate == null) { - self::$adGroupCriterionNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupCriterionNameTemplate; - } - - private static function getAdParameterNameTemplate() - { - if (self::$adParameterNameTemplate == null) { - self::$adParameterNameTemplate = new PathTemplate('customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}'); - } - - return self::$adParameterNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroupCriterion' => self::getAdGroupCriterionNameTemplate(), - 'adParameter' => self::getAdParameterNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_parameter - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $parameterIndex - * - * @return string The formatted ad_parameter resource. - */ - public static function adParameterName($customerId, $adGroupId, $criterionId, $parameterIndex) - { - return self::getAdParameterNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'parameter_index' => $parameterIndex, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adParameter: customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes ad parameters. Operation statuses are - * returned. - * - * List of thrown errors: - * [AdParameterError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $adParameterServiceClient = new AdParameterServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adParameterServiceClient->mutateAdParameters($customerId, $operations); - * } finally { - * $adParameterServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ad parameters are being modified. - * @param AdParameterOperation[] $operations Required. The list of operations to perform on individual ad parameters. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdParametersResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAdParameters($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdParametersRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAdParameters', MutateAdParametersResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdServiceGapicClient.php deleted file mode 100644 index a5eca642b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AdServiceGapicClient.php +++ /dev/null @@ -1,401 +0,0 @@ -adName('[CUSTOMER_ID]', '[AD_ID]'); - * $response = $adServiceClient->getAd($formattedResourceName); - * } finally { - * $adServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AdServiceClient} to use the new - * surface. - */ -class AdServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AdService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/ad_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/ad_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/ad_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/ad_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdNameTemplate() - { - if (self::$adNameTemplate == null) { - self::$adNameTemplate = new PathTemplate('customers/{customer_id}/ads/{ad_id}'); - } - - return self::$adNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'ad' => self::getAdNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName($customerId, $adId) - { - return self::getAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - ad: customers/{customer_id}/ads/{ad_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns the requested ad in full detail. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $adServiceClient = new AdServiceClient(); - * try { - * $formattedResourceName = $adServiceClient->adName('[CUSTOMER_ID]', '[AD_ID]'); - * $response = $adServiceClient->getAd($formattedResourceName); - * } finally { - * $adServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the ad to fetch. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Resources\Ad - * - * @throws ApiException if the remote call fails - */ - public function getAd($resourceName, array $optionalArgs = []) - { - $request = new GetAdRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetAd', Ad::class, $optionalArgs, $request)->wait(); - } - - /** - * Updates ads. Operation statuses are returned. Updating ads is not supported - * for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. - * - * List of thrown errors: - * [AdCustomizerError]() - * [AdError]() - * [AdSharingError]() - * [AdxError]() - * [AssetError]() - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FeedAttributeReferenceError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [ImageError]() - * [InternalError]() - * [ListOperationError]() - * [MediaBundleError]() - * [MediaFileError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [PolicyFindingError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $adServiceClient = new AdServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $adServiceClient->mutateAds($customerId, $operations); - * } finally { - * $adServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose ads are being modified. - * @param AdOperation[] $operations Required. The list of operations to perform on individual ads. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAds($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAdsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAds', MutateAdsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupAssetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupAssetServiceGapicClient.php deleted file mode 100644 index ed86d561f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupAssetServiceGapicClient.php +++ /dev/null @@ -1,372 +0,0 @@ -mutateAssetGroupAssets($customerId, $operations); - * } finally { - * $assetGroupAssetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AssetGroupAssetServiceClient} to use - * the new surface. - */ -class AssetGroupAssetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AssetGroupAssetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetNameTemplate; - - private static $assetGroupNameTemplate; - - private static $assetGroupAssetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_group_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_group_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_group_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_group_asset_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getAssetGroupNameTemplate() - { - if (self::$assetGroupNameTemplate == null) { - self::$assetGroupNameTemplate = new PathTemplate('customers/{customer_id}/assetGroups/{asset_group_id}'); - } - - return self::$assetGroupNameTemplate; - } - - private static function getAssetGroupAssetNameTemplate() - { - if (self::$assetGroupAssetNameTemplate == null) { - self::$assetGroupAssetNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}'); - } - - return self::$assetGroupAssetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'asset' => self::getAssetNameTemplate(), - 'assetGroup' => self::getAssetGroupNameTemplate(), - 'assetGroupAsset' => self::getAssetGroupAssetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName($customerId, $assetGroupId) - { - return self::getAssetGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_asset resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted asset_group_asset resource. - */ - public static function assetGroupAssetName($customerId, $assetGroupId, $assetId, $fieldType) - { - return self::getAssetGroupAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupAsset: customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes asset group assets. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $assetGroupAssetServiceClient = new AssetGroupAssetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $assetGroupAssetServiceClient->mutateAssetGroupAssets($customerId, $operations); - * } finally { - * $assetGroupAssetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose asset group assets are being - * modified. - * @param AssetGroupAssetOperation[] $operations Required. The list of operations to perform on individual asset group - * assets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAssetGroupAssets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAssetGroupAssetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAssetGroupAssets', MutateAssetGroupAssetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupListingGroupFilterServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupListingGroupFilterServiceGapicClient.php deleted file mode 100644 index 859d9b1ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupListingGroupFilterServiceGapicClient.php +++ /dev/null @@ -1,339 +0,0 @@ -mutateAssetGroupListingGroupFilters($customerId, $operations); - * } finally { - * $assetGroupListingGroupFilterServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AssetGroupListingGroupFilterServiceClient} - * to use the new surface. - */ -class AssetGroupListingGroupFilterServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AssetGroupListingGroupFilterService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetGroupNameTemplate; - - private static $assetGroupListingGroupFilterNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_group_listing_group_filter_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_group_listing_group_filter_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_group_listing_group_filter_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_group_listing_group_filter_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetGroupNameTemplate() - { - if (self::$assetGroupNameTemplate == null) { - self::$assetGroupNameTemplate = new PathTemplate('customers/{customer_id}/assetGroups/{asset_group_id}'); - } - - return self::$assetGroupNameTemplate; - } - - private static function getAssetGroupListingGroupFilterNameTemplate() - { - if (self::$assetGroupListingGroupFilterNameTemplate == null) { - self::$assetGroupListingGroupFilterNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}'); - } - - return self::$assetGroupListingGroupFilterNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'assetGroup' => self::getAssetGroupNameTemplate(), - 'assetGroupListingGroupFilter' => self::getAssetGroupListingGroupFilterNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName($customerId, $assetGroupId) - { - return self::getAssetGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_listing_group_filter resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $listingGroupFilterId - * - * @return string The formatted asset_group_listing_group_filter resource. - */ - public static function assetGroupListingGroupFilterName($customerId, $assetGroupId, $listingGroupFilterId) - { - return self::getAssetGroupListingGroupFilterNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'listing_group_filter_id' => $listingGroupFilterId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupListingGroupFilter: customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes asset group listing group filters. Operation - * statuses are returned. - * - * Sample code: - * ``` - * $assetGroupListingGroupFilterServiceClient = new AssetGroupListingGroupFilterServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $assetGroupListingGroupFilterServiceClient->mutateAssetGroupListingGroupFilters($customerId, $operations); - * } finally { - * $assetGroupListingGroupFilterServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose asset group listing group filters - * are being modified. - * @param AssetGroupListingGroupFilterOperation[] $operations Required. The list of operations to perform on individual asset group - * listing group filters. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFiltersResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAssetGroupListingGroupFilters($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAssetGroupListingGroupFiltersRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAssetGroupListingGroupFilters', MutateAssetGroupListingGroupFiltersResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupServiceGapicClient.php deleted file mode 100644 index b9231e0a9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupServiceGapicClient.php +++ /dev/null @@ -1,327 +0,0 @@ -mutateAssetGroups($customerId, $operations); - * } finally { - * $assetGroupServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AssetGroupServiceClient} to use the - * new surface. - */ -class AssetGroupServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AssetGroupService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetGroupNameTemplate; - - private static $campaignNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_group_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_group_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_group_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_group_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetGroupNameTemplate() - { - if (self::$assetGroupNameTemplate == null) { - self::$assetGroupNameTemplate = new PathTemplate('customers/{customer_id}/assetGroups/{asset_group_id}'); - } - - return self::$assetGroupNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'assetGroup' => self::getAssetGroupNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName($customerId, $assetGroupId) - { - return self::getAssetGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes asset groups. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $assetGroupServiceClient = new AssetGroupServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $assetGroupServiceClient->mutateAssetGroups($customerId, $operations); - * } finally { - * $assetGroupServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose asset groups are being modified. - * @param AssetGroupOperation[] $operations Required. The list of operations to perform on individual asset groups. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAssetGroups($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAssetGroupsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAssetGroups', MutateAssetGroupsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupSignalServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupSignalServiceGapicClient.php deleted file mode 100644 index d115ed2bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetGroupSignalServiceGapicClient.php +++ /dev/null @@ -1,347 +0,0 @@ -mutateAssetGroupSignals($customerId, $operations); - * } finally { - * $assetGroupSignalServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AssetGroupSignalServiceClient} to use - * the new surface. - */ -class AssetGroupSignalServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AssetGroupSignalService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetGroupNameTemplate; - - private static $assetGroupSignalNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_group_signal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_group_signal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_group_signal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_group_signal_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetGroupNameTemplate() - { - if (self::$assetGroupNameTemplate == null) { - self::$assetGroupNameTemplate = new PathTemplate('customers/{customer_id}/assetGroups/{asset_group_id}'); - } - - return self::$assetGroupNameTemplate; - } - - private static function getAssetGroupSignalNameTemplate() - { - if (self::$assetGroupSignalNameTemplate == null) { - self::$assetGroupSignalNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}'); - } - - return self::$assetGroupSignalNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'assetGroup' => self::getAssetGroupNameTemplate(), - 'assetGroupSignal' => self::getAssetGroupSignalNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName($customerId, $assetGroupId) - { - return self::getAssetGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_signal resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $criterionId - * - * @return string The formatted asset_group_signal resource. - */ - public static function assetGroupSignalName($customerId, $assetGroupId, $criterionId) - { - return self::getAssetGroupSignalNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupSignal: customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or removes asset group signals. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $assetGroupSignalServiceClient = new AssetGroupSignalServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $assetGroupSignalServiceClient->mutateAssetGroupSignals($customerId, $operations); - * } finally { - * $assetGroupSignalServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose asset group signals are being - * modified. - * @param AssetGroupSignalOperation[] $operations Required. The list of operations to perform on individual asset group - * signals. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAssetGroupSignals($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAssetGroupSignalsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAssetGroupSignals', MutateAssetGroupSignalsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetServiceGapicClient.php deleted file mode 100644 index bf4427af7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetServiceGapicClient.php +++ /dev/null @@ -1,374 +0,0 @@ -mutateAssets($customerId, $operations); - * } finally { - * $assetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AssetServiceClient} to use the new - * surface. - */ -class AssetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AssetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetNameTemplate; - - private static $conversionActionNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getConversionActionNameTemplate() - { - if (self::$conversionActionNameTemplate == null) { - self::$conversionActionNameTemplate = new PathTemplate('customers/{customer_id}/conversionActions/{conversion_action_id}'); - } - - return self::$conversionActionNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'asset' => self::getAssetNameTemplate(), - 'conversionAction' => self::getConversionActionNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName($customerId, $conversionActionId) - { - return self::getConversionActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates assets. Operation statuses are returned. - * - * List of thrown errors: - * [AssetError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CurrencyCodeError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MediaUploadError]() - * [MutateError]() - * [NotAllowlistedError]() - * [NotEmptyError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * [YoutubeVideoRegistrationError]() - * - * Sample code: - * ``` - * $assetServiceClient = new AssetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $assetServiceClient->mutateAssets($customerId, $operations); - * } finally { - * $assetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose assets are being modified. - * @param AssetOperation[] $operations Required. The list of operations to perform on individual assets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAssets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAssetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAssets', MutateAssetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetSetAssetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetSetAssetServiceGapicClient.php deleted file mode 100644 index f40860cda..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetSetAssetServiceGapicClient.php +++ /dev/null @@ -1,376 +0,0 @@ -mutateAssetSetAssets($customerId, $operations); - * } finally { - * $assetSetAssetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AssetSetAssetServiceClient} to use the - * new surface. - */ -class AssetSetAssetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AssetSetAssetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetNameTemplate; - - private static $assetSetNameTemplate; - - private static $assetSetAssetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_set_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_set_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_set_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_set_asset_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getAssetSetNameTemplate() - { - if (self::$assetSetNameTemplate == null) { - self::$assetSetNameTemplate = new PathTemplate('customers/{customer_id}/assetSets/{asset_set_id}'); - } - - return self::$assetSetNameTemplate; - } - - private static function getAssetSetAssetNameTemplate() - { - if (self::$assetSetAssetNameTemplate == null) { - self::$assetSetAssetNameTemplate = new PathTemplate('customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}'); - } - - return self::$assetSetAssetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'asset' => self::getAssetNameTemplate(), - 'assetSet' => self::getAssetSetNameTemplate(), - 'assetSetAsset' => self::getAssetSetAssetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName($customerId, $assetSetId) - { - return self::getAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_set_asset resource. - * - * @param string $customerId - * @param string $assetSetId - * @param string $assetId - * - * @return string The formatted asset_set_asset resource. - */ - public static function assetSetAssetName($customerId, $assetSetId, $assetId) - { - return self::getAssetSetAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - 'asset_id' => $assetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - assetSetAsset: customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes asset set assets. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $assetSetAssetServiceClient = new AssetSetAssetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $assetSetAssetServiceClient->mutateAssetSetAssets($customerId, $operations); - * } finally { - * $assetSetAssetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose asset set assets are being modified. - * @param AssetSetAssetOperation[] $operations Required. The list of operations to perform on individual asset set assets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAssetSetAssets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAssetSetAssetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAssetSetAssets', MutateAssetSetAssetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetSetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetSetServiceGapicClient.php deleted file mode 100644 index b259c4f1c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AssetSetServiceGapicClient.php +++ /dev/null @@ -1,314 +0,0 @@ -mutateAssetSets($customerId, $operations); - * } finally { - * $assetSetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AssetSetServiceClient} to use the new - * surface. - */ -class AssetSetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AssetSetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetSetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/asset_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/asset_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/asset_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/asset_set_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetSetNameTemplate() - { - if (self::$assetSetNameTemplate == null) { - self::$assetSetNameTemplate = new PathTemplate('customers/{customer_id}/assetSets/{asset_set_id}'); - } - - return self::$assetSetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'assetSet' => self::getAssetSetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName($customerId, $assetSetId) - { - return self::getAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes asset sets. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $assetSetServiceClient = new AssetSetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $assetSetServiceClient->mutateAssetSets($customerId, $operations); - * } finally { - * $assetSetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose asset sets are being modified. - * @param AssetSetOperation[] $operations Required. The list of operations to perform on individual asset sets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetSetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAssetSets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAssetSetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAssetSets', MutateAssetSetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AudienceInsightsServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AudienceInsightsServiceGapicClient.php deleted file mode 100644 index a9f1b19cd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AudienceInsightsServiceGapicClient.php +++ /dev/null @@ -1,511 +0,0 @@ -generateAudienceCompositionInsights($customerId, $audience, $dimensions); - * } finally { - * $audienceInsightsServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AudienceInsightsServiceClient} to use - * the new surface. - */ -class AudienceInsightsServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AudienceInsightsService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/audience_insights_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/audience_insights_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/audience_insights_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/audience_insights_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns a collection of attributes that are represented in an audience of - * interest, with metrics that compare each attribute's share of the audience - * with its share of a baseline audience. - * - * List of thrown errors: - * [AudienceInsightsError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * Sample code: - * ``` - * $audienceInsightsServiceClient = new AudienceInsightsServiceClient(); - * try { - * $customerId = 'customer_id'; - * $audience = new InsightsAudience(); - * $dimensions = []; - * $response = $audienceInsightsServiceClient->generateAudienceCompositionInsights($customerId, $audience, $dimensions); - * } finally { - * $audienceInsightsServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param InsightsAudience $audience Required. The audience of interest for which insights are being requested. - * @param int[] $dimensions Required. The audience dimensions for which composition insights should be - * returned. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension} - * @param array $optionalArgs { - * Optional. - * - * @type InsightsAudience $baselineAudience - * The baseline audience to which the audience of interest is being - * compared. - * @type string $dataMonth - * The one-month range of historical data to use for insights, in the format - * "yyyy-mm". If unset, insights will be returned for the last thirty days of - * data. - * @type string $customerInsightsGroup - * The name of the customer being planned for. This is a user-defined value. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateAudienceCompositionInsightsResponse - * - * @throws ApiException if the remote call fails - */ - public function generateAudienceCompositionInsights($customerId, $audience, $dimensions, array $optionalArgs = []) - { - $request = new GenerateAudienceCompositionInsightsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setAudience($audience); - $request->setDimensions($dimensions); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['baselineAudience'])) { - $request->setBaselineAudience($optionalArgs['baselineAudience']); - } - - if (isset($optionalArgs['dataMonth'])) { - $request->setDataMonth($optionalArgs['dataMonth']); - } - - if (isset($optionalArgs['customerInsightsGroup'])) { - $request->setCustomerInsightsGroup($optionalArgs['customerInsightsGroup']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GenerateAudienceCompositionInsights', GenerateAudienceCompositionInsightsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Creates a saved report that can be viewed in the Insights Finder tool. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * Sample code: - * ``` - * $audienceInsightsServiceClient = new AudienceInsightsServiceClient(); - * try { - * $customerId = 'customer_id'; - * $baselineAudience = new BasicInsightsAudience(); - * $specificAudience = new BasicInsightsAudience(); - * $response = $audienceInsightsServiceClient->generateInsightsFinderReport($customerId, $baselineAudience, $specificAudience); - * } finally { - * $audienceInsightsServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param BasicInsightsAudience $baselineAudience Required. A baseline audience for this report, typically all people in a - * region. - * @param BasicInsightsAudience $specificAudience Required. The specific audience of interest for this report. The insights - * in the report will be based on attributes more prevalent in this audience - * than in the report's baseline audience. - * @param array $optionalArgs { - * Optional. - * - * @type string $customerInsightsGroup - * The name of the customer being planned for. This is a user-defined value. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateInsightsFinderReportResponse - * - * @throws ApiException if the remote call fails - */ - public function generateInsightsFinderReport($customerId, $baselineAudience, $specificAudience, array $optionalArgs = []) - { - $request = new GenerateInsightsFinderReportRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setBaselineAudience($baselineAudience); - $request->setSpecificAudience($specificAudience); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['customerInsightsGroup'])) { - $request->setCustomerInsightsGroup($optionalArgs['customerInsightsGroup']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GenerateInsightsFinderReport', GenerateInsightsFinderReportResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns a collection of targeting insights (e.g. targetable audiences) that - * are relevant to the requested audience. - * - * List of thrown errors: - * [AudienceInsightsError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * Sample code: - * ``` - * $audienceInsightsServiceClient = new AudienceInsightsServiceClient(); - * try { - * $customerId = 'customer_id'; - * $audience = new InsightsAudience(); - * $response = $audienceInsightsServiceClient->generateSuggestedTargetingInsights($customerId, $audience); - * } finally { - * $audienceInsightsServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param InsightsAudience $audience Required. The audience of interest for which insights are being requested. - * @param array $optionalArgs { - * Optional. - * - * @type InsightsAudience $baselineAudience - * Optional. The baseline audience. The default, if unspecified, is all - * people in the same country as the audience of interest. - * @type string $dataMonth - * Optional. The one-month range of historical data to use for insights, in - * the format "yyyy-mm". If unset, insights will be returned for the last - * thirty days of data. - * @type string $customerInsightsGroup - * Optional. The name of the customer being planned for. This is a - * user-defined value. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateSuggestedTargetingInsightsResponse - * - * @throws ApiException if the remote call fails - */ - public function generateSuggestedTargetingInsights($customerId, $audience, array $optionalArgs = []) - { - $request = new GenerateSuggestedTargetingInsightsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setAudience($audience); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['baselineAudience'])) { - $request->setBaselineAudience($optionalArgs['baselineAudience']); - } - - if (isset($optionalArgs['dataMonth'])) { - $request->setDataMonth($optionalArgs['dataMonth']); - } - - if (isset($optionalArgs['customerInsightsGroup'])) { - $request->setCustomerInsightsGroup($optionalArgs['customerInsightsGroup']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GenerateSuggestedTargetingInsights', GenerateSuggestedTargetingInsightsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Searches for audience attributes that can be used to generate insights. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * Sample code: - * ``` - * $audienceInsightsServiceClient = new AudienceInsightsServiceClient(); - * try { - * $customerId = 'customer_id'; - * $dimensions = []; - * $queryText = 'query_text'; - * $response = $audienceInsightsServiceClient->listAudienceInsightsAttributes($customerId, $dimensions, $queryText); - * } finally { - * $audienceInsightsServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param int[] $dimensions Required. The types of attributes to be returned. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension} - * @param string $queryText Required. A free text query. If the requested dimensions include - * Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for - * those dimensions will match or be related to this string. For other - * dimensions, this field is ignored and all available attributes are - * returned. - * @param array $optionalArgs { - * Optional. - * - * @type string $customerInsightsGroup - * The name of the customer being planned for. This is a user-defined value. - * @type LocationInfo[] $locationCountryFilters - * If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and - * this field is present, then the SUB_COUNTRY_LOCATION attributes returned - * will be located in these countries. If this field is absent, then location - * attributes are not filtered by country. Setting this field when - * SUB_COUNTRY_LOCATION attributes are not requested will return an error. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ListAudienceInsightsAttributesResponse - * - * @throws ApiException if the remote call fails - */ - public function listAudienceInsightsAttributes($customerId, $dimensions, $queryText, array $optionalArgs = []) - { - $request = new ListAudienceInsightsAttributesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setDimensions($dimensions); - $request->setQueryText($queryText); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['customerInsightsGroup'])) { - $request->setCustomerInsightsGroup($optionalArgs['customerInsightsGroup']); - } - - if (isset($optionalArgs['locationCountryFilters'])) { - $request->setLocationCountryFilters($optionalArgs['locationCountryFilters']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('ListAudienceInsightsAttributes', ListAudienceInsightsAttributesResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Lists date ranges for which audience insights data can be requested. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * Sample code: - * ``` - * $audienceInsightsServiceClient = new AudienceInsightsServiceClient(); - * try { - * $response = $audienceInsightsServiceClient->listInsightsEligibleDates(); - * } finally { - * $audienceInsightsServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ListInsightsEligibleDatesResponse - * - * @throws ApiException if the remote call fails - */ - public function listInsightsEligibleDates(array $optionalArgs = []) - { - $request = new ListInsightsEligibleDatesRequest(); - return $this->startCall('ListInsightsEligibleDates', ListInsightsEligibleDatesResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AudienceServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/AudienceServiceGapicClient.php deleted file mode 100644 index 821105d29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/AudienceServiceGapicClient.php +++ /dev/null @@ -1,345 +0,0 @@ -mutateAudiences($customerId, $operations); - * } finally { - * $audienceServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\AudienceServiceClient} to use the new - * surface. - */ -class AudienceServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.AudienceService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetGroupNameTemplate; - - private static $audienceNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/audience_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/audience_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/audience_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/audience_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetGroupNameTemplate() - { - if (self::$assetGroupNameTemplate == null) { - self::$assetGroupNameTemplate = new PathTemplate('customers/{customer_id}/assetGroups/{asset_group_id}'); - } - - return self::$assetGroupNameTemplate; - } - - private static function getAudienceNameTemplate() - { - if (self::$audienceNameTemplate == null) { - self::$audienceNameTemplate = new PathTemplate('customers/{customer_id}/audiences/{audience_id}'); - } - - return self::$audienceNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'assetGroup' => self::getAssetGroupNameTemplate(), - 'audience' => self::getAudienceNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName($customerId, $assetGroupId) - { - return self::getAssetGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a audience - * resource. - * - * @param string $customerId - * @param string $audienceId - * - * @return string The formatted audience resource. - */ - public static function audienceName($customerId, $audienceId) - { - return self::getAudienceNameTemplate()->render([ - 'customer_id' => $customerId, - 'audience_id' => $audienceId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - audience: customers/{customer_id}/audiences/{audience_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates audiences. Operation statuses are returned. - * - * List of thrown errors: - * [AudienceError]() - * - * Sample code: - * ``` - * $audienceServiceClient = new AudienceServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $audienceServiceClient->mutateAudiences($customerId, $operations); - * } finally { - * $audienceServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose audiences are being modified. - * @param AudienceOperation[] $operations Required. The list of operations to perform on individual audiences. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAudiencesResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateAudiences($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateAudiencesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateAudiences', MutateAudiencesResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BatchJobServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/BatchJobServiceGapicClient.php deleted file mode 100644 index 76688252f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BatchJobServiceGapicClient.php +++ /dev/null @@ -1,3116 +0,0 @@ -batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - * $mutateOperations = []; - * $response = $batchJobServiceClient->addBatchJobOperations($formattedResourceName, $mutateOperations); - * } finally { - * $batchJobServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\BatchJobServiceClient} to use the new - * surface. - */ -class BatchJobServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.BatchJobService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $accessibleBiddingStrategyNameTemplate; - - private static $adNameTemplate; - - private static $adGroupNameTemplate; - - private static $adGroupAdNameTemplate; - - private static $adGroupAdLabelNameTemplate; - - private static $adGroupAssetNameTemplate; - - private static $adGroupBidModifierNameTemplate; - - private static $adGroupCriterionNameTemplate; - - private static $adGroupCriterionCustomizerNameTemplate; - - private static $adGroupCriterionLabelNameTemplate; - - private static $adGroupCustomizerNameTemplate; - - private static $adGroupExtensionSettingNameTemplate; - - private static $adGroupFeedNameTemplate; - - private static $adGroupLabelNameTemplate; - - private static $adParameterNameTemplate; - - private static $assetNameTemplate; - - private static $assetGroupNameTemplate; - - private static $assetGroupAssetNameTemplate; - - private static $assetGroupListingGroupFilterNameTemplate; - - private static $assetGroupSignalNameTemplate; - - private static $assetSetNameTemplate; - - private static $assetSetAssetNameTemplate; - - private static $audienceNameTemplate; - - private static $batchJobNameTemplate; - - private static $biddingDataExclusionNameTemplate; - - private static $biddingSeasonalityAdjustmentNameTemplate; - - private static $biddingStrategyNameTemplate; - - private static $campaignNameTemplate; - - private static $campaignAssetNameTemplate; - - private static $campaignAssetSetNameTemplate; - - private static $campaignBidModifierNameTemplate; - - private static $campaignBudgetNameTemplate; - - private static $campaignConversionGoalNameTemplate; - - private static $campaignCriterionNameTemplate; - - private static $campaignCustomizerNameTemplate; - - private static $campaignDraftNameTemplate; - - private static $campaignExtensionSettingNameTemplate; - - private static $campaignFeedNameTemplate; - - private static $campaignGroupNameTemplate; - - private static $campaignLabelNameTemplate; - - private static $campaignSharedSetNameTemplate; - - private static $combinedAudienceNameTemplate; - - private static $conversionActionNameTemplate; - - private static $conversionCustomVariableNameTemplate; - - private static $conversionGoalCampaignConfigNameTemplate; - - private static $conversionValueRuleNameTemplate; - - private static $conversionValueRuleSetNameTemplate; - - private static $customConversionGoalNameTemplate; - - private static $customerNameTemplate; - - private static $customerAssetNameTemplate; - - private static $customerConversionGoalNameTemplate; - - private static $customerCustomizerNameTemplate; - - private static $customerExtensionSettingNameTemplate; - - private static $customerFeedNameTemplate; - - private static $customerLabelNameTemplate; - - private static $customerNegativeCriterionNameTemplate; - - private static $customizerAttributeNameTemplate; - - private static $experimentNameTemplate; - - private static $experimentArmNameTemplate; - - private static $extensionFeedItemNameTemplate; - - private static $feedNameTemplate; - - private static $feedItemNameTemplate; - - private static $feedItemSetNameTemplate; - - private static $feedItemSetLinkNameTemplate; - - private static $feedItemTargetNameTemplate; - - private static $feedMappingNameTemplate; - - private static $geoTargetConstantNameTemplate; - - private static $keywordPlanNameTemplate; - - private static $keywordPlanAdGroupNameTemplate; - - private static $keywordPlanAdGroupKeywordNameTemplate; - - private static $keywordPlanCampaignNameTemplate; - - private static $keywordPlanCampaignKeywordNameTemplate; - - private static $labelNameTemplate; - - private static $languageConstantNameTemplate; - - private static $mobileAppCategoryConstantNameTemplate; - - private static $recommendationSubscriptionNameTemplate; - - private static $remarketingActionNameTemplate; - - private static $sharedCriterionNameTemplate; - - private static $sharedSetNameTemplate; - - private static $smartCampaignSettingNameTemplate; - - private static $topicConstantNameTemplate; - - private static $userInterestNameTemplate; - - private static $userListNameTemplate; - - private static $pathTemplateMap; - - private $operationsClient; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/batch_job_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/batch_job_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/batch_job_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/batch_job_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAccessibleBiddingStrategyNameTemplate() - { - if (self::$accessibleBiddingStrategyNameTemplate == null) { - self::$accessibleBiddingStrategyNameTemplate = new PathTemplate('customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}'); - } - - return self::$accessibleBiddingStrategyNameTemplate; - } - - private static function getAdNameTemplate() - { - if (self::$adNameTemplate == null) { - self::$adNameTemplate = new PathTemplate('customers/{customer_id}/ads/{ad_id}'); - } - - return self::$adNameTemplate; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupAdNameTemplate() - { - if (self::$adGroupAdNameTemplate == null) { - self::$adGroupAdNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}'); - } - - return self::$adGroupAdNameTemplate; - } - - private static function getAdGroupAdLabelNameTemplate() - { - if (self::$adGroupAdLabelNameTemplate == null) { - self::$adGroupAdLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}'); - } - - return self::$adGroupAdLabelNameTemplate; - } - - private static function getAdGroupAssetNameTemplate() - { - if (self::$adGroupAssetNameTemplate == null) { - self::$adGroupAssetNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}'); - } - - return self::$adGroupAssetNameTemplate; - } - - private static function getAdGroupBidModifierNameTemplate() - { - if (self::$adGroupBidModifierNameTemplate == null) { - self::$adGroupBidModifierNameTemplate = new PathTemplate('customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupBidModifierNameTemplate; - } - - private static function getAdGroupCriterionNameTemplate() - { - if (self::$adGroupCriterionNameTemplate == null) { - self::$adGroupCriterionNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupCriterionNameTemplate; - } - - private static function getAdGroupCriterionCustomizerNameTemplate() - { - if (self::$adGroupCriterionCustomizerNameTemplate == null) { - self::$adGroupCriterionCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}'); - } - - return self::$adGroupCriterionCustomizerNameTemplate; - } - - private static function getAdGroupCriterionLabelNameTemplate() - { - if (self::$adGroupCriterionLabelNameTemplate == null) { - self::$adGroupCriterionLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}'); - } - - return self::$adGroupCriterionLabelNameTemplate; - } - - private static function getAdGroupCustomizerNameTemplate() - { - if (self::$adGroupCustomizerNameTemplate == null) { - self::$adGroupCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}'); - } - - return self::$adGroupCustomizerNameTemplate; - } - - private static function getAdGroupExtensionSettingNameTemplate() - { - if (self::$adGroupExtensionSettingNameTemplate == null) { - self::$adGroupExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}'); - } - - return self::$adGroupExtensionSettingNameTemplate; - } - - private static function getAdGroupFeedNameTemplate() - { - if (self::$adGroupFeedNameTemplate == null) { - self::$adGroupFeedNameTemplate = new PathTemplate('customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}'); - } - - return self::$adGroupFeedNameTemplate; - } - - private static function getAdGroupLabelNameTemplate() - { - if (self::$adGroupLabelNameTemplate == null) { - self::$adGroupLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}'); - } - - return self::$adGroupLabelNameTemplate; - } - - private static function getAdParameterNameTemplate() - { - if (self::$adParameterNameTemplate == null) { - self::$adParameterNameTemplate = new PathTemplate('customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}'); - } - - return self::$adParameterNameTemplate; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getAssetGroupNameTemplate() - { - if (self::$assetGroupNameTemplate == null) { - self::$assetGroupNameTemplate = new PathTemplate('customers/{customer_id}/assetGroups/{asset_group_id}'); - } - - return self::$assetGroupNameTemplate; - } - - private static function getAssetGroupAssetNameTemplate() - { - if (self::$assetGroupAssetNameTemplate == null) { - self::$assetGroupAssetNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}'); - } - - return self::$assetGroupAssetNameTemplate; - } - - private static function getAssetGroupListingGroupFilterNameTemplate() - { - if (self::$assetGroupListingGroupFilterNameTemplate == null) { - self::$assetGroupListingGroupFilterNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}'); - } - - return self::$assetGroupListingGroupFilterNameTemplate; - } - - private static function getAssetGroupSignalNameTemplate() - { - if (self::$assetGroupSignalNameTemplate == null) { - self::$assetGroupSignalNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}'); - } - - return self::$assetGroupSignalNameTemplate; - } - - private static function getAssetSetNameTemplate() - { - if (self::$assetSetNameTemplate == null) { - self::$assetSetNameTemplate = new PathTemplate('customers/{customer_id}/assetSets/{asset_set_id}'); - } - - return self::$assetSetNameTemplate; - } - - private static function getAssetSetAssetNameTemplate() - { - if (self::$assetSetAssetNameTemplate == null) { - self::$assetSetAssetNameTemplate = new PathTemplate('customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}'); - } - - return self::$assetSetAssetNameTemplate; - } - - private static function getAudienceNameTemplate() - { - if (self::$audienceNameTemplate == null) { - self::$audienceNameTemplate = new PathTemplate('customers/{customer_id}/audiences/{audience_id}'); - } - - return self::$audienceNameTemplate; - } - - private static function getBatchJobNameTemplate() - { - if (self::$batchJobNameTemplate == null) { - self::$batchJobNameTemplate = new PathTemplate('customers/{customer_id}/batchJobs/{batch_job_id}'); - } - - return self::$batchJobNameTemplate; - } - - private static function getBiddingDataExclusionNameTemplate() - { - if (self::$biddingDataExclusionNameTemplate == null) { - self::$biddingDataExclusionNameTemplate = new PathTemplate('customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}'); - } - - return self::$biddingDataExclusionNameTemplate; - } - - private static function getBiddingSeasonalityAdjustmentNameTemplate() - { - if (self::$biddingSeasonalityAdjustmentNameTemplate == null) { - self::$biddingSeasonalityAdjustmentNameTemplate = new PathTemplate('customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}'); - } - - return self::$biddingSeasonalityAdjustmentNameTemplate; - } - - private static function getBiddingStrategyNameTemplate() - { - if (self::$biddingStrategyNameTemplate == null) { - self::$biddingStrategyNameTemplate = new PathTemplate('customers/{customer_id}/biddingStrategies/{bidding_strategy_id}'); - } - - return self::$biddingStrategyNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignAssetNameTemplate() - { - if (self::$campaignAssetNameTemplate == null) { - self::$campaignAssetNameTemplate = new PathTemplate('customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}'); - } - - return self::$campaignAssetNameTemplate; - } - - private static function getCampaignAssetSetNameTemplate() - { - if (self::$campaignAssetSetNameTemplate == null) { - self::$campaignAssetSetNameTemplate = new PathTemplate('customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}'); - } - - return self::$campaignAssetSetNameTemplate; - } - - private static function getCampaignBidModifierNameTemplate() - { - if (self::$campaignBidModifierNameTemplate == null) { - self::$campaignBidModifierNameTemplate = new PathTemplate('customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}'); - } - - return self::$campaignBidModifierNameTemplate; - } - - private static function getCampaignBudgetNameTemplate() - { - if (self::$campaignBudgetNameTemplate == null) { - self::$campaignBudgetNameTemplate = new PathTemplate('customers/{customer_id}/campaignBudgets/{campaign_budget_id}'); - } - - return self::$campaignBudgetNameTemplate; - } - - private static function getCampaignConversionGoalNameTemplate() - { - if (self::$campaignConversionGoalNameTemplate == null) { - self::$campaignConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}'); - } - - return self::$campaignConversionGoalNameTemplate; - } - - private static function getCampaignCriterionNameTemplate() - { - if (self::$campaignCriterionNameTemplate == null) { - self::$campaignCriterionNameTemplate = new PathTemplate('customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}'); - } - - return self::$campaignCriterionNameTemplate; - } - - private static function getCampaignCustomizerNameTemplate() - { - if (self::$campaignCustomizerNameTemplate == null) { - self::$campaignCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}'); - } - - return self::$campaignCustomizerNameTemplate; - } - - private static function getCampaignDraftNameTemplate() - { - if (self::$campaignDraftNameTemplate == null) { - self::$campaignDraftNameTemplate = new PathTemplate('customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}'); - } - - return self::$campaignDraftNameTemplate; - } - - private static function getCampaignExtensionSettingNameTemplate() - { - if (self::$campaignExtensionSettingNameTemplate == null) { - self::$campaignExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}'); - } - - return self::$campaignExtensionSettingNameTemplate; - } - - private static function getCampaignFeedNameTemplate() - { - if (self::$campaignFeedNameTemplate == null) { - self::$campaignFeedNameTemplate = new PathTemplate('customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}'); - } - - return self::$campaignFeedNameTemplate; - } - - private static function getCampaignGroupNameTemplate() - { - if (self::$campaignGroupNameTemplate == null) { - self::$campaignGroupNameTemplate = new PathTemplate('customers/{customer_id}/campaignGroups/{campaign_group_id}'); - } - - return self::$campaignGroupNameTemplate; - } - - private static function getCampaignLabelNameTemplate() - { - if (self::$campaignLabelNameTemplate == null) { - self::$campaignLabelNameTemplate = new PathTemplate('customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}'); - } - - return self::$campaignLabelNameTemplate; - } - - private static function getCampaignSharedSetNameTemplate() - { - if (self::$campaignSharedSetNameTemplate == null) { - self::$campaignSharedSetNameTemplate = new PathTemplate('customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}'); - } - - return self::$campaignSharedSetNameTemplate; - } - - private static function getCombinedAudienceNameTemplate() - { - if (self::$combinedAudienceNameTemplate == null) { - self::$combinedAudienceNameTemplate = new PathTemplate('customers/{customer_id}/combinedAudiences/{combined_audience_id}'); - } - - return self::$combinedAudienceNameTemplate; - } - - private static function getConversionActionNameTemplate() - { - if (self::$conversionActionNameTemplate == null) { - self::$conversionActionNameTemplate = new PathTemplate('customers/{customer_id}/conversionActions/{conversion_action_id}'); - } - - return self::$conversionActionNameTemplate; - } - - private static function getConversionCustomVariableNameTemplate() - { - if (self::$conversionCustomVariableNameTemplate == null) { - self::$conversionCustomVariableNameTemplate = new PathTemplate('customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}'); - } - - return self::$conversionCustomVariableNameTemplate; - } - - private static function getConversionGoalCampaignConfigNameTemplate() - { - if (self::$conversionGoalCampaignConfigNameTemplate == null) { - self::$conversionGoalCampaignConfigNameTemplate = new PathTemplate('customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}'); - } - - return self::$conversionGoalCampaignConfigNameTemplate; - } - - private static function getConversionValueRuleNameTemplate() - { - if (self::$conversionValueRuleNameTemplate == null) { - self::$conversionValueRuleNameTemplate = new PathTemplate('customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}'); - } - - return self::$conversionValueRuleNameTemplate; - } - - private static function getConversionValueRuleSetNameTemplate() - { - if (self::$conversionValueRuleSetNameTemplate == null) { - self::$conversionValueRuleSetNameTemplate = new PathTemplate('customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}'); - } - - return self::$conversionValueRuleSetNameTemplate; - } - - private static function getCustomConversionGoalNameTemplate() - { - if (self::$customConversionGoalNameTemplate == null) { - self::$customConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/customConversionGoals/{goal_id}'); - } - - return self::$customConversionGoalNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getCustomerAssetNameTemplate() - { - if (self::$customerAssetNameTemplate == null) { - self::$customerAssetNameTemplate = new PathTemplate('customers/{customer_id}/customerAssets/{asset_id}~{field_type}'); - } - - return self::$customerAssetNameTemplate; - } - - private static function getCustomerConversionGoalNameTemplate() - { - if (self::$customerConversionGoalNameTemplate == null) { - self::$customerConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/customerConversionGoals/{category}~{source}'); - } - - return self::$customerConversionGoalNameTemplate; - } - - private static function getCustomerCustomizerNameTemplate() - { - if (self::$customerCustomizerNameTemplate == null) { - self::$customerCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/customerCustomizers/{customizer_attribute_id}'); - } - - return self::$customerCustomizerNameTemplate; - } - - private static function getCustomerExtensionSettingNameTemplate() - { - if (self::$customerExtensionSettingNameTemplate == null) { - self::$customerExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/customerExtensionSettings/{extension_type}'); - } - - return self::$customerExtensionSettingNameTemplate; - } - - private static function getCustomerFeedNameTemplate() - { - if (self::$customerFeedNameTemplate == null) { - self::$customerFeedNameTemplate = new PathTemplate('customers/{customer_id}/customerFeeds/{feed_id}'); - } - - return self::$customerFeedNameTemplate; - } - - private static function getCustomerLabelNameTemplate() - { - if (self::$customerLabelNameTemplate == null) { - self::$customerLabelNameTemplate = new PathTemplate('customers/{customer_id}/customerLabels/{label_id}'); - } - - return self::$customerLabelNameTemplate; - } - - private static function getCustomerNegativeCriterionNameTemplate() - { - if (self::$customerNegativeCriterionNameTemplate == null) { - self::$customerNegativeCriterionNameTemplate = new PathTemplate('customers/{customer_id}/customerNegativeCriteria/{criterion_id}'); - } - - return self::$customerNegativeCriterionNameTemplate; - } - - private static function getCustomizerAttributeNameTemplate() - { - if (self::$customizerAttributeNameTemplate == null) { - self::$customizerAttributeNameTemplate = new PathTemplate('customers/{customer_id}/customizerAttributes/{customizer_attribute_id}'); - } - - return self::$customizerAttributeNameTemplate; - } - - private static function getExperimentNameTemplate() - { - if (self::$experimentNameTemplate == null) { - self::$experimentNameTemplate = new PathTemplate('customers/{customer_id}/experiments/{trial_id}'); - } - - return self::$experimentNameTemplate; - } - - private static function getExperimentArmNameTemplate() - { - if (self::$experimentArmNameTemplate == null) { - self::$experimentArmNameTemplate = new PathTemplate('customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}'); - } - - return self::$experimentArmNameTemplate; - } - - private static function getExtensionFeedItemNameTemplate() - { - if (self::$extensionFeedItemNameTemplate == null) { - self::$extensionFeedItemNameTemplate = new PathTemplate('customers/{customer_id}/extensionFeedItems/{feed_item_id}'); - } - - return self::$extensionFeedItemNameTemplate; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getFeedItemNameTemplate() - { - if (self::$feedItemNameTemplate == null) { - self::$feedItemNameTemplate = new PathTemplate('customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}'); - } - - return self::$feedItemNameTemplate; - } - - private static function getFeedItemSetNameTemplate() - { - if (self::$feedItemSetNameTemplate == null) { - self::$feedItemSetNameTemplate = new PathTemplate('customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}'); - } - - return self::$feedItemSetNameTemplate; - } - - private static function getFeedItemSetLinkNameTemplate() - { - if (self::$feedItemSetLinkNameTemplate == null) { - self::$feedItemSetLinkNameTemplate = new PathTemplate('customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}'); - } - - return self::$feedItemSetLinkNameTemplate; - } - - private static function getFeedItemTargetNameTemplate() - { - if (self::$feedItemTargetNameTemplate == null) { - self::$feedItemTargetNameTemplate = new PathTemplate('customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}'); - } - - return self::$feedItemTargetNameTemplate; - } - - private static function getFeedMappingNameTemplate() - { - if (self::$feedMappingNameTemplate == null) { - self::$feedMappingNameTemplate = new PathTemplate('customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}'); - } - - return self::$feedMappingNameTemplate; - } - - private static function getGeoTargetConstantNameTemplate() - { - if (self::$geoTargetConstantNameTemplate == null) { - self::$geoTargetConstantNameTemplate = new PathTemplate('geoTargetConstants/{criterion_id}'); - } - - return self::$geoTargetConstantNameTemplate; - } - - private static function getKeywordPlanNameTemplate() - { - if (self::$keywordPlanNameTemplate == null) { - self::$keywordPlanNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlans/{keyword_plan_id}'); - } - - return self::$keywordPlanNameTemplate; - } - - private static function getKeywordPlanAdGroupNameTemplate() - { - if (self::$keywordPlanAdGroupNameTemplate == null) { - self::$keywordPlanAdGroupNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}'); - } - - return self::$keywordPlanAdGroupNameTemplate; - } - - private static function getKeywordPlanAdGroupKeywordNameTemplate() - { - if (self::$keywordPlanAdGroupKeywordNameTemplate == null) { - self::$keywordPlanAdGroupKeywordNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}'); - } - - return self::$keywordPlanAdGroupKeywordNameTemplate; - } - - private static function getKeywordPlanCampaignNameTemplate() - { - if (self::$keywordPlanCampaignNameTemplate == null) { - self::$keywordPlanCampaignNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}'); - } - - return self::$keywordPlanCampaignNameTemplate; - } - - private static function getKeywordPlanCampaignKeywordNameTemplate() - { - if (self::$keywordPlanCampaignKeywordNameTemplate == null) { - self::$keywordPlanCampaignKeywordNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}'); - } - - return self::$keywordPlanCampaignKeywordNameTemplate; - } - - private static function getLabelNameTemplate() - { - if (self::$labelNameTemplate == null) { - self::$labelNameTemplate = new PathTemplate('customers/{customer_id}/labels/{label_id}'); - } - - return self::$labelNameTemplate; - } - - private static function getLanguageConstantNameTemplate() - { - if (self::$languageConstantNameTemplate == null) { - self::$languageConstantNameTemplate = new PathTemplate('languageConstants/{criterion_id}'); - } - - return self::$languageConstantNameTemplate; - } - - private static function getMobileAppCategoryConstantNameTemplate() - { - if (self::$mobileAppCategoryConstantNameTemplate == null) { - self::$mobileAppCategoryConstantNameTemplate = new PathTemplate('mobileAppCategoryConstants/{mobile_app_category_id}'); - } - - return self::$mobileAppCategoryConstantNameTemplate; - } - - private static function getRecommendationSubscriptionNameTemplate() - { - if (self::$recommendationSubscriptionNameTemplate == null) { - self::$recommendationSubscriptionNameTemplate = new PathTemplate('customers/{customer_id}/recommendationSubscriptions/{recommendation_type}'); - } - - return self::$recommendationSubscriptionNameTemplate; - } - - private static function getRemarketingActionNameTemplate() - { - if (self::$remarketingActionNameTemplate == null) { - self::$remarketingActionNameTemplate = new PathTemplate('customers/{customer_id}/remarketingActions/{remarketing_action_id}'); - } - - return self::$remarketingActionNameTemplate; - } - - private static function getSharedCriterionNameTemplate() - { - if (self::$sharedCriterionNameTemplate == null) { - self::$sharedCriterionNameTemplate = new PathTemplate('customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}'); - } - - return self::$sharedCriterionNameTemplate; - } - - private static function getSharedSetNameTemplate() - { - if (self::$sharedSetNameTemplate == null) { - self::$sharedSetNameTemplate = new PathTemplate('customers/{customer_id}/sharedSets/{shared_set_id}'); - } - - return self::$sharedSetNameTemplate; - } - - private static function getSmartCampaignSettingNameTemplate() - { - if (self::$smartCampaignSettingNameTemplate == null) { - self::$smartCampaignSettingNameTemplate = new PathTemplate('customers/{customer_id}/smartCampaignSettings/{campaign_id}'); - } - - return self::$smartCampaignSettingNameTemplate; - } - - private static function getTopicConstantNameTemplate() - { - if (self::$topicConstantNameTemplate == null) { - self::$topicConstantNameTemplate = new PathTemplate('topicConstants/{topic_id}'); - } - - return self::$topicConstantNameTemplate; - } - - private static function getUserInterestNameTemplate() - { - if (self::$userInterestNameTemplate == null) { - self::$userInterestNameTemplate = new PathTemplate('customers/{customer_id}/userInterests/{user_interest_id}'); - } - - return self::$userInterestNameTemplate; - } - - private static function getUserListNameTemplate() - { - if (self::$userListNameTemplate == null) { - self::$userListNameTemplate = new PathTemplate('customers/{customer_id}/userLists/{user_list_id}'); - } - - return self::$userListNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'accessibleBiddingStrategy' => self::getAccessibleBiddingStrategyNameTemplate(), - 'ad' => self::getAdNameTemplate(), - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupAd' => self::getAdGroupAdNameTemplate(), - 'adGroupAdLabel' => self::getAdGroupAdLabelNameTemplate(), - 'adGroupAsset' => self::getAdGroupAssetNameTemplate(), - 'adGroupBidModifier' => self::getAdGroupBidModifierNameTemplate(), - 'adGroupCriterion' => self::getAdGroupCriterionNameTemplate(), - 'adGroupCriterionCustomizer' => self::getAdGroupCriterionCustomizerNameTemplate(), - 'adGroupCriterionLabel' => self::getAdGroupCriterionLabelNameTemplate(), - 'adGroupCustomizer' => self::getAdGroupCustomizerNameTemplate(), - 'adGroupExtensionSetting' => self::getAdGroupExtensionSettingNameTemplate(), - 'adGroupFeed' => self::getAdGroupFeedNameTemplate(), - 'adGroupLabel' => self::getAdGroupLabelNameTemplate(), - 'adParameter' => self::getAdParameterNameTemplate(), - 'asset' => self::getAssetNameTemplate(), - 'assetGroup' => self::getAssetGroupNameTemplate(), - 'assetGroupAsset' => self::getAssetGroupAssetNameTemplate(), - 'assetGroupListingGroupFilter' => self::getAssetGroupListingGroupFilterNameTemplate(), - 'assetGroupSignal' => self::getAssetGroupSignalNameTemplate(), - 'assetSet' => self::getAssetSetNameTemplate(), - 'assetSetAsset' => self::getAssetSetAssetNameTemplate(), - 'audience' => self::getAudienceNameTemplate(), - 'batchJob' => self::getBatchJobNameTemplate(), - 'biddingDataExclusion' => self::getBiddingDataExclusionNameTemplate(), - 'biddingSeasonalityAdjustment' => self::getBiddingSeasonalityAdjustmentNameTemplate(), - 'biddingStrategy' => self::getBiddingStrategyNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - 'campaignAsset' => self::getCampaignAssetNameTemplate(), - 'campaignAssetSet' => self::getCampaignAssetSetNameTemplate(), - 'campaignBidModifier' => self::getCampaignBidModifierNameTemplate(), - 'campaignBudget' => self::getCampaignBudgetNameTemplate(), - 'campaignConversionGoal' => self::getCampaignConversionGoalNameTemplate(), - 'campaignCriterion' => self::getCampaignCriterionNameTemplate(), - 'campaignCustomizer' => self::getCampaignCustomizerNameTemplate(), - 'campaignDraft' => self::getCampaignDraftNameTemplate(), - 'campaignExtensionSetting' => self::getCampaignExtensionSettingNameTemplate(), - 'campaignFeed' => self::getCampaignFeedNameTemplate(), - 'campaignGroup' => self::getCampaignGroupNameTemplate(), - 'campaignLabel' => self::getCampaignLabelNameTemplate(), - 'campaignSharedSet' => self::getCampaignSharedSetNameTemplate(), - 'combinedAudience' => self::getCombinedAudienceNameTemplate(), - 'conversionAction' => self::getConversionActionNameTemplate(), - 'conversionCustomVariable' => self::getConversionCustomVariableNameTemplate(), - 'conversionGoalCampaignConfig' => self::getConversionGoalCampaignConfigNameTemplate(), - 'conversionValueRule' => self::getConversionValueRuleNameTemplate(), - 'conversionValueRuleSet' => self::getConversionValueRuleSetNameTemplate(), - 'customConversionGoal' => self::getCustomConversionGoalNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - 'customerAsset' => self::getCustomerAssetNameTemplate(), - 'customerConversionGoal' => self::getCustomerConversionGoalNameTemplate(), - 'customerCustomizer' => self::getCustomerCustomizerNameTemplate(), - 'customerExtensionSetting' => self::getCustomerExtensionSettingNameTemplate(), - 'customerFeed' => self::getCustomerFeedNameTemplate(), - 'customerLabel' => self::getCustomerLabelNameTemplate(), - 'customerNegativeCriterion' => self::getCustomerNegativeCriterionNameTemplate(), - 'customizerAttribute' => self::getCustomizerAttributeNameTemplate(), - 'experiment' => self::getExperimentNameTemplate(), - 'experimentArm' => self::getExperimentArmNameTemplate(), - 'extensionFeedItem' => self::getExtensionFeedItemNameTemplate(), - 'feed' => self::getFeedNameTemplate(), - 'feedItem' => self::getFeedItemNameTemplate(), - 'feedItemSet' => self::getFeedItemSetNameTemplate(), - 'feedItemSetLink' => self::getFeedItemSetLinkNameTemplate(), - 'feedItemTarget' => self::getFeedItemTargetNameTemplate(), - 'feedMapping' => self::getFeedMappingNameTemplate(), - 'geoTargetConstant' => self::getGeoTargetConstantNameTemplate(), - 'keywordPlan' => self::getKeywordPlanNameTemplate(), - 'keywordPlanAdGroup' => self::getKeywordPlanAdGroupNameTemplate(), - 'keywordPlanAdGroupKeyword' => self::getKeywordPlanAdGroupKeywordNameTemplate(), - 'keywordPlanCampaign' => self::getKeywordPlanCampaignNameTemplate(), - 'keywordPlanCampaignKeyword' => self::getKeywordPlanCampaignKeywordNameTemplate(), - 'label' => self::getLabelNameTemplate(), - 'languageConstant' => self::getLanguageConstantNameTemplate(), - 'mobileAppCategoryConstant' => self::getMobileAppCategoryConstantNameTemplate(), - 'recommendationSubscription' => self::getRecommendationSubscriptionNameTemplate(), - 'remarketingAction' => self::getRemarketingActionNameTemplate(), - 'sharedCriterion' => self::getSharedCriterionNameTemplate(), - 'sharedSet' => self::getSharedSetNameTemplate(), - 'smartCampaignSetting' => self::getSmartCampaignSettingNameTemplate(), - 'topicConstant' => self::getTopicConstantNameTemplate(), - 'userInterest' => self::getUserInterestNameTemplate(), - 'userList' => self::getUserListNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * accessible_bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted accessible_bidding_strategy resource. - */ - public static function accessibleBiddingStrategyName($customerId, $biddingStrategyId) - { - return self::getAccessibleBiddingStrategyNameTemplate()->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName($customerId, $adId) - { - return self::getAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group_ad - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * - * @return string The formatted ad_group_ad resource. - */ - public static function adGroupAdName($customerId, $adGroupId, $adId) - { - return self::getAdGroupAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_ad_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * @param string $labelId - * - * @return string The formatted ad_group_ad_label resource. - */ - public static function adGroupAdLabelName($customerId, $adGroupId, $adId, $labelId) - { - return self::getAdGroupAdLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_asset resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted ad_group_asset resource. - */ - public static function adGroupAssetName($customerId, $adGroupId, $assetId, $fieldType) - { - return self::getAdGroupAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_bid_modifier resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_bid_modifier resource. - */ - public static function adGroupBidModifierName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupBidModifierNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_criterion_customizer resource. - */ - public static function adGroupCriterionCustomizerName($customerId, $adGroupId, $criterionId, $customizerAttributeId) - { - return self::getAdGroupCriterionCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $labelId - * - * @return string The formatted ad_group_criterion_label resource. - */ - public static function adGroupCriterionLabelName($customerId, $adGroupId, $criterionId, $labelId) - { - return self::getAdGroupCriterionLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_customizer resource. - */ - public static function adGroupCustomizerName($customerId, $adGroupId, $customizerAttributeId) - { - return self::getAdGroupCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_extension_setting resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $extensionType - * - * @return string The formatted ad_group_extension_setting resource. - */ - public static function adGroupExtensionSettingName($customerId, $adGroupId, $extensionType) - { - return self::getAdGroupExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_feed resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $feedId - * - * @return string The formatted ad_group_feed resource. - */ - public static function adGroupFeedName($customerId, $adGroupId, $feedId) - { - return self::getAdGroupFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $labelId - * - * @return string The formatted ad_group_label resource. - */ - public static function adGroupLabelName($customerId, $adGroupId, $labelId) - { - return self::getAdGroupLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_parameter - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $parameterIndex - * - * @return string The formatted ad_parameter resource. - */ - public static function adParameterName($customerId, $adGroupId, $criterionId, $parameterIndex) - { - return self::getAdParameterNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'parameter_index' => $parameterIndex, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName($customerId, $assetGroupId) - { - return self::getAssetGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_asset resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted asset_group_asset resource. - */ - public static function assetGroupAssetName($customerId, $assetGroupId, $assetId, $fieldType) - { - return self::getAssetGroupAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_listing_group_filter resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $listingGroupFilterId - * - * @return string The formatted asset_group_listing_group_filter resource. - */ - public static function assetGroupListingGroupFilterName($customerId, $assetGroupId, $listingGroupFilterId) - { - return self::getAssetGroupListingGroupFilterNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'listing_group_filter_id' => $listingGroupFilterId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_signal resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $criterionId - * - * @return string The formatted asset_group_signal resource. - */ - public static function assetGroupSignalName($customerId, $assetGroupId, $criterionId) - { - return self::getAssetGroupSignalNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName($customerId, $assetSetId) - { - return self::getAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_set_asset resource. - * - * @param string $customerId - * @param string $assetSetId - * @param string $assetId - * - * @return string The formatted asset_set_asset resource. - */ - public static function assetSetAssetName($customerId, $assetSetId, $assetId) - { - return self::getAssetSetAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a audience - * resource. - * - * @param string $customerId - * @param string $audienceId - * - * @return string The formatted audience resource. - */ - public static function audienceName($customerId, $audienceId) - { - return self::getAudienceNameTemplate()->render([ - 'customer_id' => $customerId, - 'audience_id' => $audienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a batch_job - * resource. - * - * @param string $customerId - * @param string $batchJobId - * - * @return string The formatted batch_job resource. - */ - public static function batchJobName($customerId, $batchJobId) - { - return self::getBatchJobNameTemplate()->render([ - 'customer_id' => $customerId, - 'batch_job_id' => $batchJobId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_data_exclusion resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_data_exclusion resource. - */ - public static function biddingDataExclusionName($customerId, $seasonalityEventId) - { - return self::getBiddingDataExclusionNameTemplate()->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_seasonality_adjustment resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_seasonality_adjustment resource. - */ - public static function biddingSeasonalityAdjustmentName($customerId, $seasonalityEventId) - { - return self::getBiddingSeasonalityAdjustmentNameTemplate()->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted bidding_strategy resource. - */ - public static function biddingStrategyName($customerId, $biddingStrategyId) - { - return self::getBiddingStrategyNameTemplate()->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted campaign_asset resource. - */ - public static function campaignAssetName($customerId, $campaignId, $assetId, $fieldType) - { - return self::getCampaignAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetSetId - * - * @return string The formatted campaign_asset_set resource. - */ - public static function campaignAssetSetName($customerId, $campaignId, $assetSetId) - { - return self::getCampaignAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_bid_modifier resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_bid_modifier resource. - */ - public static function campaignBidModifierName($customerId, $campaignId, $criterionId) - { - return self::getCampaignBidModifierNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName($customerId, $campaignBudgetId) - { - return self::getCampaignBudgetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_conversion_goal resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $category - * @param string $source - * - * @return string The formatted campaign_conversion_goal resource. - */ - public static function campaignConversionGoalName($customerId, $campaignId, $category, $source) - { - return self::getCampaignConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_criterion resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_criterion resource. - */ - public static function campaignCriterionName($customerId, $campaignId, $criterionId) - { - return self::getCampaignCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_customizer resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $customizerAttributeId - * - * @return string The formatted campaign_customizer resource. - */ - public static function campaignCustomizerName($customerId, $campaignId, $customizerAttributeId) - { - return self::getCampaignCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_draft resource. - * - * @param string $customerId - * @param string $baseCampaignId - * @param string $draftId - * - * @return string The formatted campaign_draft resource. - */ - public static function campaignDraftName($customerId, $baseCampaignId, $draftId) - { - return self::getCampaignDraftNameTemplate()->render([ - 'customer_id' => $customerId, - 'base_campaign_id' => $baseCampaignId, - 'draft_id' => $draftId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_extension_setting resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $extensionType - * - * @return string The formatted campaign_extension_setting resource. - */ - public static function campaignExtensionSettingName($customerId, $campaignId, $extensionType) - { - return self::getCampaignExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_feed resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $feedId - * - * @return string The formatted campaign_feed resource. - */ - public static function campaignFeedName($customerId, $campaignId, $feedId) - { - return self::getCampaignFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_group resource. - * - * @param string $customerId - * @param string $campaignGroupId - * - * @return string The formatted campaign_group resource. - */ - public static function campaignGroupName($customerId, $campaignGroupId) - { - return self::getCampaignGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_group_id' => $campaignGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_label resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $labelId - * - * @return string The formatted campaign_label resource. - */ - public static function campaignLabelName($customerId, $campaignId, $labelId) - { - return self::getCampaignLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_shared_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $sharedSetId - * - * @return string The formatted campaign_shared_set resource. - */ - public static function campaignSharedSetName($customerId, $campaignId, $sharedSetId) - { - return self::getCampaignSharedSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * combined_audience resource. - * - * @param string $customerId - * @param string $combinedAudienceId - * - * @return string The formatted combined_audience resource. - */ - public static function combinedAudienceName($customerId, $combinedAudienceId) - { - return self::getCombinedAudienceNameTemplate()->render([ - 'customer_id' => $customerId, - 'combined_audience_id' => $combinedAudienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName($customerId, $conversionActionId) - { - return self::getConversionActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_custom_variable resource. - * - * @param string $customerId - * @param string $conversionCustomVariableId - * - * @return string The formatted conversion_custom_variable resource. - */ - public static function conversionCustomVariableName($customerId, $conversionCustomVariableId) - { - return self::getConversionCustomVariableNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_custom_variable_id' => $conversionCustomVariableId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_goal_campaign_config resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted conversion_goal_campaign_config resource. - */ - public static function conversionGoalCampaignConfigName($customerId, $campaignId) - { - return self::getConversionGoalCampaignConfigNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule resource. - * - * @param string $customerId - * @param string $conversionValueRuleId - * - * @return string The formatted conversion_value_rule resource. - */ - public static function conversionValueRuleName($customerId, $conversionValueRuleId) - { - return self::getConversionValueRuleNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_id' => $conversionValueRuleId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule_set resource. - * - * @param string $customerId - * @param string $conversionValueRuleSetId - * - * @return string The formatted conversion_value_rule_set resource. - */ - public static function conversionValueRuleSetName($customerId, $conversionValueRuleSetId) - { - return self::getConversionValueRuleSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_set_id' => $conversionValueRuleSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_conversion_goal resource. - * - * @param string $customerId - * @param string $goalId - * - * @return string The formatted custom_conversion_goal resource. - */ - public static function customConversionGoalName($customerId, $goalId) - { - return self::getCustomConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'goal_id' => $goalId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_asset resource. - * - * @param string $customerId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted customer_asset resource. - */ - public static function customerAssetName($customerId, $assetId, $fieldType) - { - return self::getCustomerAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_conversion_goal resource. - * - * @param string $customerId - * @param string $category - * @param string $source - * - * @return string The formatted customer_conversion_goal resource. - */ - public static function customerConversionGoalName($customerId, $category, $source) - { - return self::getCustomerConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_customizer resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customer_customizer resource. - */ - public static function customerCustomizerName($customerId, $customizerAttributeId) - { - return self::getCustomerCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_extension_setting resource. - * - * @param string $customerId - * @param string $extensionType - * - * @return string The formatted customer_extension_setting resource. - */ - public static function customerExtensionSettingName($customerId, $extensionType) - { - return self::getCustomerExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_feed resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted customer_feed resource. - */ - public static function customerFeedName($customerId, $feedId) - { - return self::getCustomerFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_label resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted customer_label resource. - */ - public static function customerLabelName($customerId, $labelId) - { - return self::getCustomerLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_negative_criterion resource. - * - * @param string $customerId - * @param string $criterionId - * - * @return string The formatted customer_negative_criterion resource. - */ - public static function customerNegativeCriterionName($customerId, $criterionId) - { - return self::getCustomerNegativeCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName($customerId, $customizerAttributeId) - { - return self::getCustomizerAttributeNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a experiment - * resource. - * - * @param string $customerId - * @param string $trialId - * - * @return string The formatted experiment resource. - */ - public static function experimentName($customerId, $trialId) - { - return self::getExperimentNameTemplate()->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * experiment_arm resource. - * - * @param string $customerId - * @param string $trialId - * @param string $trialArmId - * - * @return string The formatted experiment_arm resource. - */ - public static function experimentArmName($customerId, $trialId, $trialArmId) - { - return self::getExperimentArmNameTemplate()->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - 'trial_arm_id' => $trialArmId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName($customerId, $feedItemId) - { - return self::getExtensionFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName($customerId, $feedId, $feedItemId) - { - return self::getFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * - * @return string The formatted feed_item_set resource. - */ - public static function feedItemSetName($customerId, $feedId, $feedItemSetId) - { - return self::getFeedItemSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set_link resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * @param string $feedItemId - * - * @return string The formatted feed_item_set_link resource. - */ - public static function feedItemSetLinkName($customerId, $feedId, $feedItemSetId, $feedItemId) - { - return self::getFeedItemSetLinkNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_target resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * @param string $feedItemTargetType - * @param string $feedItemTargetId - * - * @return string The formatted feed_item_target resource. - */ - public static function feedItemTargetName($customerId, $feedId, $feedItemId, $feedItemTargetType, $feedItemTargetId) - { - return self::getFeedItemTargetNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - 'feed_item_target_type' => $feedItemTargetType, - 'feed_item_target_id' => $feedItemTargetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_mapping - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedMappingId - * - * @return string The formatted feed_mapping resource. - */ - public static function feedMappingName($customerId, $feedId, $feedMappingId) - { - return self::getFeedMappingNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_mapping_id' => $feedMappingId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName($criterionId) - { - return self::getGeoTargetConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a keyword_plan - * resource. - * - * @param string $customerId - * @param string $keywordPlanId - * - * @return string The formatted keyword_plan resource. - */ - public static function keywordPlanName($customerId, $keywordPlanId) - { - return self::getKeywordPlanNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_id' => $keywordPlanId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupId - * - * @return string The formatted keyword_plan_ad_group resource. - */ - public static function keywordPlanAdGroupName($customerId, $keywordPlanAdGroupId) - { - return self::getKeywordPlanAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_id' => $keywordPlanAdGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupKeywordId - * - * @return string The formatted keyword_plan_ad_group_keyword resource. - */ - public static function keywordPlanAdGroupKeywordName($customerId, $keywordPlanAdGroupKeywordId) - { - return self::getKeywordPlanAdGroupKeywordNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_keyword_id' => $keywordPlanAdGroupKeywordId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName($customerId, $keywordPlanCampaignId) - { - return self::getKeywordPlanCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignKeywordId - * - * @return string The formatted keyword_plan_campaign_keyword resource. - */ - public static function keywordPlanCampaignKeywordName($customerId, $keywordPlanCampaignKeywordId) - { - return self::getKeywordPlanCampaignKeywordNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_keyword_id' => $keywordPlanCampaignKeywordId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName($customerId, $labelId) - { - return self::getLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * language_constant resource. - * - * @param string $criterionId - * - * @return string The formatted language_constant resource. - */ - public static function languageConstantName($criterionId) - { - return self::getLanguageConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName($mobileAppCategoryId) - { - return self::getMobileAppCategoryConstantNameTemplate()->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * recommendation_subscription resource. - * - * @param string $customerId - * @param string $recommendationType - * - * @return string The formatted recommendation_subscription resource. - */ - public static function recommendationSubscriptionName($customerId, $recommendationType) - { - return self::getRecommendationSubscriptionNameTemplate()->render([ - 'customer_id' => $customerId, - 'recommendation_type' => $recommendationType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * remarketing_action resource. - * - * @param string $customerId - * @param string $remarketingActionId - * - * @return string The formatted remarketing_action resource. - */ - public static function remarketingActionName($customerId, $remarketingActionId) - { - return self::getRemarketingActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'remarketing_action_id' => $remarketingActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * shared_criterion resource. - * - * @param string $customerId - * @param string $sharedSetId - * @param string $criterionId - * - * @return string The formatted shared_criterion resource. - */ - public static function sharedCriterionName($customerId, $sharedSetId, $criterionId) - { - return self::getSharedCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName($customerId, $sharedSetId) - { - return self::getSharedSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * smart_campaign_setting resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted smart_campaign_setting resource. - */ - public static function smartCampaignSettingName($customerId, $campaignId) - { - return self::getSmartCampaignSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * topic_constant resource. - * - * @param string $topicId - * - * @return string The formatted topic_constant resource. - */ - public static function topicConstantName($topicId) - { - return self::getTopicConstantNameTemplate()->render([ - 'topic_id' => $topicId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * user_interest resource. - * - * @param string $customerId - * @param string $userInterestId - * - * @return string The formatted user_interest resource. - */ - public static function userInterestName($customerId, $userInterestId) - { - return self::getUserInterestNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_interest_id' => $userInterestId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName($customerId, $userListId) - { - return self::getUserListNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accessibleBiddingStrategy: customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id} - * - ad: customers/{customer_id}/ads/{ad_id} - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} - * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} - * - adGroupAsset: customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type} - * - adGroupBidModifier: customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id} - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionCustomizer: customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id} - * - adGroupCriterionLabel: customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id} - * - adGroupCustomizer: customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id} - * - adGroupExtensionSetting: customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type} - * - adGroupFeed: customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - adGroupLabel: customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id} - * - adParameter: customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index} - * - asset: customers/{customer_id}/assets/{asset_id} - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupAsset: customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type} - * - assetGroupListingGroupFilter: customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id} - * - assetGroupSignal: customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - assetSetAsset: customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id} - * - audience: customers/{customer_id}/audiences/{audience_id} - * - batchJob: customers/{customer_id}/batchJobs/{batch_job_id} - * - biddingDataExclusion: customers/{customer_id}/biddingDataExclusions/{seasonality_event_id} - * - biddingSeasonalityAdjustment: customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id} - * - biddingStrategy: customers/{customer_id}/biddingStrategies/{bidding_strategy_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignAsset: customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type} - * - campaignAssetSet: customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id} - * - campaignBidModifier: customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id} - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - campaignConversionGoal: customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source} - * - campaignCriterion: customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id} - * - campaignCustomizer: customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id} - * - campaignDraft: customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id} - * - campaignExtensionSetting: customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type} - * - campaignFeed: customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - campaignGroup: customers/{customer_id}/campaignGroups/{campaign_group_id} - * - campaignLabel: customers/{customer_id}/campaignLabels/{campaign_id}~{label_id} - * - campaignSharedSet: customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id} - * - combinedAudience: customers/{customer_id}/combinedAudiences/{combined_audience_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - conversionCustomVariable: customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id} - * - conversionGoalCampaignConfig: customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id} - * - conversionValueRule: customers/{customer_id}/conversionValueRules/{conversion_value_rule_id} - * - conversionValueRuleSet: customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id} - * - customConversionGoal: customers/{customer_id}/customConversionGoals/{goal_id} - * - customer: customers/{customer_id} - * - customerAsset: customers/{customer_id}/customerAssets/{asset_id}~{field_type} - * - customerConversionGoal: customers/{customer_id}/customerConversionGoals/{category}~{source} - * - customerCustomizer: customers/{customer_id}/customerCustomizers/{customizer_attribute_id} - * - customerExtensionSetting: customers/{customer_id}/customerExtensionSettings/{extension_type} - * - customerFeed: customers/{customer_id}/customerFeeds/{feed_id} - * - customerLabel: customers/{customer_id}/customerLabels/{label_id} - * - customerNegativeCriterion: customers/{customer_id}/customerNegativeCriteria/{criterion_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - experiment: customers/{customer_id}/experiments/{trial_id} - * - experimentArm: customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - feedItemSet: customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id} - * - feedItemSetLink: customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id} - * - feedItemTarget: customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id} - * - feedMapping: customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - keywordPlan: customers/{customer_id}/keywordPlans/{keyword_plan_id} - * - keywordPlanAdGroup: customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id} - * - keywordPlanAdGroupKeyword: customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id} - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - keywordPlanCampaignKeyword: customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id} - * - label: customers/{customer_id}/labels/{label_id} - * - languageConstant: languageConstants/{criterion_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - recommendationSubscription: customers/{customer_id}/recommendationSubscriptions/{recommendation_type} - * - remarketingAction: customers/{customer_id}/remarketingActions/{remarketing_action_id} - * - sharedCriterion: customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id} - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - smartCampaignSetting: customers/{customer_id}/smartCampaignSettings/{campaign_id} - * - topicConstant: topicConstants/{topic_id} - * - userInterest: customers/{customer_id}/userInterests/{user_interest_id} - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Return an OperationsClient object with the same endpoint as $this. - * - * @return OperationsClient - */ - public function getOperationsClient() - { - return $this->operationsClient; - } - - /** - * Resume an existing long running operation that was previously started by a long - * running API method. If $methodName is not provided, or does not match a long - * running API method, then the operation can still be resumed, but the - * OperationResponse object will not deserialize the final response. - * - * @param string $operationName The name of the long running operation - * @param string $methodName The name of the method used to start the operation - * - * @return OperationResponse - */ - public function resumeOperation($operationName, $methodName = null) - { - $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; - $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); - $operation->reload(); - return $operation; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - $this->operationsClient = $this->createOperationsClient($clientOptions); - } - - /** - * Add operations to the batch job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * Sample code: - * ``` - * $batchJobServiceClient = new BatchJobServiceClient(); - * try { - * $formattedResourceName = $batchJobServiceClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - * $mutateOperations = []; - * $response = $batchJobServiceClient->addBatchJobOperations($formattedResourceName, $mutateOperations); - * } finally { - * $batchJobServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the batch job. - * @param MutateOperation[] $mutateOperations Required. The list of mutates being added. - * - * Operations can use negative integers as temp ids to signify dependencies - * between entities created in this batch job. For example, a customer with - * id = 1234 can create a campaign and an ad group in that same campaign by - * creating a campaign in the first operation with the resource name - * explicitly set to "customers/1234/campaigns/-1", and creating an ad group - * in the second operation with the campaign field also set to - * "customers/1234/campaigns/-1". - * @param array $optionalArgs { - * Optional. - * - * @type string $sequenceToken - * A token used to enforce sequencing. - * - * The first AddBatchJobOperations request for a batch job should not set - * sequence_token. Subsequent requests must set sequence_token to the value of - * next_sequence_token received in the previous AddBatchJobOperations - * response. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\AddBatchJobOperationsResponse - * - * @throws ApiException if the remote call fails - */ - public function addBatchJobOperations($resourceName, $mutateOperations, array $optionalArgs = []) - { - $request = new AddBatchJobOperationsRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $request->setMutateOperations($mutateOperations); - $requestParamHeaders['resource_name'] = $resourceName; - if (isset($optionalArgs['sequenceToken'])) { - $request->setSequenceToken($optionalArgs['sequenceToken']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('AddBatchJobOperations', AddBatchJobOperationsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns the results of the batch job. The job must be done. - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $batchJobServiceClient = new BatchJobServiceClient(); - * try { - * $formattedResourceName = $batchJobServiceClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - * // Iterate over pages of elements - * $pagedResponse = $batchJobServiceClient->listBatchJobResults($formattedResourceName); - * foreach ($pagedResponse->iteratePages() as $page) { - * foreach ($page as $element) { - * // doSomethingWith($element); - * } - * } - * // Alternatively: - * // Iterate through all elements - * $pagedResponse = $batchJobServiceClient->listBatchJobResults($formattedResourceName); - * foreach ($pagedResponse->iterateAllElements() as $element) { - * // doSomethingWith($element); - * } - * } finally { - * $batchJobServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the batch job whose results are being - * listed. - * @param array $optionalArgs { - * Optional. - * - * @type string $pageToken - * A page token is used to specify a page of values to be returned. - * If no page token is specified (the default), the first page - * of values will be returned. Any page token used here must have - * been generated by a previous call to the API. - * @type int $pageSize - * The maximum number of resources contained in the underlying API - * response. The API may return fewer values in a page, even if - * there are additional values to be retrieved. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\PagedListResponse - * - * @throws ApiException if the remote call fails - */ - public function listBatchJobResults($resourceName, array $optionalArgs = []) - { - $request = new ListBatchJobResultsRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - if (isset($optionalArgs['pageToken'])) { - $request->setPageToken($optionalArgs['pageToken']); - } - - if (isset($optionalArgs['pageSize'])) { - $request->setPageSize($optionalArgs['pageSize']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('ListBatchJobResults', $optionalArgs, ListBatchJobResultsResponse::class, $request); - } - - /** - * Mutates a batch job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * Sample code: - * ``` - * $batchJobServiceClient = new BatchJobServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new BatchJobOperation(); - * $response = $batchJobServiceClient->mutateBatchJob($customerId, $operation); - * } finally { - * $batchJobServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer for which to create a batch job. - * @param BatchJobOperation $operation Required. The operation to perform on an individual batch job. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBatchJobResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateBatchJob($customerId, $operation, array $optionalArgs = []) - { - $request = new MutateBatchJobRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateBatchJob', MutateBatchJobResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Runs the batch job. - * - * The Operation.metadata field type is BatchJobMetadata. When finished, the - * long running operation will not contain errors or a response. Instead, use - * ListBatchJobResults to get the results of the job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BatchJobError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $batchJobServiceClient = new BatchJobServiceClient(); - * try { - * $formattedResourceName = $batchJobServiceClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - * $operationResponse = $batchJobServiceClient->runBatchJob($formattedResourceName); - * $operationResponse->pollUntilComplete(); - * if ($operationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $operationResponse->getError(); - * // handleError($error) - * } - * // Alternatively: - * // start the operation, keep the operation name, and resume later - * $operationResponse = $batchJobServiceClient->runBatchJob($formattedResourceName); - * $operationName = $operationResponse->getName(); - * // ... do other work - * $newOperationResponse = $batchJobServiceClient->resumeOperation($operationName, 'runBatchJob'); - * while (!$newOperationResponse->isDone()) { - * // ... do other work - * $newOperationResponse->reload(); - * } - * if ($newOperationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $newOperationResponse->getError(); - * // handleError($error) - * } - * } finally { - * $batchJobServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the BatchJob to run. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\OperationResponse - * - * @throws ApiException if the remote call fails - */ - public function runBatchJob($resourceName, array $optionalArgs = []) - { - $request = new RunBatchJobRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startOperationsCall('RunBatchJob', $optionalArgs, $request, $this->getOperationsClient())->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingDataExclusionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingDataExclusionServiceGapicClient.php deleted file mode 100644 index 16f27e721..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingDataExclusionServiceGapicClient.php +++ /dev/null @@ -1,344 +0,0 @@ -mutateBiddingDataExclusions($customerId, $operations); - * } finally { - * $biddingDataExclusionServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\BiddingDataExclusionServiceClient} to - * use the new surface. - */ -class BiddingDataExclusionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.BiddingDataExclusionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $biddingDataExclusionNameTemplate; - - private static $campaignNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/bidding_data_exclusion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/bidding_data_exclusion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/bidding_data_exclusion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/bidding_data_exclusion_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getBiddingDataExclusionNameTemplate() - { - if (self::$biddingDataExclusionNameTemplate == null) { - self::$biddingDataExclusionNameTemplate = new PathTemplate('customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}'); - } - - return self::$biddingDataExclusionNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'biddingDataExclusion' => self::getBiddingDataExclusionNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_data_exclusion resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_data_exclusion resource. - */ - public static function biddingDataExclusionName($customerId, $seasonalityEventId) - { - return self::getBiddingDataExclusionNameTemplate()->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - biddingDataExclusion: customers/{customer_id}/biddingDataExclusions/{seasonality_event_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes data exclusions. - * Operation statuses are returned. - * - * Sample code: - * ``` - * $biddingDataExclusionServiceClient = new BiddingDataExclusionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $biddingDataExclusionServiceClient->mutateBiddingDataExclusions($customerId, $operations); - * } finally { - * $biddingDataExclusionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose data exclusions are being modified. - * @param BiddingDataExclusionOperation[] $operations Required. The list of operations to perform on individual data exclusions. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateBiddingDataExclusions($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateBiddingDataExclusionsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateBiddingDataExclusions', MutateBiddingDataExclusionsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingSeasonalityAdjustmentServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingSeasonalityAdjustmentServiceGapicClient.php deleted file mode 100644 index cc305599c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingSeasonalityAdjustmentServiceGapicClient.php +++ /dev/null @@ -1,346 +0,0 @@ -mutateBiddingSeasonalityAdjustments($customerId, $operations); - * } finally { - * $biddingSeasonalityAdjustmentServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\BiddingSeasonalityAdjustmentServiceClient} - * to use the new surface. - */ -class BiddingSeasonalityAdjustmentServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $biddingSeasonalityAdjustmentNameTemplate; - - private static $campaignNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/bidding_seasonality_adjustment_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/bidding_seasonality_adjustment_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/bidding_seasonality_adjustment_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/bidding_seasonality_adjustment_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getBiddingSeasonalityAdjustmentNameTemplate() - { - if (self::$biddingSeasonalityAdjustmentNameTemplate == null) { - self::$biddingSeasonalityAdjustmentNameTemplate = new PathTemplate('customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}'); - } - - return self::$biddingSeasonalityAdjustmentNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'biddingSeasonalityAdjustment' => self::getBiddingSeasonalityAdjustmentNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_seasonality_adjustment resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_seasonality_adjustment resource. - */ - public static function biddingSeasonalityAdjustmentName($customerId, $seasonalityEventId) - { - return self::getBiddingSeasonalityAdjustmentNameTemplate()->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - biddingSeasonalityAdjustment: customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes seasonality adjustments. - * Operation statuses are returned. - * - * Sample code: - * ``` - * $biddingSeasonalityAdjustmentServiceClient = new BiddingSeasonalityAdjustmentServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $biddingSeasonalityAdjustmentServiceClient->mutateBiddingSeasonalityAdjustments($customerId, $operations); - * } finally { - * $biddingSeasonalityAdjustmentServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose seasonality adjustments are being - * modified. - * @param BiddingSeasonalityAdjustmentOperation[] $operations Required. The list of operations to perform on individual seasonality - * adjustments. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateBiddingSeasonalityAdjustments($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateBiddingSeasonalityAdjustmentsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateBiddingSeasonalityAdjustments', MutateBiddingSeasonalityAdjustmentsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingStrategyServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingStrategyServiceGapicClient.php deleted file mode 100644 index f327f97d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BiddingStrategyServiceGapicClient.php +++ /dev/null @@ -1,344 +0,0 @@ -mutateBiddingStrategies($customerId, $operations); - * } finally { - * $biddingStrategyServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\BiddingStrategyServiceClient} to use - * the new surface. - */ -class BiddingStrategyServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.BiddingStrategyService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $biddingStrategyNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/bidding_strategy_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/bidding_strategy_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/bidding_strategy_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/bidding_strategy_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getBiddingStrategyNameTemplate() - { - if (self::$biddingStrategyNameTemplate == null) { - self::$biddingStrategyNameTemplate = new PathTemplate('customers/{customer_id}/biddingStrategies/{bidding_strategy_id}'); - } - - return self::$biddingStrategyNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'biddingStrategy' => self::getBiddingStrategyNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted bidding_strategy resource. - */ - public static function biddingStrategyName($customerId, $biddingStrategyId) - { - return self::getBiddingStrategyNameTemplate()->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - biddingStrategy: customers/{customer_id}/biddingStrategies/{bidding_strategy_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes bidding strategies. Operation statuses are - * returned. - * - * List of thrown errors: - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [BiddingStrategyError]() - * [ContextError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $biddingStrategyServiceClient = new BiddingStrategyServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $biddingStrategyServiceClient->mutateBiddingStrategies($customerId, $operations); - * } finally { - * $biddingStrategyServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose bidding strategies are being - * modified. - * @param BiddingStrategyOperation[] $operations Required. The list of operations to perform on individual bidding - * strategies. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategiesResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateBiddingStrategies($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateBiddingStrategiesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateBiddingStrategies', MutateBiddingStrategiesResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BillingSetupServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/BillingSetupServiceGapicClient.php deleted file mode 100644 index 36d143a95..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BillingSetupServiceGapicClient.php +++ /dev/null @@ -1,340 +0,0 @@ -mutateBillingSetup($customerId, $operation); - * } finally { - * $billingSetupServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\BillingSetupServiceClient} to use the - * new surface. - */ -class BillingSetupServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.BillingSetupService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $billingSetupNameTemplate; - - private static $paymentsAccountNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/billing_setup_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/billing_setup_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/billing_setup_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/billing_setup_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getBillingSetupNameTemplate() - { - if (self::$billingSetupNameTemplate == null) { - self::$billingSetupNameTemplate = new PathTemplate('customers/{customer_id}/billingSetups/{billing_setup_id}'); - } - - return self::$billingSetupNameTemplate; - } - - private static function getPaymentsAccountNameTemplate() - { - if (self::$paymentsAccountNameTemplate == null) { - self::$paymentsAccountNameTemplate = new PathTemplate('customers/{customer_id}/paymentsAccounts/{payments_account_id}'); - } - - return self::$paymentsAccountNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'billingSetup' => self::getBillingSetupNameTemplate(), - 'paymentsAccount' => self::getPaymentsAccountNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * billing_setup resource. - * - * @param string $customerId - * @param string $billingSetupId - * - * @return string The formatted billing_setup resource. - */ - public static function billingSetupName($customerId, $billingSetupId) - { - return self::getBillingSetupNameTemplate()->render([ - 'customer_id' => $customerId, - 'billing_setup_id' => $billingSetupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * payments_account resource. - * - * @param string $customerId - * @param string $paymentsAccountId - * - * @return string The formatted payments_account resource. - */ - public static function paymentsAccountName($customerId, $paymentsAccountId) - { - return self::getPaymentsAccountNameTemplate()->render([ - 'customer_id' => $customerId, - 'payments_account_id' => $paymentsAccountId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - billingSetup: customers/{customer_id}/billingSetups/{billing_setup_id} - * - paymentsAccount: customers/{customer_id}/paymentsAccounts/{payments_account_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates a billing setup, or cancels an existing billing setup. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [BillingSetupError]() - * [DateError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $billingSetupServiceClient = new BillingSetupServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new BillingSetupOperation(); - * $response = $billingSetupServiceClient->mutateBillingSetup($customerId, $operation); - * } finally { - * $billingSetupServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. Id of the customer to apply the billing setup mutate operation - * to. - * @param BillingSetupOperation $operation Required. The operation to perform. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBillingSetupResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateBillingSetup($customerId, $operation, array $optionalArgs = []) - { - $request = new MutateBillingSetupRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateBillingSetup', MutateBillingSetupResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BrandSuggestionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/BrandSuggestionServiceGapicClient.php deleted file mode 100644 index 1efdd5f78..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/BrandSuggestionServiceGapicClient.php +++ /dev/null @@ -1,209 +0,0 @@ -suggestBrands($customerId, $brandPrefix); - * } finally { - * $brandSuggestionServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\BrandSuggestionServiceClient} to use - * the new surface. - */ -class BrandSuggestionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.BrandSuggestionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/brand_suggestion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/brand_suggestion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/brand_suggestion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/brand_suggestion_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Rpc to return a list of matching brands based on a prefix for this - * customer. - * - * Sample code: - * ``` - * $brandSuggestionServiceClient = new BrandSuggestionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $brandPrefix = 'brand_prefix'; - * $response = $brandSuggestionServiceClient->suggestBrands($customerId, $brandPrefix); - * } finally { - * $brandSuggestionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer onto which to apply the brand suggestion - * operation. - * @param string $brandPrefix Required. The prefix of a brand name. - * @param array $optionalArgs { - * Optional. - * - * @type string[] $selectedBrands - * Optional. Ids of the brands already selected by advertisers. They will be - * excluded in response. These are expected to be brand ids not brand names. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestBrandsResponse - * - * @throws ApiException if the remote call fails - */ - public function suggestBrands($customerId, $brandPrefix, array $optionalArgs = []) - { - $request = new SuggestBrandsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setBrandPrefix($brandPrefix); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['selectedBrands'])) { - $request->setSelectedBrands($optionalArgs['selectedBrands']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('SuggestBrands', SuggestBrandsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignAssetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignAssetServiceGapicClient.php deleted file mode 100644 index c1f742e95..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignAssetServiceGapicClient.php +++ /dev/null @@ -1,392 +0,0 @@ -mutateCampaignAssets($customerId, $operations); - * } finally { - * $campaignAssetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignAssetServiceClient} to use the - * new surface. - */ -class CampaignAssetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignAssetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetNameTemplate; - - private static $campaignNameTemplate; - - private static $campaignAssetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_asset_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignAssetNameTemplate() - { - if (self::$campaignAssetNameTemplate == null) { - self::$campaignAssetNameTemplate = new PathTemplate('customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}'); - } - - return self::$campaignAssetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'asset' => self::getAssetNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - 'campaignAsset' => self::getCampaignAssetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted campaign_asset resource. - */ - public static function campaignAssetName($customerId, $campaignId, $assetId, $fieldType) - { - return self::getCampaignAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignAsset: customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes campaign assets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NotAllowlistedError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $campaignAssetServiceClient = new CampaignAssetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignAssetServiceClient->mutateCampaignAssets($customerId, $operations); - * } finally { - * $campaignAssetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign assets are being modified. - * @param CampaignAssetOperation[] $operations Required. The list of operations to perform on individual campaign assets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignAssets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignAssetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignAssets', MutateCampaignAssetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignAssetSetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignAssetSetServiceGapicClient.php deleted file mode 100644 index 199fa26a0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignAssetSetServiceGapicClient.php +++ /dev/null @@ -1,378 +0,0 @@ -mutateCampaignAssetSets($customerId, $operations); - * } finally { - * $campaignAssetSetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignAssetSetServiceClient} to use - * the new surface. - */ -class CampaignAssetSetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignAssetSetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetSetNameTemplate; - - private static $campaignNameTemplate; - - private static $campaignAssetSetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_asset_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_asset_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_asset_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_asset_set_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetSetNameTemplate() - { - if (self::$assetSetNameTemplate == null) { - self::$assetSetNameTemplate = new PathTemplate('customers/{customer_id}/assetSets/{asset_set_id}'); - } - - return self::$assetSetNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignAssetSetNameTemplate() - { - if (self::$campaignAssetSetNameTemplate == null) { - self::$campaignAssetSetNameTemplate = new PathTemplate('customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}'); - } - - return self::$campaignAssetSetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'assetSet' => self::getAssetSetNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - 'campaignAssetSet' => self::getCampaignAssetSetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName($customerId, $assetSetId) - { - return self::getAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetSetId - * - * @return string The formatted campaign_asset_set resource. - */ - public static function campaignAssetSetName($customerId, $campaignId, $assetSetId) - { - return self::getCampaignAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignAssetSet: customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes campaign asset sets. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $campaignAssetSetServiceClient = new CampaignAssetSetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignAssetSetServiceClient->mutateCampaignAssetSets($customerId, $operations); - * } finally { - * $campaignAssetSetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign asset sets are being - * modified. - * @param CampaignAssetSetOperation[] $operations Required. The list of operations to perform on individual campaign asset - * sets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignAssetSets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignAssetSetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignAssetSets', MutateCampaignAssetSetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignBidModifierServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignBidModifierServiceGapicClient.php deleted file mode 100644 index 652d899e2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignBidModifierServiceGapicClient.php +++ /dev/null @@ -1,372 +0,0 @@ -mutateCampaignBidModifiers($customerId, $operations); - * } finally { - * $campaignBidModifierServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignBidModifierServiceClient} to - * use the new surface. - */ -class CampaignBidModifierServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignBidModifierService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignBidModifierNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_bid_modifier_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_bid_modifier_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_bid_modifier_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_bid_modifier_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignBidModifierNameTemplate() - { - if (self::$campaignBidModifierNameTemplate == null) { - self::$campaignBidModifierNameTemplate = new PathTemplate('customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}'); - } - - return self::$campaignBidModifierNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignBidModifier' => self::getCampaignBidModifierNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_bid_modifier resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_bid_modifier resource. - */ - public static function campaignBidModifierName($customerId, $campaignId, $criterionId) - { - return self::getCampaignBidModifierNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignBidModifier: customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes campaign bid modifiers. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ContextError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $campaignBidModifierServiceClient = new CampaignBidModifierServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignBidModifierServiceClient->mutateCampaignBidModifiers($customerId, $operations); - * } finally { - * $campaignBidModifierServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose campaign bid modifiers are being - * modified. - * @param CampaignBidModifierOperation[] $operations Required. The list of operations to perform on individual campaign bid - * modifiers. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifiersResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignBidModifiers($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignBidModifiersRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignBidModifiers', MutateCampaignBidModifiersResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignBudgetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignBudgetServiceGapicClient.php deleted file mode 100644 index 6e1ed4666..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignBudgetServiceGapicClient.php +++ /dev/null @@ -1,333 +0,0 @@ -mutateCampaignBudgets($customerId, $operations); - * } finally { - * $campaignBudgetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignBudgetServiceClient} to use - * the new surface. - */ -class CampaignBudgetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignBudgetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignBudgetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_budget_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_budget_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_budget_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_budget_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignBudgetNameTemplate() - { - if (self::$campaignBudgetNameTemplate == null) { - self::$campaignBudgetNameTemplate = new PathTemplate('customers/{customer_id}/campaignBudgets/{campaign_budget_id}'); - } - - return self::$campaignBudgetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaignBudget' => self::getCampaignBudgetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName($customerId, $campaignBudgetId) - { - return self::getCampaignBudgetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes campaign budgets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignBudgetError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [OperationAccessDeniedError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $campaignBudgetServiceClient = new CampaignBudgetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignBudgetServiceClient->mutateCampaignBudgets($customerId, $operations); - * } finally { - * $campaignBudgetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign budgets are being modified. - * @param CampaignBudgetOperation[] $operations Required. The list of operations to perform on individual campaign budgets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignBudgets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignBudgetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignBudgets', MutateCampaignBudgetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignConversionGoalServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignConversionGoalServiceGapicClient.php deleted file mode 100644 index 6887d3941..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignConversionGoalServiceGapicClient.php +++ /dev/null @@ -1,333 +0,0 @@ -mutateCampaignConversionGoals($customerId, $operations); - * } finally { - * $campaignConversionGoalServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignConversionGoalServiceClient} - * to use the new surface. - */ -class CampaignConversionGoalServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignConversionGoalService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignConversionGoalNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_conversion_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_conversion_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_conversion_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_conversion_goal_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignConversionGoalNameTemplate() - { - if (self::$campaignConversionGoalNameTemplate == null) { - self::$campaignConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}'); - } - - return self::$campaignConversionGoalNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignConversionGoal' => self::getCampaignConversionGoalNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_conversion_goal resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $category - * @param string $source - * - * @return string The formatted campaign_conversion_goal resource. - */ - public static function campaignConversionGoalName($customerId, $campaignId, $category, $source) - { - return self::getCampaignConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignConversionGoal: customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes campaign conversion goals. Operation statuses - * are returned. - * - * Sample code: - * ``` - * $campaignConversionGoalServiceClient = new CampaignConversionGoalServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignConversionGoalServiceClient->mutateCampaignConversionGoals($customerId, $operations); - * } finally { - * $campaignConversionGoalServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign conversion goals are being - * modified. - * @param CampaignConversionGoalOperation[] $operations Required. The list of operations to perform on individual campaign - * conversion goal. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignConversionGoals($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignConversionGoalsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignConversionGoals', MutateCampaignConversionGoalsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignCriterionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignCriterionServiceGapicClient.php deleted file mode 100644 index 150290560..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignCriterionServiceGapicClient.php +++ /dev/null @@ -1,462 +0,0 @@ -mutateCampaignCriteria($customerId, $operations); - * } finally { - * $campaignCriterionServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignCriterionServiceClient} to use - * the new surface. - */ -class CampaignCriterionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignCriterionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignCriterionNameTemplate; - - private static $combinedAudienceNameTemplate; - - private static $mobileAppCategoryConstantNameTemplate; - - private static $topicConstantNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_criterion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_criterion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_criterion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_criterion_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignCriterionNameTemplate() - { - if (self::$campaignCriterionNameTemplate == null) { - self::$campaignCriterionNameTemplate = new PathTemplate('customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}'); - } - - return self::$campaignCriterionNameTemplate; - } - - private static function getCombinedAudienceNameTemplate() - { - if (self::$combinedAudienceNameTemplate == null) { - self::$combinedAudienceNameTemplate = new PathTemplate('customers/{customer_id}/combinedAudiences/{combined_audience_id}'); - } - - return self::$combinedAudienceNameTemplate; - } - - private static function getMobileAppCategoryConstantNameTemplate() - { - if (self::$mobileAppCategoryConstantNameTemplate == null) { - self::$mobileAppCategoryConstantNameTemplate = new PathTemplate('mobileAppCategoryConstants/{mobile_app_category_id}'); - } - - return self::$mobileAppCategoryConstantNameTemplate; - } - - private static function getTopicConstantNameTemplate() - { - if (self::$topicConstantNameTemplate == null) { - self::$topicConstantNameTemplate = new PathTemplate('topicConstants/{topic_id}'); - } - - return self::$topicConstantNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignCriterion' => self::getCampaignCriterionNameTemplate(), - 'combinedAudience' => self::getCombinedAudienceNameTemplate(), - 'mobileAppCategoryConstant' => self::getMobileAppCategoryConstantNameTemplate(), - 'topicConstant' => self::getTopicConstantNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_criterion resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_criterion resource. - */ - public static function campaignCriterionName($customerId, $campaignId, $criterionId) - { - return self::getCampaignCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * combined_audience resource. - * - * @param string $customerId - * @param string $combinedAudienceId - * - * @return string The formatted combined_audience resource. - */ - public static function combinedAudienceName($customerId, $combinedAudienceId) - { - return self::getCombinedAudienceNameTemplate()->render([ - 'customer_id' => $customerId, - 'combined_audience_id' => $combinedAudienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName($mobileAppCategoryId) - { - return self::getMobileAppCategoryConstantNameTemplate()->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * topic_constant resource. - * - * @param string $topicId - * - * @return string The formatted topic_constant resource. - */ - public static function topicConstantName($topicId) - { - return self::getTopicConstantNameTemplate()->render([ - 'topic_id' => $topicId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignCriterion: customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id} - * - combinedAudience: customers/{customer_id}/combinedAudiences/{combined_audience_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - topicConstant: topicConstants/{topic_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes criteria. Operation statuses are returned. - * - * List of thrown errors: - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignCriterionError]() - * [CollectionSizeError]() - * [ContextError]() - * [CriterionError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RegionCodeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $campaignCriterionServiceClient = new CampaignCriterionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignCriterionServiceClient->mutateCampaignCriteria($customerId, $operations); - * } finally { - * $campaignCriterionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose criteria are being modified. - * @param CampaignCriterionOperation[] $operations Required. The list of operations to perform on individual criteria. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignCriteriaResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignCriteria($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignCriteriaRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignCriteria', MutateCampaignCriteriaResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignCustomizerServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignCustomizerServiceGapicClient.php deleted file mode 100644 index 44e765047..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignCustomizerServiceGapicClient.php +++ /dev/null @@ -1,378 +0,0 @@ -mutateCampaignCustomizers($customerId, $operations); - * } finally { - * $campaignCustomizerServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignCustomizerServiceClient} to - * use the new surface. - */ -class CampaignCustomizerServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignCustomizerService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignCustomizerNameTemplate; - - private static $customizerAttributeNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_customizer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_customizer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_customizer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_customizer_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignCustomizerNameTemplate() - { - if (self::$campaignCustomizerNameTemplate == null) { - self::$campaignCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}'); - } - - return self::$campaignCustomizerNameTemplate; - } - - private static function getCustomizerAttributeNameTemplate() - { - if (self::$customizerAttributeNameTemplate == null) { - self::$customizerAttributeNameTemplate = new PathTemplate('customers/{customer_id}/customizerAttributes/{customizer_attribute_id}'); - } - - return self::$customizerAttributeNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignCustomizer' => self::getCampaignCustomizerNameTemplate(), - 'customizerAttribute' => self::getCustomizerAttributeNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_customizer resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $customizerAttributeId - * - * @return string The formatted campaign_customizer resource. - */ - public static function campaignCustomizerName($customerId, $campaignId, $customizerAttributeId) - { - return self::getCampaignCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName($customerId, $customizerAttributeId) - { - return self::getCustomizerAttributeNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignCustomizer: customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes campaign customizers. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $campaignCustomizerServiceClient = new CampaignCustomizerServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignCustomizerServiceClient->mutateCampaignCustomizers($customerId, $operations); - * } finally { - * $campaignCustomizerServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign customizers are being - * modified. - * @param CampaignCustomizerOperation[] $operations Required. The list of operations to perform on individual campaign - * customizers. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizersResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignCustomizers($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignCustomizersRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignCustomizers', MutateCampaignCustomizersResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignDraftServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignDraftServiceGapicClient.php deleted file mode 100644 index e356b271f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignDraftServiceGapicClient.php +++ /dev/null @@ -1,572 +0,0 @@ -campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - * // Iterate over pages of elements - * $pagedResponse = $campaignDraftServiceClient->listCampaignDraftAsyncErrors($formattedResourceName); - * foreach ($pagedResponse->iteratePages() as $page) { - * foreach ($page as $element) { - * // doSomethingWith($element); - * } - * } - * // Alternatively: - * // Iterate through all elements - * $pagedResponse = $campaignDraftServiceClient->listCampaignDraftAsyncErrors($formattedResourceName); - * foreach ($pagedResponse->iterateAllElements() as $element) { - * // doSomethingWith($element); - * } - * } finally { - * $campaignDraftServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignDraftServiceClient} to use the - * new surface. - */ -class CampaignDraftServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignDraftService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignDraftNameTemplate; - - private static $pathTemplateMap; - - private $operationsClient; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_draft_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_draft_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_draft_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_draft_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignDraftNameTemplate() - { - if (self::$campaignDraftNameTemplate == null) { - self::$campaignDraftNameTemplate = new PathTemplate('customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}'); - } - - return self::$campaignDraftNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignDraft' => self::getCampaignDraftNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_draft resource. - * - * @param string $customerId - * @param string $baseCampaignId - * @param string $draftId - * - * @return string The formatted campaign_draft resource. - */ - public static function campaignDraftName($customerId, $baseCampaignId, $draftId) - { - return self::getCampaignDraftNameTemplate()->render([ - 'customer_id' => $customerId, - 'base_campaign_id' => $baseCampaignId, - 'draft_id' => $draftId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignDraft: customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Return an OperationsClient object with the same endpoint as $this. - * - * @return OperationsClient - */ - public function getOperationsClient() - { - return $this->operationsClient; - } - - /** - * Resume an existing long running operation that was previously started by a long - * running API method. If $methodName is not provided, or does not match a long - * running API method, then the operation can still be resumed, but the - * OperationResponse object will not deserialize the final response. - * - * @param string $operationName The name of the long running operation - * @param string $methodName The name of the method used to start the operation - * - * @return OperationResponse - */ - public function resumeOperation($operationName, $methodName = null) - { - $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; - $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); - $operation->reload(); - return $operation; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - $this->operationsClient = $this->createOperationsClient($clientOptions); - } - - /** - * Returns all errors that occurred during CampaignDraft promote. Throws an - * error if called before campaign draft is promoted. - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $campaignDraftServiceClient = new CampaignDraftServiceClient(); - * try { - * $formattedResourceName = $campaignDraftServiceClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - * // Iterate over pages of elements - * $pagedResponse = $campaignDraftServiceClient->listCampaignDraftAsyncErrors($formattedResourceName); - * foreach ($pagedResponse->iteratePages() as $page) { - * foreach ($page as $element) { - * // doSomethingWith($element); - * } - * } - * // Alternatively: - * // Iterate through all elements - * $pagedResponse = $campaignDraftServiceClient->listCampaignDraftAsyncErrors($formattedResourceName); - * foreach ($pagedResponse->iterateAllElements() as $element) { - * // doSomethingWith($element); - * } - * } finally { - * $campaignDraftServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The name of the campaign draft from which to retrieve the async - * errors. - * @param array $optionalArgs { - * Optional. - * - * @type string $pageToken - * A page token is used to specify a page of values to be returned. - * If no page token is specified (the default), the first page - * of values will be returned. Any page token used here must have - * been generated by a previous call to the API. - * @type int $pageSize - * The maximum number of resources contained in the underlying API - * response. The API may return fewer values in a page, even if - * there are additional values to be retrieved. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\PagedListResponse - * - * @throws ApiException if the remote call fails - */ - public function listCampaignDraftAsyncErrors($resourceName, array $optionalArgs = []) - { - $request = new ListCampaignDraftAsyncErrorsRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - if (isset($optionalArgs['pageToken'])) { - $request->setPageToken($optionalArgs['pageToken']); - } - - if (isset($optionalArgs['pageSize'])) { - $request->setPageSize($optionalArgs['pageSize']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('ListCampaignDraftAsyncErrors', $optionalArgs, ListCampaignDraftAsyncErrorsResponse::class, $request); - } - - /** - * Creates, updates, or removes campaign drafts. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignDraftError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $campaignDraftServiceClient = new CampaignDraftServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignDraftServiceClient->mutateCampaignDrafts($customerId, $operations); - * } finally { - * $campaignDraftServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign drafts are being modified. - * @param CampaignDraftOperation[] $operations Required. The list of operations to perform on individual campaign drafts. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignDrafts($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignDraftsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignDrafts', MutateCampaignDraftsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Promotes the changes in a draft back to the base campaign. - * - * This method returns a Long Running Operation (LRO) indicating if the - * Promote is done. Use [Operations.GetOperation] to poll the LRO until it - * is done. Only a done status is returned in the response. See the status - * in the Campaign Draft resource to determine if the promotion was - * successful. If the LRO failed, use - * [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v15.services.CampaignDraftService.ListCampaignDraftAsyncErrors] - * to view the list of error reasons. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignDraftError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $campaignDraftServiceClient = new CampaignDraftServiceClient(); - * try { - * $formattedCampaignDraft = $campaignDraftServiceClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - * $operationResponse = $campaignDraftServiceClient->promoteCampaignDraft($formattedCampaignDraft); - * $operationResponse->pollUntilComplete(); - * if ($operationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $operationResponse->getError(); - * // handleError($error) - * } - * // Alternatively: - * // start the operation, keep the operation name, and resume later - * $operationResponse = $campaignDraftServiceClient->promoteCampaignDraft($formattedCampaignDraft); - * $operationName = $operationResponse->getName(); - * // ... do other work - * $newOperationResponse = $campaignDraftServiceClient->resumeOperation($operationName, 'promoteCampaignDraft'); - * while (!$newOperationResponse->isDone()) { - * // ... do other work - * $newOperationResponse->reload(); - * } - * if ($newOperationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $newOperationResponse->getError(); - * // handleError($error) - * } - * } finally { - * $campaignDraftServiceClient->close(); - * } - * ``` - * - * @param string $campaignDraft Required. The resource name of the campaign draft to promote. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but no Long Running Operation is created. - * Only errors are returned. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\OperationResponse - * - * @throws ApiException if the remote call fails - */ - public function promoteCampaignDraft($campaignDraft, array $optionalArgs = []) - { - $request = new PromoteCampaignDraftRequest(); - $requestParamHeaders = []; - $request->setCampaignDraft($campaignDraft); - $requestParamHeaders['campaign_draft'] = $campaignDraft; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startOperationsCall('PromoteCampaignDraft', $optionalArgs, $request, $this->getOperationsClient())->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignExtensionSettingServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignExtensionSettingServiceGapicClient.php deleted file mode 100644 index f91449688..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignExtensionSettingServiceGapicClient.php +++ /dev/null @@ -1,407 +0,0 @@ -mutateCampaignExtensionSettings($customerId, $operations); - * } finally { - * $campaignExtensionSettingServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignExtensionSettingServiceClient} - * to use the new surface. - */ -class CampaignExtensionSettingServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignExtensionSettingService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignExtensionSettingNameTemplate; - - private static $extensionFeedItemNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_extension_setting_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_extension_setting_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_extension_setting_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_extension_setting_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignExtensionSettingNameTemplate() - { - if (self::$campaignExtensionSettingNameTemplate == null) { - self::$campaignExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}'); - } - - return self::$campaignExtensionSettingNameTemplate; - } - - private static function getExtensionFeedItemNameTemplate() - { - if (self::$extensionFeedItemNameTemplate == null) { - self::$extensionFeedItemNameTemplate = new PathTemplate('customers/{customer_id}/extensionFeedItems/{feed_item_id}'); - } - - return self::$extensionFeedItemNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignExtensionSetting' => self::getCampaignExtensionSettingNameTemplate(), - 'extensionFeedItem' => self::getExtensionFeedItemNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_extension_setting resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $extensionType - * - * @return string The formatted campaign_extension_setting resource. - */ - public static function campaignExtensionSettingName($customerId, $campaignId, $extensionType) - { - return self::getCampaignExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName($customerId, $feedItemId) - { - return self::getExtensionFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignExtensionSetting: customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes campaign extension settings. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [ExtensionSettingError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $campaignExtensionSettingServiceClient = new CampaignExtensionSettingServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignExtensionSettingServiceClient->mutateCampaignExtensionSettings($customerId, $operations); - * } finally { - * $campaignExtensionSettingServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign extension settings are - * being modified. - * @param CampaignExtensionSettingOperation[] $operations Required. The list of operations to perform on individual campaign - * extension settings. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignExtensionSettings($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignExtensionSettingsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignExtensionSettings', MutateCampaignExtensionSettingsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignFeedServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignFeedServiceGapicClient.php deleted file mode 100644 index 5b7ad9096..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignFeedServiceGapicClient.php +++ /dev/null @@ -1,401 +0,0 @@ -mutateCampaignFeeds($customerId, $operations); - * } finally { - * $campaignFeedServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignFeedServiceClient} to use the - * new surface. - */ -class CampaignFeedServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignFeedService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignFeedNameTemplate; - - private static $feedNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_feed_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_feed_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_feed_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_feed_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignFeedNameTemplate() - { - if (self::$campaignFeedNameTemplate == null) { - self::$campaignFeedNameTemplate = new PathTemplate('customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}'); - } - - return self::$campaignFeedNameTemplate; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignFeed' => self::getCampaignFeedNameTemplate(), - 'feed' => self::getFeedNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_feed resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $feedId - * - * @return string The formatted campaign_feed resource. - */ - public static function campaignFeedName($customerId, $campaignId, $feedId) - { - return self::getCampaignFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignFeed: customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes campaign feeds. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignFeedError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $campaignFeedServiceClient = new CampaignFeedServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignFeedServiceClient->mutateCampaignFeeds($customerId, $operations); - * } finally { - * $campaignFeedServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign feeds are being modified. - * @param CampaignFeedOperation[] $operations Required. The list of operations to perform on individual campaign feeds. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignFeeds($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignFeedsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignFeeds', MutateCampaignFeedsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignGroupServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignGroupServiceGapicClient.php deleted file mode 100644 index 8d85ac8df..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignGroupServiceGapicClient.php +++ /dev/null @@ -1,314 +0,0 @@ -mutateCampaignGroups($customerId, $operations); - * } finally { - * $campaignGroupServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignGroupServiceClient} to use the - * new surface. - */ -class CampaignGroupServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignGroupService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignGroupNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_group_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_group_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_group_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_group_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignGroupNameTemplate() - { - if (self::$campaignGroupNameTemplate == null) { - self::$campaignGroupNameTemplate = new PathTemplate('customers/{customer_id}/campaignGroups/{campaign_group_id}'); - } - - return self::$campaignGroupNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaignGroup' => self::getCampaignGroupNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_group resource. - * - * @param string $customerId - * @param string $campaignGroupId - * - * @return string The formatted campaign_group resource. - */ - public static function campaignGroupName($customerId, $campaignGroupId) - { - return self::getCampaignGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_group_id' => $campaignGroupId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaignGroup: customers/{customer_id}/campaignGroups/{campaign_group_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes campaign groups. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $campaignGroupServiceClient = new CampaignGroupServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignGroupServiceClient->mutateCampaignGroups($customerId, $operations); - * } finally { - * $campaignGroupServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign groups are being modified. - * @param CampaignGroupOperation[] $operations Required. The list of operations to perform on individual campaign groups. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignGroups($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignGroupsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignGroups', MutateCampaignGroupsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignLabelServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignLabelServiceGapicClient.php deleted file mode 100644 index 6d9d5de2e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignLabelServiceGapicClient.php +++ /dev/null @@ -1,383 +0,0 @@ -mutateCampaignLabels($customerId, $operations); - * } finally { - * $campaignLabelServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignLabelServiceClient} to use the - * new surface. - */ -class CampaignLabelServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignLabelService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignLabelNameTemplate; - - private static $labelNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_label_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignLabelNameTemplate() - { - if (self::$campaignLabelNameTemplate == null) { - self::$campaignLabelNameTemplate = new PathTemplate('customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}'); - } - - return self::$campaignLabelNameTemplate; - } - - private static function getLabelNameTemplate() - { - if (self::$labelNameTemplate == null) { - self::$labelNameTemplate = new PathTemplate('customers/{customer_id}/labels/{label_id}'); - } - - return self::$labelNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignLabel' => self::getCampaignLabelNameTemplate(), - 'label' => self::getLabelNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_label resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $labelId - * - * @return string The formatted campaign_label resource. - */ - public static function campaignLabelName($customerId, $campaignId, $labelId) - { - return self::getCampaignLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName($customerId, $labelId) - { - return self::getLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignLabel: customers/{customer_id}/campaignLabels/{campaign_id}~{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates and removes campaign-label relationships. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $campaignLabelServiceClient = new CampaignLabelServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignLabelServiceClient->mutateCampaignLabels($customerId, $operations); - * } finally { - * $campaignLabelServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose campaign-label relationships are being - * modified. - * @param CampaignLabelOperation[] $operations Required. The list of operations to perform on campaign-label - * relationships. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignLabels($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignLabelsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignLabels', MutateCampaignLabelsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignLifecycleGoalServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignLifecycleGoalServiceGapicClient.php deleted file mode 100644 index f324b88dd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignLifecycleGoalServiceGapicClient.php +++ /dev/null @@ -1,335 +0,0 @@ -configureCampaignLifecycleGoals($customerId, $operation); - * } finally { - * $campaignLifecycleGoalServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignLifecycleGoalServiceClient} to - * use the new surface. - */ -class CampaignLifecycleGoalServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignLifecycleGoalService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignLifecycleGoalNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_lifecycle_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_lifecycle_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_lifecycle_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_lifecycle_goal_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignLifecycleGoalNameTemplate() - { - if (self::$campaignLifecycleGoalNameTemplate == null) { - self::$campaignLifecycleGoalNameTemplate = new PathTemplate('customers/{customer_id}/campaignLifecycleGoals/{campaign_id}'); - } - - return self::$campaignLifecycleGoalNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignLifecycleGoal' => self::getCampaignLifecycleGoalNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_lifecycle_goal resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign_lifecycle_goal resource. - */ - public static function campaignLifecycleGoalName($customerId, $campaignId) - { - return self::getCampaignLifecycleGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignLifecycleGoal: customers/{customer_id}/campaignLifecycleGoals/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Process the given campaign lifecycle configurations. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignLifecycleGoalConfigError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $campaignLifecycleGoalServiceClient = new CampaignLifecycleGoalServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new CampaignLifecycleGoalOperation(); - * $response = $campaignLifecycleGoalServiceClient->configureCampaignLifecycleGoals($customerId, $operation); - * } finally { - * $campaignLifecycleGoalServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer performing the upload. - * @param CampaignLifecycleGoalOperation $operation Required. The operation to perform campaign lifecycle goal update. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ConfigureCampaignLifecycleGoalsResponse - * - * @throws ApiException if the remote call fails - */ - public function configureCampaignLifecycleGoals($customerId, $operation, array $optionalArgs = []) - { - $request = new ConfigureCampaignLifecycleGoalsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('ConfigureCampaignLifecycleGoals', ConfigureCampaignLifecycleGoalsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignServiceGapicClient.php deleted file mode 100644 index 24b0e0b1b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignServiceGapicClient.php +++ /dev/null @@ -1,592 +0,0 @@ -mutateCampaigns($customerId, $operations); - * } finally { - * $campaignServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignServiceClient} to use the new - * surface. - */ -class CampaignServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $accessibleBiddingStrategyNameTemplate; - - private static $assetSetNameTemplate; - - private static $biddingStrategyNameTemplate; - - private static $campaignNameTemplate; - - private static $campaignBudgetNameTemplate; - - private static $campaignGroupNameTemplate; - - private static $campaignLabelNameTemplate; - - private static $conversionActionNameTemplate; - - private static $feedNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAccessibleBiddingStrategyNameTemplate() - { - if (self::$accessibleBiddingStrategyNameTemplate == null) { - self::$accessibleBiddingStrategyNameTemplate = new PathTemplate('customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}'); - } - - return self::$accessibleBiddingStrategyNameTemplate; - } - - private static function getAssetSetNameTemplate() - { - if (self::$assetSetNameTemplate == null) { - self::$assetSetNameTemplate = new PathTemplate('customers/{customer_id}/assetSets/{asset_set_id}'); - } - - return self::$assetSetNameTemplate; - } - - private static function getBiddingStrategyNameTemplate() - { - if (self::$biddingStrategyNameTemplate == null) { - self::$biddingStrategyNameTemplate = new PathTemplate('customers/{customer_id}/biddingStrategies/{bidding_strategy_id}'); - } - - return self::$biddingStrategyNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignBudgetNameTemplate() - { - if (self::$campaignBudgetNameTemplate == null) { - self::$campaignBudgetNameTemplate = new PathTemplate('customers/{customer_id}/campaignBudgets/{campaign_budget_id}'); - } - - return self::$campaignBudgetNameTemplate; - } - - private static function getCampaignGroupNameTemplate() - { - if (self::$campaignGroupNameTemplate == null) { - self::$campaignGroupNameTemplate = new PathTemplate('customers/{customer_id}/campaignGroups/{campaign_group_id}'); - } - - return self::$campaignGroupNameTemplate; - } - - private static function getCampaignLabelNameTemplate() - { - if (self::$campaignLabelNameTemplate == null) { - self::$campaignLabelNameTemplate = new PathTemplate('customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}'); - } - - return self::$campaignLabelNameTemplate; - } - - private static function getConversionActionNameTemplate() - { - if (self::$conversionActionNameTemplate == null) { - self::$conversionActionNameTemplate = new PathTemplate('customers/{customer_id}/conversionActions/{conversion_action_id}'); - } - - return self::$conversionActionNameTemplate; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'accessibleBiddingStrategy' => self::getAccessibleBiddingStrategyNameTemplate(), - 'assetSet' => self::getAssetSetNameTemplate(), - 'biddingStrategy' => self::getBiddingStrategyNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - 'campaignBudget' => self::getCampaignBudgetNameTemplate(), - 'campaignGroup' => self::getCampaignGroupNameTemplate(), - 'campaignLabel' => self::getCampaignLabelNameTemplate(), - 'conversionAction' => self::getConversionActionNameTemplate(), - 'feed' => self::getFeedNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * accessible_bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted accessible_bidding_strategy resource. - */ - public static function accessibleBiddingStrategyName($customerId, $biddingStrategyId) - { - return self::getAccessibleBiddingStrategyNameTemplate()->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName($customerId, $assetSetId) - { - return self::getAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted bidding_strategy resource. - */ - public static function biddingStrategyName($customerId, $biddingStrategyId) - { - return self::getBiddingStrategyNameTemplate()->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName($customerId, $campaignBudgetId) - { - return self::getCampaignBudgetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_group resource. - * - * @param string $customerId - * @param string $campaignGroupId - * - * @return string The formatted campaign_group resource. - */ - public static function campaignGroupName($customerId, $campaignGroupId) - { - return self::getCampaignGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_group_id' => $campaignGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_label resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $labelId - * - * @return string The formatted campaign_label resource. - */ - public static function campaignLabelName($customerId, $campaignId, $labelId) - { - return self::getCampaignLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName($customerId, $conversionActionId) - { - return self::getConversionActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accessibleBiddingStrategy: customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - biddingStrategy: customers/{customer_id}/biddingStrategies/{bidding_strategy_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - campaignGroup: customers/{customer_id}/campaignGroups/{campaign_group_id} - * - campaignLabel: customers/{customer_id}/campaignLabels/{campaign_id}~{label_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes campaigns. Operation statuses are returned. - * - * List of thrown errors: - * [AdxError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [BiddingStrategyError]() - * [CampaignBudgetError]() - * [CampaignError]() - * [ContextError]() - * [DatabaseError]() - * [DateError]() - * [DateRangeError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotAllowlistedError]() - * [NotEmptyError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RegionCodeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SettingError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $campaignServiceClient = new CampaignServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignServiceClient->mutateCampaigns($customerId, $operations); - * } finally { - * $campaignServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaigns are being modified. - * @param CampaignOperation[] $operations Required. The list of operations to perform on individual campaigns. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaigns($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaigns', MutateCampaignsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignSharedSetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignSharedSetServiceGapicClient.php deleted file mode 100644 index 7228a673e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CampaignSharedSetServiceGapicClient.php +++ /dev/null @@ -1,401 +0,0 @@ -mutateCampaignSharedSets($customerId, $operations); - * } finally { - * $campaignSharedSetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CampaignSharedSetServiceClient} to use - * the new surface. - */ -class CampaignSharedSetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CampaignSharedSetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignSharedSetNameTemplate; - - private static $sharedSetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/campaign_shared_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/campaign_shared_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/campaign_shared_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/campaign_shared_set_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignSharedSetNameTemplate() - { - if (self::$campaignSharedSetNameTemplate == null) { - self::$campaignSharedSetNameTemplate = new PathTemplate('customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}'); - } - - return self::$campaignSharedSetNameTemplate; - } - - private static function getSharedSetNameTemplate() - { - if (self::$sharedSetNameTemplate == null) { - self::$sharedSetNameTemplate = new PathTemplate('customers/{customer_id}/sharedSets/{shared_set_id}'); - } - - return self::$sharedSetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignSharedSet' => self::getCampaignSharedSetNameTemplate(), - 'sharedSet' => self::getSharedSetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_shared_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $sharedSetId - * - * @return string The formatted campaign_shared_set resource. - */ - public static function campaignSharedSetName($customerId, $campaignId, $sharedSetId) - { - return self::getCampaignSharedSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName($customerId, $sharedSetId) - { - return self::getSharedSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignSharedSet: customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id} - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or removes campaign shared sets. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CampaignSharedSetError]() - * [ContextError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $campaignSharedSetServiceClient = new CampaignSharedSetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $campaignSharedSetServiceClient->mutateCampaignSharedSets($customerId, $operations); - * } finally { - * $campaignSharedSetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign shared sets are being - * modified. - * @param CampaignSharedSetOperation[] $operations Required. The list of operations to perform on individual campaign shared - * sets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCampaignSharedSets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCampaignSharedSetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCampaignSharedSets', MutateCampaignSharedSetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionActionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionActionServiceGapicClient.php deleted file mode 100644 index 1066a0289..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionActionServiceGapicClient.php +++ /dev/null @@ -1,362 +0,0 @@ -mutateConversionActions($customerId, $operations); - * } finally { - * $conversionActionServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ConversionActionServiceClient} to use - * the new surface. - */ -class ConversionActionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ConversionActionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $conversionActionNameTemplate; - - private static $customerNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_action_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_action_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_action_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_action_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getConversionActionNameTemplate() - { - if (self::$conversionActionNameTemplate == null) { - self::$conversionActionNameTemplate = new PathTemplate('customers/{customer_id}/conversionActions/{conversion_action_id}'); - } - - return self::$conversionActionNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'conversionAction' => self::getConversionActionNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName($customerId, $conversionActionId) - { - return self::getConversionActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes conversion actions. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ConversionActionError]() - * [CurrencyCodeError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $conversionActionServiceClient = new ConversionActionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $conversionActionServiceClient->mutateConversionActions($customerId, $operations); - * } finally { - * $conversionActionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose conversion actions are being - * modified. - * @param ConversionActionOperation[] $operations Required. The list of operations to perform on individual conversion - * actions. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionActionsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateConversionActions($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateConversionActionsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateConversionActions', MutateConversionActionsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionAdjustmentUploadServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionAdjustmentUploadServiceGapicClient.php deleted file mode 100644 index 522dbe76a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionAdjustmentUploadServiceGapicClient.php +++ /dev/null @@ -1,237 +0,0 @@ -uploadConversionAdjustments($customerId, $conversionAdjustments, $partialFailure); - * } finally { - * $conversionAdjustmentUploadServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ConversionAdjustmentUploadServiceClient} - * to use the new surface. - */ -class ConversionAdjustmentUploadServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ConversionAdjustmentUploadService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_adjustment_upload_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_adjustment_upload_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_adjustment_upload_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_adjustment_upload_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Processes the given conversion adjustments. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [PartialFailureError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $conversionAdjustmentUploadServiceClient = new ConversionAdjustmentUploadServiceClient(); - * try { - * $customerId = 'customer_id'; - * $conversionAdjustments = []; - * $partialFailure = false; - * $response = $conversionAdjustmentUploadServiceClient->uploadConversionAdjustments($customerId, $conversionAdjustments, $partialFailure); - * } finally { - * $conversionAdjustmentUploadServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer performing the upload. - * @param ConversionAdjustment[] $conversionAdjustments Required. The conversion adjustments that are being uploaded. - * @param bool $partialFailure Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried out - * in one transaction if and only if they are all valid. This should always be - * set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $jobId - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadConversionAdjustmentsResponse`. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\UploadConversionAdjustmentsResponse - * - * @throws ApiException if the remote call fails - */ - public function uploadConversionAdjustments($customerId, $conversionAdjustments, $partialFailure, array $optionalArgs = []) - { - $request = new UploadConversionAdjustmentsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setConversionAdjustments($conversionAdjustments); - $request->setPartialFailure($partialFailure); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['jobId'])) { - $request->setJobId($optionalArgs['jobId']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('UploadConversionAdjustments', UploadConversionAdjustmentsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionCustomVariableServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionCustomVariableServiceGapicClient.php deleted file mode 100644 index f94984815..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionCustomVariableServiceGapicClient.php +++ /dev/null @@ -1,354 +0,0 @@ -mutateConversionCustomVariables($customerId, $operations); - * } finally { - * $conversionCustomVariableServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ConversionCustomVariableServiceClient} - * to use the new surface. - */ -class ConversionCustomVariableServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ConversionCustomVariableService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $conversionCustomVariableNameTemplate; - - private static $customerNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_custom_variable_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_custom_variable_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_custom_variable_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_custom_variable_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getConversionCustomVariableNameTemplate() - { - if (self::$conversionCustomVariableNameTemplate == null) { - self::$conversionCustomVariableNameTemplate = new PathTemplate('customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}'); - } - - return self::$conversionCustomVariableNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'conversionCustomVariable' => self::getConversionCustomVariableNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_custom_variable resource. - * - * @param string $customerId - * @param string $conversionCustomVariableId - * - * @return string The formatted conversion_custom_variable resource. - */ - public static function conversionCustomVariableName($customerId, $conversionCustomVariableId) - { - return self::getConversionCustomVariableNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_custom_variable_id' => $conversionCustomVariableId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionCustomVariable: customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or updates conversion custom variables. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ConversionCustomVariableError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $conversionCustomVariableServiceClient = new ConversionCustomVariableServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $conversionCustomVariableServiceClient->mutateConversionCustomVariables($customerId, $operations); - * } finally { - * $conversionCustomVariableServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose conversion custom variables are - * being modified. - * @param ConversionCustomVariableOperation[] $operations Required. The list of operations to perform on individual conversion custom - * variables. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariablesResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateConversionCustomVariables($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateConversionCustomVariablesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateConversionCustomVariables', MutateConversionCustomVariablesResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionGoalCampaignConfigServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionGoalCampaignConfigServiceGapicClient.php deleted file mode 100644 index 69a6d2cc7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionGoalCampaignConfigServiceGapicClient.php +++ /dev/null @@ -1,367 +0,0 @@ -mutateConversionGoalCampaignConfigs($customerId, $operations); - * } finally { - * $conversionGoalCampaignConfigServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ConversionGoalCampaignConfigServiceClient} - * to use the new surface. - */ -class ConversionGoalCampaignConfigServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ConversionGoalCampaignConfigService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $conversionGoalCampaignConfigNameTemplate; - - private static $customConversionGoalNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_goal_campaign_config_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_goal_campaign_config_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_goal_campaign_config_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_goal_campaign_config_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getConversionGoalCampaignConfigNameTemplate() - { - if (self::$conversionGoalCampaignConfigNameTemplate == null) { - self::$conversionGoalCampaignConfigNameTemplate = new PathTemplate('customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}'); - } - - return self::$conversionGoalCampaignConfigNameTemplate; - } - - private static function getCustomConversionGoalNameTemplate() - { - if (self::$customConversionGoalNameTemplate == null) { - self::$customConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/customConversionGoals/{goal_id}'); - } - - return self::$customConversionGoalNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'conversionGoalCampaignConfig' => self::getConversionGoalCampaignConfigNameTemplate(), - 'customConversionGoal' => self::getCustomConversionGoalNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_goal_campaign_config resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted conversion_goal_campaign_config resource. - */ - public static function conversionGoalCampaignConfigName($customerId, $campaignId) - { - return self::getConversionGoalCampaignConfigNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_conversion_goal resource. - * - * @param string $customerId - * @param string $goalId - * - * @return string The formatted custom_conversion_goal resource. - */ - public static function customConversionGoalName($customerId, $goalId) - { - return self::getCustomConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'goal_id' => $goalId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - conversionGoalCampaignConfig: customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id} - * - customConversionGoal: customers/{customer_id}/customConversionGoals/{goal_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes conversion goal campaign config. Operation - * statuses are returned. - * - * Sample code: - * ``` - * $conversionGoalCampaignConfigServiceClient = new ConversionGoalCampaignConfigServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $conversionGoalCampaignConfigServiceClient->mutateConversionGoalCampaignConfigs($customerId, $operations); - * } finally { - * $conversionGoalCampaignConfigServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose custom conversion goals are being - * modified. - * @param ConversionGoalCampaignConfigOperation[] $operations Required. The list of operations to perform on individual conversion goal - * campaign config. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateConversionGoalCampaignConfigs($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateConversionGoalCampaignConfigsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateConversionGoalCampaignConfigs', MutateConversionGoalCampaignConfigsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionUploadServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionUploadServiceGapicClient.php deleted file mode 100644 index 011cb34f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionUploadServiceGapicClient.php +++ /dev/null @@ -1,419 +0,0 @@ -uploadCallConversions($customerId, $conversions, $partialFailure); - * } finally { - * $conversionUploadServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ConversionUploadServiceClient} to use - * the new surface. - */ -class ConversionUploadServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ConversionUploadService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $conversionCustomVariableNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_upload_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_upload_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_upload_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_upload_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getConversionCustomVariableNameTemplate() - { - if (self::$conversionCustomVariableNameTemplate == null) { - self::$conversionCustomVariableNameTemplate = new PathTemplate('customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}'); - } - - return self::$conversionCustomVariableNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'conversionCustomVariable' => self::getConversionCustomVariableNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_custom_variable resource. - * - * @param string $customerId - * @param string $conversionCustomVariableId - * - * @return string The formatted conversion_custom_variable resource. - */ - public static function conversionCustomVariableName($customerId, $conversionCustomVariableId) - { - return self::getConversionCustomVariableNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_custom_variable_id' => $conversionCustomVariableId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionCustomVariable: customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Processes the given call conversions. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [PartialFailureError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $conversionUploadServiceClient = new ConversionUploadServiceClient(); - * try { - * $customerId = 'customer_id'; - * $conversions = []; - * $partialFailure = false; - * $response = $conversionUploadServiceClient->uploadCallConversions($customerId, $conversions, $partialFailure); - * } finally { - * $conversionUploadServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer performing the upload. - * @param CallConversion[] $conversions Required. The conversions that are being uploaded. - * @param bool $partialFailure Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\UploadCallConversionsResponse - * - * @throws ApiException if the remote call fails - */ - public function uploadCallConversions($customerId, $conversions, $partialFailure, array $optionalArgs = []) - { - $request = new UploadCallConversionsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setConversions($conversions); - $request->setPartialFailure($partialFailure); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('UploadCallConversions', UploadCallConversionsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Processes the given click conversions. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ConversionUploadError]() - * [HeaderError]() - * [InternalError]() - * [PartialFailureError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $conversionUploadServiceClient = new ConversionUploadServiceClient(); - * try { - * $customerId = 'customer_id'; - * $conversions = []; - * $partialFailure = false; - * $response = $conversionUploadServiceClient->uploadClickConversions($customerId, $conversions, $partialFailure); - * } finally { - * $conversionUploadServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer performing the upload. - * @param ClickConversion[] $conversions Required. The conversions that are being uploaded. - * @param bool $partialFailure Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type bool $debugEnabled - * If true, the API will perform all upload checks and return errors if - * any are found. If false, it will perform only basic input validation, - * skip subsequent upload checks, and return success even if no click - * was found for the provided `user_identifiers`. - * - * This setting only affects Enhanced conversions for leads uploads that use - * `user_identifiers` instead of `GCLID`, `GBRAID`, or `WBRAID`. When - * uploading enhanced conversions for leads, you should upload all conversion - * events to the API, including those that may not come from Google Ads - * campaigns. The upload of an event that is not from a Google Ads campaign - * will result in a `CLICK_NOT_FOUND` error if this field is set to `true`. - * Since these errors are expected for such events, set this field to `false` - * so you can confirm your uploads are properly formatted but ignore - * `CLICK_NOT_FOUND` errors from all of the conversions that are not from a - * Google Ads campaign. This will allow you to focus only on errors that you - * can address. - * - * Default is false. - * @type int $jobId - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadClickConversionsResponse`. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\UploadClickConversionsResponse - * - * @throws ApiException if the remote call fails - */ - public function uploadClickConversions($customerId, $conversions, $partialFailure, array $optionalArgs = []) - { - $request = new UploadClickConversionsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setConversions($conversions); - $request->setPartialFailure($partialFailure); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['debugEnabled'])) { - $request->setDebugEnabled($optionalArgs['debugEnabled']); - } - - if (isset($optionalArgs['jobId'])) { - $request->setJobId($optionalArgs['jobId']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('UploadClickConversions', UploadClickConversionsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionValueRuleServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionValueRuleServiceGapicClient.php deleted file mode 100644 index 53373b25d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionValueRuleServiceGapicClient.php +++ /dev/null @@ -1,432 +0,0 @@ -mutateConversionValueRules($customerId, $operations); - * } finally { - * $conversionValueRuleServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ConversionValueRuleServiceClient} to - * use the new surface. - */ -class ConversionValueRuleServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ConversionValueRuleService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $conversionValueRuleNameTemplate; - - private static $customerNameTemplate; - - private static $geoTargetConstantNameTemplate; - - private static $userInterestNameTemplate; - - private static $userListNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_value_rule_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_value_rule_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_value_rule_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_value_rule_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getConversionValueRuleNameTemplate() - { - if (self::$conversionValueRuleNameTemplate == null) { - self::$conversionValueRuleNameTemplate = new PathTemplate('customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}'); - } - - return self::$conversionValueRuleNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getGeoTargetConstantNameTemplate() - { - if (self::$geoTargetConstantNameTemplate == null) { - self::$geoTargetConstantNameTemplate = new PathTemplate('geoTargetConstants/{criterion_id}'); - } - - return self::$geoTargetConstantNameTemplate; - } - - private static function getUserInterestNameTemplate() - { - if (self::$userInterestNameTemplate == null) { - self::$userInterestNameTemplate = new PathTemplate('customers/{customer_id}/userInterests/{user_interest_id}'); - } - - return self::$userInterestNameTemplate; - } - - private static function getUserListNameTemplate() - { - if (self::$userListNameTemplate == null) { - self::$userListNameTemplate = new PathTemplate('customers/{customer_id}/userLists/{user_list_id}'); - } - - return self::$userListNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'conversionValueRule' => self::getConversionValueRuleNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - 'geoTargetConstant' => self::getGeoTargetConstantNameTemplate(), - 'userInterest' => self::getUserInterestNameTemplate(), - 'userList' => self::getUserListNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule resource. - * - * @param string $customerId - * @param string $conversionValueRuleId - * - * @return string The formatted conversion_value_rule resource. - */ - public static function conversionValueRuleName($customerId, $conversionValueRuleId) - { - return self::getConversionValueRuleNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_id' => $conversionValueRuleId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName($criterionId) - { - return self::getGeoTargetConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * user_interest resource. - * - * @param string $customerId - * @param string $userInterestId - * - * @return string The formatted user_interest resource. - */ - public static function userInterestName($customerId, $userInterestId) - { - return self::getUserInterestNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_interest_id' => $userInterestId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName($customerId, $userListId) - { - return self::getUserListNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionValueRule: customers/{customer_id}/conversionValueRules/{conversion_value_rule_id} - * - customer: customers/{customer_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - userInterest: customers/{customer_id}/userInterests/{user_interest_id} - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes conversion value rules. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $conversionValueRuleServiceClient = new ConversionValueRuleServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $conversionValueRuleServiceClient->mutateConversionValueRules($customerId, $operations); - * } finally { - * $conversionValueRuleServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose conversion value rules are being - * modified. - * @param ConversionValueRuleOperation[] $operations Required. The list of operations to perform on individual conversion value - * rules. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRulesResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateConversionValueRules($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateConversionValueRulesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateConversionValueRules', MutateConversionValueRulesResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionValueRuleSetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionValueRuleSetServiceGapicClient.php deleted file mode 100644 index f86944859..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ConversionValueRuleSetServiceGapicClient.php +++ /dev/null @@ -1,404 +0,0 @@ -mutateConversionValueRuleSets($customerId, $operations); - * } finally { - * $conversionValueRuleSetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ConversionValueRuleSetServiceClient} - * to use the new surface. - */ -class ConversionValueRuleSetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ConversionValueRuleSetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $conversionValueRuleNameTemplate; - - private static $conversionValueRuleSetNameTemplate; - - private static $customerNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/conversion_value_rule_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/conversion_value_rule_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/conversion_value_rule_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/conversion_value_rule_set_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getConversionValueRuleNameTemplate() - { - if (self::$conversionValueRuleNameTemplate == null) { - self::$conversionValueRuleNameTemplate = new PathTemplate('customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}'); - } - - return self::$conversionValueRuleNameTemplate; - } - - private static function getConversionValueRuleSetNameTemplate() - { - if (self::$conversionValueRuleSetNameTemplate == null) { - self::$conversionValueRuleSetNameTemplate = new PathTemplate('customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}'); - } - - return self::$conversionValueRuleSetNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'conversionValueRule' => self::getConversionValueRuleNameTemplate(), - 'conversionValueRuleSet' => self::getConversionValueRuleSetNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule resource. - * - * @param string $customerId - * @param string $conversionValueRuleId - * - * @return string The formatted conversion_value_rule resource. - */ - public static function conversionValueRuleName($customerId, $conversionValueRuleId) - { - return self::getConversionValueRuleNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_id' => $conversionValueRuleId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule_set resource. - * - * @param string $customerId - * @param string $conversionValueRuleSetId - * - * @return string The formatted conversion_value_rule_set resource. - */ - public static function conversionValueRuleSetName($customerId, $conversionValueRuleSetId) - { - return self::getConversionValueRuleSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_set_id' => $conversionValueRuleSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - conversionValueRule: customers/{customer_id}/conversionValueRules/{conversion_value_rule_id} - * - conversionValueRuleSet: customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes conversion value rule sets. Operation statuses - * are returned. - * - * Sample code: - * ``` - * $conversionValueRuleSetServiceClient = new ConversionValueRuleSetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $conversionValueRuleSetServiceClient->mutateConversionValueRuleSets($customerId, $operations); - * } finally { - * $conversionValueRuleSetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose conversion value rule sets are being - * modified. - * @param ConversionValueRuleSetOperation[] $operations Required. The list of operations to perform on individual conversion value - * rule sets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateConversionValueRuleSets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateConversionValueRuleSetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateConversionValueRuleSets', MutateConversionValueRuleSetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomAudienceServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomAudienceServiceGapicClient.php deleted file mode 100644 index ac605443b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomAudienceServiceGapicClient.php +++ /dev/null @@ -1,311 +0,0 @@ -mutateCustomAudiences($customerId, $operations); - * } finally { - * $customAudienceServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomAudienceServiceClient} to use - * the new surface. - */ -class CustomAudienceServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomAudienceService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customAudienceNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/custom_audience_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_audience_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/custom_audience_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/custom_audience_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomAudienceNameTemplate() - { - if (self::$customAudienceNameTemplate == null) { - self::$customAudienceNameTemplate = new PathTemplate('customers/{customer_id}/customAudiences/{custom_audience_id}'); - } - - return self::$customAudienceNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customAudience' => self::getCustomAudienceNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_audience resource. - * - * @param string $customerId - * @param string $customAudienceId - * - * @return string The formatted custom_audience resource. - */ - public static function customAudienceName($customerId, $customAudienceId) - { - return self::getCustomAudienceNameTemplate()->render([ - 'customer_id' => $customerId, - 'custom_audience_id' => $customAudienceId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customAudience: customers/{customer_id}/customAudiences/{custom_audience_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or updates custom audiences. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CustomAudienceError]() - * [CustomInterestError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [OperationAccessDeniedError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customAudienceServiceClient = new CustomAudienceServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customAudienceServiceClient->mutateCustomAudiences($customerId, $operations); - * } finally { - * $customAudienceServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose custom audiences are being modified. - * @param CustomAudienceOperation[] $operations Required. The list of operations to perform on individual custom audiences. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomAudiencesResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomAudiences($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomAudiencesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomAudiences', MutateCustomAudiencesResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomConversionGoalServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomConversionGoalServiceGapicClient.php deleted file mode 100644 index ab13c1ea4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomConversionGoalServiceGapicClient.php +++ /dev/null @@ -1,337 +0,0 @@ -mutateCustomConversionGoals($customerId, $operations); - * } finally { - * $customConversionGoalServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomConversionGoalServiceClient} to - * use the new surface. - */ -class CustomConversionGoalServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomConversionGoalService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $conversionActionNameTemplate; - - private static $customConversionGoalNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/custom_conversion_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_conversion_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/custom_conversion_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/custom_conversion_goal_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getConversionActionNameTemplate() - { - if (self::$conversionActionNameTemplate == null) { - self::$conversionActionNameTemplate = new PathTemplate('customers/{customer_id}/conversionActions/{conversion_action_id}'); - } - - return self::$conversionActionNameTemplate; - } - - private static function getCustomConversionGoalNameTemplate() - { - if (self::$customConversionGoalNameTemplate == null) { - self::$customConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/customConversionGoals/{goal_id}'); - } - - return self::$customConversionGoalNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'conversionAction' => self::getConversionActionNameTemplate(), - 'customConversionGoal' => self::getCustomConversionGoalNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName($customerId, $conversionActionId) - { - return self::getConversionActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_conversion_goal resource. - * - * @param string $customerId - * @param string $goalId - * - * @return string The formatted custom_conversion_goal resource. - */ - public static function customConversionGoalName($customerId, $goalId) - { - return self::getCustomConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'goal_id' => $goalId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - customConversionGoal: customers/{customer_id}/customConversionGoals/{goal_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes custom conversion goals. Operation statuses - * are returned. - * - * Sample code: - * ``` - * $customConversionGoalServiceClient = new CustomConversionGoalServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customConversionGoalServiceClient->mutateCustomConversionGoals($customerId, $operations); - * } finally { - * $customConversionGoalServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose custom conversion goals are being - * modified. - * @param CustomConversionGoalOperation[] $operations Required. The list of operations to perform on individual custom conversion - * goal. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomConversionGoals($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomConversionGoalsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomConversionGoals', MutateCustomConversionGoalsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomInterestServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomInterestServiceGapicClient.php deleted file mode 100644 index feec774eb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomInterestServiceGapicClient.php +++ /dev/null @@ -1,309 +0,0 @@ -mutateCustomInterests($customerId, $operations); - * } finally { - * $customInterestServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomInterestServiceClient} to use - * the new surface. - */ -class CustomInterestServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomInterestService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customInterestNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/custom_interest_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/custom_interest_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/custom_interest_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/custom_interest_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomInterestNameTemplate() - { - if (self::$customInterestNameTemplate == null) { - self::$customInterestNameTemplate = new PathTemplate('customers/{customer_id}/customInterests/{custom_interest_id}'); - } - - return self::$customInterestNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customInterest' => self::getCustomInterestNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_interest resource. - * - * @param string $customerId - * @param string $customInterestId - * - * @return string The formatted custom_interest resource. - */ - public static function customInterestName($customerId, $customInterestId) - { - return self::getCustomInterestNameTemplate()->render([ - 'customer_id' => $customerId, - 'custom_interest_id' => $customInterestId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customInterest: customers/{customer_id}/customInterests/{custom_interest_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or updates custom interests. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CriterionError]() - * [CustomInterestError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RequestError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $customInterestServiceClient = new CustomInterestServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customInterestServiceClient->mutateCustomInterests($customerId, $operations); - * } finally { - * $customInterestServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose custom interests are being modified. - * @param CustomInterestOperation[] $operations Required. The list of operations to perform on individual custom interests. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomInterestsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomInterests($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomInterestsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomInterests', MutateCustomInterestsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerAssetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerAssetServiceGapicClient.php deleted file mode 100644 index 47ca9b224..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerAssetServiceGapicClient.php +++ /dev/null @@ -1,357 +0,0 @@ -mutateCustomerAssets($customerId, $operations); - * } finally { - * $customerAssetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerAssetServiceClient} to use the - * new surface. - */ -class CustomerAssetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerAssetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetNameTemplate; - - private static $customerAssetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_asset_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_asset_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_asset_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_asset_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getCustomerAssetNameTemplate() - { - if (self::$customerAssetNameTemplate == null) { - self::$customerAssetNameTemplate = new PathTemplate('customers/{customer_id}/customerAssets/{asset_id}~{field_type}'); - } - - return self::$customerAssetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'asset' => self::getAssetNameTemplate(), - 'customerAsset' => self::getCustomerAssetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_asset resource. - * - * @param string $customerId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted customer_asset resource. - */ - public static function customerAssetName($customerId, $assetId, $fieldType) - { - return self::getCustomerAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - asset: customers/{customer_id}/assets/{asset_id} - * - customerAsset: customers/{customer_id}/customerAssets/{asset_id}~{field_type} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes customer assets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AssetLinkError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerAssetServiceClient = new CustomerAssetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerAssetServiceClient->mutateCustomerAssets($customerId, $operations); - * } finally { - * $customerAssetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customer assets are being modified. - * @param CustomerAssetOperation[] $operations Required. The list of operations to perform on individual customer assets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerAssets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerAssetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerAssets', MutateCustomerAssetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerAssetSetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerAssetSetServiceGapicClient.php deleted file mode 100644 index 8628debab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerAssetSetServiceGapicClient.php +++ /dev/null @@ -1,374 +0,0 @@ -mutateCustomerAssetSets($customerId, $operations); - * } finally { - * $customerAssetSetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerAssetSetServiceClient} to use - * the new surface. - */ -class CustomerAssetSetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerAssetSetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $assetSetNameTemplate; - - private static $customerNameTemplate; - - private static $customerAssetSetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_asset_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_asset_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_asset_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_asset_set_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAssetSetNameTemplate() - { - if (self::$assetSetNameTemplate == null) { - self::$assetSetNameTemplate = new PathTemplate('customers/{customer_id}/assetSets/{asset_set_id}'); - } - - return self::$assetSetNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getCustomerAssetSetNameTemplate() - { - if (self::$customerAssetSetNameTemplate == null) { - self::$customerAssetSetNameTemplate = new PathTemplate('customers/{customer_id}/customerAssetSets/{asset_set_id}'); - } - - return self::$customerAssetSetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'assetSet' => self::getAssetSetNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - 'customerAssetSet' => self::getCustomerAssetSetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName($customerId, $assetSetId) - { - return self::getAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_asset_set resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted customer_asset_set resource. - */ - public static function customerAssetSetName($customerId, $assetSetId) - { - return self::getCustomerAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - customer: customers/{customer_id} - * - customerAssetSet: customers/{customer_id}/customerAssetSets/{asset_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, or removes customer asset sets. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $customerAssetSetServiceClient = new CustomerAssetSetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerAssetSetServiceClient->mutateCustomerAssetSets($customerId, $operations); - * } finally { - * $customerAssetSetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customer asset sets are being - * modified. - * @param CustomerAssetSetOperation[] $operations Required. The list of operations to perform on individual customer asset - * sets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetSetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerAssetSets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerAssetSetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerAssetSets', MutateCustomerAssetSetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerClientLinkServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerClientLinkServiceGapicClient.php deleted file mode 100644 index 85a5b4eec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerClientLinkServiceGapicClient.php +++ /dev/null @@ -1,340 +0,0 @@ -mutateCustomerClientLink($customerId, $operation); - * } finally { - * $customerClientLinkServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerClientLinkServiceClient} to - * use the new surface. - */ -class CustomerClientLinkServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerClientLinkService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerNameTemplate; - - private static $customerClientLinkNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_client_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_client_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_client_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_client_link_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getCustomerClientLinkNameTemplate() - { - if (self::$customerClientLinkNameTemplate == null) { - self::$customerClientLinkNameTemplate = new PathTemplate('customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}'); - } - - return self::$customerClientLinkNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customer' => self::getCustomerNameTemplate(), - 'customerClientLink' => self::getCustomerClientLinkNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_client_link resource. - * - * @param string $customerId - * @param string $clientCustomerId - * @param string $managerLinkId - * - * @return string The formatted customer_client_link resource. - */ - public static function customerClientLinkName($customerId, $clientCustomerId, $managerLinkId) - { - return self::getCustomerClientLinkNameTemplate()->render([ - 'customer_id' => $customerId, - 'client_customer_id' => $clientCustomerId, - 'manager_link_id' => $managerLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customer: customers/{customer_id} - * - customerClientLink: customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or updates a customer client link. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [ManagerLinkError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerClientLinkServiceClient = new CustomerClientLinkServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new CustomerClientLinkOperation(); - * $response = $customerClientLinkServiceClient->mutateCustomerClientLink($customerId, $operation); - * } finally { - * $customerClientLinkServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customer link are being modified. - * @param CustomerClientLinkOperation $operation Required. The operation to perform on the individual CustomerClientLink. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerClientLinkResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerClientLink($customerId, $operation, array $optionalArgs = []) - { - $request = new MutateCustomerClientLinkRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerClientLink', MutateCustomerClientLinkResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerConversionGoalServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerConversionGoalServiceGapicClient.php deleted file mode 100644 index 5bbdbdfd6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerConversionGoalServiceGapicClient.php +++ /dev/null @@ -1,301 +0,0 @@ -mutateCustomerConversionGoals($customerId, $operations); - * } finally { - * $customerConversionGoalServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerConversionGoalServiceClient} - * to use the new surface. - */ -class CustomerConversionGoalServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerConversionGoalService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerConversionGoalNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_conversion_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_conversion_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_conversion_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_conversion_goal_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerConversionGoalNameTemplate() - { - if (self::$customerConversionGoalNameTemplate == null) { - self::$customerConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/customerConversionGoals/{category}~{source}'); - } - - return self::$customerConversionGoalNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerConversionGoal' => self::getCustomerConversionGoalNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_conversion_goal resource. - * - * @param string $customerId - * @param string $category - * @param string $source - * - * @return string The formatted customer_conversion_goal resource. - */ - public static function customerConversionGoalName($customerId, $category, $source) - { - return self::getCustomerConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerConversionGoal: customers/{customer_id}/customerConversionGoals/{category}~{source} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes customer conversion goals. Operation statuses - * are returned. - * - * Sample code: - * ``` - * $customerConversionGoalServiceClient = new CustomerConversionGoalServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerConversionGoalServiceClient->mutateCustomerConversionGoals($customerId, $operations); - * } finally { - * $customerConversionGoalServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customer conversion goals are being - * modified. - * @param CustomerConversionGoalOperation[] $operations Required. The list of operations to perform on individual customer - * conversion goal. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerConversionGoals($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerConversionGoalsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerConversionGoals', MutateCustomerConversionGoalsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerCustomizerServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerCustomizerServiceGapicClient.php deleted file mode 100644 index 13aaee043..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerCustomizerServiceGapicClient.php +++ /dev/null @@ -1,346 +0,0 @@ -mutateCustomerCustomizers($customerId, $operations); - * } finally { - * $customerCustomizerServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerCustomizerServiceClient} to - * use the new surface. - */ -class CustomerCustomizerServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerCustomizerService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerCustomizerNameTemplate; - - private static $customizerAttributeNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_customizer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_customizer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_customizer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_customizer_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerCustomizerNameTemplate() - { - if (self::$customerCustomizerNameTemplate == null) { - self::$customerCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/customerCustomizers/{customizer_attribute_id}'); - } - - return self::$customerCustomizerNameTemplate; - } - - private static function getCustomizerAttributeNameTemplate() - { - if (self::$customizerAttributeNameTemplate == null) { - self::$customizerAttributeNameTemplate = new PathTemplate('customers/{customer_id}/customizerAttributes/{customizer_attribute_id}'); - } - - return self::$customizerAttributeNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerCustomizer' => self::getCustomerCustomizerNameTemplate(), - 'customizerAttribute' => self::getCustomizerAttributeNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_customizer resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customer_customizer resource. - */ - public static function customerCustomizerName($customerId, $customizerAttributeId) - { - return self::getCustomerCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName($customerId, $customizerAttributeId) - { - return self::getCustomizerAttributeNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerCustomizer: customers/{customer_id}/customerCustomizers/{customizer_attribute_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes customer customizers. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $customerCustomizerServiceClient = new CustomerCustomizerServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerCustomizerServiceClient->mutateCustomerCustomizers($customerId, $operations); - * } finally { - * $customerCustomizerServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customer customizers are being - * modified. - * @param CustomerCustomizerOperation[] $operations Required. The list of operations to perform on individual customer - * customizers. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizersResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerCustomizers($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerCustomizersRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerCustomizers', MutateCustomerCustomizersResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerExtensionSettingServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerExtensionSettingServiceGapicClient.php deleted file mode 100644 index 0a09e9094..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerExtensionSettingServiceGapicClient.php +++ /dev/null @@ -1,373 +0,0 @@ -mutateCustomerExtensionSettings($customerId, $operations); - * } finally { - * $customerExtensionSettingServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerExtensionSettingServiceClient} - * to use the new surface. - */ -class CustomerExtensionSettingServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerExtensionSettingService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerExtensionSettingNameTemplate; - - private static $extensionFeedItemNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_extension_setting_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_extension_setting_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_extension_setting_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_extension_setting_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerExtensionSettingNameTemplate() - { - if (self::$customerExtensionSettingNameTemplate == null) { - self::$customerExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/customerExtensionSettings/{extension_type}'); - } - - return self::$customerExtensionSettingNameTemplate; - } - - private static function getExtensionFeedItemNameTemplate() - { - if (self::$extensionFeedItemNameTemplate == null) { - self::$extensionFeedItemNameTemplate = new PathTemplate('customers/{customer_id}/extensionFeedItems/{feed_item_id}'); - } - - return self::$extensionFeedItemNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerExtensionSetting' => self::getCustomerExtensionSettingNameTemplate(), - 'extensionFeedItem' => self::getExtensionFeedItemNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_extension_setting resource. - * - * @param string $customerId - * @param string $extensionType - * - * @return string The formatted customer_extension_setting resource. - */ - public static function customerExtensionSettingName($customerId, $extensionType) - { - return self::getCustomerExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName($customerId, $feedItemId) - { - return self::getExtensionFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerExtensionSetting: customers/{customer_id}/customerExtensionSettings/{extension_type} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes customer extension settings. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [ExtensionSettingError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $customerExtensionSettingServiceClient = new CustomerExtensionSettingServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerExtensionSettingServiceClient->mutateCustomerExtensionSettings($customerId, $operations); - * } finally { - * $customerExtensionSettingServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customer extension settings are - * being modified. - * @param CustomerExtensionSettingOperation[] $operations Required. The list of operations to perform on individual customer - * extension settings. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerExtensionSettings($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerExtensionSettingsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerExtensionSettings', MutateCustomerExtensionSettingsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerFeedServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerFeedServiceGapicClient.php deleted file mode 100644 index db3b69429..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerFeedServiceGapicClient.php +++ /dev/null @@ -1,368 +0,0 @@ -mutateCustomerFeeds($customerId, $operations); - * } finally { - * $customerFeedServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerFeedServiceClient} to use the - * new surface. - */ -class CustomerFeedServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerFeedService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerFeedNameTemplate; - - private static $feedNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_feed_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_feed_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_feed_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_feed_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerFeedNameTemplate() - { - if (self::$customerFeedNameTemplate == null) { - self::$customerFeedNameTemplate = new PathTemplate('customers/{customer_id}/customerFeeds/{feed_id}'); - } - - return self::$customerFeedNameTemplate; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerFeed' => self::getCustomerFeedNameTemplate(), - 'feed' => self::getFeedNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_feed resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted customer_feed resource. - */ - public static function customerFeedName($customerId, $feedId) - { - return self::getCustomerFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerFeed: customers/{customer_id}/customerFeeds/{feed_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes customer feeds. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CustomerFeedError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionError]() - * [FunctionParsingError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $customerFeedServiceClient = new CustomerFeedServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerFeedServiceClient->mutateCustomerFeeds($customerId, $operations); - * } finally { - * $customerFeedServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customer feeds are being modified. - * @param CustomerFeedOperation[] $operations Required. The list of operations to perform on individual customer feeds. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerFeeds($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerFeedsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerFeeds', MutateCustomerFeedsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerLabelServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerLabelServiceGapicClient.php deleted file mode 100644 index cba90504a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerLabelServiceGapicClient.php +++ /dev/null @@ -1,377 +0,0 @@ -mutateCustomerLabels($customerId, $operations); - * } finally { - * $customerLabelServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerLabelServiceClient} to use the - * new surface. - */ -class CustomerLabelServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerLabelService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerNameTemplate; - - private static $customerLabelNameTemplate; - - private static $labelNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_label_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getCustomerLabelNameTemplate() - { - if (self::$customerLabelNameTemplate == null) { - self::$customerLabelNameTemplate = new PathTemplate('customers/{customer_id}/customerLabels/{label_id}'); - } - - return self::$customerLabelNameTemplate; - } - - private static function getLabelNameTemplate() - { - if (self::$labelNameTemplate == null) { - self::$labelNameTemplate = new PathTemplate('customers/{customer_id}/labels/{label_id}'); - } - - return self::$labelNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customer' => self::getCustomerNameTemplate(), - 'customerLabel' => self::getCustomerLabelNameTemplate(), - 'label' => self::getLabelNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_label resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted customer_label resource. - */ - public static function customerLabelName($customerId, $labelId) - { - return self::getCustomerLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName($customerId, $labelId) - { - return self::getLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customer: customers/{customer_id} - * - customerLabel: customers/{customer_id}/customerLabels/{label_id} - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates and removes customer-label relationships. - * Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerLabelServiceClient = new CustomerLabelServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerLabelServiceClient->mutateCustomerLabels($customerId, $operations); - * } finally { - * $customerLabelServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose customer-label relationships are being - * modified. - * @param CustomerLabelOperation[] $operations Required. The list of operations to perform on customer-label - * relationships. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerLabels($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerLabelsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerLabels', MutateCustomerLabelsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerLifecycleGoalServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerLifecycleGoalServiceGapicClient.php deleted file mode 100644 index f0edff520..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerLifecycleGoalServiceGapicClient.php +++ /dev/null @@ -1,333 +0,0 @@ -configureCustomerLifecycleGoals($customerId, $operation); - * } finally { - * $customerLifecycleGoalServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerLifecycleGoalServiceClient} to - * use the new surface. - */ -class CustomerLifecycleGoalServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerLifecycleGoalService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerLifecycleGoalNameTemplate; - - private static $userListNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_lifecycle_goal_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_lifecycle_goal_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_lifecycle_goal_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_lifecycle_goal_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerLifecycleGoalNameTemplate() - { - if (self::$customerLifecycleGoalNameTemplate == null) { - self::$customerLifecycleGoalNameTemplate = new PathTemplate('customers/{customer_id}/customerLifecycleGoals'); - } - - return self::$customerLifecycleGoalNameTemplate; - } - - private static function getUserListNameTemplate() - { - if (self::$userListNameTemplate == null) { - self::$userListNameTemplate = new PathTemplate('customers/{customer_id}/userLists/{user_list_id}'); - } - - return self::$userListNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerLifecycleGoal' => self::getCustomerLifecycleGoalNameTemplate(), - 'userList' => self::getUserListNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_lifecycle_goal resource. - * - * @param string $customerId - * - * @return string The formatted customer_lifecycle_goal resource. - */ - public static function customerLifecycleGoalName($customerId) - { - return self::getCustomerLifecycleGoalNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName($customerId, $userListId) - { - return self::getUserListNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerLifecycleGoal: customers/{customer_id}/customerLifecycleGoals - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Process the given customer lifecycle configurations. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CustomerLifecycleGoalConfigError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerLifecycleGoalServiceClient = new CustomerLifecycleGoalServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new CustomerLifecycleGoalOperation(); - * $response = $customerLifecycleGoalServiceClient->configureCustomerLifecycleGoals($customerId, $operation); - * } finally { - * $customerLifecycleGoalServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer performing the upload. - * @param CustomerLifecycleGoalOperation $operation Required. The operation to perform customer lifecycle goal update. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * Optional. If true, the request is validated but not executed. Only errors - * are returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ConfigureCustomerLifecycleGoalsResponse - * - * @throws ApiException if the remote call fails - */ - public function configureCustomerLifecycleGoals($customerId, $operation, array $optionalArgs = []) - { - $request = new ConfigureCustomerLifecycleGoalsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('ConfigureCustomerLifecycleGoals', ConfigureCustomerLifecycleGoalsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerManagerLinkServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerManagerLinkServiceGapicClient.php deleted file mode 100644 index a28388f03..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerManagerLinkServiceGapicClient.php +++ /dev/null @@ -1,415 +0,0 @@ -moveManagerLink($customerId, $previousCustomerManagerLink, $newManager); - * } finally { - * $customerManagerLinkServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerManagerLinkServiceClient} to - * use the new surface. - */ -class CustomerManagerLinkServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerManagerLinkService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerNameTemplate; - - private static $customerManagerLinkNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_manager_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_manager_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_manager_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_manager_link_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getCustomerManagerLinkNameTemplate() - { - if (self::$customerManagerLinkNameTemplate == null) { - self::$customerManagerLinkNameTemplate = new PathTemplate('customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}'); - } - - return self::$customerManagerLinkNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customer' => self::getCustomerNameTemplate(), - 'customerManagerLink' => self::getCustomerManagerLinkNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_manager_link resource. - * - * @param string $customerId - * @param string $managerCustomerId - * @param string $managerLinkId - * - * @return string The formatted customer_manager_link resource. - */ - public static function customerManagerLinkName($customerId, $managerCustomerId, $managerLinkId) - { - return self::getCustomerManagerLinkNameTemplate()->render([ - 'customer_id' => $customerId, - 'manager_customer_id' => $managerCustomerId, - 'manager_link_id' => $managerLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customer: customers/{customer_id} - * - customerManagerLink: customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Moves a client customer to a new manager customer. - * This simplifies the complex request that requires two operations to move - * a client customer to a new manager, for example: - * 1. Update operation with Status INACTIVE (previous manager) and, - * 2. Update operation with Status ACTIVE (new manager). - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerManagerLinkServiceClient = new CustomerManagerLinkServiceClient(); - * try { - * $customerId = 'customer_id'; - * $previousCustomerManagerLink = 'previous_customer_manager_link'; - * $newManager = 'new_manager'; - * $response = $customerManagerLinkServiceClient->moveManagerLink($customerId, $previousCustomerManagerLink, $newManager); - * } finally { - * $customerManagerLinkServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the client customer that is being moved. - * @param string $previousCustomerManagerLink Required. The resource name of the previous CustomerManagerLink. - * The resource name has the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * @param string $newManager Required. The resource name of the new manager customer that the client - * wants to move to. Customer resource names have the format: - * "customers/{customer_id}" - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MoveManagerLinkResponse - * - * @throws ApiException if the remote call fails - */ - public function moveManagerLink($customerId, $previousCustomerManagerLink, $newManager, array $optionalArgs = []) - { - $request = new MoveManagerLinkRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setPreviousCustomerManagerLink($previousCustomerManagerLink); - $request->setNewManager($newManager); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MoveManagerLink', MoveManagerLinkResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Updates customer manager links. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [ManagerLinkError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerManagerLinkServiceClient = new CustomerManagerLinkServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerManagerLinkServiceClient->mutateCustomerManagerLink($customerId, $operations); - * } finally { - * $customerManagerLinkServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customer manager links are being - * modified. - * @param CustomerManagerLinkOperation[] $operations Required. The list of operations to perform on individual customer manager - * links. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerManagerLinkResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerManagerLink($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerManagerLinkRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerManagerLink', MutateCustomerManagerLinkResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerNegativeCriterionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerNegativeCriterionServiceGapicClient.php deleted file mode 100644 index e495f1851..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerNegativeCriterionServiceGapicClient.php +++ /dev/null @@ -1,353 +0,0 @@ -mutateCustomerNegativeCriteria($customerId, $operations); - * } finally { - * $customerNegativeCriterionServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerNegativeCriterionServiceClient} - * to use the new surface. - */ -class CustomerNegativeCriterionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerNegativeCriterionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerNegativeCriterionNameTemplate; - - private static $mobileAppCategoryConstantNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_negative_criterion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_negative_criterion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_negative_criterion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_negative_criterion_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerNegativeCriterionNameTemplate() - { - if (self::$customerNegativeCriterionNameTemplate == null) { - self::$customerNegativeCriterionNameTemplate = new PathTemplate('customers/{customer_id}/customerNegativeCriteria/{criterion_id}'); - } - - return self::$customerNegativeCriterionNameTemplate; - } - - private static function getMobileAppCategoryConstantNameTemplate() - { - if (self::$mobileAppCategoryConstantNameTemplate == null) { - self::$mobileAppCategoryConstantNameTemplate = new PathTemplate('mobileAppCategoryConstants/{mobile_app_category_id}'); - } - - return self::$mobileAppCategoryConstantNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerNegativeCriterion' => self::getCustomerNegativeCriterionNameTemplate(), - 'mobileAppCategoryConstant' => self::getMobileAppCategoryConstantNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_negative_criterion resource. - * - * @param string $customerId - * @param string $criterionId - * - * @return string The formatted customer_negative_criterion resource. - */ - public static function customerNegativeCriterionName($customerId, $criterionId) - { - return self::getCustomerNegativeCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName($mobileAppCategoryId) - { - return self::getMobileAppCategoryConstantNameTemplate()->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerNegativeCriterion: customers/{customer_id}/customerNegativeCriteria/{criterion_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or removes criteria. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CriterionError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerNegativeCriterionServiceClient = new CustomerNegativeCriterionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customerNegativeCriterionServiceClient->mutateCustomerNegativeCriteria($customerId, $operations); - * } finally { - * $customerNegativeCriterionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose criteria are being modified. - * @param CustomerNegativeCriterionOperation[] $operations Required. The list of operations to perform on individual criteria. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerNegativeCriteria($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomerNegativeCriteriaRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerNegativeCriteria', MutateCustomerNegativeCriteriaResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerServiceGapicClient.php deleted file mode 100644 index 147d9579b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerServiceGapicClient.php +++ /dev/null @@ -1,468 +0,0 @@ -createCustomerClient($customerId, $customerClient); - * } finally { - * $customerServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerServiceClient} to use the new - * surface. - */ -class CustomerServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $conversionActionNameTemplate; - - private static $customerNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getConversionActionNameTemplate() - { - if (self::$conversionActionNameTemplate == null) { - self::$conversionActionNameTemplate = new PathTemplate('customers/{customer_id}/conversionActions/{conversion_action_id}'); - } - - return self::$conversionActionNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'conversionAction' => self::getConversionActionNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName($customerId, $conversionActionId) - { - return self::getConversionActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - customer: customers/{customer_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates a new client under manager. The new client customer is returned. - * - * List of thrown errors: - * [AccessInvitationError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [CurrencyCodeError]() - * [HeaderError]() - * [InternalError]() - * [ManagerLinkError]() - * [QuotaError]() - * [RequestError]() - * [StringLengthError]() - * [TimeZoneError]() - * - * Sample code: - * ``` - * $customerServiceClient = new CustomerServiceClient(); - * try { - * $customerId = 'customer_id'; - * $customerClient = new Customer(); - * $response = $customerServiceClient->createCustomerClient($customerId, $customerClient); - * } finally { - * $customerServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the Manager under whom client customer is being - * created. - * @param Customer $customerClient Required. The new client customer to create. The resource name on this - * customer will be ignored. - * @param array $optionalArgs { - * Optional. - * - * @type string $emailAddress - * Email address of the user who should be invited on the created client - * customer. Accessible only to customers on the allow-list. - * @type int $accessRole - * The proposed role of user on the created client customer. - * Accessible only to customers on the allow-list. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\AccessRoleEnum\AccessRole} - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\CreateCustomerClientResponse - * - * @throws ApiException if the remote call fails - */ - public function createCustomerClient($customerId, $customerClient, array $optionalArgs = []) - { - $request = new CreateCustomerClientRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setCustomerClient($customerClient); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['emailAddress'])) { - $request->setEmailAddress($optionalArgs['emailAddress']); - } - - if (isset($optionalArgs['accessRole'])) { - $request->setAccessRole($optionalArgs['accessRole']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CreateCustomerClient', CreateCustomerClientResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns resource names of customers directly accessible by the - * user authenticating the call. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerServiceClient = new CustomerServiceClient(); - * try { - * $response = $customerServiceClient->listAccessibleCustomers(); - * } finally { - * $customerServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ListAccessibleCustomersResponse - * - * @throws ApiException if the remote call fails - */ - public function listAccessibleCustomers(array $optionalArgs = []) - { - $request = new ListAccessibleCustomersRequest(); - return $this->startCall('ListAccessibleCustomers', ListAccessibleCustomersResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Updates a customer. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $customerServiceClient = new CustomerServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new CustomerOperation(); - * $response = $customerServiceClient->mutateCustomer($customerId, $operation); - * } finally { - * $customerServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer being modified. - * @param CustomerOperation $operation Required. The operation to perform on the customer - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomer($customerId, $operation, array $optionalArgs = []) - { - $request = new MutateCustomerRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomer', MutateCustomerResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerSkAdNetworkConversionValueSchemaServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerSkAdNetworkConversionValueSchemaServiceGapicClient.php deleted file mode 100644 index 5a78dcdb6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerSkAdNetworkConversionValueSchemaServiceGapicClient.php +++ /dev/null @@ -1,307 +0,0 @@ -mutateCustomerSkAdNetworkConversionValueSchema(); - * } finally { - * $customerSkAdNetworkConversionValueSchemaServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerSkAdNetworkConversionValueSchemaServiceClient} - * to use the new surface. - */ -class CustomerSkAdNetworkConversionValueSchemaServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerSkAdNetworkConversionValueSchemaNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_sk_ad_network_conversion_value_schema_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_sk_ad_network_conversion_value_schema_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_sk_ad_network_conversion_value_schema_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_sk_ad_network_conversion_value_schema_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerSkAdNetworkConversionValueSchemaNameTemplate() - { - if (self::$customerSkAdNetworkConversionValueSchemaNameTemplate == null) { - self::$customerSkAdNetworkConversionValueSchemaNameTemplate = new PathTemplate('customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id}'); - } - - return self::$customerSkAdNetworkConversionValueSchemaNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerSkAdNetworkConversionValueSchema' => self::getCustomerSkAdNetworkConversionValueSchemaNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_sk_ad_network_conversion_value_schema resource. - * - * @param string $customerId - * @param string $accountLinkId - * - * @return string The formatted customer_sk_ad_network_conversion_value_schema resource. - */ - public static function customerSkAdNetworkConversionValueSchemaName($customerId, $accountLinkId) - { - return self::getCustomerSkAdNetworkConversionValueSchemaNameTemplate()->render([ - 'customer_id' => $customerId, - 'account_link_id' => $accountLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerSkAdNetworkConversionValueSchema: customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or updates the CustomerSkAdNetworkConversionValueSchema. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [InternalError]() - * [MutateError]() - * - * Sample code: - * ``` - * $customerSkAdNetworkConversionValueSchemaServiceClient = new CustomerSkAdNetworkConversionValueSchemaServiceClient(); - * try { - * $response = $customerSkAdNetworkConversionValueSchemaServiceClient->mutateCustomerSkAdNetworkConversionValueSchema(); - * } finally { - * $customerSkAdNetworkConversionValueSchemaServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type string $customerId - * The ID of the customer whose shared sets are being modified. - * @type CustomerSkAdNetworkConversionValueSchemaOperation $operation - * The operation to perform. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerSkAdNetworkConversionValueSchemaResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerSkAdNetworkConversionValueSchema(array $optionalArgs = []) - { - $request = new MutateCustomerSkAdNetworkConversionValueSchemaRequest(); - $requestParamHeaders = []; - if (isset($optionalArgs['customerId'])) { - $request->setCustomerId($optionalArgs['customerId']); - $requestParamHeaders['customer_id'] = $optionalArgs['customerId']; - } - - if (isset($optionalArgs['operation'])) { - $request->setOperation($optionalArgs['operation']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerSkAdNetworkConversionValueSchema', MutateCustomerSkAdNetworkConversionValueSchemaResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerUserAccessInvitationServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerUserAccessInvitationServiceGapicClient.php deleted file mode 100644 index 38f105ff7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerUserAccessInvitationServiceGapicClient.php +++ /dev/null @@ -1,299 +0,0 @@ -mutateCustomerUserAccessInvitation($customerId, $operation); - * } finally { - * $customerUserAccessInvitationServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerUserAccessInvitationServiceClient} - * to use the new surface. - */ -class CustomerUserAccessInvitationServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerUserAccessInvitationService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerUserAccessInvitationNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_user_access_invitation_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_user_access_invitation_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_user_access_invitation_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_user_access_invitation_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerUserAccessInvitationNameTemplate() - { - if (self::$customerUserAccessInvitationNameTemplate == null) { - self::$customerUserAccessInvitationNameTemplate = new PathTemplate('customers/{customer_id}/customerUserAccessInvitations/{invitation_id}'); - } - - return self::$customerUserAccessInvitationNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerUserAccessInvitation' => self::getCustomerUserAccessInvitationNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_user_access_invitation resource. - * - * @param string $customerId - * @param string $invitationId - * - * @return string The formatted customer_user_access_invitation resource. - */ - public static function customerUserAccessInvitationName($customerId, $invitationId) - { - return self::getCustomerUserAccessInvitationNameTemplate()->render([ - 'customer_id' => $customerId, - 'invitation_id' => $invitationId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerUserAccessInvitation: customers/{customer_id}/customerUserAccessInvitations/{invitation_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or removes an access invitation. - * - * List of thrown errors: - * [AccessInvitationError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerUserAccessInvitationServiceClient = new CustomerUserAccessInvitationServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new CustomerUserAccessInvitationOperation(); - * $response = $customerUserAccessInvitationServiceClient->mutateCustomerUserAccessInvitation($customerId, $operation); - * } finally { - * $customerUserAccessInvitationServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose access invitation is being modified. - * @param CustomerUserAccessInvitationOperation $operation Required. The operation to perform on the access invitation - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessInvitationResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerUserAccessInvitation($customerId, $operation, array $optionalArgs = []) - { - $request = new MutateCustomerUserAccessInvitationRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerUserAccessInvitation', MutateCustomerUserAccessInvitationResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerUserAccessServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerUserAccessServiceGapicClient.php deleted file mode 100644 index 31a3bb689..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomerUserAccessServiceGapicClient.php +++ /dev/null @@ -1,301 +0,0 @@ -mutateCustomerUserAccess($customerId, $operation); - * } finally { - * $customerUserAccessServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomerUserAccessServiceClient} to - * use the new surface. - */ -class CustomerUserAccessServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomerUserAccessService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerUserAccessNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customer_user_access_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customer_user_access_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customer_user_access_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customer_user_access_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerUserAccessNameTemplate() - { - if (self::$customerUserAccessNameTemplate == null) { - self::$customerUserAccessNameTemplate = new PathTemplate('customers/{customer_id}/customerUserAccesses/{user_id}'); - } - - return self::$customerUserAccessNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customerUserAccess' => self::getCustomerUserAccessNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_user_access resource. - * - * @param string $customerId - * @param string $userId - * - * @return string The formatted customer_user_access resource. - */ - public static function customerUserAccessName($customerId, $userId) - { - return self::getCustomerUserAccessNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_id' => $userId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customerUserAccess: customers/{customer_id}/customerUserAccesses/{user_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Updates, removes permission of a user on a given customer. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CustomerUserAccessError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $customerUserAccessServiceClient = new CustomerUserAccessServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operation = new CustomerUserAccessOperation(); - * $response = $customerUserAccessServiceClient->mutateCustomerUserAccess($customerId, $operation); - * } finally { - * $customerUserAccessServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer being modified. - * @param CustomerUserAccessOperation $operation Required. The operation to perform on the customer - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomerUserAccess($customerId, $operation, array $optionalArgs = []) - { - $request = new MutateCustomerUserAccessRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperation($operation); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomerUserAccess', MutateCustomerUserAccessResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomizerAttributeServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomizerAttributeServiceGapicClient.php deleted file mode 100644 index 3b12af5f1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/CustomizerAttributeServiceGapicClient.php +++ /dev/null @@ -1,316 +0,0 @@ -mutateCustomizerAttributes($customerId, $operations); - * } finally { - * $customizerAttributeServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\CustomizerAttributeServiceClient} to - * use the new surface. - */ -class CustomizerAttributeServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.CustomizerAttributeService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customizerAttributeNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/customizer_attribute_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/customizer_attribute_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/customizer_attribute_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/customizer_attribute_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomizerAttributeNameTemplate() - { - if (self::$customizerAttributeNameTemplate == null) { - self::$customizerAttributeNameTemplate = new PathTemplate('customers/{customer_id}/customizerAttributes/{customizer_attribute_id}'); - } - - return self::$customizerAttributeNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customizerAttribute' => self::getCustomizerAttributeNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName($customerId, $customizerAttributeId) - { - return self::getCustomizerAttributeNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes customizer attributes. Operation statuses are - * returned. - * - * Sample code: - * ``` - * $customizerAttributeServiceClient = new CustomizerAttributeServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $customizerAttributeServiceClient->mutateCustomizerAttributes($customerId, $operations); - * } finally { - * $customizerAttributeServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose customizer attributes are being - * modified. - * @param CustomizerAttributeOperation[] $operations Required. The list of operations to perform on individual customizer - * attributes. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributesResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateCustomizerAttributes($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateCustomizerAttributesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateCustomizerAttributes', MutateCustomizerAttributesResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExperimentArmServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExperimentArmServiceGapicClient.php deleted file mode 100644 index af54e215d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExperimentArmServiceGapicClient.php +++ /dev/null @@ -1,385 +0,0 @@ -mutateExperimentArms($customerId, $operations); - * } finally { - * $experimentArmServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ExperimentArmServiceClient} to use the - * new surface. - */ -class ExperimentArmServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ExperimentArmService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $experimentNameTemplate; - - private static $experimentArmNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/experiment_arm_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/experiment_arm_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/experiment_arm_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/experiment_arm_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getExperimentNameTemplate() - { - if (self::$experimentNameTemplate == null) { - self::$experimentNameTemplate = new PathTemplate('customers/{customer_id}/experiments/{trial_id}'); - } - - return self::$experimentNameTemplate; - } - - private static function getExperimentArmNameTemplate() - { - if (self::$experimentArmNameTemplate == null) { - self::$experimentArmNameTemplate = new PathTemplate('customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}'); - } - - return self::$experimentArmNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'experiment' => self::getExperimentNameTemplate(), - 'experimentArm' => self::getExperimentArmNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a experiment - * resource. - * - * @param string $customerId - * @param string $trialId - * - * @return string The formatted experiment resource. - */ - public static function experimentName($customerId, $trialId) - { - return self::getExperimentNameTemplate()->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * experiment_arm resource. - * - * @param string $customerId - * @param string $trialId - * @param string $trialArmId - * - * @return string The formatted experiment_arm resource. - */ - public static function experimentArmName($customerId, $trialId, $trialArmId) - { - return self::getExperimentArmNameTemplate()->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - 'trial_arm_id' => $trialArmId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - experiment: customers/{customer_id}/experiments/{trial_id} - * - experimentArm: customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes experiment arms. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentArmError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $experimentArmServiceClient = new ExperimentArmServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $experimentArmServiceClient->mutateExperimentArms($customerId, $operations); - * } finally { - * $experimentArmServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose experiments are being modified. - * @param ExperimentArmOperation[] $operations Required. The list of operations to perform on individual experiment arm. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateExperimentArmsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateExperimentArms($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateExperimentArmsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateExperimentArms', MutateExperimentArmsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExperimentServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExperimentServiceGapicClient.php deleted file mode 100644 index 3236a2c62..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExperimentServiceGapicClient.php +++ /dev/null @@ -1,785 +0,0 @@ -experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - * $experimentServiceClient->endExperiment($formattedExperiment); - * } finally { - * $experimentServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ExperimentServiceClient} to use the - * new surface. - */ -class ExperimentServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ExperimentService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $campaignBudgetNameTemplate; - - private static $experimentNameTemplate; - - private static $pathTemplateMap; - - private $operationsClient; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/experiment_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/experiment_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/experiment_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/experiment_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignBudgetNameTemplate() - { - if (self::$campaignBudgetNameTemplate == null) { - self::$campaignBudgetNameTemplate = new PathTemplate('customers/{customer_id}/campaignBudgets/{campaign_budget_id}'); - } - - return self::$campaignBudgetNameTemplate; - } - - private static function getExperimentNameTemplate() - { - if (self::$experimentNameTemplate == null) { - self::$experimentNameTemplate = new PathTemplate('customers/{customer_id}/experiments/{trial_id}'); - } - - return self::$experimentNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'campaignBudget' => self::getCampaignBudgetNameTemplate(), - 'experiment' => self::getExperimentNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName($customerId, $campaignBudgetId) - { - return self::getCampaignBudgetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a experiment - * resource. - * - * @param string $customerId - * @param string $trialId - * - * @return string The formatted experiment resource. - */ - public static function experimentName($customerId, $trialId) - { - return self::getExperimentNameTemplate()->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - experiment: customers/{customer_id}/experiments/{trial_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Return an OperationsClient object with the same endpoint as $this. - * - * @return OperationsClient - */ - public function getOperationsClient() - { - return $this->operationsClient; - } - - /** - * Resume an existing long running operation that was previously started by a long - * running API method. If $methodName is not provided, or does not match a long - * running API method, then the operation can still be resumed, but the - * OperationResponse object will not deserialize the final response. - * - * @param string $operationName The name of the long running operation - * @param string $methodName The name of the method used to start the operation - * - * @return OperationResponse - */ - public function resumeOperation($operationName, $methodName = null) - { - $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; - $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); - $operation->reload(); - return $operation; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - $this->operationsClient = $this->createOperationsClient($clientOptions); - } - - /** - * Immediately ends an experiment, changing the experiment's scheduled - * end date and without waiting for end of day. End date is updated to be the - * time of the request. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $experimentServiceClient = new ExperimentServiceClient(); - * try { - * $formattedExperiment = $experimentServiceClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - * $experimentServiceClient->endExperiment($formattedExperiment); - * } finally { - * $experimentServiceClient->close(); - * } - * ``` - * - * @param string $experiment Required. The resource name of the campaign experiment to end. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @throws ApiException if the remote call fails - */ - public function endExperiment($experiment, array $optionalArgs = []) - { - $request = new EndExperimentRequest(); - $requestParamHeaders = []; - $request->setExperiment($experiment); - $requestParamHeaders['experiment'] = $experiment; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('EndExperiment', GPBEmpty::class, $optionalArgs, $request)->wait(); - } - - /** - * Graduates an experiment to a full campaign. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $experimentServiceClient = new ExperimentServiceClient(); - * try { - * $formattedExperiment = $experimentServiceClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - * $campaignBudgetMappings = []; - * $experimentServiceClient->graduateExperiment($formattedExperiment, $campaignBudgetMappings); - * } finally { - * $experimentServiceClient->close(); - * } - * ``` - * - * @param string $experiment Required. The experiment to be graduated. - * @param CampaignBudgetMapping[] $campaignBudgetMappings Required. List of campaign budget mappings for graduation. Each campaign - * that appears here will graduate, and will be assigned a new budget that is - * paired with it in the mapping. The maximum size is one. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @throws ApiException if the remote call fails - */ - public function graduateExperiment($experiment, $campaignBudgetMappings, array $optionalArgs = []) - { - $request = new GraduateExperimentRequest(); - $requestParamHeaders = []; - $request->setExperiment($experiment); - $request->setCampaignBudgetMappings($campaignBudgetMappings); - $requestParamHeaders['experiment'] = $experiment; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GraduateExperiment', GPBEmpty::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns all errors that occurred during the last Experiment update (either - * scheduling or promotion). - * Supports standard list paging. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $experimentServiceClient = new ExperimentServiceClient(); - * try { - * $formattedResourceName = $experimentServiceClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - * // Iterate over pages of elements - * $pagedResponse = $experimentServiceClient->listExperimentAsyncErrors($formattedResourceName); - * foreach ($pagedResponse->iteratePages() as $page) { - * foreach ($page as $element) { - * // doSomethingWith($element); - * } - * } - * // Alternatively: - * // Iterate through all elements - * $pagedResponse = $experimentServiceClient->listExperimentAsyncErrors($formattedResourceName); - * foreach ($pagedResponse->iterateAllElements() as $element) { - * // doSomethingWith($element); - * } - * } finally { - * $experimentServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The name of the experiment from which to retrieve the async - * errors. - * @param array $optionalArgs { - * Optional. - * - * @type string $pageToken - * A page token is used to specify a page of values to be returned. - * If no page token is specified (the default), the first page - * of values will be returned. Any page token used here must have - * been generated by a previous call to the API. - * @type int $pageSize - * The maximum number of resources contained in the underlying API - * response. The API may return fewer values in a page, even if - * there are additional values to be retrieved. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\PagedListResponse - * - * @throws ApiException if the remote call fails - */ - public function listExperimentAsyncErrors($resourceName, array $optionalArgs = []) - { - $request = new ListExperimentAsyncErrorsRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - if (isset($optionalArgs['pageToken'])) { - $request->setPageToken($optionalArgs['pageToken']); - } - - if (isset($optionalArgs['pageSize'])) { - $request->setPageSize($optionalArgs['pageSize']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('ListExperimentAsyncErrors', $optionalArgs, ListExperimentAsyncErrorsResponse::class, $request); - } - - /** - * Creates, updates, or removes experiments. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $experimentServiceClient = new ExperimentServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $experimentServiceClient->mutateExperiments($customerId, $operations); - * } finally { - * $experimentServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose experiments are being modified. - * @param ExperimentOperation[] $operations Required. The list of operations to perform on individual experiments. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateExperimentsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateExperiments($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateExperimentsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateExperiments', MutateExperimentsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Promotes the trial campaign thus applying changes in the trial campaign - * to the base campaign. - * This method returns a long running operation that tracks the promotion of - * the experiment campaign. If it fails, a list of errors can be retrieved - * using the ListExperimentAsyncErrors method. The operation's - * metadata will be a string containing the resource name of the created - * experiment. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $experimentServiceClient = new ExperimentServiceClient(); - * try { - * $formattedResourceName = $experimentServiceClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - * $operationResponse = $experimentServiceClient->promoteExperiment($formattedResourceName); - * $operationResponse->pollUntilComplete(); - * if ($operationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $operationResponse->getError(); - * // handleError($error) - * } - * // Alternatively: - * // start the operation, keep the operation name, and resume later - * $operationResponse = $experimentServiceClient->promoteExperiment($formattedResourceName); - * $operationName = $operationResponse->getName(); - * // ... do other work - * $newOperationResponse = $experimentServiceClient->resumeOperation($operationName, 'promoteExperiment'); - * while (!$newOperationResponse->isDone()) { - * // ... do other work - * $newOperationResponse->reload(); - * } - * if ($newOperationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $newOperationResponse->getError(); - * // handleError($error) - * } - * } finally { - * $experimentServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the experiment to promote. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\OperationResponse - * - * @throws ApiException if the remote call fails - */ - public function promoteExperiment($resourceName, array $optionalArgs = []) - { - $request = new PromoteExperimentRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startOperationsCall('PromoteExperiment', $optionalArgs, $request, $this->getOperationsClient())->wait(); - } - - /** - * Schedule an experiment. The in design campaign - * will be converted into a real campaign (called the experiment campaign) - * that will begin serving ads if successfully created. - * - * The experiment is scheduled immediately with status INITIALIZING. - * This method returns a long running operation that tracks the forking of the - * in design campaign. If the forking fails, a list of errors can be retrieved - * using the ListExperimentAsyncErrors method. The operation's - * metadata will be a string containing the resource name of the created - * experiment. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ExperimentError]() - * [DatabaseError]() - * [DateError]() - * [DateRangeError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * - * Sample code: - * ``` - * $experimentServiceClient = new ExperimentServiceClient(); - * try { - * $formattedResourceName = $experimentServiceClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - * $operationResponse = $experimentServiceClient->scheduleExperiment($formattedResourceName); - * $operationResponse->pollUntilComplete(); - * if ($operationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $operationResponse->getError(); - * // handleError($error) - * } - * // Alternatively: - * // start the operation, keep the operation name, and resume later - * $operationResponse = $experimentServiceClient->scheduleExperiment($formattedResourceName); - * $operationName = $operationResponse->getName(); - * // ... do other work - * $newOperationResponse = $experimentServiceClient->resumeOperation($operationName, 'scheduleExperiment'); - * while (!$newOperationResponse->isDone()) { - * // ... do other work - * $newOperationResponse->reload(); - * } - * if ($newOperationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $newOperationResponse->getError(); - * // handleError($error) - * } - * } finally { - * $experimentServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The scheduled experiment. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\OperationResponse - * - * @throws ApiException if the remote call fails - */ - public function scheduleExperiment($resourceName, array $optionalArgs = []) - { - $request = new ScheduleExperimentRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startOperationsCall('ScheduleExperiment', $optionalArgs, $request, $this->getOperationsClient())->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExtensionFeedItemServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExtensionFeedItemServiceGapicClient.php deleted file mode 100644 index 4b0546ba9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ExtensionFeedItemServiceGapicClient.php +++ /dev/null @@ -1,459 +0,0 @@ -mutateExtensionFeedItems($customerId, $operations); - * } finally { - * $extensionFeedItemServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ExtensionFeedItemServiceClient} to use - * the new surface. - */ -class ExtensionFeedItemServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ExtensionFeedItemService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $assetNameTemplate; - - private static $campaignNameTemplate; - - private static $extensionFeedItemNameTemplate; - - private static $geoTargetConstantNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/extension_feed_item_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/extension_feed_item_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/extension_feed_item_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/extension_feed_item_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getExtensionFeedItemNameTemplate() - { - if (self::$extensionFeedItemNameTemplate == null) { - self::$extensionFeedItemNameTemplate = new PathTemplate('customers/{customer_id}/extensionFeedItems/{feed_item_id}'); - } - - return self::$extensionFeedItemNameTemplate; - } - - private static function getGeoTargetConstantNameTemplate() - { - if (self::$geoTargetConstantNameTemplate == null) { - self::$geoTargetConstantNameTemplate = new PathTemplate('geoTargetConstants/{criterion_id}'); - } - - return self::$geoTargetConstantNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'asset' => self::getAssetNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - 'extensionFeedItem' => self::getExtensionFeedItemNameTemplate(), - 'geoTargetConstant' => self::getGeoTargetConstantNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName($customerId, $feedItemId) - { - return self::getExtensionFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName($criterionId) - { - return self::getGeoTargetConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - asset: customers/{customer_id}/assets/{asset_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes extension feed items. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CountryCodeError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [ExtensionFeedItemError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [ImageError]() - * [InternalError]() - * [LanguageCodeError]() - * [MutateError]() - * [NewResourceCreationError]() - * [OperationAccessDeniedError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $extensionFeedItemServiceClient = new ExtensionFeedItemServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $extensionFeedItemServiceClient->mutateExtensionFeedItems($customerId, $operations); - * } finally { - * $extensionFeedItemServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose extension feed items are being - * modified. - * @param ExtensionFeedItemOperation[] $operations Required. The list of operations to perform on individual extension feed - * items. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateExtensionFeedItems($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateExtensionFeedItemsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateExtensionFeedItems', MutateExtensionFeedItemsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemServiceGapicClient.php deleted file mode 100644 index 1a81e50db..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemServiceGapicClient.php +++ /dev/null @@ -1,373 +0,0 @@ -mutateFeedItems($customerId, $operations); - * } finally { - * $feedItemServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\FeedItemServiceClient} to use the new - * surface. - */ -class FeedItemServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.FeedItemService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $feedNameTemplate; - - private static $feedItemNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_item_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_item_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_item_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_item_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getFeedItemNameTemplate() - { - if (self::$feedItemNameTemplate == null) { - self::$feedItemNameTemplate = new PathTemplate('customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}'); - } - - return self::$feedItemNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'feed' => self::getFeedNameTemplate(), - 'feedItem' => self::getFeedItemNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName($customerId, $feedId, $feedItemId) - { - return self::getFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes feed items. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [CriterionError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FeedItemError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $feedItemServiceClient = new FeedItemServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $feedItemServiceClient->mutateFeedItems($customerId, $operations); - * } finally { - * $feedItemServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose feed items are being modified. - * @param FeedItemOperation[] $operations Required. The list of operations to perform on individual feed items. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateFeedItems($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateFeedItemsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateFeedItems', MutateFeedItemsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemSetLinkServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemSetLinkServiceGapicClient.php deleted file mode 100644 index 815e8e56d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemSetLinkServiceGapicClient.php +++ /dev/null @@ -1,383 +0,0 @@ -mutateFeedItemSetLinks($customerId, $operations); - * } finally { - * $feedItemSetLinkServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\FeedItemSetLinkServiceClient} to use - * the new surface. - */ -class FeedItemSetLinkServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.FeedItemSetLinkService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $feedItemNameTemplate; - - private static $feedItemSetNameTemplate; - - private static $feedItemSetLinkNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_item_set_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_item_set_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_item_set_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_item_set_link_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getFeedItemNameTemplate() - { - if (self::$feedItemNameTemplate == null) { - self::$feedItemNameTemplate = new PathTemplate('customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}'); - } - - return self::$feedItemNameTemplate; - } - - private static function getFeedItemSetNameTemplate() - { - if (self::$feedItemSetNameTemplate == null) { - self::$feedItemSetNameTemplate = new PathTemplate('customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}'); - } - - return self::$feedItemSetNameTemplate; - } - - private static function getFeedItemSetLinkNameTemplate() - { - if (self::$feedItemSetLinkNameTemplate == null) { - self::$feedItemSetLinkNameTemplate = new PathTemplate('customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}'); - } - - return self::$feedItemSetLinkNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'feedItem' => self::getFeedItemNameTemplate(), - 'feedItemSet' => self::getFeedItemSetNameTemplate(), - 'feedItemSetLink' => self::getFeedItemSetLinkNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName($customerId, $feedId, $feedItemId) - { - return self::getFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * - * @return string The formatted feed_item_set resource. - */ - public static function feedItemSetName($customerId, $feedId, $feedItemSetId) - { - return self::getFeedItemSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set_link resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * @param string $feedItemId - * - * @return string The formatted feed_item_set_link resource. - */ - public static function feedItemSetLinkName($customerId, $feedId, $feedItemSetId, $feedItemId) - { - return self::getFeedItemSetLinkNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - feedItemSet: customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id} - * - feedItemSetLink: customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes feed item set links. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $feedItemSetLinkServiceClient = new FeedItemSetLinkServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $feedItemSetLinkServiceClient->mutateFeedItemSetLinks($customerId, $operations); - * } finally { - * $feedItemSetLinkServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose feed item set links are being - * modified. - * @param FeedItemSetLinkOperation[] $operations Required. The list of operations to perform on individual feed item set - * links. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinksResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateFeedItemSetLinks($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateFeedItemSetLinksRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateFeedItemSetLinks', MutateFeedItemSetLinksResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemSetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemSetServiceGapicClient.php deleted file mode 100644 index c09e2ef19..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemSetServiceGapicClient.php +++ /dev/null @@ -1,347 +0,0 @@ -mutateFeedItemSets($customerId, $operations); - * } finally { - * $feedItemSetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\FeedItemSetServiceClient} to use the - * new surface. - */ -class FeedItemSetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.FeedItemSetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $feedNameTemplate; - - private static $feedItemSetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_item_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_item_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_item_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_item_set_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getFeedItemSetNameTemplate() - { - if (self::$feedItemSetNameTemplate == null) { - self::$feedItemSetNameTemplate = new PathTemplate('customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}'); - } - - return self::$feedItemSetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'feed' => self::getFeedNameTemplate(), - 'feedItemSet' => self::getFeedItemSetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * - * @return string The formatted feed_item_set resource. - */ - public static function feedItemSetName($customerId, $feedId, $feedItemSetId) - { - return self::getFeedItemSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedItemSet: customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates or removes feed item sets. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $feedItemSetServiceClient = new FeedItemSetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $feedItemSetServiceClient->mutateFeedItemSets($customerId, $operations); - * } finally { - * $feedItemSetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose feed item sets are being modified. - * @param FeedItemSetOperation[] $operations Required. The list of operations to perform on individual feed item sets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateFeedItemSets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateFeedItemSetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateFeedItemSets', MutateFeedItemSetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemTargetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemTargetServiceGapicClient.php deleted file mode 100644 index 1275af552..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedItemTargetServiceGapicClient.php +++ /dev/null @@ -1,462 +0,0 @@ -mutateFeedItemTargets($customerId, $operations); - * } finally { - * $feedItemTargetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\FeedItemTargetServiceClient} to use - * the new surface. - */ -class FeedItemTargetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.FeedItemTargetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adGroupNameTemplate; - - private static $campaignNameTemplate; - - private static $feedItemNameTemplate; - - private static $feedItemTargetNameTemplate; - - private static $geoTargetConstantNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_item_target_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_item_target_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_item_target_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_item_target_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getFeedItemNameTemplate() - { - if (self::$feedItemNameTemplate == null) { - self::$feedItemNameTemplate = new PathTemplate('customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}'); - } - - return self::$feedItemNameTemplate; - } - - private static function getFeedItemTargetNameTemplate() - { - if (self::$feedItemTargetNameTemplate == null) { - self::$feedItemTargetNameTemplate = new PathTemplate('customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}'); - } - - return self::$feedItemTargetNameTemplate; - } - - private static function getGeoTargetConstantNameTemplate() - { - if (self::$geoTargetConstantNameTemplate == null) { - self::$geoTargetConstantNameTemplate = new PathTemplate('geoTargetConstants/{criterion_id}'); - } - - return self::$geoTargetConstantNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'adGroup' => self::getAdGroupNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - 'feedItem' => self::getFeedItemNameTemplate(), - 'feedItemTarget' => self::getFeedItemTargetNameTemplate(), - 'geoTargetConstant' => self::getGeoTargetConstantNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName($customerId, $feedId, $feedItemId) - { - return self::getFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_target resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * @param string $feedItemTargetType - * @param string $feedItemTargetId - * - * @return string The formatted feed_item_target resource. - */ - public static function feedItemTargetName($customerId, $feedId, $feedItemId, $feedItemTargetType, $feedItemTargetId) - { - return self::getFeedItemTargetNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - 'feed_item_target_type' => $feedItemTargetType, - 'feed_item_target_id' => $feedItemTargetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName($criterionId) - { - return self::getGeoTargetConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - feedItemTarget: customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or removes feed item targets. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CriterionError]() - * [DatabaseError]() - * [DistinctError]() - * [FeedItemTargetError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $feedItemTargetServiceClient = new FeedItemTargetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $feedItemTargetServiceClient->mutateFeedItemTargets($customerId, $operations); - * } finally { - * $feedItemTargetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose feed item targets are being - * modified. - * @param FeedItemTargetOperation[] $operations Required. The list of operations to perform on individual feed item - * targets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateFeedItemTargets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateFeedItemTargetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateFeedItemTargets', MutateFeedItemTargetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedMappingServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedMappingServiceGapicClient.php deleted file mode 100644 index 6e16c0218..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedMappingServiceGapicClient.php +++ /dev/null @@ -1,367 +0,0 @@ -mutateFeedMappings($customerId, $operations); - * } finally { - * $feedMappingServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\FeedMappingServiceClient} to use the - * new surface. - */ -class FeedMappingServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.FeedMappingService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $feedNameTemplate; - - private static $feedMappingNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_mapping_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_mapping_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_mapping_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_mapping_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getFeedMappingNameTemplate() - { - if (self::$feedMappingNameTemplate == null) { - self::$feedMappingNameTemplate = new PathTemplate('customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}'); - } - - return self::$feedMappingNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'feed' => self::getFeedNameTemplate(), - 'feedMapping' => self::getFeedMappingNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_mapping - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedMappingId - * - * @return string The formatted feed_mapping resource. - */ - public static function feedMappingName($customerId, $feedId, $feedMappingId) - { - return self::getFeedMappingNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_mapping_id' => $feedMappingId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedMapping: customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or removes feed mappings. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [DistinctError]() - * [FeedMappingError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [OperationAccessDeniedError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $feedMappingServiceClient = new FeedMappingServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $feedMappingServiceClient->mutateFeedMappings($customerId, $operations); - * } finally { - * $feedMappingServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose feed mappings are being modified. - * @param FeedMappingOperation[] $operations Required. The list of operations to perform on individual feed mappings. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedMappingsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateFeedMappings($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateFeedMappingsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateFeedMappings', MutateFeedMappingsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedServiceGapicClient.php deleted file mode 100644 index 9b9682a6d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/FeedServiceGapicClient.php +++ /dev/null @@ -1,340 +0,0 @@ -mutateFeeds($customerId, $operations); - * } finally { - * $feedServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\FeedServiceClient} to use the new - * surface. - */ -class FeedServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.FeedService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $feedNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/feed_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/feed_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/feed_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/feed_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'feed' => self::getFeedNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - feed: customers/{customer_id}/feeds/{feed_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes feeds. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DistinctError]() - * [FeedError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [ListOperationError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $feedServiceClient = new FeedServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $feedServiceClient->mutateFeeds($customerId, $operations); - * } finally { - * $feedServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose feeds are being modified. - * @param FeedOperation[] $operations Required. The list of operations to perform on individual feeds. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateFeeds($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateFeedsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateFeeds', MutateFeedsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/GeoTargetConstantServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/GeoTargetConstantServiceGapicClient.php deleted file mode 100644 index 33c5b5756..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/GeoTargetConstantServiceGapicClient.php +++ /dev/null @@ -1,224 +0,0 @@ -suggestGeoTargetConstants(); - * } finally { - * $geoTargetConstantServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\GeoTargetConstantServiceClient} to use - * the new surface. - */ -class GeoTargetConstantServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.GeoTargetConstantService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/geo_target_constant_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/geo_target_constant_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/geo_target_constant_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/geo_target_constant_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns GeoTargetConstant suggestions by location name or by resource name. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [GeoTargetConstantSuggestionError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $geoTargetConstantServiceClient = new GeoTargetConstantServiceClient(); - * try { - * $response = $geoTargetConstantServiceClient->suggestGeoTargetConstants(); - * } finally { - * $geoTargetConstantServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type string $locale - * If possible, returned geo targets are translated using this locale. If not, - * en is used by default. This is also used as a hint for returned geo - * targets. - * @type string $countryCode - * Returned geo targets are restricted to this country code. - * @type LocationNames $locationNames - * The location names to search by. At most 25 names can be set. - * @type GeoTargets $geoTargets - * The geo target constant resource names to filter by. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsResponse - * - * @throws ApiException if the remote call fails - */ - public function suggestGeoTargetConstants(array $optionalArgs = []) - { - $request = new SuggestGeoTargetConstantsRequest(); - if (isset($optionalArgs['locale'])) { - $request->setLocale($optionalArgs['locale']); - } - - if (isset($optionalArgs['countryCode'])) { - $request->setCountryCode($optionalArgs['countryCode']); - } - - if (isset($optionalArgs['locationNames'])) { - $request->setLocationNames($optionalArgs['locationNames']); - } - - if (isset($optionalArgs['geoTargets'])) { - $request->setGeoTargets($optionalArgs['geoTargets']); - } - - return $this->startCall('SuggestGeoTargetConstants', SuggestGeoTargetConstantsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/GoogleAdsFieldServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/GoogleAdsFieldServiceGapicClient.php deleted file mode 100644 index 67ab5d768..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/GoogleAdsFieldServiceGapicClient.php +++ /dev/null @@ -1,365 +0,0 @@ -googleAdsFieldName('[GOOGLE_ADS_FIELD]'); - * $response = $googleAdsFieldServiceClient->getGoogleAdsField($formattedResourceName); - * } finally { - * $googleAdsFieldServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\GoogleAdsFieldServiceClient} to use - * the new surface. - */ -class GoogleAdsFieldServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.GoogleAdsFieldService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $googleAdsFieldNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/google_ads_field_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/google_ads_field_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/google_ads_field_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/google_ads_field_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getGoogleAdsFieldNameTemplate() - { - if (self::$googleAdsFieldNameTemplate == null) { - self::$googleAdsFieldNameTemplate = new PathTemplate('googleAdsFields/{google_ads_field}'); - } - - return self::$googleAdsFieldNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'googleAdsField' => self::getGoogleAdsFieldNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * google_ads_field resource. - * - * @param string $googleAdsField - * - * @return string The formatted google_ads_field resource. - */ - public static function googleAdsFieldName($googleAdsField) - { - return self::getGoogleAdsFieldNameTemplate()->render([ - 'google_ads_field' => $googleAdsField, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - googleAdsField: googleAdsFields/{google_ads_field} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns just the requested field. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $googleAdsFieldServiceClient = new GoogleAdsFieldServiceClient(); - * try { - * $formattedResourceName = $googleAdsFieldServiceClient->googleAdsFieldName('[GOOGLE_ADS_FIELD]'); - * $response = $googleAdsFieldServiceClient->getGoogleAdsField($formattedResourceName); - * } finally { - * $googleAdsFieldServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the field to get. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Resources\GoogleAdsField - * - * @throws ApiException if the remote call fails - */ - public function getGoogleAdsField($resourceName, array $optionalArgs = []) - { - $request = new GetGoogleAdsFieldRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetGoogleAdsField', GoogleAdsField::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns all fields that match the search query. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QueryError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $googleAdsFieldServiceClient = new GoogleAdsFieldServiceClient(); - * try { - * $query = 'query'; - * // Iterate over pages of elements - * $pagedResponse = $googleAdsFieldServiceClient->searchGoogleAdsFields($query); - * foreach ($pagedResponse->iteratePages() as $page) { - * foreach ($page as $element) { - * // doSomethingWith($element); - * } - * } - * // Alternatively: - * // Iterate through all elements - * $pagedResponse = $googleAdsFieldServiceClient->searchGoogleAdsFields($query); - * foreach ($pagedResponse->iterateAllElements() as $element) { - * // doSomethingWith($element); - * } - * } finally { - * $googleAdsFieldServiceClient->close(); - * } - * ``` - * - * @param string $query Required. The query string. - * @param array $optionalArgs { - * Optional. - * - * @type string $pageToken - * A page token is used to specify a page of values to be returned. - * If no page token is specified (the default), the first page - * of values will be returned. Any page token used here must have - * been generated by a previous call to the API. - * @type int $pageSize - * The maximum number of resources contained in the underlying API - * response. The API may return fewer values in a page, even if - * there are additional values to be retrieved. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\PagedListResponse - * - * @throws ApiException if the remote call fails - */ - public function searchGoogleAdsFields($query, array $optionalArgs = []) - { - $request = new SearchGoogleAdsFieldsRequest(); - $request->setQuery($query); - if (isset($optionalArgs['pageToken'])) { - $request->setPageToken($optionalArgs['pageToken']); - } - - if (isset($optionalArgs['pageSize'])) { - $request->setPageSize($optionalArgs['pageSize']); - } - - return $this->getPagedListResponse('SearchGoogleAdsFields', $optionalArgs, SearchGoogleAdsFieldsResponse::class, $request); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/GoogleAdsServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/GoogleAdsServiceGapicClient.php deleted file mode 100644 index cf5096ebf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/GoogleAdsServiceGapicClient.php +++ /dev/null @@ -1,3115 +0,0 @@ -mutate($customerId, $mutateOperations); - * } finally { - * $googleAdsServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\GoogleAdsServiceClient} to use the new - * surface. - */ -class GoogleAdsServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.GoogleAdsService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $accessibleBiddingStrategyNameTemplate; - - private static $adNameTemplate; - - private static $adGroupNameTemplate; - - private static $adGroupAdNameTemplate; - - private static $adGroupAdLabelNameTemplate; - - private static $adGroupAssetNameTemplate; - - private static $adGroupBidModifierNameTemplate; - - private static $adGroupCriterionNameTemplate; - - private static $adGroupCriterionCustomizerNameTemplate; - - private static $adGroupCriterionLabelNameTemplate; - - private static $adGroupCustomizerNameTemplate; - - private static $adGroupExtensionSettingNameTemplate; - - private static $adGroupFeedNameTemplate; - - private static $adGroupLabelNameTemplate; - - private static $adParameterNameTemplate; - - private static $assetNameTemplate; - - private static $assetGroupNameTemplate; - - private static $assetGroupAssetNameTemplate; - - private static $assetGroupListingGroupFilterNameTemplate; - - private static $assetGroupSignalNameTemplate; - - private static $assetSetNameTemplate; - - private static $assetSetAssetNameTemplate; - - private static $audienceNameTemplate; - - private static $biddingDataExclusionNameTemplate; - - private static $biddingSeasonalityAdjustmentNameTemplate; - - private static $biddingStrategyNameTemplate; - - private static $campaignNameTemplate; - - private static $campaignAssetNameTemplate; - - private static $campaignAssetSetNameTemplate; - - private static $campaignBidModifierNameTemplate; - - private static $campaignBudgetNameTemplate; - - private static $campaignConversionGoalNameTemplate; - - private static $campaignCriterionNameTemplate; - - private static $campaignCustomizerNameTemplate; - - private static $campaignDraftNameTemplate; - - private static $campaignExtensionSettingNameTemplate; - - private static $campaignFeedNameTemplate; - - private static $campaignGroupNameTemplate; - - private static $campaignLabelNameTemplate; - - private static $campaignSharedSetNameTemplate; - - private static $combinedAudienceNameTemplate; - - private static $conversionActionNameTemplate; - - private static $conversionCustomVariableNameTemplate; - - private static $conversionGoalCampaignConfigNameTemplate; - - private static $conversionValueRuleNameTemplate; - - private static $conversionValueRuleSetNameTemplate; - - private static $customConversionGoalNameTemplate; - - private static $customerNameTemplate; - - private static $customerAssetNameTemplate; - - private static $customerConversionGoalNameTemplate; - - private static $customerCustomizerNameTemplate; - - private static $customerExtensionSettingNameTemplate; - - private static $customerFeedNameTemplate; - - private static $customerLabelNameTemplate; - - private static $customerNegativeCriterionNameTemplate; - - private static $customizerAttributeNameTemplate; - - private static $experimentNameTemplate; - - private static $experimentArmNameTemplate; - - private static $extensionFeedItemNameTemplate; - - private static $feedNameTemplate; - - private static $feedItemNameTemplate; - - private static $feedItemSetNameTemplate; - - private static $feedItemSetLinkNameTemplate; - - private static $feedItemTargetNameTemplate; - - private static $feedMappingNameTemplate; - - private static $geoTargetConstantNameTemplate; - - private static $keywordPlanNameTemplate; - - private static $keywordPlanAdGroupNameTemplate; - - private static $keywordPlanAdGroupKeywordNameTemplate; - - private static $keywordPlanCampaignNameTemplate; - - private static $keywordPlanCampaignKeywordNameTemplate; - - private static $labelNameTemplate; - - private static $languageConstantNameTemplate; - - private static $mobileAppCategoryConstantNameTemplate; - - private static $recommendationSubscriptionNameTemplate; - - private static $remarketingActionNameTemplate; - - private static $sharedCriterionNameTemplate; - - private static $sharedSetNameTemplate; - - private static $smartCampaignSettingNameTemplate; - - private static $topicConstantNameTemplate; - - private static $userInterestNameTemplate; - - private static $userListNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/google_ads_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/google_ads_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/google_ads_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/google_ads_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAccessibleBiddingStrategyNameTemplate() - { - if (self::$accessibleBiddingStrategyNameTemplate == null) { - self::$accessibleBiddingStrategyNameTemplate = new PathTemplate('customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}'); - } - - return self::$accessibleBiddingStrategyNameTemplate; - } - - private static function getAdNameTemplate() - { - if (self::$adNameTemplate == null) { - self::$adNameTemplate = new PathTemplate('customers/{customer_id}/ads/{ad_id}'); - } - - return self::$adNameTemplate; - } - - private static function getAdGroupNameTemplate() - { - if (self::$adGroupNameTemplate == null) { - self::$adGroupNameTemplate = new PathTemplate('customers/{customer_id}/adGroups/{ad_group_id}'); - } - - return self::$adGroupNameTemplate; - } - - private static function getAdGroupAdNameTemplate() - { - if (self::$adGroupAdNameTemplate == null) { - self::$adGroupAdNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}'); - } - - return self::$adGroupAdNameTemplate; - } - - private static function getAdGroupAdLabelNameTemplate() - { - if (self::$adGroupAdLabelNameTemplate == null) { - self::$adGroupAdLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}'); - } - - return self::$adGroupAdLabelNameTemplate; - } - - private static function getAdGroupAssetNameTemplate() - { - if (self::$adGroupAssetNameTemplate == null) { - self::$adGroupAssetNameTemplate = new PathTemplate('customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}'); - } - - return self::$adGroupAssetNameTemplate; - } - - private static function getAdGroupBidModifierNameTemplate() - { - if (self::$adGroupBidModifierNameTemplate == null) { - self::$adGroupBidModifierNameTemplate = new PathTemplate('customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupBidModifierNameTemplate; - } - - private static function getAdGroupCriterionNameTemplate() - { - if (self::$adGroupCriterionNameTemplate == null) { - self::$adGroupCriterionNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}'); - } - - return self::$adGroupCriterionNameTemplate; - } - - private static function getAdGroupCriterionCustomizerNameTemplate() - { - if (self::$adGroupCriterionCustomizerNameTemplate == null) { - self::$adGroupCriterionCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}'); - } - - return self::$adGroupCriterionCustomizerNameTemplate; - } - - private static function getAdGroupCriterionLabelNameTemplate() - { - if (self::$adGroupCriterionLabelNameTemplate == null) { - self::$adGroupCriterionLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}'); - } - - return self::$adGroupCriterionLabelNameTemplate; - } - - private static function getAdGroupCustomizerNameTemplate() - { - if (self::$adGroupCustomizerNameTemplate == null) { - self::$adGroupCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}'); - } - - return self::$adGroupCustomizerNameTemplate; - } - - private static function getAdGroupExtensionSettingNameTemplate() - { - if (self::$adGroupExtensionSettingNameTemplate == null) { - self::$adGroupExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}'); - } - - return self::$adGroupExtensionSettingNameTemplate; - } - - private static function getAdGroupFeedNameTemplate() - { - if (self::$adGroupFeedNameTemplate == null) { - self::$adGroupFeedNameTemplate = new PathTemplate('customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}'); - } - - return self::$adGroupFeedNameTemplate; - } - - private static function getAdGroupLabelNameTemplate() - { - if (self::$adGroupLabelNameTemplate == null) { - self::$adGroupLabelNameTemplate = new PathTemplate('customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}'); - } - - return self::$adGroupLabelNameTemplate; - } - - private static function getAdParameterNameTemplate() - { - if (self::$adParameterNameTemplate == null) { - self::$adParameterNameTemplate = new PathTemplate('customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}'); - } - - return self::$adParameterNameTemplate; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getAssetGroupNameTemplate() - { - if (self::$assetGroupNameTemplate == null) { - self::$assetGroupNameTemplate = new PathTemplate('customers/{customer_id}/assetGroups/{asset_group_id}'); - } - - return self::$assetGroupNameTemplate; - } - - private static function getAssetGroupAssetNameTemplate() - { - if (self::$assetGroupAssetNameTemplate == null) { - self::$assetGroupAssetNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}'); - } - - return self::$assetGroupAssetNameTemplate; - } - - private static function getAssetGroupListingGroupFilterNameTemplate() - { - if (self::$assetGroupListingGroupFilterNameTemplate == null) { - self::$assetGroupListingGroupFilterNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}'); - } - - return self::$assetGroupListingGroupFilterNameTemplate; - } - - private static function getAssetGroupSignalNameTemplate() - { - if (self::$assetGroupSignalNameTemplate == null) { - self::$assetGroupSignalNameTemplate = new PathTemplate('customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}'); - } - - return self::$assetGroupSignalNameTemplate; - } - - private static function getAssetSetNameTemplate() - { - if (self::$assetSetNameTemplate == null) { - self::$assetSetNameTemplate = new PathTemplate('customers/{customer_id}/assetSets/{asset_set_id}'); - } - - return self::$assetSetNameTemplate; - } - - private static function getAssetSetAssetNameTemplate() - { - if (self::$assetSetAssetNameTemplate == null) { - self::$assetSetAssetNameTemplate = new PathTemplate('customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}'); - } - - return self::$assetSetAssetNameTemplate; - } - - private static function getAudienceNameTemplate() - { - if (self::$audienceNameTemplate == null) { - self::$audienceNameTemplate = new PathTemplate('customers/{customer_id}/audiences/{audience_id}'); - } - - return self::$audienceNameTemplate; - } - - private static function getBiddingDataExclusionNameTemplate() - { - if (self::$biddingDataExclusionNameTemplate == null) { - self::$biddingDataExclusionNameTemplate = new PathTemplate('customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}'); - } - - return self::$biddingDataExclusionNameTemplate; - } - - private static function getBiddingSeasonalityAdjustmentNameTemplate() - { - if (self::$biddingSeasonalityAdjustmentNameTemplate == null) { - self::$biddingSeasonalityAdjustmentNameTemplate = new PathTemplate('customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}'); - } - - return self::$biddingSeasonalityAdjustmentNameTemplate; - } - - private static function getBiddingStrategyNameTemplate() - { - if (self::$biddingStrategyNameTemplate == null) { - self::$biddingStrategyNameTemplate = new PathTemplate('customers/{customer_id}/biddingStrategies/{bidding_strategy_id}'); - } - - return self::$biddingStrategyNameTemplate; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getCampaignAssetNameTemplate() - { - if (self::$campaignAssetNameTemplate == null) { - self::$campaignAssetNameTemplate = new PathTemplate('customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}'); - } - - return self::$campaignAssetNameTemplate; - } - - private static function getCampaignAssetSetNameTemplate() - { - if (self::$campaignAssetSetNameTemplate == null) { - self::$campaignAssetSetNameTemplate = new PathTemplate('customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}'); - } - - return self::$campaignAssetSetNameTemplate; - } - - private static function getCampaignBidModifierNameTemplate() - { - if (self::$campaignBidModifierNameTemplate == null) { - self::$campaignBidModifierNameTemplate = new PathTemplate('customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}'); - } - - return self::$campaignBidModifierNameTemplate; - } - - private static function getCampaignBudgetNameTemplate() - { - if (self::$campaignBudgetNameTemplate == null) { - self::$campaignBudgetNameTemplate = new PathTemplate('customers/{customer_id}/campaignBudgets/{campaign_budget_id}'); - } - - return self::$campaignBudgetNameTemplate; - } - - private static function getCampaignConversionGoalNameTemplate() - { - if (self::$campaignConversionGoalNameTemplate == null) { - self::$campaignConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}'); - } - - return self::$campaignConversionGoalNameTemplate; - } - - private static function getCampaignCriterionNameTemplate() - { - if (self::$campaignCriterionNameTemplate == null) { - self::$campaignCriterionNameTemplate = new PathTemplate('customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}'); - } - - return self::$campaignCriterionNameTemplate; - } - - private static function getCampaignCustomizerNameTemplate() - { - if (self::$campaignCustomizerNameTemplate == null) { - self::$campaignCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}'); - } - - return self::$campaignCustomizerNameTemplate; - } - - private static function getCampaignDraftNameTemplate() - { - if (self::$campaignDraftNameTemplate == null) { - self::$campaignDraftNameTemplate = new PathTemplate('customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}'); - } - - return self::$campaignDraftNameTemplate; - } - - private static function getCampaignExtensionSettingNameTemplate() - { - if (self::$campaignExtensionSettingNameTemplate == null) { - self::$campaignExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}'); - } - - return self::$campaignExtensionSettingNameTemplate; - } - - private static function getCampaignFeedNameTemplate() - { - if (self::$campaignFeedNameTemplate == null) { - self::$campaignFeedNameTemplate = new PathTemplate('customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}'); - } - - return self::$campaignFeedNameTemplate; - } - - private static function getCampaignGroupNameTemplate() - { - if (self::$campaignGroupNameTemplate == null) { - self::$campaignGroupNameTemplate = new PathTemplate('customers/{customer_id}/campaignGroups/{campaign_group_id}'); - } - - return self::$campaignGroupNameTemplate; - } - - private static function getCampaignLabelNameTemplate() - { - if (self::$campaignLabelNameTemplate == null) { - self::$campaignLabelNameTemplate = new PathTemplate('customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}'); - } - - return self::$campaignLabelNameTemplate; - } - - private static function getCampaignSharedSetNameTemplate() - { - if (self::$campaignSharedSetNameTemplate == null) { - self::$campaignSharedSetNameTemplate = new PathTemplate('customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}'); - } - - return self::$campaignSharedSetNameTemplate; - } - - private static function getCombinedAudienceNameTemplate() - { - if (self::$combinedAudienceNameTemplate == null) { - self::$combinedAudienceNameTemplate = new PathTemplate('customers/{customer_id}/combinedAudiences/{combined_audience_id}'); - } - - return self::$combinedAudienceNameTemplate; - } - - private static function getConversionActionNameTemplate() - { - if (self::$conversionActionNameTemplate == null) { - self::$conversionActionNameTemplate = new PathTemplate('customers/{customer_id}/conversionActions/{conversion_action_id}'); - } - - return self::$conversionActionNameTemplate; - } - - private static function getConversionCustomVariableNameTemplate() - { - if (self::$conversionCustomVariableNameTemplate == null) { - self::$conversionCustomVariableNameTemplate = new PathTemplate('customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}'); - } - - return self::$conversionCustomVariableNameTemplate; - } - - private static function getConversionGoalCampaignConfigNameTemplate() - { - if (self::$conversionGoalCampaignConfigNameTemplate == null) { - self::$conversionGoalCampaignConfigNameTemplate = new PathTemplate('customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}'); - } - - return self::$conversionGoalCampaignConfigNameTemplate; - } - - private static function getConversionValueRuleNameTemplate() - { - if (self::$conversionValueRuleNameTemplate == null) { - self::$conversionValueRuleNameTemplate = new PathTemplate('customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}'); - } - - return self::$conversionValueRuleNameTemplate; - } - - private static function getConversionValueRuleSetNameTemplate() - { - if (self::$conversionValueRuleSetNameTemplate == null) { - self::$conversionValueRuleSetNameTemplate = new PathTemplate('customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}'); - } - - return self::$conversionValueRuleSetNameTemplate; - } - - private static function getCustomConversionGoalNameTemplate() - { - if (self::$customConversionGoalNameTemplate == null) { - self::$customConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/customConversionGoals/{goal_id}'); - } - - return self::$customConversionGoalNameTemplate; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getCustomerAssetNameTemplate() - { - if (self::$customerAssetNameTemplate == null) { - self::$customerAssetNameTemplate = new PathTemplate('customers/{customer_id}/customerAssets/{asset_id}~{field_type}'); - } - - return self::$customerAssetNameTemplate; - } - - private static function getCustomerConversionGoalNameTemplate() - { - if (self::$customerConversionGoalNameTemplate == null) { - self::$customerConversionGoalNameTemplate = new PathTemplate('customers/{customer_id}/customerConversionGoals/{category}~{source}'); - } - - return self::$customerConversionGoalNameTemplate; - } - - private static function getCustomerCustomizerNameTemplate() - { - if (self::$customerCustomizerNameTemplate == null) { - self::$customerCustomizerNameTemplate = new PathTemplate('customers/{customer_id}/customerCustomizers/{customizer_attribute_id}'); - } - - return self::$customerCustomizerNameTemplate; - } - - private static function getCustomerExtensionSettingNameTemplate() - { - if (self::$customerExtensionSettingNameTemplate == null) { - self::$customerExtensionSettingNameTemplate = new PathTemplate('customers/{customer_id}/customerExtensionSettings/{extension_type}'); - } - - return self::$customerExtensionSettingNameTemplate; - } - - private static function getCustomerFeedNameTemplate() - { - if (self::$customerFeedNameTemplate == null) { - self::$customerFeedNameTemplate = new PathTemplate('customers/{customer_id}/customerFeeds/{feed_id}'); - } - - return self::$customerFeedNameTemplate; - } - - private static function getCustomerLabelNameTemplate() - { - if (self::$customerLabelNameTemplate == null) { - self::$customerLabelNameTemplate = new PathTemplate('customers/{customer_id}/customerLabels/{label_id}'); - } - - return self::$customerLabelNameTemplate; - } - - private static function getCustomerNegativeCriterionNameTemplate() - { - if (self::$customerNegativeCriterionNameTemplate == null) { - self::$customerNegativeCriterionNameTemplate = new PathTemplate('customers/{customer_id}/customerNegativeCriteria/{criterion_id}'); - } - - return self::$customerNegativeCriterionNameTemplate; - } - - private static function getCustomizerAttributeNameTemplate() - { - if (self::$customizerAttributeNameTemplate == null) { - self::$customizerAttributeNameTemplate = new PathTemplate('customers/{customer_id}/customizerAttributes/{customizer_attribute_id}'); - } - - return self::$customizerAttributeNameTemplate; - } - - private static function getExperimentNameTemplate() - { - if (self::$experimentNameTemplate == null) { - self::$experimentNameTemplate = new PathTemplate('customers/{customer_id}/experiments/{trial_id}'); - } - - return self::$experimentNameTemplate; - } - - private static function getExperimentArmNameTemplate() - { - if (self::$experimentArmNameTemplate == null) { - self::$experimentArmNameTemplate = new PathTemplate('customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}'); - } - - return self::$experimentArmNameTemplate; - } - - private static function getExtensionFeedItemNameTemplate() - { - if (self::$extensionFeedItemNameTemplate == null) { - self::$extensionFeedItemNameTemplate = new PathTemplate('customers/{customer_id}/extensionFeedItems/{feed_item_id}'); - } - - return self::$extensionFeedItemNameTemplate; - } - - private static function getFeedNameTemplate() - { - if (self::$feedNameTemplate == null) { - self::$feedNameTemplate = new PathTemplate('customers/{customer_id}/feeds/{feed_id}'); - } - - return self::$feedNameTemplate; - } - - private static function getFeedItemNameTemplate() - { - if (self::$feedItemNameTemplate == null) { - self::$feedItemNameTemplate = new PathTemplate('customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}'); - } - - return self::$feedItemNameTemplate; - } - - private static function getFeedItemSetNameTemplate() - { - if (self::$feedItemSetNameTemplate == null) { - self::$feedItemSetNameTemplate = new PathTemplate('customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}'); - } - - return self::$feedItemSetNameTemplate; - } - - private static function getFeedItemSetLinkNameTemplate() - { - if (self::$feedItemSetLinkNameTemplate == null) { - self::$feedItemSetLinkNameTemplate = new PathTemplate('customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}'); - } - - return self::$feedItemSetLinkNameTemplate; - } - - private static function getFeedItemTargetNameTemplate() - { - if (self::$feedItemTargetNameTemplate == null) { - self::$feedItemTargetNameTemplate = new PathTemplate('customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}'); - } - - return self::$feedItemTargetNameTemplate; - } - - private static function getFeedMappingNameTemplate() - { - if (self::$feedMappingNameTemplate == null) { - self::$feedMappingNameTemplate = new PathTemplate('customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}'); - } - - return self::$feedMappingNameTemplate; - } - - private static function getGeoTargetConstantNameTemplate() - { - if (self::$geoTargetConstantNameTemplate == null) { - self::$geoTargetConstantNameTemplate = new PathTemplate('geoTargetConstants/{criterion_id}'); - } - - return self::$geoTargetConstantNameTemplate; - } - - private static function getKeywordPlanNameTemplate() - { - if (self::$keywordPlanNameTemplate == null) { - self::$keywordPlanNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlans/{keyword_plan_id}'); - } - - return self::$keywordPlanNameTemplate; - } - - private static function getKeywordPlanAdGroupNameTemplate() - { - if (self::$keywordPlanAdGroupNameTemplate == null) { - self::$keywordPlanAdGroupNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}'); - } - - return self::$keywordPlanAdGroupNameTemplate; - } - - private static function getKeywordPlanAdGroupKeywordNameTemplate() - { - if (self::$keywordPlanAdGroupKeywordNameTemplate == null) { - self::$keywordPlanAdGroupKeywordNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}'); - } - - return self::$keywordPlanAdGroupKeywordNameTemplate; - } - - private static function getKeywordPlanCampaignNameTemplate() - { - if (self::$keywordPlanCampaignNameTemplate == null) { - self::$keywordPlanCampaignNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}'); - } - - return self::$keywordPlanCampaignNameTemplate; - } - - private static function getKeywordPlanCampaignKeywordNameTemplate() - { - if (self::$keywordPlanCampaignKeywordNameTemplate == null) { - self::$keywordPlanCampaignKeywordNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}'); - } - - return self::$keywordPlanCampaignKeywordNameTemplate; - } - - private static function getLabelNameTemplate() - { - if (self::$labelNameTemplate == null) { - self::$labelNameTemplate = new PathTemplate('customers/{customer_id}/labels/{label_id}'); - } - - return self::$labelNameTemplate; - } - - private static function getLanguageConstantNameTemplate() - { - if (self::$languageConstantNameTemplate == null) { - self::$languageConstantNameTemplate = new PathTemplate('languageConstants/{criterion_id}'); - } - - return self::$languageConstantNameTemplate; - } - - private static function getMobileAppCategoryConstantNameTemplate() - { - if (self::$mobileAppCategoryConstantNameTemplate == null) { - self::$mobileAppCategoryConstantNameTemplate = new PathTemplate('mobileAppCategoryConstants/{mobile_app_category_id}'); - } - - return self::$mobileAppCategoryConstantNameTemplate; - } - - private static function getRecommendationSubscriptionNameTemplate() - { - if (self::$recommendationSubscriptionNameTemplate == null) { - self::$recommendationSubscriptionNameTemplate = new PathTemplate('customers/{customer_id}/recommendationSubscriptions/{recommendation_type}'); - } - - return self::$recommendationSubscriptionNameTemplate; - } - - private static function getRemarketingActionNameTemplate() - { - if (self::$remarketingActionNameTemplate == null) { - self::$remarketingActionNameTemplate = new PathTemplate('customers/{customer_id}/remarketingActions/{remarketing_action_id}'); - } - - return self::$remarketingActionNameTemplate; - } - - private static function getSharedCriterionNameTemplate() - { - if (self::$sharedCriterionNameTemplate == null) { - self::$sharedCriterionNameTemplate = new PathTemplate('customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}'); - } - - return self::$sharedCriterionNameTemplate; - } - - private static function getSharedSetNameTemplate() - { - if (self::$sharedSetNameTemplate == null) { - self::$sharedSetNameTemplate = new PathTemplate('customers/{customer_id}/sharedSets/{shared_set_id}'); - } - - return self::$sharedSetNameTemplate; - } - - private static function getSmartCampaignSettingNameTemplate() - { - if (self::$smartCampaignSettingNameTemplate == null) { - self::$smartCampaignSettingNameTemplate = new PathTemplate('customers/{customer_id}/smartCampaignSettings/{campaign_id}'); - } - - return self::$smartCampaignSettingNameTemplate; - } - - private static function getTopicConstantNameTemplate() - { - if (self::$topicConstantNameTemplate == null) { - self::$topicConstantNameTemplate = new PathTemplate('topicConstants/{topic_id}'); - } - - return self::$topicConstantNameTemplate; - } - - private static function getUserInterestNameTemplate() - { - if (self::$userInterestNameTemplate == null) { - self::$userInterestNameTemplate = new PathTemplate('customers/{customer_id}/userInterests/{user_interest_id}'); - } - - return self::$userInterestNameTemplate; - } - - private static function getUserListNameTemplate() - { - if (self::$userListNameTemplate == null) { - self::$userListNameTemplate = new PathTemplate('customers/{customer_id}/userLists/{user_list_id}'); - } - - return self::$userListNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'accessibleBiddingStrategy' => self::getAccessibleBiddingStrategyNameTemplate(), - 'ad' => self::getAdNameTemplate(), - 'adGroup' => self::getAdGroupNameTemplate(), - 'adGroupAd' => self::getAdGroupAdNameTemplate(), - 'adGroupAdLabel' => self::getAdGroupAdLabelNameTemplate(), - 'adGroupAsset' => self::getAdGroupAssetNameTemplate(), - 'adGroupBidModifier' => self::getAdGroupBidModifierNameTemplate(), - 'adGroupCriterion' => self::getAdGroupCriterionNameTemplate(), - 'adGroupCriterionCustomizer' => self::getAdGroupCriterionCustomizerNameTemplate(), - 'adGroupCriterionLabel' => self::getAdGroupCriterionLabelNameTemplate(), - 'adGroupCustomizer' => self::getAdGroupCustomizerNameTemplate(), - 'adGroupExtensionSetting' => self::getAdGroupExtensionSettingNameTemplate(), - 'adGroupFeed' => self::getAdGroupFeedNameTemplate(), - 'adGroupLabel' => self::getAdGroupLabelNameTemplate(), - 'adParameter' => self::getAdParameterNameTemplate(), - 'asset' => self::getAssetNameTemplate(), - 'assetGroup' => self::getAssetGroupNameTemplate(), - 'assetGroupAsset' => self::getAssetGroupAssetNameTemplate(), - 'assetGroupListingGroupFilter' => self::getAssetGroupListingGroupFilterNameTemplate(), - 'assetGroupSignal' => self::getAssetGroupSignalNameTemplate(), - 'assetSet' => self::getAssetSetNameTemplate(), - 'assetSetAsset' => self::getAssetSetAssetNameTemplate(), - 'audience' => self::getAudienceNameTemplate(), - 'biddingDataExclusion' => self::getBiddingDataExclusionNameTemplate(), - 'biddingSeasonalityAdjustment' => self::getBiddingSeasonalityAdjustmentNameTemplate(), - 'biddingStrategy' => self::getBiddingStrategyNameTemplate(), - 'campaign' => self::getCampaignNameTemplate(), - 'campaignAsset' => self::getCampaignAssetNameTemplate(), - 'campaignAssetSet' => self::getCampaignAssetSetNameTemplate(), - 'campaignBidModifier' => self::getCampaignBidModifierNameTemplate(), - 'campaignBudget' => self::getCampaignBudgetNameTemplate(), - 'campaignConversionGoal' => self::getCampaignConversionGoalNameTemplate(), - 'campaignCriterion' => self::getCampaignCriterionNameTemplate(), - 'campaignCustomizer' => self::getCampaignCustomizerNameTemplate(), - 'campaignDraft' => self::getCampaignDraftNameTemplate(), - 'campaignExtensionSetting' => self::getCampaignExtensionSettingNameTemplate(), - 'campaignFeed' => self::getCampaignFeedNameTemplate(), - 'campaignGroup' => self::getCampaignGroupNameTemplate(), - 'campaignLabel' => self::getCampaignLabelNameTemplate(), - 'campaignSharedSet' => self::getCampaignSharedSetNameTemplate(), - 'combinedAudience' => self::getCombinedAudienceNameTemplate(), - 'conversionAction' => self::getConversionActionNameTemplate(), - 'conversionCustomVariable' => self::getConversionCustomVariableNameTemplate(), - 'conversionGoalCampaignConfig' => self::getConversionGoalCampaignConfigNameTemplate(), - 'conversionValueRule' => self::getConversionValueRuleNameTemplate(), - 'conversionValueRuleSet' => self::getConversionValueRuleSetNameTemplate(), - 'customConversionGoal' => self::getCustomConversionGoalNameTemplate(), - 'customer' => self::getCustomerNameTemplate(), - 'customerAsset' => self::getCustomerAssetNameTemplate(), - 'customerConversionGoal' => self::getCustomerConversionGoalNameTemplate(), - 'customerCustomizer' => self::getCustomerCustomizerNameTemplate(), - 'customerExtensionSetting' => self::getCustomerExtensionSettingNameTemplate(), - 'customerFeed' => self::getCustomerFeedNameTemplate(), - 'customerLabel' => self::getCustomerLabelNameTemplate(), - 'customerNegativeCriterion' => self::getCustomerNegativeCriterionNameTemplate(), - 'customizerAttribute' => self::getCustomizerAttributeNameTemplate(), - 'experiment' => self::getExperimentNameTemplate(), - 'experimentArm' => self::getExperimentArmNameTemplate(), - 'extensionFeedItem' => self::getExtensionFeedItemNameTemplate(), - 'feed' => self::getFeedNameTemplate(), - 'feedItem' => self::getFeedItemNameTemplate(), - 'feedItemSet' => self::getFeedItemSetNameTemplate(), - 'feedItemSetLink' => self::getFeedItemSetLinkNameTemplate(), - 'feedItemTarget' => self::getFeedItemTargetNameTemplate(), - 'feedMapping' => self::getFeedMappingNameTemplate(), - 'geoTargetConstant' => self::getGeoTargetConstantNameTemplate(), - 'keywordPlan' => self::getKeywordPlanNameTemplate(), - 'keywordPlanAdGroup' => self::getKeywordPlanAdGroupNameTemplate(), - 'keywordPlanAdGroupKeyword' => self::getKeywordPlanAdGroupKeywordNameTemplate(), - 'keywordPlanCampaign' => self::getKeywordPlanCampaignNameTemplate(), - 'keywordPlanCampaignKeyword' => self::getKeywordPlanCampaignKeywordNameTemplate(), - 'label' => self::getLabelNameTemplate(), - 'languageConstant' => self::getLanguageConstantNameTemplate(), - 'mobileAppCategoryConstant' => self::getMobileAppCategoryConstantNameTemplate(), - 'recommendationSubscription' => self::getRecommendationSubscriptionNameTemplate(), - 'remarketingAction' => self::getRemarketingActionNameTemplate(), - 'sharedCriterion' => self::getSharedCriterionNameTemplate(), - 'sharedSet' => self::getSharedSetNameTemplate(), - 'smartCampaignSetting' => self::getSmartCampaignSettingNameTemplate(), - 'topicConstant' => self::getTopicConstantNameTemplate(), - 'userInterest' => self::getUserInterestNameTemplate(), - 'userList' => self::getUserListNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * accessible_bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted accessible_bidding_strategy resource. - */ - public static function accessibleBiddingStrategyName($customerId, $biddingStrategyId) - { - return self::getAccessibleBiddingStrategyNameTemplate()->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName($customerId, $adId) - { - return self::getAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group - * resource. - * - * @param string $customerId - * @param string $adGroupId - * - * @return string The formatted ad_group resource. - */ - public static function adGroupName($customerId, $adGroupId) - { - return self::getAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_group_ad - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * - * @return string The formatted ad_group_ad resource. - */ - public static function adGroupAdName($customerId, $adGroupId, $adId) - { - return self::getAdGroupAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_ad_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $adId - * @param string $labelId - * - * @return string The formatted ad_group_ad_label resource. - */ - public static function adGroupAdLabelName($customerId, $adGroupId, $adId, $labelId) - { - return self::getAdGroupAdLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'ad_id' => $adId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_asset resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted ad_group_asset resource. - */ - public static function adGroupAssetName($customerId, $adGroupId, $assetId, $fieldType) - { - return self::getAdGroupAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_bid_modifier resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_bid_modifier resource. - */ - public static function adGroupBidModifierName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupBidModifierNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * - * @return string The formatted ad_group_criterion resource. - */ - public static function adGroupCriterionName($customerId, $adGroupId, $criterionId) - { - return self::getAdGroupCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_criterion_customizer resource. - */ - public static function adGroupCriterionCustomizerName($customerId, $adGroupId, $criterionId, $customizerAttributeId) - { - return self::getAdGroupCriterionCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_criterion_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $labelId - * - * @return string The formatted ad_group_criterion_label resource. - */ - public static function adGroupCriterionLabelName($customerId, $adGroupId, $criterionId, $labelId) - { - return self::getAdGroupCriterionLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_customizer resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $customizerAttributeId - * - * @return string The formatted ad_group_customizer resource. - */ - public static function adGroupCustomizerName($customerId, $adGroupId, $customizerAttributeId) - { - return self::getAdGroupCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_extension_setting resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $extensionType - * - * @return string The formatted ad_group_extension_setting resource. - */ - public static function adGroupExtensionSettingName($customerId, $adGroupId, $extensionType) - { - return self::getAdGroupExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_feed resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $feedId - * - * @return string The formatted ad_group_feed resource. - */ - public static function adGroupFeedName($customerId, $adGroupId, $feedId) - { - return self::getAdGroupFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * ad_group_label resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $labelId - * - * @return string The formatted ad_group_label resource. - */ - public static function adGroupLabelName($customerId, $adGroupId, $labelId) - { - return self::getAdGroupLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a ad_parameter - * resource. - * - * @param string $customerId - * @param string $adGroupId - * @param string $criterionId - * @param string $parameterIndex - * - * @return string The formatted ad_parameter resource. - */ - public static function adParameterName($customerId, $adGroupId, $criterionId, $parameterIndex) - { - return self::getAdParameterNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_group_id' => $adGroupId, - 'criterion_id' => $criterionId, - 'parameter_index' => $parameterIndex, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_group - * resource. - * - * @param string $customerId - * @param string $assetGroupId - * - * @return string The formatted asset_group resource. - */ - public static function assetGroupName($customerId, $assetGroupId) - { - return self::getAssetGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_asset resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted asset_group_asset resource. - */ - public static function assetGroupAssetName($customerId, $assetGroupId, $assetId, $fieldType) - { - return self::getAssetGroupAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_listing_group_filter resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $listingGroupFilterId - * - * @return string The formatted asset_group_listing_group_filter resource. - */ - public static function assetGroupListingGroupFilterName($customerId, $assetGroupId, $listingGroupFilterId) - { - return self::getAssetGroupListingGroupFilterNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'listing_group_filter_id' => $listingGroupFilterId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_group_signal resource. - * - * @param string $customerId - * @param string $assetGroupId - * @param string $criterionId - * - * @return string The formatted asset_group_signal resource. - */ - public static function assetGroupSignalName($customerId, $assetGroupId, $criterionId) - { - return self::getAssetGroupSignalNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_group_id' => $assetGroupId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset_set - * resource. - * - * @param string $customerId - * @param string $assetSetId - * - * @return string The formatted asset_set resource. - */ - public static function assetSetName($customerId, $assetSetId) - { - return self::getAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * asset_set_asset resource. - * - * @param string $customerId - * @param string $assetSetId - * @param string $assetId - * - * @return string The formatted asset_set_asset resource. - */ - public static function assetSetAssetName($customerId, $assetSetId, $assetId) - { - return self::getAssetSetAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_set_id' => $assetSetId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a audience - * resource. - * - * @param string $customerId - * @param string $audienceId - * - * @return string The formatted audience resource. - */ - public static function audienceName($customerId, $audienceId) - { - return self::getAudienceNameTemplate()->render([ - 'customer_id' => $customerId, - 'audience_id' => $audienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_data_exclusion resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_data_exclusion resource. - */ - public static function biddingDataExclusionName($customerId, $seasonalityEventId) - { - return self::getBiddingDataExclusionNameTemplate()->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_seasonality_adjustment resource. - * - * @param string $customerId - * @param string $seasonalityEventId - * - * @return string The formatted bidding_seasonality_adjustment resource. - */ - public static function biddingSeasonalityAdjustmentName($customerId, $seasonalityEventId) - { - return self::getBiddingSeasonalityAdjustmentNameTemplate()->render([ - 'customer_id' => $customerId, - 'seasonality_event_id' => $seasonalityEventId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * bidding_strategy resource. - * - * @param string $customerId - * @param string $biddingStrategyId - * - * @return string The formatted bidding_strategy resource. - */ - public static function biddingStrategyName($customerId, $biddingStrategyId) - { - return self::getBiddingStrategyNameTemplate()->render([ - 'customer_id' => $customerId, - 'bidding_strategy_id' => $biddingStrategyId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted campaign_asset resource. - */ - public static function campaignAssetName($customerId, $campaignId, $assetId, $fieldType) - { - return self::getCampaignAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_asset_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $assetSetId - * - * @return string The formatted campaign_asset_set resource. - */ - public static function campaignAssetSetName($customerId, $campaignId, $assetSetId) - { - return self::getCampaignAssetSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'asset_set_id' => $assetSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_bid_modifier resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_bid_modifier resource. - */ - public static function campaignBidModifierName($customerId, $campaignId, $criterionId) - { - return self::getCampaignBidModifierNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_budget resource. - * - * @param string $customerId - * @param string $campaignBudgetId - * - * @return string The formatted campaign_budget resource. - */ - public static function campaignBudgetName($customerId, $campaignBudgetId) - { - return self::getCampaignBudgetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_budget_id' => $campaignBudgetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_conversion_goal resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $category - * @param string $source - * - * @return string The formatted campaign_conversion_goal resource. - */ - public static function campaignConversionGoalName($customerId, $campaignId, $category, $source) - { - return self::getCampaignConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_criterion resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $criterionId - * - * @return string The formatted campaign_criterion resource. - */ - public static function campaignCriterionName($customerId, $campaignId, $criterionId) - { - return self::getCampaignCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_customizer resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $customizerAttributeId - * - * @return string The formatted campaign_customizer resource. - */ - public static function campaignCustomizerName($customerId, $campaignId, $customizerAttributeId) - { - return self::getCampaignCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_draft resource. - * - * @param string $customerId - * @param string $baseCampaignId - * @param string $draftId - * - * @return string The formatted campaign_draft resource. - */ - public static function campaignDraftName($customerId, $baseCampaignId, $draftId) - { - return self::getCampaignDraftNameTemplate()->render([ - 'customer_id' => $customerId, - 'base_campaign_id' => $baseCampaignId, - 'draft_id' => $draftId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_extension_setting resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $extensionType - * - * @return string The formatted campaign_extension_setting resource. - */ - public static function campaignExtensionSettingName($customerId, $campaignId, $extensionType) - { - return self::getCampaignExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_feed resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $feedId - * - * @return string The formatted campaign_feed resource. - */ - public static function campaignFeedName($customerId, $campaignId, $feedId) - { - return self::getCampaignFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_group resource. - * - * @param string $customerId - * @param string $campaignGroupId - * - * @return string The formatted campaign_group resource. - */ - public static function campaignGroupName($customerId, $campaignGroupId) - { - return self::getCampaignGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_group_id' => $campaignGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_label resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $labelId - * - * @return string The formatted campaign_label resource. - */ - public static function campaignLabelName($customerId, $campaignId, $labelId) - { - return self::getCampaignLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * campaign_shared_set resource. - * - * @param string $customerId - * @param string $campaignId - * @param string $sharedSetId - * - * @return string The formatted campaign_shared_set resource. - */ - public static function campaignSharedSetName($customerId, $campaignId, $sharedSetId) - { - return self::getCampaignSharedSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * combined_audience resource. - * - * @param string $customerId - * @param string $combinedAudienceId - * - * @return string The formatted combined_audience resource. - */ - public static function combinedAudienceName($customerId, $combinedAudienceId) - { - return self::getCombinedAudienceNameTemplate()->render([ - 'customer_id' => $customerId, - 'combined_audience_id' => $combinedAudienceId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName($customerId, $conversionActionId) - { - return self::getConversionActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_custom_variable resource. - * - * @param string $customerId - * @param string $conversionCustomVariableId - * - * @return string The formatted conversion_custom_variable resource. - */ - public static function conversionCustomVariableName($customerId, $conversionCustomVariableId) - { - return self::getConversionCustomVariableNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_custom_variable_id' => $conversionCustomVariableId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_goal_campaign_config resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted conversion_goal_campaign_config resource. - */ - public static function conversionGoalCampaignConfigName($customerId, $campaignId) - { - return self::getConversionGoalCampaignConfigNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule resource. - * - * @param string $customerId - * @param string $conversionValueRuleId - * - * @return string The formatted conversion_value_rule resource. - */ - public static function conversionValueRuleName($customerId, $conversionValueRuleId) - { - return self::getConversionValueRuleNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_id' => $conversionValueRuleId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_value_rule_set resource. - * - * @param string $customerId - * @param string $conversionValueRuleSetId - * - * @return string The formatted conversion_value_rule_set resource. - */ - public static function conversionValueRuleSetName($customerId, $conversionValueRuleSetId) - { - return self::getConversionValueRuleSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_value_rule_set_id' => $conversionValueRuleSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * custom_conversion_goal resource. - * - * @param string $customerId - * @param string $goalId - * - * @return string The formatted custom_conversion_goal resource. - */ - public static function customConversionGoalName($customerId, $goalId) - { - return self::getCustomConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'goal_id' => $goalId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_asset resource. - * - * @param string $customerId - * @param string $assetId - * @param string $fieldType - * - * @return string The formatted customer_asset resource. - */ - public static function customerAssetName($customerId, $assetId, $fieldType) - { - return self::getCustomerAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - 'field_type' => $fieldType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_conversion_goal resource. - * - * @param string $customerId - * @param string $category - * @param string $source - * - * @return string The formatted customer_conversion_goal resource. - */ - public static function customerConversionGoalName($customerId, $category, $source) - { - return self::getCustomerConversionGoalNameTemplate()->render([ - 'customer_id' => $customerId, - 'category' => $category, - 'source' => $source, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_customizer resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customer_customizer resource. - */ - public static function customerCustomizerName($customerId, $customizerAttributeId) - { - return self::getCustomerCustomizerNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_extension_setting resource. - * - * @param string $customerId - * @param string $extensionType - * - * @return string The formatted customer_extension_setting resource. - */ - public static function customerExtensionSettingName($customerId, $extensionType) - { - return self::getCustomerExtensionSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'extension_type' => $extensionType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_feed resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted customer_feed resource. - */ - public static function customerFeedName($customerId, $feedId) - { - return self::getCustomerFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_label resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted customer_label resource. - */ - public static function customerLabelName($customerId, $labelId) - { - return self::getCustomerLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customer_negative_criterion resource. - * - * @param string $customerId - * @param string $criterionId - * - * @return string The formatted customer_negative_criterion resource. - */ - public static function customerNegativeCriterionName($customerId, $criterionId) - { - return self::getCustomerNegativeCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * customizer_attribute resource. - * - * @param string $customerId - * @param string $customizerAttributeId - * - * @return string The formatted customizer_attribute resource. - */ - public static function customizerAttributeName($customerId, $customizerAttributeId) - { - return self::getCustomizerAttributeNameTemplate()->render([ - 'customer_id' => $customerId, - 'customizer_attribute_id' => $customizerAttributeId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a experiment - * resource. - * - * @param string $customerId - * @param string $trialId - * - * @return string The formatted experiment resource. - */ - public static function experimentName($customerId, $trialId) - { - return self::getExperimentNameTemplate()->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * experiment_arm resource. - * - * @param string $customerId - * @param string $trialId - * @param string $trialArmId - * - * @return string The formatted experiment_arm resource. - */ - public static function experimentArmName($customerId, $trialId, $trialArmId) - { - return self::getExperimentArmNameTemplate()->render([ - 'customer_id' => $customerId, - 'trial_id' => $trialId, - 'trial_arm_id' => $trialArmId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * extension_feed_item resource. - * - * @param string $customerId - * @param string $feedItemId - * - * @return string The formatted extension_feed_item resource. - */ - public static function extensionFeedItemName($customerId, $feedItemId) - { - return self::getExtensionFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed - * resource. - * - * @param string $customerId - * @param string $feedId - * - * @return string The formatted feed resource. - */ - public static function feedName($customerId, $feedId) - { - return self::getFeedNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_item - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * - * @return string The formatted feed_item resource. - */ - public static function feedItemName($customerId, $feedId, $feedItemId) - { - return self::getFeedItemNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * - * @return string The formatted feed_item_set resource. - */ - public static function feedItemSetName($customerId, $feedId, $feedItemSetId) - { - return self::getFeedItemSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_set_link resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemSetId - * @param string $feedItemId - * - * @return string The formatted feed_item_set_link resource. - */ - public static function feedItemSetLinkName($customerId, $feedId, $feedItemSetId, $feedItemId) - { - return self::getFeedItemSetLinkNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_set_id' => $feedItemSetId, - 'feed_item_id' => $feedItemId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * feed_item_target resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedItemId - * @param string $feedItemTargetType - * @param string $feedItemTargetId - * - * @return string The formatted feed_item_target resource. - */ - public static function feedItemTargetName($customerId, $feedId, $feedItemId, $feedItemTargetType, $feedItemTargetId) - { - return self::getFeedItemTargetNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_item_id' => $feedItemId, - 'feed_item_target_type' => $feedItemTargetType, - 'feed_item_target_id' => $feedItemTargetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a feed_mapping - * resource. - * - * @param string $customerId - * @param string $feedId - * @param string $feedMappingId - * - * @return string The formatted feed_mapping resource. - */ - public static function feedMappingName($customerId, $feedId, $feedMappingId) - { - return self::getFeedMappingNameTemplate()->render([ - 'customer_id' => $customerId, - 'feed_id' => $feedId, - 'feed_mapping_id' => $feedMappingId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName($criterionId) - { - return self::getGeoTargetConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a keyword_plan - * resource. - * - * @param string $customerId - * @param string $keywordPlanId - * - * @return string The formatted keyword_plan resource. - */ - public static function keywordPlanName($customerId, $keywordPlanId) - { - return self::getKeywordPlanNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_id' => $keywordPlanId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupId - * - * @return string The formatted keyword_plan_ad_group resource. - */ - public static function keywordPlanAdGroupName($customerId, $keywordPlanAdGroupId) - { - return self::getKeywordPlanAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_id' => $keywordPlanAdGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupKeywordId - * - * @return string The formatted keyword_plan_ad_group_keyword resource. - */ - public static function keywordPlanAdGroupKeywordName($customerId, $keywordPlanAdGroupKeywordId) - { - return self::getKeywordPlanAdGroupKeywordNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_keyword_id' => $keywordPlanAdGroupKeywordId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName($customerId, $keywordPlanCampaignId) - { - return self::getKeywordPlanCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignKeywordId - * - * @return string The formatted keyword_plan_campaign_keyword resource. - */ - public static function keywordPlanCampaignKeywordName($customerId, $keywordPlanCampaignKeywordId) - { - return self::getKeywordPlanCampaignKeywordNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_keyword_id' => $keywordPlanCampaignKeywordId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName($customerId, $labelId) - { - return self::getLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * language_constant resource. - * - * @param string $criterionId - * - * @return string The formatted language_constant resource. - */ - public static function languageConstantName($criterionId) - { - return self::getLanguageConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName($mobileAppCategoryId) - { - return self::getMobileAppCategoryConstantNameTemplate()->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * recommendation_subscription resource. - * - * @param string $customerId - * @param string $recommendationType - * - * @return string The formatted recommendation_subscription resource. - */ - public static function recommendationSubscriptionName($customerId, $recommendationType) - { - return self::getRecommendationSubscriptionNameTemplate()->render([ - 'customer_id' => $customerId, - 'recommendation_type' => $recommendationType, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * remarketing_action resource. - * - * @param string $customerId - * @param string $remarketingActionId - * - * @return string The formatted remarketing_action resource. - */ - public static function remarketingActionName($customerId, $remarketingActionId) - { - return self::getRemarketingActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'remarketing_action_id' => $remarketingActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * shared_criterion resource. - * - * @param string $customerId - * @param string $sharedSetId - * @param string $criterionId - * - * @return string The formatted shared_criterion resource. - */ - public static function sharedCriterionName($customerId, $sharedSetId, $criterionId) - { - return self::getSharedCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName($customerId, $sharedSetId) - { - return self::getSharedSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * smart_campaign_setting resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted smart_campaign_setting resource. - */ - public static function smartCampaignSettingName($customerId, $campaignId) - { - return self::getSmartCampaignSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * topic_constant resource. - * - * @param string $topicId - * - * @return string The formatted topic_constant resource. - */ - public static function topicConstantName($topicId) - { - return self::getTopicConstantNameTemplate()->render([ - 'topic_id' => $topicId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * user_interest resource. - * - * @param string $customerId - * @param string $userInterestId - * - * @return string The formatted user_interest resource. - */ - public static function userInterestName($customerId, $userInterestId) - { - return self::getUserInterestNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_interest_id' => $userInterestId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName($customerId, $userListId) - { - return self::getUserListNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - accessibleBiddingStrategy: customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id} - * - ad: customers/{customer_id}/ads/{ad_id} - * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} - * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} - * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} - * - adGroupAsset: customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type} - * - adGroupBidModifier: customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id} - * - adGroupCriterion: customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id} - * - adGroupCriterionCustomizer: customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id} - * - adGroupCriterionLabel: customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id} - * - adGroupCustomizer: customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id} - * - adGroupExtensionSetting: customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type} - * - adGroupFeed: customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - * - adGroupLabel: customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id} - * - adParameter: customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index} - * - asset: customers/{customer_id}/assets/{asset_id} - * - assetGroup: customers/{customer_id}/assetGroups/{asset_group_id} - * - assetGroupAsset: customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type} - * - assetGroupListingGroupFilter: customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id} - * - assetGroupSignal: customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id} - * - assetSet: customers/{customer_id}/assetSets/{asset_set_id} - * - assetSetAsset: customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id} - * - audience: customers/{customer_id}/audiences/{audience_id} - * - biddingDataExclusion: customers/{customer_id}/biddingDataExclusions/{seasonality_event_id} - * - biddingSeasonalityAdjustment: customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id} - * - biddingStrategy: customers/{customer_id}/biddingStrategies/{bidding_strategy_id} - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - campaignAsset: customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type} - * - campaignAssetSet: customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id} - * - campaignBidModifier: customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id} - * - campaignBudget: customers/{customer_id}/campaignBudgets/{campaign_budget_id} - * - campaignConversionGoal: customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source} - * - campaignCriterion: customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id} - * - campaignCustomizer: customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id} - * - campaignDraft: customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id} - * - campaignExtensionSetting: customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type} - * - campaignFeed: customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - * - campaignGroup: customers/{customer_id}/campaignGroups/{campaign_group_id} - * - campaignLabel: customers/{customer_id}/campaignLabels/{campaign_id}~{label_id} - * - campaignSharedSet: customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id} - * - combinedAudience: customers/{customer_id}/combinedAudiences/{combined_audience_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - conversionCustomVariable: customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id} - * - conversionGoalCampaignConfig: customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id} - * - conversionValueRule: customers/{customer_id}/conversionValueRules/{conversion_value_rule_id} - * - conversionValueRuleSet: customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id} - * - customConversionGoal: customers/{customer_id}/customConversionGoals/{goal_id} - * - customer: customers/{customer_id} - * - customerAsset: customers/{customer_id}/customerAssets/{asset_id}~{field_type} - * - customerConversionGoal: customers/{customer_id}/customerConversionGoals/{category}~{source} - * - customerCustomizer: customers/{customer_id}/customerCustomizers/{customizer_attribute_id} - * - customerExtensionSetting: customers/{customer_id}/customerExtensionSettings/{extension_type} - * - customerFeed: customers/{customer_id}/customerFeeds/{feed_id} - * - customerLabel: customers/{customer_id}/customerLabels/{label_id} - * - customerNegativeCriterion: customers/{customer_id}/customerNegativeCriteria/{criterion_id} - * - customizerAttribute: customers/{customer_id}/customizerAttributes/{customizer_attribute_id} - * - experiment: customers/{customer_id}/experiments/{trial_id} - * - experimentArm: customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id} - * - extensionFeedItem: customers/{customer_id}/extensionFeedItems/{feed_item_id} - * - feed: customers/{customer_id}/feeds/{feed_id} - * - feedItem: customers/{customer_id}/feedItems/{feed_id}~{feed_item_id} - * - feedItemSet: customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id} - * - feedItemSetLink: customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id} - * - feedItemTarget: customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id} - * - feedMapping: customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id} - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - keywordPlan: customers/{customer_id}/keywordPlans/{keyword_plan_id} - * - keywordPlanAdGroup: customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id} - * - keywordPlanAdGroupKeyword: customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id} - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - keywordPlanCampaignKeyword: customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id} - * - label: customers/{customer_id}/labels/{label_id} - * - languageConstant: languageConstants/{criterion_id} - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - recommendationSubscription: customers/{customer_id}/recommendationSubscriptions/{recommendation_type} - * - remarketingAction: customers/{customer_id}/remarketingActions/{remarketing_action_id} - * - sharedCriterion: customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id} - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - smartCampaignSetting: customers/{customer_id}/smartCampaignSettings/{campaign_id} - * - topicConstant: topicConstants/{topic_id} - * - userInterest: customers/{customer_id}/userInterests/{user_interest_id} - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes resources. This method supports atomic - * transactions with multiple types of resources. For example, you can - * atomically create a campaign and a campaign budget, or perform up to - * thousands of mutates atomically. - * - * This method is essentially a wrapper around a series of mutate methods. The - * only features it offers over calling those methods directly are: - * - * - Atomic transactions - * - Temp resource names (described below) - * - Somewhat reduced latency over making a series of mutate calls - * - * Note: Only resources that support atomic transactions are included, so this - * method can't replace all calls to individual services. - * - * ## Atomic Transaction Benefits - * - * Atomicity makes error handling much easier. If you're making a series of - * changes and one fails, it can leave your account in an inconsistent state. - * With atomicity, you either reach the chosen state directly, or the request - * fails and you can retry. - * - * ## Temp Resource Names - * - * Temp resource names are a special type of resource name used to create a - * resource and reference that resource in the same request. For example, if a - * campaign budget is created with `resource_name` equal to - * `customers/123/campaignBudgets/-1`, that resource name can be reused in - * the `Campaign.budget` field in the same request. That way, the two - * resources are created and linked atomically. - * - * To create a temp resource name, put a negative number in the part of the - * name that the server would normally allocate. - * - * Note: - * - * - Resources must be created with a temp name before the name can be reused. - * For example, the previous CampaignBudget+Campaign example would fail if - * the mutate order was reversed. - * - Temp names are not remembered across requests. - * - There's no limit to the number of temp names in a request. - * - Each temp name must use a unique negative number, even if the resource - * types differ. - * - * ## Latency - * - * It's important to group mutates by resource type or the request may time - * out and fail. Latency is roughly equal to a series of calls to individual - * mutate methods, where each change in resource type is a new call. For - * example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - * mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - * - * List of thrown errors: - * [AdCustomizerError]() - * [AdError]() - * [AdGroupAdError]() - * [AdGroupCriterionError]() - * [AdGroupError]() - * [AssetError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [CampaignBudgetError]() - * [CampaignCriterionError]() - * [CampaignError]() - * [CampaignExperimentError]() - * [CampaignSharedSetError]() - * [CollectionSizeError]() - * [ContextError]() - * [ConversionActionError]() - * [CriterionError]() - * [CustomerFeedError]() - * [DatabaseError]() - * [DateError]() - * [DateRangeError]() - * [DistinctError]() - * [ExtensionFeedItemError]() - * [ExtensionSettingError]() - * [FeedAttributeReferenceError]() - * [FeedError]() - * [FeedItemError]() - * [FeedItemSetError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionParsingError]() - * [HeaderError]() - * [ImageError]() - * [InternalError]() - * [KeywordPlanAdGroupKeywordError]() - * [KeywordPlanCampaignError]() - * [KeywordPlanError]() - * [LabelError]() - * [ListOperationError]() - * [MediaUploadError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [PolicyFindingError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SettingError]() - * [SharedSetError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * [UserListError]() - * [YoutubeVideoRegistrationError]() - * - * Sample code: - * ``` - * $googleAdsServiceClient = new GoogleAdsServiceClient(); - * try { - * $customerId = 'customer_id'; - * $mutateOperations = []; - * $response = $googleAdsServiceClient->mutate($customerId, $mutateOperations); - * } finally { - * $googleAdsServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose resources are being modified. - * @param MutateOperation[] $mutateOperations Required. The list of operations to perform on individual resources. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateGoogleAdsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutate($customerId, $mutateOperations, array $optionalArgs = []) - { - $request = new MutateGoogleAdsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setMutateOperations($mutateOperations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('Mutate', MutateGoogleAdsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns all rows that match the search query. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ChangeEventError]() - * [ChangeStatusError]() - * [ClickViewError]() - * [HeaderError]() - * [InternalError]() - * [QueryError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $googleAdsServiceClient = new GoogleAdsServiceClient(); - * try { - * $customerId = 'customer_id'; - * $query = 'query'; - * // Iterate over pages of elements - * $pagedResponse = $googleAdsServiceClient->search($customerId, $query); - * foreach ($pagedResponse->iteratePages() as $page) { - * foreach ($page as $element) { - * // doSomethingWith($element); - * } - * } - * // Alternatively: - * // Iterate through all elements - * $pagedResponse = $googleAdsServiceClient->search($customerId, $query); - * foreach ($pagedResponse->iterateAllElements() as $element) { - * // doSomethingWith($element); - * } - * } finally { - * $googleAdsServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer being queried. - * @param string $query Required. The query string. - * @param array $optionalArgs { - * Optional. - * - * @type string $pageToken - * A page token is used to specify a page of values to be returned. - * If no page token is specified (the default), the first page - * of values will be returned. Any page token used here must have - * been generated by a previous call to the API. - * @type int $pageSize - * The maximum number of resources contained in the underlying API - * response. The API may return fewer values in a page, even if - * there are additional values to be retrieved. - * @type bool $validateOnly - * If true, the request is validated but not executed. - * @type bool $returnTotalResultsCount - * If true, the total number of results that match the query ignoring the - * LIMIT clause will be included in the response. - * Default is false. - * @type int $summaryRowSetting - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\SummaryRowSettingEnum\SummaryRowSetting} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\PagedListResponse - * - * @throws ApiException if the remote call fails - */ - public function search($customerId, $query, array $optionalArgs = []) - { - $request = new SearchGoogleAdsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setQuery($query); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['pageToken'])) { - $request->setPageToken($optionalArgs['pageToken']); - } - - if (isset($optionalArgs['pageSize'])) { - $request->setPageSize($optionalArgs['pageSize']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['returnTotalResultsCount'])) { - $request->setReturnTotalResultsCount($optionalArgs['returnTotalResultsCount']); - } - - if (isset($optionalArgs['summaryRowSetting'])) { - $request->setSummaryRowSetting($optionalArgs['summaryRowSetting']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('Search', $optionalArgs, SearchGoogleAdsResponse::class, $request); - } - - /** - * Returns all rows that match the search stream query. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ChangeEventError]() - * [ChangeStatusError]() - * [ClickViewError]() - * [HeaderError]() - * [InternalError]() - * [QueryError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $googleAdsServiceClient = new GoogleAdsServiceClient(); - * try { - * $customerId = 'customer_id'; - * $query = 'query'; - * // Read all responses until the stream is complete - * $stream = $googleAdsServiceClient->searchStream($customerId, $query); - * foreach ($stream->readAll() as $element) { - * // doSomethingWith($element); - * } - * } finally { - * $googleAdsServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer being queried. - * @param string $query Required. The query string. - * @param array $optionalArgs { - * Optional. - * - * @type int $summaryRowSetting - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\SummaryRowSettingEnum\SummaryRowSetting} - * @type int $timeoutMillis - * Timeout to use for this call. - * } - * - * @return \Google\ApiCore\ServerStream - * - * @throws ApiException if the remote call fails - */ - public function searchStream($customerId, $query, array $optionalArgs = []) - { - $request = new SearchGoogleAdsStreamRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setQuery($query); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['summaryRowSetting'])) { - $request->setSummaryRowSetting($optionalArgs['summaryRowSetting']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('SearchStream', SearchGoogleAdsStreamResponse::class, $optionalArgs, $request, Call::SERVER_STREAMING_CALL); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/InvoiceServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/InvoiceServiceGapicClient.php deleted file mode 100644 index 311934b4e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/InvoiceServiceGapicClient.php +++ /dev/null @@ -1,223 +0,0 @@ -listInvoices($customerId, $billingSetup, $issueYear, $issueMonth); - * } finally { - * $invoiceServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\InvoiceServiceClient} to use the new - * surface. - */ -class InvoiceServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.InvoiceService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/invoice_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/invoice_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/invoice_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/invoice_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns all invoices associated with a billing setup, for a given month. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [InvoiceError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $invoiceServiceClient = new InvoiceServiceClient(); - * try { - * $customerId = 'customer_id'; - * $billingSetup = 'billing_setup'; - * $issueYear = 'issue_year'; - * $issueMonth = MonthOfYear::UNSPECIFIED; - * $response = $invoiceServiceClient->listInvoices($customerId, $billingSetup, $issueYear, $issueMonth); - * } finally { - * $invoiceServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer to fetch invoices for. - * @param string $billingSetup Required. The billing setup resource name of the requested invoices. - * - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * @param string $issueYear Required. The issue year to retrieve invoices, in yyyy format. Only - * invoices issued in 2019 or later can be retrieved. - * @param int $issueMonth Required. The issue month to retrieve invoices. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\MonthOfYearEnum\MonthOfYear} - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ListInvoicesResponse - * - * @throws ApiException if the remote call fails - */ - public function listInvoices($customerId, $billingSetup, $issueYear, $issueMonth, array $optionalArgs = []) - { - $request = new ListInvoicesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setBillingSetup($billingSetup); - $request->setIssueYear($issueYear); - $request->setIssueMonth($issueMonth); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('ListInvoices', ListInvoicesResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanAdGroupKeywordServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanAdGroupKeywordServiceGapicClient.php deleted file mode 100644 index 8f0ee9a00..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanAdGroupKeywordServiceGapicClient.php +++ /dev/null @@ -1,356 +0,0 @@ -mutateKeywordPlanAdGroupKeywords($customerId, $operations); - * } finally { - * $keywordPlanAdGroupKeywordServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\KeywordPlanAdGroupKeywordServiceClient} - * to use the new surface. - */ -class KeywordPlanAdGroupKeywordServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $keywordPlanAdGroupNameTemplate; - - private static $keywordPlanAdGroupKeywordNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_ad_group_keyword_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_keyword_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_keyword_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_keyword_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getKeywordPlanAdGroupNameTemplate() - { - if (self::$keywordPlanAdGroupNameTemplate == null) { - self::$keywordPlanAdGroupNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}'); - } - - return self::$keywordPlanAdGroupNameTemplate; - } - - private static function getKeywordPlanAdGroupKeywordNameTemplate() - { - if (self::$keywordPlanAdGroupKeywordNameTemplate == null) { - self::$keywordPlanAdGroupKeywordNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}'); - } - - return self::$keywordPlanAdGroupKeywordNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'keywordPlanAdGroup' => self::getKeywordPlanAdGroupNameTemplate(), - 'keywordPlanAdGroupKeyword' => self::getKeywordPlanAdGroupKeywordNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupId - * - * @return string The formatted keyword_plan_ad_group resource. - */ - public static function keywordPlanAdGroupName($customerId, $keywordPlanAdGroupId) - { - return self::getKeywordPlanAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_id' => $keywordPlanAdGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupKeywordId - * - * @return string The formatted keyword_plan_ad_group_keyword resource. - */ - public static function keywordPlanAdGroupKeywordName($customerId, $keywordPlanAdGroupKeywordId) - { - return self::getKeywordPlanAdGroupKeywordNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_keyword_id' => $keywordPlanAdGroupKeywordId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - keywordPlanAdGroup: customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id} - * - keywordPlanAdGroupKeyword: customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes Keyword Plan ad group keywords. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanAdGroupKeywordError]() - * [KeywordPlanError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * Sample code: - * ``` - * $keywordPlanAdGroupKeywordServiceClient = new KeywordPlanAdGroupKeywordServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $keywordPlanAdGroupKeywordServiceClient->mutateKeywordPlanAdGroupKeywords($customerId, $operations); - * } finally { - * $keywordPlanAdGroupKeywordServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose Keyword Plan ad group keywords are - * being modified. - * @param KeywordPlanAdGroupKeywordOperation[] $operations Required. The list of operations to perform on individual Keyword Plan ad - * group keywords. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateKeywordPlanAdGroupKeywords($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateKeywordPlanAdGroupKeywordsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateKeywordPlanAdGroupKeywords', MutateKeywordPlanAdGroupKeywordsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanAdGroupServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanAdGroupServiceGapicClient.php deleted file mode 100644 index edc946fe6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanAdGroupServiceGapicClient.php +++ /dev/null @@ -1,354 +0,0 @@ -mutateKeywordPlanAdGroups($customerId, $operations); - * } finally { - * $keywordPlanAdGroupServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\KeywordPlanAdGroupServiceClient} to - * use the new surface. - */ -class KeywordPlanAdGroupServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.KeywordPlanAdGroupService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $keywordPlanAdGroupNameTemplate; - - private static $keywordPlanCampaignNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_ad_group_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_ad_group_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getKeywordPlanAdGroupNameTemplate() - { - if (self::$keywordPlanAdGroupNameTemplate == null) { - self::$keywordPlanAdGroupNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}'); - } - - return self::$keywordPlanAdGroupNameTemplate; - } - - private static function getKeywordPlanCampaignNameTemplate() - { - if (self::$keywordPlanCampaignNameTemplate == null) { - self::$keywordPlanCampaignNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}'); - } - - return self::$keywordPlanCampaignNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'keywordPlanAdGroup' => self::getKeywordPlanAdGroupNameTemplate(), - 'keywordPlanCampaign' => self::getKeywordPlanCampaignNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_ad_group resource. - * - * @param string $customerId - * @param string $keywordPlanAdGroupId - * - * @return string The formatted keyword_plan_ad_group resource. - */ - public static function keywordPlanAdGroupName($customerId, $keywordPlanAdGroupId) - { - return self::getKeywordPlanAdGroupNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_ad_group_id' => $keywordPlanAdGroupId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName($customerId, $keywordPlanCampaignId) - { - return self::getKeywordPlanCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - keywordPlanAdGroup: customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id} - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes Keyword Plan ad groups. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanAdGroupError]() - * [KeywordPlanError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * Sample code: - * ``` - * $keywordPlanAdGroupServiceClient = new KeywordPlanAdGroupServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $keywordPlanAdGroupServiceClient->mutateKeywordPlanAdGroups($customerId, $operations); - * } finally { - * $keywordPlanAdGroupServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose Keyword Plan ad groups are being - * modified. - * @param KeywordPlanAdGroupOperation[] $operations Required. The list of operations to perform on individual Keyword Plan ad - * groups. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateKeywordPlanAdGroups($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateKeywordPlanAdGroupsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateKeywordPlanAdGroups', MutateKeywordPlanAdGroupsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanCampaignKeywordServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanCampaignKeywordServiceGapicClient.php deleted file mode 100644 index 0fe645fad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanCampaignKeywordServiceGapicClient.php +++ /dev/null @@ -1,354 +0,0 @@ -mutateKeywordPlanCampaignKeywords($customerId, $operations); - * } finally { - * $keywordPlanCampaignKeywordServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\KeywordPlanCampaignKeywordServiceClient} - * to use the new surface. - */ -class KeywordPlanCampaignKeywordServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $keywordPlanCampaignNameTemplate; - - private static $keywordPlanCampaignKeywordNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_campaign_keyword_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_keyword_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_keyword_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_keyword_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getKeywordPlanCampaignNameTemplate() - { - if (self::$keywordPlanCampaignNameTemplate == null) { - self::$keywordPlanCampaignNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}'); - } - - return self::$keywordPlanCampaignNameTemplate; - } - - private static function getKeywordPlanCampaignKeywordNameTemplate() - { - if (self::$keywordPlanCampaignKeywordNameTemplate == null) { - self::$keywordPlanCampaignKeywordNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}'); - } - - return self::$keywordPlanCampaignKeywordNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'keywordPlanCampaign' => self::getKeywordPlanCampaignNameTemplate(), - 'keywordPlanCampaignKeyword' => self::getKeywordPlanCampaignKeywordNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName($customerId, $keywordPlanCampaignId) - { - return self::getKeywordPlanCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign_keyword resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignKeywordId - * - * @return string The formatted keyword_plan_campaign_keyword resource. - */ - public static function keywordPlanCampaignKeywordName($customerId, $keywordPlanCampaignKeywordId) - { - return self::getKeywordPlanCampaignKeywordNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_keyword_id' => $keywordPlanCampaignKeywordId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - keywordPlanCampaignKeyword: customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes Keyword Plan campaign keywords. Operation - * statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanAdGroupKeywordError]() - * [KeywordPlanCampaignKeywordError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * Sample code: - * ``` - * $keywordPlanCampaignKeywordServiceClient = new KeywordPlanCampaignKeywordServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $keywordPlanCampaignKeywordServiceClient->mutateKeywordPlanCampaignKeywords($customerId, $operations); - * } finally { - * $keywordPlanCampaignKeywordServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose campaign keywords are being - * modified. - * @param KeywordPlanCampaignKeywordOperation[] $operations Required. The list of operations to perform on individual Keyword Plan - * campaign keywords. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateKeywordPlanCampaignKeywords($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateKeywordPlanCampaignKeywordsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateKeywordPlanCampaignKeywords', MutateKeywordPlanCampaignKeywordsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanCampaignServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanCampaignServiceGapicClient.php deleted file mode 100644 index 7cf52c5a5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanCampaignServiceGapicClient.php +++ /dev/null @@ -1,411 +0,0 @@ -mutateKeywordPlanCampaigns($customerId, $operations); - * } finally { - * $keywordPlanCampaignServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\KeywordPlanCampaignServiceClient} to - * use the new surface. - */ -class KeywordPlanCampaignServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.KeywordPlanCampaignService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $geoTargetConstantNameTemplate; - - private static $keywordPlanNameTemplate; - - private static $keywordPlanCampaignNameTemplate; - - private static $languageConstantNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_campaign_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_campaign_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getGeoTargetConstantNameTemplate() - { - if (self::$geoTargetConstantNameTemplate == null) { - self::$geoTargetConstantNameTemplate = new PathTemplate('geoTargetConstants/{criterion_id}'); - } - - return self::$geoTargetConstantNameTemplate; - } - - private static function getKeywordPlanNameTemplate() - { - if (self::$keywordPlanNameTemplate == null) { - self::$keywordPlanNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlans/{keyword_plan_id}'); - } - - return self::$keywordPlanNameTemplate; - } - - private static function getKeywordPlanCampaignNameTemplate() - { - if (self::$keywordPlanCampaignNameTemplate == null) { - self::$keywordPlanCampaignNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}'); - } - - return self::$keywordPlanCampaignNameTemplate; - } - - private static function getLanguageConstantNameTemplate() - { - if (self::$languageConstantNameTemplate == null) { - self::$languageConstantNameTemplate = new PathTemplate('languageConstants/{criterion_id}'); - } - - return self::$languageConstantNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'geoTargetConstant' => self::getGeoTargetConstantNameTemplate(), - 'keywordPlan' => self::getKeywordPlanNameTemplate(), - 'keywordPlanCampaign' => self::getKeywordPlanCampaignNameTemplate(), - 'languageConstant' => self::getLanguageConstantNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * geo_target_constant resource. - * - * @param string $criterionId - * - * @return string The formatted geo_target_constant resource. - */ - public static function geoTargetConstantName($criterionId) - { - return self::getGeoTargetConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a keyword_plan - * resource. - * - * @param string $customerId - * @param string $keywordPlanId - * - * @return string The formatted keyword_plan resource. - */ - public static function keywordPlanName($customerId, $keywordPlanId) - { - return self::getKeywordPlanNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_id' => $keywordPlanId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * keyword_plan_campaign resource. - * - * @param string $customerId - * @param string $keywordPlanCampaignId - * - * @return string The formatted keyword_plan_campaign resource. - */ - public static function keywordPlanCampaignName($customerId, $keywordPlanCampaignId) - { - return self::getKeywordPlanCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_campaign_id' => $keywordPlanCampaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * language_constant resource. - * - * @param string $criterionId - * - * @return string The formatted language_constant resource. - */ - public static function languageConstantName($criterionId) - { - return self::getLanguageConstantNameTemplate()->render([ - 'criterion_id' => $criterionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - geoTargetConstant: geoTargetConstants/{criterion_id} - * - keywordPlan: customers/{customer_id}/keywordPlans/{keyword_plan_id} - * - keywordPlanCampaign: customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id} - * - languageConstant: languageConstants/{criterion_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes Keyword Plan campaigns. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanCampaignError]() - * [KeywordPlanError]() - * [ListOperationError]() - * [MutateError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * - * Sample code: - * ``` - * $keywordPlanCampaignServiceClient = new KeywordPlanCampaignServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $keywordPlanCampaignServiceClient->mutateKeywordPlanCampaigns($customerId, $operations); - * } finally { - * $keywordPlanCampaignServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose Keyword Plan campaigns are being - * modified. - * @param KeywordPlanCampaignOperation[] $operations Required. The list of operations to perform on individual Keyword Plan - * campaigns. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateKeywordPlanCampaigns($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateKeywordPlanCampaignsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateKeywordPlanCampaigns', MutateKeywordPlanCampaignsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanIdeaServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanIdeaServiceGapicClient.php deleted file mode 100644 index ea5c5a8b2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanIdeaServiceGapicClient.php +++ /dev/null @@ -1,563 +0,0 @@ -generateAdGroupThemes($customerId, $keywords, $adGroups); - * } finally { - * $keywordPlanIdeaServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\KeywordPlanIdeaServiceClient} to use - * the new surface. - */ -class KeywordPlanIdeaServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.KeywordPlanIdeaService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_idea_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_idea_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_idea_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_idea_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns a list of suggested AdGroups and suggested modifications - * (text, match type) for the given keywords. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $keywordPlanIdeaServiceClient = new KeywordPlanIdeaServiceClient(); - * try { - * $customerId = 'customer_id'; - * $keywords = []; - * $adGroups = []; - * $response = $keywordPlanIdeaServiceClient->generateAdGroupThemes($customerId, $keywords, $adGroups); - * } finally { - * $keywordPlanIdeaServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param string[] $keywords Required. A list of keywords to group into the provided AdGroups. - * @param string[] $adGroups Required. A list of resource names of AdGroups to group keywords into. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateAdGroupThemesResponse - * - * @throws ApiException if the remote call fails - */ - public function generateAdGroupThemes($customerId, $keywords, $adGroups, array $optionalArgs = []) - { - $request = new GenerateAdGroupThemesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setKeywords($keywords); - $request->setAdGroups($adGroups); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GenerateAdGroupThemes', GenerateAdGroupThemesResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns metrics (such as impressions, clicks, total cost) of a keyword - * forecast for the given campaign. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $keywordPlanIdeaServiceClient = new KeywordPlanIdeaServiceClient(); - * try { - * $campaign = new CampaignToForecast(); - * $response = $keywordPlanIdeaServiceClient->generateKeywordForecastMetrics($campaign); - * } finally { - * $keywordPlanIdeaServiceClient->close(); - * } - * ``` - * - * @param CampaignToForecast $campaign Required. The campaign used in the forecast. - * @param array $optionalArgs { - * Optional. - * - * @type string $customerId - * The ID of the customer. - * @type string $currencyCode - * The currency used for exchange rate conversion. - * By default, the account currency of the customer is used. - * Set this field only if the currency is different from the account currency. - * The list of valid currency codes can be found at - * https://developers.google.com/google-ads/api/data/codes-formats#currency-codes. - * @type DateRange $forecastPeriod - * The date range for the forecast. The start date must be in the future and - * end date must be within 1 year from today. The reference timezone used is - * the one of the Google Ads account belonging to the customer. If not set, a - * default date range from next Sunday to the following Saturday will be used. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateKeywordForecastMetricsResponse - * - * @throws ApiException if the remote call fails - */ - public function generateKeywordForecastMetrics($campaign, array $optionalArgs = []) - { - $request = new GenerateKeywordForecastMetricsRequest(); - $requestParamHeaders = []; - $request->setCampaign($campaign); - if (isset($optionalArgs['customerId'])) { - $request->setCustomerId($optionalArgs['customerId']); - $requestParamHeaders['customer_id'] = $optionalArgs['customerId']; - } - - if (isset($optionalArgs['currencyCode'])) { - $request->setCurrencyCode($optionalArgs['currencyCode']); - } - - if (isset($optionalArgs['forecastPeriod'])) { - $request->setForecastPeriod($optionalArgs['forecastPeriod']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GenerateKeywordForecastMetrics', GenerateKeywordForecastMetricsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns a list of keyword historical metrics. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $keywordPlanIdeaServiceClient = new KeywordPlanIdeaServiceClient(); - * try { - * $response = $keywordPlanIdeaServiceClient->generateKeywordHistoricalMetrics(); - * } finally { - * $keywordPlanIdeaServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type string $customerId - * The ID of the customer with the recommendation. - * @type string[] $keywords - * A list of keywords to get historical metrics. - * Not all inputs will be returned as a result of near-exact deduplication. - * For example, if stats for "car" and "cars" are requested, only "car" will - * be returned. - * A maximum of 10,000 keywords can be used. - * @type string $language - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * @type bool $includeAdultKeywords - * If true, adult keywords will be included in response. - * The default value is false. - * @type string[] $geoTargetConstants - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * @type int $keywordPlanNetwork - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\KeywordPlanNetworkEnum\KeywordPlanNetwork} - * @type KeywordPlanAggregateMetrics $aggregateMetrics - * The aggregate fields to include in response. - * @type HistoricalMetricsOptions $historicalMetricsOptions - * The options for historical metrics data. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateKeywordHistoricalMetricsResponse - * - * @throws ApiException if the remote call fails - */ - public function generateKeywordHistoricalMetrics(array $optionalArgs = []) - { - $request = new GenerateKeywordHistoricalMetricsRequest(); - $requestParamHeaders = []; - if (isset($optionalArgs['customerId'])) { - $request->setCustomerId($optionalArgs['customerId']); - $requestParamHeaders['customer_id'] = $optionalArgs['customerId']; - } - - if (isset($optionalArgs['keywords'])) { - $request->setKeywords($optionalArgs['keywords']); - } - - if (isset($optionalArgs['language'])) { - $request->setLanguage($optionalArgs['language']); - } - - if (isset($optionalArgs['includeAdultKeywords'])) { - $request->setIncludeAdultKeywords($optionalArgs['includeAdultKeywords']); - } - - if (isset($optionalArgs['geoTargetConstants'])) { - $request->setGeoTargetConstants($optionalArgs['geoTargetConstants']); - } - - if (isset($optionalArgs['keywordPlanNetwork'])) { - $request->setKeywordPlanNetwork($optionalArgs['keywordPlanNetwork']); - } - - if (isset($optionalArgs['aggregateMetrics'])) { - $request->setAggregateMetrics($optionalArgs['aggregateMetrics']); - } - - if (isset($optionalArgs['historicalMetricsOptions'])) { - $request->setHistoricalMetricsOptions($optionalArgs['historicalMetricsOptions']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GenerateKeywordHistoricalMetrics', GenerateKeywordHistoricalMetricsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns a list of keyword ideas. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanIdeaError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $keywordPlanIdeaServiceClient = new KeywordPlanIdeaServiceClient(); - * try { - * // Iterate over pages of elements - * $pagedResponse = $keywordPlanIdeaServiceClient->generateKeywordIdeas(); - * foreach ($pagedResponse->iteratePages() as $page) { - * foreach ($page as $element) { - * // doSomethingWith($element); - * } - * } - * // Alternatively: - * // Iterate through all elements - * $pagedResponse = $keywordPlanIdeaServiceClient->generateKeywordIdeas(); - * foreach ($pagedResponse->iterateAllElements() as $element) { - * // doSomethingWith($element); - * } - * } finally { - * $keywordPlanIdeaServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type string $customerId - * The ID of the customer with the recommendation. - * @type string $language - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * @type string[] $geoTargetConstants - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * @type bool $includeAdultKeywords - * If true, adult keywords will be included in response. - * The default value is false. - * @type string $pageToken - * A page token is used to specify a page of values to be returned. - * If no page token is specified (the default), the first page - * of values will be returned. Any page token used here must have - * been generated by a previous call to the API. - * @type int $pageSize - * The maximum number of resources contained in the underlying API - * response. The API may return fewer values in a page, even if - * there are additional values to be retrieved. - * @type int $keywordPlanNetwork - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\KeywordPlanNetworkEnum\KeywordPlanNetwork} - * @type int[] $keywordAnnotation - * The keyword annotations to include in response. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\KeywordPlanKeywordAnnotationEnum\KeywordPlanKeywordAnnotation} - * @type KeywordPlanAggregateMetrics $aggregateMetrics - * The aggregate fields to include in response. - * @type HistoricalMetricsOptions $historicalMetricsOptions - * The options for historical metrics data. - * @type KeywordAndUrlSeed $keywordAndUrlSeed - * A Keyword and a specific Url to generate ideas from - * for example, cars, www.example.com/cars. - * @type KeywordSeed $keywordSeed - * A Keyword or phrase to generate ideas from, for example, cars. - * @type UrlSeed $urlSeed - * A specific url to generate ideas from, for example, www.example.com/cars. - * @type SiteSeed $siteSeed - * The site to generate ideas from, for example, www.example.com. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\PagedListResponse - * - * @throws ApiException if the remote call fails - */ - public function generateKeywordIdeas(array $optionalArgs = []) - { - $request = new GenerateKeywordIdeasRequest(); - $requestParamHeaders = []; - if (isset($optionalArgs['customerId'])) { - $request->setCustomerId($optionalArgs['customerId']); - $requestParamHeaders['customer_id'] = $optionalArgs['customerId']; - } - - if (isset($optionalArgs['language'])) { - $request->setLanguage($optionalArgs['language']); - } - - if (isset($optionalArgs['geoTargetConstants'])) { - $request->setGeoTargetConstants($optionalArgs['geoTargetConstants']); - } - - if (isset($optionalArgs['includeAdultKeywords'])) { - $request->setIncludeAdultKeywords($optionalArgs['includeAdultKeywords']); - } - - if (isset($optionalArgs['pageToken'])) { - $request->setPageToken($optionalArgs['pageToken']); - } - - if (isset($optionalArgs['pageSize'])) { - $request->setPageSize($optionalArgs['pageSize']); - } - - if (isset($optionalArgs['keywordPlanNetwork'])) { - $request->setKeywordPlanNetwork($optionalArgs['keywordPlanNetwork']); - } - - if (isset($optionalArgs['keywordAnnotation'])) { - $request->setKeywordAnnotation($optionalArgs['keywordAnnotation']); - } - - if (isset($optionalArgs['aggregateMetrics'])) { - $request->setAggregateMetrics($optionalArgs['aggregateMetrics']); - } - - if (isset($optionalArgs['historicalMetricsOptions'])) { - $request->setHistoricalMetricsOptions($optionalArgs['historicalMetricsOptions']); - } - - if (isset($optionalArgs['keywordAndUrlSeed'])) { - $request->setKeywordAndUrlSeed($optionalArgs['keywordAndUrlSeed']); - } - - if (isset($optionalArgs['keywordSeed'])) { - $request->setKeywordSeed($optionalArgs['keywordSeed']); - } - - if (isset($optionalArgs['urlSeed'])) { - $request->setUrlSeed($optionalArgs['urlSeed']); - } - - if (isset($optionalArgs['siteSeed'])) { - $request->setSiteSeed($optionalArgs['siteSeed']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->getPagedListResponse('GenerateKeywordIdeas', $optionalArgs, GenerateKeywordIdeaResponse::class, $request); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanServiceGapicClient.php deleted file mode 100644 index 8664f2460..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordPlanServiceGapicClient.php +++ /dev/null @@ -1,321 +0,0 @@ -mutateKeywordPlans($customerId, $operations); - * } finally { - * $keywordPlanServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\KeywordPlanServiceClient} to use the - * new surface. - */ -class KeywordPlanServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.KeywordPlanService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $keywordPlanNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_plan_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_plan_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_plan_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_plan_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getKeywordPlanNameTemplate() - { - if (self::$keywordPlanNameTemplate == null) { - self::$keywordPlanNameTemplate = new PathTemplate('customers/{customer_id}/keywordPlans/{keyword_plan_id}'); - } - - return self::$keywordPlanNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'keywordPlan' => self::getKeywordPlanNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a keyword_plan - * resource. - * - * @param string $customerId - * @param string $keywordPlanId - * - * @return string The formatted keyword_plan resource. - */ - public static function keywordPlanName($customerId, $keywordPlanId) - { - return self::getKeywordPlanNameTemplate()->render([ - 'customer_id' => $customerId, - 'keyword_plan_id' => $keywordPlanId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - keywordPlan: customers/{customer_id}/keywordPlans/{keyword_plan_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes keyword plans. Operation statuses are - * returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [KeywordPlanError]() - * [MutateError]() - * [NewResourceCreationError]() - * [QuotaError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $keywordPlanServiceClient = new KeywordPlanServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $keywordPlanServiceClient->mutateKeywordPlans($customerId, $operations); - * } finally { - * $keywordPlanServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose keyword plans are being modified. - * @param KeywordPlanOperation[] $operations Required. The list of operations to perform on individual keyword plans. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateKeywordPlans($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateKeywordPlansRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateKeywordPlans', MutateKeywordPlansResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordThemeConstantServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordThemeConstantServiceGapicClient.php deleted file mode 100644 index c7a879022..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/KeywordThemeConstantServiceGapicClient.php +++ /dev/null @@ -1,216 +0,0 @@ -suggestKeywordThemeConstants(); - * } finally { - * $keywordThemeConstantServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\KeywordThemeConstantServiceClient} to - * use the new surface. - */ -class KeywordThemeConstantServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.KeywordThemeConstantService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/keyword_theme_constant_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/keyword_theme_constant_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/keyword_theme_constant_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/keyword_theme_constant_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns KeywordThemeConstant suggestions by keyword themes. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $keywordThemeConstantServiceClient = new KeywordThemeConstantServiceClient(); - * try { - * $response = $keywordThemeConstantServiceClient->suggestKeywordThemeConstants(); - * } finally { - * $keywordThemeConstantServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type string $queryText - * The query text of a keyword theme that will be used to map to similar - * keyword themes. For example, "plumber" or "roofer". - * @type string $countryCode - * Upper-case, two-letter country code as defined by ISO-3166. This for - * refining the scope of the query, default to 'US' if not set. - * @type string $languageCode - * The two letter language code for get corresponding keyword theme for - * refining the scope of the query, default to 'en' if not set. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemeConstantsResponse - * - * @throws ApiException if the remote call fails - */ - public function suggestKeywordThemeConstants(array $optionalArgs = []) - { - $request = new SuggestKeywordThemeConstantsRequest(); - if (isset($optionalArgs['queryText'])) { - $request->setQueryText($optionalArgs['queryText']); - } - - if (isset($optionalArgs['countryCode'])) { - $request->setCountryCode($optionalArgs['countryCode']); - } - - if (isset($optionalArgs['languageCode'])) { - $request->setLanguageCode($optionalArgs['languageCode']); - } - - return $this->startCall('SuggestKeywordThemeConstants', SuggestKeywordThemeConstantsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/LabelServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/LabelServiceGapicClient.php deleted file mode 100644 index afa6f682c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/LabelServiceGapicClient.php +++ /dev/null @@ -1,338 +0,0 @@ -mutateLabels($customerId, $operations); - * } finally { - * $labelServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\LabelServiceClient} to use the new - * surface. - */ -class LabelServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.LabelService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $labelNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/label_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/label_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/label_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/label_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getLabelNameTemplate() - { - if (self::$labelNameTemplate == null) { - self::$labelNameTemplate = new PathTemplate('customers/{customer_id}/labels/{label_id}'); - } - - return self::$labelNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'label' => self::getLabelNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a label - * resource. - * - * @param string $customerId - * @param string $labelId - * - * @return string The formatted label resource. - */ - public static function labelName($customerId, $labelId) - { - return self::getLabelNameTemplate()->render([ - 'customer_id' => $customerId, - 'label_id' => $labelId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - label: customers/{customer_id}/labels/{label_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes labels. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [LabelError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $labelServiceClient = new LabelServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $labelServiceClient->mutateLabels($customerId, $operations); - * } finally { - * $labelServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. ID of the customer whose labels are being modified. - * @param LabelOperation[] $operations Required. The list of operations to perform on labels. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateLabelsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateLabels($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateLabelsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateLabels', MutateLabelsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/OfflineUserDataJobServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/OfflineUserDataJobServiceGapicClient.php deleted file mode 100644 index bc4e4737d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/OfflineUserDataJobServiceGapicClient.php +++ /dev/null @@ -1,512 +0,0 @@ -offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - * $operations = []; - * $response = $offlineUserDataJobServiceClient->addOfflineUserDataJobOperations($formattedResourceName, $operations); - * } finally { - * $offlineUserDataJobServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\OfflineUserDataJobServiceClient} to - * use the new surface. - */ -class OfflineUserDataJobServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.OfflineUserDataJobService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $offlineUserDataJobNameTemplate; - - private static $pathTemplateMap; - - private $operationsClient; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/offline_user_data_job_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/offline_user_data_job_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/offline_user_data_job_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/offline_user_data_job_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getOfflineUserDataJobNameTemplate() - { - if (self::$offlineUserDataJobNameTemplate == null) { - self::$offlineUserDataJobNameTemplate = new PathTemplate('customers/{customer_id}/offlineUserDataJobs/{offline_user_data_update_id}'); - } - - return self::$offlineUserDataJobNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'offlineUserDataJob' => self::getOfflineUserDataJobNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * offline_user_data_job resource. - * - * @param string $customerId - * @param string $offlineUserDataUpdateId - * - * @return string The formatted offline_user_data_job resource. - */ - public static function offlineUserDataJobName($customerId, $offlineUserDataUpdateId) - { - return self::getOfflineUserDataJobNameTemplate()->render([ - 'customer_id' => $customerId, - 'offline_user_data_update_id' => $offlineUserDataUpdateId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - offlineUserDataJob: customers/{customer_id}/offlineUserDataJobs/{offline_user_data_update_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Return an OperationsClient object with the same endpoint as $this. - * - * @return OperationsClient - */ - public function getOperationsClient() - { - return $this->operationsClient; - } - - /** - * Resume an existing long running operation that was previously started by a long - * running API method. If $methodName is not provided, or does not match a long - * running API method, then the operation can still be resumed, but the - * OperationResponse object will not deserialize the final response. - * - * @param string $operationName The name of the long running operation - * @param string $methodName The name of the method used to start the operation - * - * @return OperationResponse - */ - public function resumeOperation($operationName, $methodName = null) - { - $options = isset($this->descriptors[$methodName]['longRunning']) ? $this->descriptors[$methodName]['longRunning'] : []; - $operation = new OperationResponse($operationName, $this->getOperationsClient(), $options); - $operation->reload(); - return $operation; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - $this->operationsClient = $this->createOperationsClient($clientOptions); - } - - /** - * Adds operations to the offline user data job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $offlineUserDataJobServiceClient = new OfflineUserDataJobServiceClient(); - * try { - * $formattedResourceName = $offlineUserDataJobServiceClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - * $operations = []; - * $response = $offlineUserDataJobServiceClient->addOfflineUserDataJobOperations($formattedResourceName, $operations); - * } finally { - * $offlineUserDataJobServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the OfflineUserDataJob. - * @param OfflineUserDataJobOperation[] $operations Required. The list of operations to be done. - * @param array $optionalArgs { - * Optional. - * - * @type bool $enablePartialFailure - * True to enable partial failure for the offline user data job. - * @type bool $enableWarnings - * True to enable warnings for the offline user data job. When enabled, a - * warning will not block the OfflineUserDataJobOperation, and will also - * return warning messages about malformed field values. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\AddOfflineUserDataJobOperationsResponse - * - * @throws ApiException if the remote call fails - */ - public function addOfflineUserDataJobOperations($resourceName, $operations, array $optionalArgs = []) - { - $request = new AddOfflineUserDataJobOperationsRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $request->setOperations($operations); - $requestParamHeaders['resource_name'] = $resourceName; - if (isset($optionalArgs['enablePartialFailure'])) { - $request->setEnablePartialFailure($optionalArgs['enablePartialFailure']); - } - - if (isset($optionalArgs['enableWarnings'])) { - $request->setEnableWarnings($optionalArgs['enableWarnings']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('AddOfflineUserDataJobOperations', AddOfflineUserDataJobOperationsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Creates an offline user data job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [NotAllowlistedError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $offlineUserDataJobServiceClient = new OfflineUserDataJobServiceClient(); - * try { - * $customerId = 'customer_id'; - * $job = new OfflineUserDataJob(); - * $response = $offlineUserDataJobServiceClient->createOfflineUserDataJob($customerId, $job); - * } finally { - * $offlineUserDataJobServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer for which to create an offline user data - * job. - * @param OfflineUserDataJob $job Required. The offline user data job to be created. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type bool $enableMatchRateRangePreview - * If true, match rate range for the offline user data job is calculated and - * made available in the resource. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\CreateOfflineUserDataJobResponse - * - * @throws ApiException if the remote call fails - */ - public function createOfflineUserDataJob($customerId, $job, array $optionalArgs = []) - { - $request = new CreateOfflineUserDataJobRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setJob($job); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['enableMatchRateRangePreview'])) { - $request->setEnableMatchRateRangePreview($optionalArgs['enableMatchRateRangePreview']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CreateOfflineUserDataJob', CreateOfflineUserDataJobResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Runs the offline user data job. - * - * When finished, the long running operation will contain the processing - * result or failure information, if any. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $offlineUserDataJobServiceClient = new OfflineUserDataJobServiceClient(); - * try { - * $formattedResourceName = $offlineUserDataJobServiceClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - * $operationResponse = $offlineUserDataJobServiceClient->runOfflineUserDataJob($formattedResourceName); - * $operationResponse->pollUntilComplete(); - * if ($operationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $operationResponse->getError(); - * // handleError($error) - * } - * // Alternatively: - * // start the operation, keep the operation name, and resume later - * $operationResponse = $offlineUserDataJobServiceClient->runOfflineUserDataJob($formattedResourceName); - * $operationName = $operationResponse->getName(); - * // ... do other work - * $newOperationResponse = $offlineUserDataJobServiceClient->resumeOperation($operationName, 'runOfflineUserDataJob'); - * while (!$newOperationResponse->isDone()) { - * // ... do other work - * $newOperationResponse->reload(); - * } - * if ($newOperationResponse->operationSucceeded()) { - * // operation succeeded and returns no value - * } else { - * $error = $newOperationResponse->getError(); - * // handleError($error) - * } - * } finally { - * $offlineUserDataJobServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the OfflineUserDataJob to run. - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\ApiCore\OperationResponse - * - * @throws ApiException if the remote call fails - */ - public function runOfflineUserDataJob($resourceName, array $optionalArgs = []) - { - $request = new RunOfflineUserDataJobRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startOperationsCall('RunOfflineUserDataJob', $optionalArgs, $request, $this->getOperationsClient())->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/PaymentsAccountServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/PaymentsAccountServiceGapicClient.php deleted file mode 100644 index 79ac47ed9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/PaymentsAccountServiceGapicClient.php +++ /dev/null @@ -1,209 +0,0 @@ -listPaymentsAccounts($customerId); - * } finally { - * $paymentsAccountServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\PaymentsAccountServiceClient} to use - * the new surface. - */ -class PaymentsAccountServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.PaymentsAccountService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/payments_account_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/payments_account_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/payments_account_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/payments_account_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns all payments accounts associated with all managers - * between the login customer ID and specified serving customer in the - * hierarchy, inclusive. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [PaymentsAccountError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $paymentsAccountServiceClient = new PaymentsAccountServiceClient(); - * try { - * $customerId = 'customer_id'; - * $response = $paymentsAccountServiceClient->listPaymentsAccounts($customerId); - * } finally { - * $paymentsAccountServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer to apply the PaymentsAccount list - * operation to. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ListPaymentsAccountsResponse - * - * @throws ApiException if the remote call fails - */ - public function listPaymentsAccounts($customerId, array $optionalArgs = []) - { - $request = new ListPaymentsAccountsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('ListPaymentsAccounts', ListPaymentsAccountsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ProductLinkInvitationServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ProductLinkInvitationServiceGapicClient.php deleted file mode 100644 index e0c6301fe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ProductLinkInvitationServiceGapicClient.php +++ /dev/null @@ -1,295 +0,0 @@ -productLinkInvitationName('[CUSTOMER_ID]', '[CUSTOMER_INVITATION_ID]'); - * $response = $productLinkInvitationServiceClient->updateProductLinkInvitation($customerId, $productLinkInvitationStatus, $formattedResourceName); - * } finally { - * $productLinkInvitationServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ProductLinkInvitationServiceClient} to - * use the new surface. - */ -class ProductLinkInvitationServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ProductLinkInvitationService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $productLinkInvitationNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/product_link_invitation_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/product_link_invitation_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/product_link_invitation_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/product_link_invitation_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getProductLinkInvitationNameTemplate() - { - if (self::$productLinkInvitationNameTemplate == null) { - self::$productLinkInvitationNameTemplate = new PathTemplate('customers/{customer_id}/productLinkInvitations/{customer_invitation_id}'); - } - - return self::$productLinkInvitationNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'productLinkInvitation' => self::getProductLinkInvitationNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * product_link_invitation resource. - * - * @param string $customerId - * @param string $customerInvitationId - * - * @return string The formatted product_link_invitation resource. - */ - public static function productLinkInvitationName($customerId, $customerInvitationId) - { - return self::getProductLinkInvitationNameTemplate()->render([ - 'customer_id' => $customerId, - 'customer_invitation_id' => $customerInvitationId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - productLinkInvitation: customers/{customer_id}/productLinkInvitations/{customer_invitation_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Update a product link invitation. - * - * Sample code: - * ``` - * $productLinkInvitationServiceClient = new ProductLinkInvitationServiceClient(); - * try { - * $customerId = 'customer_id'; - * $productLinkInvitationStatus = ProductLinkInvitationStatus::UNSPECIFIED; - * $formattedResourceName = $productLinkInvitationServiceClient->productLinkInvitationName('[CUSTOMER_ID]', '[CUSTOMER_INVITATION_ID]'); - * $response = $productLinkInvitationServiceClient->updateProductLinkInvitation($customerId, $productLinkInvitationStatus, $formattedResourceName); - * } finally { - * $productLinkInvitationServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer being modified. - * @param int $productLinkInvitationStatus Required. The product link invitation to be created. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ProductLinkInvitationStatusEnum\ProductLinkInvitationStatus} - * @param string $resourceName Required. Resource name of the product link invitation. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\UpdateProductLinkInvitationResponse - * - * @throws ApiException if the remote call fails - */ - public function updateProductLinkInvitation($customerId, $productLinkInvitationStatus, $resourceName, array $optionalArgs = []) - { - $request = new UpdateProductLinkInvitationRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setProductLinkInvitationStatus($productLinkInvitationStatus); - $request->setResourceName($resourceName); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('UpdateProductLinkInvitation', UpdateProductLinkInvitationResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ProductLinkServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ProductLinkServiceGapicClient.php deleted file mode 100644 index 6bc01c406..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ProductLinkServiceGapicClient.php +++ /dev/null @@ -1,393 +0,0 @@ -createProductLink($customerId, $productLink); - * } finally { - * $productLinkServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ProductLinkServiceClient} to use the - * new surface. - */ -class ProductLinkServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ProductLinkService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $customerNameTemplate; - - private static $productLinkNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/product_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/product_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/product_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/product_link_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCustomerNameTemplate() - { - if (self::$customerNameTemplate == null) { - self::$customerNameTemplate = new PathTemplate('customers/{customer_id}'); - } - - return self::$customerNameTemplate; - } - - private static function getProductLinkNameTemplate() - { - if (self::$productLinkNameTemplate == null) { - self::$productLinkNameTemplate = new PathTemplate('customers/{customer_id}/productLinks/{product_link_id}'); - } - - return self::$productLinkNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'customer' => self::getCustomerNameTemplate(), - 'productLink' => self::getProductLinkNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a customer - * resource. - * - * @param string $customerId - * - * @return string The formatted customer resource. - */ - public static function customerName($customerId) - { - return self::getCustomerNameTemplate()->render([ - 'customer_id' => $customerId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a product_link - * resource. - * - * @param string $customerId - * @param string $productLinkId - * - * @return string The formatted product_link resource. - */ - public static function productLinkName($customerId, $productLinkId) - { - return self::getProductLinkNameTemplate()->render([ - 'customer_id' => $customerId, - 'product_link_id' => $productLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - customer: customers/{customer_id} - * - productLink: customers/{customer_id}/productLinks/{product_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates a product link. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $productLinkServiceClient = new ProductLinkServiceClient(); - * try { - * $customerId = 'customer_id'; - * $productLink = new ProductLink(); - * $response = $productLinkServiceClient->createProductLink($customerId, $productLink); - * } finally { - * $productLinkServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer for which the product link is created. - * @param ProductLink $productLink Required. The product link to be created. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\CreateProductLinkResponse - * - * @throws ApiException if the remote call fails - */ - public function createProductLink($customerId, $productLink, array $optionalArgs = []) - { - $request = new CreateProductLinkRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setProductLink($productLink); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('CreateProductLink', CreateProductLinkResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Removes a product link. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $productLinkServiceClient = new ProductLinkServiceClient(); - * try { - * $customerId = 'customer_id'; - * $formattedResourceName = $productLinkServiceClient->productLinkName('[CUSTOMER_ID]', '[PRODUCT_LINK_ID]'); - * $response = $productLinkServiceClient->removeProductLink($customerId, $formattedResourceName); - * } finally { - * $productLinkServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer being modified. - * @param string $resourceName Required. Remove operation: A resource name for the product link to remove - * is expected, in this format: - * - * `customers/{customer_id}/productLinks/{product_link_id} ` - * @param array $optionalArgs { - * Optional. - * - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\RemoveProductLinkResponse - * - * @throws ApiException if the remote call fails - */ - public function removeProductLink($customerId, $resourceName, array $optionalArgs = []) - { - $request = new RemoveProductLinkRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setResourceName($resourceName); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('RemoveProductLink', RemoveProductLinkResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ReachPlanServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ReachPlanServiceGapicClient.php deleted file mode 100644 index d32391e0f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ReachPlanServiceGapicClient.php +++ /dev/null @@ -1,397 +0,0 @@ -generateReachForecast($customerId, $campaignDuration, $plannedProducts); - * } finally { - * $reachPlanServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ReachPlanServiceClient} to use the new - * surface. - */ -class ReachPlanServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ReachPlanService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/reach_plan_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/reach_plan_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/reach_plan_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/reach_plan_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Generates a reach forecast for a given targeting / product mix. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [ReachPlanError]() - * [RequestError]() - * - * Sample code: - * ``` - * $reachPlanServiceClient = new ReachPlanServiceClient(); - * try { - * $customerId = 'customer_id'; - * $campaignDuration = new CampaignDuration(); - * $plannedProducts = []; - * $response = $reachPlanServiceClient->generateReachForecast($customerId, $campaignDuration, $plannedProducts); - * } finally { - * $reachPlanServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param CampaignDuration $campaignDuration Required. Campaign duration. - * @param PlannedProduct[] $plannedProducts Required. The products to be forecast. - * The max number of allowed planned products is 15. - * @param array $optionalArgs { - * Optional. - * - * @type string $currencyCode - * The currency code. - * Three-character ISO 4217 currency code. - * @type int $cookieFrequencyCap - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user. - * If not specified, no cap is applied. - * - * This field is deprecated in v4 and will eventually be removed. - * Use cookie_frequency_cap_setting instead. - * @type FrequencyCap $cookieFrequencyCapSetting - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user during a specified time interval. - * If not specified, a default of 0 (no cap) is applied. - * - * This field replaces the deprecated cookie_frequency_cap field. - * @type int $minEffectiveFrequency - * Chosen minimum effective frequency (the number of times a person was - * exposed to the ad) for the reported reach metrics [1-10]. - * This won't affect the targeting, but just the reporting. - * If not specified, a default of 1 is applied. - * - * This field cannot be combined with the effective_frequency_limit field. - * @type EffectiveFrequencyLimit $effectiveFrequencyLimit - * The highest minimum effective frequency (the number of times a person was - * exposed to the ad) value [1-10] to include in - * Forecast.effective_frequency_breakdowns. - * If not specified, Forecast.effective_frequency_breakdowns will not be - * provided. - * - * The effective frequency value provided here will also be used as the - * minimum effective frequency for the reported reach metrics. - * - * This field cannot be combined with the min_effective_frequency field. - * @type Targeting $targeting - * The targeting to be applied to all products selected in the product mix. - * - * This is planned targeting: execution details might vary based on the - * advertising product, consult an implementation specialist. - * - * See specific metrics for details on how targeting affects them. - * @type ForecastMetricOptions $forecastMetricOptions - * Controls the forecast metrics returned in the response. - * @type string $customerReachGroup - * The name of the customer being planned for. This is a user-defined value. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateReachForecastResponse - * - * @throws ApiException if the remote call fails - */ - public function generateReachForecast($customerId, $campaignDuration, $plannedProducts, array $optionalArgs = []) - { - $request = new GenerateReachForecastRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setCampaignDuration($campaignDuration); - $request->setPlannedProducts($plannedProducts); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['currencyCode'])) { - $request->setCurrencyCode($optionalArgs['currencyCode']); - } - - if (isset($optionalArgs['cookieFrequencyCap'])) { - $request->setCookieFrequencyCap($optionalArgs['cookieFrequencyCap']); - } - - if (isset($optionalArgs['cookieFrequencyCapSetting'])) { - $request->setCookieFrequencyCapSetting($optionalArgs['cookieFrequencyCapSetting']); - } - - if (isset($optionalArgs['minEffectiveFrequency'])) { - $request->setMinEffectiveFrequency($optionalArgs['minEffectiveFrequency']); - } - - if (isset($optionalArgs['effectiveFrequencyLimit'])) { - $request->setEffectiveFrequencyLimit($optionalArgs['effectiveFrequencyLimit']); - } - - if (isset($optionalArgs['targeting'])) { - $request->setTargeting($optionalArgs['targeting']); - } - - if (isset($optionalArgs['forecastMetricOptions'])) { - $request->setForecastMetricOptions($optionalArgs['forecastMetricOptions']); - } - - if (isset($optionalArgs['customerReachGroup'])) { - $request->setCustomerReachGroup($optionalArgs['customerReachGroup']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GenerateReachForecast', GenerateReachForecastResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns the list of plannable locations (for example, countries). - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $reachPlanServiceClient = new ReachPlanServiceClient(); - * try { - * $response = $reachPlanServiceClient->listPlannableLocations(); - * } finally { - * $reachPlanServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ListPlannableLocationsResponse - * - * @throws ApiException if the remote call fails - */ - public function listPlannableLocations(array $optionalArgs = []) - { - $request = new ListPlannableLocationsRequest(); - return $this->startCall('ListPlannableLocations', ListPlannableLocationsResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns the list of per-location plannable YouTube ad formats with allowed - * targeting. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $reachPlanServiceClient = new ReachPlanServiceClient(); - * try { - * $plannableLocationId = 'plannable_location_id'; - * $response = $reachPlanServiceClient->listPlannableProducts($plannableLocationId); - * } finally { - * $reachPlanServiceClient->close(); - * } - * ``` - * - * @param string $plannableLocationId Required. The ID of the selected location for planning. To list the - * available plannable location IDs use - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ListPlannableProductsResponse - * - * @throws ApiException if the remote call fails - */ - public function listPlannableProducts($plannableLocationId, array $optionalArgs = []) - { - $request = new ListPlannableProductsRequest(); - $request->setPlannableLocationId($plannableLocationId); - return $this->startCall('ListPlannableProducts', ListPlannableProductsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/RecommendationServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/RecommendationServiceGapicClient.php deleted file mode 100644 index 892b5d18a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/RecommendationServiceGapicClient.php +++ /dev/null @@ -1,467 +0,0 @@ -applyRecommendation($customerId, $operations); - * } finally { - * $recommendationServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\RecommendationServiceClient} to use - * the new surface. - */ -class RecommendationServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.RecommendationService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $adNameTemplate; - - private static $assetNameTemplate; - - private static $conversionActionNameTemplate; - - private static $recommendationNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/recommendation_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/recommendation_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/recommendation_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/recommendation_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getAdNameTemplate() - { - if (self::$adNameTemplate == null) { - self::$adNameTemplate = new PathTemplate('customers/{customer_id}/ads/{ad_id}'); - } - - return self::$adNameTemplate; - } - - private static function getAssetNameTemplate() - { - if (self::$assetNameTemplate == null) { - self::$assetNameTemplate = new PathTemplate('customers/{customer_id}/assets/{asset_id}'); - } - - return self::$assetNameTemplate; - } - - private static function getConversionActionNameTemplate() - { - if (self::$conversionActionNameTemplate == null) { - self::$conversionActionNameTemplate = new PathTemplate('customers/{customer_id}/conversionActions/{conversion_action_id}'); - } - - return self::$conversionActionNameTemplate; - } - - private static function getRecommendationNameTemplate() - { - if (self::$recommendationNameTemplate == null) { - self::$recommendationNameTemplate = new PathTemplate('customers/{customer_id}/recommendations/{recommendation_id}'); - } - - return self::$recommendationNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'ad' => self::getAdNameTemplate(), - 'asset' => self::getAssetNameTemplate(), - 'conversionAction' => self::getConversionActionNameTemplate(), - 'recommendation' => self::getRecommendationNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a ad resource. - * - * @param string $customerId - * @param string $adId - * - * @return string The formatted ad resource. - */ - public static function adName($customerId, $adId) - { - return self::getAdNameTemplate()->render([ - 'customer_id' => $customerId, - 'ad_id' => $adId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a asset - * resource. - * - * @param string $customerId - * @param string $assetId - * - * @return string The formatted asset resource. - */ - public static function assetName($customerId, $assetId) - { - return self::getAssetNameTemplate()->render([ - 'customer_id' => $customerId, - 'asset_id' => $assetId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * conversion_action resource. - * - * @param string $customerId - * @param string $conversionActionId - * - * @return string The formatted conversion_action resource. - */ - public static function conversionActionName($customerId, $conversionActionId) - { - return self::getConversionActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'conversion_action_id' => $conversionActionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * recommendation resource. - * - * @param string $customerId - * @param string $recommendationId - * - * @return string The formatted recommendation resource. - */ - public static function recommendationName($customerId, $recommendationId) - { - return self::getRecommendationNameTemplate()->render([ - 'customer_id' => $customerId, - 'recommendation_id' => $recommendationId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - ad: customers/{customer_id}/ads/{ad_id} - * - asset: customers/{customer_id}/assets/{asset_id} - * - conversionAction: customers/{customer_id}/conversionActions/{conversion_action_id} - * - recommendation: customers/{customer_id}/recommendations/{recommendation_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Applies given recommendations with corresponding apply parameters. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RecommendationError]() - * [RequestError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $recommendationServiceClient = new RecommendationServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $recommendationServiceClient->applyRecommendation($customerId, $operations); - * } finally { - * $recommendationServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer with the recommendation. - * @param ApplyRecommendationOperation[] $operations Required. The list of operations to apply recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried - * out as a transaction if and only if they are all valid. - * Default is false. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\ApplyRecommendationResponse - * - * @throws ApiException if the remote call fails - */ - public function applyRecommendation($customerId, $operations, array $optionalArgs = []) - { - $request = new ApplyRecommendationRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('ApplyRecommendation', ApplyRecommendationResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Dismisses given recommendations. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RecommendationError]() - * [RequestError]() - * - * Sample code: - * ``` - * $recommendationServiceClient = new RecommendationServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $recommendationServiceClient->dismissRecommendation($customerId, $operations); - * } finally { - * $recommendationServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer with the recommendation. - * @param DismissRecommendationOperation[] $operations Required. The list of operations to dismiss recommendations. - * If partial_failure=false all recommendations should be of the same type - * There is a limit of 100 operations per request. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, operations will be carried in a - * single transaction if and only if they are all valid. - * Default is false. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\DismissRecommendationResponse - * - * @throws ApiException if the remote call fails - */ - public function dismissRecommendation($customerId, $operations, array $optionalArgs = []) - { - $request = new DismissRecommendationRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('DismissRecommendation', DismissRecommendationResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/RecommendationSubscriptionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/RecommendationSubscriptionServiceGapicClient.php deleted file mode 100644 index acc49a80b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/RecommendationSubscriptionServiceGapicClient.php +++ /dev/null @@ -1,328 +0,0 @@ -mutateRecommendationSubscription($customerId, $operations); - * } finally { - * $recommendationSubscriptionServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\RecommendationSubscriptionServiceClient} - * to use the new surface. - */ -class RecommendationSubscriptionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.RecommendationSubscriptionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $recommendationSubscriptionNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/recommendation_subscription_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/recommendation_subscription_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/recommendation_subscription_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/recommendation_subscription_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getRecommendationSubscriptionNameTemplate() - { - if (self::$recommendationSubscriptionNameTemplate == null) { - self::$recommendationSubscriptionNameTemplate = new PathTemplate('customers/{customer_id}/recommendationSubscriptions/{recommendation_type}'); - } - - return self::$recommendationSubscriptionNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'recommendationSubscription' => self::getRecommendationSubscriptionNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * recommendation_subscription resource. - * - * @param string $customerId - * @param string $recommendationType - * - * @return string The formatted recommendation_subscription resource. - */ - public static function recommendationSubscriptionName($customerId, $recommendationType) - { - return self::getRecommendationSubscriptionNameTemplate()->render([ - 'customer_id' => $customerId, - 'recommendation_type' => $recommendationType, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - recommendationSubscription: customers/{customer_id}/recommendationSubscriptions/{recommendation_type} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Mutates given subscription with corresponding apply parameters. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RecommendationError]() - * [RequestError]() - * [UrlFieldError]() - * - * Sample code: - * ``` - * $recommendationSubscriptionServiceClient = new RecommendationSubscriptionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $recommendationSubscriptionServiceClient->mutateRecommendationSubscription($customerId, $operations); - * } finally { - * $recommendationSubscriptionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the subscribing customer. - * @param RecommendationSubscriptionOperation[] $operations Required. The list of create or update operations. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateRecommendationSubscription($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateRecommendationSubscriptionRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateRecommendationSubscription', MutateRecommendationSubscriptionResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/RemarketingActionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/RemarketingActionServiceGapicClient.php deleted file mode 100644 index e658f6058..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/RemarketingActionServiceGapicClient.php +++ /dev/null @@ -1,316 +0,0 @@ -mutateRemarketingActions($customerId, $operations); - * } finally { - * $remarketingActionServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\RemarketingActionServiceClient} to use - * the new surface. - */ -class RemarketingActionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.RemarketingActionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $remarketingActionNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/remarketing_action_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/remarketing_action_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/remarketing_action_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/remarketing_action_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getRemarketingActionNameTemplate() - { - if (self::$remarketingActionNameTemplate == null) { - self::$remarketingActionNameTemplate = new PathTemplate('customers/{customer_id}/remarketingActions/{remarketing_action_id}'); - } - - return self::$remarketingActionNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'remarketingAction' => self::getRemarketingActionNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * remarketing_action resource. - * - * @param string $customerId - * @param string $remarketingActionId - * - * @return string The formatted remarketing_action resource. - */ - public static function remarketingActionName($customerId, $remarketingActionId) - { - return self::getRemarketingActionNameTemplate()->render([ - 'customer_id' => $customerId, - 'remarketing_action_id' => $remarketingActionId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - remarketingAction: customers/{customer_id}/remarketingActions/{remarketing_action_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or updates remarketing actions. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ConversionActionError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $remarketingActionServiceClient = new RemarketingActionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $remarketingActionServiceClient->mutateRemarketingActions($customerId, $operations); - * } finally { - * $remarketingActionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose remarketing actions are being - * modified. - * @param RemarketingActionOperation[] $operations Required. The list of operations to perform on individual remarketing - * actions. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateRemarketingActions($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateRemarketingActionsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateRemarketingActions', MutateRemarketingActionsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/SharedCriterionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/SharedCriterionServiceGapicClient.php deleted file mode 100644 index 748d6ef3f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/SharedCriterionServiceGapicClient.php +++ /dev/null @@ -1,395 +0,0 @@ -mutateSharedCriteria($customerId, $operations); - * } finally { - * $sharedCriterionServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\SharedCriterionServiceClient} to use - * the new surface. - */ -class SharedCriterionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.SharedCriterionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $mobileAppCategoryConstantNameTemplate; - - private static $sharedCriterionNameTemplate; - - private static $sharedSetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/shared_criterion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/shared_criterion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/shared_criterion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/shared_criterion_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getMobileAppCategoryConstantNameTemplate() - { - if (self::$mobileAppCategoryConstantNameTemplate == null) { - self::$mobileAppCategoryConstantNameTemplate = new PathTemplate('mobileAppCategoryConstants/{mobile_app_category_id}'); - } - - return self::$mobileAppCategoryConstantNameTemplate; - } - - private static function getSharedCriterionNameTemplate() - { - if (self::$sharedCriterionNameTemplate == null) { - self::$sharedCriterionNameTemplate = new PathTemplate('customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}'); - } - - return self::$sharedCriterionNameTemplate; - } - - private static function getSharedSetNameTemplate() - { - if (self::$sharedSetNameTemplate == null) { - self::$sharedSetNameTemplate = new PathTemplate('customers/{customer_id}/sharedSets/{shared_set_id}'); - } - - return self::$sharedSetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'mobileAppCategoryConstant' => self::getMobileAppCategoryConstantNameTemplate(), - 'sharedCriterion' => self::getSharedCriterionNameTemplate(), - 'sharedSet' => self::getSharedSetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * mobile_app_category_constant resource. - * - * @param string $mobileAppCategoryId - * - * @return string The formatted mobile_app_category_constant resource. - */ - public static function mobileAppCategoryConstantName($mobileAppCategoryId) - { - return self::getMobileAppCategoryConstantNameTemplate()->render([ - 'mobile_app_category_id' => $mobileAppCategoryId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * shared_criterion resource. - * - * @param string $customerId - * @param string $sharedSetId - * @param string $criterionId - * - * @return string The formatted shared_criterion resource. - */ - public static function sharedCriterionName($customerId, $sharedSetId, $criterionId) - { - return self::getSharedCriterionNameTemplate()->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - 'criterion_id' => $criterionId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName($customerId, $sharedSetId) - { - return self::getSharedSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - mobileAppCategoryConstant: mobileAppCategoryConstants/{mobile_app_category_id} - * - sharedCriterion: customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id} - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or removes shared criteria. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CriterionError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $sharedCriterionServiceClient = new SharedCriterionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $sharedCriterionServiceClient->mutateSharedCriteria($customerId, $operations); - * } finally { - * $sharedCriterionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose shared criteria are being modified. - * @param SharedCriterionOperation[] $operations Required. The list of operations to perform on individual shared criteria. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateSharedCriteriaResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateSharedCriteria($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateSharedCriteriaRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateSharedCriteria', MutateSharedCriteriaResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/SharedSetServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/SharedSetServiceGapicClient.php deleted file mode 100644 index ce6727ef0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/SharedSetServiceGapicClient.php +++ /dev/null @@ -1,338 +0,0 @@ -mutateSharedSets($customerId, $operations); - * } finally { - * $sharedSetServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\SharedSetServiceClient} to use the new - * surface. - */ -class SharedSetServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.SharedSetService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $sharedSetNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/shared_set_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/shared_set_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/shared_set_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/shared_set_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getSharedSetNameTemplate() - { - if (self::$sharedSetNameTemplate == null) { - self::$sharedSetNameTemplate = new PathTemplate('customers/{customer_id}/sharedSets/{shared_set_id}'); - } - - return self::$sharedSetNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'sharedSet' => self::getSharedSetNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a shared_set - * resource. - * - * @param string $customerId - * @param string $sharedSetId - * - * @return string The formatted shared_set resource. - */ - public static function sharedSetName($customerId, $sharedSetId) - { - return self::getSharedSetNameTemplate()->render([ - 'customer_id' => $customerId, - 'shared_set_id' => $sharedSetId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - sharedSet: customers/{customer_id}/sharedSets/{shared_set_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates, updates, or removes shared sets. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [DateError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [IdError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotEmptyError]() - * [NullError]() - * [OperatorError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SharedSetError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * - * Sample code: - * ``` - * $sharedSetServiceClient = new SharedSetServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $sharedSetServiceClient->mutateSharedSets($customerId, $operations); - * } finally { - * $sharedSetServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose shared sets are being modified. - * @param SharedSetOperation[] $operations Required. The list of operations to perform on individual shared sets. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateSharedSetsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateSharedSets($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateSharedSetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateSharedSets', MutateSharedSetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/SmartCampaignSettingServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/SmartCampaignSettingServiceGapicClient.php deleted file mode 100644 index 1cf3c081c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/SmartCampaignSettingServiceGapicClient.php +++ /dev/null @@ -1,386 +0,0 @@ -smartCampaignSettingName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - * $response = $smartCampaignSettingServiceClient->getSmartCampaignStatus($formattedResourceName); - * } finally { - * $smartCampaignSettingServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\SmartCampaignSettingServiceClient} to - * use the new surface. - */ -class SmartCampaignSettingServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.SmartCampaignSettingService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $smartCampaignSettingNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/smart_campaign_setting_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/smart_campaign_setting_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/smart_campaign_setting_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/smart_campaign_setting_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getSmartCampaignSettingNameTemplate() - { - if (self::$smartCampaignSettingNameTemplate == null) { - self::$smartCampaignSettingNameTemplate = new PathTemplate('customers/{customer_id}/smartCampaignSettings/{campaign_id}'); - } - - return self::$smartCampaignSettingNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - 'smartCampaignSetting' => self::getSmartCampaignSettingNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Formats a string containing the fully-qualified path to represent a - * smart_campaign_setting resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted smart_campaign_setting resource. - */ - public static function smartCampaignSettingName($customerId, $campaignId) - { - return self::getSmartCampaignSettingNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - smartCampaignSetting: customers/{customer_id}/smartCampaignSettings/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns the status of the requested Smart campaign. - * - * Sample code: - * ``` - * $smartCampaignSettingServiceClient = new SmartCampaignSettingServiceClient(); - * try { - * $formattedResourceName = $smartCampaignSettingServiceClient->smartCampaignSettingName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - * $response = $smartCampaignSettingServiceClient->getSmartCampaignStatus($formattedResourceName); - * } finally { - * $smartCampaignSettingServiceClient->close(); - * } - * ``` - * - * @param string $resourceName Required. The resource name of the Smart campaign setting belonging to the - * Smart campaign to fetch the status of. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\GetSmartCampaignStatusResponse - * - * @throws ApiException if the remote call fails - */ - public function getSmartCampaignStatus($resourceName, array $optionalArgs = []) - { - $request = new GetSmartCampaignStatusRequest(); - $requestParamHeaders = []; - $request->setResourceName($resourceName); - $requestParamHeaders['resource_name'] = $resourceName; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('GetSmartCampaignStatus', GetSmartCampaignStatusResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Updates Smart campaign settings for campaigns. - * - * Sample code: - * ``` - * $smartCampaignSettingServiceClient = new SmartCampaignSettingServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $smartCampaignSettingServiceClient->mutateSmartCampaignSettings($customerId, $operations); - * } finally { - * $smartCampaignSettingServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose Smart campaign settings are being - * modified. - * @param SmartCampaignSettingOperation[] $operations Required. The list of operations to perform on individual Smart campaign - * settings. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $responseContentType - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType} - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateSmartCampaignSettings($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateSmartCampaignSettingsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - if (isset($optionalArgs['responseContentType'])) { - $request->setResponseContentType($optionalArgs['responseContentType']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateSmartCampaignSettings', MutateSmartCampaignSettingsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/SmartCampaignSuggestServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/SmartCampaignSuggestServiceGapicClient.php deleted file mode 100644 index 164ff5601..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/SmartCampaignSuggestServiceGapicClient.php +++ /dev/null @@ -1,399 +0,0 @@ -suggestKeywordThemes($customerId, $suggestionInfo); - * } finally { - * $smartCampaignSuggestServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\SmartCampaignSuggestServiceClient} to - * use the new surface. - */ -class SmartCampaignSuggestServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.SmartCampaignSuggestService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $campaignNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/smart_campaign_suggest_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/smart_campaign_suggest_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/smart_campaign_suggest_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/smart_campaign_suggest_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getCampaignNameTemplate() - { - if (self::$campaignNameTemplate == null) { - self::$campaignNameTemplate = new PathTemplate('customers/{customer_id}/campaigns/{campaign_id}'); - } - - return self::$campaignNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'campaign' => self::getCampaignNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a campaign - * resource. - * - * @param string $customerId - * @param string $campaignId - * - * @return string The formatted campaign resource. - */ - public static function campaignName($customerId, $campaignId) - { - return self::getCampaignNameTemplate()->render([ - 'customer_id' => $customerId, - 'campaign_id' => $campaignId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - campaign: customers/{customer_id}/campaigns/{campaign_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Suggests keyword themes to advertise on. - * - * Sample code: - * ``` - * $smartCampaignSuggestServiceClient = new SmartCampaignSuggestServiceClient(); - * try { - * $customerId = 'customer_id'; - * $suggestionInfo = new SmartCampaignSuggestionInfo(); - * $response = $smartCampaignSuggestServiceClient->suggestKeywordThemes($customerId, $suggestionInfo); - * } finally { - * $smartCampaignSuggestServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param SmartCampaignSuggestionInfo $suggestionInfo Required. Information to get keyword theme suggestions. - * Required fields: - * - * * suggestion_info.final_url - * * suggestion_info.language_code - * * suggestion_info.geo_target - * - * Recommended fields: - * - * * suggestion_info.business_setting - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesResponse - * - * @throws ApiException if the remote call fails - */ - public function suggestKeywordThemes($customerId, $suggestionInfo, array $optionalArgs = []) - { - $request = new SuggestKeywordThemesRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setSuggestionInfo($suggestionInfo); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('SuggestKeywordThemes', SuggestKeywordThemesResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Suggests a Smart campaign ad compatible with the Ad family of resources, - * based on data points such as targeting and the business to advertise. - * - * Sample code: - * ``` - * $smartCampaignSuggestServiceClient = new SmartCampaignSuggestServiceClient(); - * try { - * $customerId = 'customer_id'; - * $suggestionInfo = new SmartCampaignSuggestionInfo(); - * $response = $smartCampaignSuggestServiceClient->suggestSmartCampaignAd($customerId, $suggestionInfo); - * } finally { - * $smartCampaignSuggestServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param SmartCampaignSuggestionInfo $suggestionInfo Required. Inputs used to suggest a Smart campaign ad. - * Required fields: final_url, language_code, keyword_themes. - * Optional but recommended fields to improve the quality of the suggestion: - * business_setting and geo_target. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignAdResponse - * - * @throws ApiException if the remote call fails - */ - public function suggestSmartCampaignAd($customerId, $suggestionInfo, array $optionalArgs = []) - { - $request = new SuggestSmartCampaignAdRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setSuggestionInfo($suggestionInfo); - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('SuggestSmartCampaignAd', SuggestSmartCampaignAdResponse::class, $optionalArgs, $request)->wait(); - } - - /** - * Returns BudgetOption suggestions. - * - * Sample code: - * ``` - * $smartCampaignSuggestServiceClient = new SmartCampaignSuggestServiceClient(); - * try { - * $customerId = 'customer_id'; - * $suggestionData = new SuggestionDataOneof(); - * $suggestionData->setCampaign('formattedCampaign-1139828244'); - * $response = $smartCampaignSuggestServiceClient->suggestSmartCampaignBudgetOptions($customerId, $suggestionData); - * } finally { - * $smartCampaignSuggestServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose budget options are to be suggested. - * @param SuggestionDataOneof $suggestionData An instance of the wrapper class for the required proto oneof suggestion_data. - * @param array $optionalArgs { - * Optional. - * - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse - * - * @throws ApiException if the remote call fails - */ - public function suggestSmartCampaignBudgetOptions($customerId, $suggestionData, array $optionalArgs = []) - { - $request = new SuggestSmartCampaignBudgetOptionsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - if ($suggestionData->isCampaign()) { - $request->setCampaign($suggestionData->getCampaign()); - } elseif ($suggestionData->isSuggestionInfo()) { - $request->setSuggestionInfo($suggestionData->getSuggestionInfo()); - } else { - throw new ValidationException("A field for the oneof suggestion_data must be set in param $suggestionData"); - } - - $requestParamHeaders['customer_id'] = $customerId; - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('SuggestSmartCampaignBudgetOptions', SuggestSmartCampaignBudgetOptionsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ThirdPartyAppAnalyticsLinkServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/ThirdPartyAppAnalyticsLinkServiceGapicClient.php deleted file mode 100644 index 7776bb310..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/ThirdPartyAppAnalyticsLinkServiceGapicClient.php +++ /dev/null @@ -1,296 +0,0 @@ -regenerateShareableLinkId(); - * } finally { - * $thirdPartyAppAnalyticsLinkServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\ThirdPartyAppAnalyticsLinkServiceClient} - * to use the new surface. - */ -class ThirdPartyAppAnalyticsLinkServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $thirdPartyAppAnalyticsLinkNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/third_party_app_analytics_link_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/third_party_app_analytics_link_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/third_party_app_analytics_link_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/third_party_app_analytics_link_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getThirdPartyAppAnalyticsLinkNameTemplate() - { - if (self::$thirdPartyAppAnalyticsLinkNameTemplate == null) { - self::$thirdPartyAppAnalyticsLinkNameTemplate = new PathTemplate('customers/{customer_id}/thirdPartyAppAnalyticsLinks/{customer_link_id}'); - } - - return self::$thirdPartyAppAnalyticsLinkNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'thirdPartyAppAnalyticsLink' => self::getThirdPartyAppAnalyticsLinkNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a - * third_party_app_analytics_link resource. - * - * @param string $customerId - * @param string $customerLinkId - * - * @return string The formatted third_party_app_analytics_link resource. - */ - public static function thirdPartyAppAnalyticsLinkName($customerId, $customerLinkId) - { - return self::getThirdPartyAppAnalyticsLinkNameTemplate()->render([ - 'customer_id' => $customerId, - 'customer_link_id' => $customerLinkId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - thirdPartyAppAnalyticsLink: customers/{customer_id}/thirdPartyAppAnalyticsLinks/{customer_link_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be - * provided to the third party when setting up app analytics. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * - * Sample code: - * ``` - * $thirdPartyAppAnalyticsLinkServiceClient = new ThirdPartyAppAnalyticsLinkServiceClient(); - * try { - * $response = $thirdPartyAppAnalyticsLinkServiceClient->regenerateShareableLinkId(); - * } finally { - * $thirdPartyAppAnalyticsLinkServiceClient->close(); - * } - * ``` - * - * @param array $optionalArgs { - * Optional. - * - * @type string $resourceName - * Resource name of the third party app analytics link. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\RegenerateShareableLinkIdResponse - * - * @throws ApiException if the remote call fails - */ - public function regenerateShareableLinkId(array $optionalArgs = []) - { - $request = new RegenerateShareableLinkIdRequest(); - $requestParamHeaders = []; - if (isset($optionalArgs['resourceName'])) { - $request->setResourceName($optionalArgs['resourceName']); - $requestParamHeaders['resource_name'] = $optionalArgs['resourceName']; - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('RegenerateShareableLinkId', RegenerateShareableLinkIdResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/TravelAssetSuggestionServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/TravelAssetSuggestionServiceGapicClient.php deleted file mode 100644 index 11c913cf5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/TravelAssetSuggestionServiceGapicClient.php +++ /dev/null @@ -1,213 +0,0 @@ -suggestTravelAssets($customerId, $languageOption); - * } finally { - * $travelAssetSuggestionServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\TravelAssetSuggestionServiceClient} to - * use the new surface. - */ -class TravelAssetSuggestionServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.TravelAssetSuggestionService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/travel_asset_suggestion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/travel_asset_suggestion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/travel_asset_suggestion_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/travel_asset_suggestion_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Returns Travel Asset suggestions. Asset - * suggestions are returned on a best-effort basis. There are no guarantees - * that all possible asset types will be returned for any given hotel - * property. - * - * Sample code: - * ``` - * $travelAssetSuggestionServiceClient = new TravelAssetSuggestionServiceClient(); - * try { - * $customerId = 'customer_id'; - * $languageOption = 'language_option'; - * $response = $travelAssetSuggestionServiceClient->suggestTravelAssets($customerId, $languageOption); - * } finally { - * $travelAssetSuggestionServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer. - * @param string $languageOption Required. The language specifications in BCP 47 format (for example, en-US, - * zh-CN, etc.) for the asset suggestions. Text will be in this language. - * Usually matches one of the campaign target languages. - * @param array $optionalArgs { - * Optional. - * - * @type string[] $placeIds - * The Google Maps Place IDs of hotels for which assets are requested. See - * https://developers.google.com/places/web-service/place-id for more - * information. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestTravelAssetsResponse - * - * @throws ApiException if the remote call fails - */ - public function suggestTravelAssets($customerId, $languageOption, array $optionalArgs = []) - { - $request = new SuggestTravelAssetsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setLanguageOption($languageOption); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['placeIds'])) { - $request->setPlaceIds($optionalArgs['placeIds']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('SuggestTravelAssets', SuggestTravelAssetsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/UserDataServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/UserDataServiceGapicClient.php deleted file mode 100644 index ff4a80e84..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/UserDataServiceGapicClient.php +++ /dev/null @@ -1,226 +0,0 @@ -uploadUserData($customerId, $operations); - * } finally { - * $userDataServiceClient->close(); - * } - * ``` - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\UserDataServiceClient} to use the new - * surface. - */ -class UserDataServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.UserDataService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/user_data_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/user_data_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/user_data_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/user_data_service_rest_client_config.php', - ], - ], - ]; - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Uploads the given user data. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * [UserDataError]() - * - * Sample code: - * ``` - * $userDataServiceClient = new UserDataServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $userDataServiceClient->uploadUserData($customerId, $operations); - * } finally { - * $userDataServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer for which to update the user data. - * @param UserDataOperation[] $operations Required. The list of operations to be done. - * @param array $optionalArgs { - * Optional. - * - * @type CustomerMatchUserListMetadata $customerMatchUserListMetadata - * Metadata for data updates to a Customer Match user list. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\UploadUserDataResponse - * - * @throws ApiException if the remote call fails - */ - public function uploadUserData($customerId, $operations, array $optionalArgs = []) - { - $request = new UploadUserDataRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['customerMatchUserListMetadata'])) { - $request->setCustomerMatchUserListMetadata($optionalArgs['customerMatchUserListMetadata']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('UploadUserData', UploadUserDataResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/Gapic/UserListServiceGapicClient.php b/src/Google/Ads/GoogleAds/V15/Services/Gapic/UserListServiceGapicClient.php deleted file mode 100644 index d1e194d35..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Gapic/UserListServiceGapicClient.php +++ /dev/null @@ -1,327 +0,0 @@ -mutateUserLists($customerId, $operations); - * } finally { - * $userListServiceClient->close(); - * } - * ``` - * - * Many parameters require resource names to be formatted in a particular way. To - * assist with these names, this class includes a format method for each type of - * name, and additionally a parseName method to extract the individual identifiers - * contained within formatted names that are returned by the API. - * - * This service has a new (beta) implementation. See {@see - * \Google\Ads\GoogleAds\V15\Services\Client\UserListServiceClient} to use the new - * surface. - */ -class UserListServiceGapicClient -{ - use GapicClientTrait; - - /** The name of the service. */ - const SERVICE_NAME = 'google.ads.googleads.v15.services.UserListService'; - - /** The default address of the service. */ - const SERVICE_ADDRESS = 'googleads.googleapis.com'; - - /** The default port of the service. */ - const DEFAULT_SERVICE_PORT = 443; - - /** The name of the code generator, to be included in the agent header. */ - const CODEGEN_NAME = 'gapic'; - - /** The default scopes required by the service. */ - public static $serviceScopes = [ - 'https://www.googleapis.com/auth/adwords', - ]; - - private static $userListNameTemplate; - - private static $pathTemplateMap; - - private static function getClientDefaults() - { - return [ - 'serviceName' => self::SERVICE_NAME, - 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/user_list_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/user_list_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/user_list_service_grpc_config.json', - 'credentialsConfig' => [ - 'defaultScopes' => self::$serviceScopes, - ], - 'transportConfig' => [ - 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/user_list_service_rest_client_config.php', - ], - ], - ]; - } - - private static function getUserListNameTemplate() - { - if (self::$userListNameTemplate == null) { - self::$userListNameTemplate = new PathTemplate('customers/{customer_id}/userLists/{user_list_id}'); - } - - return self::$userListNameTemplate; - } - - private static function getPathTemplateMap() - { - if (self::$pathTemplateMap == null) { - self::$pathTemplateMap = [ - 'userList' => self::getUserListNameTemplate(), - ]; - } - - return self::$pathTemplateMap; - } - - /** - * Formats a string containing the fully-qualified path to represent a user_list - * resource. - * - * @param string $customerId - * @param string $userListId - * - * @return string The formatted user_list resource. - */ - public static function userListName($customerId, $userListId) - { - return self::getUserListNameTemplate()->render([ - 'customer_id' => $customerId, - 'user_list_id' => $userListId, - ]); - } - - /** - * Parses a formatted name string and returns an associative array of the components in the name. - * The following name formats are supported: - * Template: Pattern - * - userList: customers/{customer_id}/userLists/{user_list_id} - * - * The optional $template argument can be supplied to specify a particular pattern, - * and must match one of the templates listed above. If no $template argument is - * provided, or if the $template argument does not match one of the templates - * listed, then parseName will check each of the supported templates, and return - * the first match. - * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match - * - * @return array An associative array from name component IDs to component values. - * - * @throws ValidationException If $formattedName could not be matched. - */ - public static function parseName($formattedName, $template = null) - { - $templateMap = self::getPathTemplateMap(); - if ($template) { - if (!isset($templateMap[$template])) { - throw new ValidationException("Template name $template does not exist"); - } - - return $templateMap[$template]->match($formattedName); - } - - foreach ($templateMap as $templateName => $pathTemplate) { - try { - return $pathTemplate->match($formattedName); - } catch (ValidationException $ex) { - // Swallow the exception to continue trying other path templates - } - } - - throw new ValidationException("Input did not match any known format. Input: $formattedName"); - } - - /** - * Constructor. - * - * @param array $options { - * Optional. Options for configuring the service API wrapper. - * - * @type string $apiEndpoint - * The address of the API remote host. May optionally include the port, formatted - * as ":". Default 'googleads.googleapis.com:443'. - * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials - * The credentials to be used by the client to authorize API calls. This option - * accepts either a path to a credentials file, or a decoded credentials file as a - * PHP array. - * *Advanced usage*: In addition, this option can also accept a pre-constructed - * {@see \Google\Auth\FetchAuthTokenInterface} object or - * {@see \Google\ApiCore\CredentialsWrapper} object. Note that when one of these - * objects are provided, any settings in $credentialsConfig will be ignored. - * @type array $credentialsConfig - * Options used to configure credentials, including auth token caching, for the - * client. For a full list of supporting configuration options, see - * {@see \Google\ApiCore\CredentialsWrapper::build()} . - * @type bool $disableRetries - * Determines whether or not retries defined by the client configuration should be - * disabled. Defaults to `false`. - * @type string|array $clientConfig - * Client method configuration, including retry settings. This option can be either - * a path to a JSON file, or a PHP array containing the decoded JSON data. By - * default this settings points to the default client config file, which is - * provided in the resources folder. - * @type string|TransportInterface $transport - * The transport used for executing network requests. May be either the string - * `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. - * *Advanced usage*: Additionally, it is possible to pass in an already - * instantiated {@see \Google\ApiCore\Transport\TransportInterface} object. Note - * that when this object is provided, any settings in $transportConfig, and any - * $apiEndpoint setting, will be ignored. - * @type array $transportConfig - * Configuration options that will be used to construct the transport. Options for - * each supported transport type should be passed in a key for that transport. For - * example: - * $transportConfig = [ - * 'grpc' => [...], - * 'rest' => [...], - * ]; - * See the {@see \Google\ApiCore\Transport\GrpcTransport::build()} and - * {@see \Google\ApiCore\Transport\RestTransport::build()} methods for the - * supported options. - * @type callable $clientCertSource - * A callable which returns the client cert as a string. This can be used to - * provide a certificate and private key to the transport layer for mTLS. - * } - * - * @throws ValidationException - */ - public function __construct(array $options = []) - { - $clientOptions = $this->buildClientOptions($options); - $this->setClientOptions($clientOptions); - } - - /** - * Creates or updates user lists. Operation statuses are returned. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [DatabaseError]() - * [DistinctError]() - * [FieldError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NotAllowlistedError]() - * [NotEmptyError]() - * [OperationAccessDeniedError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [StringFormatError]() - * [StringLengthError]() - * [UserListError]() - * - * Sample code: - * ``` - * $userListServiceClient = new UserListServiceClient(); - * try { - * $customerId = 'customer_id'; - * $operations = []; - * $response = $userListServiceClient->mutateUserLists($customerId, $operations); - * } finally { - * $userListServiceClient->close(); - * } - * ``` - * - * @param string $customerId Required. The ID of the customer whose user lists are being modified. - * @param UserListOperation[] $operations Required. The list of operations to perform on individual user lists. - * @param array $optionalArgs { - * Optional. - * - * @type bool $partialFailure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validateOnly - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type RetrySettings|array $retrySettings - * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an - * associative array of retry settings parameters. See the documentation on - * {@see RetrySettings} for example usage. - * } - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateUserListsResponse - * - * @throws ApiException if the remote call fails - */ - public function mutateUserLists($customerId, $operations, array $optionalArgs = []) - { - $request = new MutateUserListsRequest(); - $requestParamHeaders = []; - $request->setCustomerId($customerId); - $request->setOperations($operations); - $requestParamHeaders['customer_id'] = $customerId; - if (isset($optionalArgs['partialFailure'])) { - $request->setPartialFailure($optionalArgs['partialFailure']); - } - - if (isset($optionalArgs['validateOnly'])) { - $request->setValidateOnly($optionalArgs['validateOnly']); - } - - $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders); - $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader(); - return $this->startCall('MutateUserLists', MutateUserListsResponse::class, $optionalArgs, $request)->wait(); - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/GclidDateTimePair.php b/src/Google/Ads/GoogleAds/V15/Services/GclidDateTimePair.php deleted file mode 100644 index 4d14ab7c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GclidDateTimePair.php +++ /dev/null @@ -1,134 +0,0 @@ -google.ads.googleads.v15.services.GclidDateTimePair - */ -class GclidDateTimePair extends \Google\Protobuf\Internal\Message -{ - /** - * Google click ID (gclid) associated with the original conversion for this - * adjustment. - * - * Generated from protobuf field optional string gclid = 3; - */ - protected $gclid = null; - /** - * The date time at which the original conversion for this adjustment - * occurred. The timezone must be specified. The format is "yyyy-mm-dd - * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 4; - */ - protected $conversion_date_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $gclid - * Google click ID (gclid) associated with the original conversion for this - * adjustment. - * @type string $conversion_date_time - * The date time at which the original conversion for this adjustment - * occurred. The timezone must be specified. The format is "yyyy-mm-dd - * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Google click ID (gclid) associated with the original conversion for this - * adjustment. - * - * Generated from protobuf field optional string gclid = 3; - * @return string - */ - public function getGclid() - { - return isset($this->gclid) ? $this->gclid : ''; - } - - public function hasGclid() - { - return isset($this->gclid); - } - - public function clearGclid() - { - unset($this->gclid); - } - - /** - * Google click ID (gclid) associated with the original conversion for this - * adjustment. - * - * Generated from protobuf field optional string gclid = 3; - * @param string $var - * @return $this - */ - public function setGclid($var) - { - GPBUtil::checkString($var, True); - $this->gclid = $var; - - return $this; - } - - /** - * The date time at which the original conversion for this adjustment - * occurred. The timezone must be specified. The format is "yyyy-mm-dd - * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 4; - * @return string - */ - public function getConversionDateTime() - { - return isset($this->conversion_date_time) ? $this->conversion_date_time : ''; - } - - public function hasConversionDateTime() - { - return isset($this->conversion_date_time); - } - - public function clearConversionDateTime() - { - unset($this->conversion_date_time); - } - - /** - * The date time at which the original conversion for this adjustment - * occurred. The timezone must be specified. The format is "yyyy-mm-dd - * hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string conversion_date_time = 4; - * @param string $var - * @return $this - */ - public function setConversionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->conversion_date_time = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateAdGroupThemesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateAdGroupThemesRequest.php deleted file mode 100644 index a73f6034a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateAdGroupThemesRequest.php +++ /dev/null @@ -1,140 +0,0 @@ -google.ads.googleads.v15.services.GenerateAdGroupThemesRequest - */ -class GenerateAdGroupThemesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. A list of keywords to group into the provided AdGroups. - * - * Generated from protobuf field repeated string keywords = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $keywords; - /** - * Required. A list of resource names of AdGroups to group keywords into. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field repeated string ad_groups = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $ad_groups; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type array|\Google\Protobuf\Internal\RepeatedField $keywords - * Required. A list of keywords to group into the provided AdGroups. - * @type array|\Google\Protobuf\Internal\RepeatedField $ad_groups - * Required. A list of resource names of AdGroups to group keywords into. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. A list of keywords to group into the provided AdGroups. - * - * Generated from protobuf field repeated string keywords = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeywords() - { - return $this->keywords; - } - - /** - * Required. A list of keywords to group into the provided AdGroups. - * - * Generated from protobuf field repeated string keywords = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->keywords = $arr; - - return $this; - } - - /** - * Required. A list of resource names of AdGroups to group keywords into. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field repeated string ad_groups = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdGroups() - { - return $this->ad_groups; - } - - /** - * Required. A list of resource names of AdGroups to group keywords into. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field repeated string ad_groups = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdGroups($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->ad_groups = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateAdGroupThemesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateAdGroupThemesResponse.php deleted file mode 100644 index 38abc10ab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateAdGroupThemesResponse.php +++ /dev/null @@ -1,102 +0,0 @@ -google.ads.googleads.v15.services.GenerateAdGroupThemesResponse - */ -class GenerateAdGroupThemesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * A list of suggested AdGroup/keyword pairings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupKeywordSuggestion ad_group_keyword_suggestions = 1; - */ - private $ad_group_keyword_suggestions; - /** - * A list of provided AdGroups that could not be used as suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UnusableAdGroup unusable_ad_groups = 2; - */ - private $unusable_ad_groups; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupKeywordSuggestion>|\Google\Protobuf\Internal\RepeatedField $ad_group_keyword_suggestions - * A list of suggested AdGroup/keyword pairings. - * @type array<\Google\Ads\GoogleAds\V15\Services\UnusableAdGroup>|\Google\Protobuf\Internal\RepeatedField $unusable_ad_groups - * A list of provided AdGroups that could not be used as suggestions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * A list of suggested AdGroup/keyword pairings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupKeywordSuggestion ad_group_keyword_suggestions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdGroupKeywordSuggestions() - { - return $this->ad_group_keyword_suggestions; - } - - /** - * A list of suggested AdGroup/keyword pairings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupKeywordSuggestion ad_group_keyword_suggestions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupKeywordSuggestion>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdGroupKeywordSuggestions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupKeywordSuggestion::class); - $this->ad_group_keyword_suggestions = $arr; - - return $this; - } - - /** - * A list of provided AdGroups that could not be used as suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UnusableAdGroup unusable_ad_groups = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUnusableAdGroups() - { - return $this->unusable_ad_groups; - } - - /** - * A list of provided AdGroups that could not be used as suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UnusableAdGroup unusable_ad_groups = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\UnusableAdGroup>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUnusableAdGroups($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\UnusableAdGroup::class); - $this->unusable_ad_groups = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateAudienceCompositionInsightsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateAudienceCompositionInsightsRequest.php deleted file mode 100644 index 2313ea472..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateAudienceCompositionInsightsRequest.php +++ /dev/null @@ -1,293 +0,0 @@ -google.ads.googleads.v15.services.GenerateAudienceCompositionInsightsRequest - */ -class GenerateAudienceCompositionInsightsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The audience of interest for which insights are being requested. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $audience = null; - /** - * The baseline audience to which the audience of interest is being - * compared. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience baseline_audience = 6; - */ - protected $baseline_audience = null; - /** - * The one-month range of historical data to use for insights, in the format - * "yyyy-mm". If unset, insights will be returned for the last thirty days of - * data. - * - * Generated from protobuf field string data_month = 3; - */ - protected $data_month = ''; - /** - * Required. The audience dimensions for which composition insights should be - * returned. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - private $dimensions; - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 5; - */ - protected $customer_insights_group = ''; - - /** - * @param string $customerId Required. The ID of the customer. - * @param \Google\Ads\GoogleAds\V15\Services\InsightsAudience $audience Required. The audience of interest for which insights are being requested. - * @param int[] $dimensions Required. The audience dimensions for which composition insights should be - * returned. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension} - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateAudienceCompositionInsightsRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\InsightsAudience $audience, array $dimensions): self - { - return (new self()) - ->setCustomerId($customerId) - ->setAudience($audience) - ->setDimensions($dimensions); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type \Google\Ads\GoogleAds\V15\Services\InsightsAudience $audience - * Required. The audience of interest for which insights are being requested. - * @type \Google\Ads\GoogleAds\V15\Services\InsightsAudience $baseline_audience - * The baseline audience to which the audience of interest is being - * compared. - * @type string $data_month - * The one-month range of historical data to use for insights, in the format - * "yyyy-mm". If unset, insights will be returned for the last thirty days of - * data. - * @type array|\Google\Protobuf\Internal\RepeatedField $dimensions - * Required. The audience dimensions for which composition insights should be - * returned. - * @type string $customer_insights_group - * The name of the customer being planned for. This is a user-defined value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The audience of interest for which insights are being requested. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\InsightsAudience|null - */ - public function getAudience() - { - return $this->audience; - } - - public function hasAudience() - { - return isset($this->audience); - } - - public function clearAudience() - { - unset($this->audience); - } - - /** - * Required. The audience of interest for which insights are being requested. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\InsightsAudience $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\InsightsAudience::class); - $this->audience = $var; - - return $this; - } - - /** - * The baseline audience to which the audience of interest is being - * compared. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience baseline_audience = 6; - * @return \Google\Ads\GoogleAds\V15\Services\InsightsAudience|null - */ - public function getBaselineAudience() - { - return $this->baseline_audience; - } - - public function hasBaselineAudience() - { - return isset($this->baseline_audience); - } - - public function clearBaselineAudience() - { - unset($this->baseline_audience); - } - - /** - * The baseline audience to which the audience of interest is being - * compared. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience baseline_audience = 6; - * @param \Google\Ads\GoogleAds\V15\Services\InsightsAudience $var - * @return $this - */ - public function setBaselineAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\InsightsAudience::class); - $this->baseline_audience = $var; - - return $this; - } - - /** - * The one-month range of historical data to use for insights, in the format - * "yyyy-mm". If unset, insights will be returned for the last thirty days of - * data. - * - * Generated from protobuf field string data_month = 3; - * @return string - */ - public function getDataMonth() - { - return $this->data_month; - } - - /** - * The one-month range of historical data to use for insights, in the format - * "yyyy-mm". If unset, insights will be returned for the last thirty days of - * data. - * - * Generated from protobuf field string data_month = 3; - * @param string $var - * @return $this - */ - public function setDataMonth($var) - { - GPBUtil::checkString($var, True); - $this->data_month = $var; - - return $this; - } - - /** - * Required. The audience dimensions for which composition insights should be - * returned. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * Required. The audience dimensions for which composition insights should be - * returned. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension::class); - $this->dimensions = $arr; - - return $this; - } - - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 5; - * @return string - */ - public function getCustomerInsightsGroup() - { - return $this->customer_insights_group; - } - - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 5; - * @param string $var - * @return $this - */ - public function setCustomerInsightsGroup($var) - { - GPBUtil::checkString($var, True); - $this->customer_insights_group = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateAudienceCompositionInsightsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateAudienceCompositionInsightsResponse.php deleted file mode 100644 index 710df9f16..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateAudienceCompositionInsightsResponse.php +++ /dev/null @@ -1,76 +0,0 @@ -google.ads.googleads.v15.services.GenerateAudienceCompositionInsightsResponse - */ -class GenerateAudienceCompositionInsightsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The contents of the insights report, organized into sections. - * Each section is associated with one of the AudienceInsightsDimension values - * in the request. There may be more than one section per dimension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionSection sections = 1; - */ - private $sections; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceCompositionSection>|\Google\Protobuf\Internal\RepeatedField $sections - * The contents of the insights report, organized into sections. - * Each section is associated with one of the AudienceInsightsDimension values - * in the request. There may be more than one section per dimension. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The contents of the insights report, organized into sections. - * Each section is associated with one of the AudienceInsightsDimension values - * in the request. There may be more than one section per dimension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionSection sections = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSections() - { - return $this->sections; - } - - /** - * The contents of the insights report, organized into sections. - * Each section is associated with one of the AudienceInsightsDimension values - * in the request. There may be more than one section per dimension. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceCompositionSection sections = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceCompositionSection>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSections($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceCompositionSection::class); - $this->sections = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateInsightsFinderReportRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateInsightsFinderReportRequest.php deleted file mode 100644 index 6c0049c04..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateInsightsFinderReportRequest.php +++ /dev/null @@ -1,222 +0,0 @@ -google.ads.googleads.v15.services.GenerateInsightsFinderReportRequest - */ -class GenerateInsightsFinderReportRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. A baseline audience for this report, typically all people in a - * region. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BasicInsightsAudience baseline_audience = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $baseline_audience = null; - /** - * Required. The specific audience of interest for this report. The insights - * in the report will be based on attributes more prevalent in this audience - * than in the report's baseline audience. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BasicInsightsAudience specific_audience = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $specific_audience = null; - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 4; - */ - protected $customer_insights_group = ''; - - /** - * @param string $customerId Required. The ID of the customer. - * @param \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience $baselineAudience Required. A baseline audience for this report, typically all people in a - * region. - * @param \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience $specificAudience Required. The specific audience of interest for this report. The insights - * in the report will be based on attributes more prevalent in this audience - * than in the report's baseline audience. - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateInsightsFinderReportRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience $baselineAudience, \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience $specificAudience): self - { - return (new self()) - ->setCustomerId($customerId) - ->setBaselineAudience($baselineAudience) - ->setSpecificAudience($specificAudience); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience $baseline_audience - * Required. A baseline audience for this report, typically all people in a - * region. - * @type \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience $specific_audience - * Required. The specific audience of interest for this report. The insights - * in the report will be based on attributes more prevalent in this audience - * than in the report's baseline audience. - * @type string $customer_insights_group - * The name of the customer being planned for. This is a user-defined value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. A baseline audience for this report, typically all people in a - * region. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BasicInsightsAudience baseline_audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience|null - */ - public function getBaselineAudience() - { - return $this->baseline_audience; - } - - public function hasBaselineAudience() - { - return isset($this->baseline_audience); - } - - public function clearBaselineAudience() - { - unset($this->baseline_audience); - } - - /** - * Required. A baseline audience for this report, typically all people in a - * region. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BasicInsightsAudience baseline_audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience $var - * @return $this - */ - public function setBaselineAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience::class); - $this->baseline_audience = $var; - - return $this; - } - - /** - * Required. The specific audience of interest for this report. The insights - * in the report will be based on attributes more prevalent in this audience - * than in the report's baseline audience. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BasicInsightsAudience specific_audience = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience|null - */ - public function getSpecificAudience() - { - return $this->specific_audience; - } - - public function hasSpecificAudience() - { - return isset($this->specific_audience); - } - - public function clearSpecificAudience() - { - unset($this->specific_audience); - } - - /** - * Required. The specific audience of interest for this report. The insights - * in the report will be based on attributes more prevalent in this audience - * than in the report's baseline audience. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BasicInsightsAudience specific_audience = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience $var - * @return $this - */ - public function setSpecificAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\BasicInsightsAudience::class); - $this->specific_audience = $var; - - return $this; - } - - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 4; - * @return string - */ - public function getCustomerInsightsGroup() - { - return $this->customer_insights_group; - } - - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 4; - * @param string $var - * @return $this - */ - public function setCustomerInsightsGroup($var) - { - GPBUtil::checkString($var, True); - $this->customer_insights_group = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateInsightsFinderReportResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateInsightsFinderReportResponse.php deleted file mode 100644 index 5b5059d97..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateInsightsFinderReportResponse.php +++ /dev/null @@ -1,73 +0,0 @@ -google.ads.googleads.v15.services.GenerateInsightsFinderReportResponse - */ -class GenerateInsightsFinderReportResponse extends \Google\Protobuf\Internal\Message -{ - /** - * An HTTPS URL providing a deep link into the Insights Finder UI with the - * report inputs filled in according to the request. - * - * Generated from protobuf field string saved_report_url = 1; - */ - protected $saved_report_url = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $saved_report_url - * An HTTPS URL providing a deep link into the Insights Finder UI with the - * report inputs filled in according to the request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * An HTTPS URL providing a deep link into the Insights Finder UI with the - * report inputs filled in according to the request. - * - * Generated from protobuf field string saved_report_url = 1; - * @return string - */ - public function getSavedReportUrl() - { - return $this->saved_report_url; - } - - /** - * An HTTPS URL providing a deep link into the Insights Finder UI with the - * report inputs filled in according to the request. - * - * Generated from protobuf field string saved_report_url = 1; - * @param string $var - * @return $this - */ - public function setSavedReportUrl($var) - { - GPBUtil::checkString($var, True); - $this->saved_report_url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordForecastMetricsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordForecastMetricsRequest.php deleted file mode 100644 index 8adc6a101..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordForecastMetricsRequest.php +++ /dev/null @@ -1,227 +0,0 @@ -google.ads.googleads.v15.services.GenerateKeywordForecastMetricsRequest - */ -class GenerateKeywordForecastMetricsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the customer. - * - * Generated from protobuf field string customer_id = 1; - */ - protected $customer_id = ''; - /** - * The currency used for exchange rate conversion. - * By default, the account currency of the customer is used. - * Set this field only if the currency is different from the account currency. - * The list of valid currency codes can be found at - * https://developers.google.com/google-ads/api/data/codes-formats#currency-codes. - * - * Generated from protobuf field optional string currency_code = 2; - */ - protected $currency_code = null; - /** - * The date range for the forecast. The start date must be in the future and - * end date must be within 1 year from today. The reference timezone used is - * the one of the Google Ads account belonging to the customer. If not set, a - * default date range from next Sunday to the following Saturday will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange forecast_period = 3; - */ - protected $forecast_period = null; - /** - * Required. The campaign used in the forecast. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignToForecast campaign = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $campaign = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * The ID of the customer. - * @type string $currency_code - * The currency used for exchange rate conversion. - * By default, the account currency of the customer is used. - * Set this field only if the currency is different from the account currency. - * The list of valid currency codes can be found at - * https://developers.google.com/google-ads/api/data/codes-formats#currency-codes. - * @type \Google\Ads\GoogleAds\V15\Common\DateRange $forecast_period - * The date range for the forecast. The start date must be in the future and - * end date must be within 1 year from today. The reference timezone used is - * the one of the Google Ads account belonging to the customer. If not set, a - * default date range from next Sunday to the following Saturday will be used. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignToForecast $campaign - * Required. The campaign used in the forecast. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the customer. - * - * Generated from protobuf field string customer_id = 1; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * The ID of the customer. - * - * Generated from protobuf field string customer_id = 1; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * The currency used for exchange rate conversion. - * By default, the account currency of the customer is used. - * Set this field only if the currency is different from the account currency. - * The list of valid currency codes can be found at - * https://developers.google.com/google-ads/api/data/codes-formats#currency-codes. - * - * Generated from protobuf field optional string currency_code = 2; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * The currency used for exchange rate conversion. - * By default, the account currency of the customer is used. - * Set this field only if the currency is different from the account currency. - * The list of valid currency codes can be found at - * https://developers.google.com/google-ads/api/data/codes-formats#currency-codes. - * - * Generated from protobuf field optional string currency_code = 2; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * The date range for the forecast. The start date must be in the future and - * end date must be within 1 year from today. The reference timezone used is - * the one of the Google Ads account belonging to the customer. If not set, a - * default date range from next Sunday to the following Saturday will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange forecast_period = 3; - * @return \Google\Ads\GoogleAds\V15\Common\DateRange|null - */ - public function getForecastPeriod() - { - return $this->forecast_period; - } - - public function hasForecastPeriod() - { - return isset($this->forecast_period); - } - - public function clearForecastPeriod() - { - unset($this->forecast_period); - } - - /** - * The date range for the forecast. The start date must be in the future and - * end date must be within 1 year from today. The reference timezone used is - * the one of the Google Ads account belonging to the customer. If not set, a - * default date range from next Sunday to the following Saturday will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange forecast_period = 3; - * @param \Google\Ads\GoogleAds\V15\Common\DateRange $var - * @return $this - */ - public function setForecastPeriod($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DateRange::class); - $this->forecast_period = $var; - - return $this; - } - - /** - * Required. The campaign used in the forecast. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignToForecast campaign = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignToForecast|null - */ - public function getCampaign() - { - return $this->campaign; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * Required. The campaign used in the forecast. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignToForecast campaign = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignToForecast $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignToForecast::class); - $this->campaign = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordForecastMetricsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordForecastMetricsResponse.php deleted file mode 100644 index e77332376..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordForecastMetricsResponse.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.GenerateKeywordForecastMetricsResponse - */ -class GenerateKeywordForecastMetricsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results of the campaign forecast. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.KeywordForecastMetrics campaign_forecast_metrics = 1; - */ - protected $campaign_forecast_metrics = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\KeywordForecastMetrics $campaign_forecast_metrics - * Results of the campaign forecast. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Results of the campaign forecast. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.KeywordForecastMetrics campaign_forecast_metrics = 1; - * @return \Google\Ads\GoogleAds\V15\Services\KeywordForecastMetrics|null - */ - public function getCampaignForecastMetrics() - { - return $this->campaign_forecast_metrics; - } - - public function hasCampaignForecastMetrics() - { - return isset($this->campaign_forecast_metrics); - } - - public function clearCampaignForecastMetrics() - { - unset($this->campaign_forecast_metrics); - } - - /** - * Results of the campaign forecast. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.KeywordForecastMetrics campaign_forecast_metrics = 1; - * @param \Google\Ads\GoogleAds\V15\Services\KeywordForecastMetrics $var - * @return $this - */ - public function setCampaignForecastMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\KeywordForecastMetrics::class); - $this->campaign_forecast_metrics = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsRequest.php deleted file mode 100644 index 69c132061..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsRequest.php +++ /dev/null @@ -1,376 +0,0 @@ -google.ads.googleads.v15.services.GenerateKeywordHistoricalMetricsRequest - */ -class GenerateKeywordHistoricalMetricsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1; - */ - protected $customer_id = ''; - /** - * A list of keywords to get historical metrics. - * Not all inputs will be returned as a result of near-exact deduplication. - * For example, if stats for "car" and "cars" are requested, only "car" will - * be returned. - * A maximum of 10,000 keywords can be used. - * - * Generated from protobuf field repeated string keywords = 2; - */ - private $keywords; - /** - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * - * Generated from protobuf field optional string language = 4; - */ - protected $language = null; - /** - * If true, adult keywords will be included in response. - * The default value is false. - * - * Generated from protobuf field bool include_adult_keywords = 5; - */ - protected $include_adult_keywords = false; - /** - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * - * Generated from protobuf field repeated string geo_target_constants = 6; - */ - private $geo_target_constants; - /** - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7; - */ - protected $keyword_plan_network = 0; - /** - * The aggregate fields to include in response. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; - */ - protected $aggregate_metrics = null; - /** - * The options for historical metrics data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HistoricalMetricsOptions historical_metrics_options = 3; - */ - protected $historical_metrics_options = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * The ID of the customer with the recommendation. - * @type array|\Google\Protobuf\Internal\RepeatedField $keywords - * A list of keywords to get historical metrics. - * Not all inputs will be returned as a result of near-exact deduplication. - * For example, if stats for "car" and "cars" are requested, only "car" will - * be returned. - * A maximum of 10,000 keywords can be used. - * @type string $language - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * @type bool $include_adult_keywords - * If true, adult keywords will be included in response. - * The default value is false. - * @type array|\Google\Protobuf\Internal\RepeatedField $geo_target_constants - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * @type int $keyword_plan_network - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetrics $aggregate_metrics - * The aggregate fields to include in response. - * @type \Google\Ads\GoogleAds\V15\Common\HistoricalMetricsOptions $historical_metrics_options - * The options for historical metrics data. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * A list of keywords to get historical metrics. - * Not all inputs will be returned as a result of near-exact deduplication. - * For example, if stats for "car" and "cars" are requested, only "car" will - * be returned. - * A maximum of 10,000 keywords can be used. - * - * Generated from protobuf field repeated string keywords = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeywords() - { - return $this->keywords; - } - - /** - * A list of keywords to get historical metrics. - * Not all inputs will be returned as a result of near-exact deduplication. - * For example, if stats for "car" and "cars" are requested, only "car" will - * be returned. - * A maximum of 10,000 keywords can be used. - * - * Generated from protobuf field repeated string keywords = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->keywords = $arr; - - return $this; - } - - /** - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * - * Generated from protobuf field optional string language = 4; - * @return string - */ - public function getLanguage() - { - return isset($this->language) ? $this->language : ''; - } - - public function hasLanguage() - { - return isset($this->language); - } - - public function clearLanguage() - { - unset($this->language); - } - - /** - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * - * Generated from protobuf field optional string language = 4; - * @param string $var - * @return $this - */ - public function setLanguage($var) - { - GPBUtil::checkString($var, True); - $this->language = $var; - - return $this; - } - - /** - * If true, adult keywords will be included in response. - * The default value is false. - * - * Generated from protobuf field bool include_adult_keywords = 5; - * @return bool - */ - public function getIncludeAdultKeywords() - { - return $this->include_adult_keywords; - } - - /** - * If true, adult keywords will be included in response. - * The default value is false. - * - * Generated from protobuf field bool include_adult_keywords = 5; - * @param bool $var - * @return $this - */ - public function setIncludeAdultKeywords($var) - { - GPBUtil::checkBool($var); - $this->include_adult_keywords = $var; - - return $this; - } - - /** - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * - * Generated from protobuf field repeated string geo_target_constants = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoTargetConstants() - { - return $this->geo_target_constants; - } - - /** - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * - * Generated from protobuf field repeated string geo_target_constants = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoTargetConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->geo_target_constants = $arr; - - return $this; - } - - /** - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7; - * @return int - */ - public function getKeywordPlanNetwork() - { - return $this->keyword_plan_network; - } - - /** - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7; - * @param int $var - * @return $this - */ - public function setKeywordPlanNetwork($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanNetworkEnum\KeywordPlanNetwork::class); - $this->keyword_plan_network = $var; - - return $this; - } - - /** - * The aggregate fields to include in response. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetrics|null - */ - public function getAggregateMetrics() - { - return $this->aggregate_metrics; - } - - public function hasAggregateMetrics() - { - return isset($this->aggregate_metrics); - } - - public function clearAggregateMetrics() - { - unset($this->aggregate_metrics); - } - - /** - * The aggregate fields to include in response. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetrics $var - * @return $this - */ - public function setAggregateMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetrics::class); - $this->aggregate_metrics = $var; - - return $this; - } - - /** - * The options for historical metrics data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HistoricalMetricsOptions historical_metrics_options = 3; - * @return \Google\Ads\GoogleAds\V15\Common\HistoricalMetricsOptions|null - */ - public function getHistoricalMetricsOptions() - { - return $this->historical_metrics_options; - } - - public function hasHistoricalMetricsOptions() - { - return isset($this->historical_metrics_options); - } - - public function clearHistoricalMetricsOptions() - { - unset($this->historical_metrics_options); - } - - /** - * The options for historical metrics data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HistoricalMetricsOptions historical_metrics_options = 3; - * @param \Google\Ads\GoogleAds\V15\Common\HistoricalMetricsOptions $var - * @return $this - */ - public function setHistoricalMetricsOptions($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HistoricalMetricsOptions::class); - $this->historical_metrics_options = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsResponse.php deleted file mode 100644 index da064c50c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsResponse.php +++ /dev/null @@ -1,112 +0,0 @@ -google.ads.googleads.v15.services.GenerateKeywordHistoricalMetricsResponse - */ -class GenerateKeywordHistoricalMetricsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * List of keywords and their historical metrics. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GenerateKeywordHistoricalMetricsResult results = 1; - */ - private $results; - /** - * The aggregate metrics for all keywords. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 2; - */ - protected $aggregate_metric_results = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\GenerateKeywordHistoricalMetricsResult>|\Google\Protobuf\Internal\RepeatedField $results - * List of keywords and their historical metrics. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetricResults $aggregate_metric_results - * The aggregate metrics for all keywords. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * List of keywords and their historical metrics. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GenerateKeywordHistoricalMetricsResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * List of keywords and their historical metrics. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GenerateKeywordHistoricalMetricsResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\GenerateKeywordHistoricalMetricsResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\GenerateKeywordHistoricalMetricsResult::class); - $this->results = $arr; - - return $this; - } - - /** - * The aggregate metrics for all keywords. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 2; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetricResults|null - */ - public function getAggregateMetricResults() - { - return $this->aggregate_metric_results; - } - - public function hasAggregateMetricResults() - { - return isset($this->aggregate_metric_results); - } - - public function clearAggregateMetricResults() - { - unset($this->aggregate_metric_results); - } - - /** - * The aggregate metrics for all keywords. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 2; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetricResults $var - * @return $this - */ - public function setAggregateMetricResults($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetricResults::class); - $this->aggregate_metric_results = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsResult.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsResult.php deleted file mode 100644 index fb20cf25a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordHistoricalMetricsResult.php +++ /dev/null @@ -1,179 +0,0 @@ -google.ads.googleads.v15.services.GenerateKeywordHistoricalMetricsResult - */ -class GenerateKeywordHistoricalMetricsResult extends \Google\Protobuf\Internal\Message -{ - /** - * The text of the query associated with one or more keywords. - * Note that we de-dupe your keywords list, eliminating close variants - * before returning the keywords as text. For example, if your request - * originally contained the keywords "car" and "cars", the returned search - * query will only contain "cars". The list of de-duped queries will be - * included in close_variants field. - * - * Generated from protobuf field optional string text = 1; - */ - protected $text = null; - /** - * The list of close variants from the requested keywords whose stats - * are combined into this GenerateKeywordHistoricalMetricsResult. - * - * Generated from protobuf field repeated string close_variants = 3; - */ - private $close_variants; - /** - * The historical metrics for text and its close variants - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanHistoricalMetrics keyword_metrics = 2; - */ - protected $keyword_metrics = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * The text of the query associated with one or more keywords. - * Note that we de-dupe your keywords list, eliminating close variants - * before returning the keywords as text. For example, if your request - * originally contained the keywords "car" and "cars", the returned search - * query will only contain "cars". The list of de-duped queries will be - * included in close_variants field. - * @type array|\Google\Protobuf\Internal\RepeatedField $close_variants - * The list of close variants from the requested keywords whose stats - * are combined into this GenerateKeywordHistoricalMetricsResult. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordPlanHistoricalMetrics $keyword_metrics - * The historical metrics for text and its close variants - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The text of the query associated with one or more keywords. - * Note that we de-dupe your keywords list, eliminating close variants - * before returning the keywords as text. For example, if your request - * originally contained the keywords "car" and "cars", the returned search - * query will only contain "cars". The list of de-duped queries will be - * included in close_variants field. - * - * Generated from protobuf field optional string text = 1; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * The text of the query associated with one or more keywords. - * Note that we de-dupe your keywords list, eliminating close variants - * before returning the keywords as text. For example, if your request - * originally contained the keywords "car" and "cars", the returned search - * query will only contain "cars". The list of de-duped queries will be - * included in close_variants field. - * - * Generated from protobuf field optional string text = 1; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The list of close variants from the requested keywords whose stats - * are combined into this GenerateKeywordHistoricalMetricsResult. - * - * Generated from protobuf field repeated string close_variants = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCloseVariants() - { - return $this->close_variants; - } - - /** - * The list of close variants from the requested keywords whose stats - * are combined into this GenerateKeywordHistoricalMetricsResult. - * - * Generated from protobuf field repeated string close_variants = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCloseVariants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->close_variants = $arr; - - return $this; - } - - /** - * The historical metrics for text and its close variants - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanHistoricalMetrics keyword_metrics = 2; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordPlanHistoricalMetrics|null - */ - public function getKeywordMetrics() - { - return $this->keyword_metrics; - } - - public function hasKeywordMetrics() - { - return isset($this->keyword_metrics); - } - - public function clearKeywordMetrics() - { - unset($this->keyword_metrics); - } - - /** - * The historical metrics for text and its close variants - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanHistoricalMetrics keyword_metrics = 2; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordPlanHistoricalMetrics $var - * @return $this - */ - public function setKeywordMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordPlanHistoricalMetrics::class); - $this->keyword_metrics = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeaResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeaResponse.php deleted file mode 100644 index 39729e4f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeaResponse.php +++ /dev/null @@ -1,192 +0,0 @@ -google.ads.googleads.v15.services.GenerateKeywordIdeaResponse - */ -class GenerateKeywordIdeaResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results of generating keyword ideas. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GenerateKeywordIdeaResult results = 1; - */ - private $results; - /** - * The aggregate metrics for all keyword ideas. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 4; - */ - protected $aggregate_metric_results = null; - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. - * `next_page_token` is not returned for the last page. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - /** - * Total number of results available. - * - * Generated from protobuf field int64 total_size = 3; - */ - protected $total_size = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\GenerateKeywordIdeaResult>|\Google\Protobuf\Internal\RepeatedField $results - * Results of generating keyword ideas. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetricResults $aggregate_metric_results - * The aggregate metrics for all keyword ideas. - * @type string $next_page_token - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. - * `next_page_token` is not returned for the last page. - * @type int|string $total_size - * Total number of results available. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Results of generating keyword ideas. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GenerateKeywordIdeaResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * Results of generating keyword ideas. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GenerateKeywordIdeaResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\GenerateKeywordIdeaResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\GenerateKeywordIdeaResult::class); - $this->results = $arr; - - return $this; - } - - /** - * The aggregate metrics for all keyword ideas. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 4; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetricResults|null - */ - public function getAggregateMetricResults() - { - return $this->aggregate_metric_results; - } - - public function hasAggregateMetricResults() - { - return isset($this->aggregate_metric_results); - } - - public function clearAggregateMetricResults() - { - unset($this->aggregate_metric_results); - } - - /** - * The aggregate metrics for all keyword ideas. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 4; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetricResults $var - * @return $this - */ - public function setAggregateMetricResults($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetricResults::class); - $this->aggregate_metric_results = $var; - - return $this; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. - * `next_page_token` is not returned for the last page. - * - * Generated from protobuf field string next_page_token = 2; - * @return string - */ - public function getNextPageToken() - { - return $this->next_page_token; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. - * `next_page_token` is not returned for the last page. - * - * Generated from protobuf field string next_page_token = 2; - * @param string $var - * @return $this - */ - public function setNextPageToken($var) - { - GPBUtil::checkString($var, True); - $this->next_page_token = $var; - - return $this; - } - - /** - * Total number of results available. - * - * Generated from protobuf field int64 total_size = 3; - * @return int|string - */ - public function getTotalSize() - { - return $this->total_size; - } - - /** - * Total number of results available. - * - * Generated from protobuf field int64 total_size = 3; - * @param int|string $var - * @return $this - */ - public function setTotalSize($var) - { - GPBUtil::checkInt64($var); - $this->total_size = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeaResult.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeaResult.php deleted file mode 100644 index 2e11af61c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeaResult.php +++ /dev/null @@ -1,227 +0,0 @@ -google.ads.googleads.v15.services.GenerateKeywordIdeaResult - */ -class GenerateKeywordIdeaResult extends \Google\Protobuf\Internal\Message -{ - /** - * Text of the keyword idea. - * As in Keyword Plan historical metrics, this text may not be an actual - * keyword, but the canonical form of multiple keywords. - * See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. - * - * Generated from protobuf field optional string text = 5; - */ - protected $text = null; - /** - * The historical metrics for the keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; - */ - protected $keyword_idea_metrics = null; - /** - * The annotations for the keyword. - * The annotation data is only provided if requested. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordAnnotations keyword_annotations = 6; - */ - protected $keyword_annotations = null; - /** - * The list of close variants from the requested keywords that - * are combined into this GenerateKeywordIdeaResult. See - * https://support.google.com/google-ads/answer/9342105 for the - * definition of "close variants". - * - * Generated from protobuf field repeated string close_variants = 7; - */ - private $close_variants; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * Text of the keyword idea. - * As in Keyword Plan historical metrics, this text may not be an actual - * keyword, but the canonical form of multiple keywords. - * See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordPlanHistoricalMetrics $keyword_idea_metrics - * The historical metrics for the keyword. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordAnnotations $keyword_annotations - * The annotations for the keyword. - * The annotation data is only provided if requested. - * @type array|\Google\Protobuf\Internal\RepeatedField $close_variants - * The list of close variants from the requested keywords that - * are combined into this GenerateKeywordIdeaResult. See - * https://support.google.com/google-ads/answer/9342105 for the - * definition of "close variants". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Text of the keyword idea. - * As in Keyword Plan historical metrics, this text may not be an actual - * keyword, but the canonical form of multiple keywords. - * See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. - * - * Generated from protobuf field optional string text = 5; - * @return string - */ - public function getText() - { - return isset($this->text) ? $this->text : ''; - } - - public function hasText() - { - return isset($this->text); - } - - public function clearText() - { - unset($this->text); - } - - /** - * Text of the keyword idea. - * As in Keyword Plan historical metrics, this text may not be an actual - * keyword, but the canonical form of multiple keywords. - * See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. - * - * Generated from protobuf field optional string text = 5; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The historical metrics for the keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordPlanHistoricalMetrics|null - */ - public function getKeywordIdeaMetrics() - { - return $this->keyword_idea_metrics; - } - - public function hasKeywordIdeaMetrics() - { - return isset($this->keyword_idea_metrics); - } - - public function clearKeywordIdeaMetrics() - { - unset($this->keyword_idea_metrics); - } - - /** - * The historical metrics for the keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordPlanHistoricalMetrics $var - * @return $this - */ - public function setKeywordIdeaMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordPlanHistoricalMetrics::class); - $this->keyword_idea_metrics = $var; - - return $this; - } - - /** - * The annotations for the keyword. - * The annotation data is only provided if requested. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordAnnotations keyword_annotations = 6; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordAnnotations|null - */ - public function getKeywordAnnotations() - { - return $this->keyword_annotations; - } - - public function hasKeywordAnnotations() - { - return isset($this->keyword_annotations); - } - - public function clearKeywordAnnotations() - { - unset($this->keyword_annotations); - } - - /** - * The annotations for the keyword. - * The annotation data is only provided if requested. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordAnnotations keyword_annotations = 6; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordAnnotations $var - * @return $this - */ - public function setKeywordAnnotations($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordAnnotations::class); - $this->keyword_annotations = $var; - - return $this; - } - - /** - * The list of close variants from the requested keywords that - * are combined into this GenerateKeywordIdeaResult. See - * https://support.google.com/google-ads/answer/9342105 for the - * definition of "close variants". - * - * Generated from protobuf field repeated string close_variants = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCloseVariants() - { - return $this->close_variants; - } - - /** - * The list of close variants from the requested keywords that - * are combined into this GenerateKeywordIdeaResult. See - * https://support.google.com/google-ads/answer/9342105 for the - * definition of "close variants". - * - * Generated from protobuf field repeated string close_variants = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCloseVariants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->close_variants = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeasRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeasRequest.php deleted file mode 100644 index c8ead7e98..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateKeywordIdeasRequest.php +++ /dev/null @@ -1,608 +0,0 @@ -google.ads.googleads.v15.services.GenerateKeywordIdeasRequest - */ -class GenerateKeywordIdeasRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1; - */ - protected $customer_id = ''; - /** - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * - * Generated from protobuf field optional string language = 14; - */ - protected $language = null; - /** - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * - * Generated from protobuf field repeated string geo_target_constants = 15; - */ - private $geo_target_constants; - /** - * If true, adult keywords will be included in response. - * The default value is false. - * - * Generated from protobuf field bool include_adult_keywords = 10; - */ - protected $include_adult_keywords = false; - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. To request next page of results use the - * value obtained from `next_page_token` in the previous response. - * The request fields must match across pages. - * - * Generated from protobuf field string page_token = 12; - */ - protected $page_token = ''; - /** - * Number of results to retrieve in a single page. - * A maximum of 10,000 results may be returned, if the page_size - * exceeds this, it is ignored. - * If unspecified, at most 10,000 results will be returned. - * The server may decide to further limit the number of returned resources. - * If the response contains fewer than 10,000 results it may not be assumed - * as last page of results. - * - * Generated from protobuf field int32 page_size = 13; - */ - protected $page_size = 0; - /** - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9; - */ - protected $keyword_plan_network = 0; - /** - * The keyword annotations to include in response. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17; - */ - private $keyword_annotation; - /** - * The aggregate fields to include in response. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; - */ - protected $aggregate_metrics = null; - /** - * The options for historical metrics data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HistoricalMetricsOptions historical_metrics_options = 18; - */ - protected $historical_metrics_options = null; - protected $seed; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * The ID of the customer with the recommendation. - * @type string $language - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * @type array|\Google\Protobuf\Internal\RepeatedField $geo_target_constants - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * @type bool $include_adult_keywords - * If true, adult keywords will be included in response. - * The default value is false. - * @type string $page_token - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. To request next page of results use the - * value obtained from `next_page_token` in the previous response. - * The request fields must match across pages. - * @type int $page_size - * Number of results to retrieve in a single page. - * A maximum of 10,000 results may be returned, if the page_size - * exceeds this, it is ignored. - * If unspecified, at most 10,000 results will be returned. - * The server may decide to further limit the number of returned resources. - * If the response contains fewer than 10,000 results it may not be assumed - * as last page of results. - * @type int $keyword_plan_network - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * @type array|\Google\Protobuf\Internal\RepeatedField $keyword_annotation - * The keyword annotations to include in response. - * @type \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetrics $aggregate_metrics - * The aggregate fields to include in response. - * @type \Google\Ads\GoogleAds\V15\Common\HistoricalMetricsOptions $historical_metrics_options - * The options for historical metrics data. - * @type \Google\Ads\GoogleAds\V15\Services\KeywordAndUrlSeed $keyword_and_url_seed - * A Keyword and a specific Url to generate ideas from - * for example, cars, www.example.com/cars. - * @type \Google\Ads\GoogleAds\V15\Services\KeywordSeed $keyword_seed - * A Keyword or phrase to generate ideas from, for example, cars. - * @type \Google\Ads\GoogleAds\V15\Services\UrlSeed $url_seed - * A specific url to generate ideas from, for example, www.example.com/cars. - * @type \Google\Ads\GoogleAds\V15\Services\SiteSeed $site_seed - * The site to generate ideas from, for example, www.example.com. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * The ID of the customer with the recommendation. - * - * Generated from protobuf field string customer_id = 1; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * - * Generated from protobuf field optional string language = 14; - * @return string - */ - public function getLanguage() - { - return isset($this->language) ? $this->language : ''; - } - - public function hasLanguage() - { - return isset($this->language); - } - - public function clearLanguage() - { - unset($this->language); - } - - /** - * The resource name of the language to target. - * Each keyword belongs to some set of languages; a keyword is included if - * language is one of its languages. - * If not set, all keywords will be included. - * - * Generated from protobuf field optional string language = 14; - * @param string $var - * @return $this - */ - public function setLanguage($var) - { - GPBUtil::checkString($var, True); - $this->language = $var; - - return $this; - } - - /** - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * - * Generated from protobuf field repeated string geo_target_constants = 15; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoTargetConstants() - { - return $this->geo_target_constants; - } - - /** - * The resource names of the location to target. Maximum is 10. - * An empty list MAY be used to specify all targeting geos. - * - * Generated from protobuf field repeated string geo_target_constants = 15; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoTargetConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->geo_target_constants = $arr; - - return $this; - } - - /** - * If true, adult keywords will be included in response. - * The default value is false. - * - * Generated from protobuf field bool include_adult_keywords = 10; - * @return bool - */ - public function getIncludeAdultKeywords() - { - return $this->include_adult_keywords; - } - - /** - * If true, adult keywords will be included in response. - * The default value is false. - * - * Generated from protobuf field bool include_adult_keywords = 10; - * @param bool $var - * @return $this - */ - public function setIncludeAdultKeywords($var) - { - GPBUtil::checkBool($var); - $this->include_adult_keywords = $var; - - return $this; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. To request next page of results use the - * value obtained from `next_page_token` in the previous response. - * The request fields must match across pages. - * - * Generated from protobuf field string page_token = 12; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. To request next page of results use the - * value obtained from `next_page_token` in the previous response. - * The request fields must match across pages. - * - * Generated from protobuf field string page_token = 12; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Number of results to retrieve in a single page. - * A maximum of 10,000 results may be returned, if the page_size - * exceeds this, it is ignored. - * If unspecified, at most 10,000 results will be returned. - * The server may decide to further limit the number of returned resources. - * If the response contains fewer than 10,000 results it may not be assumed - * as last page of results. - * - * Generated from protobuf field int32 page_size = 13; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Number of results to retrieve in a single page. - * A maximum of 10,000 results may be returned, if the page_size - * exceeds this, it is ignored. - * If unspecified, at most 10,000 results will be returned. - * The server may decide to further limit the number of returned resources. - * If the response contains fewer than 10,000 results it may not be assumed - * as last page of results. - * - * Generated from protobuf field int32 page_size = 13; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9; - * @return int - */ - public function getKeywordPlanNetwork() - { - return $this->keyword_plan_network; - } - - /** - * Targeting network. - * If not set, Google Search And Partners Network will be used. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9; - * @param int $var - * @return $this - */ - public function setKeywordPlanNetwork($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanNetworkEnum\KeywordPlanNetwork::class); - $this->keyword_plan_network = $var; - - return $this; - } - - /** - * The keyword annotations to include in response. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeywordAnnotation() - { - return $this->keyword_annotation; - } - - /** - * The keyword annotations to include in response. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeywordAnnotation($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\KeywordPlanKeywordAnnotationEnum\KeywordPlanKeywordAnnotation::class); - $this->keyword_annotation = $arr; - - return $this; - } - - /** - * The aggregate fields to include in response. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; - * @return \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetrics|null - */ - public function getAggregateMetrics() - { - return $this->aggregate_metrics; - } - - public function hasAggregateMetrics() - { - return isset($this->aggregate_metrics); - } - - public function clearAggregateMetrics() - { - unset($this->aggregate_metrics); - } - - /** - * The aggregate fields to include in response. - * - * Generated from protobuf field .google.ads.googleads.v15.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; - * @param \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetrics $var - * @return $this - */ - public function setAggregateMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\KeywordPlanAggregateMetrics::class); - $this->aggregate_metrics = $var; - - return $this; - } - - /** - * The options for historical metrics data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HistoricalMetricsOptions historical_metrics_options = 18; - * @return \Google\Ads\GoogleAds\V15\Common\HistoricalMetricsOptions|null - */ - public function getHistoricalMetricsOptions() - { - return $this->historical_metrics_options; - } - - public function hasHistoricalMetricsOptions() - { - return isset($this->historical_metrics_options); - } - - public function clearHistoricalMetricsOptions() - { - unset($this->historical_metrics_options); - } - - /** - * The options for historical metrics data. - * - * Generated from protobuf field .google.ads.googleads.v15.common.HistoricalMetricsOptions historical_metrics_options = 18; - * @param \Google\Ads\GoogleAds\V15\Common\HistoricalMetricsOptions $var - * @return $this - */ - public function setHistoricalMetricsOptions($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\HistoricalMetricsOptions::class); - $this->historical_metrics_options = $var; - - return $this; - } - - /** - * A Keyword and a specific Url to generate ideas from - * for example, cars, www.example.com/cars. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordAndUrlSeed keyword_and_url_seed = 2; - * @return \Google\Ads\GoogleAds\V15\Services\KeywordAndUrlSeed|null - */ - public function getKeywordAndUrlSeed() - { - return $this->readOneof(2); - } - - public function hasKeywordAndUrlSeed() - { - return $this->hasOneof(2); - } - - /** - * A Keyword and a specific Url to generate ideas from - * for example, cars, www.example.com/cars. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordAndUrlSeed keyword_and_url_seed = 2; - * @param \Google\Ads\GoogleAds\V15\Services\KeywordAndUrlSeed $var - * @return $this - */ - public function setKeywordAndUrlSeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\KeywordAndUrlSeed::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * A Keyword or phrase to generate ideas from, for example, cars. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordSeed keyword_seed = 3; - * @return \Google\Ads\GoogleAds\V15\Services\KeywordSeed|null - */ - public function getKeywordSeed() - { - return $this->readOneof(3); - } - - public function hasKeywordSeed() - { - return $this->hasOneof(3); - } - - /** - * A Keyword or phrase to generate ideas from, for example, cars. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordSeed keyword_seed = 3; - * @param \Google\Ads\GoogleAds\V15\Services\KeywordSeed $var - * @return $this - */ - public function setKeywordSeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\KeywordSeed::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * A specific url to generate ideas from, for example, www.example.com/cars. - * - * Generated from protobuf field .google.ads.googleads.v15.services.UrlSeed url_seed = 5; - * @return \Google\Ads\GoogleAds\V15\Services\UrlSeed|null - */ - public function getUrlSeed() - { - return $this->readOneof(5); - } - - public function hasUrlSeed() - { - return $this->hasOneof(5); - } - - /** - * A specific url to generate ideas from, for example, www.example.com/cars. - * - * Generated from protobuf field .google.ads.googleads.v15.services.UrlSeed url_seed = 5; - * @param \Google\Ads\GoogleAds\V15\Services\UrlSeed $var - * @return $this - */ - public function setUrlSeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\UrlSeed::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * The site to generate ideas from, for example, www.example.com. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SiteSeed site_seed = 11; - * @return \Google\Ads\GoogleAds\V15\Services\SiteSeed|null - */ - public function getSiteSeed() - { - return $this->readOneof(11); - } - - public function hasSiteSeed() - { - return $this->hasOneof(11); - } - - /** - * The site to generate ideas from, for example, www.example.com. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SiteSeed site_seed = 11; - * @param \Google\Ads\GoogleAds\V15\Services\SiteSeed $var - * @return $this - */ - public function setSiteSeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SiteSeed::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * @return string - */ - public function getSeed() - { - return $this->whichOneof("seed"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateReachForecastRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateReachForecastRequest.php deleted file mode 100644 index e9647c71e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateReachForecastRequest.php +++ /dev/null @@ -1,624 +0,0 @@ -google.ads.googleads.v15.services.GenerateReachForecastRequest - */ -class GenerateReachForecastRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * The currency code. - * Three-character ISO 4217 currency code. - * - * Generated from protobuf field optional string currency_code = 9; - */ - protected $currency_code = null; - /** - * Required. Campaign duration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $campaign_duration = null; - /** - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user. - * If not specified, no cap is applied. - * This field is deprecated in v4 and will eventually be removed. - * Use cookie_frequency_cap_setting instead. - * - * Generated from protobuf field optional int32 cookie_frequency_cap = 10; - */ - protected $cookie_frequency_cap = null; - /** - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user during a specified time interval. - * If not specified, a default of 0 (no cap) is applied. - * This field replaces the deprecated cookie_frequency_cap field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FrequencyCap cookie_frequency_cap_setting = 8; - */ - protected $cookie_frequency_cap_setting = null; - /** - * Chosen minimum effective frequency (the number of times a person was - * exposed to the ad) for the reported reach metrics [1-10]. - * This won't affect the targeting, but just the reporting. - * If not specified, a default of 1 is applied. - * This field cannot be combined with the effective_frequency_limit field. - * - * Generated from protobuf field optional int32 min_effective_frequency = 11; - */ - protected $min_effective_frequency = null; - /** - * The highest minimum effective frequency (the number of times a person was - * exposed to the ad) value [1-10] to include in - * Forecast.effective_frequency_breakdowns. - * If not specified, Forecast.effective_frequency_breakdowns will not be - * provided. - * The effective frequency value provided here will also be used as the - * minimum effective frequency for the reported reach metrics. - * This field cannot be combined with the min_effective_frequency field. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.EffectiveFrequencyLimit effective_frequency_limit = 12; - */ - protected $effective_frequency_limit = null; - /** - * The targeting to be applied to all products selected in the product mix. - * This is planned targeting: execution details might vary based on the - * advertising product, consult an implementation specialist. - * See specific metrics for details on how targeting affects them. - * - * Generated from protobuf field .google.ads.googleads.v15.services.Targeting targeting = 6; - */ - protected $targeting = null; - /** - * Required. The products to be forecast. - * The max number of allowed planned products is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; - */ - private $planned_products; - /** - * Controls the forecast metrics returned in the response. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ForecastMetricOptions forecast_metric_options = 13; - */ - protected $forecast_metric_options = null; - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field optional string customer_reach_group = 14; - */ - protected $customer_reach_group = null; - - /** - * @param string $customerId Required. The ID of the customer. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignDuration $campaignDuration Required. Campaign duration. - * @param \Google\Ads\GoogleAds\V15\Services\PlannedProduct[] $plannedProducts Required. The products to be forecast. - * The max number of allowed planned products is 15. - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateReachForecastRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\CampaignDuration $campaignDuration, array $plannedProducts): self - { - return (new self()) - ->setCustomerId($customerId) - ->setCampaignDuration($campaignDuration) - ->setPlannedProducts($plannedProducts); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type string $currency_code - * The currency code. - * Three-character ISO 4217 currency code. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignDuration $campaign_duration - * Required. Campaign duration. - * @type int $cookie_frequency_cap - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user. - * If not specified, no cap is applied. - * This field is deprecated in v4 and will eventually be removed. - * Use cookie_frequency_cap_setting instead. - * @type \Google\Ads\GoogleAds\V15\Services\FrequencyCap $cookie_frequency_cap_setting - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user during a specified time interval. - * If not specified, a default of 0 (no cap) is applied. - * This field replaces the deprecated cookie_frequency_cap field. - * @type int $min_effective_frequency - * Chosen minimum effective frequency (the number of times a person was - * exposed to the ad) for the reported reach metrics [1-10]. - * This won't affect the targeting, but just the reporting. - * If not specified, a default of 1 is applied. - * This field cannot be combined with the effective_frequency_limit field. - * @type \Google\Ads\GoogleAds\V15\Services\EffectiveFrequencyLimit $effective_frequency_limit - * The highest minimum effective frequency (the number of times a person was - * exposed to the ad) value [1-10] to include in - * Forecast.effective_frequency_breakdowns. - * If not specified, Forecast.effective_frequency_breakdowns will not be - * provided. - * The effective frequency value provided here will also be used as the - * minimum effective frequency for the reported reach metrics. - * This field cannot be combined with the min_effective_frequency field. - * @type \Google\Ads\GoogleAds\V15\Services\Targeting $targeting - * The targeting to be applied to all products selected in the product mix. - * This is planned targeting: execution details might vary based on the - * advertising product, consult an implementation specialist. - * See specific metrics for details on how targeting affects them. - * @type array<\Google\Ads\GoogleAds\V15\Services\PlannedProduct>|\Google\Protobuf\Internal\RepeatedField $planned_products - * Required. The products to be forecast. - * The max number of allowed planned products is 15. - * @type \Google\Ads\GoogleAds\V15\Services\ForecastMetricOptions $forecast_metric_options - * Controls the forecast metrics returned in the response. - * @type string $customer_reach_group - * The name of the customer being planned for. This is a user-defined value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * The currency code. - * Three-character ISO 4217 currency code. - * - * Generated from protobuf field optional string currency_code = 9; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * The currency code. - * Three-character ISO 4217 currency code. - * - * Generated from protobuf field optional string currency_code = 9; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - - /** - * Required. Campaign duration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignDuration|null - */ - public function getCampaignDuration() - { - return $this->campaign_duration; - } - - public function hasCampaignDuration() - { - return isset($this->campaign_duration); - } - - public function clearCampaignDuration() - { - unset($this->campaign_duration); - } - - /** - * Required. Campaign duration. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignDuration campaign_duration = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignDuration $var - * @return $this - */ - public function setCampaignDuration($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignDuration::class); - $this->campaign_duration = $var; - - return $this; - } - - /** - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user. - * If not specified, no cap is applied. - * This field is deprecated in v4 and will eventually be removed. - * Use cookie_frequency_cap_setting instead. - * - * Generated from protobuf field optional int32 cookie_frequency_cap = 10; - * @return int - */ - public function getCookieFrequencyCap() - { - return isset($this->cookie_frequency_cap) ? $this->cookie_frequency_cap : 0; - } - - public function hasCookieFrequencyCap() - { - return isset($this->cookie_frequency_cap); - } - - public function clearCookieFrequencyCap() - { - unset($this->cookie_frequency_cap); - } - - /** - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user. - * If not specified, no cap is applied. - * This field is deprecated in v4 and will eventually be removed. - * Use cookie_frequency_cap_setting instead. - * - * Generated from protobuf field optional int32 cookie_frequency_cap = 10; - * @param int $var - * @return $this - */ - public function setCookieFrequencyCap($var) - { - GPBUtil::checkInt32($var); - $this->cookie_frequency_cap = $var; - - return $this; - } - - /** - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user during a specified time interval. - * If not specified, a default of 0 (no cap) is applied. - * This field replaces the deprecated cookie_frequency_cap field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FrequencyCap cookie_frequency_cap_setting = 8; - * @return \Google\Ads\GoogleAds\V15\Services\FrequencyCap|null - */ - public function getCookieFrequencyCapSetting() - { - return $this->cookie_frequency_cap_setting; - } - - public function hasCookieFrequencyCapSetting() - { - return isset($this->cookie_frequency_cap_setting); - } - - public function clearCookieFrequencyCapSetting() - { - unset($this->cookie_frequency_cap_setting); - } - - /** - * Chosen cookie frequency cap to be applied to each planned product. - * This is equivalent to the frequency cap exposed in Google Ads when creating - * a campaign, it represents the maximum number of times an ad can be shown to - * the same user during a specified time interval. - * If not specified, a default of 0 (no cap) is applied. - * This field replaces the deprecated cookie_frequency_cap field. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FrequencyCap cookie_frequency_cap_setting = 8; - * @param \Google\Ads\GoogleAds\V15\Services\FrequencyCap $var - * @return $this - */ - public function setCookieFrequencyCapSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\FrequencyCap::class); - $this->cookie_frequency_cap_setting = $var; - - return $this; - } - - /** - * Chosen minimum effective frequency (the number of times a person was - * exposed to the ad) for the reported reach metrics [1-10]. - * This won't affect the targeting, but just the reporting. - * If not specified, a default of 1 is applied. - * This field cannot be combined with the effective_frequency_limit field. - * - * Generated from protobuf field optional int32 min_effective_frequency = 11; - * @return int - */ - public function getMinEffectiveFrequency() - { - return isset($this->min_effective_frequency) ? $this->min_effective_frequency : 0; - } - - public function hasMinEffectiveFrequency() - { - return isset($this->min_effective_frequency); - } - - public function clearMinEffectiveFrequency() - { - unset($this->min_effective_frequency); - } - - /** - * Chosen minimum effective frequency (the number of times a person was - * exposed to the ad) for the reported reach metrics [1-10]. - * This won't affect the targeting, but just the reporting. - * If not specified, a default of 1 is applied. - * This field cannot be combined with the effective_frequency_limit field. - * - * Generated from protobuf field optional int32 min_effective_frequency = 11; - * @param int $var - * @return $this - */ - public function setMinEffectiveFrequency($var) - { - GPBUtil::checkInt32($var); - $this->min_effective_frequency = $var; - - return $this; - } - - /** - * The highest minimum effective frequency (the number of times a person was - * exposed to the ad) value [1-10] to include in - * Forecast.effective_frequency_breakdowns. - * If not specified, Forecast.effective_frequency_breakdowns will not be - * provided. - * The effective frequency value provided here will also be used as the - * minimum effective frequency for the reported reach metrics. - * This field cannot be combined with the min_effective_frequency field. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.EffectiveFrequencyLimit effective_frequency_limit = 12; - * @return \Google\Ads\GoogleAds\V15\Services\EffectiveFrequencyLimit|null - */ - public function getEffectiveFrequencyLimit() - { - return $this->effective_frequency_limit; - } - - public function hasEffectiveFrequencyLimit() - { - return isset($this->effective_frequency_limit); - } - - public function clearEffectiveFrequencyLimit() - { - unset($this->effective_frequency_limit); - } - - /** - * The highest minimum effective frequency (the number of times a person was - * exposed to the ad) value [1-10] to include in - * Forecast.effective_frequency_breakdowns. - * If not specified, Forecast.effective_frequency_breakdowns will not be - * provided. - * The effective frequency value provided here will also be used as the - * minimum effective frequency for the reported reach metrics. - * This field cannot be combined with the min_effective_frequency field. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.EffectiveFrequencyLimit effective_frequency_limit = 12; - * @param \Google\Ads\GoogleAds\V15\Services\EffectiveFrequencyLimit $var - * @return $this - */ - public function setEffectiveFrequencyLimit($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\EffectiveFrequencyLimit::class); - $this->effective_frequency_limit = $var; - - return $this; - } - - /** - * The targeting to be applied to all products selected in the product mix. - * This is planned targeting: execution details might vary based on the - * advertising product, consult an implementation specialist. - * See specific metrics for details on how targeting affects them. - * - * Generated from protobuf field .google.ads.googleads.v15.services.Targeting targeting = 6; - * @return \Google\Ads\GoogleAds\V15\Services\Targeting|null - */ - public function getTargeting() - { - return $this->targeting; - } - - public function hasTargeting() - { - return isset($this->targeting); - } - - public function clearTargeting() - { - unset($this->targeting); - } - - /** - * The targeting to be applied to all products selected in the product mix. - * This is planned targeting: execution details might vary based on the - * advertising product, consult an implementation specialist. - * See specific metrics for details on how targeting affects them. - * - * Generated from protobuf field .google.ads.googleads.v15.services.Targeting targeting = 6; - * @param \Google\Ads\GoogleAds\V15\Services\Targeting $var - * @return $this - */ - public function setTargeting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\Targeting::class); - $this->targeting = $var; - - return $this; - } - - /** - * Required. The products to be forecast. - * The max number of allowed planned products is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPlannedProducts() - { - return $this->planned_products; - } - - /** - * Required. The products to be forecast. - * The max number of allowed planned products is 15. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannedProduct planned_products = 7 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\PlannedProduct>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPlannedProducts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\PlannedProduct::class); - $this->planned_products = $arr; - - return $this; - } - - /** - * Controls the forecast metrics returned in the response. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ForecastMetricOptions forecast_metric_options = 13; - * @return \Google\Ads\GoogleAds\V15\Services\ForecastMetricOptions|null - */ - public function getForecastMetricOptions() - { - return $this->forecast_metric_options; - } - - public function hasForecastMetricOptions() - { - return isset($this->forecast_metric_options); - } - - public function clearForecastMetricOptions() - { - unset($this->forecast_metric_options); - } - - /** - * Controls the forecast metrics returned in the response. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ForecastMetricOptions forecast_metric_options = 13; - * @param \Google\Ads\GoogleAds\V15\Services\ForecastMetricOptions $var - * @return $this - */ - public function setForecastMetricOptions($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ForecastMetricOptions::class); - $this->forecast_metric_options = $var; - - return $this; - } - - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field optional string customer_reach_group = 14; - * @return string - */ - public function getCustomerReachGroup() - { - return isset($this->customer_reach_group) ? $this->customer_reach_group : ''; - } - - public function hasCustomerReachGroup() - { - return isset($this->customer_reach_group); - } - - public function clearCustomerReachGroup() - { - unset($this->customer_reach_group); - } - - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field optional string customer_reach_group = 14; - * @param string $var - * @return $this - */ - public function setCustomerReachGroup($var) - { - GPBUtil::checkString($var, True); - $this->customer_reach_group = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateReachForecastResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateReachForecastResponse.php deleted file mode 100644 index fb181b7e1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateReachForecastResponse.php +++ /dev/null @@ -1,121 +0,0 @@ -google.ads.googleads.v15.services.GenerateReachForecastResponse - */ -class GenerateReachForecastResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Reference on target audiences for this curve. - * - * Generated from protobuf field .google.ads.googleads.v15.services.OnTargetAudienceMetrics on_target_audience_metrics = 1; - */ - protected $on_target_audience_metrics = null; - /** - * The generated reach curve for the planned product mix. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ReachCurve reach_curve = 2; - */ - protected $reach_curve = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\OnTargetAudienceMetrics $on_target_audience_metrics - * Reference on target audiences for this curve. - * @type \Google\Ads\GoogleAds\V15\Services\ReachCurve $reach_curve - * The generated reach curve for the planned product mix. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Reference on target audiences for this curve. - * - * Generated from protobuf field .google.ads.googleads.v15.services.OnTargetAudienceMetrics on_target_audience_metrics = 1; - * @return \Google\Ads\GoogleAds\V15\Services\OnTargetAudienceMetrics|null - */ - public function getOnTargetAudienceMetrics() - { - return $this->on_target_audience_metrics; - } - - public function hasOnTargetAudienceMetrics() - { - return isset($this->on_target_audience_metrics); - } - - public function clearOnTargetAudienceMetrics() - { - unset($this->on_target_audience_metrics); - } - - /** - * Reference on target audiences for this curve. - * - * Generated from protobuf field .google.ads.googleads.v15.services.OnTargetAudienceMetrics on_target_audience_metrics = 1; - * @param \Google\Ads\GoogleAds\V15\Services\OnTargetAudienceMetrics $var - * @return $this - */ - public function setOnTargetAudienceMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\OnTargetAudienceMetrics::class); - $this->on_target_audience_metrics = $var; - - return $this; - } - - /** - * The generated reach curve for the planned product mix. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ReachCurve reach_curve = 2; - * @return \Google\Ads\GoogleAds\V15\Services\ReachCurve|null - */ - public function getReachCurve() - { - return $this->reach_curve; - } - - public function hasReachCurve() - { - return isset($this->reach_curve); - } - - public function clearReachCurve() - { - unset($this->reach_curve); - } - - /** - * The generated reach curve for the planned product mix. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ReachCurve reach_curve = 2; - * @param \Google\Ads\GoogleAds\V15\Services\ReachCurve $var - * @return $this - */ - public function setReachCurve($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ReachCurve::class); - $this->reach_curve = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateSuggestedTargetingInsightsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateSuggestedTargetingInsightsRequest.php deleted file mode 100644 index ca5597ca5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateSuggestedTargetingInsightsRequest.php +++ /dev/null @@ -1,255 +0,0 @@ -google.ads.googleads.v15.services.GenerateSuggestedTargetingInsightsRequest - */ -class GenerateSuggestedTargetingInsightsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The audience of interest for which insights are being requested. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $audience = null; - /** - * Optional. The baseline audience. The default, if unspecified, is all - * people in the same country as the audience of interest. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience baseline_audience = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $baseline_audience = null; - /** - * Optional. The one-month range of historical data to use for insights, in - * the format "yyyy-mm". If unset, insights will be returned for the last - * thirty days of data. - * - * Generated from protobuf field string data_month = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $data_month = ''; - /** - * Optional. The name of the customer being planned for. This is a - * user-defined value. - * - * Generated from protobuf field string customer_insights_group = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $customer_insights_group = ''; - - /** - * @param string $customerId Required. The ID of the customer. - * @param \Google\Ads\GoogleAds\V15\Services\InsightsAudience $audience Required. The audience of interest for which insights are being requested. - * - * @return \Google\Ads\GoogleAds\V15\Services\GenerateSuggestedTargetingInsightsRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\InsightsAudience $audience): self - { - return (new self()) - ->setCustomerId($customerId) - ->setAudience($audience); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type \Google\Ads\GoogleAds\V15\Services\InsightsAudience $audience - * Required. The audience of interest for which insights are being requested. - * @type \Google\Ads\GoogleAds\V15\Services\InsightsAudience $baseline_audience - * Optional. The baseline audience. The default, if unspecified, is all - * people in the same country as the audience of interest. - * @type string $data_month - * Optional. The one-month range of historical data to use for insights, in - * the format "yyyy-mm". If unset, insights will be returned for the last - * thirty days of data. - * @type string $customer_insights_group - * Optional. The name of the customer being planned for. This is a - * user-defined value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The audience of interest for which insights are being requested. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\InsightsAudience|null - */ - public function getAudience() - { - return $this->audience; - } - - public function hasAudience() - { - return isset($this->audience); - } - - public function clearAudience() - { - unset($this->audience); - } - - /** - * Required. The audience of interest for which insights are being requested. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience audience = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\InsightsAudience $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\InsightsAudience::class); - $this->audience = $var; - - return $this; - } - - /** - * Optional. The baseline audience. The default, if unspecified, is all - * people in the same country as the audience of interest. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience baseline_audience = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Ads\GoogleAds\V15\Services\InsightsAudience|null - */ - public function getBaselineAudience() - { - return $this->baseline_audience; - } - - public function hasBaselineAudience() - { - return isset($this->baseline_audience); - } - - public function clearBaselineAudience() - { - unset($this->baseline_audience); - } - - /** - * Optional. The baseline audience. The default, if unspecified, is all - * people in the same country as the audience of interest. - * - * Generated from protobuf field .google.ads.googleads.v15.services.InsightsAudience baseline_audience = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Ads\GoogleAds\V15\Services\InsightsAudience $var - * @return $this - */ - public function setBaselineAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\InsightsAudience::class); - $this->baseline_audience = $var; - - return $this; - } - - /** - * Optional. The one-month range of historical data to use for insights, in - * the format "yyyy-mm". If unset, insights will be returned for the last - * thirty days of data. - * - * Generated from protobuf field string data_month = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDataMonth() - { - return $this->data_month; - } - - /** - * Optional. The one-month range of historical data to use for insights, in - * the format "yyyy-mm". If unset, insights will be returned for the last - * thirty days of data. - * - * Generated from protobuf field string data_month = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setDataMonth($var) - { - GPBUtil::checkString($var, True); - $this->data_month = $var; - - return $this; - } - - /** - * Optional. The name of the customer being planned for. This is a - * user-defined value. - * - * Generated from protobuf field string customer_insights_group = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getCustomerInsightsGroup() - { - return $this->customer_insights_group; - } - - /** - * Optional. The name of the customer being planned for. This is a - * user-defined value. - * - * Generated from protobuf field string customer_insights_group = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setCustomerInsightsGroup($var) - { - GPBUtil::checkString($var, True); - $this->customer_insights_group = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GenerateSuggestedTargetingInsightsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GenerateSuggestedTargetingInsightsResponse.php deleted file mode 100644 index 259565661..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GenerateSuggestedTargetingInsightsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.GenerateSuggestedTargetingInsightsResponse - */ -class GenerateSuggestedTargetingInsightsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Suggested insights for targetable audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.TargetingSuggestionMetrics suggestions = 1; - */ - private $suggestions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\TargetingSuggestionMetrics>|\Google\Protobuf\Internal\RepeatedField $suggestions - * Suggested insights for targetable audiences. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Suggested insights for targetable audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.TargetingSuggestionMetrics suggestions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSuggestions() - { - return $this->suggestions; - } - - /** - * Suggested insights for targetable audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.TargetingSuggestionMetrics suggestions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\TargetingSuggestionMetrics>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSuggestions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\TargetingSuggestionMetrics::class); - $this->suggestions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceClient.php deleted file mode 100644 index 491b97b1c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.GeoTargetConstantService/SuggestGeoTargetConstants', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantSuggestion.php b/src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantSuggestion.php deleted file mode 100644 index 80aae394c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantSuggestion.php +++ /dev/null @@ -1,263 +0,0 @@ -google.ads.googleads.v15.services.GeoTargetConstantSuggestion - */ -class GeoTargetConstantSuggestion extends \Google\Protobuf\Internal\Message -{ - /** - * The language this GeoTargetConstantSuggestion is currently translated to. - * It affects the name of geo target fields. For example, if locale=en, then - * name=Spain. If locale=es, then name=España. The default locale will be - * returned if no translation exists for the locale in the request. - * - * Generated from protobuf field optional string locale = 6; - */ - protected $locale = null; - /** - * Approximate user population that will be targeted, rounded to the - * nearest 100. - * - * Generated from protobuf field optional int64 reach = 7; - */ - protected $reach = null; - /** - * If the request searched by location name, this is the location name that - * matched the geo target. - * - * Generated from protobuf field optional string search_term = 8; - */ - protected $search_term = null; - /** - * The GeoTargetConstant result. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant = 4; - */ - protected $geo_target_constant = null; - /** - * The list of parents of the geo target constant. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant_parents = 5; - */ - private $geo_target_constant_parents; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $locale - * The language this GeoTargetConstantSuggestion is currently translated to. - * It affects the name of geo target fields. For example, if locale=en, then - * name=Spain. If locale=es, then name=España. The default locale will be - * returned if no translation exists for the locale in the request. - * @type int|string $reach - * Approximate user population that will be targeted, rounded to the - * nearest 100. - * @type string $search_term - * If the request searched by location name, this is the location name that - * matched the geo target. - * @type \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant $geo_target_constant - * The GeoTargetConstant result. - * @type array<\Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant>|\Google\Protobuf\Internal\RepeatedField $geo_target_constant_parents - * The list of parents of the geo target constant. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantService::initOnce(); - parent::__construct($data); - } - - /** - * The language this GeoTargetConstantSuggestion is currently translated to. - * It affects the name of geo target fields. For example, if locale=en, then - * name=Spain. If locale=es, then name=España. The default locale will be - * returned if no translation exists for the locale in the request. - * - * Generated from protobuf field optional string locale = 6; - * @return string - */ - public function getLocale() - { - return isset($this->locale) ? $this->locale : ''; - } - - public function hasLocale() - { - return isset($this->locale); - } - - public function clearLocale() - { - unset($this->locale); - } - - /** - * The language this GeoTargetConstantSuggestion is currently translated to. - * It affects the name of geo target fields. For example, if locale=en, then - * name=Spain. If locale=es, then name=España. The default locale will be - * returned if no translation exists for the locale in the request. - * - * Generated from protobuf field optional string locale = 6; - * @param string $var - * @return $this - */ - public function setLocale($var) - { - GPBUtil::checkString($var, True); - $this->locale = $var; - - return $this; - } - - /** - * Approximate user population that will be targeted, rounded to the - * nearest 100. - * - * Generated from protobuf field optional int64 reach = 7; - * @return int|string - */ - public function getReach() - { - return isset($this->reach) ? $this->reach : 0; - } - - public function hasReach() - { - return isset($this->reach); - } - - public function clearReach() - { - unset($this->reach); - } - - /** - * Approximate user population that will be targeted, rounded to the - * nearest 100. - * - * Generated from protobuf field optional int64 reach = 7; - * @param int|string $var - * @return $this - */ - public function setReach($var) - { - GPBUtil::checkInt64($var); - $this->reach = $var; - - return $this; - } - - /** - * If the request searched by location name, this is the location name that - * matched the geo target. - * - * Generated from protobuf field optional string search_term = 8; - * @return string - */ - public function getSearchTerm() - { - return isset($this->search_term) ? $this->search_term : ''; - } - - public function hasSearchTerm() - { - return isset($this->search_term); - } - - public function clearSearchTerm() - { - unset($this->search_term); - } - - /** - * If the request searched by location name, this is the location name that - * matched the geo target. - * - * Generated from protobuf field optional string search_term = 8; - * @param string $var - * @return $this - */ - public function setSearchTerm($var) - { - GPBUtil::checkString($var, True); - $this->search_term = $var; - - return $this; - } - - /** - * The GeoTargetConstant result. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant = 4; - * @return \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant|null - */ - public function getGeoTargetConstant() - { - return $this->geo_target_constant; - } - - public function hasGeoTargetConstant() - { - return isset($this->geo_target_constant); - } - - public function clearGeoTargetConstant() - { - unset($this->geo_target_constant); - } - - /** - * The GeoTargetConstant result. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant = 4; - * @param \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant $var - * @return $this - */ - public function setGeoTargetConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant::class); - $this->geo_target_constant = $var; - - return $this; - } - - /** - * The list of parents of the geo target constant. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant_parents = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoTargetConstantParents() - { - return $this->geo_target_constant_parents; - } - - /** - * The list of parents of the geo target constant. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant_parents = 5; - * @param array<\Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoTargetConstantParents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant::class); - $this->geo_target_constant_parents = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GetAdRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GetAdRequest.php deleted file mode 100644 index 8c150895b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GetAdRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.services.GetAdRequest - */ -class GetAdRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the ad to fetch. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * @param string $resourceName Required. The resource name of the ad to fetch. - * - * @return \Google\Ads\GoogleAds\V15\Services\GetAdRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the ad to fetch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the ad to fetch. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the ad to fetch. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GetGoogleAdsFieldRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GetGoogleAdsFieldRequest.php deleted file mode 100644 index 260b1be12..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GetGoogleAdsFieldRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.services.GetGoogleAdsFieldRequest - */ -class GetGoogleAdsFieldRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the field to get. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * @param string $resourceName Required. The resource name of the field to get. - * - * @return \Google\Ads\GoogleAds\V15\Services\GetGoogleAdsFieldRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the field to get. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsFieldService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the field to get. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the field to get. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GetSmartCampaignStatusRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GetSmartCampaignStatusRequest.php deleted file mode 100644 index 30eb8c14e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GetSmartCampaignStatusRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -google.ads.googleads.v15.services.GetSmartCampaignStatusRequest - */ -class GetSmartCampaignStatusRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Smart campaign setting belonging to the - * Smart campaign to fetch the status of. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * @param string $resourceName Required. The resource name of the Smart campaign setting belonging to the - * Smart campaign to fetch the status of. - * - * @return \Google\Ads\GoogleAds\V15\Services\GetSmartCampaignStatusRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the Smart campaign setting belonging to the - * Smart campaign to fetch the status of. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Smart campaign setting belonging to the - * Smart campaign to fetch the status of. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the Smart campaign setting belonging to the - * Smart campaign to fetch the status of. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GetSmartCampaignStatusResponse.php b/src/Google/Ads/GoogleAds/V15/Services/GetSmartCampaignStatusResponse.php deleted file mode 100644 index 24b88a5c4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GetSmartCampaignStatusResponse.php +++ /dev/null @@ -1,242 +0,0 @@ -google.ads.googleads.v15.services.GetSmartCampaignStatusResponse - */ -class GetSmartCampaignStatusResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The status of this Smart campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SmartCampaignStatusEnum.SmartCampaignStatus smart_campaign_status = 1; - */ - protected $smart_campaign_status = 0; - protected $smart_campaign_status_details; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $smart_campaign_status - * The status of this Smart campaign. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignNotEligibleDetails $not_eligible_details - * Details related to Smart campaigns that are ineligible to serve. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignEligibleDetails $eligible_details - * Details related to Smart campaigns that are eligible to serve. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignPausedDetails $paused_details - * Details related to paused Smart campaigns. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignRemovedDetails $removed_details - * Details related to removed Smart campaigns. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignEndedDetails $ended_details - * Details related to Smart campaigns that have ended. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * The status of this Smart campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SmartCampaignStatusEnum.SmartCampaignStatus smart_campaign_status = 1; - * @return int - */ - public function getSmartCampaignStatus() - { - return $this->smart_campaign_status; - } - - /** - * The status of this Smart campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SmartCampaignStatusEnum.SmartCampaignStatus smart_campaign_status = 1; - * @param int $var - * @return $this - */ - public function setSmartCampaignStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SmartCampaignStatusEnum\SmartCampaignStatus::class); - $this->smart_campaign_status = $var; - - return $this; - } - - /** - * Details related to Smart campaigns that are ineligible to serve. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignNotEligibleDetails not_eligible_details = 2; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignNotEligibleDetails|null - */ - public function getNotEligibleDetails() - { - return $this->readOneof(2); - } - - public function hasNotEligibleDetails() - { - return $this->hasOneof(2); - } - - /** - * Details related to Smart campaigns that are ineligible to serve. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignNotEligibleDetails not_eligible_details = 2; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignNotEligibleDetails $var - * @return $this - */ - public function setNotEligibleDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignNotEligibleDetails::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Details related to Smart campaigns that are eligible to serve. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignEligibleDetails eligible_details = 3; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignEligibleDetails|null - */ - public function getEligibleDetails() - { - return $this->readOneof(3); - } - - public function hasEligibleDetails() - { - return $this->hasOneof(3); - } - - /** - * Details related to Smart campaigns that are eligible to serve. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignEligibleDetails eligible_details = 3; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignEligibleDetails $var - * @return $this - */ - public function setEligibleDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignEligibleDetails::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Details related to paused Smart campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignPausedDetails paused_details = 4; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignPausedDetails|null - */ - public function getPausedDetails() - { - return $this->readOneof(4); - } - - public function hasPausedDetails() - { - return $this->hasOneof(4); - } - - /** - * Details related to paused Smart campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignPausedDetails paused_details = 4; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignPausedDetails $var - * @return $this - */ - public function setPausedDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignPausedDetails::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Details related to removed Smart campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignRemovedDetails removed_details = 5; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignRemovedDetails|null - */ - public function getRemovedDetails() - { - return $this->readOneof(5); - } - - public function hasRemovedDetails() - { - return $this->hasOneof(5); - } - - /** - * Details related to removed Smart campaigns. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignRemovedDetails removed_details = 5; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignRemovedDetails $var - * @return $this - */ - public function setRemovedDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignRemovedDetails::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Details related to Smart campaigns that have ended. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignEndedDetails ended_details = 6; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignEndedDetails|null - */ - public function getEndedDetails() - { - return $this->readOneof(6); - } - - public function hasEndedDetails() - { - return $this->hasOneof(6); - } - - /** - * Details related to Smart campaigns that have ended. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignEndedDetails ended_details = 6; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignEndedDetails $var - * @return $this - */ - public function setEndedDetails($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignEndedDetails::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * @return string - */ - public function getSmartCampaignStatusDetails() - { - return $this->whichOneof("smart_campaign_status_details"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceClient.php deleted file mode 100644 index 7ca4451a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.GoogleAdsFieldService/GetGoogleAdsField', - $argument, - ['\Google\Ads\GoogleAds\V15\Resources\GoogleAdsField', 'decode'], - $metadata, $options); - } - - /** - * Returns all fields that match the search query. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QueryError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsFieldsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function SearchGoogleAdsFields(\Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsFieldsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.GoogleAdsFieldService/SearchGoogleAdsFields', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsFieldsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsRow.php b/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsRow.php deleted file mode 100644 index 94118e2dc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsRow.php +++ /dev/null @@ -1,7645 +0,0 @@ -google.ads.googleads.v15.services.GoogleAdsRow - */ -class GoogleAdsRow extends \Google\Protobuf\Internal\Message -{ - /** - * The account budget in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudget account_budget = 42; - */ - protected $account_budget = null; - /** - * The account budget proposal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudgetProposal account_budget_proposal = 43; - */ - protected $account_budget_proposal = null; - /** - * The AccountLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountLink account_link = 143; - */ - protected $account_link = null; - /** - * The ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 3; - */ - protected $ad_group = null; - /** - * The ad referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 16; - */ - protected $ad_group_ad = null; - /** - * The ad group ad asset combination view in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetCombinationView ad_group_ad_asset_combination_view = 193; - */ - protected $ad_group_ad_asset_combination_view = null; - /** - * The ad group ad asset view in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetView ad_group_ad_asset_view = 131; - */ - protected $ad_group_ad_asset_view = null; - /** - * The ad group ad label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdLabel ad_group_ad_label = 120; - */ - protected $ad_group_ad_label = null; - /** - * The ad group asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 154; - */ - protected $ad_group_asset = null; - /** - * The ad group asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAssetSet ad_group_asset_set = 196; - */ - protected $ad_group_asset_set = null; - /** - * The ad group audience view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAudienceView ad_group_audience_view = 57; - */ - protected $ad_group_audience_view = null; - /** - * The bid modifier referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 24; - */ - protected $ad_group_bid_modifier = null; - /** - * The criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 17; - */ - protected $ad_group_criterion = null; - /** - * The ad group criterion customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 187; - */ - protected $ad_group_criterion_customizer = null; - /** - * The ad group criterion label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionLabel ad_group_criterion_label = 121; - */ - protected $ad_group_criterion_label = null; - /** - * The ad group criterion simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionSimulation ad_group_criterion_simulation = 110; - */ - protected $ad_group_criterion_simulation = null; - /** - * The ad group customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCustomizer ad_group_customizer = 185; - */ - protected $ad_group_customizer = null; - /** - * The ad group extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting ad_group_extension_setting = 112; - */ - protected $ad_group_extension_setting = null; - /** - * The ad group feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 67; - */ - protected $ad_group_feed = null; - /** - * The ad group label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupLabel ad_group_label = 115; - */ - protected $ad_group_label = null; - /** - * The ad group simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupSimulation ad_group_simulation = 107; - */ - protected $ad_group_simulation = null; - /** - * The ad parameter referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter ad_parameter = 130; - */ - protected $ad_parameter = null; - /** - * The age range view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AgeRangeView age_range_view = 48; - */ - protected $age_range_view = null; - /** - * The ad schedule view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdScheduleView ad_schedule_view = 89; - */ - protected $ad_schedule_view = null; - /** - * The domain category referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DomainCategory domain_category = 91; - */ - protected $domain_category = null; - /** - * The asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 105; - */ - protected $asset = null; - /** - * The asset field type view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetFieldTypeView asset_field_type_view = 168; - */ - protected $asset_field_type_view = null; - /** - * The asset group asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupAsset asset_group_asset = 173; - */ - protected $asset_group_asset = null; - /** - * The asset group signal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupSignal asset_group_signal = 191; - */ - protected $asset_group_signal = null; - /** - * The asset group listing group filter referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 182; - */ - protected $asset_group_listing_group_filter = null; - /** - * The asset group product group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupProductGroupView asset_group_product_group_view = 189; - */ - protected $asset_group_product_group_view = null; - /** - * The asset group top combination view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupTopCombinationView asset_group_top_combination_view = 199; - */ - protected $asset_group_top_combination_view = null; - /** - * The asset group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroup asset_group = 172; - */ - protected $asset_group = null; - /** - * The asset set asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 180; - */ - protected $asset_set_asset = null; - /** - * The asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 179; - */ - protected $asset_set = null; - /** - * The asset set type view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetTypeView asset_set_type_view = 197; - */ - protected $asset_set_type_view = null; - /** - * The batch job referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BatchJob batch_job = 139; - */ - protected $batch_job = null; - /** - * The bidding data exclusion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion bidding_data_exclusion = 159; - */ - protected $bidding_data_exclusion = null; - /** - * The bidding seasonality adjustment referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 160; - */ - protected $bidding_seasonality_adjustment = null; - /** - * The bidding strategy referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy bidding_strategy = 18; - */ - protected $bidding_strategy = null; - /** - * The bidding strategy simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategySimulation bidding_strategy_simulation = 158; - */ - protected $bidding_strategy_simulation = null; - /** - * The billing setup referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BillingSetup billing_setup = 41; - */ - protected $billing_setup = null; - /** - * The call view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CallView call_view = 152; - */ - protected $call_view = null; - /** - * The campaign budget referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 19; - */ - protected $campaign_budget = null; - /** - * The campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 2; - */ - protected $campaign = null; - /** - * The campaign asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 142; - */ - protected $campaign_asset = null; - /** - * The campaign asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 181; - */ - protected $campaign_asset_set = null; - /** - * The campaign audience view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAudienceView campaign_audience_view = 69; - */ - protected $campaign_audience_view = null; - /** - * The campaign bid modifier referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier campaign_bid_modifier = 26; - */ - protected $campaign_bid_modifier = null; - /** - * The CampaignConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignConversionGoal campaign_conversion_goal = 175; - */ - protected $campaign_conversion_goal = null; - /** - * The campaign criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 20; - */ - protected $campaign_criterion = null; - /** - * The campaign customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCustomizer campaign_customizer = 186; - */ - protected $campaign_customizer = null; - /** - * The campaign draft referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft campaign_draft = 49; - */ - protected $campaign_draft = null; - /** - * The campaign extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting campaign_extension_setting = 113; - */ - protected $campaign_extension_setting = null; - /** - * The campaign feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 63; - */ - protected $campaign_feed = null; - /** - * Campaign Group referenced in AWQL query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup campaign_group = 25; - */ - protected $campaign_group = null; - /** - * The campaign label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLabel campaign_label = 108; - */ - protected $campaign_label = null; - /** - * The campaign lifecycle goal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLifecycleGoal campaign_lifecycle_goal = 213; - */ - protected $campaign_lifecycle_goal = null; - /** - * The campaign search term insight referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSearchTermInsight campaign_search_term_insight = 204; - */ - protected $campaign_search_term_insight = null; - /** - * Campaign Shared Set referenced in AWQL query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSharedSet campaign_shared_set = 30; - */ - protected $campaign_shared_set = null; - /** - * The campaign simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSimulation campaign_simulation = 157; - */ - protected $campaign_simulation = null; - /** - * The carrier constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CarrierConstant carrier_constant = 66; - */ - protected $carrier_constant = null; - /** - * The ChangeEvent referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent change_event = 145; - */ - protected $change_event = null; - /** - * The ChangeStatus referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeStatus change_status = 37; - */ - protected $change_status = null; - /** - * The CombinedAudience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CombinedAudience combined_audience = 148; - */ - protected $combined_audience = null; - /** - * The Audience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience audience = 190; - */ - protected $audience = null; - /** - * The conversion action referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction conversion_action = 103; - */ - protected $conversion_action = null; - /** - * The conversion custom variable referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable conversion_custom_variable = 153; - */ - protected $conversion_custom_variable = null; - /** - * The ConversionGoalCampaignConfig referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 177; - */ - protected $conversion_goal_campaign_config = null; - /** - * The conversion value rule referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule conversion_value_rule = 164; - */ - protected $conversion_value_rule = null; - /** - * The conversion value rule set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet conversion_value_rule_set = 165; - */ - protected $conversion_value_rule_set = null; - /** - * The ClickView referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ClickView click_view = 122; - */ - protected $click_view = null; - /** - * The currency constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CurrencyConstant currency_constant = 134; - */ - protected $currency_constant = null; - /** - * The CustomAudience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomAudience custom_audience = 147; - */ - protected $custom_audience = null; - /** - * The CustomConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal custom_conversion_goal = 176; - */ - protected $custom_conversion_goal = null; - /** - * The CustomInterest referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomInterest custom_interest = 104; - */ - protected $custom_interest = null; - /** - * The customer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer = 1; - */ - protected $customer = null; - /** - * The customer asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 155; - */ - protected $customer_asset = null; - /** - * The customer asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAssetSet customer_asset_set = 195; - */ - protected $customer_asset_set = null; - /** - * The accessible bidding strategy referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy accessible_bidding_strategy = 169; - */ - protected $accessible_bidding_strategy = null; - /** - * The customer customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerCustomizer customer_customizer = 184; - */ - protected $customer_customizer = null; - /** - * The CustomerManagerLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerManagerLink customer_manager_link = 61; - */ - protected $customer_manager_link = null; - /** - * The CustomerClientLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClientLink customer_client_link = 62; - */ - protected $customer_client_link = null; - /** - * The CustomerClient referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClient customer_client = 70; - */ - protected $customer_client = null; - /** - * The CustomerConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerConversionGoal customer_conversion_goal = 174; - */ - protected $customer_conversion_goal = null; - /** - * The customer extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting customer_extension_setting = 114; - */ - protected $customer_extension_setting = null; - /** - * The customer feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed customer_feed = 64; - */ - protected $customer_feed = null; - /** - * The customer label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLabel customer_label = 124; - */ - protected $customer_label = null; - /** - * The customer lifecycle goal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLifecycleGoal customer_lifecycle_goal = 212; - */ - protected $customer_lifecycle_goal = null; - /** - * The customer negative criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerNegativeCriterion customer_negative_criterion = 88; - */ - protected $customer_negative_criterion = null; - /** - * The customer search term insight referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSearchTermInsight customer_search_term_insight = 205; - */ - protected $customer_search_term_insight = null; - /** - * The CustomerUserAccess referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccess customer_user_access = 146; - */ - protected $customer_user_access = null; - /** - * The CustomerUserAccessInvitation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccessInvitation customer_user_access_invitation = 150; - */ - protected $customer_user_access_invitation = null; - /** - * The customizer attribute referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomizerAttribute customizer_attribute = 178; - */ - protected $customizer_attribute = null; - /** - * The detail placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DetailPlacementView detail_placement_view = 118; - */ - protected $detail_placement_view = null; - /** - * The detailed demographic referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DetailedDemographic detailed_demographic = 166; - */ - protected $detailed_demographic = null; - /** - * The display keyword view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DisplayKeywordView display_keyword_view = 47; - */ - protected $display_keyword_view = null; - /** - * The distance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DistanceView distance_view = 132; - */ - protected $distance_view = null; - /** - * The dynamic search ads search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DynamicSearchAdsSearchTermView dynamic_search_ads_search_term_view = 106; - */ - protected $dynamic_search_ads_search_term_view = null; - /** - * The expanded landing page view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExpandedLandingPageView expanded_landing_page_view = 128; - */ - protected $expanded_landing_page_view = null; - /** - * The extension feed item referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem extension_feed_item = 85; - */ - protected $extension_feed_item = null; - /** - * The feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 46; - */ - protected $feed = null; - /** - * The feed item referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 50; - */ - protected $feed_item = null; - /** - * The feed item set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSet feed_item_set = 149; - */ - protected $feed_item_set = null; - /** - * The feed item set link referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSetLink feed_item_set_link = 151; - */ - protected $feed_item_set_link = null; - /** - * The feed item target referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemTarget feed_item_target = 116; - */ - protected $feed_item_target = null; - /** - * The feed mapping referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedMapping feed_mapping = 58; - */ - protected $feed_mapping = null; - /** - * The feed placeholder view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedPlaceholderView feed_placeholder_view = 97; - */ - protected $feed_placeholder_view = null; - /** - * The gender view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GenderView gender_view = 40; - */ - protected $gender_view = null; - /** - * The geo target constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant = 23; - */ - protected $geo_target_constant = null; - /** - * The geographic view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeographicView geographic_view = 125; - */ - protected $geographic_view = null; - /** - * The group placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GroupPlacementView group_placement_view = 119; - */ - protected $group_placement_view = null; - /** - * The hotel group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelGroupView hotel_group_view = 51; - */ - protected $hotel_group_view = null; - /** - * The hotel performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelPerformanceView hotel_performance_view = 71; - */ - protected $hotel_performance_view = null; - /** - * The hotel reconciliation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelReconciliation hotel_reconciliation = 188; - */ - protected $hotel_reconciliation = null; - /** - * The income range view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.IncomeRangeView income_range_view = 138; - */ - protected $income_range_view = null; - /** - * The keyword view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordView keyword_view = 21; - */ - protected $keyword_view = null; - /** - * The keyword plan referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlan keyword_plan = 32; - */ - protected $keyword_plan = null; - /** - * The keyword plan campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaign keyword_plan_campaign = 33; - */ - protected $keyword_plan_campaign = null; - /** - * The keyword plan campaign keyword referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword keyword_plan_campaign_keyword = 140; - */ - protected $keyword_plan_campaign_keyword = null; - /** - * The keyword plan ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroup keyword_plan_ad_group = 35; - */ - protected $keyword_plan_ad_group = null; - /** - * The keyword plan ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword keyword_plan_ad_group_keyword = 141; - */ - protected $keyword_plan_ad_group_keyword = null; - /** - * The keyword theme constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constant = 163; - */ - protected $keyword_theme_constant = null; - /** - * The label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label label = 52; - */ - protected $label = null; - /** - * The landing page view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LandingPageView landing_page_view = 126; - */ - protected $landing_page_view = null; - /** - * The language constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LanguageConstant language_constant = 55; - */ - protected $language_constant = null; - /** - * The location view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocationView location_view = 123; - */ - protected $location_view = null; - /** - * The managed placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ManagedPlacementView managed_placement_view = 53; - */ - protected $managed_placement_view = null; - /** - * The media file referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaFile media_file = 90; - */ - protected $media_file = null; - /** - * The local services verification artifact referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesVerificationArtifact local_services_verification_artifact = 211; - */ - protected $local_services_verification_artifact = null; - /** - * The mobile app category constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MobileAppCategoryConstant mobile_app_category_constant = 87; - */ - protected $mobile_app_category_constant = null; - /** - * The mobile device constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MobileDeviceConstant mobile_device_constant = 98; - */ - protected $mobile_device_constant = null; - /** - * Offline conversion upload client summary. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineConversionUploadClientSummary offline_conversion_upload_client_summary = 216; - */ - protected $offline_conversion_upload_client_summary = null; - /** - * The offline user data job referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJob offline_user_data_job = 137; - */ - protected $offline_user_data_job = null; - /** - * The operating system version constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OperatingSystemVersionConstant operating_system_version_constant = 86; - */ - protected $operating_system_version_constant = null; - /** - * The paid organic search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.PaidOrganicSearchTermView paid_organic_search_term_view = 129; - */ - protected $paid_organic_search_term_view = null; - /** - * The qualifying question referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.QualifyingQuestion qualifying_question = 202; - */ - protected $qualifying_question = null; - /** - * The parental status view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ParentalStatusView parental_status_view = 45; - */ - protected $parental_status_view = null; - /** - * The per store view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.PerStoreView per_store_view = 198; - */ - protected $per_store_view = null; - /** - * The product category referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductCategoryConstant product_category_constant = 208; - */ - protected $product_category_constant = null; - /** - * The product group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductGroupView product_group_view = 54; - */ - protected $product_group_view = null; - /** - * The product link referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLink product_link = 194; - */ - protected $product_link = null; - /** - * The product link invitation in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLinkInvitation product_link_invitation = 209; - */ - protected $product_link_invitation = null; - /** - * The recommendation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation recommendation = 22; - */ - protected $recommendation = null; - /** - * The recommendation subscription referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription recommendation_subscription = 220; - */ - protected $recommendation_subscription = null; - /** - * The search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SearchTermView search_term_view = 68; - */ - protected $search_term_view = null; - /** - * The shared set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedCriterion shared_criterion = 29; - */ - protected $shared_criterion = null; - /** - * The shared set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet shared_set = 27; - */ - protected $shared_set = null; - /** - * The Smart campaign setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting smart_campaign_setting = 167; - */ - protected $smart_campaign_setting = null; - /** - * The shopping performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ShoppingPerformanceView shopping_performance_view = 117; - */ - protected $shopping_performance_view = null; - /** - * The Smart campaign search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSearchTermView smart_campaign_search_term_view = 170; - */ - protected $smart_campaign_search_term_view = null; - /** - * The AccountLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ThirdPartyAppAnalyticsLink third_party_app_analytics_link = 144; - */ - protected $third_party_app_analytics_link = null; - /** - * The topic view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TopicView topic_view = 44; - */ - protected $topic_view = null; - /** - * The travel activity group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TravelActivityGroupView travel_activity_group_view = 201; - */ - protected $travel_activity_group_view = null; - /** - * The travel activity performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TravelActivityPerformanceView travel_activity_performance_view = 200; - */ - protected $travel_activity_performance_view = null; - /** - * The experiment referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Experiment experiment = 133; - */ - protected $experiment = null; - /** - * The experiment arm referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm experiment_arm = 183; - */ - protected $experiment_arm = null; - /** - * The user interest referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserInterest user_interest = 59; - */ - protected $user_interest = null; - /** - * The life event referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LifeEvent life_event = 161; - */ - protected $life_event = null; - /** - * The user list referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserList user_list = 38; - */ - protected $user_list = null; - /** - * The user location view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserLocationView user_location_view = 135; - */ - protected $user_location_view = null; - /** - * The remarketing action referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingAction remarketing_action = 60; - */ - protected $remarketing_action = null; - /** - * The topic constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TopicConstant topic_constant = 31; - */ - protected $topic_constant = null; - /** - * The video referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Video video = 39; - */ - protected $video = null; - /** - * The webpage view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.WebpageView webpage_view = 162; - */ - protected $webpage_view = null; - /** - * The lead form user submission referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LeadFormSubmissionData lead_form_submission_data = 192; - */ - protected $lead_form_submission_data = null; - /** - * The local services lead referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesLead local_services_lead = 210; - */ - protected $local_services_lead = null; - /** - * The local services lead conversationreferenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesLeadConversation local_services_lead_conversation = 214; - */ - protected $local_services_lead_conversation = null; - /** - * The android privacy shared key google ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleAdGroup android_privacy_shared_key_google_ad_group = 217; - */ - protected $android_privacy_shared_key_google_ad_group = null; - /** - * The android privacy shared key google campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleCampaign android_privacy_shared_key_google_campaign = 218; - */ - protected $android_privacy_shared_key_google_campaign = null; - /** - * The android privacy shared key google network type referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleNetworkType android_privacy_shared_key_google_network_type = 219; - */ - protected $android_privacy_shared_key_google_network_type = null; - /** - * The metrics. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Metrics metrics = 4; - */ - protected $metrics = null; - /** - * The segments. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Segments segments = 102; - */ - protected $segments = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\AccountBudget $account_budget - * The account budget in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal $account_budget_proposal - * The account budget proposal referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AccountLink $account_link - * The AccountLink referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroup $ad_group - * The ad group referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $ad_group_ad - * The ad referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetCombinationView $ad_group_ad_asset_combination_view - * The ad group ad asset combination view in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetView $ad_group_ad_asset_view - * The ad group ad asset view in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel $ad_group_ad_label - * The ad group ad label referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $ad_group_asset - * The ad group asset referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet $ad_group_asset_set - * The ad group asset set referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAudienceView $ad_group_audience_view - * The ad group audience view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $ad_group_bid_modifier - * The bid modifier referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $ad_group_criterion - * The criterion referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer $ad_group_criterion_customizer - * The ad group criterion customizer referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel $ad_group_criterion_label - * The ad group criterion label referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionSimulation $ad_group_criterion_simulation - * The ad group criterion simulation referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer $ad_group_customizer - * The ad group customizer referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting $ad_group_extension_setting - * The ad group extension setting referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $ad_group_feed - * The ad group feed referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupLabel $ad_group_label - * The ad group label referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupSimulation $ad_group_simulation - * The ad group simulation referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdParameter $ad_parameter - * The ad parameter referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AgeRangeView $age_range_view - * The age range view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AdScheduleView $ad_schedule_view - * The ad schedule view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\DomainCategory $domain_category - * The domain category referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Asset $asset - * The asset referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetFieldTypeView $asset_field_type_view - * The asset field type view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset $asset_group_asset - * The asset group asset referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal $asset_group_signal - * The asset group signal referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter $asset_group_listing_group_filter - * The asset group listing group filter referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupProductGroupView $asset_group_product_group_view - * The asset group product group view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupTopCombinationView $asset_group_top_combination_view - * The asset group top combination view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroup $asset_group - * The asset group referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset $asset_set_asset - * The asset set asset referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSet $asset_set - * The asset set referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSetTypeView $asset_set_type_view - * The asset set type view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\BatchJob $batch_job - * The batch job referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion $bidding_data_exclusion - * The bidding data exclusion referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment $bidding_seasonality_adjustment - * The bidding seasonality adjustment referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy $bidding_strategy - * The bidding strategy referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingStrategySimulation $bidding_strategy_simulation - * The bidding strategy simulation referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\BillingSetup $billing_setup - * The billing setup referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CallView $call_view - * The call view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $campaign_budget - * The campaign budget referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign $campaign - * The campaign referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $campaign_asset - * The campaign asset referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet $campaign_asset_set - * The campaign asset set referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAudienceView $campaign_audience_view - * The campaign audience view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier $campaign_bid_modifier - * The campaign bid modifier referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal $campaign_conversion_goal - * The CampaignConversionGoal referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $campaign_criterion - * The campaign criterion referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer $campaign_customizer - * The campaign customizer referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignDraft $campaign_draft - * The campaign draft referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting $campaign_extension_setting - * The campaign extension setting referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $campaign_feed - * The campaign feed referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignGroup $campaign_group - * Campaign Group referenced in AWQL query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignLabel $campaign_label - * The campaign label referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal $campaign_lifecycle_goal - * The campaign lifecycle goal referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignSearchTermInsight $campaign_search_term_insight - * The campaign search term insight referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet $campaign_shared_set - * Campaign Shared Set referenced in AWQL query. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignSimulation $campaign_simulation - * The campaign simulation referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CarrierConstant $carrier_constant - * The carrier constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ChangeEvent $change_event - * The ChangeEvent referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ChangeStatus $change_status - * The ChangeStatus referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CombinedAudience $combined_audience - * The CombinedAudience referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Audience $audience - * The Audience referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction $conversion_action - * The conversion action referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable $conversion_custom_variable - * The conversion custom variable referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig $conversion_goal_campaign_config - * The ConversionGoalCampaignConfig referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule $conversion_value_rule - * The conversion value rule referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet $conversion_value_rule_set - * The conversion value rule set referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ClickView $click_view - * The ClickView referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CurrencyConstant $currency_constant - * The currency constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomAudience $custom_audience - * The CustomAudience referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal $custom_conversion_goal - * The CustomConversionGoal referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomInterest $custom_interest - * The CustomInterest referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Customer $customer - * The customer referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $customer_asset - * The customer asset referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet $customer_asset_set - * The customer asset set referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy $accessible_bidding_strategy - * The accessible bidding strategy referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer $customer_customizer - * The customer customizer referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink $customer_manager_link - * The CustomerManagerLink referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink $customer_client_link - * The CustomerClientLink referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerClient $customer_client - * The CustomerClient referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal $customer_conversion_goal - * The CustomerConversionGoal referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting $customer_extension_setting - * The customer extension setting referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerFeed $customer_feed - * The customer feed referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerLabel $customer_label - * The customer label referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal $customer_lifecycle_goal - * The customer lifecycle goal referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion $customer_negative_criterion - * The customer negative criterion referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerSearchTermInsight $customer_search_term_insight - * The customer search term insight referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess $customer_user_access - * The CustomerUserAccess referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation $customer_user_access_invitation - * The CustomerUserAccessInvitation referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute $customizer_attribute - * The customizer attribute referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\DetailPlacementView $detail_placement_view - * The detail placement view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\DetailedDemographic $detailed_demographic - * The detailed demographic referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\DisplayKeywordView $display_keyword_view - * The display keyword view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\DistanceView $distance_view - * The distance view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\DynamicSearchAdsSearchTermView $dynamic_search_ads_search_term_view - * The dynamic search ads search term view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ExpandedLandingPageView $expanded_landing_page_view - * The expanded landing page view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem $extension_feed_item - * The extension feed item referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Feed $feed - * The feed referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItem $feed_item - * The feed item referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItemSet $feed_item_set - * The feed item set referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink $feed_item_set_link - * The feed item set link referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget $feed_item_target - * The feed item target referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedMapping $feed_mapping - * The feed mapping referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedPlaceholderView $feed_placeholder_view - * The feed placeholder view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\GenderView $gender_view - * The gender view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant $geo_target_constant - * The geo target constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\GeographicView $geographic_view - * The geographic view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\GroupPlacementView $group_placement_view - * The group placement view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\HotelGroupView $hotel_group_view - * The hotel group view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\HotelPerformanceView $hotel_performance_view - * The hotel performance view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\HotelReconciliation $hotel_reconciliation - * The hotel reconciliation referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\IncomeRangeView $income_range_view - * The income range view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordView $keyword_view - * The keyword view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlan $keyword_plan - * The keyword plan referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign $keyword_plan_campaign - * The keyword plan campaign referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword $keyword_plan_campaign_keyword - * The keyword plan campaign keyword referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup $keyword_plan_ad_group - * The keyword plan ad group referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword $keyword_plan_ad_group_keyword - * The keyword plan ad group referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant $keyword_theme_constant - * The keyword theme constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Label $label - * The label referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\LandingPageView $landing_page_view - * The landing page view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\LanguageConstant $language_constant - * The language constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\LocationView $location_view - * The location view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ManagedPlacementView $managed_placement_view - * The managed placement view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\MediaFile $media_file - * The media file referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\LocalServicesVerificationArtifact $local_services_verification_artifact - * The local services verification artifact referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\MobileAppCategoryConstant $mobile_app_category_constant - * The mobile app category constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\MobileDeviceConstant $mobile_device_constant - * The mobile device constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\OfflineConversionUploadClientSummary $offline_conversion_upload_client_summary - * Offline conversion upload client summary. - * @type \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob $offline_user_data_job - * The offline user data job referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\OperatingSystemVersionConstant $operating_system_version_constant - * The operating system version constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\PaidOrganicSearchTermView $paid_organic_search_term_view - * The paid organic search term view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\QualifyingQuestion $qualifying_question - * The qualifying question referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ParentalStatusView $parental_status_view - * The parental status view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\PerStoreView $per_store_view - * The per store view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant $product_category_constant - * The product category referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ProductGroupView $product_group_view - * The product group view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ProductLink $product_link - * The product link referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ProductLinkInvitation $product_link_invitation - * The product link invitation in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Recommendation $recommendation - * The recommendation referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription $recommendation_subscription - * The recommendation subscription referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\SearchTermView $search_term_view - * The search term view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\SharedCriterion $shared_criterion - * The shared set referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\SharedSet $shared_set - * The shared set referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting $smart_campaign_setting - * The Smart campaign setting referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ShoppingPerformanceView $shopping_performance_view - * The shopping performance view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSearchTermView $smart_campaign_search_term_view - * The Smart campaign search term view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLink $third_party_app_analytics_link - * The AccountLink referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\TopicView $topic_view - * The topic view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\TravelActivityGroupView $travel_activity_group_view - * The travel activity group view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\TravelActivityPerformanceView $travel_activity_performance_view - * The travel activity performance view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Experiment $experiment - * The experiment referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\ExperimentArm $experiment_arm - * The experiment arm referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\UserInterest $user_interest - * The user interest referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\LifeEvent $life_event - * The life event referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\UserList $user_list - * The user list referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\UserLocationView $user_location_view - * The user location view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\RemarketingAction $remarketing_action - * The remarketing action referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\TopicConstant $topic_constant - * The topic constant referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\Video $video - * The video referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\WebpageView $webpage_view - * The webpage view referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionData $lead_form_submission_data - * The lead form user submission referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\LocalServicesLead $local_services_lead - * The local services lead referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\LocalServicesLeadConversation $local_services_lead_conversation - * The local services lead conversationreferenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleAdGroup $android_privacy_shared_key_google_ad_group - * The android privacy shared key google ad group referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleCampaign $android_privacy_shared_key_google_campaign - * The android privacy shared key google campaign referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleNetworkType $android_privacy_shared_key_google_network_type - * The android privacy shared key google network type referenced in the query. - * @type \Google\Ads\GoogleAds\V15\Common\Metrics $metrics - * The metrics. - * @type \Google\Ads\GoogleAds\V15\Common\Segments $segments - * The segments. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * The account budget in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudget account_budget = 42; - * @return \Google\Ads\GoogleAds\V15\Resources\AccountBudget|null - */ - public function getAccountBudget() - { - return $this->account_budget; - } - - public function hasAccountBudget() - { - return isset($this->account_budget); - } - - public function clearAccountBudget() - { - unset($this->account_budget); - } - - /** - * The account budget in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudget account_budget = 42; - * @param \Google\Ads\GoogleAds\V15\Resources\AccountBudget $var - * @return $this - */ - public function setAccountBudget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccountBudget::class); - $this->account_budget = $var; - - return $this; - } - - /** - * The account budget proposal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudgetProposal account_budget_proposal = 43; - * @return \Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal|null - */ - public function getAccountBudgetProposal() - { - return $this->account_budget_proposal; - } - - public function hasAccountBudgetProposal() - { - return isset($this->account_budget_proposal); - } - - public function clearAccountBudgetProposal() - { - unset($this->account_budget_proposal); - } - - /** - * The account budget proposal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountBudgetProposal account_budget_proposal = 43; - * @param \Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal $var - * @return $this - */ - public function setAccountBudgetProposal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccountBudgetProposal::class); - $this->account_budget_proposal = $var; - - return $this; - } - - /** - * The AccountLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountLink account_link = 143; - * @return \Google\Ads\GoogleAds\V15\Resources\AccountLink|null - */ - public function getAccountLink() - { - return $this->account_link; - } - - public function hasAccountLink() - { - return isset($this->account_link); - } - - public function clearAccountLink() - { - unset($this->account_link); - } - - /** - * The AccountLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccountLink account_link = 143; - * @param \Google\Ads\GoogleAds\V15\Resources\AccountLink $var - * @return $this - */ - public function setAccountLink($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccountLink::class); - $this->account_link = $var; - - return $this; - } - - /** - * The ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 3; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroup|null - */ - public function getAdGroup() - { - return $this->ad_group; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * The ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 3; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroup $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroup::class); - $this->ad_group = $var; - - return $this; - } - - /** - * The ad referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 16; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAd|null - */ - public function getAdGroupAd() - { - return $this->ad_group_ad; - } - - public function hasAdGroupAd() - { - return isset($this->ad_group_ad); - } - - public function clearAdGroupAd() - { - unset($this->ad_group_ad); - } - - /** - * The ad referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 16; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $var - * @return $this - */ - public function setAdGroupAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAd::class); - $this->ad_group_ad = $var; - - return $this; - } - - /** - * The ad group ad asset combination view in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetCombinationView ad_group_ad_asset_combination_view = 193; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetCombinationView|null - */ - public function getAdGroupAdAssetCombinationView() - { - return $this->ad_group_ad_asset_combination_view; - } - - public function hasAdGroupAdAssetCombinationView() - { - return isset($this->ad_group_ad_asset_combination_view); - } - - public function clearAdGroupAdAssetCombinationView() - { - unset($this->ad_group_ad_asset_combination_view); - } - - /** - * The ad group ad asset combination view in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetCombinationView ad_group_ad_asset_combination_view = 193; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetCombinationView $var - * @return $this - */ - public function setAdGroupAdAssetCombinationView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetCombinationView::class); - $this->ad_group_ad_asset_combination_view = $var; - - return $this; - } - - /** - * The ad group ad asset view in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetView ad_group_ad_asset_view = 131; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetView|null - */ - public function getAdGroupAdAssetView() - { - return $this->ad_group_ad_asset_view; - } - - public function hasAdGroupAdAssetView() - { - return isset($this->ad_group_ad_asset_view); - } - - public function clearAdGroupAdAssetView() - { - unset($this->ad_group_ad_asset_view); - } - - /** - * The ad group ad asset view in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdAssetView ad_group_ad_asset_view = 131; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetView $var - * @return $this - */ - public function setAdGroupAdAssetView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAdAssetView::class); - $this->ad_group_ad_asset_view = $var; - - return $this; - } - - /** - * The ad group ad label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdLabel ad_group_ad_label = 120; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel|null - */ - public function getAdGroupAdLabel() - { - return $this->ad_group_ad_label; - } - - public function hasAdGroupAdLabel() - { - return isset($this->ad_group_ad_label); - } - - public function clearAdGroupAdLabel() - { - unset($this->ad_group_ad_label); - } - - /** - * The ad group ad label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAdLabel ad_group_ad_label = 120; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel $var - * @return $this - */ - public function setAdGroupAdLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAdLabel::class); - $this->ad_group_ad_label = $var; - - return $this; - } - - /** - * The ad group asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 154; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset|null - */ - public function getAdGroupAsset() - { - return $this->ad_group_asset; - } - - public function hasAdGroupAsset() - { - return isset($this->ad_group_asset); - } - - public function clearAdGroupAsset() - { - unset($this->ad_group_asset); - } - - /** - * The ad group asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 154; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $var - * @return $this - */ - public function setAdGroupAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset::class); - $this->ad_group_asset = $var; - - return $this; - } - - /** - * The ad group asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAssetSet ad_group_asset_set = 196; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet|null - */ - public function getAdGroupAssetSet() - { - return $this->ad_group_asset_set; - } - - public function hasAdGroupAssetSet() - { - return isset($this->ad_group_asset_set); - } - - public function clearAdGroupAssetSet() - { - unset($this->ad_group_asset_set); - } - - /** - * The ad group asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAssetSet ad_group_asset_set = 196; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet $var - * @return $this - */ - public function setAdGroupAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet::class); - $this->ad_group_asset_set = $var; - - return $this; - } - - /** - * The ad group audience view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAudienceView ad_group_audience_view = 57; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAudienceView|null - */ - public function getAdGroupAudienceView() - { - return $this->ad_group_audience_view; - } - - public function hasAdGroupAudienceView() - { - return isset($this->ad_group_audience_view); - } - - public function clearAdGroupAudienceView() - { - unset($this->ad_group_audience_view); - } - - /** - * The ad group audience view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAudienceView ad_group_audience_view = 57; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAudienceView $var - * @return $this - */ - public function setAdGroupAudienceView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAudienceView::class); - $this->ad_group_audience_view = $var; - - return $this; - } - - /** - * The bid modifier referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 24; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier|null - */ - public function getAdGroupBidModifier() - { - return $this->ad_group_bid_modifier; - } - - public function hasAdGroupBidModifier() - { - return isset($this->ad_group_bid_modifier); - } - - public function clearAdGroupBidModifier() - { - unset($this->ad_group_bid_modifier); - } - - /** - * The bid modifier referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 24; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $var - * @return $this - */ - public function setAdGroupBidModifier($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier::class); - $this->ad_group_bid_modifier = $var; - - return $this; - } - - /** - * The criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 17; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion|null - */ - public function getAdGroupCriterion() - { - return $this->ad_group_criterion; - } - - public function hasAdGroupCriterion() - { - return isset($this->ad_group_criterion); - } - - public function clearAdGroupCriterion() - { - unset($this->ad_group_criterion); - } - - /** - * The criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 17; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $var - * @return $this - */ - public function setAdGroupCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion::class); - $this->ad_group_criterion = $var; - - return $this; - } - - /** - * The ad group criterion customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 187; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer|null - */ - public function getAdGroupCriterionCustomizer() - { - return $this->ad_group_criterion_customizer; - } - - public function hasAdGroupCriterionCustomizer() - { - return isset($this->ad_group_criterion_customizer); - } - - public function clearAdGroupCriterionCustomizer() - { - unset($this->ad_group_criterion_customizer); - } - - /** - * The ad group criterion customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 187; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer $var - * @return $this - */ - public function setAdGroupCriterionCustomizer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer::class); - $this->ad_group_criterion_customizer = $var; - - return $this; - } - - /** - * The ad group criterion label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionLabel ad_group_criterion_label = 121; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel|null - */ - public function getAdGroupCriterionLabel() - { - return $this->ad_group_criterion_label; - } - - public function hasAdGroupCriterionLabel() - { - return isset($this->ad_group_criterion_label); - } - - public function clearAdGroupCriterionLabel() - { - unset($this->ad_group_criterion_label); - } - - /** - * The ad group criterion label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionLabel ad_group_criterion_label = 121; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel $var - * @return $this - */ - public function setAdGroupCriterionLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionLabel::class); - $this->ad_group_criterion_label = $var; - - return $this; - } - - /** - * The ad group criterion simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionSimulation ad_group_criterion_simulation = 110; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionSimulation|null - */ - public function getAdGroupCriterionSimulation() - { - return $this->ad_group_criterion_simulation; - } - - public function hasAdGroupCriterionSimulation() - { - return isset($this->ad_group_criterion_simulation); - } - - public function clearAdGroupCriterionSimulation() - { - unset($this->ad_group_criterion_simulation); - } - - /** - * The ad group criterion simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionSimulation ad_group_criterion_simulation = 110; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionSimulation $var - * @return $this - */ - public function setAdGroupCriterionSimulation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionSimulation::class); - $this->ad_group_criterion_simulation = $var; - - return $this; - } - - /** - * The ad group customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCustomizer ad_group_customizer = 185; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer|null - */ - public function getAdGroupCustomizer() - { - return $this->ad_group_customizer; - } - - public function hasAdGroupCustomizer() - { - return isset($this->ad_group_customizer); - } - - public function clearAdGroupCustomizer() - { - unset($this->ad_group_customizer); - } - - /** - * The ad group customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCustomizer ad_group_customizer = 185; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer $var - * @return $this - */ - public function setAdGroupCustomizer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer::class); - $this->ad_group_customizer = $var; - - return $this; - } - - /** - * The ad group extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting ad_group_extension_setting = 112; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting|null - */ - public function getAdGroupExtensionSetting() - { - return $this->ad_group_extension_setting; - } - - public function hasAdGroupExtensionSetting() - { - return isset($this->ad_group_extension_setting); - } - - public function clearAdGroupExtensionSetting() - { - unset($this->ad_group_extension_setting); - } - - /** - * The ad group extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting ad_group_extension_setting = 112; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting $var - * @return $this - */ - public function setAdGroupExtensionSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting::class); - $this->ad_group_extension_setting = $var; - - return $this; - } - - /** - * The ad group feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 67; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed|null - */ - public function getAdGroupFeed() - { - return $this->ad_group_feed; - } - - public function hasAdGroupFeed() - { - return isset($this->ad_group_feed); - } - - public function clearAdGroupFeed() - { - unset($this->ad_group_feed); - } - - /** - * The ad group feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 67; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $var - * @return $this - */ - public function setAdGroupFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed::class); - $this->ad_group_feed = $var; - - return $this; - } - - /** - * The ad group label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupLabel ad_group_label = 115; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupLabel|null - */ - public function getAdGroupLabel() - { - return $this->ad_group_label; - } - - public function hasAdGroupLabel() - { - return isset($this->ad_group_label); - } - - public function clearAdGroupLabel() - { - unset($this->ad_group_label); - } - - /** - * The ad group label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupLabel ad_group_label = 115; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupLabel $var - * @return $this - */ - public function setAdGroupLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupLabel::class); - $this->ad_group_label = $var; - - return $this; - } - - /** - * The ad group simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupSimulation ad_group_simulation = 107; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupSimulation|null - */ - public function getAdGroupSimulation() - { - return $this->ad_group_simulation; - } - - public function hasAdGroupSimulation() - { - return isset($this->ad_group_simulation); - } - - public function clearAdGroupSimulation() - { - unset($this->ad_group_simulation); - } - - /** - * The ad group simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupSimulation ad_group_simulation = 107; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupSimulation $var - * @return $this - */ - public function setAdGroupSimulation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupSimulation::class); - $this->ad_group_simulation = $var; - - return $this; - } - - /** - * The ad parameter referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter ad_parameter = 130; - * @return \Google\Ads\GoogleAds\V15\Resources\AdParameter|null - */ - public function getAdParameter() - { - return $this->ad_parameter; - } - - public function hasAdParameter() - { - return isset($this->ad_parameter); - } - - public function clearAdParameter() - { - unset($this->ad_parameter); - } - - /** - * The ad parameter referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter ad_parameter = 130; - * @param \Google\Ads\GoogleAds\V15\Resources\AdParameter $var - * @return $this - */ - public function setAdParameter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdParameter::class); - $this->ad_parameter = $var; - - return $this; - } - - /** - * The age range view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AgeRangeView age_range_view = 48; - * @return \Google\Ads\GoogleAds\V15\Resources\AgeRangeView|null - */ - public function getAgeRangeView() - { - return $this->age_range_view; - } - - public function hasAgeRangeView() - { - return isset($this->age_range_view); - } - - public function clearAgeRangeView() - { - unset($this->age_range_view); - } - - /** - * The age range view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AgeRangeView age_range_view = 48; - * @param \Google\Ads\GoogleAds\V15\Resources\AgeRangeView $var - * @return $this - */ - public function setAgeRangeView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AgeRangeView::class); - $this->age_range_view = $var; - - return $this; - } - - /** - * The ad schedule view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdScheduleView ad_schedule_view = 89; - * @return \Google\Ads\GoogleAds\V15\Resources\AdScheduleView|null - */ - public function getAdScheduleView() - { - return $this->ad_schedule_view; - } - - public function hasAdScheduleView() - { - return isset($this->ad_schedule_view); - } - - public function clearAdScheduleView() - { - unset($this->ad_schedule_view); - } - - /** - * The ad schedule view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdScheduleView ad_schedule_view = 89; - * @param \Google\Ads\GoogleAds\V15\Resources\AdScheduleView $var - * @return $this - */ - public function setAdScheduleView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdScheduleView::class); - $this->ad_schedule_view = $var; - - return $this; - } - - /** - * The domain category referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DomainCategory domain_category = 91; - * @return \Google\Ads\GoogleAds\V15\Resources\DomainCategory|null - */ - public function getDomainCategory() - { - return $this->domain_category; - } - - public function hasDomainCategory() - { - return isset($this->domain_category); - } - - public function clearDomainCategory() - { - unset($this->domain_category); - } - - /** - * The domain category referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DomainCategory domain_category = 91; - * @param \Google\Ads\GoogleAds\V15\Resources\DomainCategory $var - * @return $this - */ - public function setDomainCategory($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\DomainCategory::class); - $this->domain_category = $var; - - return $this; - } - - /** - * The asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 105; - * @return \Google\Ads\GoogleAds\V15\Resources\Asset|null - */ - public function getAsset() - { - return $this->asset; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * The asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 105; - * @param \Google\Ads\GoogleAds\V15\Resources\Asset $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->asset = $var; - - return $this; - } - - /** - * The asset field type view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetFieldTypeView asset_field_type_view = 168; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetFieldTypeView|null - */ - public function getAssetFieldTypeView() - { - return $this->asset_field_type_view; - } - - public function hasAssetFieldTypeView() - { - return isset($this->asset_field_type_view); - } - - public function clearAssetFieldTypeView() - { - unset($this->asset_field_type_view); - } - - /** - * The asset field type view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetFieldTypeView asset_field_type_view = 168; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetFieldTypeView $var - * @return $this - */ - public function setAssetFieldTypeView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetFieldTypeView::class); - $this->asset_field_type_view = $var; - - return $this; - } - - /** - * The asset group asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupAsset asset_group_asset = 173; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset|null - */ - public function getAssetGroupAsset() - { - return $this->asset_group_asset; - } - - public function hasAssetGroupAsset() - { - return isset($this->asset_group_asset); - } - - public function clearAssetGroupAsset() - { - unset($this->asset_group_asset); - } - - /** - * The asset group asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupAsset asset_group_asset = 173; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset $var - * @return $this - */ - public function setAssetGroupAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupAsset::class); - $this->asset_group_asset = $var; - - return $this; - } - - /** - * The asset group signal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupSignal asset_group_signal = 191; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal|null - */ - public function getAssetGroupSignal() - { - return $this->asset_group_signal; - } - - public function hasAssetGroupSignal() - { - return isset($this->asset_group_signal); - } - - public function clearAssetGroupSignal() - { - unset($this->asset_group_signal); - } - - /** - * The asset group signal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupSignal asset_group_signal = 191; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal $var - * @return $this - */ - public function setAssetGroupSignal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal::class); - $this->asset_group_signal = $var; - - return $this; - } - - /** - * The asset group listing group filter referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 182; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter|null - */ - public function getAssetGroupListingGroupFilter() - { - return $this->asset_group_listing_group_filter; - } - - public function hasAssetGroupListingGroupFilter() - { - return isset($this->asset_group_listing_group_filter); - } - - public function clearAssetGroupListingGroupFilter() - { - unset($this->asset_group_listing_group_filter); - } - - /** - * The asset group listing group filter referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 182; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter $var - * @return $this - */ - public function setAssetGroupListingGroupFilter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::class); - $this->asset_group_listing_group_filter = $var; - - return $this; - } - - /** - * The asset group product group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupProductGroupView asset_group_product_group_view = 189; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupProductGroupView|null - */ - public function getAssetGroupProductGroupView() - { - return $this->asset_group_product_group_view; - } - - public function hasAssetGroupProductGroupView() - { - return isset($this->asset_group_product_group_view); - } - - public function clearAssetGroupProductGroupView() - { - unset($this->asset_group_product_group_view); - } - - /** - * The asset group product group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupProductGroupView asset_group_product_group_view = 189; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupProductGroupView $var - * @return $this - */ - public function setAssetGroupProductGroupView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupProductGroupView::class); - $this->asset_group_product_group_view = $var; - - return $this; - } - - /** - * The asset group top combination view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupTopCombinationView asset_group_top_combination_view = 199; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupTopCombinationView|null - */ - public function getAssetGroupTopCombinationView() - { - return $this->asset_group_top_combination_view; - } - - public function hasAssetGroupTopCombinationView() - { - return isset($this->asset_group_top_combination_view); - } - - public function clearAssetGroupTopCombinationView() - { - unset($this->asset_group_top_combination_view); - } - - /** - * The asset group top combination view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupTopCombinationView asset_group_top_combination_view = 199; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupTopCombinationView $var - * @return $this - */ - public function setAssetGroupTopCombinationView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupTopCombinationView::class); - $this->asset_group_top_combination_view = $var; - - return $this; - } - - /** - * The asset group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroup asset_group = 172; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroup|null - */ - public function getAssetGroup() - { - return $this->asset_group; - } - - public function hasAssetGroup() - { - return isset($this->asset_group); - } - - public function clearAssetGroup() - { - unset($this->asset_group); - } - - /** - * The asset group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroup asset_group = 172; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroup $var - * @return $this - */ - public function setAssetGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroup::class); - $this->asset_group = $var; - - return $this; - } - - /** - * The asset set asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 180; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset|null - */ - public function getAssetSetAsset() - { - return $this->asset_set_asset; - } - - public function hasAssetSetAsset() - { - return isset($this->asset_set_asset); - } - - public function clearAssetSetAsset() - { - unset($this->asset_set_asset); - } - - /** - * The asset set asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 180; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset $var - * @return $this - */ - public function setAssetSetAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset::class); - $this->asset_set_asset = $var; - - return $this; - } - - /** - * The asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 179; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSet|null - */ - public function getAssetSet() - { - return $this->asset_set; - } - - public function hasAssetSet() - { - return isset($this->asset_set); - } - - public function clearAssetSet() - { - unset($this->asset_set); - } - - /** - * The asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 179; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSet $var - * @return $this - */ - public function setAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSet::class); - $this->asset_set = $var; - - return $this; - } - - /** - * The asset set type view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetTypeView asset_set_type_view = 197; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSetTypeView|null - */ - public function getAssetSetTypeView() - { - return $this->asset_set_type_view; - } - - public function hasAssetSetTypeView() - { - return isset($this->asset_set_type_view); - } - - public function clearAssetSetTypeView() - { - unset($this->asset_set_type_view); - } - - /** - * The asset set type view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetTypeView asset_set_type_view = 197; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSetTypeView $var - * @return $this - */ - public function setAssetSetTypeView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSetTypeView::class); - $this->asset_set_type_view = $var; - - return $this; - } - - /** - * The batch job referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BatchJob batch_job = 139; - * @return \Google\Ads\GoogleAds\V15\Resources\BatchJob|null - */ - public function getBatchJob() - { - return $this->batch_job; - } - - public function hasBatchJob() - { - return isset($this->batch_job); - } - - public function clearBatchJob() - { - unset($this->batch_job); - } - - /** - * The batch job referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BatchJob batch_job = 139; - * @param \Google\Ads\GoogleAds\V15\Resources\BatchJob $var - * @return $this - */ - public function setBatchJob($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BatchJob::class); - $this->batch_job = $var; - - return $this; - } - - /** - * The bidding data exclusion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion bidding_data_exclusion = 159; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion|null - */ - public function getBiddingDataExclusion() - { - return $this->bidding_data_exclusion; - } - - public function hasBiddingDataExclusion() - { - return isset($this->bidding_data_exclusion); - } - - public function clearBiddingDataExclusion() - { - unset($this->bidding_data_exclusion); - } - - /** - * The bidding data exclusion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion bidding_data_exclusion = 159; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion $var - * @return $this - */ - public function setBiddingDataExclusion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion::class); - $this->bidding_data_exclusion = $var; - - return $this; - } - - /** - * The bidding seasonality adjustment referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 160; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment|null - */ - public function getBiddingSeasonalityAdjustment() - { - return $this->bidding_seasonality_adjustment; - } - - public function hasBiddingSeasonalityAdjustment() - { - return isset($this->bidding_seasonality_adjustment); - } - - public function clearBiddingSeasonalityAdjustment() - { - unset($this->bidding_seasonality_adjustment); - } - - /** - * The bidding seasonality adjustment referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 160; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment $var - * @return $this - */ - public function setBiddingSeasonalityAdjustment($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment::class); - $this->bidding_seasonality_adjustment = $var; - - return $this; - } - - /** - * The bidding strategy referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy bidding_strategy = 18; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy|null - */ - public function getBiddingStrategy() - { - return $this->bidding_strategy; - } - - public function hasBiddingStrategy() - { - return isset($this->bidding_strategy); - } - - public function clearBiddingStrategy() - { - unset($this->bidding_strategy); - } - - /** - * The bidding strategy referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy bidding_strategy = 18; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy $var - * @return $this - */ - public function setBiddingStrategy($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy::class); - $this->bidding_strategy = $var; - - return $this; - } - - /** - * The bidding strategy simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategySimulation bidding_strategy_simulation = 158; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingStrategySimulation|null - */ - public function getBiddingStrategySimulation() - { - return $this->bidding_strategy_simulation; - } - - public function hasBiddingStrategySimulation() - { - return isset($this->bidding_strategy_simulation); - } - - public function clearBiddingStrategySimulation() - { - unset($this->bidding_strategy_simulation); - } - - /** - * The bidding strategy simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategySimulation bidding_strategy_simulation = 158; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingStrategySimulation $var - * @return $this - */ - public function setBiddingStrategySimulation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingStrategySimulation::class); - $this->bidding_strategy_simulation = $var; - - return $this; - } - - /** - * The billing setup referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BillingSetup billing_setup = 41; - * @return \Google\Ads\GoogleAds\V15\Resources\BillingSetup|null - */ - public function getBillingSetup() - { - return $this->billing_setup; - } - - public function hasBillingSetup() - { - return isset($this->billing_setup); - } - - public function clearBillingSetup() - { - unset($this->billing_setup); - } - - /** - * The billing setup referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BillingSetup billing_setup = 41; - * @param \Google\Ads\GoogleAds\V15\Resources\BillingSetup $var - * @return $this - */ - public function setBillingSetup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BillingSetup::class); - $this->billing_setup = $var; - - return $this; - } - - /** - * The call view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CallView call_view = 152; - * @return \Google\Ads\GoogleAds\V15\Resources\CallView|null - */ - public function getCallView() - { - return $this->call_view; - } - - public function hasCallView() - { - return isset($this->call_view); - } - - public function clearCallView() - { - unset($this->call_view); - } - - /** - * The call view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CallView call_view = 152; - * @param \Google\Ads\GoogleAds\V15\Resources\CallView $var - * @return $this - */ - public function setCallView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CallView::class); - $this->call_view = $var; - - return $this; - } - - /** - * The campaign budget referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 19; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBudget|null - */ - public function getCampaignBudget() - { - return $this->campaign_budget; - } - - public function hasCampaignBudget() - { - return isset($this->campaign_budget); - } - - public function clearCampaignBudget() - { - unset($this->campaign_budget); - } - - /** - * The campaign budget referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 19; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBudget::class); - $this->campaign_budget = $var; - - return $this; - } - - /** - * The campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign|null - */ - public function getCampaign() - { - return $this->campaign; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * The campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign::class); - $this->campaign = $var; - - return $this; - } - - /** - * The campaign asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 142; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAsset|null - */ - public function getCampaignAsset() - { - return $this->campaign_asset; - } - - public function hasCampaignAsset() - { - return isset($this->campaign_asset); - } - - public function clearCampaignAsset() - { - unset($this->campaign_asset); - } - - /** - * The campaign asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 142; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $var - * @return $this - */ - public function setCampaignAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAsset::class); - $this->campaign_asset = $var; - - return $this; - } - - /** - * The campaign asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 181; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet|null - */ - public function getCampaignAssetSet() - { - return $this->campaign_asset_set; - } - - public function hasCampaignAssetSet() - { - return isset($this->campaign_asset_set); - } - - public function clearCampaignAssetSet() - { - unset($this->campaign_asset_set); - } - - /** - * The campaign asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 181; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet $var - * @return $this - */ - public function setCampaignAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet::class); - $this->campaign_asset_set = $var; - - return $this; - } - - /** - * The campaign audience view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAudienceView campaign_audience_view = 69; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAudienceView|null - */ - public function getCampaignAudienceView() - { - return $this->campaign_audience_view; - } - - public function hasCampaignAudienceView() - { - return isset($this->campaign_audience_view); - } - - public function clearCampaignAudienceView() - { - unset($this->campaign_audience_view); - } - - /** - * The campaign audience view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAudienceView campaign_audience_view = 69; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAudienceView $var - * @return $this - */ - public function setCampaignAudienceView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAudienceView::class); - $this->campaign_audience_view = $var; - - return $this; - } - - /** - * The campaign bid modifier referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier campaign_bid_modifier = 26; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier|null - */ - public function getCampaignBidModifier() - { - return $this->campaign_bid_modifier; - } - - public function hasCampaignBidModifier() - { - return isset($this->campaign_bid_modifier); - } - - public function clearCampaignBidModifier() - { - unset($this->campaign_bid_modifier); - } - - /** - * The campaign bid modifier referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier campaign_bid_modifier = 26; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier $var - * @return $this - */ - public function setCampaignBidModifier($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier::class); - $this->campaign_bid_modifier = $var; - - return $this; - } - - /** - * The CampaignConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignConversionGoal campaign_conversion_goal = 175; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal|null - */ - public function getCampaignConversionGoal() - { - return $this->campaign_conversion_goal; - } - - public function hasCampaignConversionGoal() - { - return isset($this->campaign_conversion_goal); - } - - public function clearCampaignConversionGoal() - { - unset($this->campaign_conversion_goal); - } - - /** - * The CampaignConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignConversionGoal campaign_conversion_goal = 175; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal $var - * @return $this - */ - public function setCampaignConversionGoal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignConversionGoal::class); - $this->campaign_conversion_goal = $var; - - return $this; - } - - /** - * The campaign criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 20; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion|null - */ - public function getCampaignCriterion() - { - return $this->campaign_criterion; - } - - public function hasCampaignCriterion() - { - return isset($this->campaign_criterion); - } - - public function clearCampaignCriterion() - { - unset($this->campaign_criterion); - } - - /** - * The campaign criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 20; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $var - * @return $this - */ - public function setCampaignCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion::class); - $this->campaign_criterion = $var; - - return $this; - } - - /** - * The campaign customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCustomizer campaign_customizer = 186; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer|null - */ - public function getCampaignCustomizer() - { - return $this->campaign_customizer; - } - - public function hasCampaignCustomizer() - { - return isset($this->campaign_customizer); - } - - public function clearCampaignCustomizer() - { - unset($this->campaign_customizer); - } - - /** - * The campaign customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCustomizer campaign_customizer = 186; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer $var - * @return $this - */ - public function setCampaignCustomizer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer::class); - $this->campaign_customizer = $var; - - return $this; - } - - /** - * The campaign draft referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft campaign_draft = 49; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignDraft|null - */ - public function getCampaignDraft() - { - return $this->campaign_draft; - } - - public function hasCampaignDraft() - { - return isset($this->campaign_draft); - } - - public function clearCampaignDraft() - { - unset($this->campaign_draft); - } - - /** - * The campaign draft referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft campaign_draft = 49; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignDraft $var - * @return $this - */ - public function setCampaignDraft($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignDraft::class); - $this->campaign_draft = $var; - - return $this; - } - - /** - * The campaign extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting campaign_extension_setting = 113; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting|null - */ - public function getCampaignExtensionSetting() - { - return $this->campaign_extension_setting; - } - - public function hasCampaignExtensionSetting() - { - return isset($this->campaign_extension_setting); - } - - public function clearCampaignExtensionSetting() - { - unset($this->campaign_extension_setting); - } - - /** - * The campaign extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting campaign_extension_setting = 113; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting $var - * @return $this - */ - public function setCampaignExtensionSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting::class); - $this->campaign_extension_setting = $var; - - return $this; - } - - /** - * The campaign feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 63; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignFeed|null - */ - public function getCampaignFeed() - { - return $this->campaign_feed; - } - - public function hasCampaignFeed() - { - return isset($this->campaign_feed); - } - - public function clearCampaignFeed() - { - unset($this->campaign_feed); - } - - /** - * The campaign feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 63; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $var - * @return $this - */ - public function setCampaignFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignFeed::class); - $this->campaign_feed = $var; - - return $this; - } - - /** - * Campaign Group referenced in AWQL query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup campaign_group = 25; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignGroup|null - */ - public function getCampaignGroup() - { - return $this->campaign_group; - } - - public function hasCampaignGroup() - { - return isset($this->campaign_group); - } - - public function clearCampaignGroup() - { - unset($this->campaign_group); - } - - /** - * Campaign Group referenced in AWQL query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup campaign_group = 25; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignGroup $var - * @return $this - */ - public function setCampaignGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignGroup::class); - $this->campaign_group = $var; - - return $this; - } - - /** - * The campaign label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLabel campaign_label = 108; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignLabel|null - */ - public function getCampaignLabel() - { - return $this->campaign_label; - } - - public function hasCampaignLabel() - { - return isset($this->campaign_label); - } - - public function clearCampaignLabel() - { - unset($this->campaign_label); - } - - /** - * The campaign label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLabel campaign_label = 108; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignLabel $var - * @return $this - */ - public function setCampaignLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignLabel::class); - $this->campaign_label = $var; - - return $this; - } - - /** - * The campaign lifecycle goal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLifecycleGoal campaign_lifecycle_goal = 213; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal|null - */ - public function getCampaignLifecycleGoal() - { - return $this->campaign_lifecycle_goal; - } - - public function hasCampaignLifecycleGoal() - { - return isset($this->campaign_lifecycle_goal); - } - - public function clearCampaignLifecycleGoal() - { - unset($this->campaign_lifecycle_goal); - } - - /** - * The campaign lifecycle goal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignLifecycleGoal campaign_lifecycle_goal = 213; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal $var - * @return $this - */ - public function setCampaignLifecycleGoal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignLifecycleGoal::class); - $this->campaign_lifecycle_goal = $var; - - return $this; - } - - /** - * The campaign search term insight referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSearchTermInsight campaign_search_term_insight = 204; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignSearchTermInsight|null - */ - public function getCampaignSearchTermInsight() - { - return $this->campaign_search_term_insight; - } - - public function hasCampaignSearchTermInsight() - { - return isset($this->campaign_search_term_insight); - } - - public function clearCampaignSearchTermInsight() - { - unset($this->campaign_search_term_insight); - } - - /** - * The campaign search term insight referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSearchTermInsight campaign_search_term_insight = 204; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignSearchTermInsight $var - * @return $this - */ - public function setCampaignSearchTermInsight($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignSearchTermInsight::class); - $this->campaign_search_term_insight = $var; - - return $this; - } - - /** - * Campaign Shared Set referenced in AWQL query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSharedSet campaign_shared_set = 30; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet|null - */ - public function getCampaignSharedSet() - { - return $this->campaign_shared_set; - } - - public function hasCampaignSharedSet() - { - return isset($this->campaign_shared_set); - } - - public function clearCampaignSharedSet() - { - unset($this->campaign_shared_set); - } - - /** - * Campaign Shared Set referenced in AWQL query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSharedSet campaign_shared_set = 30; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet $var - * @return $this - */ - public function setCampaignSharedSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet::class); - $this->campaign_shared_set = $var; - - return $this; - } - - /** - * The campaign simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSimulation campaign_simulation = 157; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignSimulation|null - */ - public function getCampaignSimulation() - { - return $this->campaign_simulation; - } - - public function hasCampaignSimulation() - { - return isset($this->campaign_simulation); - } - - public function clearCampaignSimulation() - { - unset($this->campaign_simulation); - } - - /** - * The campaign simulation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSimulation campaign_simulation = 157; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignSimulation $var - * @return $this - */ - public function setCampaignSimulation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignSimulation::class); - $this->campaign_simulation = $var; - - return $this; - } - - /** - * The carrier constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CarrierConstant carrier_constant = 66; - * @return \Google\Ads\GoogleAds\V15\Resources\CarrierConstant|null - */ - public function getCarrierConstant() - { - return $this->carrier_constant; - } - - public function hasCarrierConstant() - { - return isset($this->carrier_constant); - } - - public function clearCarrierConstant() - { - unset($this->carrier_constant); - } - - /** - * The carrier constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CarrierConstant carrier_constant = 66; - * @param \Google\Ads\GoogleAds\V15\Resources\CarrierConstant $var - * @return $this - */ - public function setCarrierConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CarrierConstant::class); - $this->carrier_constant = $var; - - return $this; - } - - /** - * The ChangeEvent referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent change_event = 145; - * @return \Google\Ads\GoogleAds\V15\Resources\ChangeEvent|null - */ - public function getChangeEvent() - { - return $this->change_event; - } - - public function hasChangeEvent() - { - return isset($this->change_event); - } - - public function clearChangeEvent() - { - unset($this->change_event); - } - - /** - * The ChangeEvent referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeEvent change_event = 145; - * @param \Google\Ads\GoogleAds\V15\Resources\ChangeEvent $var - * @return $this - */ - public function setChangeEvent($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ChangeEvent::class); - $this->change_event = $var; - - return $this; - } - - /** - * The ChangeStatus referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeStatus change_status = 37; - * @return \Google\Ads\GoogleAds\V15\Resources\ChangeStatus|null - */ - public function getChangeStatus() - { - return $this->change_status; - } - - public function hasChangeStatus() - { - return isset($this->change_status); - } - - public function clearChangeStatus() - { - unset($this->change_status); - } - - /** - * The ChangeStatus referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ChangeStatus change_status = 37; - * @param \Google\Ads\GoogleAds\V15\Resources\ChangeStatus $var - * @return $this - */ - public function setChangeStatus($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ChangeStatus::class); - $this->change_status = $var; - - return $this; - } - - /** - * The CombinedAudience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CombinedAudience combined_audience = 148; - * @return \Google\Ads\GoogleAds\V15\Resources\CombinedAudience|null - */ - public function getCombinedAudience() - { - return $this->combined_audience; - } - - public function hasCombinedAudience() - { - return isset($this->combined_audience); - } - - public function clearCombinedAudience() - { - unset($this->combined_audience); - } - - /** - * The CombinedAudience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CombinedAudience combined_audience = 148; - * @param \Google\Ads\GoogleAds\V15\Resources\CombinedAudience $var - * @return $this - */ - public function setCombinedAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CombinedAudience::class); - $this->combined_audience = $var; - - return $this; - } - - /** - * The Audience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience audience = 190; - * @return \Google\Ads\GoogleAds\V15\Resources\Audience|null - */ - public function getAudience() - { - return $this->audience; - } - - public function hasAudience() - { - return isset($this->audience); - } - - public function clearAudience() - { - unset($this->audience); - } - - /** - * The Audience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience audience = 190; - * @param \Google\Ads\GoogleAds\V15\Resources\Audience $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Audience::class); - $this->audience = $var; - - return $this; - } - - /** - * The conversion action referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction conversion_action = 103; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction|null - */ - public function getConversionAction() - { - return $this->conversion_action; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * The conversion action referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction conversion_action = 103; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction::class); - $this->conversion_action = $var; - - return $this; - } - - /** - * The conversion custom variable referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable conversion_custom_variable = 153; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable|null - */ - public function getConversionCustomVariable() - { - return $this->conversion_custom_variable; - } - - public function hasConversionCustomVariable() - { - return isset($this->conversion_custom_variable); - } - - public function clearConversionCustomVariable() - { - unset($this->conversion_custom_variable); - } - - /** - * The conversion custom variable referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable conversion_custom_variable = 153; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable $var - * @return $this - */ - public function setConversionCustomVariable($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable::class); - $this->conversion_custom_variable = $var; - - return $this; - } - - /** - * The ConversionGoalCampaignConfig referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 177; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig|null - */ - public function getConversionGoalCampaignConfig() - { - return $this->conversion_goal_campaign_config; - } - - public function hasConversionGoalCampaignConfig() - { - return isset($this->conversion_goal_campaign_config); - } - - public function clearConversionGoalCampaignConfig() - { - unset($this->conversion_goal_campaign_config); - } - - /** - * The ConversionGoalCampaignConfig referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 177; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig $var - * @return $this - */ - public function setConversionGoalCampaignConfig($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig::class); - $this->conversion_goal_campaign_config = $var; - - return $this; - } - - /** - * The conversion value rule referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule conversion_value_rule = 164; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule|null - */ - public function getConversionValueRule() - { - return $this->conversion_value_rule; - } - - public function hasConversionValueRule() - { - return isset($this->conversion_value_rule); - } - - public function clearConversionValueRule() - { - unset($this->conversion_value_rule); - } - - /** - * The conversion value rule referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule conversion_value_rule = 164; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule $var - * @return $this - */ - public function setConversionValueRule($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::class); - $this->conversion_value_rule = $var; - - return $this; - } - - /** - * The conversion value rule set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet conversion_value_rule_set = 165; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet|null - */ - public function getConversionValueRuleSet() - { - return $this->conversion_value_rule_set; - } - - public function hasConversionValueRuleSet() - { - return isset($this->conversion_value_rule_set); - } - - public function clearConversionValueRuleSet() - { - unset($this->conversion_value_rule_set); - } - - /** - * The conversion value rule set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet conversion_value_rule_set = 165; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet $var - * @return $this - */ - public function setConversionValueRuleSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet::class); - $this->conversion_value_rule_set = $var; - - return $this; - } - - /** - * The ClickView referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ClickView click_view = 122; - * @return \Google\Ads\GoogleAds\V15\Resources\ClickView|null - */ - public function getClickView() - { - return $this->click_view; - } - - public function hasClickView() - { - return isset($this->click_view); - } - - public function clearClickView() - { - unset($this->click_view); - } - - /** - * The ClickView referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ClickView click_view = 122; - * @param \Google\Ads\GoogleAds\V15\Resources\ClickView $var - * @return $this - */ - public function setClickView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ClickView::class); - $this->click_view = $var; - - return $this; - } - - /** - * The currency constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CurrencyConstant currency_constant = 134; - * @return \Google\Ads\GoogleAds\V15\Resources\CurrencyConstant|null - */ - public function getCurrencyConstant() - { - return $this->currency_constant; - } - - public function hasCurrencyConstant() - { - return isset($this->currency_constant); - } - - public function clearCurrencyConstant() - { - unset($this->currency_constant); - } - - /** - * The currency constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CurrencyConstant currency_constant = 134; - * @param \Google\Ads\GoogleAds\V15\Resources\CurrencyConstant $var - * @return $this - */ - public function setCurrencyConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CurrencyConstant::class); - $this->currency_constant = $var; - - return $this; - } - - /** - * The CustomAudience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomAudience custom_audience = 147; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomAudience|null - */ - public function getCustomAudience() - { - return $this->custom_audience; - } - - public function hasCustomAudience() - { - return isset($this->custom_audience); - } - - public function clearCustomAudience() - { - unset($this->custom_audience); - } - - /** - * The CustomAudience referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomAudience custom_audience = 147; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomAudience $var - * @return $this - */ - public function setCustomAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomAudience::class); - $this->custom_audience = $var; - - return $this; - } - - /** - * The CustomConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal custom_conversion_goal = 176; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal|null - */ - public function getCustomConversionGoal() - { - return $this->custom_conversion_goal; - } - - public function hasCustomConversionGoal() - { - return isset($this->custom_conversion_goal); - } - - public function clearCustomConversionGoal() - { - unset($this->custom_conversion_goal); - } - - /** - * The CustomConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal custom_conversion_goal = 176; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal $var - * @return $this - */ - public function setCustomConversionGoal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal::class); - $this->custom_conversion_goal = $var; - - return $this; - } - - /** - * The CustomInterest referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomInterest custom_interest = 104; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomInterest|null - */ - public function getCustomInterest() - { - return $this->custom_interest; - } - - public function hasCustomInterest() - { - return isset($this->custom_interest); - } - - public function clearCustomInterest() - { - unset($this->custom_interest); - } - - /** - * The CustomInterest referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomInterest custom_interest = 104; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomInterest $var - * @return $this - */ - public function setCustomInterest($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomInterest::class); - $this->custom_interest = $var; - - return $this; - } - - /** - * The customer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Customer|null - */ - public function getCustomer() - { - return $this->customer; - } - - public function hasCustomer() - { - return isset($this->customer); - } - - public function clearCustomer() - { - unset($this->customer); - } - - /** - * The customer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Customer $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Customer::class); - $this->customer = $var; - - return $this; - } - - /** - * The customer asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 155; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAsset|null - */ - public function getCustomerAsset() - { - return $this->customer_asset; - } - - public function hasCustomerAsset() - { - return isset($this->customer_asset); - } - - public function clearCustomerAsset() - { - unset($this->customer_asset); - } - - /** - * The customer asset referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 155; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $var - * @return $this - */ - public function setCustomerAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAsset::class); - $this->customer_asset = $var; - - return $this; - } - - /** - * The customer asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAssetSet customer_asset_set = 195; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet|null - */ - public function getCustomerAssetSet() - { - return $this->customer_asset_set; - } - - public function hasCustomerAssetSet() - { - return isset($this->customer_asset_set); - } - - public function clearCustomerAssetSet() - { - unset($this->customer_asset_set); - } - - /** - * The customer asset set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAssetSet customer_asset_set = 195; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet $var - * @return $this - */ - public function setCustomerAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet::class); - $this->customer_asset_set = $var; - - return $this; - } - - /** - * The accessible bidding strategy referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy accessible_bidding_strategy = 169; - * @return \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy|null - */ - public function getAccessibleBiddingStrategy() - { - return $this->accessible_bidding_strategy; - } - - public function hasAccessibleBiddingStrategy() - { - return isset($this->accessible_bidding_strategy); - } - - public function clearAccessibleBiddingStrategy() - { - unset($this->accessible_bidding_strategy); - } - - /** - * The accessible bidding strategy referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AccessibleBiddingStrategy accessible_bidding_strategy = 169; - * @param \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy $var - * @return $this - */ - public function setAccessibleBiddingStrategy($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AccessibleBiddingStrategy::class); - $this->accessible_bidding_strategy = $var; - - return $this; - } - - /** - * The customer customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerCustomizer customer_customizer = 184; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer|null - */ - public function getCustomerCustomizer() - { - return $this->customer_customizer; - } - - public function hasCustomerCustomizer() - { - return isset($this->customer_customizer); - } - - public function clearCustomerCustomizer() - { - unset($this->customer_customizer); - } - - /** - * The customer customizer referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerCustomizer customer_customizer = 184; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer $var - * @return $this - */ - public function setCustomerCustomizer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer::class); - $this->customer_customizer = $var; - - return $this; - } - - /** - * The CustomerManagerLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerManagerLink customer_manager_link = 61; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink|null - */ - public function getCustomerManagerLink() - { - return $this->customer_manager_link; - } - - public function hasCustomerManagerLink() - { - return isset($this->customer_manager_link); - } - - public function clearCustomerManagerLink() - { - unset($this->customer_manager_link); - } - - /** - * The CustomerManagerLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerManagerLink customer_manager_link = 61; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink $var - * @return $this - */ - public function setCustomerManagerLink($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerManagerLink::class); - $this->customer_manager_link = $var; - - return $this; - } - - /** - * The CustomerClientLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClientLink customer_client_link = 62; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink|null - */ - public function getCustomerClientLink() - { - return $this->customer_client_link; - } - - public function hasCustomerClientLink() - { - return isset($this->customer_client_link); - } - - public function clearCustomerClientLink() - { - unset($this->customer_client_link); - } - - /** - * The CustomerClientLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClientLink customer_client_link = 62; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink $var - * @return $this - */ - public function setCustomerClientLink($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerClientLink::class); - $this->customer_client_link = $var; - - return $this; - } - - /** - * The CustomerClient referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClient customer_client = 70; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerClient|null - */ - public function getCustomerClient() - { - return $this->customer_client; - } - - public function hasCustomerClient() - { - return isset($this->customer_client); - } - - public function clearCustomerClient() - { - unset($this->customer_client); - } - - /** - * The CustomerClient referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerClient customer_client = 70; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerClient $var - * @return $this - */ - public function setCustomerClient($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerClient::class); - $this->customer_client = $var; - - return $this; - } - - /** - * The CustomerConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerConversionGoal customer_conversion_goal = 174; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal|null - */ - public function getCustomerConversionGoal() - { - return $this->customer_conversion_goal; - } - - public function hasCustomerConversionGoal() - { - return isset($this->customer_conversion_goal); - } - - public function clearCustomerConversionGoal() - { - unset($this->customer_conversion_goal); - } - - /** - * The CustomerConversionGoal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerConversionGoal customer_conversion_goal = 174; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal $var - * @return $this - */ - public function setCustomerConversionGoal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerConversionGoal::class); - $this->customer_conversion_goal = $var; - - return $this; - } - - /** - * The customer extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting customer_extension_setting = 114; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting|null - */ - public function getCustomerExtensionSetting() - { - return $this->customer_extension_setting; - } - - public function hasCustomerExtensionSetting() - { - return isset($this->customer_extension_setting); - } - - public function clearCustomerExtensionSetting() - { - unset($this->customer_extension_setting); - } - - /** - * The customer extension setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting customer_extension_setting = 114; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting $var - * @return $this - */ - public function setCustomerExtensionSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting::class); - $this->customer_extension_setting = $var; - - return $this; - } - - /** - * The customer feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed customer_feed = 64; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerFeed|null - */ - public function getCustomerFeed() - { - return $this->customer_feed; - } - - public function hasCustomerFeed() - { - return isset($this->customer_feed); - } - - public function clearCustomerFeed() - { - unset($this->customer_feed); - } - - /** - * The customer feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed customer_feed = 64; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerFeed $var - * @return $this - */ - public function setCustomerFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerFeed::class); - $this->customer_feed = $var; - - return $this; - } - - /** - * The customer label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLabel customer_label = 124; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerLabel|null - */ - public function getCustomerLabel() - { - return $this->customer_label; - } - - public function hasCustomerLabel() - { - return isset($this->customer_label); - } - - public function clearCustomerLabel() - { - unset($this->customer_label); - } - - /** - * The customer label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLabel customer_label = 124; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerLabel $var - * @return $this - */ - public function setCustomerLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerLabel::class); - $this->customer_label = $var; - - return $this; - } - - /** - * The customer lifecycle goal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLifecycleGoal customer_lifecycle_goal = 212; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal|null - */ - public function getCustomerLifecycleGoal() - { - return $this->customer_lifecycle_goal; - } - - public function hasCustomerLifecycleGoal() - { - return isset($this->customer_lifecycle_goal); - } - - public function clearCustomerLifecycleGoal() - { - unset($this->customer_lifecycle_goal); - } - - /** - * The customer lifecycle goal referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerLifecycleGoal customer_lifecycle_goal = 212; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal $var - * @return $this - */ - public function setCustomerLifecycleGoal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerLifecycleGoal::class); - $this->customer_lifecycle_goal = $var; - - return $this; - } - - /** - * The customer negative criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerNegativeCriterion customer_negative_criterion = 88; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion|null - */ - public function getCustomerNegativeCriterion() - { - return $this->customer_negative_criterion; - } - - public function hasCustomerNegativeCriterion() - { - return isset($this->customer_negative_criterion); - } - - public function clearCustomerNegativeCriterion() - { - unset($this->customer_negative_criterion); - } - - /** - * The customer negative criterion referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerNegativeCriterion customer_negative_criterion = 88; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion $var - * @return $this - */ - public function setCustomerNegativeCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion::class); - $this->customer_negative_criterion = $var; - - return $this; - } - - /** - * The customer search term insight referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSearchTermInsight customer_search_term_insight = 205; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerSearchTermInsight|null - */ - public function getCustomerSearchTermInsight() - { - return $this->customer_search_term_insight; - } - - public function hasCustomerSearchTermInsight() - { - return isset($this->customer_search_term_insight); - } - - public function clearCustomerSearchTermInsight() - { - unset($this->customer_search_term_insight); - } - - /** - * The customer search term insight referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerSearchTermInsight customer_search_term_insight = 205; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerSearchTermInsight $var - * @return $this - */ - public function setCustomerSearchTermInsight($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerSearchTermInsight::class); - $this->customer_search_term_insight = $var; - - return $this; - } - - /** - * The CustomerUserAccess referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccess customer_user_access = 146; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess|null - */ - public function getCustomerUserAccess() - { - return $this->customer_user_access; - } - - public function hasCustomerUserAccess() - { - return isset($this->customer_user_access); - } - - public function clearCustomerUserAccess() - { - unset($this->customer_user_access); - } - - /** - * The CustomerUserAccess referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccess customer_user_access = 146; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess $var - * @return $this - */ - public function setCustomerUserAccess($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccess::class); - $this->customer_user_access = $var; - - return $this; - } - - /** - * The CustomerUserAccessInvitation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccessInvitation customer_user_access_invitation = 150; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation|null - */ - public function getCustomerUserAccessInvitation() - { - return $this->customer_user_access_invitation; - } - - public function hasCustomerUserAccessInvitation() - { - return isset($this->customer_user_access_invitation); - } - - public function clearCustomerUserAccessInvitation() - { - unset($this->customer_user_access_invitation); - } - - /** - * The CustomerUserAccessInvitation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerUserAccessInvitation customer_user_access_invitation = 150; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation $var - * @return $this - */ - public function setCustomerUserAccessInvitation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerUserAccessInvitation::class); - $this->customer_user_access_invitation = $var; - - return $this; - } - - /** - * The customizer attribute referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomizerAttribute customizer_attribute = 178; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute|null - */ - public function getCustomizerAttribute() - { - return $this->customizer_attribute; - } - - public function hasCustomizerAttribute() - { - return isset($this->customizer_attribute); - } - - public function clearCustomizerAttribute() - { - unset($this->customizer_attribute); - } - - /** - * The customizer attribute referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomizerAttribute customizer_attribute = 178; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute $var - * @return $this - */ - public function setCustomizerAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute::class); - $this->customizer_attribute = $var; - - return $this; - } - - /** - * The detail placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DetailPlacementView detail_placement_view = 118; - * @return \Google\Ads\GoogleAds\V15\Resources\DetailPlacementView|null - */ - public function getDetailPlacementView() - { - return $this->detail_placement_view; - } - - public function hasDetailPlacementView() - { - return isset($this->detail_placement_view); - } - - public function clearDetailPlacementView() - { - unset($this->detail_placement_view); - } - - /** - * The detail placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DetailPlacementView detail_placement_view = 118; - * @param \Google\Ads\GoogleAds\V15\Resources\DetailPlacementView $var - * @return $this - */ - public function setDetailPlacementView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\DetailPlacementView::class); - $this->detail_placement_view = $var; - - return $this; - } - - /** - * The detailed demographic referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DetailedDemographic detailed_demographic = 166; - * @return \Google\Ads\GoogleAds\V15\Resources\DetailedDemographic|null - */ - public function getDetailedDemographic() - { - return $this->detailed_demographic; - } - - public function hasDetailedDemographic() - { - return isset($this->detailed_demographic); - } - - public function clearDetailedDemographic() - { - unset($this->detailed_demographic); - } - - /** - * The detailed demographic referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DetailedDemographic detailed_demographic = 166; - * @param \Google\Ads\GoogleAds\V15\Resources\DetailedDemographic $var - * @return $this - */ - public function setDetailedDemographic($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\DetailedDemographic::class); - $this->detailed_demographic = $var; - - return $this; - } - - /** - * The display keyword view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DisplayKeywordView display_keyword_view = 47; - * @return \Google\Ads\GoogleAds\V15\Resources\DisplayKeywordView|null - */ - public function getDisplayKeywordView() - { - return $this->display_keyword_view; - } - - public function hasDisplayKeywordView() - { - return isset($this->display_keyword_view); - } - - public function clearDisplayKeywordView() - { - unset($this->display_keyword_view); - } - - /** - * The display keyword view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DisplayKeywordView display_keyword_view = 47; - * @param \Google\Ads\GoogleAds\V15\Resources\DisplayKeywordView $var - * @return $this - */ - public function setDisplayKeywordView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\DisplayKeywordView::class); - $this->display_keyword_view = $var; - - return $this; - } - - /** - * The distance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DistanceView distance_view = 132; - * @return \Google\Ads\GoogleAds\V15\Resources\DistanceView|null - */ - public function getDistanceView() - { - return $this->distance_view; - } - - public function hasDistanceView() - { - return isset($this->distance_view); - } - - public function clearDistanceView() - { - unset($this->distance_view); - } - - /** - * The distance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DistanceView distance_view = 132; - * @param \Google\Ads\GoogleAds\V15\Resources\DistanceView $var - * @return $this - */ - public function setDistanceView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\DistanceView::class); - $this->distance_view = $var; - - return $this; - } - - /** - * The dynamic search ads search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DynamicSearchAdsSearchTermView dynamic_search_ads_search_term_view = 106; - * @return \Google\Ads\GoogleAds\V15\Resources\DynamicSearchAdsSearchTermView|null - */ - public function getDynamicSearchAdsSearchTermView() - { - return $this->dynamic_search_ads_search_term_view; - } - - public function hasDynamicSearchAdsSearchTermView() - { - return isset($this->dynamic_search_ads_search_term_view); - } - - public function clearDynamicSearchAdsSearchTermView() - { - unset($this->dynamic_search_ads_search_term_view); - } - - /** - * The dynamic search ads search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.DynamicSearchAdsSearchTermView dynamic_search_ads_search_term_view = 106; - * @param \Google\Ads\GoogleAds\V15\Resources\DynamicSearchAdsSearchTermView $var - * @return $this - */ - public function setDynamicSearchAdsSearchTermView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\DynamicSearchAdsSearchTermView::class); - $this->dynamic_search_ads_search_term_view = $var; - - return $this; - } - - /** - * The expanded landing page view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExpandedLandingPageView expanded_landing_page_view = 128; - * @return \Google\Ads\GoogleAds\V15\Resources\ExpandedLandingPageView|null - */ - public function getExpandedLandingPageView() - { - return $this->expanded_landing_page_view; - } - - public function hasExpandedLandingPageView() - { - return isset($this->expanded_landing_page_view); - } - - public function clearExpandedLandingPageView() - { - unset($this->expanded_landing_page_view); - } - - /** - * The expanded landing page view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExpandedLandingPageView expanded_landing_page_view = 128; - * @param \Google\Ads\GoogleAds\V15\Resources\ExpandedLandingPageView $var - * @return $this - */ - public function setExpandedLandingPageView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExpandedLandingPageView::class); - $this->expanded_landing_page_view = $var; - - return $this; - } - - /** - * The extension feed item referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem extension_feed_item = 85; - * @return \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem|null - */ - public function getExtensionFeedItem() - { - return $this->extension_feed_item; - } - - public function hasExtensionFeedItem() - { - return isset($this->extension_feed_item); - } - - public function clearExtensionFeedItem() - { - unset($this->extension_feed_item); - } - - /** - * The extension feed item referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem extension_feed_item = 85; - * @param \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem $var - * @return $this - */ - public function setExtensionFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem::class); - $this->extension_feed_item = $var; - - return $this; - } - - /** - * The feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 46; - * @return \Google\Ads\GoogleAds\V15\Resources\Feed|null - */ - public function getFeed() - { - return $this->feed; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * The feed referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 46; - * @param \Google\Ads\GoogleAds\V15\Resources\Feed $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Feed::class); - $this->feed = $var; - - return $this; - } - - /** - * The feed item referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 50; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItem|null - */ - public function getFeedItem() - { - return $this->feed_item; - } - - public function hasFeedItem() - { - return isset($this->feed_item); - } - - public function clearFeedItem() - { - unset($this->feed_item); - } - - /** - * The feed item referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 50; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItem $var - * @return $this - */ - public function setFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItem::class); - $this->feed_item = $var; - - return $this; - } - - /** - * The feed item set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSet feed_item_set = 149; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItemSet|null - */ - public function getFeedItemSet() - { - return $this->feed_item_set; - } - - public function hasFeedItemSet() - { - return isset($this->feed_item_set); - } - - public function clearFeedItemSet() - { - unset($this->feed_item_set); - } - - /** - * The feed item set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSet feed_item_set = 149; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItemSet $var - * @return $this - */ - public function setFeedItemSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItemSet::class); - $this->feed_item_set = $var; - - return $this; - } - - /** - * The feed item set link referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSetLink feed_item_set_link = 151; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink|null - */ - public function getFeedItemSetLink() - { - return $this->feed_item_set_link; - } - - public function hasFeedItemSetLink() - { - return isset($this->feed_item_set_link); - } - - public function clearFeedItemSetLink() - { - unset($this->feed_item_set_link); - } - - /** - * The feed item set link referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemSetLink feed_item_set_link = 151; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink $var - * @return $this - */ - public function setFeedItemSetLink($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItemSetLink::class); - $this->feed_item_set_link = $var; - - return $this; - } - - /** - * The feed item target referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemTarget feed_item_target = 116; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget|null - */ - public function getFeedItemTarget() - { - return $this->feed_item_target; - } - - public function hasFeedItemTarget() - { - return isset($this->feed_item_target); - } - - public function clearFeedItemTarget() - { - unset($this->feed_item_target); - } - - /** - * The feed item target referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemTarget feed_item_target = 116; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget $var - * @return $this - */ - public function setFeedItemTarget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget::class); - $this->feed_item_target = $var; - - return $this; - } - - /** - * The feed mapping referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedMapping feed_mapping = 58; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedMapping|null - */ - public function getFeedMapping() - { - return $this->feed_mapping; - } - - public function hasFeedMapping() - { - return isset($this->feed_mapping); - } - - public function clearFeedMapping() - { - unset($this->feed_mapping); - } - - /** - * The feed mapping referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedMapping feed_mapping = 58; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedMapping $var - * @return $this - */ - public function setFeedMapping($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedMapping::class); - $this->feed_mapping = $var; - - return $this; - } - - /** - * The feed placeholder view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedPlaceholderView feed_placeholder_view = 97; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedPlaceholderView|null - */ - public function getFeedPlaceholderView() - { - return $this->feed_placeholder_view; - } - - public function hasFeedPlaceholderView() - { - return isset($this->feed_placeholder_view); - } - - public function clearFeedPlaceholderView() - { - unset($this->feed_placeholder_view); - } - - /** - * The feed placeholder view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedPlaceholderView feed_placeholder_view = 97; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedPlaceholderView $var - * @return $this - */ - public function setFeedPlaceholderView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedPlaceholderView::class); - $this->feed_placeholder_view = $var; - - return $this; - } - - /** - * The gender view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GenderView gender_view = 40; - * @return \Google\Ads\GoogleAds\V15\Resources\GenderView|null - */ - public function getGenderView() - { - return $this->gender_view; - } - - public function hasGenderView() - { - return isset($this->gender_view); - } - - public function clearGenderView() - { - unset($this->gender_view); - } - - /** - * The gender view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GenderView gender_view = 40; - * @param \Google\Ads\GoogleAds\V15\Resources\GenderView $var - * @return $this - */ - public function setGenderView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\GenderView::class); - $this->gender_view = $var; - - return $this; - } - - /** - * The geo target constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant = 23; - * @return \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant|null - */ - public function getGeoTargetConstant() - { - return $this->geo_target_constant; - } - - public function hasGeoTargetConstant() - { - return isset($this->geo_target_constant); - } - - public function clearGeoTargetConstant() - { - unset($this->geo_target_constant); - } - - /** - * The geo target constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant = 23; - * @param \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant $var - * @return $this - */ - public function setGeoTargetConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\GeoTargetConstant::class); - $this->geo_target_constant = $var; - - return $this; - } - - /** - * The geographic view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeographicView geographic_view = 125; - * @return \Google\Ads\GoogleAds\V15\Resources\GeographicView|null - */ - public function getGeographicView() - { - return $this->geographic_view; - } - - public function hasGeographicView() - { - return isset($this->geographic_view); - } - - public function clearGeographicView() - { - unset($this->geographic_view); - } - - /** - * The geographic view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GeographicView geographic_view = 125; - * @param \Google\Ads\GoogleAds\V15\Resources\GeographicView $var - * @return $this - */ - public function setGeographicView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\GeographicView::class); - $this->geographic_view = $var; - - return $this; - } - - /** - * The group placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GroupPlacementView group_placement_view = 119; - * @return \Google\Ads\GoogleAds\V15\Resources\GroupPlacementView|null - */ - public function getGroupPlacementView() - { - return $this->group_placement_view; - } - - public function hasGroupPlacementView() - { - return isset($this->group_placement_view); - } - - public function clearGroupPlacementView() - { - unset($this->group_placement_view); - } - - /** - * The group placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.GroupPlacementView group_placement_view = 119; - * @param \Google\Ads\GoogleAds\V15\Resources\GroupPlacementView $var - * @return $this - */ - public function setGroupPlacementView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\GroupPlacementView::class); - $this->group_placement_view = $var; - - return $this; - } - - /** - * The hotel group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelGroupView hotel_group_view = 51; - * @return \Google\Ads\GoogleAds\V15\Resources\HotelGroupView|null - */ - public function getHotelGroupView() - { - return $this->hotel_group_view; - } - - public function hasHotelGroupView() - { - return isset($this->hotel_group_view); - } - - public function clearHotelGroupView() - { - unset($this->hotel_group_view); - } - - /** - * The hotel group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelGroupView hotel_group_view = 51; - * @param \Google\Ads\GoogleAds\V15\Resources\HotelGroupView $var - * @return $this - */ - public function setHotelGroupView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\HotelGroupView::class); - $this->hotel_group_view = $var; - - return $this; - } - - /** - * The hotel performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelPerformanceView hotel_performance_view = 71; - * @return \Google\Ads\GoogleAds\V15\Resources\HotelPerformanceView|null - */ - public function getHotelPerformanceView() - { - return $this->hotel_performance_view; - } - - public function hasHotelPerformanceView() - { - return isset($this->hotel_performance_view); - } - - public function clearHotelPerformanceView() - { - unset($this->hotel_performance_view); - } - - /** - * The hotel performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelPerformanceView hotel_performance_view = 71; - * @param \Google\Ads\GoogleAds\V15\Resources\HotelPerformanceView $var - * @return $this - */ - public function setHotelPerformanceView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\HotelPerformanceView::class); - $this->hotel_performance_view = $var; - - return $this; - } - - /** - * The hotel reconciliation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelReconciliation hotel_reconciliation = 188; - * @return \Google\Ads\GoogleAds\V15\Resources\HotelReconciliation|null - */ - public function getHotelReconciliation() - { - return $this->hotel_reconciliation; - } - - public function hasHotelReconciliation() - { - return isset($this->hotel_reconciliation); - } - - public function clearHotelReconciliation() - { - unset($this->hotel_reconciliation); - } - - /** - * The hotel reconciliation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.HotelReconciliation hotel_reconciliation = 188; - * @param \Google\Ads\GoogleAds\V15\Resources\HotelReconciliation $var - * @return $this - */ - public function setHotelReconciliation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\HotelReconciliation::class); - $this->hotel_reconciliation = $var; - - return $this; - } - - /** - * The income range view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.IncomeRangeView income_range_view = 138; - * @return \Google\Ads\GoogleAds\V15\Resources\IncomeRangeView|null - */ - public function getIncomeRangeView() - { - return $this->income_range_view; - } - - public function hasIncomeRangeView() - { - return isset($this->income_range_view); - } - - public function clearIncomeRangeView() - { - unset($this->income_range_view); - } - - /** - * The income range view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.IncomeRangeView income_range_view = 138; - * @param \Google\Ads\GoogleAds\V15\Resources\IncomeRangeView $var - * @return $this - */ - public function setIncomeRangeView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\IncomeRangeView::class); - $this->income_range_view = $var; - - return $this; - } - - /** - * The keyword view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordView keyword_view = 21; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordView|null - */ - public function getKeywordView() - { - return $this->keyword_view; - } - - public function hasKeywordView() - { - return isset($this->keyword_view); - } - - public function clearKeywordView() - { - unset($this->keyword_view); - } - - /** - * The keyword view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordView keyword_view = 21; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordView $var - * @return $this - */ - public function setKeywordView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordView::class); - $this->keyword_view = $var; - - return $this; - } - - /** - * The keyword plan referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlan keyword_plan = 32; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlan|null - */ - public function getKeywordPlan() - { - return $this->keyword_plan; - } - - public function hasKeywordPlan() - { - return isset($this->keyword_plan); - } - - public function clearKeywordPlan() - { - unset($this->keyword_plan); - } - - /** - * The keyword plan referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlan keyword_plan = 32; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlan $var - * @return $this - */ - public function setKeywordPlan($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlan::class); - $this->keyword_plan = $var; - - return $this; - } - - /** - * The keyword plan campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaign keyword_plan_campaign = 33; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign|null - */ - public function getKeywordPlanCampaign() - { - return $this->keyword_plan_campaign; - } - - public function hasKeywordPlanCampaign() - { - return isset($this->keyword_plan_campaign); - } - - public function clearKeywordPlanCampaign() - { - unset($this->keyword_plan_campaign); - } - - /** - * The keyword plan campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaign keyword_plan_campaign = 33; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign $var - * @return $this - */ - public function setKeywordPlanCampaign($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign::class); - $this->keyword_plan_campaign = $var; - - return $this; - } - - /** - * The keyword plan campaign keyword referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword keyword_plan_campaign_keyword = 140; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword|null - */ - public function getKeywordPlanCampaignKeyword() - { - return $this->keyword_plan_campaign_keyword; - } - - public function hasKeywordPlanCampaignKeyword() - { - return isset($this->keyword_plan_campaign_keyword); - } - - public function clearKeywordPlanCampaignKeyword() - { - unset($this->keyword_plan_campaign_keyword); - } - - /** - * The keyword plan campaign keyword referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword keyword_plan_campaign_keyword = 140; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword $var - * @return $this - */ - public function setKeywordPlanCampaignKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword::class); - $this->keyword_plan_campaign_keyword = $var; - - return $this; - } - - /** - * The keyword plan ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroup keyword_plan_ad_group = 35; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup|null - */ - public function getKeywordPlanAdGroup() - { - return $this->keyword_plan_ad_group; - } - - public function hasKeywordPlanAdGroup() - { - return isset($this->keyword_plan_ad_group); - } - - public function clearKeywordPlanAdGroup() - { - unset($this->keyword_plan_ad_group); - } - - /** - * The keyword plan ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroup keyword_plan_ad_group = 35; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup $var - * @return $this - */ - public function setKeywordPlanAdGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup::class); - $this->keyword_plan_ad_group = $var; - - return $this; - } - - /** - * The keyword plan ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword keyword_plan_ad_group_keyword = 141; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword|null - */ - public function getKeywordPlanAdGroupKeyword() - { - return $this->keyword_plan_ad_group_keyword; - } - - public function hasKeywordPlanAdGroupKeyword() - { - return isset($this->keyword_plan_ad_group_keyword); - } - - public function clearKeywordPlanAdGroupKeyword() - { - unset($this->keyword_plan_ad_group_keyword); - } - - /** - * The keyword plan ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword keyword_plan_ad_group_keyword = 141; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword $var - * @return $this - */ - public function setKeywordPlanAdGroupKeyword($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword::class); - $this->keyword_plan_ad_group_keyword = $var; - - return $this; - } - - /** - * The keyword theme constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constant = 163; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant|null - */ - public function getKeywordThemeConstant() - { - return $this->keyword_theme_constant; - } - - public function hasKeywordThemeConstant() - { - return isset($this->keyword_theme_constant); - } - - public function clearKeywordThemeConstant() - { - unset($this->keyword_theme_constant); - } - - /** - * The keyword theme constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constant = 163; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant $var - * @return $this - */ - public function setKeywordThemeConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant::class); - $this->keyword_theme_constant = $var; - - return $this; - } - - /** - * The label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label label = 52; - * @return \Google\Ads\GoogleAds\V15\Resources\Label|null - */ - public function getLabel() - { - return $this->label; - } - - public function hasLabel() - { - return isset($this->label); - } - - public function clearLabel() - { - unset($this->label); - } - - /** - * The label referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label label = 52; - * @param \Google\Ads\GoogleAds\V15\Resources\Label $var - * @return $this - */ - public function setLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Label::class); - $this->label = $var; - - return $this; - } - - /** - * The landing page view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LandingPageView landing_page_view = 126; - * @return \Google\Ads\GoogleAds\V15\Resources\LandingPageView|null - */ - public function getLandingPageView() - { - return $this->landing_page_view; - } - - public function hasLandingPageView() - { - return isset($this->landing_page_view); - } - - public function clearLandingPageView() - { - unset($this->landing_page_view); - } - - /** - * The landing page view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LandingPageView landing_page_view = 126; - * @param \Google\Ads\GoogleAds\V15\Resources\LandingPageView $var - * @return $this - */ - public function setLandingPageView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LandingPageView::class); - $this->landing_page_view = $var; - - return $this; - } - - /** - * The language constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LanguageConstant language_constant = 55; - * @return \Google\Ads\GoogleAds\V15\Resources\LanguageConstant|null - */ - public function getLanguageConstant() - { - return $this->language_constant; - } - - public function hasLanguageConstant() - { - return isset($this->language_constant); - } - - public function clearLanguageConstant() - { - unset($this->language_constant); - } - - /** - * The language constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LanguageConstant language_constant = 55; - * @param \Google\Ads\GoogleAds\V15\Resources\LanguageConstant $var - * @return $this - */ - public function setLanguageConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LanguageConstant::class); - $this->language_constant = $var; - - return $this; - } - - /** - * The location view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocationView location_view = 123; - * @return \Google\Ads\GoogleAds\V15\Resources\LocationView|null - */ - public function getLocationView() - { - return $this->location_view; - } - - public function hasLocationView() - { - return isset($this->location_view); - } - - public function clearLocationView() - { - unset($this->location_view); - } - - /** - * The location view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocationView location_view = 123; - * @param \Google\Ads\GoogleAds\V15\Resources\LocationView $var - * @return $this - */ - public function setLocationView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LocationView::class); - $this->location_view = $var; - - return $this; - } - - /** - * The managed placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ManagedPlacementView managed_placement_view = 53; - * @return \Google\Ads\GoogleAds\V15\Resources\ManagedPlacementView|null - */ - public function getManagedPlacementView() - { - return $this->managed_placement_view; - } - - public function hasManagedPlacementView() - { - return isset($this->managed_placement_view); - } - - public function clearManagedPlacementView() - { - unset($this->managed_placement_view); - } - - /** - * The managed placement view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ManagedPlacementView managed_placement_view = 53; - * @param \Google\Ads\GoogleAds\V15\Resources\ManagedPlacementView $var - * @return $this - */ - public function setManagedPlacementView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ManagedPlacementView::class); - $this->managed_placement_view = $var; - - return $this; - } - - /** - * The media file referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaFile media_file = 90; - * @return \Google\Ads\GoogleAds\V15\Resources\MediaFile|null - */ - public function getMediaFile() - { - return $this->media_file; - } - - public function hasMediaFile() - { - return isset($this->media_file); - } - - public function clearMediaFile() - { - unset($this->media_file); - } - - /** - * The media file referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MediaFile media_file = 90; - * @param \Google\Ads\GoogleAds\V15\Resources\MediaFile $var - * @return $this - */ - public function setMediaFile($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MediaFile::class); - $this->media_file = $var; - - return $this; - } - - /** - * The local services verification artifact referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesVerificationArtifact local_services_verification_artifact = 211; - * @return \Google\Ads\GoogleAds\V15\Resources\LocalServicesVerificationArtifact|null - */ - public function getLocalServicesVerificationArtifact() - { - return $this->local_services_verification_artifact; - } - - public function hasLocalServicesVerificationArtifact() - { - return isset($this->local_services_verification_artifact); - } - - public function clearLocalServicesVerificationArtifact() - { - unset($this->local_services_verification_artifact); - } - - /** - * The local services verification artifact referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesVerificationArtifact local_services_verification_artifact = 211; - * @param \Google\Ads\GoogleAds\V15\Resources\LocalServicesVerificationArtifact $var - * @return $this - */ - public function setLocalServicesVerificationArtifact($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LocalServicesVerificationArtifact::class); - $this->local_services_verification_artifact = $var; - - return $this; - } - - /** - * The mobile app category constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MobileAppCategoryConstant mobile_app_category_constant = 87; - * @return \Google\Ads\GoogleAds\V15\Resources\MobileAppCategoryConstant|null - */ - public function getMobileAppCategoryConstant() - { - return $this->mobile_app_category_constant; - } - - public function hasMobileAppCategoryConstant() - { - return isset($this->mobile_app_category_constant); - } - - public function clearMobileAppCategoryConstant() - { - unset($this->mobile_app_category_constant); - } - - /** - * The mobile app category constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MobileAppCategoryConstant mobile_app_category_constant = 87; - * @param \Google\Ads\GoogleAds\V15\Resources\MobileAppCategoryConstant $var - * @return $this - */ - public function setMobileAppCategoryConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MobileAppCategoryConstant::class); - $this->mobile_app_category_constant = $var; - - return $this; - } - - /** - * The mobile device constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MobileDeviceConstant mobile_device_constant = 98; - * @return \Google\Ads\GoogleAds\V15\Resources\MobileDeviceConstant|null - */ - public function getMobileDeviceConstant() - { - return $this->mobile_device_constant; - } - - public function hasMobileDeviceConstant() - { - return isset($this->mobile_device_constant); - } - - public function clearMobileDeviceConstant() - { - unset($this->mobile_device_constant); - } - - /** - * The mobile device constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.MobileDeviceConstant mobile_device_constant = 98; - * @param \Google\Ads\GoogleAds\V15\Resources\MobileDeviceConstant $var - * @return $this - */ - public function setMobileDeviceConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\MobileDeviceConstant::class); - $this->mobile_device_constant = $var; - - return $this; - } - - /** - * Offline conversion upload client summary. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineConversionUploadClientSummary offline_conversion_upload_client_summary = 216; - * @return \Google\Ads\GoogleAds\V15\Resources\OfflineConversionUploadClientSummary|null - */ - public function getOfflineConversionUploadClientSummary() - { - return $this->offline_conversion_upload_client_summary; - } - - public function hasOfflineConversionUploadClientSummary() - { - return isset($this->offline_conversion_upload_client_summary); - } - - public function clearOfflineConversionUploadClientSummary() - { - unset($this->offline_conversion_upload_client_summary); - } - - /** - * Offline conversion upload client summary. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineConversionUploadClientSummary offline_conversion_upload_client_summary = 216; - * @param \Google\Ads\GoogleAds\V15\Resources\OfflineConversionUploadClientSummary $var - * @return $this - */ - public function setOfflineConversionUploadClientSummary($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\OfflineConversionUploadClientSummary::class); - $this->offline_conversion_upload_client_summary = $var; - - return $this; - } - - /** - * The offline user data job referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJob offline_user_data_job = 137; - * @return \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob|null - */ - public function getOfflineUserDataJob() - { - return $this->offline_user_data_job; - } - - public function hasOfflineUserDataJob() - { - return isset($this->offline_user_data_job); - } - - public function clearOfflineUserDataJob() - { - unset($this->offline_user_data_job); - } - - /** - * The offline user data job referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OfflineUserDataJob offline_user_data_job = 137; - * @param \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob $var - * @return $this - */ - public function setOfflineUserDataJob($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJob::class); - $this->offline_user_data_job = $var; - - return $this; - } - - /** - * The operating system version constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OperatingSystemVersionConstant operating_system_version_constant = 86; - * @return \Google\Ads\GoogleAds\V15\Resources\OperatingSystemVersionConstant|null - */ - public function getOperatingSystemVersionConstant() - { - return $this->operating_system_version_constant; - } - - public function hasOperatingSystemVersionConstant() - { - return isset($this->operating_system_version_constant); - } - - public function clearOperatingSystemVersionConstant() - { - unset($this->operating_system_version_constant); - } - - /** - * The operating system version constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.OperatingSystemVersionConstant operating_system_version_constant = 86; - * @param \Google\Ads\GoogleAds\V15\Resources\OperatingSystemVersionConstant $var - * @return $this - */ - public function setOperatingSystemVersionConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\OperatingSystemVersionConstant::class); - $this->operating_system_version_constant = $var; - - return $this; - } - - /** - * The paid organic search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.PaidOrganicSearchTermView paid_organic_search_term_view = 129; - * @return \Google\Ads\GoogleAds\V15\Resources\PaidOrganicSearchTermView|null - */ - public function getPaidOrganicSearchTermView() - { - return $this->paid_organic_search_term_view; - } - - public function hasPaidOrganicSearchTermView() - { - return isset($this->paid_organic_search_term_view); - } - - public function clearPaidOrganicSearchTermView() - { - unset($this->paid_organic_search_term_view); - } - - /** - * The paid organic search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.PaidOrganicSearchTermView paid_organic_search_term_view = 129; - * @param \Google\Ads\GoogleAds\V15\Resources\PaidOrganicSearchTermView $var - * @return $this - */ - public function setPaidOrganicSearchTermView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\PaidOrganicSearchTermView::class); - $this->paid_organic_search_term_view = $var; - - return $this; - } - - /** - * The qualifying question referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.QualifyingQuestion qualifying_question = 202; - * @return \Google\Ads\GoogleAds\V15\Resources\QualifyingQuestion|null - */ - public function getQualifyingQuestion() - { - return $this->qualifying_question; - } - - public function hasQualifyingQuestion() - { - return isset($this->qualifying_question); - } - - public function clearQualifyingQuestion() - { - unset($this->qualifying_question); - } - - /** - * The qualifying question referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.QualifyingQuestion qualifying_question = 202; - * @param \Google\Ads\GoogleAds\V15\Resources\QualifyingQuestion $var - * @return $this - */ - public function setQualifyingQuestion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\QualifyingQuestion::class); - $this->qualifying_question = $var; - - return $this; - } - - /** - * The parental status view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ParentalStatusView parental_status_view = 45; - * @return \Google\Ads\GoogleAds\V15\Resources\ParentalStatusView|null - */ - public function getParentalStatusView() - { - return $this->parental_status_view; - } - - public function hasParentalStatusView() - { - return isset($this->parental_status_view); - } - - public function clearParentalStatusView() - { - unset($this->parental_status_view); - } - - /** - * The parental status view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ParentalStatusView parental_status_view = 45; - * @param \Google\Ads\GoogleAds\V15\Resources\ParentalStatusView $var - * @return $this - */ - public function setParentalStatusView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ParentalStatusView::class); - $this->parental_status_view = $var; - - return $this; - } - - /** - * The per store view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.PerStoreView per_store_view = 198; - * @return \Google\Ads\GoogleAds\V15\Resources\PerStoreView|null - */ - public function getPerStoreView() - { - return $this->per_store_view; - } - - public function hasPerStoreView() - { - return isset($this->per_store_view); - } - - public function clearPerStoreView() - { - unset($this->per_store_view); - } - - /** - * The per store view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.PerStoreView per_store_view = 198; - * @param \Google\Ads\GoogleAds\V15\Resources\PerStoreView $var - * @return $this - */ - public function setPerStoreView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\PerStoreView::class); - $this->per_store_view = $var; - - return $this; - } - - /** - * The product category referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductCategoryConstant product_category_constant = 208; - * @return \Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant|null - */ - public function getProductCategoryConstant() - { - return $this->product_category_constant; - } - - public function hasProductCategoryConstant() - { - return isset($this->product_category_constant); - } - - public function clearProductCategoryConstant() - { - unset($this->product_category_constant); - } - - /** - * The product category referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductCategoryConstant product_category_constant = 208; - * @param \Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant $var - * @return $this - */ - public function setProductCategoryConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ProductCategoryConstant::class); - $this->product_category_constant = $var; - - return $this; - } - - /** - * The product group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductGroupView product_group_view = 54; - * @return \Google\Ads\GoogleAds\V15\Resources\ProductGroupView|null - */ - public function getProductGroupView() - { - return $this->product_group_view; - } - - public function hasProductGroupView() - { - return isset($this->product_group_view); - } - - public function clearProductGroupView() - { - unset($this->product_group_view); - } - - /** - * The product group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductGroupView product_group_view = 54; - * @param \Google\Ads\GoogleAds\V15\Resources\ProductGroupView $var - * @return $this - */ - public function setProductGroupView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ProductGroupView::class); - $this->product_group_view = $var; - - return $this; - } - - /** - * The product link referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLink product_link = 194; - * @return \Google\Ads\GoogleAds\V15\Resources\ProductLink|null - */ - public function getProductLink() - { - return $this->product_link; - } - - public function hasProductLink() - { - return isset($this->product_link); - } - - public function clearProductLink() - { - unset($this->product_link); - } - - /** - * The product link referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLink product_link = 194; - * @param \Google\Ads\GoogleAds\V15\Resources\ProductLink $var - * @return $this - */ - public function setProductLink($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ProductLink::class); - $this->product_link = $var; - - return $this; - } - - /** - * The product link invitation in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLinkInvitation product_link_invitation = 209; - * @return \Google\Ads\GoogleAds\V15\Resources\ProductLinkInvitation|null - */ - public function getProductLinkInvitation() - { - return $this->product_link_invitation; - } - - public function hasProductLinkInvitation() - { - return isset($this->product_link_invitation); - } - - public function clearProductLinkInvitation() - { - unset($this->product_link_invitation); - } - - /** - * The product link invitation in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ProductLinkInvitation product_link_invitation = 209; - * @param \Google\Ads\GoogleAds\V15\Resources\ProductLinkInvitation $var - * @return $this - */ - public function setProductLinkInvitation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ProductLinkInvitation::class); - $this->product_link_invitation = $var; - - return $this; - } - - /** - * The recommendation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation recommendation = 22; - * @return \Google\Ads\GoogleAds\V15\Resources\Recommendation|null - */ - public function getRecommendation() - { - return $this->recommendation; - } - - public function hasRecommendation() - { - return isset($this->recommendation); - } - - public function clearRecommendation() - { - unset($this->recommendation); - } - - /** - * The recommendation referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Recommendation recommendation = 22; - * @param \Google\Ads\GoogleAds\V15\Resources\Recommendation $var - * @return $this - */ - public function setRecommendation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Recommendation::class); - $this->recommendation = $var; - - return $this; - } - - /** - * The recommendation subscription referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription recommendation_subscription = 220; - * @return \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription|null - */ - public function getRecommendationSubscription() - { - return $this->recommendation_subscription; - } - - public function hasRecommendationSubscription() - { - return isset($this->recommendation_subscription); - } - - public function clearRecommendationSubscription() - { - unset($this->recommendation_subscription); - } - - /** - * The recommendation subscription referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription recommendation_subscription = 220; - * @param \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription $var - * @return $this - */ - public function setRecommendationSubscription($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription::class); - $this->recommendation_subscription = $var; - - return $this; - } - - /** - * The search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SearchTermView search_term_view = 68; - * @return \Google\Ads\GoogleAds\V15\Resources\SearchTermView|null - */ - public function getSearchTermView() - { - return $this->search_term_view; - } - - public function hasSearchTermView() - { - return isset($this->search_term_view); - } - - public function clearSearchTermView() - { - unset($this->search_term_view); - } - - /** - * The search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SearchTermView search_term_view = 68; - * @param \Google\Ads\GoogleAds\V15\Resources\SearchTermView $var - * @return $this - */ - public function setSearchTermView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SearchTermView::class); - $this->search_term_view = $var; - - return $this; - } - - /** - * The shared set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedCriterion shared_criterion = 29; - * @return \Google\Ads\GoogleAds\V15\Resources\SharedCriterion|null - */ - public function getSharedCriterion() - { - return $this->shared_criterion; - } - - public function hasSharedCriterion() - { - return isset($this->shared_criterion); - } - - public function clearSharedCriterion() - { - unset($this->shared_criterion); - } - - /** - * The shared set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedCriterion shared_criterion = 29; - * @param \Google\Ads\GoogleAds\V15\Resources\SharedCriterion $var - * @return $this - */ - public function setSharedCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SharedCriterion::class); - $this->shared_criterion = $var; - - return $this; - } - - /** - * The shared set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet shared_set = 27; - * @return \Google\Ads\GoogleAds\V15\Resources\SharedSet|null - */ - public function getSharedSet() - { - return $this->shared_set; - } - - public function hasSharedSet() - { - return isset($this->shared_set); - } - - public function clearSharedSet() - { - unset($this->shared_set); - } - - /** - * The shared set referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet shared_set = 27; - * @param \Google\Ads\GoogleAds\V15\Resources\SharedSet $var - * @return $this - */ - public function setSharedSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SharedSet::class); - $this->shared_set = $var; - - return $this; - } - - /** - * The Smart campaign setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting smart_campaign_setting = 167; - * @return \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting|null - */ - public function getSmartCampaignSetting() - { - return $this->smart_campaign_setting; - } - - public function hasSmartCampaignSetting() - { - return isset($this->smart_campaign_setting); - } - - public function clearSmartCampaignSetting() - { - unset($this->smart_campaign_setting); - } - - /** - * The Smart campaign setting referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting smart_campaign_setting = 167; - * @param \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting $var - * @return $this - */ - public function setSmartCampaignSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting::class); - $this->smart_campaign_setting = $var; - - return $this; - } - - /** - * The shopping performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ShoppingPerformanceView shopping_performance_view = 117; - * @return \Google\Ads\GoogleAds\V15\Resources\ShoppingPerformanceView|null - */ - public function getShoppingPerformanceView() - { - return $this->shopping_performance_view; - } - - public function hasShoppingPerformanceView() - { - return isset($this->shopping_performance_view); - } - - public function clearShoppingPerformanceView() - { - unset($this->shopping_performance_view); - } - - /** - * The shopping performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ShoppingPerformanceView shopping_performance_view = 117; - * @param \Google\Ads\GoogleAds\V15\Resources\ShoppingPerformanceView $var - * @return $this - */ - public function setShoppingPerformanceView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ShoppingPerformanceView::class); - $this->shopping_performance_view = $var; - - return $this; - } - - /** - * The Smart campaign search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSearchTermView smart_campaign_search_term_view = 170; - * @return \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSearchTermView|null - */ - public function getSmartCampaignSearchTermView() - { - return $this->smart_campaign_search_term_view; - } - - public function hasSmartCampaignSearchTermView() - { - return isset($this->smart_campaign_search_term_view); - } - - public function clearSmartCampaignSearchTermView() - { - unset($this->smart_campaign_search_term_view); - } - - /** - * The Smart campaign search term view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSearchTermView smart_campaign_search_term_view = 170; - * @param \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSearchTermView $var - * @return $this - */ - public function setSmartCampaignSearchTermView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSearchTermView::class); - $this->smart_campaign_search_term_view = $var; - - return $this; - } - - /** - * The AccountLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ThirdPartyAppAnalyticsLink third_party_app_analytics_link = 144; - * @return \Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLink|null - */ - public function getThirdPartyAppAnalyticsLink() - { - return $this->third_party_app_analytics_link; - } - - public function hasThirdPartyAppAnalyticsLink() - { - return isset($this->third_party_app_analytics_link); - } - - public function clearThirdPartyAppAnalyticsLink() - { - unset($this->third_party_app_analytics_link); - } - - /** - * The AccountLink referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ThirdPartyAppAnalyticsLink third_party_app_analytics_link = 144; - * @param \Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLink $var - * @return $this - */ - public function setThirdPartyAppAnalyticsLink($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ThirdPartyAppAnalyticsLink::class); - $this->third_party_app_analytics_link = $var; - - return $this; - } - - /** - * The topic view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TopicView topic_view = 44; - * @return \Google\Ads\GoogleAds\V15\Resources\TopicView|null - */ - public function getTopicView() - { - return $this->topic_view; - } - - public function hasTopicView() - { - return isset($this->topic_view); - } - - public function clearTopicView() - { - unset($this->topic_view); - } - - /** - * The topic view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TopicView topic_view = 44; - * @param \Google\Ads\GoogleAds\V15\Resources\TopicView $var - * @return $this - */ - public function setTopicView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\TopicView::class); - $this->topic_view = $var; - - return $this; - } - - /** - * The travel activity group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TravelActivityGroupView travel_activity_group_view = 201; - * @return \Google\Ads\GoogleAds\V15\Resources\TravelActivityGroupView|null - */ - public function getTravelActivityGroupView() - { - return $this->travel_activity_group_view; - } - - public function hasTravelActivityGroupView() - { - return isset($this->travel_activity_group_view); - } - - public function clearTravelActivityGroupView() - { - unset($this->travel_activity_group_view); - } - - /** - * The travel activity group view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TravelActivityGroupView travel_activity_group_view = 201; - * @param \Google\Ads\GoogleAds\V15\Resources\TravelActivityGroupView $var - * @return $this - */ - public function setTravelActivityGroupView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\TravelActivityGroupView::class); - $this->travel_activity_group_view = $var; - - return $this; - } - - /** - * The travel activity performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TravelActivityPerformanceView travel_activity_performance_view = 200; - * @return \Google\Ads\GoogleAds\V15\Resources\TravelActivityPerformanceView|null - */ - public function getTravelActivityPerformanceView() - { - return $this->travel_activity_performance_view; - } - - public function hasTravelActivityPerformanceView() - { - return isset($this->travel_activity_performance_view); - } - - public function clearTravelActivityPerformanceView() - { - unset($this->travel_activity_performance_view); - } - - /** - * The travel activity performance view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TravelActivityPerformanceView travel_activity_performance_view = 200; - * @param \Google\Ads\GoogleAds\V15\Resources\TravelActivityPerformanceView $var - * @return $this - */ - public function setTravelActivityPerformanceView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\TravelActivityPerformanceView::class); - $this->travel_activity_performance_view = $var; - - return $this; - } - - /** - * The experiment referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Experiment experiment = 133; - * @return \Google\Ads\GoogleAds\V15\Resources\Experiment|null - */ - public function getExperiment() - { - return $this->experiment; - } - - public function hasExperiment() - { - return isset($this->experiment); - } - - public function clearExperiment() - { - unset($this->experiment); - } - - /** - * The experiment referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Experiment experiment = 133; - * @param \Google\Ads\GoogleAds\V15\Resources\Experiment $var - * @return $this - */ - public function setExperiment($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Experiment::class); - $this->experiment = $var; - - return $this; - } - - /** - * The experiment arm referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm experiment_arm = 183; - * @return \Google\Ads\GoogleAds\V15\Resources\ExperimentArm|null - */ - public function getExperimentArm() - { - return $this->experiment_arm; - } - - public function hasExperimentArm() - { - return isset($this->experiment_arm); - } - - public function clearExperimentArm() - { - unset($this->experiment_arm); - } - - /** - * The experiment arm referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm experiment_arm = 183; - * @param \Google\Ads\GoogleAds\V15\Resources\ExperimentArm $var - * @return $this - */ - public function setExperimentArm($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExperimentArm::class); - $this->experiment_arm = $var; - - return $this; - } - - /** - * The user interest referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserInterest user_interest = 59; - * @return \Google\Ads\GoogleAds\V15\Resources\UserInterest|null - */ - public function getUserInterest() - { - return $this->user_interest; - } - - public function hasUserInterest() - { - return isset($this->user_interest); - } - - public function clearUserInterest() - { - unset($this->user_interest); - } - - /** - * The user interest referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserInterest user_interest = 59; - * @param \Google\Ads\GoogleAds\V15\Resources\UserInterest $var - * @return $this - */ - public function setUserInterest($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\UserInterest::class); - $this->user_interest = $var; - - return $this; - } - - /** - * The life event referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LifeEvent life_event = 161; - * @return \Google\Ads\GoogleAds\V15\Resources\LifeEvent|null - */ - public function getLifeEvent() - { - return $this->life_event; - } - - public function hasLifeEvent() - { - return isset($this->life_event); - } - - public function clearLifeEvent() - { - unset($this->life_event); - } - - /** - * The life event referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LifeEvent life_event = 161; - * @param \Google\Ads\GoogleAds\V15\Resources\LifeEvent $var - * @return $this - */ - public function setLifeEvent($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LifeEvent::class); - $this->life_event = $var; - - return $this; - } - - /** - * The user list referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserList user_list = 38; - * @return \Google\Ads\GoogleAds\V15\Resources\UserList|null - */ - public function getUserList() - { - return $this->user_list; - } - - public function hasUserList() - { - return isset($this->user_list); - } - - public function clearUserList() - { - unset($this->user_list); - } - - /** - * The user list referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserList user_list = 38; - * @param \Google\Ads\GoogleAds\V15\Resources\UserList $var - * @return $this - */ - public function setUserList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\UserList::class); - $this->user_list = $var; - - return $this; - } - - /** - * The user location view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserLocationView user_location_view = 135; - * @return \Google\Ads\GoogleAds\V15\Resources\UserLocationView|null - */ - public function getUserLocationView() - { - return $this->user_location_view; - } - - public function hasUserLocationView() - { - return isset($this->user_location_view); - } - - public function clearUserLocationView() - { - unset($this->user_location_view); - } - - /** - * The user location view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserLocationView user_location_view = 135; - * @param \Google\Ads\GoogleAds\V15\Resources\UserLocationView $var - * @return $this - */ - public function setUserLocationView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\UserLocationView::class); - $this->user_location_view = $var; - - return $this; - } - - /** - * The remarketing action referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingAction remarketing_action = 60; - * @return \Google\Ads\GoogleAds\V15\Resources\RemarketingAction|null - */ - public function getRemarketingAction() - { - return $this->remarketing_action; - } - - public function hasRemarketingAction() - { - return isset($this->remarketing_action); - } - - public function clearRemarketingAction() - { - unset($this->remarketing_action); - } - - /** - * The remarketing action referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingAction remarketing_action = 60; - * @param \Google\Ads\GoogleAds\V15\Resources\RemarketingAction $var - * @return $this - */ - public function setRemarketingAction($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\RemarketingAction::class); - $this->remarketing_action = $var; - - return $this; - } - - /** - * The topic constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TopicConstant topic_constant = 31; - * @return \Google\Ads\GoogleAds\V15\Resources\TopicConstant|null - */ - public function getTopicConstant() - { - return $this->topic_constant; - } - - public function hasTopicConstant() - { - return isset($this->topic_constant); - } - - public function clearTopicConstant() - { - unset($this->topic_constant); - } - - /** - * The topic constant referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.TopicConstant topic_constant = 31; - * @param \Google\Ads\GoogleAds\V15\Resources\TopicConstant $var - * @return $this - */ - public function setTopicConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\TopicConstant::class); - $this->topic_constant = $var; - - return $this; - } - - /** - * The video referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Video video = 39; - * @return \Google\Ads\GoogleAds\V15\Resources\Video|null - */ - public function getVideo() - { - return $this->video; - } - - public function hasVideo() - { - return isset($this->video); - } - - public function clearVideo() - { - unset($this->video); - } - - /** - * The video referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Video video = 39; - * @param \Google\Ads\GoogleAds\V15\Resources\Video $var - * @return $this - */ - public function setVideo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Video::class); - $this->video = $var; - - return $this; - } - - /** - * The webpage view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.WebpageView webpage_view = 162; - * @return \Google\Ads\GoogleAds\V15\Resources\WebpageView|null - */ - public function getWebpageView() - { - return $this->webpage_view; - } - - public function hasWebpageView() - { - return isset($this->webpage_view); - } - - public function clearWebpageView() - { - unset($this->webpage_view); - } - - /** - * The webpage view referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.WebpageView webpage_view = 162; - * @param \Google\Ads\GoogleAds\V15\Resources\WebpageView $var - * @return $this - */ - public function setWebpageView($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\WebpageView::class); - $this->webpage_view = $var; - - return $this; - } - - /** - * The lead form user submission referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LeadFormSubmissionData lead_form_submission_data = 192; - * @return \Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionData|null - */ - public function getLeadFormSubmissionData() - { - return $this->lead_form_submission_data; - } - - public function hasLeadFormSubmissionData() - { - return isset($this->lead_form_submission_data); - } - - public function clearLeadFormSubmissionData() - { - unset($this->lead_form_submission_data); - } - - /** - * The lead form user submission referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LeadFormSubmissionData lead_form_submission_data = 192; - * @param \Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionData $var - * @return $this - */ - public function setLeadFormSubmissionData($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LeadFormSubmissionData::class); - $this->lead_form_submission_data = $var; - - return $this; - } - - /** - * The local services lead referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesLead local_services_lead = 210; - * @return \Google\Ads\GoogleAds\V15\Resources\LocalServicesLead|null - */ - public function getLocalServicesLead() - { - return $this->local_services_lead; - } - - public function hasLocalServicesLead() - { - return isset($this->local_services_lead); - } - - public function clearLocalServicesLead() - { - unset($this->local_services_lead); - } - - /** - * The local services lead referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesLead local_services_lead = 210; - * @param \Google\Ads\GoogleAds\V15\Resources\LocalServicesLead $var - * @return $this - */ - public function setLocalServicesLead($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LocalServicesLead::class); - $this->local_services_lead = $var; - - return $this; - } - - /** - * The local services lead conversationreferenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesLeadConversation local_services_lead_conversation = 214; - * @return \Google\Ads\GoogleAds\V15\Resources\LocalServicesLeadConversation|null - */ - public function getLocalServicesLeadConversation() - { - return $this->local_services_lead_conversation; - } - - public function hasLocalServicesLeadConversation() - { - return isset($this->local_services_lead_conversation); - } - - public function clearLocalServicesLeadConversation() - { - unset($this->local_services_lead_conversation); - } - - /** - * The local services lead conversationreferenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.LocalServicesLeadConversation local_services_lead_conversation = 214; - * @param \Google\Ads\GoogleAds\V15\Resources\LocalServicesLeadConversation $var - * @return $this - */ - public function setLocalServicesLeadConversation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\LocalServicesLeadConversation::class); - $this->local_services_lead_conversation = $var; - - return $this; - } - - /** - * The android privacy shared key google ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleAdGroup android_privacy_shared_key_google_ad_group = 217; - * @return \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleAdGroup|null - */ - public function getAndroidPrivacySharedKeyGoogleAdGroup() - { - return $this->android_privacy_shared_key_google_ad_group; - } - - public function hasAndroidPrivacySharedKeyGoogleAdGroup() - { - return isset($this->android_privacy_shared_key_google_ad_group); - } - - public function clearAndroidPrivacySharedKeyGoogleAdGroup() - { - unset($this->android_privacy_shared_key_google_ad_group); - } - - /** - * The android privacy shared key google ad group referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleAdGroup android_privacy_shared_key_google_ad_group = 217; - * @param \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleAdGroup $var - * @return $this - */ - public function setAndroidPrivacySharedKeyGoogleAdGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleAdGroup::class); - $this->android_privacy_shared_key_google_ad_group = $var; - - return $this; - } - - /** - * The android privacy shared key google campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleCampaign android_privacy_shared_key_google_campaign = 218; - * @return \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleCampaign|null - */ - public function getAndroidPrivacySharedKeyGoogleCampaign() - { - return $this->android_privacy_shared_key_google_campaign; - } - - public function hasAndroidPrivacySharedKeyGoogleCampaign() - { - return isset($this->android_privacy_shared_key_google_campaign); - } - - public function clearAndroidPrivacySharedKeyGoogleCampaign() - { - unset($this->android_privacy_shared_key_google_campaign); - } - - /** - * The android privacy shared key google campaign referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleCampaign android_privacy_shared_key_google_campaign = 218; - * @param \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleCampaign $var - * @return $this - */ - public function setAndroidPrivacySharedKeyGoogleCampaign($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleCampaign::class); - $this->android_privacy_shared_key_google_campaign = $var; - - return $this; - } - - /** - * The android privacy shared key google network type referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleNetworkType android_privacy_shared_key_google_network_type = 219; - * @return \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleNetworkType|null - */ - public function getAndroidPrivacySharedKeyGoogleNetworkType() - { - return $this->android_privacy_shared_key_google_network_type; - } - - public function hasAndroidPrivacySharedKeyGoogleNetworkType() - { - return isset($this->android_privacy_shared_key_google_network_type); - } - - public function clearAndroidPrivacySharedKeyGoogleNetworkType() - { - unset($this->android_privacy_shared_key_google_network_type); - } - - /** - * The android privacy shared key google network type referenced in the query. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AndroidPrivacySharedKeyGoogleNetworkType android_privacy_shared_key_google_network_type = 219; - * @param \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleNetworkType $var - * @return $this - */ - public function setAndroidPrivacySharedKeyGoogleNetworkType($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AndroidPrivacySharedKeyGoogleNetworkType::class); - $this->android_privacy_shared_key_google_network_type = $var; - - return $this; - } - - /** - * The metrics. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Metrics metrics = 4; - * @return \Google\Ads\GoogleAds\V15\Common\Metrics|null - */ - public function getMetrics() - { - return $this->metrics; - } - - public function hasMetrics() - { - return isset($this->metrics); - } - - public function clearMetrics() - { - unset($this->metrics); - } - - /** - * The metrics. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Metrics metrics = 4; - * @param \Google\Ads\GoogleAds\V15\Common\Metrics $var - * @return $this - */ - public function setMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Metrics::class); - $this->metrics = $var; - - return $this; - } - - /** - * The segments. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Segments segments = 102; - * @return \Google\Ads\GoogleAds\V15\Common\Segments|null - */ - public function getSegments() - { - return $this->segments; - } - - public function hasSegments() - { - return isset($this->segments); - } - - public function clearSegments() - { - unset($this->segments); - } - - /** - * The segments. - * - * Generated from protobuf field .google.ads.googleads.v15.common.Segments segments = 102; - * @param \Google\Ads\GoogleAds\V15\Common\Segments $var - * @return $this - */ - public function setSegments($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\Segments::class); - $this->segments = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceClient.php deleted file mode 100644 index 856de0ff9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.GoogleAdsService/Search', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns all rows that match the search stream query. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [ChangeEventError]() - * [ChangeStatusError]() - * [ClickViewError]() - * [HeaderError]() - * [InternalError]() - * [QueryError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsStreamRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\ServerStreamingCall - */ - public function SearchStream(\Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsStreamRequest $argument, - $metadata = [], $options = []) { - return $this->_serverStreamRequest('/google.ads.googleads.v15.services.GoogleAdsService/SearchStream', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsStreamResponse', 'decode'], - $metadata, $options); - } - - /** - * Creates, updates, or removes resources. This method supports atomic - * transactions with multiple types of resources. For example, you can - * atomically create a campaign and a campaign budget, or perform up to - * thousands of mutates atomically. - * - * This method is essentially a wrapper around a series of mutate methods. The - * only features it offers over calling those methods directly are: - * - * - Atomic transactions - * - Temp resource names (described below) - * - Somewhat reduced latency over making a series of mutate calls - * - * Note: Only resources that support atomic transactions are included, so this - * method can't replace all calls to individual services. - * - * ## Atomic Transaction Benefits - * - * Atomicity makes error handling much easier. If you're making a series of - * changes and one fails, it can leave your account in an inconsistent state. - * With atomicity, you either reach the chosen state directly, or the request - * fails and you can retry. - * - * ## Temp Resource Names - * - * Temp resource names are a special type of resource name used to create a - * resource and reference that resource in the same request. For example, if a - * campaign budget is created with `resource_name` equal to - * `customers/123/campaignBudgets/-1`, that resource name can be reused in - * the `Campaign.budget` field in the same request. That way, the two - * resources are created and linked atomically. - * - * To create a temp resource name, put a negative number in the part of the - * name that the server would normally allocate. - * - * Note: - * - * - Resources must be created with a temp name before the name can be reused. - * For example, the previous CampaignBudget+Campaign example would fail if - * the mutate order was reversed. - * - Temp names are not remembered across requests. - * - There's no limit to the number of temp names in a request. - * - Each temp name must use a unique negative number, even if the resource - * types differ. - * - * ## Latency - * - * It's important to group mutates by resource type or the request may time - * out and fail. Latency is roughly equal to a series of calls to individual - * mutate methods, where each change in resource type is a new call. For - * example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - * mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - * - * List of thrown errors: - * [AdCustomizerError]() - * [AdError]() - * [AdGroupAdError]() - * [AdGroupCriterionError]() - * [AdGroupError]() - * [AssetError]() - * [AuthenticationError]() - * [AuthorizationError]() - * [BiddingError]() - * [CampaignBudgetError]() - * [CampaignCriterionError]() - * [CampaignError]() - * [CampaignExperimentError]() - * [CampaignSharedSetError]() - * [CollectionSizeError]() - * [ContextError]() - * [ConversionActionError]() - * [CriterionError]() - * [CustomerFeedError]() - * [DatabaseError]() - * [DateError]() - * [DateRangeError]() - * [DistinctError]() - * [ExtensionFeedItemError]() - * [ExtensionSettingError]() - * [FeedAttributeReferenceError]() - * [FeedError]() - * [FeedItemError]() - * [FeedItemSetError]() - * [FieldError]() - * [FieldMaskError]() - * [FunctionParsingError]() - * [HeaderError]() - * [ImageError]() - * [InternalError]() - * [KeywordPlanAdGroupKeywordError]() - * [KeywordPlanCampaignError]() - * [KeywordPlanError]() - * [LabelError]() - * [ListOperationError]() - * [MediaUploadError]() - * [MutateError]() - * [NewResourceCreationError]() - * [NullError]() - * [OperationAccessDeniedError]() - * [PolicyFindingError]() - * [PolicyViolationError]() - * [QuotaError]() - * [RangeError]() - * [RequestError]() - * [ResourceCountLimitExceededError]() - * [SettingError]() - * [SharedSetError]() - * [SizeLimitError]() - * [StringFormatError]() - * [StringLengthError]() - * [UrlFieldError]() - * [UserListError]() - * [YoutubeVideoRegistrationError]() - * @param \Google\Ads\GoogleAds\V15\Services\MutateGoogleAdsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function Mutate(\Google\Ads\GoogleAds\V15\Services\MutateGoogleAdsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.GoogleAdsService/Mutate', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateGoogleAdsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/GraduateExperimentRequest.php b/src/Google/Ads/GoogleAds/V15/Services/GraduateExperimentRequest.php deleted file mode 100644 index ff5b699cc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/GraduateExperimentRequest.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.services.GraduateExperimentRequest - */ -class GraduateExperimentRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The experiment to be graduated. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $experiment = ''; - /** - * Required. List of campaign budget mappings for graduation. Each campaign - * that appears here will graduate, and will be assigned a new budget that is - * paired with it in the mapping. The maximum size is one. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $campaign_budget_mappings; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $experiment Required. The experiment to be graduated. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignBudgetMapping[] $campaignBudgetMappings Required. List of campaign budget mappings for graduation. Each campaign - * that appears here will graduate, and will be assigned a new budget that is - * paired with it in the mapping. The maximum size is one. - * - * @return \Google\Ads\GoogleAds\V15\Services\GraduateExperimentRequest - * - * @experimental - */ - public static function build(string $experiment, array $campaignBudgetMappings): self - { - return (new self()) - ->setExperiment($experiment) - ->setCampaignBudgetMappings($campaignBudgetMappings); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $experiment - * Required. The experiment to be graduated. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignBudgetMapping>|\Google\Protobuf\Internal\RepeatedField $campaign_budget_mappings - * Required. List of campaign budget mappings for graduation. Each campaign - * that appears here will graduate, and will be assigned a new budget that is - * paired with it in the mapping. The maximum size is one. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The experiment to be graduated. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getExperiment() - { - return $this->experiment; - } - - /** - * Required. The experiment to be graduated. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExperiment($var) - { - GPBUtil::checkString($var, True); - $this->experiment = $var; - - return $this; - } - - /** - * Required. List of campaign budget mappings for graduation. Each campaign - * that appears here will graduate, and will be assigned a new budget that is - * paired with it in the mapping. The maximum size is one. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCampaignBudgetMappings() - { - return $this->campaign_budget_mappings; - } - - /** - * Required. List of campaign budget mappings for graduation. Each campaign - * that appears here will graduate, and will be assigned a new budget that is - * paired with it in the mapping. The maximum size is one. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBudgetMapping campaign_budget_mappings = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignBudgetMapping>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCampaignBudgetMappings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignBudgetMapping::class); - $this->campaign_budget_mappings = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/HotelAssetSuggestion.php b/src/Google/Ads/GoogleAds/V15/Services/HotelAssetSuggestion.php deleted file mode 100644 index e15724a50..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/HotelAssetSuggestion.php +++ /dev/null @@ -1,271 +0,0 @@ -google.ads.googleads.v15.services.HotelAssetSuggestion - */ -class HotelAssetSuggestion extends \Google\Protobuf\Internal\Message -{ - /** - * Google Places ID of the hotel. - * - * Generated from protobuf field string place_id = 1; - */ - protected $place_id = ''; - /** - * Suggested final URL for an AssetGroup. - * - * Generated from protobuf field string final_url = 2; - */ - protected $final_url = ''; - /** - * Hotel name in requested language. - * - * Generated from protobuf field string hotel_name = 3; - */ - protected $hotel_name = ''; - /** - * Call to action type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 4; - */ - protected $call_to_action = 0; - /** - * Text assets such as headline, description, etc. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelTextAsset text_assets = 5; - */ - private $text_assets; - /** - * Image assets such as landscape/portrait/square, etc. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelImageAsset image_assets = 6; - */ - private $image_assets; - /** - * The status of the hotel asset suggestion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus status = 7; - */ - protected $status = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $place_id - * Google Places ID of the hotel. - * @type string $final_url - * Suggested final URL for an AssetGroup. - * @type string $hotel_name - * Hotel name in requested language. - * @type int $call_to_action - * Call to action type. - * @type array<\Google\Ads\GoogleAds\V15\Services\HotelTextAsset>|\Google\Protobuf\Internal\RepeatedField $text_assets - * Text assets such as headline, description, etc. - * @type array<\Google\Ads\GoogleAds\V15\Services\HotelImageAsset>|\Google\Protobuf\Internal\RepeatedField $image_assets - * Image assets such as landscape/portrait/square, etc. - * @type int $status - * The status of the hotel asset suggestion. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\TravelAssetSuggestionService::initOnce(); - parent::__construct($data); - } - - /** - * Google Places ID of the hotel. - * - * Generated from protobuf field string place_id = 1; - * @return string - */ - public function getPlaceId() - { - return $this->place_id; - } - - /** - * Google Places ID of the hotel. - * - * Generated from protobuf field string place_id = 1; - * @param string $var - * @return $this - */ - public function setPlaceId($var) - { - GPBUtil::checkString($var, True); - $this->place_id = $var; - - return $this; - } - - /** - * Suggested final URL for an AssetGroup. - * - * Generated from protobuf field string final_url = 2; - * @return string - */ - public function getFinalUrl() - { - return $this->final_url; - } - - /** - * Suggested final URL for an AssetGroup. - * - * Generated from protobuf field string final_url = 2; - * @param string $var - * @return $this - */ - public function setFinalUrl($var) - { - GPBUtil::checkString($var, True); - $this->final_url = $var; - - return $this; - } - - /** - * Hotel name in requested language. - * - * Generated from protobuf field string hotel_name = 3; - * @return string - */ - public function getHotelName() - { - return $this->hotel_name; - } - - /** - * Hotel name in requested language. - * - * Generated from protobuf field string hotel_name = 3; - * @param string $var - * @return $this - */ - public function setHotelName($var) - { - GPBUtil::checkString($var, True); - $this->hotel_name = $var; - - return $this; - } - - /** - * Call to action type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 4; - * @return int - */ - public function getCallToAction() - { - return $this->call_to_action; - } - - /** - * Call to action type. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 4; - * @param int $var - * @return $this - */ - public function setCallToAction($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\CallToActionTypeEnum\CallToActionType::class); - $this->call_to_action = $var; - - return $this; - } - - /** - * Text assets such as headline, description, etc. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelTextAsset text_assets = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTextAssets() - { - return $this->text_assets; - } - - /** - * Text assets such as headline, description, etc. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelTextAsset text_assets = 5; - * @param array<\Google\Ads\GoogleAds\V15\Services\HotelTextAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTextAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\HotelTextAsset::class); - $this->text_assets = $arr; - - return $this; - } - - /** - * Image assets such as landscape/portrait/square, etc. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelImageAsset image_assets = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getImageAssets() - { - return $this->image_assets; - } - - /** - * Image assets such as landscape/portrait/square, etc. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelImageAsset image_assets = 6; - * @param array<\Google\Ads\GoogleAds\V15\Services\HotelImageAsset>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setImageAssets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\HotelImageAsset::class); - $this->image_assets = $arr; - - return $this; - } - - /** - * The status of the hotel asset suggestion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus status = 7; - * @return int - */ - public function getStatus() - { - return $this->status; - } - - /** - * The status of the hotel asset suggestion. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus status = 7; - * @param int $var - * @return $this - */ - public function setStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\HotelAssetSuggestionStatusEnum\HotelAssetSuggestionStatus::class); - $this->status = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/HotelImageAsset.php b/src/Google/Ads/GoogleAds/V15/Services/HotelImageAsset.php deleted file mode 100644 index 95aa6d424..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/HotelImageAsset.php +++ /dev/null @@ -1,105 +0,0 @@ -google.ads.googleads.v15.services.HotelImageAsset - */ -class HotelImageAsset extends \Google\Protobuf\Internal\Message -{ - /** - * URI for the image. - * - * Generated from protobuf field string uri = 1; - */ - protected $uri = ''; - /** - * The Image asset type. For example, MARKETING_IMAGE, - * PORTRAIT_MARKETING_IMAGE, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2; - */ - protected $asset_field_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $uri - * URI for the image. - * @type int $asset_field_type - * The Image asset type. For example, MARKETING_IMAGE, - * PORTRAIT_MARKETING_IMAGE, etc. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\TravelAssetSuggestionService::initOnce(); - parent::__construct($data); - } - - /** - * URI for the image. - * - * Generated from protobuf field string uri = 1; - * @return string - */ - public function getUri() - { - return $this->uri; - } - - /** - * URI for the image. - * - * Generated from protobuf field string uri = 1; - * @param string $var - * @return $this - */ - public function setUri($var) - { - GPBUtil::checkString($var, True); - $this->uri = $var; - - return $this; - } - - /** - * The Image asset type. For example, MARKETING_IMAGE, - * PORTRAIT_MARKETING_IMAGE, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2; - * @return int - */ - public function getAssetFieldType() - { - return $this->asset_field_type; - } - - /** - * The Image asset type. For example, MARKETING_IMAGE, - * PORTRAIT_MARKETING_IMAGE, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2; - * @param int $var - * @return $this - */ - public function setAssetFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->asset_field_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/HotelTextAsset.php b/src/Google/Ads/GoogleAds/V15/Services/HotelTextAsset.php deleted file mode 100644 index 81be56df4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/HotelTextAsset.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.services.HotelTextAsset - */ -class HotelTextAsset extends \Google\Protobuf\Internal\Message -{ - /** - * Asset text in requested language. - * - * Generated from protobuf field string text = 1; - */ - protected $text = ''; - /** - * The text asset type. For example, HEADLINE, DESCRIPTION, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2; - */ - protected $asset_field_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $text - * Asset text in requested language. - * @type int $asset_field_type - * The text asset type. For example, HEADLINE, DESCRIPTION, etc. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\TravelAssetSuggestionService::initOnce(); - parent::__construct($data); - } - - /** - * Asset text in requested language. - * - * Generated from protobuf field string text = 1; - * @return string - */ - public function getText() - { - return $this->text; - } - - /** - * Asset text in requested language. - * - * Generated from protobuf field string text = 1; - * @param string $var - * @return $this - */ - public function setText($var) - { - GPBUtil::checkString($var, True); - $this->text = $var; - - return $this; - } - - /** - * The text asset type. For example, HEADLINE, DESCRIPTION, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2; - * @return int - */ - public function getAssetFieldType() - { - return $this->asset_field_type; - } - - /** - * The text asset type. For example, HEADLINE, DESCRIPTION, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2; - * @param int $var - * @return $this - */ - public function setAssetFieldType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\AssetFieldTypeEnum\AssetFieldType::class); - $this->asset_field_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/InsightsAudience.php b/src/Google/Ads/GoogleAds/V15/Services/InsightsAudience.php deleted file mode 100644 index 6156fa163..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/InsightsAudience.php +++ /dev/null @@ -1,374 +0,0 @@ -google.ads.googleads.v15.services.InsightsAudience - */ -class InsightsAudience extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The countries for the audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $country_locations; - /** - * Sub-country geographic location attributes. If present, each of these - * must be contained in one of the countries in this audience. If absent, the - * audience is geographically to the country_locations and no further. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo sub_country_locations = 2; - */ - private $sub_country_locations; - /** - * Gender for the audience. If absent, the audience does not restrict by - * gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - */ - protected $gender = null; - /** - * Age ranges for the audience. If absent, the audience represents all people - * over 18 that match the other attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 4; - */ - private $age_ranges; - /** - * Parental status for the audience. If absent, the audience does not - * restrict by parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 5; - */ - protected $parental_status = null; - /** - * Household income percentile ranges for the audience. If absent, the - * audience does not restrict by household income range. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.IncomeRangeInfo income_ranges = 6; - */ - private $income_ranges; - /** - * Dynamic lineups representing the YouTube content viewed by the audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsDynamicLineup dynamic_lineups = 7; - */ - private $dynamic_lineups; - /** - * A combination of entity, category and user interest attributes defining the - * audience. The combination has a logical AND-of-ORs structure: Attributes - * within each InsightsAudienceAttributeGroup are combined with OR, and - * the combinations themselves are combined together with AND. For example, - * the expression (Entity OR Affinity) AND (In-Market OR Category) can be - * formed using two InsightsAudienceAttributeGroups with two Attributes - * each. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.InsightsAudienceAttributeGroup topic_audience_combinations = 8; - */ - private $topic_audience_combinations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $country_locations - * Required. The countries for the audience. - * @type array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $sub_country_locations - * Sub-country geographic location attributes. If present, each of these - * must be contained in one of the countries in this audience. If absent, the - * audience is geographically to the country_locations and no further. - * @type \Google\Ads\GoogleAds\V15\Common\GenderInfo $gender - * Gender for the audience. If absent, the audience does not restrict by - * gender. - * @type array<\Google\Ads\GoogleAds\V15\Common\AgeRangeInfo>|\Google\Protobuf\Internal\RepeatedField $age_ranges - * Age ranges for the audience. If absent, the audience represents all people - * over 18 that match the other attributes. - * @type \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo $parental_status - * Parental status for the audience. If absent, the audience does not - * restrict by parental status. - * @type array<\Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo>|\Google\Protobuf\Internal\RepeatedField $income_ranges - * Household income percentile ranges for the audience. If absent, the - * audience does not restrict by household income range. - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsDynamicLineup>|\Google\Protobuf\Internal\RepeatedField $dynamic_lineups - * Dynamic lineups representing the YouTube content viewed by the audience. - * @type array<\Google\Ads\GoogleAds\V15\Services\InsightsAudienceAttributeGroup>|\Google\Protobuf\Internal\RepeatedField $topic_audience_combinations - * A combination of entity, category and user interest attributes defining the - * audience. The combination has a logical AND-of-ORs structure: Attributes - * within each InsightsAudienceAttributeGroup are combined with OR, and - * the combinations themselves are combined together with AND. For example, - * the expression (Entity OR Affinity) AND (In-Market OR Category) can be - * formed using two InsightsAudienceAttributeGroups with two Attributes - * each. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The countries for the audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCountryLocations() - { - return $this->country_locations; - } - - /** - * Required. The countries for the audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCountryLocations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->country_locations = $arr; - - return $this; - } - - /** - * Sub-country geographic location attributes. If present, each of these - * must be contained in one of the countries in this audience. If absent, the - * audience is geographically to the country_locations and no further. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo sub_country_locations = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSubCountryLocations() - { - return $this->sub_country_locations; - } - - /** - * Sub-country geographic location attributes. If present, each of these - * must be contained in one of the countries in this audience. If absent, the - * audience is geographically to the country_locations and no further. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo sub_country_locations = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSubCountryLocations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->sub_country_locations = $arr; - - return $this; - } - - /** - * Gender for the audience. If absent, the audience does not restrict by - * gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - * @return \Google\Ads\GoogleAds\V15\Common\GenderInfo|null - */ - public function getGender() - { - return $this->gender; - } - - public function hasGender() - { - return isset($this->gender); - } - - public function clearGender() - { - unset($this->gender); - } - - /** - * Gender for the audience. If absent, the audience does not restrict by - * gender. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - * @param \Google\Ads\GoogleAds\V15\Common\GenderInfo $var - * @return $this - */ - public function setGender($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\GenderInfo::class); - $this->gender = $var; - - return $this; - } - - /** - * Age ranges for the audience. If absent, the audience represents all people - * over 18 that match the other attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAgeRanges() - { - return $this->age_ranges; - } - - /** - * Age ranges for the audience. If absent, the audience represents all people - * over 18 that match the other attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\AgeRangeInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAgeRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo::class); - $this->age_ranges = $arr; - - return $this; - } - - /** - * Parental status for the audience. If absent, the audience does not - * restrict by parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 5; - * @return \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo|null - */ - public function getParentalStatus() - { - return $this->parental_status; - } - - public function hasParentalStatus() - { - return isset($this->parental_status); - } - - public function clearParentalStatus() - { - unset($this->parental_status); - } - - /** - * Parental status for the audience. If absent, the audience does not - * restrict by parental status. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ParentalStatusInfo parental_status = 5; - * @param \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo $var - * @return $this - */ - public function setParentalStatus($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ParentalStatusInfo::class); - $this->parental_status = $var; - - return $this; - } - - /** - * Household income percentile ranges for the audience. If absent, the - * audience does not restrict by household income range. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.IncomeRangeInfo income_ranges = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getIncomeRanges() - { - return $this->income_ranges; - } - - /** - * Household income percentile ranges for the audience. If absent, the - * audience does not restrict by household income range. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.IncomeRangeInfo income_ranges = 6; - * @param array<\Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setIncomeRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\IncomeRangeInfo::class); - $this->income_ranges = $arr; - - return $this; - } - - /** - * Dynamic lineups representing the YouTube content viewed by the audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsDynamicLineup dynamic_lineups = 7; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDynamicLineups() - { - return $this->dynamic_lineups; - } - - /** - * Dynamic lineups representing the YouTube content viewed by the audience. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsDynamicLineup dynamic_lineups = 7; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsDynamicLineup>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDynamicLineups($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsDynamicLineup::class); - $this->dynamic_lineups = $arr; - - return $this; - } - - /** - * A combination of entity, category and user interest attributes defining the - * audience. The combination has a logical AND-of-ORs structure: Attributes - * within each InsightsAudienceAttributeGroup are combined with OR, and - * the combinations themselves are combined together with AND. For example, - * the expression (Entity OR Affinity) AND (In-Market OR Category) can be - * formed using two InsightsAudienceAttributeGroups with two Attributes - * each. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.InsightsAudienceAttributeGroup topic_audience_combinations = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTopicAudienceCombinations() - { - return $this->topic_audience_combinations; - } - - /** - * A combination of entity, category and user interest attributes defining the - * audience. The combination has a logical AND-of-ORs structure: Attributes - * within each InsightsAudienceAttributeGroup are combined with OR, and - * the combinations themselves are combined together with AND. For example, - * the expression (Entity OR Affinity) AND (In-Market OR Category) can be - * formed using two InsightsAudienceAttributeGroups with two Attributes - * each. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.InsightsAudienceAttributeGroup topic_audience_combinations = 8; - * @param array<\Google\Ads\GoogleAds\V15\Services\InsightsAudienceAttributeGroup>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTopicAudienceCombinations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\InsightsAudienceAttributeGroup::class); - $this->topic_audience_combinations = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/InsightsAudienceAttributeGroup.php b/src/Google/Ads/GoogleAds/V15/Services/InsightsAudienceAttributeGroup.php deleted file mode 100644 index fa3dccf1c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/InsightsAudienceAttributeGroup.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.services.InsightsAudienceAttributeGroup - */ -class InsightsAudienceAttributeGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Required. A collection of audience attributes to be combined with logical - * OR. Attributes need not all be the same dimension. Only Knowledge Graph - * entities, Product & Service Categories, and Affinity and In-Market - * audiences are supported in this context. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $attributes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttribute>|\Google\Protobuf\Internal\RepeatedField $attributes - * Required. A collection of audience attributes to be combined with logical - * OR. Attributes need not all be the same dimension. Only Knowledge Graph - * entities, Product & Service Categories, and Affinity and In-Market - * audiences are supported in this context. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. A collection of audience attributes to be combined with logical - * OR. Attributes need not all be the same dimension. Only Knowledge Graph - * entities, Product & Service Categories, and Affinity and In-Market - * audiences are supported in this context. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * Required. A collection of audience attributes to be combined with logical - * OR. Attributes need not all be the same dimension. Only Knowledge Graph - * entities, Product & Service Categories, and Affinity and In-Market - * audiences are supported in this context. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttribute attributes = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttribute>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttribute::class); - $this->attributes = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/InvoiceServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/InvoiceServiceClient.php deleted file mode 100644 index 3b1a16ad2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/InvoiceServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.InvoiceService/ListInvoices', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListInvoicesResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordAndUrlSeed.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordAndUrlSeed.php deleted file mode 100644 index 75ac1de29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordAndUrlSeed.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.services.KeywordAndUrlSeed - */ -class KeywordAndUrlSeed extends \Google\Protobuf\Internal\Message -{ - /** - * The URL to crawl in order to generate keyword ideas. - * - * Generated from protobuf field optional string url = 3; - */ - protected $url = null; - /** - * Requires at least one keyword. - * - * Generated from protobuf field repeated string keywords = 4; - */ - private $keywords; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $url - * The URL to crawl in order to generate keyword ideas. - * @type array|\Google\Protobuf\Internal\RepeatedField $keywords - * Requires at least one keyword. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The URL to crawl in order to generate keyword ideas. - * - * Generated from protobuf field optional string url = 3; - * @return string - */ - public function getUrl() - { - return isset($this->url) ? $this->url : ''; - } - - public function hasUrl() - { - return isset($this->url); - } - - public function clearUrl() - { - unset($this->url); - } - - /** - * The URL to crawl in order to generate keyword ideas. - * - * Generated from protobuf field optional string url = 3; - * @param string $var - * @return $this - */ - public function setUrl($var) - { - GPBUtil::checkString($var, True); - $this->url = $var; - - return $this; - } - - /** - * Requires at least one keyword. - * - * Generated from protobuf field repeated string keywords = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeywords() - { - return $this->keywords; - } - - /** - * Requires at least one keyword. - * - * Generated from protobuf field repeated string keywords = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->keywords = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordForecastMetrics.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordForecastMetrics.php deleted file mode 100644 index a81afde13..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordForecastMetrics.php +++ /dev/null @@ -1,385 +0,0 @@ -google.ads.googleads.v15.services.KeywordForecastMetrics - */ -class KeywordForecastMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * The total number of impressions. - * - * Generated from protobuf field optional double impressions = 1; - */ - protected $impressions = null; - /** - * The average click through rate. Available only if impressions > 0. - * - * Generated from protobuf field optional double click_through_rate = 2; - */ - protected $click_through_rate = null; - /** - * The average cpc. Available only if clicks > 0. - * - * Generated from protobuf field optional int64 average_cpc_micros = 3; - */ - protected $average_cpc_micros = null; - /** - * The total number of clicks. - * - * Generated from protobuf field optional double clicks = 4; - */ - protected $clicks = null; - /** - * The total cost. - * - * Generated from protobuf field optional int64 cost_micros = 5; - */ - protected $cost_micros = null; - /** - * Forecasted number of conversions: clicks * conversion_rate. - * - * Generated from protobuf field optional double conversions = 6; - */ - protected $conversions = null; - /** - * Forecasted conversion rate. - * - * Generated from protobuf field optional double conversion_rate = 7; - */ - protected $conversion_rate = null; - /** - * Average cost per acquisition calculated as cost_micros / conversions. - * - * Generated from protobuf field optional int64 average_cpa_micros = 8; - */ - protected $average_cpa_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $impressions - * The total number of impressions. - * @type float $click_through_rate - * The average click through rate. Available only if impressions > 0. - * @type int|string $average_cpc_micros - * The average cpc. Available only if clicks > 0. - * @type float $clicks - * The total number of clicks. - * @type int|string $cost_micros - * The total cost. - * @type float $conversions - * Forecasted number of conversions: clicks * conversion_rate. - * @type float $conversion_rate - * Forecasted conversion rate. - * @type int|string $average_cpa_micros - * Average cost per acquisition calculated as cost_micros / conversions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The total number of impressions. - * - * Generated from protobuf field optional double impressions = 1; - * @return float - */ - public function getImpressions() - { - return isset($this->impressions) ? $this->impressions : 0.0; - } - - public function hasImpressions() - { - return isset($this->impressions); - } - - public function clearImpressions() - { - unset($this->impressions); - } - - /** - * The total number of impressions. - * - * Generated from protobuf field optional double impressions = 1; - * @param float $var - * @return $this - */ - public function setImpressions($var) - { - GPBUtil::checkDouble($var); - $this->impressions = $var; - - return $this; - } - - /** - * The average click through rate. Available only if impressions > 0. - * - * Generated from protobuf field optional double click_through_rate = 2; - * @return float - */ - public function getClickThroughRate() - { - return isset($this->click_through_rate) ? $this->click_through_rate : 0.0; - } - - public function hasClickThroughRate() - { - return isset($this->click_through_rate); - } - - public function clearClickThroughRate() - { - unset($this->click_through_rate); - } - - /** - * The average click through rate. Available only if impressions > 0. - * - * Generated from protobuf field optional double click_through_rate = 2; - * @param float $var - * @return $this - */ - public function setClickThroughRate($var) - { - GPBUtil::checkDouble($var); - $this->click_through_rate = $var; - - return $this; - } - - /** - * The average cpc. Available only if clicks > 0. - * - * Generated from protobuf field optional int64 average_cpc_micros = 3; - * @return int|string - */ - public function getAverageCpcMicros() - { - return isset($this->average_cpc_micros) ? $this->average_cpc_micros : 0; - } - - public function hasAverageCpcMicros() - { - return isset($this->average_cpc_micros); - } - - public function clearAverageCpcMicros() - { - unset($this->average_cpc_micros); - } - - /** - * The average cpc. Available only if clicks > 0. - * - * Generated from protobuf field optional int64 average_cpc_micros = 3; - * @param int|string $var - * @return $this - */ - public function setAverageCpcMicros($var) - { - GPBUtil::checkInt64($var); - $this->average_cpc_micros = $var; - - return $this; - } - - /** - * The total number of clicks. - * - * Generated from protobuf field optional double clicks = 4; - * @return float - */ - public function getClicks() - { - return isset($this->clicks) ? $this->clicks : 0.0; - } - - public function hasClicks() - { - return isset($this->clicks); - } - - public function clearClicks() - { - unset($this->clicks); - } - - /** - * The total number of clicks. - * - * Generated from protobuf field optional double clicks = 4; - * @param float $var - * @return $this - */ - public function setClicks($var) - { - GPBUtil::checkDouble($var); - $this->clicks = $var; - - return $this; - } - - /** - * The total cost. - * - * Generated from protobuf field optional int64 cost_micros = 5; - * @return int|string - */ - public function getCostMicros() - { - return isset($this->cost_micros) ? $this->cost_micros : 0; - } - - public function hasCostMicros() - { - return isset($this->cost_micros); - } - - public function clearCostMicros() - { - unset($this->cost_micros); - } - - /** - * The total cost. - * - * Generated from protobuf field optional int64 cost_micros = 5; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Forecasted number of conversions: clicks * conversion_rate. - * - * Generated from protobuf field optional double conversions = 6; - * @return float - */ - public function getConversions() - { - return isset($this->conversions) ? $this->conversions : 0.0; - } - - public function hasConversions() - { - return isset($this->conversions); - } - - public function clearConversions() - { - unset($this->conversions); - } - - /** - * Forecasted number of conversions: clicks * conversion_rate. - * - * Generated from protobuf field optional double conversions = 6; - * @param float $var - * @return $this - */ - public function setConversions($var) - { - GPBUtil::checkDouble($var); - $this->conversions = $var; - - return $this; - } - - /** - * Forecasted conversion rate. - * - * Generated from protobuf field optional double conversion_rate = 7; - * @return float - */ - public function getConversionRate() - { - return isset($this->conversion_rate) ? $this->conversion_rate : 0.0; - } - - public function hasConversionRate() - { - return isset($this->conversion_rate); - } - - public function clearConversionRate() - { - unset($this->conversion_rate); - } - - /** - * Forecasted conversion rate. - * - * Generated from protobuf field optional double conversion_rate = 7; - * @param float $var - * @return $this - */ - public function setConversionRate($var) - { - GPBUtil::checkDouble($var); - $this->conversion_rate = $var; - - return $this; - } - - /** - * Average cost per acquisition calculated as cost_micros / conversions. - * - * Generated from protobuf field optional int64 average_cpa_micros = 8; - * @return int|string - */ - public function getAverageCpaMicros() - { - return isset($this->average_cpa_micros) ? $this->average_cpa_micros : 0; - } - - public function hasAverageCpaMicros() - { - return isset($this->average_cpa_micros); - } - - public function clearAverageCpaMicros() - { - unset($this->average_cpa_micros); - } - - /** - * Average cost per acquisition calculated as cost_micros / conversions. - * - * Generated from protobuf field optional int64 average_cpa_micros = 8; - * @param int|string $var - * @return $this - */ - public function setAverageCpaMicros($var) - { - GPBUtil::checkInt64($var); - $this->average_cpa_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordOperation.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordOperation.php deleted file mode 100644 index 2ceb3d33f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordOperation.php +++ /dev/null @@ -1,202 +0,0 @@ -google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordOperation - */ -class KeywordPlanAdGroupKeywordOperation extends \Google\Protobuf\Internal\Message -{ - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * The FieldMask that determines which resource fields are modified in an - * update. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword $create - * Create operation: No resource name is expected for the new Keyword Plan - * ad group keyword. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword $update - * Update operation: The Keyword Plan ad group keyword is expected to have a - * valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed Keyword Plan ad group - * keyword is expected, in this format: - * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordService::initOnce(); - parent::__construct($data); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new Keyword Plan - * ad group keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new Keyword Plan - * ad group keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The Keyword Plan ad group keyword is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The Keyword Plan ad group keyword is expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroupKeyword::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed Keyword Plan ad group - * keyword is expected, in this format: - * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed Keyword Plan ad group - * keyword is expected, in this format: - * `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceClient.php deleted file mode 100644 index 2205a85ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService/MutateKeywordPlanAdGroupKeywords', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupOperation.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupOperation.php deleted file mode 100644 index a4e77d212..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupOperation.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.KeywordPlanAdGroupOperation - */ -class KeywordPlanAdGroupOperation extends \Google\Protobuf\Internal\Message -{ - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * The FieldMask that determines which resource fields are modified in an - * update. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup $create - * Create operation: No resource name is expected for the new Keyword Plan - * ad group. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup $update - * Update operation: The Keyword Plan ad group is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed Keyword Plan ad group - * is expected, in this format: - * `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupService::initOnce(); - parent::__construct($data); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new Keyword Plan - * ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroup create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new Keyword Plan - * ad group. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroup create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The Keyword Plan ad group is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroup update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The Keyword Plan ad group is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanAdGroup update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanAdGroup::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed Keyword Plan ad group - * is expected, in this format: - * `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed Keyword Plan ad group - * is expected, in this format: - * `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceClient.php deleted file mode 100644 index cc587956c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordOperation.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordOperation.php deleted file mode 100644 index e809d89c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordOperation.php +++ /dev/null @@ -1,202 +0,0 @@ -google.ads.googleads.v15.services.KeywordPlanCampaignKeywordOperation - */ -class KeywordPlanCampaignKeywordOperation extends \Google\Protobuf\Internal\Message -{ - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * The FieldMask that determines which resource fields are modified in an - * update. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword $create - * Create operation: No resource name is expected for the new Keyword Plan - * campaign keyword. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword $update - * Update operation: The Keyword Plan campaign keyword expected to have a - * valid resource name. - * @type string $remove - * Remove operation: A resource name for the removed Keyword Plan campaign - * keywords expected in this format: - * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordService::initOnce(); - parent::__construct($data); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new Keyword Plan - * campaign keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new Keyword Plan - * campaign keyword. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The Keyword Plan campaign keyword expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The Keyword Plan campaign keyword expected to have a - * valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaignKeyword::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed Keyword Plan campaign - * keywords expected in this format: - * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed Keyword Plan campaign - * keywords expected in this format: - * `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceClient.php deleted file mode 100644 index 2b05adc6a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService/MutateKeywordPlanCampaignKeywords', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignOperation.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignOperation.php deleted file mode 100644 index 98142f698..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignOperation.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.KeywordPlanCampaignOperation - */ -class KeywordPlanCampaignOperation extends \Google\Protobuf\Internal\Message -{ - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * The FieldMask that determines which resource fields are modified in an - * update. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign $create - * Create operation: No resource name is expected for the new Keyword Plan - * campaign. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign $update - * Update operation: The Keyword Plan campaign is expected to have a valid - * resource name. - * @type string $remove - * Remove operation: A resource name for the removed Keyword Plan campaign - * is expected, in this format: - * `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignService::initOnce(); - parent::__construct($data); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new Keyword Plan - * campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaign create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new Keyword Plan - * campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaign create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The Keyword Plan campaign is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaign update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The Keyword Plan campaign is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlanCampaign update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlanCampaign::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed Keyword Plan campaign - * is expected, in this format: - * `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed Keyword Plan campaign - * is expected, in this format: - * `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceClient.php deleted file mode 100644 index bae6f9c6a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceClient.php deleted file mode 100644 index 58fb753c9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordIdeas', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GenerateKeywordIdeaResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns a list of keyword historical metrics. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\GenerateKeywordHistoricalMetricsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function GenerateKeywordHistoricalMetrics(\Google\Ads\GoogleAds\V15\Services\GenerateKeywordHistoricalMetricsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordHistoricalMetrics', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GenerateKeywordHistoricalMetricsResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns a list of suggested AdGroups and suggested modifications - * (text, match type) for the given keywords. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\GenerateAdGroupThemesRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function GenerateAdGroupThemes(\Google\Ads\GoogleAds\V15\Services\GenerateAdGroupThemesRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateAdGroupThemes', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GenerateAdGroupThemesResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns metrics (such as impressions, clicks, total cost) of a keyword - * forecast for the given campaign. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [CollectionSizeError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\GenerateKeywordForecastMetricsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function GenerateKeywordForecastMetrics(\Google\Ads\GoogleAds\V15\Services\GenerateKeywordForecastMetricsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GenerateKeywordForecastMetricsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanOperation.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanOperation.php deleted file mode 100644 index 0a33d1759..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanOperation.php +++ /dev/null @@ -1,198 +0,0 @@ -google.ads.googleads.v15.services.KeywordPlanOperation - */ -class KeywordPlanOperation extends \Google\Protobuf\Internal\Message -{ - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * The FieldMask that determines which resource fields are modified in an - * update. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlan $create - * Create operation: No resource name is expected for the new keyword plan. - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordPlan $update - * Update operation: The keyword plan is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed keyword plan is - * expected in this format: - * `customers/{customer_id}/keywordPlans/{keyword_plan_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * The FieldMask that determines which resource fields are modified in an - * update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new keyword plan. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlan create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlan|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new keyword plan. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlan create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlan $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlan::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The keyword plan is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlan update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordPlan|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The keyword plan is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordPlan update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordPlan $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordPlan::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed keyword plan is - * expected in this format: - * `customers/{customer_id}/keywordPlans/{keyword_plan_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed keyword plan is - * expected in this format: - * `customers/{customer_id}/keywordPlans/{keyword_plan_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceClient.php deleted file mode 100644 index add7d9893..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.KeywordPlanService/MutateKeywordPlans', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordSeed.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordSeed.php deleted file mode 100644 index 8e044255b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordSeed.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.KeywordSeed - */ -class KeywordSeed extends \Google\Protobuf\Internal\Message -{ - /** - * Requires at least one keyword. - * - * Generated from protobuf field repeated string keywords = 2; - */ - private $keywords; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $keywords - * Requires at least one keyword. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Requires at least one keyword. - * - * Generated from protobuf field repeated string keywords = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeywords() - { - return $this->keywords; - } - - /** - * Requires at least one keyword. - * - * Generated from protobuf field repeated string keywords = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeywords($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->keywords = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceClient.php deleted file mode 100644 index 4b41bc27f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.KeywordThemeConstantService/SuggestKeywordThemeConstants', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemeConstantsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/LabelOperation.php b/src/Google/Ads/GoogleAds/V15/Services/LabelOperation.php deleted file mode 100644 index fac9b5a43..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/LabelOperation.php +++ /dev/null @@ -1,191 +0,0 @@ -google.ads.googleads.v15.services.LabelOperation - */ -class LabelOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\Label $create - * Create operation: No resource name is expected for the new label. - * @type \Google\Ads\GoogleAds\V15\Resources\Label $update - * Update operation: The label is expected to have a valid resource name. - * @type string $remove - * Remove operation: A resource name for the label being removed, in - * this format: - * `customers/{customer_id}/labels/{label_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\LabelService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new label. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\Label|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new label. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\Label $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Label::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The label is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Label|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The label is expected to have a valid resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Label $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Label::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the label being removed, in - * this format: - * `customers/{customer_id}/labels/{label_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the label being removed, in - * this format: - * `customers/{customer_id}/labels/{label_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/LabelServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/LabelServiceClient.php deleted file mode 100644 index 35c3ec952..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/LabelServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.LabelService/MutateLabels', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateLabelsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListAccessibleCustomersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListAccessibleCustomersRequest.php deleted file mode 100644 index a0ec7e34f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListAccessibleCustomersRequest.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.services.ListAccessibleCustomersRequest - */ -class ListAccessibleCustomersRequest extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListAccessibleCustomersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListAccessibleCustomersResponse.php deleted file mode 100644 index 45a977209..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListAccessibleCustomersResponse.php +++ /dev/null @@ -1,72 +0,0 @@ -google.ads.googleads.v15.services.ListAccessibleCustomersResponse - */ -class ListAccessibleCustomersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of customers directly accessible by the - * user authenticating the call. - * - * Generated from protobuf field repeated string resource_names = 1; - */ - private $resource_names; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $resource_names - * Resource name of customers directly accessible by the - * user authenticating the call. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerService::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of customers directly accessible by the - * user authenticating the call. - * - * Generated from protobuf field repeated string resource_names = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResourceNames() - { - return $this->resource_names; - } - - /** - * Resource name of customers directly accessible by the - * user authenticating the call. - * - * Generated from protobuf field repeated string resource_names = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResourceNames($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->resource_names = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListAudienceInsightsAttributesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListAudienceInsightsAttributesRequest.php deleted file mode 100644 index 4674f85ab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListAudienceInsightsAttributesRequest.php +++ /dev/null @@ -1,258 +0,0 @@ -google.ads.googleads.v15.services.ListAudienceInsightsAttributesRequest - */ -class ListAudienceInsightsAttributesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The types of attributes to be returned. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $dimensions; - /** - * Required. A free text query. If the requested dimensions include - * Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for - * those dimensions will match or be related to this string. For other - * dimensions, this field is ignored and all available attributes are - * returned. - * - * Generated from protobuf field string query_text = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $query_text = ''; - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 4; - */ - protected $customer_insights_group = ''; - /** - * If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and - * this field is present, then the SUB_COUNTRY_LOCATION attributes returned - * will be located in these countries. If this field is absent, then location - * attributes are not filtered by country. Setting this field when - * SUB_COUNTRY_LOCATION attributes are not requested will return an error. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo location_country_filters = 5; - */ - private $location_country_filters; - - /** - * @param string $customerId Required. The ID of the customer. - * @param int[] $dimensions Required. The types of attributes to be returned. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension} - * @param string $queryText Required. A free text query. If the requested dimensions include - * Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for - * those dimensions will match or be related to this string. For other - * dimensions, this field is ignored and all available attributes are - * returned. - * - * @return \Google\Ads\GoogleAds\V15\Services\ListAudienceInsightsAttributesRequest - * - * @experimental - */ - public static function build(string $customerId, array $dimensions, string $queryText): self - { - return (new self()) - ->setCustomerId($customerId) - ->setDimensions($dimensions) - ->setQueryText($queryText); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type array|\Google\Protobuf\Internal\RepeatedField $dimensions - * Required. The types of attributes to be returned. - * @type string $query_text - * Required. A free text query. If the requested dimensions include - * Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for - * those dimensions will match or be related to this string. For other - * dimensions, this field is ignored and all available attributes are - * returned. - * @type string $customer_insights_group - * The name of the customer being planned for. This is a user-defined value. - * @type array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $location_country_filters - * If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and - * this field is present, then the SUB_COUNTRY_LOCATION attributes returned - * will be located in these countries. If this field is absent, then location - * attributes are not filtered by country. Setting this field when - * SUB_COUNTRY_LOCATION attributes are not requested will return an error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The types of attributes to be returned. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * Required. The types of attributes to be returned. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension::class); - $this->dimensions = $arr; - - return $this; - } - - /** - * Required. A free text query. If the requested dimensions include - * Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for - * those dimensions will match or be related to this string. For other - * dimensions, this field is ignored and all available attributes are - * returned. - * - * Generated from protobuf field string query_text = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getQueryText() - { - return $this->query_text; - } - - /** - * Required. A free text query. If the requested dimensions include - * Attributes CATEGORY or KNOWLEDGE_GRAPH, then the attributes returned for - * those dimensions will match or be related to this string. For other - * dimensions, this field is ignored and all available attributes are - * returned. - * - * Generated from protobuf field string query_text = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setQueryText($var) - { - GPBUtil::checkString($var, True); - $this->query_text = $var; - - return $this; - } - - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 4; - * @return string - */ - public function getCustomerInsightsGroup() - { - return $this->customer_insights_group; - } - - /** - * The name of the customer being planned for. This is a user-defined value. - * - * Generated from protobuf field string customer_insights_group = 4; - * @param string $var - * @return $this - */ - public function setCustomerInsightsGroup($var) - { - GPBUtil::checkString($var, True); - $this->customer_insights_group = $var; - - return $this; - } - - /** - * If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and - * this field is present, then the SUB_COUNTRY_LOCATION attributes returned - * will be located in these countries. If this field is absent, then location - * attributes are not filtered by country. Setting this field when - * SUB_COUNTRY_LOCATION attributes are not requested will return an error. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo location_country_filters = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLocationCountryFilters() - { - return $this->location_country_filters; - } - - /** - * If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and - * this field is present, then the SUB_COUNTRY_LOCATION attributes returned - * will be located in these countries. If this field is absent, then location - * attributes are not filtered by country. Setting this field when - * SUB_COUNTRY_LOCATION attributes are not requested will return an error. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo location_country_filters = 5; - * @param array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLocationCountryFilters($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->location_country_filters = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListAudienceInsightsAttributesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListAudienceInsightsAttributesResponse.php deleted file mode 100644 index 2ae15c90a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListAudienceInsightsAttributesResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.ListAudienceInsightsAttributesResponse - */ -class ListAudienceInsightsAttributesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The attributes matching the search query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata attributes = 1; - */ - private $attributes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata>|\Google\Protobuf\Internal\RepeatedField $attributes - * The attributes matching the search query. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The attributes matching the search query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata attributes = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributes() - { - return $this->attributes; - } - - /** - * The attributes matching the search query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata attributes = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata::class); - $this->attributes = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListBatchJobResultsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListBatchJobResultsRequest.php deleted file mode 100644 index b31caf82c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListBatchJobResultsRequest.php +++ /dev/null @@ -1,212 +0,0 @@ -google.ads.googleads.v15.services.ListBatchJobResultsRequest - */ -class ListBatchJobResultsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the batch job whose results are being - * listed. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - */ - protected $page_token = ''; - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - */ - protected $page_size = 0; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - */ - protected $response_content_type = 0; - - /** - * @param string $resourceName Required. The resource name of the batch job whose results are being - * listed. - * - * @return \Google\Ads\GoogleAds\V15\Services\ListBatchJobResultsRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the batch job whose results are being - * listed. - * @type string $page_token - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * @type int $page_size - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the batch job whose results are being - * listed. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the batch job whose results are being - * listed. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListBatchJobResultsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListBatchJobResultsResponse.php deleted file mode 100644 index 8c36e8730..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListBatchJobResultsResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.services.ListBatchJobResultsResponse - */ -class ListBatchJobResultsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BatchJobResult results = 1; - */ - private $results; - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\BatchJobResult>|\Google\Protobuf\Internal\RepeatedField $results - * The list of rows that matched the query. - * @type string $next_page_token - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BatchJobResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BatchJobResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\BatchJobResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\BatchJobResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - * @return string - */ - public function getNextPageToken() - { - return $this->next_page_token; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - * @param string $var - * @return $this - */ - public function setNextPageToken($var) - { - GPBUtil::checkString($var, True); - $this->next_page_token = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListCampaignDraftAsyncErrorsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListCampaignDraftAsyncErrorsRequest.php deleted file mode 100644 index 4041b9ac4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListCampaignDraftAsyncErrorsRequest.php +++ /dev/null @@ -1,174 +0,0 @@ -google.ads.googleads.v15.services.ListCampaignDraftAsyncErrorsRequest - */ -class ListCampaignDraftAsyncErrorsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the campaign draft from which to retrieve the async - * errors. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - */ - protected $page_token = ''; - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - */ - protected $page_size = 0; - - /** - * @param string $resourceName Required. The name of the campaign draft from which to retrieve the async - * errors. - * - * @return \Google\Ads\GoogleAds\V15\Services\ListCampaignDraftAsyncErrorsRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The name of the campaign draft from which to retrieve the async - * errors. - * @type string $page_token - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * @type int $page_size - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignDraftService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the campaign draft from which to retrieve the async - * errors. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The name of the campaign draft from which to retrieve the async - * errors. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListCampaignDraftAsyncErrorsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListCampaignDraftAsyncErrorsResponse.php deleted file mode 100644 index 2b1e6d8ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListCampaignDraftAsyncErrorsResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.services.ListCampaignDraftAsyncErrorsResponse - */ -class ListCampaignDraftAsyncErrorsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Details of the errors when performing the asynchronous operation. - * - * Generated from protobuf field repeated .google.rpc.Status errors = 1; - */ - private $errors; - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $errors - * Details of the errors when performing the asynchronous operation. - * @type string $next_page_token - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignDraftService::initOnce(); - parent::__construct($data); - } - - /** - * Details of the errors when performing the asynchronous operation. - * - * Generated from protobuf field repeated .google.rpc.Status errors = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getErrors() - { - return $this->errors; - } - - /** - * Details of the errors when performing the asynchronous operation. - * - * Generated from protobuf field repeated .google.rpc.Status errors = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setErrors($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class); - $this->errors = $arr; - - return $this; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - * @return string - */ - public function getNextPageToken() - { - return $this->next_page_token; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - * @param string $var - * @return $this - */ - public function setNextPageToken($var) - { - GPBUtil::checkString($var, True); - $this->next_page_token = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListExperimentAsyncErrorsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListExperimentAsyncErrorsRequest.php deleted file mode 100644 index 6a02e3326..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListExperimentAsyncErrorsRequest.php +++ /dev/null @@ -1,178 +0,0 @@ -google.ads.googleads.v15.services.ListExperimentAsyncErrorsRequest - */ -class ListExperimentAsyncErrorsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the experiment from which to retrieve the async - * errors. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - */ - protected $page_token = ''; - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * The maximum page size is 1000. - * - * Generated from protobuf field int32 page_size = 3; - */ - protected $page_size = 0; - - /** - * @param string $resourceName Required. The name of the experiment from which to retrieve the async - * errors. - * - * @return \Google\Ads\GoogleAds\V15\Services\ListExperimentAsyncErrorsRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The name of the experiment from which to retrieve the async - * errors. - * @type string $page_token - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * @type int $page_size - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * The maximum page size is 1000. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the experiment from which to retrieve the async - * errors. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The name of the experiment from which to retrieve the async - * errors. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 2; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * The maximum page size is 1000. - * - * Generated from protobuf field int32 page_size = 3; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Number of elements to retrieve in a single page. - * When a page request is too large, the server may decide to - * further limit the number of returned resources. - * The maximum page size is 1000. - * - * Generated from protobuf field int32 page_size = 3; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListExperimentAsyncErrorsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListExperimentAsyncErrorsResponse.php deleted file mode 100644 index e27dc0824..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListExperimentAsyncErrorsResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -google.ads.googleads.v15.services.ListExperimentAsyncErrorsResponse - */ -class ListExperimentAsyncErrorsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * details of the errors when performing the asynchronous operation. - * - * Generated from protobuf field repeated .google.rpc.Status errors = 1; - */ - private $errors; - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $errors - * details of the errors when performing the asynchronous operation. - * @type string $next_page_token - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * details of the errors when performing the asynchronous operation. - * - * Generated from protobuf field repeated .google.rpc.Status errors = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getErrors() - { - return $this->errors; - } - - /** - * details of the errors when performing the asynchronous operation. - * - * Generated from protobuf field repeated .google.rpc.Status errors = 1; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setErrors($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class); - $this->errors = $arr; - - return $this; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - * @return string - */ - public function getNextPageToken() - { - return $this->next_page_token; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - * @param string $var - * @return $this - */ - public function setNextPageToken($var) - { - GPBUtil::checkString($var, True); - $this->next_page_token = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListInsightsEligibleDatesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListInsightsEligibleDatesRequest.php deleted file mode 100644 index 8702aa908..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListInsightsEligibleDatesRequest.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.services.ListInsightsEligibleDatesRequest - */ -class ListInsightsEligibleDatesRequest extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListInsightsEligibleDatesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListInsightsEligibleDatesResponse.php deleted file mode 100644 index 7e2854db8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListInsightsEligibleDatesResponse.php +++ /dev/null @@ -1,128 +0,0 @@ -google.ads.googleads.v15.services.ListInsightsEligibleDatesResponse - */ -class ListInsightsEligibleDatesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The months for which AudienceInsights data is currently - * available, each represented as a string in the form "YYYY-MM". - * - * Generated from protobuf field repeated string data_months = 1; - */ - private $data_months; - /** - * The actual dates covered by the "last 30 days" date range that will be used - * implicitly for - * [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights] - * requests that have no data_month set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange last_thirty_days = 2; - */ - protected $last_thirty_days = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $data_months - * The months for which AudienceInsights data is currently - * available, each represented as a string in the form "YYYY-MM". - * @type \Google\Ads\GoogleAds\V15\Common\DateRange $last_thirty_days - * The actual dates covered by the "last 30 days" date range that will be used - * implicitly for - * [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights] - * requests that have no data_month set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The months for which AudienceInsights data is currently - * available, each represented as a string in the form "YYYY-MM". - * - * Generated from protobuf field repeated string data_months = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDataMonths() - { - return $this->data_months; - } - - /** - * The months for which AudienceInsights data is currently - * available, each represented as a string in the form "YYYY-MM". - * - * Generated from protobuf field repeated string data_months = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDataMonths($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->data_months = $arr; - - return $this; - } - - /** - * The actual dates covered by the "last 30 days" date range that will be used - * implicitly for - * [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights] - * requests that have no data_month set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange last_thirty_days = 2; - * @return \Google\Ads\GoogleAds\V15\Common\DateRange|null - */ - public function getLastThirtyDays() - { - return $this->last_thirty_days; - } - - public function hasLastThirtyDays() - { - return isset($this->last_thirty_days); - } - - public function clearLastThirtyDays() - { - unset($this->last_thirty_days); - } - - /** - * The actual dates covered by the "last 30 days" date range that will be used - * implicitly for - * [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights] - * requests that have no data_month set. - * - * Generated from protobuf field .google.ads.googleads.v15.common.DateRange last_thirty_days = 2; - * @param \Google\Ads\GoogleAds\V15\Common\DateRange $var - * @return $this - */ - public function setLastThirtyDays($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\DateRange::class); - $this->last_thirty_days = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListInvoicesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListInvoicesRequest.php deleted file mode 100644 index 13ed93b41..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListInvoicesRequest.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.ListInvoicesRequest - */ -class ListInvoicesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer to fetch invoices for. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The billing setup resource name of the requested invoices. - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field string billing_setup = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $billing_setup = ''; - /** - * Required. The issue year to retrieve invoices, in yyyy format. Only - * invoices issued in 2019 or later can be retrieved. - * - * Generated from protobuf field string issue_year = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $issue_year = ''; - /** - * Required. The issue month to retrieve invoices. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $issue_month = 0; - - /** - * @param string $customerId Required. The ID of the customer to fetch invoices for. - * @param string $billingSetup Required. The billing setup resource name of the requested invoices. - * - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * @param string $issueYear Required. The issue year to retrieve invoices, in yyyy format. Only - * invoices issued in 2019 or later can be retrieved. - * @param int $issueMonth Required. The issue month to retrieve invoices. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\MonthOfYearEnum\MonthOfYear} - * - * @return \Google\Ads\GoogleAds\V15\Services\ListInvoicesRequest - * - * @experimental - */ - public static function build(string $customerId, string $billingSetup, string $issueYear, int $issueMonth): self - { - return (new self()) - ->setCustomerId($customerId) - ->setBillingSetup($billingSetup) - ->setIssueYear($issueYear) - ->setIssueMonth($issueMonth); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer to fetch invoices for. - * @type string $billing_setup - * Required. The billing setup resource name of the requested invoices. - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * @type string $issue_year - * Required. The issue year to retrieve invoices, in yyyy format. Only - * invoices issued in 2019 or later can be retrieved. - * @type int $issue_month - * Required. The issue month to retrieve invoices. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\InvoiceService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer to fetch invoices for. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer to fetch invoices for. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The billing setup resource name of the requested invoices. - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field string billing_setup = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getBillingSetup() - { - return $this->billing_setup; - } - - /** - * Required. The billing setup resource name of the requested invoices. - * `customers/{customer_id}/billingSetups/{billing_setup_id}` - * - * Generated from protobuf field string billing_setup = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setBillingSetup($var) - { - GPBUtil::checkString($var, True); - $this->billing_setup = $var; - - return $this; - } - - /** - * Required. The issue year to retrieve invoices, in yyyy format. Only - * invoices issued in 2019 or later can be retrieved. - * - * Generated from protobuf field string issue_year = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getIssueYear() - { - return $this->issue_year; - } - - /** - * Required. The issue year to retrieve invoices, in yyyy format. Only - * invoices issued in 2019 or later can be retrieved. - * - * Generated from protobuf field string issue_year = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setIssueYear($var) - { - GPBUtil::checkString($var, True); - $this->issue_year = $var; - - return $this; - } - - /** - * Required. The issue month to retrieve invoices. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getIssueMonth() - { - return $this->issue_month; - } - - /** - * Required. The issue month to retrieve invoices. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setIssueMonth($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\MonthOfYearEnum\MonthOfYear::class); - $this->issue_month = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListInvoicesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListInvoicesResponse.php deleted file mode 100644 index 39e722bf3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListInvoicesResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.ListInvoicesResponse - */ -class ListInvoicesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The list of invoices that match the billing setup and time period. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice invoices = 1; - */ - private $invoices; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\Invoice>|\Google\Protobuf\Internal\RepeatedField $invoices - * The list of invoices that match the billing setup and time period. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\InvoiceService::initOnce(); - parent::__construct($data); - } - - /** - * The list of invoices that match the billing setup and time period. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice invoices = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInvoices() - { - return $this->invoices; - } - - /** - * The list of invoices that match the billing setup and time period. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.Invoice invoices = 1; - * @param array<\Google\Ads\GoogleAds\V15\Resources\Invoice>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInvoices($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\Invoice::class); - $this->invoices = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListPaymentsAccountsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListPaymentsAccountsRequest.php deleted file mode 100644 index ceaa45d00..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListPaymentsAccountsRequest.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.services.ListPaymentsAccountsRequest - */ -class ListPaymentsAccountsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer to apply the PaymentsAccount list - * operation to. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - - /** - * @param string $customerId Required. The ID of the customer to apply the PaymentsAccount list - * operation to. - * - * @return \Google\Ads\GoogleAds\V15\Services\ListPaymentsAccountsRequest - * - * @experimental - */ - public static function build(string $customerId): self - { - return (new self()) - ->setCustomerId($customerId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer to apply the PaymentsAccount list - * operation to. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\PaymentsAccountService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer to apply the PaymentsAccount list - * operation to. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer to apply the PaymentsAccount list - * operation to. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListPaymentsAccountsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListPaymentsAccountsResponse.php deleted file mode 100644 index 22b3f2a0e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListPaymentsAccountsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.ListPaymentsAccountsResponse - */ -class ListPaymentsAccountsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The list of accessible payments accounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.PaymentsAccount payments_accounts = 1; - */ - private $payments_accounts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\PaymentsAccount>|\Google\Protobuf\Internal\RepeatedField $payments_accounts - * The list of accessible payments accounts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\PaymentsAccountService::initOnce(); - parent::__construct($data); - } - - /** - * The list of accessible payments accounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.PaymentsAccount payments_accounts = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPaymentsAccounts() - { - return $this->payments_accounts; - } - - /** - * The list of accessible payments accounts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.PaymentsAccount payments_accounts = 1; - * @param array<\Google\Ads\GoogleAds\V15\Resources\PaymentsAccount>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPaymentsAccounts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\PaymentsAccount::class); - $this->payments_accounts = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListPlannableLocationsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListPlannableLocationsRequest.php deleted file mode 100644 index ced020669..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListPlannableLocationsRequest.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.services.ListPlannableLocationsRequest - */ -class ListPlannableLocationsRequest extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListPlannableLocationsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListPlannableLocationsResponse.php deleted file mode 100644 index 93e5aa08b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListPlannableLocationsResponse.php +++ /dev/null @@ -1,79 +0,0 @@ -google.ads.googleads.v15.services.ListPlannableLocationsResponse - */ -class ListPlannableLocationsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The list of locations available for planning. - * See - * https://developers.google.com/google-ads/api/reference/data/geotargets - * for sample locations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannableLocation plannable_locations = 1; - */ - private $plannable_locations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\PlannableLocation>|\Google\Protobuf\Internal\RepeatedField $plannable_locations - * The list of locations available for planning. - * See - * https://developers.google.com/google-ads/api/reference/data/geotargets - * for sample locations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The list of locations available for planning. - * See - * https://developers.google.com/google-ads/api/reference/data/geotargets - * for sample locations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannableLocation plannable_locations = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPlannableLocations() - { - return $this->plannable_locations; - } - - /** - * The list of locations available for planning. - * See - * https://developers.google.com/google-ads/api/reference/data/geotargets - * for sample locations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannableLocation plannable_locations = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\PlannableLocation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPlannableLocations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\PlannableLocation::class); - $this->plannable_locations = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListPlannableProductsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ListPlannableProductsRequest.php deleted file mode 100644 index 6cd818008..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListPlannableProductsRequest.php +++ /dev/null @@ -1,90 +0,0 @@ -google.ads.googleads.v15.services.ListPlannableProductsRequest - */ -class ListPlannableProductsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the selected location for planning. To list the - * available plannable location IDs use - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * - * Generated from protobuf field string plannable_location_id = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $plannable_location_id = ''; - - /** - * @param string $plannableLocationId Required. The ID of the selected location for planning. To list the - * available plannable location IDs use - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * - * @return \Google\Ads\GoogleAds\V15\Services\ListPlannableProductsRequest - * - * @experimental - */ - public static function build(string $plannableLocationId): self - { - return (new self()) - ->setPlannableLocationId($plannableLocationId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $plannable_location_id - * Required. The ID of the selected location for planning. To list the - * available plannable location IDs use - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the selected location for planning. To list the - * available plannable location IDs use - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * - * Generated from protobuf field string plannable_location_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPlannableLocationId() - { - return $this->plannable_location_id; - } - - /** - * Required. The ID of the selected location for planning. To list the - * available plannable location IDs use - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * - * Generated from protobuf field string plannable_location_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPlannableLocationId($var) - { - GPBUtil::checkString($var, True); - $this->plannable_location_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ListPlannableProductsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/ListPlannableProductsResponse.php deleted file mode 100644 index c27f3f071..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ListPlannableProductsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.ListPlannableProductsResponse - */ -class ListPlannableProductsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The list of products available for planning and related targeting metadata. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ProductMetadata product_metadata = 1; - */ - private $product_metadata; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\ProductMetadata>|\Google\Protobuf\Internal\RepeatedField $product_metadata - * The list of products available for planning and related targeting metadata. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The list of products available for planning and related targeting metadata. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ProductMetadata product_metadata = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getProductMetadata() - { - return $this->product_metadata; - } - - /** - * The list of products available for planning and related targeting metadata. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ProductMetadata product_metadata = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\ProductMetadata>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setProductMetadata($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ProductMetadata::class); - $this->product_metadata = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/LocationAttributeMetadata.php b/src/Google/Ads/GoogleAds/V15/Services/LocationAttributeMetadata.php deleted file mode 100644 index f9ef6041d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/LocationAttributeMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.LocationAttributeMetadata - */ -class LocationAttributeMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The country location of the sub country location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo country_location = 1; - */ - protected $country_location = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\LocationInfo $country_location - * The country location of the sub country location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The country location of the sub country location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo country_location = 1; - * @return \Google\Ads\GoogleAds\V15\Common\LocationInfo|null - */ - public function getCountryLocation() - { - return $this->country_location; - } - - public function hasCountryLocation() - { - return isset($this->country_location); - } - - public function clearCountryLocation() - { - unset($this->country_location); - } - - /** - * The country location of the sub country location. - * - * Generated from protobuf field .google.ads.googleads.v15.common.LocationInfo country_location = 1; - * @param \Google\Ads\GoogleAds\V15\Common\LocationInfo $var - * @return $this - */ - public function setCountryLocation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->country_location = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ManualCpcBiddingStrategy.php b/src/Google/Ads/GoogleAds/V15/Services/ManualCpcBiddingStrategy.php deleted file mode 100644 index cb056fee2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ManualCpcBiddingStrategy.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.ManualCpcBiddingStrategy - */ -class ManualCpcBiddingStrategy extends \Google\Protobuf\Internal\Message -{ - /** - * Campaign level budget in micros. If set, a minimum value - * is enforced for the local currency used in the campaign. An error - * will occur showing the minimum value if this field is set too low. - * - * Generated from protobuf field optional int64 daily_budget_micros = 1; - */ - protected $daily_budget_micros = null; - /** - * Required. A bid in micros to be applied to ad groups within the campaign - * for a manual CPC bidding strategy. - * - * Generated from protobuf field int64 max_cpc_bid_micros = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $max_cpc_bid_micros = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $daily_budget_micros - * Campaign level budget in micros. If set, a minimum value - * is enforced for the local currency used in the campaign. An error - * will occur showing the minimum value if this field is set too low. - * @type int|string $max_cpc_bid_micros - * Required. A bid in micros to be applied to ad groups within the campaign - * for a manual CPC bidding strategy. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Campaign level budget in micros. If set, a minimum value - * is enforced for the local currency used in the campaign. An error - * will occur showing the minimum value if this field is set too low. - * - * Generated from protobuf field optional int64 daily_budget_micros = 1; - * @return int|string - */ - public function getDailyBudgetMicros() - { - return isset($this->daily_budget_micros) ? $this->daily_budget_micros : 0; - } - - public function hasDailyBudgetMicros() - { - return isset($this->daily_budget_micros); - } - - public function clearDailyBudgetMicros() - { - unset($this->daily_budget_micros); - } - - /** - * Campaign level budget in micros. If set, a minimum value - * is enforced for the local currency used in the campaign. An error - * will occur showing the minimum value if this field is set too low. - * - * Generated from protobuf field optional int64 daily_budget_micros = 1; - * @param int|string $var - * @return $this - */ - public function setDailyBudgetMicros($var) - { - GPBUtil::checkInt64($var); - $this->daily_budget_micros = $var; - - return $this; - } - - /** - * Required. A bid in micros to be applied to ad groups within the campaign - * for a manual CPC bidding strategy. - * - * Generated from protobuf field int64 max_cpc_bid_micros = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int|string - */ - public function getMaxCpcBidMicros() - { - return $this->max_cpc_bid_micros; - } - - /** - * Required. A bid in micros to be applied to ad groups within the campaign - * for a manual CPC bidding strategy. - * - * Generated from protobuf field int64 max_cpc_bid_micros = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int|string $var - * @return $this - */ - public function setMaxCpcBidMicros($var) - { - GPBUtil::checkInt64($var); - $this->max_cpc_bid_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MaximizeClicksBiddingStrategy.php b/src/Google/Ads/GoogleAds/V15/Services/MaximizeClicksBiddingStrategy.php deleted file mode 100644 index 3296baa33..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MaximizeClicksBiddingStrategy.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MaximizeClicksBiddingStrategy - */ -class MaximizeClicksBiddingStrategy extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The daily target spend in micros to be used for estimation. A - * minimum value is enforced for the local currency used in the campaign. An - * error will occur showing the minimum value if this field is set too low. - * - * Generated from protobuf field int64 daily_target_spend_micros = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $daily_target_spend_micros = 0; - /** - * Ceiling on max CPC bids in micros. - * - * Generated from protobuf field optional int64 max_cpc_bid_ceiling_micros = 2; - */ - protected $max_cpc_bid_ceiling_micros = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $daily_target_spend_micros - * Required. The daily target spend in micros to be used for estimation. A - * minimum value is enforced for the local currency used in the campaign. An - * error will occur showing the minimum value if this field is set too low. - * @type int|string $max_cpc_bid_ceiling_micros - * Ceiling on max CPC bids in micros. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The daily target spend in micros to be used for estimation. A - * minimum value is enforced for the local currency used in the campaign. An - * error will occur showing the minimum value if this field is set too low. - * - * Generated from protobuf field int64 daily_target_spend_micros = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int|string - */ - public function getDailyTargetSpendMicros() - { - return $this->daily_target_spend_micros; - } - - /** - * Required. The daily target spend in micros to be used for estimation. A - * minimum value is enforced for the local currency used in the campaign. An - * error will occur showing the minimum value if this field is set too low. - * - * Generated from protobuf field int64 daily_target_spend_micros = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int|string $var - * @return $this - */ - public function setDailyTargetSpendMicros($var) - { - GPBUtil::checkInt64($var); - $this->daily_target_spend_micros = $var; - - return $this; - } - - /** - * Ceiling on max CPC bids in micros. - * - * Generated from protobuf field optional int64 max_cpc_bid_ceiling_micros = 2; - * @return int|string - */ - public function getMaxCpcBidCeilingMicros() - { - return isset($this->max_cpc_bid_ceiling_micros) ? $this->max_cpc_bid_ceiling_micros : 0; - } - - public function hasMaxCpcBidCeilingMicros() - { - return isset($this->max_cpc_bid_ceiling_micros); - } - - public function clearMaxCpcBidCeilingMicros() - { - unset($this->max_cpc_bid_ceiling_micros); - } - - /** - * Ceiling on max CPC bids in micros. - * - * Generated from protobuf field optional int64 max_cpc_bid_ceiling_micros = 2; - * @param int|string $var - * @return $this - */ - public function setMaxCpcBidCeilingMicros($var) - { - GPBUtil::checkInt64($var); - $this->max_cpc_bid_ceiling_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MaximizeConversionsBiddingStrategy.php b/src/Google/Ads/GoogleAds/V15/Services/MaximizeConversionsBiddingStrategy.php deleted file mode 100644 index cac926b01..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MaximizeConversionsBiddingStrategy.php +++ /dev/null @@ -1,71 +0,0 @@ -google.ads.googleads.v15.services.MaximizeConversionsBiddingStrategy - */ -class MaximizeConversionsBiddingStrategy extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The daily target spend in micros to be used for estimation. This - * value must be greater than zero. - * - * Generated from protobuf field int64 daily_target_spend_micros = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $daily_target_spend_micros = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $daily_target_spend_micros - * Required. The daily target spend in micros to be used for estimation. This - * value must be greater than zero. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The daily target spend in micros to be used for estimation. This - * value must be greater than zero. - * - * Generated from protobuf field int64 daily_target_spend_micros = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int|string - */ - public function getDailyTargetSpendMicros() - { - return $this->daily_target_spend_micros; - } - - /** - * Required. The daily target spend in micros to be used for estimation. This - * value must be greater than zero. - * - * Generated from protobuf field int64 daily_target_spend_micros = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int|string $var - * @return $this - */ - public function setDailyTargetSpendMicros($var) - { - GPBUtil::checkInt64($var); - $this->daily_target_spend_micros = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MoveManagerLinkRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MoveManagerLinkRequest.php deleted file mode 100644 index e0b1eccb1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MoveManagerLinkRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MoveManagerLinkRequest - */ -class MoveManagerLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the client customer that is being moved. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The resource name of the previous CustomerManagerLink. - * The resource name has the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string previous_customer_manager_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $previous_customer_manager_link = ''; - /** - * Required. The resource name of the new manager customer that the client - * wants to move to. Customer resource names have the format: - * "customers/{customer_id}" - * - * Generated from protobuf field string new_manager = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $new_manager = ''; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the client customer that is being moved. - * @param string $previousCustomerManagerLink Required. The resource name of the previous CustomerManagerLink. - * The resource name has the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * @param string $newManager Required. The resource name of the new manager customer that the client - * wants to move to. Customer resource names have the format: - * "customers/{customer_id}" - * - * @return \Google\Ads\GoogleAds\V15\Services\MoveManagerLinkRequest - * - * @experimental - */ - public static function build(string $customerId, string $previousCustomerManagerLink, string $newManager): self - { - return (new self()) - ->setCustomerId($customerId) - ->setPreviousCustomerManagerLink($previousCustomerManagerLink) - ->setNewManager($newManager); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the client customer that is being moved. - * @type string $previous_customer_manager_link - * Required. The resource name of the previous CustomerManagerLink. - * The resource name has the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * @type string $new_manager - * Required. The resource name of the new manager customer that the client - * wants to move to. Customer resource names have the format: - * "customers/{customer_id}" - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the client customer that is being moved. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the client customer that is being moved. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The resource name of the previous CustomerManagerLink. - * The resource name has the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string previous_customer_manager_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPreviousCustomerManagerLink() - { - return $this->previous_customer_manager_link; - } - - /** - * Required. The resource name of the previous CustomerManagerLink. - * The resource name has the form: - * `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - * - * Generated from protobuf field string previous_customer_manager_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPreviousCustomerManagerLink($var) - { - GPBUtil::checkString($var, True); - $this->previous_customer_manager_link = $var; - - return $this; - } - - /** - * Required. The resource name of the new manager customer that the client - * wants to move to. Customer resource names have the format: - * "customers/{customer_id}" - * - * Generated from protobuf field string new_manager = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getNewManager() - { - return $this->new_manager; - } - - /** - * Required. The resource name of the new manager customer that the client - * wants to move to. Customer resource names have the format: - * "customers/{customer_id}" - * - * Generated from protobuf field string new_manager = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setNewManager($var) - { - GPBUtil::checkString($var, True); - $this->new_manager = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MoveManagerLinkResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MoveManagerLinkResponse.php deleted file mode 100644 index 20d816917..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MoveManagerLinkResponse.php +++ /dev/null @@ -1,75 +0,0 @@ -google.ads.googleads.v15.services.MoveManagerLinkResponse - */ -class MoveManagerLinkResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. Represents a CustomerManagerLink - * resource of the newly created link between client customer and new manager - * customer. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. Represents a CustomerManagerLink - * resource of the newly created link between client customer and new manager - * customer. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. Represents a CustomerManagerLink - * resource of the newly created link between client customer and new manager - * customer. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. Represents a CustomerManagerLink - * resource of the newly created link between client customer and new manager - * customer. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalRequest.php deleted file mode 100644 index e807d64ae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalRequest.php +++ /dev/null @@ -1,170 +0,0 @@ -google.ads.googleads.v15.services.MutateAccountBudgetProposalRequest - */ -class MutateAccountBudgetProposalRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform on an individual account-level budget - * proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AccountBudgetProposalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer. - * @param \Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalOperation $operation Required. The operation to perform on an individual account-level budget - * proposal. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAccountBudgetProposalRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type \Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalOperation $operation - * Required. The operation to perform on an individual account-level budget - * proposal. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform on an individual account-level budget - * proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AccountBudgetProposalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform on an individual account-level budget - * proposal. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AccountBudgetProposalOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalOperation::class); - $this->operation = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalResponse.php deleted file mode 100644 index c5ba6875c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalResponse.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.MutateAccountBudgetProposalResponse - */ -class MutateAccountBudgetProposalResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The result of the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAccountBudgetProposalResult result = 2; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateAccountBudgetProposalResult $result - * The result of the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalService::initOnce(); - parent::__construct($data); - } - - /** - * The result of the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAccountBudgetProposalResult result = 2; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAccountBudgetProposalResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * The result of the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAccountBudgetProposalResult result = 2; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAccountBudgetProposalResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAccountBudgetProposalResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalResult.php deleted file mode 100644 index 549c2d397..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountBudgetProposalResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateAccountBudgetProposalResult - */ -class MutateAccountBudgetProposalResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountBudgetProposalService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkRequest.php deleted file mode 100644 index 792387b4b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateAccountLinkRequest - */ -class MutateAccountLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform on the link. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AccountLinkOperation $operation Required. The operation to perform on the link. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAccountLinkRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\AccountLinkOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer being modified. - * @type \Google\Ads\GoogleAds\V15\Services\AccountLinkOperation $operation - * Required. The operation to perform on the link. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform on the link. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\AccountLinkOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform on the link. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AccountLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\AccountLinkOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AccountLinkOperation::class); - $this->operation = $var; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkResponse.php deleted file mode 100644 index b827cc70a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkResponse.php +++ /dev/null @@ -1,133 +0,0 @@ -google.ads.googleads.v15.services.MutateAccountLinkResponse - */ -class MutateAccountLinkResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAccountLinkResult result = 1; - */ - protected $result = null; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateAccountLinkResult $result - * Result for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAccountLinkResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAccountLinkResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAccountLinkResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAccountLinkResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAccountLinkResult::class); - $this->result = $var; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkResult.php deleted file mode 100644 index 6438d12d6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAccountLinkResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateAccountLinkResult - */ -class MutateAccountLinkResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AccountLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelResult.php deleted file mode 100644 index 8733b9b08..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAdLabelResult - */ -class MutateAdGroupAdLabelResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelsRequest.php deleted file mode 100644 index 636fb5906..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelsRequest.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAdLabelsRequest - */ -class MutateAdGroupAdLabelsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose ad group ad labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on ad group ad labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAdLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. ID of the customer whose ad group ad labels are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelOperation[] $operations Required. The list of operations to perform on ad group ad labels. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose ad group ad labels are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on ad group ad labels. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose ad group ad labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose ad group ad labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on ad group ad labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAdLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on ad group ad labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAdLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelsResponse.php deleted file mode 100644 index 963399b6f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdLabelsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAdLabelsResponse - */ -class MutateAdGroupAdLabelsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAdLabelResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAdLabelResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAdLabelResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdResult.php deleted file mode 100644 index 0b2287b06..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAdResult - */ -class MutateAdGroupAdResult extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ad group ad with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 2; - */ - protected $ad_group_ad = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $ad_group_ad - * The mutated ad group ad with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAdService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ad group ad with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAd|null - */ - public function getAdGroupAd() - { - return $this->ad_group_ad; - } - - public function hasAdGroupAd() - { - return isset($this->ad_group_ad); - } - - public function clearAdGroupAd() - { - unset($this->ad_group_ad); - } - - /** - * The mutated ad group ad with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAd $var - * @return $this - */ - public function setAdGroupAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAd::class); - $this->ad_group_ad = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdsRequest.php deleted file mode 100644 index 3f5fcbd58..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAdsRequest - */ -class MutateAdGroupAdsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ads are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose ads are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupAdOperation[] $operations Required. The list of operations to perform on individual ads. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ads are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupAdOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ads. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAdService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ads are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ads are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupAdOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupAdOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdsResponse.php deleted file mode 100644 index b465d10ae..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAdsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAdsResponse - */ -class MutateAdGroupAdsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAdResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAdService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAdResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAdResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetResult.php deleted file mode 100644 index 0ffe62d26..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAssetResult - */ -class MutateAdGroupAssetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ad group asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 2; - */ - protected $ad_group_asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $ad_group_asset - * The mutated ad group asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ad group asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset|null - */ - public function getAdGroupAsset() - { - return $this->ad_group_asset; - } - - public function hasAdGroupAsset() - { - return isset($this->ad_group_asset); - } - - public function clearAdGroupAsset() - { - unset($this->ad_group_asset); - } - - /** - * The mutated ad group asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset $var - * @return $this - */ - public function setAdGroupAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAsset::class); - $this->ad_group_asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetResult.php deleted file mode 100644 index 01eae5ddc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAssetSetResult - */ -class MutateAdGroupAssetSetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ad group asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAssetSet ad_group_asset_set = 2; - */ - protected $ad_group_asset_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet $ad_group_asset_set - * The mutated ad group asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ad group asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAssetSet ad_group_asset_set = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet|null - */ - public function getAdGroupAssetSet() - { - return $this->ad_group_asset_set; - } - - public function hasAdGroupAssetSet() - { - return isset($this->ad_group_asset_set); - } - - public function clearAdGroupAssetSet() - { - unset($this->ad_group_asset_set); - } - - /** - * The mutated ad group asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupAssetSet ad_group_asset_set = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet $var - * @return $this - */ - public function setAdGroupAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupAssetSet::class); - $this->ad_group_asset_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetsRequest.php deleted file mode 100644 index 5b41d4022..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAssetSetsRequest - */ -class MutateAdGroupAssetSetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ad group asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad group asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose ad group asset sets are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetOperation[] $operations Required. The list of operations to perform on individual ad group asset - * sets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetSetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ad group asset sets are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad group asset - * sets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ad group asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ad group asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad group asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad group asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetsResponse.php deleted file mode 100644 index b2d677cbe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetSetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAssetSetsResponse - */ -class MutateAdGroupAssetSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAssetSetResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (e.g. auth errors), - * we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetSetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (e.g. auth errors), - * we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAssetSetResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAssetSetResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetSetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetSetResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (e.g. auth errors), - * we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (e.g. auth errors), - * we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetsRequest.php deleted file mode 100644 index 0bcbcb64c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAssetsRequest - */ -class MutateAdGroupAssetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ad group assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad group assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose ad group assets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupAssetOperation[] $operations Required. The list of operations to perform on individual ad group assets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ad group assets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupAssetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad group assets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ad group assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ad group assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad group assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad group assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupAssetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupAssetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetsResponse.php deleted file mode 100644 index c364081de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupAssetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupAssetsResponse - */ -class MutateAdGroupAssetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAssetResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAssetResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupAssetResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifierResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifierResult.php deleted file mode 100644 index f4dead0f7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifierResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupBidModifierResult - */ -class MutateAdGroupBidModifierResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ad group bid modifier with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 2; - */ - protected $ad_group_bid_modifier = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $ad_group_bid_modifier - * The mutated ad group bid modifier with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ad group bid modifier with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier|null - */ - public function getAdGroupBidModifier() - { - return $this->ad_group_bid_modifier; - } - - public function hasAdGroupBidModifier() - { - return isset($this->ad_group_bid_modifier); - } - - public function clearAdGroupBidModifier() - { - unset($this->ad_group_bid_modifier); - } - - /** - * The mutated ad group bid modifier with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier $var - * @return $this - */ - public function setAdGroupBidModifier($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupBidModifier::class); - $this->ad_group_bid_modifier = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifiersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifiersRequest.php deleted file mode 100644 index f94bef26f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifiersRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupBidModifiersRequest - */ -class MutateAdGroupBidModifiersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose ad group bid modifiers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad group bid - * modifiers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupBidModifierOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. ID of the customer whose ad group bid modifiers are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierOperation[] $operations Required. The list of operations to perform on individual ad group bid - * modifiers. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifiersRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose ad group bid modifiers are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad group bid - * modifiers. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose ad group bid modifiers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose ad group bid modifiers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad group bid - * modifiers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupBidModifierOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad group bid - * modifiers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupBidModifierOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifiersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifiersResponse.php deleted file mode 100644 index c4d6ce91c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupBidModifiersResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupBidModifiersResponse - */ -class MutateAdGroupBidModifiersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupBidModifierResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifierResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupBidModifierResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupBidModifierResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifierResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifierResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriteriaRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriteriaRequest.php deleted file mode 100644 index 0a3b4d491..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriteriaRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriteriaRequest - */ -class MutateAdGroupCriteriaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. ID of the customer whose criteria are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionOperation[] $operations Required. The list of operations to perform on individual criteria. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriteriaRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose criteria are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual criteria. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriteriaResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriteriaResponse.php deleted file mode 100644 index 8629b1064..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriteriaResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriteriaResponse - */ -class MutateAdGroupCriteriaResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizerResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizerResult.php deleted file mode 100644 index 558e8ec09..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizerResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriterionCustomizerResult - */ -class MutateAdGroupCriterionCustomizerResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated AdGroupCriterionCustomizer with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 2; - */ - protected $ad_group_criterion_customizer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer $ad_group_criterion_customizer - * The mutated AdGroupCriterionCustomizer with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated AdGroupCriterionCustomizer with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer|null - */ - public function getAdGroupCriterionCustomizer() - { - return $this->ad_group_criterion_customizer; - } - - public function hasAdGroupCriterionCustomizer() - { - return isset($this->ad_group_criterion_customizer); - } - - public function clearAdGroupCriterionCustomizer() - { - unset($this->ad_group_criterion_customizer); - } - - /** - * The mutated AdGroupCriterionCustomizer with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer $var - * @return $this - */ - public function setAdGroupCriterionCustomizer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterionCustomizer::class); - $this->ad_group_criterion_customizer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizersRequest.php deleted file mode 100644 index c77730a8a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizersRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriterionCustomizersRequest - */ -class MutateAdGroupCriterionCustomizersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ad group criterion customizers are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad group - * criterion customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose ad group criterion customizers are - * being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerOperation[] $operations Required. The list of operations to perform on individual ad group - * criterion customizers. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizersRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ad group criterion customizers are - * being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad group - * criterion customizers. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ad group criterion customizers are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ad group criterion customizers are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad group - * criterion customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad group - * criterion customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizersResponse.php deleted file mode 100644 index ff1636a53..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionCustomizersResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriterionCustomizersResponse - */ -class MutateAdGroupCriterionCustomizersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionCustomizerResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizerResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionCustomizerResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionCustomizerResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizerResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizerResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelResult.php deleted file mode 100644 index b03b90c54..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriterionLabelResult - */ -class MutateAdGroupCriterionLabelResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelsRequest.php deleted file mode 100644 index c822e13cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelsRequest.php +++ /dev/null @@ -1,206 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriterionLabelsRequest - */ -class MutateAdGroupCriterionLabelsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose ad group criterion labels are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on ad group criterion labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. ID of the customer whose ad group criterion labels are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelOperation[] $operations Required. The list of operations to perform on ad group criterion labels. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose ad group criterion labels are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on ad group criterion labels. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose ad group criterion labels are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose ad group criterion labels are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on ad group criterion labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on ad group criterion labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCriterionLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelsResponse.php deleted file mode 100644 index e61e581bd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionLabelsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriterionLabelsResponse - */ -class MutateAdGroupCriterionLabelsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionLabelResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionLabelResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCriterionLabelResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionResult.php deleted file mode 100644 index 50ca0d350..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCriterionResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCriterionResult - */ -class MutateAdGroupCriterionResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ad group criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 2; - */ - protected $ad_group_criterion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $ad_group_criterion - * The mutated ad group criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ad group criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion|null - */ - public function getAdGroupCriterion() - { - return $this->ad_group_criterion; - } - - public function hasAdGroupCriterion() - { - return isset($this->ad_group_criterion); - } - - public function clearAdGroupCriterion() - { - unset($this->ad_group_criterion); - } - - /** - * The mutated ad group criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion $var - * @return $this - */ - public function setAdGroupCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCriterion::class); - $this->ad_group_criterion = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizerResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizerResult.php deleted file mode 100644 index 876d96365..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizerResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCustomizerResult - */ -class MutateAdGroupCustomizerResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated AdGroupCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCustomizer ad_group_customizer = 2; - */ - protected $ad_group_customizer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer $ad_group_customizer - * The mutated AdGroupCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated AdGroupCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCustomizer ad_group_customizer = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer|null - */ - public function getAdGroupCustomizer() - { - return $this->ad_group_customizer; - } - - public function hasAdGroupCustomizer() - { - return isset($this->ad_group_customizer); - } - - public function clearAdGroupCustomizer() - { - unset($this->ad_group_customizer); - } - - /** - * The mutated AdGroupCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupCustomizer ad_group_customizer = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer $var - * @return $this - */ - public function setAdGroupCustomizer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupCustomizer::class); - $this->ad_group_customizer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizersRequest.php deleted file mode 100644 index 56db7a9f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizersRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCustomizersRequest - */ -class MutateAdGroupCustomizersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ad group customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad group - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose ad group customizers are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerOperation[] $operations Required. The list of operations to perform on individual ad group - * customizers. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizersRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ad group customizers are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad group - * customizers. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ad group customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ad group customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad group - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad group - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizersResponse.php deleted file mode 100644 index cc976af23..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupCustomizersResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupCustomizersResponse - */ -class MutateAdGroupCustomizersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCustomizerResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizerResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCustomizerResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupCustomizerResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizerResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizerResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingResult.php deleted file mode 100644 index 14c3d7cb3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupExtensionSettingResult - */ -class MutateAdGroupExtensionSettingResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated AdGroupExtensionSetting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting ad_group_extension_setting = 2; - */ - protected $ad_group_extension_setting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting $ad_group_extension_setting - * The mutated AdGroupExtensionSetting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated AdGroupExtensionSetting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting ad_group_extension_setting = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting|null - */ - public function getAdGroupExtensionSetting() - { - return $this->ad_group_extension_setting; - } - - public function hasAdGroupExtensionSetting() - { - return isset($this->ad_group_extension_setting); - } - - public function clearAdGroupExtensionSetting() - { - unset($this->ad_group_extension_setting); - } - - /** - * The mutated AdGroupExtensionSetting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupExtensionSetting ad_group_extension_setting = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting $var - * @return $this - */ - public function setAdGroupExtensionSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupExtensionSetting::class); - $this->ad_group_extension_setting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingsRequest.php deleted file mode 100644 index c5c67f1b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupExtensionSettingsRequest - */ -class MutateAdGroupExtensionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ad group extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad group - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose ad group extension settings are - * being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingOperation[] $operations Required. The list of operations to perform on individual ad group - * extension settings. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ad group extension settings are - * being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad group - * extension settings. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ad group extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ad group extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad group - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad group - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingsResponse.php deleted file mode 100644 index 4884407b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupExtensionSettingsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupExtensionSettingsResponse - */ -class MutateAdGroupExtensionSettingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupExtensionSettingResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupExtensionSettingResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupExtensionSettingResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedResult.php deleted file mode 100644 index 3fec6fe43..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupFeedResult - */ -class MutateAdGroupFeedResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ad group feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 2; - */ - protected $ad_group_feed = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $ad_group_feed - * The mutated ad group feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ad group feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed|null - */ - public function getAdGroupFeed() - { - return $this->ad_group_feed; - } - - public function hasAdGroupFeed() - { - return isset($this->ad_group_feed); - } - - public function clearAdGroupFeed() - { - unset($this->ad_group_feed); - } - - /** - * The mutated ad group feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed $var - * @return $this - */ - public function setAdGroupFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroupFeed::class); - $this->ad_group_feed = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedsRequest.php deleted file mode 100644 index b84ba2951..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupFeedsRequest - */ -class MutateAdGroupFeedsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ad group feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad group feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose ad group feeds are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupFeedOperation[] $operations Required. The list of operations to perform on individual ad group feeds. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ad group feeds are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupFeedOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad group feeds. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ad group feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ad group feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad group feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad group feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupFeedOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupFeedOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedsResponse.php deleted file mode 100644 index 00234be72..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupFeedsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupFeedsResponse - */ -class MutateAdGroupFeedsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupFeedResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupFeedResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupFeedResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelResult.php deleted file mode 100644 index dc089a595..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupLabelResult - */ -class MutateAdGroupLabelResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelsRequest.php deleted file mode 100644 index d78cbaa6c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelsRequest.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupLabelsRequest - */ -class MutateAdGroupLabelsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose ad group labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on ad group labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. ID of the customer whose ad group labels are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupLabelOperation[] $operations Required. The list of operations to perform on ad group labels. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose ad group labels are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupLabelOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on ad group labels. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose ad group labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose ad group labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on ad group labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on ad group labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupLabelOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupLabelOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelsResponse.php deleted file mode 100644 index 6ef6b2efe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupLabelsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupLabelsResponse - */ -class MutateAdGroupLabelsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupLabelResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupLabelResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupLabelResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupResult.php deleted file mode 100644 index 7c251e60c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupResult - */ -class MutateAdGroupResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ad group with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 2; - */ - protected $ad_group = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdGroup $ad_group - * The mutated ad group with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ad group with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdGroup|null - */ - public function getAdGroup() - { - return $this->ad_group; - } - - public function hasAdGroup() - { - return isset($this->ad_group); - } - - public function clearAdGroup() - { - unset($this->ad_group); - } - - /** - * The mutated ad group with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdGroup ad_group = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdGroup $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdGroup::class); - $this->ad_group = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupsRequest.php deleted file mode 100644 index 031e560e0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupsRequest - */ -class MutateAdGroupsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ad groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose ad groups are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupOperation[] $operations Required. The list of operations to perform on individual ad groups. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ad groups are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdGroupOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad groups. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ad groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ad groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdGroupOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdGroupOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupsResponse.php deleted file mode 100644 index 10fa61984..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdGroupsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdGroupsResponse - */ -class MutateAdGroupsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdGroupResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdGroupResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdParameterResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdParameterResult.php deleted file mode 100644 index 703d85ed1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdParameterResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAdParameterResult - */ -class MutateAdParameterResult extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated AdParameter with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter ad_parameter = 2; - */ - protected $ad_parameter = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AdParameter $ad_parameter - * The mutated AdParameter with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdParameterService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated AdParameter with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter ad_parameter = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AdParameter|null - */ - public function getAdParameter() - { - return $this->ad_parameter; - } - - public function hasAdParameter() - { - return isset($this->ad_parameter); - } - - public function clearAdParameter() - { - unset($this->ad_parameter); - } - - /** - * The mutated AdParameter with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AdParameter ad_parameter = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AdParameter $var - * @return $this - */ - public function setAdParameter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AdParameter::class); - $this->ad_parameter = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdParametersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdParametersRequest.php deleted file mode 100644 index 9c5229cf4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdParametersRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAdParametersRequest - */ -class MutateAdParametersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ad parameters are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ad parameters. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdParameterOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose ad parameters are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdParameterOperation[] $operations Required. The list of operations to perform on individual ad parameters. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdParametersRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ad parameters are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdParameterOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ad parameters. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdParameterService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ad parameters are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ad parameters are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ad parameters. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdParameterOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ad parameters. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdParameterOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdParameterOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdParameterOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdParametersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdParametersResponse.php deleted file mode 100644 index ad077825f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdParametersResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdParametersResponse - */ -class MutateAdParametersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdParameterResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdParameterResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdParameterService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdParameterResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdParameterResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdParameterResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdParameterResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdResult.php deleted file mode 100644 index f3d492f51..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateAdResult - */ -class MutateAdResult extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ad with only mutable fields after mutate. The field will only - * be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 2; - */ - protected $ad = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\Ad $ad - * The mutated ad with only mutable fields after mutate. The field will only - * be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ad with only mutable fields after mutate. The field will only - * be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Ad|null - */ - public function getAd() - { - return $this->ad; - } - - public function hasAd() - { - return isset($this->ad); - } - - public function clearAd() - { - unset($this->ad); - } - - /** - * The mutated ad with only mutable fields after mutate. The field will only - * be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Ad ad = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Ad $var - * @return $this - */ - public function setAd($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Ad::class); - $this->ad = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdsRequest.php deleted file mode 100644 index 585e11cfa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAdsRequest - */ -class MutateAdsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose ads are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 4; - */ - protected $partial_failure = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose ads are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AdOperation[] $operations Required. The list of operations to perform on individual ads. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose ads are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AdOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual ads. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose ads are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose ads are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual ads. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AdOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AdOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AdOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 4; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 4; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAdsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAdsResponse.php deleted file mode 100644 index 658f0e577..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAdsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAdsResponse - */ -class MutateAdsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAdResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AdService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAdResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAdResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAdResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetResult.php deleted file mode 100644 index feb168344..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupAssetResult - */ -class MutateAssetGroupAssetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetsRequest.php deleted file mode 100644 index a5a3e82ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupAssetsRequest - */ -class MutateAssetGroupAssetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose asset group assets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual asset group - * assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose asset group assets are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\AssetGroupAssetOperation[] $operations Required. The list of operations to perform on individual asset group - * assets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose asset group assets are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AssetGroupAssetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual asset group - * assets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose asset group assets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose asset group assets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual asset group - * assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual asset group - * assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AssetGroupAssetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AssetGroupAssetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetsResponse.php deleted file mode 100644 index 54a5b2391..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupAssetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupAssetsResponse - */ -class MutateAssetGroupAssetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupAssetResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupAssetService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupAssetResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupAssetResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFilterResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFilterResult.php deleted file mode 100644 index cc7b62625..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFilterResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupListingGroupFilterResult - */ -class MutateAssetGroupListingGroupFilterResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated AssetGroupListingGroupFilter with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 2; - */ - protected $asset_group_listing_group_filter = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter $asset_group_listing_group_filter - * The mutated AssetGroupListingGroupFilter with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated AssetGroupListingGroupFilter with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter|null - */ - public function getAssetGroupListingGroupFilter() - { - return $this->asset_group_listing_group_filter; - } - - public function hasAssetGroupListingGroupFilter() - { - return isset($this->asset_group_listing_group_filter); - } - - public function clearAssetGroupListingGroupFilter() - { - unset($this->asset_group_listing_group_filter); - } - - /** - * The mutated AssetGroupListingGroupFilter with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter $var - * @return $this - */ - public function setAssetGroupListingGroupFilter($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupListingGroupFilter::class); - $this->asset_group_listing_group_filter = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFiltersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFiltersRequest.php deleted file mode 100644 index e4a65d229..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFiltersRequest.php +++ /dev/null @@ -1,205 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupListingGroupFiltersRequest - */ -class MutateAssetGroupListingGroupFiltersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose asset group listing group filters - * are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual asset group - * listing group filters. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupListingGroupFilterOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose asset group listing group filters - * are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterOperation[] $operations Required. The list of operations to perform on individual asset group - * listing group filters. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFiltersRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose asset group listing group filters - * are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual asset group - * listing group filters. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose asset group listing group filters - * are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose asset group listing group filters - * are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual asset group - * listing group filters. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupListingGroupFilterOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual asset group - * listing group filters. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupListingGroupFilterOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFiltersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFiltersResponse.php deleted file mode 100644 index c9065e698..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupListingGroupFiltersResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupListingGroupFiltersResponse - */ -class MutateAssetGroupListingGroupFiltersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupListingGroupFilterResult results = 1; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFilterResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupListingGroupFilterResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupListingGroupFilterResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFilterResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFilterResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupResult.php deleted file mode 100644 index ba9d4fefc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupResult - */ -class MutateAssetGroupResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalResult.php deleted file mode 100644 index da558287c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupSignalResult - */ -class MutateAssetGroupSignalResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated AssetGroupSignal with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupSignal asset_group_signal = 2; - */ - protected $asset_group_signal = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal $asset_group_signal - * The mutated AssetGroupSignal with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupSignalService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated AssetGroupSignal with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupSignal asset_group_signal = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal|null - */ - public function getAssetGroupSignal() - { - return $this->asset_group_signal; - } - - public function hasAssetGroupSignal() - { - return isset($this->asset_group_signal); - } - - public function clearAssetGroupSignal() - { - unset($this->asset_group_signal); - } - - /** - * The mutated AssetGroupSignal with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetGroupSignal asset_group_signal = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal $var - * @return $this - */ - public function setAssetGroupSignal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetGroupSignal::class); - $this->asset_group_signal = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalsRequest.php deleted file mode 100644 index 9e8d7fa24..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalsRequest.php +++ /dev/null @@ -1,245 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupSignalsRequest - */ -class MutateAssetGroupSignalsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose asset group signals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual asset group - * signals. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupSignalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose asset group signals are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\AssetGroupSignalOperation[] $operations Required. The list of operations to perform on individual asset group - * signals. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose asset group signals are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AssetGroupSignalOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual asset group - * signals. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupSignalService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose asset group signals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose asset group signals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual asset group - * signals. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupSignalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual asset group - * signals. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupSignalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AssetGroupSignalOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AssetGroupSignalOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalsResponse.php deleted file mode 100644 index a962f6756..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupSignalsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupSignalsResponse - */ -class MutateAssetGroupSignalsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupSignalResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupSignalService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupSignalResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupSignalResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupsRequest.php deleted file mode 100644 index 212ff5a5f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupsRequest.php +++ /dev/null @@ -1,155 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupsRequest - */ -class MutateAssetGroupsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose asset groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual asset groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose asset groups are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AssetGroupOperation[] $operations Required. The list of operations to perform on individual asset groups. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose asset groups are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AssetGroupOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual asset groups. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose asset groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose asset groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual asset groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual asset groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AssetGroupOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AssetGroupOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupsResponse.php deleted file mode 100644 index 7b80bb70a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetGroupsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetGroupsResponse - */ -class MutateAssetGroupsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetGroupService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetGroupResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAssetGroupResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetResult.php deleted file mode 100644 index 92bdcc3c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetResult - */ -class MutateAssetResult extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated asset with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 2; - */ - protected $asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\Asset $asset - * The mutated asset with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated asset with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Asset|null - */ - public function getAsset() - { - return $this->asset; - } - - public function hasAsset() - { - return isset($this->asset); - } - - public function clearAsset() - { - unset($this->asset); - } - - /** - * The mutated asset with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Asset asset = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Asset $var - * @return $this - */ - public function setAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Asset::class); - $this->asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetResult.php deleted file mode 100644 index f6534e885..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetSetAssetResult - */ -class MutateAssetSetAssetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated asset set asset with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 2; - */ - protected $asset_set_asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset $asset_set_asset - * The mutated asset set asset with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetSetAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated asset set asset with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset|null - */ - public function getAssetSetAsset() - { - return $this->asset_set_asset; - } - - public function hasAssetSetAsset() - { - return isset($this->asset_set_asset); - } - - public function clearAssetSetAsset() - { - unset($this->asset_set_asset); - } - - /** - * The mutated asset set asset with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset $var - * @return $this - */ - public function setAssetSetAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSetAsset::class); - $this->asset_set_asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetsRequest.php deleted file mode 100644 index f37579670..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetSetAssetsRequest - */ -class MutateAssetSetAssetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose asset set assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual asset set assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetSetAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose asset set assets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AssetSetAssetOperation[] $operations Required. The list of operations to perform on individual asset set assets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose asset set assets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AssetSetAssetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual asset set assets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetSetAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose asset set assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose asset set assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual asset set assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetSetAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual asset set assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetSetAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AssetSetAssetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AssetSetAssetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetsResponse.php deleted file mode 100644 index 937b8f152..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetAssetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetSetAssetsResponse - */ -class MutateAssetSetAssetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetSetAssetResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetSetAssetService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetSetAssetResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetSetAssetResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetResult.php deleted file mode 100644 index 4cc69c877..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetSetResult - */ -class MutateAssetSetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated asset set with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 2; - */ - protected $asset_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\AssetSet $asset_set - * The mutated asset set with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated asset set with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\AssetSet|null - */ - public function getAssetSet() - { - return $this->asset_set; - } - - public function hasAssetSet() - { - return isset($this->asset_set); - } - - public function clearAssetSet() - { - unset($this->asset_set); - } - - /** - * The mutated asset set with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.AssetSet asset_set = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\AssetSet $var - * @return $this - */ - public function setAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\AssetSet::class); - $this->asset_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetsRequest.php deleted file mode 100644 index a67011a81..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetSetsRequest - */ -class MutateAssetSetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose asset sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual asset sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose asset sets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AssetSetOperation[] $operations Required. The list of operations to perform on individual asset sets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetSetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose asset sets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AssetSetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual asset sets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose asset sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose asset sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual asset sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual asset sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AssetSetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AssetSetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetsResponse.php deleted file mode 100644 index e68dd9cd5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetSetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetSetsResponse - */ -class MutateAssetSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetSetResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAssetSetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetSetResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetSetResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAssetSetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAssetSetResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetsRequest.php deleted file mode 100644 index cafd86c34..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetsRequest - */ -class MutateAssetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - */ - protected $partial_failure = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 3; - */ - protected $response_content_type = 0; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose assets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AssetOperation[] $operations Required. The list of operations to perform on individual assets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose assets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AssetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual assets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AssetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AssetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 3; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 3; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAssetsResponse.php deleted file mode 100644 index b40711a16..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAssetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAssetsResponse - */ -class MutateAssetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAssetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AssetService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAssetResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAssetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAssetResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAudienceResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAudienceResult.php deleted file mode 100644 index ba6489f71..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAudienceResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateAudienceResult - */ -class MutateAudienceResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated Audience with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience audience = 2; - */ - protected $audience = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\Audience $audience - * The mutated Audience with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated Audience with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience audience = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Audience|null - */ - public function getAudience() - { - return $this->audience; - } - - public function hasAudience() - { - return isset($this->audience); - } - - public function clearAudience() - { - unset($this->audience); - } - - /** - * The mutated Audience with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Audience audience = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Audience $var - * @return $this - */ - public function setAudience($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Audience::class); - $this->audience = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAudiencesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAudiencesRequest.php deleted file mode 100644 index 37586b225..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAudiencesRequest.php +++ /dev/null @@ -1,235 +0,0 @@ -google.ads.googleads.v15.services.MutateAudiencesRequest - */ -class MutateAudiencesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose audiences are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose audiences are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\AudienceOperation[] $operations Required. The list of operations to perform on individual audiences. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateAudiencesRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose audiences are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual audiences. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose audiences are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose audiences are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid operations - * will return errors. If false, all operations will be carried out in one - * transaction if and only if they are all valid. Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateAudiencesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateAudiencesResponse.php deleted file mode 100644 index 2a1b7dc0e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateAudiencesResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateAudiencesResponse - */ -class MutateAudiencesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAudienceResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateAudienceResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAudienceResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateAudienceResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateAudienceResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateAudienceResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobRequest.php deleted file mode 100644 index 4118761bd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.services.MutateBatchJobRequest - */ -class MutateBatchJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer for which to create a batch job. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform on an individual batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BatchJobOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - - /** - * @param string $customerId Required. The ID of the customer for which to create a batch job. - * @param \Google\Ads\GoogleAds\V15\Services\BatchJobOperation $operation Required. The operation to perform on an individual batch job. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBatchJobRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\BatchJobOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer for which to create a batch job. - * @type \Google\Ads\GoogleAds\V15\Services\BatchJobOperation $operation - * Required. The operation to perform on an individual batch job. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer for which to create a batch job. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer for which to create a batch job. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform on an individual batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BatchJobOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\BatchJobOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform on an individual batch job. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BatchJobOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\BatchJobOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\BatchJobOperation::class); - $this->operation = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobResponse.php deleted file mode 100644 index 99f2e8ffd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobResponse.php +++ /dev/null @@ -1,78 +0,0 @@ -google.ads.googleads.v15.services.MutateBatchJobResponse - */ -class MutateBatchJobResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBatchJobResult result = 1; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateBatchJobResult $result - * The result for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * The result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBatchJobResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\MutateBatchJobResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * The result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBatchJobResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\MutateBatchJobResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateBatchJobResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobResult.php deleted file mode 100644 index 9007b9556..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBatchJobResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateBatchJobResult - */ -class MutateBatchJobResult extends \Google\Protobuf\Internal\Message -{ - /** - * The resource name of the batch job. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * The resource name of the batch job. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * The resource name of the batch job. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * The resource name of the batch job. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsRequest.php deleted file mode 100644 index ed83743f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingDataExclusionsRequest - */ -class MutateBiddingDataExclusionsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose data exclusions are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual data exclusions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingDataExclusionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. ID of the customer whose data exclusions are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionOperation[] $operations Required. The list of operations to perform on individual data exclusions. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose data exclusions are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual data exclusions. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose data exclusions are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose data exclusions are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual data exclusions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingDataExclusionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual data exclusions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingDataExclusionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsResponse.php deleted file mode 100644 index 2a7fca46a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingDataExclusionsResponse - */ -class MutateBiddingDataExclusionsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingDataExclusionsResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingDataExclusionsResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingDataExclusionsResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsResult.php deleted file mode 100644 index e166fbefe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingDataExclusionsResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingDataExclusionsResult - */ -class MutateBiddingDataExclusionsResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated bidding data exclusion with only mutable fields after mutate. - * The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion bidding_data_exclusion = 2; - */ - protected $bidding_data_exclusion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion $bidding_data_exclusion - * The mutated bidding data exclusion with only mutable fields after mutate. - * The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated bidding data exclusion with only mutable fields after mutate. - * The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion bidding_data_exclusion = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion|null - */ - public function getBiddingDataExclusion() - { - return $this->bidding_data_exclusion; - } - - public function hasBiddingDataExclusion() - { - return isset($this->bidding_data_exclusion); - } - - public function clearBiddingDataExclusion() - { - unset($this->bidding_data_exclusion); - } - - /** - * The mutated bidding data exclusion with only mutable fields after mutate. - * The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingDataExclusion bidding_data_exclusion = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion $var - * @return $this - */ - public function setBiddingDataExclusion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingDataExclusion::class); - $this->bidding_data_exclusion = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsRequest.php deleted file mode 100644 index bd18f18e6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingSeasonalityAdjustmentsRequest - */ -class MutateBiddingSeasonalityAdjustmentsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose seasonality adjustments are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual seasonality - * adjustments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. ID of the customer whose seasonality adjustments are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentOperation[] $operations Required. The list of operations to perform on individual seasonality - * adjustments. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose seasonality adjustments are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual seasonality - * adjustments. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose seasonality adjustments are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose seasonality adjustments are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual seasonality - * adjustments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual seasonality - * adjustments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsResponse.php deleted file mode 100644 index 7d65ddcdd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingSeasonalityAdjustmentsResponse - */ -class MutateBiddingSeasonalityAdjustmentsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingSeasonalityAdjustmentsResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingSeasonalityAdjustmentsResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingSeasonalityAdjustmentsResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsResult.php deleted file mode 100644 index 5c1954926..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingSeasonalityAdjustmentsResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingSeasonalityAdjustmentsResult - */ -class MutateBiddingSeasonalityAdjustmentsResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated bidding seasonality adjustment with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 2; - */ - protected $bidding_seasonality_adjustment = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment $bidding_seasonality_adjustment - * The mutated bidding seasonality adjustment with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated bidding seasonality adjustment with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment|null - */ - public function getBiddingSeasonalityAdjustment() - { - return $this->bidding_seasonality_adjustment; - } - - public function hasBiddingSeasonalityAdjustment() - { - return isset($this->bidding_seasonality_adjustment); - } - - public function clearBiddingSeasonalityAdjustment() - { - unset($this->bidding_seasonality_adjustment); - } - - /** - * The mutated bidding seasonality adjustment with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment $var - * @return $this - */ - public function setBiddingSeasonalityAdjustment($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingSeasonalityAdjustment::class); - $this->bidding_seasonality_adjustment = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategiesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategiesRequest.php deleted file mode 100644 index 777037334..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategiesRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingStrategiesRequest - */ -class MutateBiddingStrategiesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose bidding strategies are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual bidding - * strategies. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingStrategyOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose bidding strategies are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\BiddingStrategyOperation[] $operations Required. The list of operations to perform on individual bidding - * strategies. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategiesRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose bidding strategies are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\BiddingStrategyOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual bidding - * strategies. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingStrategyService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose bidding strategies are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose bidding strategies are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual bidding - * strategies. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingStrategyOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual bidding - * strategies. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BiddingStrategyOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\BiddingStrategyOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\BiddingStrategyOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategiesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategiesResponse.php deleted file mode 100644 index 4ed0bb73a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategiesResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingStrategiesResponse - */ -class MutateBiddingStrategiesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingStrategyResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategyResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingStrategyService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingStrategyResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateBiddingStrategyResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategyResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategyResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategyResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategyResult.php deleted file mode 100644 index 8e33cdd1b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBiddingStrategyResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateBiddingStrategyResult - */ -class MutateBiddingStrategyResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated bidding strategy with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy bidding_strategy = 2; - */ - protected $bidding_strategy = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy $bidding_strategy - * The mutated bidding strategy with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BiddingStrategyService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated bidding strategy with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy bidding_strategy = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy|null - */ - public function getBiddingStrategy() - { - return $this->bidding_strategy; - } - - public function hasBiddingStrategy() - { - return isset($this->bidding_strategy); - } - - public function clearBiddingStrategy() - { - unset($this->bidding_strategy); - } - - /** - * The mutated bidding strategy with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.BiddingStrategy bidding_strategy = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy $var - * @return $this - */ - public function setBiddingStrategy($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\BiddingStrategy::class); - $this->bidding_strategy = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupRequest.php deleted file mode 100644 index db8fc7286..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupRequest.php +++ /dev/null @@ -1,131 +0,0 @@ -google.ads.googleads.v15.services.MutateBillingSetupRequest - */ -class MutateBillingSetupRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Id of the customer to apply the billing setup mutate operation - * to. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BillingSetupOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - - /** - * @param string $customerId Required. Id of the customer to apply the billing setup mutate operation - * to. - * @param \Google\Ads\GoogleAds\V15\Services\BillingSetupOperation $operation Required. The operation to perform. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateBillingSetupRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\BillingSetupOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. Id of the customer to apply the billing setup mutate operation - * to. - * @type \Google\Ads\GoogleAds\V15\Services\BillingSetupOperation $operation - * Required. The operation to perform. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BillingSetupService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Id of the customer to apply the billing setup mutate operation - * to. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. Id of the customer to apply the billing setup mutate operation - * to. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BillingSetupOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\BillingSetupOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BillingSetupOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\BillingSetupOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\BillingSetupOperation::class); - $this->operation = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupResponse.php deleted file mode 100644 index 47f3325c2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupResponse.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.MutateBillingSetupResponse - */ -class MutateBillingSetupResponse extends \Google\Protobuf\Internal\Message -{ - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBillingSetupResult result = 1; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateBillingSetupResult $result - * A result that identifies the resource affected by the mutate request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BillingSetupService::initOnce(); - parent::__construct($data); - } - - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBillingSetupResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\MutateBillingSetupResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBillingSetupResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\MutateBillingSetupResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateBillingSetupResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupResult.php deleted file mode 100644 index 2d51d0719..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateBillingSetupResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateBillingSetupResult - */ -class MutateBillingSetupResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BillingSetupService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetResult.php deleted file mode 100644 index 7406975c2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignAssetResult - */ -class MutateCampaignAssetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 2; - */ - protected $campaign_asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $campaign_asset - * The mutated campaign asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAsset|null - */ - public function getCampaignAsset() - { - return $this->campaign_asset; - } - - public function hasCampaignAsset() - { - return isset($this->campaign_asset); - } - - public function clearCampaignAsset() - { - unset($this->campaign_asset); - } - - /** - * The mutated campaign asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAsset $var - * @return $this - */ - public function setCampaignAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAsset::class); - $this->campaign_asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetResult.php deleted file mode 100644 index 5ce160a0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignAssetSetResult - */ -class MutateCampaignAssetSetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 2; - */ - protected $campaign_asset_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet $campaign_asset_set - * The mutated campaign asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet|null - */ - public function getCampaignAssetSet() - { - return $this->campaign_asset_set; - } - - public function hasCampaignAssetSet() - { - return isset($this->campaign_asset_set); - } - - public function clearCampaignAssetSet() - { - unset($this->campaign_asset_set); - } - - /** - * The mutated campaign asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet $var - * @return $this - */ - public function setCampaignAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignAssetSet::class); - $this->campaign_asset_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetsRequest.php deleted file mode 100644 index 505da2f35..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignAssetSetsRequest - */ -class MutateCampaignAssetSetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign asset sets are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignAssetSetOperation[] $operations Required. The list of operations to perform on individual campaign asset - * sets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign asset sets are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignAssetSetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign asset - * sets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignAssetSetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignAssetSetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetsResponse.php deleted file mode 100644 index e07ef3e01..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetSetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignAssetSetsResponse - */ -class MutateCampaignAssetSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignAssetSetResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignAssetSetResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignAssetSetResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetsRequest.php deleted file mode 100644 index 486a52f5e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignAssetsRequest - */ -class MutateCampaignAssetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign assets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignAssetOperation[] $operations Required. The list of operations to perform on individual campaign assets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign assets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignAssetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign assets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignAssetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignAssetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetsResponse.php deleted file mode 100644 index d21d63cf1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignAssetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignAssetsResponse - */ -class MutateCampaignAssetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignAssetResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignAssetResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignAssetResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifierResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifierResult.php deleted file mode 100644 index 8b2de45d5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifierResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignBidModifierResult - */ -class MutateCampaignBidModifierResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign bid modifier with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier campaign_bid_modifier = 2; - */ - protected $campaign_bid_modifier = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier $campaign_bid_modifier - * The mutated campaign bid modifier with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignBidModifierService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign bid modifier with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier campaign_bid_modifier = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier|null - */ - public function getCampaignBidModifier() - { - return $this->campaign_bid_modifier; - } - - public function hasCampaignBidModifier() - { - return isset($this->campaign_bid_modifier); - } - - public function clearCampaignBidModifier() - { - unset($this->campaign_bid_modifier); - } - - /** - * The mutated campaign bid modifier with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBidModifier campaign_bid_modifier = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier $var - * @return $this - */ - public function setCampaignBidModifier($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBidModifier::class); - $this->campaign_bid_modifier = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifiersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifiersRequest.php deleted file mode 100644 index d9f8a93e1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifiersRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignBidModifiersRequest - */ -class MutateCampaignBidModifiersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose campaign bid modifiers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign bid - * modifiers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBidModifierOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. ID of the customer whose campaign bid modifiers are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignBidModifierOperation[] $operations Required. The list of operations to perform on individual campaign bid - * modifiers. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifiersRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose campaign bid modifiers are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignBidModifierOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign bid - * modifiers. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignBidModifierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose campaign bid modifiers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose campaign bid modifiers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign bid - * modifiers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBidModifierOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign bid - * modifiers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBidModifierOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignBidModifierOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignBidModifierOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifiersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifiersResponse.php deleted file mode 100644 index a1c0dafee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBidModifiersResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignBidModifiersResponse - */ -class MutateCampaignBidModifiersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignBidModifierResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifierResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignBidModifierService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignBidModifierResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignBidModifierResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifierResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifierResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetResult.php deleted file mode 100644 index 1eb53a354..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignBudgetResult - */ -class MutateCampaignBudgetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign budget with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 2; - */ - protected $campaign_budget = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $campaign_budget - * The mutated campaign budget with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignBudgetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign budget with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignBudget|null - */ - public function getCampaignBudget() - { - return $this->campaign_budget; - } - - public function hasCampaignBudget() - { - return isset($this->campaign_budget); - } - - public function clearCampaignBudget() - { - unset($this->campaign_budget); - } - - /** - * The mutated campaign budget with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignBudget $var - * @return $this - */ - public function setCampaignBudget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignBudget::class); - $this->campaign_budget = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetsRequest.php deleted file mode 100644 index 102405088..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignBudgetsRequest - */ -class MutateCampaignBudgetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign budgets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign budgets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBudgetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign budgets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignBudgetOperation[] $operations Required. The list of operations to perform on individual campaign budgets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign budgets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignBudgetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign budgets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignBudgetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign budgets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign budgets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign budgets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBudgetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign budgets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignBudgetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignBudgetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignBudgetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetsResponse.php deleted file mode 100644 index 3a35e7be7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignBudgetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignBudgetsResponse - */ -class MutateCampaignBudgetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignBudgetResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignBudgetService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignBudgetResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignBudgetResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalResult.php deleted file mode 100644 index 58d2bc4a4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignConversionGoalResult - */ -class MutateCampaignConversionGoalResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalsRequest.php deleted file mode 100644 index f4d1124ac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalsRequest.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignConversionGoalsRequest - */ -class MutateCampaignConversionGoalsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign - * conversion goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose campaign conversion goals are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalOperation[] $operations Required. The list of operations to perform on individual campaign - * conversion goal. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign conversion goals are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign - * conversion goal. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign - * conversion goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign - * conversion goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalsResponse.php deleted file mode 100644 index f32de49a7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignConversionGoalsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignConversionGoalsResponse - */ -class MutateCampaignConversionGoalsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignConversionGoalResult results = 1; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignConversionGoalResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignConversionGoalResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriteriaRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriteriaRequest.php deleted file mode 100644 index a3f5734ab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriteriaRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignCriteriaRequest - */ -class MutateCampaignCriteriaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose criteria are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignCriterionOperation[] $operations Required. The list of operations to perform on individual criteria. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignCriteriaRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose criteria are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignCriterionOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual criteria. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignCriterionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignCriterionOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriteriaResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriteriaResponse.php deleted file mode 100644 index dd46140d8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriteriaResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignCriteriaResponse - */ -class MutateCampaignCriteriaResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignCriterionResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignCriterionResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignCriterionResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignCriterionResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignCriterionResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignCriterionResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriterionResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriterionResult.php deleted file mode 100644 index 4048d8698..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCriterionResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignCriterionResult - */ -class MutateCampaignCriterionResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 2; - */ - protected $campaign_criterion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $campaign_criterion - * The mutated campaign criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion|null - */ - public function getCampaignCriterion() - { - return $this->campaign_criterion; - } - - public function hasCampaignCriterion() - { - return isset($this->campaign_criterion); - } - - public function clearCampaignCriterion() - { - unset($this->campaign_criterion); - } - - /** - * The mutated campaign criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion $var - * @return $this - */ - public function setCampaignCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignCriterion::class); - $this->campaign_criterion = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizerResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizerResult.php deleted file mode 100644 index db4853344..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizerResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignCustomizerResult - */ -class MutateCampaignCustomizerResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated CampaignCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCustomizer campaign_customizer = 2; - */ - protected $campaign_customizer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer $campaign_customizer - * The mutated CampaignCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated CampaignCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCustomizer campaign_customizer = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer|null - */ - public function getCampaignCustomizer() - { - return $this->campaign_customizer; - } - - public function hasCampaignCustomizer() - { - return isset($this->campaign_customizer); - } - - public function clearCampaignCustomizer() - { - unset($this->campaign_customizer); - } - - /** - * The mutated CampaignCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignCustomizer campaign_customizer = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer $var - * @return $this - */ - public function setCampaignCustomizer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignCustomizer::class); - $this->campaign_customizer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizersRequest.php deleted file mode 100644 index a697f3286..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizersRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignCustomizersRequest - */ -class MutateCampaignCustomizersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign customizers are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignCustomizerOperation[] $operations Required. The list of operations to perform on individual campaign - * customizers. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizersRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign customizers are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignCustomizerOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign - * customizers. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignCustomizerOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignCustomizerOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizersResponse.php deleted file mode 100644 index 999035c5d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignCustomizersResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignCustomizersResponse - */ -class MutateCampaignCustomizersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignCustomizerResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizerResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignCustomizerResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignCustomizerResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizerResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizerResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftResult.php deleted file mode 100644 index 85b220860..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignDraftResult - */ -class MutateCampaignDraftResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign draft with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft campaign_draft = 2; - */ - protected $campaign_draft = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignDraft $campaign_draft - * The mutated campaign draft with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignDraftService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign draft with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft campaign_draft = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignDraft|null - */ - public function getCampaignDraft() - { - return $this->campaign_draft; - } - - public function hasCampaignDraft() - { - return isset($this->campaign_draft); - } - - public function clearCampaignDraft() - { - unset($this->campaign_draft); - } - - /** - * The mutated campaign draft with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignDraft campaign_draft = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignDraft $var - * @return $this - */ - public function setCampaignDraft($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignDraft::class); - $this->campaign_draft = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftsRequest.php deleted file mode 100644 index 04c3cc88e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignDraftsRequest - */ -class MutateCampaignDraftsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign drafts are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign drafts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignDraftOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign drafts are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignDraftOperation[] $operations Required. The list of operations to perform on individual campaign drafts. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign drafts are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignDraftOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign drafts. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignDraftService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign drafts are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign drafts are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign drafts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignDraftOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign drafts. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignDraftOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignDraftOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignDraftOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftsResponse.php deleted file mode 100644 index 41109f314..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignDraftsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignDraftsResponse - */ -class MutateCampaignDraftsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignDraftResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignDraftService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignDraftResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignDraftResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingResult.php deleted file mode 100644 index fdceceb69..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignExtensionSettingResult - */ -class MutateCampaignExtensionSettingResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign extension setting with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting campaign_extension_setting = 2; - */ - protected $campaign_extension_setting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting $campaign_extension_setting - * The mutated campaign extension setting with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign extension setting with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting campaign_extension_setting = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting|null - */ - public function getCampaignExtensionSetting() - { - return $this->campaign_extension_setting; - } - - public function hasCampaignExtensionSetting() - { - return isset($this->campaign_extension_setting); - } - - public function clearCampaignExtensionSetting() - { - unset($this->campaign_extension_setting); - } - - /** - * The mutated campaign extension setting with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignExtensionSetting campaign_extension_setting = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting $var - * @return $this - */ - public function setCampaignExtensionSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignExtensionSetting::class); - $this->campaign_extension_setting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingsRequest.php deleted file mode 100644 index 7b7913c6a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignExtensionSettingsRequest - */ -class MutateCampaignExtensionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign extension settings are - * being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingOperation[] $operations Required. The list of operations to perform on individual campaign - * extension settings. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign extension settings are - * being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign - * extension settings. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingsResponse.php deleted file mode 100644 index 1cc85bf1d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignExtensionSettingsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignExtensionSettingsResponse - */ -class MutateCampaignExtensionSettingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignExtensionSettingResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignExtensionSettingResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignExtensionSettingResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedResult.php deleted file mode 100644 index af9519f83..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignFeedResult - */ -class MutateCampaignFeedResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 2; - */ - protected $campaign_feed = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $campaign_feed - * The mutated campaign feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignFeed|null - */ - public function getCampaignFeed() - { - return $this->campaign_feed; - } - - public function hasCampaignFeed() - { - return isset($this->campaign_feed); - } - - public function clearCampaignFeed() - { - unset($this->campaign_feed); - } - - /** - * The mutated campaign feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignFeed $var - * @return $this - */ - public function setCampaignFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignFeed::class); - $this->campaign_feed = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedsRequest.php deleted file mode 100644 index 92f206db4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignFeedsRequest - */ -class MutateCampaignFeedsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign feeds are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignFeedOperation[] $operations Required. The list of operations to perform on individual campaign feeds. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign feeds are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignFeedOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign feeds. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignFeedOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignFeedOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedsResponse.php deleted file mode 100644 index 0ef55d122..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignFeedsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignFeedsResponse - */ -class MutateCampaignFeedsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignFeedResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignFeedResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignFeedResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupResult.php deleted file mode 100644 index 32e8ec66e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignGroupResult - */ -class MutateCampaignGroupResult extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign group with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup campaign_group = 2; - */ - protected $campaign_group = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignGroup $campaign_group - * The mutated campaign group with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign group with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup campaign_group = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignGroup|null - */ - public function getCampaignGroup() - { - return $this->campaign_group; - } - - public function hasCampaignGroup() - { - return isset($this->campaign_group); - } - - public function clearCampaignGroup() - { - unset($this->campaign_group); - } - - /** - * The mutated campaign group with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignGroup campaign_group = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignGroup $var - * @return $this - */ - public function setCampaignGroup($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignGroup::class); - $this->campaign_group = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupsRequest.php deleted file mode 100644 index 0ac4cae12..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignGroupsRequest - */ -class MutateCampaignGroupsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign groups are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignGroupOperation[] $operations Required. The list of operations to perform on individual campaign groups. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign groups are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignGroupOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign groups. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign groups are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignGroupOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignGroupOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupsResponse.php deleted file mode 100644 index b07bbf5b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignGroupsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignGroupsResponse - */ -class MutateCampaignGroupsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignGroupResult results = 2; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignGroupService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignGroupResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignGroupResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelResult.php deleted file mode 100644 index ecc7583cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignLabelResult - */ -class MutateCampaignLabelResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelsRequest.php deleted file mode 100644 index 50e591218..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignLabelsRequest - */ -class MutateCampaignLabelsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose campaign-label relationships are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on campaign-label - * relationships. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. ID of the customer whose campaign-label relationships are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignLabelOperation[] $operations Required. The list of operations to perform on campaign-label - * relationships. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose campaign-label relationships are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignLabelOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on campaign-label - * relationships. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose campaign-label relationships are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose campaign-label relationships are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on campaign-label - * relationships. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on campaign-label - * relationships. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignLabelOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignLabelOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelsResponse.php deleted file mode 100644 index 9933812ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignLabelsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignLabelsResponse - */ -class MutateCampaignLabelsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignLabelResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignLabelResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignLabelResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignResult.php deleted file mode 100644 index 9959d5960..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignResult - */ -class MutateCampaignResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 2; - */ - protected $campaign = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\Campaign $campaign - * The mutated campaign with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Campaign|null - */ - public function getCampaign() - { - return $this->campaign; - } - - public function hasCampaign() - { - return isset($this->campaign); - } - - public function clearCampaign() - { - unset($this->campaign); - } - - /** - * The mutated campaign with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Campaign campaign = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Campaign $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Campaign::class); - $this->campaign = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetResult.php deleted file mode 100644 index 5e920ebe3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignSharedSetResult - */ -class MutateCampaignSharedSetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated campaign shared set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSharedSet campaign_shared_set = 2; - */ - protected $campaign_shared_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet $campaign_shared_set - * The mutated campaign shared set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignSharedSetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated campaign shared set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSharedSet campaign_shared_set = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet|null - */ - public function getCampaignSharedSet() - { - return $this->campaign_shared_set; - } - - public function hasCampaignSharedSet() - { - return isset($this->campaign_shared_set); - } - - public function clearCampaignSharedSet() - { - unset($this->campaign_shared_set); - } - - /** - * The mutated campaign shared set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CampaignSharedSet campaign_shared_set = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet $var - * @return $this - */ - public function setCampaignSharedSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CampaignSharedSet::class); - $this->campaign_shared_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetsRequest.php deleted file mode 100644 index f0a78c6ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignSharedSetsRequest - */ -class MutateCampaignSharedSetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign shared sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaign shared - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignSharedSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaign shared sets are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignSharedSetOperation[] $operations Required. The list of operations to perform on individual campaign shared - * sets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign shared sets are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignSharedSetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaign shared - * sets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignSharedSetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign shared sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign shared sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaign shared - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignSharedSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaign shared - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignSharedSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignSharedSetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignSharedSetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetsResponse.php deleted file mode 100644 index c6d1f402f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignSharedSetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignSharedSetsResponse - */ -class MutateCampaignSharedSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignSharedSetResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignSharedSetService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignSharedSetResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignSharedSetResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignsRequest.php deleted file mode 100644 index 6ec18f4c3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignsRequest - */ -class MutateCampaignsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaigns are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual campaigns. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose campaigns are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CampaignOperation[] $operations Required. The list of operations to perform on individual campaigns. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaigns are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CampaignOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual campaigns. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaigns are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaigns are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual campaigns. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual campaigns. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CampaignOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CampaignOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignsResponse.php deleted file mode 100644 index 24389e23f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCampaignsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCampaignsResponse - */ -class MutateCampaignsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCampaignResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCampaignResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCampaignResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionResult.php deleted file mode 100644 index b44ad41d8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionActionResult - */ -class MutateConversionActionResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated conversion action with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction conversion_action = 2; - */ - protected $conversion_action = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionAction $conversion_action - * The mutated conversion action with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionActionService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated conversion action with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction conversion_action = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionAction|null - */ - public function getConversionAction() - { - return $this->conversion_action; - } - - public function hasConversionAction() - { - return isset($this->conversion_action); - } - - public function clearConversionAction() - { - unset($this->conversion_action); - } - - /** - * The mutated conversion action with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionAction conversion_action = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionAction $var - * @return $this - */ - public function setConversionAction($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionAction::class); - $this->conversion_action = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionsRequest.php deleted file mode 100644 index b9f3b34da..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionActionsRequest - */ -class MutateConversionActionsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose conversion actions are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual conversion - * actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionActionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose conversion actions are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\ConversionActionOperation[] $operations Required. The list of operations to perform on individual conversion - * actions. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionActionsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose conversion actions are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\ConversionActionOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual conversion - * actions. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionActionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose conversion actions are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose conversion actions are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual conversion - * actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionActionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual conversion - * actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionActionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ConversionActionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ConversionActionOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionsResponse.php deleted file mode 100644 index 5e5201994..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionActionsResponse.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionActionsResponse - */ -class MutateConversionActionsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionActionResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateConversionActionResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionActionService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionActionResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionActionResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateConversionActionResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateConversionActionResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariableResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariableResult.php deleted file mode 100644 index fe87b5e46..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariableResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionCustomVariableResult - */ -class MutateConversionCustomVariableResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated conversion custom variable with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable conversion_custom_variable = 2; - */ - protected $conversion_custom_variable = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable $conversion_custom_variable - * The mutated conversion custom variable with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated conversion custom variable with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable conversion_custom_variable = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable|null - */ - public function getConversionCustomVariable() - { - return $this->conversion_custom_variable; - } - - public function hasConversionCustomVariable() - { - return isset($this->conversion_custom_variable); - } - - public function clearConversionCustomVariable() - { - unset($this->conversion_custom_variable); - } - - /** - * The mutated conversion custom variable with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionCustomVariable conversion_custom_variable = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable $var - * @return $this - */ - public function setConversionCustomVariable($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionCustomVariable::class); - $this->conversion_custom_variable = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariablesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariablesRequest.php deleted file mode 100644 index 534c17cc8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariablesRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionCustomVariablesRequest - */ -class MutateConversionCustomVariablesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose conversion custom variables are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual conversion custom - * variables. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionCustomVariableOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose conversion custom variables are - * being modified. - * @param \Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableOperation[] $operations Required. The list of operations to perform on individual conversion custom - * variables. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariablesRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose conversion custom variables are - * being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual conversion custom - * variables. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose conversion custom variables are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose conversion custom variables are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual conversion custom - * variables. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionCustomVariableOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual conversion custom - * variables. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionCustomVariableOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariablesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariablesResponse.php deleted file mode 100644 index fd9967636..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionCustomVariablesResponse.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionCustomVariablesResponse - */ -class MutateConversionCustomVariablesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionCustomVariableResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariableResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionCustomVariableResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionCustomVariableResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariableResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariableResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigResult.php deleted file mode 100644 index 2b5f56a9b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionGoalCampaignConfigResult - */ -class MutateConversionGoalCampaignConfigResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated ConversionGoalCampaignConfig with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 2; - */ - protected $conversion_goal_campaign_config = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig $conversion_goal_campaign_config - * The mutated ConversionGoalCampaignConfig with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated ConversionGoalCampaignConfig with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig|null - */ - public function getConversionGoalCampaignConfig() - { - return $this->conversion_goal_campaign_config; - } - - public function hasConversionGoalCampaignConfig() - { - return isset($this->conversion_goal_campaign_config); - } - - public function clearConversionGoalCampaignConfig() - { - unset($this->conversion_goal_campaign_config); - } - - /** - * The mutated ConversionGoalCampaignConfig with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig $var - * @return $this - */ - public function setConversionGoalCampaignConfig($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionGoalCampaignConfig::class); - $this->conversion_goal_campaign_config = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigsRequest.php deleted file mode 100644 index 0fa9216c1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigsRequest.php +++ /dev/null @@ -1,203 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionGoalCampaignConfigsRequest - */ -class MutateConversionGoalCampaignConfigsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose custom conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual conversion goal - * campaign config. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionGoalCampaignConfigOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose custom conversion goals are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigOperation[] $operations Required. The list of operations to perform on individual conversion goal - * campaign config. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose custom conversion goals are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual conversion goal - * campaign config. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose custom conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose custom conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual conversion goal - * campaign config. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionGoalCampaignConfigOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual conversion goal - * campaign config. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionGoalCampaignConfigOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigsResponse.php deleted file mode 100644 index 89288bfbe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionGoalCampaignConfigsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionGoalCampaignConfigsResponse - */ -class MutateConversionGoalCampaignConfigsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionGoalCampaignConfigResult results = 1; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionGoalCampaignConfigResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionGoalCampaignConfigResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleResult.php deleted file mode 100644 index 9c9b1c525..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionValueRuleResult - */ -class MutateConversionValueRuleResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated conversion value rule with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule conversion_value_rule = 2; - */ - protected $conversion_value_rule = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule $conversion_value_rule - * The mutated conversion value rule with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated conversion value rule with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule conversion_value_rule = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule|null - */ - public function getConversionValueRule() - { - return $this->conversion_value_rule; - } - - public function hasConversionValueRule() - { - return isset($this->conversion_value_rule); - } - - public function clearConversionValueRule() - { - unset($this->conversion_value_rule); - } - - /** - * The mutated conversion value rule with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRule conversion_value_rule = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule $var - * @return $this - */ - public function setConversionValueRule($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRule::class); - $this->conversion_value_rule = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetResult.php deleted file mode 100644 index d3b9743f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionValueRuleSetResult - */ -class MutateConversionValueRuleSetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated conversion value rule set with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet conversion_value_rule_set = 2; - */ - protected $conversion_value_rule_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet $conversion_value_rule_set - * The mutated conversion value rule set with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated conversion value rule set with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet conversion_value_rule_set = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet|null - */ - public function getConversionValueRuleSet() - { - return $this->conversion_value_rule_set; - } - - public function hasConversionValueRuleSet() - { - return isset($this->conversion_value_rule_set); - } - - public function clearConversionValueRuleSet() - { - unset($this->conversion_value_rule_set); - } - - /** - * The mutated conversion value rule set with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ConversionValueRuleSet conversion_value_rule_set = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet $var - * @return $this - */ - public function setConversionValueRuleSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ConversionValueRuleSet::class); - $this->conversion_value_rule_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetsRequest.php deleted file mode 100644 index ca1878d37..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionValueRuleSetsRequest - */ -class MutateConversionValueRuleSetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose conversion value rule sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual conversion value - * rule sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionValueRuleSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose conversion value rule sets are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetOperation[] $operations Required. The list of operations to perform on individual conversion value - * rule sets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose conversion value rule sets are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual conversion value - * rule sets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose conversion value rule sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose conversion value rule sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual conversion value - * rule sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionValueRuleSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual conversion value - * rule sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionValueRuleSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetsResponse.php deleted file mode 100644 index a9e5026a7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRuleSetsResponse.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionValueRuleSetsResponse - */ -class MutateConversionValueRuleSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionValueRuleSetResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionValueRuleSetResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionValueRuleSetResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRulesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRulesRequest.php deleted file mode 100644 index f38854a25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRulesRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionValueRulesRequest - */ -class MutateConversionValueRulesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose conversion value rules are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual conversion value - * rules. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionValueRuleOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose conversion value rules are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleOperation[] $operations Required. The list of operations to perform on individual conversion value - * rules. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRulesRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose conversion value rules are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual conversion value - * rules. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose conversion value rules are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose conversion value rules are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual conversion value - * rules. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionValueRuleOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual conversion value - * rules. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionValueRuleOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 5; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRulesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRulesResponse.php deleted file mode 100644 index f73ff309e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateConversionValueRulesResponse.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.MutateConversionValueRulesResponse - */ -class MutateConversionValueRulesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionValueRuleResult results = 2; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionValueRuleService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionValueRuleResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateConversionValueRuleResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudienceResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudienceResult.php deleted file mode 100644 index 810b47d45..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudienceResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomAudienceResult - */ -class MutateCustomAudienceResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomAudienceService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudiencesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudiencesRequest.php deleted file mode 100644 index 741b21b0e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudiencesRequest.php +++ /dev/null @@ -1,155 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomAudiencesRequest - */ -class MutateCustomAudiencesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose custom audiences are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual custom audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomAudienceOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose custom audiences are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomAudienceOperation[] $operations Required. The list of operations to perform on individual custom audiences. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomAudiencesRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose custom audiences are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomAudienceOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual custom audiences. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomAudienceService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose custom audiences are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose custom audiences are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual custom audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomAudienceOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual custom audiences. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomAudienceOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomAudienceOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomAudienceOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudiencesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudiencesResponse.php deleted file mode 100644 index 8ef50ab98..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomAudiencesResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomAudiencesResponse - */ -class MutateCustomAudiencesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomAudienceResult results = 1; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomAudienceResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomAudienceService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomAudienceResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomAudienceResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomAudienceResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomAudienceResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalResult.php deleted file mode 100644 index 44b832cfb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomConversionGoalResult - */ -class MutateCustomConversionGoalResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated CustomConversionGoal with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal custom_conversion_goal = 2; - */ - protected $custom_conversion_goal = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal $custom_conversion_goal - * The mutated CustomConversionGoal with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated CustomConversionGoal with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal custom_conversion_goal = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal|null - */ - public function getCustomConversionGoal() - { - return $this->custom_conversion_goal; - } - - public function hasCustomConversionGoal() - { - return isset($this->custom_conversion_goal); - } - - public function clearCustomConversionGoal() - { - unset($this->custom_conversion_goal); - } - - /** - * The mutated CustomConversionGoal with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomConversionGoal custom_conversion_goal = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal $var - * @return $this - */ - public function setCustomConversionGoal($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomConversionGoal::class); - $this->custom_conversion_goal = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalsRequest.php deleted file mode 100644 index f9de038e6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalsRequest.php +++ /dev/null @@ -1,203 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomConversionGoalsRequest - */ -class MutateCustomConversionGoalsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose custom conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual custom conversion - * goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose custom conversion goals are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomConversionGoalOperation[] $operations Required. The list of operations to perform on individual custom conversion - * goal. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose custom conversion goals are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomConversionGoalOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual custom conversion - * goal. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose custom conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose custom conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual custom conversion - * goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual custom conversion - * goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomConversionGoalOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomConversionGoalOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalsResponse.php deleted file mode 100644 index 0ce74fcd2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomConversionGoalsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomConversionGoalsResponse - */ -class MutateCustomConversionGoalsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomConversionGoalResult results = 1; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomConversionGoalResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomConversionGoalResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestResult.php deleted file mode 100644 index cf6c96503..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomInterestResult - */ -class MutateCustomInterestResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomInterestService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestsRequest.php deleted file mode 100644 index 60fa1ca78..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestsRequest.php +++ /dev/null @@ -1,155 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomInterestsRequest - */ -class MutateCustomInterestsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose custom interests are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual custom interests. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomInterestOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose custom interests are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomInterestOperation[] $operations Required. The list of operations to perform on individual custom interests. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomInterestsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose custom interests are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomInterestOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual custom interests. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomInterestService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose custom interests are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose custom interests are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual custom interests. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomInterestOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual custom interests. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomInterestOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomInterestOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomInterestOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestsResponse.php deleted file mode 100644 index d231c7aea..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomInterestsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomInterestsResponse - */ -class MutateCustomInterestsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomInterestResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomInterestResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomInterestService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomInterestResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomInterestResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomInterestResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomInterestResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetResult.php deleted file mode 100644 index 7c54fac52..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerAssetResult - */ -class MutateCustomerAssetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated customer asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 2; - */ - protected $customer_asset = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $customer_asset - * The mutated customer asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated customer asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAsset|null - */ - public function getCustomerAsset() - { - return $this->customer_asset; - } - - public function hasCustomerAsset() - { - return isset($this->customer_asset); - } - - public function clearCustomerAsset() - { - unset($this->customer_asset); - } - - /** - * The mutated customer asset with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAsset customer_asset = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAsset $var - * @return $this - */ - public function setCustomerAsset($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAsset::class); - $this->customer_asset = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetResult.php deleted file mode 100644 index 67674f9fd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerAssetSetResult - */ -class MutateCustomerAssetSetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated customer asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAssetSet customer_asset_set = 2; - */ - protected $customer_asset_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet $customer_asset_set - * The mutated customer asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated customer asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAssetSet customer_asset_set = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet|null - */ - public function getCustomerAssetSet() - { - return $this->customer_asset_set; - } - - public function hasCustomerAssetSet() - { - return isset($this->customer_asset_set); - } - - public function clearCustomerAssetSet() - { - unset($this->customer_asset_set); - } - - /** - * The mutated customer asset set with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerAssetSet customer_asset_set = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet $var - * @return $this - */ - public function setCustomerAssetSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerAssetSet::class); - $this->customer_asset_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetsRequest.php deleted file mode 100644 index f1728df37..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerAssetSetsRequest - */ -class MutateCustomerAssetSetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customer asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual customer asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose customer asset sets are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerAssetSetOperation[] $operations Required. The list of operations to perform on individual customer asset - * sets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetSetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customer asset sets are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerAssetSetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual customer asset - * sets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customer asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customer asset sets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual customer asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual customer asset - * sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerAssetSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerAssetSetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerAssetSetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetsResponse.php deleted file mode 100644 index 29d3e51d7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetSetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerAssetSetsResponse - */ -class MutateCustomerAssetSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerAssetSetResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (e.g. auth errors), - * we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetSetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (e.g. auth errors), - * we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerAssetSetService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerAssetSetResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerAssetSetResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetSetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetSetResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (e.g. auth errors), - * we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (e.g. auth errors), - * we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetsRequest.php deleted file mode 100644 index c975ff2fb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerAssetsRequest - */ -class MutateCustomerAssetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customer assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual customer assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose customer assets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerAssetOperation[] $operations Required. The list of operations to perform on individual customer assets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customer assets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerAssetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual customer assets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customer assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customer assets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual customer assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual customer assets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerAssetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerAssetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerAssetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetsResponse.php deleted file mode 100644 index e42c9dc5a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerAssetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerAssetsResponse - */ -class MutateCustomerAssetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerAssetResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerAssetService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerAssetResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerAssetResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkRequest.php deleted file mode 100644 index 71b9be972..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkRequest.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerClientLinkRequest - */ -class MutateCustomerClientLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customer link are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform on the individual CustomerClientLink. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerClientLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose customer link are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerClientLinkOperation $operation Required. The operation to perform on the individual CustomerClientLink. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerClientLinkRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\CustomerClientLinkOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customer link are being modified. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerClientLinkOperation $operation - * Required. The operation to perform on the individual CustomerClientLink. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerClientLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customer link are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customer link are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform on the individual CustomerClientLink. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerClientLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerClientLinkOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform on the individual CustomerClientLink. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerClientLinkOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerClientLinkOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerClientLinkOperation::class); - $this->operation = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkResponse.php deleted file mode 100644 index d082f55a4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkResponse.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerClientLinkResponse - */ -class MutateCustomerClientLinkResponse extends \Google\Protobuf\Internal\Message -{ - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerClientLinkResult result = 1; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerClientLinkResult $result - * A result that identifies the resource affected by the mutate request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerClientLinkService::initOnce(); - parent::__construct($data); - } - - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerClientLinkResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerClientLinkResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerClientLinkResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerClientLinkResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerClientLinkResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkResult.php deleted file mode 100644 index aaa1b3704..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerClientLinkResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerClientLinkResult - */ -class MutateCustomerClientLinkResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerClientLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalResult.php deleted file mode 100644 index 5ea518efb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerConversionGoalResult - */ -class MutateCustomerConversionGoalResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalsRequest.php deleted file mode 100644 index 5a2d74184..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalsRequest.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerConversionGoalsRequest - */ -class MutateCustomerConversionGoalsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customer conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual customer - * conversion goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose customer conversion goals are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalOperation[] $operations Required. The list of operations to perform on individual customer - * conversion goal. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customer conversion goals are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual customer - * conversion goal. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customer conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customer conversion goals are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual customer - * conversion goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual customer - * conversion goal. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerConversionGoalOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalsResponse.php deleted file mode 100644 index fc2fb1019..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerConversionGoalsResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerConversionGoalsResponse - */ -class MutateCustomerConversionGoalsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerConversionGoalResult results = 1; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerConversionGoalResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerConversionGoalResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizerResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizerResult.php deleted file mode 100644 index a0504e396..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizerResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerCustomizerResult - */ -class MutateCustomerCustomizerResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated CustomerCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerCustomizer customer_customizer = 2; - */ - protected $customer_customizer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer $customer_customizer - * The mutated CustomerCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated CustomerCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerCustomizer customer_customizer = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer|null - */ - public function getCustomerCustomizer() - { - return $this->customer_customizer; - } - - public function hasCustomerCustomizer() - { - return isset($this->customer_customizer); - } - - public function clearCustomerCustomizer() - { - unset($this->customer_customizer); - } - - /** - * The mutated CustomerCustomizer with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerCustomizer customer_customizer = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer $var - * @return $this - */ - public function setCustomerCustomizer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerCustomizer::class); - $this->customer_customizer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizersRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizersRequest.php deleted file mode 100644 index 5d73c0f65..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizersRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerCustomizersRequest - */ -class MutateCustomerCustomizersRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customer customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual customer - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose customer customizers are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerCustomizerOperation[] $operations Required. The list of operations to perform on individual customer - * customizers. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizersRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customer customizers are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerCustomizerOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual customer - * customizers. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customer customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customer customizers are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual customer - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual customer - * customizers. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerCustomizerOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerCustomizerOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerCustomizerOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizersResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizersResponse.php deleted file mode 100644 index 5f5a6bbf6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerCustomizersResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerCustomizersResponse - */ -class MutateCustomerCustomizersResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerCustomizerResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizerResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerCustomizerService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerCustomizerResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerCustomizerResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizerResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizerResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingResult.php deleted file mode 100644 index fc82cc74c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerExtensionSettingResult - */ -class MutateCustomerExtensionSettingResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated CustomerExtensionSetting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting customer_extension_setting = 2; - */ - protected $customer_extension_setting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting $customer_extension_setting - * The mutated CustomerExtensionSetting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated CustomerExtensionSetting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting customer_extension_setting = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting|null - */ - public function getCustomerExtensionSetting() - { - return $this->customer_extension_setting; - } - - public function hasCustomerExtensionSetting() - { - return isset($this->customer_extension_setting); - } - - public function clearCustomerExtensionSetting() - { - unset($this->customer_extension_setting); - } - - /** - * The mutated CustomerExtensionSetting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerExtensionSetting customer_extension_setting = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting $var - * @return $this - */ - public function setCustomerExtensionSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerExtensionSetting::class); - $this->customer_extension_setting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingsRequest.php deleted file mode 100644 index 010b58b71..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerExtensionSettingsRequest - */ -class MutateCustomerExtensionSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customer extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual customer - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose customer extension settings are - * being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingOperation[] $operations Required. The list of operations to perform on individual customer - * extension settings. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customer extension settings are - * being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual customer - * extension settings. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customer extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customer extension settings are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual customer - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual customer - * extension settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerExtensionSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingsResponse.php deleted file mode 100644 index f2aff72c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerExtensionSettingsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerExtensionSettingsResponse - */ -class MutateCustomerExtensionSettingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerExtensionSettingResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerExtensionSettingResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerExtensionSettingResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedResult.php deleted file mode 100644 index e8180f899..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerFeedResult - */ -class MutateCustomerFeedResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated customer feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed customer_feed = 2; - */ - protected $customer_feed = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerFeed $customer_feed - * The mutated customer feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated customer feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed customer_feed = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerFeed|null - */ - public function getCustomerFeed() - { - return $this->customer_feed; - } - - public function hasCustomerFeed() - { - return isset($this->customer_feed); - } - - public function clearCustomerFeed() - { - unset($this->customer_feed); - } - - /** - * The mutated customer feed with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerFeed customer_feed = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerFeed $var - * @return $this - */ - public function setCustomerFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerFeed::class); - $this->customer_feed = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedsRequest.php deleted file mode 100644 index 1ee0bbf70..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerFeedsRequest - */ -class MutateCustomerFeedsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customer feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual customer feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose customer feeds are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerFeedOperation[] $operations Required. The list of operations to perform on individual customer feeds. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customer feeds are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerFeedOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual customer feeds. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customer feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customer feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual customer feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual customer feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerFeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerFeedOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerFeedOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedsResponse.php deleted file mode 100644 index 3b73f783d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerFeedsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerFeedsResponse - */ -class MutateCustomerFeedsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerFeedResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerFeedService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerFeedResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerFeedResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelResult.php deleted file mode 100644 index 22277d87f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerLabelResult - */ -class MutateCustomerLabelResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelsRequest.php deleted file mode 100644 index 38c6f8a6d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerLabelsRequest - */ -class MutateCustomerLabelsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose customer-label relationships are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on customer-label - * relationships. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. ID of the customer whose customer-label relationships are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerLabelOperation[] $operations Required. The list of operations to perform on customer-label - * relationships. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose customer-label relationships are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerLabelOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on customer-label - * relationships. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose customer-label relationships are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose customer-label relationships are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on customer-label - * relationships. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on customer-label - * relationships. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerLabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerLabelOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerLabelOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelsResponse.php deleted file mode 100644 index 4e4e41aa9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerLabelsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerLabelsResponse - */ -class MutateCustomerLabelsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerLabelResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerLabelService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerLabelResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerLabelResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkRequest.php deleted file mode 100644 index 785db7817..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkRequest.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerManagerLinkRequest - */ -class MutateCustomerManagerLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customer manager links are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual customer manager - * links. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose customer manager links are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkOperation[] $operations Required. The list of operations to perform on individual customer manager - * links. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerManagerLinkRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customer manager links are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual customer manager - * links. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customer manager links are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customer manager links are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual customer manager - * links. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual customer manager - * links. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerManagerLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkResponse.php deleted file mode 100644 index 9d43f2d7e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerManagerLinkResponse - */ -class MutateCustomerManagerLinkResponse extends \Google\Protobuf\Internal\Message -{ - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerManagerLinkResult results = 1; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerManagerLinkResult>|\Google\Protobuf\Internal\RepeatedField $results - * A result that identifies the resource affected by the mutate request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkService::initOnce(); - parent::__construct($data); - } - - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerManagerLinkResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * A result that identifies the resource affected by the mutate request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerManagerLinkResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerManagerLinkResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerManagerLinkResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkResult.php deleted file mode 100644 index 9251c204d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerManagerLinkResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerManagerLinkResult - */ -class MutateCustomerManagerLinkResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerManagerLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaRequest.php deleted file mode 100644 index a7a846dff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerNegativeCriteriaRequest - */ -class MutateCustomerNegativeCriteriaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerNegativeCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose criteria are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionOperation[] $operations Required. The list of operations to perform on individual criteria. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose criteria are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual criteria. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerNegativeCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomerNegativeCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaResponse.php deleted file mode 100644 index d4cb970e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerNegativeCriteriaResponse - */ -class MutateCustomerNegativeCriteriaResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerNegativeCriteriaResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerNegativeCriteriaResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomerNegativeCriteriaResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaResult.php deleted file mode 100644 index 650e40165..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerNegativeCriteriaResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerNegativeCriteriaResult - */ -class MutateCustomerNegativeCriteriaResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated criterion with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerNegativeCriterion customer_negative_criterion = 2; - */ - protected $customer_negative_criterion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion $customer_negative_criterion - * The mutated criterion with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated criterion with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerNegativeCriterion customer_negative_criterion = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion|null - */ - public function getCustomerNegativeCriterion() - { - return $this->customer_negative_criterion; - } - - public function hasCustomerNegativeCriterion() - { - return isset($this->customer_negative_criterion); - } - - public function clearCustomerNegativeCriterion() - { - unset($this->customer_negative_criterion); - } - - /** - * The mutated criterion with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomerNegativeCriterion customer_negative_criterion = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion $var - * @return $this - */ - public function setCustomerNegativeCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomerNegativeCriterion::class); - $this->customer_negative_criterion = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerRequest.php deleted file mode 100644 index dddafe9be..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerRequest.php +++ /dev/null @@ -1,203 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerRequest - */ -class MutateCustomerRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform on the customer - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerOperation operation = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 5; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 6; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerOperation $operation Required. The operation to perform on the customer - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\CustomerOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer being modified. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerOperation $operation - * Required. The operation to perform on the customer - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform on the customer - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerOperation operation = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform on the customer - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerOperation operation = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerOperation::class); - $this->operation = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 5; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 5; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 6; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 6; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerResponse.php deleted file mode 100644 index e3e9bed3f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerResponse.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerResponse - */ -class MutateCustomerResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerResult result = 2; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerResult $result - * Result for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerService::initOnce(); - parent::__construct($data); - } - - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerResult result = 2; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerResult result = 2; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerResult.php deleted file mode 100644 index 8c7286819..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerResult - */ -class MutateCustomerResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated customer with only mutable fields after mutate. The fields will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer = 2; - */ - protected $customer = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\Customer $customer - * The mutated customer with only mutable fields after mutate. The fields will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated customer with only mutable fields after mutate. The fields will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Customer|null - */ - public function getCustomer() - { - return $this->customer; - } - - public function hasCustomer() - { - return isset($this->customer); - } - - public function clearCustomer() - { - unset($this->customer); - } - - /** - * The mutated customer with only mutable fields after mutate. The fields will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Customer customer = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Customer $var - * @return $this - */ - public function setCustomer($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Customer::class); - $this->customer = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaRequest.php deleted file mode 100644 index fae4e8a1e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaRequest.php +++ /dev/null @@ -1,150 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerSkAdNetworkConversionValueSchemaRequest - */ -class MutateCustomerSkAdNetworkConversionValueSchemaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the customer whose shared sets are being modified. - * - * Generated from protobuf field string customer_id = 1; - */ - protected $customer_id = ''; - /** - * The operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaOperation operation = 2; - */ - protected $operation = null; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * The ID of the customer whose shared sets are being modified. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaOperation $operation - * The operation to perform. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaService::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the customer whose shared sets are being modified. - * - * Generated from protobuf field string customer_id = 1; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * The ID of the customer whose shared sets are being modified. - * - * Generated from protobuf field string customer_id = 1; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * The operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaOperation operation = 2; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * The operation to perform. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaOperation operation = 2; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaOperation::class); - $this->operation = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaResponse.php deleted file mode 100644 index 1fc910ba5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaResponse.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerSkAdNetworkConversionValueSchemaResponse - */ -class MutateCustomerSkAdNetworkConversionValueSchemaResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerSkAdNetworkConversionValueSchemaResult result = 1; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerSkAdNetworkConversionValueSchemaResult $result - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerSkAdNetworkConversionValueSchemaResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerSkAdNetworkConversionValueSchemaResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerSkAdNetworkConversionValueSchemaResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerSkAdNetworkConversionValueSchemaResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerSkAdNetworkConversionValueSchemaResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaResult.php deleted file mode 100644 index 396440c29..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerSkAdNetworkConversionValueSchemaResult.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerSkAdNetworkConversionValueSchemaResult - */ -class MutateCustomerSkAdNetworkConversionValueSchemaResult extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of the customer that was modified. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * App ID of the SkanConversionValue modified. - * - * Generated from protobuf field string app_id = 2; - */ - protected $app_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Resource name of the customer that was modified. - * @type string $app_id - * App ID of the SkanConversionValue modified. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerSkAdNetworkConversionValueSchemaService::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of the customer that was modified. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Resource name of the customer that was modified. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * App ID of the SkanConversionValue modified. - * - * Generated from protobuf field string app_id = 2; - * @return string - */ - public function getAppId() - { - return $this->app_id; - } - - /** - * App ID of the SkanConversionValue modified. - * - * Generated from protobuf field string app_id = 2; - * @param string $var - * @return $this - */ - public function setAppId($var) - { - GPBUtil::checkString($var, True); - $this->app_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationRequest.php deleted file mode 100644 index e09b36021..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerUserAccessInvitationRequest - */ -class MutateCustomerUserAccessInvitationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose access invitation is being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform on the access invitation - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerUserAccessInvitationOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - - /** - * @param string $customerId Required. The ID of the customer whose access invitation is being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationOperation $operation Required. The operation to perform on the access invitation - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessInvitationRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose access invitation is being modified. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationOperation $operation - * Required. The operation to perform on the access invitation - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose access invitation is being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose access invitation is being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform on the access invitation - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerUserAccessInvitationOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform on the access invitation - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerUserAccessInvitationOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationOperation::class); - $this->operation = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationResponse.php deleted file mode 100644 index d937709bd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationResponse.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerUserAccessInvitationResponse - */ -class MutateCustomerUserAccessInvitationResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerUserAccessInvitationResult result = 1; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessInvitationResult $result - * Result for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationService::initOnce(); - parent::__construct($data); - } - - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerUserAccessInvitationResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessInvitationResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerUserAccessInvitationResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessInvitationResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessInvitationResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationResult.php deleted file mode 100644 index 3a3e1b552..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessInvitationResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerUserAccessInvitationResult - */ -class MutateCustomerUserAccessInvitationResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessInvitationService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessRequest.php deleted file mode 100644 index 6ffe698c1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessRequest.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerUserAccessRequest - */ -class MutateCustomerUserAccessRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The operation to perform on the customer - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerUserAccessOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $operation = null; - - /** - * @param string $customerId Required. The ID of the customer being modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessOperation $operation Required. The operation to perform on the customer - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessRequest - * - * @experimental - */ - public static function build(string $customerId, \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessOperation $operation): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperation($operation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer being modified. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessOperation $operation - * Required. The operation to perform on the customer - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The operation to perform on the customer - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerUserAccessOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessOperation|null - */ - public function getOperation() - { - return $this->operation; - } - - public function hasOperation() - { - return isset($this->operation); - } - - public function clearOperation() - { - unset($this->operation); - } - - /** - * Required. The operation to perform on the customer - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerUserAccessOperation operation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessOperation $var - * @return $this - */ - public function setOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerUserAccessOperation::class); - $this->operation = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessResponse.php deleted file mode 100644 index b23159c05..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessResponse.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerUserAccessResponse - */ -class MutateCustomerUserAccessResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerUserAccessResult result = 1; - */ - protected $result = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessResult $result - * Result for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessService::initOnce(); - parent::__construct($data); - } - - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerUserAccessResult result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessResult|null - */ - public function getResult() - { - return $this->result; - } - - public function hasResult() - { - return isset($this->result); - } - - public function clearResult() - { - unset($this->result); - } - - /** - * Result for the mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerUserAccessResult result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessResult $var - * @return $this - */ - public function setResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessResult::class); - $this->result = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessResult.php deleted file mode 100644 index e94451069..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomerUserAccessResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomerUserAccessResult - */ -class MutateCustomerUserAccessResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomerUserAccessService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributeResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributeResult.php deleted file mode 100644 index 30d3adc7d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributeResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomizerAttributeResult - */ -class MutateCustomizerAttributeResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated CustomizerAttribute with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomizerAttribute customizer_attribute = 2; - */ - protected $customizer_attribute = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute $customizer_attribute - * The mutated CustomizerAttribute with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomizerAttributeService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated CustomizerAttribute with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomizerAttribute customizer_attribute = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute|null - */ - public function getCustomizerAttribute() - { - return $this->customizer_attribute; - } - - public function hasCustomizerAttribute() - { - return isset($this->customizer_attribute); - } - - public function clearCustomizerAttribute() - { - unset($this->customizer_attribute); - } - - /** - * The mutated CustomizerAttribute with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.CustomizerAttribute customizer_attribute = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute $var - * @return $this - */ - public function setCustomizerAttribute($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\CustomizerAttribute::class); - $this->customizer_attribute = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributesRequest.php deleted file mode 100644 index e976896a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributesRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomizerAttributesRequest - */ -class MutateCustomizerAttributesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose customizer attributes are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual customizer - * attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomizerAttributeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose customizer attributes are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\CustomizerAttributeOperation[] $operations Required. The list of operations to perform on individual customizer - * attributes. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributesRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose customizer attributes are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\CustomizerAttributeOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual customizer - * attributes. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomizerAttributeService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose customizer attributes are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose customizer attributes are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual customizer - * attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomizerAttributeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual customizer - * attributes. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CustomizerAttributeOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CustomizerAttributeOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CustomizerAttributeOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributesResponse.php deleted file mode 100644 index 8dfa637a8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateCustomizerAttributesResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateCustomizerAttributesResponse - */ -class MutateCustomizerAttributesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomizerAttributeResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributeResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CustomizerAttributeService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomizerAttributeResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateCustomizerAttributeResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributeResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributeResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmResult.php deleted file mode 100644 index 527d06d9c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateExperimentArmResult - */ -class MutateExperimentArmResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated experiment arm with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm experiment_arm = 2; - */ - protected $experiment_arm = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\ExperimentArm $experiment_arm - * The mutated experiment arm with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentArmService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated experiment arm with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm experiment_arm = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ExperimentArm|null - */ - public function getExperimentArm() - { - return $this->experiment_arm; - } - - public function hasExperimentArm() - { - return isset($this->experiment_arm); - } - - public function clearExperimentArm() - { - unset($this->experiment_arm); - } - - /** - * The mutated experiment arm with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExperimentArm experiment_arm = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ExperimentArm $var - * @return $this - */ - public function setExperimentArm($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExperimentArm::class); - $this->experiment_arm = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmsRequest.php deleted file mode 100644 index 93a3b51f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateExperimentArmsRequest - */ -class MutateExperimentArmsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose experiments are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual experiment arm. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExperimentArmOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose experiments are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\ExperimentArmOperation[] $operations Required. The list of operations to perform on individual experiment arm. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateExperimentArmsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose experiments are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\ExperimentArmOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual experiment arm. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentArmService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose experiments are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose experiments are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual experiment arm. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExperimentArmOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual experiment arm. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExperimentArmOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ExperimentArmOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ExperimentArmOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmsResponse.php deleted file mode 100644 index 8109056a4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentArmsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateExperimentArmsResponse - */ -class MutateExperimentArmsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExperimentArmResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateExperimentArmResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentArmService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExperimentArmResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExperimentArmResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateExperimentArmResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateExperimentArmResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentResult.php deleted file mode 100644 index 45ab40ad7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateExperimentResult - */ -class MutateExperimentResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentsRequest.php deleted file mode 100644 index 28ffffb8c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentsRequest.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.MutateExperimentsRequest - */ -class MutateExperimentsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose experiments are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual experiments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExperimentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose experiments are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\ExperimentOperation[] $operations Required. The list of operations to perform on individual experiments. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateExperimentsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose experiments are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\ExperimentOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual experiments. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose experiments are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose experiments are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual experiments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExperimentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual experiments. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExperimentOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ExperimentOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ExperimentOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentsResponse.php deleted file mode 100644 index 67b863637..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExperimentsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateExperimentsResponse - */ -class MutateExperimentsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExperimentResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateExperimentResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExperimentResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExperimentResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateExperimentResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateExperimentResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemResult.php deleted file mode 100644 index fa564f8a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateExtensionFeedItemResult - */ -class MutateExtensionFeedItemResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated extension feed item with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem extension_feed_item = 2; - */ - protected $extension_feed_item = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem $extension_feed_item - * The mutated extension feed item with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated extension feed item with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem extension_feed_item = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem|null - */ - public function getExtensionFeedItem() - { - return $this->extension_feed_item; - } - - public function hasExtensionFeedItem() - { - return isset($this->extension_feed_item); - } - - public function clearExtensionFeedItem() - { - unset($this->extension_feed_item); - } - - /** - * The mutated extension feed item with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.ExtensionFeedItem extension_feed_item = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem $var - * @return $this - */ - public function setExtensionFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\ExtensionFeedItem::class); - $this->extension_feed_item = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemsRequest.php deleted file mode 100644 index bcd79d3ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateExtensionFeedItemsRequest - */ -class MutateExtensionFeedItemsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose extension feed items are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual extension feed - * items. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExtensionFeedItemOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose extension feed items are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemOperation[] $operations Required. The list of operations to perform on individual extension feed - * items. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose extension feed items are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual extension feed - * items. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose extension feed items are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose extension feed items are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual extension feed - * items. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExtensionFeedItemOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual extension feed - * items. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ExtensionFeedItemOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemsResponse.php deleted file mode 100644 index 024d028c7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateExtensionFeedItemsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateExtensionFeedItemsResponse - */ -class MutateExtensionFeedItemsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExtensionFeedItemResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExtensionFeedItemResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateExtensionFeedItemResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemResult.php deleted file mode 100644 index ca2140393..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemResult - */ -class MutateFeedItemResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated feed item with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 2; - */ - protected $feed_item = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItem $feed_item - * The mutated feed item with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated feed item with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItem|null - */ - public function getFeedItem() - { - return $this->feed_item; - } - - public function hasFeedItem() - { - return isset($this->feed_item); - } - - public function clearFeedItem() - { - unset($this->feed_item); - } - - /** - * The mutated feed item with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItem feed_item = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItem $var - * @return $this - */ - public function setFeedItem($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItem::class); - $this->feed_item = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinkResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinkResult.php deleted file mode 100644 index 8fea86770..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinkResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemSetLinkResult - */ -class MutateFeedItemSetLinkResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinksRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinksRequest.php deleted file mode 100644 index 4b1a94c9a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinksRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemSetLinksRequest - */ -class MutateFeedItemSetLinksRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose feed item set links are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual feed item set - * links. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemSetLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose feed item set links are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkOperation[] $operations Required. The list of operations to perform on individual feed item set - * links. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinksRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose feed item set links are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual feed item set - * links. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose feed item set links are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose feed item set links are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual feed item set - * links. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemSetLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual feed item set - * links. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemSetLinkOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinksResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinksResponse.php deleted file mode 100644 index 12fc588d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetLinksResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemSetLinksResponse - */ -class MutateFeedItemSetLinksResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemSetLinkResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinkResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemSetLinkResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemSetLinkResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinkResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinkResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetResult.php deleted file mode 100644 index 41de63a83..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemSetResult - */ -class MutateFeedItemSetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemSetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetsRequest.php deleted file mode 100644 index f562dce2f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetsRequest.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemSetsRequest - */ -class MutateFeedItemSetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose feed item sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual feed item sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose feed item sets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\FeedItemSetOperation[] $operations Required. The list of operations to perform on individual feed item sets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose feed item sets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\FeedItemSetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual feed item sets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemSetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose feed item sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose feed item sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual feed item sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual feed item sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\FeedItemSetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\FeedItemSetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetsResponse.php deleted file mode 100644 index b0ca44112..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemSetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemSetsResponse - */ -class MutateFeedItemSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemSetResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemSetService::initOnce(); - parent::__construct($data); - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemSetResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemSetResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetResult.php deleted file mode 100644 index 7541473d1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemTargetResult - */ -class MutateFeedItemTargetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated feed item target with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemTarget feed_item_target = 2; - */ - protected $feed_item_target = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget $feed_item_target - * The mutated feed item target with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemTargetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated feed item target with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemTarget feed_item_target = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget|null - */ - public function getFeedItemTarget() - { - return $this->feed_item_target; - } - - public function hasFeedItemTarget() - { - return isset($this->feed_item_target); - } - - public function clearFeedItemTarget() - { - unset($this->feed_item_target); - } - - /** - * The mutated feed item target with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedItemTarget feed_item_target = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget $var - * @return $this - */ - public function setFeedItemTarget($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedItemTarget::class); - $this->feed_item_target = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetsRequest.php deleted file mode 100644 index 21a92a55a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemTargetsRequest - */ -class MutateFeedItemTargetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose feed item targets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual feed item - * targets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemTargetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 4; - */ - protected $partial_failure = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose feed item targets are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\FeedItemTargetOperation[] $operations Required. The list of operations to perform on individual feed item - * targets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose feed item targets are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\FeedItemTargetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual feed item - * targets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemTargetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose feed item targets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose feed item targets are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual feed item - * targets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemTargetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual feed item - * targets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemTargetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\FeedItemTargetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\FeedItemTargetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 4; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 4; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetsResponse.php deleted file mode 100644 index 22e52b349..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemTargetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemTargetsResponse - */ -class MutateFeedItemTargetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemTargetResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemTargetService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemTargetResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemTargetResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemsRequest.php deleted file mode 100644 index d85572f78..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemsRequest - */ -class MutateFeedItemsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose feed items are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual feed items. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose feed items are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\FeedItemOperation[] $operations Required. The list of operations to perform on individual feed items. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose feed items are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\FeedItemOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual feed items. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose feed items are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose feed items are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual feed items. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual feed items. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedItemOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\FeedItemOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\FeedItemOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemsResponse.php deleted file mode 100644 index 3c45d7537..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedItemsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedItemsResponse - */ -class MutateFeedItemsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateFeedItemResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedItemService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedItemResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateFeedItemResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateFeedItemResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingResult.php deleted file mode 100644 index 35e90f669..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedMappingResult - */ -class MutateFeedMappingResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated feed mapping with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedMapping feed_mapping = 2; - */ - protected $feed_mapping = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\FeedMapping $feed_mapping - * The mutated feed mapping with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedMappingService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated feed mapping with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedMapping feed_mapping = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\FeedMapping|null - */ - public function getFeedMapping() - { - return $this->feed_mapping; - } - - public function hasFeedMapping() - { - return isset($this->feed_mapping); - } - - public function clearFeedMapping() - { - unset($this->feed_mapping); - } - - /** - * The mutated feed mapping with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.FeedMapping feed_mapping = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\FeedMapping $var - * @return $this - */ - public function setFeedMapping($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\FeedMapping::class); - $this->feed_mapping = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingsRequest.php deleted file mode 100644 index d8516fb8a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedMappingsRequest - */ -class MutateFeedMappingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose feed mappings are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual feed mappings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedMappingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose feed mappings are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\FeedMappingOperation[] $operations Required. The list of operations to perform on individual feed mappings. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedMappingsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose feed mappings are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\FeedMappingOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual feed mappings. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedMappingService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose feed mappings are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose feed mappings are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual feed mappings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedMappingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual feed mappings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedMappingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\FeedMappingOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\FeedMappingOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingsResponse.php deleted file mode 100644 index 0e451c3ab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedMappingsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedMappingsResponse - */ -class MutateFeedMappingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedMappingResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateFeedMappingResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedMappingService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedMappingResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedMappingResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateFeedMappingResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateFeedMappingResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedResult.php deleted file mode 100644 index 727ba13cb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedResult - */ -class MutateFeedResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated feed with only mutable fields after mutate. The field will only - * be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 2; - */ - protected $feed = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\Feed $feed - * The mutated feed with only mutable fields after mutate. The field will only - * be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated feed with only mutable fields after mutate. The field will only - * be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Feed|null - */ - public function getFeed() - { - return $this->feed; - } - - public function hasFeed() - { - return isset($this->feed); - } - - public function clearFeed() - { - unset($this->feed); - } - - /** - * The mutated feed with only mutable fields after mutate. The field will only - * be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Feed feed = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Feed $var - * @return $this - */ - public function setFeed($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Feed::class); - $this->feed = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedsRequest.php deleted file mode 100644 index 60178b409..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedsRequest - */ -class MutateFeedsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose feeds are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\FeedOperation[] $operations Required. The list of operations to perform on individual feeds. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose feeds are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\FeedOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual feeds. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose feeds are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual feeds. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.FeedOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\FeedOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\FeedOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateFeedsResponse.php deleted file mode 100644 index b0e8162d5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateFeedsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateFeedsResponse - */ -class MutateFeedsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateFeedResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\FeedService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateFeedResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateFeedResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateFeedResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateGoogleAdsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateGoogleAdsRequest.php deleted file mode 100644 index e7eba921d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateGoogleAdsRequest.php +++ /dev/null @@ -1,247 +0,0 @@ -google.ads.googleads.v15.services.MutateGoogleAdsRequest - */ -class MutateGoogleAdsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose resources are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual resources. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperation mutate_operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $mutate_operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose resources are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\MutateOperation[] $mutateOperations Required. The list of operations to perform on individual resources. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateGoogleAdsRequest - * - * @experimental - */ - public static function build(string $customerId, array $mutateOperations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setMutateOperations($mutateOperations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose resources are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateOperation>|\Google\Protobuf\Internal\RepeatedField $mutate_operations - * Required. The list of operations to perform on individual resources. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose resources are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose resources are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual resources. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperation mutate_operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMutateOperations() - { - return $this->mutate_operations; - } - - /** - * Required. The list of operations to perform on individual resources. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperation mutate_operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMutateOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateOperation::class); - $this->mutate_operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateGoogleAdsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateGoogleAdsResponse.php deleted file mode 100644 index 35a7207d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateGoogleAdsResponse.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.MutateGoogleAdsResponse - */ -class MutateGoogleAdsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All responses for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperationResponse mutate_operation_responses = 1; - */ - private $mutate_operation_responses; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateOperationResponse>|\Google\Protobuf\Internal\RepeatedField $mutate_operation_responses - * All responses for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All responses for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperationResponse mutate_operation_responses = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMutateOperationResponses() - { - return $this->mutate_operation_responses; - } - - /** - * All responses for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateOperationResponse mutate_operation_responses = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateOperationResponse>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMutateOperationResponses($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateOperationResponse::class); - $this->mutate_operation_responses = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordResult.php deleted file mode 100644 index 462fd919c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanAdGroupKeywordResult - */ -class MutateKeywordPlanAdGroupKeywordResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordsRequest.php deleted file mode 100644 index f915bc8b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanAdGroupKeywordsRequest - */ -class MutateKeywordPlanAdGroupKeywordsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose Keyword Plan ad group keywords are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual Keyword Plan ad - * group keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose Keyword Plan ad group keywords are - * being modified. - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordOperation[] $operations Required. The list of operations to perform on individual Keyword Plan ad - * group keywords. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose Keyword Plan ad group keywords are - * being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual Keyword Plan ad - * group keywords. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose Keyword Plan ad group keywords are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose Keyword Plan ad group keywords are - * being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual Keyword Plan ad - * group keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual Keyword Plan ad - * group keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordsResponse.php deleted file mode 100644 index 867819647..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupKeywordsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanAdGroupKeywordsResponse - */ -class MutateKeywordPlanAdGroupKeywordsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupKeywordResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupKeywordResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupKeywordResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupResult.php deleted file mode 100644 index 8f2705fbb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanAdGroupResult - */ -class MutateKeywordPlanAdGroupResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupsRequest.php deleted file mode 100644 index 2d155da3b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanAdGroupsRequest - */ -class MutateKeywordPlanAdGroupsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose Keyword Plan ad groups are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual Keyword Plan ad - * groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanAdGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose Keyword Plan ad groups are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupOperation[] $operations Required. The list of operations to perform on individual Keyword Plan ad - * groups. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose Keyword Plan ad groups are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual Keyword Plan ad - * groups. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose Keyword Plan ad groups are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose Keyword Plan ad groups are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual Keyword Plan ad - * groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanAdGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual Keyword Plan ad - * groups. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanAdGroupOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupsResponse.php deleted file mode 100644 index 7d5630eee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanAdGroupsResponse.php +++ /dev/null @@ -1,127 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanAdGroupsResponse - */ -class MutateKeywordPlanAdGroupsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. The order of the results is determined by the - * order of the keywords in the original request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. The order of the results is determined by the - * order of the keywords in the original request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. The order of the results is determined by the - * order of the keywords in the original request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. The order of the results is determined by the - * order of the keywords in the original request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordResult.php deleted file mode 100644 index a16ce0918..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanCampaignKeywordResult - */ -class MutateKeywordPlanCampaignKeywordResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordsRequest.php deleted file mode 100644 index a32fec8bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanCampaignKeywordsRequest - */ -class MutateKeywordPlanCampaignKeywordsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose campaign keywords are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual Keyword Plan - * campaign keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanCampaignKeywordOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose campaign keywords are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordOperation[] $operations Required. The list of operations to perform on individual Keyword Plan - * campaign keywords. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose campaign keywords are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual Keyword Plan - * campaign keywords. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose campaign keywords are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose campaign keywords are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual Keyword Plan - * campaign keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanCampaignKeywordOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual Keyword Plan - * campaign keywords. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanCampaignKeywordOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordsResponse.php deleted file mode 100644 index f575c9470..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignKeywordsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanCampaignKeywordsResponse - */ -class MutateKeywordPlanCampaignKeywordsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanCampaignKeywordResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanCampaignKeywordResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanCampaignKeywordResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignResult.php deleted file mode 100644 index f0db75fe0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanCampaignResult - */ -class MutateKeywordPlanCampaignResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignsRequest.php deleted file mode 100644 index e07564f60..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanCampaignsRequest - */ -class MutateKeywordPlanCampaignsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose Keyword Plan campaigns are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual Keyword Plan - * campaigns. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose Keyword Plan campaigns are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignOperation[] $operations Required. The list of operations to perform on individual Keyword Plan - * campaigns. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose Keyword Plan campaigns are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual Keyword Plan - * campaigns. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose Keyword Plan campaigns are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose Keyword Plan campaigns are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual Keyword Plan - * campaigns. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual Keyword Plan - * campaigns. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanCampaignOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignsResponse.php deleted file mode 100644 index 83122a1dc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlanCampaignsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlanCampaignsResponse - */ -class MutateKeywordPlanCampaignsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanCampaignResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanCampaignResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlanCampaignResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansRequest.php deleted file mode 100644 index 7592da111..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansRequest.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlansRequest - */ -class MutateKeywordPlansRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose keyword plans are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual keyword plans. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose keyword plans are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanOperation[] $operations Required. The list of operations to perform on individual keyword plans. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose keyword plans are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual keyword plans. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose keyword plans are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose keyword plans are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual keyword plans. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual keyword plans. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.KeywordPlanOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\KeywordPlanOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\KeywordPlanOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansResponse.php deleted file mode 100644 index d40950ce8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlansResponse - */ -class MutateKeywordPlansResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlansResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlansResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateKeywordPlansResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansResult.php deleted file mode 100644 index 8c2c33bbf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateKeywordPlansResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateKeywordPlansResult - */ -class MutateKeywordPlansResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateLabelResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateLabelResult.php deleted file mode 100644 index a6ff4f309..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateLabelResult.php +++ /dev/null @@ -1,115 +0,0 @@ -google.ads.googleads.v15.services.MutateLabelResult - */ -class MutateLabelResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated label with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label label = 2; - */ - protected $label = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\Label $label - * The mutated label with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\LabelService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated label with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label label = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\Label|null - */ - public function getLabel() - { - return $this->label; - } - - public function hasLabel() - { - return isset($this->label); - } - - public function clearLabel() - { - unset($this->label); - } - - /** - * The mutated label with only mutable fields after mutate. The field will - * only be returned when response_content_type is set to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.Label label = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\Label $var - * @return $this - */ - public function setLabel($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\Label::class); - $this->label = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateLabelsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateLabelsRequest.php deleted file mode 100644 index 4c360bc9e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateLabelsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateLabelsRequest - */ -class MutateLabelsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the customer whose labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.LabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. ID of the customer whose labels are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\LabelOperation[] $operations Required. The list of operations to perform on labels. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateLabelsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. ID of the customer whose labels are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\LabelOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on labels. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\LabelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the customer whose labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. ID of the customer whose labels are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.LabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on labels. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.LabelOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\LabelOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\LabelOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateLabelsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateLabelsResponse.php deleted file mode 100644 index 1d1b7be0c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateLabelsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateLabelsResponse - */ -class MutateLabelsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateLabelResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateLabelResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\LabelService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateLabelResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateLabelResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateLabelResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateLabelResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateOperation.php b/src/Google/Ads/GoogleAds/V15/Services/MutateOperation.php deleted file mode 100644 index 8171b8232..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateOperation.php +++ /dev/null @@ -1,2517 +0,0 @@ -google.ads.googleads.v15.services.MutateOperation - */ -class MutateOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelOperation $ad_group_ad_label_operation - * An ad group ad label mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupAdOperation $ad_group_ad_operation - * An ad group ad mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupAssetOperation $ad_group_asset_operation - * An ad group asset mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierOperation $ad_group_bid_modifier_operation - * An ad group bid modifier mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerOperation $ad_group_criterion_customizer_operation - * An ad group criterion customizer mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelOperation $ad_group_criterion_label_operation - * An ad group criterion label mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionOperation $ad_group_criterion_operation - * An ad group criterion mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerOperation $ad_group_customizer_operation - * An ad group customizer mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingOperation $ad_group_extension_setting_operation - * An ad group extension setting mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupFeedOperation $ad_group_feed_operation - * An ad group feed mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupLabelOperation $ad_group_label_operation - * An ad group label mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdGroupOperation $ad_group_operation - * An ad group mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdOperation $ad_operation - * An ad mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AdParameterOperation $ad_parameter_operation - * An ad parameter mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AssetOperation $asset_operation - * An asset mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AssetGroupAssetOperation $asset_group_asset_operation - * An asset group asset mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterOperation $asset_group_listing_group_filter_operation - * An asset group listing group filter mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AssetGroupSignalOperation $asset_group_signal_operation - * An asset group signal mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AssetGroupOperation $asset_group_operation - * An asset group mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AssetSetAssetOperation $asset_set_asset_operation - * An asset set asset mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AssetSetOperation $asset_set_operation - * An asset set mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\AudienceOperation $audience_operation - * An audience mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionOperation $bidding_data_exclusion_operation - * A bidding data exclusion mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentOperation $bidding_seasonality_adjustment_operation - * A bidding seasonality adjustment mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\BiddingStrategyOperation $bidding_strategy_operation - * A bidding strategy mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignAssetOperation $campaign_asset_operation - * A campaign asset mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignAssetSetOperation $campaign_asset_set_operation - * A campaign asset mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignBidModifierOperation $campaign_bid_modifier_operation - * A campaign bid modifier mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignBudgetOperation $campaign_budget_operation - * A campaign budget mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalOperation $campaign_conversion_goal_operation - * A campaign conversion goal mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignCriterionOperation $campaign_criterion_operation - * A campaign criterion mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignCustomizerOperation $campaign_customizer_operation - * A campaign customizer mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignDraftOperation $campaign_draft_operation - * A campaign draft mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingOperation $campaign_extension_setting_operation - * A campaign extension setting mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignFeedOperation $campaign_feed_operation - * A campaign feed mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignGroupOperation $campaign_group_operation - * A campaign group mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignLabelOperation $campaign_label_operation - * A campaign label mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignOperation $campaign_operation - * A campaign mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CampaignSharedSetOperation $campaign_shared_set_operation - * A campaign shared set mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\ConversionActionOperation $conversion_action_operation - * A conversion action mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableOperation $conversion_custom_variable_operation - * A conversion custom variable mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigOperation $conversion_goal_campaign_config_operation - * A conversion goal campaign config mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleOperation $conversion_value_rule_operation - * A conversion value rule mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetOperation $conversion_value_rule_set_operation - * A conversion value rule set mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomConversionGoalOperation $custom_conversion_goal_operation - * A custom conversion goal mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerAssetOperation $customer_asset_operation - * A customer asset mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalOperation $customer_conversion_goal_operation - * A customer conversion goal mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerCustomizerOperation $customer_customizer_operation - * A customer customizer mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingOperation $customer_extension_setting_operation - * A customer extension setting mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerFeedOperation $customer_feed_operation - * A customer feed mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerLabelOperation $customer_label_operation - * A customer label mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionOperation $customer_negative_criterion_operation - * A customer negative criterion mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomerOperation $customer_operation - * A customer mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\CustomizerAttributeOperation $customizer_attribute_operation - * A customizer attribute mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\ExperimentOperation $experiment_operation - * An experiment mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\ExperimentArmOperation $experiment_arm_operation - * An experiment arm mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemOperation $extension_feed_item_operation - * An extension feed item mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\FeedItemOperation $feed_item_operation - * A feed item mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\FeedItemSetOperation $feed_item_set_operation - * A feed item set mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkOperation $feed_item_set_link_operation - * A feed item set link mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\FeedItemTargetOperation $feed_item_target_operation - * A feed item target mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\FeedMappingOperation $feed_mapping_operation - * A feed mapping mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\FeedOperation $feed_operation - * A feed mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupOperation $keyword_plan_ad_group_operation - * A keyword plan ad group operation. - * @type \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordOperation $keyword_plan_ad_group_keyword_operation - * A keyword plan ad group keyword operation. - * @type \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordOperation $keyword_plan_campaign_keyword_operation - * A keyword plan campaign keyword operation. - * @type \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignOperation $keyword_plan_campaign_operation - * A keyword plan campaign operation. - * @type \Google\Ads\GoogleAds\V15\Services\KeywordPlanOperation $keyword_plan_operation - * A keyword plan operation. - * @type \Google\Ads\GoogleAds\V15\Services\LabelOperation $label_operation - * A label mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionOperation $recommendation_subscription_operation - * A recommendation subscription mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\RemarketingActionOperation $remarketing_action_operation - * A remarketing action mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\SharedCriterionOperation $shared_criterion_operation - * A shared criterion mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\SharedSetOperation $shared_set_operation - * A shared set mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingOperation $smart_campaign_setting_operation - * A Smart campaign setting mutate operation. - * @type \Google\Ads\GoogleAds\V15\Services\UserListOperation $user_list_operation - * A user list mutate operation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * An ad group ad label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupAdLabelOperation ad_group_ad_label_operation = 17; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelOperation|null - */ - public function getAdGroupAdLabelOperation() - { - return $this->readOneof(17); - } - - public function hasAdGroupAdLabelOperation() - { - return $this->hasOneof(17); - } - - /** - * An ad group ad label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupAdLabelOperation ad_group_ad_label_operation = 17; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelOperation $var - * @return $this - */ - public function setAdGroupAdLabelOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupAdLabelOperation::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * An ad group ad mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupAdOperation ad_group_ad_operation = 1; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupAdOperation|null - */ - public function getAdGroupAdOperation() - { - return $this->readOneof(1); - } - - public function hasAdGroupAdOperation() - { - return $this->hasOneof(1); - } - - /** - * An ad group ad mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupAdOperation ad_group_ad_operation = 1; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupAdOperation $var - * @return $this - */ - public function setAdGroupAdOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupAdOperation::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * An ad group asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupAssetOperation ad_group_asset_operation = 56; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupAssetOperation|null - */ - public function getAdGroupAssetOperation() - { - return $this->readOneof(56); - } - - public function hasAdGroupAssetOperation() - { - return $this->hasOneof(56); - } - - /** - * An ad group asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupAssetOperation ad_group_asset_operation = 56; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupAssetOperation $var - * @return $this - */ - public function setAdGroupAssetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupAssetOperation::class); - $this->writeOneof(56, $var); - - return $this; - } - - /** - * An ad group bid modifier mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupBidModifierOperation ad_group_bid_modifier_operation = 2; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierOperation|null - */ - public function getAdGroupBidModifierOperation() - { - return $this->readOneof(2); - } - - public function hasAdGroupBidModifierOperation() - { - return $this->hasOneof(2); - } - - /** - * An ad group bid modifier mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupBidModifierOperation ad_group_bid_modifier_operation = 2; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierOperation $var - * @return $this - */ - public function setAdGroupBidModifierOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupBidModifierOperation::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * An ad group criterion customizer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupCriterionCustomizerOperation ad_group_criterion_customizer_operation = 77; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerOperation|null - */ - public function getAdGroupCriterionCustomizerOperation() - { - return $this->readOneof(77); - } - - public function hasAdGroupCriterionCustomizerOperation() - { - return $this->hasOneof(77); - } - - /** - * An ad group criterion customizer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupCriterionCustomizerOperation ad_group_criterion_customizer_operation = 77; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerOperation $var - * @return $this - */ - public function setAdGroupCriterionCustomizerOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionCustomizerOperation::class); - $this->writeOneof(77, $var); - - return $this; - } - - /** - * An ad group criterion label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupCriterionLabelOperation ad_group_criterion_label_operation = 18; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelOperation|null - */ - public function getAdGroupCriterionLabelOperation() - { - return $this->readOneof(18); - } - - public function hasAdGroupCriterionLabelOperation() - { - return $this->hasOneof(18); - } - - /** - * An ad group criterion label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupCriterionLabelOperation ad_group_criterion_label_operation = 18; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelOperation $var - * @return $this - */ - public function setAdGroupCriterionLabelOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionLabelOperation::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * An ad group criterion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupCriterionOperation ad_group_criterion_operation = 3; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionOperation|null - */ - public function getAdGroupCriterionOperation() - { - return $this->readOneof(3); - } - - public function hasAdGroupCriterionOperation() - { - return $this->hasOneof(3); - } - - /** - * An ad group criterion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupCriterionOperation ad_group_criterion_operation = 3; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionOperation $var - * @return $this - */ - public function setAdGroupCriterionOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupCriterionOperation::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * An ad group customizer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupCustomizerOperation ad_group_customizer_operation = 75; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerOperation|null - */ - public function getAdGroupCustomizerOperation() - { - return $this->readOneof(75); - } - - public function hasAdGroupCustomizerOperation() - { - return $this->hasOneof(75); - } - - /** - * An ad group customizer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupCustomizerOperation ad_group_customizer_operation = 75; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerOperation $var - * @return $this - */ - public function setAdGroupCustomizerOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupCustomizerOperation::class); - $this->writeOneof(75, $var); - - return $this; - } - - /** - * An ad group extension setting mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupExtensionSettingOperation ad_group_extension_setting_operation = 19; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingOperation|null - */ - public function getAdGroupExtensionSettingOperation() - { - return $this->readOneof(19); - } - - public function hasAdGroupExtensionSettingOperation() - { - return $this->hasOneof(19); - } - - /** - * An ad group extension setting mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupExtensionSettingOperation ad_group_extension_setting_operation = 19; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingOperation $var - * @return $this - */ - public function setAdGroupExtensionSettingOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupExtensionSettingOperation::class); - $this->writeOneof(19, $var); - - return $this; - } - - /** - * An ad group feed mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupFeedOperation ad_group_feed_operation = 20; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupFeedOperation|null - */ - public function getAdGroupFeedOperation() - { - return $this->readOneof(20); - } - - public function hasAdGroupFeedOperation() - { - return $this->hasOneof(20); - } - - /** - * An ad group feed mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupFeedOperation ad_group_feed_operation = 20; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupFeedOperation $var - * @return $this - */ - public function setAdGroupFeedOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupFeedOperation::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * An ad group label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupLabelOperation ad_group_label_operation = 21; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupLabelOperation|null - */ - public function getAdGroupLabelOperation() - { - return $this->readOneof(21); - } - - public function hasAdGroupLabelOperation() - { - return $this->hasOneof(21); - } - - /** - * An ad group label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupLabelOperation ad_group_label_operation = 21; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupLabelOperation $var - * @return $this - */ - public function setAdGroupLabelOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupLabelOperation::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * An ad group mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupOperation ad_group_operation = 5; - * @return \Google\Ads\GoogleAds\V15\Services\AdGroupOperation|null - */ - public function getAdGroupOperation() - { - return $this->readOneof(5); - } - - public function hasAdGroupOperation() - { - return $this->hasOneof(5); - } - - /** - * An ad group mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdGroupOperation ad_group_operation = 5; - * @param \Google\Ads\GoogleAds\V15\Services\AdGroupOperation $var - * @return $this - */ - public function setAdGroupOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdGroupOperation::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * An ad mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdOperation ad_operation = 49; - * @return \Google\Ads\GoogleAds\V15\Services\AdOperation|null - */ - public function getAdOperation() - { - return $this->readOneof(49); - } - - public function hasAdOperation() - { - return $this->hasOneof(49); - } - - /** - * An ad mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdOperation ad_operation = 49; - * @param \Google\Ads\GoogleAds\V15\Services\AdOperation $var - * @return $this - */ - public function setAdOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdOperation::class); - $this->writeOneof(49, $var); - - return $this; - } - - /** - * An ad parameter mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdParameterOperation ad_parameter_operation = 22; - * @return \Google\Ads\GoogleAds\V15\Services\AdParameterOperation|null - */ - public function getAdParameterOperation() - { - return $this->readOneof(22); - } - - public function hasAdParameterOperation() - { - return $this->hasOneof(22); - } - - /** - * An ad parameter mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdParameterOperation ad_parameter_operation = 22; - * @param \Google\Ads\GoogleAds\V15\Services\AdParameterOperation $var - * @return $this - */ - public function setAdParameterOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdParameterOperation::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * An asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetOperation asset_operation = 23; - * @return \Google\Ads\GoogleAds\V15\Services\AssetOperation|null - */ - public function getAssetOperation() - { - return $this->readOneof(23); - } - - public function hasAssetOperation() - { - return $this->hasOneof(23); - } - - /** - * An asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetOperation asset_operation = 23; - * @param \Google\Ads\GoogleAds\V15\Services\AssetOperation $var - * @return $this - */ - public function setAssetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AssetOperation::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * An asset group asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetGroupAssetOperation asset_group_asset_operation = 65; - * @return \Google\Ads\GoogleAds\V15\Services\AssetGroupAssetOperation|null - */ - public function getAssetGroupAssetOperation() - { - return $this->readOneof(65); - } - - public function hasAssetGroupAssetOperation() - { - return $this->hasOneof(65); - } - - /** - * An asset group asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetGroupAssetOperation asset_group_asset_operation = 65; - * @param \Google\Ads\GoogleAds\V15\Services\AssetGroupAssetOperation $var - * @return $this - */ - public function setAssetGroupAssetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AssetGroupAssetOperation::class); - $this->writeOneof(65, $var); - - return $this; - } - - /** - * An asset group listing group filter mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetGroupListingGroupFilterOperation asset_group_listing_group_filter_operation = 78; - * @return \Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterOperation|null - */ - public function getAssetGroupListingGroupFilterOperation() - { - return $this->readOneof(78); - } - - public function hasAssetGroupListingGroupFilterOperation() - { - return $this->hasOneof(78); - } - - /** - * An asset group listing group filter mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetGroupListingGroupFilterOperation asset_group_listing_group_filter_operation = 78; - * @param \Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterOperation $var - * @return $this - */ - public function setAssetGroupListingGroupFilterOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AssetGroupListingGroupFilterOperation::class); - $this->writeOneof(78, $var); - - return $this; - } - - /** - * An asset group signal mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetGroupSignalOperation asset_group_signal_operation = 80; - * @return \Google\Ads\GoogleAds\V15\Services\AssetGroupSignalOperation|null - */ - public function getAssetGroupSignalOperation() - { - return $this->readOneof(80); - } - - public function hasAssetGroupSignalOperation() - { - return $this->hasOneof(80); - } - - /** - * An asset group signal mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetGroupSignalOperation asset_group_signal_operation = 80; - * @param \Google\Ads\GoogleAds\V15\Services\AssetGroupSignalOperation $var - * @return $this - */ - public function setAssetGroupSignalOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AssetGroupSignalOperation::class); - $this->writeOneof(80, $var); - - return $this; - } - - /** - * An asset group mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetGroupOperation asset_group_operation = 62; - * @return \Google\Ads\GoogleAds\V15\Services\AssetGroupOperation|null - */ - public function getAssetGroupOperation() - { - return $this->readOneof(62); - } - - public function hasAssetGroupOperation() - { - return $this->hasOneof(62); - } - - /** - * An asset group mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetGroupOperation asset_group_operation = 62; - * @param \Google\Ads\GoogleAds\V15\Services\AssetGroupOperation $var - * @return $this - */ - public function setAssetGroupOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AssetGroupOperation::class); - $this->writeOneof(62, $var); - - return $this; - } - - /** - * An asset set asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetSetAssetOperation asset_set_asset_operation = 71; - * @return \Google\Ads\GoogleAds\V15\Services\AssetSetAssetOperation|null - */ - public function getAssetSetAssetOperation() - { - return $this->readOneof(71); - } - - public function hasAssetSetAssetOperation() - { - return $this->hasOneof(71); - } - - /** - * An asset set asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetSetAssetOperation asset_set_asset_operation = 71; - * @param \Google\Ads\GoogleAds\V15\Services\AssetSetAssetOperation $var - * @return $this - */ - public function setAssetSetAssetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AssetSetAssetOperation::class); - $this->writeOneof(71, $var); - - return $this; - } - - /** - * An asset set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetSetOperation asset_set_operation = 72; - * @return \Google\Ads\GoogleAds\V15\Services\AssetSetOperation|null - */ - public function getAssetSetOperation() - { - return $this->readOneof(72); - } - - public function hasAssetSetOperation() - { - return $this->hasOneof(72); - } - - /** - * An asset set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AssetSetOperation asset_set_operation = 72; - * @param \Google\Ads\GoogleAds\V15\Services\AssetSetOperation $var - * @return $this - */ - public function setAssetSetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AssetSetOperation::class); - $this->writeOneof(72, $var); - - return $this; - } - - /** - * An audience mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceOperation audience_operation = 81; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceOperation|null - */ - public function getAudienceOperation() - { - return $this->readOneof(81); - } - - public function hasAudienceOperation() - { - return $this->hasOneof(81); - } - - /** - * An audience mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceOperation audience_operation = 81; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceOperation $var - * @return $this - */ - public function setAudienceOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceOperation::class); - $this->writeOneof(81, $var); - - return $this; - } - - /** - * A bidding data exclusion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BiddingDataExclusionOperation bidding_data_exclusion_operation = 58; - * @return \Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionOperation|null - */ - public function getBiddingDataExclusionOperation() - { - return $this->readOneof(58); - } - - public function hasBiddingDataExclusionOperation() - { - return $this->hasOneof(58); - } - - /** - * A bidding data exclusion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BiddingDataExclusionOperation bidding_data_exclusion_operation = 58; - * @param \Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionOperation $var - * @return $this - */ - public function setBiddingDataExclusionOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\BiddingDataExclusionOperation::class); - $this->writeOneof(58, $var); - - return $this; - } - - /** - * A bidding seasonality adjustment mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentOperation bidding_seasonality_adjustment_operation = 59; - * @return \Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentOperation|null - */ - public function getBiddingSeasonalityAdjustmentOperation() - { - return $this->readOneof(59); - } - - public function hasBiddingSeasonalityAdjustmentOperation() - { - return $this->hasOneof(59); - } - - /** - * A bidding seasonality adjustment mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentOperation bidding_seasonality_adjustment_operation = 59; - * @param \Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentOperation $var - * @return $this - */ - public function setBiddingSeasonalityAdjustmentOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\BiddingSeasonalityAdjustmentOperation::class); - $this->writeOneof(59, $var); - - return $this; - } - - /** - * A bidding strategy mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BiddingStrategyOperation bidding_strategy_operation = 6; - * @return \Google\Ads\GoogleAds\V15\Services\BiddingStrategyOperation|null - */ - public function getBiddingStrategyOperation() - { - return $this->readOneof(6); - } - - public function hasBiddingStrategyOperation() - { - return $this->hasOneof(6); - } - - /** - * A bidding strategy mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.BiddingStrategyOperation bidding_strategy_operation = 6; - * @param \Google\Ads\GoogleAds\V15\Services\BiddingStrategyOperation $var - * @return $this - */ - public function setBiddingStrategyOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\BiddingStrategyOperation::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * A campaign asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignAssetOperation campaign_asset_operation = 52; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignAssetOperation|null - */ - public function getCampaignAssetOperation() - { - return $this->readOneof(52); - } - - public function hasCampaignAssetOperation() - { - return $this->hasOneof(52); - } - - /** - * A campaign asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignAssetOperation campaign_asset_operation = 52; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignAssetOperation $var - * @return $this - */ - public function setCampaignAssetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignAssetOperation::class); - $this->writeOneof(52, $var); - - return $this; - } - - /** - * A campaign asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignAssetSetOperation campaign_asset_set_operation = 73; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignAssetSetOperation|null - */ - public function getCampaignAssetSetOperation() - { - return $this->readOneof(73); - } - - public function hasCampaignAssetSetOperation() - { - return $this->hasOneof(73); - } - - /** - * A campaign asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignAssetSetOperation campaign_asset_set_operation = 73; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignAssetSetOperation $var - * @return $this - */ - public function setCampaignAssetSetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignAssetSetOperation::class); - $this->writeOneof(73, $var); - - return $this; - } - - /** - * A campaign bid modifier mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignBidModifierOperation campaign_bid_modifier_operation = 7; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignBidModifierOperation|null - */ - public function getCampaignBidModifierOperation() - { - return $this->readOneof(7); - } - - public function hasCampaignBidModifierOperation() - { - return $this->hasOneof(7); - } - - /** - * A campaign bid modifier mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignBidModifierOperation campaign_bid_modifier_operation = 7; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignBidModifierOperation $var - * @return $this - */ - public function setCampaignBidModifierOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignBidModifierOperation::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * A campaign budget mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignBudgetOperation campaign_budget_operation = 8; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignBudgetOperation|null - */ - public function getCampaignBudgetOperation() - { - return $this->readOneof(8); - } - - public function hasCampaignBudgetOperation() - { - return $this->hasOneof(8); - } - - /** - * A campaign budget mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignBudgetOperation campaign_budget_operation = 8; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignBudgetOperation $var - * @return $this - */ - public function setCampaignBudgetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignBudgetOperation::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * A campaign conversion goal mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignConversionGoalOperation campaign_conversion_goal_operation = 67; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalOperation|null - */ - public function getCampaignConversionGoalOperation() - { - return $this->readOneof(67); - } - - public function hasCampaignConversionGoalOperation() - { - return $this->hasOneof(67); - } - - /** - * A campaign conversion goal mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignConversionGoalOperation campaign_conversion_goal_operation = 67; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalOperation $var - * @return $this - */ - public function setCampaignConversionGoalOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignConversionGoalOperation::class); - $this->writeOneof(67, $var); - - return $this; - } - - /** - * A campaign criterion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignCriterionOperation campaign_criterion_operation = 13; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignCriterionOperation|null - */ - public function getCampaignCriterionOperation() - { - return $this->readOneof(13); - } - - public function hasCampaignCriterionOperation() - { - return $this->hasOneof(13); - } - - /** - * A campaign criterion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignCriterionOperation campaign_criterion_operation = 13; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignCriterionOperation $var - * @return $this - */ - public function setCampaignCriterionOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignCriterionOperation::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * A campaign customizer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignCustomizerOperation campaign_customizer_operation = 76; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignCustomizerOperation|null - */ - public function getCampaignCustomizerOperation() - { - return $this->readOneof(76); - } - - public function hasCampaignCustomizerOperation() - { - return $this->hasOneof(76); - } - - /** - * A campaign customizer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignCustomizerOperation campaign_customizer_operation = 76; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignCustomizerOperation $var - * @return $this - */ - public function setCampaignCustomizerOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignCustomizerOperation::class); - $this->writeOneof(76, $var); - - return $this; - } - - /** - * A campaign draft mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignDraftOperation campaign_draft_operation = 24; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignDraftOperation|null - */ - public function getCampaignDraftOperation() - { - return $this->readOneof(24); - } - - public function hasCampaignDraftOperation() - { - return $this->hasOneof(24); - } - - /** - * A campaign draft mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignDraftOperation campaign_draft_operation = 24; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignDraftOperation $var - * @return $this - */ - public function setCampaignDraftOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignDraftOperation::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * A campaign extension setting mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignExtensionSettingOperation campaign_extension_setting_operation = 26; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingOperation|null - */ - public function getCampaignExtensionSettingOperation() - { - return $this->readOneof(26); - } - - public function hasCampaignExtensionSettingOperation() - { - return $this->hasOneof(26); - } - - /** - * A campaign extension setting mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignExtensionSettingOperation campaign_extension_setting_operation = 26; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingOperation $var - * @return $this - */ - public function setCampaignExtensionSettingOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignExtensionSettingOperation::class); - $this->writeOneof(26, $var); - - return $this; - } - - /** - * A campaign feed mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignFeedOperation campaign_feed_operation = 27; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignFeedOperation|null - */ - public function getCampaignFeedOperation() - { - return $this->readOneof(27); - } - - public function hasCampaignFeedOperation() - { - return $this->hasOneof(27); - } - - /** - * A campaign feed mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignFeedOperation campaign_feed_operation = 27; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignFeedOperation $var - * @return $this - */ - public function setCampaignFeedOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignFeedOperation::class); - $this->writeOneof(27, $var); - - return $this; - } - - /** - * A campaign group mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignGroupOperation campaign_group_operation = 9; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignGroupOperation|null - */ - public function getCampaignGroupOperation() - { - return $this->readOneof(9); - } - - public function hasCampaignGroupOperation() - { - return $this->hasOneof(9); - } - - /** - * A campaign group mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignGroupOperation campaign_group_operation = 9; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignGroupOperation $var - * @return $this - */ - public function setCampaignGroupOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignGroupOperation::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * A campaign label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignLabelOperation campaign_label_operation = 28; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignLabelOperation|null - */ - public function getCampaignLabelOperation() - { - return $this->readOneof(28); - } - - public function hasCampaignLabelOperation() - { - return $this->hasOneof(28); - } - - /** - * A campaign label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignLabelOperation campaign_label_operation = 28; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignLabelOperation $var - * @return $this - */ - public function setCampaignLabelOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignLabelOperation::class); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * A campaign mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignOperation campaign_operation = 10; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignOperation|null - */ - public function getCampaignOperation() - { - return $this->readOneof(10); - } - - public function hasCampaignOperation() - { - return $this->hasOneof(10); - } - - /** - * A campaign mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignOperation campaign_operation = 10; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignOperation $var - * @return $this - */ - public function setCampaignOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignOperation::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * A campaign shared set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignSharedSetOperation campaign_shared_set_operation = 11; - * @return \Google\Ads\GoogleAds\V15\Services\CampaignSharedSetOperation|null - */ - public function getCampaignSharedSetOperation() - { - return $this->readOneof(11); - } - - public function hasCampaignSharedSetOperation() - { - return $this->hasOneof(11); - } - - /** - * A campaign shared set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CampaignSharedSetOperation campaign_shared_set_operation = 11; - * @param \Google\Ads\GoogleAds\V15\Services\CampaignSharedSetOperation $var - * @return $this - */ - public function setCampaignSharedSetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CampaignSharedSetOperation::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * A conversion action mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionActionOperation conversion_action_operation = 12; - * @return \Google\Ads\GoogleAds\V15\Services\ConversionActionOperation|null - */ - public function getConversionActionOperation() - { - return $this->readOneof(12); - } - - public function hasConversionActionOperation() - { - return $this->hasOneof(12); - } - - /** - * A conversion action mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionActionOperation conversion_action_operation = 12; - * @param \Google\Ads\GoogleAds\V15\Services\ConversionActionOperation $var - * @return $this - */ - public function setConversionActionOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ConversionActionOperation::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * A conversion custom variable mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionCustomVariableOperation conversion_custom_variable_operation = 55; - * @return \Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableOperation|null - */ - public function getConversionCustomVariableOperation() - { - return $this->readOneof(55); - } - - public function hasConversionCustomVariableOperation() - { - return $this->hasOneof(55); - } - - /** - * A conversion custom variable mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionCustomVariableOperation conversion_custom_variable_operation = 55; - * @param \Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableOperation $var - * @return $this - */ - public function setConversionCustomVariableOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ConversionCustomVariableOperation::class); - $this->writeOneof(55, $var); - - return $this; - } - - /** - * A conversion goal campaign config mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionGoalCampaignConfigOperation conversion_goal_campaign_config_operation = 69; - * @return \Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigOperation|null - */ - public function getConversionGoalCampaignConfigOperation() - { - return $this->readOneof(69); - } - - public function hasConversionGoalCampaignConfigOperation() - { - return $this->hasOneof(69); - } - - /** - * A conversion goal campaign config mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionGoalCampaignConfigOperation conversion_goal_campaign_config_operation = 69; - * @param \Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigOperation $var - * @return $this - */ - public function setConversionGoalCampaignConfigOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ConversionGoalCampaignConfigOperation::class); - $this->writeOneof(69, $var); - - return $this; - } - - /** - * A conversion value rule mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionValueRuleOperation conversion_value_rule_operation = 63; - * @return \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleOperation|null - */ - public function getConversionValueRuleOperation() - { - return $this->readOneof(63); - } - - public function hasConversionValueRuleOperation() - { - return $this->hasOneof(63); - } - - /** - * A conversion value rule mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionValueRuleOperation conversion_value_rule_operation = 63; - * @param \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleOperation $var - * @return $this - */ - public function setConversionValueRuleOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleOperation::class); - $this->writeOneof(63, $var); - - return $this; - } - - /** - * A conversion value rule set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionValueRuleSetOperation conversion_value_rule_set_operation = 64; - * @return \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetOperation|null - */ - public function getConversionValueRuleSetOperation() - { - return $this->readOneof(64); - } - - public function hasConversionValueRuleSetOperation() - { - return $this->hasOneof(64); - } - - /** - * A conversion value rule set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ConversionValueRuleSetOperation conversion_value_rule_set_operation = 64; - * @param \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetOperation $var - * @return $this - */ - public function setConversionValueRuleSetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ConversionValueRuleSetOperation::class); - $this->writeOneof(64, $var); - - return $this; - } - - /** - * A custom conversion goal mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomConversionGoalOperation custom_conversion_goal_operation = 68; - * @return \Google\Ads\GoogleAds\V15\Services\CustomConversionGoalOperation|null - */ - public function getCustomConversionGoalOperation() - { - return $this->readOneof(68); - } - - public function hasCustomConversionGoalOperation() - { - return $this->hasOneof(68); - } - - /** - * A custom conversion goal mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomConversionGoalOperation custom_conversion_goal_operation = 68; - * @param \Google\Ads\GoogleAds\V15\Services\CustomConversionGoalOperation $var - * @return $this - */ - public function setCustomConversionGoalOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomConversionGoalOperation::class); - $this->writeOneof(68, $var); - - return $this; - } - - /** - * A customer asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerAssetOperation customer_asset_operation = 57; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerAssetOperation|null - */ - public function getCustomerAssetOperation() - { - return $this->readOneof(57); - } - - public function hasCustomerAssetOperation() - { - return $this->hasOneof(57); - } - - /** - * A customer asset mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerAssetOperation customer_asset_operation = 57; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerAssetOperation $var - * @return $this - */ - public function setCustomerAssetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerAssetOperation::class); - $this->writeOneof(57, $var); - - return $this; - } - - /** - * A customer conversion goal mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerConversionGoalOperation customer_conversion_goal_operation = 66; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalOperation|null - */ - public function getCustomerConversionGoalOperation() - { - return $this->readOneof(66); - } - - public function hasCustomerConversionGoalOperation() - { - return $this->hasOneof(66); - } - - /** - * A customer conversion goal mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerConversionGoalOperation customer_conversion_goal_operation = 66; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalOperation $var - * @return $this - */ - public function setCustomerConversionGoalOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerConversionGoalOperation::class); - $this->writeOneof(66, $var); - - return $this; - } - - /** - * A customer customizer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerCustomizerOperation customer_customizer_operation = 79; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerCustomizerOperation|null - */ - public function getCustomerCustomizerOperation() - { - return $this->readOneof(79); - } - - public function hasCustomerCustomizerOperation() - { - return $this->hasOneof(79); - } - - /** - * A customer customizer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerCustomizerOperation customer_customizer_operation = 79; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerCustomizerOperation $var - * @return $this - */ - public function setCustomerCustomizerOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerCustomizerOperation::class); - $this->writeOneof(79, $var); - - return $this; - } - - /** - * A customer extension setting mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerExtensionSettingOperation customer_extension_setting_operation = 30; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingOperation|null - */ - public function getCustomerExtensionSettingOperation() - { - return $this->readOneof(30); - } - - public function hasCustomerExtensionSettingOperation() - { - return $this->hasOneof(30); - } - - /** - * A customer extension setting mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerExtensionSettingOperation customer_extension_setting_operation = 30; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingOperation $var - * @return $this - */ - public function setCustomerExtensionSettingOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerExtensionSettingOperation::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * A customer feed mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerFeedOperation customer_feed_operation = 31; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerFeedOperation|null - */ - public function getCustomerFeedOperation() - { - return $this->readOneof(31); - } - - public function hasCustomerFeedOperation() - { - return $this->hasOneof(31); - } - - /** - * A customer feed mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerFeedOperation customer_feed_operation = 31; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerFeedOperation $var - * @return $this - */ - public function setCustomerFeedOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerFeedOperation::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * A customer label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerLabelOperation customer_label_operation = 32; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerLabelOperation|null - */ - public function getCustomerLabelOperation() - { - return $this->readOneof(32); - } - - public function hasCustomerLabelOperation() - { - return $this->hasOneof(32); - } - - /** - * A customer label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerLabelOperation customer_label_operation = 32; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerLabelOperation $var - * @return $this - */ - public function setCustomerLabelOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerLabelOperation::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * A customer negative criterion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerNegativeCriterionOperation customer_negative_criterion_operation = 34; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionOperation|null - */ - public function getCustomerNegativeCriterionOperation() - { - return $this->readOneof(34); - } - - public function hasCustomerNegativeCriterionOperation() - { - return $this->hasOneof(34); - } - - /** - * A customer negative criterion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerNegativeCriterionOperation customer_negative_criterion_operation = 34; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionOperation $var - * @return $this - */ - public function setCustomerNegativeCriterionOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerNegativeCriterionOperation::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * A customer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerOperation customer_operation = 35; - * @return \Google\Ads\GoogleAds\V15\Services\CustomerOperation|null - */ - public function getCustomerOperation() - { - return $this->readOneof(35); - } - - public function hasCustomerOperation() - { - return $this->hasOneof(35); - } - - /** - * A customer mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomerOperation customer_operation = 35; - * @param \Google\Ads\GoogleAds\V15\Services\CustomerOperation $var - * @return $this - */ - public function setCustomerOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomerOperation::class); - $this->writeOneof(35, $var); - - return $this; - } - - /** - * A customizer attribute mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomizerAttributeOperation customizer_attribute_operation = 70; - * @return \Google\Ads\GoogleAds\V15\Services\CustomizerAttributeOperation|null - */ - public function getCustomizerAttributeOperation() - { - return $this->readOneof(70); - } - - public function hasCustomizerAttributeOperation() - { - return $this->hasOneof(70); - } - - /** - * A customizer attribute mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.CustomizerAttributeOperation customizer_attribute_operation = 70; - * @param \Google\Ads\GoogleAds\V15\Services\CustomizerAttributeOperation $var - * @return $this - */ - public function setCustomizerAttributeOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\CustomizerAttributeOperation::class); - $this->writeOneof(70, $var); - - return $this; - } - - /** - * An experiment mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExperimentOperation experiment_operation = 82; - * @return \Google\Ads\GoogleAds\V15\Services\ExperimentOperation|null - */ - public function getExperimentOperation() - { - return $this->readOneof(82); - } - - public function hasExperimentOperation() - { - return $this->hasOneof(82); - } - - /** - * An experiment mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExperimentOperation experiment_operation = 82; - * @param \Google\Ads\GoogleAds\V15\Services\ExperimentOperation $var - * @return $this - */ - public function setExperimentOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ExperimentOperation::class); - $this->writeOneof(82, $var); - - return $this; - } - - /** - * An experiment arm mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExperimentArmOperation experiment_arm_operation = 83; - * @return \Google\Ads\GoogleAds\V15\Services\ExperimentArmOperation|null - */ - public function getExperimentArmOperation() - { - return $this->readOneof(83); - } - - public function hasExperimentArmOperation() - { - return $this->hasOneof(83); - } - - /** - * An experiment arm mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExperimentArmOperation experiment_arm_operation = 83; - * @param \Google\Ads\GoogleAds\V15\Services\ExperimentArmOperation $var - * @return $this - */ - public function setExperimentArmOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ExperimentArmOperation::class); - $this->writeOneof(83, $var); - - return $this; - } - - /** - * An extension feed item mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExtensionFeedItemOperation extension_feed_item_operation = 36; - * @return \Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemOperation|null - */ - public function getExtensionFeedItemOperation() - { - return $this->readOneof(36); - } - - public function hasExtensionFeedItemOperation() - { - return $this->hasOneof(36); - } - - /** - * An extension feed item mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.ExtensionFeedItemOperation extension_feed_item_operation = 36; - * @param \Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemOperation $var - * @return $this - */ - public function setExtensionFeedItemOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\ExtensionFeedItemOperation::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * A feed item mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedItemOperation feed_item_operation = 37; - * @return \Google\Ads\GoogleAds\V15\Services\FeedItemOperation|null - */ - public function getFeedItemOperation() - { - return $this->readOneof(37); - } - - public function hasFeedItemOperation() - { - return $this->hasOneof(37); - } - - /** - * A feed item mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedItemOperation feed_item_operation = 37; - * @param \Google\Ads\GoogleAds\V15\Services\FeedItemOperation $var - * @return $this - */ - public function setFeedItemOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\FeedItemOperation::class); - $this->writeOneof(37, $var); - - return $this; - } - - /** - * A feed item set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedItemSetOperation feed_item_set_operation = 53; - * @return \Google\Ads\GoogleAds\V15\Services\FeedItemSetOperation|null - */ - public function getFeedItemSetOperation() - { - return $this->readOneof(53); - } - - public function hasFeedItemSetOperation() - { - return $this->hasOneof(53); - } - - /** - * A feed item set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedItemSetOperation feed_item_set_operation = 53; - * @param \Google\Ads\GoogleAds\V15\Services\FeedItemSetOperation $var - * @return $this - */ - public function setFeedItemSetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\FeedItemSetOperation::class); - $this->writeOneof(53, $var); - - return $this; - } - - /** - * A feed item set link mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedItemSetLinkOperation feed_item_set_link_operation = 54; - * @return \Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkOperation|null - */ - public function getFeedItemSetLinkOperation() - { - return $this->readOneof(54); - } - - public function hasFeedItemSetLinkOperation() - { - return $this->hasOneof(54); - } - - /** - * A feed item set link mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedItemSetLinkOperation feed_item_set_link_operation = 54; - * @param \Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkOperation $var - * @return $this - */ - public function setFeedItemSetLinkOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\FeedItemSetLinkOperation::class); - $this->writeOneof(54, $var); - - return $this; - } - - /** - * A feed item target mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedItemTargetOperation feed_item_target_operation = 38; - * @return \Google\Ads\GoogleAds\V15\Services\FeedItemTargetOperation|null - */ - public function getFeedItemTargetOperation() - { - return $this->readOneof(38); - } - - public function hasFeedItemTargetOperation() - { - return $this->hasOneof(38); - } - - /** - * A feed item target mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedItemTargetOperation feed_item_target_operation = 38; - * @param \Google\Ads\GoogleAds\V15\Services\FeedItemTargetOperation $var - * @return $this - */ - public function setFeedItemTargetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\FeedItemTargetOperation::class); - $this->writeOneof(38, $var); - - return $this; - } - - /** - * A feed mapping mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedMappingOperation feed_mapping_operation = 39; - * @return \Google\Ads\GoogleAds\V15\Services\FeedMappingOperation|null - */ - public function getFeedMappingOperation() - { - return $this->readOneof(39); - } - - public function hasFeedMappingOperation() - { - return $this->hasOneof(39); - } - - /** - * A feed mapping mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedMappingOperation feed_mapping_operation = 39; - * @param \Google\Ads\GoogleAds\V15\Services\FeedMappingOperation $var - * @return $this - */ - public function setFeedMappingOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\FeedMappingOperation::class); - $this->writeOneof(39, $var); - - return $this; - } - - /** - * A feed mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedOperation feed_operation = 40; - * @return \Google\Ads\GoogleAds\V15\Services\FeedOperation|null - */ - public function getFeedOperation() - { - return $this->readOneof(40); - } - - public function hasFeedOperation() - { - return $this->hasOneof(40); - } - - /** - * A feed mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.FeedOperation feed_operation = 40; - * @param \Google\Ads\GoogleAds\V15\Services\FeedOperation $var - * @return $this - */ - public function setFeedOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\FeedOperation::class); - $this->writeOneof(40, $var); - - return $this; - } - - /** - * A keyword plan ad group operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanAdGroupOperation keyword_plan_ad_group_operation = 44; - * @return \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupOperation|null - */ - public function getKeywordPlanAdGroupOperation() - { - return $this->readOneof(44); - } - - public function hasKeywordPlanAdGroupOperation() - { - return $this->hasOneof(44); - } - - /** - * A keyword plan ad group operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanAdGroupOperation keyword_plan_ad_group_operation = 44; - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupOperation $var - * @return $this - */ - public function setKeywordPlanAdGroupOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupOperation::class); - $this->writeOneof(44, $var); - - return $this; - } - - /** - * A keyword plan ad group keyword operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordOperation keyword_plan_ad_group_keyword_operation = 50; - * @return \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordOperation|null - */ - public function getKeywordPlanAdGroupKeywordOperation() - { - return $this->readOneof(50); - } - - public function hasKeywordPlanAdGroupKeywordOperation() - { - return $this->hasOneof(50); - } - - /** - * A keyword plan ad group keyword operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordOperation keyword_plan_ad_group_keyword_operation = 50; - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordOperation $var - * @return $this - */ - public function setKeywordPlanAdGroupKeywordOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\KeywordPlanAdGroupKeywordOperation::class); - $this->writeOneof(50, $var); - - return $this; - } - - /** - * A keyword plan campaign keyword operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanCampaignKeywordOperation keyword_plan_campaign_keyword_operation = 51; - * @return \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordOperation|null - */ - public function getKeywordPlanCampaignKeywordOperation() - { - return $this->readOneof(51); - } - - public function hasKeywordPlanCampaignKeywordOperation() - { - return $this->hasOneof(51); - } - - /** - * A keyword plan campaign keyword operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanCampaignKeywordOperation keyword_plan_campaign_keyword_operation = 51; - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordOperation $var - * @return $this - */ - public function setKeywordPlanCampaignKeywordOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignKeywordOperation::class); - $this->writeOneof(51, $var); - - return $this; - } - - /** - * A keyword plan campaign operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanCampaignOperation keyword_plan_campaign_operation = 45; - * @return \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignOperation|null - */ - public function getKeywordPlanCampaignOperation() - { - return $this->readOneof(45); - } - - public function hasKeywordPlanCampaignOperation() - { - return $this->hasOneof(45); - } - - /** - * A keyword plan campaign operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanCampaignOperation keyword_plan_campaign_operation = 45; - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignOperation $var - * @return $this - */ - public function setKeywordPlanCampaignOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\KeywordPlanCampaignOperation::class); - $this->writeOneof(45, $var); - - return $this; - } - - /** - * A keyword plan operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanOperation keyword_plan_operation = 48; - * @return \Google\Ads\GoogleAds\V15\Services\KeywordPlanOperation|null - */ - public function getKeywordPlanOperation() - { - return $this->readOneof(48); - } - - public function hasKeywordPlanOperation() - { - return $this->hasOneof(48); - } - - /** - * A keyword plan operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.KeywordPlanOperation keyword_plan_operation = 48; - * @param \Google\Ads\GoogleAds\V15\Services\KeywordPlanOperation $var - * @return $this - */ - public function setKeywordPlanOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\KeywordPlanOperation::class); - $this->writeOneof(48, $var); - - return $this; - } - - /** - * A label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.LabelOperation label_operation = 41; - * @return \Google\Ads\GoogleAds\V15\Services\LabelOperation|null - */ - public function getLabelOperation() - { - return $this->readOneof(41); - } - - public function hasLabelOperation() - { - return $this->hasOneof(41); - } - - /** - * A label mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.LabelOperation label_operation = 41; - * @param \Google\Ads\GoogleAds\V15\Services\LabelOperation $var - * @return $this - */ - public function setLabelOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\LabelOperation::class); - $this->writeOneof(41, $var); - - return $this; - } - - /** - * A recommendation subscription mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.RecommendationSubscriptionOperation recommendation_subscription_operation = 86; - * @return \Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionOperation|null - */ - public function getRecommendationSubscriptionOperation() - { - return $this->readOneof(86); - } - - public function hasRecommendationSubscriptionOperation() - { - return $this->hasOneof(86); - } - - /** - * A recommendation subscription mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.RecommendationSubscriptionOperation recommendation_subscription_operation = 86; - * @param \Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionOperation $var - * @return $this - */ - public function setRecommendationSubscriptionOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionOperation::class); - $this->writeOneof(86, $var); - - return $this; - } - - /** - * A remarketing action mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.RemarketingActionOperation remarketing_action_operation = 43; - * @return \Google\Ads\GoogleAds\V15\Services\RemarketingActionOperation|null - */ - public function getRemarketingActionOperation() - { - return $this->readOneof(43); - } - - public function hasRemarketingActionOperation() - { - return $this->hasOneof(43); - } - - /** - * A remarketing action mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.RemarketingActionOperation remarketing_action_operation = 43; - * @param \Google\Ads\GoogleAds\V15\Services\RemarketingActionOperation $var - * @return $this - */ - public function setRemarketingActionOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\RemarketingActionOperation::class); - $this->writeOneof(43, $var); - - return $this; - } - - /** - * A shared criterion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SharedCriterionOperation shared_criterion_operation = 14; - * @return \Google\Ads\GoogleAds\V15\Services\SharedCriterionOperation|null - */ - public function getSharedCriterionOperation() - { - return $this->readOneof(14); - } - - public function hasSharedCriterionOperation() - { - return $this->hasOneof(14); - } - - /** - * A shared criterion mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SharedCriterionOperation shared_criterion_operation = 14; - * @param \Google\Ads\GoogleAds\V15\Services\SharedCriterionOperation $var - * @return $this - */ - public function setSharedCriterionOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SharedCriterionOperation::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * A shared set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SharedSetOperation shared_set_operation = 15; - * @return \Google\Ads\GoogleAds\V15\Services\SharedSetOperation|null - */ - public function getSharedSetOperation() - { - return $this->readOneof(15); - } - - public function hasSharedSetOperation() - { - return $this->hasOneof(15); - } - - /** - * A shared set mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SharedSetOperation shared_set_operation = 15; - * @param \Google\Ads\GoogleAds\V15\Services\SharedSetOperation $var - * @return $this - */ - public function setSharedSetOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SharedSetOperation::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * A Smart campaign setting mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSettingOperation smart_campaign_setting_operation = 61; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingOperation|null - */ - public function getSmartCampaignSettingOperation() - { - return $this->readOneof(61); - } - - public function hasSmartCampaignSettingOperation() - { - return $this->hasOneof(61); - } - - /** - * A Smart campaign setting mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSettingOperation smart_campaign_setting_operation = 61; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingOperation $var - * @return $this - */ - public function setSmartCampaignSettingOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingOperation::class); - $this->writeOneof(61, $var); - - return $this; - } - - /** - * A user list mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.UserListOperation user_list_operation = 16; - * @return \Google\Ads\GoogleAds\V15\Services\UserListOperation|null - */ - public function getUserListOperation() - { - return $this->readOneof(16); - } - - public function hasUserListOperation() - { - return $this->hasOneof(16); - } - - /** - * A user list mutate operation. - * - * Generated from protobuf field .google.ads.googleads.v15.services.UserListOperation user_list_operation = 16; - * @param \Google\Ads\GoogleAds\V15\Services\UserListOperation $var - * @return $this - */ - public function setUserListOperation($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\UserListOperation::class); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateOperationResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateOperationResponse.php deleted file mode 100644 index 522ded05f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateOperationResponse.php +++ /dev/null @@ -1,2517 +0,0 @@ -google.ads.googleads.v15.services.MutateOperationResponse - */ -class MutateOperationResponse extends \Google\Protobuf\Internal\Message -{ - protected $response; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelResult $ad_group_ad_label_result - * The result for the ad group ad label mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdResult $ad_group_ad_result - * The result for the ad group ad mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetResult $ad_group_asset_result - * The result for the ad group asset mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifierResult $ad_group_bid_modifier_result - * The result for the ad group bid modifier mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizerResult $ad_group_criterion_customizer_result - * The result for the ad group criterion customizer mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelResult $ad_group_criterion_label_result - * The result for the ad group criterion label mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionResult $ad_group_criterion_result - * The result for the ad group criterion mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizerResult $ad_group_customizer_result - * The result for the ad group customizer mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingResult $ad_group_extension_setting_result - * The result for the ad group extension setting mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedResult $ad_group_feed_result - * The result for the ad group feed mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelResult $ad_group_label_result - * The result for the ad group label mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdGroupResult $ad_group_result - * The result for the ad group mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdParameterResult $ad_parameter_result - * The result for the ad parameter mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAdResult $ad_result - * The result for the ad mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAssetResult $asset_result - * The result for the asset mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetResult $asset_group_asset_result - * The result for the asset group asset mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFilterResult $asset_group_listing_group_filter_result - * The result for the asset group listing group filter mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalResult $asset_group_signal_result - * The result for the asset group signal mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupResult $asset_group_result - * The result for the asset group mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetResult $asset_set_asset_result - * The result for the asset set asset mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAssetSetResult $asset_set_result - * The result for the asset set mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateAudienceResult $audience_result - * The result for the audience mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResult $bidding_data_exclusion_result - * The result for the bidding data exclusion mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResult $bidding_seasonality_adjustment_result - * The result for the bidding seasonality adjustment mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategyResult $bidding_strategy_result - * The result for the bidding strategy mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetResult $campaign_asset_result - * The result for the campaign asset mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetResult $campaign_asset_set_result - * The result for the campaign asset set mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifierResult $campaign_bid_modifier_result - * The result for the campaign bid modifier mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetResult $campaign_budget_result - * The result for the campaign budget mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalResult $campaign_conversion_goal_result - * The result for the campaign conversion goal mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignCriterionResult $campaign_criterion_result - * The result for the campaign criterion mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizerResult $campaign_customizer_result - * The result for the campaign customizer mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftResult $campaign_draft_result - * The result for the campaign draft mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingResult $campaign_extension_setting_result - * The result for the campaign extension setting mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedResult $campaign_feed_result - * The result for the campaign feed mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupResult $campaign_group_result - * The result for the campaign group mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelResult $campaign_label_result - * The result for the campaign label mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignResult $campaign_result - * The result for the campaign mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetResult $campaign_shared_set_result - * The result for the campaign shared set mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateConversionActionResult $conversion_action_result - * The result for the conversion action mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariableResult $conversion_custom_variable_result - * The result for the conversion custom variable mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigResult $conversion_goal_campaign_config_result - * The result for the conversion goal campaign config mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleResult $conversion_value_rule_result - * The result for the conversion value rule mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetResult $conversion_value_rule_set_result - * The result for the conversion value rule set mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalResult $custom_conversion_goal_result - * The result for the custom conversion goal mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetResult $customer_asset_result - * The result for the customer asset mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalResult $customer_conversion_goal_result - * The result for the customer conversion goal mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizerResult $customer_customizer_result - * The result for the customer customizer mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingResult $customer_extension_setting_result - * The result for the customer extension setting mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedResult $customer_feed_result - * The result for the customer feed mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelResult $customer_label_result - * The result for the customer label mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResult $customer_negative_criterion_result - * The result for the customer negative criterion mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomerResult $customer_result - * The result for the customer mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributeResult $customizer_attribute_result - * The result for the customizer attribute mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateExperimentResult $experiment_result - * The result for the experiment mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateExperimentArmResult $experiment_arm_result - * The result for the experiment arm mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemResult $extension_feed_item_result - * The result for the extension feed item mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateFeedItemResult $feed_item_result - * The result for the feed item mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetResult $feed_item_set_result - * The result for the feed item set mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinkResult $feed_item_set_link_result - * The result for the feed item set link mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetResult $feed_item_target_result - * The result for the feed item target mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateFeedMappingResult $feed_mapping_result - * The result for the feed mapping mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateFeedResult $feed_result - * The result for the feed mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupResult $keyword_plan_ad_group_result - * The result for the keyword plan ad group mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignResult $keyword_plan_campaign_result - * The result for the keyword plan campaign mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordResult $keyword_plan_ad_group_keyword_result - * The result for the keyword plan ad group keyword mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordResult $keyword_plan_campaign_keyword_result - * The result for the keyword plan campaign keyword mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResult $keyword_plan_result - * The result for the keyword plan mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateLabelResult $label_result - * The result for the label mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResult $recommendation_subscription_result - * The result for the recommendation subscription mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionResult $remarketing_action_result - * The result for the remarketing action mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateSharedCriterionResult $shared_criterion_result - * The result for the shared criterion mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateSharedSetResult $shared_set_result - * The result for the shared set mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingResult $smart_campaign_setting_result - * The result for the Smart campaign setting mutate. - * @type \Google\Ads\GoogleAds\V15\Services\MutateUserListResult $user_list_result - * The result for the user list mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * The result for the ad group ad label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupAdLabelResult ad_group_ad_label_result = 17; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelResult|null - */ - public function getAdGroupAdLabelResult() - { - return $this->readOneof(17); - } - - public function hasAdGroupAdLabelResult() - { - return $this->hasOneof(17); - } - - /** - * The result for the ad group ad label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupAdLabelResult ad_group_ad_label_result = 17; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelResult $var - * @return $this - */ - public function setAdGroupAdLabelResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelResult::class); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * The result for the ad group ad mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupAdResult ad_group_ad_result = 1; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdResult|null - */ - public function getAdGroupAdResult() - { - return $this->readOneof(1); - } - - public function hasAdGroupAdResult() - { - return $this->hasOneof(1); - } - - /** - * The result for the ad group ad mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupAdResult ad_group_ad_result = 1; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdResult $var - * @return $this - */ - public function setAdGroupAdResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdResult::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * The result for the ad group asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupAssetResult ad_group_asset_result = 56; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetResult|null - */ - public function getAdGroupAssetResult() - { - return $this->readOneof(56); - } - - public function hasAdGroupAssetResult() - { - return $this->hasOneof(56); - } - - /** - * The result for the ad group asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupAssetResult ad_group_asset_result = 56; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetResult $var - * @return $this - */ - public function setAdGroupAssetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetResult::class); - $this->writeOneof(56, $var); - - return $this; - } - - /** - * The result for the ad group bid modifier mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupBidModifierResult ad_group_bid_modifier_result = 2; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifierResult|null - */ - public function getAdGroupBidModifierResult() - { - return $this->readOneof(2); - } - - public function hasAdGroupBidModifierResult() - { - return $this->hasOneof(2); - } - - /** - * The result for the ad group bid modifier mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupBidModifierResult ad_group_bid_modifier_result = 2; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifierResult $var - * @return $this - */ - public function setAdGroupBidModifierResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifierResult::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * The result for the ad group criterion customizer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupCriterionCustomizerResult ad_group_criterion_customizer_result = 77; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizerResult|null - */ - public function getAdGroupCriterionCustomizerResult() - { - return $this->readOneof(77); - } - - public function hasAdGroupCriterionCustomizerResult() - { - return $this->hasOneof(77); - } - - /** - * The result for the ad group criterion customizer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupCriterionCustomizerResult ad_group_criterion_customizer_result = 77; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizerResult $var - * @return $this - */ - public function setAdGroupCriterionCustomizerResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizerResult::class); - $this->writeOneof(77, $var); - - return $this; - } - - /** - * The result for the ad group criterion label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupCriterionLabelResult ad_group_criterion_label_result = 18; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelResult|null - */ - public function getAdGroupCriterionLabelResult() - { - return $this->readOneof(18); - } - - public function hasAdGroupCriterionLabelResult() - { - return $this->hasOneof(18); - } - - /** - * The result for the ad group criterion label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupCriterionLabelResult ad_group_criterion_label_result = 18; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelResult $var - * @return $this - */ - public function setAdGroupCriterionLabelResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelResult::class); - $this->writeOneof(18, $var); - - return $this; - } - - /** - * The result for the ad group criterion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupCriterionResult ad_group_criterion_result = 3; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionResult|null - */ - public function getAdGroupCriterionResult() - { - return $this->readOneof(3); - } - - public function hasAdGroupCriterionResult() - { - return $this->hasOneof(3); - } - - /** - * The result for the ad group criterion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupCriterionResult ad_group_criterion_result = 3; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionResult $var - * @return $this - */ - public function setAdGroupCriterionResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionResult::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * The result for the ad group customizer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupCustomizerResult ad_group_customizer_result = 75; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizerResult|null - */ - public function getAdGroupCustomizerResult() - { - return $this->readOneof(75); - } - - public function hasAdGroupCustomizerResult() - { - return $this->hasOneof(75); - } - - /** - * The result for the ad group customizer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupCustomizerResult ad_group_customizer_result = 75; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizerResult $var - * @return $this - */ - public function setAdGroupCustomizerResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizerResult::class); - $this->writeOneof(75, $var); - - return $this; - } - - /** - * The result for the ad group extension setting mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupExtensionSettingResult ad_group_extension_setting_result = 19; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingResult|null - */ - public function getAdGroupExtensionSettingResult() - { - return $this->readOneof(19); - } - - public function hasAdGroupExtensionSettingResult() - { - return $this->hasOneof(19); - } - - /** - * The result for the ad group extension setting mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupExtensionSettingResult ad_group_extension_setting_result = 19; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingResult $var - * @return $this - */ - public function setAdGroupExtensionSettingResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingResult::class); - $this->writeOneof(19, $var); - - return $this; - } - - /** - * The result for the ad group feed mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupFeedResult ad_group_feed_result = 20; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedResult|null - */ - public function getAdGroupFeedResult() - { - return $this->readOneof(20); - } - - public function hasAdGroupFeedResult() - { - return $this->hasOneof(20); - } - - /** - * The result for the ad group feed mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupFeedResult ad_group_feed_result = 20; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedResult $var - * @return $this - */ - public function setAdGroupFeedResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedResult::class); - $this->writeOneof(20, $var); - - return $this; - } - - /** - * The result for the ad group label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupLabelResult ad_group_label_result = 21; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelResult|null - */ - public function getAdGroupLabelResult() - { - return $this->readOneof(21); - } - - public function hasAdGroupLabelResult() - { - return $this->hasOneof(21); - } - - /** - * The result for the ad group label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupLabelResult ad_group_label_result = 21; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelResult $var - * @return $this - */ - public function setAdGroupLabelResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelResult::class); - $this->writeOneof(21, $var); - - return $this; - } - - /** - * The result for the ad group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupResult ad_group_result = 5; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdGroupResult|null - */ - public function getAdGroupResult() - { - return $this->readOneof(5); - } - - public function hasAdGroupResult() - { - return $this->hasOneof(5); - } - - /** - * The result for the ad group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdGroupResult ad_group_result = 5; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdGroupResult $var - * @return $this - */ - public function setAdGroupResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdGroupResult::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * The result for the ad parameter mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdParameterResult ad_parameter_result = 22; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdParameterResult|null - */ - public function getAdParameterResult() - { - return $this->readOneof(22); - } - - public function hasAdParameterResult() - { - return $this->hasOneof(22); - } - - /** - * The result for the ad parameter mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdParameterResult ad_parameter_result = 22; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdParameterResult $var - * @return $this - */ - public function setAdParameterResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdParameterResult::class); - $this->writeOneof(22, $var); - - return $this; - } - - /** - * The result for the ad mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdResult ad_result = 49; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAdResult|null - */ - public function getAdResult() - { - return $this->readOneof(49); - } - - public function hasAdResult() - { - return $this->hasOneof(49); - } - - /** - * The result for the ad mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAdResult ad_result = 49; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAdResult $var - * @return $this - */ - public function setAdResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAdResult::class); - $this->writeOneof(49, $var); - - return $this; - } - - /** - * The result for the asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetResult asset_result = 23; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetResult|null - */ - public function getAssetResult() - { - return $this->readOneof(23); - } - - public function hasAssetResult() - { - return $this->hasOneof(23); - } - - /** - * The result for the asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetResult asset_result = 23; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAssetResult $var - * @return $this - */ - public function setAssetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAssetResult::class); - $this->writeOneof(23, $var); - - return $this; - } - - /** - * The result for the asset group asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetGroupAssetResult asset_group_asset_result = 65; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetResult|null - */ - public function getAssetGroupAssetResult() - { - return $this->readOneof(65); - } - - public function hasAssetGroupAssetResult() - { - return $this->hasOneof(65); - } - - /** - * The result for the asset group asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetGroupAssetResult asset_group_asset_result = 65; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetResult $var - * @return $this - */ - public function setAssetGroupAssetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetResult::class); - $this->writeOneof(65, $var); - - return $this; - } - - /** - * The result for the asset group listing group filter mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetGroupListingGroupFilterResult asset_group_listing_group_filter_result = 78; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFilterResult|null - */ - public function getAssetGroupListingGroupFilterResult() - { - return $this->readOneof(78); - } - - public function hasAssetGroupListingGroupFilterResult() - { - return $this->hasOneof(78); - } - - /** - * The result for the asset group listing group filter mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetGroupListingGroupFilterResult asset_group_listing_group_filter_result = 78; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFilterResult $var - * @return $this - */ - public function setAssetGroupListingGroupFilterResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFilterResult::class); - $this->writeOneof(78, $var); - - return $this; - } - - /** - * The result for the asset group signal mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetGroupSignalResult asset_group_signal_result = 79; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalResult|null - */ - public function getAssetGroupSignalResult() - { - return $this->readOneof(79); - } - - public function hasAssetGroupSignalResult() - { - return $this->hasOneof(79); - } - - /** - * The result for the asset group signal mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetGroupSignalResult asset_group_signal_result = 79; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalResult $var - * @return $this - */ - public function setAssetGroupSignalResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalResult::class); - $this->writeOneof(79, $var); - - return $this; - } - - /** - * The result for the asset group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetGroupResult asset_group_result = 62; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupResult|null - */ - public function getAssetGroupResult() - { - return $this->readOneof(62); - } - - public function hasAssetGroupResult() - { - return $this->hasOneof(62); - } - - /** - * The result for the asset group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetGroupResult asset_group_result = 62; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupResult $var - * @return $this - */ - public function setAssetGroupResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAssetGroupResult::class); - $this->writeOneof(62, $var); - - return $this; - } - - /** - * The result for the asset set asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetSetAssetResult asset_set_asset_result = 71; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetResult|null - */ - public function getAssetSetAssetResult() - { - return $this->readOneof(71); - } - - public function hasAssetSetAssetResult() - { - return $this->hasOneof(71); - } - - /** - * The result for the asset set asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetSetAssetResult asset_set_asset_result = 71; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetResult $var - * @return $this - */ - public function setAssetSetAssetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetResult::class); - $this->writeOneof(71, $var); - - return $this; - } - - /** - * The result for the asset set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetSetResult asset_set_result = 72; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAssetSetResult|null - */ - public function getAssetSetResult() - { - return $this->readOneof(72); - } - - public function hasAssetSetResult() - { - return $this->hasOneof(72); - } - - /** - * The result for the asset set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAssetSetResult asset_set_result = 72; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAssetSetResult $var - * @return $this - */ - public function setAssetSetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAssetSetResult::class); - $this->writeOneof(72, $var); - - return $this; - } - - /** - * The result for the audience mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAudienceResult audience_result = 80; - * @return \Google\Ads\GoogleAds\V15\Services\MutateAudienceResult|null - */ - public function getAudienceResult() - { - return $this->readOneof(80); - } - - public function hasAudienceResult() - { - return $this->hasOneof(80); - } - - /** - * The result for the audience mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateAudienceResult audience_result = 80; - * @param \Google\Ads\GoogleAds\V15\Services\MutateAudienceResult $var - * @return $this - */ - public function setAudienceResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateAudienceResult::class); - $this->writeOneof(80, $var); - - return $this; - } - - /** - * The result for the bidding data exclusion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBiddingDataExclusionsResult bidding_data_exclusion_result = 58; - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResult|null - */ - public function getBiddingDataExclusionResult() - { - return $this->readOneof(58); - } - - public function hasBiddingDataExclusionResult() - { - return $this->hasOneof(58); - } - - /** - * The result for the bidding data exclusion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBiddingDataExclusionsResult bidding_data_exclusion_result = 58; - * @param \Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResult $var - * @return $this - */ - public function setBiddingDataExclusionResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResult::class); - $this->writeOneof(58, $var); - - return $this; - } - - /** - * The result for the bidding seasonality adjustment mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBiddingSeasonalityAdjustmentsResult bidding_seasonality_adjustment_result = 59; - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResult|null - */ - public function getBiddingSeasonalityAdjustmentResult() - { - return $this->readOneof(59); - } - - public function hasBiddingSeasonalityAdjustmentResult() - { - return $this->hasOneof(59); - } - - /** - * The result for the bidding seasonality adjustment mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBiddingSeasonalityAdjustmentsResult bidding_seasonality_adjustment_result = 59; - * @param \Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResult $var - * @return $this - */ - public function setBiddingSeasonalityAdjustmentResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResult::class); - $this->writeOneof(59, $var); - - return $this; - } - - /** - * The result for the bidding strategy mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBiddingStrategyResult bidding_strategy_result = 6; - * @return \Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategyResult|null - */ - public function getBiddingStrategyResult() - { - return $this->readOneof(6); - } - - public function hasBiddingStrategyResult() - { - return $this->hasOneof(6); - } - - /** - * The result for the bidding strategy mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateBiddingStrategyResult bidding_strategy_result = 6; - * @param \Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategyResult $var - * @return $this - */ - public function setBiddingStrategyResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategyResult::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * The result for the campaign asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignAssetResult campaign_asset_result = 52; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetResult|null - */ - public function getCampaignAssetResult() - { - return $this->readOneof(52); - } - - public function hasCampaignAssetResult() - { - return $this->hasOneof(52); - } - - /** - * The result for the campaign asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignAssetResult campaign_asset_result = 52; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetResult $var - * @return $this - */ - public function setCampaignAssetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetResult::class); - $this->writeOneof(52, $var); - - return $this; - } - - /** - * The result for the campaign asset set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignAssetSetResult campaign_asset_set_result = 73; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetResult|null - */ - public function getCampaignAssetSetResult() - { - return $this->readOneof(73); - } - - public function hasCampaignAssetSetResult() - { - return $this->hasOneof(73); - } - - /** - * The result for the campaign asset set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignAssetSetResult campaign_asset_set_result = 73; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetResult $var - * @return $this - */ - public function setCampaignAssetSetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetResult::class); - $this->writeOneof(73, $var); - - return $this; - } - - /** - * The result for the campaign bid modifier mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignBidModifierResult campaign_bid_modifier_result = 7; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifierResult|null - */ - public function getCampaignBidModifierResult() - { - return $this->readOneof(7); - } - - public function hasCampaignBidModifierResult() - { - return $this->hasOneof(7); - } - - /** - * The result for the campaign bid modifier mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignBidModifierResult campaign_bid_modifier_result = 7; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifierResult $var - * @return $this - */ - public function setCampaignBidModifierResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifierResult::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * The result for the campaign budget mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignBudgetResult campaign_budget_result = 8; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetResult|null - */ - public function getCampaignBudgetResult() - { - return $this->readOneof(8); - } - - public function hasCampaignBudgetResult() - { - return $this->hasOneof(8); - } - - /** - * The result for the campaign budget mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignBudgetResult campaign_budget_result = 8; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetResult $var - * @return $this - */ - public function setCampaignBudgetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetResult::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * The result for the campaign conversion goal mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignConversionGoalResult campaign_conversion_goal_result = 67; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalResult|null - */ - public function getCampaignConversionGoalResult() - { - return $this->readOneof(67); - } - - public function hasCampaignConversionGoalResult() - { - return $this->hasOneof(67); - } - - /** - * The result for the campaign conversion goal mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignConversionGoalResult campaign_conversion_goal_result = 67; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalResult $var - * @return $this - */ - public function setCampaignConversionGoalResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalResult::class); - $this->writeOneof(67, $var); - - return $this; - } - - /** - * The result for the campaign criterion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignCriterionResult campaign_criterion_result = 13; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignCriterionResult|null - */ - public function getCampaignCriterionResult() - { - return $this->readOneof(13); - } - - public function hasCampaignCriterionResult() - { - return $this->hasOneof(13); - } - - /** - * The result for the campaign criterion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignCriterionResult campaign_criterion_result = 13; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignCriterionResult $var - * @return $this - */ - public function setCampaignCriterionResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignCriterionResult::class); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * The result for the campaign customizer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignCustomizerResult campaign_customizer_result = 76; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizerResult|null - */ - public function getCampaignCustomizerResult() - { - return $this->readOneof(76); - } - - public function hasCampaignCustomizerResult() - { - return $this->hasOneof(76); - } - - /** - * The result for the campaign customizer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignCustomizerResult campaign_customizer_result = 76; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizerResult $var - * @return $this - */ - public function setCampaignCustomizerResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizerResult::class); - $this->writeOneof(76, $var); - - return $this; - } - - /** - * The result for the campaign draft mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignDraftResult campaign_draft_result = 24; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftResult|null - */ - public function getCampaignDraftResult() - { - return $this->readOneof(24); - } - - public function hasCampaignDraftResult() - { - return $this->hasOneof(24); - } - - /** - * The result for the campaign draft mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignDraftResult campaign_draft_result = 24; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftResult $var - * @return $this - */ - public function setCampaignDraftResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftResult::class); - $this->writeOneof(24, $var); - - return $this; - } - - /** - * The result for the campaign extension setting mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignExtensionSettingResult campaign_extension_setting_result = 26; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingResult|null - */ - public function getCampaignExtensionSettingResult() - { - return $this->readOneof(26); - } - - public function hasCampaignExtensionSettingResult() - { - return $this->hasOneof(26); - } - - /** - * The result for the campaign extension setting mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignExtensionSettingResult campaign_extension_setting_result = 26; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingResult $var - * @return $this - */ - public function setCampaignExtensionSettingResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingResult::class); - $this->writeOneof(26, $var); - - return $this; - } - - /** - * The result for the campaign feed mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignFeedResult campaign_feed_result = 27; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedResult|null - */ - public function getCampaignFeedResult() - { - return $this->readOneof(27); - } - - public function hasCampaignFeedResult() - { - return $this->hasOneof(27); - } - - /** - * The result for the campaign feed mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignFeedResult campaign_feed_result = 27; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedResult $var - * @return $this - */ - public function setCampaignFeedResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedResult::class); - $this->writeOneof(27, $var); - - return $this; - } - - /** - * The result for the campaign group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignGroupResult campaign_group_result = 9; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupResult|null - */ - public function getCampaignGroupResult() - { - return $this->readOneof(9); - } - - public function hasCampaignGroupResult() - { - return $this->hasOneof(9); - } - - /** - * The result for the campaign group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignGroupResult campaign_group_result = 9; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupResult $var - * @return $this - */ - public function setCampaignGroupResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupResult::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * The result for the campaign label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignLabelResult campaign_label_result = 28; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelResult|null - */ - public function getCampaignLabelResult() - { - return $this->readOneof(28); - } - - public function hasCampaignLabelResult() - { - return $this->hasOneof(28); - } - - /** - * The result for the campaign label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignLabelResult campaign_label_result = 28; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelResult $var - * @return $this - */ - public function setCampaignLabelResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelResult::class); - $this->writeOneof(28, $var); - - return $this; - } - - /** - * The result for the campaign mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignResult campaign_result = 10; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignResult|null - */ - public function getCampaignResult() - { - return $this->readOneof(10); - } - - public function hasCampaignResult() - { - return $this->hasOneof(10); - } - - /** - * The result for the campaign mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignResult campaign_result = 10; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignResult $var - * @return $this - */ - public function setCampaignResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignResult::class); - $this->writeOneof(10, $var); - - return $this; - } - - /** - * The result for the campaign shared set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignSharedSetResult campaign_shared_set_result = 11; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetResult|null - */ - public function getCampaignSharedSetResult() - { - return $this->readOneof(11); - } - - public function hasCampaignSharedSetResult() - { - return $this->hasOneof(11); - } - - /** - * The result for the campaign shared set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCampaignSharedSetResult campaign_shared_set_result = 11; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetResult $var - * @return $this - */ - public function setCampaignSharedSetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetResult::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * The result for the conversion action mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionActionResult conversion_action_result = 12; - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionActionResult|null - */ - public function getConversionActionResult() - { - return $this->readOneof(12); - } - - public function hasConversionActionResult() - { - return $this->hasOneof(12); - } - - /** - * The result for the conversion action mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionActionResult conversion_action_result = 12; - * @param \Google\Ads\GoogleAds\V15\Services\MutateConversionActionResult $var - * @return $this - */ - public function setConversionActionResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateConversionActionResult::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * The result for the conversion custom variable mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionCustomVariableResult conversion_custom_variable_result = 55; - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariableResult|null - */ - public function getConversionCustomVariableResult() - { - return $this->readOneof(55); - } - - public function hasConversionCustomVariableResult() - { - return $this->hasOneof(55); - } - - /** - * The result for the conversion custom variable mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionCustomVariableResult conversion_custom_variable_result = 55; - * @param \Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariableResult $var - * @return $this - */ - public function setConversionCustomVariableResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariableResult::class); - $this->writeOneof(55, $var); - - return $this; - } - - /** - * The result for the conversion goal campaign config mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionGoalCampaignConfigResult conversion_goal_campaign_config_result = 69; - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigResult|null - */ - public function getConversionGoalCampaignConfigResult() - { - return $this->readOneof(69); - } - - public function hasConversionGoalCampaignConfigResult() - { - return $this->hasOneof(69); - } - - /** - * The result for the conversion goal campaign config mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionGoalCampaignConfigResult conversion_goal_campaign_config_result = 69; - * @param \Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigResult $var - * @return $this - */ - public function setConversionGoalCampaignConfigResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigResult::class); - $this->writeOneof(69, $var); - - return $this; - } - - /** - * The result for the conversion value rule mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionValueRuleResult conversion_value_rule_result = 63; - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleResult|null - */ - public function getConversionValueRuleResult() - { - return $this->readOneof(63); - } - - public function hasConversionValueRuleResult() - { - return $this->hasOneof(63); - } - - /** - * The result for the conversion value rule mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionValueRuleResult conversion_value_rule_result = 63; - * @param \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleResult $var - * @return $this - */ - public function setConversionValueRuleResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleResult::class); - $this->writeOneof(63, $var); - - return $this; - } - - /** - * The result for the conversion value rule set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionValueRuleSetResult conversion_value_rule_set_result = 64; - * @return \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetResult|null - */ - public function getConversionValueRuleSetResult() - { - return $this->readOneof(64); - } - - public function hasConversionValueRuleSetResult() - { - return $this->hasOneof(64); - } - - /** - * The result for the conversion value rule set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateConversionValueRuleSetResult conversion_value_rule_set_result = 64; - * @param \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetResult $var - * @return $this - */ - public function setConversionValueRuleSetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetResult::class); - $this->writeOneof(64, $var); - - return $this; - } - - /** - * The result for the custom conversion goal mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomConversionGoalResult custom_conversion_goal_result = 68; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalResult|null - */ - public function getCustomConversionGoalResult() - { - return $this->readOneof(68); - } - - public function hasCustomConversionGoalResult() - { - return $this->hasOneof(68); - } - - /** - * The result for the custom conversion goal mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomConversionGoalResult custom_conversion_goal_result = 68; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalResult $var - * @return $this - */ - public function setCustomConversionGoalResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalResult::class); - $this->writeOneof(68, $var); - - return $this; - } - - /** - * The result for the customer asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerAssetResult customer_asset_result = 57; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetResult|null - */ - public function getCustomerAssetResult() - { - return $this->readOneof(57); - } - - public function hasCustomerAssetResult() - { - return $this->hasOneof(57); - } - - /** - * The result for the customer asset mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerAssetResult customer_asset_result = 57; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetResult $var - * @return $this - */ - public function setCustomerAssetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetResult::class); - $this->writeOneof(57, $var); - - return $this; - } - - /** - * The result for the customer conversion goal mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerConversionGoalResult customer_conversion_goal_result = 66; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalResult|null - */ - public function getCustomerConversionGoalResult() - { - return $this->readOneof(66); - } - - public function hasCustomerConversionGoalResult() - { - return $this->hasOneof(66); - } - - /** - * The result for the customer conversion goal mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerConversionGoalResult customer_conversion_goal_result = 66; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalResult $var - * @return $this - */ - public function setCustomerConversionGoalResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalResult::class); - $this->writeOneof(66, $var); - - return $this; - } - - /** - * The result for the customer customizer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerCustomizerResult customer_customizer_result = 74; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizerResult|null - */ - public function getCustomerCustomizerResult() - { - return $this->readOneof(74); - } - - public function hasCustomerCustomizerResult() - { - return $this->hasOneof(74); - } - - /** - * The result for the customer customizer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerCustomizerResult customer_customizer_result = 74; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizerResult $var - * @return $this - */ - public function setCustomerCustomizerResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizerResult::class); - $this->writeOneof(74, $var); - - return $this; - } - - /** - * The result for the customer extension setting mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerExtensionSettingResult customer_extension_setting_result = 30; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingResult|null - */ - public function getCustomerExtensionSettingResult() - { - return $this->readOneof(30); - } - - public function hasCustomerExtensionSettingResult() - { - return $this->hasOneof(30); - } - - /** - * The result for the customer extension setting mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerExtensionSettingResult customer_extension_setting_result = 30; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingResult $var - * @return $this - */ - public function setCustomerExtensionSettingResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingResult::class); - $this->writeOneof(30, $var); - - return $this; - } - - /** - * The result for the customer feed mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerFeedResult customer_feed_result = 31; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedResult|null - */ - public function getCustomerFeedResult() - { - return $this->readOneof(31); - } - - public function hasCustomerFeedResult() - { - return $this->hasOneof(31); - } - - /** - * The result for the customer feed mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerFeedResult customer_feed_result = 31; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedResult $var - * @return $this - */ - public function setCustomerFeedResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedResult::class); - $this->writeOneof(31, $var); - - return $this; - } - - /** - * The result for the customer label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerLabelResult customer_label_result = 32; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelResult|null - */ - public function getCustomerLabelResult() - { - return $this->readOneof(32); - } - - public function hasCustomerLabelResult() - { - return $this->hasOneof(32); - } - - /** - * The result for the customer label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerLabelResult customer_label_result = 32; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelResult $var - * @return $this - */ - public function setCustomerLabelResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelResult::class); - $this->writeOneof(32, $var); - - return $this; - } - - /** - * The result for the customer negative criterion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerNegativeCriteriaResult customer_negative_criterion_result = 34; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResult|null - */ - public function getCustomerNegativeCriterionResult() - { - return $this->readOneof(34); - } - - public function hasCustomerNegativeCriterionResult() - { - return $this->hasOneof(34); - } - - /** - * The result for the customer negative criterion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerNegativeCriteriaResult customer_negative_criterion_result = 34; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResult $var - * @return $this - */ - public function setCustomerNegativeCriterionResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResult::class); - $this->writeOneof(34, $var); - - return $this; - } - - /** - * The result for the customer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerResult customer_result = 35; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomerResult|null - */ - public function getCustomerResult() - { - return $this->readOneof(35); - } - - public function hasCustomerResult() - { - return $this->hasOneof(35); - } - - /** - * The result for the customer mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomerResult customer_result = 35; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomerResult $var - * @return $this - */ - public function setCustomerResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomerResult::class); - $this->writeOneof(35, $var); - - return $this; - } - - /** - * The result for the customizer attribute mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomizerAttributeResult customizer_attribute_result = 70; - * @return \Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributeResult|null - */ - public function getCustomizerAttributeResult() - { - return $this->readOneof(70); - } - - public function hasCustomizerAttributeResult() - { - return $this->hasOneof(70); - } - - /** - * The result for the customizer attribute mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateCustomizerAttributeResult customizer_attribute_result = 70; - * @param \Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributeResult $var - * @return $this - */ - public function setCustomizerAttributeResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributeResult::class); - $this->writeOneof(70, $var); - - return $this; - } - - /** - * The result for the experiment mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateExperimentResult experiment_result = 81; - * @return \Google\Ads\GoogleAds\V15\Services\MutateExperimentResult|null - */ - public function getExperimentResult() - { - return $this->readOneof(81); - } - - public function hasExperimentResult() - { - return $this->hasOneof(81); - } - - /** - * The result for the experiment mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateExperimentResult experiment_result = 81; - * @param \Google\Ads\GoogleAds\V15\Services\MutateExperimentResult $var - * @return $this - */ - public function setExperimentResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateExperimentResult::class); - $this->writeOneof(81, $var); - - return $this; - } - - /** - * The result for the experiment arm mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateExperimentArmResult experiment_arm_result = 82; - * @return \Google\Ads\GoogleAds\V15\Services\MutateExperimentArmResult|null - */ - public function getExperimentArmResult() - { - return $this->readOneof(82); - } - - public function hasExperimentArmResult() - { - return $this->hasOneof(82); - } - - /** - * The result for the experiment arm mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateExperimentArmResult experiment_arm_result = 82; - * @param \Google\Ads\GoogleAds\V15\Services\MutateExperimentArmResult $var - * @return $this - */ - public function setExperimentArmResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateExperimentArmResult::class); - $this->writeOneof(82, $var); - - return $this; - } - - /** - * The result for the extension feed item mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateExtensionFeedItemResult extension_feed_item_result = 36; - * @return \Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemResult|null - */ - public function getExtensionFeedItemResult() - { - return $this->readOneof(36); - } - - public function hasExtensionFeedItemResult() - { - return $this->hasOneof(36); - } - - /** - * The result for the extension feed item mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateExtensionFeedItemResult extension_feed_item_result = 36; - * @param \Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemResult $var - * @return $this - */ - public function setExtensionFeedItemResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemResult::class); - $this->writeOneof(36, $var); - - return $this; - } - - /** - * The result for the feed item mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedItemResult feed_item_result = 37; - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemResult|null - */ - public function getFeedItemResult() - { - return $this->readOneof(37); - } - - public function hasFeedItemResult() - { - return $this->hasOneof(37); - } - - /** - * The result for the feed item mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedItemResult feed_item_result = 37; - * @param \Google\Ads\GoogleAds\V15\Services\MutateFeedItemResult $var - * @return $this - */ - public function setFeedItemResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateFeedItemResult::class); - $this->writeOneof(37, $var); - - return $this; - } - - /** - * The result for the feed item set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedItemSetResult feed_item_set_result = 53; - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetResult|null - */ - public function getFeedItemSetResult() - { - return $this->readOneof(53); - } - - public function hasFeedItemSetResult() - { - return $this->hasOneof(53); - } - - /** - * The result for the feed item set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedItemSetResult feed_item_set_result = 53; - * @param \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetResult $var - * @return $this - */ - public function setFeedItemSetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetResult::class); - $this->writeOneof(53, $var); - - return $this; - } - - /** - * The result for the feed item set link mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedItemSetLinkResult feed_item_set_link_result = 54; - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinkResult|null - */ - public function getFeedItemSetLinkResult() - { - return $this->readOneof(54); - } - - public function hasFeedItemSetLinkResult() - { - return $this->hasOneof(54); - } - - /** - * The result for the feed item set link mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedItemSetLinkResult feed_item_set_link_result = 54; - * @param \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinkResult $var - * @return $this - */ - public function setFeedItemSetLinkResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinkResult::class); - $this->writeOneof(54, $var); - - return $this; - } - - /** - * The result for the feed item target mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedItemTargetResult feed_item_target_result = 38; - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetResult|null - */ - public function getFeedItemTargetResult() - { - return $this->readOneof(38); - } - - public function hasFeedItemTargetResult() - { - return $this->hasOneof(38); - } - - /** - * The result for the feed item target mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedItemTargetResult feed_item_target_result = 38; - * @param \Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetResult $var - * @return $this - */ - public function setFeedItemTargetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetResult::class); - $this->writeOneof(38, $var); - - return $this; - } - - /** - * The result for the feed mapping mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedMappingResult feed_mapping_result = 39; - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedMappingResult|null - */ - public function getFeedMappingResult() - { - return $this->readOneof(39); - } - - public function hasFeedMappingResult() - { - return $this->hasOneof(39); - } - - /** - * The result for the feed mapping mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedMappingResult feed_mapping_result = 39; - * @param \Google\Ads\GoogleAds\V15\Services\MutateFeedMappingResult $var - * @return $this - */ - public function setFeedMappingResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateFeedMappingResult::class); - $this->writeOneof(39, $var); - - return $this; - } - - /** - * The result for the feed mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedResult feed_result = 40; - * @return \Google\Ads\GoogleAds\V15\Services\MutateFeedResult|null - */ - public function getFeedResult() - { - return $this->readOneof(40); - } - - public function hasFeedResult() - { - return $this->hasOneof(40); - } - - /** - * The result for the feed mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateFeedResult feed_result = 40; - * @param \Google\Ads\GoogleAds\V15\Services\MutateFeedResult $var - * @return $this - */ - public function setFeedResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateFeedResult::class); - $this->writeOneof(40, $var); - - return $this; - } - - /** - * The result for the keyword plan ad group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupResult keyword_plan_ad_group_result = 44; - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupResult|null - */ - public function getKeywordPlanAdGroupResult() - { - return $this->readOneof(44); - } - - public function hasKeywordPlanAdGroupResult() - { - return $this->hasOneof(44); - } - - /** - * The result for the keyword plan ad group mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupResult keyword_plan_ad_group_result = 44; - * @param \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupResult $var - * @return $this - */ - public function setKeywordPlanAdGroupResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupResult::class); - $this->writeOneof(44, $var); - - return $this; - } - - /** - * The result for the keyword plan campaign mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlanCampaignResult keyword_plan_campaign_result = 45; - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignResult|null - */ - public function getKeywordPlanCampaignResult() - { - return $this->readOneof(45); - } - - public function hasKeywordPlanCampaignResult() - { - return $this->hasOneof(45); - } - - /** - * The result for the keyword plan campaign mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlanCampaignResult keyword_plan_campaign_result = 45; - * @param \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignResult $var - * @return $this - */ - public function setKeywordPlanCampaignResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignResult::class); - $this->writeOneof(45, $var); - - return $this; - } - - /** - * The result for the keyword plan ad group keyword mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupKeywordResult keyword_plan_ad_group_keyword_result = 50; - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordResult|null - */ - public function getKeywordPlanAdGroupKeywordResult() - { - return $this->readOneof(50); - } - - public function hasKeywordPlanAdGroupKeywordResult() - { - return $this->hasOneof(50); - } - - /** - * The result for the keyword plan ad group keyword mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlanAdGroupKeywordResult keyword_plan_ad_group_keyword_result = 50; - * @param \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordResult $var - * @return $this - */ - public function setKeywordPlanAdGroupKeywordResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordResult::class); - $this->writeOneof(50, $var); - - return $this; - } - - /** - * The result for the keyword plan campaign keyword mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlanCampaignKeywordResult keyword_plan_campaign_keyword_result = 51; - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordResult|null - */ - public function getKeywordPlanCampaignKeywordResult() - { - return $this->readOneof(51); - } - - public function hasKeywordPlanCampaignKeywordResult() - { - return $this->hasOneof(51); - } - - /** - * The result for the keyword plan campaign keyword mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlanCampaignKeywordResult keyword_plan_campaign_keyword_result = 51; - * @param \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordResult $var - * @return $this - */ - public function setKeywordPlanCampaignKeywordResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordResult::class); - $this->writeOneof(51, $var); - - return $this; - } - - /** - * The result for the keyword plan mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlansResult keyword_plan_result = 48; - * @return \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResult|null - */ - public function getKeywordPlanResult() - { - return $this->readOneof(48); - } - - public function hasKeywordPlanResult() - { - return $this->hasOneof(48); - } - - /** - * The result for the keyword plan mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateKeywordPlansResult keyword_plan_result = 48; - * @param \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResult $var - * @return $this - */ - public function setKeywordPlanResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResult::class); - $this->writeOneof(48, $var); - - return $this; - } - - /** - * The result for the label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateLabelResult label_result = 41; - * @return \Google\Ads\GoogleAds\V15\Services\MutateLabelResult|null - */ - public function getLabelResult() - { - return $this->readOneof(41); - } - - public function hasLabelResult() - { - return $this->hasOneof(41); - } - - /** - * The result for the label mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateLabelResult label_result = 41; - * @param \Google\Ads\GoogleAds\V15\Services\MutateLabelResult $var - * @return $this - */ - public function setLabelResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateLabelResult::class); - $this->writeOneof(41, $var); - - return $this; - } - - /** - * The result for the recommendation subscription mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateRecommendationSubscriptionResult recommendation_subscription_result = 85; - * @return \Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResult|null - */ - public function getRecommendationSubscriptionResult() - { - return $this->readOneof(85); - } - - public function hasRecommendationSubscriptionResult() - { - return $this->hasOneof(85); - } - - /** - * The result for the recommendation subscription mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateRecommendationSubscriptionResult recommendation_subscription_result = 85; - * @param \Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResult $var - * @return $this - */ - public function setRecommendationSubscriptionResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResult::class); - $this->writeOneof(85, $var); - - return $this; - } - - /** - * The result for the remarketing action mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateRemarketingActionResult remarketing_action_result = 43; - * @return \Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionResult|null - */ - public function getRemarketingActionResult() - { - return $this->readOneof(43); - } - - public function hasRemarketingActionResult() - { - return $this->hasOneof(43); - } - - /** - * The result for the remarketing action mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateRemarketingActionResult remarketing_action_result = 43; - * @param \Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionResult $var - * @return $this - */ - public function setRemarketingActionResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionResult::class); - $this->writeOneof(43, $var); - - return $this; - } - - /** - * The result for the shared criterion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateSharedCriterionResult shared_criterion_result = 14; - * @return \Google\Ads\GoogleAds\V15\Services\MutateSharedCriterionResult|null - */ - public function getSharedCriterionResult() - { - return $this->readOneof(14); - } - - public function hasSharedCriterionResult() - { - return $this->hasOneof(14); - } - - /** - * The result for the shared criterion mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateSharedCriterionResult shared_criterion_result = 14; - * @param \Google\Ads\GoogleAds\V15\Services\MutateSharedCriterionResult $var - * @return $this - */ - public function setSharedCriterionResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateSharedCriterionResult::class); - $this->writeOneof(14, $var); - - return $this; - } - - /** - * The result for the shared set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateSharedSetResult shared_set_result = 15; - * @return \Google\Ads\GoogleAds\V15\Services\MutateSharedSetResult|null - */ - public function getSharedSetResult() - { - return $this->readOneof(15); - } - - public function hasSharedSetResult() - { - return $this->hasOneof(15); - } - - /** - * The result for the shared set mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateSharedSetResult shared_set_result = 15; - * @param \Google\Ads\GoogleAds\V15\Services\MutateSharedSetResult $var - * @return $this - */ - public function setSharedSetResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateSharedSetResult::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * The result for the Smart campaign setting mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateSmartCampaignSettingResult smart_campaign_setting_result = 61; - * @return \Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingResult|null - */ - public function getSmartCampaignSettingResult() - { - return $this->readOneof(61); - } - - public function hasSmartCampaignSettingResult() - { - return $this->hasOneof(61); - } - - /** - * The result for the Smart campaign setting mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateSmartCampaignSettingResult smart_campaign_setting_result = 61; - * @param \Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingResult $var - * @return $this - */ - public function setSmartCampaignSettingResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingResult::class); - $this->writeOneof(61, $var); - - return $this; - } - - /** - * The result for the user list mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateUserListResult user_list_result = 16; - * @return \Google\Ads\GoogleAds\V15\Services\MutateUserListResult|null - */ - public function getUserListResult() - { - return $this->readOneof(16); - } - - public function hasUserListResult() - { - return $this->hasOneof(16); - } - - /** - * The result for the user list mutate. - * - * Generated from protobuf field .google.ads.googleads.v15.services.MutateUserListResult user_list_result = 16; - * @param \Google\Ads\GoogleAds\V15\Services\MutateUserListResult $var - * @return $this - */ - public function setUserListResult($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\MutateUserListResult::class); - $this->writeOneof(16, $var); - - return $this; - } - - /** - * @return string - */ - public function getResponse() - { - return $this->whichOneof("response"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionRequest.php deleted file mode 100644 index 7303891c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionRequest.php +++ /dev/null @@ -1,247 +0,0 @@ -google.ads.googleads.v15.services.MutateRecommendationSubscriptionRequest - */ -class MutateRecommendationSubscriptionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the subscribing customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of create or update operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.RecommendationSubscriptionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the subscribing customer. - * @param \Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionOperation[] $operations Required. The list of create or update operations. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the subscribing customer. - * @type array<\Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of create or update operations. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the subscribing customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the subscribing customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of create or update operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.RecommendationSubscriptionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of create or update operations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.RecommendationSubscriptionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. The mutable - * resource will only be returned if the resource has the appropriate response - * field. For example, MutateCampaignResult.campaign. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionResponse.php deleted file mode 100644 index b630ce39d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionResponse.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.MutateRecommendationSubscriptionResponse - */ -class MutateRecommendationSubscriptionResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Results, one per operation. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateRecommendationSubscriptionResult results = 1; - */ - private $results; - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - */ - protected $partial_failure_error = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResult>|\Google\Protobuf\Internal\RepeatedField $results - * Results, one per operation. - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionService::initOnce(); - parent::__construct($data); - } - - /** - * Results, one per operation. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateRecommendationSubscriptionResult results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * Results, one per operation. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateRecommendationSubscriptionResult results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors) we return the RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionResult.php deleted file mode 100644 index f5fabe824..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateRecommendationSubscriptionResult.php +++ /dev/null @@ -1,120 +0,0 @@ -google.ads.googleads.v15.services.MutateRecommendationSubscriptionResult - */ -class MutateRecommendationSubscriptionResult extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of the subscription that was modified. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated recommendation subscription with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription recommendation_subscription = 2; - */ - protected $recommendation_subscription = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Resource name of the subscription that was modified. - * @type \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription $recommendation_subscription - * The mutated recommendation subscription with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionService::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of the subscription that was modified. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Resource name of the subscription that was modified. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated recommendation subscription with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription recommendation_subscription = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription|null - */ - public function getRecommendationSubscription() - { - return $this->recommendation_subscription; - } - - public function hasRecommendationSubscription() - { - return isset($this->recommendation_subscription); - } - - public function clearRecommendationSubscription() - { - unset($this->recommendation_subscription); - } - - /** - * The mutated recommendation subscription with only mutable fields after - * mutate. The field will only be returned when response_content_type is set - * to "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription recommendation_subscription = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription $var - * @return $this - */ - public function setRecommendationSubscription($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription::class); - $this->recommendation_subscription = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionResult.php deleted file mode 100644 index e63640f46..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateRemarketingActionResult - */ -class MutateRemarketingActionResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RemarketingActionService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionsRequest.php deleted file mode 100644 index d587a0486..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionsRequest.php +++ /dev/null @@ -1,211 +0,0 @@ -google.ads.googleads.v15.services.MutateRemarketingActionsRequest - */ -class MutateRemarketingActionsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose remarketing actions are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual remarketing - * actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.RemarketingActionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose remarketing actions are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\RemarketingActionOperation[] $operations Required. The list of operations to perform on individual remarketing - * actions. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose remarketing actions are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\RemarketingActionOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual remarketing - * actions. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RemarketingActionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose remarketing actions are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose remarketing actions are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual remarketing - * actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.RemarketingActionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual remarketing - * actions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.RemarketingActionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\RemarketingActionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\RemarketingActionOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionsResponse.php deleted file mode 100644 index e145dd727..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateRemarketingActionsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateRemarketingActionsResponse - */ -class MutateRemarketingActionsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateRemarketingActionResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RemarketingActionService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateRemarketingActionResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateRemarketingActionResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriteriaRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriteriaRequest.php deleted file mode 100644 index 3325358c9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriteriaRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateSharedCriteriaRequest - */ -class MutateSharedCriteriaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose shared criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual shared criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SharedCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose shared criteria are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\SharedCriterionOperation[] $operations Required. The list of operations to perform on individual shared criteria. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateSharedCriteriaRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose shared criteria are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\SharedCriterionOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual shared criteria. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SharedCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose shared criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose shared criteria are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual shared criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SharedCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual shared criteria. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SharedCriterionOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\SharedCriterionOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\SharedCriterionOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriteriaResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriteriaResponse.php deleted file mode 100644 index 94a89c997..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriteriaResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateSharedCriteriaResponse - */ -class MutateSharedCriteriaResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSharedCriterionResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateSharedCriterionResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SharedCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSharedCriterionResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSharedCriterionResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateSharedCriterionResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateSharedCriterionResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriterionResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriterionResult.php deleted file mode 100644 index 377aacf9d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedCriterionResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateSharedCriterionResult - */ -class MutateSharedCriterionResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated shared criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedCriterion shared_criterion = 2; - */ - protected $shared_criterion = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\SharedCriterion $shared_criterion - * The mutated shared criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SharedCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated shared criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedCriterion shared_criterion = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\SharedCriterion|null - */ - public function getSharedCriterion() - { - return $this->shared_criterion; - } - - public function hasSharedCriterion() - { - return isset($this->shared_criterion); - } - - public function clearSharedCriterion() - { - unset($this->shared_criterion); - } - - /** - * The mutated shared criterion with only mutable fields after mutate. The - * field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedCriterion shared_criterion = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\SharedCriterion $var - * @return $this - */ - public function setSharedCriterion($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SharedCriterion::class); - $this->shared_criterion = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetResult.php deleted file mode 100644 index 1108a9d4c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateSharedSetResult - */ -class MutateSharedSetResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated shared set with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet shared_set = 2; - */ - protected $shared_set = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\SharedSet $shared_set - * The mutated shared set with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SharedSetService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated shared set with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet shared_set = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\SharedSet|null - */ - public function getSharedSet() - { - return $this->shared_set; - } - - public function hasSharedSet() - { - return isset($this->shared_set); - } - - public function clearSharedSet() - { - unset($this->shared_set); - } - - /** - * The mutated shared set with only mutable fields after mutate. The field - * will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet shared_set = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\SharedSet $var - * @return $this - */ - public function setSharedSet($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SharedSet::class); - $this->shared_set = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetsRequest.php deleted file mode 100644 index ef8502cbd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetsRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.ads.googleads.v15.services.MutateSharedSetsRequest - */ -class MutateSharedSetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose shared sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual shared sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SharedSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose shared sets are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\SharedSetOperation[] $operations Required. The list of operations to perform on individual shared sets. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateSharedSetsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose shared sets are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\SharedSetOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual shared sets. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SharedSetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose shared sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose shared sets are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual shared sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SharedSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual shared sets. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SharedSetOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\SharedSetOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\SharedSetOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetsResponse.php deleted file mode 100644 index 97fe5c257..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSharedSetsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateSharedSetsResponse - */ -class MutateSharedSetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSharedSetResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateSharedSetResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SharedSetService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSharedSetResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSharedSetResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateSharedSetResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateSharedSetResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingResult.php deleted file mode 100644 index 4c82504e8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingResult.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.MutateSmartCampaignSettingResult - */ -class MutateSmartCampaignSettingResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * The mutated Smart campaign setting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting smart_campaign_setting = 2; - */ - protected $smart_campaign_setting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * @type \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting $smart_campaign_setting - * The mutated Smart campaign setting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * The mutated Smart campaign setting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting smart_campaign_setting = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting|null - */ - public function getSmartCampaignSetting() - { - return $this->smart_campaign_setting; - } - - public function hasSmartCampaignSetting() - { - return isset($this->smart_campaign_setting); - } - - public function clearSmartCampaignSetting() - { - unset($this->smart_campaign_setting); - } - - /** - * The mutated Smart campaign setting with only mutable fields after mutate. - * The field will only be returned when response_content_type is set to - * "MUTABLE_RESOURCE". - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting smart_campaign_setting = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting $var - * @return $this - */ - public function setSmartCampaignSetting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting::class); - $this->smart_campaign_setting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingsRequest.php deleted file mode 100644 index aa857d606..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingsRequest.php +++ /dev/null @@ -1,249 +0,0 @@ -google.ads.googleads.v15.services.MutateSmartCampaignSettingsRequest - */ -class MutateSmartCampaignSettingsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose Smart campaign settings are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual Smart campaign - * settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SmartCampaignSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - */ - protected $response_content_type = 0; - - /** - * @param string $customerId Required. The ID of the customer whose Smart campaign settings are being - * modified. - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingOperation[] $operations Required. The list of operations to perform on individual Smart campaign - * settings. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose Smart campaign settings are being - * modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual Smart campaign - * settings. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $response_content_type - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose Smart campaign settings are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose Smart campaign settings are being - * modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual Smart campaign - * settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SmartCampaignSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual Smart campaign - * settings. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SmartCampaignSettingOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @return int - */ - public function getResponseContentType() - { - return $this->response_content_type; - } - - /** - * The response content type setting. Determines whether the mutable resource - * or just the resource name should be returned post mutation. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - * @param int $var - * @return $this - */ - public function setResponseContentType($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ResponseContentTypeEnum\ResponseContentType::class); - $this->response_content_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingsResponse.php deleted file mode 100644 index e0ca6856e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateSmartCampaignSettingsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateSmartCampaignSettingsResponse - */ -class MutateSmartCampaignSettingsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSmartCampaignSettingResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSmartCampaignSettingResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateSmartCampaignSettingResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateUserListResult.php b/src/Google/Ads/GoogleAds/V15/Services/MutateUserListResult.php deleted file mode 100644 index ad31ab633..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateUserListResult.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.MutateUserListResult - */ -class MutateUserListResult extends \Google\Protobuf\Internal\Message -{ - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Returned for successful operations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\UserListService::initOnce(); - parent::__construct($data); - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Returned for successful operations. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateUserListsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/MutateUserListsRequest.php deleted file mode 100644 index 13aec2de2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateUserListsRequest.php +++ /dev/null @@ -1,201 +0,0 @@ -google.ads.googleads.v15.services.MutateUserListsRequest - */ -class MutateUserListsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose user lists are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to perform on individual user lists. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UserListOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer whose user lists are being modified. - * @param \Google\Ads\GoogleAds\V15\Services\UserListOperation[] $operations Required. The list of operations to perform on individual user lists. - * - * @return \Google\Ads\GoogleAds\V15\Services\MutateUserListsRequest - * - * @experimental - */ - public static function build(string $customerId, array $operations): self - { - return (new self()) - ->setCustomerId($customerId) - ->setOperations($operations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose user lists are being modified. - * @type array<\Google\Ads\GoogleAds\V15\Services\UserListOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to perform on individual user lists. - * @type bool $partial_failure - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\UserListService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose user lists are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose user lists are being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to perform on individual user lists. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UserListOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to perform on individual user lists. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UserListOperation operations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\UserListOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\UserListOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * Default is false. - * - * Generated from protobuf field bool partial_failure = 3; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/MutateUserListsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/MutateUserListsResponse.php deleted file mode 100644 index 1fb90e0f8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/MutateUserListsResponse.php +++ /dev/null @@ -1,123 +0,0 @@ -google.ads.googleads.v15.services.MutateUserListsResponse - */ -class MutateUserListsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - */ - protected $partial_failure_error = null; - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateUserListResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * @type array<\Google\Ads\GoogleAds\V15\Services\MutateUserListResult>|\Google\Protobuf\Internal\RepeatedField $results - * All results for the mutate. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\UserListService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to operation failures in the partial failure mode. - * Returned only when partial_failure = true and all errors occur inside the - * operations. If any errors occur outside the operations (for example, auth - * errors), we return an RPC level error. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 3; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateUserListResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * All results for the mutate. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.MutateUserListResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\MutateUserListResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\MutateUserListResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobOperation.php b/src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobOperation.php deleted file mode 100644 index 26b8407ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobOperation.php +++ /dev/null @@ -1,150 +0,0 @@ -google.ads.googleads.v15.services.OfflineUserDataJobOperation - */ -class OfflineUserDataJobOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\UserData $create - * Add the provided data to the transaction. Data cannot be retrieved after - * being uploaded. - * @type \Google\Ads\GoogleAds\V15\Common\UserData $remove - * Remove the provided data from the transaction. Data cannot be retrieved - * after being uploaded. - * @type bool $remove_all - * Remove all previously provided data. This is only supported for Customer - * Match. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobService::initOnce(); - parent::__construct($data); - } - - /** - * Add the provided data to the transaction. Data cannot be retrieved after - * being uploaded. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserData create = 1; - * @return \Google\Ads\GoogleAds\V15\Common\UserData|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Add the provided data to the transaction. Data cannot be retrieved after - * being uploaded. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserData create = 1; - * @param \Google\Ads\GoogleAds\V15\Common\UserData $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserData::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove the provided data from the transaction. Data cannot be retrieved - * after being uploaded. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserData remove = 2; - * @return \Google\Ads\GoogleAds\V15\Common\UserData|null - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * Remove the provided data from the transaction. Data cannot be retrieved - * after being uploaded. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserData remove = 2; - * @param \Google\Ads\GoogleAds\V15\Common\UserData $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserData::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove all previously provided data. This is only supported for Customer - * Match. - * - * Generated from protobuf field bool remove_all = 3; - * @return bool - */ - public function getRemoveAll() - { - return $this->readOneof(3); - } - - public function hasRemoveAll() - { - return $this->hasOneof(3); - } - - /** - * Remove all previously provided data. This is only supported for Customer - * Match. - * - * Generated from protobuf field bool remove_all = 3; - * @param bool $var - * @return $this - */ - public function setRemoveAll($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceClient.php deleted file mode 100644 index f9e5769ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.OfflineUserDataJobService/CreateOfflineUserDataJob', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\CreateOfflineUserDataJobResponse', 'decode'], - $metadata, $options); - } - - /** - * Adds operations to the offline user data job. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\AddOfflineUserDataJobOperationsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function AddOfflineUserDataJobOperations(\Google\Ads\GoogleAds\V15\Services\AddOfflineUserDataJobOperationsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.OfflineUserDataJobService/AddOfflineUserDataJobOperations', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\AddOfflineUserDataJobOperationsResponse', 'decode'], - $metadata, $options); - } - - /** - * Runs the offline user data job. - * - * When finished, the long running operation will contain the processing - * result or failure information, if any. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [DatabaseError]() - * [HeaderError]() - * [InternalError]() - * [OfflineUserDataJobError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\RunOfflineUserDataJobRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function RunOfflineUserDataJob(\Google\Ads\GoogleAds\V15\Services\RunOfflineUserDataJobRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.OfflineUserDataJobService/RunOfflineUserDataJob', - $argument, - ['\Google\LongRunning\Operation', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/OnTargetAudienceMetrics.php b/src/Google/Ads/GoogleAds/V15/Services/OnTargetAudienceMetrics.php deleted file mode 100644 index ab1669e91..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/OnTargetAudienceMetrics.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.services.OnTargetAudienceMetrics - */ -class OnTargetAudienceMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * Reference audience size matching the considered targeting for YouTube. - * - * Generated from protobuf field optional int64 youtube_audience_size = 3; - */ - protected $youtube_audience_size = null; - /** - * Reference audience size matching the considered targeting for Census. - * - * Generated from protobuf field optional int64 census_audience_size = 4; - */ - protected $census_audience_size = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $youtube_audience_size - * Reference audience size matching the considered targeting for YouTube. - * @type int|string $census_audience_size - * Reference audience size matching the considered targeting for Census. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Reference audience size matching the considered targeting for YouTube. - * - * Generated from protobuf field optional int64 youtube_audience_size = 3; - * @return int|string - */ - public function getYoutubeAudienceSize() - { - return isset($this->youtube_audience_size) ? $this->youtube_audience_size : 0; - } - - public function hasYoutubeAudienceSize() - { - return isset($this->youtube_audience_size); - } - - public function clearYoutubeAudienceSize() - { - unset($this->youtube_audience_size); - } - - /** - * Reference audience size matching the considered targeting for YouTube. - * - * Generated from protobuf field optional int64 youtube_audience_size = 3; - * @param int|string $var - * @return $this - */ - public function setYoutubeAudienceSize($var) - { - GPBUtil::checkInt64($var); - $this->youtube_audience_size = $var; - - return $this; - } - - /** - * Reference audience size matching the considered targeting for Census. - * - * Generated from protobuf field optional int64 census_audience_size = 4; - * @return int|string - */ - public function getCensusAudienceSize() - { - return isset($this->census_audience_size) ? $this->census_audience_size : 0; - } - - public function hasCensusAudienceSize() - { - return isset($this->census_audience_size); - } - - public function clearCensusAudienceSize() - { - unset($this->census_audience_size); - } - - /** - * Reference audience size matching the considered targeting for Census. - * - * Generated from protobuf field optional int64 census_audience_size = 4; - * @param int|string $var - * @return $this - */ - public function setCensusAudienceSize($var) - { - GPBUtil::checkInt64($var); - $this->census_audience_size = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceClient.php deleted file mode 100644 index f3500a591..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.PaymentsAccountService/ListPaymentsAccounts', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListPaymentsAccountsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/PlannableLocation.php b/src/Google/Ads/GoogleAds/V15/Services/PlannableLocation.php deleted file mode 100644 index 2ae8961ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PlannableLocation.php +++ /dev/null @@ -1,273 +0,0 @@ -google.ads.googleads.v15.services.PlannableLocation - */ -class PlannableLocation extends \Google\Protobuf\Internal\Message -{ - /** - * The location identifier. - * - * Generated from protobuf field optional string id = 4; - */ - protected $id = null; - /** - * The unique location name in English. - * - * Generated from protobuf field optional string name = 5; - */ - protected $name = null; - /** - * The parent country (not present if location is a country). - * If present, will always be a GeoTargetConstant ID. Additional information - * such as country name is provided by - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations] - * or GoogleAdsService.Search/SearchStream. - * - * Generated from protobuf field optional int64 parent_country_id = 6; - */ - protected $parent_country_id = null; - /** - * The ISO-3166-1 alpha-2 country code that is associated with the location. - * - * Generated from protobuf field optional string country_code = 7; - */ - protected $country_code = null; - /** - * The location's type. Location types correspond to target_type returned by - * searching location type in GoogleAdsService.Search/SearchStream. - * - * Generated from protobuf field optional string location_type = 8; - */ - protected $location_type = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $id - * The location identifier. - * @type string $name - * The unique location name in English. - * @type int|string $parent_country_id - * The parent country (not present if location is a country). - * If present, will always be a GeoTargetConstant ID. Additional information - * such as country name is provided by - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations] - * or GoogleAdsService.Search/SearchStream. - * @type string $country_code - * The ISO-3166-1 alpha-2 country code that is associated with the location. - * @type string $location_type - * The location's type. Location types correspond to target_type returned by - * searching location type in GoogleAdsService.Search/SearchStream. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The location identifier. - * - * Generated from protobuf field optional string id = 4; - * @return string - */ - public function getId() - { - return isset($this->id) ? $this->id : ''; - } - - public function hasId() - { - return isset($this->id); - } - - public function clearId() - { - unset($this->id); - } - - /** - * The location identifier. - * - * Generated from protobuf field optional string id = 4; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * The unique location name in English. - * - * Generated from protobuf field optional string name = 5; - * @return string - */ - public function getName() - { - return isset($this->name) ? $this->name : ''; - } - - public function hasName() - { - return isset($this->name); - } - - public function clearName() - { - unset($this->name); - } - - /** - * The unique location name in English. - * - * Generated from protobuf field optional string name = 5; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The parent country (not present if location is a country). - * If present, will always be a GeoTargetConstant ID. Additional information - * such as country name is provided by - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations] - * or GoogleAdsService.Search/SearchStream. - * - * Generated from protobuf field optional int64 parent_country_id = 6; - * @return int|string - */ - public function getParentCountryId() - { - return isset($this->parent_country_id) ? $this->parent_country_id : 0; - } - - public function hasParentCountryId() - { - return isset($this->parent_country_id); - } - - public function clearParentCountryId() - { - unset($this->parent_country_id); - } - - /** - * The parent country (not present if location is a country). - * If present, will always be a GeoTargetConstant ID. Additional information - * such as country name is provided by - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations] - * or GoogleAdsService.Search/SearchStream. - * - * Generated from protobuf field optional int64 parent_country_id = 6; - * @param int|string $var - * @return $this - */ - public function setParentCountryId($var) - { - GPBUtil::checkInt64($var); - $this->parent_country_id = $var; - - return $this; - } - - /** - * The ISO-3166-1 alpha-2 country code that is associated with the location. - * - * Generated from protobuf field optional string country_code = 7; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * The ISO-3166-1 alpha-2 country code that is associated with the location. - * - * Generated from protobuf field optional string country_code = 7; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * The location's type. Location types correspond to target_type returned by - * searching location type in GoogleAdsService.Search/SearchStream. - * - * Generated from protobuf field optional string location_type = 8; - * @return string - */ - public function getLocationType() - { - return isset($this->location_type) ? $this->location_type : ''; - } - - public function hasLocationType() - { - return isset($this->location_type); - } - - public function clearLocationType() - { - unset($this->location_type); - } - - /** - * The location's type. Location types correspond to target_type returned by - * searching location type in GoogleAdsService.Search/SearchStream. - * - * Generated from protobuf field optional string location_type = 8; - * @param string $var - * @return $this - */ - public function setLocationType($var) - { - GPBUtil::checkString($var, True); - $this->location_type = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/PlannableTargeting.php b/src/Google/Ads/GoogleAds/V15/Services/PlannableTargeting.php deleted file mode 100644 index 25f9937bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PlannableTargeting.php +++ /dev/null @@ -1,267 +0,0 @@ -google.ads.googleads.v15.services.PlannableTargeting - */ -class PlannableTargeting extends \Google\Protobuf\Internal\Message -{ - /** - * Allowed plannable age ranges for the product for which metrics will be - * reported. Actual targeting is computed by mapping this age range onto - * standard Google common.AgeRangeInfo values. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; - */ - private $age_ranges; - /** - * Targetable genders for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.GenderInfo genders = 2; - */ - private $genders; - /** - * Targetable devices for the ad product. - * TABLET device targeting is automatically applied to reported metrics - * when MOBILE targeting is selected for CPM_MASTHEAD, - * GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.DeviceInfo devices = 3; - */ - private $devices; - /** - * Targetable networks for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4; - */ - private $networks; - /** - * Targetable YouTube Select Lineups for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.YouTubeSelectLineUp youtube_select_lineups = 5; - */ - private $youtube_select_lineups; - /** - * Targetable surface combinations for the ad product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargetingCombinations surface_targeting = 6; - */ - protected $surface_targeting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $age_ranges - * Allowed plannable age ranges for the product for which metrics will be - * reported. Actual targeting is computed by mapping this age range onto - * standard Google common.AgeRangeInfo values. - * @type array<\Google\Ads\GoogleAds\V15\Common\GenderInfo>|\Google\Protobuf\Internal\RepeatedField $genders - * Targetable genders for the ad product. - * @type array<\Google\Ads\GoogleAds\V15\Common\DeviceInfo>|\Google\Protobuf\Internal\RepeatedField $devices - * Targetable devices for the ad product. - * TABLET device targeting is automatically applied to reported metrics - * when MOBILE targeting is selected for CPM_MASTHEAD, - * GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. - * @type array|\Google\Protobuf\Internal\RepeatedField $networks - * Targetable networks for the ad product. - * @type array<\Google\Ads\GoogleAds\V15\Services\YouTubeSelectLineUp>|\Google\Protobuf\Internal\RepeatedField $youtube_select_lineups - * Targetable YouTube Select Lineups for the ad product. - * @type \Google\Ads\GoogleAds\V15\Services\SurfaceTargetingCombinations $surface_targeting - * Targetable surface combinations for the ad product. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Allowed plannable age ranges for the product for which metrics will be - * reported. Actual targeting is computed by mapping this age range onto - * standard Google common.AgeRangeInfo values. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAgeRanges() - { - return $this->age_ranges; - } - - /** - * Allowed plannable age ranges for the product for which metrics will be - * reported. Actual targeting is computed by mapping this age range onto - * standard Google common.AgeRangeInfo values. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAgeRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\ReachPlanAgeRangeEnum\ReachPlanAgeRange::class); - $this->age_ranges = $arr; - - return $this; - } - - /** - * Targetable genders for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.GenderInfo genders = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGenders() - { - return $this->genders; - } - - /** - * Targetable genders for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.GenderInfo genders = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\GenderInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGenders($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\GenderInfo::class); - $this->genders = $arr; - - return $this; - } - - /** - * Targetable devices for the ad product. - * TABLET device targeting is automatically applied to reported metrics - * when MOBILE targeting is selected for CPM_MASTHEAD, - * GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.DeviceInfo devices = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDevices() - { - return $this->devices; - } - - /** - * Targetable devices for the ad product. - * TABLET device targeting is automatically applied to reported metrics - * when MOBILE targeting is selected for CPM_MASTHEAD, - * GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.DeviceInfo devices = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\DeviceInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDevices($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\DeviceInfo::class); - $this->devices = $arr; - - return $this; - } - - /** - * Targetable networks for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNetworks() - { - return $this->networks; - } - - /** - * Targetable networks for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNetworks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\ReachPlanNetworkEnum\ReachPlanNetwork::class); - $this->networks = $arr; - - return $this; - } - - /** - * Targetable YouTube Select Lineups for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.YouTubeSelectLineUp youtube_select_lineups = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getYoutubeSelectLineups() - { - return $this->youtube_select_lineups; - } - - /** - * Targetable YouTube Select Lineups for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.YouTubeSelectLineUp youtube_select_lineups = 5; - * @param array<\Google\Ads\GoogleAds\V15\Services\YouTubeSelectLineUp>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setYoutubeSelectLineups($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\YouTubeSelectLineUp::class); - $this->youtube_select_lineups = $arr; - - return $this; - } - - /** - * Targetable surface combinations for the ad product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargetingCombinations surface_targeting = 6; - * @return \Google\Ads\GoogleAds\V15\Services\SurfaceTargetingCombinations|null - */ - public function getSurfaceTargeting() - { - return $this->surface_targeting; - } - - public function hasSurfaceTargeting() - { - return isset($this->surface_targeting); - } - - public function clearSurfaceTargeting() - { - unset($this->surface_targeting); - } - - /** - * Targetable surface combinations for the ad product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargetingCombinations surface_targeting = 6; - * @param \Google\Ads\GoogleAds\V15\Services\SurfaceTargetingCombinations $var - * @return $this - */ - public function setSurfaceTargeting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SurfaceTargetingCombinations::class); - $this->surface_targeting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/PlannedProduct.php b/src/Google/Ads/GoogleAds/V15/Services/PlannedProduct.php deleted file mode 100644 index a4406c148..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PlannedProduct.php +++ /dev/null @@ -1,193 +0,0 @@ -google.ads.googleads.v15.services.PlannedProduct - */ -class PlannedProduct extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Selected product for planning. - * The code associated with the ad product (for example: Trueview, Bumper). - * To list the available plannable product codes use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field optional string plannable_product_code = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $plannable_product_code = null; - /** - * Required. Maximum budget allocation in micros for the selected product. - * The value is specified in the selected planning currency_code. - * For example: 1 000 000$ = 1 000 000 000 000 micros. - * - * Generated from protobuf field optional int64 budget_micros = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $budget_micros = null; - /** - * Targeting settings for the selected product. - * To list the available targeting for each product use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdvancedProductTargeting advanced_product_targeting = 5; - */ - protected $advanced_product_targeting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $plannable_product_code - * Required. Selected product for planning. - * The code associated with the ad product (for example: Trueview, Bumper). - * To list the available plannable product codes use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * @type int|string $budget_micros - * Required. Maximum budget allocation in micros for the selected product. - * The value is specified in the selected planning currency_code. - * For example: 1 000 000$ = 1 000 000 000 000 micros. - * @type \Google\Ads\GoogleAds\V15\Services\AdvancedProductTargeting $advanced_product_targeting - * Targeting settings for the selected product. - * To list the available targeting for each product use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Selected product for planning. - * The code associated with the ad product (for example: Trueview, Bumper). - * To list the available plannable product codes use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field optional string plannable_product_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPlannableProductCode() - { - return isset($this->plannable_product_code) ? $this->plannable_product_code : ''; - } - - public function hasPlannableProductCode() - { - return isset($this->plannable_product_code); - } - - public function clearPlannableProductCode() - { - unset($this->plannable_product_code); - } - - /** - * Required. Selected product for planning. - * The code associated with the ad product (for example: Trueview, Bumper). - * To list the available plannable product codes use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field optional string plannable_product_code = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPlannableProductCode($var) - { - GPBUtil::checkString($var, True); - $this->plannable_product_code = $var; - - return $this; - } - - /** - * Required. Maximum budget allocation in micros for the selected product. - * The value is specified in the selected planning currency_code. - * For example: 1 000 000$ = 1 000 000 000 000 micros. - * - * Generated from protobuf field optional int64 budget_micros = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return int|string - */ - public function getBudgetMicros() - { - return isset($this->budget_micros) ? $this->budget_micros : 0; - } - - public function hasBudgetMicros() - { - return isset($this->budget_micros); - } - - public function clearBudgetMicros() - { - unset($this->budget_micros); - } - - /** - * Required. Maximum budget allocation in micros for the selected product. - * The value is specified in the selected planning currency_code. - * For example: 1 000 000$ = 1 000 000 000 000 micros. - * - * Generated from protobuf field optional int64 budget_micros = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param int|string $var - * @return $this - */ - public function setBudgetMicros($var) - { - GPBUtil::checkInt64($var); - $this->budget_micros = $var; - - return $this; - } - - /** - * Targeting settings for the selected product. - * To list the available targeting for each product use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdvancedProductTargeting advanced_product_targeting = 5; - * @return \Google\Ads\GoogleAds\V15\Services\AdvancedProductTargeting|null - */ - public function getAdvancedProductTargeting() - { - return $this->advanced_product_targeting; - } - - public function hasAdvancedProductTargeting() - { - return isset($this->advanced_product_targeting); - } - - public function clearAdvancedProductTargeting() - { - unset($this->advanced_product_targeting); - } - - /** - * Targeting settings for the selected product. - * To list the available targeting for each product use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AdvancedProductTargeting advanced_product_targeting = 5; - * @param \Google\Ads\GoogleAds\V15\Services\AdvancedProductTargeting $var - * @return $this - */ - public function setAdvancedProductTargeting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AdvancedProductTargeting::class); - $this->advanced_product_targeting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/PlannedProductForecast.php b/src/Google/Ads/GoogleAds/V15/Services/PlannedProductForecast.php deleted file mode 100644 index 9ba0e1e44..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PlannedProductForecast.php +++ /dev/null @@ -1,577 +0,0 @@ -google.ads.googleads.v15.services.PlannedProductForecast - */ -class PlannedProductForecast extends \Google\Protobuf\Internal\Message -{ - /** - * Number of unique people reached that exactly matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 on_target_reach = 1; - */ - protected $on_target_reach = 0; - /** - * Number of unique people reached. This includes people that may fall - * outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 total_reach = 2; - */ - protected $total_reach = 0; - /** - * Number of ad impressions that exactly matches the Targeting. - * - * Generated from protobuf field int64 on_target_impressions = 3; - */ - protected $on_target_impressions = 0; - /** - * Total number of ad impressions. This includes impressions that may fall - * outside the specified Targeting, due to insufficient information on - * signed-in users. - * - * Generated from protobuf field int64 total_impressions = 4; - */ - protected $total_impressions = 0; - /** - * Number of times the ad's impressions were considered viewable. - * See https://support.google.com/google-ads/answer/7029393 for - * more information about what makes an ad viewable and how - * viewability is measured. - * - * Generated from protobuf field optional int64 viewable_impressions = 5; - */ - protected $viewable_impressions = null; - /** - * Number of unique people reached that exactly matches the Targeting - * including co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_reach = 6; - */ - protected $on_target_coview_reach = null; - /** - * Number of unique people reached including co-viewers. This includes - * people that may fall outside the specified Targeting. - * - * Generated from protobuf field optional int64 total_coview_reach = 7; - */ - protected $total_coview_reach = null; - /** - * Number of ad impressions that exactly matches the Targeting including - * co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_impressions = 8; - */ - protected $on_target_coview_impressions = null; - /** - * Total number of ad impressions including co-viewers. This includes - * impressions that may fall outside the specified Targeting, due to - * insufficient information on signed-in users. - * - * Generated from protobuf field optional int64 total_coview_impressions = 9; - */ - protected $total_coview_impressions = null; - /** - * The number of times per selected time unit a user will see an ad, averaged - * over the number of time units in the forecast length. This field will only - * be populated for a Target Frequency campaign. - * See https://support.google.com/google-ads/answer/12400225 for more - * information about Target Frequency campaigns. - * - * Generated from protobuf field optional double average_frequency = 10; - */ - protected $average_frequency = null; - /** - * Number of ad views forecasted for the specified product and targeting. - * A view is counted when a viewer views a larger portion or the entirety of - * an ad beyond an impression. - * See https://support.google.com/google-ads/answer/2375431 for - * more information on views. - * - * Generated from protobuf field optional int64 views = 11; - */ - protected $views = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $on_target_reach - * Number of unique people reached that exactly matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * @type int|string $total_reach - * Number of unique people reached. This includes people that may fall - * outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * @type int|string $on_target_impressions - * Number of ad impressions that exactly matches the Targeting. - * @type int|string $total_impressions - * Total number of ad impressions. This includes impressions that may fall - * outside the specified Targeting, due to insufficient information on - * signed-in users. - * @type int|string $viewable_impressions - * Number of times the ad's impressions were considered viewable. - * See https://support.google.com/google-ads/answer/7029393 for - * more information about what makes an ad viewable and how - * viewability is measured. - * @type int|string $on_target_coview_reach - * Number of unique people reached that exactly matches the Targeting - * including co-viewers. - * @type int|string $total_coview_reach - * Number of unique people reached including co-viewers. This includes - * people that may fall outside the specified Targeting. - * @type int|string $on_target_coview_impressions - * Number of ad impressions that exactly matches the Targeting including - * co-viewers. - * @type int|string $total_coview_impressions - * Total number of ad impressions including co-viewers. This includes - * impressions that may fall outside the specified Targeting, due to - * insufficient information on signed-in users. - * @type float $average_frequency - * The number of times per selected time unit a user will see an ad, averaged - * over the number of time units in the forecast length. This field will only - * be populated for a Target Frequency campaign. - * See https://support.google.com/google-ads/answer/12400225 for more - * information about Target Frequency campaigns. - * @type int|string $views - * Number of ad views forecasted for the specified product and targeting. - * A view is counted when a viewer views a larger portion or the entirety of - * an ad beyond an impression. - * See https://support.google.com/google-ads/answer/2375431 for - * more information on views. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Number of unique people reached that exactly matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 on_target_reach = 1; - * @return int|string - */ - public function getOnTargetReach() - { - return $this->on_target_reach; - } - - /** - * Number of unique people reached that exactly matches the Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the on_target_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 on_target_reach = 1; - * @param int|string $var - * @return $this - */ - public function setOnTargetReach($var) - { - GPBUtil::checkInt64($var); - $this->on_target_reach = $var; - - return $this; - } - - /** - * Number of unique people reached. This includes people that may fall - * outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 total_reach = 2; - * @return int|string - */ - public function getTotalReach() - { - return $this->total_reach; - } - - /** - * Number of unique people reached. This includes people that may fall - * outside the specified Targeting. - * Note that a minimum number of unique people must be reached in order for - * data to be reported. If the minimum number is not met, the total_reach - * value will be rounded to 0. - * - * Generated from protobuf field int64 total_reach = 2; - * @param int|string $var - * @return $this - */ - public function setTotalReach($var) - { - GPBUtil::checkInt64($var); - $this->total_reach = $var; - - return $this; - } - - /** - * Number of ad impressions that exactly matches the Targeting. - * - * Generated from protobuf field int64 on_target_impressions = 3; - * @return int|string - */ - public function getOnTargetImpressions() - { - return $this->on_target_impressions; - } - - /** - * Number of ad impressions that exactly matches the Targeting. - * - * Generated from protobuf field int64 on_target_impressions = 3; - * @param int|string $var - * @return $this - */ - public function setOnTargetImpressions($var) - { - GPBUtil::checkInt64($var); - $this->on_target_impressions = $var; - - return $this; - } - - /** - * Total number of ad impressions. This includes impressions that may fall - * outside the specified Targeting, due to insufficient information on - * signed-in users. - * - * Generated from protobuf field int64 total_impressions = 4; - * @return int|string - */ - public function getTotalImpressions() - { - return $this->total_impressions; - } - - /** - * Total number of ad impressions. This includes impressions that may fall - * outside the specified Targeting, due to insufficient information on - * signed-in users. - * - * Generated from protobuf field int64 total_impressions = 4; - * @param int|string $var - * @return $this - */ - public function setTotalImpressions($var) - { - GPBUtil::checkInt64($var); - $this->total_impressions = $var; - - return $this; - } - - /** - * Number of times the ad's impressions were considered viewable. - * See https://support.google.com/google-ads/answer/7029393 for - * more information about what makes an ad viewable and how - * viewability is measured. - * - * Generated from protobuf field optional int64 viewable_impressions = 5; - * @return int|string - */ - public function getViewableImpressions() - { - return isset($this->viewable_impressions) ? $this->viewable_impressions : 0; - } - - public function hasViewableImpressions() - { - return isset($this->viewable_impressions); - } - - public function clearViewableImpressions() - { - unset($this->viewable_impressions); - } - - /** - * Number of times the ad's impressions were considered viewable. - * See https://support.google.com/google-ads/answer/7029393 for - * more information about what makes an ad viewable and how - * viewability is measured. - * - * Generated from protobuf field optional int64 viewable_impressions = 5; - * @param int|string $var - * @return $this - */ - public function setViewableImpressions($var) - { - GPBUtil::checkInt64($var); - $this->viewable_impressions = $var; - - return $this; - } - - /** - * Number of unique people reached that exactly matches the Targeting - * including co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_reach = 6; - * @return int|string - */ - public function getOnTargetCoviewReach() - { - return isset($this->on_target_coview_reach) ? $this->on_target_coview_reach : 0; - } - - public function hasOnTargetCoviewReach() - { - return isset($this->on_target_coview_reach); - } - - public function clearOnTargetCoviewReach() - { - unset($this->on_target_coview_reach); - } - - /** - * Number of unique people reached that exactly matches the Targeting - * including co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_reach = 6; - * @param int|string $var - * @return $this - */ - public function setOnTargetCoviewReach($var) - { - GPBUtil::checkInt64($var); - $this->on_target_coview_reach = $var; - - return $this; - } - - /** - * Number of unique people reached including co-viewers. This includes - * people that may fall outside the specified Targeting. - * - * Generated from protobuf field optional int64 total_coview_reach = 7; - * @return int|string - */ - public function getTotalCoviewReach() - { - return isset($this->total_coview_reach) ? $this->total_coview_reach : 0; - } - - public function hasTotalCoviewReach() - { - return isset($this->total_coview_reach); - } - - public function clearTotalCoviewReach() - { - unset($this->total_coview_reach); - } - - /** - * Number of unique people reached including co-viewers. This includes - * people that may fall outside the specified Targeting. - * - * Generated from protobuf field optional int64 total_coview_reach = 7; - * @param int|string $var - * @return $this - */ - public function setTotalCoviewReach($var) - { - GPBUtil::checkInt64($var); - $this->total_coview_reach = $var; - - return $this; - } - - /** - * Number of ad impressions that exactly matches the Targeting including - * co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_impressions = 8; - * @return int|string - */ - public function getOnTargetCoviewImpressions() - { - return isset($this->on_target_coview_impressions) ? $this->on_target_coview_impressions : 0; - } - - public function hasOnTargetCoviewImpressions() - { - return isset($this->on_target_coview_impressions); - } - - public function clearOnTargetCoviewImpressions() - { - unset($this->on_target_coview_impressions); - } - - /** - * Number of ad impressions that exactly matches the Targeting including - * co-viewers. - * - * Generated from protobuf field optional int64 on_target_coview_impressions = 8; - * @param int|string $var - * @return $this - */ - public function setOnTargetCoviewImpressions($var) - { - GPBUtil::checkInt64($var); - $this->on_target_coview_impressions = $var; - - return $this; - } - - /** - * Total number of ad impressions including co-viewers. This includes - * impressions that may fall outside the specified Targeting, due to - * insufficient information on signed-in users. - * - * Generated from protobuf field optional int64 total_coview_impressions = 9; - * @return int|string - */ - public function getTotalCoviewImpressions() - { - return isset($this->total_coview_impressions) ? $this->total_coview_impressions : 0; - } - - public function hasTotalCoviewImpressions() - { - return isset($this->total_coview_impressions); - } - - public function clearTotalCoviewImpressions() - { - unset($this->total_coview_impressions); - } - - /** - * Total number of ad impressions including co-viewers. This includes - * impressions that may fall outside the specified Targeting, due to - * insufficient information on signed-in users. - * - * Generated from protobuf field optional int64 total_coview_impressions = 9; - * @param int|string $var - * @return $this - */ - public function setTotalCoviewImpressions($var) - { - GPBUtil::checkInt64($var); - $this->total_coview_impressions = $var; - - return $this; - } - - /** - * The number of times per selected time unit a user will see an ad, averaged - * over the number of time units in the forecast length. This field will only - * be populated for a Target Frequency campaign. - * See https://support.google.com/google-ads/answer/12400225 for more - * information about Target Frequency campaigns. - * - * Generated from protobuf field optional double average_frequency = 10; - * @return float - */ - public function getAverageFrequency() - { - return isset($this->average_frequency) ? $this->average_frequency : 0.0; - } - - public function hasAverageFrequency() - { - return isset($this->average_frequency); - } - - public function clearAverageFrequency() - { - unset($this->average_frequency); - } - - /** - * The number of times per selected time unit a user will see an ad, averaged - * over the number of time units in the forecast length. This field will only - * be populated for a Target Frequency campaign. - * See https://support.google.com/google-ads/answer/12400225 for more - * information about Target Frequency campaigns. - * - * Generated from protobuf field optional double average_frequency = 10; - * @param float $var - * @return $this - */ - public function setAverageFrequency($var) - { - GPBUtil::checkDouble($var); - $this->average_frequency = $var; - - return $this; - } - - /** - * Number of ad views forecasted for the specified product and targeting. - * A view is counted when a viewer views a larger portion or the entirety of - * an ad beyond an impression. - * See https://support.google.com/google-ads/answer/2375431 for - * more information on views. - * - * Generated from protobuf field optional int64 views = 11; - * @return int|string - */ - public function getViews() - { - return isset($this->views) ? $this->views : 0; - } - - public function hasViews() - { - return isset($this->views); - } - - public function clearViews() - { - unset($this->views); - } - - /** - * Number of ad views forecasted for the specified product and targeting. - * A view is counted when a viewer views a larger portion or the entirety of - * an ad beyond an impression. - * See https://support.google.com/google-ads/answer/2375431 for - * more information on views. - * - * Generated from protobuf field optional int64 views = 11; - * @param int|string $var - * @return $this - */ - public function setViews($var) - { - GPBUtil::checkInt64($var); - $this->views = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/PlannedProductReachForecast.php b/src/Google/Ads/GoogleAds/V15/Services/PlannedProductReachForecast.php deleted file mode 100644 index 25e92ae96..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PlannedProductReachForecast.php +++ /dev/null @@ -1,162 +0,0 @@ -google.ads.googleads.v15.services.PlannedProductReachForecast - */ -class PlannedProductReachForecast extends \Google\Protobuf\Internal\Message -{ - /** - * Selected product for planning. The product codes returned are within the - * set of the ones returned by ListPlannableProducts when using the same - * location ID. - * - * Generated from protobuf field string plannable_product_code = 1; - */ - protected $plannable_product_code = ''; - /** - * The cost in micros. This may differ from the product's input allocation - * if one or more planned products cannot fulfill the budget because of - * limited inventory. - * - * Generated from protobuf field int64 cost_micros = 2; - */ - protected $cost_micros = 0; - /** - * Forecasted traffic metrics for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.PlannedProductForecast planned_product_forecast = 3; - */ - protected $planned_product_forecast = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $plannable_product_code - * Selected product for planning. The product codes returned are within the - * set of the ones returned by ListPlannableProducts when using the same - * location ID. - * @type int|string $cost_micros - * The cost in micros. This may differ from the product's input allocation - * if one or more planned products cannot fulfill the budget because of - * limited inventory. - * @type \Google\Ads\GoogleAds\V15\Services\PlannedProductForecast $planned_product_forecast - * Forecasted traffic metrics for this product. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Selected product for planning. The product codes returned are within the - * set of the ones returned by ListPlannableProducts when using the same - * location ID. - * - * Generated from protobuf field string plannable_product_code = 1; - * @return string - */ - public function getPlannableProductCode() - { - return $this->plannable_product_code; - } - - /** - * Selected product for planning. The product codes returned are within the - * set of the ones returned by ListPlannableProducts when using the same - * location ID. - * - * Generated from protobuf field string plannable_product_code = 1; - * @param string $var - * @return $this - */ - public function setPlannableProductCode($var) - { - GPBUtil::checkString($var, True); - $this->plannable_product_code = $var; - - return $this; - } - - /** - * The cost in micros. This may differ from the product's input allocation - * if one or more planned products cannot fulfill the budget because of - * limited inventory. - * - * Generated from protobuf field int64 cost_micros = 2; - * @return int|string - */ - public function getCostMicros() - { - return $this->cost_micros; - } - - /** - * The cost in micros. This may differ from the product's input allocation - * if one or more planned products cannot fulfill the budget because of - * limited inventory. - * - * Generated from protobuf field int64 cost_micros = 2; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Forecasted traffic metrics for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.PlannedProductForecast planned_product_forecast = 3; - * @return \Google\Ads\GoogleAds\V15\Services\PlannedProductForecast|null - */ - public function getPlannedProductForecast() - { - return $this->planned_product_forecast; - } - - public function hasPlannedProductForecast() - { - return isset($this->planned_product_forecast); - } - - public function clearPlannedProductForecast() - { - unset($this->planned_product_forecast); - } - - /** - * Forecasted traffic metrics for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.PlannedProductForecast planned_product_forecast = 3; - * @param \Google\Ads\GoogleAds\V15\Services\PlannedProductForecast $var - * @return $this - */ - public function setPlannedProductForecast($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\PlannedProductForecast::class); - $this->planned_product_forecast = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceClient.php deleted file mode 100644 index 8f26fb0d1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ProductLinkInvitationService/UpdateProductLinkInvitation', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\UpdateProductLinkInvitationResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceClient.php deleted file mode 100644 index acf1acac1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ProductLinkService/CreateProductLink', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\CreateProductLinkResponse', 'decode'], - $metadata, $options); - } - - /** - * Removes a product link. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldMaskError]() - * [HeaderError]() - * [InternalError]() - * [MutateError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\RemoveProductLinkRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function RemoveProductLink(\Google\Ads\GoogleAds\V15\Services\RemoveProductLinkRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ProductLinkService/RemoveProductLink', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\RemoveProductLinkResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/ProductMetadata.php b/src/Google/Ads/GoogleAds/V15/Services/ProductMetadata.php deleted file mode 100644 index 59e6e2019..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ProductMetadata.php +++ /dev/null @@ -1,167 +0,0 @@ -google.ads.googleads.v15.services.ProductMetadata - */ -class ProductMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The code associated with the ad product (for example: BUMPER, - * TRUEVIEW_IN_STREAM). - * To list the available plannable product codes use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field optional string plannable_product_code = 4; - */ - protected $plannable_product_code = null; - /** - * The name associated with the ad product. - * - * Generated from protobuf field string plannable_product_name = 3; - */ - protected $plannable_product_name = ''; - /** - * The allowed plannable targeting for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.PlannableTargeting plannable_targeting = 2; - */ - protected $plannable_targeting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $plannable_product_code - * The code associated with the ad product (for example: BUMPER, - * TRUEVIEW_IN_STREAM). - * To list the available plannable product codes use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * @type string $plannable_product_name - * The name associated with the ad product. - * @type \Google\Ads\GoogleAds\V15\Services\PlannableTargeting $plannable_targeting - * The allowed plannable targeting for this product. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The code associated with the ad product (for example: BUMPER, - * TRUEVIEW_IN_STREAM). - * To list the available plannable product codes use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field optional string plannable_product_code = 4; - * @return string - */ - public function getPlannableProductCode() - { - return isset($this->plannable_product_code) ? $this->plannable_product_code : ''; - } - - public function hasPlannableProductCode() - { - return isset($this->plannable_product_code); - } - - public function clearPlannableProductCode() - { - unset($this->plannable_product_code); - } - - /** - * The code associated with the ad product (for example: BUMPER, - * TRUEVIEW_IN_STREAM). - * To list the available plannable product codes use - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field optional string plannable_product_code = 4; - * @param string $var - * @return $this - */ - public function setPlannableProductCode($var) - { - GPBUtil::checkString($var, True); - $this->plannable_product_code = $var; - - return $this; - } - - /** - * The name associated with the ad product. - * - * Generated from protobuf field string plannable_product_name = 3; - * @return string - */ - public function getPlannableProductName() - { - return $this->plannable_product_name; - } - - /** - * The name associated with the ad product. - * - * Generated from protobuf field string plannable_product_name = 3; - * @param string $var - * @return $this - */ - public function setPlannableProductName($var) - { - GPBUtil::checkString($var, True); - $this->plannable_product_name = $var; - - return $this; - } - - /** - * The allowed plannable targeting for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.PlannableTargeting plannable_targeting = 2; - * @return \Google\Ads\GoogleAds\V15\Services\PlannableTargeting|null - */ - public function getPlannableTargeting() - { - return $this->plannable_targeting; - } - - public function hasPlannableTargeting() - { - return isset($this->plannable_targeting); - } - - public function clearPlannableTargeting() - { - unset($this->plannable_targeting); - } - - /** - * The allowed plannable targeting for this product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.PlannableTargeting plannable_targeting = 2; - * @param \Google\Ads\GoogleAds\V15\Services\PlannableTargeting $var - * @return $this - */ - public function setPlannableTargeting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\PlannableTargeting::class); - $this->plannable_targeting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/PromoteCampaignDraftRequest.php b/src/Google/Ads/GoogleAds/V15/Services/PromoteCampaignDraftRequest.php deleted file mode 100644 index 72f0b377b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PromoteCampaignDraftRequest.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.PromoteCampaignDraftRequest - */ -class PromoteCampaignDraftRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the campaign draft to promote. - * - * Generated from protobuf field string campaign_draft = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $campaign_draft = ''; - /** - * If true, the request is validated but no Long Running Operation is created. - * Only errors are returned. - * - * Generated from protobuf field bool validate_only = 2; - */ - protected $validate_only = false; - - /** - * @param string $campaignDraft Required. The resource name of the campaign draft to promote. - * - * @return \Google\Ads\GoogleAds\V15\Services\PromoteCampaignDraftRequest - * - * @experimental - */ - public static function build(string $campaignDraft): self - { - return (new self()) - ->setCampaignDraft($campaignDraft); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $campaign_draft - * Required. The resource name of the campaign draft to promote. - * @type bool $validate_only - * If true, the request is validated but no Long Running Operation is created. - * Only errors are returned. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\CampaignDraftService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the campaign draft to promote. - * - * Generated from protobuf field string campaign_draft = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaignDraft() - { - return $this->campaign_draft; - } - - /** - * Required. The resource name of the campaign draft to promote. - * - * Generated from protobuf field string campaign_draft = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaignDraft($var) - { - GPBUtil::checkString($var, True); - $this->campaign_draft = $var; - - return $this; - } - - /** - * If true, the request is validated but no Long Running Operation is created. - * Only errors are returned. - * - * Generated from protobuf field bool validate_only = 2; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but no Long Running Operation is created. - * Only errors are returned. - * - * Generated from protobuf field bool validate_only = 2; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/PromoteExperimentMetadata.php b/src/Google/Ads/GoogleAds/V15/Services/PromoteExperimentMetadata.php deleted file mode 100644 index f68b29251..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PromoteExperimentMetadata.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.PromoteExperimentMetadata - */ -class PromoteExperimentMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The promoted experiment. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $experiment = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $experiment - * Required. The promoted experiment. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The promoted experiment. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getExperiment() - { - return $this->experiment; - } - - /** - * Required. The promoted experiment. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExperiment($var) - { - GPBUtil::checkString($var, True); - $this->experiment = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/PromoteExperimentRequest.php b/src/Google/Ads/GoogleAds/V15/Services/PromoteExperimentRequest.php deleted file mode 100644 index 0a3745205..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/PromoteExperimentRequest.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.PromoteExperimentRequest - */ -class PromoteExperimentRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the experiment to promote. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - */ - protected $validate_only = false; - - /** - * @param string $resourceName Required. The resource name of the experiment to promote. - * - * @return \Google\Ads\GoogleAds\V15\Services\PromoteExperimentRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the experiment to promote. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the experiment to promote. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the experiment to promote. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ReachCurve.php b/src/Google/Ads/GoogleAds/V15/Services/ReachCurve.php deleted file mode 100644 index cec55ea2e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ReachCurve.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.ReachCurve - */ -class ReachCurve extends \Google\Protobuf\Internal\Message -{ - /** - * All points on the reach curve. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ReachForecast reach_forecasts = 1; - */ - private $reach_forecasts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\ReachForecast>|\Google\Protobuf\Internal\RepeatedField $reach_forecasts - * All points on the reach curve. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * All points on the reach curve. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ReachForecast reach_forecasts = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getReachForecasts() - { - return $this->reach_forecasts; - } - - /** - * All points on the reach curve. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ReachForecast reach_forecasts = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\ReachForecast>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setReachForecasts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ReachForecast::class); - $this->reach_forecasts = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ReachForecast.php b/src/Google/Ads/GoogleAds/V15/Services/ReachForecast.php deleted file mode 100644 index 6ec2ebbbb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ReachForecast.php +++ /dev/null @@ -1,149 +0,0 @@ -google.ads.googleads.v15.services.ReachForecast - */ -class ReachForecast extends \Google\Protobuf\Internal\Message -{ - /** - * The cost in micros. - * - * Generated from protobuf field int64 cost_micros = 5; - */ - protected $cost_micros = 0; - /** - * Forecasted traffic metrics for this point. - * - * Generated from protobuf field .google.ads.googleads.v15.services.Forecast forecast = 2; - */ - protected $forecast = null; - /** - * The forecasted allocation and traffic metrics for each planned product - * at this point on the reach curve. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannedProductReachForecast planned_product_reach_forecasts = 4; - */ - private $planned_product_reach_forecasts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $cost_micros - * The cost in micros. - * @type \Google\Ads\GoogleAds\V15\Services\Forecast $forecast - * Forecasted traffic metrics for this point. - * @type array<\Google\Ads\GoogleAds\V15\Services\PlannedProductReachForecast>|\Google\Protobuf\Internal\RepeatedField $planned_product_reach_forecasts - * The forecasted allocation and traffic metrics for each planned product - * at this point on the reach curve. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The cost in micros. - * - * Generated from protobuf field int64 cost_micros = 5; - * @return int|string - */ - public function getCostMicros() - { - return $this->cost_micros; - } - - /** - * The cost in micros. - * - * Generated from protobuf field int64 cost_micros = 5; - * @param int|string $var - * @return $this - */ - public function setCostMicros($var) - { - GPBUtil::checkInt64($var); - $this->cost_micros = $var; - - return $this; - } - - /** - * Forecasted traffic metrics for this point. - * - * Generated from protobuf field .google.ads.googleads.v15.services.Forecast forecast = 2; - * @return \Google\Ads\GoogleAds\V15\Services\Forecast|null - */ - public function getForecast() - { - return $this->forecast; - } - - public function hasForecast() - { - return isset($this->forecast); - } - - public function clearForecast() - { - unset($this->forecast); - } - - /** - * Forecasted traffic metrics for this point. - * - * Generated from protobuf field .google.ads.googleads.v15.services.Forecast forecast = 2; - * @param \Google\Ads\GoogleAds\V15\Services\Forecast $var - * @return $this - */ - public function setForecast($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\Forecast::class); - $this->forecast = $var; - - return $this; - } - - /** - * The forecasted allocation and traffic metrics for each planned product - * at this point on the reach curve. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannedProductReachForecast planned_product_reach_forecasts = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPlannedProductReachForecasts() - { - return $this->planned_product_reach_forecasts; - } - - /** - * The forecasted allocation and traffic metrics for each planned product - * at this point on the reach curve. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.PlannedProductReachForecast planned_product_reach_forecasts = 4; - * @param array<\Google\Ads\GoogleAds\V15\Services\PlannedProductReachForecast>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPlannedProductReachForecasts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\PlannedProductReachForecast::class); - $this->planned_product_reach_forecasts = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceClient.php deleted file mode 100644 index 1b61a9edf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ReachPlanService/ListPlannableLocations', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListPlannableLocationsResponse', 'decode'], - $metadata, $options); - } - - /** - * Returns the list of per-location plannable YouTube ad formats with allowed - * targeting. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\ListPlannableProductsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function ListPlannableProducts(\Google\Ads\GoogleAds\V15\Services\ListPlannableProductsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ReachPlanService/ListPlannableProducts', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ListPlannableProductsResponse', 'decode'], - $metadata, $options); - } - - /** - * Generates a reach forecast for a given targeting / product mix. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [FieldError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RangeError]() - * [ReachPlanError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\GenerateReachForecastRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function GenerateReachForecast(\Google\Ads\GoogleAds\V15\Services\GenerateReachForecastRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.ReachPlanService/GenerateReachForecast', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GenerateReachForecastResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/RecommendationServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/RecommendationServiceClient.php deleted file mode 100644 index 3683ae089..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RecommendationServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.RecommendationService/ApplyRecommendation', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\ApplyRecommendationResponse', 'decode'], - $metadata, $options); - } - - /** - * Dismisses given recommendations. - * - * List of thrown errors: - * [AuthenticationError]() - * [AuthorizationError]() - * [HeaderError]() - * [InternalError]() - * [QuotaError]() - * [RecommendationError]() - * [RequestError]() - * @param \Google\Ads\GoogleAds\V15\Services\DismissRecommendationRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function DismissRecommendation(\Google\Ads\GoogleAds\V15\Services\DismissRecommendationRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.RecommendationService/DismissRecommendation', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\DismissRecommendationResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionOperation.php b/src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionOperation.php deleted file mode 100644 index b1bc666a9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionOperation.php +++ /dev/null @@ -1,160 +0,0 @@ -google.ads.googleads.v15.services.RecommendationSubscriptionOperation - */ -class RecommendationSubscriptionOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * @type \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription $create - * Create operation: No resource name is expected for the new subscription. - * @type \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription $update - * Update operation: The subscription is expected to have a valid - * resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RecommendationSubscriptionService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * Optional. FieldMask that determines which resource fields are modified in - * an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new subscription. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new subscription. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The subscription is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The subscription is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RecommendationSubscription update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\RecommendationSubscription::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceClient.php deleted file mode 100644 index 524e2a460..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.RecommendationSubscriptionService/MutateRecommendationSubscription', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/RegenerateShareableLinkIdRequest.php b/src/Google/Ads/GoogleAds/V15/Services/RegenerateShareableLinkIdRequest.php deleted file mode 100644 index c05b1eab5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RegenerateShareableLinkIdRequest.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.RegenerateShareableLinkIdRequest - */ -class RegenerateShareableLinkIdRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Resource name of the third party app analytics link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Resource name of the third party app analytics link. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ThirdPartyAppAnalyticsLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Resource name of the third party app analytics link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Resource name of the third party app analytics link. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/RegenerateShareableLinkIdResponse.php b/src/Google/Ads/GoogleAds/V15/Services/RegenerateShareableLinkIdResponse.php deleted file mode 100644 index 7f20fd559..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RegenerateShareableLinkIdResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -google.ads.googleads.v15.services.RegenerateShareableLinkIdResponse - */ -class RegenerateShareableLinkIdResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ThirdPartyAppAnalyticsLinkService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/RemarketingActionOperation.php b/src/Google/Ads/GoogleAds/V15/Services/RemarketingActionOperation.php deleted file mode 100644 index 23f9d6fdd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RemarketingActionOperation.php +++ /dev/null @@ -1,158 +0,0 @@ -google.ads.googleads.v15.services.RemarketingActionOperation - */ -class RemarketingActionOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\RemarketingAction $create - * Create operation: No resource name is expected for the new remarketing - * action. - * @type \Google\Ads\GoogleAds\V15\Resources\RemarketingAction $update - * Update operation: The remarketing action is expected to have a valid - * resource name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\RemarketingActionService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new remarketing - * action. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingAction create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\RemarketingAction|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new remarketing - * action. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingAction create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\RemarketingAction $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\RemarketingAction::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The remarketing action is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingAction update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\RemarketingAction|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The remarketing action is expected to have a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.RemarketingAction update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\RemarketingAction $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\RemarketingAction::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceClient.php deleted file mode 100644 index 181b423e1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.RemarketingActionService/MutateRemarketingActions', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/RemoveProductLinkRequest.php b/src/Google/Ads/GoogleAds/V15/Services/RemoveProductLinkRequest.php deleted file mode 100644 index 7e5e57413..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RemoveProductLinkRequest.php +++ /dev/null @@ -1,166 +0,0 @@ -google.ads.googleads.v15.services.RemoveProductLinkRequest - */ -class RemoveProductLinkRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. Remove operation: A resource name for the product link to remove - * is expected, in this format: - * `customers/{customer_id}/productLinks/{product_link_id} ` - * - * Generated from protobuf field string resource_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer being modified. - * @param string $resourceName Required. Remove operation: A resource name for the product link to remove - * is expected, in this format: - * - * `customers/{customer_id}/productLinks/{product_link_id} ` - * - * @return \Google\Ads\GoogleAds\V15\Services\RemoveProductLinkRequest - * - * @experimental - */ - public static function build(string $customerId, string $resourceName): self - { - return (new self()) - ->setCustomerId($customerId) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer being modified. - * @type string $resource_name - * Required. Remove operation: A resource name for the product link to remove - * is expected, in this format: - * `customers/{customer_id}/productLinks/{product_link_id} ` - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ProductLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. Remove operation: A resource name for the product link to remove - * is expected, in this format: - * `customers/{customer_id}/productLinks/{product_link_id} ` - * - * Generated from protobuf field string resource_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. Remove operation: A resource name for the product link to remove - * is expected, in this format: - * `customers/{customer_id}/productLinks/{product_link_id} ` - * - * Generated from protobuf field string resource_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 3; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/RemoveProductLinkResponse.php b/src/Google/Ads/GoogleAds/V15/Services/RemoveProductLinkResponse.php deleted file mode 100644 index cf3e5ab20..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RemoveProductLinkResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.RemoveProductLinkResponse - */ -class RemoveProductLinkResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Result for the remove request. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Result for the remove request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ProductLinkService::initOnce(); - parent::__construct($data); - } - - /** - * Result for the remove request. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Result for the remove request. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/RestatementValue.php b/src/Google/Ads/GoogleAds/V15/Services/RestatementValue.php deleted file mode 100644 index d77f3a534..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RestatementValue.php +++ /dev/null @@ -1,157 +0,0 @@ -google.ads.googleads.v15.services.RestatementValue - */ -class RestatementValue extends \Google\Protobuf\Internal\Message -{ - /** - * The restated conversion value. This is the value of the conversion after - * restatement. For example, to change the value of a conversion from 100 to - * 70, an adjusted value of 70 should be reported. - * NOTE: If you want to upload a second restatement with a different adjusted - * value, it must have a new, more recent, adjustment occurrence time. - * Otherwise, it will be treated as a duplicate of the previous restatement - * and ignored. - * - * Generated from protobuf field optional double adjusted_value = 3; - */ - protected $adjusted_value = null; - /** - * The currency of the restated value. If not provided, then the default - * currency from the conversion action is used, and if that is not set then - * the account currency is used. This is the ISO 4217 3-character currency - * code for example, USD or EUR. - * - * Generated from protobuf field optional string currency_code = 4; - */ - protected $currency_code = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $adjusted_value - * The restated conversion value. This is the value of the conversion after - * restatement. For example, to change the value of a conversion from 100 to - * 70, an adjusted value of 70 should be reported. - * NOTE: If you want to upload a second restatement with a different adjusted - * value, it must have a new, more recent, adjustment occurrence time. - * Otherwise, it will be treated as a duplicate of the previous restatement - * and ignored. - * @type string $currency_code - * The currency of the restated value. If not provided, then the default - * currency from the conversion action is used, and if that is not set then - * the account currency is used. This is the ISO 4217 3-character currency - * code for example, USD or EUR. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadService::initOnce(); - parent::__construct($data); - } - - /** - * The restated conversion value. This is the value of the conversion after - * restatement. For example, to change the value of a conversion from 100 to - * 70, an adjusted value of 70 should be reported. - * NOTE: If you want to upload a second restatement with a different adjusted - * value, it must have a new, more recent, adjustment occurrence time. - * Otherwise, it will be treated as a duplicate of the previous restatement - * and ignored. - * - * Generated from protobuf field optional double adjusted_value = 3; - * @return float - */ - public function getAdjustedValue() - { - return isset($this->adjusted_value) ? $this->adjusted_value : 0.0; - } - - public function hasAdjustedValue() - { - return isset($this->adjusted_value); - } - - public function clearAdjustedValue() - { - unset($this->adjusted_value); - } - - /** - * The restated conversion value. This is the value of the conversion after - * restatement. For example, to change the value of a conversion from 100 to - * 70, an adjusted value of 70 should be reported. - * NOTE: If you want to upload a second restatement with a different adjusted - * value, it must have a new, more recent, adjustment occurrence time. - * Otherwise, it will be treated as a duplicate of the previous restatement - * and ignored. - * - * Generated from protobuf field optional double adjusted_value = 3; - * @param float $var - * @return $this - */ - public function setAdjustedValue($var) - { - GPBUtil::checkDouble($var); - $this->adjusted_value = $var; - - return $this; - } - - /** - * The currency of the restated value. If not provided, then the default - * currency from the conversion action is used, and if that is not set then - * the account currency is used. This is the ISO 4217 3-character currency - * code for example, USD or EUR. - * - * Generated from protobuf field optional string currency_code = 4; - * @return string - */ - public function getCurrencyCode() - { - return isset($this->currency_code) ? $this->currency_code : ''; - } - - public function hasCurrencyCode() - { - return isset($this->currency_code); - } - - public function clearCurrencyCode() - { - unset($this->currency_code); - } - - /** - * The currency of the restated value. If not provided, then the default - * currency from the conversion action is used, and if that is not set then - * the account currency is used. This is the ISO 4217 3-character currency - * code for example, USD or EUR. - * - * Generated from protobuf field optional string currency_code = 4; - * @param string $var - * @return $this - */ - public function setCurrencyCode($var) - { - GPBUtil::checkString($var, True); - $this->currency_code = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/RunBatchJobRequest.php b/src/Google/Ads/GoogleAds/V15/Services/RunBatchJobRequest.php deleted file mode 100644 index f935c0761..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RunBatchJobRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.services.RunBatchJobRequest - */ -class RunBatchJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the BatchJob to run. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * @param string $resourceName Required. The resource name of the BatchJob to run. - * - * @return \Google\Ads\GoogleAds\V15\Services\RunBatchJobRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the BatchJob to run. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BatchJobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the BatchJob to run. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the BatchJob to run. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/RunOfflineUserDataJobRequest.php b/src/Google/Ads/GoogleAds/V15/Services/RunOfflineUserDataJobRequest.php deleted file mode 100644 index 969484cc6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/RunOfflineUserDataJobRequest.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.RunOfflineUserDataJobRequest - */ -class RunOfflineUserDataJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the OfflineUserDataJob to run. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - */ - protected $validate_only = false; - - /** - * @param string $resourceName Required. The resource name of the OfflineUserDataJob to run. - * - * @return \Google\Ads\GoogleAds\V15\Services\RunOfflineUserDataJobRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The resource name of the OfflineUserDataJob to run. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\OfflineUserDataJobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the OfflineUserDataJob to run. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The resource name of the OfflineUserDataJob to run. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ScheduleExperimentMetadata.php b/src/Google/Ads/GoogleAds/V15/Services/ScheduleExperimentMetadata.php deleted file mode 100644 index f301b9637..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ScheduleExperimentMetadata.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.ScheduleExperimentMetadata - */ -class ScheduleExperimentMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The scheduled experiment. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $experiment = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $experiment - * Required. The scheduled experiment. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The scheduled experiment. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getExperiment() - { - return $this->experiment; - } - - /** - * Required. The scheduled experiment. - * - * Generated from protobuf field string experiment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExperiment($var) - { - GPBUtil::checkString($var, True); - $this->experiment = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ScheduleExperimentRequest.php b/src/Google/Ads/GoogleAds/V15/Services/ScheduleExperimentRequest.php deleted file mode 100644 index 455572e82..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ScheduleExperimentRequest.php +++ /dev/null @@ -1,119 +0,0 @@ -google.ads.googleads.v15.services.ScheduleExperimentRequest - */ -class ScheduleExperimentRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The scheduled experiment. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - */ - protected $validate_only = false; - - /** - * @param string $resourceName Required. The scheduled experiment. - * - * @return \Google\Ads\GoogleAds\V15\Services\ScheduleExperimentRequest - * - * @experimental - */ - public static function build(string $resourceName): self - { - return (new self()) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Required. The scheduled experiment. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ExperimentService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The scheduled experiment. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. The scheduled experiment. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 2; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsFieldsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsFieldsRequest.php deleted file mode 100644 index af8d89a1e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsFieldsRequest.php +++ /dev/null @@ -1,165 +0,0 @@ -google.ads.googleads.v15.services.SearchGoogleAdsFieldsRequest - */ -class SearchGoogleAdsFieldsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The query string. - * - * Generated from protobuf field string query = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $query = ''; - /** - * Token of the page to retrieve. If not specified, the first page of - * results will be returned. Use the value obtained from `next_page_token` - * in the previous response in order to request the next page of results. - * - * Generated from protobuf field string page_token = 2; - */ - protected $page_token = ''; - /** - * Number of elements to retrieve in a single page. - * When too large a page is requested, the server may decide to further - * limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - */ - protected $page_size = 0; - - /** - * @param string $query Required. The query string. - * - * @return \Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsFieldsRequest - * - * @experimental - */ - public static function build(string $query): self - { - return (new self()) - ->setQuery($query); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $query - * Required. The query string. - * @type string $page_token - * Token of the page to retrieve. If not specified, the first page of - * results will be returned. Use the value obtained from `next_page_token` - * in the previous response in order to request the next page of results. - * @type int $page_size - * Number of elements to retrieve in a single page. - * When too large a page is requested, the server may decide to further - * limit the number of returned resources. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsFieldService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The query string. - * - * Generated from protobuf field string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getQuery() - { - return $this->query; - } - - /** - * Required. The query string. - * - * Generated from protobuf field string query = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setQuery($var) - { - GPBUtil::checkString($var, True); - $this->query = $var; - - return $this; - } - - /** - * Token of the page to retrieve. If not specified, the first page of - * results will be returned. Use the value obtained from `next_page_token` - * in the previous response in order to request the next page of results. - * - * Generated from protobuf field string page_token = 2; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Token of the page to retrieve. If not specified, the first page of - * results will be returned. Use the value obtained from `next_page_token` - * in the previous response in order to request the next page of results. - * - * Generated from protobuf field string page_token = 2; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Number of elements to retrieve in a single page. - * When too large a page is requested, the server may decide to further - * limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Number of elements to retrieve in a single page. - * When too large a page is requested, the server may decide to further - * limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 3; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsFieldsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsFieldsResponse.php deleted file mode 100644 index c6694c03c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsFieldsResponse.php +++ /dev/null @@ -1,144 +0,0 @@ -google.ads.googleads.v15.services.SearchGoogleAdsFieldsResponse - */ -class SearchGoogleAdsFieldsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The list of fields that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GoogleAdsField results = 1; - */ - private $results; - /** - * Pagination token used to retrieve the next page of results. Pass the - * content of this string as the `page_token` attribute of the next request. - * `next_page_token` is not returned for the last page. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - /** - * Total number of results that match the query ignoring the LIMIT clause. - * - * Generated from protobuf field int64 total_results_count = 3; - */ - protected $total_results_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\GoogleAdsField>|\Google\Protobuf\Internal\RepeatedField $results - * The list of fields that matched the query. - * @type string $next_page_token - * Pagination token used to retrieve the next page of results. Pass the - * content of this string as the `page_token` attribute of the next request. - * `next_page_token` is not returned for the last page. - * @type int|string $total_results_count - * Total number of results that match the query ignoring the LIMIT clause. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsFieldService::initOnce(); - parent::__construct($data); - } - - /** - * The list of fields that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GoogleAdsField results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * The list of fields that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.GoogleAdsField results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Resources\GoogleAdsField>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\GoogleAdsField::class); - $this->results = $arr; - - return $this; - } - - /** - * Pagination token used to retrieve the next page of results. Pass the - * content of this string as the `page_token` attribute of the next request. - * `next_page_token` is not returned for the last page. - * - * Generated from protobuf field string next_page_token = 2; - * @return string - */ - public function getNextPageToken() - { - return $this->next_page_token; - } - - /** - * Pagination token used to retrieve the next page of results. Pass the - * content of this string as the `page_token` attribute of the next request. - * `next_page_token` is not returned for the last page. - * - * Generated from protobuf field string next_page_token = 2; - * @param string $var - * @return $this - */ - public function setNextPageToken($var) - { - GPBUtil::checkString($var, True); - $this->next_page_token = $var; - - return $this; - } - - /** - * Total number of results that match the query ignoring the LIMIT clause. - * - * Generated from protobuf field int64 total_results_count = 3; - * @return int|string - */ - public function getTotalResultsCount() - { - return $this->total_results_count; - } - - /** - * Total number of results that match the query ignoring the LIMIT clause. - * - * Generated from protobuf field int64 total_results_count = 3; - * @param int|string $var - * @return $this - */ - public function setTotalResultsCount($var) - { - GPBUtil::checkInt64($var); - $this->total_results_count = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsRequest.php deleted file mode 100644 index 77a807020..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsRequest.php +++ /dev/null @@ -1,323 +0,0 @@ -google.ads.googleads.v15.services.SearchGoogleAdsRequest - */ -class SearchGoogleAdsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer being queried. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The query string. - * - * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $query = ''; - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 3; - */ - protected $page_token = ''; - /** - * Number of elements to retrieve in a single page. - * When too large a page is requested, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 4; - */ - protected $page_size = 0; - /** - * If true, the request is validated but not executed. - * - * Generated from protobuf field bool validate_only = 5; - */ - protected $validate_only = false; - /** - * If true, the total number of results that match the query ignoring the - * LIMIT clause will be included in the response. - * Default is false. - * - * Generated from protobuf field bool return_total_results_count = 7; - */ - protected $return_total_results_count = false; - /** - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; - */ - protected $summary_row_setting = 0; - - /** - * @param string $customerId Required. The ID of the customer being queried. - * @param string $query Required. The query string. - * - * @return \Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsRequest - * - * @experimental - */ - public static function build(string $customerId, string $query): self - { - return (new self()) - ->setCustomerId($customerId) - ->setQuery($query); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer being queried. - * @type string $query - * Required. The query string. - * @type string $page_token - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * @type int $page_size - * Number of elements to retrieve in a single page. - * When too large a page is requested, the server may decide to - * further limit the number of returned resources. - * @type bool $validate_only - * If true, the request is validated but not executed. - * @type bool $return_total_results_count - * If true, the total number of results that match the query ignoring the - * LIMIT clause will be included in the response. - * Default is false. - * @type int $summary_row_setting - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer being queried. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer being queried. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The query string. - * - * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getQuery() - { - return $this->query; - } - - /** - * Required. The query string. - * - * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setQuery($var) - { - GPBUtil::checkString($var, True); - $this->query = $var; - - return $this; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 3; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * Token of the page to retrieve. If not specified, the first - * page of results will be returned. Use the value obtained from - * `next_page_token` in the previous response in order to request - * the next page of results. - * - * Generated from protobuf field string page_token = 3; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Number of elements to retrieve in a single page. - * When too large a page is requested, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 4; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * Number of elements to retrieve in a single page. - * When too large a page is requested, the server may decide to - * further limit the number of returned resources. - * - * Generated from protobuf field int32 page_size = 4; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. - * - * Generated from protobuf field bool validate_only = 5; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. - * - * Generated from protobuf field bool validate_only = 5; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * If true, the total number of results that match the query ignoring the - * LIMIT clause will be included in the response. - * Default is false. - * - * Generated from protobuf field bool return_total_results_count = 7; - * @return bool - */ - public function getReturnTotalResultsCount() - { - return $this->return_total_results_count; - } - - /** - * If true, the total number of results that match the query ignoring the - * LIMIT clause will be included in the response. - * Default is false. - * - * Generated from protobuf field bool return_total_results_count = 7; - * @param bool $var - * @return $this - */ - public function setReturnTotalResultsCount($var) - { - GPBUtil::checkBool($var); - $this->return_total_results_count = $var; - - return $this; - } - - /** - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; - * @return int - */ - public function getSummaryRowSetting() - { - return $this->summary_row_setting; - } - - /** - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; - * @param int $var - * @return $this - */ - public function setSummaryRowSetting($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SummaryRowSettingEnum\SummaryRowSetting::class); - $this->summary_row_setting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsResponse.php deleted file mode 100644 index 502baf4ba..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsResponse.php +++ /dev/null @@ -1,282 +0,0 @@ -google.ads.googleads.v15.services.SearchGoogleAdsResponse - */ -class SearchGoogleAdsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GoogleAdsRow results = 1; - */ - private $results; - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - /** - * Total number of results that match the query ignoring the LIMIT - * clause. - * - * Generated from protobuf field int64 total_results_count = 3; - */ - protected $total_results_count = 0; - /** - * FieldMask that represents what fields were requested by the user. - * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 5; - */ - protected $field_mask = null; - /** - * Summary row that contains summary of metrics in results. - * Summary of metrics means aggregation of metrics across all results, - * here aggregation could be sum, average, rate, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GoogleAdsRow summary_row = 6; - */ - protected $summary_row = null; - /** - * The amount of resources consumed to serve the query. - * - * Generated from protobuf field int64 query_resource_consumption = 8; - */ - protected $query_resource_consumption = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\GoogleAdsRow>|\Google\Protobuf\Internal\RepeatedField $results - * The list of rows that matched the query. - * @type string $next_page_token - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * @type int|string $total_results_count - * Total number of results that match the query ignoring the LIMIT - * clause. - * @type \Google\Protobuf\FieldMask $field_mask - * FieldMask that represents what fields were requested by the user. - * @type \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow $summary_row - * Summary row that contains summary of metrics in results. - * Summary of metrics means aggregation of metrics across all results, - * here aggregation could be sum, average, rate, etc. - * @type int|string $query_resource_consumption - * The amount of resources consumed to serve the query. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GoogleAdsRow results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GoogleAdsRow results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\GoogleAdsRow>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow::class); - $this->results = $arr; - - return $this; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - * @return string - */ - public function getNextPageToken() - { - return $this->next_page_token; - } - - /** - * Pagination token used to retrieve the next page of results. - * Pass the content of this string as the `page_token` attribute of - * the next request. `next_page_token` is not returned for the last - * page. - * - * Generated from protobuf field string next_page_token = 2; - * @param string $var - * @return $this - */ - public function setNextPageToken($var) - { - GPBUtil::checkString($var, True); - $this->next_page_token = $var; - - return $this; - } - - /** - * Total number of results that match the query ignoring the LIMIT - * clause. - * - * Generated from protobuf field int64 total_results_count = 3; - * @return int|string - */ - public function getTotalResultsCount() - { - return $this->total_results_count; - } - - /** - * Total number of results that match the query ignoring the LIMIT - * clause. - * - * Generated from protobuf field int64 total_results_count = 3; - * @param int|string $var - * @return $this - */ - public function setTotalResultsCount($var) - { - GPBUtil::checkInt64($var); - $this->total_results_count = $var; - - return $this; - } - - /** - * FieldMask that represents what fields were requested by the user. - * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 5; - * @return \Google\Protobuf\FieldMask|null - */ - public function getFieldMask() - { - return $this->field_mask; - } - - public function hasFieldMask() - { - return isset($this->field_mask); - } - - public function clearFieldMask() - { - unset($this->field_mask); - } - - /** - * FieldMask that represents what fields were requested by the user. - * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 5; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setFieldMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->field_mask = $var; - - return $this; - } - - /** - * Summary row that contains summary of metrics in results. - * Summary of metrics means aggregation of metrics across all results, - * here aggregation could be sum, average, rate, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GoogleAdsRow summary_row = 6; - * @return \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow|null - */ - public function getSummaryRow() - { - return $this->summary_row; - } - - public function hasSummaryRow() - { - return isset($this->summary_row); - } - - public function clearSummaryRow() - { - unset($this->summary_row); - } - - /** - * Summary row that contains summary of metrics in results. - * Summary of metrics means aggregation of metrics across all results, - * here aggregation could be sum, average, rate, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GoogleAdsRow summary_row = 6; - * @param \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow $var - * @return $this - */ - public function setSummaryRow($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow::class); - $this->summary_row = $var; - - return $this; - } - - /** - * The amount of resources consumed to serve the query. - * - * Generated from protobuf field int64 query_resource_consumption = 8; - * @return int|string - */ - public function getQueryResourceConsumption() - { - return $this->query_resource_consumption; - } - - /** - * The amount of resources consumed to serve the query. - * - * Generated from protobuf field int64 query_resource_consumption = 8; - * @param int|string $var - * @return $this - */ - public function setQueryResourceConsumption($var) - { - GPBUtil::checkInt64($var); - $this->query_resource_consumption = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsStreamRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsStreamRequest.php deleted file mode 100644 index ff8d235c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsStreamRequest.php +++ /dev/null @@ -1,159 +0,0 @@ -google.ads.googleads.v15.services.SearchGoogleAdsStreamRequest - */ -class SearchGoogleAdsStreamRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer being queried. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The query string. - * - * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $query = ''; - /** - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; - */ - protected $summary_row_setting = 0; - - /** - * @param string $customerId Required. The ID of the customer being queried. - * @param string $query Required. The query string. - * - * @return \Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsStreamRequest - * - * @experimental - */ - public static function build(string $customerId, string $query): self - { - return (new self()) - ->setCustomerId($customerId) - ->setQuery($query); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer being queried. - * @type string $query - * Required. The query string. - * @type int $summary_row_setting - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer being queried. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer being queried. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The query string. - * - * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getQuery() - { - return $this->query; - } - - /** - * Required. The query string. - * - * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setQuery($var) - { - GPBUtil::checkString($var, True); - $this->query = $var; - - return $this; - } - - /** - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; - * @return int - */ - public function getSummaryRowSetting() - { - return $this->summary_row_setting; - } - - /** - * Determines whether a summary row will be returned. By default, summary row - * is not returned. If requested, the summary row will be sent in a response - * by itself after all other query results are returned. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; - * @param int $var - * @return $this - */ - public function setSummaryRowSetting($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SummaryRowSettingEnum\SummaryRowSetting::class); - $this->summary_row_setting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsStreamResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsStreamResponse.php deleted file mode 100644 index a1c31a179..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SearchGoogleAdsStreamResponse.php +++ /dev/null @@ -1,232 +0,0 @@ -google.ads.googleads.v15.services.SearchGoogleAdsStreamResponse - */ -class SearchGoogleAdsStreamResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GoogleAdsRow results = 1; - */ - private $results; - /** - * FieldMask that represents what fields were requested by the user. - * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 2; - */ - protected $field_mask = null; - /** - * Summary row that contains summary of metrics in results. - * Summary of metrics means aggregation of metrics across all results, - * here aggregation could be sum, average, rate, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GoogleAdsRow summary_row = 3; - */ - protected $summary_row = null; - /** - * The unique id of the request that is used for debugging purposes. - * - * Generated from protobuf field string request_id = 4; - */ - protected $request_id = ''; - /** - * The amount of resources consumed to serve the query. - * - * Generated from protobuf field int64 query_resource_consumption = 6; - */ - protected $query_resource_consumption = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\GoogleAdsRow>|\Google\Protobuf\Internal\RepeatedField $results - * The list of rows that matched the query. - * @type \Google\Protobuf\FieldMask $field_mask - * FieldMask that represents what fields were requested by the user. - * @type \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow $summary_row - * Summary row that contains summary of metrics in results. - * Summary of metrics means aggregation of metrics across all results, - * here aggregation could be sum, average, rate, etc. - * @type string $request_id - * The unique id of the request that is used for debugging purposes. - * @type int|string $query_resource_consumption - * The amount of resources consumed to serve the query. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GoogleAdsService::initOnce(); - parent::__construct($data); - } - - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GoogleAdsRow results = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * The list of rows that matched the query. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GoogleAdsRow results = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\GoogleAdsRow>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow::class); - $this->results = $arr; - - return $this; - } - - /** - * FieldMask that represents what fields were requested by the user. - * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getFieldMask() - { - return $this->field_mask; - } - - public function hasFieldMask() - { - return isset($this->field_mask); - } - - public function clearFieldMask() - { - unset($this->field_mask); - } - - /** - * FieldMask that represents what fields were requested by the user. - * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setFieldMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->field_mask = $var; - - return $this; - } - - /** - * Summary row that contains summary of metrics in results. - * Summary of metrics means aggregation of metrics across all results, - * here aggregation could be sum, average, rate, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GoogleAdsRow summary_row = 3; - * @return \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow|null - */ - public function getSummaryRow() - { - return $this->summary_row; - } - - public function hasSummaryRow() - { - return isset($this->summary_row); - } - - public function clearSummaryRow() - { - unset($this->summary_row); - } - - /** - * Summary row that contains summary of metrics in results. - * Summary of metrics means aggregation of metrics across all results, - * here aggregation could be sum, average, rate, etc. - * - * Generated from protobuf field .google.ads.googleads.v15.services.GoogleAdsRow summary_row = 3; - * @param \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow $var - * @return $this - */ - public function setSummaryRow($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\GoogleAdsRow::class); - $this->summary_row = $var; - - return $this; - } - - /** - * The unique id of the request that is used for debugging purposes. - * - * Generated from protobuf field string request_id = 4; - * @return string - */ - public function getRequestId() - { - return $this->request_id; - } - - /** - * The unique id of the request that is used for debugging purposes. - * - * Generated from protobuf field string request_id = 4; - * @param string $var - * @return $this - */ - public function setRequestId($var) - { - GPBUtil::checkString($var, True); - $this->request_id = $var; - - return $this; - } - - /** - * The amount of resources consumed to serve the query. - * - * Generated from protobuf field int64 query_resource_consumption = 6; - * @return int|string - */ - public function getQueryResourceConsumption() - { - return $this->query_resource_consumption; - } - - /** - * The amount of resources consumed to serve the query. - * - * Generated from protobuf field int64 query_resource_consumption = 6; - * @param int|string $var - * @return $this - */ - public function setQueryResourceConsumption($var) - { - GPBUtil::checkInt64($var); - $this->query_resource_consumption = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SharedCriterionOperation.php b/src/Google/Ads/GoogleAds/V15/Services/SharedCriterionOperation.php deleted file mode 100644 index 3b48a0806..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SharedCriterionOperation.php +++ /dev/null @@ -1,117 +0,0 @@ -google.ads.googleads.v15.services.SharedCriterionOperation - */ -class SharedCriterionOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\SharedCriterion $create - * Create operation: No resource name is expected for the new shared - * criterion. - * @type string $remove - * Remove operation: A resource name for the removed shared criterion is - * expected, in this format: - * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SharedCriterionService::initOnce(); - parent::__construct($data); - } - - /** - * Create operation: No resource name is expected for the new shared - * criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedCriterion create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\SharedCriterion|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new shared - * criterion. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedCriterion create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\SharedCriterion $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SharedCriterion::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed shared criterion is - * expected, in this format: - * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed shared criterion is - * expected, in this format: - * `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceClient.php deleted file mode 100644 index f1ab2fcc6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.SharedCriterionService/MutateSharedCriteria', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateSharedCriteriaResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/SharedSetOperation.php b/src/Google/Ads/GoogleAds/V15/Services/SharedSetOperation.php deleted file mode 100644 index 6064046a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SharedSetOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.SharedSetOperation - */ -class SharedSetOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\SharedSet $create - * Create operation: No resource name is expected for the new shared set. - * @type \Google\Ads\GoogleAds\V15\Resources\SharedSet $update - * Update operation: The shared set is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed shared set is expected, - * in this format: - * `customers/{customer_id}/sharedSets/{shared_set_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SharedSetService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new shared set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\SharedSet|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new shared set. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\SharedSet $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SharedSet::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The shared set is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\SharedSet|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The shared set is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SharedSet update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\SharedSet $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SharedSet::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed shared set is expected, - * in this format: - * `customers/{customer_id}/sharedSets/{shared_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed shared set is expected, - * in this format: - * `customers/{customer_id}/sharedSets/{shared_set_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SharedSetServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/SharedSetServiceClient.php deleted file mode 100644 index 697426d7d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SharedSetServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.SharedSetService/MutateSharedSets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateSharedSetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/SiteSeed.php b/src/Google/Ads/GoogleAds/V15/Services/SiteSeed.php deleted file mode 100644 index 277e0d586..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SiteSeed.php +++ /dev/null @@ -1,81 +0,0 @@ -google.ads.googleads.v15.services.SiteSeed - */ -class SiteSeed extends \Google\Protobuf\Internal\Message -{ - /** - * The domain name of the site. If the customer requesting the ideas doesn't - * own the site provided only public information is returned. - * - * Generated from protobuf field optional string site = 2; - */ - protected $site = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $site - * The domain name of the site. If the customer requesting the ideas doesn't - * own the site provided only public information is returned. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The domain name of the site. If the customer requesting the ideas doesn't - * own the site provided only public information is returned. - * - * Generated from protobuf field optional string site = 2; - * @return string - */ - public function getSite() - { - return isset($this->site) ? $this->site : ''; - } - - public function hasSite() - { - return isset($this->site); - } - - public function clearSite() - { - unset($this->site); - } - - /** - * The domain name of the site. If the customer requesting the ideas doesn't - * own the site provided only public information is returned. - * - * Generated from protobuf field optional string site = 2; - * @param string $var - * @return $this - */ - public function setSite($var) - { - GPBUtil::checkString($var, True); - $this->site = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignEligibleDetails.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignEligibleDetails.php deleted file mode 100644 index c5fdb50aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignEligibleDetails.php +++ /dev/null @@ -1,141 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignEligibleDetails - */ -class SmartCampaignEligibleDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The timestamp of the last impression observed in the last 48 hours for this - * campaign. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string last_impression_date_time = 1; - */ - protected $last_impression_date_time = null; - /** - * The timestamp of when the campaign will end, if applicable. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string end_date_time = 2; - */ - protected $end_date_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $last_impression_date_time - * The timestamp of the last impression observed in the last 48 hours for this - * campaign. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * @type string $end_date_time - * The timestamp of when the campaign will end, if applicable. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * The timestamp of the last impression observed in the last 48 hours for this - * campaign. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string last_impression_date_time = 1; - * @return string - */ - public function getLastImpressionDateTime() - { - return isset($this->last_impression_date_time) ? $this->last_impression_date_time : ''; - } - - public function hasLastImpressionDateTime() - { - return isset($this->last_impression_date_time); - } - - public function clearLastImpressionDateTime() - { - unset($this->last_impression_date_time); - } - - /** - * The timestamp of the last impression observed in the last 48 hours for this - * campaign. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string last_impression_date_time = 1; - * @param string $var - * @return $this - */ - public function setLastImpressionDateTime($var) - { - GPBUtil::checkString($var, True); - $this->last_impression_date_time = $var; - - return $this; - } - - /** - * The timestamp of when the campaign will end, if applicable. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string end_date_time = 2; - * @return string - */ - public function getEndDateTime() - { - return isset($this->end_date_time) ? $this->end_date_time : ''; - } - - public function hasEndDateTime() - { - return isset($this->end_date_time); - } - - public function clearEndDateTime() - { - unset($this->end_date_time); - } - - /** - * The timestamp of when the campaign will end, if applicable. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string end_date_time = 2; - * @param string $var - * @return $this - */ - public function setEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->end_date_time = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignEndedDetails.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignEndedDetails.php deleted file mode 100644 index f6b7019dd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignEndedDetails.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignEndedDetails - */ -class SmartCampaignEndedDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The timestamp of when the campaign ended. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string end_date_time = 1; - */ - protected $end_date_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $end_date_time - * The timestamp of when the campaign ended. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * The timestamp of when the campaign ended. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string end_date_time = 1; - * @return string - */ - public function getEndDateTime() - { - return isset($this->end_date_time) ? $this->end_date_time : ''; - } - - public function hasEndDateTime() - { - return isset($this->end_date_time); - } - - public function clearEndDateTime() - { - unset($this->end_date_time); - } - - /** - * The timestamp of when the campaign ended. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string end_date_time = 1; - * @param string $var - * @return $this - */ - public function setEndDateTime($var) - { - GPBUtil::checkString($var, True); - $this->end_date_time = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignNotEligibleDetails.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignNotEligibleDetails.php deleted file mode 100644 index c9bbe6b47..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignNotEligibleDetails.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignNotEligibleDetails - */ -class SmartCampaignNotEligibleDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The reason why the Smart campaign is not eligible to serve. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason not_eligible_reason = 1; - */ - protected $not_eligible_reason = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $not_eligible_reason - * The reason why the Smart campaign is not eligible to serve. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * The reason why the Smart campaign is not eligible to serve. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason not_eligible_reason = 1; - * @return int - */ - public function getNotEligibleReason() - { - return isset($this->not_eligible_reason) ? $this->not_eligible_reason : 0; - } - - public function hasNotEligibleReason() - { - return isset($this->not_eligible_reason); - } - - public function clearNotEligibleReason() - { - unset($this->not_eligible_reason); - } - - /** - * The reason why the Smart campaign is not eligible to serve. - * - * Generated from protobuf field optional .google.ads.googleads.v15.enums.SmartCampaignNotEligibleReasonEnum.SmartCampaignNotEligibleReason not_eligible_reason = 1; - * @param int $var - * @return $this - */ - public function setNotEligibleReason($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\SmartCampaignNotEligibleReasonEnum\SmartCampaignNotEligibleReason::class); - $this->not_eligible_reason = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignPausedDetails.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignPausedDetails.php deleted file mode 100644 index be76e2b05..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignPausedDetails.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignPausedDetails - */ -class SmartCampaignPausedDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The timestamp of when the campaign was last paused. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string paused_date_time = 1; - */ - protected $paused_date_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $paused_date_time - * The timestamp of when the campaign was last paused. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * The timestamp of when the campaign was last paused. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string paused_date_time = 1; - * @return string - */ - public function getPausedDateTime() - { - return isset($this->paused_date_time) ? $this->paused_date_time : ''; - } - - public function hasPausedDateTime() - { - return isset($this->paused_date_time); - } - - public function clearPausedDateTime() - { - unset($this->paused_date_time); - } - - /** - * The timestamp of when the campaign was last paused. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string paused_date_time = 1; - * @param string $var - * @return $this - */ - public function setPausedDateTime($var) - { - GPBUtil::checkString($var, True); - $this->paused_date_time = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignRemovedDetails.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignRemovedDetails.php deleted file mode 100644 index 9c36a20f2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignRemovedDetails.php +++ /dev/null @@ -1,85 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignRemovedDetails - */ -class SmartCampaignRemovedDetails extends \Google\Protobuf\Internal\Message -{ - /** - * The timestamp of when the campaign was removed. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string removed_date_time = 1; - */ - protected $removed_date_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $removed_date_time - * The timestamp of when the campaign was removed. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * The timestamp of when the campaign was removed. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string removed_date_time = 1; - * @return string - */ - public function getRemovedDateTime() - { - return isset($this->removed_date_time) ? $this->removed_date_time : ''; - } - - public function hasRemovedDateTime() - { - return isset($this->removed_date_time); - } - - public function clearRemovedDateTime() - { - unset($this->removed_date_time); - } - - /** - * The timestamp of when the campaign was removed. - * The timestamp is in the customer’s timezone and in - * “yyyy-MM-dd HH:mm:ss†format. - * - * Generated from protobuf field optional string removed_date_time = 1; - * @param string $var - * @return $this - */ - public function setRemovedDateTime($var) - { - GPBUtil::checkString($var, True); - $this->removed_date_time = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingOperation.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingOperation.php deleted file mode 100644 index 797784fd8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingOperation.php +++ /dev/null @@ -1,125 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignSettingOperation - */ -class SmartCampaignSettingOperation extends \Google\Protobuf\Internal\Message -{ - /** - * Update operation: The Smart campaign setting must specify a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting update = 1; - */ - protected $update = null; - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - */ - protected $update_mask = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting $update - * Update operation: The Smart campaign setting must specify a valid - * resource name. - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSettingService::initOnce(); - parent::__construct($data); - } - - /** - * Update operation: The Smart campaign setting must specify a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting update = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting|null - */ - public function getUpdate() - { - return $this->update; - } - - public function hasUpdate() - { - return isset($this->update); - } - - public function clearUpdate() - { - unset($this->update); - } - - /** - * Update operation: The Smart campaign setting must specify a valid - * resource name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.SmartCampaignSetting update = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\SmartCampaignSetting::class); - $this->update = $var; - - return $this; - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceClient.php deleted file mode 100644 index f035b51aa..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.SmartCampaignSettingService/GetSmartCampaignStatus', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\GetSmartCampaignStatusResponse', 'decode'], - $metadata, $options); - } - - /** - * Updates Smart campaign settings for campaigns. - * @param \Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingsRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function MutateSmartCampaignSettings(\Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingsRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.SmartCampaignSettingService/MutateSmartCampaignSettings', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceClient.php deleted file mode 100644 index 4363f0072..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestSmartCampaignBudgetOptions', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse', 'decode'], - $metadata, $options); - } - - /** - * Suggests a Smart campaign ad compatible with the Ad family of resources, - * based on data points such as targeting and the business to advertise. - * @param \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignAdRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function SuggestSmartCampaignAd(\Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignAdRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestSmartCampaignAd', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignAdResponse', 'decode'], - $metadata, $options); - } - - /** - * Suggests keyword themes to advertise on. - * @param \Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesRequest $argument input argument - * @param array $metadata metadata - * @param array $options call options - * @return \Grpc\UnaryCall - */ - public function SuggestKeywordThemes(\Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesRequest $argument, - $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestKeywordThemes', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo.php deleted file mode 100644 index 763603097..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo.php +++ /dev/null @@ -1,346 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignSuggestionInfo - */ -class SmartCampaignSuggestionInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. Landing page URL of the campaign. - * - * Generated from protobuf field string final_url = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $final_url = ''; - /** - * Optional. The two letter advertising language for the Smart campaign to be - * constructed, default to 'en' if not set. - * - * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $language_code = ''; - /** - * Optional. The business ad schedule. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $ad_schedules; - /** - * Optional. Smart campaign keyword themes. This field may greatly improve - * suggestion accuracy and we recommend always setting it if possible. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $keyword_themes; - protected $business_setting; - protected $geo_target; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $final_url - * Optional. Landing page URL of the campaign. - * @type string $language_code - * Optional. The two letter advertising language for the Smart campaign to be - * constructed, default to 'en' if not set. - * @type array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $ad_schedules - * Optional. The business ad schedule. - * @type array<\Google\Ads\GoogleAds\V15\Common\KeywordThemeInfo>|\Google\Protobuf\Internal\RepeatedField $keyword_themes - * Optional. Smart campaign keyword themes. This field may greatly improve - * suggestion accuracy and we recommend always setting it if possible. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo\BusinessContext $business_context - * Optional. Context describing the business to advertise. - * @type string $business_profile_location - * Optional. The resource name of a Business Profile location. - * Business Profile location resource names can be fetched through the - * Business Profile API and adhere to the following format: - * `locations/{locationId}`. - * See the [Business Profile API] - * (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - * for additional details. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo\LocationList $location_list - * Optional. The targeting geo location by locations. - * @type \Google\Ads\GoogleAds\V15\Common\ProximityInfo $proximity - * Optional. The targeting geo location by proximity. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Landing page URL of the campaign. - * - * Generated from protobuf field string final_url = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getFinalUrl() - { - return $this->final_url; - } - - /** - * Optional. Landing page URL of the campaign. - * - * Generated from protobuf field string final_url = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setFinalUrl($var) - { - GPBUtil::checkString($var, True); - $this->final_url = $var; - - return $this; - } - - /** - * Optional. The two letter advertising language for the Smart campaign to be - * constructed, default to 'en' if not set. - * - * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * Optional. The two letter advertising language for the Smart campaign to be - * constructed, default to 'en' if not set. - * - * Generated from protobuf field string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * Optional. The business ad schedule. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAdSchedules() - { - return $this->ad_schedules; - } - - /** - * Optional. The business ad schedule. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AdScheduleInfo ad_schedules = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Ads\GoogleAds\V15\Common\AdScheduleInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAdSchedules($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AdScheduleInfo::class); - $this->ad_schedules = $arr; - - return $this; - } - - /** - * Optional. Smart campaign keyword themes. This field may greatly improve - * suggestion accuracy and we recommend always setting it if possible. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeywordThemes() - { - return $this->keyword_themes; - } - - /** - * Optional. Smart campaign keyword themes. This field may greatly improve - * suggestion accuracy and we recommend always setting it if possible. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.KeywordThemeInfo keyword_themes = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Ads\GoogleAds\V15\Common\KeywordThemeInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeywordThemes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\KeywordThemeInfo::class); - $this->keyword_themes = $arr; - - return $this; - } - - /** - * Optional. Context describing the business to advertise. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo\BusinessContext|null - */ - public function getBusinessContext() - { - return $this->readOneof(8); - } - - public function hasBusinessContext() - { - return $this->hasOneof(8); - } - - /** - * Optional. Context describing the business to advertise. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo.BusinessContext business_context = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo\BusinessContext $var - * @return $this - */ - public function setBusinessContext($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo\BusinessContext::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Optional. The resource name of a Business Profile location. - * Business Profile location resource names can be fetched through the - * Business Profile API and adhere to the following format: - * `locations/{locationId}`. - * See the [Business Profile API] - * (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - * for additional details. - * - * Generated from protobuf field string business_profile_location = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getBusinessProfileLocation() - { - return $this->readOneof(9); - } - - public function hasBusinessProfileLocation() - { - return $this->hasOneof(9); - } - - /** - * Optional. The resource name of a Business Profile location. - * Business Profile location resource names can be fetched through the - * Business Profile API and adhere to the following format: - * `locations/{locationId}`. - * See the [Business Profile API] - * (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - * for additional details. - * - * Generated from protobuf field string business_profile_location = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setBusinessProfileLocation($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Optional. The targeting geo location by locations. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo\LocationList|null - */ - public function getLocationList() - { - return $this->readOneof(4); - } - - public function hasLocationList() - { - return $this->hasOneof(4); - } - - /** - * Optional. The targeting geo location by locations. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo.LocationList location_list = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo\LocationList $var - * @return $this - */ - public function setLocationList($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo\LocationList::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Optional. The targeting geo location by proximity. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Ads\GoogleAds\V15\Common\ProximityInfo|null - */ - public function getProximity() - { - return $this->readOneof(5); - } - - public function hasProximity() - { - return $this->hasOneof(5); - } - - /** - * Optional. The targeting geo location by proximity. - * - * Generated from protobuf field .google.ads.googleads.v15.common.ProximityInfo proximity = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Ads\GoogleAds\V15\Common\ProximityInfo $var - * @return $this - */ - public function setProximity($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\ProximityInfo::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * @return string - */ - public function getBusinessSetting() - { - return $this->whichOneof("business_setting"); - } - - /** - * @return string - */ - public function getGeoTarget() - { - return $this->whichOneof("geo_target"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo/BusinessContext.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo/BusinessContext.php deleted file mode 100644 index 877f9967d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo/BusinessContext.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignSuggestionInfo.BusinessContext - */ -class BusinessContext extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. The name of the business. - * - * Generated from protobuf field string business_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $business_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $business_name - * Optional. The name of the business. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. The name of the business. - * - * Generated from protobuf field string business_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getBusinessName() - { - return $this->business_name; - } - - /** - * Optional. The name of the business. - * - * Generated from protobuf field string business_name = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setBusinessName($var) - { - GPBUtil::checkString($var, True); - $this->business_name = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BusinessContext::class, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo_BusinessContext::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo/LocationList.php b/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo/LocationList.php deleted file mode 100644 index 8c28f012c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestionInfo/LocationList.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.SmartCampaignSuggestionInfo.LocationList - */ -class LocationList extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Locations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $locations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $locations - * Required. Locations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Locations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLocations() - { - return $this->locations; - } - - /** - * Required. Locations. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Common\LocationInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLocations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\LocationInfo::class); - $this->locations = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocationList::class, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo_LocationList::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestBrandsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestBrandsRequest.php deleted file mode 100644 index b3f5b4378..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestBrandsRequest.php +++ /dev/null @@ -1,170 +0,0 @@ -google.ads.googleads.v15.services.SuggestBrandsRequest - */ -class SuggestBrandsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer onto which to apply the brand suggestion - * operation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The prefix of a brand name. - * - * Generated from protobuf field optional string brand_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $brand_prefix = null; - /** - * Optional. Ids of the brands already selected by advertisers. They will be - * excluded in response. These are expected to be brand ids not brand names. - * - * Generated from protobuf field repeated string selected_brands = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $selected_brands; - - /** - * @param string $customerId Required. The ID of the customer onto which to apply the brand suggestion - * operation. - * @param string $brandPrefix Required. The prefix of a brand name. - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestBrandsRequest - * - * @experimental - */ - public static function build(string $customerId, string $brandPrefix): self - { - return (new self()) - ->setCustomerId($customerId) - ->setBrandPrefix($brandPrefix); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer onto which to apply the brand suggestion - * operation. - * @type string $brand_prefix - * Required. The prefix of a brand name. - * @type array|\Google\Protobuf\Internal\RepeatedField $selected_brands - * Optional. Ids of the brands already selected by advertisers. They will be - * excluded in response. These are expected to be brand ids not brand names. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BrandSuggestionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer onto which to apply the brand suggestion - * operation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer onto which to apply the brand suggestion - * operation. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The prefix of a brand name. - * - * Generated from protobuf field optional string brand_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getBrandPrefix() - { - return isset($this->brand_prefix) ? $this->brand_prefix : ''; - } - - public function hasBrandPrefix() - { - return isset($this->brand_prefix); - } - - public function clearBrandPrefix() - { - unset($this->brand_prefix); - } - - /** - * Required. The prefix of a brand name. - * - * Generated from protobuf field optional string brand_prefix = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setBrandPrefix($var) - { - GPBUtil::checkString($var, True); - $this->brand_prefix = $var; - - return $this; - } - - /** - * Optional. Ids of the brands already selected by advertisers. They will be - * excluded in response. These are expected to be brand ids not brand names. - * - * Generated from protobuf field repeated string selected_brands = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSelectedBrands() - { - return $this->selected_brands; - } - - /** - * Optional. Ids of the brands already selected by advertisers. They will be - * excluded in response. These are expected to be brand ids not brand names. - * - * Generated from protobuf field repeated string selected_brands = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSelectedBrands($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->selected_brands = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestBrandsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestBrandsResponse.php deleted file mode 100644 index 46e58bd02..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestBrandsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.SuggestBrandsResponse - */ -class SuggestBrandsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Generated brand suggestions of verified brands for the given prefix. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BrandSuggestion brands = 1; - */ - private $brands; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\BrandSuggestion>|\Google\Protobuf\Internal\RepeatedField $brands - * Generated brand suggestions of verified brands for the given prefix. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\BrandSuggestionService::initOnce(); - parent::__construct($data); - } - - /** - * Generated brand suggestions of verified brands for the given prefix. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BrandSuggestion brands = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBrands() - { - return $this->brands; - } - - /** - * Generated brand suggestions of verified brands for the given prefix. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.BrandSuggestion brands = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\BrandSuggestion>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBrands($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\BrandSuggestion::class); - $this->brands = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest.php deleted file mode 100644 index d525c07d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest.php +++ /dev/null @@ -1,205 +0,0 @@ -google.ads.googleads.v15.services.SuggestGeoTargetConstantsRequest - */ -class SuggestGeoTargetConstantsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * If possible, returned geo targets are translated using this locale. If not, - * en is used by default. This is also used as a hint for returned geo - * targets. - * - * Generated from protobuf field optional string locale = 6; - */ - protected $locale = null; - /** - * Returned geo targets are restricted to this country code. - * - * Generated from protobuf field optional string country_code = 7; - */ - protected $country_code = null; - protected $query; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $locale - * If possible, returned geo targets are translated using this locale. If not, - * en is used by default. This is also used as a hint for returned geo - * targets. - * @type string $country_code - * Returned geo targets are restricted to this country code. - * @type \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest\LocationNames $location_names - * The location names to search by. At most 25 names can be set. - * @type \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest\GeoTargets $geo_targets - * The geo target constant resource names to filter by. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantService::initOnce(); - parent::__construct($data); - } - - /** - * If possible, returned geo targets are translated using this locale. If not, - * en is used by default. This is also used as a hint for returned geo - * targets. - * - * Generated from protobuf field optional string locale = 6; - * @return string - */ - public function getLocale() - { - return isset($this->locale) ? $this->locale : ''; - } - - public function hasLocale() - { - return isset($this->locale); - } - - public function clearLocale() - { - unset($this->locale); - } - - /** - * If possible, returned geo targets are translated using this locale. If not, - * en is used by default. This is also used as a hint for returned geo - * targets. - * - * Generated from protobuf field optional string locale = 6; - * @param string $var - * @return $this - */ - public function setLocale($var) - { - GPBUtil::checkString($var, True); - $this->locale = $var; - - return $this; - } - - /** - * Returned geo targets are restricted to this country code. - * - * Generated from protobuf field optional string country_code = 7; - * @return string - */ - public function getCountryCode() - { - return isset($this->country_code) ? $this->country_code : ''; - } - - public function hasCountryCode() - { - return isset($this->country_code); - } - - public function clearCountryCode() - { - unset($this->country_code); - } - - /** - * Returned geo targets are restricted to this country code. - * - * Generated from protobuf field optional string country_code = 7; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * The location names to search by. At most 25 names can be set. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1; - * @return \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest\LocationNames|null - */ - public function getLocationNames() - { - return $this->readOneof(1); - } - - public function hasLocationNames() - { - return $this->hasOneof(1); - } - - /** - * The location names to search by. At most 25 names can be set. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1; - * @param \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest\LocationNames $var - * @return $this - */ - public function setLocationNames($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest\LocationNames::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * The geo target constant resource names to filter by. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2; - * @return \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest\GeoTargets|null - */ - public function getGeoTargets() - { - return $this->readOneof(2); - } - - public function hasGeoTargets() - { - return $this->hasOneof(2); - } - - /** - * The geo target constant resource names to filter by. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2; - * @param \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest\GeoTargets $var - * @return $this - */ - public function setGeoTargets($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest\GeoTargets::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getQuery() - { - return $this->whichOneof("query"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest/GeoTargets.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest/GeoTargets.php deleted file mode 100644 index 2d673936e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest/GeoTargets.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.SuggestGeoTargetConstantsRequest.GeoTargets - */ -class GeoTargets extends \Google\Protobuf\Internal\Message -{ - /** - * A list of geo target constant resource names. - * - * Generated from protobuf field repeated string geo_target_constants = 2; - */ - private $geo_target_constants; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $geo_target_constants - * A list of geo target constant resource names. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantService::initOnce(); - parent::__construct($data); - } - - /** - * A list of geo target constant resource names. - * - * Generated from protobuf field repeated string geo_target_constants = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoTargetConstants() - { - return $this->geo_target_constants; - } - - /** - * A list of geo target constant resource names. - * - * Generated from protobuf field repeated string geo_target_constants = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoTargetConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->geo_target_constants = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(GeoTargets::class, \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest_GeoTargets::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest/LocationNames.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest/LocationNames.php deleted file mode 100644 index 1d7b1f35b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsRequest/LocationNames.php +++ /dev/null @@ -1,70 +0,0 @@ -google.ads.googleads.v15.services.SuggestGeoTargetConstantsRequest.LocationNames - */ -class LocationNames extends \Google\Protobuf\Internal\Message -{ - /** - * A list of location names. - * - * Generated from protobuf field repeated string names = 2; - */ - private $names; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $names - * A list of location names. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantService::initOnce(); - parent::__construct($data); - } - - /** - * A list of location names. - * - * Generated from protobuf field repeated string names = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNames() - { - return $this->names; - } - - /** - * A list of location names. - * - * Generated from protobuf field repeated string names = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNames($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->names = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(LocationNames::class, \Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsRequest_LocationNames::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsResponse.php deleted file mode 100644 index 74fc68cfb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestGeoTargetConstantsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.SuggestGeoTargetConstantsResponse - */ -class SuggestGeoTargetConstantsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Geo target constant suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GeoTargetConstantSuggestion geo_target_constant_suggestions = 1; - */ - private $geo_target_constant_suggestions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantSuggestion>|\Google\Protobuf\Internal\RepeatedField $geo_target_constant_suggestions - * Geo target constant suggestions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantService::initOnce(); - parent::__construct($data); - } - - /** - * Geo target constant suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GeoTargetConstantSuggestion geo_target_constant_suggestions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGeoTargetConstantSuggestions() - { - return $this->geo_target_constant_suggestions; - } - - /** - * Geo target constant suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.GeoTargetConstantSuggestion geo_target_constant_suggestions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\GeoTargetConstantSuggestion>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGeoTargetConstantSuggestions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\GeoTargetConstantSuggestion::class); - $this->geo_target_constant_suggestions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemeConstantsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemeConstantsRequest.php deleted file mode 100644 index cf8f8b545..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemeConstantsRequest.php +++ /dev/null @@ -1,148 +0,0 @@ -google.ads.googleads.v15.services.SuggestKeywordThemeConstantsRequest - */ -class SuggestKeywordThemeConstantsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The query text of a keyword theme that will be used to map to similar - * keyword themes. For example, "plumber" or "roofer". - * - * Generated from protobuf field string query_text = 1; - */ - protected $query_text = ''; - /** - * Upper-case, two-letter country code as defined by ISO-3166. This for - * refining the scope of the query, default to 'US' if not set. - * - * Generated from protobuf field string country_code = 2; - */ - protected $country_code = ''; - /** - * The two letter language code for get corresponding keyword theme for - * refining the scope of the query, default to 'en' if not set. - * - * Generated from protobuf field string language_code = 3; - */ - protected $language_code = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $query_text - * The query text of a keyword theme that will be used to map to similar - * keyword themes. For example, "plumber" or "roofer". - * @type string $country_code - * Upper-case, two-letter country code as defined by ISO-3166. This for - * refining the scope of the query, default to 'US' if not set. - * @type string $language_code - * The two letter language code for get corresponding keyword theme for - * refining the scope of the query, default to 'en' if not set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordThemeConstantService::initOnce(); - parent::__construct($data); - } - - /** - * The query text of a keyword theme that will be used to map to similar - * keyword themes. For example, "plumber" or "roofer". - * - * Generated from protobuf field string query_text = 1; - * @return string - */ - public function getQueryText() - { - return $this->query_text; - } - - /** - * The query text of a keyword theme that will be used to map to similar - * keyword themes. For example, "plumber" or "roofer". - * - * Generated from protobuf field string query_text = 1; - * @param string $var - * @return $this - */ - public function setQueryText($var) - { - GPBUtil::checkString($var, True); - $this->query_text = $var; - - return $this; - } - - /** - * Upper-case, two-letter country code as defined by ISO-3166. This for - * refining the scope of the query, default to 'US' if not set. - * - * Generated from protobuf field string country_code = 2; - * @return string - */ - public function getCountryCode() - { - return $this->country_code; - } - - /** - * Upper-case, two-letter country code as defined by ISO-3166. This for - * refining the scope of the query, default to 'US' if not set. - * - * Generated from protobuf field string country_code = 2; - * @param string $var - * @return $this - */ - public function setCountryCode($var) - { - GPBUtil::checkString($var, True); - $this->country_code = $var; - - return $this; - } - - /** - * The two letter language code for get corresponding keyword theme for - * refining the scope of the query, default to 'en' if not set. - * - * Generated from protobuf field string language_code = 3; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * The two letter language code for get corresponding keyword theme for - * refining the scope of the query, default to 'en' if not set. - * - * Generated from protobuf field string language_code = 3; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemeConstantsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemeConstantsResponse.php deleted file mode 100644 index 09ad67cd4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemeConstantsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.SuggestKeywordThemeConstantsResponse - */ -class SuggestKeywordThemeConstantsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Smart Campaign keyword theme suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constants = 1; - */ - private $keyword_theme_constants; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant>|\Google\Protobuf\Internal\RepeatedField $keyword_theme_constants - * Smart Campaign keyword theme suggestions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordThemeConstantService::initOnce(); - parent::__construct($data); - } - - /** - * Smart Campaign keyword theme suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constants = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeywordThemeConstants() - { - return $this->keyword_theme_constants; - } - - /** - * Smart Campaign keyword theme suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constants = 1; - * @param array<\Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeywordThemeConstants($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant::class); - $this->keyword_theme_constants = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesRequest.php deleted file mode 100644 index 9ff2d53d2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesRequest.php +++ /dev/null @@ -1,136 +0,0 @@ -google.ads.googleads.v15.services.SuggestKeywordThemesRequest - */ -class SuggestKeywordThemesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. Information to get keyword theme suggestions. - * Required fields: - * * suggestion_info.final_url - * * suggestion_info.language_code - * * suggestion_info.geo_target - * Recommended fields: - * * suggestion_info.business_setting - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo suggestion_info = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $suggestion_info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo $suggestion_info - * Required. Information to get keyword theme suggestions. - * Required fields: - * * suggestion_info.final_url - * * suggestion_info.language_code - * * suggestion_info.geo_target - * Recommended fields: - * * suggestion_info.business_setting - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. Information to get keyword theme suggestions. - * Required fields: - * * suggestion_info.final_url - * * suggestion_info.language_code - * * suggestion_info.geo_target - * Recommended fields: - * * suggestion_info.business_setting - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo suggestion_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo|null - */ - public function getSuggestionInfo() - { - return $this->suggestion_info; - } - - public function hasSuggestionInfo() - { - return isset($this->suggestion_info); - } - - public function clearSuggestionInfo() - { - unset($this->suggestion_info); - } - - /** - * Required. Information to get keyword theme suggestions. - * Required fields: - * * suggestion_info.final_url - * * suggestion_info.language_code - * * suggestion_info.geo_target - * Recommended fields: - * * suggestion_info.business_setting - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo suggestion_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo $var - * @return $this - */ - public function setSuggestionInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo::class); - $this->suggestion_info = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesResponse.php deleted file mode 100644 index 7454c812f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.SuggestKeywordThemesResponse - */ -class SuggestKeywordThemesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Smart campaign keyword theme suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SuggestKeywordThemesResponse.KeywordTheme keyword_themes = 2; - */ - private $keyword_themes; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesResponse\KeywordTheme>|\Google\Protobuf\Internal\RepeatedField $keyword_themes - * Smart campaign keyword theme suggestions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Smart campaign keyword theme suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SuggestKeywordThemesResponse.KeywordTheme keyword_themes = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getKeywordThemes() - { - return $this->keyword_themes; - } - - /** - * Smart campaign keyword theme suggestions. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SuggestKeywordThemesResponse.KeywordTheme keyword_themes = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesResponse\KeywordTheme>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setKeywordThemes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesResponse\KeywordTheme::class); - $this->keyword_themes = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesResponse/KeywordTheme.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesResponse/KeywordTheme.php deleted file mode 100644 index 11a6f7d7b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestKeywordThemesResponse/KeywordTheme.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.services.SuggestKeywordThemesResponse.KeywordTheme - */ -class KeywordTheme extends \Google\Protobuf\Internal\Message -{ - protected $keyword_theme; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant $keyword_theme_constant - * A Smart campaign keyword theme constant. - * @type string $free_form_keyword_theme - * A free-form text keyword theme. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * A Smart campaign keyword theme constant. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constant = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant|null - */ - public function getKeywordThemeConstant() - { - return $this->readOneof(1); - } - - public function hasKeywordThemeConstant() - { - return $this->hasOneof(1); - } - - /** - * A Smart campaign keyword theme constant. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constant = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant $var - * @return $this - */ - public function setKeywordThemeConstant($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\KeywordThemeConstant::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * A free-form text keyword theme. - * - * Generated from protobuf field string free_form_keyword_theme = 2; - * @return string - */ - public function getFreeFormKeywordTheme() - { - return $this->readOneof(2); - } - - public function hasFreeFormKeywordTheme() - { - return $this->hasOneof(2); - } - - /** - * A free-form text keyword theme. - * - * Generated from protobuf field string free_form_keyword_theme = 2; - * @param string $var - * @return $this - */ - public function setFreeFormKeywordTheme($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getKeywordTheme() - { - return $this->whichOneof("keyword_theme"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(KeywordTheme::class, \Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesResponse_KeywordTheme::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignAdRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignAdRequest.php deleted file mode 100644 index f20387c0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignAdRequest.php +++ /dev/null @@ -1,124 +0,0 @@ -google.ads.googleads.v15.services.SuggestSmartCampaignAdRequest - */ -class SuggestSmartCampaignAdRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. Inputs used to suggest a Smart campaign ad. - * Required fields: final_url, language_code, keyword_themes. - * Optional but recommended fields to improve the quality of the suggestion: - * business_setting and geo_target. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo suggestion_info = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $suggestion_info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo $suggestion_info - * Required. Inputs used to suggest a Smart campaign ad. - * Required fields: final_url, language_code, keyword_themes. - * Optional but recommended fields to improve the quality of the suggestion: - * business_setting and geo_target. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. Inputs used to suggest a Smart campaign ad. - * Required fields: final_url, language_code, keyword_themes. - * Optional but recommended fields to improve the quality of the suggestion: - * business_setting and geo_target. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo suggestion_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo|null - */ - public function getSuggestionInfo() - { - return $this->suggestion_info; - } - - public function hasSuggestionInfo() - { - return isset($this->suggestion_info); - } - - public function clearSuggestionInfo() - { - unset($this->suggestion_info); - } - - /** - * Required. Inputs used to suggest a Smart campaign ad. - * Required fields: final_url, language_code, keyword_themes. - * Optional but recommended fields to improve the quality of the suggestion: - * business_setting and geo_target. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo suggestion_info = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo $var - * @return $this - */ - public function setSuggestionInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo::class); - $this->suggestion_info = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignAdResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignAdResponse.php deleted file mode 100644 index 8132990a7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignAdResponse.php +++ /dev/null @@ -1,82 +0,0 @@ -google.ads.googleads.v15.services.SuggestSmartCampaignAdResponse - */ -class SuggestSmartCampaignAdResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. Ad info includes 3 creative headlines and 2 creative - * descriptions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SmartCampaignAdInfo ad_info = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $ad_info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\SmartCampaignAdInfo $ad_info - * Optional. Ad info includes 3 creative headlines and 2 creative - * descriptions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Ad info includes 3 creative headlines and 2 creative - * descriptions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SmartCampaignAdInfo ad_info = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Ads\GoogleAds\V15\Common\SmartCampaignAdInfo|null - */ - public function getAdInfo() - { - return $this->ad_info; - } - - public function hasAdInfo() - { - return isset($this->ad_info); - } - - public function clearAdInfo() - { - unset($this->ad_info); - } - - /** - * Optional. Ad info includes 3 creative headlines and 2 creative - * descriptions. - * - * Generated from protobuf field .google.ads.googleads.v15.common.SmartCampaignAdInfo ad_info = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Ads\GoogleAds\V15\Common\SmartCampaignAdInfo $var - * @return $this - */ - public function setAdInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\SmartCampaignAdInfo::class); - $this->ad_info = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsRequest.php deleted file mode 100644 index 500e234a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsRequest.php +++ /dev/null @@ -1,143 +0,0 @@ -google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsRequest - */ -class SuggestSmartCampaignBudgetOptionsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer whose budget options are to be suggested. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - protected $suggestion_data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer whose budget options are to be suggested. - * @type string $campaign - * Required. The resource name of the campaign to get suggestion for. - * @type \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo $suggestion_info - * Required. Information needed to get budget options - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer whose budget options are to be suggested. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer whose budget options are to be suggested. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The resource name of the campaign to get suggestion for. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getCampaign() - { - return $this->readOneof(2); - } - - public function hasCampaign() - { - return $this->hasOneof(2); - } - - /** - * Required. The resource name of the campaign to get suggestion for. - * - * Generated from protobuf field string campaign = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Required. Information needed to get budget options - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo suggestion_info = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo|null - */ - public function getSuggestionInfo() - { - return $this->readOneof(3); - } - - public function hasSuggestionInfo() - { - return $this->hasOneof(3); - } - - /** - * Required. Information needed to get budget options - * - * Generated from protobuf field .google.ads.googleads.v15.services.SmartCampaignSuggestionInfo suggestion_info = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo $var - * @return $this - */ - public function setSuggestionInfo($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestionInfo::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getSuggestionData() - { - return $this->whichOneof("suggestion_data"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsRequest/SuggestionDataOneof.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsRequest/SuggestionDataOneof.php deleted file mode 100644 index 4ad33ba7f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsRequest/SuggestionDataOneof.php +++ /dev/null @@ -1,117 +0,0 @@ -campaign = $campaign; - $this->selectedOneofFieldName = 'campaign'; - return $this; - } - - /** - * Sets this oneof to suggestion_info and updates its value. - * - * @param SmartCampaignSuggestionInfo $suggestionInfo The new value of this oneof. - * - * @return SuggestionDataOneof The modified object. - */ - public function setSuggestionInfo($suggestionInfo) - { - $this->suggestionInfo = $suggestionInfo; - $this->selectedOneofFieldName = 'suggestion_info'; - return $this; - } - - /** - * Returns true if this oneof is set to the field campaign. - * - * @return bool - */ - public function isCampaign() - { - return $this->selectedOneofFieldName === 'campaign'; - } - - /** - * Returns true if this oneof is set to the field suggestion_info. - * - * @return bool - */ - public function isSuggestionInfo() - { - return $this->selectedOneofFieldName === 'suggestion_info'; - } - - /** - * Returns campaign if this oneof is set to the field campaign, null otherwise. - * - * @return string|null - */ - public function getCampaign() - { - return $this->isCampaign() ? $this->campaign : null; - } - - /** - * Returns suggestionInfo if this oneof is set to the field suggestion_info, null - * otherwise. - * - * @return SmartCampaignSuggestionInfo|null - */ - public function getSuggestionInfo() - { - return $this->isSuggestionInfo() ? $this->suggestionInfo : null; - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse.php deleted file mode 100644 index e81b52ab9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse.php +++ /dev/null @@ -1,168 +0,0 @@ -google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse - */ -class SuggestSmartCampaignBudgetOptionsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. The lowest budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption low = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $low = null; - /** - * Optional. The recommended budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption recommended = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $recommended = null; - /** - * Optional. The highest budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption high = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $high = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption $low - * Optional. The lowest budget option. - * @type \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption $recommended - * Optional. The recommended budget option. - * @type \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption $high - * Optional. The highest budget option. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. The lowest budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption low = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption|null - */ - public function getLow() - { - return $this->low; - } - - public function hasLow() - { - return isset($this->low); - } - - public function clearLow() - { - unset($this->low); - } - - /** - * Optional. The lowest budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption low = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption $var - * @return $this - */ - public function setLow($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption::class); - $this->low = $var; - - return $this; - } - - /** - * Optional. The recommended budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption recommended = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption|null - */ - public function getRecommended() - { - return $this->recommended; - } - - public function hasRecommended() - { - return isset($this->recommended); - } - - public function clearRecommended() - { - unset($this->recommended); - } - - /** - * Optional. The recommended budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption recommended = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption $var - * @return $this - */ - public function setRecommended($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption::class); - $this->recommended = $var; - - return $this; - } - - /** - * Optional. The highest budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption high = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption|null - */ - public function getHigh() - { - return $this->high; - } - - public function hasHigh() - { - return isset($this->high); - } - - public function clearHigh() - { - unset($this->high); - } - - /** - * Optional. The highest budget option. - * - * Generated from protobuf field optional .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption high = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption $var - * @return $this - */ - public function setHigh($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\BudgetOption::class); - $this->high = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse/BudgetOption.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse/BudgetOption.php deleted file mode 100644 index 88eed0a0a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse/BudgetOption.php +++ /dev/null @@ -1,126 +0,0 @@ -google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.BudgetOption - */ -class BudgetOption extends \Google\Protobuf\Internal\Message -{ - /** - * The amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. - * - * Generated from protobuf field int64 daily_amount_micros = 1; - */ - protected $daily_amount_micros = 0; - /** - * Metrics pertaining to the suggested budget, could be empty if there is - * not enough information to derive the estimates. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.Metrics metrics = 2; - */ - protected $metrics = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $daily_amount_micros - * The amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. - * @type \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\Metrics $metrics - * Metrics pertaining to the suggested budget, could be empty if there is - * not enough information to derive the estimates. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * The amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. - * - * Generated from protobuf field int64 daily_amount_micros = 1; - * @return int|string - */ - public function getDailyAmountMicros() - { - return $this->daily_amount_micros; - } - - /** - * The amount of the budget, in the local currency for the account. - * Amount is specified in micros, where one million is equivalent to one - * currency unit. - * - * Generated from protobuf field int64 daily_amount_micros = 1; - * @param int|string $var - * @return $this - */ - public function setDailyAmountMicros($var) - { - GPBUtil::checkInt64($var); - $this->daily_amount_micros = $var; - - return $this; - } - - /** - * Metrics pertaining to the suggested budget, could be empty if there is - * not enough information to derive the estimates. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.Metrics metrics = 2; - * @return \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\Metrics|null - */ - public function getMetrics() - { - return $this->metrics; - } - - public function hasMetrics() - { - return isset($this->metrics); - } - - public function clearMetrics() - { - unset($this->metrics); - } - - /** - * Metrics pertaining to the suggested budget, could be empty if there is - * not enough information to derive the estimates. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.Metrics metrics = 2; - * @param \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\Metrics $var - * @return $this - */ - public function setMetrics($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse\Metrics::class); - $this->metrics = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BudgetOption::class, \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse_BudgetOption::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse/Metrics.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse/Metrics.php deleted file mode 100644 index 77aa79b6d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestSmartCampaignBudgetOptionsResponse/Metrics.php +++ /dev/null @@ -1,104 +0,0 @@ -google.ads.googleads.v15.services.SuggestSmartCampaignBudgetOptionsResponse.Metrics - */ -class Metrics extends \Google\Protobuf\Internal\Message -{ - /** - * The estimated min daily clicks. - * - * Generated from protobuf field int64 min_daily_clicks = 1; - */ - protected $min_daily_clicks = 0; - /** - * The estimated max daily clicks. - * - * Generated from protobuf field int64 max_daily_clicks = 2; - */ - protected $max_daily_clicks = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $min_daily_clicks - * The estimated min daily clicks. - * @type int|string $max_daily_clicks - * The estimated max daily clicks. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\SmartCampaignSuggestService::initOnce(); - parent::__construct($data); - } - - /** - * The estimated min daily clicks. - * - * Generated from protobuf field int64 min_daily_clicks = 1; - * @return int|string - */ - public function getMinDailyClicks() - { - return $this->min_daily_clicks; - } - - /** - * The estimated min daily clicks. - * - * Generated from protobuf field int64 min_daily_clicks = 1; - * @param int|string $var - * @return $this - */ - public function setMinDailyClicks($var) - { - GPBUtil::checkInt64($var); - $this->min_daily_clicks = $var; - - return $this; - } - - /** - * The estimated max daily clicks. - * - * Generated from protobuf field int64 max_daily_clicks = 2; - * @return int|string - */ - public function getMaxDailyClicks() - { - return $this->max_daily_clicks; - } - - /** - * The estimated max daily clicks. - * - * Generated from protobuf field int64 max_daily_clicks = 2; - * @param int|string $var - * @return $this - */ - public function setMaxDailyClicks($var) - { - GPBUtil::checkInt64($var); - $this->max_daily_clicks = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Metrics::class, \Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse_Metrics::class); - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestTravelAssetsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestTravelAssetsRequest.php deleted file mode 100644 index 9d1dd354f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestTravelAssetsRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.ads.googleads.v15.services.SuggestTravelAssetsRequest - */ -class SuggestTravelAssetsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The language specifications in BCP 47 format (for example, en-US, - * zh-CN, etc.) for the asset suggestions. Text will be in this language. - * Usually matches one of the campaign target languages. - * - * Generated from protobuf field string language_option = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $language_option = ''; - /** - * The Google Maps Place IDs of hotels for which assets are requested. See - * https://developers.google.com/places/web-service/place-id for more - * information. - * - * Generated from protobuf field repeated string place_ids = 4; - */ - private $place_ids; - - /** - * @param string $customerId Required. The ID of the customer. - * @param string $languageOption Required. The language specifications in BCP 47 format (for example, en-US, - * zh-CN, etc.) for the asset suggestions. Text will be in this language. - * Usually matches one of the campaign target languages. - * - * @return \Google\Ads\GoogleAds\V15\Services\SuggestTravelAssetsRequest - * - * @experimental - */ - public static function build(string $customerId, string $languageOption): self - { - return (new self()) - ->setCustomerId($customerId) - ->setLanguageOption($languageOption); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer. - * @type string $language_option - * Required. The language specifications in BCP 47 format (for example, en-US, - * zh-CN, etc.) for the asset suggestions. Text will be in this language. - * Usually matches one of the campaign target languages. - * @type array|\Google\Protobuf\Internal\RepeatedField $place_ids - * The Google Maps Place IDs of hotels for which assets are requested. See - * https://developers.google.com/places/web-service/place-id for more - * information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\TravelAssetSuggestionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The language specifications in BCP 47 format (for example, en-US, - * zh-CN, etc.) for the asset suggestions. Text will be in this language. - * Usually matches one of the campaign target languages. - * - * Generated from protobuf field string language_option = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getLanguageOption() - { - return $this->language_option; - } - - /** - * Required. The language specifications in BCP 47 format (for example, en-US, - * zh-CN, etc.) for the asset suggestions. Text will be in this language. - * Usually matches one of the campaign target languages. - * - * Generated from protobuf field string language_option = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setLanguageOption($var) - { - GPBUtil::checkString($var, True); - $this->language_option = $var; - - return $this; - } - - /** - * The Google Maps Place IDs of hotels for which assets are requested. See - * https://developers.google.com/places/web-service/place-id for more - * information. - * - * Generated from protobuf field repeated string place_ids = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPlaceIds() - { - return $this->place_ids; - } - - /** - * The Google Maps Place IDs of hotels for which assets are requested. See - * https://developers.google.com/places/web-service/place-id for more - * information. - * - * Generated from protobuf field repeated string place_ids = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPlaceIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->place_ids = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SuggestTravelAssetsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/SuggestTravelAssetsResponse.php deleted file mode 100644 index d8aed0d62..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SuggestTravelAssetsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.SuggestTravelAssetsResponse - */ -class SuggestTravelAssetsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Asset suggestions for each place ID submitted in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelAssetSuggestion hotel_asset_suggestions = 1; - */ - private $hotel_asset_suggestions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\HotelAssetSuggestion>|\Google\Protobuf\Internal\RepeatedField $hotel_asset_suggestions - * Asset suggestions for each place ID submitted in the request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\TravelAssetSuggestionService::initOnce(); - parent::__construct($data); - } - - /** - * Asset suggestions for each place ID submitted in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelAssetSuggestion hotel_asset_suggestions = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getHotelAssetSuggestions() - { - return $this->hotel_asset_suggestions; - } - - /** - * Asset suggestions for each place ID submitted in the request. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.HotelAssetSuggestion hotel_asset_suggestions = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\HotelAssetSuggestion>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setHotelAssetSuggestions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\HotelAssetSuggestion::class); - $this->hotel_asset_suggestions = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SurfaceTargeting.php b/src/Google/Ads/GoogleAds/V15/Services/SurfaceTargeting.php deleted file mode 100644 index 0a2484fa3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SurfaceTargeting.php +++ /dev/null @@ -1,68 +0,0 @@ -google.ads.googleads.v15.services.SurfaceTargeting - */ -class SurfaceTargeting extends \Google\Protobuf\Internal\Message -{ - /** - * List of surfaces available to target. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanSurfaceEnum.ReachPlanSurface surfaces = 1; - */ - private $surfaces; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $surfaces - * List of surfaces available to target. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * List of surfaces available to target. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanSurfaceEnum.ReachPlanSurface surfaces = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSurfaces() - { - return $this->surfaces; - } - - /** - * List of surfaces available to target. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.enums.ReachPlanSurfaceEnum.ReachPlanSurface surfaces = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSurfaces($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V15\Enums\ReachPlanSurfaceEnum\ReachPlanSurface::class); - $this->surfaces = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/SurfaceTargetingCombinations.php b/src/Google/Ads/GoogleAds/V15/Services/SurfaceTargetingCombinations.php deleted file mode 100644 index 9c40b6bcc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/SurfaceTargetingCombinations.php +++ /dev/null @@ -1,111 +0,0 @@ -google.ads.googleads.v15.services.SurfaceTargetingCombinations - */ -class SurfaceTargetingCombinations extends \Google\Protobuf\Internal\Message -{ - /** - * Default surface targeting applied to the ad product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargeting default_targeting = 1; - */ - protected $default_targeting = null; - /** - * Available surface target combinations for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SurfaceTargeting available_targeting_combinations = 2; - */ - private $available_targeting_combinations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting $default_targeting - * Default surface targeting applied to the ad product. - * @type array<\Google\Ads\GoogleAds\V15\Services\SurfaceTargeting>|\Google\Protobuf\Internal\RepeatedField $available_targeting_combinations - * Available surface target combinations for the ad product. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Default surface targeting applied to the ad product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargeting default_targeting = 1; - * @return \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting|null - */ - public function getDefaultTargeting() - { - return $this->default_targeting; - } - - public function hasDefaultTargeting() - { - return isset($this->default_targeting); - } - - public function clearDefaultTargeting() - { - unset($this->default_targeting); - } - - /** - * Default surface targeting applied to the ad product. - * - * Generated from protobuf field .google.ads.googleads.v15.services.SurfaceTargeting default_targeting = 1; - * @param \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting $var - * @return $this - */ - public function setDefaultTargeting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting::class); - $this->default_targeting = $var; - - return $this; - } - - /** - * Available surface target combinations for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SurfaceTargeting available_targeting_combinations = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAvailableTargetingCombinations() - { - return $this->available_targeting_combinations; - } - - /** - * Available surface target combinations for the ad product. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.SurfaceTargeting available_targeting_combinations = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\SurfaceTargeting>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAvailableTargetingCombinations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\SurfaceTargeting::class); - $this->available_targeting_combinations = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/TargetFrequencySettings.php b/src/Google/Ads/GoogleAds/V15/Services/TargetFrequencySettings.php deleted file mode 100644 index 182234114..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/TargetFrequencySettings.php +++ /dev/null @@ -1,105 +0,0 @@ -google.ads.googleads.v15.services.TargetFrequencySettings - */ -class TargetFrequencySettings extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The time unit used to describe the time frame for - * target_frequency. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit time_unit = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $time_unit = 0; - /** - * Required. The target frequency goal per selected time unit. - * - * Generated from protobuf field int32 target_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $target_frequency = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $time_unit - * Required. The time unit used to describe the time frame for - * target_frequency. - * @type int $target_frequency - * Required. The target frequency goal per selected time unit. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The time unit used to describe the time frame for - * target_frequency. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit time_unit = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getTimeUnit() - { - return $this->time_unit; - } - - /** - * Required. The time unit used to describe the time frame for - * target_frequency. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit time_unit = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setTimeUnit($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TargetFrequencyTimeUnitEnum\TargetFrequencyTimeUnit::class); - $this->time_unit = $var; - - return $this; - } - - /** - * Required. The target frequency goal per selected time unit. - * - * Generated from protobuf field int32 target_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getTargetFrequency() - { - return $this->target_frequency; - } - - /** - * Required. The target frequency goal per selected time unit. - * - * Generated from protobuf field int32 target_frequency = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setTargetFrequency($var) - { - GPBUtil::checkInt32($var); - $this->target_frequency = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/Targeting.php b/src/Google/Ads/GoogleAds/V15/Services/Targeting.php deleted file mode 100644 index d670b7e36..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/Targeting.php +++ /dev/null @@ -1,371 +0,0 @@ -google.ads.googleads.v15.services.Targeting - */ -class Targeting extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the selected location. Plannable location IDs can be - * obtained from - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * Requests must set either this field or `plannable_location_ids`. - * This field is deprecated as of V12 and will be removed in a future release. - * Use `plannable_location_ids` instead. - * - * Generated from protobuf field optional string plannable_location_id = 6; - */ - protected $plannable_location_id = null; - /** - * The list of plannable location IDs to target with this forecast. - * If more than one ID is provided, all IDs must have the same - * `parent_country_id`. Planning for more than `parent_county` is not - * supported. Plannable location IDs and their `parent_country_id` can be - * obtained from - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * Requests must set either this field or `plannable_location_id`. - * - * Generated from protobuf field repeated string plannable_location_ids = 8; - */ - private $plannable_location_ids; - /** - * Targeted age range. - * An unset value is equivalent to targeting all ages. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2; - */ - protected $age_range = 0; - /** - * Targeted genders. - * An unset value is equivalent to targeting MALE and FEMALE. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.GenderInfo genders = 3; - */ - private $genders; - /** - * Targeted devices. - * If not specified, targets all applicable devices. Applicable devices vary - * by product and region and can be obtained from - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.DeviceInfo devices = 4; - */ - private $devices; - /** - * Targetable network for the ad product. - * If not specified, targets all applicable networks. Applicable networks vary - * by product and region and can be obtained from - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5; - */ - protected $network = 0; - /** - * Targeted audiences. - * If not specified, does not target any specific audience. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceTargeting audience_targeting = 7; - */ - protected $audience_targeting = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $plannable_location_id - * The ID of the selected location. Plannable location IDs can be - * obtained from - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * Requests must set either this field or `plannable_location_ids`. - * This field is deprecated as of V12 and will be removed in a future release. - * Use `plannable_location_ids` instead. - * @type array|\Google\Protobuf\Internal\RepeatedField $plannable_location_ids - * The list of plannable location IDs to target with this forecast. - * If more than one ID is provided, all IDs must have the same - * `parent_country_id`. Planning for more than `parent_county` is not - * supported. Plannable location IDs and their `parent_country_id` can be - * obtained from - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * Requests must set either this field or `plannable_location_id`. - * @type int $age_range - * Targeted age range. - * An unset value is equivalent to targeting all ages. - * @type array<\Google\Ads\GoogleAds\V15\Common\GenderInfo>|\Google\Protobuf\Internal\RepeatedField $genders - * Targeted genders. - * An unset value is equivalent to targeting MALE and FEMALE. - * @type array<\Google\Ads\GoogleAds\V15\Common\DeviceInfo>|\Google\Protobuf\Internal\RepeatedField $devices - * Targeted devices. - * If not specified, targets all applicable devices. Applicable devices vary - * by product and region and can be obtained from - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * @type int $network - * Targetable network for the ad product. - * If not specified, targets all applicable networks. Applicable networks vary - * by product and region and can be obtained from - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * @type \Google\Ads\GoogleAds\V15\Services\AudienceTargeting $audience_targeting - * Targeted audiences. - * If not specified, does not target any specific audience. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the selected location. Plannable location IDs can be - * obtained from - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * Requests must set either this field or `plannable_location_ids`. - * This field is deprecated as of V12 and will be removed in a future release. - * Use `plannable_location_ids` instead. - * - * Generated from protobuf field optional string plannable_location_id = 6; - * @return string - */ - public function getPlannableLocationId() - { - return isset($this->plannable_location_id) ? $this->plannable_location_id : ''; - } - - public function hasPlannableLocationId() - { - return isset($this->plannable_location_id); - } - - public function clearPlannableLocationId() - { - unset($this->plannable_location_id); - } - - /** - * The ID of the selected location. Plannable location IDs can be - * obtained from - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * Requests must set either this field or `plannable_location_ids`. - * This field is deprecated as of V12 and will be removed in a future release. - * Use `plannable_location_ids` instead. - * - * Generated from protobuf field optional string plannable_location_id = 6; - * @param string $var - * @return $this - */ - public function setPlannableLocationId($var) - { - GPBUtil::checkString($var, True); - $this->plannable_location_id = $var; - - return $this; - } - - /** - * The list of plannable location IDs to target with this forecast. - * If more than one ID is provided, all IDs must have the same - * `parent_country_id`. Planning for more than `parent_county` is not - * supported. Plannable location IDs and their `parent_country_id` can be - * obtained from - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * Requests must set either this field or `plannable_location_id`. - * - * Generated from protobuf field repeated string plannable_location_ids = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPlannableLocationIds() - { - return $this->plannable_location_ids; - } - - /** - * The list of plannable location IDs to target with this forecast. - * If more than one ID is provided, all IDs must have the same - * `parent_country_id`. Planning for more than `parent_county` is not - * supported. Plannable location IDs and their `parent_country_id` can be - * obtained from - * [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. - * Requests must set either this field or `plannable_location_id`. - * - * Generated from protobuf field repeated string plannable_location_ids = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPlannableLocationIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->plannable_location_ids = $arr; - - return $this; - } - - /** - * Targeted age range. - * An unset value is equivalent to targeting all ages. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2; - * @return int - */ - public function getAgeRange() - { - return $this->age_range; - } - - /** - * Targeted age range. - * An unset value is equivalent to targeting all ages. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2; - * @param int $var - * @return $this - */ - public function setAgeRange($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ReachPlanAgeRangeEnum\ReachPlanAgeRange::class); - $this->age_range = $var; - - return $this; - } - - /** - * Targeted genders. - * An unset value is equivalent to targeting MALE and FEMALE. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.GenderInfo genders = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGenders() - { - return $this->genders; - } - - /** - * Targeted genders. - * An unset value is equivalent to targeting MALE and FEMALE. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.GenderInfo genders = 3; - * @param array<\Google\Ads\GoogleAds\V15\Common\GenderInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGenders($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\GenderInfo::class); - $this->genders = $arr; - - return $this; - } - - /** - * Targeted devices. - * If not specified, targets all applicable devices. Applicable devices vary - * by product and region and can be obtained from - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.DeviceInfo devices = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDevices() - { - return $this->devices; - } - - /** - * Targeted devices. - * If not specified, targets all applicable devices. Applicable devices vary - * by product and region and can be obtained from - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.DeviceInfo devices = 4; - * @param array<\Google\Ads\GoogleAds\V15\Common\DeviceInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDevices($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\DeviceInfo::class); - $this->devices = $arr; - - return $this; - } - - /** - * Targetable network for the ad product. - * If not specified, targets all applicable networks. Applicable networks vary - * by product and region and can be obtained from - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5; - * @return int - */ - public function getNetwork() - { - return $this->network; - } - - /** - * Targetable network for the ad product. - * If not specified, targets all applicable networks. Applicable networks vary - * by product and region and can be obtained from - * [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5; - * @param int $var - * @return $this - */ - public function setNetwork($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ReachPlanNetworkEnum\ReachPlanNetwork::class); - $this->network = $var; - - return $this; - } - - /** - * Targeted audiences. - * If not specified, does not target any specific audience. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceTargeting audience_targeting = 7; - * @return \Google\Ads\GoogleAds\V15\Services\AudienceTargeting|null - */ - public function getAudienceTargeting() - { - return $this->audience_targeting; - } - - public function hasAudienceTargeting() - { - return isset($this->audience_targeting); - } - - public function clearAudienceTargeting() - { - unset($this->audience_targeting); - } - - /** - * Targeted audiences. - * If not specified, does not target any specific audience. - * - * Generated from protobuf field .google.ads.googleads.v15.services.AudienceTargeting audience_targeting = 7; - * @param \Google\Ads\GoogleAds\V15\Services\AudienceTargeting $var - * @return $this - */ - public function setAudienceTargeting($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Services\AudienceTargeting::class); - $this->audience_targeting = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/TargetingSuggestionMetrics.php b/src/Google/Ads/GoogleAds/V15/Services/TargetingSuggestionMetrics.php deleted file mode 100644 index 71717a04e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/TargetingSuggestionMetrics.php +++ /dev/null @@ -1,305 +0,0 @@ -google.ads.googleads.v15.services.TargetingSuggestionMetrics - */ -class TargetingSuggestionMetrics extends \Google\Protobuf\Internal\Message -{ - /** - * Suggested location targeting. These attributes all have dimension - * GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata locations = 1; - */ - private $locations; - /** - * Suggested age targeting; may be empty indicating no age targeting. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 2; - */ - private $age_ranges; - /** - * Suggested gender targeting. If present, this attribute has dimension - * GENDER. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - */ - protected $gender = null; - /** - * Suggested audience segments to target. These attributes all have dimension - * AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata user_interests = 4; - */ - private $user_interests; - /** - * The fraction (from 0 to 1 inclusive) of the requested audience that can be - * reached using the suggested targeting. - * - * Generated from protobuf field double coverage = 5; - */ - protected $coverage = 0.0; - /** - * The ratio of coverage to the coverage of the baseline audience or zero if - * this ratio is undefined or is not meaningful. - * - * Generated from protobuf field double index = 6; - */ - protected $index = 0.0; - /** - * The approximate estimated number of people that can be reached on YouTube - * using this targeting. - * - * Generated from protobuf field int64 potential_youtube_reach = 7; - */ - protected $potential_youtube_reach = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata>|\Google\Protobuf\Internal\RepeatedField $locations - * Suggested location targeting. These attributes all have dimension - * GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION - * @type array<\Google\Ads\GoogleAds\V15\Common\AgeRangeInfo>|\Google\Protobuf\Internal\RepeatedField $age_ranges - * Suggested age targeting; may be empty indicating no age targeting. - * @type \Google\Ads\GoogleAds\V15\Common\GenderInfo $gender - * Suggested gender targeting. If present, this attribute has dimension - * GENDER. - * @type array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata>|\Google\Protobuf\Internal\RepeatedField $user_interests - * Suggested audience segments to target. These attributes all have dimension - * AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST - * @type float $coverage - * The fraction (from 0 to 1 inclusive) of the requested audience that can be - * reached using the suggested targeting. - * @type float $index - * The ratio of coverage to the coverage of the baseline audience or zero if - * this ratio is undefined or is not meaningful. - * @type int|string $potential_youtube_reach - * The approximate estimated number of people that can be reached on YouTube - * using this targeting. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * Suggested location targeting. These attributes all have dimension - * GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata locations = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getLocations() - { - return $this->locations; - } - - /** - * Suggested location targeting. These attributes all have dimension - * GEO_TARGET_COUNTRY or SUB_COUNTRY_LOCATION - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata locations = 1; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setLocations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata::class); - $this->locations = $arr; - - return $this; - } - - /** - * Suggested age targeting; may be empty indicating no age targeting. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAgeRanges() - { - return $this->age_ranges; - } - - /** - * Suggested age targeting; may be empty indicating no age targeting. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.common.AgeRangeInfo age_ranges = 2; - * @param array<\Google\Ads\GoogleAds\V15\Common\AgeRangeInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAgeRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Common\AgeRangeInfo::class); - $this->age_ranges = $arr; - - return $this; - } - - /** - * Suggested gender targeting. If present, this attribute has dimension - * GENDER. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - * @return \Google\Ads\GoogleAds\V15\Common\GenderInfo|null - */ - public function getGender() - { - return $this->gender; - } - - public function hasGender() - { - return isset($this->gender); - } - - public function clearGender() - { - unset($this->gender); - } - - /** - * Suggested gender targeting. If present, this attribute has dimension - * GENDER. - * - * Generated from protobuf field .google.ads.googleads.v15.common.GenderInfo gender = 3; - * @param \Google\Ads\GoogleAds\V15\Common\GenderInfo $var - * @return $this - */ - public function setGender($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\GenderInfo::class); - $this->gender = $var; - - return $this; - } - - /** - * Suggested audience segments to target. These attributes all have dimension - * AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata user_interests = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUserInterests() - { - return $this->user_interests; - } - - /** - * Suggested audience segments to target. These attributes all have dimension - * AFFINITY_USER_INTEREST or IN_MARKET_USER_INTEREST - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.AudienceInsightsAttributeMetadata user_interests = 4; - * @param array<\Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUserInterests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\AudienceInsightsAttributeMetadata::class); - $this->user_interests = $arr; - - return $this; - } - - /** - * The fraction (from 0 to 1 inclusive) of the requested audience that can be - * reached using the suggested targeting. - * - * Generated from protobuf field double coverage = 5; - * @return float - */ - public function getCoverage() - { - return $this->coverage; - } - - /** - * The fraction (from 0 to 1 inclusive) of the requested audience that can be - * reached using the suggested targeting. - * - * Generated from protobuf field double coverage = 5; - * @param float $var - * @return $this - */ - public function setCoverage($var) - { - GPBUtil::checkDouble($var); - $this->coverage = $var; - - return $this; - } - - /** - * The ratio of coverage to the coverage of the baseline audience or zero if - * this ratio is undefined or is not meaningful. - * - * Generated from protobuf field double index = 6; - * @return float - */ - public function getIndex() - { - return $this->index; - } - - /** - * The ratio of coverage to the coverage of the baseline audience or zero if - * this ratio is undefined or is not meaningful. - * - * Generated from protobuf field double index = 6; - * @param float $var - * @return $this - */ - public function setIndex($var) - { - GPBUtil::checkDouble($var); - $this->index = $var; - - return $this; - } - - /** - * The approximate estimated number of people that can be reached on YouTube - * using this targeting. - * - * Generated from protobuf field int64 potential_youtube_reach = 7; - * @return int|string - */ - public function getPotentialYoutubeReach() - { - return $this->potential_youtube_reach; - } - - /** - * The approximate estimated number of people that can be reached on YouTube - * using this targeting. - * - * Generated from protobuf field int64 potential_youtube_reach = 7; - * @param int|string $var - * @return $this - */ - public function setPotentialYoutubeReach($var) - { - GPBUtil::checkInt64($var); - $this->potential_youtube_reach = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceClient.php deleted file mode 100644 index 34a3f1225..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService/RegenerateShareableLinkId', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\RegenerateShareableLinkIdResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceClient.php deleted file mode 100644 index 1cfe2c9fd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.TravelAssetSuggestionService/SuggestTravelAssets', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\SuggestTravelAssetsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/UnusableAdGroup.php b/src/Google/Ads/GoogleAds/V15/Services/UnusableAdGroup.php deleted file mode 100644 index 19168cdda..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UnusableAdGroup.php +++ /dev/null @@ -1,112 +0,0 @@ -google.ads.googleads.v15.services.UnusableAdGroup - */ -class UnusableAdGroup extends \Google\Protobuf\Internal\Message -{ - /** - * The AdGroup resource name. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string ad_group = 1; - */ - protected $ad_group = ''; - /** - * The Campaign resource name. - * Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string campaign = 2; - */ - protected $campaign = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $ad_group - * The AdGroup resource name. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * @type string $campaign - * The Campaign resource name. - * Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The AdGroup resource name. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string ad_group = 1; - * @return string - */ - public function getAdGroup() - { - return $this->ad_group; - } - - /** - * The AdGroup resource name. - * Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - * - * Generated from protobuf field string ad_group = 1; - * @param string $var - * @return $this - */ - public function setAdGroup($var) - { - GPBUtil::checkString($var, True); - $this->ad_group = $var; - - return $this; - } - - /** - * The Campaign resource name. - * Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string campaign = 2; - * @return string - */ - public function getCampaign() - { - return $this->campaign; - } - - /** - * The Campaign resource name. - * Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - * - * Generated from protobuf field string campaign = 2; - * @param string $var - * @return $this - */ - public function setCampaign($var) - { - GPBUtil::checkString($var, True); - $this->campaign = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UpdateProductLinkInvitationRequest.php b/src/Google/Ads/GoogleAds/V15/Services/UpdateProductLinkInvitationRequest.php deleted file mode 100644 index 3dfc444e6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UpdateProductLinkInvitationRequest.php +++ /dev/null @@ -1,154 +0,0 @@ -google.ads.googleads.v15.services.UpdateProductLinkInvitationRequest - */ -class UpdateProductLinkInvitationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The product link invitation to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus product_link_invitation_status = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $product_link_invitation_status = 0; - /** - * Required. Resource name of the product link invitation. - * - * Generated from protobuf field string resource_name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * @param string $customerId Required. The ID of the customer being modified. - * @param int $productLinkInvitationStatus Required. The product link invitation to be created. - * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V15\Enums\ProductLinkInvitationStatusEnum\ProductLinkInvitationStatus} - * @param string $resourceName Required. Resource name of the product link invitation. - * - * @return \Google\Ads\GoogleAds\V15\Services\UpdateProductLinkInvitationRequest - * - * @experimental - */ - public static function build(string $customerId, int $productLinkInvitationStatus, string $resourceName): self - { - return (new self()) - ->setCustomerId($customerId) - ->setProductLinkInvitationStatus($productLinkInvitationStatus) - ->setResourceName($resourceName); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer being modified. - * @type int $product_link_invitation_status - * Required. The product link invitation to be created. - * @type string $resource_name - * Required. Resource name of the product link invitation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ProductLinkInvitationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer being modified. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The product link invitation to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus product_link_invitation_status = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getProductLinkInvitationStatus() - { - return $this->product_link_invitation_status; - } - - /** - * Required. The product link invitation to be created. - * - * Generated from protobuf field .google.ads.googleads.v15.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatus product_link_invitation_status = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setProductLinkInvitationStatus($var) - { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\ProductLinkInvitationStatusEnum\ProductLinkInvitationStatus::class); - $this->product_link_invitation_status = $var; - - return $this; - } - - /** - * Required. Resource name of the product link invitation. - * - * Generated from protobuf field string resource_name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Required. Resource name of the product link invitation. - * - * Generated from protobuf field string resource_name = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UpdateProductLinkInvitationResponse.php b/src/Google/Ads/GoogleAds/V15/Services/UpdateProductLinkInvitationResponse.php deleted file mode 100644 index 4f06d6029..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UpdateProductLinkInvitationResponse.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.UpdateProductLinkInvitationResponse - */ -class UpdateProductLinkInvitationResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Result of the update. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - */ - protected $resource_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $resource_name - * Result of the update. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ProductLinkInvitationService::initOnce(); - parent::__construct($data); - } - - /** - * Result of the update. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getResourceName() - { - return $this->resource_name; - } - - /** - * Result of the update. - * - * Generated from protobuf field string resource_name = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setResourceName($var) - { - GPBUtil::checkString($var, True); - $this->resource_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UploadCallConversionsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/UploadCallConversionsRequest.php deleted file mode 100644 index 816ea5935..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UploadCallConversionsRequest.php +++ /dev/null @@ -1,221 +0,0 @@ -google.ads.googleads.v15.services.UploadCallConversionsRequest - */ -class UploadCallConversionsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The conversions that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CallConversion conversions = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $conversions; - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - - /** - * @param string $customerId Required. The ID of the customer performing the upload. - * @param \Google\Ads\GoogleAds\V15\Services\CallConversion[] $conversions Required. The conversions that are being uploaded. - * @param bool $partialFailure Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * @return \Google\Ads\GoogleAds\V15\Services\UploadCallConversionsRequest - * - * @experimental - */ - public static function build(string $customerId, array $conversions, bool $partialFailure): self - { - return (new self()) - ->setCustomerId($customerId) - ->setConversions($conversions) - ->setPartialFailure($partialFailure); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer performing the upload. - * @type array<\Google\Ads\GoogleAds\V15\Services\CallConversion>|\Google\Protobuf\Internal\RepeatedField $conversions - * Required. The conversions that are being uploaded. - * @type bool $partial_failure - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The conversions that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CallConversion conversions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConversions() - { - return $this->conversions; - } - - /** - * Required. The conversions that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CallConversion conversions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\CallConversion>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConversions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CallConversion::class); - $this->conversions = $arr; - - return $this; - } - - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UploadCallConversionsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/UploadCallConversionsResponse.php deleted file mode 100644 index 6192993ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UploadCallConversionsResponse.php +++ /dev/null @@ -1,140 +0,0 @@ -google.ads.googleads.v15.services.UploadCallConversionsResponse - */ -class UploadCallConversionsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to conversion failures in the partial failure mode. - * Returned when all errors occur inside the conversions. If any errors occur - * outside the conversions (for example, auth errors), we return an RPC level - * error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * Returned for successfully processed conversions. Proto will be empty for - * rows that received an error. Results are not returned when validate_only is - * true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CallConversionResult results = 2; - */ - private $results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to conversion failures in the partial failure mode. - * Returned when all errors occur inside the conversions. If any errors occur - * outside the conversions (for example, auth errors), we return an RPC level - * error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @type array<\Google\Ads\GoogleAds\V15\Services\CallConversionResult>|\Google\Protobuf\Internal\RepeatedField $results - * Returned for successfully processed conversions. Proto will be empty for - * rows that received an error. Results are not returned when validate_only is - * true. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to conversion failures in the partial failure mode. - * Returned when all errors occur inside the conversions. If any errors occur - * outside the conversions (for example, auth errors), we return an RPC level - * error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to conversion failures in the partial failure mode. - * Returned when all errors occur inside the conversions. If any errors occur - * outside the conversions (for example, auth errors), we return an RPC level - * error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * Returned for successfully processed conversions. Proto will be empty for - * rows that received an error. Results are not returned when validate_only is - * true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CallConversionResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * Returned for successfully processed conversions. Proto will be empty for - * rows that received an error. Results are not returned when validate_only is - * true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.CallConversionResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\CallConversionResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\CallConversionResult::class); - $this->results = $arr; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UploadClickConversionsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/UploadClickConversionsRequest.php deleted file mode 100644 index 29bbac0dd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UploadClickConversionsRequest.php +++ /dev/null @@ -1,375 +0,0 @@ -google.ads.googleads.v15.services.UploadClickConversionsRequest - */ -class UploadClickConversionsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The conversions that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ClickConversion conversions = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $conversions; - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * If true, the API will perform all upload checks and return errors if - * any are found. If false, it will perform only basic input validation, - * skip subsequent upload checks, and return success even if no click - * was found for the provided `user_identifiers`. - * This setting only affects Enhanced conversions for leads uploads that use - * `user_identifiers` instead of `GCLID`, `GBRAID`, or `WBRAID`. When - * uploading enhanced conversions for leads, you should upload all conversion - * events to the API, including those that may not come from Google Ads - * campaigns. The upload of an event that is not from a Google Ads campaign - * will result in a `CLICK_NOT_FOUND` error if this field is set to `true`. - * Since these errors are expected for such events, set this field to `false` - * so you can confirm your uploads are properly formatted but ignore - * `CLICK_NOT_FOUND` errors from all of the conversions that are not from a - * Google Ads campaign. This will allow you to focus only on errors that you - * can address. - * Default is false. - * - * Generated from protobuf field bool debug_enabled = 5; - */ - protected $debug_enabled = false; - /** - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadClickConversionsResponse`. - * - * Generated from protobuf field optional int32 job_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $job_id = null; - - /** - * @param string $customerId Required. The ID of the customer performing the upload. - * @param \Google\Ads\GoogleAds\V15\Services\ClickConversion[] $conversions Required. The conversions that are being uploaded. - * @param bool $partialFailure Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * @return \Google\Ads\GoogleAds\V15\Services\UploadClickConversionsRequest - * - * @experimental - */ - public static function build(string $customerId, array $conversions, bool $partialFailure): self - { - return (new self()) - ->setCustomerId($customerId) - ->setConversions($conversions) - ->setPartialFailure($partialFailure); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer performing the upload. - * @type array<\Google\Ads\GoogleAds\V15\Services\ClickConversion>|\Google\Protobuf\Internal\RepeatedField $conversions - * Required. The conversions that are being uploaded. - * @type bool $partial_failure - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type bool $debug_enabled - * If true, the API will perform all upload checks and return errors if - * any are found. If false, it will perform only basic input validation, - * skip subsequent upload checks, and return success even if no click - * was found for the provided `user_identifiers`. - * This setting only affects Enhanced conversions for leads uploads that use - * `user_identifiers` instead of `GCLID`, `GBRAID`, or `WBRAID`. When - * uploading enhanced conversions for leads, you should upload all conversion - * events to the API, including those that may not come from Google Ads - * campaigns. The upload of an event that is not from a Google Ads campaign - * will result in a `CLICK_NOT_FOUND` error if this field is set to `true`. - * Since these errors are expected for such events, set this field to `false` - * so you can confirm your uploads are properly formatted but ignore - * `CLICK_NOT_FOUND` errors from all of the conversions that are not from a - * Google Ads campaign. This will allow you to focus only on errors that you - * can address. - * Default is false. - * @type int $job_id - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadClickConversionsResponse`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The conversions that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ClickConversion conversions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConversions() - { - return $this->conversions; - } - - /** - * Required. The conversions that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ClickConversion conversions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ClickConversion>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConversions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ClickConversion::class); - $this->conversions = $arr; - - return $this; - } - - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried - * out in one transaction if and only if they are all valid. - * This should always be set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * If true, the API will perform all upload checks and return errors if - * any are found. If false, it will perform only basic input validation, - * skip subsequent upload checks, and return success even if no click - * was found for the provided `user_identifiers`. - * This setting only affects Enhanced conversions for leads uploads that use - * `user_identifiers` instead of `GCLID`, `GBRAID`, or `WBRAID`. When - * uploading enhanced conversions for leads, you should upload all conversion - * events to the API, including those that may not come from Google Ads - * campaigns. The upload of an event that is not from a Google Ads campaign - * will result in a `CLICK_NOT_FOUND` error if this field is set to `true`. - * Since these errors are expected for such events, set this field to `false` - * so you can confirm your uploads are properly formatted but ignore - * `CLICK_NOT_FOUND` errors from all of the conversions that are not from a - * Google Ads campaign. This will allow you to focus only on errors that you - * can address. - * Default is false. - * - * Generated from protobuf field bool debug_enabled = 5; - * @return bool - */ - public function getDebugEnabled() - { - return $this->debug_enabled; - } - - /** - * If true, the API will perform all upload checks and return errors if - * any are found. If false, it will perform only basic input validation, - * skip subsequent upload checks, and return success even if no click - * was found for the provided `user_identifiers`. - * This setting only affects Enhanced conversions for leads uploads that use - * `user_identifiers` instead of `GCLID`, `GBRAID`, or `WBRAID`. When - * uploading enhanced conversions for leads, you should upload all conversion - * events to the API, including those that may not come from Google Ads - * campaigns. The upload of an event that is not from a Google Ads campaign - * will result in a `CLICK_NOT_FOUND` error if this field is set to `true`. - * Since these errors are expected for such events, set this field to `false` - * so you can confirm your uploads are properly formatted but ignore - * `CLICK_NOT_FOUND` errors from all of the conversions that are not from a - * Google Ads campaign. This will allow you to focus only on errors that you - * can address. - * Default is false. - * - * Generated from protobuf field bool debug_enabled = 5; - * @param bool $var - * @return $this - */ - public function setDebugEnabled($var) - { - GPBUtil::checkBool($var); - $this->debug_enabled = $var; - - return $this; - } - - /** - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadClickConversionsResponse`. - * - * Generated from protobuf field optional int32 job_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getJobId() - { - return isset($this->job_id) ? $this->job_id : 0; - } - - public function hasJobId() - { - return isset($this->job_id); - } - - public function clearJobId() - { - unset($this->job_id); - } - - /** - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadClickConversionsResponse`. - * - * Generated from protobuf field optional int32 job_id = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setJobId($var) - { - GPBUtil::checkInt32($var); - $this->job_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UploadClickConversionsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/UploadClickConversionsResponse.php deleted file mode 100644 index a2bbbe333..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UploadClickConversionsResponse.php +++ /dev/null @@ -1,174 +0,0 @@ -google.ads.googleads.v15.services.UploadClickConversionsResponse - */ -class UploadClickConversionsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to conversion failures in the partial failure mode. - * Returned when all errors occur inside the conversions. If any errors occur - * outside the conversions (for example, auth errors), we return an RPC level - * error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * Returned for successfully processed conversions. Proto will be empty for - * rows that received an error. Results are not returned when validate_only is - * true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ClickConversionResult results = 2; - */ - private $results; - /** - * Job ID for the upload batch. - * - * Generated from protobuf field int64 job_id = 3; - */ - protected $job_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to conversion failures in the partial failure mode. - * Returned when all errors occur inside the conversions. If any errors occur - * outside the conversions (for example, auth errors), we return an RPC level - * error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @type array<\Google\Ads\GoogleAds\V15\Services\ClickConversionResult>|\Google\Protobuf\Internal\RepeatedField $results - * Returned for successfully processed conversions. Proto will be empty for - * rows that received an error. Results are not returned when validate_only is - * true. - * @type int|string $job_id - * Job ID for the upload batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to conversion failures in the partial failure mode. - * Returned when all errors occur inside the conversions. If any errors occur - * outside the conversions (for example, auth errors), we return an RPC level - * error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to conversion failures in the partial failure mode. - * Returned when all errors occur inside the conversions. If any errors occur - * outside the conversions (for example, auth errors), we return an RPC level - * error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * Returned for successfully processed conversions. Proto will be empty for - * rows that received an error. Results are not returned when validate_only is - * true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ClickConversionResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * Returned for successfully processed conversions. Proto will be empty for - * rows that received an error. Results are not returned when validate_only is - * true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ClickConversionResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\ClickConversionResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ClickConversionResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Job ID for the upload batch. - * - * Generated from protobuf field int64 job_id = 3; - * @return int|string - */ - public function getJobId() - { - return $this->job_id; - } - - /** - * Job ID for the upload batch. - * - * Generated from protobuf field int64 job_id = 3; - * @param int|string $var - * @return $this - */ - public function setJobId($var) - { - GPBUtil::checkInt64($var); - $this->job_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UploadConversionAdjustmentsRequest.php b/src/Google/Ads/GoogleAds/V15/Services/UploadConversionAdjustmentsRequest.php deleted file mode 100644 index 4f01732bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UploadConversionAdjustmentsRequest.php +++ /dev/null @@ -1,281 +0,0 @@ -google.ads.googleads.v15.services.UploadConversionAdjustmentsRequest - */ -class UploadConversionAdjustmentsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The conversion adjustments that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionAdjustment conversion_adjustments = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $conversion_adjustments; - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried out - * in one transaction if and only if they are all valid. This should always be - * set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $partial_failure = false; - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - */ - protected $validate_only = false; - /** - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadConversionAdjustmentsResponse`. - * - * Generated from protobuf field optional int32 job_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $job_id = null; - - /** - * @param string $customerId Required. The ID of the customer performing the upload. - * @param \Google\Ads\GoogleAds\V15\Services\ConversionAdjustment[] $conversionAdjustments Required. The conversion adjustments that are being uploaded. - * @param bool $partialFailure Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried out - * in one transaction if and only if they are all valid. This should always be - * set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * @return \Google\Ads\GoogleAds\V15\Services\UploadConversionAdjustmentsRequest - * - * @experimental - */ - public static function build(string $customerId, array $conversionAdjustments, bool $partialFailure): self - { - return (new self()) - ->setCustomerId($customerId) - ->setConversionAdjustments($conversionAdjustments) - ->setPartialFailure($partialFailure); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer performing the upload. - * @type array<\Google\Ads\GoogleAds\V15\Services\ConversionAdjustment>|\Google\Protobuf\Internal\RepeatedField $conversion_adjustments - * Required. The conversion adjustments that are being uploaded. - * @type bool $partial_failure - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried out - * in one transaction if and only if they are all valid. This should always be - * set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @type bool $validate_only - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * @type int $job_id - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadConversionAdjustmentsResponse`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer performing the upload. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The conversion adjustments that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionAdjustment conversion_adjustments = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConversionAdjustments() - { - return $this->conversion_adjustments; - } - - /** - * Required. The conversion adjustments that are being uploaded. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionAdjustment conversion_adjustments = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\ConversionAdjustment>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConversionAdjustments($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ConversionAdjustment::class); - $this->conversion_adjustments = $arr; - - return $this; - } - - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried out - * in one transaction if and only if they are all valid. This should always be - * set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return bool - */ - public function getPartialFailure() - { - return $this->partial_failure; - } - - /** - * Required. If true, successful operations will be carried out and invalid - * operations will return errors. If false, all operations will be carried out - * in one transaction if and only if they are all valid. This should always be - * set to true. - * See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field bool partial_failure = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param bool $var - * @return $this - */ - public function setPartialFailure($var) - { - GPBUtil::checkBool($var); - $this->partial_failure = $var; - - return $this; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @return bool - */ - public function getValidateOnly() - { - return $this->validate_only; - } - - /** - * If true, the request is validated but not executed. Only errors are - * returned, not results. - * - * Generated from protobuf field bool validate_only = 4; - * @param bool $var - * @return $this - */ - public function setValidateOnly($var) - { - GPBUtil::checkBool($var); - $this->validate_only = $var; - - return $this; - } - - /** - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadConversionAdjustmentsResponse`. - * - * Generated from protobuf field optional int32 job_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getJobId() - { - return isset($this->job_id) ? $this->job_id : 0; - } - - public function hasJobId() - { - return isset($this->job_id); - } - - public function clearJobId() - { - unset($this->job_id); - } - - /** - * Optional. Optional input to set job ID. Must be a non-negative number that - * is less than 2^31 if provided. If this field is not provided, the API will - * generate a job ID in the range [2^31, (2^63)-1]. The API will return the - * value for this request in the `job_id` field of the - * `UploadConversionAdjustmentsResponse`. - * - * Generated from protobuf field optional int32 job_id = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setJobId($var) - { - GPBUtil::checkInt32($var); - $this->job_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UploadConversionAdjustmentsResponse.php b/src/Google/Ads/GoogleAds/V15/Services/UploadConversionAdjustmentsResponse.php deleted file mode 100644 index 543aa9c5a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UploadConversionAdjustmentsResponse.php +++ /dev/null @@ -1,174 +0,0 @@ -google.ads.googleads.v15.services.UploadConversionAdjustmentsResponse - */ -class UploadConversionAdjustmentsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Errors that pertain to conversion adjustment failures in the partial - * failure mode. Returned when all errors occur inside the adjustments. If any - * errors occur outside the adjustments (for example, auth errors), we return - * an RPC level error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - */ - protected $partial_failure_error = null; - /** - * Returned for successfully processed conversion adjustments. Proto will be - * empty for rows that received an error. Results are not returned when - * validate_only is true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionAdjustmentResult results = 2; - */ - private $results; - /** - * Job ID for the upload batch. - * - * Generated from protobuf field int64 job_id = 3; - */ - protected $job_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $partial_failure_error - * Errors that pertain to conversion adjustment failures in the partial - * failure mode. Returned when all errors occur inside the adjustments. If any - * errors occur outside the adjustments (for example, auth errors), we return - * an RPC level error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * @type array<\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentResult>|\Google\Protobuf\Internal\RepeatedField $results - * Returned for successfully processed conversion adjustments. Proto will be - * empty for rows that received an error. Results are not returned when - * validate_only is true. - * @type int|string $job_id - * Job ID for the upload batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentUploadService::initOnce(); - parent::__construct($data); - } - - /** - * Errors that pertain to conversion adjustment failures in the partial - * failure mode. Returned when all errors occur inside the adjustments. If any - * errors occur outside the adjustments (for example, auth errors), we return - * an RPC level error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @return \Google\Rpc\Status|null - */ - public function getPartialFailureError() - { - return $this->partial_failure_error; - } - - public function hasPartialFailureError() - { - return isset($this->partial_failure_error); - } - - public function clearPartialFailureError() - { - unset($this->partial_failure_error); - } - - /** - * Errors that pertain to conversion adjustment failures in the partial - * failure mode. Returned when all errors occur inside the adjustments. If any - * errors occur outside the adjustments (for example, auth errors), we return - * an RPC level error. See - * https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - * for more information about partial failure. - * - * Generated from protobuf field .google.rpc.Status partial_failure_error = 1; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setPartialFailureError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->partial_failure_error = $var; - - return $this; - } - - /** - * Returned for successfully processed conversion adjustments. Proto will be - * empty for rows that received an error. Results are not returned when - * validate_only is true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionAdjustmentResult results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getResults() - { - return $this->results; - } - - /** - * Returned for successfully processed conversion adjustments. Proto will be - * empty for rows that received an error. Results are not returned when - * validate_only is true. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.ConversionAdjustmentResult results = 2; - * @param array<\Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\ConversionAdjustmentResult::class); - $this->results = $arr; - - return $this; - } - - /** - * Job ID for the upload batch. - * - * Generated from protobuf field int64 job_id = 3; - * @return int|string - */ - public function getJobId() - { - return $this->job_id; - } - - /** - * Job ID for the upload batch. - * - * Generated from protobuf field int64 job_id = 3; - * @param int|string $var - * @return $this - */ - public function setJobId($var) - { - GPBUtil::checkInt64($var); - $this->job_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UploadUserDataRequest.php b/src/Google/Ads/GoogleAds/V15/Services/UploadUserDataRequest.php deleted file mode 100644 index 120e037b1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UploadUserDataRequest.php +++ /dev/null @@ -1,144 +0,0 @@ -google.ads.googleads.v15.services.UploadUserDataRequest - */ -class UploadUserDataRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the customer for which to update the user data. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $customer_id = ''; - /** - * Required. The list of operations to be done. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UserDataOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - private $operations; - protected $metadata; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $customer_id - * Required. The ID of the customer for which to update the user data. - * @type array<\Google\Ads\GoogleAds\V15\Services\UserDataOperation>|\Google\Protobuf\Internal\RepeatedField $operations - * Required. The list of operations to be done. - * @type \Google\Ads\GoogleAds\V15\Common\CustomerMatchUserListMetadata $customer_match_user_list_metadata - * Metadata for data updates to a Customer Match user list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\UserDataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the customer for which to update the user data. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getCustomerId() - { - return $this->customer_id; - } - - /** - * Required. The ID of the customer for which to update the user data. - * - * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setCustomerId($var) - { - GPBUtil::checkString($var, True); - $this->customer_id = $var; - - return $this; - } - - /** - * Required. The list of operations to be done. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UserDataOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOperations() - { - return $this->operations; - } - - /** - * Required. The list of operations to be done. - * - * Generated from protobuf field repeated .google.ads.googleads.v15.services.UserDataOperation operations = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Ads\GoogleAds\V15\Services\UserDataOperation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOperations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Services\UserDataOperation::class); - $this->operations = $arr; - - return $this; - } - - /** - * Metadata for data updates to a Customer Match user list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 2; - * @return \Google\Ads\GoogleAds\V15\Common\CustomerMatchUserListMetadata|null - */ - public function getCustomerMatchUserListMetadata() - { - return $this->readOneof(2); - } - - public function hasCustomerMatchUserListMetadata() - { - return $this->hasOneof(2); - } - - /** - * Metadata for data updates to a Customer Match user list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 2; - * @param \Google\Ads\GoogleAds\V15\Common\CustomerMatchUserListMetadata $var - * @return $this - */ - public function setCustomerMatchUserListMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\CustomerMatchUserListMetadata::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getMetadata() - { - return $this->whichOneof("metadata"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UploadUserDataResponse.php b/src/Google/Ads/GoogleAds/V15/Services/UploadUserDataResponse.php deleted file mode 100644 index 84c2d33b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UploadUserDataResponse.php +++ /dev/null @@ -1,128 +0,0 @@ -google.ads.googleads.v15.services.UploadUserDataResponse - */ -class UploadUserDataResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The date time at which the request was received by API, formatted as - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string upload_date_time = 3; - */ - protected $upload_date_time = null; - /** - * Number of upload data operations received by API. - * - * Generated from protobuf field optional int32 received_operations_count = 4; - */ - protected $received_operations_count = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $upload_date_time - * The date time at which the request was received by API, formatted as - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * @type int $received_operations_count - * Number of upload data operations received by API. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\UserDataService::initOnce(); - parent::__construct($data); - } - - /** - * The date time at which the request was received by API, formatted as - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string upload_date_time = 3; - * @return string - */ - public function getUploadDateTime() - { - return isset($this->upload_date_time) ? $this->upload_date_time : ''; - } - - public function hasUploadDateTime() - { - return isset($this->upload_date_time); - } - - public function clearUploadDateTime() - { - unset($this->upload_date_time); - } - - /** - * The date time at which the request was received by API, formatted as - * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - * - * Generated from protobuf field optional string upload_date_time = 3; - * @param string $var - * @return $this - */ - public function setUploadDateTime($var) - { - GPBUtil::checkString($var, True); - $this->upload_date_time = $var; - - return $this; - } - - /** - * Number of upload data operations received by API. - * - * Generated from protobuf field optional int32 received_operations_count = 4; - * @return int - */ - public function getReceivedOperationsCount() - { - return isset($this->received_operations_count) ? $this->received_operations_count : 0; - } - - public function hasReceivedOperationsCount() - { - return isset($this->received_operations_count); - } - - public function clearReceivedOperationsCount() - { - unset($this->received_operations_count); - } - - /** - * Number of upload data operations received by API. - * - * Generated from protobuf field optional int32 received_operations_count = 4; - * @param int $var - * @return $this - */ - public function setReceivedOperationsCount($var) - { - GPBUtil::checkInt32($var); - $this->received_operations_count = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UrlSeed.php b/src/Google/Ads/GoogleAds/V15/Services/UrlSeed.php deleted file mode 100644 index 95269d534..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UrlSeed.php +++ /dev/null @@ -1,77 +0,0 @@ -google.ads.googleads.v15.services.UrlSeed - */ -class UrlSeed extends \Google\Protobuf\Internal\Message -{ - /** - * The URL to crawl in order to generate keyword ideas. - * - * Generated from protobuf field optional string url = 2; - */ - protected $url = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $url - * The URL to crawl in order to generate keyword ideas. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\KeywordPlanIdeaService::initOnce(); - parent::__construct($data); - } - - /** - * The URL to crawl in order to generate keyword ideas. - * - * Generated from protobuf field optional string url = 2; - * @return string - */ - public function getUrl() - { - return isset($this->url) ? $this->url : ''; - } - - public function hasUrl() - { - return isset($this->url); - } - - public function clearUrl() - { - unset($this->url); - } - - /** - * The URL to crawl in order to generate keyword ideas. - * - * Generated from protobuf field optional string url = 2; - * @param string $var - * @return $this - */ - public function setUrl($var) - { - GPBUtil::checkString($var, True); - $this->url = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UserDataOperation.php b/src/Google/Ads/GoogleAds/V15/Services/UserDataOperation.php deleted file mode 100644 index 81fc61427..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UserDataOperation.php +++ /dev/null @@ -1,108 +0,0 @@ -google.ads.googleads.v15.services.UserDataOperation - */ -class UserDataOperation extends \Google\Protobuf\Internal\Message -{ - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Ads\GoogleAds\V15\Common\UserData $create - * The list of user data to be appended to the user list. - * @type \Google\Ads\GoogleAds\V15\Common\UserData $remove - * The list of user data to be removed from the user list. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\UserDataService::initOnce(); - parent::__construct($data); - } - - /** - * The list of user data to be appended to the user list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserData create = 1; - * @return \Google\Ads\GoogleAds\V15\Common\UserData|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * The list of user data to be appended to the user list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserData create = 1; - * @param \Google\Ads\GoogleAds\V15\Common\UserData $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserData::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * The list of user data to be removed from the user list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserData remove = 2; - * @return \Google\Ads\GoogleAds\V15\Common\UserData|null - */ - public function getRemove() - { - return $this->readOneof(2); - } - - public function hasRemove() - { - return $this->hasOneof(2); - } - - /** - * The list of user data to be removed from the user list. - * - * Generated from protobuf field .google.ads.googleads.v15.common.UserData remove = 2; - * @param \Google\Ads\GoogleAds\V15\Common\UserData $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Common\UserData::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UserDataServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/UserDataServiceClient.php deleted file mode 100644 index a5ffd3ffd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UserDataServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.UserDataService/UploadUserData', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\UploadUserDataResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/UserListOperation.php b/src/Google/Ads/GoogleAds/V15/Services/UserListOperation.php deleted file mode 100644 index fc84dc33e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UserListOperation.php +++ /dev/null @@ -1,194 +0,0 @@ -google.ads.googleads.v15.services.UserListOperation - */ -class UserListOperation extends \Google\Protobuf\Internal\Message -{ - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - */ - protected $update_mask = null; - protected $operation; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\FieldMask $update_mask - * FieldMask that determines which resource fields are modified in an update. - * @type \Google\Ads\GoogleAds\V15\Resources\UserList $create - * Create operation: No resource name is expected for the new user list. - * @type \Google\Ads\GoogleAds\V15\Resources\UserList $update - * Update operation: The user list is expected to have a valid resource - * name. - * @type string $remove - * Remove operation: A resource name for the removed user list is expected, - * in this format: - * `customers/{customer_id}/userLists/{user_list_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\UserListService::initOnce(); - parent::__construct($data); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @return \Google\Protobuf\FieldMask|null - */ - public function getUpdateMask() - { - return $this->update_mask; - } - - public function hasUpdateMask() - { - return isset($this->update_mask); - } - - public function clearUpdateMask() - { - unset($this->update_mask); - } - - /** - * FieldMask that determines which resource fields are modified in an update. - * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 4; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setUpdateMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->update_mask = $var; - - return $this; - } - - /** - * Create operation: No resource name is expected for the new user list. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserList create = 1; - * @return \Google\Ads\GoogleAds\V15\Resources\UserList|null - */ - public function getCreate() - { - return $this->readOneof(1); - } - - public function hasCreate() - { - return $this->hasOneof(1); - } - - /** - * Create operation: No resource name is expected for the new user list. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserList create = 1; - * @param \Google\Ads\GoogleAds\V15\Resources\UserList $var - * @return $this - */ - public function setCreate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\UserList::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Update operation: The user list is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserList update = 2; - * @return \Google\Ads\GoogleAds\V15\Resources\UserList|null - */ - public function getUpdate() - { - return $this->readOneof(2); - } - - public function hasUpdate() - { - return $this->hasOneof(2); - } - - /** - * Update operation: The user list is expected to have a valid resource - * name. - * - * Generated from protobuf field .google.ads.googleads.v15.resources.UserList update = 2; - * @param \Google\Ads\GoogleAds\V15\Resources\UserList $var - * @return $this - */ - public function setUpdate($var) - { - GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V15\Resources\UserList::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Remove operation: A resource name for the removed user list is expected, - * in this format: - * `customers/{customer_id}/userLists/{user_list_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getRemove() - { - return $this->readOneof(3); - } - - public function hasRemove() - { - return $this->hasOneof(3); - } - - /** - * Remove operation: A resource name for the removed user list is expected, - * in this format: - * `customers/{customer_id}/userLists/{user_list_id}` - * - * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setRemove($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getOperation() - { - return $this->whichOneof("operation"); - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/UserListServiceClient.php b/src/Google/Ads/GoogleAds/V15/Services/UserListServiceClient.php deleted file mode 100644 index 9f94f1f56..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/UserListServiceClient.php +++ /dev/null @@ -1,34 +0,0 @@ -_simpleRequest('/google.ads.googleads.v15.services.UserListService/MutateUserLists', - $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateUserListsResponse', 'decode'], - $metadata, $options); - } - -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/YouTubeChannelAttributeMetadata.php b/src/Google/Ads/GoogleAds/V15/Services/YouTubeChannelAttributeMetadata.php deleted file mode 100644 index 51c253c48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/YouTubeChannelAttributeMetadata.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.YouTubeChannelAttributeMetadata - */ -class YouTubeChannelAttributeMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The approximate number of subscribers to the YouTube channel. - * - * Generated from protobuf field int64 subscriber_count = 1; - */ - protected $subscriber_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $subscriber_count - * The approximate number of subscribers to the YouTube channel. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\AudienceInsightsService::initOnce(); - parent::__construct($data); - } - - /** - * The approximate number of subscribers to the YouTube channel. - * - * Generated from protobuf field int64 subscriber_count = 1; - * @return int|string - */ - public function getSubscriberCount() - { - return $this->subscriber_count; - } - - /** - * The approximate number of subscribers to the YouTube channel. - * - * Generated from protobuf field int64 subscriber_count = 1; - * @param int|string $var - * @return $this - */ - public function setSubscriberCount($var) - { - GPBUtil::checkInt64($var); - $this->subscriber_count = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/YouTubeSelectLineUp.php b/src/Google/Ads/GoogleAds/V15/Services/YouTubeSelectLineUp.php deleted file mode 100644 index 1ed714fd6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/YouTubeSelectLineUp.php +++ /dev/null @@ -1,101 +0,0 @@ -google.ads.googleads.v15.services.YouTubeSelectLineUp - */ -class YouTubeSelectLineUp extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the YouTube Select Lineup. - * - * Generated from protobuf field int64 lineup_id = 1; - */ - protected $lineup_id = 0; - /** - * The unique name of the YouTube Select Lineup. - * - * Generated from protobuf field string lineup_name = 2; - */ - protected $lineup_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $lineup_id - * The ID of the YouTube Select Lineup. - * @type string $lineup_name - * The unique name of the YouTube Select Lineup. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the YouTube Select Lineup. - * - * Generated from protobuf field int64 lineup_id = 1; - * @return int|string - */ - public function getLineupId() - { - return $this->lineup_id; - } - - /** - * The ID of the YouTube Select Lineup. - * - * Generated from protobuf field int64 lineup_id = 1; - * @param int|string $var - * @return $this - */ - public function setLineupId($var) - { - GPBUtil::checkInt64($var); - $this->lineup_id = $var; - - return $this; - } - - /** - * The unique name of the YouTube Select Lineup. - * - * Generated from protobuf field string lineup_name = 2; - * @return string - */ - public function getLineupName() - { - return $this->lineup_name; - } - - /** - * The unique name of the YouTube Select Lineup. - * - * Generated from protobuf field string lineup_name = 2; - * @param string $var - * @return $this - */ - public function setLineupName($var) - { - GPBUtil::checkString($var, True); - $this->lineup_name = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/YouTubeSelectSettings.php b/src/Google/Ads/GoogleAds/V15/Services/YouTubeSelectSettings.php deleted file mode 100644 index 414a89813..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/YouTubeSelectSettings.php +++ /dev/null @@ -1,67 +0,0 @@ -google.ads.googleads.v15.services.YouTubeSelectSettings - */ -class YouTubeSelectSettings extends \Google\Protobuf\Internal\Message -{ - /** - * Lineup for YouTube Select Targeting. - * - * Generated from protobuf field int64 lineup_id = 1; - */ - protected $lineup_id = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $lineup_id - * Lineup for YouTube Select Targeting. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Services\ReachPlanService::initOnce(); - parent::__construct($data); - } - - /** - * Lineup for YouTube Select Targeting. - * - * Generated from protobuf field int64 lineup_id = 1; - * @return int|string - */ - public function getLineupId() - { - return $this->lineup_id; - } - - /** - * Lineup for YouTube Select Targeting. - * - * Generated from protobuf field int64 lineup_id = 1; - * @param int|string $var - * @return $this - */ - public function setLineupId($var) - { - GPBUtil::checkInt64($var); - $this->lineup_id = $var; - - return $this; - } - -} - diff --git a/src/Google/Ads/GoogleAds/V15/Services/gapic_metadata.json b/src/Google/Ads/GoogleAds/V15/Services/gapic_metadata.json deleted file mode 100644 index da8ed719b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/gapic_metadata.json +++ /dev/null @@ -1,1724 +0,0 @@ -{ - "schema": "1.0", - "comment": "This file maps proto services\/RPCs to the corresponding library clients\/methods", - "language": "php", - "protoPackage": "google.ads.googleads.v15.services", - "libraryPackage": "Google\\Ads\\GoogleAds\\V15\\Services", - "services": { - "AccountBudgetProposalService": { - "clients": { - "grpc": { - "libraryClient": "AccountBudgetProposalServiceGapicClient", - "rpcs": { - "MutateAccountBudgetProposal": { - "methods": [ - "mutateAccountBudgetProposal" - ] - } - } - } - } - }, - "AccountLinkService": { - "clients": { - "grpc": { - "libraryClient": "AccountLinkServiceGapicClient", - "rpcs": { - "CreateAccountLink": { - "methods": [ - "createAccountLink" - ] - }, - "MutateAccountLink": { - "methods": [ - "mutateAccountLink" - ] - } - } - } - } - }, - "AdGroupAdLabelService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupAdLabelServiceGapicClient", - "rpcs": { - "MutateAdGroupAdLabels": { - "methods": [ - "mutateAdGroupAdLabels" - ] - } - } - } - } - }, - "AdGroupAdService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupAdServiceGapicClient", - "rpcs": { - "MutateAdGroupAds": { - "methods": [ - "mutateAdGroupAds" - ] - } - } - } - } - }, - "AdGroupAssetService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupAssetServiceGapicClient", - "rpcs": { - "MutateAdGroupAssets": { - "methods": [ - "mutateAdGroupAssets" - ] - } - } - } - } - }, - "AdGroupAssetSetService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupAssetSetServiceGapicClient", - "rpcs": { - "MutateAdGroupAssetSets": { - "methods": [ - "mutateAdGroupAssetSets" - ] - } - } - } - } - }, - "AdGroupBidModifierService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupBidModifierServiceGapicClient", - "rpcs": { - "MutateAdGroupBidModifiers": { - "methods": [ - "mutateAdGroupBidModifiers" - ] - } - } - } - } - }, - "AdGroupCriterionCustomizerService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupCriterionCustomizerServiceGapicClient", - "rpcs": { - "MutateAdGroupCriterionCustomizers": { - "methods": [ - "mutateAdGroupCriterionCustomizers" - ] - } - } - } - } - }, - "AdGroupCriterionLabelService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupCriterionLabelServiceGapicClient", - "rpcs": { - "MutateAdGroupCriterionLabels": { - "methods": [ - "mutateAdGroupCriterionLabels" - ] - } - } - } - } - }, - "AdGroupCriterionService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupCriterionServiceGapicClient", - "rpcs": { - "MutateAdGroupCriteria": { - "methods": [ - "mutateAdGroupCriteria" - ] - } - } - } - } - }, - "AdGroupCustomizerService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupCustomizerServiceGapicClient", - "rpcs": { - "MutateAdGroupCustomizers": { - "methods": [ - "mutateAdGroupCustomizers" - ] - } - } - } - } - }, - "AdGroupExtensionSettingService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupExtensionSettingServiceGapicClient", - "rpcs": { - "MutateAdGroupExtensionSettings": { - "methods": [ - "mutateAdGroupExtensionSettings" - ] - } - } - } - } - }, - "AdGroupFeedService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupFeedServiceGapicClient", - "rpcs": { - "MutateAdGroupFeeds": { - "methods": [ - "mutateAdGroupFeeds" - ] - } - } - } - } - }, - "AdGroupLabelService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupLabelServiceGapicClient", - "rpcs": { - "MutateAdGroupLabels": { - "methods": [ - "mutateAdGroupLabels" - ] - } - } - } - } - }, - "AdGroupService": { - "clients": { - "grpc": { - "libraryClient": "AdGroupServiceGapicClient", - "rpcs": { - "MutateAdGroups": { - "methods": [ - "mutateAdGroups" - ] - } - } - } - } - }, - "AdParameterService": { - "clients": { - "grpc": { - "libraryClient": "AdParameterServiceGapicClient", - "rpcs": { - "MutateAdParameters": { - "methods": [ - "mutateAdParameters" - ] - } - } - } - } - }, - "AdService": { - "clients": { - "grpc": { - "libraryClient": "AdServiceGapicClient", - "rpcs": { - "GetAd": { - "methods": [ - "getAd" - ] - }, - "MutateAds": { - "methods": [ - "mutateAds" - ] - } - } - } - } - }, - "AssetGroupAssetService": { - "clients": { - "grpc": { - "libraryClient": "AssetGroupAssetServiceGapicClient", - "rpcs": { - "MutateAssetGroupAssets": { - "methods": [ - "mutateAssetGroupAssets" - ] - } - } - } - } - }, - "AssetGroupListingGroupFilterService": { - "clients": { - "grpc": { - "libraryClient": "AssetGroupListingGroupFilterServiceGapicClient", - "rpcs": { - "MutateAssetGroupListingGroupFilters": { - "methods": [ - "mutateAssetGroupListingGroupFilters" - ] - } - } - } - } - }, - "AssetGroupService": { - "clients": { - "grpc": { - "libraryClient": "AssetGroupServiceGapicClient", - "rpcs": { - "MutateAssetGroups": { - "methods": [ - "mutateAssetGroups" - ] - } - } - } - } - }, - "AssetGroupSignalService": { - "clients": { - "grpc": { - "libraryClient": "AssetGroupSignalServiceGapicClient", - "rpcs": { - "MutateAssetGroupSignals": { - "methods": [ - "mutateAssetGroupSignals" - ] - } - } - } - } - }, - "AssetService": { - "clients": { - "grpc": { - "libraryClient": "AssetServiceGapicClient", - "rpcs": { - "MutateAssets": { - "methods": [ - "mutateAssets" - ] - } - } - } - } - }, - "AssetSetAssetService": { - "clients": { - "grpc": { - "libraryClient": "AssetSetAssetServiceGapicClient", - "rpcs": { - "MutateAssetSetAssets": { - "methods": [ - "mutateAssetSetAssets" - ] - } - } - } - } - }, - "AssetSetService": { - "clients": { - "grpc": { - "libraryClient": "AssetSetServiceGapicClient", - "rpcs": { - "MutateAssetSets": { - "methods": [ - "mutateAssetSets" - ] - } - } - } - } - }, - "AudienceInsightsService": { - "clients": { - "grpc": { - "libraryClient": "AudienceInsightsServiceGapicClient", - "rpcs": { - "GenerateAudienceCompositionInsights": { - "methods": [ - "generateAudienceCompositionInsights" - ] - }, - "GenerateInsightsFinderReport": { - "methods": [ - "generateInsightsFinderReport" - ] - }, - "GenerateSuggestedTargetingInsights": { - "methods": [ - "generateSuggestedTargetingInsights" - ] - }, - "ListAudienceInsightsAttributes": { - "methods": [ - "listAudienceInsightsAttributes" - ] - }, - "ListInsightsEligibleDates": { - "methods": [ - "listInsightsEligibleDates" - ] - } - } - } - } - }, - "AudienceService": { - "clients": { - "grpc": { - "libraryClient": "AudienceServiceGapicClient", - "rpcs": { - "MutateAudiences": { - "methods": [ - "mutateAudiences" - ] - } - } - } - } - }, - "BiddingDataExclusionService": { - "clients": { - "grpc": { - "libraryClient": "BiddingDataExclusionServiceGapicClient", - "rpcs": { - "MutateBiddingDataExclusions": { - "methods": [ - "mutateBiddingDataExclusions" - ] - } - } - } - } - }, - "BiddingSeasonalityAdjustmentService": { - "clients": { - "grpc": { - "libraryClient": "BiddingSeasonalityAdjustmentServiceGapicClient", - "rpcs": { - "MutateBiddingSeasonalityAdjustments": { - "methods": [ - "mutateBiddingSeasonalityAdjustments" - ] - } - } - } - } - }, - "BiddingStrategyService": { - "clients": { - "grpc": { - "libraryClient": "BiddingStrategyServiceGapicClient", - "rpcs": { - "MutateBiddingStrategies": { - "methods": [ - "mutateBiddingStrategies" - ] - } - } - } - } - }, - "CampaignAssetService": { - "clients": { - "grpc": { - "libraryClient": "CampaignAssetServiceGapicClient", - "rpcs": { - "MutateCampaignAssets": { - "methods": [ - "mutateCampaignAssets" - ] - } - } - } - } - }, - "CampaignAssetSetService": { - "clients": { - "grpc": { - "libraryClient": "CampaignAssetSetServiceGapicClient", - "rpcs": { - "MutateCampaignAssetSets": { - "methods": [ - "mutateCampaignAssetSets" - ] - } - } - } - } - }, - "CampaignBidModifierService": { - "clients": { - "grpc": { - "libraryClient": "CampaignBidModifierServiceGapicClient", - "rpcs": { - "MutateCampaignBidModifiers": { - "methods": [ - "mutateCampaignBidModifiers" - ] - } - } - } - } - }, - "CampaignBudgetService": { - "clients": { - "grpc": { - "libraryClient": "CampaignBudgetServiceGapicClient", - "rpcs": { - "MutateCampaignBudgets": { - "methods": [ - "mutateCampaignBudgets" - ] - } - } - } - } - }, - "CampaignConversionGoalService": { - "clients": { - "grpc": { - "libraryClient": "CampaignConversionGoalServiceGapicClient", - "rpcs": { - "MutateCampaignConversionGoals": { - "methods": [ - "mutateCampaignConversionGoals" - ] - } - } - } - } - }, - "CampaignCriterionService": { - "clients": { - "grpc": { - "libraryClient": "CampaignCriterionServiceGapicClient", - "rpcs": { - "MutateCampaignCriteria": { - "methods": [ - "mutateCampaignCriteria" - ] - } - } - } - } - }, - "CampaignCustomizerService": { - "clients": { - "grpc": { - "libraryClient": "CampaignCustomizerServiceGapicClient", - "rpcs": { - "MutateCampaignCustomizers": { - "methods": [ - "mutateCampaignCustomizers" - ] - } - } - } - } - }, - "CampaignDraftService": { - "clients": { - "grpc": { - "libraryClient": "CampaignDraftServiceGapicClient", - "rpcs": { - "ListCampaignDraftAsyncErrors": { - "methods": [ - "listCampaignDraftAsyncErrors" - ] - }, - "MutateCampaignDrafts": { - "methods": [ - "mutateCampaignDrafts" - ] - }, - "PromoteCampaignDraft": { - "methods": [ - "promoteCampaignDraft" - ] - } - } - } - } - }, - "CampaignExtensionSettingService": { - "clients": { - "grpc": { - "libraryClient": "CampaignExtensionSettingServiceGapicClient", - "rpcs": { - "MutateCampaignExtensionSettings": { - "methods": [ - "mutateCampaignExtensionSettings" - ] - } - } - } - } - }, - "CampaignFeedService": { - "clients": { - "grpc": { - "libraryClient": "CampaignFeedServiceGapicClient", - "rpcs": { - "MutateCampaignFeeds": { - "methods": [ - "mutateCampaignFeeds" - ] - } - } - } - } - }, - "CampaignGroupService": { - "clients": { - "grpc": { - "libraryClient": "CampaignGroupServiceGapicClient", - "rpcs": { - "MutateCampaignGroups": { - "methods": [ - "mutateCampaignGroups" - ] - } - } - } - } - }, - "CampaignLabelService": { - "clients": { - "grpc": { - "libraryClient": "CampaignLabelServiceGapicClient", - "rpcs": { - "MutateCampaignLabels": { - "methods": [ - "mutateCampaignLabels" - ] - } - } - } - } - }, - "CampaignService": { - "clients": { - "grpc": { - "libraryClient": "CampaignServiceGapicClient", - "rpcs": { - "MutateCampaigns": { - "methods": [ - "mutateCampaigns" - ] - } - } - } - } - }, - "CampaignSharedSetService": { - "clients": { - "grpc": { - "libraryClient": "CampaignSharedSetServiceGapicClient", - "rpcs": { - "MutateCampaignSharedSets": { - "methods": [ - "mutateCampaignSharedSets" - ] - } - } - } - } - }, - "ConversionActionService": { - "clients": { - "grpc": { - "libraryClient": "ConversionActionServiceGapicClient", - "rpcs": { - "MutateConversionActions": { - "methods": [ - "mutateConversionActions" - ] - } - } - } - } - }, - "ConversionCustomVariableService": { - "clients": { - "grpc": { - "libraryClient": "ConversionCustomVariableServiceGapicClient", - "rpcs": { - "MutateConversionCustomVariables": { - "methods": [ - "mutateConversionCustomVariables" - ] - } - } - } - } - }, - "ConversionGoalCampaignConfigService": { - "clients": { - "grpc": { - "libraryClient": "ConversionGoalCampaignConfigServiceGapicClient", - "rpcs": { - "MutateConversionGoalCampaignConfigs": { - "methods": [ - "mutateConversionGoalCampaignConfigs" - ] - } - } - } - } - }, - "ConversionValueRuleService": { - "clients": { - "grpc": { - "libraryClient": "ConversionValueRuleServiceGapicClient", - "rpcs": { - "MutateConversionValueRules": { - "methods": [ - "mutateConversionValueRules" - ] - } - } - } - } - }, - "ConversionValueRuleSetService": { - "clients": { - "grpc": { - "libraryClient": "ConversionValueRuleSetServiceGapicClient", - "rpcs": { - "MutateConversionValueRuleSets": { - "methods": [ - "mutateConversionValueRuleSets" - ] - } - } - } - } - }, - "CustomConversionGoalService": { - "clients": { - "grpc": { - "libraryClient": "CustomConversionGoalServiceGapicClient", - "rpcs": { - "MutateCustomConversionGoals": { - "methods": [ - "mutateCustomConversionGoals" - ] - } - } - } - } - }, - "CustomerAssetService": { - "clients": { - "grpc": { - "libraryClient": "CustomerAssetServiceGapicClient", - "rpcs": { - "MutateCustomerAssets": { - "methods": [ - "mutateCustomerAssets" - ] - } - } - } - } - }, - "CustomerConversionGoalService": { - "clients": { - "grpc": { - "libraryClient": "CustomerConversionGoalServiceGapicClient", - "rpcs": { - "MutateCustomerConversionGoals": { - "methods": [ - "mutateCustomerConversionGoals" - ] - } - } - } - } - }, - "CustomerCustomizerService": { - "clients": { - "grpc": { - "libraryClient": "CustomerCustomizerServiceGapicClient", - "rpcs": { - "MutateCustomerCustomizers": { - "methods": [ - "mutateCustomerCustomizers" - ] - } - } - } - } - }, - "CustomerExtensionSettingService": { - "clients": { - "grpc": { - "libraryClient": "CustomerExtensionSettingServiceGapicClient", - "rpcs": { - "MutateCustomerExtensionSettings": { - "methods": [ - "mutateCustomerExtensionSettings" - ] - } - } - } - } - }, - "CustomerFeedService": { - "clients": { - "grpc": { - "libraryClient": "CustomerFeedServiceGapicClient", - "rpcs": { - "MutateCustomerFeeds": { - "methods": [ - "mutateCustomerFeeds" - ] - } - } - } - } - }, - "CustomerLabelService": { - "clients": { - "grpc": { - "libraryClient": "CustomerLabelServiceGapicClient", - "rpcs": { - "MutateCustomerLabels": { - "methods": [ - "mutateCustomerLabels" - ] - } - } - } - } - }, - "CustomerNegativeCriterionService": { - "clients": { - "grpc": { - "libraryClient": "CustomerNegativeCriterionServiceGapicClient", - "rpcs": { - "MutateCustomerNegativeCriteria": { - "methods": [ - "mutateCustomerNegativeCriteria" - ] - } - } - } - } - }, - "CustomerService": { - "clients": { - "grpc": { - "libraryClient": "CustomerServiceGapicClient", - "rpcs": { - "CreateCustomerClient": { - "methods": [ - "createCustomerClient" - ] - }, - "ListAccessibleCustomers": { - "methods": [ - "listAccessibleCustomers" - ] - }, - "MutateCustomer": { - "methods": [ - "mutateCustomer" - ] - } - } - } - } - }, - "CustomizerAttributeService": { - "clients": { - "grpc": { - "libraryClient": "CustomizerAttributeServiceGapicClient", - "rpcs": { - "MutateCustomizerAttributes": { - "methods": [ - "mutateCustomizerAttributes" - ] - } - } - } - } - }, - "ExperimentArmService": { - "clients": { - "grpc": { - "libraryClient": "ExperimentArmServiceGapicClient", - "rpcs": { - "MutateExperimentArms": { - "methods": [ - "mutateExperimentArms" - ] - } - } - } - } - }, - "ExperimentService": { - "clients": { - "grpc": { - "libraryClient": "ExperimentServiceGapicClient", - "rpcs": { - "EndExperiment": { - "methods": [ - "endExperiment" - ] - }, - "GraduateExperiment": { - "methods": [ - "graduateExperiment" - ] - }, - "ListExperimentAsyncErrors": { - "methods": [ - "listExperimentAsyncErrors" - ] - }, - "MutateExperiments": { - "methods": [ - "mutateExperiments" - ] - }, - "PromoteExperiment": { - "methods": [ - "promoteExperiment" - ] - }, - "ScheduleExperiment": { - "methods": [ - "scheduleExperiment" - ] - } - } - } - } - }, - "ExtensionFeedItemService": { - "clients": { - "grpc": { - "libraryClient": "ExtensionFeedItemServiceGapicClient", - "rpcs": { - "MutateExtensionFeedItems": { - "methods": [ - "mutateExtensionFeedItems" - ] - } - } - } - } - }, - "FeedItemService": { - "clients": { - "grpc": { - "libraryClient": "FeedItemServiceGapicClient", - "rpcs": { - "MutateFeedItems": { - "methods": [ - "mutateFeedItems" - ] - } - } - } - } - }, - "FeedItemSetLinkService": { - "clients": { - "grpc": { - "libraryClient": "FeedItemSetLinkServiceGapicClient", - "rpcs": { - "MutateFeedItemSetLinks": { - "methods": [ - "mutateFeedItemSetLinks" - ] - } - } - } - } - }, - "FeedItemSetService": { - "clients": { - "grpc": { - "libraryClient": "FeedItemSetServiceGapicClient", - "rpcs": { - "MutateFeedItemSets": { - "methods": [ - "mutateFeedItemSets" - ] - } - } - } - } - }, - "FeedItemTargetService": { - "clients": { - "grpc": { - "libraryClient": "FeedItemTargetServiceGapicClient", - "rpcs": { - "MutateFeedItemTargets": { - "methods": [ - "mutateFeedItemTargets" - ] - } - } - } - } - }, - "FeedMappingService": { - "clients": { - "grpc": { - "libraryClient": "FeedMappingServiceGapicClient", - "rpcs": { - "MutateFeedMappings": { - "methods": [ - "mutateFeedMappings" - ] - } - } - } - } - }, - "FeedService": { - "clients": { - "grpc": { - "libraryClient": "FeedServiceGapicClient", - "rpcs": { - "MutateFeeds": { - "methods": [ - "mutateFeeds" - ] - } - } - } - } - }, - "KeywordPlanAdGroupKeywordService": { - "clients": { - "grpc": { - "libraryClient": "KeywordPlanAdGroupKeywordServiceGapicClient", - "rpcs": { - "MutateKeywordPlanAdGroupKeywords": { - "methods": [ - "mutateKeywordPlanAdGroupKeywords" - ] - } - } - } - } - }, - "KeywordPlanAdGroupService": { - "clients": { - "grpc": { - "libraryClient": "KeywordPlanAdGroupServiceGapicClient", - "rpcs": { - "MutateKeywordPlanAdGroups": { - "methods": [ - "mutateKeywordPlanAdGroups" - ] - } - } - } - } - }, - "KeywordPlanCampaignKeywordService": { - "clients": { - "grpc": { - "libraryClient": "KeywordPlanCampaignKeywordServiceGapicClient", - "rpcs": { - "MutateKeywordPlanCampaignKeywords": { - "methods": [ - "mutateKeywordPlanCampaignKeywords" - ] - } - } - } - } - }, - "KeywordPlanCampaignService": { - "clients": { - "grpc": { - "libraryClient": "KeywordPlanCampaignServiceGapicClient", - "rpcs": { - "MutateKeywordPlanCampaigns": { - "methods": [ - "mutateKeywordPlanCampaigns" - ] - } - } - } - } - }, - "KeywordPlanService": { - "clients": { - "grpc": { - "libraryClient": "KeywordPlanServiceGapicClient", - "rpcs": { - "MutateKeywordPlans": { - "methods": [ - "mutateKeywordPlans" - ] - } - } - } - } - }, - "LabelService": { - "clients": { - "grpc": { - "libraryClient": "LabelServiceGapicClient", - "rpcs": { - "MutateLabels": { - "methods": [ - "mutateLabels" - ] - } - } - } - } - }, - "RecommendationSubscriptionService": { - "clients": { - "grpc": { - "libraryClient": "RecommendationSubscriptionServiceGapicClient", - "rpcs": { - "MutateRecommendationSubscription": { - "methods": [ - "mutateRecommendationSubscription" - ] - } - } - } - } - }, - "RemarketingActionService": { - "clients": { - "grpc": { - "libraryClient": "RemarketingActionServiceGapicClient", - "rpcs": { - "MutateRemarketingActions": { - "methods": [ - "mutateRemarketingActions" - ] - } - } - } - } - }, - "SharedCriterionService": { - "clients": { - "grpc": { - "libraryClient": "SharedCriterionServiceGapicClient", - "rpcs": { - "MutateSharedCriteria": { - "methods": [ - "mutateSharedCriteria" - ] - } - } - } - } - }, - "SharedSetService": { - "clients": { - "grpc": { - "libraryClient": "SharedSetServiceGapicClient", - "rpcs": { - "MutateSharedSets": { - "methods": [ - "mutateSharedSets" - ] - } - } - } - } - }, - "SmartCampaignSettingService": { - "clients": { - "grpc": { - "libraryClient": "SmartCampaignSettingServiceGapicClient", - "rpcs": { - "GetSmartCampaignStatus": { - "methods": [ - "getSmartCampaignStatus" - ] - }, - "MutateSmartCampaignSettings": { - "methods": [ - "mutateSmartCampaignSettings" - ] - } - } - } - } - }, - "UserListService": { - "clients": { - "grpc": { - "libraryClient": "UserListServiceGapicClient", - "rpcs": { - "MutateUserLists": { - "methods": [ - "mutateUserLists" - ] - } - } - } - } - }, - "GoogleAdsService": { - "clients": { - "grpc": { - "libraryClient": "GoogleAdsServiceGapicClient", - "rpcs": { - "Mutate": { - "methods": [ - "mutate" - ] - }, - "Search": { - "methods": [ - "search" - ] - }, - "SearchStream": { - "methods": [ - "searchStream" - ] - } - } - } - } - }, - "BatchJobService": { - "clients": { - "grpc": { - "libraryClient": "BatchJobServiceGapicClient", - "rpcs": { - "AddBatchJobOperations": { - "methods": [ - "addBatchJobOperations" - ] - }, - "ListBatchJobResults": { - "methods": [ - "listBatchJobResults" - ] - }, - "MutateBatchJob": { - "methods": [ - "mutateBatchJob" - ] - }, - "RunBatchJob": { - "methods": [ - "runBatchJob" - ] - } - } - } - } - }, - "BillingSetupService": { - "clients": { - "grpc": { - "libraryClient": "BillingSetupServiceGapicClient", - "rpcs": { - "MutateBillingSetup": { - "methods": [ - "mutateBillingSetup" - ] - } - } - } - } - }, - "BrandSuggestionService": { - "clients": { - "grpc": { - "libraryClient": "BrandSuggestionServiceGapicClient", - "rpcs": { - "SuggestBrands": { - "methods": [ - "suggestBrands" - ] - } - } - } - } - }, - "CampaignLifecycleGoalService": { - "clients": { - "grpc": { - "libraryClient": "CampaignLifecycleGoalServiceGapicClient", - "rpcs": { - "ConfigureCampaignLifecycleGoals": { - "methods": [ - "configureCampaignLifecycleGoals" - ] - } - } - } - } - }, - "ConversionAdjustmentUploadService": { - "clients": { - "grpc": { - "libraryClient": "ConversionAdjustmentUploadServiceGapicClient", - "rpcs": { - "UploadConversionAdjustments": { - "methods": [ - "uploadConversionAdjustments" - ] - } - } - } - } - }, - "ConversionUploadService": { - "clients": { - "grpc": { - "libraryClient": "ConversionUploadServiceGapicClient", - "rpcs": { - "UploadCallConversions": { - "methods": [ - "uploadCallConversions" - ] - }, - "UploadClickConversions": { - "methods": [ - "uploadClickConversions" - ] - } - } - } - } - }, - "CustomAudienceService": { - "clients": { - "grpc": { - "libraryClient": "CustomAudienceServiceGapicClient", - "rpcs": { - "MutateCustomAudiences": { - "methods": [ - "mutateCustomAudiences" - ] - } - } - } - } - }, - "CustomInterestService": { - "clients": { - "grpc": { - "libraryClient": "CustomInterestServiceGapicClient", - "rpcs": { - "MutateCustomInterests": { - "methods": [ - "mutateCustomInterests" - ] - } - } - } - } - }, - "CustomerAssetSetService": { - "clients": { - "grpc": { - "libraryClient": "CustomerAssetSetServiceGapicClient", - "rpcs": { - "MutateCustomerAssetSets": { - "methods": [ - "mutateCustomerAssetSets" - ] - } - } - } - } - }, - "CustomerClientLinkService": { - "clients": { - "grpc": { - "libraryClient": "CustomerClientLinkServiceGapicClient", - "rpcs": { - "MutateCustomerClientLink": { - "methods": [ - "mutateCustomerClientLink" - ] - } - } - } - } - }, - "CustomerLifecycleGoalService": { - "clients": { - "grpc": { - "libraryClient": "CustomerLifecycleGoalServiceGapicClient", - "rpcs": { - "ConfigureCustomerLifecycleGoals": { - "methods": [ - "configureCustomerLifecycleGoals" - ] - } - } - } - } - }, - "CustomerManagerLinkService": { - "clients": { - "grpc": { - "libraryClient": "CustomerManagerLinkServiceGapicClient", - "rpcs": { - "MoveManagerLink": { - "methods": [ - "moveManagerLink" - ] - }, - "MutateCustomerManagerLink": { - "methods": [ - "mutateCustomerManagerLink" - ] - } - } - } - } - }, - "CustomerSkAdNetworkConversionValueSchemaService": { - "clients": { - "grpc": { - "libraryClient": "CustomerSkAdNetworkConversionValueSchemaServiceGapicClient", - "rpcs": { - "MutateCustomerSkAdNetworkConversionValueSchema": { - "methods": [ - "mutateCustomerSkAdNetworkConversionValueSchema" - ] - } - } - } - } - }, - "CustomerUserAccessInvitationService": { - "clients": { - "grpc": { - "libraryClient": "CustomerUserAccessInvitationServiceGapicClient", - "rpcs": { - "MutateCustomerUserAccessInvitation": { - "methods": [ - "mutateCustomerUserAccessInvitation" - ] - } - } - } - } - }, - "CustomerUserAccessService": { - "clients": { - "grpc": { - "libraryClient": "CustomerUserAccessServiceGapicClient", - "rpcs": { - "MutateCustomerUserAccess": { - "methods": [ - "mutateCustomerUserAccess" - ] - } - } - } - } - }, - "GeoTargetConstantService": { - "clients": { - "grpc": { - "libraryClient": "GeoTargetConstantServiceGapicClient", - "rpcs": { - "SuggestGeoTargetConstants": { - "methods": [ - "suggestGeoTargetConstants" - ] - } - } - } - } - }, - "GoogleAdsFieldService": { - "clients": { - "grpc": { - "libraryClient": "GoogleAdsFieldServiceGapicClient", - "rpcs": { - "GetGoogleAdsField": { - "methods": [ - "getGoogleAdsField" - ] - }, - "SearchGoogleAdsFields": { - "methods": [ - "searchGoogleAdsFields" - ] - } - } - } - } - }, - "InvoiceService": { - "clients": { - "grpc": { - "libraryClient": "InvoiceServiceGapicClient", - "rpcs": { - "ListInvoices": { - "methods": [ - "listInvoices" - ] - } - } - } - } - }, - "KeywordPlanIdeaService": { - "clients": { - "grpc": { - "libraryClient": "KeywordPlanIdeaServiceGapicClient", - "rpcs": { - "GenerateAdGroupThemes": { - "methods": [ - "generateAdGroupThemes" - ] - }, - "GenerateKeywordForecastMetrics": { - "methods": [ - "generateKeywordForecastMetrics" - ] - }, - "GenerateKeywordHistoricalMetrics": { - "methods": [ - "generateKeywordHistoricalMetrics" - ] - }, - "GenerateKeywordIdeas": { - "methods": [ - "generateKeywordIdeas" - ] - } - } - } - } - }, - "KeywordThemeConstantService": { - "clients": { - "grpc": { - "libraryClient": "KeywordThemeConstantServiceGapicClient", - "rpcs": { - "SuggestKeywordThemeConstants": { - "methods": [ - "suggestKeywordThemeConstants" - ] - } - } - } - } - }, - "OfflineUserDataJobService": { - "clients": { - "grpc": { - "libraryClient": "OfflineUserDataJobServiceGapicClient", - "rpcs": { - "AddOfflineUserDataJobOperations": { - "methods": [ - "addOfflineUserDataJobOperations" - ] - }, - "CreateOfflineUserDataJob": { - "methods": [ - "createOfflineUserDataJob" - ] - }, - "RunOfflineUserDataJob": { - "methods": [ - "runOfflineUserDataJob" - ] - } - } - } - } - }, - "PaymentsAccountService": { - "clients": { - "grpc": { - "libraryClient": "PaymentsAccountServiceGapicClient", - "rpcs": { - "ListPaymentsAccounts": { - "methods": [ - "listPaymentsAccounts" - ] - } - } - } - } - }, - "ProductLinkInvitationService": { - "clients": { - "grpc": { - "libraryClient": "ProductLinkInvitationServiceGapicClient", - "rpcs": { - "UpdateProductLinkInvitation": { - "methods": [ - "updateProductLinkInvitation" - ] - } - } - } - } - }, - "ProductLinkService": { - "clients": { - "grpc": { - "libraryClient": "ProductLinkServiceGapicClient", - "rpcs": { - "CreateProductLink": { - "methods": [ - "createProductLink" - ] - }, - "RemoveProductLink": { - "methods": [ - "removeProductLink" - ] - } - } - } - } - }, - "ReachPlanService": { - "clients": { - "grpc": { - "libraryClient": "ReachPlanServiceGapicClient", - "rpcs": { - "GenerateReachForecast": { - "methods": [ - "generateReachForecast" - ] - }, - "ListPlannableLocations": { - "methods": [ - "listPlannableLocations" - ] - }, - "ListPlannableProducts": { - "methods": [ - "listPlannableProducts" - ] - } - } - } - } - }, - "RecommendationService": { - "clients": { - "grpc": { - "libraryClient": "RecommendationServiceGapicClient", - "rpcs": { - "ApplyRecommendation": { - "methods": [ - "applyRecommendation" - ] - }, - "DismissRecommendation": { - "methods": [ - "dismissRecommendation" - ] - } - } - } - } - }, - "SmartCampaignSuggestService": { - "clients": { - "grpc": { - "libraryClient": "SmartCampaignSuggestServiceGapicClient", - "rpcs": { - "SuggestKeywordThemes": { - "methods": [ - "suggestKeywordThemes" - ] - }, - "SuggestSmartCampaignAd": { - "methods": [ - "suggestSmartCampaignAd" - ] - }, - "SuggestSmartCampaignBudgetOptions": { - "methods": [ - "suggestSmartCampaignBudgetOptions" - ] - } - } - } - } - }, - "ThirdPartyAppAnalyticsLinkService": { - "clients": { - "grpc": { - "libraryClient": "ThirdPartyAppAnalyticsLinkServiceGapicClient", - "rpcs": { - "RegenerateShareableLinkId": { - "methods": [ - "regenerateShareableLinkId" - ] - } - } - } - } - }, - "TravelAssetSuggestionService": { - "clients": { - "grpc": { - "libraryClient": "TravelAssetSuggestionServiceGapicClient", - "rpcs": { - "SuggestTravelAssets": { - "methods": [ - "suggestTravelAssets" - ] - } - } - } - } - }, - "UserDataService": { - "clients": { - "grpc": { - "libraryClient": "UserDataServiceGapicClient", - "rpcs": { - "UploadUserData": { - "methods": [ - "uploadUserData" - ] - } - } - } - } - } - } -} \ No newline at end of file diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_client_config.json deleted file mode 100644 index 7d2830e15..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AccountBudgetProposalService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAccountBudgetProposal": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_descriptor_config.php deleted file mode 100644 index 82fce1a8b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AccountBudgetProposalService' => [ - 'MutateAccountBudgetProposal' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAccountBudgetProposalResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'accountBudget' => 'customers/{customer_id}/accountBudgets/{account_budget_id}', - 'accountBudgetProposal' => 'customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}', - 'billingSetup' => 'customers/{customer_id}/billingSetups/{billing_setup_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_rest_client_config.php deleted file mode 100644 index 67d352896..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/account_budget_proposal_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AccountBudgetProposalService' => [ - 'MutateAccountBudgetProposal' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/accountBudgetProposals:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_client_config.json deleted file mode 100644 index 09b2ff89e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_client_config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AccountLinkService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "CreateAccountLink": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "MutateAccountLink": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_descriptor_config.php deleted file mode 100644 index 76e2933d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_descriptor_config.php +++ /dev/null @@ -1,36 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AccountLinkService' => [ - 'CreateAccountLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\CreateAccountLinkResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'MutateAccountLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAccountLinkResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'accountLink' => 'customers/{customer_id}/accountLinks/{account_link_id}', - 'customer' => 'customers/{customer_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_rest_client_config.php deleted file mode 100644 index f88ac0bcd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/account_link_service_rest_client_config.php +++ /dev/null @@ -1,91 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AccountLinkService' => [ - 'CreateAccountLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/accountLinks:create', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'MutateAccountLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/accountLinks:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_client_config.json deleted file mode 100644 index 348eaf3e5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupAdLabelService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupAdLabels": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_descriptor_config.php deleted file mode 100644 index ef51fd258..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupAdLabelService' => [ - 'MutateAdGroupAdLabels' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdLabelsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroupAd' => 'customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}', - 'adGroupAdLabel' => 'customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}', - 'label' => 'customers/{customer_id}/labels/{label_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_rest_client_config.php deleted file mode 100644 index 0b510fba3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_label_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupAdLabelService' => [ - 'MutateAdGroupAdLabels' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupAdLabels:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_client_config.json deleted file mode 100644 index cf30fd705..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupAdService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupAds": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_descriptor_config.php deleted file mode 100644 index a70f7b4be..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_descriptor_config.php +++ /dev/null @@ -1,26 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupAdService' => [ - 'MutateAdGroupAds' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupAdsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'ad' => 'customers/{customer_id}/ads/{ad_id}', - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupAd' => 'customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}', - 'adGroupAdLabel' => 'customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_rest_client_config.php deleted file mode 100644 index d0940e84c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_ad_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupAdService' => [ - 'MutateAdGroupAds' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupAds:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_client_config.json deleted file mode 100644 index 921820010..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupAssetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupAssets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_descriptor_config.php deleted file mode 100644 index 63f308791..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupAssetService' => [ - 'MutateAdGroupAssets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupAsset' => 'customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}', - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_rest_client_config.php deleted file mode 100644 index b1faa7664..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupAssetService' => [ - 'MutateAdGroupAssets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupAssets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_client_config.json deleted file mode 100644 index 23879d26f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupAssetSetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupAssetSets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_descriptor_config.php deleted file mode 100644 index e31f4a9e8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupAssetSetService' => [ - 'MutateAdGroupAssetSets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupAssetSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupAssetSet' => 'customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}', - 'assetSet' => 'customers/{customer_id}/assetSets/{asset_set_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_rest_client_config.php deleted file mode 100644 index f1e45a378..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_asset_set_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupAssetSetService' => [ - 'MutateAdGroupAssetSets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupAssetSets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_client_config.json deleted file mode 100644 index 9124c525f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupBidModifierService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupBidModifiers": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_descriptor_config.php deleted file mode 100644 index 1441efb55..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupBidModifierService' => [ - 'MutateAdGroupBidModifiers' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupBidModifiersResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupBidModifier' => 'customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_rest_client_config.php deleted file mode 100644 index 61d7a9eaf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_bid_modifier_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupBidModifierService' => [ - 'MutateAdGroupBidModifiers' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupBidModifiers:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_client_config.json deleted file mode 100644 index e1a47b70e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupCriterionCustomizerService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupCriterionCustomizers": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_descriptor_config.php deleted file mode 100644 index 8d0ffe416..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupCriterionCustomizerService' => [ - 'MutateAdGroupCriterionCustomizers' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionCustomizersResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroupCriterion' => 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}', - 'adGroupCriterionCustomizer' => 'customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}', - 'customizerAttribute' => 'customers/{customer_id}/customizerAttributes/{customizer_attribute_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_rest_client_config.php deleted file mode 100644 index f77ef0762..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_customizer_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupCriterionCustomizerService' => [ - 'MutateAdGroupCriterionCustomizers' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_client_config.json deleted file mode 100644 index 9a4043777..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupCriterionLabelService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupCriterionLabels": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_descriptor_config.php deleted file mode 100644 index fcb7cd669..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupCriterionLabelService' => [ - 'MutateAdGroupCriterionLabels' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriterionLabelsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroupCriterion' => 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}', - 'adGroupCriterionLabel' => 'customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}', - 'label' => 'customers/{customer_id}/labels/{label_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_rest_client_config.php deleted file mode 100644 index 093f7ce07..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_label_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupCriterionLabelService' => [ - 'MutateAdGroupCriterionLabels' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupCriterionLabels:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_descriptor_config.php deleted file mode 100644 index 38273d214..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_descriptor_config.php +++ /dev/null @@ -1,28 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupCriterionService' => [ - 'MutateAdGroupCriteria' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupCriteriaResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupCriterion' => 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}', - 'adGroupCriterionLabel' => 'customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}', - 'combinedAudience' => 'customers/{customer_id}/combinedAudiences/{combined_audience_id}', - 'mobileAppCategoryConstant' => 'mobileAppCategoryConstants/{mobile_app_category_id}', - 'topicConstant' => 'topicConstants/{topic_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_client_config.json deleted file mode 100644 index 54a5d8930..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupCustomizerService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupCustomizers": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_descriptor_config.php deleted file mode 100644 index af7e70fe2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupCustomizerService' => [ - 'MutateAdGroupCustomizers' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupCustomizersResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupCustomizer' => 'customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}', - 'customizerAttribute' => 'customers/{customer_id}/customizerAttributes/{customizer_attribute_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_rest_client_config.php deleted file mode 100644 index ac18739c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_customizer_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupCustomizerService' => [ - 'MutateAdGroupCustomizers' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupCustomizers:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_client_config.json deleted file mode 100644 index a1cb098e7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupExtensionSettingService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupExtensionSettings": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_descriptor_config.php deleted file mode 100644 index 0ba1ad786..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupExtensionSettingService' => [ - 'MutateAdGroupExtensionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupExtensionSettingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupExtensionSetting' => 'customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}', - 'extensionFeedItem' => 'customers/{customer_id}/extensionFeedItems/{feed_item_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_rest_client_config.php deleted file mode 100644 index 8d096f6e7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_extension_setting_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupExtensionSettingService' => [ - 'MutateAdGroupExtensionSettings' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupExtensionSettings:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_client_config.json deleted file mode 100644 index a7f1dd1dc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupFeedService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupFeeds": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_descriptor_config.php deleted file mode 100644 index 4f284f42c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupFeedService' => [ - 'MutateAdGroupFeeds' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupFeedsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupFeed' => 'customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}', - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_rest_client_config.php deleted file mode 100644 index 06265a071..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_feed_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupFeedService' => [ - 'MutateAdGroupFeeds' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupFeeds:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_client_config.json deleted file mode 100644 index d54321df9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupLabelService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroupLabels": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_descriptor_config.php deleted file mode 100644 index 85210d8ad..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupLabelService' => [ - 'MutateAdGroupLabels' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupLabelsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupLabel' => 'customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}', - 'label' => 'customers/{customer_id}/labels/{label_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_rest_client_config.php deleted file mode 100644 index be53225d6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_label_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupLabelService' => [ - 'MutateAdGroupLabels' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupLabels:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_client_config.json deleted file mode 100644 index e37bfe2dc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdGroupService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdGroups": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_descriptor_config.php deleted file mode 100644 index da4b0b78d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupService' => [ - 'MutateAdGroups' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdGroupsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupLabel' => 'customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_rest_client_config.php deleted file mode 100644 index f22158619..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdGroupService' => [ - 'MutateAdGroups' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroups:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_client_config.json deleted file mode 100644 index 0668646bb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdParameterService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAdParameters": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_descriptor_config.php deleted file mode 100644 index 54fc58e06..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdParameterService' => [ - 'MutateAdParameters' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdParametersResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroupCriterion' => 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}', - 'adParameter' => 'customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_rest_client_config.php deleted file mode 100644 index ba42b78ea..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_parameter_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdParameterService' => [ - 'MutateAdParameters' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adParameters:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_client_config.json deleted file mode 100644 index b045c18b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_client_config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AdService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "GetAd": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "MutateAds": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_descriptor_config.php deleted file mode 100644 index 11c0f0cd6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_descriptor_config.php +++ /dev/null @@ -1,35 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdService' => [ - 'GetAd' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Resources\Ad', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateAds' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAdsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'ad' => 'customers/{customer_id}/ads/{ad_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_rest_client_config.php deleted file mode 100644 index 09b73a49a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_service_rest_client_config.php +++ /dev/null @@ -1,90 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AdService' => [ - 'GetAd' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{resource_name=customers/*/ads/*}', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateAds' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/ads:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_client_config.json deleted file mode 100644 index 36bb2e66b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AssetGroupAssetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAssetGroupAssets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_descriptor_config.php deleted file mode 100644 index cc1a830d8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetGroupAssetService' => [ - 'MutateAssetGroupAssets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAssetGroupAssetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'assetGroup' => 'customers/{customer_id}/assetGroups/{asset_group_id}', - 'assetGroupAsset' => 'customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_rest_client_config.php deleted file mode 100644 index 4b655dd48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_asset_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetGroupAssetService' => [ - 'MutateAssetGroupAssets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/assetGroupAssets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_client_config.json deleted file mode 100644 index 1f78a02df..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AssetGroupListingGroupFilterService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAssetGroupListingGroupFilters": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_descriptor_config.php deleted file mode 100644 index 524b9a9f3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetGroupListingGroupFilterService' => [ - 'MutateAssetGroupListingGroupFilters' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAssetGroupListingGroupFiltersResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'assetGroup' => 'customers/{customer_id}/assetGroups/{asset_group_id}', - 'assetGroupListingGroupFilter' => 'customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_rest_client_config.php deleted file mode 100644 index 871ddbf25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_listing_group_filter_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetGroupListingGroupFilterService' => [ - 'MutateAssetGroupListingGroupFilters' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_client_config.json deleted file mode 100644 index f6a67de79..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AssetGroupService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAssetGroups": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_descriptor_config.php deleted file mode 100644 index 2c38f0962..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetGroupService' => [ - 'MutateAssetGroups' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAssetGroupsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'assetGroup' => 'customers/{customer_id}/assetGroups/{asset_group_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_rest_client_config.php deleted file mode 100644 index ab39ccc4e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetGroupService' => [ - 'MutateAssetGroups' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/assetGroups:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_client_config.json deleted file mode 100644 index 327d06206..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AssetGroupSignalService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAssetGroupSignals": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_descriptor_config.php deleted file mode 100644 index b0096213f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetGroupSignalService' => [ - 'MutateAssetGroupSignals' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAssetGroupSignalsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'assetGroup' => 'customers/{customer_id}/assetGroups/{asset_group_id}', - 'assetGroupSignal' => 'customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_rest_client_config.php deleted file mode 100644 index 4ec35448c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_group_signal_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetGroupSignalService' => [ - 'MutateAssetGroupSignals' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/assetGroupSignals:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_client_config.json deleted file mode 100644 index 58e3a9f24..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AssetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAssets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_descriptor_config.php deleted file mode 100644 index fd51a288f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetService' => [ - 'MutateAssets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAssetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'conversionAction' => 'customers/{customer_id}/conversionActions/{conversion_action_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_rest_client_config.php deleted file mode 100644 index 9d5f60287..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetService' => [ - 'MutateAssets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/assets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_client_config.json deleted file mode 100644 index 5db4ae8ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AssetSetAssetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAssetSetAssets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_descriptor_config.php deleted file mode 100644 index 903ab36ca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetSetAssetService' => [ - 'MutateAssetSetAssets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAssetSetAssetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'assetSet' => 'customers/{customer_id}/assetSets/{asset_set_id}', - 'assetSetAsset' => 'customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_rest_client_config.php deleted file mode 100644 index a89e1dcda..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_asset_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetSetAssetService' => [ - 'MutateAssetSetAssets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/assetSetAssets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_client_config.json deleted file mode 100644 index b150f63f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AssetSetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAssetSets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_descriptor_config.php deleted file mode 100644 index 2b9f11005..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetSetService' => [ - 'MutateAssetSets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAssetSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'assetSet' => 'customers/{customer_id}/assetSets/{asset_set_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_rest_client_config.php deleted file mode 100644 index f7c717132..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/asset_set_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AssetSetService' => [ - 'MutateAssetSets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/assetSets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_client_config.json deleted file mode 100644 index fbabd5fb3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_client_config.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AudienceInsightsService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "GenerateAudienceCompositionInsights": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GenerateInsightsFinderReport": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GenerateSuggestedTargetingInsights": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListAudienceInsightsAttributes": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListInsightsEligibleDates": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_descriptor_config.php deleted file mode 100644 index 1653dac12..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_descriptor_config.php +++ /dev/null @@ -1,60 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AudienceInsightsService' => [ - 'GenerateAudienceCompositionInsights' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GenerateAudienceCompositionInsightsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateInsightsFinderReport' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GenerateInsightsFinderReportResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateSuggestedTargetingInsights' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GenerateSuggestedTargetingInsightsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'ListAudienceInsightsAttributes' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListAudienceInsightsAttributesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'ListInsightsEligibleDates' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListInsightsEligibleDatesResponse', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_rest_client_config.php deleted file mode 100644 index 1773cdb28..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_insights_service_rest_client_config.php +++ /dev/null @@ -1,120 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AudienceInsightsService' => [ - 'GenerateAudienceCompositionInsights' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:generateAudienceCompositionInsights', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateInsightsFinderReport' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:generateInsightsFinderReport', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateSuggestedTargetingInsights' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:generateSuggestedTargetingInsights', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'ListAudienceInsightsAttributes' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:searchAudienceInsightsAttributes', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'ListInsightsEligibleDates' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/audienceInsights:listInsightsEligibleDates', - 'body' => '*', - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_client_config.json deleted file mode 100644 index bfaaaf78c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.AudienceService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateAudiences": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_descriptor_config.php deleted file mode 100644 index d5a2c1cdc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_descriptor_config.php +++ /dev/null @@ -1,26 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AudienceService' => [ - 'MutateAudiences' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateAudiencesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'assetGroup' => 'customers/{customer_id}/assetGroups/{asset_group_id}', - 'audience' => 'customers/{customer_id}/audiences/{audience_id}', - 'detailedDemographic' => 'customers/{customer_id}/detailedDemographics/{detailed_demographic_id}', - 'lifeEvent' => 'customers/{customer_id}/lifeEvents/{life_event_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_rest_client_config.php deleted file mode 100644 index 041763a48..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/audience_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.AudienceService' => [ - 'MutateAudiences' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/audiences:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_client_config.json deleted file mode 100644 index 06c12ef44..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_client_config.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.BatchJobService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "AddBatchJobOperations": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListBatchJobResults": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "MutateBatchJob": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "RunBatchJob": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_descriptor_config.php deleted file mode 100644 index 0b8db3b4f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_descriptor_config.php +++ /dev/null @@ -1,162 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BatchJobService' => [ - 'RunBatchJob' => [ - 'longRunning' => [ - 'operationReturnType' => '\Google\Protobuf\GPBEmpty', - 'metadataReturnType' => '\Google\Ads\GoogleAds\V15\Resources\BatchJob\BatchJobMetadata', - 'initialPollDelayMillis' => '500', - 'pollDelayMultiplier' => '1.5', - 'maxPollDelayMillis' => '5000', - 'totalPollTimeoutMillis' => '300000', - ], - 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL, - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'AddBatchJobOperations' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\AddBatchJobOperationsResponse', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'ListBatchJobResults' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getResults', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListBatchJobResultsResponse', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateBatchJob' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateBatchJobResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'accessibleBiddingStrategy' => 'customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}', - 'ad' => 'customers/{customer_id}/ads/{ad_id}', - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupAd' => 'customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}', - 'adGroupAdLabel' => 'customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}', - 'adGroupAsset' => 'customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}', - 'adGroupBidModifier' => 'customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}', - 'adGroupCriterion' => 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}', - 'adGroupCriterionCustomizer' => 'customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}', - 'adGroupCriterionLabel' => 'customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}', - 'adGroupCustomizer' => 'customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}', - 'adGroupExtensionSetting' => 'customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}', - 'adGroupFeed' => 'customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}', - 'adGroupLabel' => 'customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}', - 'adParameter' => 'customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}', - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'assetGroup' => 'customers/{customer_id}/assetGroups/{asset_group_id}', - 'assetGroupAsset' => 'customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}', - 'assetGroupListingGroupFilter' => 'customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}', - 'assetGroupSignal' => 'customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}', - 'assetSet' => 'customers/{customer_id}/assetSets/{asset_set_id}', - 'assetSetAsset' => 'customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}', - 'audience' => 'customers/{customer_id}/audiences/{audience_id}', - 'batchJob' => 'customers/{customer_id}/batchJobs/{batch_job_id}', - 'biddingDataExclusion' => 'customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}', - 'biddingSeasonalityAdjustment' => 'customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}', - 'biddingStrategy' => 'customers/{customer_id}/biddingStrategies/{bidding_strategy_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignAsset' => 'customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}', - 'campaignAssetSet' => 'customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}', - 'campaignBidModifier' => 'customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}', - 'campaignBudget' => 'customers/{customer_id}/campaignBudgets/{campaign_budget_id}', - 'campaignConversionGoal' => 'customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}', - 'campaignCriterion' => 'customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}', - 'campaignCustomizer' => 'customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}', - 'campaignDraft' => 'customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}', - 'campaignExtensionSetting' => 'customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}', - 'campaignFeed' => 'customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}', - 'campaignGroup' => 'customers/{customer_id}/campaignGroups/{campaign_group_id}', - 'campaignLabel' => 'customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}', - 'campaignSharedSet' => 'customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}', - 'carrierConstant' => 'carrierConstants/{criterion_id}', - 'combinedAudience' => 'customers/{customer_id}/combinedAudiences/{combined_audience_id}', - 'conversionAction' => 'customers/{customer_id}/conversionActions/{conversion_action_id}', - 'conversionCustomVariable' => 'customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}', - 'conversionGoalCampaignConfig' => 'customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}', - 'conversionValueRule' => 'customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}', - 'conversionValueRuleSet' => 'customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}', - 'customConversionGoal' => 'customers/{customer_id}/customConversionGoals/{goal_id}', - 'customer' => 'customers/{customer_id}', - 'customerAsset' => 'customers/{customer_id}/customerAssets/{asset_id}~{field_type}', - 'customerConversionGoal' => 'customers/{customer_id}/customerConversionGoals/{category}~{source}', - 'customerCustomizer' => 'customers/{customer_id}/customerCustomizers/{customizer_attribute_id}', - 'customerExtensionSetting' => 'customers/{customer_id}/customerExtensionSettings/{extension_type}', - 'customerFeed' => 'customers/{customer_id}/customerFeeds/{feed_id}', - 'customerLabel' => 'customers/{customer_id}/customerLabels/{label_id}', - 'customerNegativeCriterion' => 'customers/{customer_id}/customerNegativeCriteria/{criterion_id}', - 'customizerAttribute' => 'customers/{customer_id}/customizerAttributes/{customizer_attribute_id}', - 'detailedDemographic' => 'customers/{customer_id}/detailedDemographics/{detailed_demographic_id}', - 'experiment' => 'customers/{customer_id}/experiments/{trial_id}', - 'experimentArm' => 'customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}', - 'extensionFeedItem' => 'customers/{customer_id}/extensionFeedItems/{feed_item_id}', - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - 'feedItem' => 'customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}', - 'feedItemSet' => 'customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}', - 'feedItemSetLink' => 'customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}', - 'feedItemTarget' => 'customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}', - 'feedMapping' => 'customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}', - 'geoTargetConstant' => 'geoTargetConstants/{criterion_id}', - 'keywordPlan' => 'customers/{customer_id}/keywordPlans/{keyword_plan_id}', - 'keywordPlanAdGroup' => 'customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}', - 'keywordPlanAdGroupKeyword' => 'customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}', - 'keywordPlanCampaign' => 'customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}', - 'keywordPlanCampaignKeyword' => 'customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}', - 'keywordThemeConstant' => 'keywordThemeConstants/{express_category_id}~{express_sub_category_id}', - 'label' => 'customers/{customer_id}/labels/{label_id}', - 'languageConstant' => 'languageConstants/{criterion_id}', - 'lifeEvent' => 'customers/{customer_id}/lifeEvents/{life_event_id}', - 'mobileAppCategoryConstant' => 'mobileAppCategoryConstants/{mobile_app_category_id}', - 'mobileDeviceConstant' => 'mobileDeviceConstants/{criterion_id}', - 'operatingSystemVersionConstant' => 'operatingSystemVersionConstants/{criterion_id}', - 'recommendationSubscription' => 'customers/{customer_id}/recommendationSubscriptions/{recommendation_type}', - 'remarketingAction' => 'customers/{customer_id}/remarketingActions/{remarketing_action_id}', - 'sharedCriterion' => 'customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}', - 'sharedSet' => 'customers/{customer_id}/sharedSets/{shared_set_id}', - 'smartCampaignSetting' => 'customers/{customer_id}/smartCampaignSettings/{campaign_id}', - 'topicConstant' => 'topicConstants/{topic_id}', - 'userInterest' => 'customers/{customer_id}/userInterests/{user_interest_id}', - 'userList' => 'customers/{customer_id}/userLists/{user_list_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_rest_client_config.php deleted file mode 100644 index 2b894a845..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/batch_job_service_rest_client_config.php +++ /dev/null @@ -1,114 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BatchJobService' => [ - 'AddBatchJobOperations' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{resource_name=customers/*/batchJobs/*}:addOperations', - 'body' => '*', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'ListBatchJobResults' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{resource_name=customers/*/batchJobs/*}:listResults', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateBatchJob' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/batchJobs:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'RunBatchJob' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{resource_name=customers/*/batchJobs/*}:run', - 'body' => '*', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_client_config.json deleted file mode 100644 index e0e347a17..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.BiddingDataExclusionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateBiddingDataExclusions": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_descriptor_config.php deleted file mode 100644 index be302783d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BiddingDataExclusionService' => [ - 'MutateBiddingDataExclusions' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateBiddingDataExclusionsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'biddingDataExclusion' => 'customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_rest_client_config.php deleted file mode 100644 index 68a1b4638..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_data_exclusion_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BiddingDataExclusionService' => [ - 'MutateBiddingDataExclusions' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/biddingDataExclusions:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_client_config.json deleted file mode 100644 index 3263c22c1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateBiddingSeasonalityAdjustments": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_descriptor_config.php deleted file mode 100644 index e53f86e01..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService' => [ - 'MutateBiddingSeasonalityAdjustments' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateBiddingSeasonalityAdjustmentsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'biddingSeasonalityAdjustment' => 'customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_rest_client_config.php deleted file mode 100644 index 86598e0f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_seasonality_adjustment_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService' => [ - 'MutateBiddingSeasonalityAdjustments' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_client_config.json deleted file mode 100644 index acc09e510..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.BiddingStrategyService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateBiddingStrategies": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_descriptor_config.php deleted file mode 100644 index 42945703a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BiddingStrategyService' => [ - 'MutateBiddingStrategies' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateBiddingStrategiesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'biddingStrategy' => 'customers/{customer_id}/biddingStrategies/{bidding_strategy_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_rest_client_config.php deleted file mode 100644 index 5ca65971e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/bidding_strategy_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BiddingStrategyService' => [ - 'MutateBiddingStrategies' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/biddingStrategies:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_client_config.json deleted file mode 100644 index 439ffe96e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.BillingSetupService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateBillingSetup": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_descriptor_config.php deleted file mode 100644 index 2606f1b53..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BillingSetupService' => [ - 'MutateBillingSetup' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateBillingSetupResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'billingSetup' => 'customers/{customer_id}/billingSetups/{billing_setup_id}', - 'paymentsAccount' => 'customers/{customer_id}/paymentsAccounts/{payments_account_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_rest_client_config.php deleted file mode 100644 index 6162d657a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/billing_setup_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BillingSetupService' => [ - 'MutateBillingSetup' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/billingSetups:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_client_config.json deleted file mode 100644 index d07580d4a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.BrandSuggestionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "SuggestBrands": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_descriptor_config.php deleted file mode 100644 index 7cc555c61..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_descriptor_config.php +++ /dev/null @@ -1,20 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BrandSuggestionService' => [ - 'SuggestBrands' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SuggestBrandsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_rest_client_config.php deleted file mode 100644 index e49b6d341..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/brand_suggestion_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.BrandSuggestionService' => [ - 'SuggestBrands' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:suggestBrands', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_client_config.json deleted file mode 100644 index 96ae85189..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignAssetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignAssets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_descriptor_config.php deleted file mode 100644 index 2255bede4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignAssetService' => [ - 'MutateCampaignAssets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignAsset' => 'customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_rest_client_config.php deleted file mode 100644 index 9a68854b6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignAssetService' => [ - 'MutateCampaignAssets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignAssets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_client_config.json deleted file mode 100644 index be41c6ecb..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignAssetSetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignAssetSets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_descriptor_config.php deleted file mode 100644 index c6c531896..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignAssetSetService' => [ - 'MutateCampaignAssetSets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignAssetSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'assetSet' => 'customers/{customer_id}/assetSets/{asset_set_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignAssetSet' => 'customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_rest_client_config.php deleted file mode 100644 index a68121123..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_asset_set_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignAssetSetService' => [ - 'MutateCampaignAssetSets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignAssetSets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_client_config.json deleted file mode 100644 index 228827e4a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignBidModifierService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignBidModifiers": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_descriptor_config.php deleted file mode 100644 index 42e4f466b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignBidModifierService' => [ - 'MutateCampaignBidModifiers' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignBidModifiersResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignBidModifier' => 'customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_rest_client_config.php deleted file mode 100644 index dfba65928..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_bid_modifier_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignBidModifierService' => [ - 'MutateCampaignBidModifiers' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignBidModifiers:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_client_config.json deleted file mode 100644 index 0d2867ae2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignBudgetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignBudgets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_descriptor_config.php deleted file mode 100644 index e1ae7bd71..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignBudgetService' => [ - 'MutateCampaignBudgets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignBudgetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaignBudget' => 'customers/{customer_id}/campaignBudgets/{campaign_budget_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_rest_client_config.php deleted file mode 100644 index c4d50c90a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_budget_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignBudgetService' => [ - 'MutateCampaignBudgets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignBudgets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_client_config.json deleted file mode 100644 index 79ec5da1d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignConversionGoalService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignConversionGoals": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_descriptor_config.php deleted file mode 100644 index d259ef9c0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignConversionGoalService' => [ - 'MutateCampaignConversionGoals' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignConversionGoalsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignConversionGoal' => 'customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_rest_client_config.php deleted file mode 100644 index e66bb7838..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_conversion_goal_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignConversionGoalService' => [ - 'MutateCampaignConversionGoals' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignConversionGoals:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_client_config.json deleted file mode 100644 index 8d2cdf967..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignCriterionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignCriteria": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_descriptor_config.php deleted file mode 100644 index 492427cf1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_descriptor_config.php +++ /dev/null @@ -1,31 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignCriterionService' => [ - 'MutateCampaignCriteria' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignCriteriaResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignCriterion' => 'customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}', - 'carrierConstant' => 'carrierConstants/{criterion_id}', - 'combinedAudience' => 'customers/{customer_id}/combinedAudiences/{combined_audience_id}', - 'keywordThemeConstant' => 'keywordThemeConstants/{express_category_id}~{express_sub_category_id}', - 'mobileAppCategoryConstant' => 'mobileAppCategoryConstants/{mobile_app_category_id}', - 'mobileDeviceConstant' => 'mobileDeviceConstants/{criterion_id}', - 'operatingSystemVersionConstant' => 'operatingSystemVersionConstants/{criterion_id}', - 'topicConstant' => 'topicConstants/{topic_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_rest_client_config.php deleted file mode 100644 index 47b812cb4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_criterion_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignCriterionService' => [ - 'MutateCampaignCriteria' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignCriteria:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_client_config.json deleted file mode 100644 index b1974f12a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignCustomizerService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignCustomizers": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_descriptor_config.php deleted file mode 100644 index 04a13800c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignCustomizerService' => [ - 'MutateCampaignCustomizers' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignCustomizersResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignCustomizer' => 'customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}', - 'customizerAttribute' => 'customers/{customer_id}/customizerAttributes/{customizer_attribute_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_rest_client_config.php deleted file mode 100644 index b0f53c2c4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_customizer_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignCustomizerService' => [ - 'MutateCampaignCustomizers' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignCustomizers:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_client_config.json deleted file mode 100644 index ab8aa037d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_client_config.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignDraftService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "ListCampaignDraftAsyncErrors": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "MutateCampaignDrafts": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "PromoteCampaignDraft": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_descriptor_config.php deleted file mode 100644 index 57097a38b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_descriptor_config.php +++ /dev/null @@ -1,63 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignDraftService' => [ - 'PromoteCampaignDraft' => [ - 'longRunning' => [ - 'operationReturnType' => '\Google\Protobuf\GPBEmpty', - 'metadataReturnType' => '\Google\Protobuf\GPBEmpty', - 'initialPollDelayMillis' => '500', - 'pollDelayMultiplier' => '1.5', - 'maxPollDelayMillis' => '5000', - 'totalPollTimeoutMillis' => '300000', - ], - 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL, - 'headerParams' => [ - [ - 'keyName' => 'campaign_draft', - 'fieldAccessors' => [ - 'getCampaignDraft', - ], - ], - ], - ], - 'ListCampaignDraftAsyncErrors' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getErrors', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListCampaignDraftAsyncErrorsResponse', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateCampaignDrafts' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignDraftsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignDraft' => 'customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_rest_client_config.php deleted file mode 100644 index ec6dc308d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_draft_service_rest_client_config.php +++ /dev/null @@ -1,102 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignDraftService' => [ - 'ListCampaignDraftAsyncErrors' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateCampaignDrafts' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignDrafts:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'PromoteCampaignDraft' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{campaign_draft=customers/*/campaignDrafts/*}:promote', - 'body' => '*', - 'placeholders' => [ - 'campaign_draft' => [ - 'getters' => [ - 'getCampaignDraft', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_client_config.json deleted file mode 100644 index 0a0c8a6a4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignExtensionSettingService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignExtensionSettings": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_descriptor_config.php deleted file mode 100644 index f5fdf3622..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignExtensionSettingService' => [ - 'MutateCampaignExtensionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignExtensionSettingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignExtensionSetting' => 'customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}', - 'extensionFeedItem' => 'customers/{customer_id}/extensionFeedItems/{feed_item_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_rest_client_config.php deleted file mode 100644 index 186f40de5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_extension_setting_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignExtensionSettingService' => [ - 'MutateCampaignExtensionSettings' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignExtensionSettings:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_client_config.json deleted file mode 100644 index 3e1aa309f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignFeedService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignFeeds": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_descriptor_config.php deleted file mode 100644 index 5177e5ce3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignFeedService' => [ - 'MutateCampaignFeeds' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignFeedsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignFeed' => 'customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}', - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_rest_client_config.php deleted file mode 100644 index 122f8169e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_feed_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignFeedService' => [ - 'MutateCampaignFeeds' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignFeeds:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_client_config.json deleted file mode 100644 index 195fe815f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignGroupService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignGroups": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_descriptor_config.php deleted file mode 100644 index 2a31e4a3f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignGroupService' => [ - 'MutateCampaignGroups' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignGroupsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaignGroup' => 'customers/{customer_id}/campaignGroups/{campaign_group_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_rest_client_config.php deleted file mode 100644 index 377dfebc1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_group_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignGroupService' => [ - 'MutateCampaignGroups' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignGroups:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_client_config.json deleted file mode 100644 index 7125120d7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignLabelService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignLabels": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_descriptor_config.php deleted file mode 100644 index 382c8f662..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignLabelService' => [ - 'MutateCampaignLabels' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignLabelsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignLabel' => 'customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}', - 'label' => 'customers/{customer_id}/labels/{label_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_rest_client_config.php deleted file mode 100644 index 306cddb00..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_label_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignLabelService' => [ - 'MutateCampaignLabels' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignLabels:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_client_config.json deleted file mode 100644 index 648e26533..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignLifecycleGoalService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "ConfigureCampaignLifecycleGoals": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_descriptor_config.php deleted file mode 100644 index 19dc4302e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignLifecycleGoalService' => [ - 'ConfigureCampaignLifecycleGoals' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ConfigureCampaignLifecycleGoalsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignLifecycleGoal' => 'customers/{customer_id}/campaignLifecycleGoals/{campaign_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_rest_client_config.php deleted file mode 100644 index 8767295ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_lifecycle_goal_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignLifecycleGoalService' => [ - 'ConfigureCampaignLifecycleGoals' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignLifecycleGoal:configureCampaignLifecycleGoals', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_client_config.json deleted file mode 100644 index e03091f66..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaigns": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_descriptor_config.php deleted file mode 100644 index 6dbe33215..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_descriptor_config.php +++ /dev/null @@ -1,31 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignService' => [ - 'MutateCampaigns' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'accessibleBiddingStrategy' => 'customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}', - 'assetSet' => 'customers/{customer_id}/assetSets/{asset_set_id}', - 'biddingStrategy' => 'customers/{customer_id}/biddingStrategies/{bidding_strategy_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignBudget' => 'customers/{customer_id}/campaignBudgets/{campaign_budget_id}', - 'campaignGroup' => 'customers/{customer_id}/campaignGroups/{campaign_group_id}', - 'campaignLabel' => 'customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}', - 'conversionAction' => 'customers/{customer_id}/conversionActions/{conversion_action_id}', - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_rest_client_config.php deleted file mode 100644 index 3ab8b4799..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignService' => [ - 'MutateCampaigns' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaigns:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_client_config.json deleted file mode 100644 index cf3eea73a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CampaignSharedSetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCampaignSharedSets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_descriptor_config.php deleted file mode 100644 index b70bce2a2..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignSharedSetService' => [ - 'MutateCampaignSharedSets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCampaignSharedSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignSharedSet' => 'customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}', - 'sharedSet' => 'customers/{customer_id}/sharedSets/{shared_set_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_rest_client_config.php deleted file mode 100644 index 979b35041..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/campaign_shared_set_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CampaignSharedSetService' => [ - 'MutateCampaignSharedSets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/campaignSharedSets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_client_config.json deleted file mode 100644 index d34754a99..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ConversionActionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateConversionActions": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_descriptor_config.php deleted file mode 100644 index 54263da10..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionActionService' => [ - 'MutateConversionActions' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateConversionActionsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'conversionAction' => 'customers/{customer_id}/conversionActions/{conversion_action_id}', - 'customer' => 'customers/{customer_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_rest_client_config.php deleted file mode 100644 index 40446b36f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_action_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionActionService' => [ - 'MutateConversionActions' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/conversionActions:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_client_config.json deleted file mode 100644 index 9110073e3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ConversionAdjustmentUploadService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "UploadConversionAdjustments": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_descriptor_config.php deleted file mode 100644 index 05bde1789..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_descriptor_config.php +++ /dev/null @@ -1,20 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionAdjustmentUploadService' => [ - 'UploadConversionAdjustments' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\UploadConversionAdjustmentsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_rest_client_config.php deleted file mode 100644 index 18264dec8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_adjustment_upload_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionAdjustmentUploadService' => [ - 'UploadConversionAdjustments' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:uploadConversionAdjustments', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_client_config.json deleted file mode 100644 index 6f6e4883a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ConversionCustomVariableService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateConversionCustomVariables": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_descriptor_config.php deleted file mode 100644 index 06d566aa0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionCustomVariableService' => [ - 'MutateConversionCustomVariables' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateConversionCustomVariablesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'conversionCustomVariable' => 'customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}', - 'customer' => 'customers/{customer_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_rest_client_config.php deleted file mode 100644 index a7657a019..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_custom_variable_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionCustomVariableService' => [ - 'MutateConversionCustomVariables' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/conversionCustomVariables:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_client_config.json deleted file mode 100644 index aacdc9577..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ConversionGoalCampaignConfigService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateConversionGoalCampaignConfigs": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_descriptor_config.php deleted file mode 100644 index afaadf46e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionGoalCampaignConfigService' => [ - 'MutateConversionGoalCampaignConfigs' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateConversionGoalCampaignConfigsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'conversionGoalCampaignConfig' => 'customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}', - 'customConversionGoal' => 'customers/{customer_id}/customConversionGoals/{goal_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_rest_client_config.php deleted file mode 100644 index 89a085b6c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_goal_campaign_config_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionGoalCampaignConfigService' => [ - 'MutateConversionGoalCampaignConfigs' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_client_config.json deleted file mode 100644 index 151c48411..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_client_config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ConversionUploadService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "UploadCallConversions": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "UploadClickConversions": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_descriptor_config.php deleted file mode 100644 index 331809879..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_descriptor_config.php +++ /dev/null @@ -1,35 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionUploadService' => [ - 'UploadCallConversions' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\UploadCallConversionsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'UploadClickConversions' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\UploadClickConversionsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'conversionCustomVariable' => 'customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_rest_client_config.php deleted file mode 100644 index 39b186fb5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_upload_service_rest_client_config.php +++ /dev/null @@ -1,91 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionUploadService' => [ - 'UploadCallConversions' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:uploadCallConversions', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'UploadClickConversions' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:uploadClickConversions', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_client_config.json deleted file mode 100644 index f4e7dc04d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ConversionValueRuleService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateConversionValueRules": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_descriptor_config.php deleted file mode 100644 index 96bafc441..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_descriptor_config.php +++ /dev/null @@ -1,27 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionValueRuleService' => [ - 'MutateConversionValueRules' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateConversionValueRulesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'conversionValueRule' => 'customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}', - 'customer' => 'customers/{customer_id}', - 'geoTargetConstant' => 'geoTargetConstants/{criterion_id}', - 'userInterest' => 'customers/{customer_id}/userInterests/{user_interest_id}', - 'userList' => 'customers/{customer_id}/userLists/{user_list_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_rest_client_config.php deleted file mode 100644 index 2d70aee09..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionValueRuleService' => [ - 'MutateConversionValueRules' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/conversionValueRules:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_client_config.json deleted file mode 100644 index e6d0c1f04..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ConversionValueRuleSetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateConversionValueRuleSets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_descriptor_config.php deleted file mode 100644 index 915561f06..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_descriptor_config.php +++ /dev/null @@ -1,26 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionValueRuleSetService' => [ - 'MutateConversionValueRuleSets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateConversionValueRuleSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'conversionValueRule' => 'customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}', - 'conversionValueRuleSet' => 'customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}', - 'customer' => 'customers/{customer_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_rest_client_config.php deleted file mode 100644 index 2be133a6e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/conversion_value_rule_set_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ConversionValueRuleSetService' => [ - 'MutateConversionValueRuleSets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/conversionValueRuleSets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_client_config.json deleted file mode 100644 index da9952f86..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomAudienceService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomAudiences": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_descriptor_config.php deleted file mode 100644 index e2c830f8b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomAudienceService' => [ - 'MutateCustomAudiences' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomAudiencesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customAudience' => 'customers/{customer_id}/customAudiences/{custom_audience_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_rest_client_config.php deleted file mode 100644 index b8ae3777c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_audience_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomAudienceService' => [ - 'MutateCustomAudiences' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customAudiences:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_client_config.json deleted file mode 100644 index 4624dea94..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomConversionGoalService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomConversionGoals": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_descriptor_config.php deleted file mode 100644 index 471e69097..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomConversionGoalService' => [ - 'MutateCustomConversionGoals' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomConversionGoalsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'conversionAction' => 'customers/{customer_id}/conversionActions/{conversion_action_id}', - 'customConversionGoal' => 'customers/{customer_id}/customConversionGoals/{goal_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_rest_client_config.php deleted file mode 100644 index 5e93d0876..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_conversion_goal_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomConversionGoalService' => [ - 'MutateCustomConversionGoals' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customConversionGoals:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_client_config.json deleted file mode 100644 index 428b16718..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomInterestService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomInterests": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_descriptor_config.php deleted file mode 100644 index daa0559ac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomInterestService' => [ - 'MutateCustomInterests' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomInterestsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customInterest' => 'customers/{customer_id}/customInterests/{custom_interest_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_rest_client_config.php deleted file mode 100644 index c1a2f1812..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/custom_interest_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomInterestService' => [ - 'MutateCustomInterests' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customInterests:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_client_config.json deleted file mode 100644 index 44722520c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerAssetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerAssets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_descriptor_config.php deleted file mode 100644 index dc165387f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerAssetService' => [ - 'MutateCustomerAssets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'customerAsset' => 'customers/{customer_id}/customerAssets/{asset_id}~{field_type}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_rest_client_config.php deleted file mode 100644 index c256b496b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerAssetService' => [ - 'MutateCustomerAssets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerAssets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_client_config.json deleted file mode 100644 index 39c0b05a7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerAssetSetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerAssetSets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_descriptor_config.php deleted file mode 100644 index e1b3840ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerAssetSetService' => [ - 'MutateCustomerAssetSets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerAssetSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'assetSet' => 'customers/{customer_id}/assetSets/{asset_set_id}', - 'customer' => 'customers/{customer_id}', - 'customerAssetSet' => 'customers/{customer_id}/customerAssetSets/{asset_set_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_rest_client_config.php deleted file mode 100644 index 5beabfb51..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_asset_set_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerAssetSetService' => [ - 'MutateCustomerAssetSets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerAssetSets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_client_config.json deleted file mode 100644 index 6b5d078d7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerClientLinkService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerClientLink": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_descriptor_config.php deleted file mode 100644 index d90567ccc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerClientLinkService' => [ - 'MutateCustomerClientLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerClientLinkResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customer' => 'customers/{customer_id}', - 'customerClientLink' => 'customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_rest_client_config.php deleted file mode 100644 index cc2f67e60..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_client_link_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerClientLinkService' => [ - 'MutateCustomerClientLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerClientLinks:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_client_config.json deleted file mode 100644 index 37753ca2f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerConversionGoalService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerConversionGoals": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_descriptor_config.php deleted file mode 100644 index 3951675bf..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerConversionGoalService' => [ - 'MutateCustomerConversionGoals' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerConversionGoalsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerConversionGoal' => 'customers/{customer_id}/customerConversionGoals/{category}~{source}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_rest_client_config.php deleted file mode 100644 index 0d96d5fed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_conversion_goal_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerConversionGoalService' => [ - 'MutateCustomerConversionGoals' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerConversionGoals:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_client_config.json deleted file mode 100644 index eb9ce946b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerCustomizerService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerCustomizers": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_descriptor_config.php deleted file mode 100644 index aa43c9824..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerCustomizerService' => [ - 'MutateCustomerCustomizers' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerCustomizersResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerCustomizer' => 'customers/{customer_id}/customerCustomizers/{customizer_attribute_id}', - 'customizerAttribute' => 'customers/{customer_id}/customizerAttributes/{customizer_attribute_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_rest_client_config.php deleted file mode 100644 index c804af6c5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_customizer_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerCustomizerService' => [ - 'MutateCustomerCustomizers' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/CustomerCustomizers:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_client_config.json deleted file mode 100644 index f5b8148b3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerExtensionSettingService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerExtensionSettings": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_descriptor_config.php deleted file mode 100644 index 552a0100c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerExtensionSettingService' => [ - 'MutateCustomerExtensionSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerExtensionSettingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerExtensionSetting' => 'customers/{customer_id}/customerExtensionSettings/{extension_type}', - 'extensionFeedItem' => 'customers/{customer_id}/extensionFeedItems/{feed_item_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_rest_client_config.php deleted file mode 100644 index 21e599798..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_extension_setting_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerExtensionSettingService' => [ - 'MutateCustomerExtensionSettings' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerExtensionSettings:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_client_config.json deleted file mode 100644 index 1ce85cb1b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerFeedService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerFeeds": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_descriptor_config.php deleted file mode 100644 index 4ed76797f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerFeedService' => [ - 'MutateCustomerFeeds' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerFeedsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerFeed' => 'customers/{customer_id}/customerFeeds/{feed_id}', - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_rest_client_config.php deleted file mode 100644 index 77de06965..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_feed_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerFeedService' => [ - 'MutateCustomerFeeds' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerFeeds:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_client_config.json deleted file mode 100644 index d1fdad23d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerLabelService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerLabels": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_descriptor_config.php deleted file mode 100644 index 8d7137fd3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerLabelService' => [ - 'MutateCustomerLabels' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerLabelsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customer' => 'customers/{customer_id}', - 'customerLabel' => 'customers/{customer_id}/customerLabels/{label_id}', - 'label' => 'customers/{customer_id}/labels/{label_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_rest_client_config.php deleted file mode 100644 index e401ab3ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_label_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerLabelService' => [ - 'MutateCustomerLabels' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerLabels:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_client_config.json deleted file mode 100644 index e356b46dc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerLifecycleGoalService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "ConfigureCustomerLifecycleGoals": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_descriptor_config.php deleted file mode 100644 index 06893a834..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerLifecycleGoalService' => [ - 'ConfigureCustomerLifecycleGoals' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ConfigureCustomerLifecycleGoalsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerLifecycleGoal' => 'customers/{customer_id}/customerLifecycleGoals', - 'userList' => 'customers/{customer_id}/userLists/{user_list_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_rest_client_config.php deleted file mode 100644 index eb84a3a8a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_lifecycle_goal_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerLifecycleGoalService' => [ - 'ConfigureCustomerLifecycleGoals' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerLifecycleGoal:configureCustomerLifecycleGoals', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_client_config.json deleted file mode 100644 index 72dbc154c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_client_config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerManagerLinkService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MoveManagerLink": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "MutateCustomerManagerLink": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_descriptor_config.php deleted file mode 100644 index 79c1f100a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_descriptor_config.php +++ /dev/null @@ -1,36 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerManagerLinkService' => [ - 'MoveManagerLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MoveManagerLinkResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'MutateCustomerManagerLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerManagerLinkResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customer' => 'customers/{customer_id}', - 'customerManagerLink' => 'customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_rest_client_config.php deleted file mode 100644 index 911db3276..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_manager_link_service_rest_client_config.php +++ /dev/null @@ -1,91 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerManagerLinkService' => [ - 'MoveManagerLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerManagerLinks:moveManagerLink', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'MutateCustomerManagerLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerManagerLinks:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_client_config.json deleted file mode 100644 index b9627fbab..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerNegativeCriterionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerNegativeCriteria": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_descriptor_config.php deleted file mode 100644 index 0ef745705..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerNegativeCriterionService' => [ - 'MutateCustomerNegativeCriteria' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerNegativeCriteriaResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerNegativeCriterion' => 'customers/{customer_id}/customerNegativeCriteria/{criterion_id}', - 'mobileAppCategoryConstant' => 'mobileAppCategoryConstants/{mobile_app_category_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_rest_client_config.php deleted file mode 100644 index 709e623a1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_negative_criterion_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerNegativeCriterionService' => [ - 'MutateCustomerNegativeCriteria' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerNegativeCriteria:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_client_config.json deleted file mode 100644 index 87eb10628..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_client_config.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "CreateCustomerClient": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListAccessibleCustomers": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "MutateCustomer": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_descriptor_config.php deleted file mode 100644 index 545800acd..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_descriptor_config.php +++ /dev/null @@ -1,40 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerService' => [ - 'CreateCustomerClient' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\CreateCustomerClientResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'ListAccessibleCustomers' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListAccessibleCustomersResponse', - ], - 'MutateCustomer' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'conversionAction' => 'customers/{customer_id}/conversionActions/{conversion_action_id}', - 'customer' => 'customers/{customer_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_rest_client_config.php deleted file mode 100644 index 48fd0d7de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_service_rest_client_config.php +++ /dev/null @@ -1,95 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerService' => [ - 'CreateCustomerClient' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:createCustomerClient', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'ListAccessibleCustomers' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/customers:listAccessibleCustomers', - ], - 'MutateCustomer' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_client_config.json deleted file mode 100644 index 7580b00d3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerSkAdNetworkConversionValueSchema": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_descriptor_config.php deleted file mode 100644 index 8a3e6c049..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService' => [ - 'MutateCustomerSkAdNetworkConversionValueSchema' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerSkAdNetworkConversionValueSchemaResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerSkAdNetworkConversionValueSchema' => 'customers/{customer_id}/customerSkAdNetworkConversionValueSchemas/{account_link_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_rest_client_config.php deleted file mode 100644 index f0bd4d2b4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_sk_ad_network_conversion_value_schema_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService' => [ - 'MutateCustomerSkAdNetworkConversionValueSchema' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerSkAdNetworkConversionValueSchemas:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_client_config.json deleted file mode 100644 index d2d0cc0c8..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerUserAccessInvitationService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerUserAccessInvitation": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_descriptor_config.php deleted file mode 100644 index ee471ff32..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerUserAccessInvitationService' => [ - 'MutateCustomerUserAccessInvitation' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessInvitationResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerUserAccessInvitation' => 'customers/{customer_id}/customerUserAccessInvitations/{invitation_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_rest_client_config.php deleted file mode 100644 index 051ca5809..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_invitation_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerUserAccessInvitationService' => [ - 'MutateCustomerUserAccessInvitation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerUserAccessInvitations:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_client_config.json deleted file mode 100644 index 7741effd1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomerUserAccessService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomerUserAccess": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_descriptor_config.php deleted file mode 100644 index 08bd5b286..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerUserAccessService' => [ - 'MutateCustomerUserAccess' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomerUserAccessResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customerUserAccess' => 'customers/{customer_id}/customerUserAccesses/{user_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_rest_client_config.php deleted file mode 100644 index 89a3b3bde..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customer_user_access_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomerUserAccessService' => [ - 'MutateCustomerUserAccess' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customerUserAccesses:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_client_config.json deleted file mode 100644 index c4c2b98fe..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.CustomizerAttributeService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateCustomizerAttributes": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_descriptor_config.php deleted file mode 100644 index bb9a0e784..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomizerAttributeService' => [ - 'MutateCustomizerAttributes' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateCustomizerAttributesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customizerAttribute' => 'customers/{customer_id}/customizerAttributes/{customizer_attribute_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_rest_client_config.php deleted file mode 100644 index cba0d06ee..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/customizer_attribute_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.CustomizerAttributeService' => [ - 'MutateCustomizerAttributes' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/customizerAttributes:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_client_config.json deleted file mode 100644 index 9d114125c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ExperimentArmService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateExperimentArms": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_descriptor_config.php deleted file mode 100644 index 1f3788311..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ExperimentArmService' => [ - 'MutateExperimentArms' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateExperimentArmsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'experiment' => 'customers/{customer_id}/experiments/{trial_id}', - 'experimentArm' => 'customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_rest_client_config.php deleted file mode 100644 index 0e0e982de..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_arm_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ExperimentArmService' => [ - 'MutateExperimentArms' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/experimentArms:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_client_config.json deleted file mode 100644 index 21fde1bed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_client_config.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ExperimentService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "EndExperiment": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GraduateExperiment": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListExperimentAsyncErrors": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "MutateExperiments": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "PromoteExperiment": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ScheduleExperiment": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_descriptor_config.php deleted file mode 100644 index f0e4267b9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_descriptor_config.php +++ /dev/null @@ -1,107 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ExperimentService' => [ - 'PromoteExperiment' => [ - 'longRunning' => [ - 'operationReturnType' => '\Google\Protobuf\GPBEmpty', - 'metadataReturnType' => '\Google\Ads\GoogleAds\V15\Services\PromoteExperimentMetadata', - 'initialPollDelayMillis' => '500', - 'pollDelayMultiplier' => '1.5', - 'maxPollDelayMillis' => '5000', - 'totalPollTimeoutMillis' => '300000', - ], - 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL, - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'ScheduleExperiment' => [ - 'longRunning' => [ - 'operationReturnType' => '\Google\Protobuf\GPBEmpty', - 'metadataReturnType' => '\Google\Ads\GoogleAds\V15\Services\ScheduleExperimentMetadata', - 'initialPollDelayMillis' => '500', - 'pollDelayMultiplier' => '1.5', - 'maxPollDelayMillis' => '5000', - 'totalPollTimeoutMillis' => '300000', - ], - 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL, - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'EndExperiment' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'experiment', - 'fieldAccessors' => [ - 'getExperiment', - ], - ], - ], - ], - 'GraduateExperiment' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Protobuf\GPBEmpty', - 'headerParams' => [ - [ - 'keyName' => 'experiment', - 'fieldAccessors' => [ - 'getExperiment', - ], - ], - ], - ], - 'ListExperimentAsyncErrors' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getErrors', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListExperimentAsyncErrorsResponse', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateExperiments' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateExperimentsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignBudget' => 'customers/{customer_id}/campaignBudgets/{campaign_budget_id}', - 'experiment' => 'customers/{customer_id}/experiments/{trial_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_rest_client_config.php deleted file mode 100644 index ee1675e65..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/experiment_service_rest_client_config.php +++ /dev/null @@ -1,138 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ExperimentService' => [ - 'EndExperiment' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{experiment=customers/*/experiments/*}:endExperiment', - 'body' => '*', - 'placeholders' => [ - 'experiment' => [ - 'getters' => [ - 'getExperiment', - ], - ], - ], - ], - 'GraduateExperiment' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{experiment=customers/*/experiments/*}:graduateExperiment', - 'body' => '*', - 'placeholders' => [ - 'experiment' => [ - 'getters' => [ - 'getExperiment', - ], - ], - ], - ], - 'ListExperimentAsyncErrors' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateExperiments' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/experiments:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'PromoteExperiment' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{resource_name=customers/*/experiments/*}:promoteExperiment', - 'body' => '*', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'ScheduleExperiment' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{resource_name=customers/*/experiments/*}:scheduleExperiment', - 'body' => '*', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_client_config.json deleted file mode 100644 index a63afe7a3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ExtensionFeedItemService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateExtensionFeedItems": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_descriptor_config.php deleted file mode 100644 index ddf99d30b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_descriptor_config.php +++ /dev/null @@ -1,27 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ExtensionFeedItemService' => [ - 'MutateExtensionFeedItems' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateExtensionFeedItemsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'extensionFeedItem' => 'customers/{customer_id}/extensionFeedItems/{feed_item_id}', - 'geoTargetConstant' => 'geoTargetConstants/{criterion_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_rest_client_config.php deleted file mode 100644 index 6356e733b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/extension_feed_item_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ExtensionFeedItemService' => [ - 'MutateExtensionFeedItems' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/extensionFeedItems:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_client_config.json deleted file mode 100644 index e04721cd3..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.FeedItemService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateFeedItems": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_descriptor_config.php deleted file mode 100644 index 37a2f7c88..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedItemService' => [ - 'MutateFeedItems' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateFeedItemsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - 'feedItem' => 'customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_rest_client_config.php deleted file mode 100644 index 92c075b12..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedItemService' => [ - 'MutateFeedItems' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/feedItems:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_client_config.json deleted file mode 100644 index b81096282..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.FeedItemSetLinkService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateFeedItemSetLinks": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_descriptor_config.php deleted file mode 100644 index d44f43bc0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedItemSetLinkService' => [ - 'MutateFeedItemSetLinks' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetLinksResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'feedItem' => 'customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}', - 'feedItemSet' => 'customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}', - 'feedItemSetLink' => 'customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_rest_client_config.php deleted file mode 100644 index f28ef1e73..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_link_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedItemSetLinkService' => [ - 'MutateFeedItemSetLinks' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/feedItemSetLinks:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_client_config.json deleted file mode 100644 index fe158390c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.FeedItemSetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateFeedItemSets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_descriptor_config.php deleted file mode 100644 index 6a974ba41..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedItemSetService' => [ - 'MutateFeedItemSets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateFeedItemSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - 'feedItemSet' => 'customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_rest_client_config.php deleted file mode 100644 index 18369a8b4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_set_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedItemSetService' => [ - 'MutateFeedItemSets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/feedItemSets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_client_config.json deleted file mode 100644 index 6318e2e94..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.FeedItemTargetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateFeedItemTargets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_descriptor_config.php deleted file mode 100644 index 575094d53..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_descriptor_config.php +++ /dev/null @@ -1,27 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedItemTargetService' => [ - 'MutateFeedItemTargets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateFeedItemTargetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'feedItem' => 'customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}', - 'feedItemTarget' => 'customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}', - 'geoTargetConstant' => 'geoTargetConstants/{criterion_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_rest_client_config.php deleted file mode 100644 index 6d420d5f6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_item_target_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedItemTargetService' => [ - 'MutateFeedItemTargets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/feedItemTargets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_client_config.json deleted file mode 100644 index a6bd001e7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.FeedMappingService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateFeedMappings": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_descriptor_config.php deleted file mode 100644 index dd7dbabda..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedMappingService' => [ - 'MutateFeedMappings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateFeedMappingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - 'feedMapping' => 'customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_rest_client_config.php deleted file mode 100644 index aad137bca..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_mapping_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedMappingService' => [ - 'MutateFeedMappings' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/feedMappings:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_client_config.json deleted file mode 100644 index aacc55c02..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.FeedService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateFeeds": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_descriptor_config.php deleted file mode 100644 index 015cccb1b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedService' => [ - 'MutateFeeds' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateFeedsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_rest_client_config.php deleted file mode 100644 index 4b45a4b7b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/feed_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.FeedService' => [ - 'MutateFeeds' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/feeds:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_client_config.json deleted file mode 100644 index d577a0519..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.GeoTargetConstantService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "SuggestGeoTargetConstants": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_descriptor_config.php deleted file mode 100644 index 243876242..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_descriptor_config.php +++ /dev/null @@ -1,12 +0,0 @@ - [ - 'google.ads.googleads.v15.services.GeoTargetConstantService' => [ - 'SuggestGeoTargetConstants' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SuggestGeoTargetConstantsResponse', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_rest_client_config.php deleted file mode 100644 index 09b6c8a40..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/geo_target_constant_service_rest_client_config.php +++ /dev/null @@ -1,72 +0,0 @@ - [ - 'google.ads.googleads.v15.services.GeoTargetConstantService' => [ - 'SuggestGeoTargetConstants' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/geoTargetConstants:suggest', - 'body' => '*', - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_client_config.json deleted file mode 100644 index d5bd7fa64..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_client_config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.GoogleAdsFieldService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "GetGoogleAdsField": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "SearchGoogleAdsFields": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_descriptor_config.php deleted file mode 100644 index 539f731ff..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_descriptor_config.php +++ /dev/null @@ -1,35 +0,0 @@ - [ - 'google.ads.googleads.v15.services.GoogleAdsFieldService' => [ - 'GetGoogleAdsField' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Resources\GoogleAdsField', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'SearchGoogleAdsFields' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getResults', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsFieldsResponse', - ], - 'templateMap' => [ - 'googleAdsField' => 'googleAdsFields/{google_ads_field}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_rest_client_config.php deleted file mode 100644 index 5259aa600..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_field_service_rest_client_config.php +++ /dev/null @@ -1,83 +0,0 @@ - [ - 'google.ads.googleads.v15.services.GoogleAdsFieldService' => [ - 'GetGoogleAdsField' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{resource_name=googleAdsFields/*}', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'SearchGoogleAdsFields' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/googleAdsFields:search', - 'body' => '*', - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_client_config.json deleted file mode 100644 index 3aba0a9ef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_client_config.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.GoogleAdsService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "Mutate": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "Search": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "SearchStream": { - "timeout_millis": 14400000 - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_descriptor_config.php deleted file mode 100644 index 9ad08b8d0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_descriptor_config.php +++ /dev/null @@ -1,145 +0,0 @@ - [ - 'google.ads.googleads.v15.services.GoogleAdsService' => [ - 'Mutate' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateGoogleAdsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'Search' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getResults', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'SearchStream' => [ - 'grpcStreaming' => [ - 'grpcStreamingType' => 'ServerStreaming', - ], - 'callType' => \Google\ApiCore\Call::SERVER_STREAMING_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SearchGoogleAdsStreamResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'accessibleBiddingStrategy' => 'customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}', - 'ad' => 'customers/{customer_id}/ads/{ad_id}', - 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', - 'adGroupAd' => 'customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}', - 'adGroupAdLabel' => 'customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}', - 'adGroupAsset' => 'customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}', - 'adGroupBidModifier' => 'customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}', - 'adGroupCriterion' => 'customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}', - 'adGroupCriterionCustomizer' => 'customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}', - 'adGroupCriterionLabel' => 'customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}', - 'adGroupCustomizer' => 'customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}', - 'adGroupExtensionSetting' => 'customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}', - 'adGroupFeed' => 'customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}', - 'adGroupLabel' => 'customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}', - 'adParameter' => 'customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}', - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'assetGroup' => 'customers/{customer_id}/assetGroups/{asset_group_id}', - 'assetGroupAsset' => 'customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}', - 'assetGroupListingGroupFilter' => 'customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}', - 'assetGroupSignal' => 'customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}', - 'assetSet' => 'customers/{customer_id}/assetSets/{asset_set_id}', - 'assetSetAsset' => 'customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}', - 'audience' => 'customers/{customer_id}/audiences/{audience_id}', - 'biddingDataExclusion' => 'customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}', - 'biddingSeasonalityAdjustment' => 'customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}', - 'biddingStrategy' => 'customers/{customer_id}/biddingStrategies/{bidding_strategy_id}', - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'campaignAsset' => 'customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}', - 'campaignAssetSet' => 'customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}', - 'campaignBidModifier' => 'customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}', - 'campaignBudget' => 'customers/{customer_id}/campaignBudgets/{campaign_budget_id}', - 'campaignConversionGoal' => 'customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}', - 'campaignCriterion' => 'customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}', - 'campaignCustomizer' => 'customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}', - 'campaignDraft' => 'customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}', - 'campaignExtensionSetting' => 'customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}', - 'campaignFeed' => 'customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}', - 'campaignGroup' => 'customers/{customer_id}/campaignGroups/{campaign_group_id}', - 'campaignLabel' => 'customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}', - 'campaignSharedSet' => 'customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}', - 'carrierConstant' => 'carrierConstants/{criterion_id}', - 'combinedAudience' => 'customers/{customer_id}/combinedAudiences/{combined_audience_id}', - 'conversionAction' => 'customers/{customer_id}/conversionActions/{conversion_action_id}', - 'conversionCustomVariable' => 'customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}', - 'conversionGoalCampaignConfig' => 'customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}', - 'conversionValueRule' => 'customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}', - 'conversionValueRuleSet' => 'customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}', - 'customConversionGoal' => 'customers/{customer_id}/customConversionGoals/{goal_id}', - 'customer' => 'customers/{customer_id}', - 'customerAsset' => 'customers/{customer_id}/customerAssets/{asset_id}~{field_type}', - 'customerConversionGoal' => 'customers/{customer_id}/customerConversionGoals/{category}~{source}', - 'customerCustomizer' => 'customers/{customer_id}/customerCustomizers/{customizer_attribute_id}', - 'customerExtensionSetting' => 'customers/{customer_id}/customerExtensionSettings/{extension_type}', - 'customerFeed' => 'customers/{customer_id}/customerFeeds/{feed_id}', - 'customerLabel' => 'customers/{customer_id}/customerLabels/{label_id}', - 'customerNegativeCriterion' => 'customers/{customer_id}/customerNegativeCriteria/{criterion_id}', - 'customizerAttribute' => 'customers/{customer_id}/customizerAttributes/{customizer_attribute_id}', - 'detailedDemographic' => 'customers/{customer_id}/detailedDemographics/{detailed_demographic_id}', - 'experiment' => 'customers/{customer_id}/experiments/{trial_id}', - 'experimentArm' => 'customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}', - 'extensionFeedItem' => 'customers/{customer_id}/extensionFeedItems/{feed_item_id}', - 'feed' => 'customers/{customer_id}/feeds/{feed_id}', - 'feedItem' => 'customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}', - 'feedItemSet' => 'customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}', - 'feedItemSetLink' => 'customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}', - 'feedItemTarget' => 'customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}', - 'feedMapping' => 'customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}', - 'geoTargetConstant' => 'geoTargetConstants/{criterion_id}', - 'keywordPlan' => 'customers/{customer_id}/keywordPlans/{keyword_plan_id}', - 'keywordPlanAdGroup' => 'customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}', - 'keywordPlanAdGroupKeyword' => 'customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}', - 'keywordPlanCampaign' => 'customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}', - 'keywordPlanCampaignKeyword' => 'customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}', - 'keywordThemeConstant' => 'keywordThemeConstants/{express_category_id}~{express_sub_category_id}', - 'label' => 'customers/{customer_id}/labels/{label_id}', - 'languageConstant' => 'languageConstants/{criterion_id}', - 'lifeEvent' => 'customers/{customer_id}/lifeEvents/{life_event_id}', - 'mobileAppCategoryConstant' => 'mobileAppCategoryConstants/{mobile_app_category_id}', - 'mobileDeviceConstant' => 'mobileDeviceConstants/{criterion_id}', - 'operatingSystemVersionConstant' => 'operatingSystemVersionConstants/{criterion_id}', - 'recommendationSubscription' => 'customers/{customer_id}/recommendationSubscriptions/{recommendation_type}', - 'remarketingAction' => 'customers/{customer_id}/remarketingActions/{remarketing_action_id}', - 'sharedCriterion' => 'customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}', - 'sharedSet' => 'customers/{customer_id}/sharedSets/{shared_set_id}', - 'smartCampaignSetting' => 'customers/{customer_id}/smartCampaignSettings/{campaign_id}', - 'topicConstant' => 'topicConstants/{topic_id}', - 'userInterest' => 'customers/{customer_id}/userInterests/{user_interest_id}', - 'userList' => 'customers/{customer_id}/userLists/{user_list_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_rest_client_config.php deleted file mode 100644 index 9d71142ef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/google_ads_service_rest_client_config.php +++ /dev/null @@ -1,103 +0,0 @@ - [ - 'google.ads.googleads.v15.services.GoogleAdsService' => [ - 'Mutate' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/googleAds:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'Search' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/googleAds:search', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'SearchStream' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/googleAds:searchStream', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_client_config.json deleted file mode 100644 index c04cd35d9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.InvoiceService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "ListInvoices": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_descriptor_config.php deleted file mode 100644 index cc4d09318..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_descriptor_config.php +++ /dev/null @@ -1,20 +0,0 @@ - [ - 'google.ads.googleads.v15.services.InvoiceService' => [ - 'ListInvoices' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListInvoicesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_rest_client_config.php deleted file mode 100644 index b17e841f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/invoice_service_rest_client_config.php +++ /dev/null @@ -1,83 +0,0 @@ - [ - 'google.ads.googleads.v15.services.InvoiceService' => [ - 'ListInvoices' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/customers/{customer_id=*}/invoices', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - 'queryParams' => [ - 'billing_setup', - 'issue_year', - 'issue_month', - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_client_config.json deleted file mode 100644 index dd836baef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateKeywordPlanAdGroupKeywords": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_descriptor_config.php deleted file mode 100644 index 0ec7bebac..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService' => [ - 'MutateKeywordPlanAdGroupKeywords' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupKeywordsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'keywordPlanAdGroup' => 'customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}', - 'keywordPlanAdGroupKeyword' => 'customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_rest_client_config.php deleted file mode 100644 index 1735821d6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_keyword_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService' => [ - 'MutateKeywordPlanAdGroupKeywords' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_client_config.json deleted file mode 100644 index 2e20170b4..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.KeywordPlanAdGroupService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateKeywordPlanAdGroups": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_descriptor_config.php deleted file mode 100644 index 10dbc2707..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanAdGroupService' => [ - 'MutateKeywordPlanAdGroups' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanAdGroupsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'keywordPlanAdGroup' => 'customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}', - 'keywordPlanCampaign' => 'customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_rest_client_config.php deleted file mode 100644 index ff98cc3f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_ad_group_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanAdGroupService' => [ - 'MutateKeywordPlanAdGroups' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/keywordPlanAdGroups:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_client_config.json deleted file mode 100644 index 614464b31..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateKeywordPlanCampaignKeywords": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_descriptor_config.php deleted file mode 100644 index 7a051ea32..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_descriptor_config.php +++ /dev/null @@ -1,24 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService' => [ - 'MutateKeywordPlanCampaignKeywords' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignKeywordsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'keywordPlanCampaign' => 'customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}', - 'keywordPlanCampaignKeyword' => 'customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_rest_client_config.php deleted file mode 100644 index d7a295696..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_keyword_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService' => [ - 'MutateKeywordPlanCampaignKeywords' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_client_config.json deleted file mode 100644 index 947ccc062..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.KeywordPlanCampaignService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateKeywordPlanCampaigns": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_descriptor_config.php deleted file mode 100644 index 0c721698d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_descriptor_config.php +++ /dev/null @@ -1,26 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanCampaignService' => [ - 'MutateKeywordPlanCampaigns' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateKeywordPlanCampaignsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'geoTargetConstant' => 'geoTargetConstants/{criterion_id}', - 'keywordPlan' => 'customers/{customer_id}/keywordPlans/{keyword_plan_id}', - 'keywordPlanCampaign' => 'customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}', - 'languageConstant' => 'languageConstants/{criterion_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_rest_client_config.php deleted file mode 100644 index 462c0cf2b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_campaign_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanCampaignService' => [ - 'MutateKeywordPlanCampaigns' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/keywordPlanCampaigns:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_client_config.json deleted file mode 100644 index 28ed7185a..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_client_config.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.KeywordPlanIdeaService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "GenerateAdGroupThemes": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GenerateKeywordForecastMetrics": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GenerateKeywordHistoricalMetrics": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "GenerateKeywordIdeas": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_descriptor_config.php deleted file mode 100644 index 629025768..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_descriptor_config.php +++ /dev/null @@ -1,64 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanIdeaService' => [ - 'GenerateAdGroupThemes' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GenerateAdGroupThemesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateKeywordForecastMetrics' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GenerateKeywordForecastMetricsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateKeywordHistoricalMetrics' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GenerateKeywordHistoricalMetricsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateKeywordIdeas' => [ - 'pageStreaming' => [ - 'requestPageTokenGetMethod' => 'getPageToken', - 'requestPageTokenSetMethod' => 'setPageToken', - 'requestPageSizeGetMethod' => 'getPageSize', - 'requestPageSizeSetMethod' => 'setPageSize', - 'responsePageTokenGetMethod' => 'getNextPageToken', - 'resourcesGetMethod' => 'getResults', - ], - 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GenerateKeywordIdeaResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_rest_client_config.php deleted file mode 100644 index f500fe76d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_idea_service_rest_client_config.php +++ /dev/null @@ -1,115 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanIdeaService' => [ - 'GenerateAdGroupThemes' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:generateAdGroupThemes', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateKeywordForecastMetrics' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:generateKeywordForecastMetrics', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateKeywordHistoricalMetrics' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:generateKeywordHistoricalMetrics', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'GenerateKeywordIdeas' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:generateKeywordIdeas', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_client_config.json deleted file mode 100644 index e0dc68953..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.KeywordPlanService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateKeywordPlans": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_descriptor_config.php deleted file mode 100644 index 20aca7229..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanService' => [ - 'MutateKeywordPlans' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateKeywordPlansResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'keywordPlan' => 'customers/{customer_id}/keywordPlans/{keyword_plan_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_rest_client_config.php deleted file mode 100644 index ba48d704b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_plan_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordPlanService' => [ - 'MutateKeywordPlans' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/keywordPlans:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_client_config.json deleted file mode 100644 index 29d2cf8ed..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.KeywordThemeConstantService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "SuggestKeywordThemeConstants": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_descriptor_config.php deleted file mode 100644 index 34a77a4b0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_descriptor_config.php +++ /dev/null @@ -1,12 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordThemeConstantService' => [ - 'SuggestKeywordThemeConstants' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemeConstantsResponse', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_rest_client_config.php deleted file mode 100644 index 88609869e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/keyword_theme_constant_service_rest_client_config.php +++ /dev/null @@ -1,72 +0,0 @@ - [ - 'google.ads.googleads.v15.services.KeywordThemeConstantService' => [ - 'SuggestKeywordThemeConstants' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/keywordThemeConstants:suggest', - 'body' => '*', - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_client_config.json deleted file mode 100644 index c1a82ccdc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.LabelService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateLabels": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_descriptor_config.php deleted file mode 100644 index cf6b3ea03..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.LabelService' => [ - 'MutateLabels' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateLabelsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'label' => 'customers/{customer_id}/labels/{label_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_rest_client_config.php deleted file mode 100644 index c05258c4e..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/label_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.LabelService' => [ - 'MutateLabels' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/labels:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_client_config.json deleted file mode 100644 index 453304a10..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_client_config.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.OfflineUserDataJobService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "AddOfflineUserDataJobOperations": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "CreateOfflineUserDataJob": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "RunOfflineUserDataJob": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_descriptor_config.php deleted file mode 100644 index 99dfdd9f0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_descriptor_config.php +++ /dev/null @@ -1,54 +0,0 @@ - [ - 'google.ads.googleads.v15.services.OfflineUserDataJobService' => [ - 'RunOfflineUserDataJob' => [ - 'longRunning' => [ - 'operationReturnType' => '\Google\Protobuf\GPBEmpty', - 'metadataReturnType' => '\Google\Ads\GoogleAds\V15\Resources\OfflineUserDataJobMetadata', - 'initialPollDelayMillis' => '300000', - 'pollDelayMultiplier' => '1.25', - 'maxPollDelayMillis' => '3600000', - 'totalPollTimeoutMillis' => '43200000', - ], - 'callType' => \Google\ApiCore\Call::LONGRUNNING_CALL, - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'AddOfflineUserDataJobOperations' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\AddOfflineUserDataJobOperationsResponse', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'CreateOfflineUserDataJob' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\CreateOfflineUserDataJobResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'offlineUserDataJob' => 'customers/{customer_id}/offlineUserDataJobs/{offline_user_data_update_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_rest_client_config.php deleted file mode 100644 index 25cb89fb6..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/offline_user_data_job_service_rest_client_config.php +++ /dev/null @@ -1,103 +0,0 @@ - [ - 'google.ads.googleads.v15.services.OfflineUserDataJobService' => [ - 'AddOfflineUserDataJobOperations' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations', - 'body' => '*', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'CreateOfflineUserDataJob' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/offlineUserDataJobs:create', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'RunOfflineUserDataJob' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{resource_name=customers/*/offlineUserDataJobs/*}:run', - 'body' => '*', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_client_config.json deleted file mode 100644 index fe4e98c57..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.PaymentsAccountService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "ListPaymentsAccounts": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_descriptor_config.php deleted file mode 100644 index 6ae152935..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_descriptor_config.php +++ /dev/null @@ -1,20 +0,0 @@ - [ - 'google.ads.googleads.v15.services.PaymentsAccountService' => [ - 'ListPaymentsAccounts' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListPaymentsAccountsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_rest_client_config.php deleted file mode 100644 index e0eeb9fa0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/payments_account_service_rest_client_config.php +++ /dev/null @@ -1,78 +0,0 @@ - [ - 'google.ads.googleads.v15.services.PaymentsAccountService' => [ - 'ListPaymentsAccounts' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/customers/{customer_id=*}/paymentsAccounts', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_client_config.json deleted file mode 100644 index d1d375e2d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ProductLinkInvitationService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "UpdateProductLinkInvitation": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_descriptor_config.php deleted file mode 100644 index ee2ad10f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ProductLinkInvitationService' => [ - 'UpdateProductLinkInvitation' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\UpdateProductLinkInvitationResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'productLinkInvitation' => 'customers/{customer_id}/productLinkInvitations/{customer_invitation_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_rest_client_config.php deleted file mode 100644 index 86522f0a9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_invitation_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ProductLinkInvitationService' => [ - 'UpdateProductLinkInvitation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/productLinkInvitations:update', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_client_config.json deleted file mode 100644 index 3edfd3947..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_client_config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ProductLinkService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "CreateProductLink": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "RemoveProductLink": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_descriptor_config.php deleted file mode 100644 index 4ea32c644..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_descriptor_config.php +++ /dev/null @@ -1,36 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ProductLinkService' => [ - 'CreateProductLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\CreateProductLinkResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'RemoveProductLink' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\RemoveProductLinkResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'customer' => 'customers/{customer_id}', - 'productLink' => 'customers/{customer_id}/productLinks/{product_link_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_rest_client_config.php deleted file mode 100644 index 647f5fc83..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/product_link_service_rest_client_config.php +++ /dev/null @@ -1,91 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ProductLinkService' => [ - 'CreateProductLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/productLinks:create', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'RemoveProductLink' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/productLinks:remove', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_client_config.json deleted file mode 100644 index 1a33cadb0..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_client_config.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ReachPlanService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "GenerateReachForecast": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListPlannableLocations": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "ListPlannableProducts": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_descriptor_config.php deleted file mode 100644 index c8d9a3648..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_descriptor_config.php +++ /dev/null @@ -1,28 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ReachPlanService' => [ - 'GenerateReachForecast' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GenerateReachForecastResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'ListPlannableLocations' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListPlannableLocationsResponse', - ], - 'ListPlannableProducts' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ListPlannableProductsResponse', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_rest_client_config.php deleted file mode 100644 index b04dcb974..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/reach_plan_service_rest_client_config.php +++ /dev/null @@ -1,89 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ReachPlanService' => [ - 'GenerateReachForecast' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:generateReachForecast', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'ListPlannableLocations' => [ - 'method' => 'post', - 'uriTemplate' => '/v15:listPlannableLocations', - 'body' => '*', - ], - 'ListPlannableProducts' => [ - 'method' => 'post', - 'uriTemplate' => '/v15:listPlannableProducts', - 'body' => '*', - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_client_config.json deleted file mode 100644 index 2c422c8d1..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_client_config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.RecommendationService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "ApplyRecommendation": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "DismissRecommendation": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_descriptor_config.php deleted file mode 100644 index 9dc13a7bc..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_descriptor_config.php +++ /dev/null @@ -1,38 +0,0 @@ - [ - 'google.ads.googleads.v15.services.RecommendationService' => [ - 'ApplyRecommendation' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\ApplyRecommendationResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'DismissRecommendation' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\DismissRecommendationResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'ad' => 'customers/{customer_id}/ads/{ad_id}', - 'asset' => 'customers/{customer_id}/assets/{asset_id}', - 'conversionAction' => 'customers/{customer_id}/conversionActions/{conversion_action_id}', - 'recommendation' => 'customers/{customer_id}/recommendations/{recommendation_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_rest_client_config.php deleted file mode 100644 index 8f5b3ec07..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_service_rest_client_config.php +++ /dev/null @@ -1,91 +0,0 @@ - [ - 'google.ads.googleads.v15.services.RecommendationService' => [ - 'ApplyRecommendation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/recommendations:apply', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'DismissRecommendation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/recommendations:dismiss', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_client_config.json deleted file mode 100644 index 39058a009..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.RecommendationSubscriptionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateRecommendationSubscription": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_descriptor_config.php deleted file mode 100644 index 519717616..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.RecommendationSubscriptionService' => [ - 'MutateRecommendationSubscription' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateRecommendationSubscriptionResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'recommendationSubscription' => 'customers/{customer_id}/recommendationSubscriptions/{recommendation_type}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_rest_client_config.php deleted file mode 100644 index f922c8595..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/recommendation_subscription_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.RecommendationSubscriptionService' => [ - 'MutateRecommendationSubscription' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/recommendationSubscriptions:mutateRecommendationSubscription', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_client_config.json deleted file mode 100644 index a438f1458..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.RemarketingActionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateRemarketingActions": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_descriptor_config.php deleted file mode 100644 index 2bb5092b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.RemarketingActionService' => [ - 'MutateRemarketingActions' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateRemarketingActionsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'remarketingAction' => 'customers/{customer_id}/remarketingActions/{remarketing_action_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_rest_client_config.php deleted file mode 100644 index cfc4da6f5..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/remarketing_action_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.RemarketingActionService' => [ - 'MutateRemarketingActions' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/remarketingActions:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_client_config.json deleted file mode 100644 index 043cc9b92..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.SharedCriterionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateSharedCriteria": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_descriptor_config.php deleted file mode 100644 index 6128a5178..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_descriptor_config.php +++ /dev/null @@ -1,25 +0,0 @@ - [ - 'google.ads.googleads.v15.services.SharedCriterionService' => [ - 'MutateSharedCriteria' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateSharedCriteriaResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'mobileAppCategoryConstant' => 'mobileAppCategoryConstants/{mobile_app_category_id}', - 'sharedCriterion' => 'customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}', - 'sharedSet' => 'customers/{customer_id}/sharedSets/{shared_set_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_rest_client_config.php deleted file mode 100644 index 60ca6c962..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_criterion_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.SharedCriterionService' => [ - 'MutateSharedCriteria' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/sharedCriteria:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_client_config.json deleted file mode 100644 index ac019a8b7..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.SharedSetService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateSharedSets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_descriptor_config.php deleted file mode 100644 index 97582d48d..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.SharedSetService' => [ - 'MutateSharedSets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateSharedSetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'sharedSet' => 'customers/{customer_id}/sharedSets/{shared_set_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_rest_client_config.php deleted file mode 100644 index a76d89d3b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/shared_set_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.SharedSetService' => [ - 'MutateSharedSets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/sharedSets:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_client_config.json deleted file mode 100644 index afbbe0a73..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_client_config.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.SmartCampaignSettingService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "GetSmartCampaignStatus": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "MutateSmartCampaignSettings": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_descriptor_config.php deleted file mode 100644 index 7e9b12f17..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_descriptor_config.php +++ /dev/null @@ -1,36 +0,0 @@ - [ - 'google.ads.googleads.v15.services.SmartCampaignSettingService' => [ - 'GetSmartCampaignStatus' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\GetSmartCampaignStatusResponse', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateSmartCampaignSettings' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateSmartCampaignSettingsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'smartCampaignSetting' => 'customers/{customer_id}/smartCampaignSettings/{campaign_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_rest_client_config.php deleted file mode 100644 index bfa77fd13..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_setting_service_rest_client_config.php +++ /dev/null @@ -1,90 +0,0 @@ - [ - 'google.ads.googleads.v15.services.SmartCampaignSettingService' => [ - 'GetSmartCampaignStatus' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{resource_name=customers/*/smartCampaignSettings/*}:getSmartCampaignStatus', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - 'MutateSmartCampaignSettings' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/smartCampaignSettings:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_client_config.json deleted file mode 100644 index 01abede5f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_client_config.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.SmartCampaignSuggestService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "SuggestKeywordThemes": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "SuggestSmartCampaignAd": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - }, - "SuggestSmartCampaignBudgetOptions": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_descriptor_config.php deleted file mode 100644 index 1378d9bec..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_descriptor_config.php +++ /dev/null @@ -1,48 +0,0 @@ - [ - 'google.ads.googleads.v15.services.SmartCampaignSuggestService' => [ - 'SuggestKeywordThemes' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SuggestKeywordThemesResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'SuggestSmartCampaignAd' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignAdResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'SuggestSmartCampaignBudgetOptions' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SuggestSmartCampaignBudgetOptionsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'campaign' => 'customers/{customer_id}/campaigns/{campaign_id}', - 'keywordThemeConstant' => 'keywordThemeConstants/{express_category_id}~{express_sub_category_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_rest_client_config.php deleted file mode 100644 index dbc73d652..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/smart_campaign_suggest_service_rest_client_config.php +++ /dev/null @@ -1,103 +0,0 @@ - [ - 'google.ads.googleads.v15.services.SmartCampaignSuggestService' => [ - 'SuggestKeywordThemes' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:suggestKeywordThemes', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'SuggestSmartCampaignAd' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:suggestSmartCampaignAd', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - 'SuggestSmartCampaignBudgetOptions' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_client_config.json deleted file mode 100644 index 9e6fefaef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "RegenerateShareableLinkId": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_descriptor_config.php deleted file mode 100644 index b891e3d1b..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService' => [ - 'RegenerateShareableLinkId' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\RegenerateShareableLinkIdResponse', - 'headerParams' => [ - [ - 'keyName' => 'resource_name', - 'fieldAccessors' => [ - 'getResourceName', - ], - ], - ], - ], - 'templateMap' => [ - 'thirdPartyAppAnalyticsLink' => 'customers/{customer_id}/thirdPartyAppAnalyticsLinks/{customer_link_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_rest_client_config.php deleted file mode 100644 index c0cb05427..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/third_party_app_analytics_link_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService' => [ - 'RegenerateShareableLinkId' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId', - 'body' => '*', - 'placeholders' => [ - 'resource_name' => [ - 'getters' => [ - 'getResourceName', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_client_config.json deleted file mode 100644 index bca6ca3a9..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.TravelAssetSuggestionService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "SuggestTravelAssets": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_descriptor_config.php deleted file mode 100644 index f68885d25..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_descriptor_config.php +++ /dev/null @@ -1,20 +0,0 @@ - [ - 'google.ads.googleads.v15.services.TravelAssetSuggestionService' => [ - 'SuggestTravelAssets' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\SuggestTravelAssetsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_rest_client_config.php deleted file mode 100644 index 5eb408c76..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/travel_asset_suggestion_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.TravelAssetSuggestionService' => [ - 'SuggestTravelAssets' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:suggestTravelAssets', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_client_config.json deleted file mode 100644 index 821d66935..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.UserDataService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "UploadUserData": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_descriptor_config.php deleted file mode 100644 index 610b73949..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_descriptor_config.php +++ /dev/null @@ -1,20 +0,0 @@ - [ - 'google.ads.googleads.v15.services.UserDataService' => [ - 'UploadUserData' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\UploadUserDataResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_rest_client_config.php deleted file mode 100644 index 06c03ebce..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/user_data_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.UserDataService' => [ - 'UploadUserData' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}:uploadUserData', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_client_config.json b/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_client_config.json deleted file mode 100644 index c603531ef..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_client_config.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "interfaces": { - "google.ads.googleads.v15.services.UserListService": { - "retry_codes": { - "no_retry_codes": [], - "retry_policy_1_codes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - }, - "retry_params": { - "no_retry_params": { - "initial_retry_delay_millis": 0, - "retry_delay_multiplier": 0.0, - "max_retry_delay_millis": 0, - "initial_rpc_timeout_millis": 0, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 0, - "total_timeout_millis": 0 - }, - "retry_policy_1_params": { - "initial_retry_delay_millis": 5000, - "retry_delay_multiplier": 1.3, - "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 14400000, - "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 14400000, - "total_timeout_millis": 14400000 - } - }, - "methods": { - "MutateUserLists": { - "timeout_millis": 14400000, - "retry_codes_name": "retry_policy_1_codes", - "retry_params_name": "retry_policy_1_params" - } - } - } - } -} diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_descriptor_config.php deleted file mode 100644 index 19085c57c..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_descriptor_config.php +++ /dev/null @@ -1,23 +0,0 @@ - [ - 'google.ads.googleads.v15.services.UserListService' => [ - 'MutateUserLists' => [ - 'callType' => \Google\ApiCore\Call::UNARY_CALL, - 'responseType' => 'Google\Ads\GoogleAds\V15\Services\MutateUserListsResponse', - 'headerParams' => [ - [ - 'keyName' => 'customer_id', - 'fieldAccessors' => [ - 'getCustomerId', - ], - ], - ], - ], - 'templateMap' => [ - 'userList' => 'customers/{customer_id}/userLists/{user_list_id}', - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_rest_client_config.php deleted file mode 100644 index cedb7e65f..000000000 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/user_list_service_rest_client_config.php +++ /dev/null @@ -1,79 +0,0 @@ - [ - 'google.ads.googleads.v15.services.UserListService' => [ - 'MutateUserLists' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/userLists:mutate', - 'body' => '*', - 'placeholders' => [ - 'customer_id' => [ - 'getters' => [ - 'getCustomerId', - ], - ], - ], - ], - ], - 'google.longrunning.Operations' => [ - 'CancelOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'DeleteOperation' => [ - 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'GetOperation' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'ListOperations' => [ - 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - 'WaitOperation' => [ - 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', - 'body' => '*', - 'placeholders' => [ - 'name' => [ - 'getters' => [ - 'getName', - ], - ], - ], - ], - ], - ], -]; diff --git a/src/Google/Ads/GoogleAds/V17/Common/FixedCpm.php b/src/Google/Ads/GoogleAds/V17/Common/FixedCpm.php new file mode 100644 index 000000000..3948b2e40 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Common/FixedCpm.php @@ -0,0 +1,114 @@ +google.ads.googleads.v17.common.FixedCpm + */ +class FixedCpm extends \Google\Protobuf\Internal\Message +{ + /** + * Fixed CPM bidding goal. Determines the exact bidding optimization + * parameters. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.FixedCpmGoalEnum.FixedCpmGoal goal = 1; + */ + protected $goal = 0; + protected $goal_info; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $goal + * Fixed CPM bidding goal. Determines the exact bidding optimization + * parameters. + * @type \Google\Ads\GoogleAds\V17\Common\FixedCpmTargetFrequencyGoalInfo $target_frequency_info + * Target frequency bidding goal details. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Common\Bidding::initOnce(); + parent::__construct($data); + } + + /** + * Fixed CPM bidding goal. Determines the exact bidding optimization + * parameters. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.FixedCpmGoalEnum.FixedCpmGoal goal = 1; + * @return int + */ + public function getGoal() + { + return $this->goal; + } + + /** + * Fixed CPM bidding goal. Determines the exact bidding optimization + * parameters. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.FixedCpmGoalEnum.FixedCpmGoal goal = 1; + * @param int $var + * @return $this + */ + public function setGoal($var) + { + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Enums\FixedCpmGoalEnum\FixedCpmGoal::class); + $this->goal = $var; + + return $this; + } + + /** + * Target frequency bidding goal details. + * + * Generated from protobuf field .google.ads.googleads.v17.common.FixedCpmTargetFrequencyGoalInfo target_frequency_info = 2; + * @return \Google\Ads\GoogleAds\V17\Common\FixedCpmTargetFrequencyGoalInfo|null + */ + public function getTargetFrequencyInfo() + { + return $this->readOneof(2); + } + + public function hasTargetFrequencyInfo() + { + return $this->hasOneof(2); + } + + /** + * Target frequency bidding goal details. + * + * Generated from protobuf field .google.ads.googleads.v17.common.FixedCpmTargetFrequencyGoalInfo target_frequency_info = 2; + * @param \Google\Ads\GoogleAds\V17\Common\FixedCpmTargetFrequencyGoalInfo $var + * @return $this + */ + public function setTargetFrequencyInfo($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Common\FixedCpmTargetFrequencyGoalInfo::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getGoalInfo() + { + return $this->whichOneof("goal_info"); + } + +} + diff --git a/src/Google/Ads/GoogleAds/V15/Common/TargetCpmTargetFrequencyGoal.php b/src/Google/Ads/GoogleAds/V17/Common/FixedCpmTargetFrequencyGoalInfo.php similarity index 60% rename from src/Google/Ads/GoogleAds/V15/Common/TargetCpmTargetFrequencyGoal.php rename to src/Google/Ads/GoogleAds/V17/Common/FixedCpmTargetFrequencyGoalInfo.php index da1768ab8..9fc333e84 100644 --- a/src/Google/Ads/GoogleAds/V15/Common/TargetCpmTargetFrequencyGoal.php +++ b/src/Google/Ads/GoogleAds/V17/Common/FixedCpmTargetFrequencyGoalInfo.php @@ -1,23 +1,24 @@ google.ads.googleads.v15.common.TargetCpmTargetFrequencyGoal + * Generated from protobuf message google.ads.googleads.v17.common.FixedCpmTargetFrequencyGoalInfo */ -class TargetCpmTargetFrequencyGoal extends \Google\Protobuf\Internal\Message +class FixedCpmTargetFrequencyGoalInfo extends \Google\Protobuf\Internal\Message { /** - * Target Frequency count representing how many times you want to reach - * a single user. + * Target frequency count represents the number of times an advertiser wants + * to show the ad to target a single user. * * Generated from protobuf field int64 target_count = 1; */ @@ -26,7 +27,7 @@ class TargetCpmTargetFrequencyGoal extends \Google\Protobuf\Internal\Message * Time window expressing the period over which you want to reach * the specified target_count. * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit time_unit = 2; + * Generated from protobuf field .google.ads.googleads.v17.enums.FixedCpmTargetFrequencyTimeUnitEnum.FixedCpmTargetFrequencyTimeUnit time_unit = 2; */ protected $time_unit = 0; @@ -37,21 +38,21 @@ class TargetCpmTargetFrequencyGoal extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type int|string $target_count - * Target Frequency count representing how many times you want to reach - * a single user. + * Target frequency count represents the number of times an advertiser wants + * to show the ad to target a single user. * @type int $time_unit * Time window expressing the period over which you want to reach * the specified target_count. * } */ public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Common\Bidding::initOnce(); + \GPBMetadata\Google\Ads\GoogleAds\V17\Common\Bidding::initOnce(); parent::__construct($data); } /** - * Target Frequency count representing how many times you want to reach - * a single user. + * Target frequency count represents the number of times an advertiser wants + * to show the ad to target a single user. * * Generated from protobuf field int64 target_count = 1; * @return int|string @@ -62,8 +63,8 @@ public function getTargetCount() } /** - * Target Frequency count representing how many times you want to reach - * a single user. + * Target frequency count represents the number of times an advertiser wants + * to show the ad to target a single user. * * Generated from protobuf field int64 target_count = 1; * @param int|string $var @@ -81,7 +82,7 @@ public function setTargetCount($var) * Time window expressing the period over which you want to reach * the specified target_count. * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit time_unit = 2; + * Generated from protobuf field .google.ads.googleads.v17.enums.FixedCpmTargetFrequencyTimeUnitEnum.FixedCpmTargetFrequencyTimeUnit time_unit = 2; * @return int */ public function getTimeUnit() @@ -93,13 +94,13 @@ public function getTimeUnit() * Time window expressing the period over which you want to reach * the specified target_count. * - * Generated from protobuf field .google.ads.googleads.v15.enums.TargetFrequencyTimeUnitEnum.TargetFrequencyTimeUnit time_unit = 2; + * Generated from protobuf field .google.ads.googleads.v17.enums.FixedCpmTargetFrequencyTimeUnitEnum.FixedCpmTargetFrequencyTimeUnit time_unit = 2; * @param int $var * @return $this */ public function setTimeUnit($var) { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\TargetFrequencyTimeUnitEnum\TargetFrequencyTimeUnit::class); + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Enums\FixedCpmTargetFrequencyTimeUnitEnum\FixedCpmTargetFrequencyTimeUnit::class); $this->time_unit = $var; return $this; diff --git a/src/Google/Ads/GoogleAds/V17/Common/Segments.php b/src/Google/Ads/GoogleAds/V17/Common/Segments.php index 34c36f2f4..ded352bbf 100644 --- a/src/Google/Ads/GoogleAds/V17/Common/Segments.php +++ b/src/Google/Ads/GoogleAds/V17/Common/Segments.php @@ -57,6 +57,12 @@ class Segments extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.ads.googleads.v17.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; */ protected $ad_destination_type = 0; + /** + * Ad Format type. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191; + */ + protected $ad_format_type = 0; /** * Ad network type. * @@ -682,6 +688,12 @@ class Segments extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional int64 sk_ad_network_postback_sequence_index = 154; */ protected $sk_ad_network_postback_sequence_index = null; + /** + * The version of the SKAdNetwork API used. + * + * Generated from protobuf field optional string sk_ad_network_version = 192; + */ + protected $sk_ad_network_version = null; /** * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. * Indicates whether the interaction metrics occurred on the asset itself @@ -726,6 +738,8 @@ class Segments extends \Google\Protobuf\Internal\Message * Advertiser supplied activity ID. * @type int $ad_destination_type * Ad Destination type. + * @type int $ad_format_type + * Ad Format type. * @type int $ad_network_type * Ad network type. * @type string $ad_group @@ -959,6 +973,8 @@ class Segments extends \Google\Protobuf\Internal\Message * present in any postbacks sent by Apple. * @type int|string $sk_ad_network_postback_sequence_index * iOS Store Kit Ad Network postback sequence index. + * @type string $sk_ad_network_version + * The version of the SKAdNetwork API used. * @type \Google\Ads\GoogleAds\V17\Common\AssetInteractionTarget $asset_interaction_target * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. * Indicates whether the interaction metrics occurred on the asset itself @@ -1223,6 +1239,32 @@ public function setAdDestinationType($var) return $this; } + /** + * Ad Format type. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191; + * @return int + */ + public function getAdFormatType() + { + return $this->ad_format_type; + } + + /** + * Ad Format type. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType ad_format_type = 191; + * @param int $var + * @return $this + */ + public function setAdFormatType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Enums\AdFormatTypeEnum\AdFormatType::class); + $this->ad_format_type = $var; + + return $this; + } + /** * Ad network type. * @@ -4545,6 +4587,42 @@ public function setSkAdNetworkPostbackSequenceIndex($var) return $this; } + /** + * The version of the SKAdNetwork API used. + * + * Generated from protobuf field optional string sk_ad_network_version = 192; + * @return string + */ + public function getSkAdNetworkVersion() + { + return isset($this->sk_ad_network_version) ? $this->sk_ad_network_version : ''; + } + + public function hasSkAdNetworkVersion() + { + return isset($this->sk_ad_network_version); + } + + public function clearSkAdNetworkVersion() + { + unset($this->sk_ad_network_version); + } + + /** + * The version of the SKAdNetwork API used. + * + * Generated from protobuf field optional string sk_ad_network_version = 192; + * @param string $var + * @return $this + */ + public function setSkAdNetworkVersion($var) + { + GPBUtil::checkString($var, True); + $this->sk_ad_network_version = $var; + + return $this; + } + /** * Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. * Indicates whether the interaction metrics occurred on the asset itself diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MinuteOfHourEnum.php b/src/Google/Ads/GoogleAds/V17/Common/TargetCpv.php similarity index 60% rename from src/Google/Ads/GoogleAds/V15/Enums/MinuteOfHourEnum.php rename to src/Google/Ads/GoogleAds/V17/Common/TargetCpv.php index 01a28c70d..6af4141a3 100644 --- a/src/Google/Ads/GoogleAds/V15/Enums/MinuteOfHourEnum.php +++ b/src/Google/Ads/GoogleAds/V17/Common/TargetCpv.php @@ -1,19 +1,20 @@ google.ads.googleads.v15.enums.MinuteOfHourEnum + * Generated from protobuf message google.ads.googleads.v17.common.TargetCpv */ -class MinuteOfHourEnum extends \Google\Protobuf\Internal\Message +class TargetCpv extends \Google\Protobuf\Internal\Message { /** @@ -25,7 +26,7 @@ class MinuteOfHourEnum extends \Google\Protobuf\Internal\Message * } */ public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\MinuteOfHour::initOnce(); + \GPBMetadata\Google\Ads\GoogleAds\V17\Common\Bidding::initOnce(); parent::__construct($data); } diff --git a/src/Google/Ads/GoogleAds/V17/Common/TextLabel.php b/src/Google/Ads/GoogleAds/V17/Common/TextLabel.php index e4c1a6d84..0eec72999 100644 --- a/src/Google/Ads/GoogleAds/V17/Common/TextLabel.php +++ b/src/Google/Ads/GoogleAds/V17/Common/TextLabel.php @@ -16,7 +16,7 @@ class TextLabel extends \Google\Protobuf\Internal\Message { /** - * Background color of the label in RGB format. This string must match the + * Background color of the label in HEX format. This string must match the * regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. * Note: The background color may not be visible for manager accounts. * @@ -38,7 +38,7 @@ class TextLabel extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $background_color - * Background color of the label in RGB format. This string must match the + * Background color of the label in HEX format. This string must match the * regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. * Note: The background color may not be visible for manager accounts. * @type string $description @@ -52,7 +52,7 @@ public function __construct($data = NULL) { } /** - * Background color of the label in RGB format. This string must match the + * Background color of the label in HEX format. This string must match the * regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. * Note: The background color may not be visible for manager accounts. * @@ -75,7 +75,7 @@ public function clearBackgroundColor() } /** - * Background color of the label in RGB format. This string must match the + * Background color of the label in HEX format. This string must match the * regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. * Note: The background color may not be visible for manager accounts. * diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetPeriodEnum.php b/src/Google/Ads/GoogleAds/V17/Enums/AdFormatTypeEnum.php similarity index 61% rename from src/Google/Ads/GoogleAds/V15/Enums/BudgetPeriodEnum.php rename to src/Google/Ads/GoogleAds/V17/Enums/AdFormatTypeEnum.php index 458d8b7aa..dcb7cc7bd 100644 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetPeriodEnum.php +++ b/src/Google/Ads/GoogleAds/V17/Enums/AdFormatTypeEnum.php @@ -1,19 +1,19 @@ google.ads.googleads.v15.enums.BudgetPeriodEnum + * Generated from protobuf message google.ads.googleads.v17.enums.AdFormatTypeEnum */ -class BudgetPeriodEnum extends \Google\Protobuf\Internal\Message +class AdFormatTypeEnum extends \Google\Protobuf\Internal\Message { /** @@ -25,7 +25,7 @@ class BudgetPeriodEnum extends \Google\Protobuf\Internal\Message * } */ public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BudgetPeriod::initOnce(); + \GPBMetadata\Google\Ads\GoogleAds\V17\Enums\AdFormatType::initOnce(); parent::__construct($data); } diff --git a/src/Google/Ads/GoogleAds/V17/Enums/AdFormatTypeEnum/AdFormatType.php b/src/Google/Ads/GoogleAds/V17/Enums/AdFormatTypeEnum/AdFormatType.php new file mode 100644 index 000000000..f2f3eb554 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Enums/AdFormatTypeEnum/AdFormatType.php @@ -0,0 +1,139 @@ +google.ads.googleads.v17.enums.AdFormatTypeEnum.AdFormatType + */ +class AdFormatType +{ + /** + * No value has been specified. + * + * Generated from protobuf enum UNSPECIFIED = 0; + */ + const UNSPECIFIED = 0; + /** + * Used for return value only. Represents value unknown in this version. + * + * Generated from protobuf enum UNKNOWN = 1; + */ + const UNKNOWN = 1; + /** + * Value assigned to formats (such as experimental formats) which don't + * support format segmentation in Video and Discovery campaigns. + * Note that these formats may change categories in the future, for example + * if an experimental format is exposed or a new format is added. We + * strongly recommend to not rely on this field for long term decisions. + * + * Generated from protobuf enum OTHER = 2; + */ + const OTHER = 2; + /** + * Value assigned for Video TrueView for Action campaigns statistics. + * Note that statistics with this value may change categories in the future, + * for example if format segmentation support is added for new campaign + * types. We strongly recommend to not rely on this field for long term + * decisions. + * + * Generated from protobuf enum UNSEGMENTED = 3; + */ + const UNSEGMENTED = 3; + /** + * Skippable in-stream ads. + * + * Generated from protobuf enum INSTREAM_SKIPPABLE = 4; + */ + const INSTREAM_SKIPPABLE = 4; + /** + * Non-skippable in-stream ads. + * + * Generated from protobuf enum INSTREAM_NON_SKIPPABLE = 5; + */ + const INSTREAM_NON_SKIPPABLE = 5; + /** + * In-feed YouTube or discovery image ads served on feed surfaces (e.g. + * Discover Feed, YouTube Home, etc.). + * + * Generated from protobuf enum INFEED = 6; + */ + const INFEED = 6; + /** + * Short (<7 secs) in-stream non-skippable YouTube ads. + * + * Generated from protobuf enum BUMPER = 7; + */ + const BUMPER = 7; + /** + * Outstream ads. + * + * Generated from protobuf enum OUTSTREAM = 8; + */ + const OUTSTREAM = 8; + /** + * Masthead ads. + * + * Generated from protobuf enum MASTHEAD = 9; + */ + const MASTHEAD = 9; + /** + * Audio ads. + * + * Generated from protobuf enum AUDIO = 10; + */ + const AUDIO = 10; + /** + * Vertical full-screen video or discovery image ad served on YouTube Shorts + * or BrandConnect ads served as organic YouTube Shorts. + * + * Generated from protobuf enum SHORTS = 11; + */ + const SHORTS = 11; + + private static $valueToName = [ + self::UNSPECIFIED => 'UNSPECIFIED', + self::UNKNOWN => 'UNKNOWN', + self::OTHER => 'OTHER', + self::UNSEGMENTED => 'UNSEGMENTED', + self::INSTREAM_SKIPPABLE => 'INSTREAM_SKIPPABLE', + self::INSTREAM_NON_SKIPPABLE => 'INSTREAM_NON_SKIPPABLE', + self::INFEED => 'INFEED', + self::BUMPER => 'BUMPER', + self::OUTSTREAM => 'OUTSTREAM', + self::MASTHEAD => 'MASTHEAD', + self::AUDIO => 'AUDIO', + self::SHORTS => 'SHORTS', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(AdFormatType::class, \Google\Ads\GoogleAds\V17\Enums\AdFormatTypeEnum_AdFormatType::class); + diff --git a/src/Google/Ads/GoogleAds/V17/Enums/BiddingStrategyTypeEnum/BiddingStrategyType.php b/src/Google/Ads/GoogleAds/V17/Enums/BiddingStrategyTypeEnum/BiddingStrategyType.php index a5d1a4dca..0645c913c 100644 --- a/src/Google/Ads/GoogleAds/V17/Enums/BiddingStrategyTypeEnum/BiddingStrategyType.php +++ b/src/Google/Ads/GoogleAds/V17/Enums/BiddingStrategyTypeEnum/BiddingStrategyType.php @@ -40,6 +40,12 @@ class BiddingStrategyType * Generated from protobuf enum ENHANCED_CPC = 2; */ const ENHANCED_CPC = 2; + /** + * Fixed CPM is a manual bidding strategy with a fixed CPM. + * + * Generated from protobuf enum FIXED_CPM = 19; + */ + const FIXED_CPM = 19; /** * Used for return value only. Indicates that a campaign does not have a * bidding strategy. This prevents the campaign from serving. For example, @@ -123,6 +129,13 @@ class BiddingStrategyType * Generated from protobuf enum TARGET_CPM = 14; */ const TARGET_CPM = 14; + /** + * Target CPV is an automated bidding strategy that sets bids to optimize + * performance given the average target cost per view. + * + * Generated from protobuf enum TARGET_CPV = 20; + */ + const TARGET_CPV = 20; /** * An automated bidding strategy that sets bids so that a certain percentage * of search ads are shown at the top of the first page (or other targeted @@ -161,6 +174,7 @@ class BiddingStrategyType self::UNKNOWN => 'UNKNOWN', self::COMMISSION => 'COMMISSION', self::ENHANCED_CPC => 'ENHANCED_CPC', + self::FIXED_CPM => 'FIXED_CPM', self::INVALID => 'INVALID', self::MANUAL_CPA => 'MANUAL_CPA', self::MANUAL_CPC => 'MANUAL_CPC', @@ -172,6 +186,7 @@ class BiddingStrategyType self::PERCENT_CPC => 'PERCENT_CPC', self::TARGET_CPA => 'TARGET_CPA', self::TARGET_CPM => 'TARGET_CPM', + self::TARGET_CPV => 'TARGET_CPV', self::TARGET_IMPRESSION_SHARE => 'TARGET_IMPRESSION_SHARE', self::TARGET_OUTRANK_SHARE => 'TARGET_OUTRANK_SHARE', self::TARGET_ROAS => 'TARGET_ROAS', diff --git a/src/Google/Ads/GoogleAds/V17/Enums/ChangeStatusResourceTypeEnum/ChangeStatusResourceType.php b/src/Google/Ads/GoogleAds/V17/Enums/ChangeStatusResourceTypeEnum/ChangeStatusResourceType.php index 1ca2906fe..266062a61 100644 --- a/src/Google/Ads/GoogleAds/V17/Enums/ChangeStatusResourceTypeEnum/ChangeStatusResourceType.php +++ b/src/Google/Ads/GoogleAds/V17/Enums/ChangeStatusResourceTypeEnum/ChangeStatusResourceType.php @@ -128,6 +128,12 @@ class ChangeStatusResourceType * Generated from protobuf enum COMBINED_AUDIENCE = 20; */ const COMBINED_AUDIENCE = 20; + /** + * An AssetGroup resource change. + * + * Generated from protobuf enum ASSET_GROUP = 21; + */ + const ASSET_GROUP = 21; private static $valueToName = [ self::UNSPECIFIED => 'UNSPECIFIED', @@ -149,6 +155,7 @@ class ChangeStatusResourceType self::CAMPAIGN_ASSET => 'CAMPAIGN_ASSET', self::AD_GROUP_ASSET => 'AD_GROUP_ASSET', self::COMBINED_AUDIENCE => 'COMBINED_AUDIENCE', + self::ASSET_GROUP => 'ASSET_GROUP', ]; public static function name($value) diff --git a/src/Google/Ads/GoogleAds/V15/Enums/BudgetStatusEnum.php b/src/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoalEnum.php similarity index 60% rename from src/Google/Ads/GoogleAds/V15/Enums/BudgetStatusEnum.php rename to src/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoalEnum.php index cdeb409c6..b96acf46d 100644 --- a/src/Google/Ads/GoogleAds/V15/Enums/BudgetStatusEnum.php +++ b/src/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoalEnum.php @@ -1,19 +1,19 @@ google.ads.googleads.v15.enums.BudgetStatusEnum + * Generated from protobuf message google.ads.googleads.v17.enums.FixedCpmGoalEnum */ -class BudgetStatusEnum extends \Google\Protobuf\Internal\Message +class FixedCpmGoalEnum extends \Google\Protobuf\Internal\Message { /** @@ -25,7 +25,7 @@ class BudgetStatusEnum extends \Google\Protobuf\Internal\Message * } */ public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\BudgetStatus::initOnce(); + \GPBMetadata\Google\Ads\GoogleAds\V17\Enums\FixedCpmGoal::initOnce(); parent::__construct($data); } diff --git a/src/Google/Ads/GoogleAds/V15/Enums/MobileAppVendorEnum/MobileAppVendor.php b/src/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoalEnum/FixedCpmGoal.php similarity index 60% rename from src/Google/Ads/GoogleAds/V15/Enums/MobileAppVendorEnum/MobileAppVendor.php rename to src/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoalEnum/FixedCpmGoal.php index ca12ee3ef..ea2615aab 100644 --- a/src/Google/Ads/GoogleAds/V15/Enums/MobileAppVendorEnum/MobileAppVendor.php +++ b/src/Google/Ads/GoogleAds/V17/Enums/FixedCpmGoalEnum/FixedCpmGoal.php @@ -1,17 +1,17 @@ google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor + * Protobuf type google.ads.googleads.v17.enums.FixedCpmGoalEnum.FixedCpmGoal */ -class MobileAppVendor +class FixedCpmGoal { /** * Not specified. @@ -26,23 +26,25 @@ class MobileAppVendor */ const UNKNOWN = 1; /** - * Mobile app vendor for Apple app store. + * Maximize reach, that is the number of users who saw the ads in this + * campaign. * - * Generated from protobuf enum APPLE_APP_STORE = 2; + * Generated from protobuf enum REACH = 2; */ - const APPLE_APP_STORE = 2; + const REACH = 2; /** - * Mobile app vendor for Google app store. + * Target Frequency CPM bidder. Optimize bidding to reach a single user with + * the requested frequency. * - * Generated from protobuf enum GOOGLE_APP_STORE = 3; + * Generated from protobuf enum TARGET_FREQUENCY = 3; */ - const GOOGLE_APP_STORE = 3; + const TARGET_FREQUENCY = 3; private static $valueToName = [ self::UNSPECIFIED => 'UNSPECIFIED', self::UNKNOWN => 'UNKNOWN', - self::APPLE_APP_STORE => 'APPLE_APP_STORE', - self::GOOGLE_APP_STORE => 'GOOGLE_APP_STORE', + self::REACH => 'REACH', + self::TARGET_FREQUENCY => 'TARGET_FREQUENCY', ]; public static function name($value) @@ -67,5 +69,5 @@ public static function value($name) } // Adding a class alias for backwards compatibility with the previous class name. -class_alias(MobileAppVendor::class, \Google\Ads\GoogleAds\V15\Enums\MobileAppVendorEnum_MobileAppVendor::class); +class_alias(FixedCpmGoal::class, \Google\Ads\GoogleAds\V17\Enums\FixedCpmGoalEnum_FixedCpmGoal::class); diff --git a/src/Google/Ads/GoogleAds/V15/Errors/RecommendationSubscriptionErrorEnum.php b/src/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnitEnum.php similarity index 55% rename from src/Google/Ads/GoogleAds/V15/Errors/RecommendationSubscriptionErrorEnum.php rename to src/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnitEnum.php index e790e481c..8ebb126bb 100644 --- a/src/Google/Ads/GoogleAds/V15/Errors/RecommendationSubscriptionErrorEnum.php +++ b/src/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnitEnum.php @@ -1,19 +1,19 @@ google.ads.googleads.v15.errors.RecommendationSubscriptionErrorEnum + * Generated from protobuf message google.ads.googleads.v17.enums.FixedCpmTargetFrequencyTimeUnitEnum */ -class RecommendationSubscriptionErrorEnum extends \Google\Protobuf\Internal\Message +class FixedCpmTargetFrequencyTimeUnitEnum extends \Google\Protobuf\Internal\Message { /** @@ -25,7 +25,7 @@ class RecommendationSubscriptionErrorEnum extends \Google\Protobuf\Internal\Mess * } */ public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\RecommendationSubscriptionError::initOnce(); + \GPBMetadata\Google\Ads\GoogleAds\V17\Enums\FixedCpmTargetFrequencyTimeUnit::initOnce(); parent::__construct($data); } diff --git a/src/Google/Ads/GoogleAds/V15/Enums/AssetSourceEnum/AssetSource.php b/src/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnitEnum/FixedCpmTargetFrequencyTimeUnit.php similarity index 61% rename from src/Google/Ads/GoogleAds/V15/Enums/AssetSourceEnum/AssetSource.php rename to src/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnitEnum/FixedCpmTargetFrequencyTimeUnit.php index baf5f06e7..97fd8f883 100644 --- a/src/Google/Ads/GoogleAds/V15/Enums/AssetSourceEnum/AssetSource.php +++ b/src/Google/Ads/GoogleAds/V17/Enums/FixedCpmTargetFrequencyTimeUnitEnum/FixedCpmTargetFrequencyTimeUnit.php @@ -1,17 +1,18 @@ google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource + * Protobuf type google.ads.googleads.v17.enums.FixedCpmTargetFrequencyTimeUnitEnum.FixedCpmTargetFrequencyTimeUnit */ -class AssetSource +class FixedCpmTargetFrequencyTimeUnit { /** * Not specified. @@ -26,23 +27,16 @@ class AssetSource */ const UNKNOWN = 1; /** - * The asset or asset link is provided by advertiser. + * Optimize bidding to reach target frequency in 30 days. * - * Generated from protobuf enum ADVERTISER = 2; + * Generated from protobuf enum MONTHLY = 2; */ - const ADVERTISER = 2; - /** - * The asset or asset link is generated by Google. - * - * Generated from protobuf enum AUTOMATICALLY_CREATED = 3; - */ - const AUTOMATICALLY_CREATED = 3; + const MONTHLY = 2; private static $valueToName = [ self::UNSPECIFIED => 'UNSPECIFIED', self::UNKNOWN => 'UNKNOWN', - self::ADVERTISER => 'ADVERTISER', - self::AUTOMATICALLY_CREATED => 'AUTOMATICALLY_CREATED', + self::MONTHLY => 'MONTHLY', ]; public static function name($value) @@ -67,5 +61,5 @@ public static function value($name) } // Adding a class alias for backwards compatibility with the previous class name. -class_alias(AssetSource::class, \Google\Ads\GoogleAds\V15\Enums\AssetSourceEnum_AssetSource::class); +class_alias(FixedCpmTargetFrequencyTimeUnit::class, \Google\Ads\GoogleAds\V17\Enums\FixedCpmTargetFrequencyTimeUnitEnum_FixedCpmTargetFrequencyTimeUnit::class); diff --git a/src/Google/Ads/GoogleAds/V17/Enums/UserListCustomerTypeCategoryEnum/UserListCustomerTypeCategory.php b/src/Google/Ads/GoogleAds/V17/Enums/UserListCustomerTypeCategoryEnum/UserListCustomerTypeCategory.php index add9bfec1..915823d3b 100644 --- a/src/Google/Ads/GoogleAds/V17/Enums/UserListCustomerTypeCategoryEnum/UserListCustomerTypeCategory.php +++ b/src/Google/Ads/GoogleAds/V17/Enums/UserListCustomerTypeCategoryEnum/UserListCustomerTypeCategory.php @@ -79,6 +79,48 @@ class UserListCustomerTypeCategory * Generated from protobuf enum CART_ABANDONERS = 10; */ const CART_ABANDONERS = 10; + /** + * Customer type category for loyalty tier 1 members. + * + * Generated from protobuf enum LOYALTY_TIER_1_MEMBERS = 11; + */ + const LOYALTY_TIER_1_MEMBERS = 11; + /** + * Customer type category for loyalty tier 2 members. + * + * Generated from protobuf enum LOYALTY_TIER_2_MEMBERS = 12; + */ + const LOYALTY_TIER_2_MEMBERS = 12; + /** + * Customer type category for loyalty tier 3 members. + * + * Generated from protobuf enum LOYALTY_TIER_3_MEMBERS = 13; + */ + const LOYALTY_TIER_3_MEMBERS = 13; + /** + * Customer type category for loyalty tier 4 members. + * + * Generated from protobuf enum LOYALTY_TIER_4_MEMBERS = 14; + */ + const LOYALTY_TIER_4_MEMBERS = 14; + /** + * Customer type category for loyalty tier 5 members. + * + * Generated from protobuf enum LOYALTY_TIER_5_MEMBERS = 15; + */ + const LOYALTY_TIER_5_MEMBERS = 15; + /** + * Customer type category for loyalty tier 6 members. + * + * Generated from protobuf enum LOYALTY_TIER_6_MEMBERS = 16; + */ + const LOYALTY_TIER_6_MEMBERS = 16; + /** + * Customer type category for loyalty tier 7 members. + * + * Generated from protobuf enum LOYALTY_TIER_7_MEMBERS = 17; + */ + const LOYALTY_TIER_7_MEMBERS = 17; private static $valueToName = [ self::UNSPECIFIED => 'UNSPECIFIED', @@ -92,6 +134,13 @@ class UserListCustomerTypeCategory self::PAID_SUBSCRIBERS => 'PAID_SUBSCRIBERS', self::LOYALTY_SIGN_UPS => 'LOYALTY_SIGN_UPS', self::CART_ABANDONERS => 'CART_ABANDONERS', + self::LOYALTY_TIER_1_MEMBERS => 'LOYALTY_TIER_1_MEMBERS', + self::LOYALTY_TIER_2_MEMBERS => 'LOYALTY_TIER_2_MEMBERS', + self::LOYALTY_TIER_3_MEMBERS => 'LOYALTY_TIER_3_MEMBERS', + self::LOYALTY_TIER_4_MEMBERS => 'LOYALTY_TIER_4_MEMBERS', + self::LOYALTY_TIER_5_MEMBERS => 'LOYALTY_TIER_5_MEMBERS', + self::LOYALTY_TIER_6_MEMBERS => 'LOYALTY_TIER_6_MEMBERS', + self::LOYALTY_TIER_7_MEMBERS => 'LOYALTY_TIER_7_MEMBERS', ]; public static function name($value) diff --git a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactTypeEnum.php b/src/Google/Ads/GoogleAds/V17/Errors/AutomaticallyCreatedAssetRemovalErrorEnum.php similarity index 54% rename from src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactTypeEnum.php rename to src/Google/Ads/GoogleAds/V17/Errors/AutomaticallyCreatedAssetRemovalErrorEnum.php index 97942a6a4..90b090c39 100644 --- a/src/Google/Ads/GoogleAds/V15/Enums/LocalServicesVerificationArtifactTypeEnum.php +++ b/src/Google/Ads/GoogleAds/V17/Errors/AutomaticallyCreatedAssetRemovalErrorEnum.php @@ -1,20 +1,20 @@ google.ads.googleads.v15.enums.LocalServicesVerificationArtifactTypeEnum + * Generated from protobuf message google.ads.googleads.v17.errors.AutomaticallyCreatedAssetRemovalErrorEnum */ -class LocalServicesVerificationArtifactTypeEnum extends \Google\Protobuf\Internal\Message +class AutomaticallyCreatedAssetRemovalErrorEnum extends \Google\Protobuf\Internal\Message { /** @@ -26,7 +26,7 @@ class LocalServicesVerificationArtifactTypeEnum extends \Google\Protobuf\Interna * } */ public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Enums\LocalServicesVerificationArtifactType::initOnce(); + \GPBMetadata\Google\Ads\GoogleAds\V17\Errors\AutomaticallyCreatedAssetRemovalError::initOnce(); parent::__construct($data); } diff --git a/src/Google/Ads/GoogleAds/V17/Errors/AutomaticallyCreatedAssetRemovalErrorEnum/AutomaticallyCreatedAssetRemovalError.php b/src/Google/Ads/GoogleAds/V17/Errors/AutomaticallyCreatedAssetRemovalErrorEnum/AutomaticallyCreatedAssetRemovalError.php new file mode 100644 index 000000000..de5a42344 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Errors/AutomaticallyCreatedAssetRemovalErrorEnum/AutomaticallyCreatedAssetRemovalError.php @@ -0,0 +1,92 @@ +google.ads.googleads.v17.errors.AutomaticallyCreatedAssetRemovalErrorEnum.AutomaticallyCreatedAssetRemovalError + */ +class AutomaticallyCreatedAssetRemovalError +{ + /** + * Enum unspecified. + * + * Generated from protobuf enum UNSPECIFIED = 0; + */ + const UNSPECIFIED = 0; + /** + * The received error code is not known in this version. + * + * Generated from protobuf enum UNKNOWN = 1; + */ + const UNKNOWN = 1; + /** + * The ad does not exist. + * + * Generated from protobuf enum AD_DOES_NOT_EXIST = 2; + */ + const AD_DOES_NOT_EXIST = 2; + /** + * Ad type is not supported. Only Responsive Search Ad type is supported. + * + * Generated from protobuf enum INVALID_AD_TYPE = 3; + */ + const INVALID_AD_TYPE = 3; + /** + * The asset does not exist. + * + * Generated from protobuf enum ASSET_DOES_NOT_EXIST = 4; + */ + const ASSET_DOES_NOT_EXIST = 4; + /** + * The asset field type does not match. + * + * Generated from protobuf enum ASSET_FIELD_TYPE_DOES_NOT_MATCH = 5; + */ + const ASSET_FIELD_TYPE_DOES_NOT_MATCH = 5; + /** + * Not an automatically created asset. + * + * Generated from protobuf enum NOT_AN_AUTOMATICALLY_CREATED_ASSET = 6; + */ + const NOT_AN_AUTOMATICALLY_CREATED_ASSET = 6; + + private static $valueToName = [ + self::UNSPECIFIED => 'UNSPECIFIED', + self::UNKNOWN => 'UNKNOWN', + self::AD_DOES_NOT_EXIST => 'AD_DOES_NOT_EXIST', + self::INVALID_AD_TYPE => 'INVALID_AD_TYPE', + self::ASSET_DOES_NOT_EXIST => 'ASSET_DOES_NOT_EXIST', + self::ASSET_FIELD_TYPE_DOES_NOT_MATCH => 'ASSET_FIELD_TYPE_DOES_NOT_MATCH', + self::NOT_AN_AUTOMATICALLY_CREATED_ASSET => 'NOT_AN_AUTOMATICALLY_CREATED_ASSET', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(AutomaticallyCreatedAssetRemovalError::class, \Google\Ads\GoogleAds\V17\Errors\AutomaticallyCreatedAssetRemovalErrorEnum_AutomaticallyCreatedAssetRemovalError::class); + diff --git a/src/Google/Ads/GoogleAds/V17/Errors/ErrorCode.php b/src/Google/Ads/GoogleAds/V17/Errors/ErrorCode.php index 372cce9dc..76ee3d6f6 100644 --- a/src/Google/Ads/GoogleAds/V17/Errors/ErrorCode.php +++ b/src/Google/Ads/GoogleAds/V17/Errors/ErrorCode.php @@ -331,6 +331,10 @@ class ErrorCode extends \Google\Protobuf\Internal\Message * The reasons for a user list customer type error. * @type int $shopping_product_error * The reasons for error in querying shopping product. + * @type int $automatically_created_asset_removal_error + * The reasons for error in automatically created asset removal action. + * @type int $shareable_preview_error + * The reasons for the shareable preview error. * } */ public function __construct($data = NULL) { @@ -5112,6 +5116,68 @@ public function setShoppingProductError($var) return $this; } + /** + * The reasons for error in automatically created asset removal action. + * + * Generated from protobuf field .google.ads.googleads.v17.errors.AutomaticallyCreatedAssetRemovalErrorEnum.AutomaticallyCreatedAssetRemovalError automatically_created_asset_removal_error = 185; + * @return int + */ + public function getAutomaticallyCreatedAssetRemovalError() + { + return $this->readOneof(185); + } + + public function hasAutomaticallyCreatedAssetRemovalError() + { + return $this->hasOneof(185); + } + + /** + * The reasons for error in automatically created asset removal action. + * + * Generated from protobuf field .google.ads.googleads.v17.errors.AutomaticallyCreatedAssetRemovalErrorEnum.AutomaticallyCreatedAssetRemovalError automatically_created_asset_removal_error = 185; + * @param int $var + * @return $this + */ + public function setAutomaticallyCreatedAssetRemovalError($var) + { + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Errors\AutomaticallyCreatedAssetRemovalErrorEnum\AutomaticallyCreatedAssetRemovalError::class); + $this->writeOneof(185, $var); + + return $this; + } + + /** + * The reasons for the shareable preview error. + * + * Generated from protobuf field .google.ads.googleads.v17.errors.ShareablePreviewErrorEnum.ShareablePreviewError shareable_preview_error = 186; + * @return int + */ + public function getShareablePreviewError() + { + return $this->readOneof(186); + } + + public function hasShareablePreviewError() + { + return $this->hasOneof(186); + } + + /** + * The reasons for the shareable preview error. + * + * Generated from protobuf field .google.ads.googleads.v17.errors.ShareablePreviewErrorEnum.ShareablePreviewError shareable_preview_error = 186; + * @param int $var + * @return $this + */ + public function setShareablePreviewError($var) + { + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Errors\ShareablePreviewErrorEnum\ShareablePreviewError::class); + $this->writeOneof(186, $var); + + return $this; + } + /** * @return string */ diff --git a/src/Google/Ads/GoogleAds/V15/Errors/ConversionActionErrorEnum.php b/src/Google/Ads/GoogleAds/V17/Errors/ShareablePreviewErrorEnum.php similarity index 59% rename from src/Google/Ads/GoogleAds/V15/Errors/ConversionActionErrorEnum.php rename to src/Google/Ads/GoogleAds/V17/Errors/ShareablePreviewErrorEnum.php index 689b2c3f7..3d5760cc9 100644 --- a/src/Google/Ads/GoogleAds/V15/Errors/ConversionActionErrorEnum.php +++ b/src/Google/Ads/GoogleAds/V17/Errors/ShareablePreviewErrorEnum.php @@ -1,19 +1,19 @@ google.ads.googleads.v15.errors.ConversionActionErrorEnum + * Generated from protobuf message google.ads.googleads.v17.errors.ShareablePreviewErrorEnum */ -class ConversionActionErrorEnum extends \Google\Protobuf\Internal\Message +class ShareablePreviewErrorEnum extends \Google\Protobuf\Internal\Message { /** @@ -25,7 +25,7 @@ class ConversionActionErrorEnum extends \Google\Protobuf\Internal\Message * } */ public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Errors\ConversionActionError::initOnce(); + \GPBMetadata\Google\Ads\GoogleAds\V17\Errors\ShareablePreviewError::initOnce(); parent::__construct($data); } diff --git a/src/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatusEnum/CombinedAudienceStatus.php b/src/Google/Ads/GoogleAds/V17/Errors/ShareablePreviewErrorEnum/ShareablePreviewError.php similarity index 54% rename from src/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatusEnum/CombinedAudienceStatus.php rename to src/Google/Ads/GoogleAds/V17/Errors/ShareablePreviewErrorEnum/ShareablePreviewError.php index b9e492358..3eca085d0 100644 --- a/src/Google/Ads/GoogleAds/V15/Enums/CombinedAudienceStatusEnum/CombinedAudienceStatus.php +++ b/src/Google/Ads/GoogleAds/V17/Errors/ShareablePreviewErrorEnum/ShareablePreviewError.php @@ -1,20 +1,20 @@ google.ads.googleads.v15.enums.CombinedAudienceStatusEnum.CombinedAudienceStatus + * Protobuf type google.ads.googleads.v17.errors.ShareablePreviewErrorEnum.ShareablePreviewError */ -class CombinedAudienceStatus +class ShareablePreviewError { /** - * Not specified. + * Enum unspecified. * * Generated from protobuf enum UNSPECIFIED = 0; */ @@ -26,24 +26,23 @@ class CombinedAudienceStatus */ const UNKNOWN = 1; /** - * Enabled status - combined audience is enabled and can be targeted. + * The maximum of 10 asset groups was exceeded. * - * Generated from protobuf enum ENABLED = 2; + * Generated from protobuf enum TOO_MANY_ASSET_GROUPS_IN_REQUEST = 2; */ - const ENABLED = 2; + const TOO_MANY_ASSET_GROUPS_IN_REQUEST = 2; /** - * Removed status - combined audience is removed and cannot be used for - * targeting. + * asset group does not exist under this customer. * - * Generated from protobuf enum REMOVED = 3; + * Generated from protobuf enum ASSET_GROUP_DOES_NOT_EXIST_UNDER_THIS_CUSTOMER = 3; */ - const REMOVED = 3; + const ASSET_GROUP_DOES_NOT_EXIST_UNDER_THIS_CUSTOMER = 3; private static $valueToName = [ self::UNSPECIFIED => 'UNSPECIFIED', self::UNKNOWN => 'UNKNOWN', - self::ENABLED => 'ENABLED', - self::REMOVED => 'REMOVED', + self::TOO_MANY_ASSET_GROUPS_IN_REQUEST => 'TOO_MANY_ASSET_GROUPS_IN_REQUEST', + self::ASSET_GROUP_DOES_NOT_EXIST_UNDER_THIS_CUSTOMER => 'ASSET_GROUP_DOES_NOT_EXIST_UNDER_THIS_CUSTOMER', ]; public static function name($value) @@ -68,5 +67,5 @@ public static function value($name) } // Adding a class alias for backwards compatibility with the previous class name. -class_alias(CombinedAudienceStatus::class, \Google\Ads\GoogleAds\V15\Enums\CombinedAudienceStatusEnum_CombinedAudienceStatus::class); +class_alias(ShareablePreviewError::class, \Google\Ads\GoogleAds\V17\Errors\ShareablePreviewErrorEnum_ShareablePreviewError::class); diff --git a/src/Google/Ads/GoogleAds/V17/Resources/AdGroup.php b/src/Google/Ads/GoogleAds/V17/Resources/AdGroup.php index ff69c400d..f7962433c 100644 --- a/src/Google/Ads/GoogleAds/V17/Resources/AdGroup.php +++ b/src/Google/Ads/GoogleAds/V17/Resources/AdGroup.php @@ -149,6 +149,20 @@ class AdGroup extends \Google\Protobuf\Internal\Message * Generated from protobuf field optional int64 percent_cpc_bid_micros = 45; */ protected $percent_cpc_bid_micros = null; + /** + * The fixed amount in micros that the advertiser pays for every thousand + * impressions of the ad. + * + * Generated from protobuf field optional int64 fixed_cpm_micros = 64; + */ + protected $fixed_cpm_micros = null; + /** + * Average amount in micros that the advertiser is willing to pay for every ad + * view. + * + * Generated from protobuf field optional int64 target_cpv_micros = 65; + */ + protected $target_cpv_micros = null; /** * True if optimized targeting is enabled. Optimized Targeting is the * replacement for Audience Expansion. @@ -322,6 +336,12 @@ class AdGroup extends \Google\Protobuf\Internal\Message * The percent cpc bid amount, expressed as a fraction of the advertised price * for some good or service. The valid range for the fraction is [0,1) and the * value stored here is 1,000,000 * [fraction]. + * @type int|string $fixed_cpm_micros + * The fixed amount in micros that the advertiser pays for every thousand + * impressions of the ad. + * @type int|string $target_cpv_micros + * Average amount in micros that the advertiser is willing to pay for every ad + * view. * @type bool $optimized_targeting_enabled * True if optimized targeting is enabled. Optimized Targeting is the * replacement for Audience Expansion. @@ -1027,6 +1047,82 @@ public function setPercentCpcBidMicros($var) return $this; } + /** + * The fixed amount in micros that the advertiser pays for every thousand + * impressions of the ad. + * + * Generated from protobuf field optional int64 fixed_cpm_micros = 64; + * @return int|string + */ + public function getFixedCpmMicros() + { + return isset($this->fixed_cpm_micros) ? $this->fixed_cpm_micros : 0; + } + + public function hasFixedCpmMicros() + { + return isset($this->fixed_cpm_micros); + } + + public function clearFixedCpmMicros() + { + unset($this->fixed_cpm_micros); + } + + /** + * The fixed amount in micros that the advertiser pays for every thousand + * impressions of the ad. + * + * Generated from protobuf field optional int64 fixed_cpm_micros = 64; + * @param int|string $var + * @return $this + */ + public function setFixedCpmMicros($var) + { + GPBUtil::checkInt64($var); + $this->fixed_cpm_micros = $var; + + return $this; + } + + /** + * Average amount in micros that the advertiser is willing to pay for every ad + * view. + * + * Generated from protobuf field optional int64 target_cpv_micros = 65; + * @return int|string + */ + public function getTargetCpvMicros() + { + return isset($this->target_cpv_micros) ? $this->target_cpv_micros : 0; + } + + public function hasTargetCpvMicros() + { + return isset($this->target_cpv_micros); + } + + public function clearTargetCpvMicros() + { + unset($this->target_cpv_micros); + } + + /** + * Average amount in micros that the advertiser is willing to pay for every ad + * view. + * + * Generated from protobuf field optional int64 target_cpv_micros = 65; + * @param int|string $var + * @return $this + */ + public function setTargetCpvMicros($var) + { + GPBUtil::checkInt64($var); + $this->target_cpv_micros = $var; + + return $this; + } + /** * True if optimized targeting is enabled. Optimized Targeting is the * replacement for Audience Expansion. diff --git a/src/Google/Ads/GoogleAds/V17/Resources/Campaign.php b/src/Google/Ads/GoogleAds/V17/Resources/Campaign.php index 949f88265..7080f5da5 100644 --- a/src/Google/Ads/GoogleAds/V17/Resources/Campaign.php +++ b/src/Google/Ads/GoogleAds/V17/Resources/Campaign.php @@ -133,6 +133,12 @@ class Campaign extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.ads.googleads.v17.resources.Campaign.DemandGenCampaignSettings demand_gen_campaign_settings = 91; */ protected $demand_gen_campaign_settings = null; + /** + * Settings for Video campaign. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94; + */ + protected $video_campaign_settings = null; /** * Settings for Real-Time Bidding, a feature only available for campaigns * targeting the Ad Exchange network. @@ -465,6 +471,8 @@ class Campaign extends \Google\Protobuf\Internal\Message * Settings for Travel campaign. * @type \Google\Ads\GoogleAds\V17\Resources\Campaign\DemandGenCampaignSettings $demand_gen_campaign_settings * Settings for Demand Gen campaign. + * @type \Google\Ads\GoogleAds\V17\Resources\Campaign\VideoCampaignSettings $video_campaign_settings + * Settings for Video campaign. * @type \Google\Ads\GoogleAds\V17\Common\RealTimeBiddingSetting $real_time_bidding_setting * Settings for Real-Time Bidding, a feature only available for campaigns * targeting the Ad Exchange network. @@ -634,6 +642,11 @@ class Campaign extends \Google\Protobuf\Internal\Message * @type \Google\Ads\GoogleAds\V17\Common\TargetCpm $target_cpm * A bidding strategy that automatically optimizes cost per thousand * impressions. + * @type \Google\Ads\GoogleAds\V17\Common\FixedCpm $fixed_cpm + * A manual bidding strategy with a fixed CPM. + * @type \Google\Ads\GoogleAds\V17\Common\TargetCpv $target_cpv + * An automated bidding strategy that sets bids to optimize performance + * given the target CPV you set. * } */ public function __construct($data = NULL) { @@ -1161,6 +1174,42 @@ public function setDemandGenCampaignSettings($var) return $this; } + /** + * Settings for Video campaign. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94; + * @return \Google\Ads\GoogleAds\V17\Resources\Campaign\VideoCampaignSettings|null + */ + public function getVideoCampaignSettings() + { + return $this->video_campaign_settings; + } + + public function hasVideoCampaignSettings() + { + return isset($this->video_campaign_settings); + } + + public function clearVideoCampaignSettings() + { + unset($this->video_campaign_settings); + } + + /** + * Settings for Video campaign. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.Campaign.VideoCampaignSettings video_campaign_settings = 94; + * @param \Google\Ads\GoogleAds\V17\Resources\Campaign\VideoCampaignSettings $var + * @return $this + */ + public function setVideoCampaignSettings($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Resources\Campaign\VideoCampaignSettings::class); + $this->video_campaign_settings = $var; + + return $this; + } + /** * Settings for Real-Time Bidding, a feature only available for campaigns * targeting the Ad Exchange network. @@ -2919,6 +2968,70 @@ public function setTargetCpm($var) return $this; } + /** + * A manual bidding strategy with a fixed CPM. + * + * Generated from protobuf field .google.ads.googleads.v17.common.FixedCpm fixed_cpm = 92; + * @return \Google\Ads\GoogleAds\V17\Common\FixedCpm|null + */ + public function getFixedCpm() + { + return $this->readOneof(92); + } + + public function hasFixedCpm() + { + return $this->hasOneof(92); + } + + /** + * A manual bidding strategy with a fixed CPM. + * + * Generated from protobuf field .google.ads.googleads.v17.common.FixedCpm fixed_cpm = 92; + * @param \Google\Ads\GoogleAds\V17\Common\FixedCpm $var + * @return $this + */ + public function setFixedCpm($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Common\FixedCpm::class); + $this->writeOneof(92, $var); + + return $this; + } + + /** + * An automated bidding strategy that sets bids to optimize performance + * given the target CPV you set. + * + * Generated from protobuf field .google.ads.googleads.v17.common.TargetCpv target_cpv = 93; + * @return \Google\Ads\GoogleAds\V17\Common\TargetCpv|null + */ + public function getTargetCpv() + { + return $this->readOneof(93); + } + + public function hasTargetCpv() + { + return $this->hasOneof(93); + } + + /** + * An automated bidding strategy that sets bids to optimize performance + * given the target CPV you set. + * + * Generated from protobuf field .google.ads.googleads.v17.common.TargetCpv target_cpv = 93; + * @param \Google\Ads\GoogleAds\V17\Common\TargetCpv $var + * @return $this + */ + public function setTargetCpv($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Common\TargetCpv::class); + $this->writeOneof(93, $var); + + return $this; + } + /** * @return string */ diff --git a/src/Google/Ads/GoogleAds/V17/Resources/Campaign/VideoCampaignSettings.php b/src/Google/Ads/GoogleAds/V17/Resources/Campaign/VideoCampaignSettings.php new file mode 100644 index 000000000..5083ed1b7 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Resources/Campaign/VideoCampaignSettings.php @@ -0,0 +1,80 @@ +google.ads.googleads.v17.resources.Campaign.VideoCampaignSettings + */ +class VideoCampaignSettings extends \Google\Protobuf\Internal\Message +{ + /** + * Inventory control for responsive ad containers in reach campaigns. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.Campaign.VideoCampaignSettings.VideoAdInventoryControl video_ad_inventory_control = 1; + */ + protected $video_ad_inventory_control = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\GoogleAds\V17\Resources\Campaign\VideoCampaignSettings\VideoAdInventoryControl $video_ad_inventory_control + * Inventory control for responsive ad containers in reach campaigns. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Resources\Campaign::initOnce(); + parent::__construct($data); + } + + /** + * Inventory control for responsive ad containers in reach campaigns. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.Campaign.VideoCampaignSettings.VideoAdInventoryControl video_ad_inventory_control = 1; + * @return \Google\Ads\GoogleAds\V17\Resources\Campaign\VideoCampaignSettings\VideoAdInventoryControl|null + */ + public function getVideoAdInventoryControl() + { + return $this->video_ad_inventory_control; + } + + public function hasVideoAdInventoryControl() + { + return isset($this->video_ad_inventory_control); + } + + public function clearVideoAdInventoryControl() + { + unset($this->video_ad_inventory_control); + } + + /** + * Inventory control for responsive ad containers in reach campaigns. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.Campaign.VideoCampaignSettings.VideoAdInventoryControl video_ad_inventory_control = 1; + * @param \Google\Ads\GoogleAds\V17\Resources\Campaign\VideoCampaignSettings\VideoAdInventoryControl $var + * @return $this + */ + public function setVideoAdInventoryControl($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Resources\Campaign\VideoCampaignSettings\VideoAdInventoryControl::class); + $this->video_ad_inventory_control = $var; + + return $this; + } + +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VideoCampaignSettings::class, \Google\Ads\GoogleAds\V17\Resources\Campaign_VideoCampaignSettings::class); + diff --git a/src/Google/Ads/GoogleAds/V17/Resources/Campaign/VideoCampaignSettings/VideoAdInventoryControl.php b/src/Google/Ads/GoogleAds/V17/Resources/Campaign/VideoCampaignSettings/VideoAdInventoryControl.php new file mode 100644 index 000000000..05c41886e --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Resources/Campaign/VideoCampaignSettings/VideoAdInventoryControl.php @@ -0,0 +1,170 @@ +google.ads.googleads.v17.resources.Campaign.VideoCampaignSettings.VideoAdInventoryControl + */ +class VideoAdInventoryControl extends \Google\Protobuf\Internal\Message +{ + /** + * Determine if VideoResponsiveAds can be used for in-stream video ads. + * + * Generated from protobuf field optional bool allow_in_stream = 1; + */ + protected $allow_in_stream = null; + /** + * Determine if VideoResponsiveAds can be used for in-feed video ads. + * + * Generated from protobuf field optional bool allow_in_feed = 2; + */ + protected $allow_in_feed = null; + /** + * Determine if VideoResponsiveAds can be used as shorts format. + * + * Generated from protobuf field optional bool allow_shorts = 3; + */ + protected $allow_shorts = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $allow_in_stream + * Determine if VideoResponsiveAds can be used for in-stream video ads. + * @type bool $allow_in_feed + * Determine if VideoResponsiveAds can be used for in-feed video ads. + * @type bool $allow_shorts + * Determine if VideoResponsiveAds can be used as shorts format. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Resources\Campaign::initOnce(); + parent::__construct($data); + } + + /** + * Determine if VideoResponsiveAds can be used for in-stream video ads. + * + * Generated from protobuf field optional bool allow_in_stream = 1; + * @return bool + */ + public function getAllowInStream() + { + return isset($this->allow_in_stream) ? $this->allow_in_stream : false; + } + + public function hasAllowInStream() + { + return isset($this->allow_in_stream); + } + + public function clearAllowInStream() + { + unset($this->allow_in_stream); + } + + /** + * Determine if VideoResponsiveAds can be used for in-stream video ads. + * + * Generated from protobuf field optional bool allow_in_stream = 1; + * @param bool $var + * @return $this + */ + public function setAllowInStream($var) + { + GPBUtil::checkBool($var); + $this->allow_in_stream = $var; + + return $this; + } + + /** + * Determine if VideoResponsiveAds can be used for in-feed video ads. + * + * Generated from protobuf field optional bool allow_in_feed = 2; + * @return bool + */ + public function getAllowInFeed() + { + return isset($this->allow_in_feed) ? $this->allow_in_feed : false; + } + + public function hasAllowInFeed() + { + return isset($this->allow_in_feed); + } + + public function clearAllowInFeed() + { + unset($this->allow_in_feed); + } + + /** + * Determine if VideoResponsiveAds can be used for in-feed video ads. + * + * Generated from protobuf field optional bool allow_in_feed = 2; + * @param bool $var + * @return $this + */ + public function setAllowInFeed($var) + { + GPBUtil::checkBool($var); + $this->allow_in_feed = $var; + + return $this; + } + + /** + * Determine if VideoResponsiveAds can be used as shorts format. + * + * Generated from protobuf field optional bool allow_shorts = 3; + * @return bool + */ + public function getAllowShorts() + { + return isset($this->allow_shorts) ? $this->allow_shorts : false; + } + + public function hasAllowShorts() + { + return isset($this->allow_shorts); + } + + public function clearAllowShorts() + { + unset($this->allow_shorts); + } + + /** + * Determine if VideoResponsiveAds can be used as shorts format. + * + * Generated from protobuf field optional bool allow_shorts = 3; + * @param bool $var + * @return $this + */ + public function setAllowShorts($var) + { + GPBUtil::checkBool($var); + $this->allow_shorts = $var; + + return $this; + } + +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(VideoAdInventoryControl::class, \Google\Ads\GoogleAds\V17\Resources\Campaign_VideoCampaignSettings_VideoAdInventoryControl::class); + diff --git a/src/Google/Ads/GoogleAds/V17/Resources/ChangeStatus.php b/src/Google/Ads/GoogleAds/V17/Resources/ChangeStatus.php index 2d09a9a1f..f8ab0e08a 100644 --- a/src/Google/Ads/GoogleAds/V17/Resources/ChangeStatus.php +++ b/src/Google/Ads/GoogleAds/V17/Resources/ChangeStatus.php @@ -147,6 +147,12 @@ class ChangeStatus extends \Google\Protobuf\Internal\Message * Generated from protobuf field string combined_audience = 40 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { */ protected $combined_audience = ''; + /** + * Output only. The AssetGroup affected by this change. + * + * Generated from protobuf field string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $asset_group = ''; /** * Constructor. @@ -201,6 +207,8 @@ class ChangeStatus extends \Google\Protobuf\Internal\Message * Output only. The AdGroupAsset affected by this change. * @type string $combined_audience * Output only. The CombinedAudience affected by this change. + * @type string $asset_group + * Output only. The AssetGroup affected by this change. * } */ public function __construct($data = NULL) { @@ -874,5 +882,31 @@ public function setCombinedAudience($var) return $this; } + /** + * Output only. The AssetGroup affected by this change. + * + * Generated from protobuf field string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getAssetGroup() + { + return $this->asset_group; + } + + /** + * Output only. The AssetGroup affected by this change. + * + * Generated from protobuf field string asset_group = 41 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAssetGroup($var) + { + GPBUtil::checkString($var, True); + $this->asset_group = $var; + + return $this; + } + } diff --git a/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionSummary.php b/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionSummary.php index bde7566f4..4b631be63 100644 --- a/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionSummary.php +++ b/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionSummary.php @@ -27,6 +27,12 @@ class OfflineConversionSummary extends \Google\Protobuf\Internal\Message * Generated from protobuf field int64 failed_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $failed_count = 0; + /** + * Output only. Total count of pending uploaded event. + * + * Generated from protobuf field int64 pending_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $pending_count = 0; protected $dimension_key; /** @@ -39,6 +45,8 @@ class OfflineConversionSummary extends \Google\Protobuf\Internal\Message * Output only. Total count of successful event. * @type int|string $failed_count * Output only. Total count of failed event. + * @type int|string $pending_count + * Output only. Total count of pending uploaded event. * @type int|string $job_id * Output only. Dimension key for last N jobs. * @type string $upload_date @@ -102,6 +110,32 @@ public function setFailedCount($var) return $this; } + /** + * Output only. Total count of pending uploaded event. + * + * Generated from protobuf field int64 pending_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getPendingCount() + { + return $this->pending_count; + } + + /** + * Output only. Total count of pending uploaded event. + * + * Generated from protobuf field int64 pending_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setPendingCount($var) + { + GPBUtil::checkInt64($var); + $this->pending_count = $var; + + return $this; + } + /** * Output only. Dimension key for last N jobs. * diff --git a/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadClientSummary.php b/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadClientSummary.php index dd5565dda..87c40d7dd 100644 --- a/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadClientSummary.php +++ b/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadClientSummary.php @@ -9,16 +9,16 @@ use Google\Protobuf\Internal\GPBUtil; /** - * Offline conversion upload client summary. + * Offline conversion upload summary at customer level. * * Generated from protobuf message google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary */ class OfflineConversionUploadClientSummary extends \Google\Protobuf\Internal\Message { /** - * Output only. The resource name of the offline conversion upload client - * summary. Offline conversion upload client summary resource names have the - * form: + * Output only. The resource name of the offline conversion upload summary at + * customer level. Offline conversion upload client summary resource names + * have the form: * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` * * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { @@ -32,8 +32,7 @@ class OfflineConversionUploadClientSummary extends \Google\Protobuf\Internal\Mes protected $client = 0; /** * Output only. Overall status for offline conversion client summary. Status - * is generated - * from most recent calendar day with upload stats + * is generated from most recent calendar day with upload stats. * * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @@ -56,6 +55,18 @@ class OfflineConversionUploadClientSummary extends \Google\Protobuf\Internal\Mes * Generated from protobuf field double success_rate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $success_rate = 0.0; + /** + * Output only. Total count of pending uploaded events. + * + * Generated from protobuf field int64 pending_event_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $pending_event_count = 0; + /** + * Output only. The ratio of total pending events to total events. + * + * Generated from protobuf field double pending_rate = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $pending_rate = 0.0; /** * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd * hh:mm:ss", and it's in the time zone of the Google Ads account. @@ -90,22 +101,25 @@ class OfflineConversionUploadClientSummary extends \Google\Protobuf\Internal\Mes * Optional. Data for populating the Message object. * * @type string $resource_name - * Output only. The resource name of the offline conversion upload client - * summary. Offline conversion upload client summary resource names have the - * form: + * Output only. The resource name of the offline conversion upload summary at + * customer level. Offline conversion upload client summary resource names + * have the form: * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` * @type int $client * Output only. Client type of the upload event. * @type int $status * Output only. Overall status for offline conversion client summary. Status - * is generated - * from most recent calendar day with upload stats + * is generated from most recent calendar day with upload stats. * @type int|string $total_event_count * Output only. Total count of uploaded events. * @type int|string $successful_event_count * Output only. Total count of successful uploaded events. * @type float $success_rate * Output only. Successful rate. + * @type int|string $pending_event_count + * Output only. Total count of pending uploaded events. + * @type float $pending_rate + * Output only. The ratio of total pending events to total events. * @type string $last_upload_date_time * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd * hh:mm:ss", and it's in the time zone of the Google Ads account. @@ -124,9 +138,9 @@ public function __construct($data = NULL) { } /** - * Output only. The resource name of the offline conversion upload client - * summary. Offline conversion upload client summary resource names have the - * form: + * Output only. The resource name of the offline conversion upload summary at + * customer level. Offline conversion upload client summary resource names + * have the form: * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` * * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { @@ -138,9 +152,9 @@ public function getResourceName() } /** - * Output only. The resource name of the offline conversion upload client - * summary. Offline conversion upload client summary resource names have the - * form: + * Output only. The resource name of the offline conversion upload summary at + * customer level. Offline conversion upload client summary resource names + * have the form: * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` * * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { @@ -183,8 +197,7 @@ public function setClient($var) /** * Output only. Overall status for offline conversion client summary. Status - * is generated - * from most recent calendar day with upload stats + * is generated from most recent calendar day with upload stats. * * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int @@ -196,8 +209,7 @@ public function getStatus() /** * Output only. Overall status for offline conversion client summary. Status - * is generated - * from most recent calendar day with upload stats + * is generated from most recent calendar day with upload stats. * * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var @@ -289,6 +301,58 @@ public function setSuccessRate($var) return $this; } + /** + * Output only. Total count of pending uploaded events. + * + * Generated from protobuf field int64 pending_event_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getPendingEventCount() + { + return $this->pending_event_count; + } + + /** + * Output only. Total count of pending uploaded events. + * + * Generated from protobuf field int64 pending_event_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setPendingEventCount($var) + { + GPBUtil::checkInt64($var); + $this->pending_event_count = $var; + + return $this; + } + + /** + * Output only. The ratio of total pending events to total events. + * + * Generated from protobuf field double pending_rate = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getPendingRate() + { + return $this->pending_rate; + } + + /** + * Output only. The ratio of total pending events to total events. + * + * Generated from protobuf field double pending_rate = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setPendingRate($var) + { + GPBUtil::checkDouble($var); + $this->pending_rate = $var; + + return $this; + } + /** * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd * hh:mm:ss", and it's in the time zone of the Google Ads account. diff --git a/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionUploadClientSummary.php b/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadConversionActionSummary.php similarity index 56% rename from src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionUploadClientSummary.php rename to src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadConversionActionSummary.php index e2181c87d..6391fa953 100644 --- a/src/Google/Ads/GoogleAds/V15/Resources/OfflineConversionUploadClientSummary.php +++ b/src/Google/Ads/GoogleAds/V17/Resources/OfflineConversionUploadConversionActionSummary.php @@ -1,25 +1,25 @@ google.ads.googleads.v15.resources.OfflineConversionUploadClientSummary + * Generated from protobuf message google.ads.googleads.v17.resources.OfflineConversionUploadConversionActionSummary */ -class OfflineConversionUploadClientSummary extends \Google\Protobuf\Internal\Message +class OfflineConversionUploadConversionActionSummary extends \Google\Protobuf\Internal\Message { /** - * Output only. The resource name of the offline conversion upload client - * summary. Offline conversion upload client summary resource names have the - * form: - * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` + * Output only. The resource name of the offline conversion upload summary at + * conversion action level. Offline conversion upload conversion action + * summary resource names have the form: + * `customers/{customer_id}/offlineConversionUploadConversionActionSummaries/{conversion_action_id}~{client}` * * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { */ @@ -27,59 +27,71 @@ class OfflineConversionUploadClientSummary extends \Google\Protobuf\Internal\Mes /** * Output only. Client type of the upload event. * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $client = 0; /** - * Output only. Overall status for offline conversion client summary. Status - * is generated - * from most recent calendar day with upload stats + * Output only. Conversion action id. * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 conversion_action_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $conversion_action_id = 0; + /** + * Output only. The name of the conversion action. + * + * Generated from protobuf field string conversion_action_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $conversion_action_name = ''; + /** + * Output only. Overall status for offline conversion upload conversion action + * summary. Status is generated from most recent calendar day with upload + * stats. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $status = 0; /** * Output only. Total count of uploaded events. * - * Generated from protobuf field int64 total_event_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 total_event_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $total_event_count = 0; /** * Output only. Total count of successful uploaded events. * - * Generated from protobuf field int64 successful_event_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 successful_event_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $successful_event_count = 0; /** - * Output only. Successful rate. + * Output only. Total count of pending uploaded events. * - * Generated from protobuf field double success_rate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 pending_event_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - protected $success_rate = 0.0; + protected $pending_event_count = 0; /** * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd * hh:mm:ss", and it's in the time zone of the Google Ads account. * - * Generated from protobuf field string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string last_upload_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $last_upload_date_time = ''; /** * Output only. Summary of history stats by last N days. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $daily_summaries; /** * Output only. Summary of history stats by last N jobs. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $job_summaries; /** * Output only. Details for each error code. Alerts are generated from most * recent calendar day with upload stats. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $alerts; @@ -90,44 +102,48 @@ class OfflineConversionUploadClientSummary extends \Google\Protobuf\Internal\Mes * Optional. Data for populating the Message object. * * @type string $resource_name - * Output only. The resource name of the offline conversion upload client - * summary. Offline conversion upload client summary resource names have the - * form: - * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` + * Output only. The resource name of the offline conversion upload summary at + * conversion action level. Offline conversion upload conversion action + * summary resource names have the form: + * `customers/{customer_id}/offlineConversionUploadConversionActionSummaries/{conversion_action_id}~{client}` * @type int $client * Output only. Client type of the upload event. + * @type int|string $conversion_action_id + * Output only. Conversion action id. + * @type string $conversion_action_name + * Output only. The name of the conversion action. * @type int $status - * Output only. Overall status for offline conversion client summary. Status - * is generated - * from most recent calendar day with upload stats + * Output only. Overall status for offline conversion upload conversion action + * summary. Status is generated from most recent calendar day with upload + * stats. * @type int|string $total_event_count * Output only. Total count of uploaded events. * @type int|string $successful_event_count * Output only. Total count of successful uploaded events. - * @type float $success_rate - * Output only. Successful rate. + * @type int|string $pending_event_count + * Output only. Total count of pending uploaded events. * @type string $last_upload_date_time * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd * hh:mm:ss", and it's in the time zone of the Google Ads account. - * @type array<\Google\Ads\GoogleAds\V15\Resources\OfflineConversionSummary>|\Google\Protobuf\Internal\RepeatedField $daily_summaries + * @type array<\Google\Ads\GoogleAds\V17\Resources\OfflineConversionSummary>|\Google\Protobuf\Internal\RepeatedField $daily_summaries * Output only. Summary of history stats by last N days. - * @type array<\Google\Ads\GoogleAds\V15\Resources\OfflineConversionSummary>|\Google\Protobuf\Internal\RepeatedField $job_summaries + * @type array<\Google\Ads\GoogleAds\V17\Resources\OfflineConversionSummary>|\Google\Protobuf\Internal\RepeatedField $job_summaries * Output only. Summary of history stats by last N jobs. - * @type array<\Google\Ads\GoogleAds\V15\Resources\OfflineConversionAlert>|\Google\Protobuf\Internal\RepeatedField $alerts + * @type array<\Google\Ads\GoogleAds\V17\Resources\OfflineConversionAlert>|\Google\Protobuf\Internal\RepeatedField $alerts * Output only. Details for each error code. Alerts are generated from most * recent calendar day with upload stats. * } */ public function __construct($data = NULL) { - \GPBMetadata\Google\Ads\GoogleAds\V15\Resources\OfflineConversionUploadClientSummary::initOnce(); + \GPBMetadata\Google\Ads\GoogleAds\V17\Resources\OfflineConversionUploadConversionActionSummary::initOnce(); parent::__construct($data); } /** - * Output only. The resource name of the offline conversion upload client - * summary. Offline conversion upload client summary resource names have the - * form: - * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` + * Output only. The resource name of the offline conversion upload summary at + * conversion action level. Offline conversion upload conversion action + * summary resource names have the form: + * `customers/{customer_id}/offlineConversionUploadConversionActionSummaries/{conversion_action_id}~{client}` * * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @return string @@ -138,10 +154,10 @@ public function getResourceName() } /** - * Output only. The resource name of the offline conversion upload client - * summary. Offline conversion upload client summary resource names have the - * form: - * `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}` + * Output only. The resource name of the offline conversion upload summary at + * conversion action level. Offline conversion upload conversion action + * summary resource names have the form: + * `customers/{customer_id}/offlineConversionUploadConversionActionSummaries/{conversion_action_id}~{client}` * * Generated from protobuf field string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { * @param string $var @@ -158,7 +174,7 @@ public function setResourceName($var) /** * Output only. Client type of the upload event. * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getClient() @@ -169,24 +185,76 @@ public function getClient() /** * Output only. Client type of the upload event. * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ public function setClient($var) { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\OfflineEventUploadClientEnum\OfflineEventUploadClient::class); + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Enums\OfflineEventUploadClientEnum\OfflineEventUploadClient::class); $this->client = $var; return $this; } /** - * Output only. Overall status for offline conversion client summary. Status - * is generated - * from most recent calendar day with upload stats + * Output only. Conversion action id. * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 conversion_action_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getConversionActionId() + { + return $this->conversion_action_id; + } + + /** + * Output only. Conversion action id. + * + * Generated from protobuf field int64 conversion_action_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setConversionActionId($var) + { + GPBUtil::checkInt64($var); + $this->conversion_action_id = $var; + + return $this; + } + + /** + * Output only. The name of the conversion action. + * + * Generated from protobuf field string conversion_action_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getConversionActionName() + { + return $this->conversion_action_name; + } + + /** + * Output only. The name of the conversion action. + * + * Generated from protobuf field string conversion_action_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setConversionActionName($var) + { + GPBUtil::checkString($var, True); + $this->conversion_action_name = $var; + + return $this; + } + + /** + * Output only. Overall status for offline conversion upload conversion action + * summary. Status is generated from most recent calendar day with upload + * stats. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getStatus() @@ -195,17 +263,17 @@ public function getStatus() } /** - * Output only. Overall status for offline conversion client summary. Status - * is generated - * from most recent calendar day with upload stats + * Output only. Overall status for offline conversion upload conversion action + * summary. Status is generated from most recent calendar day with upload + * stats. * - * Generated from protobuf field .google.ads.googleads.v15.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ public function setStatus($var) { - GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V15\Enums\OfflineConversionDiagnosticStatusEnum\OfflineConversionDiagnosticStatus::class); + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Enums\OfflineConversionDiagnosticStatusEnum\OfflineConversionDiagnosticStatus::class); $this->status = $var; return $this; @@ -214,7 +282,7 @@ public function setStatus($var) /** * Output only. Total count of uploaded events. * - * Generated from protobuf field int64 total_event_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 total_event_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int|string */ public function getTotalEventCount() @@ -225,7 +293,7 @@ public function getTotalEventCount() /** * Output only. Total count of uploaded events. * - * Generated from protobuf field int64 total_event_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 total_event_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int|string $var * @return $this */ @@ -240,7 +308,7 @@ public function setTotalEventCount($var) /** * Output only. Total count of successful uploaded events. * - * Generated from protobuf field int64 successful_event_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 successful_event_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int|string */ public function getSuccessfulEventCount() @@ -251,7 +319,7 @@ public function getSuccessfulEventCount() /** * Output only. Total count of successful uploaded events. * - * Generated from protobuf field int64 successful_event_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field int64 successful_event_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int|string $var * @return $this */ @@ -264,27 +332,27 @@ public function setSuccessfulEventCount($var) } /** - * Output only. Successful rate. + * Output only. Total count of pending uploaded events. * - * Generated from protobuf field double success_rate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float + * Generated from protobuf field int64 pending_event_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string */ - public function getSuccessRate() + public function getPendingEventCount() { - return $this->success_rate; + return $this->pending_event_count; } /** - * Output only. Successful rate. + * Output only. Total count of pending uploaded events. * - * Generated from protobuf field double success_rate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var + * Generated from protobuf field int64 pending_event_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var * @return $this */ - public function setSuccessRate($var) + public function setPendingEventCount($var) { - GPBUtil::checkDouble($var); - $this->success_rate = $var; + GPBUtil::checkInt64($var); + $this->pending_event_count = $var; return $this; } @@ -293,7 +361,7 @@ public function setSuccessRate($var) * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd * hh:mm:ss", and it's in the time zone of the Google Ads account. * - * Generated from protobuf field string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string last_upload_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getLastUploadDateTime() @@ -305,7 +373,7 @@ public function getLastUploadDateTime() * Output only. Date for the latest upload batch. The format is "yyyy-mm-dd * hh:mm:ss", and it's in the time zone of the Google Ads account. * - * Generated from protobuf field string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field string last_upload_date_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -320,7 +388,7 @@ public function setLastUploadDateTime($var) /** * Output only. Summary of history stats by last N days. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Internal\RepeatedField */ public function getDailySummaries() @@ -331,13 +399,13 @@ public function getDailySummaries() /** * Output only. Summary of history stats by last N days. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\OfflineConversionSummary>|\Google\Protobuf\Internal\RepeatedField $var + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param array<\Google\Ads\GoogleAds\V17\Resources\OfflineConversionSummary>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setDailySummaries($var) { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\OfflineConversionSummary::class); + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V17\Resources\OfflineConversionSummary::class); $this->daily_summaries = $arr; return $this; @@ -346,7 +414,7 @@ public function setDailySummaries($var) /** * Output only. Summary of history stats by last N jobs. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Internal\RepeatedField */ public function getJobSummaries() @@ -357,13 +425,13 @@ public function getJobSummaries() /** * Output only. Summary of history stats by last N jobs. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\OfflineConversionSummary>|\Google\Protobuf\Internal\RepeatedField $var + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param array<\Google\Ads\GoogleAds\V17\Resources\OfflineConversionSummary>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setJobSummaries($var) { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\OfflineConversionSummary::class); + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V17\Resources\OfflineConversionSummary::class); $this->job_summaries = $arr; return $this; @@ -373,7 +441,7 @@ public function setJobSummaries($var) * Output only. Details for each error code. Alerts are generated from most * recent calendar day with upload stats. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Internal\RepeatedField */ public function getAlerts() @@ -385,13 +453,13 @@ public function getAlerts() * Output only. Details for each error code. Alerts are generated from most * recent calendar day with upload stats. * - * Generated from protobuf field repeated .google.ads.googleads.v15.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Ads\GoogleAds\V15\Resources\OfflineConversionAlert>|\Google\Protobuf\Internal\RepeatedField $var + * Generated from protobuf field repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param array<\Google\Ads\GoogleAds\V17\Resources\OfflineConversionAlert>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setAlerts($var) { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V15\Resources\OfflineConversionAlert::class); + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V17\Resources\OfflineConversionAlert::class); $this->alerts = $arr; return $this; diff --git a/src/Google/Ads/GoogleAds/V17/Services/AdGroupAdServiceGrpcClient.php b/src/Google/Ads/GoogleAds/V17/Services/AdGroupAdServiceGrpcClient.php index 64427ca63..9d48b88f0 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/AdGroupAdServiceGrpcClient.php +++ b/src/Google/Ads/GoogleAds/V17/Services/AdGroupAdServiceGrpcClient.php @@ -94,4 +94,30 @@ public function MutateAdGroupAds(\Google\Ads\GoogleAds\V17\Services\MutateAdGrou $metadata, $options); } + /** + * Remove automatically created assets from an ad. + * + * List of thrown errors: + * [AdError]() + * [AuthenticationError]() + * [AuthorizationError]() + * [AutomaticallyCreatedAssetRemovalError]() + * [HeaderError]() + * [InternalError]() + * [MutateError]() + * [QuotaError]() + * [RequestError]() + * @param \Google\Ads\GoogleAds\V17\Services\RemoveAutomaticallyCreatedAssetsRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function RemoveAutomaticallyCreatedAssets(\Google\Ads\GoogleAds\V17\Services\RemoveAutomaticallyCreatedAssetsRequest $argument, + $metadata = [], $options = []) { + return $this->_simpleRequest('/google.ads.googleads.v17.services.AdGroupAdService/RemoveAutomaticallyCreatedAssets', + $argument, + ['\Google\Protobuf\GPBEmpty', 'decode'], + $metadata, $options); + } + } diff --git a/src/Google/Ads/GoogleAds/V17/Services/AssetGroupIdentifier.php b/src/Google/Ads/GoogleAds/V17/Services/AssetGroupIdentifier.php new file mode 100644 index 000000000..9bbe0fc7c --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/AssetGroupIdentifier.php @@ -0,0 +1,67 @@ +google.ads.googleads.v17.services.AssetGroupIdentifier + */ +class AssetGroupIdentifier extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The asset group identifier. + * + * Generated from protobuf field int64 asset_group_id = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $asset_group_id = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $asset_group_id + * Required. The asset group identifier. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\ShareablePreviewService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The asset group identifier. + * + * Generated from protobuf field int64 asset_group_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int|string + */ + public function getAssetGroupId() + { + return $this->asset_group_id; + } + + /** + * Required. The asset group identifier. + * + * Generated from protobuf field int64 asset_group_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int|string $var + * @return $this + */ + public function setAssetGroupId($var) + { + GPBUtil::checkInt64($var); + $this->asset_group_id = $var; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/AssetsWithFieldType.php b/src/Google/Ads/GoogleAds/V17/Services/AssetsWithFieldType.php new file mode 100644 index 000000000..188c0c190 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/AssetsWithFieldType.php @@ -0,0 +1,101 @@ +google.ads.googleads.v17.services.AssetsWithFieldType + */ +class AssetsWithFieldType extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the asset to be removed. + * + * Generated from protobuf field string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $asset = ''; + /** + * Required. The asset field type. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $asset_field_type = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $asset + * Required. The resource name of the asset to be removed. + * @type int $asset_field_type + * Required. The asset field type. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\AdGroupAdService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the asset to be removed. + * + * Generated from protobuf field string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getAsset() + { + return $this->asset; + } + + /** + * Required. The resource name of the asset to be removed. + * + * Generated from protobuf field string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAsset($var) + { + GPBUtil::checkString($var, True); + $this->asset = $var; + + return $this; + } + + /** + * Required. The asset field type. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getAssetFieldType() + { + return $this->asset_field_type; + } + + /** + * Required. The asset field type. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AssetFieldTypeEnum.AssetFieldType asset_field_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setAssetFieldType($var) + { + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Enums\AssetFieldTypeEnum\AssetFieldType::class); + $this->asset_field_type = $var; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/AudienceInsightsAttributeMetadata.php b/src/Google/Ads/GoogleAds/V17/Services/AudienceInsightsAttributeMetadata.php index 14364b528..f6131ee28 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/AudienceInsightsAttributeMetadata.php +++ b/src/Google/Ads/GoogleAds/V17/Services/AudienceInsightsAttributeMetadata.php @@ -45,6 +45,17 @@ class AudienceInsightsAttributeMetadata extends \Google\Protobuf\Internal\Messag * Generated from protobuf field string display_info = 5; */ protected $display_info = ''; + /** + * An estimate of the number of reachable YouTube users matching this + * attribute in the requested location, or zero if that information is not + * available for this attribute. Only populated in + * GenerateAudienceOverlapInsightsResponses and in + * ListAudienceInsightsAttributesResponses when youtube_reach_location is + * present in the request. + * + * Generated from protobuf field int64 potential_youtube_reach = 9; + */ + protected $potential_youtube_reach = 0; protected $dimension_metadata; /** @@ -66,6 +77,13 @@ class AudienceInsightsAttributeMetadata extends \Google\Protobuf\Internal\Messag * If the dimension is CATEGORY, this is the complete path to the category in * The Product & Service taxonomy, for example * "/Apparel/Clothing/Outerwear". + * @type int|string $potential_youtube_reach + * An estimate of the number of reachable YouTube users matching this + * attribute in the requested location, or zero if that information is not + * available for this attribute. Only populated in + * GenerateAudienceOverlapInsightsResponses and in + * ListAudienceInsightsAttributesResponses when youtube_reach_location is + * present in the request. * @type \Google\Ads\GoogleAds\V17\Services\YouTubeChannelAttributeMetadata $youtube_channel_metadata * Special metadata for a YouTube channel. * @type \Google\Ads\GoogleAds\V17\Services\DynamicLineupAttributeMetadata $dynamic_attribute_metadata @@ -203,6 +221,42 @@ public function setDisplayInfo($var) return $this; } + /** + * An estimate of the number of reachable YouTube users matching this + * attribute in the requested location, or zero if that information is not + * available for this attribute. Only populated in + * GenerateAudienceOverlapInsightsResponses and in + * ListAudienceInsightsAttributesResponses when youtube_reach_location is + * present in the request. + * + * Generated from protobuf field int64 potential_youtube_reach = 9; + * @return int|string + */ + public function getPotentialYoutubeReach() + { + return $this->potential_youtube_reach; + } + + /** + * An estimate of the number of reachable YouTube users matching this + * attribute in the requested location, or zero if that information is not + * available for this attribute. Only populated in + * GenerateAudienceOverlapInsightsResponses and in + * ListAudienceInsightsAttributesResponses when youtube_reach_location is + * present in the request. + * + * Generated from protobuf field int64 potential_youtube_reach = 9; + * @param int|string $var + * @return $this + */ + public function setPotentialYoutubeReach($var) + { + GPBUtil::checkInt64($var); + $this->potential_youtube_reach = $var; + + return $this; + } + /** * Special metadata for a YouTube channel. * diff --git a/src/Google/Ads/GoogleAds/V17/Services/AudienceInsightsServiceGrpcClient.php b/src/Google/Ads/GoogleAds/V17/Services/AudienceInsightsServiceGrpcClient.php index 7748c5d47..18a61aee1 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/AudienceInsightsServiceGrpcClient.php +++ b/src/Google/Ads/GoogleAds/V17/Services/AudienceInsightsServiceGrpcClient.php @@ -166,4 +166,32 @@ public function GenerateSuggestedTargetingInsights(\Google\Ads\GoogleAds\V17\Ser $metadata, $options); } + /** + * Returns a collection of audience attributes along with estimates of the + * overlap between their potential YouTube reach and that of a given input + * attribute. + * + * List of thrown errors: + * [AudienceInsightsError]() + * [AuthenticationError]() + * [AuthorizationError]() + * [FieldError]() + * [HeaderError]() + * [InternalError]() + * [QuotaError]() + * [RangeError]() + * [RequestError]() + * @param \Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsRequest $argument input argument + * @param array $metadata metadata + * @param array $options call options + * @return \Grpc\UnaryCall + */ + public function GenerateAudienceOverlapInsights(\Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsRequest $argument, + $metadata = [], $options = []) { + return $this->_simpleRequest('/google.ads.googleads.v17.services.AudienceInsightsService/GenerateAudienceOverlapInsights', + $argument, + ['\Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsResponse', 'decode'], + $metadata, $options); + } + } diff --git a/src/Google/Ads/GoogleAds/V17/Services/AudienceOverlapItem.php b/src/Google/Ads/GoogleAds/V17/Services/AudienceOverlapItem.php new file mode 100644 index 000000000..f282b6d86 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/AudienceOverlapItem.php @@ -0,0 +1,120 @@ +google.ads.googleads.v17.services.AudienceOverlapItem + */ +class AudienceOverlapItem extends \Google\Protobuf\Internal\Message +{ + /** + * The attribute and its metadata, including potential YouTube reach. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata attribute_metadata = 1; + */ + protected $attribute_metadata = null; + /** + * The estimated size of the intersection of this audience attribute with the + * primary attribute, that is, the number of reachable YouTube users who match + * BOTH the primary attribute and this one. + * + * Generated from protobuf field int64 potential_youtube_reach_intersection = 2; + */ + protected $potential_youtube_reach_intersection = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttributeMetadata $attribute_metadata + * The attribute and its metadata, including potential YouTube reach. + * @type int|string $potential_youtube_reach_intersection + * The estimated size of the intersection of this audience attribute with the + * primary attribute, that is, the number of reachable YouTube users who match + * BOTH the primary attribute and this one. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\AudienceInsightsService::initOnce(); + parent::__construct($data); + } + + /** + * The attribute and its metadata, including potential YouTube reach. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata attribute_metadata = 1; + * @return \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttributeMetadata|null + */ + public function getAttributeMetadata() + { + return $this->attribute_metadata; + } + + public function hasAttributeMetadata() + { + return isset($this->attribute_metadata); + } + + public function clearAttributeMetadata() + { + unset($this->attribute_metadata); + } + + /** + * The attribute and its metadata, including potential YouTube reach. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata attribute_metadata = 1; + * @param \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttributeMetadata $var + * @return $this + */ + public function setAttributeMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttributeMetadata::class); + $this->attribute_metadata = $var; + + return $this; + } + + /** + * The estimated size of the intersection of this audience attribute with the + * primary attribute, that is, the number of reachable YouTube users who match + * BOTH the primary attribute and this one. + * + * Generated from protobuf field int64 potential_youtube_reach_intersection = 2; + * @return int|string + */ + public function getPotentialYoutubeReachIntersection() + { + return $this->potential_youtube_reach_intersection; + } + + /** + * The estimated size of the intersection of this audience attribute with the + * primary attribute, that is, the number of reachable YouTube users who match + * BOTH the primary attribute and this one. + * + * Generated from protobuf field int64 potential_youtube_reach_intersection = 2; + * @param int|string $var + * @return $this + */ + public function setPotentialYoutubeReachIntersection($var) + { + GPBUtil::checkInt64($var); + $this->potential_youtube_reach_intersection = $var; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/Client/AdGroupAdServiceClient.php b/src/Google/Ads/GoogleAds/V17/Services/Client/AdGroupAdServiceClient.php index 28648ff61..327a553c2 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/Client/AdGroupAdServiceClient.php +++ b/src/Google/Ads/GoogleAds/V17/Services/Client/AdGroupAdServiceClient.php @@ -27,6 +27,7 @@ use Google\Ads\GoogleAds\Lib\V17\GoogleAdsGapicClientTrait; use Google\Ads\GoogleAds\V17\Services\MutateAdGroupAdsRequest; use Google\Ads\GoogleAds\V17\Services\MutateAdGroupAdsResponse; +use Google\Ads\GoogleAds\V17\Services\RemoveAutomaticallyCreatedAssetsRequest; use Google\ApiCore\ApiException; use Google\ApiCore\CredentialsWrapper; use Google\ApiCore\GapicClientTrait; @@ -49,6 +50,7 @@ * contained within formatted names that are returned by the API. * * @method PromiseInterface mutateAdGroupAdsAsync(MutateAdGroupAdsRequest $request, array $optionalArgs = []) + * @method PromiseInterface removeAutomaticallyCreatedAssetsAsync(RemoveAutomaticallyCreatedAssetsRequest $request, array $optionalArgs = []) */ class AdGroupAdServiceClient { @@ -175,6 +177,23 @@ public static function adGroupAdLabelName(string $customerId, string $adGroupId, ]); } + /** + * Formats a string containing the fully-qualified path to represent a asset + * resource. + * + * @param string $customerId + * @param string $assetId + * + * @return string The formatted asset resource. + */ + public static function assetName(string $customerId, string $assetId): string + { + return self::getPathTemplate('asset')->render([ + 'customer_id' => $customerId, + 'asset_id' => $assetId, + ]); + } + /** * Parses a formatted name string and returns an associative array of the components in the name. * The following name formats are supported: @@ -183,6 +202,7 @@ public static function adGroupAdLabelName(string $customerId, string $adGroupId, * - adGroup: customers/{customer_id}/adGroups/{ad_group_id} * - adGroupAd: customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} * - adGroupAdLabel: customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id} + * - asset: customers/{customer_id}/assets/{asset_id} * * The optional $template argument can be supplied to specify a particular pattern, * and must match one of the templates listed above. If no $template argument is @@ -341,4 +361,38 @@ public function mutateAdGroupAds(MutateAdGroupAdsRequest $request, array $callOp { return $this->startApiCall('MutateAdGroupAds', $request, $callOptions)->wait(); } + + /** + * Remove automatically created assets from an ad. + * + * List of thrown errors: + * [AdError]() + * [AuthenticationError]() + * [AuthorizationError]() + * [AutomaticallyCreatedAssetRemovalError]() + * [HeaderError]() + * [InternalError]() + * [MutateError]() + * [QuotaError]() + * [RequestError]() + * + * The async variant is + * {@see AdGroupAdServiceClient::removeAutomaticallyCreatedAssetsAsync()} . + * + * @param RemoveAutomaticallyCreatedAssetsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @throws ApiException Thrown if the API call fails. + */ + public function removeAutomaticallyCreatedAssets(RemoveAutomaticallyCreatedAssetsRequest $request, array $callOptions = []): void + { + $this->startApiCall('RemoveAutomaticallyCreatedAssets', $request, $callOptions)->wait(); + } } diff --git a/src/Google/Ads/GoogleAds/V17/Services/Client/AudienceInsightsServiceClient.php b/src/Google/Ads/GoogleAds/V17/Services/Client/AudienceInsightsServiceClient.php index 0a7fd0ead..3d14670b2 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/Client/AudienceInsightsServiceClient.php +++ b/src/Google/Ads/GoogleAds/V17/Services/Client/AudienceInsightsServiceClient.php @@ -27,6 +27,8 @@ use Google\Ads\GoogleAds\Lib\V17\GoogleAdsGapicClientTrait; use Google\Ads\GoogleAds\V17\Services\GenerateAudienceCompositionInsightsRequest; use Google\Ads\GoogleAds\V17\Services\GenerateAudienceCompositionInsightsResponse; +use Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsRequest; +use Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsResponse; use Google\Ads\GoogleAds\V17\Services\GenerateInsightsFinderReportRequest; use Google\Ads\GoogleAds\V17\Services\GenerateInsightsFinderReportResponse; use Google\Ads\GoogleAds\V17\Services\GenerateSuggestedTargetingInsightsRequest; @@ -53,6 +55,7 @@ * calls that map to API methods. * * @method PromiseInterface generateAudienceCompositionInsightsAsync(GenerateAudienceCompositionInsightsRequest $request, array $optionalArgs = []) + * @method PromiseInterface generateAudienceOverlapInsightsAsync(GenerateAudienceOverlapInsightsRequest $request, array $optionalArgs = []) * @method PromiseInterface generateInsightsFinderReportAsync(GenerateInsightsFinderReportRequest $request, array $optionalArgs = []) * @method PromiseInterface generateSuggestedTargetingInsightsAsync(GenerateSuggestedTargetingInsightsRequest $request, array $optionalArgs = []) * @method PromiseInterface listAudienceInsightsAttributesAsync(ListAudienceInsightsAttributesRequest $request, array $optionalArgs = []) @@ -219,6 +222,44 @@ public function generateAudienceCompositionInsights(GenerateAudienceCompositionI return $this->startApiCall('GenerateAudienceCompositionInsights', $request, $callOptions)->wait(); } + /** + * Returns a collection of audience attributes along with estimates of the + * overlap between their potential YouTube reach and that of a given input + * attribute. + * + * List of thrown errors: + * [AudienceInsightsError]() + * [AuthenticationError]() + * [AuthorizationError]() + * [FieldError]() + * [HeaderError]() + * [InternalError]() + * [QuotaError]() + * [RangeError]() + * [RequestError]() + * + * The async variant is + * {@see AudienceInsightsServiceClient::generateAudienceOverlapInsightsAsync()} . + * + * @param GenerateAudienceOverlapInsightsRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return GenerateAudienceOverlapInsightsResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function generateAudienceOverlapInsights(GenerateAudienceOverlapInsightsRequest $request, array $callOptions = []): GenerateAudienceOverlapInsightsResponse + { + return $this->startApiCall('GenerateAudienceOverlapInsights', $request, $callOptions)->wait(); + } + /** * Creates a saved report that can be viewed in the Insights Finder tool. * diff --git a/src/Google/Ads/GoogleAds/V15/Services/Client/BrandSuggestionServiceClient.php b/src/Google/Ads/GoogleAds/V17/Services/Client/ShareablePreviewServiceClient.php similarity index 78% rename from src/Google/Ads/GoogleAds/V15/Services/Client/BrandSuggestionServiceClient.php rename to src/Google/Ads/GoogleAds/V17/Services/Client/ShareablePreviewServiceClient.php index bcd4296ea..c9bdd4b8d 100644 --- a/src/Google/Ads/GoogleAds/V15/Services/Client/BrandSuggestionServiceClient.php +++ b/src/Google/Ads/GoogleAds/V17/Services/Client/ShareablePreviewServiceClient.php @@ -1,6 +1,6 @@ self::SERVICE_NAME, 'apiEndpoint' => self::SERVICE_ADDRESS . ':' . self::DEFAULT_SERVICE_PORT, - 'clientConfig' => __DIR__ . '/../resources/brand_suggestion_service_client_config.json', - 'descriptorsConfigPath' => __DIR__ . '/../resources/brand_suggestion_service_descriptor_config.php', - 'gcpApiConfigPath' => __DIR__ . '/../resources/brand_suggestion_service_grpc_config.json', + 'clientConfig' => __DIR__ . '/../resources/shareable_preview_service_client_config.json', + 'descriptorsConfigPath' => __DIR__ . '/../resources/shareable_preview_service_descriptor_config.php', + 'gcpApiConfigPath' => __DIR__ . '/../resources/shareable_preview_service_grpc_config.json', 'credentialsConfig' => [ 'defaultScopes' => self::$serviceScopes, ], 'transportConfig' => [ 'rest' => [ - 'restClientConfigPath' => __DIR__ . '/../resources/brand_suggestion_service_rest_client_config.php', + 'restClientConfigPath' => __DIR__ . '/../resources/shareable_preview_service_rest_client_config.php', ], ], ]; @@ -166,13 +167,13 @@ public function __call($method, $args) } /** - * Rpc to return a list of matching brands based on a prefix for this - * customer. + * Returns the requested Shareable Preview. * - * The async variant is {@see BrandSuggestionServiceClient::suggestBrandsAsync()} . + * The async variant is + * {@see ShareablePreviewServiceClient::generateShareablePreviewsAsync()} . * - * @param SuggestBrandsRequest $request A request to house fields associated with the call. - * @param array $callOptions { + * @param GenerateShareablePreviewsRequest $request A request to house fields associated with the call. + * @param array $callOptions { * Optional. * * @type RetrySettings|array $retrySettings @@ -181,12 +182,12 @@ public function __call($method, $args) * {@see RetrySettings} for example usage. * } * - * @return SuggestBrandsResponse + * @return GenerateShareablePreviewsResponse * * @throws ApiException Thrown if the API call fails. */ - public function suggestBrands(SuggestBrandsRequest $request, array $callOptions = []): SuggestBrandsResponse + public function generateShareablePreviews(GenerateShareablePreviewsRequest $request, array $callOptions = []): GenerateShareablePreviewsResponse { - return $this->startApiCall('SuggestBrands', $request, $callOptions)->wait(); + return $this->startApiCall('GenerateShareablePreviews', $request, $callOptions)->wait(); } } diff --git a/src/Google/Ads/GoogleAds/V17/Services/CustomConversionGoalOperation.php b/src/Google/Ads/GoogleAds/V17/Services/CustomConversionGoalOperation.php index 3b40c5ac9..45dd25d40 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/CustomConversionGoalOperation.php +++ b/src/Google/Ads/GoogleAds/V17/Services/CustomConversionGoalOperation.php @@ -40,7 +40,7 @@ class CustomConversionGoalOperation extends \Google\Protobuf\Internal\Message * @type string $remove * Remove operation: A resource name for the removed custom conversion goal * is expected, in this format: - * 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' + * 'customers/{customer_id}/customConversionGoals/{goal_id}' * } */ public function __construct($data = NULL) { @@ -153,7 +153,7 @@ public function setUpdate($var) /** * Remove operation: A resource name for the removed custom conversion goal * is expected, in this format: - * 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' + * 'customers/{customer_id}/customConversionGoals/{goal_id}' * * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { * @return string @@ -171,7 +171,7 @@ public function hasRemove() /** * Remove operation: A resource name for the removed custom conversion goal * is expected, in this format: - * 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' + * 'customers/{customer_id}/customConversionGoals/{goal_id}' * * Generated from protobuf field string remove = 3 [(.google.api.resource_reference) = { * @param string $var diff --git a/src/Google/Ads/GoogleAds/V17/Services/DimensionOverlapResult.php b/src/Google/Ads/GoogleAds/V17/Services/DimensionOverlapResult.php new file mode 100644 index 000000000..5c460418a --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/DimensionOverlapResult.php @@ -0,0 +1,103 @@ +google.ads.googleads.v17.services.DimensionOverlapResult + */ +class DimensionOverlapResult extends \Google\Protobuf\Internal\Message +{ + /** + * The dimension of all the attributes in this section. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; + */ + protected $dimension = 0; + /** + * The attributes and their overlap with the primary attribute. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.AudienceOverlapItem items = 2; + */ + private $items; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $dimension + * The dimension of all the attributes in this section. + * @type array<\Google\Ads\GoogleAds\V17\Services\AudienceOverlapItem>|\Google\Protobuf\Internal\RepeatedField $items + * The attributes and their overlap with the primary attribute. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\AudienceInsightsService::initOnce(); + parent::__construct($data); + } + + /** + * The dimension of all the attributes in this section. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; + * @return int + */ + public function getDimension() + { + return $this->dimension; + } + + /** + * The dimension of all the attributes in this section. + * + * Generated from protobuf field .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; + * @param int $var + * @return $this + */ + public function setDimension($var) + { + GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V17\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension::class); + $this->dimension = $var; + + return $this; + } + + /** + * The attributes and their overlap with the primary attribute. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.AudienceOverlapItem items = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getItems() + { + return $this->items; + } + + /** + * The attributes and their overlap with the primary attribute. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.AudienceOverlapItem items = 2; + * @param array<\Google\Ads\GoogleAds\V17\Services\AudienceOverlapItem>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setItems($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V17\Services\AudienceOverlapItem::class); + $this->items = $arr; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/GenerateAudienceOverlapInsightsRequest.php b/src/Google/Ads/GoogleAds/V17/Services/GenerateAudienceOverlapInsightsRequest.php new file mode 100644 index 000000000..c3da4169d --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/GenerateAudienceOverlapInsightsRequest.php @@ -0,0 +1,269 @@ +google.ads.googleads.v17.services.GenerateAudienceOverlapInsightsRequest + */ +class GenerateAudienceOverlapInsightsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The ID of the customer. + * + * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $customer_id = ''; + /** + * Required. The country in which to calculate the sizes and overlaps of + * audiences. + * + * Generated from protobuf field .google.ads.googleads.v17.common.LocationInfo country_location = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $country_location = null; + /** + * Required. The audience attribute that should be intersected with all other + * eligible audiences. This must be an Affinity or In-Market UserInterest, an + * AgeRange or a Gender. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttribute primary_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $primary_attribute = null; + /** + * Required. The types of attributes of which to calculate the overlap with + * the primary_attribute. The values must be a subset of + * AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and GENDER. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + private $dimensions; + /** + * The name of the customer being planned for. This is a user-defined value. + * + * Generated from protobuf field string customer_insights_group = 5; + */ + protected $customer_insights_group = ''; + + /** + * @param string $customerId Required. The ID of the customer. + * @param \Google\Ads\GoogleAds\V17\Common\LocationInfo $countryLocation Required. The country in which to calculate the sizes and overlaps of + * audiences. + * @param \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttribute $primaryAttribute Required. The audience attribute that should be intersected with all other + * eligible audiences. This must be an Affinity or In-Market UserInterest, an + * AgeRange or a Gender. + * @param int[] $dimensions Required. The types of attributes of which to calculate the overlap with + * the primary_attribute. The values must be a subset of + * AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and GENDER. + * For allowed values, use constants defined on {@see \Google\Ads\GoogleAds\V17\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension} + * + * @return \Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsRequest + * + * @experimental + */ + public static function build(string $customerId, \Google\Ads\GoogleAds\V17\Common\LocationInfo $countryLocation, \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttribute $primaryAttribute, array $dimensions): self + { + return (new self()) + ->setCustomerId($customerId) + ->setCountryLocation($countryLocation) + ->setPrimaryAttribute($primaryAttribute) + ->setDimensions($dimensions); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $customer_id + * Required. The ID of the customer. + * @type \Google\Ads\GoogleAds\V17\Common\LocationInfo $country_location + * Required. The country in which to calculate the sizes and overlaps of + * audiences. + * @type \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttribute $primary_attribute + * Required. The audience attribute that should be intersected with all other + * eligible audiences. This must be an Affinity or In-Market UserInterest, an + * AgeRange or a Gender. + * @type array|\Google\Protobuf\Internal\RepeatedField $dimensions + * Required. The types of attributes of which to calculate the overlap with + * the primary_attribute. The values must be a subset of + * AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and GENDER. + * @type string $customer_insights_group + * The name of the customer being planned for. This is a user-defined value. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\AudienceInsightsService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The ID of the customer. + * + * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getCustomerId() + { + return $this->customer_id; + } + + /** + * Required. The ID of the customer. + * + * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setCustomerId($var) + { + GPBUtil::checkString($var, True); + $this->customer_id = $var; + + return $this; + } + + /** + * Required. The country in which to calculate the sizes and overlaps of + * audiences. + * + * Generated from protobuf field .google.ads.googleads.v17.common.LocationInfo country_location = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\GoogleAds\V17\Common\LocationInfo|null + */ + public function getCountryLocation() + { + return $this->country_location; + } + + public function hasCountryLocation() + { + return isset($this->country_location); + } + + public function clearCountryLocation() + { + unset($this->country_location); + } + + /** + * Required. The country in which to calculate the sizes and overlaps of + * audiences. + * + * Generated from protobuf field .google.ads.googleads.v17.common.LocationInfo country_location = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\GoogleAds\V17\Common\LocationInfo $var + * @return $this + */ + public function setCountryLocation($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Common\LocationInfo::class); + $this->country_location = $var; + + return $this; + } + + /** + * Required. The audience attribute that should be intersected with all other + * eligible audiences. This must be an Affinity or In-Market UserInterest, an + * AgeRange or a Gender. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttribute primary_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttribute|null + */ + public function getPrimaryAttribute() + { + return $this->primary_attribute; + } + + public function hasPrimaryAttribute() + { + return isset($this->primary_attribute); + } + + public function clearPrimaryAttribute() + { + unset($this->primary_attribute); + } + + /** + * Required. The audience attribute that should be intersected with all other + * eligible audiences. This must be an Affinity or In-Market UserInterest, an + * AgeRange or a Gender. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttribute primary_attribute = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttribute $var + * @return $this + */ + public function setPrimaryAttribute($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttribute::class); + $this->primary_attribute = $var; + + return $this; + } + + /** + * Required. The types of attributes of which to calculate the overlap with + * the primary_attribute. The values must be a subset of + * AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and GENDER. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensions() + { + return $this->dimensions; + } + + /** + * Required. The types of attributes of which to calculate the overlap with + * the primary_attribute. The values must be a subset of + * AFFINITY_USER_INTEREST, IN_MARKET_USER_INTEREST, AGE_RANGE and GENDER. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V17\Enums\AudienceInsightsDimensionEnum\AudienceInsightsDimension::class); + $this->dimensions = $arr; + + return $this; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * + * Generated from protobuf field string customer_insights_group = 5; + * @return string + */ + public function getCustomerInsightsGroup() + { + return $this->customer_insights_group; + } + + /** + * The name of the customer being planned for. This is a user-defined value. + * + * Generated from protobuf field string customer_insights_group = 5; + * @param string $var + * @return $this + */ + public function setCustomerInsightsGroup($var) + { + GPBUtil::checkString($var, True); + $this->customer_insights_group = $var; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/GenerateAudienceOverlapInsightsResponse.php b/src/Google/Ads/GoogleAds/V17/Services/GenerateAudienceOverlapInsightsResponse.php new file mode 100644 index 000000000..98580b867 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/GenerateAudienceOverlapInsightsResponse.php @@ -0,0 +1,116 @@ +google.ads.googleads.v17.services.GenerateAudienceOverlapInsightsResponse + */ +class GenerateAudienceOverlapInsightsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Metadata for the primary attribute, including potential YouTube reach. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata primary_attribute_metadata = 1; + */ + protected $primary_attribute_metadata = null; + /** + * Lists of attributes and their overlap with the primary attribute, one list + * per requested dimension. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.DimensionOverlapResult dimension_results = 2; + */ + private $dimension_results; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttributeMetadata $primary_attribute_metadata + * Metadata for the primary attribute, including potential YouTube reach. + * @type array<\Google\Ads\GoogleAds\V17\Services\DimensionOverlapResult>|\Google\Protobuf\Internal\RepeatedField $dimension_results + * Lists of attributes and their overlap with the primary attribute, one list + * per requested dimension. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\AudienceInsightsService::initOnce(); + parent::__construct($data); + } + + /** + * Metadata for the primary attribute, including potential YouTube reach. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata primary_attribute_metadata = 1; + * @return \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttributeMetadata|null + */ + public function getPrimaryAttributeMetadata() + { + return $this->primary_attribute_metadata; + } + + public function hasPrimaryAttributeMetadata() + { + return isset($this->primary_attribute_metadata); + } + + public function clearPrimaryAttributeMetadata() + { + unset($this->primary_attribute_metadata); + } + + /** + * Metadata for the primary attribute, including potential YouTube reach. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AudienceInsightsAttributeMetadata primary_attribute_metadata = 1; + * @param \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttributeMetadata $var + * @return $this + */ + public function setPrimaryAttributeMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttributeMetadata::class); + $this->primary_attribute_metadata = $var; + + return $this; + } + + /** + * Lists of attributes and their overlap with the primary attribute, one list + * per requested dimension. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.DimensionOverlapResult dimension_results = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getDimensionResults() + { + return $this->dimension_results; + } + + /** + * Lists of attributes and their overlap with the primary attribute, one list + * per requested dimension. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.DimensionOverlapResult dimension_results = 2; + * @param array<\Google\Ads\GoogleAds\V17\Services\DimensionOverlapResult>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setDimensionResults($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V17\Services\DimensionOverlapResult::class); + $this->dimension_results = $arr; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/GenerateShareablePreviewsRequest.php b/src/Google/Ads/GoogleAds/V17/Services/GenerateShareablePreviewsRequest.php new file mode 100644 index 000000000..2d99c90f8 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/GenerateShareablePreviewsRequest.php @@ -0,0 +1,117 @@ +google.ads.googleads.v17.services.GenerateShareablePreviewsRequest + */ +class GenerateShareablePreviewsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The customer creating the shareable previews request. + * + * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $customer_id = ''; + /** + * Required. The list of shareable previews to generate. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.ShareablePreview shareable_previews = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $shareable_previews; + + /** + * @param string $customerId Required. The customer creating the shareable previews request. + * @param \Google\Ads\GoogleAds\V17\Services\ShareablePreview[] $shareablePreviews Required. The list of shareable previews to generate. + * + * @return \Google\Ads\GoogleAds\V17\Services\GenerateShareablePreviewsRequest + * + * @experimental + */ + public static function build(string $customerId, array $shareablePreviews): self + { + return (new self()) + ->setCustomerId($customerId) + ->setShareablePreviews($shareablePreviews); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $customer_id + * Required. The customer creating the shareable previews request. + * @type array<\Google\Ads\GoogleAds\V17\Services\ShareablePreview>|\Google\Protobuf\Internal\RepeatedField $shareable_previews + * Required. The list of shareable previews to generate. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\ShareablePreviewService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The customer creating the shareable previews request. + * + * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getCustomerId() + { + return $this->customer_id; + } + + /** + * Required. The customer creating the shareable previews request. + * + * Generated from protobuf field string customer_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setCustomerId($var) + { + GPBUtil::checkString($var, True); + $this->customer_id = $var; + + return $this; + } + + /** + * Required. The list of shareable previews to generate. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.ShareablePreview shareable_previews = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getShareablePreviews() + { + return $this->shareable_previews; + } + + /** + * Required. The list of shareable previews to generate. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.ShareablePreview shareable_previews = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param array<\Google\Ads\GoogleAds\V17\Services\ShareablePreview>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setShareablePreviews($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V17\Services\ShareablePreview::class); + $this->shareable_previews = $arr; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/GenerateShareablePreviewsResponse.php b/src/Google/Ads/GoogleAds/V17/Services/GenerateShareablePreviewsResponse.php new file mode 100644 index 000000000..e01d0bbaa --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/GenerateShareablePreviewsResponse.php @@ -0,0 +1,68 @@ +google.ads.googleads.v17.services.GenerateShareablePreviewsResponse + */ +class GenerateShareablePreviewsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of generate shareable preview results. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.ShareablePreviewOrError responses = 1; + */ + private $responses; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type array<\Google\Ads\GoogleAds\V17\Services\ShareablePreviewOrError>|\Google\Protobuf\Internal\RepeatedField $responses + * List of generate shareable preview results. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\ShareablePreviewService::initOnce(); + parent::__construct($data); + } + + /** + * List of generate shareable preview results. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.ShareablePreviewOrError responses = 1; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getResponses() + { + return $this->responses; + } + + /** + * List of generate shareable preview results. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.ShareablePreviewOrError responses = 1; + * @param array<\Google\Ads\GoogleAds\V17\Services\ShareablePreviewOrError>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setResponses($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V17\Services\ShareablePreviewOrError::class); + $this->responses = $arr; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/GoogleAdsRow.php b/src/Google/Ads/GoogleAds/V17/Services/GoogleAdsRow.php index 644e2f953..4bd978b47 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/GoogleAdsRow.php +++ b/src/Google/Ads/GoogleAds/V17/Services/GoogleAdsRow.php @@ -832,11 +832,17 @@ class GoogleAdsRow extends \Google\Protobuf\Internal\Message */ protected $mobile_device_constant = null; /** - * Offline conversion upload client summary. + * Offline conversion upload summary at customer level. * * Generated from protobuf field .google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary offline_conversion_upload_client_summary = 216; */ protected $offline_conversion_upload_client_summary = null; + /** + * Offline conversion upload summary at conversion type level. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.OfflineConversionUploadConversionActionSummary offline_conversion_upload_conversion_action_summary = 228; + */ + protected $offline_conversion_upload_conversion_action_summary = null; /** * The offline user data job referenced in the query. * @@ -1369,7 +1375,9 @@ class GoogleAdsRow extends \Google\Protobuf\Internal\Message * @type \Google\Ads\GoogleAds\V17\Resources\MobileDeviceConstant $mobile_device_constant * The mobile device constant referenced in the query. * @type \Google\Ads\GoogleAds\V17\Resources\OfflineConversionUploadClientSummary $offline_conversion_upload_client_summary - * Offline conversion upload client summary. + * Offline conversion upload summary at customer level. + * @type \Google\Ads\GoogleAds\V17\Resources\OfflineConversionUploadConversionActionSummary $offline_conversion_upload_conversion_action_summary + * Offline conversion upload summary at conversion type level. * @type \Google\Ads\GoogleAds\V17\Resources\OfflineUserDataJob $offline_user_data_job * The offline user data job referenced in the query. * @type \Google\Ads\GoogleAds\V17\Resources\OperatingSystemVersionConstant $operating_system_version_constant @@ -6358,7 +6366,7 @@ public function setMobileDeviceConstant($var) } /** - * Offline conversion upload client summary. + * Offline conversion upload summary at customer level. * * Generated from protobuf field .google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary offline_conversion_upload_client_summary = 216; * @return \Google\Ads\GoogleAds\V17\Resources\OfflineConversionUploadClientSummary|null @@ -6379,7 +6387,7 @@ public function clearOfflineConversionUploadClientSummary() } /** - * Offline conversion upload client summary. + * Offline conversion upload summary at customer level. * * Generated from protobuf field .google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary offline_conversion_upload_client_summary = 216; * @param \Google\Ads\GoogleAds\V17\Resources\OfflineConversionUploadClientSummary $var @@ -6393,6 +6401,42 @@ public function setOfflineConversionUploadClientSummary($var) return $this; } + /** + * Offline conversion upload summary at conversion type level. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.OfflineConversionUploadConversionActionSummary offline_conversion_upload_conversion_action_summary = 228; + * @return \Google\Ads\GoogleAds\V17\Resources\OfflineConversionUploadConversionActionSummary|null + */ + public function getOfflineConversionUploadConversionActionSummary() + { + return $this->offline_conversion_upload_conversion_action_summary; + } + + public function hasOfflineConversionUploadConversionActionSummary() + { + return isset($this->offline_conversion_upload_conversion_action_summary); + } + + public function clearOfflineConversionUploadConversionActionSummary() + { + unset($this->offline_conversion_upload_conversion_action_summary); + } + + /** + * Offline conversion upload summary at conversion type level. + * + * Generated from protobuf field .google.ads.googleads.v17.resources.OfflineConversionUploadConversionActionSummary offline_conversion_upload_conversion_action_summary = 228; + * @param \Google\Ads\GoogleAds\V17\Resources\OfflineConversionUploadConversionActionSummary $var + * @return $this + */ + public function setOfflineConversionUploadConversionActionSummary($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Resources\OfflineConversionUploadConversionActionSummary::class); + $this->offline_conversion_upload_conversion_action_summary = $var; + + return $this; + } + /** * The offline user data job referenced in the query. * diff --git a/src/Google/Ads/GoogleAds/V17/Services/ListAudienceInsightsAttributesRequest.php b/src/Google/Ads/GoogleAds/V17/Services/ListAudienceInsightsAttributesRequest.php index 502390524..ab21ed80b 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/ListAudienceInsightsAttributesRequest.php +++ b/src/Google/Ads/GoogleAds/V17/Services/ListAudienceInsightsAttributesRequest.php @@ -54,6 +54,16 @@ class ListAudienceInsightsAttributesRequest extends \Google\Protobuf\Internal\Me * Generated from protobuf field repeated .google.ads.googleads.v17.common.LocationInfo location_country_filters = 5; */ private $location_country_filters; + /** + * If present, potential YouTube reach estimates within the specified market + * will be returned for attributes for which they are available. Reach is + * only available for the AGE_RANGE, GENDER, AFFINITY_USER_INTEREST and + * IN_MARKET_USER_INTEREST dimensions, and may not be available for every + * attribute of those dimensions in every market. + * + * Generated from protobuf field .google.ads.googleads.v17.common.LocationInfo youtube_reach_location = 6; + */ + protected $youtube_reach_location = null; /** * @param string $customerId Required. The ID of the customer. @@ -101,6 +111,12 @@ public static function build(string $customerId, array $dimensions, string $quer * will be located in these countries. If this field is absent, then location * attributes are not filtered by country. Setting this field when * SUB_COUNTRY_LOCATION attributes are not requested will return an error. + * @type \Google\Ads\GoogleAds\V17\Common\LocationInfo $youtube_reach_location + * If present, potential YouTube reach estimates within the specified market + * will be returned for attributes for which they are available. Reach is + * only available for the AGE_RANGE, GENDER, AFFINITY_USER_INTEREST and + * IN_MARKET_USER_INTEREST dimensions, and may not be available for every + * attribute of those dimensions in every market. * } */ public function __construct($data = NULL) { @@ -254,5 +270,49 @@ public function setLocationCountryFilters($var) return $this; } + /** + * If present, potential YouTube reach estimates within the specified market + * will be returned for attributes for which they are available. Reach is + * only available for the AGE_RANGE, GENDER, AFFINITY_USER_INTEREST and + * IN_MARKET_USER_INTEREST dimensions, and may not be available for every + * attribute of those dimensions in every market. + * + * Generated from protobuf field .google.ads.googleads.v17.common.LocationInfo youtube_reach_location = 6; + * @return \Google\Ads\GoogleAds\V17\Common\LocationInfo|null + */ + public function getYoutubeReachLocation() + { + return $this->youtube_reach_location; + } + + public function hasYoutubeReachLocation() + { + return isset($this->youtube_reach_location); + } + + public function clearYoutubeReachLocation() + { + unset($this->youtube_reach_location); + } + + /** + * If present, potential YouTube reach estimates within the specified market + * will be returned for attributes for which they are available. Reach is + * only available for the AGE_RANGE, GENDER, AFFINITY_USER_INTEREST and + * IN_MARKET_USER_INTEREST dimensions, and may not be available for every + * attribute of those dimensions in every market. + * + * Generated from protobuf field .google.ads.googleads.v17.common.LocationInfo youtube_reach_location = 6; + * @param \Google\Ads\GoogleAds\V17\Common\LocationInfo $var + * @return $this + */ + public function setYoutubeReachLocation($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Common\LocationInfo::class); + $this->youtube_reach_location = $var; + + return $this; + } + } diff --git a/src/Google/Ads/GoogleAds/V17/Services/RemoveAutomaticallyCreatedAssetsRequest.php b/src/Google/Ads/GoogleAds/V17/Services/RemoveAutomaticallyCreatedAssetsRequest.php new file mode 100644 index 000000000..0849d86d0 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/RemoveAutomaticallyCreatedAssetsRequest.php @@ -0,0 +1,122 @@ +google.ads.googleads.v17.services.RemoveAutomaticallyCreatedAssetsRequest + */ +class RemoveAutomaticallyCreatedAssetsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the AdGroupAd from which to remove + * automatically created assets. + * + * Generated from protobuf field string ad_group_ad = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $ad_group_ad = ''; + /** + * Required. List of assets with field type to be removed from the AdGroupAd. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $assets_with_field_type; + + /** + * @param string $adGroupAd Required. The resource name of the AdGroupAd from which to remove + * automatically created assets. + * @param \Google\Ads\GoogleAds\V17\Services\AssetsWithFieldType[] $assetsWithFieldType Required. List of assets with field type to be removed from the AdGroupAd. + * + * @return \Google\Ads\GoogleAds\V17\Services\RemoveAutomaticallyCreatedAssetsRequest + * + * @experimental + */ + public static function build(string $adGroupAd, array $assetsWithFieldType): self + { + return (new self()) + ->setAdGroupAd($adGroupAd) + ->setAssetsWithFieldType($assetsWithFieldType); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $ad_group_ad + * Required. The resource name of the AdGroupAd from which to remove + * automatically created assets. + * @type array<\Google\Ads\GoogleAds\V17\Services\AssetsWithFieldType>|\Google\Protobuf\Internal\RepeatedField $assets_with_field_type + * Required. List of assets with field type to be removed from the AdGroupAd. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\AdGroupAdService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the AdGroupAd from which to remove + * automatically created assets. + * + * Generated from protobuf field string ad_group_ad = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getAdGroupAd() + { + return $this->ad_group_ad; + } + + /** + * Required. The resource name of the AdGroupAd from which to remove + * automatically created assets. + * + * Generated from protobuf field string ad_group_ad = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setAdGroupAd($var) + { + GPBUtil::checkString($var, True); + $this->ad_group_ad = $var; + + return $this; + } + + /** + * Required. List of assets with field type to be removed from the AdGroupAd. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getAssetsWithFieldType() + { + return $this->assets_with_field_type; + } + + /** + * Required. List of assets with field type to be removed from the AdGroupAd. + * + * Generated from protobuf field repeated .google.ads.googleads.v17.services.AssetsWithFieldType assets_with_field_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param array<\Google\Ads\GoogleAds\V17\Services\AssetsWithFieldType>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setAssetsWithFieldType($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V17\Services\AssetsWithFieldType::class); + $this->assets_with_field_type = $arr; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/ShareablePreview.php b/src/Google/Ads/GoogleAds/V17/Services/ShareablePreview.php new file mode 100644 index 000000000..2ce615d66 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/ShareablePreview.php @@ -0,0 +1,77 @@ +google.ads.googleads.v17.services.ShareablePreview + */ +class ShareablePreview extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Asset group of the shareable preview. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AssetGroupIdentifier asset_group_identifier = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $asset_group_identifier = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\GoogleAds\V17\Services\AssetGroupIdentifier $asset_group_identifier + * Required. Asset group of the shareable preview. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\ShareablePreviewService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Asset group of the shareable preview. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AssetGroupIdentifier asset_group_identifier = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Ads\GoogleAds\V17\Services\AssetGroupIdentifier|null + */ + public function getAssetGroupIdentifier() + { + return $this->asset_group_identifier; + } + + public function hasAssetGroupIdentifier() + { + return isset($this->asset_group_identifier); + } + + public function clearAssetGroupIdentifier() + { + unset($this->asset_group_identifier); + } + + /** + * Required. Asset group of the shareable preview. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AssetGroupIdentifier asset_group_identifier = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Ads\GoogleAds\V17\Services\AssetGroupIdentifier $var + * @return $this + */ + public function setAssetGroupIdentifier($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Services\AssetGroupIdentifier::class); + $this->asset_group_identifier = $var; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewOrError.php b/src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewOrError.php new file mode 100644 index 000000000..e6ec97bd0 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewOrError.php @@ -0,0 +1,152 @@ +google.ads.googleads.v17.services.ShareablePreviewOrError + */ +class ShareablePreviewOrError extends \Google\Protobuf\Internal\Message +{ + /** + * The asset group of the shareable preview. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AssetGroupIdentifier asset_group_identifier = 3; + */ + protected $asset_group_identifier = null; + protected $generate_shareable_preview_response; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Ads\GoogleAds\V17\Services\AssetGroupIdentifier $asset_group_identifier + * The asset group of the shareable preview. + * @type \Google\Ads\GoogleAds\V17\Services\ShareablePreviewResult $shareable_preview_result + * The shareable preview result. + * @type \Google\Rpc\Status $partial_failure_error + * The shareable preview partial failure error. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\ShareablePreviewService::initOnce(); + parent::__construct($data); + } + + /** + * The asset group of the shareable preview. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AssetGroupIdentifier asset_group_identifier = 3; + * @return \Google\Ads\GoogleAds\V17\Services\AssetGroupIdentifier|null + */ + public function getAssetGroupIdentifier() + { + return $this->asset_group_identifier; + } + + public function hasAssetGroupIdentifier() + { + return isset($this->asset_group_identifier); + } + + public function clearAssetGroupIdentifier() + { + unset($this->asset_group_identifier); + } + + /** + * The asset group of the shareable preview. + * + * Generated from protobuf field .google.ads.googleads.v17.services.AssetGroupIdentifier asset_group_identifier = 3; + * @param \Google\Ads\GoogleAds\V17\Services\AssetGroupIdentifier $var + * @return $this + */ + public function setAssetGroupIdentifier($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Services\AssetGroupIdentifier::class); + $this->asset_group_identifier = $var; + + return $this; + } + + /** + * The shareable preview result. + * + * Generated from protobuf field .google.ads.googleads.v17.services.ShareablePreviewResult shareable_preview_result = 1; + * @return \Google\Ads\GoogleAds\V17\Services\ShareablePreviewResult|null + */ + public function getShareablePreviewResult() + { + return $this->readOneof(1); + } + + public function hasShareablePreviewResult() + { + return $this->hasOneof(1); + } + + /** + * The shareable preview result. + * + * Generated from protobuf field .google.ads.googleads.v17.services.ShareablePreviewResult shareable_preview_result = 1; + * @param \Google\Ads\GoogleAds\V17\Services\ShareablePreviewResult $var + * @return $this + */ + public function setShareablePreviewResult($var) + { + GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V17\Services\ShareablePreviewResult::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * The shareable preview partial failure error. + * + * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; + * @return \Google\Rpc\Status|null + */ + public function getPartialFailureError() + { + return $this->readOneof(2); + } + + public function hasPartialFailureError() + { + return $this->hasOneof(2); + } + + /** + * The shareable preview partial failure error. + * + * Generated from protobuf field .google.rpc.Status partial_failure_error = 2; + * @param \Google\Rpc\Status $var + * @return $this + */ + public function setPartialFailureError($var) + { + GPBUtil::checkMessage($var, \Google\Rpc\Status::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getGenerateShareablePreviewResponse() + { + return $this->whichOneof("generate_shareable_preview_response"); + } + +} + diff --git a/src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewResult.php b/src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewResult.php new file mode 100644 index 000000000..87a92f278 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewResult.php @@ -0,0 +1,101 @@ +google.ads.googleads.v17.services.ShareablePreviewResult + */ +class ShareablePreviewResult extends \Google\Protobuf\Internal\Message +{ + /** + * The shareable preview URL. + * + * Generated from protobuf field string shareable_preview_url = 1; + */ + protected $shareable_preview_url = ''; + /** + * Expiration date time using the ISO-8601 format. + * + * Generated from protobuf field string expiration_date_time = 2; + */ + protected $expiration_date_time = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $shareable_preview_url + * The shareable preview URL. + * @type string $expiration_date_time + * Expiration date time using the ISO-8601 format. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Ads\GoogleAds\V17\Services\ShareablePreviewService::initOnce(); + parent::__construct($data); + } + + /** + * The shareable preview URL. + * + * Generated from protobuf field string shareable_preview_url = 1; + * @return string + */ + public function getShareablePreviewUrl() + { + return $this->shareable_preview_url; + } + + /** + * The shareable preview URL. + * + * Generated from protobuf field string shareable_preview_url = 1; + * @param string $var + * @return $this + */ + public function setShareablePreviewUrl($var) + { + GPBUtil::checkString($var, True); + $this->shareable_preview_url = $var; + + return $this; + } + + /** + * Expiration date time using the ISO-8601 format. + * + * Generated from protobuf field string expiration_date_time = 2; + * @return string + */ + public function getExpirationDateTime() + { + return $this->expiration_date_time; + } + + /** + * Expiration date time using the ISO-8601 format. + * + * Generated from protobuf field string expiration_date_time = 2; + * @param string $var + * @return $this + */ + public function setExpirationDateTime($var) + { + GPBUtil::checkString($var, True); + $this->expiration_date_time = $var; + + return $this; + } + +} + diff --git a/src/Google/Ads/GoogleAds/V15/Services/AssetSetServiceGrpcClient.php b/src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewServiceGrpcClient.php similarity index 62% rename from src/Google/Ads/GoogleAds/V15/Services/AssetSetServiceGrpcClient.php rename to src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewServiceGrpcClient.php index 2fa4bf39d..a6c40b2ac 100644 --- a/src/Google/Ads/GoogleAds/V15/Services/AssetSetServiceGrpcClient.php +++ b/src/Google/Ads/GoogleAds/V17/Services/ShareablePreviewServiceGrpcClient.php @@ -2,7 +2,7 @@ // GENERATED CODE -- DO NOT EDIT! // Original file comments: -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,14 +16,12 @@ // See the License for the specific language governing permissions and // limitations under the License. // -namespace Google\Ads\GoogleAds\V15\Services; +namespace Google\Ads\GoogleAds\V17\Services; /** - * Proto file describing the AssetSet service. - * - * Service to manage asset set + * Service to generate Shareable Previews. */ -class AssetSetServiceGrpcClient extends \Grpc\BaseStub { +class ShareablePreviewServiceGrpcClient extends \Grpc\BaseStub { /** * @param string $hostname hostname @@ -35,18 +33,17 @@ public function __construct($hostname, $opts, $channel = null) { } /** - * Creates, updates or removes asset sets. Operation statuses are - * returned. - * @param \Google\Ads\GoogleAds\V15\Services\MutateAssetSetsRequest $argument input argument + * Returns the requested Shareable Preview. + * @param \Google\Ads\GoogleAds\V17\Services\GenerateShareablePreviewsRequest $argument input argument * @param array $metadata metadata * @param array $options call options * @return \Grpc\UnaryCall */ - public function MutateAssetSets(\Google\Ads\GoogleAds\V15\Services\MutateAssetSetsRequest $argument, + public function GenerateShareablePreviews(\Google\Ads\GoogleAds\V17\Services\GenerateShareablePreviewsRequest $argument, $metadata = [], $options = []) { - return $this->_simpleRequest('/google.ads.googleads.v15.services.AssetSetService/MutateAssetSets', + return $this->_simpleRequest('/google.ads.googleads.v17.services.ShareablePreviewService/GenerateShareablePreviews', $argument, - ['\Google\Ads\GoogleAds\V15\Services\MutateAssetSetsResponse', 'decode'], + ['\Google\Ads\GoogleAds\V17\Services\GenerateShareablePreviewsResponse', 'decode'], $metadata, $options); } diff --git a/src/Google/Ads/GoogleAds/V17/Services/gapic_metadata.json b/src/Google/Ads/GoogleAds/V17/Services/gapic_metadata.json index de2355879..4b82b615f 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/gapic_metadata.json +++ b/src/Google/Ads/GoogleAds/V17/Services/gapic_metadata.json @@ -61,6 +61,11 @@ "methods": [ "mutateAdGroupAds" ] + }, + "RemoveAutomaticallyCreatedAssets": { + "methods": [ + "removeAutomaticallyCreatedAssets" + ] } } } @@ -356,6 +361,11 @@ "generateAudienceCompositionInsights" ] }, + "GenerateAudienceOverlapInsights": { + "methods": [ + "generateAudienceOverlapInsights" + ] + }, "GenerateInsightsFinderReport": { "methods": [ "generateInsightsFinderReport" @@ -1697,6 +1707,20 @@ } } }, + "ShareablePreviewService": { + "clients": { + "grpc": { + "libraryClient": "ShareablePreviewServiceGapicClient", + "rpcs": { + "GenerateShareablePreviews": { + "methods": [ + "generateShareablePreviews" + ] + } + } + } + } + }, "SmartCampaignSuggestService": { "clients": { "grpc": { diff --git a/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_client_config.json b/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_client_config.json index 3e55d3566..1f938d0d6 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_client_config.json +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_client_config.json @@ -33,6 +33,11 @@ "timeout_millis": 14400000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" + }, + "RemoveAutomaticallyCreatedAssets": { + "timeout_millis": 14400000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" } } } diff --git a/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_descriptor_config.php index 2e839e2c0..b76afa380 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_descriptor_config.php +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_descriptor_config.php @@ -35,11 +35,24 @@ ], ], ], + 'RemoveAutomaticallyCreatedAssets' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'ad_group_ad', + 'fieldAccessors' => [ + 'getAdGroupAd', + ], + ], + ], + ], 'templateMap' => [ 'ad' => 'customers/{customer_id}/ads/{ad_id}', 'adGroup' => 'customers/{customer_id}/adGroups/{ad_group_id}', 'adGroupAd' => 'customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}', 'adGroupAdLabel' => 'customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}', + 'asset' => 'customers/{customer_id}/assets/{asset_id}', ], ], ], diff --git a/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_rest_client_config.php index e1275288e..c5f3da7e5 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_rest_client_config.php +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/ad_group_ad_service_rest_client_config.php @@ -35,6 +35,18 @@ ], ], ], + 'RemoveAutomaticallyCreatedAssets' => [ + 'method' => 'post', + 'uriTemplate' => '/v17/{ad_group_ad=customers/*/adGroupAds/*}:removeAutomaticallyCreatedAssets', + 'body' => '*', + 'placeholders' => [ + 'ad_group_ad' => [ + 'getters' => [ + 'getAdGroupAd', + ], + ], + ], + ], ], 'google.longrunning.Operations' => [ 'CancelOperation' => [ diff --git a/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_client_config.json b/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_client_config.json index 44e042aed..84247c6c4 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_client_config.json +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_client_config.json @@ -34,6 +34,11 @@ "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" }, + "GenerateAudienceOverlapInsights": { + "timeout_millis": 14400000, + "retry_codes_name": "retry_policy_1_codes", + "retry_params_name": "retry_policy_1_params" + }, "GenerateInsightsFinderReport": { "timeout_millis": 14400000, "retry_codes_name": "retry_policy_1_codes", diff --git a/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_descriptor_config.php index f1ca12db4..004ab760e 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_descriptor_config.php +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_descriptor_config.php @@ -35,6 +35,18 @@ ], ], ], + 'GenerateAudienceOverlapInsights' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsResponse', + 'headerParams' => [ + [ + 'keyName' => 'customer_id', + 'fieldAccessors' => [ + 'getCustomerId', + ], + ], + ], + ], 'GenerateInsightsFinderReport' => [ 'callType' => \Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Google\Ads\GoogleAds\V17\Services\GenerateInsightsFinderReportResponse', diff --git a/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_rest_client_config.php index 33a0270f4..2d4ca7398 100644 --- a/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_rest_client_config.php +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/audience_insights_service_rest_client_config.php @@ -35,6 +35,18 @@ ], ], ], + 'GenerateAudienceOverlapInsights' => [ + 'method' => 'post', + 'uriTemplate' => '/v17/customers/{customer_id=*}:generateAudienceOverlapInsights', + 'body' => '*', + 'placeholders' => [ + 'customer_id' => [ + 'getters' => [ + 'getCustomerId', + ], + ], + ], + ], 'GenerateInsightsFinderReport' => [ 'method' => 'post', 'uriTemplate' => '/v17/customers/{customer_id=*}:generateInsightsFinderReport', diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_client_config.json b/src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_client_config.json similarity index 92% rename from src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_client_config.json rename to src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_client_config.json index f4a5166f5..ba86c281b 100644 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_client_config.json +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_client_config.json @@ -1,6 +1,6 @@ { "interfaces": { - "google.ads.googleads.v15.services.AdGroupCriterionService": { + "google.ads.googleads.v17.services.ShareablePreviewService": { "retry_codes": { "no_retry_codes": [], "retry_policy_1_codes": [ @@ -29,7 +29,7 @@ } }, "methods": { - "MutateAdGroupCriteria": { + "GenerateShareablePreviews": { "timeout_millis": 14400000, "retry_codes_name": "retry_policy_1_codes", "retry_params_name": "retry_policy_1_params" diff --git a/src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_descriptor_config.php b/src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_descriptor_config.php new file mode 100644 index 000000000..f9ae11916 --- /dev/null +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_descriptor_config.php @@ -0,0 +1,40 @@ + [ + 'google.ads.googleads.v17.services.ShareablePreviewService' => [ + 'GenerateShareablePreviews' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Ads\GoogleAds\V17\Services\GenerateShareablePreviewsResponse', + 'headerParams' => [ + [ + 'keyName' => 'customer_id', + 'fieldAccessors' => [ + 'getCustomerId', + ], + ], + ], + ], + ], + ], +]; diff --git a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_rest_client_config.php b/src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_rest_client_config.php similarity index 62% rename from src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_rest_client_config.php rename to src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_rest_client_config.php index 6ca4fe710..534854c79 100644 --- a/src/Google/Ads/GoogleAds/V15/Services/resources/ad_group_criterion_service_rest_client_config.php +++ b/src/Google/Ads/GoogleAds/V17/Services/resources/shareable_preview_service_rest_client_config.php @@ -1,11 +1,31 @@ [ - 'google.ads.googleads.v15.services.AdGroupCriterionService' => [ - 'MutateAdGroupCriteria' => [ + 'google.ads.googleads.v17.services.ShareablePreviewService' => [ + 'GenerateShareablePreviews' => [ 'method' => 'post', - 'uriTemplate' => '/v15/customers/{customer_id=*}/adGroupCriteria:mutate', + 'uriTemplate' => '/v17/customers/{customer_id=*}:generateShareablePreviews', 'body' => '*', 'placeholders' => [ 'customer_id' => [ @@ -19,7 +39,7 @@ 'google.longrunning.Operations' => [ 'CancelOperation' => [ 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:cancel', + 'uriTemplate' => '/v17/{name=customers/*/operations/*}:cancel', 'body' => '*', 'placeholders' => [ 'name' => [ @@ -31,7 +51,7 @@ ], 'DeleteOperation' => [ 'method' => 'delete', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', + 'uriTemplate' => '/v17/{name=customers/*/operations/*}', 'placeholders' => [ 'name' => [ 'getters' => [ @@ -42,7 +62,7 @@ ], 'GetOperation' => [ 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}', + 'uriTemplate' => '/v17/{name=customers/*/operations/*}', 'placeholders' => [ 'name' => [ 'getters' => [ @@ -53,7 +73,7 @@ ], 'ListOperations' => [ 'method' => 'get', - 'uriTemplate' => '/v15/{name=customers/*/operations}', + 'uriTemplate' => '/v17/{name=customers/*/operations}', 'placeholders' => [ 'name' => [ 'getters' => [ @@ -64,7 +84,7 @@ ], 'WaitOperation' => [ 'method' => 'post', - 'uriTemplate' => '/v15/{name=customers/*/operations/*}:wait', + 'uriTemplate' => '/v17/{name=customers/*/operations/*}:wait', 'body' => '*', 'placeholders' => [ 'name' => [ diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientBuilderTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientBuilderTest.php deleted file mode 100644 index fbba7c230..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientBuilderTest.php +++ /dev/null @@ -1,676 +0,0 @@ -googleAdsClientBuilder = new GoogleAdsClientBuilder(); - $this->fetchAuthTokenInterfaceMock = $this - ->getMockBuilder(FetchAuthTokenInterface::class) - ->disableOriginalConstructor() - ->getMock(); - $this->loggerMock = - $this->getMockBuilder(LoggerInterface::class)->disableOriginalConstructor()->getMock(); - self::$DEFAULT_GRPC_CHANNEL_CREDENTIAL = ChannelCredentials::createDefault(); - } - - public function testBuildClientFromConfiguration() - { - $valueMap = [ - /* Config name, section, value */ - ['developerToken', 'GOOGLE_ADS', self::$DEVELOPER_TOKEN], - ['useCloudOrgForApiAccess', 'GOOGLE_ADS', 'true'], - ['loginCustomerId', 'GOOGLE_ADS', self::$LOGIN_CUSTOMER_ID], - ['linkedCustomerId', 'GOOGLE_ADS', self::$LINKED_CUSTOMER_ID], - ['endpoint', 'GOOGLE_ADS', 'https://abc.xyz:443'], - ['proxy', 'CONNECTION', 'https://localhost:8080'], - ['transport', 'CONNECTION', 'grpc'], - ['grpcChannelIsSecure', 'CONNECTION', 'true'], - ['useGapicV2Source', 'GAPIC', 'true'] - ]; - $configurationMock = $this->getMockBuilder(Configuration::class) - ->disableOriginalConstructor() - ->getMock(); - $configurationMock->expects($this->any()) - ->method('getConfiguration') - ->will($this->returnValueMap($valueMap)); - - $googleAdsClient = $this->googleAdsClientBuilder - ->from($configurationMock) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withLogger($this->loggerMock) - ->build(); - - $this->assertSame(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - $this->assertTrue($googleAdsClient->useCloudOrgForApiAccess()); - $this->assertSame(self::$LOGIN_CUSTOMER_ID, $googleAdsClient->getLoginCustomerId()); - $this->assertSame(self::$LINKED_CUSTOMER_ID, $googleAdsClient->getLinkedCustomerId()); - $this->assertSame('https://abc.xyz:443', $googleAdsClient->getEndpoint()); - $this->assertSame('https://localhost:8080', $googleAdsClient->getProxy()); - $this->assertSame('grpc', $googleAdsClient->getTransport()); - $this->assertTrue($googleAdsClient->getGrpcChannelIsSecure()); - $this->assertSame($this->loggerMock, $googleAdsClient->getLogger()); - $this->assertTrue($googleAdsClient->useGapicV2Source()); - } - - /** - * @dataProvider provideGrpcChannelIsSecureValues - */ - public function testBuildClientFromConfigurationWithGrpcChannelIsSecure( - ?string $configValue, - bool $processedValue - ) { - $valueMap = [ - /* Config name, section, value */ - ['developerToken', 'GOOGLE_ADS', self::$DEVELOPER_TOKEN], - ['grpcChannelIsSecure', 'CONNECTION', $configValue] - ]; - $configurationMock = $this->getMockBuilder(Configuration::class) - ->disableOriginalConstructor() - ->getMock(); - $configurationMock->expects($this->any()) - ->method('getConfiguration') - ->will($this->returnValueMap($valueMap)); - - $googleAdsClient = $this->googleAdsClientBuilder - ->from($configurationMock) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame($processedValue, $googleAdsClient->getGrpcChannelIsSecure()); - } - - public function provideGrpcChannelIsSecureValues() - { - return [ - [null, true], - ["", true], - [self::$INVALID_BOOLEAN_STRING, true], - ["true", true], - ["false", false], - ]; - } - - public function testBuildFromDefaults() - { - $valueMap = [ - ['developerToken', 'GOOGLE_ADS', self::$DEVELOPER_TOKEN] - ]; - $configurationMock = $this->getMockBuilder(Configuration::class) - ->disableOriginalConstructor() - ->getMock(); - $configurationMock->expects($this->any()) - ->method('getConfiguration') - ->will($this->returnValueMap($valueMap)); - - $googleAdsClient = $this->googleAdsClientBuilder - ->from($configurationMock) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - } - - public function testBuildFromFile() - { - $environmentalVariablesMock = $this - ->getMockBuilder(EnvironmentalVariables::class) - ->getMock(); - $environmentalVariablesMock - ->method('getHome') - ->willReturn(ConfigurationLoaderTestProvider::getFilePathToFakeHome()); - $configurationLoader = new ConfigurationLoader($environmentalVariablesMock); - - $googleAdsClientBuilder = new GoogleAdsClientBuilder($configurationLoader); - $googleAdsClient = $googleAdsClientBuilder - ->fromFile('home_google_ads_php.ini') - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->build(); - - $this->assertSame(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - } - - public function testBuildFromEnvironmentVariables() - { - $editedDeveloperToken = self::$DEVELOPER_TOKEN . 'edited'; - - $environmentalVariablesMock = $this - ->getMockBuilder(EnvironmentalVariables::class) - ->getMock(); - $environmentalVariablesMock - ->method('getHome') - ->willReturn(ConfigurationLoaderTestProvider::getFilePathToFakeHome()); - $environmentalVariablesMock - ->method('getStartingWith') - ->with(GoogleAdsBuilder::CONFIGURATION_ENVIRONMENT_VARIABLES_PREFIX) - ->willReturn(['DEVELOPER_TOKEN' => $editedDeveloperToken]); - $configurationLoader = new ConfigurationLoader($environmentalVariablesMock); - - $googleAdsClientBuilder = new GoogleAdsClientBuilder( - $configurationLoader, - $environmentalVariablesMock - ); - $googleAdsClient = $googleAdsClientBuilder - ->fromFile('home_google_ads_php.ini') - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(self::$LOGIN_CUSTOMER_ID) - ->fromEnvironmentVariables() - ->build(); - - $this->assertSame(self::$LOGIN_CUSTOMER_ID, $googleAdsClient->getLoginCustomerId()); - $this->assertSame($editedDeveloperToken, $googleAdsClient->getDeveloperToken()); - } - - public function testBuildFailsWithoutDeveloperToken() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function testBuildFailsWithInvalidEndpointUrl() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withEndpoint('http://:999') - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function testBuildFailsWithoutOAuth2Credential() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->build(); - } - - /** - * @dataProvider provideInvalidProxyURIs - */ - public function testBuildFailsWithInvalidProxyUri($invalidProxyUri) - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withProxy($invalidProxyUri) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function provideInvalidProxyURIs() - { - return [ - ['foo'], - ['http://'], - ['foo.com'], - ['http://.com'] - ]; - } - - public function testBuildFailsWithInvalidTransport() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withTransport(self::$INVALID_TRANSPORT) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function testBuildFailsWhenGrpcChannelIsNotSecureAndGrpcChannelCredentialIsSet() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withGrpcChannelIsSecure(false) - ->withGrpcChannelCredential(self::$DEFAULT_GRPC_CHANNEL_CREDENTIAL) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function testBuildFailsWhenTransportIsNotGrpcAndGrpcChannelIsNotSecure() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withTransport('rest') - ->withGrpcChannelIsSecure(false) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function testBuildFailsWhenTransportIsNotGrpcAndGrpcChannelCredentialIsSet() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withTransport('rest') - ->withGrpcChannelCredential(self::$DEFAULT_GRPC_CHANNEL_CREDENTIAL) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function testBuild() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(self::$LOGIN_CUSTOMER_ID) - ->withEndpoint('abc.xyz.com') - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->usingGapicV2Source(false) - ->build(); - - $this->assertSame(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - $this->assertNull($googleAdsClient->useCloudOrgForApiAccess()); - $this->assertSame(self::$LOGIN_CUSTOMER_ID, $googleAdsClient->getLoginCustomerId()); - $this->assertSame('abc.xyz.com', $googleAdsClient->getEndpoint()); - $this->assertInstanceOf( - FetchAuthTokenInterface::class, - $googleAdsClient->getOAuth2Credential() - ); - $this->assertFalse($googleAdsClient->useGapicV2Source()); - } - - public function testBuildDefaults() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - $this->assertInstanceOf( - FetchAuthTokenInterface::class, - $googleAdsClient->getOAuth2Credential() - ); - } - - public function testBuildWithLoginCustomerId() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(self::$LOGIN_CUSTOMER_ID) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame(self::$LOGIN_CUSTOMER_ID, $googleAdsClient->getLoginCustomerId()); - } - - public function testBuildWithLinkedCustomerId() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLinkedCustomerId(self::$LINKED_CUSTOMER_ID) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame(self::$LINKED_CUSTOMER_ID, $googleAdsClient->getLinkedCustomerId()); - } - - public function testBuildWithNullLoginCustomerId() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(null) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - $this->assertNull($googleAdsClient->getLoginCustomerId()); - } - - public function testBuildWithNullLinkedCustomerId() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLinkedCustomerId(null) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - $this->assertNull($googleAdsClient->getLinkedCustomerId()); - } - - public function testBuildWithNegativeLoginCustomerId() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(-1) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function testBuildWithNegativeLinkedCustomerId() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLinkedCustomerId(-1) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - } - - public function testBuildWithGrpcChannelIsSecure() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withGrpcChannelIsSecure(false) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertFalse($googleAdsClient->getGrpcChannelIsSecure()); - } - - public function testBuildWithGrpcChannelCredential() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withGrpcChannelCredential(self::$DEFAULT_GRPC_CHANNEL_CREDENTIAL) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame( - self::$DEFAULT_GRPC_CHANNEL_CREDENTIAL, - $googleAdsClient->getGrpcChannelCredential() - ); - } - - public function testBuildWithUnaryMiddlewares() - { - $unaryMiddlewares = [ - new UnaryGoogleAdsExceptionMiddleware(), - new UnaryGoogleAdsExceptionMiddleware() - ]; - - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withUnaryMiddlewares(...$unaryMiddlewares) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame($unaryMiddlewares, $googleAdsClient->getUnaryMiddlewares()); - } - - public function testBuildWithStreamingMiddlewares() - { - $streamingMiddlewares = [ - new ServerStreamingGoogleAdsExceptionMiddleware(), - new ServerStreamingGoogleAdsExceptionMiddleware() - ]; - - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withStreamingMiddlewares(...$streamingMiddlewares) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame($streamingMiddlewares, $googleAdsClient->getStreamingMiddlewares()); - } - - public function testBuildWithGrpcInterceptors() - { - $grpcInterceptors = [new Interceptor(), new Interceptor()]; - - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withGrpcInterceptors(...$grpcInterceptors) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame($grpcInterceptors, $googleAdsClient->getGrpcInterceptors()); - } - - public function testBuildWithHttpHandler() - { - $httpHandler = HttpHandlerFactory::build(); - - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withHttpHandler($httpHandler) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame($httpHandler, $googleAdsClient->getHttpHandler()); - } - - /** - * @dataProvider provideValidProxyURIs - */ - public function testBuildWithValidProxyURIs(string $proxy) - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withProxy($proxy) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame($proxy, $googleAdsClient->getProxy()); - } - - public function provideValidProxyURIs() - { - return [ - ['http://localhost:8080'], - ['http://user:pass@localhost:8080'], - ['https://localhost:8080'], - ['https://user:pass@localhost:8080'] - ]; - } - - /** - * @dataProvider provideValidTransports - */ - public function testBuildWithValidTransports(string $transport) - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withTransport($transport) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame($transport, $googleAdsClient->getTransport()); - } - - public static function provideValidTransports() - { - return [ - ['grpc'], - ['rest'] - ]; - } - - public function testBuildWithoutLogLevelSetsDefault() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertSame(LogLevel::INFO, $googleAdsClient->getLogLevel()); - } - - public function testBuildWithInvalidLogLevelThrowsException() - { - $this->expectException(InvalidArgumentException::class); - $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withLogLevel("banana") - ->build(); - } - - public function testBuildWithLowercaseLogLevel() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withLogLevel("debug") - ->build(); - - $this->assertSame(LogLevel::DEBUG, $googleAdsClient->getLogLevel()); - } - - public function testBuildWithSystemPackageGrpcVersionGreaterThanComposerGrpcVersion() - { - $dependenciesMock = $this->getMockBuilder(Dependencies::class) - ->disableOriginalConstructor() - ->getMock(); - $dependenciesMock->method('getGrpcComposerVersion')->willReturn('1.1'); - $dependenciesMock->method('getGrpcSystemPackageVersion')->willReturn('1.1.5'); - /** @var Dependencies $dependenciesMock */ - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDependencies($dependenciesMock) - ->build(); - $this->assertInstanceOf(GoogleAdsClient::class, $googleAdsClient); - $this->assertEquals(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - } - - public function testBuildWithSystemPackageGrpcVersionNotFound() - { - $dependenciesMock = $this->getMockBuilder(Dependencies::class) - ->disableOriginalConstructor() - ->getMock(); - $dependenciesMock->method('getGrpcComposerVersion')->willReturn('1.1'); - $dependenciesMock->method('getGrpcSystemPackageVersion')->willReturn(null); - /** @var Dependencies $dependenciesMock */ - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDependencies($dependenciesMock) - ->build(); - $this->assertInstanceOf(GoogleAdsClient::class, $googleAdsClient); - $this->assertEquals(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - } - - public function testBuildWithComposerGrpcVersionNotFound() - { - $dependenciesMock = $this->getMockBuilder(Dependencies::class) - ->disableOriginalConstructor() - ->getMock(); - $dependenciesMock->method('getGrpcComposerVersion')->willReturn(null); - $dependenciesMock->method('getGrpcSystemPackageVersion')->willReturn('2.3'); - /** @var Dependencies $dependenciesMock */ - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDependencies($dependenciesMock) - ->build(); - $this->assertInstanceOf(GoogleAdsClient::class, $googleAdsClient); - $this->assertEquals(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - } - - public function testBuildWithBothComposerAndSystemPackageGrpcVersionsNotFound() - { - $dependenciesMock = $this->getMockBuilder(Dependencies::class) - ->disableOriginalConstructor() - ->getMock(); - $dependenciesMock->method('getGrpcComposerVersion')->willReturn(null); - $dependenciesMock->method('getGrpcSystemPackageVersion')->willReturn(null); - /** @var Dependencies $dependenciesMock */ - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDependencies($dependenciesMock) - ->build(); - $this->assertInstanceOf(GoogleAdsClient::class, $googleAdsClient); - $this->assertEquals(self::$DEVELOPER_TOKEN, $googleAdsClient->getDeveloperToken()); - } - - public function testBuildFailsWithSystemPackageGrpcVersionSmallerThanComposerGrpcVersion() - { - $this->expectException(UnexpectedValueException::class); - $dependenciesMock = $this->getMockBuilder(Dependencies::class) - ->disableOriginalConstructor() - ->getMock(); - $dependenciesMock->method('getGrpcComposerVersion')->willReturn('2'); - $dependenciesMock->method('getGrpcSystemPackageVersion')->willReturn('1.1.5'); - /** @var Dependencies $dependenciesMock */ - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDependencies($dependenciesMock) - ->build(); - } - - public function testBuildUsingGapicV2Source() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->usingGapicV2Source(true) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertTrue($googleAdsClient->useGapicV2Source()); - } - - public function testBuildUsingCloudOrgForApiAccess() - { - $googleAdsClient = $this->googleAdsClientBuilder - ->usingCloudOrgForApiAccess(true) - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->build(); - - $this->assertTrue($googleAdsClient->useCloudOrgForApiAccess()); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientTest.php deleted file mode 100644 index 6b5ac185d..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsClientTest.php +++ /dev/null @@ -1,213 +0,0 @@ -googleAdsClientBuilder = new GoogleAdsClientBuilder(); - $this->fetchAuthTokenInterfaceMock = $this - ->getMockBuilder(FetchAuthTokenInterface::class) - ->disableOriginalConstructor() - ->getMock(); - self::$DEFAULT_GRPC_CHANNEL_CREDENTIAL = ChannelCredentials::createDefault(); - } - - public function testGetClientOptions() - { - $unaryMiddlewares = [ - new UnaryGoogleAdsExceptionMiddleware(), - new UnaryGoogleAdsExceptionMiddleware() - ]; - $streamingMiddlewares = [ - new ServerStreamingGoogleAdsExceptionMiddleware(), - new ServerStreamingGoogleAdsExceptionMiddleware() - ]; - $grpcInterceptors = [new Interceptor(), new Interceptor()]; - $httpHandler = HttpHandlerFactory::build(); - - $googleAdsClient = $this->googleAdsClientBuilder - ->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(self::$LOGIN_CUSTOMER_ID) - ->withLinkedCustomerId(self::$LINKED_CUSTOMER_ID) - ->withLogger(new Logger('', [new NullHandler()])) - ->withProxy(self::$PROXY) - ->withTransport(self::$TRANSPORT) - ->withGrpcChannelIsSecure(true) - ->withGrpcChannelCredential(self::$DEFAULT_GRPC_CHANNEL_CREDENTIAL) - ->withUnaryMiddlewares(...$unaryMiddlewares) - ->withStreamingMiddlewares(...$streamingMiddlewares) - ->withGrpcInterceptors(...$grpcInterceptors) - ->withHttpHandler($httpHandler) - ->build(); - $clientOptions = $googleAdsClient->getGoogleAdsClientOptions(); - - $this->assertSame( - $this->fetchAuthTokenInterfaceMock, - $clientOptions[self::$CREDENTIALS_LOADER_KEY] - ); - $this->assertSame( - self::$DEVELOPER_TOKEN, - $clientOptions[self::$DEVELOPER_TOKEN_KEY] - ); - $this->assertSame( - strval(self::$LOGIN_CUSTOMER_ID), - $clientOptions[self::$LOGIN_CUSTOMER_ID_KEY] - ); - $this->assertSame( - strval(self::$LINKED_CUSTOMER_ID), - $clientOptions[self::$LINKED_CUSTOMER_ID_KEY] - ); - foreach (self::$DEFAULT_INTERCEPTOR_TYPES as $index => $defaultInterceptorType) { - $this->assertInstanceOf( - $defaultInterceptorType, - $clientOptions['transportConfig']['grpc']['interceptors'][$index] - ); - } - $this->assertSame( - $httpHandler, - $clientOptions['transportConfig']['rest']['httpHandler'] - ); - $this->assertSame( - getenv('http_proxy'), - self::$PROXY - ); - $this->assertSame( - self::$TRANSPORT, - $clientOptions[self::$TRANSPORT_KEY] - ); - $this->assertInstanceOf( - ChannelCredentials::class, - $clientOptions['transportConfig']['grpc']['stubOpts'][self::$CREDENTIALS_LOADER_KEY] - ); - $this->assertSame( - $unaryMiddlewares, - $clientOptions[self::$UNARY_MIDDLEWARES_KEY] - ); - $this->assertSame( - $streamingMiddlewares, - $clientOptions[self::$STREAMING_MIDDLEWARES_KEY] - ); - $this->assertSame( - $grpcInterceptors, - array_slice( - $clientOptions['transportConfig']['grpc']['interceptors'], - count(self::$DEFAULT_INTERCEPTOR_TYPES) - ) - ); - - $this->assertSame( - $this->fetchAuthTokenInterfaceMock, - $clientOptions[self::$CREDENTIALS_LOADER_KEY] - ); - } - - public function testNullLoginCustomerIdNotAppearInClientOptions() - { - $googleAdsClient = - $this->googleAdsClientBuilder->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(null) - ->build(); - - $this->assertArrayNotHasKey( - self::$LOGIN_CUSTOMER_ID_KEY, - $googleAdsClient->getGoogleAdsClientOptions() - ); - } - - public function testNullLinkedCustomerIdNotAppearInClientOptions() - { - $googleAdsClient = - $this->googleAdsClientBuilder->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLinkedCustomerId(null) - ->build(); - - $this->assertArrayNotHasKey( - self::$LINKED_CUSTOMER_ID_KEY, - $googleAdsClient->getGoogleAdsClientOptions() - ); - } - - public function testCredentialsWhenGrpcChannelIsNotSecureInClientOptions() - { - $googleAdsClient = - $this->googleAdsClientBuilder->withOAuth2Credential($this->fetchAuthTokenInterfaceMock) - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withGrpcChannelIsSecure(false) - ->build(); - $clientOptions = $googleAdsClient->getGoogleAdsClientOptions(); - - $this->assertInstanceOf( - InsecureCredentialsWrapper::class, - $clientOptions[self::$CREDENTIALS_LOADER_KEY] - ); - - $this->assertSame( - ChannelCredentials::createInsecure(), - $clientOptions['transportConfig']['grpc']['stubOpts'][self::$CREDENTIALS_LOADER_KEY] - ); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTest.php deleted file mode 100644 index be45c04f2..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTest.php +++ /dev/null @@ -1,80 +0,0 @@ -apiExceptionMock = $this - ->getMockBuilder(ApiException::class) - ->disableOriginalConstructor() - ->getMock(); - $this->googleAdsFailure = new GoogleAdsFailure(); - $this->googleAdsException = new GoogleAdsException( - $this->apiExceptionMock, - $this->googleAdsFailure, - ['metadata' => ['request-id' => ['AbCdEf']]] - ); - } - - public function testGetGoogleAdsFailure() - { - $this->assertSame( - $this->googleAdsFailure, - $this->googleAdsException->getGoogleAdsFailure() - ); - } - - public function testGetRequestId() - { - $this->assertEquals('AbCdEf', $this->googleAdsException->getRequestId()); - } - - public function testGetRequestIdNoMetadata() - { - $googleAdsException = new GoogleAdsException( - $this->apiExceptionMock, - $this->googleAdsFailure - ); - $this->assertEquals(null, $googleAdsException->getRequestId()); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTraitInserted.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTraitInserted.php deleted file mode 100644 index 77b1dfea7..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsExceptionTraitInserted.php +++ /dev/null @@ -1,29 +0,0 @@ -statusMetadataExtractor = $this - ->getMockBuilder(StatusMetadataExtractor::class) - ->disableOriginalConstructor() - ->getMock(); - $this->statusMetadataExtractor->method("extractGoogleAdsFailure")->willReturn( - new GoogleAdsFailure() - ); - $this->googleAdsExceptionTraitInserted = new GoogleAdsExceptionTraitInserted(); - } - - public function testThrowGoogleAdsExceptionUsingBinaryKey() - { - $this->expectException(GoogleAdsException::class); - $metadata = ['google.ads.googleads.v15.errors.googleadsfailure-bin' => ['test']]; - $apiException = new ApiException('dummy', 404, 'error', ['metadata' => $metadata]); - $this->googleAdsExceptionTraitInserted->throwGoogleAdsException( - $apiException, - $this->statusMetadataExtractor - ); - } - - public function testThrowGoogleAdsExceptionUsingJsonKey() - { - $this->expectException(GoogleAdsException::class); - $metadata = ['google.ads.googleads.v15.errors.googleadsfailure' => ['test']]; - $apiException = new ApiException('dummy', 404, 'error', ['metadata' => $metadata]); - $this->googleAdsExceptionTraitInserted->throwGoogleAdsException( - $apiException, - $this->statusMetadataExtractor - ); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresInterceptorTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresInterceptorTest.php deleted file mode 100644 index e86220cd3..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresInterceptorTest.php +++ /dev/null @@ -1,47 +0,0 @@ -assertInstanceOf( - GoogleAdsFailuresUnaryCall::class, - (new GoogleAdsFailuresInterceptor())->interceptUnaryUnary( - 'GoogleAdsService/Search', - new SearchGoogleAdsRequest(), - ['PagedListResponse', 'decode'], - function ($method, $argument, $deserialize, $metadata, $options) { - // The gax-php ForwardingCall now requires a non-null object to be returned. - return new \stdClass(); - } - ) - ); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresUnaryCallTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresUnaryCallTest.php deleted file mode 100644 index 268da023a..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsFailuresUnaryCallTest.php +++ /dev/null @@ -1,76 +0,0 @@ -code = 0; - $expectedStatus->message = 'success'; - $expectedStatus->metadata = ['request-id' => ['AbCDeF']]; - $forwardingCallMock = $this->getMockBuilder(ForwardingUnaryCall::class) - ->disableOriginalConstructor() - ->getMock(); - $forwardingCallMock->method('wait')->willReturn([$expectedResponse, $expectedStatus]); - $googleAdsFailuresUnaryCallMock = $this->getMockBuilder(GoogleAdsFailuresUnaryCall::class) - ->enableOriginalConstructor() - ->setConstructorArgs([$forwardingCallMock]) - ->setMethodsExcept(array('wait')) - ->getMock(); - $googleAdsFailuresUnaryCallMock - ->expects($isInitializationExpected ? $this->once() : $this->never()) - ->method('initGoogleAdsFailures'); - - $unaryCallResponse = $googleAdsFailuresUnaryCallMock->wait(); - $this->assertSame($expectedResponse, $unaryCallResponse[0]); - $this->assertSame($expectedStatus, $unaryCallResponse[1]); - } - - public function provideTestCases() - { - return [ - [new SearchGoogleAdsResponse(), false], - [new MutateCampaignsResponse(), false], - [new ListBatchJobResultsResponse(), true], - [new MutateCampaignsResponse(['partial_failure_error' => new Status()]), true], - ]; - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingInterceptorTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingInterceptorTest.php deleted file mode 100644 index db3c1caa8..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingInterceptorTest.php +++ /dev/null @@ -1,91 +0,0 @@ -getMockBuilder(LoggerInterface::class)->disableOriginalConstructor()->getMock(); - $this->callLogger = new GoogleAdsCallLogger($loggerMock, LogLevel::INFO, 'example.com'); - $this->googleAdsLoggingInterceptor = new GoogleAdsLoggingInterceptor($this->callLogger); - } - - public function testGetCallLogger() - { - $this->assertSame( - $this->callLogger, - $this->googleAdsLoggingInterceptor->getCallLogger() - ); - } - - public function testInterceptUnaryUnary() - { - $this->assertInstanceOf( - GoogleAdsLoggingUnaryCall::class, - $this->googleAdsLoggingInterceptor->interceptUnaryUnary( - 'GoogleAdsService/Search', - new SearchGoogleAdsRequest(), - ['PagedListResponse', 'decode'], - function ($method, $argument, $deserialize, $metadata, $options) { - // The gax-php ForwardingCall now requires a non-null object to be returned. - return new \stdClass(); - } - ) - ); - } - - public function testInterceptUnaryStream() - { - $this->assertInstanceOf( - GoogleAdsLoggingServerStreamingCall::class, - $this->googleAdsLoggingInterceptor->interceptUnaryStream( - 'GoogleAdsService/SearchStream', - new SearchGoogleAdsStreamRequest(), - ['SearchGoogleAdsStreamResponse', 'decode'], - function ($method, $argument, $deserialize, $metadata, $options) { - // The gax-php ForwardingCall now requires a non-null object to be returned. - return new \stdClass(); - } - ) - ); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingServerStreamingCallTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingServerStreamingCallTest.php deleted file mode 100644 index c8294171b..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingServerStreamingCallTest.php +++ /dev/null @@ -1,140 +0,0 @@ -getMockBuilder(ForwardingServerStreamingCall::class) - ->disableOriginalConstructor() - ->getMock(); - $response1 = new UploadCallConversionsResponse(); - $response2 = new UploadClickConversionsResponse(); - $forwardingCallMock->method('responses')->willReturn([$response1, $response2]); - - // Instantiates an GoogleAdsLoggingServerStreamingCall. - $googleAdsLoggingServerStreamingCall = - $this->createGoogleAdsLoggingServerStreamingCall($forwardingCallMock); - - // Checks if the returned results are the same as those in the inner call; - $actualResponses = iterator_to_array($googleAdsLoggingServerStreamingCall->responses()); - $this->assertEquals([$response1, $response2], $actualResponses); - - return [ - 'forwardingCallMock' => $forwardingCallMock, - 'streamingCall' => $googleAdsLoggingServerStreamingCall - ]; - } - - /** - * @depends testResponses - */ - public function testGetStatus($dependingData) - { - $this->performStatusAssertion($dependingData); - } - - public function testResponsesWithEmptyResponses() - { - // Prepares the inner call. - $forwardingCallMock = $this->getMockBuilder(ForwardingServerStreamingCall::class) - ->disableOriginalConstructor() - ->getMock(); - $forwardingCallMock->method('responses')->willReturn([]); - - // Instantiates an GoogleAdsLoggingServerStreamingCall. - $googleAdsLoggingServerStreamingCall = - $this->createGoogleAdsLoggingServerStreamingCall($forwardingCallMock); - - // Checks if the returned results are the same as those in the inner call; - $actualResponses = iterator_to_array($googleAdsLoggingServerStreamingCall->responses()); - $this->assertEmpty($actualResponses); - - return [ - 'forwardingCallMock' => $forwardingCallMock, - 'streamingCall' => $googleAdsLoggingServerStreamingCall - ]; - } - - /** - * @depends testResponsesWithEmptyResponses - */ - public function testGetStatusWithEmptyResponses($dependingData) - { - $this->performStatusAssertion($dependingData); - } - - private function createGoogleAdsLoggingServerStreamingCall( - ForwardingCall $forwardingCallMock - ): GoogleAdsLoggingServerStreamingCall { - $loggerMock = - $this->getMockBuilder(LoggerInterface::class)->disableOriginalConstructor()->getMock(); - $googleAdsCallLogger = new GoogleAdsCallLogger($loggerMock, LogLevel::INFO, 'example.com'); - return new GoogleAdsLoggingServerStreamingCall( - $forwardingCallMock, - [ - 'method' => 'GoogleAdsService/SearchStream', - 'argument' => new SearchGoogleAdsStreamRequest() - ], - $googleAdsCallLogger - ); - } - - private function performStatusAssertion(array $dependingData) - { - $forwardingCallMock = $dependingData['forwardingCallMock']; - $streamingCall = $dependingData['streamingCall']; - - // Sets up the status of the inner call. - $expectedStatus = self::createExpectedStatus(); - $forwardingCallMock->method('getStatus')->willReturn($expectedStatus); - - $this->assertSame($expectedStatus, $streamingCall->getStatus()); - } - - private function createExpectedStatus(): object - { - $expectedStatus = new \stdClass(); - $expectedStatus->code = 0; - $expectedStatus->message = 'success'; - $expectedStatus->metadata = ['request-id' => ['AbCDeF']]; - return $expectedStatus; - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingUnaryCallTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingUnaryCallTest.php deleted file mode 100644 index 227a44c04..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsLoggingUnaryCallTest.php +++ /dev/null @@ -1,67 +0,0 @@ -code = 0; - $expectedStatus->message = 'success'; - $expectedStatus->metadata = ['request-id' => ['AbCDeF']]; - $forwardingCallMock = $this->getMockBuilder(ForwardingUnaryCall::class) - ->disableOriginalConstructor() - ->getMock(); - $forwardingCallMock->method('wait')->willReturn([$expectedResponse, $expectedStatus]); - - // Instantiate an GoogleAdsLoggingUnaryCall. - $loggerMock = - $this->getMockBuilder(LoggerInterface::class)->disableOriginalConstructor()->getMock(); - $googleAdsCallLogger = new GoogleAdsCallLogger($loggerMock, LogLevel::INFO, 'example.com'); - $googleAdsLoggingUnaryCall = new GoogleAdsLoggingUnaryCall( - $forwardingCallMock, - [ - 'method' => 'GoogleAdsService/Search', - 'argument' => new SearchGoogleAdsRequest() - ], - $googleAdsCallLogger - ); - - $unaryCallResponse = $googleAdsLoggingUnaryCall->wait(); - - $this->assertSame($expectedResponse, $unaryCallResponse[0]); - $this->assertSame($expectedStatus, $unaryCallResponse[1]); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsResponseMetadataTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsResponseMetadataTest.php deleted file mode 100644 index 8c4524e6d..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/GoogleAdsResponseMetadataTest.php +++ /dev/null @@ -1,71 +0,0 @@ -metadata = ['request-id' => ['AbCdEf'], 'dummy-key' => ['value1', 'value2']]; - $this->googleAdsResponseMetadata = new GoogleAdsResponseMetadata($this->metadata); - } - - public function testGetMetadata() - { - $this->assertEquals( - $this->metadata, - $this->googleAdsResponseMetadata->getMetadata() - ); - } - - public function testGetRequestIdGrpc() - { - $this->assertEquals('AbCdEf', $this->googleAdsResponseMetadata->getRequestId()); - } - - public function testGetRequestIdRest() - { - $googleAdsResponseMetadata = new GoogleAdsResponseMetadata(['Request-Id' => ['AbCdEf']]); - $this->assertEquals('AbCdEf', $googleAdsResponseMetadata->getRequestId()); - } - - public function testGetRequestIdNoMetadata() - { - $googleAdsResponseMetadata = - new GoogleAdsResponseMetadata(['dummy-key' => ['value1', 'value2']]); - $this->assertEquals(null, $googleAdsResponseMetadata->getRequestId()); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/LogMessageFormatterTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/LogMessageFormatterTest.php deleted file mode 100644 index ed384424a..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/LogMessageFormatterTest.php +++ /dev/null @@ -1,862 +0,0 @@ -createSuccessRequestResponse(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatSummary( - $this->successRequest, - $this->successResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('RequestId: "AbCdEfGh"', $actualOutput); - $this->assertStringContainsString('Method: "GoogleAdsService/Search"', $actualOutput); - $this->assertStringContainsString('CustomerId: 1234567890', $actualOutput); - $this->assertStringContainsString('Host: "googleads.api.com"', $actualOutput); - $this->assertStringContainsString('IsFault: 0', $actualOutput); - } - - public function testFormatSummaryWithFailureRequest() - { - $this->createFailureRequestResponse(); - $mockStatusMetadataExtractor = $this->getMockBuilder(StatusMetadataExtractor::class) - ->disableOriginalConstructor() - ->disableOriginalClone() - ->disableArgumentCloning() - ->getMock(); - $mockStatusMetadataExtractor->method('extractErrorMessageList')->willReturn( - ['Authentication of the request failed.'] - ); - $logMessageFormatter = new LogMessageFormatter($mockStatusMetadataExtractor); - - $actualOutput = $logMessageFormatter->formatSummary( - $this->failureRequest, - $this->failureResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('RequestId: "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('Method: "GoogleAdsService/Search"', $actualOutput); - $this->assertStringContainsString('CustomerId: 1234567890', $actualOutput); - $this->assertStringContainsString('Host: "googleads.api.com"', $actualOutput); - $this->assertStringContainsString('IsFault: 1', $actualOutput); - } - - public function testFormatSummaryWithNoCustomerIdInRequest() - { - $this->createRequestWithNoCustomerId(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatSummary( - $this->noCustomerIdRequest, - $this->noCustomerIdResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('RequestId: "AbCdEfGh"', $actualOutput); - $this->assertStringContainsString( - 'Method: "GeoTargetConstantService/SuggestGeoTargetConstants"', - $actualOutput - ); - $this->assertStringContainsString( - 'CustomerId: "No customer ID could be extracted from the request"', - $actualOutput - ); - $this->assertStringContainsString('Host: "googleads.api.com"', $actualOutput); - $this->assertStringContainsString('IsFault: 0', $actualOutput); - } - - public function testFormatSummaryWithResourceNameInRequest() - { - $this->createRequestWithResourceName(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatSummary( - $this->resourceNameAvailableRequest, - $this->resourceNameAvailableResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('RequestId: "AbCdEfGh"', $actualOutput); - $this->assertStringContainsString( - 'Method: "CampaignService/MutateCampaigns"', - $actualOutput - ); - $this->assertStringContainsString('CustomerId: 1234567890', $actualOutput); - $this->assertStringContainsString('Host: "googleads.api.com"', $actualOutput); - $this->assertStringContainsString('IsFault: 0', $actualOutput); - } - - public function testFormatDetail() - { - $this->createSuccessRequestResponse(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->successRequest, - $this->successResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString('Method Name: GoogleAdsService/Search', $actualOutput); - $this->assertStringContainsString( - 'Request: ' . "\n" - . '{"customerId":"1234567890","query":"SELECT campaign.id FROM campaign"}', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - $this->assertStringContainsString( - 'Response: ' . "\n" - . '{"results":[{"campaign":{"id":"1"}},{"campaign":{"id":"2"}},' - . '{"campaign":{"id":"3"}}]}', - $actualOutput - ); - } - - public function testFormatDetailWithFailureRequest() - { - $this->createFailureRequestResponse(); - $mockStatusMetadataExtractor = $this->getMockBuilder(StatusMetadataExtractor::class) - ->disableOriginalConstructor() - ->disableOriginalClone() - ->disableArgumentCloning() - ->getMock(); - $mockStatusMetadataExtractor->method('extractGoogleAdsFailure')->willReturn( - new GoogleAdsFailure( - [ - 'errors' => [ - new GoogleAdsError( - [ - 'error_code' => new ErrorCode(['authentication_error' => 2]), - 'message' => 'Authentication of the request failed.' - ] - ) - ] - ] - ) - ); - $logMessageFormatter = new LogMessageFormatter($mockStatusMetadataExtractor); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->failureRequest, - $this->failureResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString('Method Name: GoogleAdsService/Search', $actualOutput); - $this->assertStringContainsString( - 'Request: ' . "\n" - . '{"customerId":"1234567890","query":"SELECT campaign.id FROM campaign"}', - $actualOutput - ); - $this->assertStringContainsString( - 'Details: Request is missing required authentication credential. Expected OAuth ' - . '2 access token, login cookie or other valid authentication credential.', - $actualOutput - ); - $this->assertStringContainsString( - '"authenticationError":"AUTHENTICATION_ERROR"', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - } - - public function testFormatDetailWithResponseContainingCustomerUserAccess() - { - $this->createRequestResponseWithCustomerUserAccess(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->emailAddressRequest, - $this->emailAddressResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString('Method Name: GoogleAdsService/Search', $actualOutput); - $this->assertStringContainsString( - 'Request: ' . "\n" - . '{"customerId":"1234567890",' - . '"query":"SELECT customer_user_access.email_address,' - . 'customer_user_access.inviter_user_email_address FROM customer_user_access"}', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - $this->assertStringContainsString( - 'Response: ' . "\n" - . '{"results":[{"customerUserAccess":{"emailAddress":"REDACTED",' - . '"inviterUserEmailAddress":"REDACTED"}}],"fieldMask":' - . '"customerUserAccess.inviterUserEmailAddress,customerUserAccess.emailAddress"}', - $actualOutput - ); - } - - public function testFormatDetailWithResponseContainingChangeEvent() - { - $this->createRequestResponseWithChangeEvent(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->emailAddressRequest, - $this->emailAddressResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString('Method Name: GoogleAdsService/Search', $actualOutput); - $this->assertStringContainsString( - 'Request: ' . "\n" - . '{"customerId":"1234567890",' - . '"query":"SELECT change_event.user_email FROM change_event"}', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - $this->assertStringContainsString( - 'Response: ' . "\n" - . '{"results":[{"changeEvent":{"userEmail":"REDACTED"}}],"fieldMask":' - . '"changeEvent.userEmail"}', - $actualOutput - ); - } - - public function testFormatDetailWithResponseContainingFeed() - { - $this->createRequestResponseWithFeed(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->emailAddressRequest, - $this->emailAddressResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString('Method Name: GoogleAdsService/SearchStream', $actualOutput); - $this->assertStringContainsString( - 'Request: ' . "\n" - . '{"customerId":"1234567890",' - . '"query":"SELECT feed.places_location_feed_data.email_address FROM feed"}', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - $this->assertStringContainsString( - 'Response: ' . "\n" - . '{"results":[{"feed":{"placesLocationFeedData":{"emailAddress":"REDACTED"}}}],' - . '"fieldMask":"feed.placesLocationFeedData.emailAddress"}', - $actualOutput - ); - } - - public function testFormatDetailWithResponseContainingLocalServicesLead() - { - $this->createRequestResponseWithLocalServicesLead(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->emailAddressRequest, - $this->emailAddressResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString( - 'Method Name: GoogleAdsService/SearchStream', - $actualOutput - ); - $this->assertStringContainsString( - 'Request: ' . "\n" - . '{"customerId":"1234567890",' - . '"query":"SELECT local_services_lead.contact_details.email FROM local_services_lead"' - . '}', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - $this->assertStringContainsString( - 'Response: ' . "\n" - . '{"results":[{"localServicesLead":{"contactDetails":{"email":"REDACTED"}}}],' - . '"fieldMask":"localServicesLead.contactDetails.email"}', - $actualOutput - ); - } - - public function testFormatDetailWithResponseContainingLocalServicesLeadConversation() - { - $this->createRequestResponseWithLocalServicesLeadConversation(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->emailAddressRequest, - $this->emailAddressResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString( - 'Method Name: GoogleAdsService/SearchStream', - $actualOutput - ); - $this->assertStringContainsString( - 'Request: ' . "\n" - . '{"customerId":"1234567890",' - . '"query":"SELECT local_services_lead_conversation.message_details.text FROM ' - . 'local_services_lead_conversation"' - . '}', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - $this->assertStringContainsString( - 'Response: ' . "\n" - . '{"results":[{"localServicesLeadConversation":{"messageDetails":{"text":"REDACTED"}}}]' - . ',"fieldMask":"localServicesLeadConversation.messageDetails.text"}', - $actualOutput - ); - } - - public function testFormatDetailWithCreateCustomerClientRequest() - { - $this->createCreateCustomerClientRequestAndResponse(); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->emailAddressRequest, - $this->emailAddressResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString('Method Name: CustomerService/CreateCustomer', $actualOutput); - $this->assertStringContainsString( - 'Request: ' . "\n" . '{"customerId":"1234567890","emailAddress":"REDACTED"}', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - $this->assertStringContainsString( - 'Response: ' . "\n" . '{"invitationLink":"http://example.com"}', - $actualOutput - ); - } - - /** - * @dataProvider queryWithGoogleAdsRowProvider - */ - public function testFormatDetailWithRequestWhoseGaqlQueryContainsEmails( - string $query, - string $loggedQuery, - GoogleAdsRow $resultGoogleAdsRow, - array $fieldMaskPaths, - string $loggedResult - ) { - $this->createRequestResponseWithEmailsInGaql($query, $resultGoogleAdsRow, $fieldMaskPaths); - $logMessageFormatter = new LogMessageFormatter(); - - $actualOutput = $logMessageFormatter->formatDetail( - $this->emailAddressRequest, - $this->emailAddressResponse, - 'googleads.api.com' - ); - - $this->assertStringContainsString('"request-id": "AbCdEfGhIJk"', $actualOutput); - $this->assertStringContainsString('"developer-token": "REDACTED"', $actualOutput); - $this->assertStringContainsString('Method Name: GoogleAdsService/Search', $actualOutput); - $this->assertStringContainsString( - 'Request: ' . "\n" . '{"customerId":"1234567890",' . $loggedQuery . '}', - $actualOutput - ); - $this->assertStringContainsString('Host: googleads.api.com', $actualOutput); - $this->assertStringContainsString('Response: ' . "\n" . $loggedResult, $actualOutput); - } - - public function queryWithGoogleAdsRowProvider() - { - return [ - [ - // Change event. - 'SELECT change_event.user_email FROM change_event WHERE ' - . 'change_event.user_email = "test1@example.com"', - '"query":"SELECT change_event.user_email FROM change_event WHERE ' - . 'change_event.user_email = \"REDACTED\""', - new GoogleAdsRow([ - 'change_event' => new ChangeEvent(['user_email' => 'test1@example.com']) - ]), - ['change_event.user_email'], - '{"results":[{"changeEvent":{"userEmail":"REDACTED"}}],"fieldMask":' - . '"changeEvent.userEmail"}' - ], [ - // Customer user access. - 'SELECT customer_user_access.email_address FROM customer_user_access WHERE ' - . 'customer_user_access.email_address = \'test@example.com\' AND ' - . 'customer_user_access.inviter_user_email_address LIKE \'test2@example.com\'', - '"query":"SELECT customer_user_access.email_address FROM customer_user_access ' - . 'WHERE customer_user_access.email_address = \'REDACTED\' ' - . 'AND customer_user_access.inviter_user_email_address LIKE \'REDACTED\'"', - new GoogleAdsRow([ - 'customer_user_access' => new CustomerUserAccess([ - 'email_address' => 'test1@example.com', - 'inviter_user_email_address' => 'test2@example.com' - ]) - ]), - [ - 'customer_user_access.email_address', - 'customer_user_access.inviter_user_email_address' - ], - '{"results":[{"customerUserAccess":{"emailAddress":"REDACTED",' - . '"inviterUserEmailAddress":"REDACTED"}}],"fieldMask":' - . '"customerUserAccess.emailAddress,customerUserAccess.inviterUserEmailAddress"}' - ], [ - // Feed. - 'SELECT feed.places_location_feed_data.email_address FROM feed WHERE ' - . 'feed.places_location_feed_data.email_address = "test1@example.com"', - '"query":"SELECT feed.places_location_feed_data.email_address FROM feed WHERE ' - . 'feed.places_location_feed_data.email_address = \"REDACTED\""', - new GoogleAdsRow([ - 'feed' => new Feed([ - 'places_location_feed_data' => new PlacesLocationFeedData([ - 'email_address' => 'test1@example.com' - ]) - ]) - ]), - ['feed.places_location_feed_data.email_address'], - '{"results":[{"feed":{"placesLocationFeedData":{"emailAddress":"REDACTED"}}}],' - . '"fieldMask":"feed.placesLocationFeedData.emailAddress"}' - ], [ - // Local Services lead. - 'SELECT local_services_lead.contact_details.email FROM local_services_lead WHERE ' - . 'local_services_lead.contact_details.email = "test1@example.com"', - '"query":"SELECT local_services_lead.contact_details.email FROM local_services_lead' - . ' WHERE local_services_lead.contact_details.email = \"REDACTED\""', - new GoogleAdsRow([ - 'local_services_lead' => new LocalServicesLead([ - 'contact_details' => new ContactDetails(['email' => 'test1@example.com']) - ]) - ]), - ['local_services_lead.contact_details.email'], - '{"results":[{"localServicesLead":{"contactDetails":{"email":"REDACTED"}}}],' - . '"fieldMask":"localServicesLead.contactDetails.email"}' - ], [ - // Local Services lead conversation. - 'SELECT local_services_lead_conversation.message_details.text FROM ' - . 'local_services_lead_conversation WHERE ' - . 'local_services_lead_conversation.message_details.text = "test1@example.com"', - '"query":"SELECT local_services_lead_conversation.message_details.text FROM ' - . 'local_services_lead_conversation WHERE ' - . 'local_services_lead_conversation.message_details.text = \"REDACTED\""', - new GoogleAdsRow([ - 'local_services_lead_conversation' => new LocalServicesLeadConversation([ - 'message_details' => new MessageDetails(['text' => 'test1@example.com']) - ]) - ]), - ['local_services_lead_conversation.message_details.text'], - '{"results":[{"localServicesLeadConversation":{"messageDetails":{"text":' - . '"REDACTED"}}}]' - . ',"fieldMask":"localServicesLeadConversation.messageDetails.text"}' - ] - ]; - } - - private function createSuccessRequestResponse() - { - $method = 'GoogleAdsService/Search'; - $argument = new SearchGoogleAdsRequest( - ['customer_id' => 1234567890, 'query' => 'SELECT campaign.id FROM campaign'] - ); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $googleAdsRows = [ - new GoogleAdsRow(['campaign' => new Campaign(['id' => 1])]), - new GoogleAdsRow(['campaign' => new Campaign(['id' => 2])]), - new GoogleAdsRow(['campaign' => new Campaign(['id' => 3])]) - ]; - $response = new SearchGoogleAdsResponse(['results' => $googleAdsRows]); - $call = self::createUnaryCallMock(); - - $this->successRequest = compact('method', 'argument', 'metadata'); - $this->successResponse = compact('status', 'response', 'call'); - } - - private function createRequestWithResourceName() - { - $method = 'CampaignService/MutateCampaigns'; - $argument = new MutateCampaignsRequest(); - $argument->setCustomerId(1234567890); - $argument->setOperations([new CampaignOperation(['update' => new Campaign([ - 'resource_name' => ResourceNames::forCampaign(1234567890, 9876543210) - ])])]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $response = new MutateCampaignsResponse(['results' => [new MutateCampaignResult([ - 'resource_name' => ResourceNames::forCampaign(1234567890, 9876543210) - ])]]); - $call = self::createUnaryCallMock(); - - $this->resourceNameAvailableRequest = compact('method', 'argument', 'metadata'); - $this->resourceNameAvailableResponse = compact('status', 'response', 'call'); - } - - private function createRequestWithNoCustomerId() - { - $method = 'GeoTargetConstantService/SuggestGeoTargetConstants'; - $argument = new SuggestGeoTargetConstantsRequest([ - 'location_names' => new LocationNames(['names' => ['Paris']]) - ]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $geoTargetConstantSuggestions = [ - new GeoTargetConstantSuggestion([ - 'locale' => 'US', - 'reach' => 30000, - 'search_term' => 'Paris', - 'geo_target_constant' => new GeoTargetConstant(['id' => 1006094]) - ]), - ]; - $response = new SuggestGeoTargetConstantsResponse( - ['geo_target_constant_suggestions' => $geoTargetConstantSuggestions] - ); - $call = self::createUnaryCallMock(); - - $this->noCustomerIdRequest = compact('method', 'argument', 'metadata'); - $this->noCustomerIdResponse = compact('status', 'response', 'call'); - } - - private function createFailureRequestResponse() - { - $method = 'GoogleAdsService/Search'; - $argument = new SearchGoogleAdsRequest( - ['customer_id' => 1234567890, 'query' => 'SELECT campaign.id FROM campaign'] - ); - $metadata = ['developer-token' => ['a1b2c3']]; - - $status = new stdClass(); - $status->code = 16; - $status->metadata = [ - 'request-id' => ['AbCdEfGhIJk'] - ]; - $status->details = - 'Request is missing required authentication credential. Expected OAuth 2 access token,' - . ' login cookie or other valid authentication credential.'; - - $response = new SearchGoogleAdsResponse(['results' => []]); - $call = self::createUnaryCallMock(); - - $this->failureRequest = compact('method', 'argument', 'metadata'); - $this->failureResponse = compact('status', 'response', 'call'); - } - - private function createRequestResponseWithCustomerUserAccess() - { - $method = 'GoogleAdsService/Search'; - $argument = new SearchGoogleAdsRequest([ - 'customer_id' => 1234567890, - 'query' => 'SELECT customer_user_access.email_address,' - . 'customer_user_access.inviter_user_email_address FROM customer_user_access' - ]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $googleAdsRows = [ - new GoogleAdsRow([ - 'customer_user_access' => new CustomerUserAccess([ - 'email_address' => 'test1@example.com', - 'inviter_user_email_address' => 'test2@example.com' - ]) - ]) - ]; - $response = new SearchGoogleAdsResponse([ - 'results' => $googleAdsRows, - 'field_mask' => new FieldMask([ - 'paths' => [ - 'customer_user_access.inviter_user_email_address', - 'customer_user_access.email_address' - ] - ]) - ]); - - $call = self::createUnaryCallMock(); - $call->method('getMetadata')->willReturn( - ['request-id' => ['AbCdEfGh'], 'x-google-session-info' => ['1234abcd']] - ); - - $this->emailAddressRequest = compact('method', 'argument', 'metadata'); - $this->emailAddressResponse = compact('status', 'response', 'call'); - } - - private function createRequestResponseWithChangeEvent() - { - $method = 'GoogleAdsService/Search'; - $argument = new SearchGoogleAdsRequest([ - 'customer_id' => 1234567890, - 'query' => 'SELECT change_event.user_email FROM change_event' - ]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $googleAdsRows = [ - new GoogleAdsRow( - ['change_event' => new ChangeEvent(['user_email' => 'test1@example.com'])] - ) - ]; - $response = new SearchGoogleAdsResponse([ - 'results' => $googleAdsRows, - 'field_mask' => new FieldMask(['paths' => ['change_event.user_email']]) - ]); - - $call = self::createUnaryCallMock(); - $call->method('getMetadata')->willReturn( - ['request-id' => ['AbCdEfGh'], 'x-google-session-info' => ['1234abcd']] - ); - - $this->emailAddressRequest = compact('method', 'argument', 'metadata'); - $this->emailAddressResponse = compact('status', 'response', 'call'); - } - - private function createRequestResponseWithFeed() - { - $method = 'GoogleAdsService/SearchStream'; - $argument = new SearchGoogleAdsStreamRequest([ - 'customer_id' => 1234567890, - 'query' => 'SELECT feed.places_location_feed_data.email_address FROM feed' - ]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $googleAdsRows = [ - new GoogleAdsRow([ - 'feed' => new Feed([ - 'places_location_feed_data' => new PlacesLocationFeedData([ - 'email_address' => 'test1@example.com']) - ]) - ]) - ]; - $response = new SearchGoogleAdsStreamResponse([ - 'results' => $googleAdsRows, - 'field_mask' => new FieldMask([ - 'paths' => ['feed.places_location_feed_data.email_address']]) - ]); - - $call = self::createUnaryCallMock(); - $call->method('getMetadata')->willReturn( - ['request-id' => ['AbCdEfGh'], 'x-google-session-info' => ['1234abcd']] - ); - - $this->emailAddressRequest = compact('method', 'argument', 'metadata'); - $this->emailAddressResponse = compact('status', 'response', 'call'); - } - - private function createRequestResponseWithLocalServicesLead() - { - $method = 'GoogleAdsService/SearchStream'; - $argument = new SearchGoogleAdsStreamRequest([ - 'customer_id' => 1234567890, - 'query' => 'SELECT local_services_lead.contact_details.email FROM local_services_lead' - ]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $googleAdsRows = [ - new GoogleAdsRow([ - 'local_services_lead' => new LocalServicesLead([ - 'contact_details' => new ContactDetails(['email' => 'test1@example.com']) - ]) - ]) - ]; - $response = new SearchGoogleAdsStreamResponse([ - 'results' => $googleAdsRows, - 'field_mask' => new FieldMask([ - 'paths' => ['local_services_lead.contact_details.email']]) - ]); - - $call = self::createUnaryCallMock(); - $call->method('getMetadata')->willReturn( - ['request-id' => ['AbCdEfGh'], 'x-google-session-info' => ['1234abcd']] - ); - - $this->emailAddressRequest = compact('method', 'argument', 'metadata'); - $this->emailAddressResponse = compact('status', 'response', 'call'); - } - - private function createRequestResponseWithLocalServicesLeadConversation() - { - $method = 'GoogleAdsService/SearchStream'; - $argument = new SearchGoogleAdsStreamRequest([ - 'customer_id' => 1234567890, - 'query' => 'SELECT local_services_lead_conversation.message_details.text ' - . 'FROM local_services_lead_conversation' - ]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $googleAdsRows = [ - new GoogleAdsRow([ - 'local_services_lead_conversation' => new LocalServicesLeadConversation([ - 'message_details' => new MessageDetails(['text' => 'test1@example.com']) - ]) - ]) - ]; - $response = new SearchGoogleAdsStreamResponse([ - 'results' => $googleAdsRows, - 'field_mask' => new FieldMask([ - 'paths' => ['local_services_lead_conversation.message_details.text']]) - ]); - - $call = self::createUnaryCallMock(); - $call->method('getMetadata')->willReturn( - ['request-id' => ['AbCdEfGh'], 'x-google-session-info' => ['1234abcd']] - ); - - $this->emailAddressRequest = compact('method', 'argument', 'metadata'); - $this->emailAddressResponse = compact('status', 'response', 'call'); - } - - private function createCreateCustomerClientRequestAndResponse() - { - $method = 'CustomerService/CreateCustomer'; - $argument = new CreateCustomerClientRequest([ - 'customer_id' => 1234567890, - 'email_address' => 'test1@example.com' - ]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $response = new CreateCustomerClientResponse(['invitation_link' => 'http://example.com']); - - $call = self::createUnaryCallMock(); - $call->method('getMetadata')->willReturn( - ['request-id' => ['AbCdEfGh'], 'x-google-session-info' => ['1234abcd']] - ); - - $this->emailAddressRequest = compact('method', 'argument', 'metadata'); - $this->emailAddressResponse = compact('status', 'response', 'call'); - } - - private function createRequestResponseWithEmailsInGaql( - string $query, - GoogleAdsRow $googleAdsRow, - array $fieldMaskPaths - ) { - $method = 'GoogleAdsService/Search'; - $argument = new SearchGoogleAdsRequest(['customer_id' => 1234567890, 'query' => $query]); - $metadata = ['developer-token' => ['a1b2c3']]; - $status = self::createSuccessfulStatus(); - - $googleAdsRows = [$googleAdsRow]; - $response = new SearchGoogleAdsResponse([ - 'results' => $googleAdsRows, - 'field_mask' => new FieldMask(['paths' => $fieldMaskPaths]) - ]); - - $call = self::createUnaryCallMock(); - $call->method('getMetadata')->willReturn( - ['request-id' => ['AbCdEfGh'], 'x-google-session-info' => ['1234abcd']] - ); - - $this->emailAddressRequest = compact('method', 'argument', 'metadata'); - $this->emailAddressResponse = compact('status', 'response', 'call'); - } - - private static function createSuccessfulStatus() - { - $status = new stdClass(); - $status->code = 0; - $status->metadata = ['request-id' => ['AbCdEfGh']]; - return $status; - } - - private function createUnaryCallMock() - { - $call = $this->getMockBuilder(UnaryCall::class) - ->disableOriginalConstructor() - ->disableOriginalClone() - ->disableArgumentCloning() - ->getMock(); - $call->method('getMetadata')->willReturn( - ['request-id' => ['AbCdEfGhIJk'], 'x-google-session-info' => ['1234abcd']] - ); - return $call; - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/LoggerFactoryTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/LoggerFactoryTest.php deleted file mode 100644 index 51b547372..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/LoggerFactoryTest.php +++ /dev/null @@ -1,38 +0,0 @@ -createLogger('dummy-name'); - $this->assertInstanceOf(Logger::class, $logger); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/ServiceClientFactoryTraitTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/ServiceClientFactoryTraitTest.php deleted file mode 100644 index 1d5b2cd37..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/ServiceClientFactoryTraitTest.php +++ /dev/null @@ -1,1074 +0,0 @@ -getMockBuilder(FetchAuthTokenInterface::class) - ->disableOriginalConstructor() - ->getMock(); - $this->googleAdsClient = $googleAdsClientBuilder - ->withOAuth2Credential($fetchAuthTokenInterfaceMock) - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(self::$LOGIN_CUSTOMER_ID) - ->withLogger(new Logger('', [new NullHandler()])) - ->withProxy(self::$PROXY) - ->withTransport(self::$TRANSPORT) - ->build(); - } - - public function testSetHttpHandler() - { - $httpHandler = HttpHandlerFactory::build(); - $fetchAuthTokenInterfaceMock = $this - ->getMockBuilder(FetchAuthTokenInterface::class) - ->disableOriginalConstructor() - ->getMock(); - $googleAdsClient = (new GoogleAdsClientBuilder()) - ->withOAuth2Credential($fetchAuthTokenInterfaceMock) - ->withDeveloperToken(self::$DEVELOPER_TOKEN) - ->withLoginCustomerId(self::$LOGIN_CUSTOMER_ID) - ->withLogger(new Logger('', [new NullHandler()])) - ->withHttpHandler($httpHandler) - ->build(); - $this->assertSame( - $httpHandler, - $googleAdsClient->getGoogleAdsClientOptions()['transportConfig']['rest']['httpHandler'] - ); - } - - public function testGetAccountBudgetProposalServiceClient() - { - $this->assertInstanceOf( - AccountBudgetProposalServiceClient::class, - $this->googleAdsClient->getAccountBudgetProposalServiceClient() - ); - } - - public function testGetAccountLinkServiceClient() - { - $this->assertInstanceOf( - AccountLinkServiceClient::class, - $this->googleAdsClient->getAccountLinkServiceClient() - ); - } - - public function testGetAdGroupAdLabelServiceClient() - { - $this->assertInstanceOf( - AdGroupAdLabelServiceClient::class, - $this->googleAdsClient->getAdGroupAdLabelServiceClient() - ); - } - - public function testGetAdGroupAdServiceClient() - { - $this->assertInstanceOf( - AdGroupAdServiceClient::class, - $this->googleAdsClient->getAdGroupAdServiceClient() - ); - } - - public function testGetAdGroupAssetServiceClient() - { - $this->assertInstanceOf( - AdGroupAssetServiceClient::class, - $this->googleAdsClient->getAdGroupAssetServiceClient() - ); - } - - public function testGetAdGroupAssetSetServiceClient() - { - $this->assertInstanceOf( - AdGroupAssetSetServiceClient::class, - $this->googleAdsClient->getAdGroupAssetSetServiceClient() - ); - } - - public function testGetAdGroupBidModifierServiceClient() - { - $this->assertInstanceOf( - AdGroupBidModifierServiceClient::class, - $this->googleAdsClient->getAdGroupBidModifierServiceClient() - ); - } - - public function testGetAdGroupCriterionCustomizerServiceClient() - { - $this->assertInstanceOf( - AdGroupCriterionCustomizerServiceClient::class, - $this->googleAdsClient->getAdGroupCriterionCustomizerServiceClient() - ); - } - - public function testGetAdGroupCriterionLabelServiceClient() - { - $this->assertInstanceOf( - AdGroupCriterionLabelServiceClient::class, - $this->googleAdsClient->getAdGroupCriterionLabelServiceClient() - ); - } - - public function testGetAdGroupCriterionServiceClient() - { - $this->assertInstanceOf( - AdGroupCriterionServiceClient::class, - $this->googleAdsClient->getAdGroupCriterionServiceClient() - ); - } - - public function testGetAdGroupCustomizerServiceClient() - { - $this->assertInstanceOf( - AdGroupCustomizerServiceClient::class, - $this->googleAdsClient->getAdGroupCustomizerServiceClient() - ); - } - - public function testGetAdGroupExtensionSettingServiceClient() - { - $this->assertInstanceOf( - AdGroupExtensionSettingServiceClient::class, - $this->googleAdsClient->getAdGroupExtensionSettingServiceClient() - ); - } - - public function testGetAdGroupFeedServiceClient() - { - $this->assertInstanceOf( - AdGroupFeedServiceClient::class, - $this->googleAdsClient->getAdGroupFeedServiceClient() - ); - } - - public function testGetAdGroupLabelServiceClient() - { - $this->assertInstanceOf( - AdGroupLabelServiceClient::class, - $this->googleAdsClient->getAdGroupLabelServiceClient() - ); - } - - public function testGetAdGroupServiceClient() - { - $this->assertInstanceOf( - AdGroupServiceClient::class, - $this->googleAdsClient->getAdGroupServiceClient() - ); - } - - public function testGetAdParameterServiceClient() - { - $this->assertInstanceOf( - AdParameterServiceClient::class, - $this->googleAdsClient->getAdParameterServiceClient() - ); - } - - public function testGetAdServiceClient() - { - $this->assertInstanceOf( - AdServiceClient::class, - $this->googleAdsClient->getAdServiceClient() - ); - } - - public function testGetAssetGroupAssetServiceClient() - { - $this->assertInstanceOf( - AssetGroupAssetServiceClient::class, - $this->googleAdsClient->getAssetGroupAssetServiceClient() - ); - } - - public function testGetAssetGroupListingGroupFilterServiceClient() - { - $this->assertInstanceOf( - AssetGroupListingGroupFilterServiceClient::class, - $this->googleAdsClient->getAssetGroupListingGroupFilterServiceClient() - ); - } - - public function testGetAssetGroupServiceClient() - { - $this->assertInstanceOf( - AssetGroupServiceClient::class, - $this->googleAdsClient->getAssetGroupServiceClient() - ); - } - - public function testGetAssetGroupSignalServiceClient() - { - $this->assertInstanceOf( - AssetGroupSignalServiceClient::class, - $this->googleAdsClient->getAssetGroupSignalServiceClient() - ); - } - - public function testGetAssetServiceClient() - { - $this->assertInstanceOf( - AssetServiceClient::class, - $this->googleAdsClient->getAssetServiceClient() - ); - } - - public function testGetAssetSetAssetServiceClient() - { - $this->assertInstanceOf( - AssetSetAssetServiceClient::class, - $this->googleAdsClient->getAssetSetAssetServiceClient() - ); - } - - public function testGetAssetSetServiceClient() - { - $this->assertInstanceOf( - AssetSetServiceClient::class, - $this->googleAdsClient->getAssetSetServiceClient() - ); - } - - public function testGetAudienceInsightsServiceClient() - { - $this->assertInstanceOf( - AudienceInsightsServiceClient::class, - $this->googleAdsClient->getAudienceInsightsServiceClient() - ); - } - - public function testGetAudienceServiceClient() - { - $this->assertInstanceOf( - AudienceServiceClient::class, - $this->googleAdsClient->getAudienceServiceClient() - ); - } - - public function testGetBatchJobServiceClient() - { - $this->assertInstanceOf( - BatchJobServiceClient::class, - $this->googleAdsClient->getBatchJobServiceClient() - ); - } - - public function testGetBiddingDataExclusionServiceClient() - { - $this->assertInstanceOf( - BiddingDataExclusionServiceClient::class, - $this->googleAdsClient->getBiddingDataExclusionServiceClient() - ); - } - - public function testGetBiddingSeasonalityAdjustmentServiceClient() - { - $this->assertInstanceOf( - BiddingSeasonalityAdjustmentServiceClient::class, - $this->googleAdsClient->getBiddingSeasonalityAdjustmentServiceClient() - ); - } - - public function testGetBiddingStrategyServiceClient() - { - $this->assertInstanceOf( - BiddingStrategyServiceClient::class, - $this->googleAdsClient->getBiddingStrategyServiceClient() - ); - } - - public function testGetBillingSetupServiceClient() - { - $this->assertInstanceOf( - BillingSetupServiceClient::class, - $this->googleAdsClient->getBillingSetupServiceClient() - ); - } - - public function testGetBrandSuggestionServiceClient() - { - $this->assertInstanceOf( - BrandSuggestionServiceClient::class, - $this->googleAdsClient->getBrandSuggestionServiceClient() - ); - } - - public function testGetCampaignAssetServiceClient() - { - $this->assertInstanceOf( - CampaignAssetServiceClient::class, - $this->googleAdsClient->getCampaignAssetServiceClient() - ); - } - - public function testGetCampaignAssetSetServiceClient() - { - $this->assertInstanceOf( - CampaignAssetSetServiceClient::class, - $this->googleAdsClient->getCampaignAssetSetServiceClient() - ); - } - - public function testGetCampaignBidModifierServiceClient() - { - $this->assertInstanceOf( - CampaignBidModifierServiceClient::class, - $this->googleAdsClient->getCampaignBidModifierServiceClient() - ); - } - - public function testGetCampaignBudgetServiceClient() - { - $this->assertInstanceOf( - CampaignBudgetServiceClient::class, - $this->googleAdsClient->getCampaignBudgetServiceClient() - ); - } - - public function testGetCampaignConversionGoalServiceClient() - { - $this->assertInstanceOf( - CampaignConversionGoalServiceClient::class, - $this->googleAdsClient->getCampaignConversionGoalServiceClient() - ); - } - - public function testGetCampaignCriterionServiceClient() - { - $this->assertInstanceOf( - CampaignCriterionServiceClient::class, - $this->googleAdsClient->getCampaignCriterionServiceClient() - ); - } - - public function testGetCampaignCustomizerServiceClient() - { - $this->assertInstanceOf( - CampaignCustomizerServiceClient::class, - $this->googleAdsClient->getCampaignCustomizerServiceClient() - ); - } - - public function testGetCampaignDraftServiceClient() - { - $this->assertInstanceOf( - CampaignDraftServiceClient::class, - $this->googleAdsClient->getCampaignDraftServiceClient() - ); - } - - public function testGetCampaignExtensionSettingServiceClient() - { - $this->assertInstanceOf( - CampaignExtensionSettingServiceClient::class, - $this->googleAdsClient->getCampaignExtensionSettingServiceClient() - ); - } - - public function testGetCampaignFeedServiceClient() - { - $this->assertInstanceOf( - CampaignFeedServiceClient::class, - $this->googleAdsClient->getCampaignFeedServiceClient() - ); - } - - public function testGetCampaignGroupServiceClient() - { - $this->assertInstanceOf( - CampaignGroupServiceClient::class, - $this->googleAdsClient->getCampaignGroupServiceClient() - ); - } - - public function testGetCampaignLabelServiceClient() - { - $this->assertInstanceOf( - CampaignLabelServiceClient::class, - $this->googleAdsClient->getCampaignLabelServiceClient() - ); - } - - public function testGetCampaignLifecycleGoalServiceClient() - { - $this->assertInstanceOf( - CampaignLifecycleGoalServiceClient::class, - $this->googleAdsClient->getCampaignLifecycleGoalServiceClient() - ); - } - - public function testGetCampaignServiceClient() - { - $this->assertInstanceOf( - CampaignServiceClient::class, - $this->googleAdsClient->getCampaignServiceClient() - ); - } - - public function testGetCampaignSharedSetServiceClient() - { - $this->assertInstanceOf( - CampaignSharedSetServiceClient::class, - $this->googleAdsClient->getCampaignSharedSetServiceClient() - ); - } - - public function testGetConversionActionServiceClient() - { - $this->assertInstanceOf( - ConversionActionServiceClient::class, - $this->googleAdsClient->getConversionActionServiceClient() - ); - } - - public function testGetConversionAdjustmentUploadServiceClient() - { - $this->assertInstanceOf( - ConversionAdjustmentUploadServiceClient::class, - $this->googleAdsClient->getConversionAdjustmentUploadServiceClient() - ); - } - - public function testGetConversionCustomVariableServiceClient() - { - $this->assertInstanceOf( - ConversionCustomVariableServiceClient::class, - $this->googleAdsClient->getConversionCustomVariableServiceClient() - ); - } - - public function testGetConversionGoalCampaignConfigServiceClient() - { - $this->assertInstanceOf( - ConversionGoalCampaignConfigServiceClient::class, - $this->googleAdsClient->getConversionGoalCampaignConfigServiceClient() - ); - } - - public function testGetConversionUploadServiceClient() - { - $this->assertInstanceOf( - ConversionUploadServiceClient::class, - $this->googleAdsClient->getConversionUploadServiceClient() - ); - } - - public function testGetConversionValueRuleServiceClient() - { - $this->assertInstanceOf( - ConversionValueRuleServiceClient::class, - $this->googleAdsClient->getConversionValueRuleServiceClient() - ); - } - - public function testGetConversionValueRuleSetServiceClient() - { - $this->assertInstanceOf( - ConversionValueRuleSetServiceClient::class, - $this->googleAdsClient->getConversionValueRuleSetServiceClient() - ); - } - - public function testGetCustomAudienceServiceClient() - { - $this->assertInstanceOf( - CustomAudienceServiceClient::class, - $this->googleAdsClient->getCustomAudienceServiceClient() - ); - } - - public function testGetCustomConversionGoalServiceClient() - { - $this->assertInstanceOf( - CustomConversionGoalServiceClient::class, - $this->googleAdsClient->getCustomConversionGoalServiceClient() - ); - } - - public function testGetCustomerAssetServiceClient() - { - $this->assertInstanceOf( - CustomerAssetServiceClient::class, - $this->googleAdsClient->getCustomerAssetServiceClient() - ); - } - - public function testGetCustomerAssetSetServiceClient() - { - $this->assertInstanceOf( - CustomerAssetSetServiceClient::class, - $this->googleAdsClient->getCustomerAssetSetServiceClient() - ); - } - - public function testGetCustomerClientLinkServiceClient() - { - $this->assertInstanceOf( - CustomerClientLinkServiceClient::class, - $this->googleAdsClient->getCustomerClientLinkServiceClient() - ); - } - - public function testGetCustomerConversionGoalServiceClient() - { - $this->assertInstanceOf( - CustomerConversionGoalServiceClient::class, - $this->googleAdsClient->getCustomerConversionGoalServiceClient() - ); - } - - public function testGetCustomerCustomizerServiceClient() - { - $this->assertInstanceOf( - CustomerCustomizerServiceClient::class, - $this->googleAdsClient->getCustomerCustomizerServiceClient() - ); - } - - public function testGetCustomerExtensionSettingServiceClient() - { - $this->assertInstanceOf( - CustomerExtensionSettingServiceClient::class, - $this->googleAdsClient->getCustomerExtensionSettingServiceClient() - ); - } - - public function testGetCustomerFeedServiceClient() - { - $this->assertInstanceOf( - CustomerFeedServiceClient::class, - $this->googleAdsClient->getCustomerFeedServiceClient() - ); - } - - public function testGetCustomerLabelServiceClient() - { - $this->assertInstanceOf( - CustomerLabelServiceClient::class, - $this->googleAdsClient->getCustomerLabelServiceClient() - ); - } - - public function testGetCustomerLifecycleGoalServiceClient() - { - $this->assertInstanceOf( - CustomerLifecycleGoalServiceClient::class, - $this->googleAdsClient->getCustomerLifecycleGoalServiceClient() - ); - } - - public function testGetCustomerManagerLinkServiceClient() - { - $this->assertInstanceOf( - CustomerManagerLinkServiceClient::class, - $this->googleAdsClient->getCustomerManagerLinkServiceClient() - ); - } - - public function testGetCustomerNegativeCriterionServiceClient() - { - $this->assertInstanceOf( - CustomerNegativeCriterionServiceClient::class, - $this->googleAdsClient->getCustomerNegativeCriterionServiceClient() - ); - } - - public function testGetCustomerServiceClient() - { - $this->assertInstanceOf( - CustomerServiceClient::class, - $this->googleAdsClient->getCustomerServiceClient() - ); - } - - public function testGetCustomerSkAdNetworkConversionValueSchemaServiceClient() - { - $this->assertInstanceOf( - CustomerSkAdNetworkConversionValueSchemaServiceClient::class, - $this->googleAdsClient->getCustomerSkAdNetworkConversionValueSchemaServiceClient() - ); - } - - public function testGetCustomerUserAccessInvitationServiceClient() - { - $this->assertInstanceOf( - CustomerUserAccessInvitationServiceClient::class, - $this->googleAdsClient->getCustomerUserAccessInvitationServiceClient() - ); - } - - public function testGetCustomerUserAccessServiceClient() - { - $this->assertInstanceOf( - CustomerUserAccessServiceClient::class, - $this->googleAdsClient->getCustomerUserAccessServiceClient() - ); - } - - public function testGetCustomInterestServiceClient() - { - $this->assertInstanceOf( - CustomInterestServiceClient::class, - $this->googleAdsClient->getCustomInterestServiceClient() - ); - } - - public function testGetCustomizerAttributeServiceClient() - { - $this->assertInstanceOf( - CustomizerAttributeServiceClient::class, - $this->googleAdsClient->getCustomizerAttributeServiceClient() - ); - } - - public function testGetExperimentArmServiceClient() - { - $this->assertInstanceOf( - ExperimentArmServiceClient::class, - $this->googleAdsClient->getExperimentArmServiceClient() - ); - } - - public function testGetExperimentServiceClient() - { - $this->assertInstanceOf( - ExperimentServiceClient::class, - $this->googleAdsClient->getExperimentServiceClient() - ); - } - - public function testGetExtensionFeedItemServiceClient() - { - $this->assertInstanceOf( - ExtensionFeedItemServiceClient::class, - $this->googleAdsClient->getExtensionFeedItemServiceClient() - ); - } - - public function testGetFeedItemServiceClient() - { - $this->assertInstanceOf( - FeedItemServiceClient::class, - $this->googleAdsClient->getFeedItemServiceClient() - ); - } - - public function testGetFeedItemSetLinkServiceClient() - { - $this->assertInstanceOf( - FeedItemSetLinkServiceClient::class, - $this->googleAdsClient->getFeedItemSetLinkServiceClient() - ); - } - - public function testGetFeedItemSetServiceClient() - { - $this->assertInstanceOf( - FeedItemSetServiceClient::class, - $this->googleAdsClient->getFeedItemSetServiceClient() - ); - } - - public function testGetFeedItemTargetServiceClient() - { - $this->assertInstanceOf( - FeedItemTargetServiceClient::class, - $this->googleAdsClient->getFeedItemTargetServiceClient() - ); - } - - public function testGetFeedMappingServiceClient() - { - $this->assertInstanceOf( - FeedMappingServiceClient::class, - $this->googleAdsClient->getFeedMappingServiceClient() - ); - } - - public function testGetFeedServiceClient() - { - $this->assertInstanceOf( - FeedServiceClient::class, - $this->googleAdsClient->getFeedServiceClient() - ); - } - - public function testGetGeoTargetConstantServiceClient() - { - $this->assertInstanceOf( - GeoTargetConstantServiceClient::class, - $this->googleAdsClient->getGeoTargetConstantServiceClient() - ); - } - - public function testGetGoogleAdsFieldServiceClient() - { - $this->assertInstanceOf( - GoogleAdsFieldServiceClient::class, - $this->googleAdsClient->getGoogleAdsFieldServiceClient() - ); - } - - public function testGetGoogleAdsServiceClient() - { - $this->assertInstanceOf( - GoogleAdsServiceClient::class, - $this->googleAdsClient->getGoogleAdsServiceClient() - ); - } - - public function testGetInvoiceServiceClient() - { - $this->assertInstanceOf( - InvoiceServiceClient::class, - $this->googleAdsClient->getInvoiceServiceClient() - ); - } - - public function testGetKeywordPlanAdGroupKeywordServiceClient() - { - $this->assertInstanceOf( - KeywordPlanAdGroupKeywordServiceClient::class, - $this->googleAdsClient->getKeywordPlanAdGroupKeywordServiceClient() - ); - } - - public function testGetKeywordPlanAdGroupServiceClient() - { - $this->assertInstanceOf( - KeywordPlanAdGroupServiceClient::class, - $this->googleAdsClient->getKeywordPlanAdGroupServiceClient() - ); - } - - public function testGetKeywordPlanCampaignKeywordServiceClient() - { - $this->assertInstanceOf( - KeywordPlanCampaignKeywordServiceClient::class, - $this->googleAdsClient->getKeywordPlanCampaignKeywordServiceClient() - ); - } - - public function testGetKeywordPlanCampaignServiceClient() - { - $this->assertInstanceOf( - KeywordPlanCampaignServiceClient::class, - $this->googleAdsClient->getKeywordPlanCampaignServiceClient() - ); - } - - public function testGetKeywordPlanIdeaServiceClient() - { - $this->assertInstanceOf( - KeywordPlanIdeaServiceClient::class, - $this->googleAdsClient->getKeywordPlanIdeaServiceClient() - ); - } - - public function testGetKeywordPlanServiceClient() - { - $this->assertInstanceOf( - KeywordPlanServiceClient::class, - $this->googleAdsClient->getKeywordPlanServiceClient() - ); - } - - public function testGetKeywordThemeConstantServiceClient() - { - $this->assertInstanceOf( - KeywordThemeConstantServiceClient::class, - $this->googleAdsClient->getKeywordThemeConstantServiceClient() - ); - } - - public function testGetLabelServiceClient() - { - $this->assertInstanceOf( - LabelServiceClient::class, - $this->googleAdsClient->getLabelServiceClient() - ); - } - - public function testGetOfflineUserDataJobServiceClient() - { - $this->assertInstanceOf( - OfflineUserDataJobServiceClient::class, - $this->googleAdsClient->getOfflineUserDataJobServiceClient() - ); - } - - public function testGetPaymentsAccountServiceClient() - { - $this->assertInstanceOf( - PaymentsAccountServiceClient::class, - $this->googleAdsClient->getPaymentsAccountServiceClient() - ); - } - - public function testGetProductLinkInvitationServiceClient() - { - $this->assertInstanceOf( - ProductLinkInvitationServiceClient::class, - $this->googleAdsClient->getProductLinkInvitationServiceClient() - ); - } - - public function testGetProductLinkServiceClient() - { - $this->assertInstanceOf( - ProductLinkServiceClient::class, - $this->googleAdsClient->getProductLinkServiceClient() - ); - } - - public function testGetReachPlanServiceClient() - { - $this->assertInstanceOf( - ReachPlanServiceClient::class, - $this->googleAdsClient->getReachPlanServiceClient() - ); - } - - public function testGetRecommendationServiceClient() - { - $this->assertInstanceOf( - RecommendationServiceClient::class, - $this->googleAdsClient->getRecommendationServiceClient() - ); - } - - public function testGetRecommendationSubscriptionServiceClient() - { - $this->assertInstanceOf( - RecommendationSubscriptionServiceClient::class, - $this->googleAdsClient->getRecommendationSubscriptionServiceClient() - ); - } - - public function testGetRemarketingActionServiceClient() - { - $this->assertInstanceOf( - RemarketingActionServiceClient::class, - $this->googleAdsClient->getRemarketingActionServiceClient() - ); - } - - public function testGetSharedCriterionServiceClient() - { - $this->assertInstanceOf( - SharedCriterionServiceClient::class, - $this->googleAdsClient->getSharedCriterionServiceClient() - ); - } - - public function testGetSharedSetServiceClient() - { - $this->assertInstanceOf( - SharedSetServiceClient::class, - $this->googleAdsClient->getSharedSetServiceClient() - ); - } - - public function testGetSmartCampaignSettingServiceClient() - { - $this->assertInstanceOf( - SmartCampaignSettingServiceClient::class, - $this->googleAdsClient->getSmartCampaignSettingServiceClient() - ); - } - - public function testGetSmartCampaignSuggestServiceClient() - { - $this->assertInstanceOf( - SmartCampaignSuggestServiceClient::class, - $this->googleAdsClient->getSmartCampaignSuggestServiceClient() - ); - } - - public function testGetThirdPartyAppAnalyticsLinkServiceClient() - { - $this->assertInstanceOf( - ThirdPartyAppAnalyticsLinkServiceClient::class, - $this->googleAdsClient->getThirdPartyAppAnalyticsLinkServiceClient() - ); - } - - public function testGetTravelAssetSuggestionServiceClient() - { - $this->assertInstanceOf( - TravelAssetSuggestionServiceClient::class, - $this->googleAdsClient->getTravelAssetSuggestionServiceClient() - ); - } - - public function testGetUserDataServiceClient() - { - $this->assertInstanceOf( - UserDataServiceClient::class, - $this->googleAdsClient->getUserDataServiceClient() - ); - } - - public function testGetUserListServiceClient() - { - $this->assertInstanceOf( - UserListServiceClient::class, - $this->googleAdsClient->getUserListServiceClient() - ); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V15/StatusMetadataExtractorTest.php b/tests/Google/Ads/GoogleAds/Lib/V15/StatusMetadataExtractorTest.php deleted file mode 100644 index ae0ef71a0..000000000 --- a/tests/Google/Ads/GoogleAds/Lib/V15/StatusMetadataExtractorTest.php +++ /dev/null @@ -1,147 +0,0 @@ -statusMetadataExtractor = new StatusMetadataExtractor(); - $defaultGoogleAdsFailure = new GoogleAdsFailure(); - $defaultGoogleAdsFailure->setErrors([ - new GoogleAdsError([ - 'message' => 'failure 1', - 'error_code' => new ErrorCode([ - 'campaign_error' => CampaignError::BUDGET_CANNOT_BE_SHARED - ]) - ]), - new GoogleAdsError([ - 'message' => 'failure 2', - 'error_code' => new ErrorCode([ - 'ad_group_error' => AdGroupError::BID_TOO_BIG - ]) - ]) - ]); - $this->defaultStatusMetadata = [ - 'google.ads.googleads.v15.errors.googleadsfailure-bin' => [ - $defaultGoogleAdsFailure->serializeToString() - ] - ]; - } - - public function testExtractGoogleAdsFailure() - { - $actual = $this->statusMetadataExtractor->extractGoogleAdsFailure( - $this->defaultStatusMetadata, - 'google.ads.googleads.v15.errors.googleadsfailure-bin' - ); - - $this->assertEquals('failure 1', $actual->getErrors()[0]->getMessage()); - $this->assertEquals( - CampaignError::BUDGET_CANNOT_BE_SHARED, - $actual->getErrors()[0]->getErrorCode()->getCampaignError() - ); - $this->assertEquals('failure 2', $actual->getErrors()[1]->getMessage()); - $this->assertEquals( - AdGroupError::BID_TOO_BIG, - $actual->getErrors()[1]->getErrorCode()->getAdGroupError() - ); - } - - public function testExtractGoogleAdsFailureNoKey() - { - $statusMetadata = ['dummy-key' => ['dummy-value']]; - $actual = $this->statusMetadataExtractor->extractGoogleAdsFailure( - $statusMetadata, - 'google.ads.googleads.v15.errors.googleadsfailure-bin' - ); - $this->assertEquals(new GoogleAdsFailure(), $actual); - } - - public function testExtractErrorMessageList() - { - $actual = $this->statusMetadataExtractor->extractErrorMessageList( - $this->defaultStatusMetadata, - 'google.ads.googleads.v15.errors.googleadsfailure-bin' - ); - - $this->assertEquals(['failure 1', 'failure 2'], $actual); - } - - public function testExtractErrorMessageListNoMessages() - { - $expected = new GoogleAdsFailure(); - $expected->setErrors([ - new GoogleAdsError([ - 'error_code' => new ErrorCode([ - 'campaign_error' => CampaignError::BUDGET_CANNOT_BE_SHARED - ]) - ]), - new GoogleAdsError([ - 'error_code' => new ErrorCode([ - 'ad_group_error' => AdGroupError::BID_TOO_BIG - ]) - ]) - ]); - $statusMetadata = [ - 'google.ads.googleads.v15.errors.googleadsfailure-bin' => [ - $expected->serializeToString() - ] - ]; - - $actual = $this->statusMetadataExtractor->extractErrorMessageList( - $statusMetadata, - 'google.ads.googleads.v15.errors.googleadsfailure-bin' - ); - - $this->assertEquals(['', ''], $actual); - } - - public function testExtractErrorMessageListNoKey() - { - $statusMetadata = ['dummy-key' => ['dummy-value']]; - $actual = $this->statusMetadataExtractor->extractErrorMessageList( - $statusMetadata, - 'google.ads.googleads.v15.errors.googleadsfailure-bin' - ); - $this->assertEquals([], $actual); - } -} diff --git a/tests/Google/Ads/GoogleAds/Lib/V17/ServiceClientFactoryTraitTest.php b/tests/Google/Ads/GoogleAds/Lib/V17/ServiceClientFactoryTraitTest.php index 69ed2fa06..5ceaea199 100644 --- a/tests/Google/Ads/GoogleAds/Lib/V17/ServiceClientFactoryTraitTest.php +++ b/tests/Google/Ads/GoogleAds/Lib/V17/ServiceClientFactoryTraitTest.php @@ -124,6 +124,7 @@ use Google\Ads\GoogleAds\V17\Services\Client\RecommendationServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\RecommendationSubscriptionServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\RemarketingActionServiceClient; +use Google\Ads\GoogleAds\V17\Services\Client\ShareablePreviewServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\SharedCriterionServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\SharedSetServiceClient; use Google\Ads\GoogleAds\V17\Services\Client\SmartCampaignSettingServiceClient; @@ -1027,6 +1028,14 @@ public function testGetRemarketingActionServiceClient() ); } + public function testGetShareablePreviewServiceClient() + { + $this->assertInstanceOf( + ShareablePreviewServiceClient::class, + $this->googleAdsClient->getShareablePreviewServiceClient() + ); + } + public function testGetSharedCriterionServiceClient() { $this->assertInstanceOf( diff --git a/tests/Google/Ads/GoogleAds/Util/V15/GoogleAdsErrorsTest.php b/tests/Google/Ads/GoogleAds/Util/V15/GoogleAdsErrorsTest.php deleted file mode 100644 index e7dc2c1b5..000000000 --- a/tests/Google/Ads/GoogleAds/Util/V15/GoogleAdsErrorsTest.php +++ /dev/null @@ -1,141 +0,0 @@ -failure = $this->createGoogleAdsFailure(); - $any = new Any(); - $any->pack($this->failure); - $this->status = new Status([ - 'details' => [$any] - ]); - } - - public function testFromStatusWithNoErrors() - { - $emptyStatus = new Status(['details' => []]); - $errors = GoogleAdsErrors::fromStatus(0, $emptyStatus); - $this->assertCount(0, $errors); - } - - public function testFromStatusWithSingleError() - { - $errors = GoogleAdsErrors::fromStatus(0, $this->status); - $this->assertCount(1, $errors); - - $expectedMessage = "A test message."; - $this->assertEquals($expectedMessage, $errors[0]->getMessage()); - } - - public function testFromStatusWithInvalidOperationIndex() - { - $errors = GoogleAdsErrors::fromStatus(1, $this->status); - $this->assertCount(0, $errors); - } - - public function testFromFailureWithNoErrors() - { - $emptyFailure = new GoogleAdsFailure(['errors' => []]); - $errors = GoogleAdsErrors::fromFailure(0, $emptyFailure); - $this->assertCount(0, $errors); - } - - public function testFromFailureWithSingleError() - { - $errors = GoogleAdsErrors::fromFailure(0, $this->failure); - $this->assertCount(1, $errors); - - $expectedMessage = "A test message."; - $this->assertEquals($expectedMessage, $errors[0]->getMessage()); - } - - public function testFromFailureWithInvalidOperationIndex() - { - $errors = GoogleAdsErrors::fromFailure(1, $this->failure); - $this->assertCount(0, $errors); - } - - public function testFromFailureWithMutateOperation() - { - $failureWithMutateOperation = $this->createGoogleAdsFailure("mutate_operations"); - $errors = GoogleAdsErrors::fromFailure(0, $failureWithMutateOperation); - $this->assertCount(1, $errors); - - $expectedMessage = "A test message."; - $this->assertEquals($expectedMessage, $errors[0]->getMessage()); - } - - public function testFromFailureWithConversions() - { - $failureWithConversions = $this->createGoogleAdsFailure("conversions"); - $errors = GoogleAdsErrors::fromFailure(0, $failureWithConversions); - $this->assertCount(1, $errors); - - $expectedMessage = "A test message."; - $this->assertEquals($expectedMessage, $errors[0]->getMessage()); - } - - public function testFromFailureWithConversionAdjustments() - { - $failureWithConversions = $this->createGoogleAdsFailure("conversion_adjustments"); - $errors = GoogleAdsErrors::fromFailure(0, $failureWithConversions); - $this->assertCount(1, $errors); - - $expectedMessage = "A test message."; - $this->assertEquals($expectedMessage, $errors[0]->getMessage()); - } - - private function createGoogleAdsFailure($fieldName = "operations") - { - return new GoogleAdsFailure([ - "errors" => [ - new GoogleAdsError([ - "message" => "A test message.", - "location" => new ErrorLocation([ - "field_path_elements" => [ - new FieldPathElement([ - "index" => 0, - "field_name" => $fieldName - ]) - ] - ]) - ]) - ] - ]); - } -} diff --git a/tests/Google/Ads/GoogleAds/Util/V15/GoogleAdsFailuresTest.php b/tests/Google/Ads/GoogleAds/Util/V15/GoogleAdsFailuresTest.php deleted file mode 100644 index d61ff2a1b..000000000 --- a/tests/Google/Ads/GoogleAds/Util/V15/GoogleAdsFailuresTest.php +++ /dev/null @@ -1,75 +0,0 @@ -pack(new GoogleAdsFailure()); - - $this->assertInstanceOf(GoogleAdsFailure::class, GoogleAdsFailures::fromAny($any)); - } - - public function testFromAnyContainingInvalidTypeWillThrowException() - { - $this->expectException(\InvalidArgumentException::class); - $any = new Any(); - $any->pack(new GoogleAdsError()); - - GoogleAdsFailures::fromAny($any); - } - - public function testFromEmptyStatus() - { - $this->assertCount(0, GoogleAdsFailures::fromStatus(new Status())); - } - - public function testFromStatusWithSingleFailure() - { - $any = new Any(); - $any->pack(new GoogleAdsFailure()); - - $status = new Status(['details' => [$any]]); - $failures = GoogleAdsFailures::fromStatus($status); - $this->assertCount(1, $failures); - $this->assertInstanceOf(GoogleAdsFailure::class, $failures[0]); - } - - public function testFromAnys() - { - $any = new Any(); - $any->pack(new GoogleAdsFailure(['errors' => [new GoogleAdsError()]])); - $any2 = new Any(); - $any2->pack(new GoogleAdsFailure(['errors' => [ - new GoogleAdsError(), new GoogleAdsError(), new GoogleAdsError() - ]])); - - $actualGoogleAdsFailure = GoogleAdsFailures::fromAnys([$any, $any2]); - $this->assertInstanceOf(GoogleAdsFailure::class, $actualGoogleAdsFailure); - $this->assertEquals(4, $actualGoogleAdsFailure->getErrors()->count()); - } -} diff --git a/tests/Google/Ads/GoogleAds/Util/V15/PartialFailuresTest.php b/tests/Google/Ads/GoogleAds/Util/V15/PartialFailuresTest.php deleted file mode 100644 index 98761fdfa..000000000 --- a/tests/Google/Ads/GoogleAds/Util/V15/PartialFailuresTest.php +++ /dev/null @@ -1,46 +0,0 @@ -assertTrue(PartialFailures::isPartialFailure($emptyMessage)); - } - - public function testNotPartialFailure() - { - $someMessage = new Status(['message' => 'a']); - - $this->assertFalse(PartialFailures::isPartialFailure($someMessage)); - } -} diff --git a/tests/Google/Ads/GoogleAds/Util/V15/ResourceNamesTest.php b/tests/Google/Ads/GoogleAds/Util/V15/ResourceNamesTest.php deleted file mode 100644 index 8037920cd..000000000 --- a/tests/Google/Ads/GoogleAds/Util/V15/ResourceNamesTest.php +++ /dev/null @@ -1,3064 +0,0 @@ -assertEquals( - $expectedResourceName, - ResourceNames::forAccessibleBiddingStrategy( - $customerId, - $biddingStrategyId - ) - ); - - $names = CampaignServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($biddingStrategyId, $names['bidding_strategy_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAccountBudget() - */ - public function testGetNameForAccountBudget() - { - $customerId = '111111'; - $accountBudgetId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/accountBudgets/%s", - $customerId, - $accountBudgetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAccountBudget( - $customerId, - $accountBudgetId - ) - ); - - $names = AccountBudgetProposalServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($accountBudgetId, $names['account_budget_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAccountBudgetProposal() - */ - public function testGetNameForAccountBudgetProposal() - { - $customerId = '111111'; - $accountBudgetProposalId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/accountBudgetProposals/%s", - $customerId, - $accountBudgetProposalId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAccountBudgetProposal( - $customerId, - $accountBudgetProposalId - ) - ); - - $names = AccountBudgetProposalServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($accountBudgetProposalId, $names['account_budget_proposal_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAccountLink() - */ - public function testGetNameForAccountLink() - { - $customerId = '111111'; - $accountLinkId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/accountLinks/%s", - $customerId, - $accountLinkId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAccountLink( - $customerId, - $accountLinkId - ) - ); - - $names = AccountLinkServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($accountLinkId, $names['account_link_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAd() - */ - public function testGetNameForAd() - { - $customerId = '111111'; - $adId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/ads/%s", - $customerId, - $adId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAd( - $customerId, - $adId - ) - ); - - $names = AdServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adId, $names['ad_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroup() - */ - public function testGetNameForAdGroup() - { - $customerId = '111111'; - $adGroupId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/adGroups/%s", - $customerId, - $adGroupId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroup( - $customerId, - $adGroupId - ) - ); - - $names = AdGroupServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupAd() - */ - public function testGetNameForAdGroupAd() - { - $customerId = '111111'; - $adGroupId = '222222'; - $adId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/adGroupAds/%s~%s", - $customerId, - $adGroupId, - $adId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupAd( - $customerId, - $adGroupId, - $adId - ) - ); - - $names = AdGroupAdServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($adId, $names['ad_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupAdLabel() - */ - public function testGetNameForAdGroupAdLabel() - { - $customerId = '111111'; - $adGroupId = '222222'; - $adId = '333333'; - $labelId = '444444'; - $expectedResourceName = sprintf( - "customers/%s/adGroupAdLabels/%s~%s~%s", - $customerId, - $adGroupId, - $adId, - $labelId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupAdLabel( - $customerId, - $adGroupId, - $adId, - $labelId - ) - ); - - $names = AdGroupAdLabelServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($adId, $names['ad_id']); - $this->assertEquals($labelId, $names['label_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupAsset() - */ - public function testGetNameForAdGroupAsset() - { - $customerId = '111111'; - $adGroupId = '222222'; - $assetId = '333333'; - $fieldType = '444444'; - $expectedResourceName = sprintf( - "customers/%s/adGroupAssets/%s~%s~%s", - $customerId, - $adGroupId, - $assetId, - $fieldType - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupAsset( - $customerId, - $adGroupId, - $assetId, - $fieldType - ) - ); - - $names = AdGroupAssetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($assetId, $names['asset_id']); - $this->assertEquals($fieldType, $names['field_type']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupAssetSet() - */ - public function testGetNameForAdGroupAssetSet() - { - $customerId = '111111'; - $adGroupId = '222222'; - $assetSetId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/adGroupAssetSets/%s~%s", - $customerId, - $adGroupId, - $assetSetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupAssetSet( - $customerId, - $adGroupId, - $assetSetId - ) - ); - - $names = AdGroupAssetSetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($assetSetId, $names['asset_set_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupBidModifier() - */ - public function testGetNameForAdGroupBidModifier() - { - $customerId = '111111'; - $adGroupId = '222222'; - $criterionId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/adGroupBidModifiers/%s~%s", - $customerId, - $adGroupId, - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupBidModifier( - $customerId, - $adGroupId, - $criterionId - ) - ); - - $names = AdGroupBidModifierServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupCriterion() - */ - public function testGetNameForAdGroupCriterion() - { - $customerId = '111111'; - $adGroupId = '222222'; - $criterionId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/adGroupCriteria/%s~%s", - $customerId, - $adGroupId, - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupCriterion( - $customerId, - $adGroupId, - $criterionId - ) - ); - - $names = AdGroupCriterionServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupCriterionCustomizer() - */ - public function testGetNameForAdGroupCriterionCustomizer() - { - $customerId = '111111'; - $adGroupId = '222222'; - $criterionId = '333333'; - $customizerAttributeId = '444444'; - $expectedResourceName = sprintf( - "customers/%s/adGroupCriterionCustomizers/%s~%s~%s", - $customerId, - $adGroupId, - $criterionId, - $customizerAttributeId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupCriterionCustomizer( - $customerId, - $adGroupId, - $criterionId, - $customizerAttributeId - ) - ); - - $names = AdGroupCriterionCustomizerServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - $this->assertEquals($customizerAttributeId, $names['customizer_attribute_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupCriterionLabel() - */ - public function testGetNameForAdGroupCriterionLabel() - { - $customerId = '111111'; - $adGroupId = '222222'; - $criterionId = '333333'; - $labelId = '444444'; - $expectedResourceName = sprintf( - "customers/%s/adGroupCriterionLabels/%s~%s~%s", - $customerId, - $adGroupId, - $criterionId, - $labelId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupCriterionLabel( - $customerId, - $adGroupId, - $criterionId, - $labelId - ) - ); - - $names = AdGroupCriterionLabelServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - $this->assertEquals($labelId, $names['label_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupCustomizer() - */ - public function testGetNameForAdGroupCustomizer() - { - $customerId = '111111'; - $adGroupId = '222222'; - $customizerAttributeId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/adGroupCustomizers/%s~%s", - $customerId, - $adGroupId, - $customizerAttributeId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupCustomizer( - $customerId, - $adGroupId, - $customizerAttributeId - ) - ); - - $names = AdGroupCustomizerServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($customizerAttributeId, $names['customizer_attribute_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupExtensionSetting() - */ - public function testGetNameForAdGroupExtensionSetting() - { - $customerId = '111111'; - $adGroupId = '222222'; - $extensionType = '333333'; - $expectedResourceName = sprintf( - "customers/%s/adGroupExtensionSettings/%s~%s", - $customerId, - $adGroupId, - $extensionType - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupExtensionSetting( - $customerId, - $adGroupId, - $extensionType - ) - ); - - $names = AdGroupExtensionSettingServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($extensionType, $names['extension_type']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupFeed() - */ - public function testGetNameForAdGroupFeed() - { - $customerId = '111111'; - $adGroupId = '222222'; - $feedId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/adGroupFeeds/%s~%s", - $customerId, - $adGroupId, - $feedId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupFeed( - $customerId, - $adGroupId, - $feedId - ) - ); - - $names = AdGroupFeedServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($feedId, $names['feed_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdGroupLabel() - */ - public function testGetNameForAdGroupLabel() - { - $customerId = '111111'; - $adGroupId = '222222'; - $labelId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/adGroupLabels/%s~%s", - $customerId, - $adGroupId, - $labelId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdGroupLabel( - $customerId, - $adGroupId, - $labelId - ) - ); - - $names = AdGroupLabelServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($labelId, $names['label_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAdParameter() - */ - public function testGetNameForAdParameter() - { - $customerId = '111111'; - $adGroupId = '222222'; - $criterionId = '333333'; - $parameterIndex = '444444'; - $expectedResourceName = sprintf( - "customers/%s/adParameters/%s~%s~%s", - $customerId, - $adGroupId, - $criterionId, - $parameterIndex - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAdParameter( - $customerId, - $adGroupId, - $criterionId, - $parameterIndex - ) - ); - - $names = AdParameterServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($adGroupId, $names['ad_group_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - $this->assertEquals($parameterIndex, $names['parameter_index']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAsset() - */ - public function testGetNameForAsset() - { - $customerId = '111111'; - $assetId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/assets/%s", - $customerId, - $assetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAsset( - $customerId, - $assetId - ) - ); - - $names = AssetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetId, $names['asset_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAssetGroup() - */ - public function testGetNameForAssetGroup() - { - $customerId = '111111'; - $assetGroupId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/assetGroups/%s", - $customerId, - $assetGroupId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAssetGroup( - $customerId, - $assetGroupId - ) - ); - - $names = AssetGroupServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetGroupId, $names['asset_group_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAssetGroupAsset() - */ - public function testGetNameForAssetGroupAsset() - { - $customerId = '111111'; - $assetGroupId = '222222'; - $assetId = '333333'; - $fieldType = '444444'; - $expectedResourceName = sprintf( - "customers/%s/assetGroupAssets/%s~%s~%s", - $customerId, - $assetGroupId, - $assetId, - $fieldType - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAssetGroupAsset( - $customerId, - $assetGroupId, - $assetId, - $fieldType - ) - ); - - $names = AssetGroupAssetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetGroupId, $names['asset_group_id']); - $this->assertEquals($assetId, $names['asset_id']); - $this->assertEquals($fieldType, $names['field_type']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAssetGroupListingGroupFilter() - */ - public function testGetNameForAssetGroupListingGroupFilter() - { - $customerId = '111111'; - $assetGroupId = '222222'; - $listingGroupFilterId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/assetGroupListingGroupFilters/%s~%s", - $customerId, - $assetGroupId, - $listingGroupFilterId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAssetGroupListingGroupFilter( - $customerId, - $assetGroupId, - $listingGroupFilterId - ) - ); - - $names = AssetGroupListingGroupFilterServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetGroupId, $names['asset_group_id']); - $this->assertEquals($listingGroupFilterId, $names['listing_group_filter_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAssetGroupSignal() - */ - public function testGetNameForAssetGroupSignal() - { - $customerId = '111111'; - $assetGroupId = '222222'; - $criterionId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/assetGroupSignals/%s~%s", - $customerId, - $assetGroupId, - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAssetGroupSignal( - $customerId, - $assetGroupId, - $criterionId - ) - ); - - $names = AssetGroupSignalServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetGroupId, $names['asset_group_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAssetSet() - */ - public function testGetNameForAssetSet() - { - $customerId = '111111'; - $assetSetId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/assetSets/%s", - $customerId, - $assetSetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAssetSet( - $customerId, - $assetSetId - ) - ); - - $names = AssetSetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetSetId, $names['asset_set_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAssetSetAsset() - */ - public function testGetNameForAssetSetAsset() - { - $customerId = '111111'; - $assetSetId = '222222'; - $assetId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/assetSetAssets/%s~%s", - $customerId, - $assetSetId, - $assetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAssetSetAsset( - $customerId, - $assetSetId, - $assetId - ) - ); - - $names = AssetSetAssetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetSetId, $names['asset_set_id']); - $this->assertEquals($assetId, $names['asset_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forAudience() - */ - public function testGetNameForAudience() - { - $customerId = '111111'; - $audienceId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/audiences/%s", - $customerId, - $audienceId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forAudience( - $customerId, - $audienceId - ) - ); - - $names = AudienceServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($audienceId, $names['audience_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forBatchJob() - */ - public function testGetNameForBatchJob() - { - $customerId = '111111'; - $batchJobId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/batchJobs/%s", - $customerId, - $batchJobId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forBatchJob( - $customerId, - $batchJobId - ) - ); - - $names = BatchJobServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($batchJobId, $names['batch_job_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forBiddingDataExclusion() - */ - public function testGetNameForBiddingDataExclusion() - { - $customerId = '111111'; - $seasonalityEventId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/biddingDataExclusions/%s", - $customerId, - $seasonalityEventId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forBiddingDataExclusion( - $customerId, - $seasonalityEventId - ) - ); - - $names = BiddingDataExclusionServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($seasonalityEventId, $names['seasonality_event_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forBiddingSeasonalityAdjustment() - */ - public function testGetNameForBiddingSeasonalityAdjustment() - { - $customerId = '111111'; - $seasonalityEventId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/biddingSeasonalityAdjustments/%s", - $customerId, - $seasonalityEventId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forBiddingSeasonalityAdjustment( - $customerId, - $seasonalityEventId - ) - ); - - $names = BiddingSeasonalityAdjustmentServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($seasonalityEventId, $names['seasonality_event_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forBiddingStrategy() - */ - public function testGetNameForBiddingStrategy() - { - $customerId = '111111'; - $biddingStrategyId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/biddingStrategies/%s", - $customerId, - $biddingStrategyId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forBiddingStrategy( - $customerId, - $biddingStrategyId - ) - ); - - $names = BiddingStrategyServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($biddingStrategyId, $names['bidding_strategy_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forBillingSetup() - */ - public function testGetNameForBillingSetup() - { - $customerId = '111111'; - $billingSetupId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/billingSetups/%s", - $customerId, - $billingSetupId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forBillingSetup( - $customerId, - $billingSetupId - ) - ); - - $names = BillingSetupServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($billingSetupId, $names['billing_setup_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaign() - */ - public function testGetNameForCampaign() - { - $customerId = '111111'; - $campaignId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/campaigns/%s", - $customerId, - $campaignId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaign( - $customerId, - $campaignId - ) - ); - - $names = CampaignServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignAsset() - */ - public function testGetNameForCampaignAsset() - { - $customerId = '111111'; - $campaignId = '222222'; - $assetId = '333333'; - $fieldType = '444444'; - $expectedResourceName = sprintf( - "customers/%s/campaignAssets/%s~%s~%s", - $customerId, - $campaignId, - $assetId, - $fieldType - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignAsset( - $customerId, - $campaignId, - $assetId, - $fieldType - ) - ); - - $names = CampaignAssetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($assetId, $names['asset_id']); - $this->assertEquals($fieldType, $names['field_type']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignAssetSet() - */ - public function testGetNameForCampaignAssetSet() - { - $customerId = '111111'; - $campaignId = '222222'; - $assetSetId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignAssetSets/%s~%s", - $customerId, - $campaignId, - $assetSetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignAssetSet( - $customerId, - $campaignId, - $assetSetId - ) - ); - - $names = CampaignAssetSetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($assetSetId, $names['asset_set_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignBidModifier() - */ - public function testGetNameForCampaignBidModifier() - { - $customerId = '111111'; - $campaignId = '222222'; - $criterionId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignBidModifiers/%s~%s", - $customerId, - $campaignId, - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignBidModifier( - $customerId, - $campaignId, - $criterionId - ) - ); - - $names = CampaignBidModifierServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignBudget() - */ - public function testGetNameForCampaignBudget() - { - $customerId = '111111'; - $campaignBudgetId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/campaignBudgets/%s", - $customerId, - $campaignBudgetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignBudget( - $customerId, - $campaignBudgetId - ) - ); - - $names = CampaignBudgetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignBudgetId, $names['campaign_budget_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignConversionGoal() - */ - public function testGetNameForCampaignConversionGoal() - { - $customerId = '111111'; - $campaignId = '222222'; - $category = '333333'; - $source = '444444'; - $expectedResourceName = sprintf( - "customers/%s/campaignConversionGoals/%s~%s~%s", - $customerId, - $campaignId, - $category, - $source - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignConversionGoal( - $customerId, - $campaignId, - $category, - $source - ) - ); - - $names = CampaignConversionGoalServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($category, $names['category']); - $this->assertEquals($source, $names['source']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignCriterion() - */ - public function testGetNameForCampaignCriterion() - { - $customerId = '111111'; - $campaignId = '222222'; - $criterionId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignCriteria/%s~%s", - $customerId, - $campaignId, - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignCriterion( - $customerId, - $campaignId, - $criterionId - ) - ); - - $names = CampaignCriterionServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignCustomizer() - */ - public function testGetNameForCampaignCustomizer() - { - $customerId = '111111'; - $campaignId = '222222'; - $customizerAttributeId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignCustomizers/%s~%s", - $customerId, - $campaignId, - $customizerAttributeId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignCustomizer( - $customerId, - $campaignId, - $customizerAttributeId - ) - ); - - $names = CampaignCustomizerServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($customizerAttributeId, $names['customizer_attribute_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignDraft() - */ - public function testGetNameForCampaignDraft() - { - $customerId = '111111'; - $baseCampaignId = '222222'; - $draftId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignDrafts/%s~%s", - $customerId, - $baseCampaignId, - $draftId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignDraft( - $customerId, - $baseCampaignId, - $draftId - ) - ); - - $names = CampaignDraftServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($baseCampaignId, $names['base_campaign_id']); - $this->assertEquals($draftId, $names['draft_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignExtensionSetting() - */ - public function testGetNameForCampaignExtensionSetting() - { - $customerId = '111111'; - $campaignId = '222222'; - $extensionType = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignExtensionSettings/%s~%s", - $customerId, - $campaignId, - $extensionType - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignExtensionSetting( - $customerId, - $campaignId, - $extensionType - ) - ); - - $names = CampaignExtensionSettingServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($extensionType, $names['extension_type']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignFeed() - */ - public function testGetNameForCampaignFeed() - { - $customerId = '111111'; - $campaignId = '222222'; - $feedId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignFeeds/%s~%s", - $customerId, - $campaignId, - $feedId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignFeed( - $customerId, - $campaignId, - $feedId - ) - ); - - $names = CampaignFeedServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($feedId, $names['feed_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignGroup() - */ - public function testGetNameForCampaignGroup() - { - $customerId = '111111'; - $campaignGroupId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/campaignGroups/%s", - $customerId, - $campaignGroupId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignGroup( - $customerId, - $campaignGroupId - ) - ); - - $names = CampaignGroupServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignGroupId, $names['campaign_group_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignLabel() - */ - public function testGetNameForCampaignLabel() - { - $customerId = '111111'; - $campaignId = '222222'; - $labelId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignLabels/%s~%s", - $customerId, - $campaignId, - $labelId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignLabel( - $customerId, - $campaignId, - $labelId - ) - ); - - $names = CampaignLabelServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($labelId, $names['label_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignLifecycleGoal() - */ - public function testGetNameForCampaignLifecycleGoal() - { - $customerId = '111111'; - $campaignId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/campaignLifecycleGoals/%s", - $customerId, - $campaignId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignLifecycleGoal( - $customerId, - $campaignId - ) - ); - - $names = CampaignLifecycleGoalServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCampaignSharedSet() - */ - public function testGetNameForCampaignSharedSet() - { - $customerId = '111111'; - $campaignId = '222222'; - $sharedSetId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/campaignSharedSets/%s~%s", - $customerId, - $campaignId, - $sharedSetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCampaignSharedSet( - $customerId, - $campaignId, - $sharedSetId - ) - ); - - $names = CampaignSharedSetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - $this->assertEquals($sharedSetId, $names['shared_set_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCarrierConstant() - */ - public function testGetNameForCarrierConstant() - { - $criterionId = '111111'; - $expectedResourceName = sprintf( - "carrierConstants/%s", - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCarrierConstant( - $criterionId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCombinedAudience() - */ - public function testGetNameForCombinedAudience() - { - $customerId = '111111'; - $combinedAudienceId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/combinedAudiences/%s", - $customerId, - $combinedAudienceId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCombinedAudience( - $customerId, - $combinedAudienceId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($combinedAudienceId, $names['combined_audience_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forConversionAction() - */ - public function testGetNameForConversionAction() - { - $customerId = '111111'; - $conversionActionId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/conversionActions/%s", - $customerId, - $conversionActionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forConversionAction( - $customerId, - $conversionActionId - ) - ); - - $names = ConversionActionServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($conversionActionId, $names['conversion_action_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forConversionCustomVariable() - */ - public function testGetNameForConversionCustomVariable() - { - $customerId = '111111'; - $conversionCustomVariableId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/conversionCustomVariables/%s", - $customerId, - $conversionCustomVariableId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forConversionCustomVariable( - $customerId, - $conversionCustomVariableId - ) - ); - - $names = ConversionCustomVariableServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($conversionCustomVariableId, $names['conversion_custom_variable_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forConversionGoalCampaignConfig() - */ - public function testGetNameForConversionGoalCampaignConfig() - { - $customerId = '111111'; - $campaignId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/conversionGoalCampaignConfigs/%s", - $customerId, - $campaignId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forConversionGoalCampaignConfig( - $customerId, - $campaignId - ) - ); - - $names = ConversionGoalCampaignConfigServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forConversionValueRule() - */ - public function testGetNameForConversionValueRule() - { - $customerId = '111111'; - $conversionValueRuleId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/conversionValueRules/%s", - $customerId, - $conversionValueRuleId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forConversionValueRule( - $customerId, - $conversionValueRuleId - ) - ); - - $names = ConversionValueRuleServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($conversionValueRuleId, $names['conversion_value_rule_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forConversionValueRuleSet() - */ - public function testGetNameForConversionValueRuleSet() - { - $customerId = '111111'; - $conversionValueRuleSetId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/conversionValueRuleSets/%s", - $customerId, - $conversionValueRuleSetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forConversionValueRuleSet( - $customerId, - $conversionValueRuleSetId - ) - ); - - $names = ConversionValueRuleSetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($conversionValueRuleSetId, $names['conversion_value_rule_set_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomAudience() - */ - public function testGetNameForCustomAudience() - { - $customerId = '111111'; - $customAudienceId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customAudiences/%s", - $customerId, - $customAudienceId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomAudience( - $customerId, - $customAudienceId - ) - ); - - $names = CustomAudienceServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($customAudienceId, $names['custom_audience_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomConversionGoal() - */ - public function testGetNameForCustomConversionGoal() - { - $customerId = '111111'; - $goalId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customConversionGoals/%s", - $customerId, - $goalId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomConversionGoal( - $customerId, - $goalId - ) - ); - - $names = CustomConversionGoalServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($goalId, $names['goal_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomer() - */ - public function testGetNameForCustomer() - { - $customerId = '111111'; - $expectedResourceName = sprintf( - "customers/%s", - $customerId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomer( - $customerId - ) - ); - - $names = CustomerServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerAsset() - */ - public function testGetNameForCustomerAsset() - { - $customerId = '111111'; - $assetId = '222222'; - $fieldType = '333333'; - $expectedResourceName = sprintf( - "customers/%s/customerAssets/%s~%s", - $customerId, - $assetId, - $fieldType - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerAsset( - $customerId, - $assetId, - $fieldType - ) - ); - - $names = CustomerAssetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetId, $names['asset_id']); - $this->assertEquals($fieldType, $names['field_type']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerAssetSet() - */ - public function testGetNameForCustomerAssetSet() - { - $customerId = '111111'; - $assetSetId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerAssetSets/%s", - $customerId, - $assetSetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerAssetSet( - $customerId, - $assetSetId - ) - ); - - $names = CustomerAssetSetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($assetSetId, $names['asset_set_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerClientLink() - */ - public function testGetNameForCustomerClientLink() - { - $customerId = '111111'; - $clientCustomerId = '222222'; - $managerLinkId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/customerClientLinks/%s~%s", - $customerId, - $clientCustomerId, - $managerLinkId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerClientLink( - $customerId, - $clientCustomerId, - $managerLinkId - ) - ); - - $names = CustomerClientLinkServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($clientCustomerId, $names['client_customer_id']); - $this->assertEquals($managerLinkId, $names['manager_link_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerConversionGoal() - */ - public function testGetNameForCustomerConversionGoal() - { - $customerId = '111111'; - $category = '222222'; - $source = '333333'; - $expectedResourceName = sprintf( - "customers/%s/customerConversionGoals/%s~%s", - $customerId, - $category, - $source - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerConversionGoal( - $customerId, - $category, - $source - ) - ); - - $names = CustomerConversionGoalServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($category, $names['category']); - $this->assertEquals($source, $names['source']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerCustomizer() - */ - public function testGetNameForCustomerCustomizer() - { - $customerId = '111111'; - $customizerAttributeId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerCustomizers/%s", - $customerId, - $customizerAttributeId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerCustomizer( - $customerId, - $customizerAttributeId - ) - ); - - $names = CustomerCustomizerServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($customizerAttributeId, $names['customizer_attribute_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerExtensionSetting() - */ - public function testGetNameForCustomerExtensionSetting() - { - $customerId = '111111'; - $extensionType = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerExtensionSettings/%s", - $customerId, - $extensionType - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerExtensionSetting( - $customerId, - $extensionType - ) - ); - - $names = CustomerExtensionSettingServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($extensionType, $names['extension_type']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerFeed() - */ - public function testGetNameForCustomerFeed() - { - $customerId = '111111'; - $feedId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerFeeds/%s", - $customerId, - $feedId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerFeed( - $customerId, - $feedId - ) - ); - - $names = CustomerFeedServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($feedId, $names['feed_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerLabel() - */ - public function testGetNameForCustomerLabel() - { - $customerId = '111111'; - $labelId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerLabels/%s", - $customerId, - $labelId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerLabel( - $customerId, - $labelId - ) - ); - - $names = CustomerLabelServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($labelId, $names['label_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerLifecycleGoal() - */ - public function testGetNameForCustomerLifecycleGoal() - { - $customerId = '111111'; - $expectedResourceName = sprintf( - "customers/%s/customerLifecycleGoals", - $customerId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerLifecycleGoal( - $customerId - ) - ); - - $names = CustomerLifecycleGoalServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerManagerLink() - */ - public function testGetNameForCustomerManagerLink() - { - $customerId = '111111'; - $managerCustomerId = '222222'; - $managerLinkId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/customerManagerLinks/%s~%s", - $customerId, - $managerCustomerId, - $managerLinkId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerManagerLink( - $customerId, - $managerCustomerId, - $managerLinkId - ) - ); - - $names = CustomerManagerLinkServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($managerCustomerId, $names['manager_customer_id']); - $this->assertEquals($managerLinkId, $names['manager_link_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerNegativeCriterion() - */ - public function testGetNameForCustomerNegativeCriterion() - { - $customerId = '111111'; - $criterionId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerNegativeCriteria/%s", - $customerId, - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerNegativeCriterion( - $customerId, - $criterionId - ) - ); - - $names = CustomerNegativeCriterionServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerSkAdNetworkConversionValueSchema() - */ - public function testGetNameForCustomerSkAdNetworkConversionValueSchema() - { - $customerId = '111111'; - $accountLinkId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerSkAdNetworkConversionValueSchemas/%s", - $customerId, - $accountLinkId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerSkAdNetworkConversionValueSchema( - $customerId, - $accountLinkId - ) - ); - - $names = CustomerSkAdNetworkConversionValueSchemaServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($accountLinkId, $names['account_link_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerUserAccess() - */ - public function testGetNameForCustomerUserAccess() - { - $customerId = '111111'; - $userId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerUserAccesses/%s", - $customerId, - $userId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerUserAccess( - $customerId, - $userId - ) - ); - - $names = CustomerUserAccessServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($userId, $names['user_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomerUserAccessInvitation() - */ - public function testGetNameForCustomerUserAccessInvitation() - { - $customerId = '111111'; - $invitationId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customerUserAccessInvitations/%s", - $customerId, - $invitationId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomerUserAccessInvitation( - $customerId, - $invitationId - ) - ); - - $names = CustomerUserAccessInvitationServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($invitationId, $names['invitation_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomInterest() - */ - public function testGetNameForCustomInterest() - { - $customerId = '111111'; - $customInterestId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customInterests/%s", - $customerId, - $customInterestId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomInterest( - $customerId, - $customInterestId - ) - ); - - $names = CustomInterestServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($customInterestId, $names['custom_interest_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forCustomizerAttribute() - */ - public function testGetNameForCustomizerAttribute() - { - $customerId = '111111'; - $customizerAttributeId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/customizerAttributes/%s", - $customerId, - $customizerAttributeId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forCustomizerAttribute( - $customerId, - $customizerAttributeId - ) - ); - - $names = CustomizerAttributeServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($customizerAttributeId, $names['customizer_attribute_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forDetailedDemographic() - */ - public function testGetNameForDetailedDemographic() - { - $customerId = '111111'; - $detailedDemographicId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/detailedDemographics/%s", - $customerId, - $detailedDemographicId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forDetailedDemographic( - $customerId, - $detailedDemographicId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($detailedDemographicId, $names['detailed_demographic_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forExperiment() - */ - public function testGetNameForExperiment() - { - $customerId = '111111'; - $trialId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/experiments/%s", - $customerId, - $trialId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forExperiment( - $customerId, - $trialId - ) - ); - - $names = ExperimentServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($trialId, $names['trial_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forExperimentArm() - */ - public function testGetNameForExperimentArm() - { - $customerId = '111111'; - $trialId = '222222'; - $trialArmId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/experimentArms/%s~%s", - $customerId, - $trialId, - $trialArmId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forExperimentArm( - $customerId, - $trialId, - $trialArmId - ) - ); - - $names = ExperimentArmServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($trialId, $names['trial_id']); - $this->assertEquals($trialArmId, $names['trial_arm_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forExtensionFeedItem() - */ - public function testGetNameForExtensionFeedItem() - { - $customerId = '111111'; - $feedItemId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/extensionFeedItems/%s", - $customerId, - $feedItemId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forExtensionFeedItem( - $customerId, - $feedItemId - ) - ); - - $names = ExtensionFeedItemServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($feedItemId, $names['feed_item_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forFeed() - */ - public function testGetNameForFeed() - { - $customerId = '111111'; - $feedId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/feeds/%s", - $customerId, - $feedId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forFeed( - $customerId, - $feedId - ) - ); - - $names = FeedServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($feedId, $names['feed_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forFeedItem() - */ - public function testGetNameForFeedItem() - { - $customerId = '111111'; - $feedId = '222222'; - $feedItemId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/feedItems/%s~%s", - $customerId, - $feedId, - $feedItemId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forFeedItem( - $customerId, - $feedId, - $feedItemId - ) - ); - - $names = FeedItemServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($feedId, $names['feed_id']); - $this->assertEquals($feedItemId, $names['feed_item_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forFeedItemSet() - */ - public function testGetNameForFeedItemSet() - { - $customerId = '111111'; - $feedId = '222222'; - $feedItemSetId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/feedItemSets/%s~%s", - $customerId, - $feedId, - $feedItemSetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forFeedItemSet( - $customerId, - $feedId, - $feedItemSetId - ) - ); - - $names = FeedItemSetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($feedId, $names['feed_id']); - $this->assertEquals($feedItemSetId, $names['feed_item_set_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forFeedItemSetLink() - */ - public function testGetNameForFeedItemSetLink() - { - $customerId = '111111'; - $feedId = '222222'; - $feedItemSetId = '333333'; - $feedItemId = '444444'; - $expectedResourceName = sprintf( - "customers/%s/feedItemSetLinks/%s~%s~%s", - $customerId, - $feedId, - $feedItemSetId, - $feedItemId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forFeedItemSetLink( - $customerId, - $feedId, - $feedItemSetId, - $feedItemId - ) - ); - - $names = FeedItemSetLinkServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($feedId, $names['feed_id']); - $this->assertEquals($feedItemSetId, $names['feed_item_set_id']); - $this->assertEquals($feedItemId, $names['feed_item_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forFeedItemTarget() - */ - public function testGetNameForFeedItemTarget() - { - $customerId = '111111'; - $feedId = '222222'; - $feedItemId = '333333'; - $feedItemTargetType = '444444'; - $feedItemTargetId = '555555'; - $expectedResourceName = sprintf( - "customers/%s/feedItemTargets/%s~%s~%s~%s", - $customerId, - $feedId, - $feedItemId, - $feedItemTargetType, - $feedItemTargetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forFeedItemTarget( - $customerId, - $feedId, - $feedItemId, - $feedItemTargetType, - $feedItemTargetId - ) - ); - - $names = FeedItemTargetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($feedId, $names['feed_id']); - $this->assertEquals($feedItemId, $names['feed_item_id']); - $this->assertEquals($feedItemTargetType, $names['feed_item_target_type']); - $this->assertEquals($feedItemTargetId, $names['feed_item_target_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forFeedMapping() - */ - public function testGetNameForFeedMapping() - { - $customerId = '111111'; - $feedId = '222222'; - $feedMappingId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/feedMappings/%s~%s", - $customerId, - $feedId, - $feedMappingId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forFeedMapping( - $customerId, - $feedId, - $feedMappingId - ) - ); - - $names = FeedMappingServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($feedId, $names['feed_id']); - $this->assertEquals($feedMappingId, $names['feed_mapping_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forGeoTargetConstant() - */ - public function testGetNameForGeoTargetConstant() - { - $criterionId = '111111'; - $expectedResourceName = sprintf( - "geoTargetConstants/%s", - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forGeoTargetConstant( - $criterionId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forGoogleAdsField() - */ - public function testGetNameForGoogleAdsField() - { - $googleAdsField = '111111'; - $expectedResourceName = sprintf( - "googleAdsFields/%s", - $googleAdsField - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forGoogleAdsField( - $googleAdsField - ) - ); - - $names = GoogleAdsFieldServiceClient::parseName($expectedResourceName); - $this->assertEquals($googleAdsField, $names['google_ads_field']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forKeywordPlan() - */ - public function testGetNameForKeywordPlan() - { - $customerId = '111111'; - $keywordPlanId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/keywordPlans/%s", - $customerId, - $keywordPlanId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forKeywordPlan( - $customerId, - $keywordPlanId - ) - ); - - $names = KeywordPlanServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($keywordPlanId, $names['keyword_plan_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forKeywordPlanAdGroup() - */ - public function testGetNameForKeywordPlanAdGroup() - { - $customerId = '111111'; - $keywordPlanAdGroupId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/keywordPlanAdGroups/%s", - $customerId, - $keywordPlanAdGroupId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forKeywordPlanAdGroup( - $customerId, - $keywordPlanAdGroupId - ) - ); - - $names = KeywordPlanAdGroupServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($keywordPlanAdGroupId, $names['keyword_plan_ad_group_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forKeywordPlanAdGroupKeyword() - */ - public function testGetNameForKeywordPlanAdGroupKeyword() - { - $customerId = '111111'; - $keywordPlanAdGroupKeywordId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/keywordPlanAdGroupKeywords/%s", - $customerId, - $keywordPlanAdGroupKeywordId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forKeywordPlanAdGroupKeyword( - $customerId, - $keywordPlanAdGroupKeywordId - ) - ); - - $names = KeywordPlanAdGroupKeywordServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($keywordPlanAdGroupKeywordId, $names['keyword_plan_ad_group_keyword_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forKeywordPlanCampaign() - */ - public function testGetNameForKeywordPlanCampaign() - { - $customerId = '111111'; - $keywordPlanCampaignId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/keywordPlanCampaigns/%s", - $customerId, - $keywordPlanCampaignId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forKeywordPlanCampaign( - $customerId, - $keywordPlanCampaignId - ) - ); - - $names = KeywordPlanCampaignServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($keywordPlanCampaignId, $names['keyword_plan_campaign_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forKeywordPlanCampaignKeyword() - */ - public function testGetNameForKeywordPlanCampaignKeyword() - { - $customerId = '111111'; - $keywordPlanCampaignKeywordId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/keywordPlanCampaignKeywords/%s", - $customerId, - $keywordPlanCampaignKeywordId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forKeywordPlanCampaignKeyword( - $customerId, - $keywordPlanCampaignKeywordId - ) - ); - - $names = KeywordPlanCampaignKeywordServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($keywordPlanCampaignKeywordId, $names['keyword_plan_campaign_keyword_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forKeywordThemeConstant() - */ - public function testGetNameForKeywordThemeConstant() - { - $expressCategoryId = '111111'; - $expressSubCategoryId = '222222'; - $expectedResourceName = sprintf( - "keywordThemeConstants/%s~%s", - $expressCategoryId, - $expressSubCategoryId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forKeywordThemeConstant( - $expressCategoryId, - $expressSubCategoryId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($expressCategoryId, $names['express_category_id']); - $this->assertEquals($expressSubCategoryId, $names['express_sub_category_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forLabel() - */ - public function testGetNameForLabel() - { - $customerId = '111111'; - $labelId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/labels/%s", - $customerId, - $labelId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forLabel( - $customerId, - $labelId - ) - ); - - $names = LabelServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($labelId, $names['label_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forLanguageConstant() - */ - public function testGetNameForLanguageConstant() - { - $criterionId = '111111'; - $expectedResourceName = sprintf( - "languageConstants/%s", - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forLanguageConstant( - $criterionId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forLifeEvent() - */ - public function testGetNameForLifeEvent() - { - $customerId = '111111'; - $lifeEventId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/lifeEvents/%s", - $customerId, - $lifeEventId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forLifeEvent( - $customerId, - $lifeEventId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($lifeEventId, $names['life_event_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forMobileAppCategoryConstant() - */ - public function testGetNameForMobileAppCategoryConstant() - { - $mobileAppCategoryId = '111111'; - $expectedResourceName = sprintf( - "mobileAppCategoryConstants/%s", - $mobileAppCategoryId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forMobileAppCategoryConstant( - $mobileAppCategoryId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($mobileAppCategoryId, $names['mobile_app_category_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forMobileDeviceConstant() - */ - public function testGetNameForMobileDeviceConstant() - { - $criterionId = '111111'; - $expectedResourceName = sprintf( - "mobileDeviceConstants/%s", - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forMobileDeviceConstant( - $criterionId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forOfflineUserDataJob() - */ - public function testGetNameForOfflineUserDataJob() - { - $customerId = '111111'; - $offlineUserDataUpdateId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/offlineUserDataJobs/%s", - $customerId, - $offlineUserDataUpdateId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forOfflineUserDataJob( - $customerId, - $offlineUserDataUpdateId - ) - ); - - $names = OfflineUserDataJobServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($offlineUserDataUpdateId, $names['offline_user_data_update_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forOperatingSystemVersionConstant() - */ - public function testGetNameForOperatingSystemVersionConstant() - { - $criterionId = '111111'; - $expectedResourceName = sprintf( - "operatingSystemVersionConstants/%s", - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forOperatingSystemVersionConstant( - $criterionId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forPaymentsAccount() - */ - public function testGetNameForPaymentsAccount() - { - $customerId = '111111'; - $paymentsAccountId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/paymentsAccounts/%s", - $customerId, - $paymentsAccountId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forPaymentsAccount( - $customerId, - $paymentsAccountId - ) - ); - - $names = BillingSetupServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($paymentsAccountId, $names['payments_account_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forProductLink() - */ - public function testGetNameForProductLink() - { - $customerId = '111111'; - $productLinkId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/productLinks/%s", - $customerId, - $productLinkId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forProductLink( - $customerId, - $productLinkId - ) - ); - - $names = ProductLinkServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($productLinkId, $names['product_link_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forProductLinkInvitation() - */ - public function testGetNameForProductLinkInvitation() - { - $customerId = '111111'; - $customerInvitationId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/productLinkInvitations/%s", - $customerId, - $customerInvitationId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forProductLinkInvitation( - $customerId, - $customerInvitationId - ) - ); - - $names = ProductLinkInvitationServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($customerInvitationId, $names['customer_invitation_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forRecommendation() - */ - public function testGetNameForRecommendation() - { - $customerId = '111111'; - $recommendationId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/recommendations/%s", - $customerId, - $recommendationId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forRecommendation( - $customerId, - $recommendationId - ) - ); - - $names = RecommendationServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($recommendationId, $names['recommendation_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forRecommendationSubscription() - */ - public function testGetNameForRecommendationSubscription() - { - $customerId = '111111'; - $recommendationType = '222222'; - $expectedResourceName = sprintf( - "customers/%s/recommendationSubscriptions/%s", - $customerId, - $recommendationType - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forRecommendationSubscription( - $customerId, - $recommendationType - ) - ); - - $names = RecommendationSubscriptionServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($recommendationType, $names['recommendation_type']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forRemarketingAction() - */ - public function testGetNameForRemarketingAction() - { - $customerId = '111111'; - $remarketingActionId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/remarketingActions/%s", - $customerId, - $remarketingActionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forRemarketingAction( - $customerId, - $remarketingActionId - ) - ); - - $names = RemarketingActionServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($remarketingActionId, $names['remarketing_action_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forSharedCriterion() - */ - public function testGetNameForSharedCriterion() - { - $customerId = '111111'; - $sharedSetId = '222222'; - $criterionId = '333333'; - $expectedResourceName = sprintf( - "customers/%s/sharedCriteria/%s~%s", - $customerId, - $sharedSetId, - $criterionId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forSharedCriterion( - $customerId, - $sharedSetId, - $criterionId - ) - ); - - $names = SharedCriterionServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($sharedSetId, $names['shared_set_id']); - $this->assertEquals($criterionId, $names['criterion_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forSharedSet() - */ - public function testGetNameForSharedSet() - { - $customerId = '111111'; - $sharedSetId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/sharedSets/%s", - $customerId, - $sharedSetId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forSharedSet( - $customerId, - $sharedSetId - ) - ); - - $names = SharedSetServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($sharedSetId, $names['shared_set_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forSmartCampaignSetting() - */ - public function testGetNameForSmartCampaignSetting() - { - $customerId = '111111'; - $campaignId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/smartCampaignSettings/%s", - $customerId, - $campaignId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forSmartCampaignSetting( - $customerId, - $campaignId - ) - ); - - $names = SmartCampaignSettingServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($campaignId, $names['campaign_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forThirdPartyAppAnalyticsLink() - */ - public function testGetNameForThirdPartyAppAnalyticsLink() - { - $customerId = '111111'; - $customerLinkId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/thirdPartyAppAnalyticsLinks/%s", - $customerId, - $customerLinkId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forThirdPartyAppAnalyticsLink( - $customerId, - $customerLinkId - ) - ); - - $names = ThirdPartyAppAnalyticsLinkServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($customerLinkId, $names['customer_link_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forTopicConstant() - */ - public function testGetNameForTopicConstant() - { - $topicId = '111111'; - $expectedResourceName = sprintf( - "topicConstants/%s", - $topicId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forTopicConstant( - $topicId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($topicId, $names['topic_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forUserInterest() - */ - public function testGetNameForUserInterest() - { - $customerId = '111111'; - $userInterestId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/userInterests/%s", - $customerId, - $userInterestId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forUserInterest( - $customerId, - $userInterestId - ) - ); - - $names = GoogleAdsServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($userInterestId, $names['user_interest_id']); - } - - /** - * @covers \Google\Ads\GoogleAds\Util\V15\ResourceNames::forUserList() - */ - public function testGetNameForUserList() - { - $customerId = '111111'; - $userListId = '222222'; - $expectedResourceName = sprintf( - "customers/%s/userLists/%s", - $customerId, - $userListId - ); - $this->assertEquals( - $expectedResourceName, - ResourceNames::forUserList( - $customerId, - $userListId - ) - ); - - $names = UserListServiceClient::parseName($expectedResourceName); - $this->assertEquals($customerId, $names['customer_id']); - $this->assertEquals($userListId, $names['user_list_id']); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceClientTest.php deleted file mode 100644 index 2ab5b7f6e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AccountBudgetProposalServiceClientTest.php +++ /dev/null @@ -1,124 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AccountBudgetProposalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AccountBudgetProposalServiceClient($options); - } - - /** @test */ - public function mutateAccountBudgetProposalTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAccountBudgetProposalResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountBudgetProposalOperation(); - $response = $gapicClient->mutateAccountBudgetProposal($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AccountBudgetProposalService/MutateAccountBudgetProposal', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAccountBudgetProposalExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountBudgetProposalOperation(); - try { - $gapicClient->mutateAccountBudgetProposal($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceClientTest.php deleted file mode 100644 index d8910d927..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AccountLinkServiceClientTest.php +++ /dev/null @@ -1,190 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AccountLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AccountLinkServiceClient($options); - } - - /** @test */ - public function createAccountLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new CreateAccountLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $accountLink = new AccountLink(); - $response = $gapicClient->createAccountLink($customerId, $accountLink); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AccountLinkService/CreateAccountLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getAccountLink(); - $this->assertProtobufEquals($accountLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createAccountLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $accountLink = new AccountLink(); - try { - $gapicClient->createAccountLink($customerId, $accountLink); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAccountLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAccountLinkResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountLinkOperation(); - $response = $gapicClient->mutateAccountLink($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AccountLinkService/MutateAccountLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAccountLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountLinkOperation(); - try { - $gapicClient->mutateAccountLink($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceClientTest.php deleted file mode 100644 index 5f37d6551..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAdLabelServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupAdLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupAdLabelServiceClient($options); - } - - /** @test */ - public function mutateAdGroupAdLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAdLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupAdLabels($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAdLabelService/MutateAdGroupAdLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAdLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupAdLabels($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceClientTest.php deleted file mode 100644 index 0baae57cb..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAdServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupAdServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupAdServiceClient($options); - } - - /** @test */ - public function mutateAdGroupAdsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAdsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupAds($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAdService/MutateAdGroupAds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAdsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupAds($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceClientTest.php deleted file mode 100644 index 5f87410c5..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAssetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupAssetServiceClient($options); - } - - /** @test */ - public function mutateAdGroupAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupAssets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAssetService/MutateAdGroupAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupAssets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceClientTest.php deleted file mode 100644 index 379bcb78e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupAssetSetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupAssetSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupAssetSetServiceClient($options); - } - - /** @test */ - public function mutateAdGroupAssetSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupAssetSets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAssetSetService/MutateAdGroupAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAssetSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupAssetSets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceClientTest.php deleted file mode 100644 index 6225c176d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupBidModifierServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupBidModifierServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupBidModifierServiceClient($options); - } - - /** @test */ - public function mutateAdGroupBidModifiersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupBidModifiersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupBidModifiers($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupBidModifierService/MutateAdGroupBidModifiers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupBidModifiersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupBidModifiers($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceClientTest.php deleted file mode 100644 index 944074c7e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionCustomizerServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupCriterionCustomizerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupCriterionCustomizerServiceClient($options); - } - - /** @test */ - public function mutateAdGroupCriterionCustomizersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriterionCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupCriterionCustomizers($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionCustomizerService/MutateAdGroupCriterionCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriterionCustomizersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupCriterionCustomizers($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceClientTest.php deleted file mode 100644 index 8d6ee8f75..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionLabelServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupCriterionLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupCriterionLabelServiceClient($options); - } - - /** @test */ - public function mutateAdGroupCriterionLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriterionLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupCriterionLabels($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriterionLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupCriterionLabels($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceClientTest.php deleted file mode 100644 index 3667a309d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCriterionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupCriterionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupCriterionServiceClient($options); - } - - /** @test */ - public function mutateAdGroupCriteriaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupCriteria($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionService/MutateAdGroupCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriteriaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupCriteria($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceClientTest.php deleted file mode 100644 index 20eceefee..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupCustomizerServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupCustomizerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupCustomizerServiceClient($options); - } - - /** @test */ - public function mutateAdGroupCustomizersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupCustomizers($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCustomizerService/MutateAdGroupCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCustomizersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupCustomizers($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceClientTest.php deleted file mode 100644 index d8514cf24..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupExtensionSettingServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupExtensionSettingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupExtensionSettingServiceClient($options); - } - - /** @test */ - public function mutateAdGroupExtensionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupExtensionSettings($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupExtensionSettingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupExtensionSettings($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceClientTest.php deleted file mode 100644 index 23272c8bf..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupFeedServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupFeedServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupFeedServiceClient($options); - } - - /** @test */ - public function mutateAdGroupFeedsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupFeeds($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupFeedService/MutateAdGroupFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupFeedsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupFeeds($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceClientTest.php deleted file mode 100644 index 13b15dc76..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupLabelServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupLabelServiceClient($options); - } - - /** @test */ - public function mutateAdGroupLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroupLabels($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupLabelService/MutateAdGroupLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroupLabels($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdGroupServiceClientTest.php deleted file mode 100644 index aa83e67b4..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdGroupServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupServiceClient($options); - } - - /** @test */ - public function mutateAdGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdGroups($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupService/MutateAdGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdGroups($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdParameterServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdParameterServiceClientTest.php deleted file mode 100644 index 48e2450ef..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdParameterServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdParameterServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdParameterServiceClient($options); - } - - /** @test */ - public function mutateAdParametersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdParametersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAdParameters($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdParameterService/MutateAdParameters', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdParametersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAdParameters($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AdServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AdServiceClientTest.php deleted file mode 100644 index 82f89e071..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AdServiceClientTest.php +++ /dev/null @@ -1,196 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdServiceClient($options); - } - - /** @test */ - public function getAdTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $id = 3355; - $trackingUrlTemplate = 'trackingUrlTemplate-1611329070'; - $finalUrlSuffix = 'finalUrlSuffix-1825164662'; - $displayUrl = 'displayUrl1714674802'; - $addedByGoogleAds = false; - $name = 'name3373707'; - $expectedResponse = new Ad(); - $expectedResponse->setResourceName($resourceName2); - $expectedResponse->setId($id); - $expectedResponse->setTrackingUrlTemplate($trackingUrlTemplate); - $expectedResponse->setFinalUrlSuffix($finalUrlSuffix); - $expectedResponse->setDisplayUrl($displayUrl); - $expectedResponse->setAddedByGoogleAds($addedByGoogleAds); - $expectedResponse->setName($name); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->adName('[CUSTOMER_ID]', '[AD_ID]'); - $response = $gapicClient->getAd($formattedResourceName); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdService/GetAd', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAdExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->adName('[CUSTOMER_ID]', '[AD_ID]'); - try { - $gapicClient->getAd($formattedResourceName); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAds($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdService/MutateAds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAds($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceClientTest.php deleted file mode 100644 index fdf03572f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupAssetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetGroupAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetGroupAssetServiceClient($options); - } - - /** @test */ - public function mutateAssetGroupAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAssetGroupAssets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupAssetService/MutateAssetGroupAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAssetGroupAssets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceClientTest.php deleted file mode 100644 index 89fb3df5c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupListingGroupFilterServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetGroupListingGroupFilterServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetGroupListingGroupFilterServiceClient($options); - } - - /** @test */ - public function mutateAssetGroupListingGroupFiltersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupListingGroupFiltersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAssetGroupListingGroupFilters($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupListingGroupFilterService/MutateAssetGroupListingGroupFilters', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupListingGroupFiltersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAssetGroupListingGroupFilters($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceClientTest.php deleted file mode 100644 index f9ff63e4c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetGroupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetGroupServiceClient($options); - } - - /** @test */ - public function mutateAssetGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAssetGroups($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupService/MutateAssetGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAssetGroups($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceClientTest.php deleted file mode 100644 index 7567453a9..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AssetGroupSignalServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetGroupSignalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetGroupSignalServiceClient($options); - } - - /** @test */ - public function mutateAssetGroupSignalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupSignalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAssetGroupSignals($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupSignalService/MutateAssetGroupSignals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupSignalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAssetGroupSignals($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AssetServiceClientTest.php deleted file mode 100644 index ce294d2b2..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AssetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetServiceClient($options); - } - - /** @test */ - public function mutateAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAssets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetService/MutateAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAssets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceClientTest.php deleted file mode 100644 index 61e8a26cd..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AssetSetAssetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetSetAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetSetAssetServiceClient($options); - } - - /** @test */ - public function mutateAssetSetAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetSetAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAssetSetAssets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetSetAssetService/MutateAssetSetAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetSetAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAssetSetAssets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AssetSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AssetSetServiceClientTest.php deleted file mode 100644 index e30dc82ec..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AssetSetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetSetServiceClient($options); - } - - /** @test */ - public function mutateAssetSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAssetSets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetSetService/MutateAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAssetSets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceClientTest.php deleted file mode 100644 index 109f31faa..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AudienceInsightsServiceClientTest.php +++ /dev/null @@ -1,397 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AudienceInsightsServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AudienceInsightsServiceClient($options); - } - - /** @test */ - public function generateAudienceCompositionInsightsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateAudienceCompositionInsightsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - $dimensions = []; - $response = $gapicClient->generateAudienceCompositionInsights($customerId, $audience, $dimensions); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateAudienceCompositionInsights', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getAudience(); - $this->assertProtobufEquals($audience, $actualValue); - $actualValue = $actualRequestObject->getDimensions(); - $this->assertProtobufEquals($dimensions, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateAudienceCompositionInsightsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - $dimensions = []; - try { - $gapicClient->generateAudienceCompositionInsights($customerId, $audience, $dimensions); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateInsightsFinderReportTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $savedReportUrl = 'savedReportUrl1274866844'; - $expectedResponse = new GenerateInsightsFinderReportResponse(); - $expectedResponse->setSavedReportUrl($savedReportUrl); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $baselineAudience = new BasicInsightsAudience(); - $baselineAudienceCountryLocation = []; - $baselineAudience->setCountryLocation($baselineAudienceCountryLocation); - $specificAudience = new BasicInsightsAudience(); - $specificAudienceCountryLocation = []; - $specificAudience->setCountryLocation($specificAudienceCountryLocation); - $response = $gapicClient->generateInsightsFinderReport($customerId, $baselineAudience, $specificAudience); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateInsightsFinderReport', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getBaselineAudience(); - $this->assertProtobufEquals($baselineAudience, $actualValue); - $actualValue = $actualRequestObject->getSpecificAudience(); - $this->assertProtobufEquals($specificAudience, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateInsightsFinderReportExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $baselineAudience = new BasicInsightsAudience(); - $baselineAudienceCountryLocation = []; - $baselineAudience->setCountryLocation($baselineAudienceCountryLocation); - $specificAudience = new BasicInsightsAudience(); - $specificAudienceCountryLocation = []; - $specificAudience->setCountryLocation($specificAudienceCountryLocation); - try { - $gapicClient->generateInsightsFinderReport($customerId, $baselineAudience, $specificAudience); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateSuggestedTargetingInsightsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateSuggestedTargetingInsightsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - $response = $gapicClient->generateSuggestedTargetingInsights($customerId, $audience); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateSuggestedTargetingInsights', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getAudience(); - $this->assertProtobufEquals($audience, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateSuggestedTargetingInsightsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - try { - $gapicClient->generateSuggestedTargetingInsights($customerId, $audience); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAudienceInsightsAttributesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListAudienceInsightsAttributesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $dimensions = []; - $queryText = 'queryText-168156604'; - $response = $gapicClient->listAudienceInsightsAttributes($customerId, $dimensions, $queryText); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/ListAudienceInsightsAttributes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getDimensions(); - $this->assertProtobufEquals($dimensions, $actualValue); - $actualValue = $actualRequestObject->getQueryText(); - $this->assertProtobufEquals($queryText, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAudienceInsightsAttributesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $dimensions = []; - $queryText = 'queryText-168156604'; - try { - $gapicClient->listAudienceInsightsAttributes($customerId, $dimensions, $queryText); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listInsightsEligibleDatesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListInsightsEligibleDatesResponse(); - $transport->addResponse($expectedResponse); - $response = $gapicClient->listInsightsEligibleDates(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/ListInsightsEligibleDates', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listInsightsEligibleDatesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->listInsightsEligibleDates(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/AudienceServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/AudienceServiceClientTest.php deleted file mode 100644 index 2f3ce286b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/AudienceServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AudienceServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AudienceServiceClient($options); - } - - /** @test */ - public function mutateAudiencesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAudiencesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateAudiences($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceService/MutateAudiences', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAudiencesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateAudiences($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/BatchJobServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/BatchJobServiceClientTest.php deleted file mode 100644 index af2fcbf7e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/BatchJobServiceClientTest.php +++ /dev/null @@ -1,383 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BatchJobServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BatchJobServiceClient($options); - } - - /** @test */ - public function addBatchJobOperationsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $totalOperations = 1685086151; - $nextSequenceToken = 'nextSequenceToken388644551'; - $expectedResponse = new AddBatchJobOperationsResponse(); - $expectedResponse->setTotalOperations($totalOperations); - $expectedResponse->setNextSequenceToken($nextSequenceToken); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $mutateOperations = []; - $response = $gapicClient->addBatchJobOperations($formattedResourceName, $mutateOperations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/AddBatchJobOperations', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $actualValue = $actualRequestObject->getMutateOperations(); - $this->assertProtobufEquals($mutateOperations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function addBatchJobOperationsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $mutateOperations = []; - try { - $gapicClient->addBatchJobOperations($formattedResourceName, $mutateOperations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listBatchJobResultsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $resultsElement = new BatchJobResult(); - $results = [ - $resultsElement, - ]; - $expectedResponse = new ListBatchJobResultsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setResults($results); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $response = $gapicClient->listBatchJobResults($formattedResourceName); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getResults()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/ListBatchJobResults', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listBatchJobResultsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - try { - $gapicClient->listBatchJobResults($formattedResourceName); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBatchJobTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBatchJobResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BatchJobOperation(); - $response = $gapicClient->mutateBatchJob($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/MutateBatchJob', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBatchJobExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BatchJobOperation(); - try { - $gapicClient->mutateBatchJob($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function runBatchJobTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/runBatchJobTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/runBatchJobTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $response = $gapicClient->runBatchJob($formattedResourceName); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/RunBatchJob', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/runBatchJobTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function runBatchJobExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/runBatchJobTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $response = $gapicClient->runBatchJob($formattedResourceName); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/runBatchJobTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceClientTest.php deleted file mode 100644 index 02ef5beed..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/BiddingDataExclusionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BiddingDataExclusionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BiddingDataExclusionServiceClient($options); - } - - /** @test */ - public function mutateBiddingDataExclusionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingDataExclusionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateBiddingDataExclusions($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingDataExclusionService/MutateBiddingDataExclusions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingDataExclusionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateBiddingDataExclusions($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceClientTest.php deleted file mode 100644 index 116a61fad..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/BiddingSeasonalityAdjustmentServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BiddingSeasonalityAdjustmentServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BiddingSeasonalityAdjustmentServiceClient($options); - } - - /** @test */ - public function mutateBiddingSeasonalityAdjustmentsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingSeasonalityAdjustmentsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateBiddingSeasonalityAdjustments($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService/MutateBiddingSeasonalityAdjustments', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingSeasonalityAdjustmentsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateBiddingSeasonalityAdjustments($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceClientTest.php deleted file mode 100644 index d2e8109c5..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/BiddingStrategyServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BiddingStrategyServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BiddingStrategyServiceClient($options); - } - - /** @test */ - public function mutateBiddingStrategiesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingStrategiesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateBiddingStrategies($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingStrategyService/MutateBiddingStrategies', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingStrategiesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateBiddingStrategies($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceClientTest.php deleted file mode 100644 index 98742f32d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/BillingSetupServiceClientTest.php +++ /dev/null @@ -1,124 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BillingSetupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BillingSetupServiceClient($options); - } - - /** @test */ - public function mutateBillingSetupTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBillingSetupResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BillingSetupOperation(); - $response = $gapicClient->mutateBillingSetup($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BillingSetupService/MutateBillingSetup', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBillingSetupExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BillingSetupOperation(); - try { - $gapicClient->mutateBillingSetup($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceClientTest.php deleted file mode 100644 index 6534a53b1..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/BrandSuggestionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BrandSuggestionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BrandSuggestionServiceClient($options); - } - - /** @test */ - public function suggestBrandsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestBrandsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $brandPrefix = 'brandPrefix-2146521526'; - $response = $gapicClient->suggestBrands($customerId, $brandPrefix); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BrandSuggestionService/SuggestBrands', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getBrandPrefix(); - $this->assertProtobufEquals($brandPrefix, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestBrandsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $brandPrefix = 'brandPrefix-2146521526'; - try { - $gapicClient->suggestBrands($customerId, $brandPrefix); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceClientTest.php deleted file mode 100644 index 00f6d48a9..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignAssetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignAssetServiceClient($options); - } - - /** @test */ - public function mutateCampaignAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignAssets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignAssetService/MutateCampaignAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignAssets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceClientTest.php deleted file mode 100644 index d08b56315..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignAssetSetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignAssetSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignAssetSetServiceClient($options); - } - - /** @test */ - public function mutateCampaignAssetSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignAssetSets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignAssetSetService/MutateCampaignAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignAssetSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignAssetSets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceClientTest.php deleted file mode 100644 index 780082a0a..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignBidModifierServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignBidModifierServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignBidModifierServiceClient($options); - } - - /** @test */ - public function mutateCampaignBidModifiersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignBidModifiersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignBidModifiers($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignBidModifierService/MutateCampaignBidModifiers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignBidModifiersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignBidModifiers($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceClientTest.php deleted file mode 100644 index c639c8b84..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignBudgetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignBudgetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignBudgetServiceClient($options); - } - - /** @test */ - public function mutateCampaignBudgetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignBudgetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignBudgets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignBudgetService/MutateCampaignBudgets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignBudgetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignBudgets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceClientTest.php deleted file mode 100644 index 2d2493cad..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignConversionGoalServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignConversionGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignConversionGoalServiceClient($options); - } - - /** @test */ - public function mutateCampaignConversionGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignConversionGoals($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignConversionGoalService/MutateCampaignConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignConversionGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignConversionGoals($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceClientTest.php deleted file mode 100644 index 80d26e510..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignCriterionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignCriterionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignCriterionServiceClient($options); - } - - /** @test */ - public function mutateCampaignCriteriaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignCriteria($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignCriterionService/MutateCampaignCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignCriteriaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignCriteria($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceClientTest.php deleted file mode 100644 index a2173bbc7..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignCustomizerServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignCustomizerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignCustomizerServiceClient($options); - } - - /** @test */ - public function mutateCampaignCustomizersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignCustomizers($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignCustomizerService/MutateCampaignCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignCustomizersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignCustomizers($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceClientTest.php deleted file mode 100644 index 2903d31e1..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignDraftServiceClientTest.php +++ /dev/null @@ -1,315 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignDraftServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignDraftServiceClient($options); - } - - /** @test */ - public function listCampaignDraftAsyncErrorsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $errorsElement = new Status(); - $errors = [ - $errorsElement, - ]; - $expectedResponse = new ListCampaignDraftAsyncErrorsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setErrors($errors); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - $response = $gapicClient->listCampaignDraftAsyncErrors($formattedResourceName); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getErrors()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignDraftService/ListCampaignDraftAsyncErrors', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listCampaignDraftAsyncErrorsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - try { - $gapicClient->listCampaignDraftAsyncErrors($formattedResourceName); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignDraftsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignDraftsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignDrafts($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignDraftService/MutateCampaignDrafts', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignDraftsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignDrafts($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function promoteCampaignDraftTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/promoteCampaignDraftTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/promoteCampaignDraftTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedCampaignDraft = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - $response = $gapicClient->promoteCampaignDraft($formattedCampaignDraft); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignDraftService/PromoteCampaignDraft', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getCampaignDraft(); - $this->assertProtobufEquals($formattedCampaignDraft, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/promoteCampaignDraftTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function promoteCampaignDraftExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/promoteCampaignDraftTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedCampaignDraft = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - $response = $gapicClient->promoteCampaignDraft($formattedCampaignDraft); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/promoteCampaignDraftTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceClientTest.php deleted file mode 100644 index a113f70c0..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignExtensionSettingServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignExtensionSettingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignExtensionSettingServiceClient($options); - } - - /** @test */ - public function mutateCampaignExtensionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignExtensionSettings($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignExtensionSettingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignExtensionSettings($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceClientTest.php deleted file mode 100644 index 82232c1d5..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignFeedServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignFeedServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignFeedServiceClient($options); - } - - /** @test */ - public function mutateCampaignFeedsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignFeeds($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignFeedService/MutateCampaignFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignFeedsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignFeeds($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceClientTest.php deleted file mode 100644 index d778c73e8..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignGroupServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignGroupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignGroupServiceClient($options); - } - - /** @test */ - public function mutateCampaignGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignGroups($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignGroupService/MutateCampaignGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignGroupsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignGroups($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceClientTest.php deleted file mode 100644 index e9c312935..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignLabelServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignLabelServiceClient($options); - } - - /** @test */ - public function mutateCampaignLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignLabels($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignLabelService/MutateCampaignLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignLabels($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceClientTest.php deleted file mode 100644 index 169367db4..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignLifecycleGoalServiceClientTest.php +++ /dev/null @@ -1,124 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignLifecycleGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignLifecycleGoalServiceClient($options); - } - - /** @test */ - public function configureCampaignLifecycleGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ConfigureCampaignLifecycleGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CampaignLifecycleGoalOperation(); - $response = $gapicClient->configureCampaignLifecycleGoals($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignLifecycleGoalService/ConfigureCampaignLifecycleGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function configureCampaignLifecycleGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CampaignLifecycleGoalOperation(); - try { - $gapicClient->configureCampaignLifecycleGoals($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignServiceClientTest.php deleted file mode 100644 index 291d68a83..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignServiceClient($options); - } - - /** @test */ - public function mutateCampaignsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaigns($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignService/MutateCampaigns', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaigns($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceClientTest.php deleted file mode 100644 index dad609420..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CampaignSharedSetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignSharedSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignSharedSetServiceClient($options); - } - - /** @test */ - public function mutateCampaignSharedSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignSharedSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCampaignSharedSets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignSharedSetService/MutateCampaignSharedSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignSharedSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCampaignSharedSets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AccountBudgetProposalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AccountBudgetProposalServiceClientTest.php deleted file mode 100644 index 30a3f19db..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AccountBudgetProposalServiceClientTest.php +++ /dev/null @@ -1,162 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AccountBudgetProposalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AccountBudgetProposalServiceClient($options); - } - - /** @test */ - public function mutateAccountBudgetProposalTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAccountBudgetProposalResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountBudgetProposalOperation(); - $request = (new MutateAccountBudgetProposalRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateAccountBudgetProposal($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AccountBudgetProposalService/MutateAccountBudgetProposal', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAccountBudgetProposalExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountBudgetProposalOperation(); - $request = (new MutateAccountBudgetProposalRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->mutateAccountBudgetProposal($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAccountBudgetProposalAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAccountBudgetProposalResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountBudgetProposalOperation(); - $request = (new MutateAccountBudgetProposalRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateAccountBudgetProposalAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AccountBudgetProposalService/MutateAccountBudgetProposal', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AccountLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AccountLinkServiceClientTest.php deleted file mode 100644 index 6f698c400..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AccountLinkServiceClientTest.php +++ /dev/null @@ -1,237 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AccountLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AccountLinkServiceClient($options); - } - - /** @test */ - public function createAccountLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new CreateAccountLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $accountLink = new AccountLink(); - $request = (new CreateAccountLinkRequest()) - ->setCustomerId($customerId) - ->setAccountLink($accountLink); - $response = $gapicClient->createAccountLink($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AccountLinkService/CreateAccountLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getAccountLink(); - $this->assertProtobufEquals($accountLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createAccountLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $accountLink = new AccountLink(); - $request = (new CreateAccountLinkRequest()) - ->setCustomerId($customerId) - ->setAccountLink($accountLink); - try { - $gapicClient->createAccountLink($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAccountLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAccountLinkResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountLinkOperation(); - $request = (new MutateAccountLinkRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateAccountLink($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AccountLinkService/MutateAccountLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAccountLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new AccountLinkOperation(); - $request = (new MutateAccountLinkRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->mutateAccountLink($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createAccountLinkAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new CreateAccountLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $accountLink = new AccountLink(); - $request = (new CreateAccountLinkRequest()) - ->setCustomerId($customerId) - ->setAccountLink($accountLink); - $response = $gapicClient->createAccountLinkAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AccountLinkService/CreateAccountLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getAccountLink(); - $this->assertProtobufEquals($accountLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdLabelServiceClientTest.php deleted file mode 100644 index de33646e9..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdLabelServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupAdLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupAdLabelServiceClient($options); - } - - /** @test */ - public function mutateAdGroupAdLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAdLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAdLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupAdLabels($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAdLabelService/MutateAdGroupAdLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAdLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAdLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupAdLabels($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAdLabelsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAdLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAdLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupAdLabelsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAdLabelService/MutateAdGroupAdLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdServiceClientTest.php deleted file mode 100644 index 8a0f549b5..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAdServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupAdServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupAdServiceClient($options); - } - - /** @test */ - public function mutateAdGroupAdsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAdsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAdsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupAds($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAdService/MutateAdGroupAds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAdsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAdsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupAds($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAdsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAdsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAdsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupAdsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAdService/MutateAdGroupAds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetServiceClientTest.php deleted file mode 100644 index 1b93125ae..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupAssetServiceClient($options); - } - - /** @test */ - public function mutateAdGroupAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupAssets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAssetService/MutateAdGroupAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupAssets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAssetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupAssetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAssetService/MutateAdGroupAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetSetServiceClientTest.php deleted file mode 100644 index 2cb5be65e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupAssetSetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupAssetSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupAssetSetServiceClient($options); - } - - /** @test */ - public function mutateAdGroupAssetSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupAssetSets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAssetSetService/MutateAdGroupAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAssetSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupAssetSets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupAssetSetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupAssetSetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupAssetSetService/MutateAdGroupAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionCustomizerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionCustomizerServiceClientTest.php deleted file mode 100644 index 10defa471..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionCustomizerServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupCriterionCustomizerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupCriterionCustomizerServiceClient($options); - } - - /** @test */ - public function mutateAdGroupCriterionCustomizersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriterionCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriterionCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupCriterionCustomizers($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionCustomizerService/MutateAdGroupCriterionCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriterionCustomizersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriterionCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupCriterionCustomizers($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriterionCustomizersAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriterionCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriterionCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupCriterionCustomizersAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionCustomizerService/MutateAdGroupCriterionCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionLabelServiceClientTest.php deleted file mode 100644 index ee5699d93..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionLabelServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupCriterionLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupCriterionLabelServiceClient($options); - } - - /** @test */ - public function mutateAdGroupCriterionLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriterionLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriterionLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupCriterionLabels($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriterionLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriterionLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupCriterionLabels($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriterionLabelsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriterionLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriterionLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupCriterionLabelsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionServiceClientTest.php deleted file mode 100644 index b4e046ee4..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCriterionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupCriterionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupCriterionServiceClient($options); - } - - /** @test */ - public function mutateAdGroupCriteriaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupCriteria($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionService/MutateAdGroupCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriteriaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupCriteria($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCriteriaAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupCriteriaAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCriterionService/MutateAdGroupCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCustomizerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCustomizerServiceClientTest.php deleted file mode 100644 index 692880c4b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupCustomizerServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupCustomizerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupCustomizerServiceClient($options); - } - - /** @test */ - public function mutateAdGroupCustomizersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupCustomizers($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCustomizerService/MutateAdGroupCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCustomizersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupCustomizers($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupCustomizersAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupCustomizersAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupCustomizerService/MutateAdGroupCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupExtensionSettingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupExtensionSettingServiceClientTest.php deleted file mode 100644 index a4e7c74df..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupExtensionSettingServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupExtensionSettingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupExtensionSettingServiceClient($options); - } - - /** @test */ - public function mutateAdGroupExtensionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupExtensionSettings($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupExtensionSettingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupExtensionSettings($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupExtensionSettingsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupExtensionSettingsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupFeedServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupFeedServiceClientTest.php deleted file mode 100644 index 0ad9c8bc0..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupFeedServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupFeedServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupFeedServiceClient($options); - } - - /** @test */ - public function mutateAdGroupFeedsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupFeeds($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupFeedService/MutateAdGroupFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupFeedsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupFeeds($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupFeedsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupFeedsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupFeedService/MutateAdGroupFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupLabelServiceClientTest.php deleted file mode 100644 index 586c5535e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupLabelServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupLabelServiceClient($options); - } - - /** @test */ - public function mutateAdGroupLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupLabels($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupLabelService/MutateAdGroupLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroupLabels($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupLabelsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupLabelsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupLabelService/MutateAdGroupLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupServiceClientTest.php deleted file mode 100644 index b39aa7a7a..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdGroupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdGroupServiceClient($options); - } - - /** @test */ - public function mutateAdGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroups($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupService/MutateAdGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdGroups($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdGroupsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupService/MutateAdGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdParameterServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdParameterServiceClientTest.php deleted file mode 100644 index e4a9c344f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdParameterServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdParameterServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdParameterServiceClient($options); - } - - /** @test */ - public function mutateAdParametersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdParametersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdParametersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdParameters($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdParameterService/MutateAdParameters', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdParametersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdParametersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAdParameters($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdParametersAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdParametersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdParametersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdParametersAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdParameterService/MutateAdParameters', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AdServiceClientTest.php deleted file mode 100644 index 5b3290984..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdServiceClientTest.php +++ /dev/null @@ -1,249 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AdServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AdServiceClient($options); - } - - /** @test */ - public function getAdTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $id = 3355; - $trackingUrlTemplate = 'trackingUrlTemplate-1611329070'; - $finalUrlSuffix = 'finalUrlSuffix-1825164662'; - $displayUrl = 'displayUrl1714674802'; - $addedByGoogleAds = false; - $name = 'name3373707'; - $expectedResponse = new Ad(); - $expectedResponse->setResourceName($resourceName2); - $expectedResponse->setId($id); - $expectedResponse->setTrackingUrlTemplate($trackingUrlTemplate); - $expectedResponse->setFinalUrlSuffix($finalUrlSuffix); - $expectedResponse->setDisplayUrl($displayUrl); - $expectedResponse->setAddedByGoogleAds($addedByGoogleAds); - $expectedResponse->setName($name); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->adName('[CUSTOMER_ID]', '[AD_ID]'); - $request = (new GetAdRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->getAd($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdService/GetAd', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAdExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->adName('[CUSTOMER_ID]', '[AD_ID]'); - $request = (new GetAdRequest()) - ->setResourceName($formattedResourceName); - try { - $gapicClient->getAd($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAdsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAds($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdService/MutateAds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAdsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAds($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getAdAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $id = 3355; - $trackingUrlTemplate = 'trackingUrlTemplate-1611329070'; - $finalUrlSuffix = 'finalUrlSuffix-1825164662'; - $displayUrl = 'displayUrl1714674802'; - $addedByGoogleAds = false; - $name = 'name3373707'; - $expectedResponse = new Ad(); - $expectedResponse->setResourceName($resourceName2); - $expectedResponse->setId($id); - $expectedResponse->setTrackingUrlTemplate($trackingUrlTemplate); - $expectedResponse->setFinalUrlSuffix($finalUrlSuffix); - $expectedResponse->setDisplayUrl($displayUrl); - $expectedResponse->setAddedByGoogleAds($addedByGoogleAds); - $expectedResponse->setName($name); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->adName('[CUSTOMER_ID]', '[AD_ID]'); - $request = (new GetAdRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->getAdAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdService/GetAd', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupAssetServiceClientTest.php deleted file mode 100644 index 23b139694..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupAssetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetGroupAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetGroupAssetServiceClient($options); - } - - /** @test */ - public function mutateAssetGroupAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetGroupAssets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupAssetService/MutateAssetGroupAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAssetGroupAssets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupAssetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetGroupAssetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupAssetService/MutateAssetGroupAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupListingGroupFilterServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupListingGroupFilterServiceClientTest.php deleted file mode 100644 index 902e63d82..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupListingGroupFilterServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetGroupListingGroupFilterServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetGroupListingGroupFilterServiceClient($options); - } - - /** @test */ - public function mutateAssetGroupListingGroupFiltersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupListingGroupFiltersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupListingGroupFiltersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetGroupListingGroupFilters($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupListingGroupFilterService/MutateAssetGroupListingGroupFilters', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupListingGroupFiltersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupListingGroupFiltersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAssetGroupListingGroupFilters($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupListingGroupFiltersAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupListingGroupFiltersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupListingGroupFiltersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetGroupListingGroupFiltersAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupListingGroupFilterService/MutateAssetGroupListingGroupFilters', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupServiceClientTest.php deleted file mode 100644 index 2412d0e1a..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetGroupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetGroupServiceClient($options); - } - - /** @test */ - public function mutateAssetGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetGroups($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupService/MutateAssetGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAssetGroups($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetGroupsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupService/MutateAssetGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupSignalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupSignalServiceClientTest.php deleted file mode 100644 index 095c49734..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetGroupSignalServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetGroupSignalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetGroupSignalServiceClient($options); - } - - /** @test */ - public function mutateAssetGroupSignalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupSignalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupSignalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetGroupSignals($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupSignalService/MutateAssetGroupSignals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupSignalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupSignalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAssetGroupSignals($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetGroupSignalsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetGroupSignalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetGroupSignalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetGroupSignalsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetGroupSignalService/MutateAssetGroupSignals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetServiceClientTest.php deleted file mode 100644 index db3cf710b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetServiceClient($options); - } - - /** @test */ - public function mutateAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetService/MutateAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAssets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetService/MutateAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetSetAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetSetAssetServiceClientTest.php deleted file mode 100644 index 172a053d2..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetSetAssetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetSetAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetSetAssetServiceClient($options); - } - - /** @test */ - public function mutateAssetSetAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetSetAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetSetAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetSetAssets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetSetAssetService/MutateAssetSetAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetSetAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetSetAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAssetSetAssets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetSetAssetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetSetAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetSetAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetSetAssetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetSetAssetService/MutateAssetSetAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetSetServiceClientTest.php deleted file mode 100644 index c4ff0c8bd..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AssetSetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AssetSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AssetSetServiceClient($options); - } - - /** @test */ - public function mutateAssetSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetSets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetSetService/MutateAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAssetSets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAssetSetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAssetSetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AssetSetService/MutateAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AudienceInsightsServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AudienceInsightsServiceClientTest.php deleted file mode 100644 index 65344b020..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AudienceInsightsServiceClientTest.php +++ /dev/null @@ -1,471 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AudienceInsightsServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AudienceInsightsServiceClient($options); - } - - /** @test */ - public function generateAudienceCompositionInsightsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateAudienceCompositionInsightsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - $dimensions = []; - $request = (new GenerateAudienceCompositionInsightsRequest()) - ->setCustomerId($customerId) - ->setAudience($audience) - ->setDimensions($dimensions); - $response = $gapicClient->generateAudienceCompositionInsights($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateAudienceCompositionInsights', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getAudience(); - $this->assertProtobufEquals($audience, $actualValue); - $actualValue = $actualRequestObject->getDimensions(); - $this->assertProtobufEquals($dimensions, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateAudienceCompositionInsightsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - $dimensions = []; - $request = (new GenerateAudienceCompositionInsightsRequest()) - ->setCustomerId($customerId) - ->setAudience($audience) - ->setDimensions($dimensions); - try { - $gapicClient->generateAudienceCompositionInsights($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateInsightsFinderReportTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $savedReportUrl = 'savedReportUrl1274866844'; - $expectedResponse = new GenerateInsightsFinderReportResponse(); - $expectedResponse->setSavedReportUrl($savedReportUrl); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $baselineAudience = new BasicInsightsAudience(); - $baselineAudienceCountryLocation = []; - $baselineAudience->setCountryLocation($baselineAudienceCountryLocation); - $specificAudience = new BasicInsightsAudience(); - $specificAudienceCountryLocation = []; - $specificAudience->setCountryLocation($specificAudienceCountryLocation); - $request = (new GenerateInsightsFinderReportRequest()) - ->setCustomerId($customerId) - ->setBaselineAudience($baselineAudience) - ->setSpecificAudience($specificAudience); - $response = $gapicClient->generateInsightsFinderReport($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateInsightsFinderReport', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getBaselineAudience(); - $this->assertProtobufEquals($baselineAudience, $actualValue); - $actualValue = $actualRequestObject->getSpecificAudience(); - $this->assertProtobufEquals($specificAudience, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateInsightsFinderReportExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $baselineAudience = new BasicInsightsAudience(); - $baselineAudienceCountryLocation = []; - $baselineAudience->setCountryLocation($baselineAudienceCountryLocation); - $specificAudience = new BasicInsightsAudience(); - $specificAudienceCountryLocation = []; - $specificAudience->setCountryLocation($specificAudienceCountryLocation); - $request = (new GenerateInsightsFinderReportRequest()) - ->setCustomerId($customerId) - ->setBaselineAudience($baselineAudience) - ->setSpecificAudience($specificAudience); - try { - $gapicClient->generateInsightsFinderReport($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateSuggestedTargetingInsightsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateSuggestedTargetingInsightsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - $request = (new GenerateSuggestedTargetingInsightsRequest()) - ->setCustomerId($customerId) - ->setAudience($audience); - $response = $gapicClient->generateSuggestedTargetingInsights($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateSuggestedTargetingInsights', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getAudience(); - $this->assertProtobufEquals($audience, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateSuggestedTargetingInsightsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - $request = (new GenerateSuggestedTargetingInsightsRequest()) - ->setCustomerId($customerId) - ->setAudience($audience); - try { - $gapicClient->generateSuggestedTargetingInsights($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAudienceInsightsAttributesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListAudienceInsightsAttributesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $dimensions = []; - $queryText = 'queryText-168156604'; - $request = (new ListAudienceInsightsAttributesRequest()) - ->setCustomerId($customerId) - ->setDimensions($dimensions) - ->setQueryText($queryText); - $response = $gapicClient->listAudienceInsightsAttributes($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/ListAudienceInsightsAttributes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getDimensions(); - $this->assertProtobufEquals($dimensions, $actualValue); - $actualValue = $actualRequestObject->getQueryText(); - $this->assertProtobufEquals($queryText, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAudienceInsightsAttributesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $dimensions = []; - $queryText = 'queryText-168156604'; - $request = (new ListAudienceInsightsAttributesRequest()) - ->setCustomerId($customerId) - ->setDimensions($dimensions) - ->setQueryText($queryText); - try { - $gapicClient->listAudienceInsightsAttributes($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listInsightsEligibleDatesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListInsightsEligibleDatesResponse(); - $transport->addResponse($expectedResponse); - $request = new ListInsightsEligibleDatesRequest(); - $response = $gapicClient->listInsightsEligibleDates($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/ListInsightsEligibleDates', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listInsightsEligibleDatesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new ListInsightsEligibleDatesRequest(); - try { - $gapicClient->listInsightsEligibleDates($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateAudienceCompositionInsightsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateAudienceCompositionInsightsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $audience = new InsightsAudience(); - $audienceCountryLocations = []; - $audience->setCountryLocations($audienceCountryLocations); - $dimensions = []; - $request = (new GenerateAudienceCompositionInsightsRequest()) - ->setCustomerId($customerId) - ->setAudience($audience) - ->setDimensions($dimensions); - $response = $gapicClient->generateAudienceCompositionInsightsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceInsightsService/GenerateAudienceCompositionInsights', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getAudience(); - $this->assertProtobufEquals($audience, $actualValue); - $actualValue = $actualRequestObject->getDimensions(); - $this->assertProtobufEquals($dimensions, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AudienceServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/AudienceServiceClientTest.php deleted file mode 100644 index 42f4d16aa..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AudienceServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return AudienceServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new AudienceServiceClient($options); - } - - /** @test */ - public function mutateAudiencesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAudiencesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAudiencesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAudiences($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceService/MutateAudiences', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAudiencesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAudiencesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateAudiences($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAudiencesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateAudiencesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAudiencesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAudiencesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AudienceService/MutateAudiences', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/BatchJobServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/BatchJobServiceClientTest.php deleted file mode 100644 index cef8beb4d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/BatchJobServiceClientTest.php +++ /dev/null @@ -1,442 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BatchJobServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BatchJobServiceClient($options); - } - - /** @test */ - public function addBatchJobOperationsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $totalOperations = 1685086151; - $nextSequenceToken = 'nextSequenceToken388644551'; - $expectedResponse = new AddBatchJobOperationsResponse(); - $expectedResponse->setTotalOperations($totalOperations); - $expectedResponse->setNextSequenceToken($nextSequenceToken); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $mutateOperations = []; - $request = (new AddBatchJobOperationsRequest()) - ->setResourceName($formattedResourceName) - ->setMutateOperations($mutateOperations); - $response = $gapicClient->addBatchJobOperations($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/AddBatchJobOperations', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $actualValue = $actualRequestObject->getMutateOperations(); - $this->assertProtobufEquals($mutateOperations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function addBatchJobOperationsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $mutateOperations = []; - $request = (new AddBatchJobOperationsRequest()) - ->setResourceName($formattedResourceName) - ->setMutateOperations($mutateOperations); - try { - $gapicClient->addBatchJobOperations($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listBatchJobResultsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $resultsElement = new BatchJobResult(); - $results = [ - $resultsElement, - ]; - $expectedResponse = new ListBatchJobResultsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setResults($results); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $request = (new ListBatchJobResultsRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->listBatchJobResults($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getResults()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/ListBatchJobResults', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listBatchJobResultsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $request = (new ListBatchJobResultsRequest()) - ->setResourceName($formattedResourceName); - try { - $gapicClient->listBatchJobResults($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBatchJobTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBatchJobResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BatchJobOperation(); - $request = (new MutateBatchJobRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateBatchJob($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/MutateBatchJob', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBatchJobExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BatchJobOperation(); - $request = (new MutateBatchJobRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->mutateBatchJob($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function runBatchJobTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/runBatchJobTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/runBatchJobTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $request = (new RunBatchJobRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->runBatchJob($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/RunBatchJob', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/runBatchJobTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function runBatchJobExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/runBatchJobTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $request = (new RunBatchJobRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->runBatchJob($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/runBatchJobTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function addBatchJobOperationsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $totalOperations = 1685086151; - $nextSequenceToken = 'nextSequenceToken388644551'; - $expectedResponse = new AddBatchJobOperationsResponse(); - $expectedResponse->setTotalOperations($totalOperations); - $expectedResponse->setNextSequenceToken($nextSequenceToken); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->batchJobName('[CUSTOMER_ID]', '[BATCH_JOB_ID]'); - $mutateOperations = []; - $request = (new AddBatchJobOperationsRequest()) - ->setResourceName($formattedResourceName) - ->setMutateOperations($mutateOperations); - $response = $gapicClient->addBatchJobOperationsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BatchJobService/AddBatchJobOperations', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $actualValue = $actualRequestObject->getMutateOperations(); - $this->assertProtobufEquals($mutateOperations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingDataExclusionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingDataExclusionServiceClientTest.php deleted file mode 100644 index e434a45d0..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingDataExclusionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BiddingDataExclusionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BiddingDataExclusionServiceClient($options); - } - - /** @test */ - public function mutateBiddingDataExclusionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingDataExclusionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingDataExclusionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateBiddingDataExclusions($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingDataExclusionService/MutateBiddingDataExclusions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingDataExclusionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingDataExclusionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateBiddingDataExclusions($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingDataExclusionsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingDataExclusionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingDataExclusionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateBiddingDataExclusionsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingDataExclusionService/MutateBiddingDataExclusions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingSeasonalityAdjustmentServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingSeasonalityAdjustmentServiceClientTest.php deleted file mode 100644 index b590113ca..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingSeasonalityAdjustmentServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BiddingSeasonalityAdjustmentServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BiddingSeasonalityAdjustmentServiceClient($options); - } - - /** @test */ - public function mutateBiddingSeasonalityAdjustmentsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingSeasonalityAdjustmentsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingSeasonalityAdjustmentsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateBiddingSeasonalityAdjustments($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService/MutateBiddingSeasonalityAdjustments', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingSeasonalityAdjustmentsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingSeasonalityAdjustmentsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateBiddingSeasonalityAdjustments($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingSeasonalityAdjustmentsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingSeasonalityAdjustmentsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingSeasonalityAdjustmentsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateBiddingSeasonalityAdjustmentsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService/MutateBiddingSeasonalityAdjustments', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingStrategyServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingStrategyServiceClientTest.php deleted file mode 100644 index a5cfb7757..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/BiddingStrategyServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BiddingStrategyServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BiddingStrategyServiceClient($options); - } - - /** @test */ - public function mutateBiddingStrategiesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingStrategiesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingStrategiesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateBiddingStrategies($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingStrategyService/MutateBiddingStrategies', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingStrategiesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingStrategiesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateBiddingStrategies($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBiddingStrategiesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBiddingStrategiesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateBiddingStrategiesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateBiddingStrategiesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BiddingStrategyService/MutateBiddingStrategies', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/BillingSetupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/BillingSetupServiceClientTest.php deleted file mode 100644 index 7f96a87fd..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/BillingSetupServiceClientTest.php +++ /dev/null @@ -1,162 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BillingSetupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BillingSetupServiceClient($options); - } - - /** @test */ - public function mutateBillingSetupTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBillingSetupResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BillingSetupOperation(); - $request = (new MutateBillingSetupRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateBillingSetup($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BillingSetupService/MutateBillingSetup', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBillingSetupExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BillingSetupOperation(); - $request = (new MutateBillingSetupRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->mutateBillingSetup($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateBillingSetupAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateBillingSetupResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new BillingSetupOperation(); - $request = (new MutateBillingSetupRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateBillingSetupAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BillingSetupService/MutateBillingSetup', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/BrandSuggestionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/BrandSuggestionServiceClientTest.php deleted file mode 100644 index a6def57ea..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/BrandSuggestionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return BrandSuggestionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new BrandSuggestionServiceClient($options); - } - - /** @test */ - public function suggestBrandsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestBrandsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $brandPrefix = 'brandPrefix-2146521526'; - $request = (new SuggestBrandsRequest()) - ->setCustomerId($customerId) - ->setBrandPrefix($brandPrefix); - $response = $gapicClient->suggestBrands($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BrandSuggestionService/SuggestBrands', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getBrandPrefix(); - $this->assertProtobufEquals($brandPrefix, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestBrandsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $brandPrefix = 'brandPrefix-2146521526'; - $request = (new SuggestBrandsRequest()) - ->setCustomerId($customerId) - ->setBrandPrefix($brandPrefix); - try { - $gapicClient->suggestBrands($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestBrandsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestBrandsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $brandPrefix = 'brandPrefix-2146521526'; - $request = (new SuggestBrandsRequest()) - ->setCustomerId($customerId) - ->setBrandPrefix($brandPrefix); - $response = $gapicClient->suggestBrandsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.BrandSuggestionService/SuggestBrands', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getBrandPrefix(); - $this->assertProtobufEquals($brandPrefix, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetServiceClientTest.php deleted file mode 100644 index 176855946..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignAssetServiceClient($options); - } - - /** @test */ - public function mutateCampaignAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignAssets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignAssetService/MutateCampaignAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignAssets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignAssetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignAssetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignAssetService/MutateCampaignAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetSetServiceClientTest.php deleted file mode 100644 index b59006100..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignAssetSetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignAssetSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignAssetSetServiceClient($options); - } - - /** @test */ - public function mutateCampaignAssetSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignAssetSets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignAssetSetService/MutateCampaignAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignAssetSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignAssetSets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignAssetSetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignAssetSetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignAssetSetService/MutateCampaignAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignBidModifierServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignBidModifierServiceClientTest.php deleted file mode 100644 index b17892d19..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignBidModifierServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignBidModifierServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignBidModifierServiceClient($options); - } - - /** @test */ - public function mutateCampaignBidModifiersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignBidModifiersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignBidModifiersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignBidModifiers($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignBidModifierService/MutateCampaignBidModifiers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignBidModifiersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignBidModifiersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignBidModifiers($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignBidModifiersAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignBidModifiersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignBidModifiersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignBidModifiersAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignBidModifierService/MutateCampaignBidModifiers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignBudgetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignBudgetServiceClientTest.php deleted file mode 100644 index 6d8dfa29d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignBudgetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignBudgetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignBudgetServiceClient($options); - } - - /** @test */ - public function mutateCampaignBudgetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignBudgetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignBudgetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignBudgets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignBudgetService/MutateCampaignBudgets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignBudgetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignBudgetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignBudgets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignBudgetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignBudgetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignBudgetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignBudgetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignBudgetService/MutateCampaignBudgets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignConversionGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignConversionGoalServiceClientTest.php deleted file mode 100644 index b488af666..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignConversionGoalServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignConversionGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignConversionGoalServiceClient($options); - } - - /** @test */ - public function mutateCampaignConversionGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignConversionGoals($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignConversionGoalService/MutateCampaignConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignConversionGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignConversionGoals($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignConversionGoalsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignConversionGoalsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignConversionGoalService/MutateCampaignConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignCriterionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignCriterionServiceClientTest.php deleted file mode 100644 index 215c27044..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignCriterionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignCriterionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignCriterionServiceClient($options); - } - - /** @test */ - public function mutateCampaignCriteriaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignCriteria($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignCriterionService/MutateCampaignCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignCriteriaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignCriteria($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignCriteriaAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignCriteriaAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignCriterionService/MutateCampaignCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignCustomizerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignCustomizerServiceClientTest.php deleted file mode 100644 index 6c7d798db..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignCustomizerServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignCustomizerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignCustomizerServiceClient($options); - } - - /** @test */ - public function mutateCampaignCustomizersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignCustomizers($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignCustomizerService/MutateCampaignCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignCustomizersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignCustomizers($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignCustomizersAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignCustomizersAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignCustomizerService/MutateCampaignCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignDraftServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignDraftServiceClientTest.php deleted file mode 100644 index 294477dcf..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignDraftServiceClientTest.php +++ /dev/null @@ -1,369 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignDraftServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignDraftServiceClient($options); - } - - /** @test */ - public function listCampaignDraftAsyncErrorsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $errorsElement = new Status(); - $errors = [ - $errorsElement, - ]; - $expectedResponse = new ListCampaignDraftAsyncErrorsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setErrors($errors); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - $request = (new ListCampaignDraftAsyncErrorsRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->listCampaignDraftAsyncErrors($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getErrors()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignDraftService/ListCampaignDraftAsyncErrors', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listCampaignDraftAsyncErrorsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - $request = (new ListCampaignDraftAsyncErrorsRequest()) - ->setResourceName($formattedResourceName); - try { - $gapicClient->listCampaignDraftAsyncErrors($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignDraftsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignDraftsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignDraftsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignDrafts($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignDraftService/MutateCampaignDrafts', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignDraftsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignDraftsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignDrafts($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function promoteCampaignDraftTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/promoteCampaignDraftTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/promoteCampaignDraftTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedCampaignDraft = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - $request = (new PromoteCampaignDraftRequest()) - ->setCampaignDraft($formattedCampaignDraft); - $response = $gapicClient->promoteCampaignDraft($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignDraftService/PromoteCampaignDraft', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getCampaignDraft(); - $this->assertProtobufEquals($formattedCampaignDraft, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/promoteCampaignDraftTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function promoteCampaignDraftExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/promoteCampaignDraftTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedCampaignDraft = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - $request = (new PromoteCampaignDraftRequest()) - ->setCampaignDraft($formattedCampaignDraft); - $response = $gapicClient->promoteCampaignDraft($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/promoteCampaignDraftTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function listCampaignDraftAsyncErrorsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $errorsElement = new Status(); - $errors = [ - $errorsElement, - ]; - $expectedResponse = new ListCampaignDraftAsyncErrorsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setErrors($errors); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->campaignDraftName('[CUSTOMER_ID]', '[BASE_CAMPAIGN_ID]', '[DRAFT_ID]'); - $request = (new ListCampaignDraftAsyncErrorsRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->listCampaignDraftAsyncErrorsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getErrors()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignDraftService/ListCampaignDraftAsyncErrors', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignExtensionSettingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignExtensionSettingServiceClientTest.php deleted file mode 100644 index f0c444b2e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignExtensionSettingServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignExtensionSettingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignExtensionSettingServiceClient($options); - } - - /** @test */ - public function mutateCampaignExtensionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignExtensionSettings($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignExtensionSettingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignExtensionSettings($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignExtensionSettingsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignExtensionSettingsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignFeedServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignFeedServiceClientTest.php deleted file mode 100644 index 10bccdb97..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignFeedServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignFeedServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignFeedServiceClient($options); - } - - /** @test */ - public function mutateCampaignFeedsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignFeeds($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignFeedService/MutateCampaignFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignFeedsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignFeeds($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignFeedsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignFeedsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignFeedService/MutateCampaignFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignGroupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignGroupServiceClientTest.php deleted file mode 100644 index 69bb3564e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignGroupServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignGroupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignGroupServiceClient($options); - } - - /** @test */ - public function mutateCampaignGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignGroups($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignGroupService/MutateCampaignGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignGroupsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignGroups($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignGroupsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignGroupsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignGroupService/MutateCampaignGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignLabelServiceClientTest.php deleted file mode 100644 index f11953df0..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignLabelServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignLabelServiceClient($options); - } - - /** @test */ - public function mutateCampaignLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignLabels($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignLabelService/MutateCampaignLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignLabels($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignLabelsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignLabelsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignLabelService/MutateCampaignLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignLifecycleGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignLifecycleGoalServiceClientTest.php deleted file mode 100644 index b0b206d9b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignLifecycleGoalServiceClientTest.php +++ /dev/null @@ -1,162 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignLifecycleGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignLifecycleGoalServiceClient($options); - } - - /** @test */ - public function configureCampaignLifecycleGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ConfigureCampaignLifecycleGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CampaignLifecycleGoalOperation(); - $request = (new ConfigureCampaignLifecycleGoalsRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->configureCampaignLifecycleGoals($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignLifecycleGoalService/ConfigureCampaignLifecycleGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function configureCampaignLifecycleGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CampaignLifecycleGoalOperation(); - $request = (new ConfigureCampaignLifecycleGoalsRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->configureCampaignLifecycleGoals($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function configureCampaignLifecycleGoalsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ConfigureCampaignLifecycleGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CampaignLifecycleGoalOperation(); - $request = (new ConfigureCampaignLifecycleGoalsRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->configureCampaignLifecycleGoalsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignLifecycleGoalService/ConfigureCampaignLifecycleGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignServiceClientTest.php deleted file mode 100644 index 82ec3084c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignServiceClient($options); - } - - /** @test */ - public function mutateCampaignsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaigns($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignService/MutateCampaigns', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaigns($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignService/MutateCampaigns', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignSharedSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignSharedSetServiceClientTest.php deleted file mode 100644 index 1ecc1a5e6..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CampaignSharedSetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CampaignSharedSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CampaignSharedSetServiceClient($options); - } - - /** @test */ - public function mutateCampaignSharedSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignSharedSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignSharedSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignSharedSets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignSharedSetService/MutateCampaignSharedSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignSharedSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignSharedSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCampaignSharedSets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCampaignSharedSetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCampaignSharedSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCampaignSharedSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCampaignSharedSetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CampaignSharedSetService/MutateCampaignSharedSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionActionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionActionServiceClientTest.php deleted file mode 100644 index c1fd1c817..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionActionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionActionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionActionServiceClient($options); - } - - /** @test */ - public function mutateConversionActionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionActionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionActionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionActions($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionActionService/MutateConversionActions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionActionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionActionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateConversionActions($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionActionsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionActionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionActionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionActionsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionActionService/MutateConversionActions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionAdjustmentUploadServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionAdjustmentUploadServiceClientTest.php deleted file mode 100644 index 847655b63..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionAdjustmentUploadServiceClientTest.php +++ /dev/null @@ -1,175 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionAdjustmentUploadServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionAdjustmentUploadServiceClient($options); - } - - /** @test */ - public function uploadConversionAdjustmentsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $jobId2 = 1615386288; - $expectedResponse = new UploadConversionAdjustmentsResponse(); - $expectedResponse->setJobId($jobId2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $conversionAdjustments = []; - $partialFailure = true; - $request = (new UploadConversionAdjustmentsRequest()) - ->setCustomerId($customerId) - ->setConversionAdjustments($conversionAdjustments) - ->setPartialFailure($partialFailure); - $response = $gapicClient->uploadConversionAdjustments($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionAdjustmentUploadService/UploadConversionAdjustments', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getConversionAdjustments(); - $this->assertProtobufEquals($conversionAdjustments, $actualValue); - $actualValue = $actualRequestObject->getPartialFailure(); - $this->assertProtobufEquals($partialFailure, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadConversionAdjustmentsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $conversionAdjustments = []; - $partialFailure = true; - $request = (new UploadConversionAdjustmentsRequest()) - ->setCustomerId($customerId) - ->setConversionAdjustments($conversionAdjustments) - ->setPartialFailure($partialFailure); - try { - $gapicClient->uploadConversionAdjustments($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadConversionAdjustmentsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $jobId2 = 1615386288; - $expectedResponse = new UploadConversionAdjustmentsResponse(); - $expectedResponse->setJobId($jobId2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $conversionAdjustments = []; - $partialFailure = true; - $request = (new UploadConversionAdjustmentsRequest()) - ->setCustomerId($customerId) - ->setConversionAdjustments($conversionAdjustments) - ->setPartialFailure($partialFailure); - $response = $gapicClient->uploadConversionAdjustmentsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionAdjustmentUploadService/UploadConversionAdjustments', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getConversionAdjustments(); - $this->assertProtobufEquals($conversionAdjustments, $actualValue); - $actualValue = $actualRequestObject->getPartialFailure(); - $this->assertProtobufEquals($partialFailure, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionCustomVariableServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionCustomVariableServiceClientTest.php deleted file mode 100644 index a4533c0b9..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionCustomVariableServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionCustomVariableServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionCustomVariableServiceClient($options); - } - - /** @test */ - public function mutateConversionCustomVariablesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionCustomVariablesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionCustomVariablesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionCustomVariables($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionCustomVariableService/MutateConversionCustomVariables', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionCustomVariablesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionCustomVariablesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateConversionCustomVariables($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionCustomVariablesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionCustomVariablesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionCustomVariablesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionCustomVariablesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionCustomVariableService/MutateConversionCustomVariables', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionGoalCampaignConfigServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionGoalCampaignConfigServiceClientTest.php deleted file mode 100644 index 3d792d086..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionGoalCampaignConfigServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionGoalCampaignConfigServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionGoalCampaignConfigServiceClient($options); - } - - /** @test */ - public function mutateConversionGoalCampaignConfigsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionGoalCampaignConfigsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionGoalCampaignConfigsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionGoalCampaignConfigs($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionGoalCampaignConfigService/MutateConversionGoalCampaignConfigs', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionGoalCampaignConfigsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionGoalCampaignConfigsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateConversionGoalCampaignConfigs($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionGoalCampaignConfigsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionGoalCampaignConfigsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionGoalCampaignConfigsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionGoalCampaignConfigsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionGoalCampaignConfigService/MutateConversionGoalCampaignConfigs', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionUploadServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionUploadServiceClientTest.php deleted file mode 100644 index b793c2a07..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionUploadServiceClientTest.php +++ /dev/null @@ -1,249 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionUploadServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionUploadServiceClient($options); - } - - /** @test */ - public function uploadCallConversionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new UploadCallConversionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - $request = (new UploadCallConversionsRequest()) - ->setCustomerId($customerId) - ->setConversions($conversions) - ->setPartialFailure($partialFailure); - $response = $gapicClient->uploadCallConversions($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionUploadService/UploadCallConversions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getConversions(); - $this->assertProtobufEquals($conversions, $actualValue); - $actualValue = $actualRequestObject->getPartialFailure(); - $this->assertProtobufEquals($partialFailure, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadCallConversionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - $request = (new UploadCallConversionsRequest()) - ->setCustomerId($customerId) - ->setConversions($conversions) - ->setPartialFailure($partialFailure); - try { - $gapicClient->uploadCallConversions($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadClickConversionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $jobId2 = 1615386288; - $expectedResponse = new UploadClickConversionsResponse(); - $expectedResponse->setJobId($jobId2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - $request = (new UploadClickConversionsRequest()) - ->setCustomerId($customerId) - ->setConversions($conversions) - ->setPartialFailure($partialFailure); - $response = $gapicClient->uploadClickConversions($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionUploadService/UploadClickConversions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getConversions(); - $this->assertProtobufEquals($conversions, $actualValue); - $actualValue = $actualRequestObject->getPartialFailure(); - $this->assertProtobufEquals($partialFailure, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadClickConversionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - $request = (new UploadClickConversionsRequest()) - ->setCustomerId($customerId) - ->setConversions($conversions) - ->setPartialFailure($partialFailure); - try { - $gapicClient->uploadClickConversions($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadCallConversionsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new UploadCallConversionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - $request = (new UploadCallConversionsRequest()) - ->setCustomerId($customerId) - ->setConversions($conversions) - ->setPartialFailure($partialFailure); - $response = $gapicClient->uploadCallConversionsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionUploadService/UploadCallConversions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getConversions(); - $this->assertProtobufEquals($conversions, $actualValue); - $actualValue = $actualRequestObject->getPartialFailure(); - $this->assertProtobufEquals($partialFailure, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleServiceClientTest.php deleted file mode 100644 index 3a70931dc..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionValueRuleServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionValueRuleServiceClient($options); - } - - /** @test */ - public function mutateConversionValueRulesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionValueRulesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionValueRulesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionValueRules($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionValueRuleService/MutateConversionValueRules', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionValueRulesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionValueRulesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateConversionValueRules($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionValueRulesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionValueRulesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionValueRulesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionValueRulesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionValueRuleService/MutateConversionValueRules', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleSetServiceClientTest.php deleted file mode 100644 index 4deb5daff..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ConversionValueRuleSetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionValueRuleSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionValueRuleSetServiceClient($options); - } - - /** @test */ - public function mutateConversionValueRuleSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionValueRuleSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionValueRuleSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionValueRuleSets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionValueRuleSetService/MutateConversionValueRuleSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionValueRuleSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionValueRuleSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateConversionValueRuleSets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionValueRuleSetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionValueRuleSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateConversionValueRuleSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateConversionValueRuleSetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionValueRuleSetService/MutateConversionValueRuleSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomAudienceServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomAudienceServiceClientTest.php deleted file mode 100644 index dd045fd45..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomAudienceServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomAudienceServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomAudienceServiceClient($options); - } - - /** @test */ - public function mutateCustomAudiencesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomAudiencesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomAudiencesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomAudiences($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomAudienceService/MutateCustomAudiences', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomAudiencesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomAudiencesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomAudiences($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomAudiencesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomAudiencesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomAudiencesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomAudiencesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomAudienceService/MutateCustomAudiences', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomConversionGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomConversionGoalServiceClientTest.php deleted file mode 100644 index 2fdb3012d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomConversionGoalServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomConversionGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomConversionGoalServiceClient($options); - } - - /** @test */ - public function mutateCustomConversionGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomConversionGoals($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomConversionGoalService/MutateCustomConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomConversionGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomConversionGoals($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomConversionGoalsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomConversionGoalsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomConversionGoalService/MutateCustomConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomInterestServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomInterestServiceClientTest.php deleted file mode 100644 index 9ea68ae83..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomInterestServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomInterestServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomInterestServiceClient($options); - } - - /** @test */ - public function mutateCustomInterestsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomInterestsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomInterestsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomInterests($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomInterestService/MutateCustomInterests', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomInterestsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomInterestsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomInterests($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomInterestsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomInterestsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomInterestsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomInterestsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomInterestService/MutateCustomInterests', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetServiceClientTest.php deleted file mode 100644 index bffbe001f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerAssetServiceClient($options); - } - - /** @test */ - public function mutateCustomerAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerAssets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerAssetService/MutateCustomerAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerAssets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerAssetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerAssetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerAssetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerAssetService/MutateCustomerAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetSetServiceClientTest.php deleted file mode 100644 index de2397603..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerAssetSetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerAssetSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerAssetSetServiceClient($options); - } - - /** @test */ - public function mutateCustomerAssetSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerAssetSets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerAssetSetService/MutateCustomerAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerAssetSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerAssetSets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerAssetSetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerAssetSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerAssetSetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerAssetSetService/MutateCustomerAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerClientLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerClientLinkServiceClientTest.php deleted file mode 100644 index fda48689c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerClientLinkServiceClientTest.php +++ /dev/null @@ -1,162 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerClientLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerClientLinkServiceClient($options); - } - - /** @test */ - public function mutateCustomerClientLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerClientLinkResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerClientLinkOperation(); - $request = (new MutateCustomerClientLinkRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateCustomerClientLink($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerClientLinkService/MutateCustomerClientLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerClientLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerClientLinkOperation(); - $request = (new MutateCustomerClientLinkRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->mutateCustomerClientLink($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerClientLinkAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerClientLinkResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerClientLinkOperation(); - $request = (new MutateCustomerClientLinkRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateCustomerClientLinkAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerClientLinkService/MutateCustomerClientLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerConversionGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerConversionGoalServiceClientTest.php deleted file mode 100644 index ff2e1af62..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerConversionGoalServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerConversionGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerConversionGoalServiceClient($options); - } - - /** @test */ - public function mutateCustomerConversionGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerConversionGoals($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerConversionGoalService/MutateCustomerConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerConversionGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerConversionGoals($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerConversionGoalsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerConversionGoalsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerConversionGoalsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerConversionGoalService/MutateCustomerConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerCustomizerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerCustomizerServiceClientTest.php deleted file mode 100644 index f8f782e26..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerCustomizerServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerCustomizerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerCustomizerServiceClient($options); - } - - /** @test */ - public function mutateCustomerCustomizersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerCustomizers($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerCustomizerService/MutateCustomerCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerCustomizersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerCustomizers($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerCustomizersAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerCustomizersRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerCustomizersAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerCustomizerService/MutateCustomerCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerExtensionSettingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerExtensionSettingServiceClientTest.php deleted file mode 100644 index e1683e1b1..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerExtensionSettingServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerExtensionSettingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerExtensionSettingServiceClient($options); - } - - /** @test */ - public function mutateCustomerExtensionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerExtensionSettings($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerExtensionSettingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerExtensionSettings($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerExtensionSettingsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerExtensionSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerExtensionSettingsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerFeedServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerFeedServiceClientTest.php deleted file mode 100644 index 50d93593a..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerFeedServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerFeedServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerFeedServiceClient($options); - } - - /** @test */ - public function mutateCustomerFeedsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerFeeds($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerFeedService/MutateCustomerFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerFeedsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerFeeds($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerFeedsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerFeedsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerFeedService/MutateCustomerFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerLabelServiceClientTest.php deleted file mode 100644 index 7b654e131..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerLabelServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerLabelServiceClient($options); - } - - /** @test */ - public function mutateCustomerLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerLabels($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerLabelService/MutateCustomerLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerLabels($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerLabelsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerLabelsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerLabelService/MutateCustomerLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerLifecycleGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerLifecycleGoalServiceClientTest.php deleted file mode 100644 index 2dcfcda6c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerLifecycleGoalServiceClientTest.php +++ /dev/null @@ -1,162 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerLifecycleGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerLifecycleGoalServiceClient($options); - } - - /** @test */ - public function configureCustomerLifecycleGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ConfigureCustomerLifecycleGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerLifecycleGoalOperation(); - $request = (new ConfigureCustomerLifecycleGoalsRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->configureCustomerLifecycleGoals($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerLifecycleGoalService/ConfigureCustomerLifecycleGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function configureCustomerLifecycleGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerLifecycleGoalOperation(); - $request = (new ConfigureCustomerLifecycleGoalsRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->configureCustomerLifecycleGoals($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function configureCustomerLifecycleGoalsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ConfigureCustomerLifecycleGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerLifecycleGoalOperation(); - $request = (new ConfigureCustomerLifecycleGoalsRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->configureCustomerLifecycleGoalsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerLifecycleGoalService/ConfigureCustomerLifecycleGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerManagerLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerManagerLinkServiceClientTest.php deleted file mode 100644 index 97e0530af..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerManagerLinkServiceClientTest.php +++ /dev/null @@ -1,245 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerManagerLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerManagerLinkServiceClient($options); - } - - /** @test */ - public function moveManagerLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new MoveManagerLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $previousCustomerManagerLink = 'previousCustomerManagerLink-1454597947'; - $newManager = 'newManager90619918'; - $request = (new MoveManagerLinkRequest()) - ->setCustomerId($customerId) - ->setPreviousCustomerManagerLink($previousCustomerManagerLink) - ->setNewManager($newManager); - $response = $gapicClient->moveManagerLink($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerManagerLinkService/MoveManagerLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getPreviousCustomerManagerLink(); - $this->assertProtobufEquals($previousCustomerManagerLink, $actualValue); - $actualValue = $actualRequestObject->getNewManager(); - $this->assertProtobufEquals($newManager, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function moveManagerLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $previousCustomerManagerLink = 'previousCustomerManagerLink-1454597947'; - $newManager = 'newManager90619918'; - $request = (new MoveManagerLinkRequest()) - ->setCustomerId($customerId) - ->setPreviousCustomerManagerLink($previousCustomerManagerLink) - ->setNewManager($newManager); - try { - $gapicClient->moveManagerLink($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerManagerLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerManagerLinkResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerManagerLinkRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerManagerLink($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerManagerLinkService/MutateCustomerManagerLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerManagerLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerManagerLinkRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerManagerLink($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function moveManagerLinkAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new MoveManagerLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $previousCustomerManagerLink = 'previousCustomerManagerLink-1454597947'; - $newManager = 'newManager90619918'; - $request = (new MoveManagerLinkRequest()) - ->setCustomerId($customerId) - ->setPreviousCustomerManagerLink($previousCustomerManagerLink) - ->setNewManager($newManager); - $response = $gapicClient->moveManagerLinkAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerManagerLinkService/MoveManagerLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getPreviousCustomerManagerLink(); - $this->assertProtobufEquals($previousCustomerManagerLink, $actualValue); - $actualValue = $actualRequestObject->getNewManager(); - $this->assertProtobufEquals($newManager, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerNegativeCriterionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerNegativeCriterionServiceClientTest.php deleted file mode 100644 index 264611ace..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerNegativeCriterionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerNegativeCriterionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerNegativeCriterionServiceClient($options); - } - - /** @test */ - public function mutateCustomerNegativeCriteriaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerNegativeCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerNegativeCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerNegativeCriteria($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerNegativeCriteriaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerNegativeCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomerNegativeCriteria($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerNegativeCriteriaAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerNegativeCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomerNegativeCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomerNegativeCriteriaAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerServiceClientTest.php deleted file mode 100644 index d18eaf850..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerServiceClientTest.php +++ /dev/null @@ -1,297 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerServiceClient($options); - } - - /** @test */ - public function createCustomerClientTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $invitationLink = 'invitationLink-2091530016'; - $expectedResponse = new CreateCustomerClientResponse(); - $expectedResponse->setResourceName($resourceName); - $expectedResponse->setInvitationLink($invitationLink); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $customerClient = new Customer(); - $request = (new CreateCustomerClientRequest()) - ->setCustomerId($customerId) - ->setCustomerClient($customerClient); - $response = $gapicClient->createCustomerClient($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerService/CreateCustomerClient', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getCustomerClient(); - $this->assertProtobufEquals($customerClient, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createCustomerClientExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $customerClient = new Customer(); - $request = (new CreateCustomerClientRequest()) - ->setCustomerId($customerId) - ->setCustomerClient($customerClient); - try { - $gapicClient->createCustomerClient($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccessibleCustomersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListAccessibleCustomersResponse(); - $transport->addResponse($expectedResponse); - $request = new ListAccessibleCustomersRequest(); - $response = $gapicClient->listAccessibleCustomers($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerService/ListAccessibleCustomers', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccessibleCustomersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new ListAccessibleCustomersRequest(); - try { - $gapicClient->listAccessibleCustomers($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerOperation(); - $request = (new MutateCustomerRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateCustomer($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerService/MutateCustomer', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerOperation(); - $request = (new MutateCustomerRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->mutateCustomer($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createCustomerClientAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $invitationLink = 'invitationLink-2091530016'; - $expectedResponse = new CreateCustomerClientResponse(); - $expectedResponse->setResourceName($resourceName); - $expectedResponse->setInvitationLink($invitationLink); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $customerClient = new Customer(); - $request = (new CreateCustomerClientRequest()) - ->setCustomerId($customerId) - ->setCustomerClient($customerClient); - $response = $gapicClient->createCustomerClientAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerService/CreateCustomerClient', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getCustomerClient(); - $this->assertProtobufEquals($customerClient, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerSkAdNetworkConversionValueSchemaServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerSkAdNetworkConversionValueSchemaServiceClientTest.php deleted file mode 100644 index b4a3fd25e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerSkAdNetworkConversionValueSchemaServiceClientTest.php +++ /dev/null @@ -1,138 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerSkAdNetworkConversionValueSchemaServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerSkAdNetworkConversionValueSchemaServiceClient($options); - } - - /** @test */ - public function mutateCustomerSkAdNetworkConversionValueSchemaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerSkAdNetworkConversionValueSchemaResponse(); - $transport->addResponse($expectedResponse); - $request = new MutateCustomerSkAdNetworkConversionValueSchemaRequest(); - $response = $gapicClient->mutateCustomerSkAdNetworkConversionValueSchema($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService/MutateCustomerSkAdNetworkConversionValueSchema', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerSkAdNetworkConversionValueSchemaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new MutateCustomerSkAdNetworkConversionValueSchemaRequest(); - try { - $gapicClient->mutateCustomerSkAdNetworkConversionValueSchema($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerSkAdNetworkConversionValueSchemaAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerSkAdNetworkConversionValueSchemaResponse(); - $transport->addResponse($expectedResponse); - $request = new MutateCustomerSkAdNetworkConversionValueSchemaRequest(); - $response = $gapicClient->mutateCustomerSkAdNetworkConversionValueSchemaAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService/MutateCustomerSkAdNetworkConversionValueSchema', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessInvitationServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessInvitationServiceClientTest.php deleted file mode 100644 index 4edb5eeda..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessInvitationServiceClientTest.php +++ /dev/null @@ -1,162 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerUserAccessInvitationServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerUserAccessInvitationServiceClient($options); - } - - /** @test */ - public function mutateCustomerUserAccessInvitationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerUserAccessInvitationResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessInvitationOperation(); - $request = (new MutateCustomerUserAccessInvitationRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateCustomerUserAccessInvitation($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerUserAccessInvitationService/MutateCustomerUserAccessInvitation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerUserAccessInvitationExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessInvitationOperation(); - $request = (new MutateCustomerUserAccessInvitationRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->mutateCustomerUserAccessInvitation($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerUserAccessInvitationAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerUserAccessInvitationResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessInvitationOperation(); - $request = (new MutateCustomerUserAccessInvitationRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateCustomerUserAccessInvitationAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerUserAccessInvitationService/MutateCustomerUserAccessInvitation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessServiceClientTest.php deleted file mode 100644 index 7b9b39c51..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomerUserAccessServiceClientTest.php +++ /dev/null @@ -1,162 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerUserAccessServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerUserAccessServiceClient($options); - } - - /** @test */ - public function mutateCustomerUserAccessTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerUserAccessResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessOperation(); - $request = (new MutateCustomerUserAccessRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateCustomerUserAccess($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerUserAccessService/MutateCustomerUserAccess', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerUserAccessExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessOperation(); - $request = (new MutateCustomerUserAccessRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - try { - $gapicClient->mutateCustomerUserAccess($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerUserAccessAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerUserAccessResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessOperation(); - $request = (new MutateCustomerUserAccessRequest()) - ->setCustomerId($customerId) - ->setOperation($operation); - $response = $gapicClient->mutateCustomerUserAccessAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerUserAccessService/MutateCustomerUserAccess', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomizerAttributeServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomizerAttributeServiceClientTest.php deleted file mode 100644 index da33d0bff..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/CustomizerAttributeServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomizerAttributeServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomizerAttributeServiceClient($options); - } - - /** @test */ - public function mutateCustomizerAttributesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomizerAttributesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomizerAttributesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomizerAttributes($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomizerAttributeService/MutateCustomizerAttributes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomizerAttributesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomizerAttributesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateCustomizerAttributes($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomizerAttributesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomizerAttributesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateCustomizerAttributesRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateCustomizerAttributesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomizerAttributeService/MutateCustomizerAttributes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ExperimentArmServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ExperimentArmServiceClientTest.php deleted file mode 100644 index 4ce00ce73..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ExperimentArmServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ExperimentArmServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ExperimentArmServiceClient($options); - } - - /** @test */ - public function mutateExperimentArmsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateExperimentArmsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateExperimentArmsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateExperimentArms($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentArmService/MutateExperimentArms', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExperimentArmsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateExperimentArmsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateExperimentArms($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExperimentArmsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateExperimentArmsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateExperimentArmsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateExperimentArmsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentArmService/MutateExperimentArms', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ExperimentServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ExperimentServiceClientTest.php deleted file mode 100644 index f5cc4a487..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ExperimentServiceClientTest.php +++ /dev/null @@ -1,610 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ExperimentServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ExperimentServiceClient($options); - } - - /** @test */ - public function endExperimentTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new EndExperimentRequest()) - ->setExperiment($formattedExperiment); - $gapicClient->endExperiment($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/EndExperiment', $actualFuncCall); - $actualValue = $actualRequestObject->getExperiment(); - $this->assertProtobufEquals($formattedExperiment, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function endExperimentExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new EndExperimentRequest()) - ->setExperiment($formattedExperiment); - try { - $gapicClient->endExperiment($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function graduateExperimentTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $campaignBudgetMappings = []; - $request = (new GraduateExperimentRequest()) - ->setExperiment($formattedExperiment) - ->setCampaignBudgetMappings($campaignBudgetMappings); - $gapicClient->graduateExperiment($request); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/GraduateExperiment', $actualFuncCall); - $actualValue = $actualRequestObject->getExperiment(); - $this->assertProtobufEquals($formattedExperiment, $actualValue); - $actualValue = $actualRequestObject->getCampaignBudgetMappings(); - $this->assertProtobufEquals($campaignBudgetMappings, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function graduateExperimentExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $campaignBudgetMappings = []; - $request = (new GraduateExperimentRequest()) - ->setExperiment($formattedExperiment) - ->setCampaignBudgetMappings($campaignBudgetMappings); - try { - $gapicClient->graduateExperiment($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listExperimentAsyncErrorsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $errorsElement = new Status(); - $errors = [ - $errorsElement, - ]; - $expectedResponse = new ListExperimentAsyncErrorsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setErrors($errors); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new ListExperimentAsyncErrorsRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->listExperimentAsyncErrors($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getErrors()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/ListExperimentAsyncErrors', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listExperimentAsyncErrorsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new ListExperimentAsyncErrorsRequest()) - ->setResourceName($formattedResourceName); - try { - $gapicClient->listExperimentAsyncErrors($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExperimentsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateExperimentsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateExperimentsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateExperiments($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/MutateExperiments', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExperimentsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateExperimentsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateExperiments($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function promoteExperimentTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/promoteExperimentTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/promoteExperimentTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new PromoteExperimentRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->promoteExperiment($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/PromoteExperiment', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/promoteExperimentTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function promoteExperimentExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/promoteExperimentTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new PromoteExperimentRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->promoteExperiment($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/promoteExperimentTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function scheduleExperimentTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/scheduleExperimentTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/scheduleExperimentTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new ScheduleExperimentRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->scheduleExperiment($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/ScheduleExperiment', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/scheduleExperimentTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function scheduleExperimentExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/scheduleExperimentTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new ScheduleExperimentRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->scheduleExperiment($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/scheduleExperimentTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function endExperimentAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $request = (new EndExperimentRequest()) - ->setExperiment($formattedExperiment); - $gapicClient->endExperimentAsync($request)->wait(); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/EndExperiment', $actualFuncCall); - $actualValue = $actualRequestObject->getExperiment(); - $this->assertProtobufEquals($formattedExperiment, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ExtensionFeedItemServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ExtensionFeedItemServiceClientTest.php deleted file mode 100644 index 5cea387e3..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ExtensionFeedItemServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ExtensionFeedItemServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ExtensionFeedItemServiceClient($options); - } - - /** @test */ - public function mutateExtensionFeedItemsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateExtensionFeedItemsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateExtensionFeedItemsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateExtensionFeedItems($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExtensionFeedItemService/MutateExtensionFeedItems', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExtensionFeedItemsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateExtensionFeedItemsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateExtensionFeedItems($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExtensionFeedItemsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateExtensionFeedItemsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateExtensionFeedItemsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateExtensionFeedItemsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExtensionFeedItemService/MutateExtensionFeedItems', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemServiceClientTest.php deleted file mode 100644 index 539f331fc..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedItemServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedItemServiceClient($options); - } - - /** @test */ - public function mutateFeedItemsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedItems($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemService/MutateFeedItems', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateFeedItems($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedItemsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemService/MutateFeedItems', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetLinkServiceClientTest.php deleted file mode 100644 index ea9c81821..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetLinkServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedItemSetLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedItemSetLinkServiceClient($options); - } - - /** @test */ - public function mutateFeedItemSetLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemSetLinksResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemSetLinksRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedItemSetLinks($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemSetLinkService/MutateFeedItemSetLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemSetLinksExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemSetLinksRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateFeedItemSetLinks($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemSetLinksAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemSetLinksResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemSetLinksRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedItemSetLinksAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemSetLinkService/MutateFeedItemSetLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetServiceClientTest.php deleted file mode 100644 index b8cf293b3..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemSetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedItemSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedItemSetServiceClient($options); - } - - /** @test */ - public function mutateFeedItemSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedItemSets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemSetService/MutateFeedItemSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateFeedItemSets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemSetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedItemSetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemSetService/MutateFeedItemSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemTargetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemTargetServiceClientTest.php deleted file mode 100644 index 643d8f7b5..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedItemTargetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedItemTargetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedItemTargetServiceClient($options); - } - - /** @test */ - public function mutateFeedItemTargetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemTargetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemTargetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedItemTargets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemTargetService/MutateFeedItemTargets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemTargetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemTargetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateFeedItemTargets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemTargetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemTargetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedItemTargetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedItemTargetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemTargetService/MutateFeedItemTargets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedMappingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedMappingServiceClientTest.php deleted file mode 100644 index 3f6515c11..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedMappingServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedMappingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedMappingServiceClient($options); - } - - /** @test */ - public function mutateFeedMappingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedMappingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedMappingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedMappings($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedMappingService/MutateFeedMappings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedMappingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedMappingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateFeedMappings($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedMappingsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedMappingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedMappingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedMappingsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedMappingService/MutateFeedMappings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedServiceClientTest.php deleted file mode 100644 index 76698780f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/FeedServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedServiceClient($options); - } - - /** @test */ - public function mutateFeedsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeeds($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedService/MutateFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateFeeds($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateFeedsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateFeedsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedService/MutateFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/GeoTargetConstantServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/GeoTargetConstantServiceClientTest.php deleted file mode 100644 index 89ac9c842..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/GeoTargetConstantServiceClientTest.php +++ /dev/null @@ -1,138 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return GeoTargetConstantServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new GeoTargetConstantServiceClient($options); - } - - /** @test */ - public function suggestGeoTargetConstantsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestGeoTargetConstantsResponse(); - $transport->addResponse($expectedResponse); - $request = new SuggestGeoTargetConstantsRequest(); - $response = $gapicClient->suggestGeoTargetConstants($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GeoTargetConstantService/SuggestGeoTargetConstants', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestGeoTargetConstantsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new SuggestGeoTargetConstantsRequest(); - try { - $gapicClient->suggestGeoTargetConstants($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestGeoTargetConstantsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestGeoTargetConstantsResponse(); - $transport->addResponse($expectedResponse); - $request = new SuggestGeoTargetConstantsRequest(); - $response = $gapicClient->suggestGeoTargetConstantsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GeoTargetConstantService/SuggestGeoTargetConstants', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsFieldServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsFieldServiceClientTest.php deleted file mode 100644 index 6aa5f498e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsFieldServiceClientTest.php +++ /dev/null @@ -1,255 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return GoogleAdsFieldServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new GoogleAdsFieldServiceClient($options); - } - - /** @test */ - public function getGoogleAdsFieldTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $name = 'name3373707'; - $selectable = true; - $filterable = true; - $sortable = true; - $typeUrl = 'typeUrl-675981590'; - $isRepeated = false; - $expectedResponse = new GoogleAdsField(); - $expectedResponse->setResourceName($resourceName2); - $expectedResponse->setName($name); - $expectedResponse->setSelectable($selectable); - $expectedResponse->setFilterable($filterable); - $expectedResponse->setSortable($sortable); - $expectedResponse->setTypeUrl($typeUrl); - $expectedResponse->setIsRepeated($isRepeated); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->googleAdsFieldName('[GOOGLE_ADS_FIELD]'); - $request = (new GetGoogleAdsFieldRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->getGoogleAdsField($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsFieldService/GetGoogleAdsField', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getGoogleAdsFieldExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->googleAdsFieldName('[GOOGLE_ADS_FIELD]'); - $request = (new GetGoogleAdsFieldRequest()) - ->setResourceName($formattedResourceName); - try { - $gapicClient->getGoogleAdsField($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchGoogleAdsFieldsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $totalResultsCount = 43694645; - $resultsElement = new GoogleAdsField(); - $results = [ - $resultsElement, - ]; - $expectedResponse = new SearchGoogleAdsFieldsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setTotalResultsCount($totalResultsCount); - $expectedResponse->setResults($results); - $transport->addResponse($expectedResponse); - // Mock request - $query = 'query107944136'; - $request = (new SearchGoogleAdsFieldsRequest()) - ->setQuery($query); - $response = $gapicClient->searchGoogleAdsFields($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getResults()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsFieldService/SearchGoogleAdsFields', $actualFuncCall); - $actualValue = $actualRequestObject->getQuery(); - $this->assertProtobufEquals($query, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchGoogleAdsFieldsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $query = 'query107944136'; - $request = (new SearchGoogleAdsFieldsRequest()) - ->setQuery($query); - try { - $gapicClient->searchGoogleAdsFields($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getGoogleAdsFieldAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $name = 'name3373707'; - $selectable = true; - $filterable = true; - $sortable = true; - $typeUrl = 'typeUrl-675981590'; - $isRepeated = false; - $expectedResponse = new GoogleAdsField(); - $expectedResponse->setResourceName($resourceName2); - $expectedResponse->setName($name); - $expectedResponse->setSelectable($selectable); - $expectedResponse->setFilterable($filterable); - $expectedResponse->setSortable($sortable); - $expectedResponse->setTypeUrl($typeUrl); - $expectedResponse->setIsRepeated($isRepeated); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->googleAdsFieldName('[GOOGLE_ADS_FIELD]'); - $request = (new GetGoogleAdsFieldRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->getGoogleAdsFieldAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsFieldService/GetGoogleAdsField', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsServiceClientTest.php deleted file mode 100644 index 009009e73..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/GoogleAdsServiceClientTest.php +++ /dev/null @@ -1,341 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return GoogleAdsServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new GoogleAdsServiceClient($options); - } - - /** @test */ - public function mutateTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateGoogleAdsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $mutateOperations = []; - $request = (new MutateGoogleAdsRequest()) - ->setCustomerId($customerId) - ->setMutateOperations($mutateOperations); - $response = $gapicClient->mutate($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsService/Mutate', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getMutateOperations(); - $this->assertProtobufEquals($mutateOperations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $mutateOperations = []; - $request = (new MutateGoogleAdsRequest()) - ->setCustomerId($customerId) - ->setMutateOperations($mutateOperations); - try { - $gapicClient->mutate($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $totalResultsCount = 43694645; - $queryResourceConsumption = 1151647743; - $resultsElement = new GoogleAdsRow(); - $results = [ - $resultsElement, - ]; - $expectedResponse = new SearchGoogleAdsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setTotalResultsCount($totalResultsCount); - $expectedResponse->setQueryResourceConsumption($queryResourceConsumption); - $expectedResponse->setResults($results); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $query = 'query107944136'; - $request = (new SearchGoogleAdsRequest()) - ->setCustomerId($customerId) - ->setQuery($query); - $response = $gapicClient->search($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getResults()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsService/Search', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getQuery(); - $this->assertProtobufEquals($query, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $query = 'query107944136'; - $request = (new SearchGoogleAdsRequest()) - ->setCustomerId($customerId) - ->setQuery($query); - try { - $gapicClient->search($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $requestId = 'requestId37109963'; - $queryResourceConsumption = 1151647743; - $expectedResponse = new SearchGoogleAdsStreamResponse(); - $expectedResponse->setRequestId($requestId); - $expectedResponse->setQueryResourceConsumption($queryResourceConsumption); - $transport->addResponse($expectedResponse); - $requestId2 = 'requestId21302939070'; - $queryResourceConsumption2 = 1368084340; - $expectedResponse2 = new SearchGoogleAdsStreamResponse(); - $expectedResponse2->setRequestId($requestId2); - $expectedResponse2->setQueryResourceConsumption($queryResourceConsumption2); - $transport->addResponse($expectedResponse2); - $requestId3 = 'requestId31302939071'; - $queryResourceConsumption3 = 1368084341; - $expectedResponse3 = new SearchGoogleAdsStreamResponse(); - $expectedResponse3->setRequestId($requestId3); - $expectedResponse3->setQueryResourceConsumption($queryResourceConsumption3); - $transport->addResponse($expectedResponse3); - // Mock request - $customerId = 'customerId-1772061412'; - $query = 'query107944136'; - $request = (new SearchGoogleAdsStreamRequest()) - ->setCustomerId($customerId) - ->setQuery($query); - $serverStream = $gapicClient->searchStream($request); - $this->assertInstanceOf(ServerStream::class, $serverStream); - $responses = iterator_to_array($serverStream->readAll()); - $expectedResponses = []; - $expectedResponses[] = $expectedResponse; - $expectedResponses[] = $expectedResponse2; - $expectedResponses[] = $expectedResponse3; - $this->assertEquals($expectedResponses, $responses); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsService/SearchStream', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getQuery(); - $this->assertProtobufEquals($query, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchStreamExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->setStreamingStatus($status); - $this->assertTrue($transport->isExhausted()); - // Mock request - $customerId = 'customerId-1772061412'; - $query = 'query107944136'; - $request = (new SearchGoogleAdsStreamRequest()) - ->setCustomerId($customerId) - ->setQuery($query); - $serverStream = $gapicClient->searchStream($request); - $results = $serverStream->readAll(); - try { - iterator_to_array($results); - // If the close stream method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateGoogleAdsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $mutateOperations = []; - $request = (new MutateGoogleAdsRequest()) - ->setCustomerId($customerId) - ->setMutateOperations($mutateOperations); - $response = $gapicClient->mutateAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsService/Mutate', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getMutateOperations(); - $this->assertProtobufEquals($mutateOperations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/InvoiceServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/InvoiceServiceClientTest.php deleted file mode 100644 index eb1292a52..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/InvoiceServiceClientTest.php +++ /dev/null @@ -1,182 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return InvoiceServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new InvoiceServiceClient($options); - } - - /** @test */ - public function listInvoicesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListInvoicesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $billingSetup = 'billingSetup-1181632583'; - $issueYear = 'issueYear1443510243'; - $issueMonth = MonthOfYear::UNSPECIFIED; - $request = (new ListInvoicesRequest()) - ->setCustomerId($customerId) - ->setBillingSetup($billingSetup) - ->setIssueYear($issueYear) - ->setIssueMonth($issueMonth); - $response = $gapicClient->listInvoices($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.InvoiceService/ListInvoices', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getBillingSetup(); - $this->assertProtobufEquals($billingSetup, $actualValue); - $actualValue = $actualRequestObject->getIssueYear(); - $this->assertProtobufEquals($issueYear, $actualValue); - $actualValue = $actualRequestObject->getIssueMonth(); - $this->assertProtobufEquals($issueMonth, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listInvoicesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $billingSetup = 'billingSetup-1181632583'; - $issueYear = 'issueYear1443510243'; - $issueMonth = MonthOfYear::UNSPECIFIED; - $request = (new ListInvoicesRequest()) - ->setCustomerId($customerId) - ->setBillingSetup($billingSetup) - ->setIssueYear($issueYear) - ->setIssueMonth($issueMonth); - try { - $gapicClient->listInvoices($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listInvoicesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListInvoicesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $billingSetup = 'billingSetup-1181632583'; - $issueYear = 'issueYear1443510243'; - $issueMonth = MonthOfYear::UNSPECIFIED; - $request = (new ListInvoicesRequest()) - ->setCustomerId($customerId) - ->setBillingSetup($billingSetup) - ->setIssueYear($issueYear) - ->setIssueMonth($issueMonth); - $response = $gapicClient->listInvoicesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.InvoiceService/ListInvoices', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getBillingSetup(); - $this->assertProtobufEquals($billingSetup, $actualValue); - $actualValue = $actualRequestObject->getIssueYear(); - $this->assertProtobufEquals($issueYear, $actualValue); - $actualValue = $actualRequestObject->getIssueMonth(); - $this->assertProtobufEquals($issueMonth, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupKeywordServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupKeywordServiceClientTest.php deleted file mode 100644 index 7c14271ba..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupKeywordServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanAdGroupKeywordServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanAdGroupKeywordServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlanAdGroupKeywordsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanAdGroupKeywordsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanAdGroupKeywordsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlanAdGroupKeywords($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService/MutateKeywordPlanAdGroupKeywords', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanAdGroupKeywordsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanAdGroupKeywordsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateKeywordPlanAdGroupKeywords($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanAdGroupKeywordsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanAdGroupKeywordsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanAdGroupKeywordsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlanAdGroupKeywordsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService/MutateKeywordPlanAdGroupKeywords', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupServiceClientTest.php deleted file mode 100644 index cacb560eb..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanAdGroupServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanAdGroupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanAdGroupServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlanAdGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanAdGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanAdGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlanAdGroups($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanAdGroupsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanAdGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateKeywordPlanAdGroups($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanAdGroupsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanAdGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanAdGroupsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlanAdGroupsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignKeywordServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignKeywordServiceClientTest.php deleted file mode 100644 index 79859a6b3..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignKeywordServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanCampaignKeywordServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanCampaignKeywordServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlanCampaignKeywordsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanCampaignKeywordsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanCampaignKeywordsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlanCampaignKeywords($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService/MutateKeywordPlanCampaignKeywords', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanCampaignKeywordsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanCampaignKeywordsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateKeywordPlanCampaignKeywords($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanCampaignKeywordsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanCampaignKeywordsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanCampaignKeywordsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlanCampaignKeywordsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService/MutateKeywordPlanCampaignKeywords', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignServiceClientTest.php deleted file mode 100644 index b2fec57a9..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanCampaignServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanCampaignServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanCampaignServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlanCampaignsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanCampaignsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanCampaignsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlanCampaigns($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanCampaignsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanCampaignsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateKeywordPlanCampaigns($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanCampaignsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanCampaignsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlanCampaignsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlanCampaignsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanIdeaServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanIdeaServiceClientTest.php deleted file mode 100644 index daf626385..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanIdeaServiceClientTest.php +++ /dev/null @@ -1,371 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanIdeaServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanIdeaServiceClient($options); - } - - /** @test */ - public function generateAdGroupThemesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateAdGroupThemesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $keywords = []; - $adGroups = []; - $request = (new GenerateAdGroupThemesRequest()) - ->setCustomerId($customerId) - ->setKeywords($keywords) - ->setAdGroups($adGroups); - $response = $gapicClient->generateAdGroupThemes($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateAdGroupThemes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getKeywords(); - $this->assertProtobufEquals($keywords, $actualValue); - $actualValue = $actualRequestObject->getAdGroups(); - $this->assertProtobufEquals($adGroups, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateAdGroupThemesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $keywords = []; - $adGroups = []; - $request = (new GenerateAdGroupThemesRequest()) - ->setCustomerId($customerId) - ->setKeywords($keywords) - ->setAdGroups($adGroups); - try { - $gapicClient->generateAdGroupThemes($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordForecastMetricsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateKeywordForecastMetricsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $campaign = new CampaignToForecast(); - $campaignKeywordPlanNetwork = KeywordPlanNetwork::UNSPECIFIED; - $campaign->setKeywordPlanNetwork($campaignKeywordPlanNetwork); - $campaignBiddingStrategy = new CampaignBiddingStrategy(); - $campaign->setBiddingStrategy($campaignBiddingStrategy); - $request = (new GenerateKeywordForecastMetricsRequest()) - ->setCampaign($campaign); - $response = $gapicClient->generateKeywordForecastMetrics($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics', $actualFuncCall); - $actualValue = $actualRequestObject->getCampaign(); - $this->assertProtobufEquals($campaign, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordForecastMetricsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $campaign = new CampaignToForecast(); - $campaignKeywordPlanNetwork = KeywordPlanNetwork::UNSPECIFIED; - $campaign->setKeywordPlanNetwork($campaignKeywordPlanNetwork); - $campaignBiddingStrategy = new CampaignBiddingStrategy(); - $campaign->setBiddingStrategy($campaignBiddingStrategy); - $request = (new GenerateKeywordForecastMetricsRequest()) - ->setCampaign($campaign); - try { - $gapicClient->generateKeywordForecastMetrics($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordHistoricalMetricsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateKeywordHistoricalMetricsResponse(); - $transport->addResponse($expectedResponse); - $request = new GenerateKeywordHistoricalMetricsRequest(); - $response = $gapicClient->generateKeywordHistoricalMetrics($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordHistoricalMetrics', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordHistoricalMetricsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new GenerateKeywordHistoricalMetricsRequest(); - try { - $gapicClient->generateKeywordHistoricalMetrics($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordIdeasTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $totalSize = 705419236; - $resultsElement = new GenerateKeywordIdeaResult(); - $results = [ - $resultsElement, - ]; - $expectedResponse = new GenerateKeywordIdeaResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setTotalSize($totalSize); - $expectedResponse->setResults($results); - $transport->addResponse($expectedResponse); - $request = new GenerateKeywordIdeasRequest(); - $response = $gapicClient->generateKeywordIdeas($request); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getResults()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordIdeas', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordIdeasExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new GenerateKeywordIdeasRequest(); - try { - $gapicClient->generateKeywordIdeas($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateAdGroupThemesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateAdGroupThemesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $keywords = []; - $adGroups = []; - $request = (new GenerateAdGroupThemesRequest()) - ->setCustomerId($customerId) - ->setKeywords($keywords) - ->setAdGroups($adGroups); - $response = $gapicClient->generateAdGroupThemesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateAdGroupThemes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getKeywords(); - $this->assertProtobufEquals($keywords, $actualValue); - $actualValue = $actualRequestObject->getAdGroups(); - $this->assertProtobufEquals($adGroups, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanServiceClientTest.php deleted file mode 100644 index e8e3d4e71..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordPlanServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlansTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlansResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlansRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlans($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanService/MutateKeywordPlans', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlansExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlansRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateKeywordPlans($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlansAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlansResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateKeywordPlansRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateKeywordPlansAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanService/MutateKeywordPlans', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordThemeConstantServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordThemeConstantServiceClientTest.php deleted file mode 100644 index 5900243d5..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/KeywordThemeConstantServiceClientTest.php +++ /dev/null @@ -1,138 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordThemeConstantServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordThemeConstantServiceClient($options); - } - - /** @test */ - public function suggestKeywordThemeConstantsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestKeywordThemeConstantsResponse(); - $transport->addResponse($expectedResponse); - $request = new SuggestKeywordThemeConstantsRequest(); - $response = $gapicClient->suggestKeywordThemeConstants($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordThemeConstantService/SuggestKeywordThemeConstants', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestKeywordThemeConstantsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new SuggestKeywordThemeConstantsRequest(); - try { - $gapicClient->suggestKeywordThemeConstants($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestKeywordThemeConstantsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestKeywordThemeConstantsResponse(); - $transport->addResponse($expectedResponse); - $request = new SuggestKeywordThemeConstantsRequest(); - $response = $gapicClient->suggestKeywordThemeConstantsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordThemeConstantService/SuggestKeywordThemeConstants', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/LabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/LabelServiceClientTest.php deleted file mode 100644 index dd1c69901..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/LabelServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return LabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new LabelServiceClient($options); - } - - /** @test */ - public function mutateLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateLabels($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.LabelService/MutateLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateLabels($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateLabelsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateLabelsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateLabelsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.LabelService/MutateLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/OfflineUserDataJobServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/OfflineUserDataJobServiceClientTest.php deleted file mode 100644 index 58db3551e..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/OfflineUserDataJobServiceClientTest.php +++ /dev/null @@ -1,361 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return OfflineUserDataJobServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new OfflineUserDataJobServiceClient($options); - } - - /** @test */ - public function addOfflineUserDataJobOperationsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new AddOfflineUserDataJobOperationsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $operations = []; - $request = (new AddOfflineUserDataJobOperationsRequest()) - ->setResourceName($formattedResourceName) - ->setOperations($operations); - $response = $gapicClient->addOfflineUserDataJobOperations($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.OfflineUserDataJobService/AddOfflineUserDataJobOperations', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function addOfflineUserDataJobOperationsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $operations = []; - $request = (new AddOfflineUserDataJobOperationsRequest()) - ->setResourceName($formattedResourceName) - ->setOperations($operations); - try { - $gapicClient->addOfflineUserDataJobOperations($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createOfflineUserDataJobTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new CreateOfflineUserDataJobResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $job = new OfflineUserDataJob(); - $request = (new CreateOfflineUserDataJobRequest()) - ->setCustomerId($customerId) - ->setJob($job); - $response = $gapicClient->createOfflineUserDataJob($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.OfflineUserDataJobService/CreateOfflineUserDataJob', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getJob(); - $this->assertProtobufEquals($job, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createOfflineUserDataJobExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $job = new OfflineUserDataJob(); - $request = (new CreateOfflineUserDataJobRequest()) - ->setCustomerId($customerId) - ->setJob($job); - try { - $gapicClient->createOfflineUserDataJob($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function runOfflineUserDataJobTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/runOfflineUserDataJobTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/runOfflineUserDataJobTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $request = (new RunOfflineUserDataJobRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->runOfflineUserDataJob($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.OfflineUserDataJobService/RunOfflineUserDataJob', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/runOfflineUserDataJobTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function runOfflineUserDataJobExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/runOfflineUserDataJobTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $request = (new RunOfflineUserDataJobRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->runOfflineUserDataJob($request); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/runOfflineUserDataJobTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function addOfflineUserDataJobOperationsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new AddOfflineUserDataJobOperationsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $operations = []; - $request = (new AddOfflineUserDataJobOperationsRequest()) - ->setResourceName($formattedResourceName) - ->setOperations($operations); - $response = $gapicClient->addOfflineUserDataJobOperationsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.OfflineUserDataJobService/AddOfflineUserDataJobOperations', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/PaymentsAccountServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/PaymentsAccountServiceClientTest.php deleted file mode 100644 index d46c14281..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/PaymentsAccountServiceClientTest.php +++ /dev/null @@ -1,151 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return PaymentsAccountServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new PaymentsAccountServiceClient($options); - } - - /** @test */ - public function listPaymentsAccountsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListPaymentsAccountsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $request = (new ListPaymentsAccountsRequest()) - ->setCustomerId($customerId); - $response = $gapicClient->listPaymentsAccounts($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.PaymentsAccountService/ListPaymentsAccounts', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPaymentsAccountsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $request = (new ListPaymentsAccountsRequest()) - ->setCustomerId($customerId); - try { - $gapicClient->listPaymentsAccounts($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPaymentsAccountsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListPaymentsAccountsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $request = (new ListPaymentsAccountsRequest()) - ->setCustomerId($customerId); - $response = $gapicClient->listPaymentsAccountsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.PaymentsAccountService/ListPaymentsAccounts', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkInvitationServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkInvitationServiceClientTest.php deleted file mode 100644 index 93e384417..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkInvitationServiceClientTest.php +++ /dev/null @@ -1,176 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ProductLinkInvitationServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ProductLinkInvitationServiceClient($options); - } - - /** @test */ - public function updateProductLinkInvitationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $expectedResponse = new UpdateProductLinkInvitationResponse(); - $expectedResponse->setResourceName($resourceName2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $productLinkInvitationStatus = ProductLinkInvitationStatus::UNSPECIFIED; - $formattedResourceName = $gapicClient->productLinkInvitationName('[CUSTOMER_ID]', '[CUSTOMER_INVITATION_ID]'); - $request = (new UpdateProductLinkInvitationRequest()) - ->setCustomerId($customerId) - ->setProductLinkInvitationStatus($productLinkInvitationStatus) - ->setResourceName($formattedResourceName); - $response = $gapicClient->updateProductLinkInvitation($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ProductLinkInvitationService/UpdateProductLinkInvitation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getProductLinkInvitationStatus(); - $this->assertProtobufEquals($productLinkInvitationStatus, $actualValue); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateProductLinkInvitationExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $productLinkInvitationStatus = ProductLinkInvitationStatus::UNSPECIFIED; - $formattedResourceName = $gapicClient->productLinkInvitationName('[CUSTOMER_ID]', '[CUSTOMER_INVITATION_ID]'); - $request = (new UpdateProductLinkInvitationRequest()) - ->setCustomerId($customerId) - ->setProductLinkInvitationStatus($productLinkInvitationStatus) - ->setResourceName($formattedResourceName); - try { - $gapicClient->updateProductLinkInvitation($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateProductLinkInvitationAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $expectedResponse = new UpdateProductLinkInvitationResponse(); - $expectedResponse->setResourceName($resourceName2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $productLinkInvitationStatus = ProductLinkInvitationStatus::UNSPECIFIED; - $formattedResourceName = $gapicClient->productLinkInvitationName('[CUSTOMER_ID]', '[CUSTOMER_INVITATION_ID]'); - $request = (new UpdateProductLinkInvitationRequest()) - ->setCustomerId($customerId) - ->setProductLinkInvitationStatus($productLinkInvitationStatus) - ->setResourceName($formattedResourceName); - $response = $gapicClient->updateProductLinkInvitationAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ProductLinkInvitationService/UpdateProductLinkInvitation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getProductLinkInvitationStatus(); - $this->assertProtobufEquals($productLinkInvitationStatus, $actualValue); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkServiceClientTest.php deleted file mode 100644 index a5c30e117..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ProductLinkServiceClientTest.php +++ /dev/null @@ -1,238 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ProductLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ProductLinkServiceClient($options); - } - - /** @test */ - public function createProductLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new CreateProductLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $productLink = new ProductLink(); - $request = (new CreateProductLinkRequest()) - ->setCustomerId($customerId) - ->setProductLink($productLink); - $response = $gapicClient->createProductLink($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ProductLinkService/CreateProductLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getProductLink(); - $this->assertProtobufEquals($productLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createProductLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $productLink = new ProductLink(); - $request = (new CreateProductLinkRequest()) - ->setCustomerId($customerId) - ->setProductLink($productLink); - try { - $gapicClient->createProductLink($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function removeProductLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $expectedResponse = new RemoveProductLinkResponse(); - $expectedResponse->setResourceName($resourceName2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $formattedResourceName = $gapicClient->productLinkName('[CUSTOMER_ID]', '[PRODUCT_LINK_ID]'); - $request = (new RemoveProductLinkRequest()) - ->setCustomerId($customerId) - ->setResourceName($formattedResourceName); - $response = $gapicClient->removeProductLink($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ProductLinkService/RemoveProductLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function removeProductLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $formattedResourceName = $gapicClient->productLinkName('[CUSTOMER_ID]', '[PRODUCT_LINK_ID]'); - $request = (new RemoveProductLinkRequest()) - ->setCustomerId($customerId) - ->setResourceName($formattedResourceName); - try { - $gapicClient->removeProductLink($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createProductLinkAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new CreateProductLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $productLink = new ProductLink(); - $request = (new CreateProductLinkRequest()) - ->setCustomerId($customerId) - ->setProductLink($productLink); - $response = $gapicClient->createProductLinkAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ProductLinkService/CreateProductLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getProductLink(); - $this->assertProtobufEquals($productLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ReachPlanServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ReachPlanServiceClientTest.php deleted file mode 100644 index c7cb402d8..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ReachPlanServiceClientTest.php +++ /dev/null @@ -1,292 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ReachPlanServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ReachPlanServiceClient($options); - } - - /** @test */ - public function generateReachForecastTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateReachForecastResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $campaignDuration = new CampaignDuration(); - $plannedProducts = []; - $request = (new GenerateReachForecastRequest()) - ->setCustomerId($customerId) - ->setCampaignDuration($campaignDuration) - ->setPlannedProducts($plannedProducts); - $response = $gapicClient->generateReachForecast($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ReachPlanService/GenerateReachForecast', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getCampaignDuration(); - $this->assertProtobufEquals($campaignDuration, $actualValue); - $actualValue = $actualRequestObject->getPlannedProducts(); - $this->assertProtobufEquals($plannedProducts, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateReachForecastExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $campaignDuration = new CampaignDuration(); - $plannedProducts = []; - $request = (new GenerateReachForecastRequest()) - ->setCustomerId($customerId) - ->setCampaignDuration($campaignDuration) - ->setPlannedProducts($plannedProducts); - try { - $gapicClient->generateReachForecast($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPlannableLocationsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListPlannableLocationsResponse(); - $transport->addResponse($expectedResponse); - $request = new ListPlannableLocationsRequest(); - $response = $gapicClient->listPlannableLocations($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ReachPlanService/ListPlannableLocations', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPlannableLocationsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new ListPlannableLocationsRequest(); - try { - $gapicClient->listPlannableLocations($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPlannableProductsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListPlannableProductsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $plannableLocationId = 'plannableLocationId-2050234651'; - $request = (new ListPlannableProductsRequest()) - ->setPlannableLocationId($plannableLocationId); - $response = $gapicClient->listPlannableProducts($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ReachPlanService/ListPlannableProducts', $actualFuncCall); - $actualValue = $actualRequestObject->getPlannableLocationId(); - $this->assertProtobufEquals($plannableLocationId, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPlannableProductsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $plannableLocationId = 'plannableLocationId-2050234651'; - $request = (new ListPlannableProductsRequest()) - ->setPlannableLocationId($plannableLocationId); - try { - $gapicClient->listPlannableProducts($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateReachForecastAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateReachForecastResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $campaignDuration = new CampaignDuration(); - $plannedProducts = []; - $request = (new GenerateReachForecastRequest()) - ->setCustomerId($customerId) - ->setCampaignDuration($campaignDuration) - ->setPlannedProducts($plannedProducts); - $response = $gapicClient->generateReachForecastAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ReachPlanService/GenerateReachForecast', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getCampaignDuration(); - $this->assertProtobufEquals($campaignDuration, $actualValue); - $actualValue = $actualRequestObject->getPlannedProducts(); - $this->assertProtobufEquals($plannedProducts, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/RecommendationServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/RecommendationServiceClientTest.php deleted file mode 100644 index 57d39f90b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/RecommendationServiceClientTest.php +++ /dev/null @@ -1,231 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return RecommendationServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new RecommendationServiceClient($options); - } - - /** @test */ - public function applyRecommendationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ApplyRecommendationResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new ApplyRecommendationRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->applyRecommendation($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RecommendationService/ApplyRecommendation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function applyRecommendationExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new ApplyRecommendationRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->applyRecommendation($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function dismissRecommendationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new DismissRecommendationResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new DismissRecommendationRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->dismissRecommendation($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RecommendationService/DismissRecommendation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function dismissRecommendationExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new DismissRecommendationRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->dismissRecommendation($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function applyRecommendationAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ApplyRecommendationResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new ApplyRecommendationRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->applyRecommendationAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RecommendationService/ApplyRecommendation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/RecommendationSubscriptionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/RecommendationSubscriptionServiceClientTest.php deleted file mode 100644 index 23137e311..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/RecommendationSubscriptionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return RecommendationSubscriptionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new RecommendationSubscriptionServiceClient($options); - } - - /** @test */ - public function mutateRecommendationSubscriptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateRecommendationSubscriptionResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateRecommendationSubscriptionRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateRecommendationSubscription($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RecommendationSubscriptionService/MutateRecommendationSubscription', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateRecommendationSubscriptionExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateRecommendationSubscriptionRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateRecommendationSubscription($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateRecommendationSubscriptionAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateRecommendationSubscriptionResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateRecommendationSubscriptionRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateRecommendationSubscriptionAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RecommendationSubscriptionService/MutateRecommendationSubscription', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/RemarketingActionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/RemarketingActionServiceClientTest.php deleted file mode 100644 index 5af285622..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/RemarketingActionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return RemarketingActionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new RemarketingActionServiceClient($options); - } - - /** @test */ - public function mutateRemarketingActionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateRemarketingActionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateRemarketingActionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateRemarketingActions($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RemarketingActionService/MutateRemarketingActions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateRemarketingActionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateRemarketingActionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateRemarketingActions($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateRemarketingActionsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateRemarketingActionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateRemarketingActionsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateRemarketingActionsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RemarketingActionService/MutateRemarketingActions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/SharedCriterionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/SharedCriterionServiceClientTest.php deleted file mode 100644 index 768fb07cc..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/SharedCriterionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return SharedCriterionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new SharedCriterionServiceClient($options); - } - - /** @test */ - public function mutateSharedCriteriaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateSharedCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateSharedCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateSharedCriteria($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SharedCriterionService/MutateSharedCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSharedCriteriaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateSharedCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateSharedCriteria($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSharedCriteriaAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateSharedCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateSharedCriteriaRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateSharedCriteriaAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SharedCriterionService/MutateSharedCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/SharedSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/SharedSetServiceClientTest.php deleted file mode 100644 index 1b286c77f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/SharedSetServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return SharedSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new SharedSetServiceClient($options); - } - - /** @test */ - public function mutateSharedSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateSharedSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateSharedSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateSharedSets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SharedSetService/MutateSharedSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSharedSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateSharedSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateSharedSets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSharedSetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateSharedSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateSharedSetsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateSharedSetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SharedSetService/MutateSharedSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSettingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSettingServiceClientTest.php deleted file mode 100644 index 9f79fd893..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSettingServiceClientTest.php +++ /dev/null @@ -1,221 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return SmartCampaignSettingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new SmartCampaignSettingServiceClient($options); - } - - /** @test */ - public function getSmartCampaignStatusTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GetSmartCampaignStatusResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->smartCampaignSettingName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - $request = (new GetSmartCampaignStatusRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->getSmartCampaignStatus($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSettingService/GetSmartCampaignStatus', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getSmartCampaignStatusExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->smartCampaignSettingName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - $request = (new GetSmartCampaignStatusRequest()) - ->setResourceName($formattedResourceName); - try { - $gapicClient->getSmartCampaignStatus($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSmartCampaignSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateSmartCampaignSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateSmartCampaignSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateSmartCampaignSettings($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSettingService/MutateSmartCampaignSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSmartCampaignSettingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateSmartCampaignSettingsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateSmartCampaignSettings($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getSmartCampaignStatusAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GetSmartCampaignStatusResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->smartCampaignSettingName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - $request = (new GetSmartCampaignStatusRequest()) - ->setResourceName($formattedResourceName); - $response = $gapicClient->getSmartCampaignStatusAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSettingService/GetSmartCampaignStatus', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSuggestServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSuggestServiceClientTest.php deleted file mode 100644 index 320eabe8d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/SmartCampaignSuggestServiceClientTest.php +++ /dev/null @@ -1,302 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return SmartCampaignSuggestServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new SmartCampaignSuggestServiceClient($options); - } - - /** @test */ - public function suggestKeywordThemesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestKeywordThemesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - $request = (new SuggestKeywordThemesRequest()) - ->setCustomerId($customerId) - ->setSuggestionInfo($suggestionInfo); - $response = $gapicClient->suggestKeywordThemes($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestKeywordThemes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getSuggestionInfo(); - $this->assertProtobufEquals($suggestionInfo, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestKeywordThemesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - $request = (new SuggestKeywordThemesRequest()) - ->setCustomerId($customerId) - ->setSuggestionInfo($suggestionInfo); - try { - $gapicClient->suggestKeywordThemes($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestSmartCampaignAdTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestSmartCampaignAdResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - $request = (new SuggestSmartCampaignAdRequest()) - ->setCustomerId($customerId) - ->setSuggestionInfo($suggestionInfo); - $response = $gapicClient->suggestSmartCampaignAd($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestSmartCampaignAd', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getSuggestionInfo(); - $this->assertProtobufEquals($suggestionInfo, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestSmartCampaignAdExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - $request = (new SuggestSmartCampaignAdRequest()) - ->setCustomerId($customerId) - ->setSuggestionInfo($suggestionInfo); - try { - $gapicClient->suggestSmartCampaignAd($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestSmartCampaignBudgetOptionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestSmartCampaignBudgetOptionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $formattedCampaign = $gapicClient->campaignName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - $request = (new SuggestSmartCampaignBudgetOptionsRequest()) - ->setCustomerId($customerId) - ->setCampaign($formattedCampaign); - $response = $gapicClient->suggestSmartCampaignBudgetOptions($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestSmartCampaignBudgetOptions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getCampaign(); - $this->assertProtobufEquals($formattedCampaign, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestSmartCampaignBudgetOptionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $formattedCampaign = $gapicClient->campaignName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - $request = (new SuggestSmartCampaignBudgetOptionsRequest()) - ->setCustomerId($customerId) - ->setCampaign($formattedCampaign); - try { - $gapicClient->suggestSmartCampaignBudgetOptions($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestKeywordThemesAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestKeywordThemesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - $request = (new SuggestKeywordThemesRequest()) - ->setCustomerId($customerId) - ->setSuggestionInfo($suggestionInfo); - $response = $gapicClient->suggestKeywordThemesAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestKeywordThemes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getSuggestionInfo(); - $this->assertProtobufEquals($suggestionInfo, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/ThirdPartyAppAnalyticsLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/ThirdPartyAppAnalyticsLinkServiceClientTest.php deleted file mode 100644 index d6ec8a9b4..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/ThirdPartyAppAnalyticsLinkServiceClientTest.php +++ /dev/null @@ -1,138 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ThirdPartyAppAnalyticsLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ThirdPartyAppAnalyticsLinkServiceClient($options); - } - - /** @test */ - public function regenerateShareableLinkIdTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new RegenerateShareableLinkIdResponse(); - $transport->addResponse($expectedResponse); - $request = new RegenerateShareableLinkIdRequest(); - $response = $gapicClient->regenerateShareableLinkId($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService/RegenerateShareableLinkId', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function regenerateShareableLinkIdExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - $request = new RegenerateShareableLinkIdRequest(); - try { - $gapicClient->regenerateShareableLinkId($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function regenerateShareableLinkIdAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new RegenerateShareableLinkIdResponse(); - $transport->addResponse($expectedResponse); - $request = new RegenerateShareableLinkIdRequest(); - $response = $gapicClient->regenerateShareableLinkIdAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService/RegenerateShareableLinkId', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/TravelAssetSuggestionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/TravelAssetSuggestionServiceClientTest.php deleted file mode 100644 index 6d34aae96..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/TravelAssetSuggestionServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return TravelAssetSuggestionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new TravelAssetSuggestionServiceClient($options); - } - - /** @test */ - public function suggestTravelAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestTravelAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $languageOption = 'languageOption-1219231940'; - $request = (new SuggestTravelAssetsRequest()) - ->setCustomerId($customerId) - ->setLanguageOption($languageOption); - $response = $gapicClient->suggestTravelAssets($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.TravelAssetSuggestionService/SuggestTravelAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getLanguageOption(); - $this->assertProtobufEquals($languageOption, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestTravelAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $languageOption = 'languageOption-1219231940'; - $request = (new SuggestTravelAssetsRequest()) - ->setCustomerId($customerId) - ->setLanguageOption($languageOption); - try { - $gapicClient->suggestTravelAssets($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestTravelAssetsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestTravelAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $languageOption = 'languageOption-1219231940'; - $request = (new SuggestTravelAssetsRequest()) - ->setCustomerId($customerId) - ->setLanguageOption($languageOption); - $response = $gapicClient->suggestTravelAssetsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.TravelAssetSuggestionService/SuggestTravelAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getLanguageOption(); - $this->assertProtobufEquals($languageOption, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/UserDataServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/UserDataServiceClientTest.php deleted file mode 100644 index 8b0102ac6..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/UserDataServiceClientTest.php +++ /dev/null @@ -1,169 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return UserDataServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new UserDataServiceClient($options); - } - - /** @test */ - public function uploadUserDataTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $uploadDateTime = 'uploadDateTime-937757696'; - $receivedOperationsCount = 912867738; - $expectedResponse = new UploadUserDataResponse(); - $expectedResponse->setUploadDateTime($uploadDateTime); - $expectedResponse->setReceivedOperationsCount($receivedOperationsCount); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new UploadUserDataRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->uploadUserData($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.UserDataService/UploadUserData', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadUserDataExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new UploadUserDataRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->uploadUserData($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadUserDataAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $uploadDateTime = 'uploadDateTime-937757696'; - $receivedOperationsCount = 912867738; - $expectedResponse = new UploadUserDataResponse(); - $expectedResponse->setUploadDateTime($uploadDateTime); - $expectedResponse->setReceivedOperationsCount($receivedOperationsCount); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new UploadUserDataRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->uploadUserDataAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.UserDataService/UploadUserData', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/UserListServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/Client/UserListServiceClientTest.php deleted file mode 100644 index 16002510d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/UserListServiceClientTest.php +++ /dev/null @@ -1,161 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return UserListServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new UserListServiceClient($options); - } - - /** @test */ - public function mutateUserListsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateUserListsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateUserListsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateUserLists($request); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.UserListService/MutateUserLists', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateUserListsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateUserListsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - try { - $gapicClient->mutateUserLists($request); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateUserListsAsyncTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateUserListsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateUserListsRequest()) - ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateUserListsAsync($request)->wait(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.UserListService/MutateUserLists', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceClientTest.php deleted file mode 100644 index 635357297..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ConversionActionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionActionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionActionServiceClient($options); - } - - /** @test */ - public function mutateConversionActionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionActionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateConversionActions($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionActionService/MutateConversionActions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionActionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateConversionActions($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceClientTest.php deleted file mode 100644 index 7d31dfdde..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ConversionAdjustmentUploadServiceClientTest.php +++ /dev/null @@ -1,129 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionAdjustmentUploadServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionAdjustmentUploadServiceClient($options); - } - - /** @test */ - public function uploadConversionAdjustmentsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $jobId2 = 1615386288; - $expectedResponse = new UploadConversionAdjustmentsResponse(); - $expectedResponse->setJobId($jobId2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $conversionAdjustments = []; - $partialFailure = true; - $response = $gapicClient->uploadConversionAdjustments($customerId, $conversionAdjustments, $partialFailure); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionAdjustmentUploadService/UploadConversionAdjustments', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getConversionAdjustments(); - $this->assertProtobufEquals($conversionAdjustments, $actualValue); - $actualValue = $actualRequestObject->getPartialFailure(); - $this->assertProtobufEquals($partialFailure, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadConversionAdjustmentsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $conversionAdjustments = []; - $partialFailure = true; - try { - $gapicClient->uploadConversionAdjustments($customerId, $conversionAdjustments, $partialFailure); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceClientTest.php deleted file mode 100644 index 128583ea2..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ConversionCustomVariableServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionCustomVariableServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionCustomVariableServiceClient($options); - } - - /** @test */ - public function mutateConversionCustomVariablesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionCustomVariablesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateConversionCustomVariables($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionCustomVariableService/MutateConversionCustomVariables', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionCustomVariablesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateConversionCustomVariables($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceClientTest.php deleted file mode 100644 index b288004af..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ConversionGoalCampaignConfigServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionGoalCampaignConfigServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionGoalCampaignConfigServiceClient($options); - } - - /** @test */ - public function mutateConversionGoalCampaignConfigsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionGoalCampaignConfigsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateConversionGoalCampaignConfigs($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionGoalCampaignConfigService/MutateConversionGoalCampaignConfigs', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionGoalCampaignConfigsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateConversionGoalCampaignConfigs($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceClientTest.php deleted file mode 100644 index 45509d2bc..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ConversionUploadServiceClientTest.php +++ /dev/null @@ -1,196 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionUploadServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionUploadServiceClient($options); - } - - /** @test */ - public function uploadCallConversionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new UploadCallConversionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - $response = $gapicClient->uploadCallConversions($customerId, $conversions, $partialFailure); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionUploadService/UploadCallConversions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getConversions(); - $this->assertProtobufEquals($conversions, $actualValue); - $actualValue = $actualRequestObject->getPartialFailure(); - $this->assertProtobufEquals($partialFailure, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadCallConversionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - try { - $gapicClient->uploadCallConversions($customerId, $conversions, $partialFailure); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadClickConversionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $jobId2 = 1615386288; - $expectedResponse = new UploadClickConversionsResponse(); - $expectedResponse->setJobId($jobId2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - $response = $gapicClient->uploadClickConversions($customerId, $conversions, $partialFailure); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionUploadService/UploadClickConversions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getConversions(); - $this->assertProtobufEquals($conversions, $actualValue); - $actualValue = $actualRequestObject->getPartialFailure(); - $this->assertProtobufEquals($partialFailure, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadClickConversionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $conversions = []; - $partialFailure = true; - try { - $gapicClient->uploadClickConversions($customerId, $conversions, $partialFailure); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceClientTest.php deleted file mode 100644 index f38e2362b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionValueRuleServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionValueRuleServiceClient($options); - } - - /** @test */ - public function mutateConversionValueRulesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionValueRulesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateConversionValueRules($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionValueRuleService/MutateConversionValueRules', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionValueRulesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateConversionValueRules($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceClientTest.php deleted file mode 100644 index e0abf83c9..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ConversionValueRuleSetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ConversionValueRuleSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ConversionValueRuleSetServiceClient($options); - } - - /** @test */ - public function mutateConversionValueRuleSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateConversionValueRuleSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateConversionValueRuleSets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ConversionValueRuleSetService/MutateConversionValueRuleSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateConversionValueRuleSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateConversionValueRuleSets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceClientTest.php deleted file mode 100644 index 611f3f41d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomAudienceServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomAudienceServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomAudienceServiceClient($options); - } - - /** @test */ - public function mutateCustomAudiencesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomAudiencesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomAudiences($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomAudienceService/MutateCustomAudiences', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomAudiencesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomAudiences($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceClientTest.php deleted file mode 100644 index f0a2010b2..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomConversionGoalServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomConversionGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomConversionGoalServiceClient($options); - } - - /** @test */ - public function mutateCustomConversionGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomConversionGoals($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomConversionGoalService/MutateCustomConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomConversionGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomConversionGoals($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceClientTest.php deleted file mode 100644 index c525dbb0b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomInterestServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomInterestServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomInterestServiceClient($options); - } - - /** @test */ - public function mutateCustomInterestsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomInterestsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomInterests($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomInterestService/MutateCustomInterests', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomInterestsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomInterests($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceClientTest.php deleted file mode 100644 index 5067fd9f4..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerAssetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerAssetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerAssetServiceClient($options); - } - - /** @test */ - public function mutateCustomerAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerAssets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerAssetService/MutateCustomerAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerAssets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceClientTest.php deleted file mode 100644 index a3ed711f3..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerAssetSetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerAssetSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerAssetSetServiceClient($options); - } - - /** @test */ - public function mutateCustomerAssetSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerAssetSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerAssetSets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerAssetSetService/MutateCustomerAssetSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerAssetSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerAssetSets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceClientTest.php deleted file mode 100644 index d0e74658a..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerClientLinkServiceClientTest.php +++ /dev/null @@ -1,124 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerClientLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerClientLinkServiceClient($options); - } - - /** @test */ - public function mutateCustomerClientLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerClientLinkResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerClientLinkOperation(); - $response = $gapicClient->mutateCustomerClientLink($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerClientLinkService/MutateCustomerClientLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerClientLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerClientLinkOperation(); - try { - $gapicClient->mutateCustomerClientLink($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceClientTest.php deleted file mode 100644 index cc27c07ac..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerConversionGoalServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerConversionGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerConversionGoalServiceClient($options); - } - - /** @test */ - public function mutateCustomerConversionGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerConversionGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerConversionGoals($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerConversionGoalService/MutateCustomerConversionGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerConversionGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerConversionGoals($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceClientTest.php deleted file mode 100644 index 49db72275..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerCustomizerServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerCustomizerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerCustomizerServiceClient($options); - } - - /** @test */ - public function mutateCustomerCustomizersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerCustomizersResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerCustomizers($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerCustomizerService/MutateCustomerCustomizers', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerCustomizersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerCustomizers($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceClientTest.php deleted file mode 100644 index 43e02a56f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerExtensionSettingServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerExtensionSettingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerExtensionSettingServiceClient($options); - } - - /** @test */ - public function mutateCustomerExtensionSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerExtensionSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerExtensionSettings($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerExtensionSettingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerExtensionSettings($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceClientTest.php deleted file mode 100644 index 309129dab..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerFeedServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerFeedServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerFeedServiceClient($options); - } - - /** @test */ - public function mutateCustomerFeedsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerFeeds($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerFeedService/MutateCustomerFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerFeedsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerFeeds($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceClientTest.php deleted file mode 100644 index 7e44c6443..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerLabelServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerLabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerLabelServiceClient($options); - } - - /** @test */ - public function mutateCustomerLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerLabels($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerLabelService/MutateCustomerLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerLabels($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceClientTest.php deleted file mode 100644 index 6e841fa8b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerLifecycleGoalServiceClientTest.php +++ /dev/null @@ -1,124 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerLifecycleGoalServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerLifecycleGoalServiceClient($options); - } - - /** @test */ - public function configureCustomerLifecycleGoalsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ConfigureCustomerLifecycleGoalsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerLifecycleGoalOperation(); - $response = $gapicClient->configureCustomerLifecycleGoals($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerLifecycleGoalService/ConfigureCustomerLifecycleGoals', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function configureCustomerLifecycleGoalsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerLifecycleGoalOperation(); - try { - $gapicClient->configureCustomerLifecycleGoals($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceClientTest.php deleted file mode 100644 index 118903ae3..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerManagerLinkServiceClientTest.php +++ /dev/null @@ -1,192 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerManagerLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerManagerLinkServiceClient($options); - } - - /** @test */ - public function moveManagerLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new MoveManagerLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $previousCustomerManagerLink = 'previousCustomerManagerLink-1454597947'; - $newManager = 'newManager90619918'; - $response = $gapicClient->moveManagerLink($customerId, $previousCustomerManagerLink, $newManager); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerManagerLinkService/MoveManagerLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getPreviousCustomerManagerLink(); - $this->assertProtobufEquals($previousCustomerManagerLink, $actualValue); - $actualValue = $actualRequestObject->getNewManager(); - $this->assertProtobufEquals($newManager, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function moveManagerLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $previousCustomerManagerLink = 'previousCustomerManagerLink-1454597947'; - $newManager = 'newManager90619918'; - try { - $gapicClient->moveManagerLink($customerId, $previousCustomerManagerLink, $newManager); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerManagerLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerManagerLinkResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerManagerLink($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerManagerLinkService/MutateCustomerManagerLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerManagerLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerManagerLink($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceClientTest.php deleted file mode 100644 index 6f66bce2c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerNegativeCriterionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerNegativeCriterionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerNegativeCriterionServiceClient($options); - } - - /** @test */ - public function mutateCustomerNegativeCriteriaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerNegativeCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomerNegativeCriteria($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerNegativeCriteriaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomerNegativeCriteria($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerServiceClientTest.php deleted file mode 100644 index 825de52d3..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerServiceClientTest.php +++ /dev/null @@ -1,245 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerServiceClient($options); - } - - /** @test */ - public function createCustomerClientTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $invitationLink = 'invitationLink-2091530016'; - $expectedResponse = new CreateCustomerClientResponse(); - $expectedResponse->setResourceName($resourceName); - $expectedResponse->setInvitationLink($invitationLink); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $customerClient = new Customer(); - $response = $gapicClient->createCustomerClient($customerId, $customerClient); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerService/CreateCustomerClient', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getCustomerClient(); - $this->assertProtobufEquals($customerClient, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createCustomerClientExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $customerClient = new Customer(); - try { - $gapicClient->createCustomerClient($customerId, $customerClient); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccessibleCustomersTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListAccessibleCustomersResponse(); - $transport->addResponse($expectedResponse); - $response = $gapicClient->listAccessibleCustomers(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerService/ListAccessibleCustomers', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listAccessibleCustomersExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->listAccessibleCustomers(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerOperation(); - $response = $gapicClient->mutateCustomer($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerService/MutateCustomer', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerOperation(); - try { - $gapicClient->mutateCustomer($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceClientTest.php deleted file mode 100644 index 79fa17cb2..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerSkAdNetworkConversionValueSchemaServiceClientTest.php +++ /dev/null @@ -1,113 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerSkAdNetworkConversionValueSchemaServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerSkAdNetworkConversionValueSchemaServiceClient($options); - } - - /** @test */ - public function mutateCustomerSkAdNetworkConversionValueSchemaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerSkAdNetworkConversionValueSchemaResponse(); - $transport->addResponse($expectedResponse); - $response = $gapicClient->mutateCustomerSkAdNetworkConversionValueSchema(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService/MutateCustomerSkAdNetworkConversionValueSchema', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerSkAdNetworkConversionValueSchemaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->mutateCustomerSkAdNetworkConversionValueSchema(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceClientTest.php deleted file mode 100644 index 52e9f3c26..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessInvitationServiceClientTest.php +++ /dev/null @@ -1,124 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerUserAccessInvitationServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerUserAccessInvitationServiceClient($options); - } - - /** @test */ - public function mutateCustomerUserAccessInvitationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerUserAccessInvitationResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessInvitationOperation(); - $response = $gapicClient->mutateCustomerUserAccessInvitation($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerUserAccessInvitationService/MutateCustomerUserAccessInvitation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerUserAccessInvitationExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessInvitationOperation(); - try { - $gapicClient->mutateCustomerUserAccessInvitation($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceClientTest.php deleted file mode 100644 index 5e04d068d..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomerUserAccessServiceClientTest.php +++ /dev/null @@ -1,124 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomerUserAccessServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomerUserAccessServiceClient($options); - } - - /** @test */ - public function mutateCustomerUserAccessTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomerUserAccessResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessOperation(); - $response = $gapicClient->mutateCustomerUserAccess($customerId, $operation); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomerUserAccessService/MutateCustomerUserAccess', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperation(); - $this->assertProtobufEquals($operation, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomerUserAccessExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operation = new CustomerUserAccessOperation(); - try { - $gapicClient->mutateCustomerUserAccess($customerId, $operation); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceClientTest.php deleted file mode 100644 index dd4ce7133..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/CustomizerAttributeServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return CustomizerAttributeServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new CustomizerAttributeServiceClient($options); - } - - /** @test */ - public function mutateCustomizerAttributesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateCustomizerAttributesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateCustomizerAttributes($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.CustomizerAttributeService/MutateCustomizerAttributes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateCustomizerAttributesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateCustomizerAttributes($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceClientTest.php deleted file mode 100644 index 02422126b..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ExperimentArmServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ExperimentArmServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ExperimentArmServiceClient($options); - } - - /** @test */ - public function mutateExperimentArmsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateExperimentArmsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateExperimentArms($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentArmService/MutateExperimentArms', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExperimentArmsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateExperimentArms($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ExperimentServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ExperimentServiceClientTest.php deleted file mode 100644 index f8f9e06d7..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ExperimentServiceClientTest.php +++ /dev/null @@ -1,550 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ExperimentServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ExperimentServiceClient($options); - } - - /** @test */ - public function endExperimentTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $gapicClient->endExperiment($formattedExperiment); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/EndExperiment', $actualFuncCall); - $actualValue = $actualRequestObject->getExperiment(); - $this->assertProtobufEquals($formattedExperiment, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function endExperimentExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - try { - $gapicClient->endExperiment($formattedExperiment); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function graduateExperimentTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GPBEmpty(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $campaignBudgetMappings = []; - $gapicClient->graduateExperiment($formattedExperiment, $campaignBudgetMappings); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/GraduateExperiment', $actualFuncCall); - $actualValue = $actualRequestObject->getExperiment(); - $this->assertProtobufEquals($formattedExperiment, $actualValue); - $actualValue = $actualRequestObject->getCampaignBudgetMappings(); - $this->assertProtobufEquals($campaignBudgetMappings, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function graduateExperimentExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedExperiment = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $campaignBudgetMappings = []; - try { - $gapicClient->graduateExperiment($formattedExperiment, $campaignBudgetMappings); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listExperimentAsyncErrorsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $errorsElement = new Status(); - $errors = [ - $errorsElement, - ]; - $expectedResponse = new ListExperimentAsyncErrorsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setErrors($errors); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $response = $gapicClient->listExperimentAsyncErrors($formattedResourceName); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getErrors()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/ListExperimentAsyncErrors', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listExperimentAsyncErrorsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - try { - $gapicClient->listExperimentAsyncErrors($formattedResourceName); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExperimentsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateExperimentsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateExperiments($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/MutateExperiments', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExperimentsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateExperiments($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function promoteExperimentTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/promoteExperimentTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/promoteExperimentTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $response = $gapicClient->promoteExperiment($formattedResourceName); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/PromoteExperiment', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/promoteExperimentTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function promoteExperimentExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/promoteExperimentTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $response = $gapicClient->promoteExperiment($formattedResourceName); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/promoteExperimentTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function scheduleExperimentTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/scheduleExperimentTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/scheduleExperimentTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $response = $gapicClient->scheduleExperiment($formattedResourceName); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExperimentService/ScheduleExperiment', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/scheduleExperimentTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function scheduleExperimentExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/scheduleExperimentTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->experimentName('[CUSTOMER_ID]', '[TRIAL_ID]'); - $response = $gapicClient->scheduleExperiment($formattedResourceName); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/scheduleExperimentTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceClientTest.php deleted file mode 100644 index a6ce38d27..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ExtensionFeedItemServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ExtensionFeedItemServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ExtensionFeedItemServiceClient($options); - } - - /** @test */ - public function mutateExtensionFeedItemsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateExtensionFeedItemsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateExtensionFeedItems($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ExtensionFeedItemService/MutateExtensionFeedItems', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExtensionFeedItemsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateExtensionFeedItems($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/FeedItemServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/FeedItemServiceClientTest.php deleted file mode 100644 index fd6a3dcfd..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/FeedItemServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedItemServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedItemServiceClient($options); - } - - /** @test */ - public function mutateFeedItemsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateFeedItems($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemService/MutateFeedItems', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateFeedItems($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceClientTest.php deleted file mode 100644 index 48871181c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/FeedItemSetLinkServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedItemSetLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedItemSetLinkServiceClient($options); - } - - /** @test */ - public function mutateFeedItemSetLinksTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemSetLinksResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateFeedItemSetLinks($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemSetLinkService/MutateFeedItemSetLinks', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemSetLinksExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateFeedItemSetLinks($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceClientTest.php deleted file mode 100644 index 8ac7f0eac..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/FeedItemSetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedItemSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedItemSetServiceClient($options); - } - - /** @test */ - public function mutateFeedItemSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateFeedItemSets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemSetService/MutateFeedItemSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateFeedItemSets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceClientTest.php deleted file mode 100644 index d0b02d432..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/FeedItemTargetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedItemTargetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedItemTargetServiceClient($options); - } - - /** @test */ - public function mutateFeedItemTargetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedItemTargetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateFeedItemTargets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedItemTargetService/MutateFeedItemTargets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedItemTargetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateFeedItemTargets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceClientTest.php deleted file mode 100644 index 9eeab3f9f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/FeedMappingServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedMappingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedMappingServiceClient($options); - } - - /** @test */ - public function mutateFeedMappingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedMappingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateFeedMappings($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedMappingService/MutateFeedMappings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedMappingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateFeedMappings($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/FeedServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/FeedServiceClientTest.php deleted file mode 100644 index ae4d9824f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/FeedServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return FeedServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new FeedServiceClient($options); - } - - /** @test */ - public function mutateFeedsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateFeedsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateFeeds($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.FeedService/MutateFeeds', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateFeedsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateFeeds($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceClientTest.php deleted file mode 100644 index eb327451c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/GeoTargetConstantServiceClientTest.php +++ /dev/null @@ -1,113 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return GeoTargetConstantServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new GeoTargetConstantServiceClient($options); - } - - /** @test */ - public function suggestGeoTargetConstantsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestGeoTargetConstantsResponse(); - $transport->addResponse($expectedResponse); - $response = $gapicClient->suggestGeoTargetConstants(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GeoTargetConstantService/SuggestGeoTargetConstants', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestGeoTargetConstantsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->suggestGeoTargetConstants(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceClientTest.php deleted file mode 100644 index 4091633de..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/GoogleAdsFieldServiceClientTest.php +++ /dev/null @@ -1,204 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return GoogleAdsFieldServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new GoogleAdsFieldServiceClient($options); - } - - /** @test */ - public function getGoogleAdsFieldTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $name = 'name3373707'; - $selectable = true; - $filterable = true; - $sortable = true; - $typeUrl = 'typeUrl-675981590'; - $isRepeated = false; - $expectedResponse = new GoogleAdsField(); - $expectedResponse->setResourceName($resourceName2); - $expectedResponse->setName($name); - $expectedResponse->setSelectable($selectable); - $expectedResponse->setFilterable($filterable); - $expectedResponse->setSortable($sortable); - $expectedResponse->setTypeUrl($typeUrl); - $expectedResponse->setIsRepeated($isRepeated); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->googleAdsFieldName('[GOOGLE_ADS_FIELD]'); - $response = $gapicClient->getGoogleAdsField($formattedResourceName); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsFieldService/GetGoogleAdsField', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getGoogleAdsFieldExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->googleAdsFieldName('[GOOGLE_ADS_FIELD]'); - try { - $gapicClient->getGoogleAdsField($formattedResourceName); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchGoogleAdsFieldsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $totalResultsCount = 43694645; - $resultsElement = new GoogleAdsField(); - $results = [ - $resultsElement, - ]; - $expectedResponse = new SearchGoogleAdsFieldsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setTotalResultsCount($totalResultsCount); - $expectedResponse->setResults($results); - $transport->addResponse($expectedResponse); - // Mock request - $query = 'query107944136'; - $response = $gapicClient->searchGoogleAdsFields($query); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getResults()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsFieldService/SearchGoogleAdsFields', $actualFuncCall); - $actualValue = $actualRequestObject->getQuery(); - $this->assertProtobufEquals($query, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchGoogleAdsFieldsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $query = 'query107944136'; - try { - $gapicClient->searchGoogleAdsFields($query); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceClientTest.php deleted file mode 100644 index 7f76b2f5a..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/GoogleAdsServiceClientTest.php +++ /dev/null @@ -1,289 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return GoogleAdsServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new GoogleAdsServiceClient($options); - } - - /** @test */ - public function mutateTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateGoogleAdsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $mutateOperations = []; - $response = $gapicClient->mutate($customerId, $mutateOperations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsService/Mutate', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getMutateOperations(); - $this->assertProtobufEquals($mutateOperations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $mutateOperations = []; - try { - $gapicClient->mutate($customerId, $mutateOperations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $totalResultsCount = 43694645; - $queryResourceConsumption = 1151647743; - $resultsElement = new GoogleAdsRow(); - $results = [ - $resultsElement, - ]; - $expectedResponse = new SearchGoogleAdsResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setTotalResultsCount($totalResultsCount); - $expectedResponse->setQueryResourceConsumption($queryResourceConsumption); - $expectedResponse->setResults($results); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $query = 'query107944136'; - $response = $gapicClient->search($customerId, $query); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getResults()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsService/Search', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getQuery(); - $this->assertProtobufEquals($query, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $query = 'query107944136'; - try { - $gapicClient->search($customerId, $query); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchStreamTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $requestId = 'requestId37109963'; - $queryResourceConsumption = 1151647743; - $expectedResponse = new SearchGoogleAdsStreamResponse(); - $expectedResponse->setRequestId($requestId); - $expectedResponse->setQueryResourceConsumption($queryResourceConsumption); - $transport->addResponse($expectedResponse); - $requestId2 = 'requestId21302939070'; - $queryResourceConsumption2 = 1368084340; - $expectedResponse2 = new SearchGoogleAdsStreamResponse(); - $expectedResponse2->setRequestId($requestId2); - $expectedResponse2->setQueryResourceConsumption($queryResourceConsumption2); - $transport->addResponse($expectedResponse2); - $requestId3 = 'requestId31302939071'; - $queryResourceConsumption3 = 1368084341; - $expectedResponse3 = new SearchGoogleAdsStreamResponse(); - $expectedResponse3->setRequestId($requestId3); - $expectedResponse3->setQueryResourceConsumption($queryResourceConsumption3); - $transport->addResponse($expectedResponse3); - // Mock request - $customerId = 'customerId-1772061412'; - $query = 'query107944136'; - $serverStream = $gapicClient->searchStream($customerId, $query); - $this->assertInstanceOf(ServerStream::class, $serverStream); - $responses = iterator_to_array($serverStream->readAll()); - $expectedResponses = []; - $expectedResponses[] = $expectedResponse; - $expectedResponses[] = $expectedResponse2; - $expectedResponses[] = $expectedResponse3; - $this->assertEquals($expectedResponses, $responses); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.GoogleAdsService/SearchStream', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getQuery(); - $this->assertProtobufEquals($query, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function searchStreamExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->setStreamingStatus($status); - $this->assertTrue($transport->isExhausted()); - // Mock request - $customerId = 'customerId-1772061412'; - $query = 'query107944136'; - $serverStream = $gapicClient->searchStream($customerId, $query); - $results = $serverStream->readAll(); - try { - iterator_to_array($results); - // If the close stream method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/InvoiceServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/InvoiceServiceClientTest.php deleted file mode 100644 index ceaeca65c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/InvoiceServiceClientTest.php +++ /dev/null @@ -1,132 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return InvoiceServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new InvoiceServiceClient($options); - } - - /** @test */ - public function listInvoicesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListInvoicesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $billingSetup = 'billingSetup-1181632583'; - $issueYear = 'issueYear1443510243'; - $issueMonth = MonthOfYear::UNSPECIFIED; - $response = $gapicClient->listInvoices($customerId, $billingSetup, $issueYear, $issueMonth); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.InvoiceService/ListInvoices', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getBillingSetup(); - $this->assertProtobufEquals($billingSetup, $actualValue); - $actualValue = $actualRequestObject->getIssueYear(); - $this->assertProtobufEquals($issueYear, $actualValue); - $actualValue = $actualRequestObject->getIssueMonth(); - $this->assertProtobufEquals($issueMonth, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listInvoicesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $billingSetup = 'billingSetup-1181632583'; - $issueYear = 'issueYear1443510243'; - $issueMonth = MonthOfYear::UNSPECIFIED; - try { - $gapicClient->listInvoices($customerId, $billingSetup, $issueYear, $issueMonth); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceClientTest.php deleted file mode 100644 index 149f2f842..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupKeywordServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanAdGroupKeywordServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanAdGroupKeywordServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlanAdGroupKeywordsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanAdGroupKeywordsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateKeywordPlanAdGroupKeywords($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService/MutateKeywordPlanAdGroupKeywords', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanAdGroupKeywordsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateKeywordPlanAdGroupKeywords($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceClientTest.php deleted file mode 100644 index a62c145f5..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanAdGroupServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanAdGroupServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanAdGroupServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlanAdGroupsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanAdGroupsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateKeywordPlanAdGroups($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanAdGroupsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateKeywordPlanAdGroups($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceClientTest.php deleted file mode 100644 index e76d667ed..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignKeywordServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanCampaignKeywordServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanCampaignKeywordServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlanCampaignKeywordsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanCampaignKeywordsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateKeywordPlanCampaignKeywords($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService/MutateKeywordPlanCampaignKeywords', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanCampaignKeywordsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateKeywordPlanCampaignKeywords($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceClientTest.php deleted file mode 100644 index 57cfca5d5..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanCampaignServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanCampaignServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanCampaignServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlanCampaignsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlanCampaignsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateKeywordPlanCampaigns($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlanCampaignsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateKeywordPlanCampaigns($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceClientTest.php deleted file mode 100644 index 1bf6a82cc..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanIdeaServiceClientTest.php +++ /dev/null @@ -1,316 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanIdeaServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanIdeaServiceClient($options); - } - - /** @test */ - public function generateAdGroupThemesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateAdGroupThemesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $keywords = []; - $adGroups = []; - $response = $gapicClient->generateAdGroupThemes($customerId, $keywords, $adGroups); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateAdGroupThemes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getKeywords(); - $this->assertProtobufEquals($keywords, $actualValue); - $actualValue = $actualRequestObject->getAdGroups(); - $this->assertProtobufEquals($adGroups, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateAdGroupThemesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $keywords = []; - $adGroups = []; - try { - $gapicClient->generateAdGroupThemes($customerId, $keywords, $adGroups); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordForecastMetricsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateKeywordForecastMetricsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $campaign = new CampaignToForecast(); - $campaignKeywordPlanNetwork = KeywordPlanNetwork::UNSPECIFIED; - $campaign->setKeywordPlanNetwork($campaignKeywordPlanNetwork); - $campaignBiddingStrategy = new CampaignBiddingStrategy(); - $campaign->setBiddingStrategy($campaignBiddingStrategy); - $response = $gapicClient->generateKeywordForecastMetrics($campaign); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordForecastMetrics', $actualFuncCall); - $actualValue = $actualRequestObject->getCampaign(); - $this->assertProtobufEquals($campaign, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordForecastMetricsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $campaign = new CampaignToForecast(); - $campaignKeywordPlanNetwork = KeywordPlanNetwork::UNSPECIFIED; - $campaign->setKeywordPlanNetwork($campaignKeywordPlanNetwork); - $campaignBiddingStrategy = new CampaignBiddingStrategy(); - $campaign->setBiddingStrategy($campaignBiddingStrategy); - try { - $gapicClient->generateKeywordForecastMetrics($campaign); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordHistoricalMetricsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateKeywordHistoricalMetricsResponse(); - $transport->addResponse($expectedResponse); - $response = $gapicClient->generateKeywordHistoricalMetrics(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordHistoricalMetrics', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordHistoricalMetricsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->generateKeywordHistoricalMetrics(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordIdeasTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $nextPageToken = ''; - $totalSize = 705419236; - $resultsElement = new GenerateKeywordIdeaResult(); - $results = [ - $resultsElement, - ]; - $expectedResponse = new GenerateKeywordIdeaResponse(); - $expectedResponse->setNextPageToken($nextPageToken); - $expectedResponse->setTotalSize($totalSize); - $expectedResponse->setResults($results); - $transport->addResponse($expectedResponse); - $response = $gapicClient->generateKeywordIdeas(); - $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); - $resources = iterator_to_array($response->iterateAllElements()); - $this->assertSame(1, count($resources)); - $this->assertEquals($expectedResponse->getResults()[0], $resources[0]); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanIdeaService/GenerateKeywordIdeas', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateKeywordIdeasExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->generateKeywordIdeas(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceClientTest.php deleted file mode 100644 index 133481ca7..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/KeywordPlanServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordPlanServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordPlanServiceClient($options); - } - - /** @test */ - public function mutateKeywordPlansTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateKeywordPlansResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateKeywordPlans($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordPlanService/MutateKeywordPlans', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateKeywordPlansExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateKeywordPlans($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceClientTest.php deleted file mode 100644 index aee66bc19..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/KeywordThemeConstantServiceClientTest.php +++ /dev/null @@ -1,113 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return KeywordThemeConstantServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new KeywordThemeConstantServiceClient($options); - } - - /** @test */ - public function suggestKeywordThemeConstantsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestKeywordThemeConstantsResponse(); - $transport->addResponse($expectedResponse); - $response = $gapicClient->suggestKeywordThemeConstants(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.KeywordThemeConstantService/SuggestKeywordThemeConstants', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestKeywordThemeConstantsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->suggestKeywordThemeConstants(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/LabelServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/LabelServiceClientTest.php deleted file mode 100644 index 14e0fb118..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/LabelServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return LabelServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new LabelServiceClient($options); - } - - /** @test */ - public function mutateLabelsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateLabelsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateLabels($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.LabelService/MutateLabels', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateLabelsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateLabels($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceClientTest.php deleted file mode 100644 index 77b664403..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/OfflineUserDataJobServiceClientTest.php +++ /dev/null @@ -1,311 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return OfflineUserDataJobServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new OfflineUserDataJobServiceClient($options); - } - - /** @test */ - public function addOfflineUserDataJobOperationsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new AddOfflineUserDataJobOperationsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $operations = []; - $response = $gapicClient->addOfflineUserDataJobOperations($formattedResourceName, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.OfflineUserDataJobService/AddOfflineUserDataJobOperations', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function addOfflineUserDataJobOperationsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $operations = []; - try { - $gapicClient->addOfflineUserDataJobOperations($formattedResourceName, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createOfflineUserDataJobTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new CreateOfflineUserDataJobResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $job = new OfflineUserDataJob(); - $response = $gapicClient->createOfflineUserDataJob($customerId, $job); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.OfflineUserDataJobService/CreateOfflineUserDataJob', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getJob(); - $this->assertProtobufEquals($job, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createOfflineUserDataJobExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $job = new OfflineUserDataJob(); - try { - $gapicClient->createOfflineUserDataJob($customerId, $job); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function runOfflineUserDataJobTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/runOfflineUserDataJobTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $expectedResponse = new GPBEmpty(); - $anyResponse = new Any(); - $anyResponse->setValue($expectedResponse->serializeToString()); - $completeOperation = new Operation(); - $completeOperation->setName('operations/runOfflineUserDataJobTest'); - $completeOperation->setDone(true); - $completeOperation->setResponse($anyResponse); - $operationsTransport->addResponse($completeOperation); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $response = $gapicClient->runOfflineUserDataJob($formattedResourceName); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $apiRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($apiRequests)); - $operationsRequestsEmpty = $operationsTransport->popReceivedCalls(); - $this->assertSame(0, count($operationsRequestsEmpty)); - $actualApiFuncCall = $apiRequests[0]->getFuncCall(); - $actualApiRequestObject = $apiRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.OfflineUserDataJobService/RunOfflineUserDataJob', $actualApiFuncCall); - $actualValue = $actualApiRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/runOfflineUserDataJobTest'); - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - $this->assertTrue($response->isDone()); - $this->assertEquals($expectedResponse, $response->getResult()); - $apiRequestsEmpty = $transport->popReceivedCalls(); - $this->assertSame(0, count($apiRequestsEmpty)); - $operationsRequests = $operationsTransport->popReceivedCalls(); - $this->assertSame(1, count($operationsRequests)); - $actualOperationsFuncCall = $operationsRequests[0]->getFuncCall(); - $actualOperationsRequestObject = $operationsRequests[0]->getRequestObject(); - $this->assertSame('/google.longrunning.Operations/GetOperation', $actualOperationsFuncCall); - $this->assertEquals($expectedOperationsRequestObject, $actualOperationsRequestObject); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } - - /** @test */ - public function runOfflineUserDataJobExceptionTest() - { - $operationsTransport = $this->createTransport(); - $operationsClient = new OperationsClient([ - 'apiEndpoint' => '', - 'transport' => $operationsTransport, - 'credentials' => $this->createCredentials(), - ]); - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - 'operationsClient' => $operationsClient, - ]); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - // Mock response - $incompleteOperation = new Operation(); - $incompleteOperation->setName('operations/runOfflineUserDataJobTest'); - $incompleteOperation->setDone(false); - $transport->addResponse($incompleteOperation); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $operationsTransport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->offlineUserDataJobName('[CUSTOMER_ID]', '[OFFLINE_USER_DATA_UPDATE_ID]'); - $response = $gapicClient->runOfflineUserDataJob($formattedResourceName); - $this->assertFalse($response->isDone()); - $this->assertNull($response->getResult()); - $expectedOperationsRequestObject = new GetOperationRequest(); - $expectedOperationsRequestObject->setName('operations/runOfflineUserDataJobTest'); - try { - $response->pollUntilComplete([ - 'initialPollDelayMillis' => 1, - ]); - // If the pollUntilComplete() method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stubs are exhausted - $transport->popReceivedCalls(); - $operationsTransport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - $this->assertTrue($operationsTransport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceClientTest.php deleted file mode 100644 index 766b37be1..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/PaymentsAccountServiceClientTest.php +++ /dev/null @@ -1,119 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return PaymentsAccountServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new PaymentsAccountServiceClient($options); - } - - /** @test */ - public function listPaymentsAccountsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListPaymentsAccountsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $response = $gapicClient->listPaymentsAccounts($customerId); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.PaymentsAccountService/ListPaymentsAccounts', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPaymentsAccountsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - try { - $gapicClient->listPaymentsAccounts($customerId); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceClientTest.php deleted file mode 100644 index 700776d3a..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ProductLinkInvitationServiceClientTest.php +++ /dev/null @@ -1,130 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ProductLinkInvitationServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ProductLinkInvitationServiceClient($options); - } - - /** @test */ - public function updateProductLinkInvitationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $expectedResponse = new UpdateProductLinkInvitationResponse(); - $expectedResponse->setResourceName($resourceName2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $productLinkInvitationStatus = ProductLinkInvitationStatus::UNSPECIFIED; - $formattedResourceName = $gapicClient->productLinkInvitationName('[CUSTOMER_ID]', '[CUSTOMER_INVITATION_ID]'); - $response = $gapicClient->updateProductLinkInvitation($customerId, $productLinkInvitationStatus, $formattedResourceName); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ProductLinkInvitationService/UpdateProductLinkInvitation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getProductLinkInvitationStatus(); - $this->assertProtobufEquals($productLinkInvitationStatus, $actualValue); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function updateProductLinkInvitationExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $productLinkInvitationStatus = ProductLinkInvitationStatus::UNSPECIFIED; - $formattedResourceName = $gapicClient->productLinkInvitationName('[CUSTOMER_ID]', '[CUSTOMER_INVITATION_ID]'); - try { - $gapicClient->updateProductLinkInvitation($customerId, $productLinkInvitationStatus, $formattedResourceName); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceClientTest.php deleted file mode 100644 index 9aef71b09..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ProductLinkServiceClientTest.php +++ /dev/null @@ -1,191 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ProductLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ProductLinkServiceClient($options); - } - - /** @test */ - public function createProductLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName = 'resourceName979421212'; - $expectedResponse = new CreateProductLinkResponse(); - $expectedResponse->setResourceName($resourceName); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $productLink = new ProductLink(); - $response = $gapicClient->createProductLink($customerId, $productLink); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ProductLinkService/CreateProductLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getProductLink(); - $this->assertProtobufEquals($productLink, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function createProductLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $productLink = new ProductLink(); - try { - $gapicClient->createProductLink($customerId, $productLink); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function removeProductLinkTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $resourceName2 = 'resourceName2625949903'; - $expectedResponse = new RemoveProductLinkResponse(); - $expectedResponse->setResourceName($resourceName2); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $formattedResourceName = $gapicClient->productLinkName('[CUSTOMER_ID]', '[PRODUCT_LINK_ID]'); - $response = $gapicClient->removeProductLink($customerId, $formattedResourceName); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ProductLinkService/RemoveProductLink', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function removeProductLinkExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $formattedResourceName = $gapicClient->productLinkName('[CUSTOMER_ID]', '[PRODUCT_LINK_ID]'); - try { - $gapicClient->removeProductLink($customerId, $formattedResourceName); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceClientTest.php deleted file mode 100644 index 6974f76a7..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ReachPlanServiceClientTest.php +++ /dev/null @@ -1,240 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ReachPlanServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ReachPlanServiceClient($options); - } - - /** @test */ - public function generateReachForecastTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GenerateReachForecastResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $campaignDuration = new CampaignDuration(); - $plannedProducts = []; - $response = $gapicClient->generateReachForecast($customerId, $campaignDuration, $plannedProducts); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ReachPlanService/GenerateReachForecast', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getCampaignDuration(); - $this->assertProtobufEquals($campaignDuration, $actualValue); - $actualValue = $actualRequestObject->getPlannedProducts(); - $this->assertProtobufEquals($plannedProducts, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function generateReachForecastExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $campaignDuration = new CampaignDuration(); - $plannedProducts = []; - try { - $gapicClient->generateReachForecast($customerId, $campaignDuration, $plannedProducts); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPlannableLocationsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListPlannableLocationsResponse(); - $transport->addResponse($expectedResponse); - $response = $gapicClient->listPlannableLocations(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ReachPlanService/ListPlannableLocations', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPlannableLocationsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->listPlannableLocations(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPlannableProductsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ListPlannableProductsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $plannableLocationId = 'plannableLocationId-2050234651'; - $response = $gapicClient->listPlannableProducts($plannableLocationId); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ReachPlanService/ListPlannableProducts', $actualFuncCall); - $actualValue = $actualRequestObject->getPlannableLocationId(); - $this->assertProtobufEquals($plannableLocationId, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function listPlannableProductsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $plannableLocationId = 'plannableLocationId-2050234651'; - try { - $gapicClient->listPlannableProducts($plannableLocationId); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/RecommendationServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/RecommendationServiceClientTest.php deleted file mode 100644 index d5ab03b88..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/RecommendationServiceClientTest.php +++ /dev/null @@ -1,186 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return RecommendationServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new RecommendationServiceClient($options); - } - - /** @test */ - public function applyRecommendationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new ApplyRecommendationResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->applyRecommendation($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RecommendationService/ApplyRecommendation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function applyRecommendationExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->applyRecommendation($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function dismissRecommendationTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new DismissRecommendationResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->dismissRecommendation($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RecommendationService/DismissRecommendation', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function dismissRecommendationExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->dismissRecommendation($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceClientTest.php deleted file mode 100644 index c41ce625f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/RecommendationSubscriptionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return RecommendationSubscriptionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new RecommendationSubscriptionServiceClient($options); - } - - /** @test */ - public function mutateRecommendationSubscriptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateRecommendationSubscriptionResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateRecommendationSubscription($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RecommendationSubscriptionService/MutateRecommendationSubscription', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateRecommendationSubscriptionExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateRecommendationSubscription($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceClientTest.php deleted file mode 100644 index 07e764479..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/RemarketingActionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return RemarketingActionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new RemarketingActionServiceClient($options); - } - - /** @test */ - public function mutateRemarketingActionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateRemarketingActionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateRemarketingActions($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.RemarketingActionService/MutateRemarketingActions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateRemarketingActionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateRemarketingActions($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceClientTest.php deleted file mode 100644 index 62861179f..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/SharedCriterionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return SharedCriterionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new SharedCriterionServiceClient($options); - } - - /** @test */ - public function mutateSharedCriteriaTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateSharedCriteriaResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateSharedCriteria($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SharedCriterionService/MutateSharedCriteria', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSharedCriteriaExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateSharedCriteria($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/SharedSetServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/SharedSetServiceClientTest.php deleted file mode 100644 index 0f180b00c..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/SharedSetServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return SharedSetServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new SharedSetServiceClient($options); - } - - /** @test */ - public function mutateSharedSetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateSharedSetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateSharedSets($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SharedSetService/MutateSharedSets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSharedSetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateSharedSets($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceClientTest.php deleted file mode 100644 index e0545eed6..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/SmartCampaignSettingServiceClientTest.php +++ /dev/null @@ -1,182 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return SmartCampaignSettingServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new SmartCampaignSettingServiceClient($options); - } - - /** @test */ - public function getSmartCampaignStatusTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new GetSmartCampaignStatusResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $formattedResourceName = $gapicClient->smartCampaignSettingName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - $response = $gapicClient->getSmartCampaignStatus($formattedResourceName); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSettingService/GetSmartCampaignStatus', $actualFuncCall); - $actualValue = $actualRequestObject->getResourceName(); - $this->assertProtobufEquals($formattedResourceName, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function getSmartCampaignStatusExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $formattedResourceName = $gapicClient->smartCampaignSettingName('[CUSTOMER_ID]', '[CAMPAIGN_ID]'); - try { - $gapicClient->getSmartCampaignStatus($formattedResourceName); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSmartCampaignSettingsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateSmartCampaignSettingsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateSmartCampaignSettings($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSettingService/MutateSmartCampaignSettings', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateSmartCampaignSettingsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateSmartCampaignSettings($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceClientTest.php deleted file mode 100644 index acfb32695..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/SmartCampaignSuggestServiceClientTest.php +++ /dev/null @@ -1,253 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return SmartCampaignSuggestServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new SmartCampaignSuggestServiceClient($options); - } - - /** @test */ - public function suggestKeywordThemesTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestKeywordThemesResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - $response = $gapicClient->suggestKeywordThemes($customerId, $suggestionInfo); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestKeywordThemes', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getSuggestionInfo(); - $this->assertProtobufEquals($suggestionInfo, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestKeywordThemesExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - try { - $gapicClient->suggestKeywordThemes($customerId, $suggestionInfo); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestSmartCampaignAdTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestSmartCampaignAdResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - $response = $gapicClient->suggestSmartCampaignAd($customerId, $suggestionInfo); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestSmartCampaignAd', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getSuggestionInfo(); - $this->assertProtobufEquals($suggestionInfo, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestSmartCampaignAdExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionInfo = new SmartCampaignSuggestionInfo(); - try { - $gapicClient->suggestSmartCampaignAd($customerId, $suggestionInfo); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestSmartCampaignBudgetOptionsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestSmartCampaignBudgetOptionsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionData = new SuggestionDataOneof(); - $suggestionData->setCampaign('formattedCampaign1309185331'); - $response = $gapicClient->suggestSmartCampaignBudgetOptions($customerId, $suggestionData); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.SmartCampaignSuggestService/SuggestSmartCampaignBudgetOptions', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getCampaign(); - $this->assertTrue($suggestionData->isCampaign()); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestSmartCampaignBudgetOptionsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $suggestionData = new SuggestionDataOneof(); - $suggestionData->setCampaign('formattedCampaign1309185331'); - try { - $gapicClient->suggestSmartCampaignBudgetOptions($customerId, $suggestionData); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceClientTest.php deleted file mode 100644 index 888058c97..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/ThirdPartyAppAnalyticsLinkServiceClientTest.php +++ /dev/null @@ -1,113 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return ThirdPartyAppAnalyticsLinkServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new ThirdPartyAppAnalyticsLinkServiceClient($options); - } - - /** @test */ - public function regenerateShareableLinkIdTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new RegenerateShareableLinkIdResponse(); - $transport->addResponse($expectedResponse); - $response = $gapicClient->regenerateShareableLinkId(); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService/RegenerateShareableLinkId', $actualFuncCall); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function regenerateShareableLinkIdExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - try { - $gapicClient->regenerateShareableLinkId(); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceClientTest.php deleted file mode 100644 index 6dab499e3..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/TravelAssetSuggestionServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return TravelAssetSuggestionServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new TravelAssetSuggestionServiceClient($options); - } - - /** @test */ - public function suggestTravelAssetsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new SuggestTravelAssetsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $languageOption = 'languageOption-1219231940'; - $response = $gapicClient->suggestTravelAssets($customerId, $languageOption); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.TravelAssetSuggestionService/SuggestTravelAssets', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getLanguageOption(); - $this->assertProtobufEquals($languageOption, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function suggestTravelAssetsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $languageOption = 'languageOption-1219231940'; - try { - $gapicClient->suggestTravelAssets($customerId, $languageOption); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/UserDataServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/UserDataServiceClientTest.php deleted file mode 100644 index c1e653971..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/UserDataServiceClientTest.php +++ /dev/null @@ -1,127 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return UserDataServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new UserDataServiceClient($options); - } - - /** @test */ - public function uploadUserDataTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $uploadDateTime = 'uploadDateTime-937757696'; - $receivedOperationsCount = 912867738; - $expectedResponse = new UploadUserDataResponse(); - $expectedResponse->setUploadDateTime($uploadDateTime); - $expectedResponse->setReceivedOperationsCount($receivedOperationsCount); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->uploadUserData($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.UserDataService/UploadUserData', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function uploadUserDataExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->uploadUserData($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V15/Services/UserListServiceClientTest.php b/tests/Google/Ads/GoogleAds/V15/Services/UserListServiceClientTest.php deleted file mode 100644 index 7747e16a7..000000000 --- a/tests/Google/Ads/GoogleAds/V15/Services/UserListServiceClientTest.php +++ /dev/null @@ -1,123 +0,0 @@ -getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); - } - - /** @return UserListServiceClient */ - private function createClient(array $options = []) - { - $options += [ - 'credentials' => $this->createCredentials(), - ]; - return new UserListServiceClient($options); - } - - /** @test */ - public function mutateUserListsTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - // Mock response - $expectedResponse = new MutateUserListsResponse(); - $transport->addResponse($expectedResponse); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - $response = $gapicClient->mutateUserLists($customerId, $operations); - $this->assertEquals($expectedResponse, $response); - $actualRequests = $transport->popReceivedCalls(); - $this->assertSame(1, count($actualRequests)); - $actualFuncCall = $actualRequests[0]->getFuncCall(); - $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.UserListService/MutateUserLists', $actualFuncCall); - $actualValue = $actualRequestObject->getCustomerId(); - $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); - $this->assertTrue($transport->isExhausted()); - } - - /** @test */ - public function mutateUserListsExceptionTest() - { - $transport = $this->createTransport(); - $gapicClient = $this->createClient([ - 'transport' => $transport, - ]); - $this->assertTrue($transport->isExhausted()); - $status = new stdClass(); - $status->code = Code::DATA_LOSS; - $status->details = 'internal error'; - $expectedExceptionMessage = json_encode([ - 'message' => 'internal error', - 'code' => Code::DATA_LOSS, - 'status' => 'DATA_LOSS', - 'details' => [], - ], JSON_PRETTY_PRINT); - $transport->addResponse(null, $status); - // Mock request - $customerId = 'customerId-1772061412'; - $operations = []; - try { - $gapicClient->mutateUserLists($customerId, $operations); - // If the $gapicClient method call did not throw, fail the test - $this->fail('Expected an ApiException, but no exception was thrown.'); - } catch (ApiException $ex) { - $this->assertEquals($status->code, $ex->getCode()); - $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); - } - // Call popReceivedCalls to ensure the stub is exhausted - $transport->popReceivedCalls(); - $this->assertTrue($transport->isExhausted()); - } -} diff --git a/tests/Google/Ads/GoogleAds/V17/Services/Client/AdGroupAdServiceClientTest.php b/tests/Google/Ads/GoogleAds/V17/Services/Client/AdGroupAdServiceClientTest.php index b83e80181..7e09745ff 100644 --- a/tests/Google/Ads/GoogleAds/V17/Services/Client/AdGroupAdServiceClientTest.php +++ b/tests/Google/Ads/GoogleAds/V17/Services/Client/AdGroupAdServiceClientTest.php @@ -25,10 +25,12 @@ use Google\Ads\GoogleAds\V17\Services\Client\AdGroupAdServiceClient; use Google\Ads\GoogleAds\V17\Services\MutateAdGroupAdsRequest; use Google\Ads\GoogleAds\V17\Services\MutateAdGroupAdsResponse; +use Google\Ads\GoogleAds\V17\Services\RemoveAutomaticallyCreatedAssetsRequest; use Google\ApiCore\ApiException; use Google\ApiCore\CredentialsWrapper; use Google\ApiCore\Testing\GeneratedTest; use Google\ApiCore\Testing\MockTransport; +use Google\Protobuf\GPBEmpty; use Google\Rpc\Code; use stdClass; @@ -128,6 +130,73 @@ public function mutateAdGroupAdsExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function removeAutomaticallyCreatedAssetsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedAdGroupAd = $gapicClient->adGroupAdName('[CUSTOMER_ID]', '[AD_GROUP_ID]', '[AD_ID]'); + $assetsWithFieldType = []; + $request = (new RemoveAutomaticallyCreatedAssetsRequest()) + ->setAdGroupAd($formattedAdGroupAd) + ->setAssetsWithFieldType($assetsWithFieldType); + $gapicClient->removeAutomaticallyCreatedAssets($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.ads.googleads.v17.services.AdGroupAdService/RemoveAutomaticallyCreatedAssets', $actualFuncCall); + $actualValue = $actualRequestObject->getAdGroupAd(); + $this->assertProtobufEquals($formattedAdGroupAd, $actualValue); + $actualValue = $actualRequestObject->getAssetsWithFieldType(); + $this->assertProtobufEquals($assetsWithFieldType, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function removeAutomaticallyCreatedAssetsExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $transport->addResponse(null, $status); + // Mock request + $formattedAdGroupAd = $gapicClient->adGroupAdName('[CUSTOMER_ID]', '[AD_GROUP_ID]', '[AD_ID]'); + $assetsWithFieldType = []; + $request = (new RemoveAutomaticallyCreatedAssetsRequest()) + ->setAdGroupAd($formattedAdGroupAd) + ->setAssetsWithFieldType($assetsWithFieldType); + try { + $gapicClient->removeAutomaticallyCreatedAssets($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + /** @test */ public function mutateAdGroupAdsAsyncTest() { diff --git a/tests/Google/Ads/GoogleAds/V17/Services/Client/AudienceInsightsServiceClientTest.php b/tests/Google/Ads/GoogleAds/V17/Services/Client/AudienceInsightsServiceClientTest.php index b3ee85e29..3da05b8f5 100644 --- a/tests/Google/Ads/GoogleAds/V17/Services/Client/AudienceInsightsServiceClientTest.php +++ b/tests/Google/Ads/GoogleAds/V17/Services/Client/AudienceInsightsServiceClientTest.php @@ -22,10 +22,14 @@ namespace Google\Ads\GoogleAds\V17\Services\Client; +use Google\Ads\GoogleAds\V17\Common\LocationInfo; +use Google\Ads\GoogleAds\V17\Services\AudienceInsightsAttribute; use Google\Ads\GoogleAds\V17\Services\BasicInsightsAudience; use Google\Ads\GoogleAds\V17\Services\Client\AudienceInsightsServiceClient; use Google\Ads\GoogleAds\V17\Services\GenerateAudienceCompositionInsightsRequest; use Google\Ads\GoogleAds\V17\Services\GenerateAudienceCompositionInsightsResponse; +use Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsRequest; +use Google\Ads\GoogleAds\V17\Services\GenerateAudienceOverlapInsightsResponse; use Google\Ads\GoogleAds\V17\Services\GenerateInsightsFinderReportRequest; use Google\Ads\GoogleAds\V17\Services\GenerateInsightsFinderReportResponse; use Google\Ads\GoogleAds\V17\Services\GenerateSuggestedTargetingInsightsRequest; @@ -148,6 +152,86 @@ public function generateAudienceCompositionInsightsExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function generateAudienceOverlapInsightsTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GenerateAudienceOverlapInsightsResponse(); + $transport->addResponse($expectedResponse); + // Mock request + $customerId = 'customerId-1772061412'; + $countryLocation = new LocationInfo(); + $primaryAttribute = new AudienceInsightsAttribute(); + $dimensions = []; + $request = (new GenerateAudienceOverlapInsightsRequest()) + ->setCustomerId($customerId) + ->setCountryLocation($countryLocation) + ->setPrimaryAttribute($primaryAttribute) + ->setDimensions($dimensions); + $response = $gapicClient->generateAudienceOverlapInsights($request); + $this->assertEquals($expectedResponse, $response); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.ads.googleads.v17.services.AudienceInsightsService/GenerateAudienceOverlapInsights', $actualFuncCall); + $actualValue = $actualRequestObject->getCustomerId(); + $this->assertProtobufEquals($customerId, $actualValue); + $actualValue = $actualRequestObject->getCountryLocation(); + $this->assertProtobufEquals($countryLocation, $actualValue); + $actualValue = $actualRequestObject->getPrimaryAttribute(); + $this->assertProtobufEquals($primaryAttribute, $actualValue); + $actualValue = $actualRequestObject->getDimensions(); + $this->assertProtobufEquals($dimensions, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function generateAudienceOverlapInsightsExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode([ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], JSON_PRETTY_PRINT); + $transport->addResponse(null, $status); + // Mock request + $customerId = 'customerId-1772061412'; + $countryLocation = new LocationInfo(); + $primaryAttribute = new AudienceInsightsAttribute(); + $dimensions = []; + $request = (new GenerateAudienceOverlapInsightsRequest()) + ->setCustomerId($customerId) + ->setCountryLocation($countryLocation) + ->setPrimaryAttribute($primaryAttribute) + ->setDimensions($dimensions); + try { + $gapicClient->generateAudienceOverlapInsights($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + /** @test */ public function generateInsightsFinderReportTest() { diff --git a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupBidModifierServiceClientTest.php b/tests/Google/Ads/GoogleAds/V17/Services/Client/ShareablePreviewServiceClientTest.php similarity index 70% rename from tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupBidModifierServiceClientTest.php rename to tests/Google/Ads/GoogleAds/V17/Services/Client/ShareablePreviewServiceClientTest.php index fda815965..36a0e89a8 100644 --- a/tests/Google/Ads/GoogleAds/V15/Services/Client/AdGroupBidModifierServiceClientTest.php +++ b/tests/Google/Ads/GoogleAds/V17/Services/Client/ShareablePreviewServiceClientTest.php @@ -1,6 +1,6 @@ getMockBuilder(CredentialsWrapper::class)->disableOriginalConstructor()->getMock(); } - /** @return AdGroupBidModifierServiceClient */ + /** @return ShareablePreviewServiceClient */ private function createClient(array $options = []) { $options += [ 'credentials' => $this->createCredentials(), ]; - return new AdGroupBidModifierServiceClient($options); + return new ShareablePreviewServiceClient($options); } /** @test */ - public function mutateAdGroupBidModifiersTest() + public function generateShareablePreviewsTest() { $transport = $this->createTransport(); $gapicClient = $this->createClient([ @@ -69,30 +69,30 @@ public function mutateAdGroupBidModifiersTest() ]); $this->assertTrue($transport->isExhausted()); // Mock response - $expectedResponse = new MutateAdGroupBidModifiersResponse(); + $expectedResponse = new GenerateShareablePreviewsResponse(); $transport->addResponse($expectedResponse); // Mock request $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupBidModifiersRequest()) + $shareablePreviews = []; + $request = (new GenerateShareablePreviewsRequest()) ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupBidModifiers($request); + ->setShareablePreviews($shareablePreviews); + $response = $gapicClient->generateShareablePreviews($request); $this->assertEquals($expectedResponse, $response); $actualRequests = $transport->popReceivedCalls(); $this->assertSame(1, count($actualRequests)); $actualFuncCall = $actualRequests[0]->getFuncCall(); $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupBidModifierService/MutateAdGroupBidModifiers', $actualFuncCall); + $this->assertSame('/google.ads.googleads.v17.services.ShareablePreviewService/GenerateShareablePreviews', $actualFuncCall); $actualValue = $actualRequestObject->getCustomerId(); $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); + $actualValue = $actualRequestObject->getShareablePreviews(); + $this->assertProtobufEquals($shareablePreviews, $actualValue); $this->assertTrue($transport->isExhausted()); } /** @test */ - public function mutateAdGroupBidModifiersExceptionTest() + public function generateShareablePreviewsExceptionTest() { $transport = $this->createTransport(); $gapicClient = $this->createClient([ @@ -111,12 +111,12 @@ public function mutateAdGroupBidModifiersExceptionTest() $transport->addResponse(null, $status); // Mock request $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupBidModifiersRequest()) + $shareablePreviews = []; + $request = (new GenerateShareablePreviewsRequest()) ->setCustomerId($customerId) - ->setOperations($operations); + ->setShareablePreviews($shareablePreviews); try { - $gapicClient->mutateAdGroupBidModifiers($request); + $gapicClient->generateShareablePreviews($request); // If the $gapicClient method call did not throw, fail the test $this->fail('Expected an ApiException, but no exception was thrown.'); } catch (ApiException $ex) { @@ -129,7 +129,7 @@ public function mutateAdGroupBidModifiersExceptionTest() } /** @test */ - public function mutateAdGroupBidModifiersAsyncTest() + public function generateShareablePreviewsAsyncTest() { $transport = $this->createTransport(); $gapicClient = $this->createClient([ @@ -137,25 +137,25 @@ public function mutateAdGroupBidModifiersAsyncTest() ]); $this->assertTrue($transport->isExhausted()); // Mock response - $expectedResponse = new MutateAdGroupBidModifiersResponse(); + $expectedResponse = new GenerateShareablePreviewsResponse(); $transport->addResponse($expectedResponse); // Mock request $customerId = 'customerId-1772061412'; - $operations = []; - $request = (new MutateAdGroupBidModifiersRequest()) + $shareablePreviews = []; + $request = (new GenerateShareablePreviewsRequest()) ->setCustomerId($customerId) - ->setOperations($operations); - $response = $gapicClient->mutateAdGroupBidModifiersAsync($request)->wait(); + ->setShareablePreviews($shareablePreviews); + $response = $gapicClient->generateShareablePreviewsAsync($request)->wait(); $this->assertEquals($expectedResponse, $response); $actualRequests = $transport->popReceivedCalls(); $this->assertSame(1, count($actualRequests)); $actualFuncCall = $actualRequests[0]->getFuncCall(); $actualRequestObject = $actualRequests[0]->getRequestObject(); - $this->assertSame('/google.ads.googleads.v15.services.AdGroupBidModifierService/MutateAdGroupBidModifiers', $actualFuncCall); + $this->assertSame('/google.ads.googleads.v17.services.ShareablePreviewService/GenerateShareablePreviews', $actualFuncCall); $actualValue = $actualRequestObject->getCustomerId(); $this->assertProtobufEquals($customerId, $actualValue); - $actualValue = $actualRequestObject->getOperations(); - $this->assertProtobufEquals($operations, $actualValue); + $actualValue = $actualRequestObject->getShareablePreviews(); + $this->assertProtobufEquals($shareablePreviews, $actualValue); $this->assertTrue($transport->isExhausted()); } }

H!uYmFxdn6uQ}QU%-#;YI_AX{QrLYyT%A{wWlm&TQ z^&+G@S3Z_lgzTfoLEn9TU89M=4YwE`?%mVDSR@}DwTg!xJn-kg9Y(OZpn#tr8ioUH zTZU!kNuW<|tN(KYePX@QQO&VB*;61J(zYQM2v2eX7zhXBy}VVeFsBGf9WPnn5e?1+Y8qka<+YP%J%EZhKoVVGDc zKfhq?cIk$T&~56^Ujl;H3XH}mG6vmu>yUl}PF^w_lItR4GRQemWRw^te-W}7M$QLm$GR==45B4dr6DVb`7gI6&lmA+YAiGO2-S( z=C|cu(@lwO4u`A$BltiTd)^hjF`;5dAfI<2sKFk9LSgx|D?!kGWh{#x=bbTBW80?! zY#rgtO{Vs+Xp0c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cAX^o@3-2=h&1nNsPK1CR=&MHjK&_)+!T>0MJT z+<%X0*7UFJHRU-_VA3o!%b!@#+$`bq_?t z^+FjhkGkh%8k=V#{KJOBlrfM(-2R zSrH7902h2tiqGqIV`XNnKHzrZt&MKY=@+bgrGHXyhbfvzlT`?`u8-(Z*bU^-SIv{0 z)*>iNBaM@I|IemgG2i(70ON#qpKCsyZa$d$R;4ZQb~$fWg2JMgV3>v&NTqR=VN(*K zC8X>I{!26uNK(JARz}ukP!Xg`Z*1BUq(5dfkN@%{&^$JgpS{}dNjAv#(L4e&t_T!otTwh?1WInc zC`=yr-JuB!L#G*bKNS>#5@Y88tSG%Fh>mBa7)7k(xY z&MUd_z8cX>e6lG5Ac1igvd(lhT9&ZUOQEG3%x#1ila915RUPQzk zo3~HO1+&`h-x2D`e>h}DrJQEoLxdz#G8SR53P34t&GrG9a z!9;K<1e+?x>NDlmYLWA#)oK1P)0Ol`X#hDAn%UueVjS(Y_Pvz0#34Nz+CO8C+MeX@H4Zhbu%foNGLS3wT4c$yX7G=B;EUOs%s?6!PBk(-3Ep7P;lh zfMf^5#}({gwKo-Roq%8%ZXMsn;MU>q8*yAgFq23tigfoZ_{c2SNbN0)ZOD*0gl&i~ zqZJV+{^_XMCkx_sQ%wwbWRBdD0dKh0@TN>6K3}s-ej z3TW|{Lh)GcnlveJ1XQJWzy2G%Z3`)94E^qt#R+$)k!HQ;7I)PP5c zNX%I(R{%goKM)lWlQqt!(kOX!pyiDc+{|rMN0}?D4h#rN`)ALfrOl%~{qs8>O#N&{ zG3}P!2005wDiGok)$o9!admwj1s8kWJ{$$)q^BZx9RLr0jK5bmxk{h>+4x>{YxjOn zc6n^=7N0lA^?$D)N1@L4EAO};$bj2fJbn7bP9Kxm+2{b|{JZVe@%Q*edG8bRi822l D9SDwv diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ChangeStatus.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ChangeStatus.php deleted file mode 100644 index 9beb5f0bfa08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8ASz_ zgqKi@i%4@5wb+D>SS=z4p)zxfsR~QNH^_7enNE|7kzbH&o^d^gRiV|sZ5e&XvT3pK zWCc0zqIS37#!1@gwpELu6=1}V0Q^JKqdxOVAYVqdlOwBzkQND~2CN7p$A~gWbovMw z5#ECt+B{HQt{}xGTBbns&YTqGOj_E8RA=Z1PM>&2h~Geb4)IyojP*<*f@y*$@_xi~ z^|U+@EaWLcN*q|I&nEJm;`F0H3VFVSWm=v0?EyU@b7LWI;JpxSw> zeRbM9;B)RzKmVE!4cj`3-i%>iN0-KXN4BoZaL$-`dFTr;Z}4cr5AGtJ-ea_~g(aB| z^i^0HeT%|^)0|*bZ}eH1F<6G_ivT#l0-&cMH6p=vHY4yj!;}>pk7t(tT@p6`wSnL_ zfUhr)-)8*T^fZh(dLevZ?;v>ZixKZ3qSya~9-_(H?>D?fi0LDQ;M?S88JmNcUP1`+ ae&U+w9dCv`@Tgaf?Uqq6lskeWfPVmS>Xfkn diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ClickView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ClickView.php deleted file mode 100644 index d3da07180024e7093ab6e1241dba1741c990310a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24704 zcmdr!OK@XXR*_}9?IV9=wYyvG{wXgZ=}Z#Yt+u-pcRGolB-@&nEk}~O(@9e=vh*x# zTGmtP-w(-xi)s|MRSKHNMt@;x^u@_>g`UmZX+$><`K-@$&0cIq!J6Y)x|ocgR(1WHiy|;ro8LIdE&} z_0C>v9`{1IQ)+ANgNClv^nJZ1wnyl)0F2^JiduUrihC-`fXdJKU=|5Mzy*ZO5NHZf zDm4i9mWQSxu(grjOeNAQ=~OcKR44$awl?l;WbbVReIbC+OzLhbb1itv`i=$1tncf= zaqD|A2-f#fFrfac4-`Bfa)^UQtDfl{68>%*o4$7va+(#RR;*W|MzbYUat%~`#iS!NBVZ7SkbkTQ7_|RH0qksKz36v zd!+N%d~o5Oz>zRfWCa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4}! zb|IsBg{MLWWE`F|QhBTjLC2+_2Cz-LyFj;eQs4*Ky#9%d(CB?lQ*?EPiu!BXx6sn3(YbK?ubOLk49nKdLug& zhe>l7Lhs>Cqkis(asQ`rlv;z2m-);#>YO8$QVnfWzS^bw5mcza>kz~|lp^`fObtw? zQn;rWblt*YoaoG%wYV0dY~Z+wuSiSpiBMibtBF)GRBpEQCbLMtm;jqcNepnBSv$qD zxQXUrY2sxTHu19Hw)Ziph6-A-TEXa{$#z9L6$i)1)flh#OYpgYtBs~;ffKM$!4^ga z8)9*%jn6ii`U2y62A&>>iHS3KJ%KtD+Jr zBckrM_Z{&J2k}{6_2qXyiQn_I=dPLZt~LLG`H4L9vAEbsufJmjJxB2Piy!dje9RFC z{uH*RO?Lk6ptH*1%>fi+{o6)l#RdLuWF@JCZXT`%k^!}1~vEF`O9ycvM Rzu)I=du}M&J%+~s{|m^F<(B{e diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CombinedAudience.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CombinedAudience.php deleted file mode 100644 index b75d66986fda11e527e1858330d09e377dc6b8a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1973 zcmbVNO>fgc5G77q#8%J}2^5M{mQb~+07nJ&vLS%oq@gNJLcfrZrO2^2?n;hrdF@J2 z<;?#;;=)hqg}=~q&v4Ijt_l3CBp+nLFG<5zFI6AwIrP3&M_53mV)pJ8x< zq364SYq&P-h5bJEq2UfZVq;&1u-=BP_91N4cMc!3RO*Jlff2M^*RpX%H)$m@xplg+ zS@CfcLMsfUM;vT+_0S~PF|aJI0l?7*n0mT_VY8#|;XpU_K-ZcAQBzDBo7_6y*wpqD z#3}%Wty2oOVq_%-24?`Wj~DiAVn7<`0sC1Yv`ZWk5ZxwUSgSSI*KLX!$ko_>=okTU z9mo^ftkm*4j4*lZis!P?)L>F#hfj-5O51S)>^r)x)iE`E;svhXVW9|FI7nyApOn|D z;#Q7E`mh|8h|rZ9Y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*;V}-Sdz?D$;^*5 z{W_>7$geNSlNvwa;q+fXO-ZDFj-OwCguXImMp+6oeS8I?+u(BaD_^?T*SeqZ^XM*XbT3g0p2yWAWT?|5$We7P0`uGkp=T}r~!`9lNu z&Xi|<*UY(9*1cSu&s6RF68@(+ix``Qm5Vf!*8-8g%$MWGT!SS-Er2K5y{;5aiC7C@ dF4+6UYyLoOrP&G*b4T0-`%3~9?id^c@GpNs>j(e< diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ConversionGoalCampaignConfig.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ConversionGoalCampaignConfig.php deleted file mode 100644 index 1422a99feaea2effa1320ab7a4e6f2e181a0305c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2113 zcmb_d-EI;=6c$ihr~V)sgN>IDNtWHs?n0uK z_z=Ex>vXUSb-U{j6T1?Gg(|F68?aa?Hx_BAXZKtkE6}iQ!^ARbdvahh ztG}@&yEt(1WZky<*!75QH4Ph?O&xU|L=3A*A9RQz@uUD)sEa)Z=@^!3xn1m|Hu8~H z;`o}{_J$_2UT?FOG;aM3P>A-YQqN1FuF$;aShewk`=wiR;TBiVm5K5ag zONVIN1e@&~K0tk9yNYt!)G5fcP%-$)QG62X&&jZFwcQTe+@?%Qhn2BLSHbrfcrukj z*y?o|tr%zcTWp%RkIjHEiG?6eqJ)z|>PeJ(5|2x@z#Yy59{Gv|7Aan82i!VyoVW$% z_A7g}V!pgxE*9dK5_4c?zp_)QzNy3`iR)lCzrWY0?iTCuDF3JK*3@#T5|8D6ML>#b zWSD9HjtVf#cLadzPq!dwS3F?Jkqo=!#BW=A~|)s4`feUMG(oZ(sRztbY90VdaBr z=v^Tn3bRStgOMAAw>7renXkA|sBi9b6s%k*N%5Aw+~Roc<2Q!T=uXf-o%dgAG|ZC; zEuqz+$|h*FE^f6WA;l?r4IPi8DF~F75pf;N={e))Jumu27UuD0N^*~ C_}6s+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ConversionValueRule.php deleted file mode 100644 index dbc3b69c03895fc763f6e48f79c03a27043cef6b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4983 zcmds5Pjk~&5U(u=uz>Lh28?H*!cYhdm4~z(suVg>?07tJY>(rF((#O{NH2~$ilot> zP+-#OrI&t&p4uB9qcgp5=~v)dZtba)>7nmENly-u5<}VxIV3OA?r-<)Z}(~Ueg1{J z>B4oPg>2+$0WyU3r$Vra1lMx{M|Uh?J>1wpo}fEhu4y4p6of`k==O#}v(X-2!>Ya$ zdODJXvEz&_RM!l@9xcgg``-P!hawTbt~>TN@_f^=)oslRk?MsO5~(QwTiZgutLaE+ z^_685XoePOqZUOS$%Y><$!hK1{m~#nod?h@&G&@`hQ3C?2N)ZkgMfeBaNRO>!4I?m z|G8oMs%e{nsafVTyyFMLhGzK)yzG;p z;ed_Wc7QxvvqlZ%>z?Tbj@QSck~BsE3pIH%dwZT*C1~b`FdMljN&9?!AOv2BCXEY% zhl0?vQ-B=?HOdO1YmOF8WEl$D)V58>lcaQ0DM+4b67Os+8i|h|n(@A6!(iK7#A!3j zJR=*u1;26dS#G`{JKVyV!xBVwT#}oZg(y|{tC6aR6HH{OCgM~RscOxFi!1|riEb04 z)&{`uf5V@H)2rQ;esiI{*lsq;AMmH)#Aq$X;L7S)Ify)M=wRY}6ilEiQ% z2?I$I6c)rup_TkY0j{ySX(6W*BP|o4A;zK1e+^d-6gq@`QsCXknE47^==2ukVY}B= zdy8s+&|GPD7n)^G`DZ%nYX`dVe$f9r2lLa@Z=h{cM{h&959vwSpxTV*FX223aQf;H zc5wwS_mp<08I^XUxw16u^`p`rlA0%H_+QiUTgfp0ez5ur4-a!$ovMN3Ymt7&2axGk zkCHjn|LWAKzI*FY{V)lVYt}bNGo`M_-Bk1)t6rWENcJ7Qs=YW1=QF+y{1Ti^BvsM` zR|-O5_LTDJEBW}YEW+IgaiZD5&47qIj(Qf@IVhS&rHBzYg?lA){3DprXbW56@Waz{ zt^7tM@xm7~kVTgJGKJ$qxVYzV*B#ryO|@fJj!{FaM>aHZ;A4j(aQ+)8$A?O4@HjQt zKeEB-P)Tjsz-yslBHZ_@skIquZE$33atxi?lcD51!GoBphkoE}A+K@*+d8G(#zgMQ z*Wp@zD#Qx>7-pirs&W#mmgXMiyGeVqEUMF{D*tWuJ2>}dMvO*qiuLL=i%WCu!|XGV zJ)L@*ZR|0B7LIR|p@3$0q53PA{n<~$xdvCzx4IP?$WTeD2AYTGFTx}aksbKhMGi-| zzAN8_JGr67SvaJM7?|quxEH;&2RQ9(sBfh?b?RMDC@m$T>_rq8nF=D~%yisd_4oL8Vkb?Hcqh<=fBb7xl`-GYyD(~SVo>jSJKJ$o%bdCLz# zD>*y-`txL|n#Rt=5XN>)MA)Ut#FY$@SAHzQ%>(CJ_PJ0hn6&s}hhZmu(NeTi%-UNH zw+w!st&$-(9#1od+(B|H^fH-Ya|T@|__}zrMW@%CVV4Oe1Me+%mvJ|`lS%JR$jNK! P8Mil7Fp}GW9e{rUZ|1$8 diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ConversionValueRuleSet.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ConversionValueRuleSet.php deleted file mode 100644 index fa83e58e59a739486dc1ba20d458ecece5b8dd2e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4623 zcmds5OK;mo5UwOYH-0e8ql%j*j1nXckV2mPlD56|_)6(9~KcAd><~ zIZXot?V-ID=x^wuhn(8Kk^YGSz2#P*Xwmf2-K9uTiDWBiPVqrr?#_NYJM+zOhM(N; z9rVC;u8dsdTOn$5dyl#B0C7Fv3q9NGa(n&#edKetci3~f$S-o7tZ}NQb5K_FYj|tm z^?e)hT*vb|T~xB#K`9!N(b2}el8+*hpk#aQ5%L4abIl{G+efC~?;Ny!OKazGv9H&6(k01p54 z`g>i+=7P`)@xL2RU^=c7I#$>D3SWGS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PfD>_?Jiz!0kk&q&@2ZEd$uQ^|jGh zFy{_DSD!cRc^k~ClW{Cq`%e9(X}>Ik`!Qt<$BYbeBf!C!CQ_*Oyzy&=j@&YSXzwi8 z`IidYNSJk31nq{)lk57|KOrI)2k$*(l#neQUOQLGZoV>ABV6nT6pMrnSuK z@JcnSAEi^|7RlwRt%AI53 JHvtm>{sQQa+4=wg diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CustomAudience.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CustomAudience.php deleted file mode 100644 index 5e88ce628c81db497c542164f2dc46021f64e4cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3427 zcmds4-EZ4e6kp=BSx>h%cnGoz#wAQ^DuJUFO&abBIH{XOZIdWXRt-h69Oou==h&7% zipo@pmp$=c@W?-cv_F7X_PjUX0f`61{fONrjp+(+>qC2e@A1LzLwUF>a#33-Nj92zfXNJ^ReSX>6)HD|@aP z=S!B)?sKM}q_u5gt6#>4`myPFvsGCpKKs%f-&^VT<7;k{UMa?r(TlFa?*e?C*d*8v zM;97I8{tt8ds=Yfj+;fi!!1apxum$wB+_OQvrzaU1s_bd!ydEICMHzkqwoy!N$27+ zEOzSqO|??nuBltOYvLkgJN2D<2+YSO}`8pg+%D{2jbG2A5E8ZpJ~$|3UzpQGP(Th z@=~jHrMyd;AWiGuQui89$cIq=vC+x0eqEx`P~s*qiR+~3};&hKB0 z=kaiLs#rOf@MtU-5`TRS(d$U`lWnNXTCvveo0M_6dr|m1dIGajIXdpSX%ESUy4n>nHNgPCHKQJ`VM5D z;gfG2kGIUi<7?tg5JJyl%|bu(u;f~VQ)>pH^+U%y$A6+h$66q}|ogS0b2E_Vv20RI4r;(ty6 diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CustomConversionGoal.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CustomConversionGoal.php deleted file mode 100644 index b759a28e3193de5f14062887268c4ffe5e14c45e..0000000000000000000000000000000000000000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ata/Google/Ads/GoogleAds/V15/Resources/CustomerAssetSet.php deleted file mode 100644 index 08c8f3ee8d8c84b75ca0a29e7cbc1813b142cdf8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2005 zcmbVN%Wl&^6eS51Iu%e^0!kNUnpQLsV5^`?Xwri0HVskRB4Zux<(yJO3WnQ_J~BmqjKB-fsM&wcou>*beWF9dV2f_)r047XwHJ!Cx$ z!zf^Z8+fo4cRDzNZg3D14@WwLYjs$w@51t0b$6DB(jbmpj9@nix*j&1HZ>AcSci*C zMuZa=YPd0F!2yn%4yBki`B#^D0PvjyOhd=Tu+p%$Fmu`tbL@(Qw9Pi{o5I>(T(Y+n zWC;M*<7jZT4{ZwM9n8QHfcz82Eswa6GKcZMc|x1SCyY2A`M`T!fgQ)An1c-Zc4FUU zB=DgKsQWH16k&oXeCNY}&t?Ux5*uP%d{lPTXE^d5&tAjSjY!CXsKH$k>SC4-S==cU zOERlKBOO>sN~Iej%~f3HI6+?m34fh!8q&>KtTL zs2cY0C^?BIFG#;{v)xYHT<3%-q?L(A7r@sXKqHxg{rG?yDLI-R@!vJYU}BmOMVm=t zb%%R?yi7zvX=c*NI94WI&+Q;d#SNZvQIy2#5eawP~f7FnASk$_s+E-voMH|Vq z`3x?pq7=K7T1riQ9Sl*^wtDTHD6x!CRO)z^eOQq)8KJ7wQ7LO7-ItG(y??%+N4_DX LW8!xVjsf@y0N<^Y diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerClient.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerClient.php deleted file mode 100644 index 7942705829df945080afc2cc9f45038f6f4e6078..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2371 zcmbVN%Wm676pf@*N^e4LPC-f8i6A$pi<;@@779aG)TxKS2G#E7aXTe07hyhF%<4SVdFMn>x5{ z+F@HP+3M`^lXidwBy3x87%D<(OfJItg!w)52Ro^v{pS4zW-enGyZ>fP@BdNkmMCoY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I>E8D@PpA<#i23!9!2KE~pl&ES|Uz^nfg+ZQyny^b_jehy?zWo;E zX$!(*7r6LV{TS5Fu=`d^H3?U}P zJn;MTH;OQ|R8W^QMI!mTH-OeASRaa0SU*?5t^YKpynbSR(q0%X(w&dQ&Cw#iqdQCX z-7=CcE&R2_rAKn;y^k+m36ze#UH0nF#mt!vh?Ucc0|jmhrU3i{ DPRP!P diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerConversionGoal.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerConversionGoal.php deleted file mode 100644 index 0e0ae18b53d52052b3932e3ebca48862bb82d6d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2986 zcmds3U2oe|7$(X3b-K2m*NswOm@sXf1c?e7NG@ga$BAn-vEA5i1&U-j&Pi%1wIkc9 zRI2a?5Pt%3HLkeePmDjob#J&taK$;tu~Tg^>$s#B?ddu1`@A21-j6SzjZR14BThj9 zirfVCxb6j)oFZ-%g-PgzL#{jS_ff=o;n~O^qNv7kvd(F`#X(uMKE$eVIF3BTbAvD( z3{lk&#t;<`7Elkf~hju!^!D2n|sa0a0}tWj$K1nwD%N3MrB#SmL4 zaeHp!b`%QS5qk0TNKVJQPdn`lcn<(?=*BT8O$|snzJlSwCE)PSXxtt89v3HWg8w}9 zW5*Bt#CM1Ow>a*7uI~_-NP@(W!gxhY`=uf|`L8sb(pkuSGNQ$yfd~ZlTx9!)##k?Bt%2 zKp%s@D&X@%)}UZ~h8dH8NGFW^fghw)VIQP=HO#SE&bAt6TaD^fe=32^83}Z%3Nd2! z`x0PYeqcAis;!v@l+=a_W#%n*6)f4>p{Ac`Oo{w+0!34`AX8@VfHg(el_qo!bkoAZ z6?O?!1jAr%kvBXP_J2~=@qO+zS( zM!fg3$CP45=^JU9hCw)VgF!8f2K507Xfi*rRls|*>D6s^ z6EIk}rCRjDY3S`1vqo-3T|aa%adlO*T2Ql?b)w#eM>aGq=g8JE-#3V91zL`*wxMLH zx@IyAxx;>mx~<8M)KsNI<_;+mN!Khvvhe#l08mqKHYo005+tnxoE%(6%q9^?FHE5c znR^8B$QGKk{8Gp7lRJ!f3}?Z-E&h44dU?O-gZ@A2=I13K6xPj6r!8AeA?7rl9Af)F zw&(2+GWSM)y-%i%)18i+v~0KExh9aAOP{L0R>1xFbDY({S|;p}U16)lm3CIdFMbym z{uXvY*79aE0XM%I?yvO%ya8Cw+R0WKL#=;mzor$}ikL-uN#P@FgT-`wZB?ilcylwe z*>w#*y<{1%-1U1sw>v~zw=nQBe{m(8zj+>{Y%z=Lm)X(rdy{-&n?+6bDIzs(p_A_} z)8%d={!j*w{&kjRpDq^Po&PO7n>^NpukZecG!Wz%gsm*z~jcD6;n$c9(Jgv$l5 k%8wK}whE?PE|^Wa$NA#(ak{|G7Olcnj|!%86EFebADmIq(EtDd diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerCustomizer.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerCustomizer.php deleted file mode 100644 index 066def8a9b04d088595df0af27d407e705f4177a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3173 zcmds3O>f&q5UnWLsn=~I5GiWAMY5HHL_rg>Nst7f;uNGr3ujaL72;u;4@WFrku zf?(ny)pBB$FX`&={v$O)+$2`*B*wuMMMJ)DeF3((C7%O`C0M29oD0%Dvc&RpQ<=H{G}HIN3J031_NVW^|*s!QVyjESD_EPo{z> zw24CtY{Q*{hrFetF6Gw*V?cIBAM`*&3hanry?E5#V*wppkrRz;5DTN40;Y+$Al2T}4;$vYjV4|B-9h2RF8J$QK?y70TS<^Bc zO(Q^>#*9YGEWwB1k0N+F$(s!kbt0EzarXYO?N$&aG(&&7JWu`uep(a~Q@;Bjt83E!uIf2O5rFK=+a z1ybOC8>xY6g|0fL18X=+Cl*Jj{8|84Pt{f)gAyGMYXw-Se)M4X9K9(s_cN0r@10S6 zrAzWU_#h_J$e#=uP1ht6Z-u?0wAg&3)cO95YqQ{ts)7+_T9`{~oa5H`L#X^lGf(Ap z)}CW2waAeptFIZlqwxm70gKd-z&=oh#I$dz1jWZoNZHA>E9*Ty*|@fVBs%+3Xtg`pK8_ z>aXKfDxi?e+MY#c%xGG8{$m)YH^MjDx zlM!(mi|I)F;Y7!mE1JnmhN4(~DV9UmIa0-sdREfR;`RDcYvX4L+#-qPXDzxM8|mF) zo(4k3&r=FtTE-cAEn5jOr-$u=BfBSV!N=l6&e3ybcp}|uveA$u>C8~5`gV4CyUQ=3 Rv&&-cb(I-%yCZM}!2hIZOk4l} diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerExtensionSetting.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerExtensionSetting.php deleted file mode 100644 index 380d1a6027567ee307d45bdbd0b6d6c1357f0060..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2788 zcmds3+m72r7$(UcXPefwP!$$YhETOBDz=tYFYvNdcH#tUlh`CqDeK5HsW0N!XY!y(AaOpPB#g{pb1ONpK#3k6{aWD70ea zz~OTkpCcHAe(c-+1P*7T5elL0PXl*?LJq=)3cIQf<%XhvgheBN7TQRFW8WW75N|mV zpOA#QIC{*7C}D|sdltq16on@GE=FGD`kon~ICi};N9_UNSyL1RmW^OblR7B294oer z7FBJCPP8Bi_4Mem(MwgI0ANq7D1!Bc2|2aUPYi&U0OC(D8%|ssMzIy+pL=d(x}F=m z*2H~*eLsaGYZ4)>>?-eQ=Gieu42gj1*{JpqCOQf4y}-w@I)y1zjf4+}&QQDocZMsXH&a#DMELah>Q?g-Wrh=Onh<0*{88Co?CVTj^c=q(k@GgZc> zI0kMOIYC(Zvy{)1YPx9RNa)FYU%CswMaRk9Y~li{Wypx555UhQaGF~= z$eT?g{z|c!4!Uq{l++A+HxcJ>xp7(Hak%g}Dqfv}!+#b-gUZWTdsPK@Hs7+hz`>x~ z*W|j=ROANp4toH02i>!-`mDqIQ`*_6FGNE4tiPx@Qbv?*O*1_Xc%+ z(32ZxzpH4PtTP9MtF6{WDszKyiOr_cRzzJkv-2{08r% zE4ixvSpt>3&BbbEgplTMD5D>!;^u-BZ$w{Xc*uoN*AO_ z8n9BtI&XgVxg;N7M65kijX#%LN+4mz9dcGk n#&}u0-=cdVXN_cx=_+}UJr^D&&z|KQCHH|u856!am;>-PMj@@F diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerFeed.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerFeed.php deleted file mode 100644 index 0548fcd3c314d2f6a97cf2f58f5210d61cdfcb73..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5589 zcmds5&2!tv6*ozJK7B#3Y%5A)qjVB0GYvUb$8CnH;{YT`q2^afP^}YAFc7h%Fr@$n z06k4JI&_jlCbt|iIpo%3FYVvqWB-DjJ=5GeopCRHiv>W6B1CF>YJ4!E-S>X)?fc&S z^^?Kr0PYJVVi8C8h#{POCU~br7&x|PckI4!GVFGVBXsPuf!QZcMi2@$p;}V~xuB>& zLsr)wIvtV|dbZu`ldNvIS@uc4oTo(pM!w^2E&uS*%4e%_weT} z)74DN^h~{P{t1uxSm^3~mmt7p+V0Tmc&2R$l%ZyI$o{(m!=$ut4Qw>YV=D@R^I+EscJ>o^Sr7QdI9{N%#n%NchnTomGB^@6No--ul!Ue%0 z-q5i|0Ot`@dz$SAX1i#Tz9ErQ{kds7x!mYbBak@O(9qMld`rCdff<}zG>qt&MU0dE zNHcoS2k@U1Jc$huVhzvS?3wO$PED()g)Y$S0gXx9VUfb$WdIqBt4tJO8H})u50L&g z0dG_SkYeD*S^y!Vi1ZM4@P;|8WXB>{c&9QyzNC7CLT;$M?@OMZT3 zFsm}`lYU`-WvHdx7a>90&%m)1^mDN76TM8P8EYZb;p>(i^sx$@+I<5ng!kEi%<1>=jtZi{&ypnmV^$M=v8mxt14IrB+2(-v(YR7L~Fhsj$)lGo%yE6`?x=V3EkE|!(jk;-k3uQ3R2iz0?}M>RYw$MJXIX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}oSih|(m(i^&m6aGE7y1u!q6>{SztiG56P;G6i| zy&zGd>s3<~$huHD?$uFz5)Z#3Mc;<+mu((1(zMIU@<#8%9}W0)En9Gy&8Q~0;UrOj z1woXXB0^=XQcHfRj9)5`Xr-_#PJP5;x(uW>2B@AW*J1n2dNJ%C^^g1APVb`0>y4ga z{8qo&<1$g1I8YfZ;4P{XTiE&;^;a9(sk}MzQzlD z48L!};q?CqUTKN&6(cM6#r`dsA|~1-C$BRu*egh}e`CQxhKX0LzZ;+|uLR{O>_|r^ zUpad(y%Q|+ZR9pcZ+-CwO| z%v_53&CMq4I&aisehB-;C&F3o%lrsFU~7C`Bjzu4xbv^Nlq8_$`^zUQHTtaJ=v!;F zL_a7ksntSdE3`V2pR`v}ifi;*I$qZA^tcGuXts2ey1iR&;s@f3Qf>aV-yZHL{N^wR F_y-M#zvln| diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccessInvitation.php b/metadata/Google/Ads/GoogleAds/V15/Resources/CustomerUserAccessInvitation.php deleted file mode 100644 index 00fe2b449dea245827fb85c05a449a7cb5850c4b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2705 zcmds3U2oe|7$!-xt*5jrzCan&!VHbrc zaZ}{O(f2StMlepIH1eVVjCD4neF%D27LumA%-8+P)VIAI~swB!1525PDbdT>v@O}2Ztv(byFOLGIt6<=uQ!dT@S%-U*AWm z>$|Bt>~i}<%_p-ZTYdRxYdFa5Zv)^3E+KGd=I4mI(YP0@Z~~qJNPlrQ3a|$W^X$R9 znBl-Fb_4taO+p8b-GCr!@Vx9e3q6JwGKF5~q4onPY%Q}zqnZ-DX0ymtSyc-=s!9#1Di<1E z;{ZPdf7Zam$ugSY*zy`DQGhO4))Z`roDHZB^Vb>yP=0wy`Bp()GxjZ86z||rvkh&) zink6{2c~8?J$vt)%@t__0CQin_Qbxf|9!b~-YkK<8YTSo2Kanw39rcXQcGA`FbsvI z=9L?!c{|4!V`a>E${EdwN_157tvP|*kvMAowgTR{==P8f!FsOZuzRXeftB{E-g&Oo z|J6PMTf#J*znp^TILdVHl?$yl!FqWOI@oVisnwcZd#=@_1F+_bo01Jhqef3QKKS@0 zJR+BU$3|jq%Z%0~>JUv`95}A;(|AZ@g@?hM%c18>Zs z6&&2S#&LadIb7v+Tr%(s;%>Bws0edWa9bW_ujl8pXcjuqT>iYLtPx; z*kRa1vopkwF^b}lg>LAhSu&sF7`fp|M0_0U2<;9~e=tV&Zg2c4H>F_`yVyXBFkJY! z?Rd1EF2(Bf!NYcpQwVLl31#64`5wnphq0K<5{7l@2_SGzFpV4+qwdf;z|8R+=1jVh zbYgmRxfH9%4<1fN8R<5F>pPU9PEKxS-0&O_|3t~mCoZDQVf^Pdp;HnNMjW3<;-MWh zcYKOD&&$|(61a?n0TKp-z{Rb5DCHE`+fm39w1cuJhazV@Uz1+Ia2z=PWEWF6CJ_tc zA%_~q0<%2R;z{e?w)864$Q-rO5Dnv{7!mD=mP$@IM4blz^dv~T`Ufe#BhV$2zA?x2a`gOY9SCfqpc9}ewKZ?9+X*5A@@ zz_p|Pet+kLxw-j|w#T z=qy7li`M$6Bo^6G!^*SH^0bT4cY=i;#*6j>2Xb<Y*hKvcfUBiLR|C$Pniss?FsKS&4-P21RFK! z>B+zFv>L!7U+Jzqt8sQ|p1xte_FVbS$1!a`&z4i-ov+DBeiz6g|Ga((xb>p~cV4N| zS&6CDD9C0u!~4q~eq)u+>9_M$rq)ZHEl}%Gb_05miE)Wy=fF$lPFKosiE8J-Ou6so a@9q2P{bO}m5RF0Hf}4s2rnqxB2lyMAwUb2v diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/DetailPlacementView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/DetailPlacementView.php deleted file mode 100644 index 73b63069282a156a5682eeb52b0779f8f391fbe8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2215 zcmbtV%Wm676b&WUj<2Iwp@CL$T6dxbi2}G3(mWP)oq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.php b/metadata/Google/Ads/GoogleAds/V15/Resources/DetailedDemographic.php deleted file mode 100644 index 0cd33b9ecbac3bf42ef368e80208d31ec3ec33a7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5979 zcmds5&2QVt6<F_0ti~7WdbxQ zkdy&;;X`|9iyqoN_t@Tg+y9{GF+gv7>|ys*Aol`oFYTKdl2%t_EN}M|AFSc<&2Q#C z{@%yDAN_cIJcdoNVY!xXhSpF#JQKrXOC0-N=nXtaJe(XIS-v>%PR6!l`DIb8w?(bp z6P3E!dx%Q|Z{iQEsyOnzkz-ZNVNhX1GCKX>!-{V)k)SfPLK8uT#?U(PM!q>dwg+Xp z6M$=;Si#sFSYo3iw@`3shGxG(LHp7$h=yde|G|g-ZVb8&FmTKu5bF_m{Q?_41rh(o zlS9WIh(TzE`18mP4BNFs+jQ)op~BC_Bhv{i#F>>nnz)0|_FR!HXuAVz>wS@764^&% z4-NEOj8EAiHbZ;$RX4PJ*L3=ID;W6pIQ0AuidL&5D@-g+X13nnrn?d}`$*hkN32$7 z&iGsm{fRZbxhVQpIPu*Jfb#^ZpJu|b-QTe-XDD08=Be%Z)#`;(7a&-?f{3;0;L(UR0APV?7<4Y(c8GU1xk z>PTusGRW55jlhCY#aPnxVf?I~_@GD*Q4L zMV*WUaYc9l?@rGcJMFHaXbq{Mv=pt!uM#br?V8lQShOZ=!h=MiS{qN-Rdw8{sp>tV zBhhZ1nujWz?8cKhb}(Iexu<9~g})(u4<62(0L^K1l?LKh_ zadIk9(n#5-La%crwzOKs#nozpQ>`LUwMvB!7wG|i0DmjM%TZQ5r)R5RT*DxTvC$Y{ z-WYlQS>mVWDMoqo(01(b%sBCe^E&Jo96YJTu(b#^a$9K%vxSi4yrn;Kur=?3OWc`| zy@|Ztl{8Ih>gdT2;a>D)^bR`c-&)-uBKn?8o^?JiJOXh>1YhgOwM42Q|0*{Zr=HHM z$=gA(zZal$b&5IOz;rC*n=ppD6kI8!`Pa;)8D8jAj<*_WkApdeczRkK?x*^^Ux_woE z=am~ux$z$kHfGa8Qfqw4!R_?dmk_kdp!@N_JX@~iSc=1ZRMrkmmI;Mt#7K*{78Ru(6oo0dAK z16owxK435@H3);*`2YC4@$D!0jc+}mm;TCO7XErkFdeFeeYh6g4~m?~Z7n}jvWqun zxbh5ON{u1(V38%8VouB>Z2ju6v+=a_^8!4YYx~bQxG_x%T1Qb0*PczXk3ws+xfG0x zsJVrO0E$^55^cn7tv!2r*}>91pVV?#+$I;k=yQVdeJsI?1yp>ADvtNiRdUanm?Mk5BSu-; z<%m(%VHM{t*2z4q8UG_K{{l_&#%mYzT)8x3x9M0AXOJiWBPXtS_hP$jv!D3(^`Mb; z`>N4!{wfzqWL&?P)a%?P!^yaRF{$JN_OHb^lq>Tz)Pz!I`bd^qUb!vqehinternalAddGeneratedFile( - ' -ñ -=google/ads/googleads/v15/resources/display_keyword_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ü -DisplayKeywordViewJ - resource_name ( B3àAúA- -+googleads.googleapis.com/DisplayKeywordView:zêAw -+googleads.googleapis.com/DisplayKeywordViewHcustomers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}B‰ -&com.google.ads.googleads.v15.resourcesBDisplayKeywordViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/DistanceView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/DistanceView.php deleted file mode 100644 index 80904018c5b378108830dfb4187e38e82438129c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2373 zcmbVN%Wm676pdupNyfHJ(@o;IMKV>=SOFSJe#imnx`i0Yir`uj5+^|m0t7{lq(LZ> z;KM;;sGDxO>9!xx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|V>XNw)FjI^M%7L~8t;Uqs{L!laYOMf&xmqT#QYsvI51M}vJpz*$^;1Nn#0HvU zMRP2It4C5i&IdM6e6g&#dBtGvggvbp>XKp8QoSo+CPqm#KoJQr3yFQI0@M`12IJ;l z*)vtAt~!h0EM~j%Udz!gN7~c&tOQw}=0BP97i$L`C2#H15>PjQF$K5`PW6xoaF50z zCy9MV_9sn$T=lPmc}}D(eUgME3~-8r4h@4o#heNIY{fPq(e7vKXX~T&59+?g1Cg;l z;i9=$lmQKgd6?vvo)Xp0MOEz&dmSXm-P>i@$TuT84!vnGCA;RsZM}JB z>?Rr1<{iePW<(MlvPC3I3m=!ztHq5F-)i-CtF>QSXzLhuWcWI!RF#Zjr^p8Jy#V<- ztPiBMj_WF~f7Y%U3fGk+u3PfCt|WBblCd+cH+^flOpxm)39H09GBY*M;D%rbz;7XA BL{b0% diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/DynamicSearchAdsSearchTermView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/DynamicSearchAdsSearchTermView.php deleted file mode 100644 index 50711a8c817a118739c3e34844cd57c38a2e7d9a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1882 zcmb_d%Wl&^6vYXxn&}G)h){`YNUJuLz)^)NgiEPng@%epE2z3ak*tY5aYi_{HDjkL zRS-*lfFEFm_!L%r0t*(XpTLScc5Eko1PPH%uI8ROcjoxqJCC;fwvQHZow}5hfLgeD zgo8H4KKBC8^c>s_TP@15>2-YOP_ANJ+r=+;_wke3&i)0Ytr&6jyWZE$@f6IO`IHfPpSz@Hg;UNsY{$j zjS7=9Kk)b-KsC*#LHZ5kN_ll7sw&x73zy>~YTB7IZsLH4bg($aoCYCxGlE`9)i_U0 zpQZX~T6Ujo|3$mD8Feh3wn>+H{QRwv689dn{=KV~m0oij{8Ua)CNH{zJ`~XN|7oPT zQp~1;*VNROD%es@Z8?7{spzxRtg#PE-^b9xXeZ4bpy`ClkghE%SSc6utsm9=@9IPJ zAgkJsd?r+Ar^;V=Z==b6pUCDY79!R>us*%?QBmgR(L|dP%V91pqAaJ#+ya_%h-)#| zHhf~!;$)W3_4mqkBjiqTD$C_%ZW&!~6Jfa2hMwqB<1IZp^te@=2Hb=m)xSJ|>yW@~ z%R&imCc}+MTnSwn;*&LJGt4+(v|q|e^{4XhQhia(Py}9wa#1->LW5boWa3;f1prMf z!{%P-OZ5BW0l|$H+=_CagLNU3XnksVQ07yqMB$-jeFjYp&OCh*6^w*ipGDKgAY+tG zc=Vg-hA|{%U-C3@`djGN(AD7`Ain-7hnB&9{caf582aL9i$+szPkHk!Ha0NA;ceC9 zcEzS{G{}>u06ahHW!OkMNPN!a>(%PlT&W(7dKD(O8iz81QLm<>{#ycSL=VEiix52t x=}Z$Rx#gHb(||25q-vr%~A9FBl7u7`RE{Q+wyeZ~L) diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ExpandedLandingPageView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ExpandedLandingPageView.php deleted file mode 100644 index ee1329a09a45b08a3a6fc84b127abe04febb01ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1437 zcmb_cO>fgc5XFf=VkIs?h=MpQp=whJYznG`wiM*hHdK5hpsELC$=cWxcO}JgIg1JIHOKzoDk3otz7hI_pN+H*ra3G--g zbCjoR;Xo;EUF3J?C+MrdZgPc8N&f7^0sD#JfCg?y3X;L-7RK_AO zHRt)C&dPdGHAfR8+9_LPY^KKzYE%X%i&Lt=WGa~gjB6O&Lc6I+YQ5d%x%<9r|v8tbea4-PoDe-;k4Q%h>e=FYxUWvKD$=m z^=nljDQZoYx@&)LkgIc))9RB;6^5V7bHSok=VJH4FSq&Iy+`g&%S|FFw2kZH%mZ8` zt$Gng0>$BHDqd(7s7*wDdhU~DvCr1A`_cLb_*X%uO?m)IJ4aRMi*Q_T-(RbNX|wJ4 z*jNNgDtyRs_X@e}&*pT$G{_PTIwAZl?z=bUkWnnkz`KD=N0sC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{$!k*m%)Va_t|#1|K! zSuZfL)FTU9=ibv$*^#VIbBblj?ia#X@NdihQ83t zrmFnvncO=YR!W1ZAGpWF^UEJcO@z#ox$F{0u+CzQX}2Ok-h2*R$_A`aSHeImYmhUe z@G4i~ig|Kil;5S{CI&Lu?dTZz%7q!WBhGvfvd6hI{MhPl+=}x2u!M0!A*37CBcDcf wj)YV{7JQbzS!b_?gls<+j1vA^aXIaWyev2?-(hgE#(6>kkqL6SC-4N|zX&ESOaK4? diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ExperimentArm.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ExperimentArm.php deleted file mode 100644 index cec1ce4e9..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/ExperimentArm.php +++ /dev/null @@ -1,41 +0,0 @@ -internalAddGeneratedFile( - ' -Î -7google/ads/googleads/v15/resources/experiment_arm.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ä - ExperimentArmE - resource_name ( B.àAúA( -&googleads.googleapis.com/ExperimentArm? - -experiment ( B+àAúA% -#googleads.googleapis.com/Experiment -name ( BàA -control ( - traffic_split (9 - campaigns ( B&úA# -!googleads.googleapis.com/CampaignF -in_design_campaigns ( B)àAúA# -!googleads.googleapis.com/Campaign:mêAj -&googleads.googleapis.com/ExperimentArm@customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}B„ -&com.google.ads.googleads.v15.resourcesBExperimentArmProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ExtensionFeedItem.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ExtensionFeedItem.php deleted file mode 100644 index 67d84a5a7a7ae11d5249a7a1684c638727894599..0000000000000000000000000000000000000000 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91 diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItem.php b/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItem.php deleted file mode 100644 index af7856d9e162fff66ccabe8db17f28989641df56..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19747 zcmds9OKe+LdJaWNmX2)c`uZi&FIs-YP8>N_9+SvPCYR)ucw>r}CNE_x(abGPUCC@D zl0#BX+#oGxrUi<&g97cMK-&S@nMI3PbQWE-n^_hGvgoFp0_`F|yC^c46vY&sq9`!^ z{&ViRJbYY{a-2n+MNFN?fBy5o&;Oru-}rj{L7iQUuXt6jQEGXc@%xYBtp{Gb-l(-| z<=RgC{@&J>*NB&EyY*38;ZZteGqzXTW;4DFh!y~{k60Z4)%Wi2RLb#YtJK0jmnu!SQmwQqrJc&JVQX*3 zw@N!r50iVxZtYdetxByLrwMko>|MPU7cgn;rFspdcrz|h%Mo=znGLJj@*36B&PK{> zmK&9NtJcV2=+e@**9vG#EmyDI;;Rz0%2xcUKyhiQ2gf(#t;U|GE*_6Jyw+Z$+6M4( z0BWNj-RhNqQcFwi{j}$Y&04N_JDUmbLFr+o*62T#Q{siUD*nEW&COt&%aD(&0cNz( zXW2hS*;}E4;Z^r`AuL|aZIv1zSf#q{LReaj3TK5768)T*zW{Ms2n1^Zg0;Zs&)3=M z6|d$<2#^s8zy$pHJM2_Qw?4zBirGTWOj^s9nbMxor`Vxl_IB33o7E!vEIXdDlZIp2 zS=U~6b9u91W|O8ilKAfkn}Xl|6h2s0Z#sB|XUXn7p(Uz*$-Xprs`~=>9lI@Fn)AqwJ0CFqP-H-Kf`~jE~$_tzId+UbWT0??-iS zNWT6g!e(VIfV<(KfX^?^v;hs#RQd^M(_wLTDM8jC~hkKcUCi$&^*_|CWe2>p4@K z)K4;9?8GiYl$QY|yJBjLkVs;NlQ)vLi6nfZeUX^b7ua*jV!^?F^L(6@6^myqs0YVa zfuxnyt@}H{j#8#}MAzB0B#M#CxmHS>)-SNLt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gK zU6zD$&t2enV+hlfJm#03LC8@aN=pVx&viwg$IThGr1 epQE}iKC9LK1{TFcm2#gCaPfg++{f%=#{M5U&>r0Y diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemSet.php b/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemSet.php deleted file mode 100644 index a62215912b9477a167f2c99a962b43b89b5bb80c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3451 zcmds4Pfr_16vsBuFm5PWk%|%}Obj88l&%#}B4sJ9c8zf?5<`KcRcpyz?~ct#>)qAP zIuecCL%&BaJ@zy73zRR=9&_f@OE0;!Z)SGaCic3}V>#gQ?)(4V?>En%ec_+@Xcbq9 zO9C?_Hg28b@PuGL@Iue>9Ng-)+a$o2*Y&AG0u|$(eO%u^#+9Ag@m)}5UN5kShC80u zaY)IuSxFxG>Gh+>rGQ8gR%#PsH)%+^O-4dhxIoA?yM+0sMR4`NctJwbHbb*f71kQM z&7vbey?XSxaTr_MLdbGV#_%p!t%1=a5~4Qp(sj9+2smW-mFj}fmE!gPh&5>pi-{w)+##- zQ%W9v@Up&F-~Xz-2PpdgAMEg0kD5szX@4l>`A zqcl36W4ayH3p%9^aRmxu#Q2nr0g%XYOZ@*io2%;jFWEa)fe#f>p~@pa0X|foI6I34 z8UjH>5E2+_2%+^J&J^<-o9S4TzEmSpu7j?0QTQo?l+nk^ zO?3T&CkP+|0r)6Cl&J7KzwvFlUjYPl!ff*Ko%Fu&1l^6wqqo5|g-dy~PB+k;bz)Mt zNo`rGobh)CtxlvTSrTIyTe2h^RW;thc$6cYLzY)0D(PZNe#BI@B6(#DRh7kDon<45 z6t0p|=h;X1(Cvx3%5Aj3m6Bx+25~6|h{+kbw|Y)lL?7Ce`Hp!iXm@RH-b_4@Tb!0cj%TaiKXd8%)|pr)VMP zlExxZ;uHt9Gk(mXbtq4IKJgebV_|5vVnW%AAa!LzNz85~rX|^-&+8e*kDzpzQzv diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemSetLink.php b/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemSetLink.php deleted file mode 100644 index 3be359925..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemSetLink.php +++ /dev/null @@ -1,35 +0,0 @@ -internalAddGeneratedFile( - ' -ô -;google/ads/googleads/v15/resources/feed_item_set_link.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"ä -FeedItemSetLinkG - resource_name ( B0àAúA* -(googleads.googleapis.com/FeedItemSetLink< - feed_item ( B)àAúA# -!googleads.googleapis.com/FeedItemC - feed_item_set ( B,àAúA& -$googleads.googleapis.com/FeedItemSet:„êA€ -(googleads.googleapis.com/FeedItemSetLinkTcustomers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}B† -&com.google.ads.googleads.v15.resourcesBFeedItemSetLinkProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemTarget.php b/metadata/Google/Ads/GoogleAds/V15/Resources/FeedItemTarget.php deleted file mode 100644 index e96ed461d63874d4f9e14ad732269815e9d77236..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 25942 zcmdr#S#Vp|bpb(A!~scxpcaU-CHUF3<=O@*ij-o?vW*9TBqETY0Z_6MWnMtw5kv$6 z7%Y_4jMFt;X8MtjW;*ROKbcNH+BDN8X*>N%{@QW-(@tlyv}x0iPHT7CPTOhP`m5)h zd*6md??LVt{9!%Z<=o|*d-i+z+8fQICOjM6((8Jw*wM?;gGbTMksfWf8l6U|QHvgQ z4-fTLwA46mR%?1I7L6ve(cNqzno6b%&tTVfquVO!8_`OmQK{+6#d3RDeA3s+)%E3; zE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8>7J#-mdjAGyu2G^xKwahOybM1&loHVV7k`=ojT+o;GVH=-m=;PAi_?*J zUT9eZc3xB%6Tgjtbxci^?opZa;UTc@@Tf{)8(;Q)5dRh52*;*w=o0Pa&l#U6kKX0K zghAmYu`5_BXtn(A=j9jHQA7Jr^i|>?lHiLIgUYcrg@QyYHq1@>S1GN~{ACTB=44EYV%!VIK sJio;fZir+u8ydpt1@n(qye$6shV_>+h*4Ba1O7}0Hx%vOg?9n|4^7XZ@Bjb+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/FeedMapping.php b/metadata/Google/Ads/GoogleAds/V15/Resources/FeedMapping.php deleted file mode 100644 index 1531cc6c00c0393197ac22f2a9ed4db4b2905038..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23100 zcmdr!S&SpcbtXCF3~MfK&&=*DwY#F$lDrON4tDko*RtItdpPaor6#%ZI1{wF!=4#h z+#y49lsJNdT!;+=Hk{Z70>pyl3zqNW$M^N+ShiyrL5$dzfdt5xK9oy7g8+H2s;k+Y zsh;ZPC_qAetT=VN_p0i>SMTb2^=mu39rE%-&f2rO^}f|e+&* zm9E8x^j5Ylt6|=$cRJ0zog~FT$X@-9)$7!^tVFJyE?E6~qu#G?<|wdDwb8SG;;&m5 zuWT9|*bPFqTJ>Hpu?9d33?_MkB;dc!{_R$CE79xM`|!W}n?19+*X%dzt>z!X0v}Fn z*IPXc<{uury}!5BZ?^XmIH9z+WnFk>g2BYG_jlT`ArB`wb!FTm*q=>(uWxnt>aESJ z)!XVeJNyJ0v-BfC@r~weKseGTsv*=E|>NQP!-D;!ZEOQOGmC)2fJrL1N2HC@ZbUZzZw$y)JdvGiy$7Eor$lv=51 zRa4K#g6S6nvE zp#Od_7|N;Y$Ajl`R78>>7)kaMe}RZ3anZeJ`G8F-L@p_!VzfyIJs&*JrlwLbIhAtY zq*4GVm7;@gM<{`p$VVnfYR5~+DQznth9jThcLL;;+UW?7@KXV@An22vV3dR_)smsb zf=Yx0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z{&|8fL$%>bhdUEeh%={l45%;I^<0 zHuRoaS0E5}!M5JhIvU$!M>qhxa>J|-`i9m~Un)I#OSl6L8b5dCj#@XB#$cY!t{{Lt zzT9l9trrH|%de#paGxr2+zX8q3!(5iIOIz`MQ)o)-ykKygFN5p$>#(tJGBo5P$rXPesb#$v37guq}aXE3oq;Q!=D76X-OE2MpQl$qgSieTEElT`Z?m zNg`xP%5)@&2uTtHjc&38zXN}5fM=8cH6(>{%3smAY{=gGlJ60^)iJ&A=4gK5(<^lE ziyVN{(!a`o6v5$&F)EyaU5+&AoIWa`LS?)5{hxB_Z&?ISQpMbzB*!3;D#l9HlpIrzl1p4-zn2`+IISKsi^be$P{wQ?KNcZEQf zOPJN(7Qw@RH8*czTsvCP7jE*i`5Aw*$us$rEaGOL+jNE5d;A%F&%M0H@EP#B_^`!X fyvFnykQ@I|HvFHYkJ#d|S^L~EV2Yc8836wPHWbbN diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/GenderView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/GenderView.php deleted file mode 100644 index a708827fa..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/GenderView.php +++ /dev/null @@ -1,32 +0,0 @@ -internalAddGeneratedFile( - ' -À -4google/ads/googleads/v15/resources/gender_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"¼ - -GenderViewB - resource_name ( B+àAúA% -#googleads.googleapis.com/GenderView:jêAg -#googleads.googleapis.com/GenderView@customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}B -&com.google.ads.googleads.v15.resourcesBGenderViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/GeoTargetConstant.php b/metadata/Google/Ads/GoogleAds/V15/Resources/GeoTargetConstant.php deleted file mode 100644 index 04a3aaafc6f4ea253b903f1efac20bc362ae7245..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2221 zcmbtV&2HO95RN1}ZpMEx8zgGlx*Ih}lp>*!6uHoG1JafiA&w--PJ$E!2#Q?E3(zD% zE`z#(@456PdhDa*4GQ$ovmc;`o;thyb08@}QXQn#&dj$nv)?!S=y7-y!uO;@eHz)E zx@2@h_z@*x6!5?aJTgkgV;T`BI1ZUdBbAWdKI!!jNqe_@cmqS@Ac-8Rkx39tJle9| zxRox&>h=AHt%#;BxK9I%+tGw_%L)9L+dfz2K>)seOykgYDCrE0XO!En&26(IF-_f# zv!z(Qxc|@`=9pUmj%UX)RuCLY=$#B1-T=W*n2bE;5Il_I&rKFv%x9e09{Uxm-6mt( ziz%W^`;HUe;Vkfp2@*0#!kdS9z+9l z)if--XtUU9-r16;3N$t*%``<#o62#U@F=0@4<{s|Jc;}g;Ix1;XEiWn<{qP-YtSS6 zH47q5D~l>Y=7r|no*gASaqlOV)vdd3QRW^}rdebr3cU?~)!^}5u24TYp2-tSbSH^Z zx+t3|fQl4T3$m$5HdO*Neu1y2_;4Tr+IT?Y68#pFLp2S9HLbwWGz8K#=`^}16Z{c=`vM+K{>L~_8fo;5_7%hA z`gi#WA#05Vx2;h|?vy0gzdGlThoz>*p9`=tbpuKlR&zf~%%ggRRGOEJ2Y>6efAzcY zLyC8fb9eIzhuTL+A<88wW5a^Y>IqFjXqiMuRu<$gu%Z^DWbBtDN$a4x#E zzEaw&!u~BRXJeC}gtWd|nrp&*1Q%0v)R)k*_Tb{F-mEwwSvCaX{gtU0zH_{_1r zv_)%WE(;=;A#8+pM15{eieX>BB%MB^k53j6QyZS?{ZH!t4Ltk(#~^OK!C8!h8Rxmh z+*4x_YWQm`!J@3gScg^YeR&7Q8m#1Rm1w%L0qfTLwHsGJv8IYO-d5q(2PZ(zvDmme zbrHG#pJoF1Wc?T5Tg57$1DS$n%zJ)22x|52#@O6=iCoylMLf# z7N*h3=2lbC3G*RR#MgQZC5^yL@}DiaZ25R3~dXV&y0R?JJ+FZ#L2pO@8QG#Hxn zh@3DkW~Zu2Jp74G`Zk8cqRkd)rBPItHoA`fsh}U`iiC#Au@ZkN z*iY>4GrL-Hna=|f`WhEL*d$cW$bA&Cc!sT10P=`iAVIlxh_nzEJhm7_rC<$9K?>yWJL1&^)+k*+Jy;Fc=zd-T^W^rQbj zjbE#0nKNcqtc-hK=j;({j#5dwgNY_HW!$?v1<2E~NA-_ov~+nj)LLjU2f69mSuNpG zfck>5SXQug)&@JvP5WEAA|$`MQkOKIx47pNP#bFHbl3#*>LaKHD1w^L7#C9+{|n xhDY}E_sYB60&{#)0ME;7Z6*FWUMYaNU)GD2_+7TzFZS@C`pz{C# diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/GoogleAdsField.php b/metadata/Google/Ads/GoogleAds/V15/Resources/GoogleAdsField.php deleted file mode 100644 index 6f2ce7a8c8478b63beb36d9c8a6f73eac77ccc56..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3044 zcmds3-EZ4e6kn2lBq!}=GFH59>n>qhTL}_vV@SAklij#!wB~~*0SQI29OovrII9R?x`v zMh-5UgRsm=N*zCXS`IK55#J5MForgE1|{YNz%`F>=$jTs)s|MrkvT9UvsYyXd+H#Z zkd*r3(bL|6Ft`O^Ic69lE=u^j)GWLNM1K5n-?1$eMrK6*Jg`H)T_A>4qVgeRd8qpwjX&x zi-;=92uE>&>6eYoE#{S4vxjJdho~r*V%$biFvjPdBNX6h9Jq;r)7VsRTJ?N8u9u=D z`6T+Yv{)%Md}toqUNBviRpO&(_9Sn0Fo@IKC1BZzBcq9~!|xe*HWMY-9Uomrh+z>> zj=bQ6L#43B^-BaoB~DU`psd97i$A1b^>r}pObqD6e$j!I>DmDl9?vKyNp@2RpiyE-XV%?Q{-mTDPN187kS(2k3w53F zcBBRE&lD8N+)M(U6|;6{dPodbt<+a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v&-hFKUKiJ_xdb9(OA88@tAVMy_^Z|gAG@(Zx^H7cr(i^Fy4Ot;JwRz pwZwb{@T_uA=Z;!pzyg??@P2Vmf0eyA<>RpQW#YgLHw9Aw{srn##q$6F diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/HotelGroupView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/HotelGroupView.php deleted file mode 100644 index 5efbc2f92..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/HotelGroupView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -Ù -9google/ads/googleads/v15/resources/hotel_group_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ì -HotelGroupViewF - resource_name ( B/àAúA) -\'googleads.googleapis.com/HotelGroupView:rêAo -\'googleads.googleapis.com/HotelGroupViewDcustomers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}B… -&com.google.ads.googleads.v15.resourcesBHotelGroupViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/HotelPerformanceView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/HotelPerformanceView.php deleted file mode 100644 index 4e5f6896a..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/HotelPerformanceView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -ß -?google/ads/googleads/v15/resources/hotel_performance_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Æ -HotelPerformanceViewL - resource_name ( B5àAúA/ --googleads.googleapis.com/HotelPerformanceView:`êA] --googleads.googleapis.com/HotelPerformanceView,customers/{customer_id}/hotelPerformanceViewB‹ -&com.google.ads.googleads.v15.resourcesBHotelPerformanceViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/HotelReconciliation.php b/metadata/Google/Ads/GoogleAds/V15/Resources/HotelReconciliation.php deleted file mode 100644 index 18f0eb6e6f42ac86cd409b5dc67308f0cc88a433..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2295 zcmbtV&2HO95UwO!QPzzU&?A-TfS|~gv?#?T zxTJwJ&%pFjVXzdZ%4=_fs1|Y#FzxC@B~2M%n%J77r{>7_zA_1=fuviBS43` zM;Awadj9b7aFBvF0dReXQureWAH0PPUIEB{VKVZu3u(+8y6_&RHV$x%9UuS75*QT-4~Os;z`B&;^H40>>Y=5p^RR#w6-9 zRZW|qIIA?jsUJ3lSB{3qur5Q?w0B}Wf^n3fRp$^!C{Cha2{6x~hIu6naaJ@YQT|<(rC1eEl6>pQq+b$?bX8EmR^YSEA zc8szw5meS@YSwTnYdBRP)cz@e+c`aPDlkmur1pCO?5@>Nu7j;-)@k2tb&tDd`^IO= z7P#`vIr{>_fe%9?-wrT0cQ>Il^cEQbo+3H!X?$fT6S*F=$qLQ)= zKq_M28_MUP($cM#$qhG+{|cbSrfiYRy0nb_wGoT<>lc1*EebOsz7tGT5=|Nt6o@fP zCo{w}XHZ4mn&SVjVyUC+e;4;VVgOY(cB(w`6B|I4SCGC=6^3F&S7uZU=};(L7HiT} z)0nZQWjLC~fHX}gjmjdxZ^54xa5VW8Dp6|EJg0&g6YYJKx(IP&%=_COEgD>Q*WT`m zLTV;OwSPCjPR=7JC*WGDX>&HK7GR-%)p&HFZ@$r0@IWH2v@3fBmA!Z)59~I$#zZqr zDWe}7d)1-csUT<<@j2$u8w{gl2x#U}O4;@1(&HYBbBf$w7^T{bu~D_WlzjoVrHmx86kb^h zhX>$Rx(SeHpF4hn>=||=LaP`kq^(x^O0!2iK%{@4Hj diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/IncomeRangeView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/IncomeRangeView.php deleted file mode 100644 index ee1ea5a8b..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/IncomeRangeView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -ß -:google/ads/googleads/v15/resources/income_range_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ð -IncomeRangeViewG - resource_name ( B0àAúA* -(googleads.googleapis.com/IncomeRangeView:têAq -(googleads.googleapis.com/IncomeRangeViewEcustomers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}B† -&com.google.ads.googleads.v15.resourcesBIncomeRangeViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/Invoice.php b/metadata/Google/Ads/GoogleAds/V15/Resources/Invoice.php deleted file mode 100644 index b1295a7a48a6e7bce225876f686fb9355eac1c6e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7870 zcmdT}OLN=E5nhUVHua#evP{vk1ye8TVbapBvsr4r8$zNb*{ern$y?rH6$%1J6cUPH z0ieptmJX@PA(j7-ORAE?{)hbozU3bzx0HTD4yp9a02ojJywuiS)&~m&zV7Ln>HfN> z=Zmje=Pj6(w@H&&nnP;x>6Pr96S-xXj;Wgs`Lum@Ml4x3FIq-}SOr<$I*|7dj^)bM z?(t(3wavDrlagFF&3c0rwVGYzkM!ws?OD+x9AX!Z=A~)qq`;H|G_?z2w=|u|+lR^? zakQG|Xw_||r&_Mr?j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(!#IDVMI4XI z9mZkkrxC*84X5>}E5}If*RT*J7vXudWOXGO&y^sLRM|okMWn}B+b3ih3qGTT-fh{i zvHe1f5#(nuA0ZZD>wpksTvvu7d8ZTGR&|Ti45tf|2Zah2&|koEtctMZl(gN&VzK=t ztj0@6OaO#D3-izKz>p~+%L4z?u4r;tNHHcrhw6$eM}!=shHeRST*xuD=z=gMA;MUq zE5Z~BY-fy8OFUtY3iWB1KB$3FlgDESpgn9OM2*#MO0CN%GumO2kh{8n-zYb5;*no(!;t8z8%Y=<7!jlic zBWzlRyc%-(7+dCHHjEA1!1gYrGa|$CUG7Z(F+*cvjq?hYB;j%AAa@%RG2tn=A4Ay6 z1W0OF?IcX75yof#GXN7&IkqF+QA!J@yA_!7B0{aX%}nEx@RJ1PFc-|yn+&5~p5_HX zhVqq*@T&7p1Xo1q$%V13g*$Suh0Wu0%_gd8)rh6yx%d>*F%5qg$#PUYQ3N=ErKQNq zD!>3N1;r3WfCgEbIe}?P4caLlE;MWqUmDKU&u|)8fC+lEz)GyMybn++%TtJ>!-sGI z7G?Qp6|&|f!R2esZ|^Vc31{_3XiZz#HKh7@6D-GLL3HmSoZlnWJ407K$~Rs znR1u<3`;>ee%T#9Sf_Q8^E71DSie-pVaz`waz|8XP(*m1l7UGz($kcmEAEv0a1W2P z;caCfqV`dF2oKcwjZ+@O3@ztBuv6JT_QGWJVoK*QWm-nv!0QQ>H3eyt-96E=-ar?p z`49C6MT=k=GX6-k85taiR>nc({W!MKowS z-;0h6>!^zs3=40s=fbpi^hJKrnV041&`DeY7*yS(wer6NEMU*A3$9d#F|KKNcx~EO zZqM@0opt{NzTrQ4{dM=ACZfN7a)&22Y& diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlan.php b/metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlan.php deleted file mode 100644 index c16ed795a7cad7da807cc5c8b5a039a85fd540e7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3452 zcmds4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linI1d|x)2$L f((oX<;XYzF^{Z<&J_Yd4juCfyYRK#^-~!+;75jAK diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroup.php b/metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroup.php deleted file mode 100644 index b0d667835447486c7c5f2bc737df8b14fdb673fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1546 zcmbtUT~8B16t%5@OrnOykE$;t5-1V2A%vGfFuNix5~VTdgV|&=-JLEIw>y)WSrkd% z^>6s-v%i90!81RBCuerMTbcsV*q7eS-h1ZWGv}TcFZlrn&tQ|pL|{b%*g1mgfIu#o zVm^ytC+T*HfIjPS8WCYZxU~o0?d`+YTRZztb*W^D@Ckw;V_`%ZIFOAjG|}P8T0@X5 zMK(T@qc2PZ9*=PB;lK+8OSqL@1wf2@L~`sC*las*iNXO^*lnh$t{uohXrhlRYwr6T zbsYdd!cxNB485(v?VxF(!7+gP$CFM(eJB-H`frX(kH%C{9MNxj;0@Ttkt7;sJhz*~ zzM?FKreH7jNqrG!m?n3QGfmJ2%$sZ*&NN@{POONCapZ0h=?lsg6K$P}P)Jn4v^l9S zuBW#eG}?vrtVM*zdfb3YB;?}d5DKCa5f1_S1(bUkgPgkClth6;4)7sm0-@nhLy)UV zbGk3DN|{*Rq=UKbASlM%)~cx&otZ%wz{w=o{6D!=XR~@si_9wIW@))uh1?!L%J1N` z5Mida+20jV9oI|s4Y-|`dq$775-ioHoz+u&;@n;a&xbb+B2J~HSEF$W)(3EZMDITC zaZJOwHko3soZA*y`WwJkgTmI0@1;`p9w^hGHl;BtPUY0Dv`Xf52HZ^hy=AalWpnfd z-0`{Zb!g!As4tkTO`D=tMSnzJ&+O#i#@Y50saTH)**MNaj|TmGsV}UZ&KQ|I-*l7i z)W8F8$ytg&vK<{+rP@Q&D5wYZBJGfnn)X!m2Zwb$&=jF&Mx>_ xYG^}8J1fs;5C~}ygbF-_G$29+VrMdKdUc`Lucgcb diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroupKeyword.php b/metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanAdGroupKeyword.php deleted file mode 100644 index f04ef1b02069485d8bbf44999e2fc333f01f53d3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2232 zcmb_dPj4GV6z|$`o4i2lu3F>Qw4lQV<)p~cl8M@wG z&CUiwl{*p#_zZC4OK|UZKD-k|h!a4^su9Rv-2HBh+r~jo#<3Q4mubtH=!k*TYTA ziJGY>q@()}n-r%eQS%u-{w|=78G4p)T8`<`AP&t;t0W--d~1rM(6TY=4D?5sS&qdl zqm!T;niFNBkiNSA&=}_ETL89aMG@LhqYQWu&FP2`nFgK%;-4@cd&EW&vl#!mMIw{< zgb~XlKk)ju(Zup1%+cm;C$Voc68K0s^nDvQ?xGY^*xm{Q-mh(x=QDc`QctQI%m)OD4Bx=k1R$ynqg6_RMdge9eJCEvf6${kJn zy|md$21emyqNJjb_`oQl{OCn)U?d}TW~P#%G7_WHQayE5Rqm{+1&*q6AXQC_#ut+W zKZf5{Vb}d%c7R+@aTav2*d-h9<*`E2oCqSDcNgHx;UgUb)v|3XvcJWIuG z&ne}1;j$gt=9oCksu z9@ufjf+?m^^LZ|s#5u{|m-##8h70?jzdgcRufaRT|JPn9y#i%!puBLJ?%Ekn-)2&GmxqFwCFR7y0ln p*${={Y3X(+8T%z$qA<)i#hqgPf0#aFv*%{%gO?blb|-KG@HcAd@yGxG diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaign.php b/metadata/Google/Ads/GoogleAds/V15/Resources/KeywordPlanCampaign.php deleted file mode 100644 index 76dc83de8687a4b9c3b10f06e84dfc1d95868a84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2430 zcmbtWQE%H+6kZa#(UWy;y=sIal}o6)6pEt_CV@+b>?Czcw< zP1{r<-Vi@ykNlMV0-n&G`^IaZxcA!EacKff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Yf(jnS4hIj*dkZ zZdpDuJl(9p$NB&NdWy^nlv#wi3Kfg*&)k4@OO9r~EWy3Es#|gX+sQ`K_pv&m7uaA#Di(FnQdpw#4^*&OwpCB zXA|Q;;n6?Ezrr(TPo8|!Zd(WoiE%Ic(s}cFKjyvfvyJpHMUQZY38tuF5$+GMIb=9h z(#TLIxStIMOyN)-r95HE#dvcMzu7y$Tbnxv58T zxM=S^8-9=~>Op`b)(fT3h6>~6u@DmUi0PDu40pQzYi4Lf4GlUuHfTqBY+CE>%4)D* zV%HD~6RI`dE$|1H{$dPACkVqY&H4!sF~l?Qx4?Ce3vM_~_$R1&9S>-t8GtVO4l)rM zE(Nw1_C&~9k8#1Yz6+^@9)5D_oehq$VkT3f28=3HFsX+r54Jf=BA*@7V=fgTbx}3sva4mo zC*R6DvHYBm>uyI;RpvGfPOHky7P^GKO`(ndoS2#U0^q`+xz)(IFmi4+a`)!SAStf~ zu^71d-wwJvX=G+zq3IIPvqL%Cz>U@ofAv?p`KRrninternalAddGeneratedFile( - ' -Æ -5google/ads/googleads/v15/resources/keyword_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"À - KeywordViewC - resource_name ( B,àAúA& -$googleads.googleapis.com/KeywordView:lêAi -$googleads.googleapis.com/KeywordViewAcustomers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}B‚ -&com.google.ads.googleads.v15.resourcesBKeywordViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/Label.php b/metadata/Google/Ads/GoogleAds/V15/Resources/Label.php deleted file mode 100644 index 663f7943c9bd455012ed9d4fb56f52cbe04cbcbc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2360 zcm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.php b/metadata/Google/Ads/GoogleAds/V15/Resources/LifeEvent.php deleted file mode 100644 index 8db8f2748e373aa99f0778e75590e4d4948be7a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5879 zcmds5&2QUA7Oy_+#Lr(0lctWF4@UMj?zWLo7rn@v7NkVWL?lX)WH;UlAZTeU6QD_f zqzt5mfp!nwJ?-|~HDeX#(<=vi=Lp+*!^PBe` z-}}wH_nVIfCj;1!D#Rh48IYcI^h^p)h&1rr!0o!WbTm9ZCZ5!FPY0Gwyu2ip>yln? zOKMqb-^Z=KJM_AwDD_>pZ9f@wJJ6*E%w!|^1?B>8lXFQT3-5S(C z=$nq_1jKVpyHh59*RuwJ>oricSnQJ^_9~s(dV7bRO3|!iX^X2^EKcb7ND90m89!W- zJQ55&X9RE_Lv^M(ZeYc(Di%lfjP@t(+O>$?Q^<*VX1U(@(eNeQwrWGMX03^w8}8$F~}Mss;ENlyA*UD%(y{Zg~ffn)lf^? zuBMiS*ThA*vadhZ>mTbvimuAls!^?%t%y2%6esAuHbS; zybJ5q@MpZvb#@&QxUi+w|QE%j7)fZ=Mh72s1fP-R?h+1Uf9&$C908 zdxr_VNay(0Vi7kNi!n~Ih(N_66FQn_3ce3tUjezF#6(Ot)clNif#q9H-{_v0jzet2 zA08ROv%#$K^<5V3$Rn5%M`;a@+K53F%Ka$|w-O~T2%*>ET1%Cir9GooSG1~X$c+XD z(oGP{TB}i&569;-q6jOYxcaowR9iG^uET018%@qpfYx5U(a`jY(W=SKwjq~W!n}9` zgh;qjleH>N3s=N-xEalI;gVcy$XZ1gu2T2|t*q9K`hL6BZmM!kSP%tR;*)Zzt<`k_ z#5dqNpV8~O(R!>k8nRMVg+(fgHW@MEl6Vi^9G@|E>rF$|E0`oTRc{N+)Jm39qfIN~ z2HcAcD%DZDrq;rfs#>c}ZKT$%GWRfJ#}#X-Pxe*4qzc!>U%~we4bYuNQ>`Fg zQ)V`aq6D}3Rl=~pc)Bp8C_&x=bJQ$|!)EnV1DcG7I&V&sYq%#e6yb(%!vaYLDdL`V4 zJK-;*eb~VK4)2B5zCwS~Yhe?l2@zawVXVbcS>^Y$T>%egwdB9AL8t)Cb1KIm!B<7dzZecna5Z8&WcLM_+pD+LsxU`~jE<1T zufcL{zuMNKNJ9?CRYsaf**Ii0jzo>@-B6pzur(Q}{yk*i~VZK=%zt%O0iC@#YS zs!*yQsLexRNkr{9u?fq{-)Cd9H>bPd)rhmdE`gdDXZSKZb)9K%+i?yH-?R5P%#=4A zhgtvs;(7g-XWaE){869#TMB9MzaQ=6@B=pKKE4`HYQ?VGFHStz9a;q5_bwa zB!s}^0m%_CT~@pWOI>&91XzoAu}WUcqTvh7a4Za#X=OMx`-HDir!4HHs8d#98Rtg( z6aiL@|BzOGhc0<(*~&9l$xZleoC~5GBqU&riAz?i{FEL3C#qNPRg&t}5~K6y=};n} zVC7OT(iU&?)%frYreCd#lJtsAs!$M|VM`Sp)-=AZH=gvyLHWUxt)NADI!5UY^3dW=3Y zN(T4gizUmTGBkkrR1xL}ricAJ9&wk#zYVLliCw%C(lY|rFm0RXD@XnWR>nxyBL3Pu zBl{1N`2^L+JA9Hg#{-dp7e9F+Kb^@3+uflbxTnPP3!glN= diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesLead.php b/metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesLead.php deleted file mode 100644 index 52363c3d1e38843198dbbcc7a4d5ff2d49c00027..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3084 zcmds3OK;mo5RM*xXcXHDi?*^;BwIB|oFb(V7rD@JQ&FN7!L}q=c3h+aSc+W91Za{a zDFbfcdwxSN1$yjH=((p{dgveM+2^8%o;tfLQVJxsF?y>H@-BDg+j)F5vrnJ-r#^f_ z>eQuy5mAfuE=Y7ri63~8XL=6l4f}l>5Ys#JZHERjA+;81wvLEaYaD%ys-ZUwOsbH9 z=M5ZMHmtBLmTYzY_(?gSLL@9Zo@qFGNP~0Rq@nIm!;<+$0IqRHL*FndskhYw8X1-m z8QnU^>{hIBv}CInkDqi8W6W&;(=o!3>@)1n2znop;S~`4^M^ghHc1#65&pYphq~?B zk!?8kcj)a7=^IW+5oKDoKXlE=_FTdgTCPbq9}UkDHyg zR&DGyv|8bYl!v9`=3cXP(k!Id=0NLoDs`=pmR14U&s$ARuU7W=3mJB(wpx3QX1$PA z|42az3uI)>JiFA5nO1S)v{NsuBd-RYW4Hs^3kKx@b$NNj1?Ah}jQZkEZ}ZBXwofnRb4YP`CmR00JR=NqxHLbeeXyR^x-eaUQ~!K7j(jx7!T$$Kegk+qmnH8oC!~_lo>5|n_QrqfE*p1a z1AV*PXWdWljoP1}>BjnmKzyq>D*dtmx26&(HDD!{)7hLWrbuctr*8dT$^2D$1fL4L ziEf5m)X%6H)R&5oH*szcyx>B|lMF}ZCm#ZgCM`S2jt|ey#{G#D|M z^Gt#TdWJ0Gtjvj!ZompsEF7Xig7ITsmUbY^0wLXoRchJD!6f9OEMi()qvsQ*Wdd4# zore4WIBS!5s~=2pEbgLvqc(EwS(|`wC#!hoj;7^|nR^&NR^P-UbwK8b inZ1c%Jbxb~kE}=Hu{eI&vBI&<8P7^CDC92T65wxgJMsbm diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesLeadConversation.php b/metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesLeadConversation.php deleted file mode 100644 index 745b91329d644600f49c71d8d29319656b9130cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3242 zcmds3TW{l35MC#}Y^Tr~15&79_cXigcG2Q!3yY9T7wja>Mr|%?+9ItYS+0GO9?7+h z?NpRi-}eU~ka*;gpRy191mL+p0eE119J`6z^n!RI57EiV%r|ppzPWtyrFY=LJyN3% z^^K5PWdE3i2b6fe8@i@zll?)jM}1Jne2L2G#&f+Xw=(6&dOb?QEf$@`x392?RghVBcmY z2|_e&lKU*snZrV6*z7wD!#e31c0dvFylijan320AQfN6QU3o-e%t-dW=VI8_N#bui ziX=v{TX#b0JBHn@(7^PW7rK5MMHQt_!!-WU&B~)SZZ$$!CW~W^(*Ej0big-(!huPicX0!EmQxv2*n65U|`j(iB?i(gU>OnDw|DBD>NaxW4Y*xyH9NZv{FT@Kx?Y-> z$I_f};Qx{3-{zq{G0Qid98xicx}a`SsHOjeR7-agr#)8cMXgZZANIny2Q9rfB9Iu5 z|0@1E10RfKHanrDU3fFm(W7Bl5Qwlcr#<^a&Ht%>4xh!?Bkc|ASjN6lx*T>9a?C2^ z5G$|c5lcFTcgA|Cd0;pWwF`L^Syq7BKHT1#q2&bFu6vhn3ow2#$)*cB=5j=sE(_L zty{RYFgqyBqQLy>r<0$Q9dBO}&1y6GiYJ4zHnB%EnGRq&Po8IGiV?A3hC+@afFqS)k6M%mJ(v4Iu diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesVerificationArtifact.php b/metadata/Google/Ads/GoogleAds/V15/Resources/LocalServicesVerificationArtifact.php deleted file mode 100644 index df993cdded5748a731cda48bbdb5cb4ff1b29cd3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6675 zcmds6&2QV-5sxI>iN~?6(Alixe3((PiPLT+Y}&oZn_Z9+EfbbVRUg@UA%LK%XN4O{ zR7omDx=0VjqFA6sd+4DBdMH{HJ@nSao_i`#Ab&+pJ>=H*)>G%bM^cteS#p|Fa)=)u z=grKU`OUnU(MO*Q9uMHQSR#Gmnm%cZ2hT+RF%bu@<2#nq6%U4ohr|^vr#G;>#LbFg zQ5QA6Au2_+aSM-n&d{|;UhFtdr%Q5X+spAKT|NEa!<Dx}=-Byu!mTM1u$E_l1 zKHnjJlrQGa8af_>%&!5ooq3F9qa#Xk|y2Ky4{Skxb5vx|5K?ing$0psj zOdgw0ZO6^$N0%BgnRGO?e*7tBiSK-D2ltlR?dY02h^eheGkVc`@P`z9Zz7lwhdrl% z3`ra_!X`hJMc`#42xbw2S$-w^cnWU@EO=% zOf>PUZ1X>VOr}bb^q1sjiN!@0qan+ebcJz|Eiik%2q{`DbdJOh3!WCIdX>D*59jlE zJfDv^<@3lYpXXEu3rx%J!k_0r>r4uI(jWF_3wXnSHXwlqZ*qPy#$^05e@ejpF>}Vn zbp!b+C_eKecyA_RVHK8|TD__i)E!kRrq2mWaK5SSY5J#HIw4$!v@8|&N;SQy6^+8K zQrJr;g=JV&wR*EAX$2*nq9@8~LDA|;dQSc_2^n@}rt&zDylM%OvV4XxV@(aXg19 zyaSgCQbQ@}wf&Kzi^4T{7uCjFlnkbg)KGQJC?aJVs8&^7uNmKON{scAa0P^_-oOi> z?DD=r#i0Hdg?C}?)0&PnzDYmL;MFb^=#wA#$q0y8XPIV1q13^`w*|OaGdK z^4YM2wK3^?ubqVda{?D-&M+yD1m~7YK^0B0bxlk=)hK|$!gh~35+>(gl^$Hp6tosBo1)z5n0*arMaJ-!iiR5^2C=MHImXdDFnA%8|Tu7*BE zg3#>zQ|6!N;noh;Khn`*S47*n+;rBLA!)bQ zli0$g2RhveLpjQU zPCz0s(qWuD4=MbR`8~ecGq_RMfD4w1l|(dH2^>qKG7HxaZJdc2X8ZGDJDdrQ;*&-( zk53lG@)9f>Av1XsZWyPX&io>UjaS(G#W?`8!m`;zT>D1Pwp_)> z_)v_COVSxw8di)kGs$ak=|p=j--PQpLk+w4XlNFymHF!&TstKigqv_Nj5<0S3Z4X( z!kI5bSP8#l_j5p8=7=Nk5Z;5efPx@0T+iok%P7n5()$Q^K#0h2W*kt_tRFB-QL10X zxt=HDCzDMZ^E8wvR=(pNh^OOzn4=m!fvbVuF;3^n_l-Dxo;sZlK0|5L9r7hujW)Rb zinternalAddGeneratedFile( - ' -Ì -6google/ads/googleads/v15/resources/location_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ä - LocationViewD - resource_name ( B-àAúA\' -%googleads.googleapis.com/LocationView:nêAk -%googleads.googleapis.com/LocationViewBcustomers/{customer_id}/locationViews/{campaign_id}~{criterion_id}Bƒ -&com.google.ads.googleads.v15.resourcesBLocationViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ManagedPlacementView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ManagedPlacementView.php deleted file mode 100644 index 4ea26fb88..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/ManagedPlacementView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -ý -?google/ads/googleads/v15/resources/managed_placement_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"ä -ManagedPlacementViewL - resource_name ( B5àAúA/ --googleads.googleapis.com/ManagedPlacementView:~êA{ --googleads.googleapis.com/ManagedPlacementViewJcustomers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}B‹ -&com.google.ads.googleads.v15.resourcesBManagedPlacementViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/MediaFile.php b/metadata/Google/Ads/GoogleAds/V15/Resources/MediaFile.php deleted file mode 100644 index 950248194445a73c134baa43febd46e34417e94b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3525 zcmds4OK%%h6s})Md~B!F=>xZ*GMLb&2*zrw2x&q=Gw~zSW^5~Q9u!NXvFF;o(s*Vx zkDyRRVhQ{Mmat^U-zY2gEV=_#`~p_od*|WM+O*k{MRMofbG~~X-#Pc>)6d-}F1#Gp+YL+!suRDCD(Mo1DS zjx(`P-7x)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15/Resources/MobileAppCategoryConstant.php deleted file mode 100644 index c5e72262eb3b2e9f4149b18eb6ac52408d42e494..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1420 zcmb`H&u$Yj5XMQ;fUv}+La60{OsU#bf?c(x7l(j$`zKVWG@yzDS}AgNovo#;0S{QErL&diHf;#hzuuuB+`Sd$D6&Y(Uf zP)M$M$_qFc4TnU+l%EJ%5E($Ya|qua9>Lw6{iDa`sNy4;5(IP3^MZspQ=tpX=yZK6 zl*FZ|@PrQxqmPB?r$#L2@~oe7rZi?cu!;aMd_t7KDS_Qyd_XkLu*ON(!jmXdldz0F ztZyanD|j1#w7^Qi11k~WMy=0$hA{j1{9imc6h32wnQW46D z_P&=-T5D~qTGHqcw%ipFx^l-3)N({Fi$f@h9!WL@j6Ev3&PYMMbqG!CnVz3@YLAj4 zi^(xQrCeTr)H?C(C7skAWtlH?&wT%uzgb!6D)`X^yZ@zm=9e5MFr63p9t=zm2EGR$ zE>=>4`p$H{xAe6R7H4+P{5x>3qV&rqU8uoY>u!vGMUCIlbFeWLoJ4}Ez>G~e8+jkp zX|^zDIL)|WIInMguGQurfH})=TE2Z=GtW_R5z&8=*>rPv%}A*5+`apICTTW~o1oFB zS$qdHZME^2I#@B)Onkk`;`q_bitSAFY9HS?iwvy5EDyNM!<;a?0jlL;+`DO)w5xBS zzSSGuDEeMs>e?Lg!tStTWQlU!OQc9-~xP#5(Thd{_c5b`{P3=knt c9Ne~--dy!P{nX9obdY9Fu}yS&V=xBb4}|65MgRZ+ diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/MobileDeviceConstant.php b/metadata/Google/Ads/GoogleAds/V15/Resources/MobileDeviceConstant.php deleted file mode 100644 index 7ad7ec3763b83042dd2c0c1723321b438480d5d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2062 zcmbtVL2uJY6ecmW@X$ht3Mw36HdJkpz!sni$)%vUNkc@NM34ePmW*Rh+>spH@=Pif z)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{)CT ztT-DmS;3awZf6k~%hWR|s}KvOYU+EDr^*MBPiwllDi#D=JJhw z->-1xaS&_YeZ2Ieh}SOTj}iWN9;AR-aH}Enb*%;sVheW^4>o-UbrL3NL+Ul=v7CPW zIXs=t^mwx}nFw<`ZXN5-r59kXh9=WwEzMtY9xZ)00;l@?n5`t%HQK+ZJ6JC$+$@2aDMfR!x`_tVodJ2-xC7v zzzk2GTy2V|^9Nb8Ycqa9h3W186nr;eHrNBq!tne-f!1XlXgXz_1HT1pH26?7g29}W zA8zm=^#Ud<%OkUsHerZA6gYlo{H>$LK4XDY! z=1*5zdKQ2!KE}|Rlm2lOt{&Js=w-z8^}g8HAL<{8qt|WsgfVs>p(pQ__ayoW-A=%e z_IFeK5y=zLE;yj4&?9^ry_#d)i39oyJwnl2c+LAuha3DaHvGS=82GmxjF8hkhQ|Q^ E17~vKasU7T diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJob.php b/metadata/Google/Ads/GoogleAds/V15/Resources/OfflineUserDataJob.php deleted file mode 100644 index b0224efe7914d4e660e1e50a042c5f4523e7b95f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10200 zcmds7O>7(25f({NKSN2TH?mDBl1dJH5T7Jknb`}-_XI6&5P z`j}a+rTLqU7jMz5T$Z*Y$1S7FypzY{2D7?GyC>kGE9!8V1v{E+vvj(* zp5FLTqjogbtjp{~eW2;a@S$Xhm+olxx-<2@XZs{CNV9BJhxy9t9I(XgZC9(`i>uI*o$TX<|B> zAqB6)AEx2;<57u%bQ_)|6zjCZCiMH?0}Gx+H!dfb+x2W1OCVi{;9GDW{Y( zd%3bwJ=ojNY%4p3Qn{iWWJ;B{5DUY3D)~Zb+vW*LYY@v;QPSO9Nx7S;Wb;b3jE{ST zas@Gi68fn33zfW*sZ>e@xmwAU5ljD?3`@@rU*^++q>sW-_)JJ@s9LjYFvVc1skbM@ z)Q^I2Wzd>CLR5()5xD*lfJy2!!Oel}ag7EN8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9sDD`&_z=9G15d;MZNgM*DpyHki)poTE9XmaV~}dy?Pp?F@>=1aOJGKld?iWbzLxISz#?Jp(ECX^C!5C0^8z!gV)Y3Ojwdi+jH#rUUo@~l zuKg3ajM!vDQ@hB|_{p-S%!)_5((wwU4RorQxl zdlpp0)1Cvf@)O!Oz;*Z2b{3nH{j-19!P*xMo@;~Ix650U3n}+^HaSJV|E0eRrp;oN z`#f`KiO=`*EB9S)<0)P*fam&JOB#5J-wR;w`Ss#fgM7$&Vi!h9Td+K@nIOj{>GqQS<&W1v)HWkS#b(+((7@bNHZGXL;+#fi5SswGJI-*}IYp!`BY1?%FFUH1tLL+$_m)7VT0+B+Ips zJ=2O%N_9NWR_h+6f{%0<_}?~7pX|EOnS+2Qy`dw#7# z->A^9Rd{2mnw7I!n@)VoKN?_Zu6!0=fol~?T&i@@gI?=$8~qBKf5J_0e>!kdRISTtZ6 z=BaOTBSLNy*j1`wedv46>4`oUVQ`@7D+Q?t!=x@~lQV=xBbFT`Z@(f|Me diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ParentalStatusView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ParentalStatusView.php deleted file mode 100644 index 3e56a55af..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/ParentalStatusView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -ñ -=google/ads/googleads/v15/resources/parental_status_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ü -ParentalStatusViewJ - resource_name ( B3àAúA- -+googleads.googleapis.com/ParentalStatusView:zêAw -+googleads.googleapis.com/ParentalStatusViewHcustomers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}B‰ -&com.google.ads.googleads.v15.resourcesBParentalStatusViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/PaymentsAccount.php b/metadata/Google/Ads/GoogleAds/V15/Resources/PaymentsAccount.php deleted file mode 100644 index 2a0ed3089e91f7377bcd5b3e247d6a13b0d2f0cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1697 zcmbVM%Wl&^6eUSZ=|BOMs)S0w^g){ z8KFTRQz=~Jc`T;VNTvWlQ6Gy4c^I}j_FF8Gk0f$h387>8A}e+EVQt-cpA&8X;DtyC z*vW{klouQVsD4r04T%SZL{dGLh;RudlAw@$R*P=J9ts6k9H+6pn0k^h3Ux!9dbqI) zQ%;RtikK2+6XqxEXswh^&TA?$rzmu`vG6#FB;y?gHO&CaLSg-;vAU5=)oi2(8|e{E z^VAtPq2w_h9S$MKGUl`-7#38{S@K21*&#UeZM=^T2;-(%E>)78*P3g6c2}ar<1Lcy zZTWt&=8kepqd1vfbOrpL0MGv0CesUPtD$^l6b>_#!;HdVb9Zw3h!nm{UAFLZ4BR;3 zlj#W(8k6>uUsmmp^$;}5F!1WwHDHuqU7DT}SMy&jVKohFg1Z8HjQWTV z+~PnZ4cE$sG2PGxw-t=g!0jW70?b`67LxTbuTLe=)kKO#Fn_KTFSCZ-aYbnMkE~Ds zpxahHPBahmQY|(tq9VJ|>T|J979JXA&w`n9&+>yk0mhR*)V>L>tCdEiJ>F7EV?%Jy zy-+-R4%GFqv(&P`RKc<`MrO>5JZjH$j;B=;ADzm_H>t#mB1AMW7!R5Ors{-}<%z27 zcTvD@;EW?u`+JX4ZH-H;)Y-dz+V&wI{^Ry diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/PerStoreView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/PerStoreView.php deleted file mode 100644 index bf464f09b..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/PerStoreView.php +++ /dev/null @@ -1,32 +0,0 @@ -internalAddGeneratedFile( - ' -Ò -7google/ads/googleads/v15/resources/per_store_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"É - PerStoreViewD - resource_name ( B-àAúA\' -%googleads.googleapis.com/PerStoreView -place_id ( BàA:\\êAY -%googleads.googleapis.com/PerStoreView0customers/{customer_id}/perStoreViews/{place_id}Bƒ -&com.google.ads.googleads.v15.resourcesBPerStoreViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ProductCategoryConstant.php deleted file mode 100644 index ad4f832fe3610627e7e73bb68bd52607ac6e4ea3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3032 zcmds3&u<$=6zP z?h>CwCM7nWyu$R5;4lhkU1Y!6IlZoeA7+g~LbH|Ox zuJ2OU^xSVD^DR6zy_f*jvhFnTE$Rk7W(EV_BK7-NU^3l1VE{L^g|kQ@3L3!0jrM#> zBH#2zJ0!LuH>5!{1XW#k2$fgPzSQrxxL1bePH|m?sOw8HZebcFWZpT(5ur)sp8?Dy z)F|&7LwB_663;fsp?T~Ek*=R5bq2D^G`sVBD}EE7ed(row{2UdxeM)6myxkV@1fs{ zsI{_hh@Twg^bETiA{s`$DU3B}HBC0122H1N&7 z_bT(@ODT-oL)|y`rclTH`ZWxeRFUHJ`j?pJ@xJ$brl~5V?R0zQrqR z=W-!;_@WDbAY8=gnip7%*@5ff6;LVRVtu{&Vs$oIA>&2V>=Ci}y*G!?omL(6;o@z~ z>8McLh&T`pynF1dS9o!&5H0Nc#B_)_V}-veGEvdmvFRlwtuE8oe^yT0KPl(vFV@p} zog6n#c+qFyoy_&$?32nW{pR%*C&q1bYn+}fKlIX0HGV9hyKm%5SqFUUA`h$P^eVQX!M?ZBz-C#duNX_ SHZ`u5^DN|wLT`p<2>k;h91bV| diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ProductGroupView.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ProductGroupView.php deleted file mode 100644 index e54aa8b10..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/ProductGroupView.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' -ä -;google/ads/googleads/v15/resources/product_group_view.proto"google.ads.googleads.v15.resourcesgoogle/api/resource.proto"Ó -ProductGroupViewH - resource_name ( B1àAúA+ -)googleads.googleapis.com/ProductGroupView:uêAr -)googleads.googleapis.com/ProductGroupViewEcustomers/{customer_id}/productGroupViews/{adgroup_id}~{criterion_id}B‡ -&com.google.ads.googleads.v15.resourcesBProductGroupViewProtoPZKgoogle.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources¢GAAª"Google.Ads.GoogleAds.V15.ResourcesÊ"Google\\Ads\\GoogleAds\\V15\\Resourcesê&Google::Ads::GoogleAds::V15::Resourcesbproto3' - , true); - static::$is_initialized = true; - } -} - diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/ProductLink.php b/metadata/Google/Ads/GoogleAds/V15/Resources/ProductLink.php deleted file mode 100644 index f87ca35b0fff830043feff78eed9425ce0186156..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2493 zcmbVOO>f&q5RD|eNye_N&~TyVkggTOk%5FlQn(*<+?JGNS%@tOijn{UQGy~@GEtf& z$W?$O(50u|d+V{s{*?TR9C~suJ@?ev<%bnZYTfD}4ak|dGjHC^>hZV1X#jUglX^5X z8MVpaHDRZe1fkD-%Xi6OJRH)HSpHeyxHOarsdq@b(!(VQWv#3?GuOpXVHg=0E>I3Xcr(>bZzt6m{rO z*VgE%`O5Lb`JsY|2j4hJ-KuS8WgenRDp_W{(0lMl0lr!&59*E2qAHgJwT)CE>~%n6 zg-CbeNEziM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~41%QHofKV!UK4 zEJ~53GkBQ@ba>gGt6N^U9WHd1FUG2pgvyeX;z$w#NfH-2nBoq841X2i)842K!+k5U zu0l->6?l^gPdqv%MSjY`9o96ciOFKhZPaD zpw?{GwiQjT?jj{nVzb#+wzZ1VXrsim@D|MND6Pt-+-N78*UNv8clYlMIfy}o?*IPA z{{;AQ@EkROW1*%iLAz^<3f()R&SI)c_mN2mOp}X{Vqn=v4TbH7o}{t&I&Ag*)v$P%!NFH z7s`cKazXH5DsHk11>C&#_}eQwkeF$3&|xn-k1alf30AQSQ`}zdDtkkuXXPpm?Z((9 z%pSTSwKapX;j}P;HfA1QVk1d@=J@Lk zyRB{*Zsdf;3fvzfRl@r)cm5_A>lmeD))nipJYE`vB@q6V>x)q3AM>z$>EKK=UtY}Q zE^hKBy4CL>Z#*_r18eCj8K3>ZmoYwD$(#0NG95>Z&{Xg&zg**Ual{x+1(Q*_lD@+} Yh~JZgcONTx%gA_na=}>c6ixyD0Xv#2ivR!s diff --git a/metadata/Google/Ads/GoogleAds/V15/Resources/QualifyingQuestion.php b/metadata/Google/Ads/GoogleAds/V15/Resources/QualifyingQuestion.php deleted file mode 100644 index 40a9ecf5a..000000000 --- a/metadata/Google/Ads/GoogleAds/V15/Resources/QualifyingQuestion.php +++ /dev/null @@ -1,34 +0,0 @@ -internalAddGeneratedFile( - ' -¡ -K2Am~Lw(ujk3duAvJl4iylk8OYiNsLH>1Ax-VmIFfsM8YBo z7yvaRr%vKHk2=oNc5WIsH#d*w@gsGBbx!Txl);DUcsmaNi{Nz%;G?|^rmF`8?c4ND>TDv^C z)@ZD4)Xr9_?X&VH{dMR3rL(P?ywb*B0JB-!s#ZGn#?};%q10Aov(|1_R%?@U%bCSm zr-H|o8*>cqM!MS8f6`x9&tJMxFyNk6YIUR1Zci3mVAWTuN&M5?zPV9foosh7*6QT_ z^>(?wRqxa*8})bME1#LXRoQ6Q0HXWdTiaW!gx@4}$ZxII9)4s}VA8wyHyfChXC@7T z%QR7#q#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